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.16153v3
|
http://arxiv.org/pdf/2405.16153v3
|
DefSent+: Improving sentence embeddings of language models by projecting definition sentences into a quasi-isotropic or isotropic vector space of unlimited dictionary entries
| 2024-05-25T09:43:38 | 2024-06-19T13:26:53 |
Xiaodong Liu
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
This paper presents a significant improvement on the previous conference
paper known as DefSent. The prior study seeks to improve sentence embeddings of
language models by projecting definition sentences into the vector space of
dictionary entries. We discover that this approach is not fully explored due to
the methodological limitation of using word embeddings of language models to
represent dictionary entries. This leads to two hindrances. First, dictionary
entries are constrained by the single-word vocabulary, and thus cannot be fully
exploited. Second, semantic representations of language models are known to be
anisotropic, but pre-processing word embeddings for DefSent is not allowed
because its weight is frozen during training and tied to the prediction layer.
In this paper, we propose a novel method to progressively build entry
embeddings not subject to the limitations. As a result, definition sentences
can be projected into a quasi-isotropic or isotropic vector space of unlimited
dictionary entries, so that sentence embeddings of noticeably better quality
are attainable. We abbreviate our approach as DefSent+ (a plus version of
DefSent), involving the following strengths: 1) the task performance on
measuring sentence similarities is significantly improved compared to DefSent;
2) when DefSent+ is used to further train data-augmented models like SIMCSE,
SNCSE, and SynCSE, state-of-the-art performance on measuring sentence
similarities can be achieved among the approaches without using manually
labeled datasets; 3) DefSent+ is also competitive in feature-based transfer for
NLP downstream tasks.
|
[
-0.3107739984989166,
-0.4700750708580017,
0.548528790473938,
0.10858076065778732,
-0.40403658151626587,
-0.13500343263149261,
-0.25931084156036377,
-0.4494686722755432,
0.5138915181159973,
0.05217793583869934,
-0.43469324707984924,
-0.27941423654556274,
-0.678229033946991,
0.20941075682640076,
-0.624621570110321,
0.6425347924232483,
-0.3547655940055847,
0.2454075962305069,
-0.586280882358551,
-0.019525498151779175,
-0.46144425868988037,
-0.5915957689285278,
0.09346292912960052,
-0.032710202038288116,
-0.00483411829918623,
0.03171044960618019,
0.7174059748649597,
0.8109846711158752,
0.4287850558757782,
0.31358054280281067,
-0.02742656320333481,
-0.003545481478795409,
-0.187432199716568,
0.2627738416194916,
0.001141790417023003,
-0.28535619378089905,
-0.31886380910873413,
-0.04711432754993439,
0.6076734066009521,
0.667883574962616,
-0.27519676089286804,
-0.010629563592374325,
0.2094879150390625,
0.212042897939682,
-0.4996563494205475,
0.16592030227184296,
-0.4592166244983673,
-0.1395743489265442,
-0.19134393334388733,
0.1240629330277443,
0.0626048743724823,
-0.31331709027290344,
0.40309712290763855,
-0.5946475267410278,
0.15866392850875854,
-0.3510149121284485,
1.0404573678970337,
0.16667497158050537,
-0.26524603366851807,
-0.2684028148651123,
-0.508255660533905,
0.6247358322143555,
-0.5905413031578064,
0.7993462681770325,
0.07483883202075958,
-0.05155229941010475,
0.09316057711839676,
-0.8361876606941223,
-0.6422277092933655,
-0.6017317771911621,
-0.025290077552199364,
0.023709282279014587,
0.23187166452407837,
0.09748698770999908,
-0.0014667356153950095,
-0.004857058171182871,
-0.42342621088027954,
-0.3182271122932434,
-0.23590309917926788,
-0.10388562828302383,
0.5035122632980347,
0.08530036360025406,
0.1092490702867508,
-0.22273527085781097,
-0.5741921067237854,
-0.3203348219394684,
-0.5503856539726257,
-0.24524709582328796,
0.012314646504819393,
0.23555147647857666,
0.006798319052904844,
0.6422973275184631,
-0.1387290507555008,
0.7901583313941956,
-0.29605281352996826,
0.2619003653526306,
0.4416397213935852,
-0.48024725914001465,
0.02643163874745369,
0.05463304743170738,
0.4518606960773468,
0.23249118030071259,
0.3161976933479309,
-0.12991786003112793,
-0.11395416408777237,
0.1524495929479599,
0.3129783868789673,
-0.7704278826713562,
-0.28819531202316284,
0.11440219730138779,
-0.17750802636146545,
-0.3092595934867859,
0.39103108644485474,
-0.5421366095542908,
-0.27521342039108276,
-0.3811572790145874,
0.29167306423187256,
-0.734670877456665,
-0.2809255123138428,
0.2207176387310028,
-0.20763365924358368,
-0.030405990779399872,
0.2847674787044525,
-0.5336694121360779,
0.32753702998161316,
0.7943136692047119,
0.924822986125946,
0.13157625496387482,
-0.3214234709739685,
-0.187980055809021,
0.10785479098558426,
-0.30457380414009094,
0.7108472585678101,
-0.7081653475761414,
-0.27212685346603394,
0.13777504861354828,
-0.4017701745033264,
-0.022236555814743042,
-0.3249579668045044,
0.4623457193374634,
-0.10878696292638779,
0.3049776256084442,
-0.2785451412200928,
-0.8423314094543457,
-0.20597150921821594,
0.4831255078315735,
-0.34700119495391846,
0.7682241201400757,
0.24180468916893005,
-0.7379778623580933,
0.3813460171222687,
-0.627433717250824,
-0.3677370548248291,
0.19112946093082428,
-0.2685472369194031,
-0.11885534971952438,
0.382310688495636,
0.03165056183934212,
0.4999646842479706,
-0.08002650737762451,
0.2292899191379547,
-0.3780171573162079,
-0.23975752294063568,
0.19472002983093262,
-0.2851288914680481,
0.6605244278907776,
0.00208981498144567,
0.006824570707976818,
-0.26000210642814636,
-0.7592966556549072,
-0.08480101078748703,
0.03702029585838318,
-0.20663359761238098,
-0.7129932045936584,
0.026431841775774956,
0.042232681065797806,
0.2282300591468811,
0.41620850563049316,
-0.8292001485824585,
0.286208838224411,
-0.6000704765319824,
0.3409688472747803,
0.6086105108261108,
-0.3564390540122986,
0.47157159447669983,
-0.08867660909891129,
0.5380293726921082,
-0.12641702592372894,
-0.08003757148981094,
-0.08692946285009384,
-0.16513600945472717,
-0.6179079413414001,
-0.3796483278274536,
0.506415605545044,
0.7334547638893127,
-0.7691944241523743,
0.47585853934288025,
-0.5843544602394104,
-0.29786860942840576,
-0.6424024105072021,
0.21573135256767273,
0.1363244503736496,
0.47200441360473633,
0.4773199260234833,
-0.1897815614938736,
-0.7043108940124512,
-0.648283839225769,
-0.10599672794342041,
-0.27488115429878235,
-0.1902502328157425,
-0.01002001203596592,
0.38014736771583557,
-0.0005140485009178519,
0.7917134165763855,
-0.6297883987426758,
-0.3848794400691986,
-0.36214542388916016,
-0.19455364346504211,
0.09550607949495316,
0.2670969069004059,
0.4206761419773102,
-0.8418383002281189,
-0.6098462343215942,
-0.3573085367679596,
-0.6480041146278381,
0.02080526575446129,
-0.1418302357196808,
0.19713370501995087,
-0.23008958995342255,
0.4934948980808258,
-0.6749005913734436,
0.2675759196281433,
0.5103880763053894,
-0.6864531636238098,
0.383795827627182,
-0.28944239020347595,
-0.13838589191436768,
-1.1902650594711304,
-0.30483928322792053,
0.08616480231285095,
-0.3979972302913666,
-0.7743945121765137,
0.16367365419864655,
0.29863545298576355,
-0.004275316838175058,
-0.46370601654052734,
0.29348015785217285,
-0.37115511298179626,
0.44296178221702576,
-0.024350779131054878,
0.35530802607536316,
0.032899536192417145,
0.24717223644256592,
0.29944726824760437,
0.4520982801914215,
0.6641730070114136,
-0.48277735710144043,
0.6471813917160034,
0.42535704374313354,
-0.5041017532348633,
0.5798420906066895,
-0.5835912227630615,
-0.22718439996242523,
-0.30161523818969727,
0.30858081579208374,
-1.0572540760040283,
0.18886175751686096,
0.08514919877052307,
-0.3938155770301819,
0.5314386487007141,
0.38437795639038086,
-0.34415704011917114,
-0.20296838879585266,
-0.7314973473548889,
0.18786455690860748,
0.312529057264328,
-0.23778581619262695,
0.33485570549964905,
0.1116647869348526,
-0.12657895684242249,
-0.2778615653514862,
-0.970479428768158,
0.24380236864089966,
-0.10591388493776321,
-0.5741398930549622,
0.5442213416099548,
0.28004345297813416,
-0.2159343659877777,
0.3621877431869507,
-0.09326092153787613,
0.11095619946718216,
-0.018314601853489876,
-0.13642646372318268,
0.17175798118114471,
-0.14270050823688507,
0.43900129199028015,
0.15525805950164795,
-0.045550256967544556,
-0.2383730560541153,
-0.4096081256866455,
0.5817735195159912,
0.013887224718928337,
0.1157221645116806,
-0.4856647253036499,
0.2902042269706726,
0.25805768370628357,
-0.2305781990289688,
1.0405575037002563,
0.4896705448627472,
-0.161544531583786,
0.0020308366511017084,
-0.39564448595046997,
-0.13632938265800476,
-0.4323476552963257,
0.6183330416679382,
-0.6273008584976196,
-0.9111313819885254,
0.10241661220788956,
-0.09036776423454285,
0.13334870338439941,
0.3862673342227936,
0.19132953882217407,
-0.27109578251838684,
0.775015652179718,
0.9081528186798096,
0.07131379842758179,
0.7224350571632385,
-0.3511577844619751,
0.003158312290906906,
-0.8651461005210876,
-0.03904920071363449,
-0.35458725690841675,
-0.298226535320282,
-0.5030609965324402,
-0.30803388357162476,
0.3323517143726349,
0.15511687099933624,
-0.006460643373429775,
0.863178014755249,
-0.4590336084365845,
0.08797209709882736,
0.3026520907878876,
-0.018107963725924492,
0.024219539016485214,
-0.1501729041337967,
-0.3377946615219116,
-0.16326512396335602,
-0.8316182494163513,
-0.21136288344860077,
1.0217335224151611,
0.3570125699043274,
0.5047863125801086,
0.1655997782945633,
0.9165146946907043,
-0.05631093680858612,
0.3447623550891876,
-0.4444843530654907,
0.5289486646652222,
-0.45258384943008423,
-0.4403902590274811,
-0.2631848156452179,
-0.3894444704055786,
-0.5428324937820435,
0.2822861671447754,
-0.25168532133102417,
-0.821049153804779,
0.4169999361038208,
0.02408655546605587,
-0.3551409840583801,
0.1029369905591011,
-0.7031223773956299,
0.7383292317390442,
-0.1215599775314331,
-0.09817438572645187,
-0.0920942947268486,
-0.31831663846969604,
0.18900573253631592,
-0.08424876630306244,
0.14682674407958984,
0.029454568400979042,
-0.596249520778656,
0.6330963373184204,
-0.6594611406326294,
0.5646567940711975,
-0.28506627678871155,
-0.27218878269195557,
0.2466699481010437,
0.18637806177139282,
0.5120185613632202,
0.11591916531324387,
-0.14177563786506653,
0.14692209661006927,
0.44844138622283936,
-0.18928048014640808,
-0.7153488397598267,
0.6726774573326111,
-0.45905861258506775,
-0.5285489559173584,
-0.19633203744888306,
-0.568794310092926,
-0.19259461760520935,
-0.030153537169098854,
0.2918601334095001,
0.6634781956672668,
-0.26432517170906067,
0.28419938683509827,
0.46697503328323364,
-0.1808098703622818,
0.18675166368484497,
0.12816081941127777,
-0.0959533154964447,
-0.40397515892982483,
0.8136928081512451,
0.5062649250030518,
0.2802257239818573,
0.6989791393280029,
0.17950573563575745,
-0.6187208294868469,
-0.32182180881500244,
-0.13422147929668427,
0.2595929503440857,
-0.3673837184906006,
-0.325897216796875,
-0.6981528401374817,
-0.1092391312122345,
-0.8427448272705078,
-0.08709368109703064,
-0.41119903326034546,
-0.9389852285385132,
-0.08421558886766434,
-0.22308200597763062,
0.48334094882011414,
0.43001994490623474,
-0.22445951402187347,
0.3194144666194916,
-0.6394802331924438,
0.42543622851371765,
0.0030438604298979044,
0.4741511642932892,
-0.12024100869894028,
-0.47007516026496887,
-0.22998924553394318,
0.26533758640289307,
-0.1575213223695755,
-0.9149190783500671,
0.2864675521850586,
0.49215686321258545,
0.2813926637172699,
0.3370007872581482,
0.02817392162978649,
0.8556208610534668,
-0.557185173034668,
0.8113995790481567,
0.20508429408073425,
-0.9376160502433777,
0.44491106271743774,
0.030394062399864197,
0.4687063694000244,
0.6205538511276245,
0.3602787256240845,
-0.6055012345314026,
-0.5473693609237671,
-0.6795275807380676,
-0.8375044465065002,
0.44887983798980713,
0.19513502717018127,
0.7220373749732971,
-0.26319169998168945,
0.3805312216281891,
-0.03582583740353584,
0.28791263699531555,
-0.44648420810699463,
-0.0938788428902626,
-0.5403534770011902,
-0.419686883687973,
-0.26556843519210815,
-0.5420928001403809,
0.293414831161499,
-0.5170339941978455,
0.6049004197120667,
0.3599899709224701,
0.4666048288345337,
0.34522849321365356,
-0.1481262445449829,
0.267065167427063,
0.0017622869927436113,
0.48682886362075806,
0.46515020728111267,
-0.2359168827533722,
0.2185264229774475,
0.332146018743515,
-0.5942094922065735,
0.17642036080360413,
0.41371968388557434,
-0.1359560340642929,
0.447301983833313,
0.5881012082099915,
0.5406429171562195,
-0.13393853604793549,
-0.6410432457923889,
0.6892880201339722,
-0.1404387354850769,
-0.26774418354034424,
-0.18750295042991638,
-0.16673722863197327,
-0.010518151335418224,
0.2024143785238266,
0.02150890976190567,
-0.1936289370059967,
0.12136034667491913,
-0.4434749186038971,
0.5430466532707214,
0.4098590016365051,
-0.540045976638794,
-0.19264225661754608,
0.6478985548019409,
0.14783746004104614,
-0.13749092817306519,
0.5941517353057861,
-0.15952400863170624,
-0.6403482556343079,
0.2843374013900757,
0.3990326225757599,
1.00497305393219,
-0.4799172580242157,
0.3006766438484192,
0.32806631922721863,
0.2947327196598053,
-0.2962050437927246,
0.3075159192085266,
-0.2627779245376587,
-1.0461946725845337,
-0.47696930170059204,
-0.6376257538795471,
0.12072647362947464,
-0.009344265796244144,
-0.3386839032173157,
0.41293516755104065,
-0.3772329092025757,
-0.06736580282449722,
-0.31820666790008545,
-0.004210704006254673,
-0.5858173966407776,
-0.014388566836714745,
0.055126387625932693,
1.108324408531189,
-0.8225789070129395,
1.0245201587677002,
0.7501126527786255,
-0.3987542688846588,
-0.5753114223480225,
0.1062743291258812,
-0.13651250302791595,
-0.3902493715286255,
0.4214152693748474,
0.08526881039142609,
0.19982664287090302,
0.09577609598636627,
-0.23818957805633545,
-0.9119815230369568,
0.892635703086853,
0.41096529364585876,
-0.5309280157089233,
-0.11925582587718964,
0.18442276120185852,
0.5951187014579773,
-0.23287518322467804,
0.050613779574632645,
0.42716485261917114,
0.38129884004592896,
0.07830116897821426,
-0.8270736336708069,
0.13936889171600342,
-0.16308000683784485,
0.30166494846343994,
0.31860384345054626,
-0.22220976650714874,
0.6041977405548096,
0.09259392321109772,
-0.30537131428718567,
0.2158091962337494,
0.8854194283485413,
-0.18566979467868805,
-0.37579241394996643,
0.473214715719223,
0.7506822943687439,
0.47002601623535156,
-0.03992666304111481,
1.2007087469100952,
-0.2260003536939621,
0.3839936852455139,
1.106276035308838,
-0.09466560930013657,
0.8905847668647766,
0.5334683656692505,
-0.1550990343093872,
0.5415975451469421,
0.210564985871315,
0.006262572947889566,
0.7996352910995483,
0.28465405106544495,
-0.2386956363916397,
-0.18350355327129364,
-0.21175426244735718,
-0.3592239022254944,
0.45470109581947327,
0.40442225337028503,
-0.17021071910858154,
-0.5562402009963989,
0.3767566978931427,
-0.0167536623775959,
0.3958379030227661,
0.022413408383727074,
0.7287746071815491,
0.14111563563346863,
-0.18795908987522125,
0.815395712852478,
0.14626085758209229,
0.8990429639816284,
-0.7490392923355103,
-0.04498502239584923,
-0.19794616103172302,
0.3015994429588318,
-0.07871544361114502,
-0.6029627323150635,
0.4998020529747009,
0.15898604691028595,
0.3892146050930023,
-0.5851895213127136,
0.48217543959617615,
-0.8047175407409668,
-0.7957233190536499,
0.16894873976707458,
0.38133683800697327,
-0.027026403695344925,
0.04848828539252281,
-0.6765644550323486,
-0.03906375914812088,
-0.05221020430326462,
-0.38998767733573914,
0.1388021558523178,
0.6187011003494263,
0.08368438482284546,
0.5156903266906738,
0.10604061186313629,
0.5002873539924622,
-0.0016602935502305627,
-0.04984578490257263,
0.7825944423675537,
-0.2697894275188446,
-0.5320766568183899,
-0.9298400282859802,
0.5596626400947571,
-0.048672862350940704,
-0.17105358839035034,
0.6864595413208008,
0.5678842663764954,
1.1114883422851562,
0.034336064010858536,
0.692669689655304,
-0.5164799690246582,
0.5880997180938721,
-0.36670219898223877,
0.43855705857276917,
-0.6098425388336182,
0.21944081783294678,
-0.4078393578529358,
-1.0840322971343994,
-0.5407514572143555,
0.9274377822875977,
-0.24801892042160034,
-0.06272327154874802,
0.6788287162780762,
0.6979132294654846,
-0.26920783519744873,
-0.30441421270370483,
0.2508125305175781,
0.24331626296043396,
0.3190438449382782,
0.4633174538612366,
0.7140387296676636,
-0.4262276291847229,
0.42248183488845825,
-0.5461246967315674,
-0.23201198875904083,
0.16126179695129395,
-0.8486626744270325,
-0.528416633605957,
-0.8428793549537659,
-0.4055982530117035,
-0.14414933323860168,
0.0346539244055748,
0.9649778008460999,
0.32637086510658264,
-0.7038307189941406,
-0.26981931924819946,
-0.2969766855239868,
-0.09016115218400955,
-0.526739239692688,
-0.20108187198638916,
0.441738486289978,
-0.38406768441200256,
-0.5493698716163635,
0.18825164437294006,
0.02440388686954975,
-0.034012895077466965,
-0.17832209169864655,
-0.041579023003578186,
-0.6293643712997437,
0.13903620839118958,
0.5960606932640076,
-0.16544464230537415,
-0.33517777919769287,
-0.5025955438613892,
-0.1495511382818222,
0.12403465807437897,
-0.23561149835586548,
0.6158343553543091,
-0.8019397854804993,
0.4624811112880707,
0.7235195636749268,
0.6697883605957031,
0.38590699434280396,
0.07182426750659943,
0.8015598058700562,
-1.0053540468215942,
0.3897359371185303,
0.18053415417671204,
0.2905959188938141,
0.26941636204719543,
-0.18118435144424438,
0.46118971705436707,
0.24421659111976624,
0.25272560119628906,
-0.7374303936958313,
0.19340701401233673,
-0.5692861080169678,
-0.5882173776626587,
1.1069291830062866,
-0.049398452043533325,
0.04880129173398018,
0.12706828117370605,
-0.12541520595550537,
0.38425689935684204,
-0.15489250421524048,
0.7754705548286438,
0.8531705141067505,
-0.07389932125806808,
-0.1848423331975937,
-0.5133053660392761,
0.5853252410888672,
0.1794620156288147,
-0.3456786274909973,
0.09229206293821335,
0.2972327470779419,
0.0725340023636818,
0.2791123390197754,
0.3576008677482605,
-0.20481185615062714,
0.02990344539284706,
-0.1380632221698761,
-0.07911527901887894,
-0.42920780181884766,
-0.4162517786026001,
-0.5256187915802002,
0.21104812622070312,
-0.10564257949590683,
-0.4354662001132965
] |
http://arxiv.org/abs/2405.16150v1
|
http://arxiv.org/pdf/2405.16150v1
|
5W1H Extraction With Large Language Models
| 2024-05-25T09:42:58 | 2024-05-25T09:42:58 |
Yang Cao, Yangsong Lan, Feiyan Zhai, Piji Li
|
cs.CL
|
cs.CL
|
The extraction of essential news elements through the 5W1H framework
(\textit{What}, \textit{When}, \textit{Where}, \textit{Why}, \textit{Who}, and
\textit{How}) is critical for event extraction and text summarization. The
advent of Large language models (LLMs) such as ChatGPT presents an opportunity
to address language-related tasks through simple prompts without fine-tuning
models with much time. While ChatGPT has encountered challenges in processing
longer news texts and analyzing specific attributes in context, especially
answering questions about \textit{What}, \textit{Why}, and \textit{How}. The
effectiveness of extraction tasks is notably dependent on high-quality
human-annotated datasets. However, the absence of such datasets for the 5W1H
extraction increases the difficulty of fine-tuning strategies based on
open-source LLMs. To address these limitations, first, we annotate a
high-quality 5W1H dataset based on four typical news corpora
(\textit{CNN/DailyMail}, \textit{XSum}, \textit{NYT}, \textit{RA-MDS}); second,
we design several strategies from zero-shot/few-shot prompting to efficient
fine-tuning to conduct 5W1H aspects extraction from the original news
documents. The experimental results demonstrate that the performance of the
fine-tuned models on our labelled dataset is superior to the performance of
ChatGPT. Furthermore, we also explore the domain adaptation capability by
testing the source-domain (e.g. NYT) models on the target domain corpus (e.g.
CNN/DailyMail) for the task of 5W1H extraction.
|
[
-0.591344952583313,
-0.8367322683334351,
0.48971813917160034,
0.08090253919363022,
-0.4152945578098297,
-0.08588206022977829,
-0.40617790818214417,
-0.7700448036193848,
-0.18136025965213776,
0.39997491240501404,
-0.7126617431640625,
-0.5821759700775146,
-0.6786819696426392,
0.17482592165470123,
-0.39660051465034485,
1.2998108863830566,
0.06989534199237823,
-0.37794724106788635,
0.16198965907096863,
-0.08839808404445648,
-0.1941893845796585,
-0.43924620747566223,
-0.3334769308567047,
-0.2833101749420166,
0.8131982684135437,
0.5581563115119934,
0.6034401655197144,
0.6326171159744263,
0.7753037214279175,
0.14072461426258087,
-0.07647829502820969,
0.054873015731573105,
-0.6403312683105469,
0.08614088594913483,
-0.13075973093509674,
-0.10004536062479019,
-0.2894672751426697,
0.29692205786705017,
0.37108486890792847,
0.543305516242981,
-0.08751818537712097,
0.49466556310653687,
-0.009324942715466022,
0.5140067338943481,
-0.410125732421875,
0.28184741735458374,
-0.7226852178573608,
0.006913673598319292,
-0.26304948329925537,
-0.36070773005485535,
-0.17957904934883118,
-0.2673105001449585,
0.36497241258621216,
-0.5158217549324036,
0.34473177790641785,
0.13713416457176208,
1.2791799306869507,
-0.07143064588308334,
-0.3547307252883911,
-0.14142511785030365,
-0.5468840003013611,
0.682682454586029,
-0.9889493584632874,
0.35942861437797546,
0.3231845498085022,
0.20077954232692719,
-0.17589335143566132,
-0.8139912486076355,
-0.6874601244926453,
0.024874335154891014,
-0.023081978783011436,
0.31324759125709534,
-0.25531378388404846,
0.04612911492586136,
0.46386590600013733,
0.35389116406440735,
-0.5375236868858337,
0.16409195959568024,
-0.5239125490188599,
-0.14228610694408417,
0.6072096824645996,
-0.19428689777851105,
0.18171516060829163,
-0.5365105867385864,
-0.33394014835357666,
0.09990571439266205,
-0.7083780765533447,
-0.2724524140357971,
0.2591398358345032,
0.3771228790283203,
-0.19565129280090332,
0.41671323776245117,
-0.45552772283554077,
0.4213637113571167,
-0.0535544753074646,
-0.409869909286499,
0.17109344899654388,
-0.32765859365463257,
-0.17823830246925354,
-0.0906650498509407,
0.8321418762207031,
0.2881195545196533,
0.3521209955215454,
-0.2437571883201599,
-0.13215629756450653,
-0.33714163303375244,
-0.024062087759375572,
-1.110134482383728,
-0.2338356077671051,
0.2985527217388153,
-0.8032490611076355,
-0.4053664803504944,
0.13058343529701233,
-0.7536102533340454,
-0.2668859660625458,
-0.29276978969573975,
0.45634499192237854,
-0.35266605019569397,
-0.33943113684654236,
0.004698196426033974,
-0.4149925708770752,
0.4511830508708954,
0.3732130825519562,
-0.9651889204978943,
0.012031633406877518,
0.5703880190849304,
0.7217164039611816,
-0.6162485480308533,
-0.11912520974874496,
-0.5810327529907227,
-0.06574792414903641,
-0.16645348072052002,
0.6605995893478394,
-0.43576329946517944,
-0.05287506803870201,
-0.08416386693716049,
-0.0362587608397007,
0.3477536141872406,
-0.421153724193573,
0.6321427226066589,
-0.8253027200698853,
0.6842775940895081,
-0.29811587929725647,
-0.662452220916748,
-0.4002699553966522,
0.3666240870952606,
-0.7583065629005432,
0.9899869561195374,
0.1379861682653427,
-0.8703000545501709,
0.29734131693840027,
-0.7430076599121094,
-0.4962504208087921,
-0.09317547082901001,
-0.14162279665470123,
-0.49061474204063416,
0.2448803186416626,
0.6544367671012878,
0.647769033908844,
-0.30074045062065125,
0.05725536867976189,
-0.2740875482559204,
-0.028632625937461853,
0.029544541612267494,
-0.7695162892341614,
0.7039433121681213,
0.362679123878479,
-0.16725659370422363,
0.08621580898761749,
-1.1487090587615967,
-0.16953632235527039,
0.1264142245054245,
-0.5221533179283142,
-0.259818434715271,
0.1477874517440796,
0.30243080854415894,
0.38258272409439087,
0.2997308075428009,
-0.569446325302124,
0.30038022994995117,
-0.24899287521839142,
0.17936865985393524,
0.6267165541648865,
0.38417738676071167,
0.21082574129104614,
-0.10232485830783844,
0.48013269901275635,
0.035876672714948654,
-0.007505494635552168,
-0.5022817850112915,
-0.21872101724147797,
-0.47137582302093506,
-0.33533692359924316,
0.5049803853034973,
0.4273822605609894,
-0.805716872215271,
0.24422389268875122,
-0.3570641577243805,
-0.3633328676223755,
-0.28913024067878723,
-0.002106597414240241,
-0.0015914245741441846,
0.3930215537548065,
0.2865542471408844,
-0.11586682498455048,
-0.7519691586494446,
-0.6467148065567017,
-0.09171145409345627,
0.07657221704721451,
-0.028109900653362274,
-0.14413632452487946,
0.31937432289123535,
0.20321471989154816,
1.1599279642105103,
-0.5543577075004578,
0.07143303751945496,
-0.5503815412521362,
0.2370138317346573,
0.48716673254966736,
0.16098499298095703,
0.23781153559684753,
-0.9784749746322632,
-0.2769605815410614,
0.21825416386127472,
-0.846698522567749,
-0.2808329463005066,
-0.09345334768295288,
0.13046078383922577,
0.22862601280212402,
0.4744827151298523,
-0.665765106678009,
0.28932714462280273,
0.7406898736953735,
-0.1666353940963745,
0.6287245750427246,
0.041740693151950836,
-0.05715322494506836,
-1.3988276720046997,
0.06808099150657654,
0.12331854552030563,
-0.5654950141906738,
-0.5085740685462952,
0.1660606563091278,
-0.04661913961172104,
-0.2749239504337311,
-0.5660984516143799,
0.6860815286636353,
-0.8511747121810913,
-0.14470994472503662,
-0.41698363423347473,
0.33814504742622375,
0.005535145290195942,
0.5568485856056213,
0.060654088854789734,
0.4576123356819153,
0.28991198539733887,
-0.5991406440734863,
0.30603933334350586,
0.08849240094423294,
-0.41829046607017517,
0.06138407066464424,
-0.40442705154418945,
0.06532496958971024,
-0.22111935913562775,
0.18227048218250275,
-0.7590768933296204,
-0.2794564962387085,
0.03456053137779236,
-0.41735246777534485,
0.1288960576057434,
-0.053601596504449844,
-0.5280125737190247,
0.00916842557489872,
-0.35249990224838257,
-0.12944327294826508,
0.6068313121795654,
-0.5708708763122559,
0.3872409760951996,
0.43351906538009644,
-0.4145762324333191,
-0.41559508442878723,
-0.29968583583831787,
0.12601406872272491,
-0.25261518359184265,
-0.3835889399051666,
0.2746012508869171,
0.24362564086914062,
-0.21185816824436188,
-0.0036634327843785286,
-0.269423246383667,
-0.014690233394503593,
0.14275461435317993,
-0.017881235107779503,
0.4445236325263977,
-0.34554409980773926,
-0.013724380172789097,
-0.18222960829734802,
-0.27574220299720764,
-0.23258255422115326,
-0.10462737828493118,
0.36683058738708496,
0.3011813163757324,
-0.38033074140548706,
-0.48059773445129395,
0.4046921133995056,
0.701239287853241,
-0.42697471380233765,
0.4772500693798065,
0.9565070867538452,
-0.4294787347316742,
0.023473205044865608,
-0.7116398215293884,
-0.38207560777664185,
-0.37552404403686523,
0.6845078468322754,
-0.3181650936603546,
-0.9395111799240112,
0.5634580850601196,
-0.11610626429319382,
0.4387100636959076,
0.5788609981536865,
0.5994186997413635,
0.025642266497015953,
1.0922563076019287,
0.8147091269493103,
-0.48827213048934937,
0.833618700504303,
0.09185240417718887,
0.16489064693450928,
-0.5840792059898376,
0.16433094441890717,
-0.5090013742446899,
-0.19393280148506165,
-0.8868984580039978,
-0.18947355449199677,
0.467974454164505,
-0.023102208971977234,
0.11595410108566284,
0.1986541599035263,
-0.21370822191238403,
0.37465474009513855,
0.4775945842266083,
-0.09555546939373016,
0.6283947825431824,
0.27347469329833984,
0.3259342312812805,
-0.028693072497844696,
-0.8159011602401733,
-0.5297495126724243,
0.7943783402442932,
0.6627617478370667,
0.9204670786857605,
0.1653710901737213,
0.6069381237030029,
0.04866314306855202,
0.3187327980995178,
-0.8371987342834473,
0.38593700528144836,
-0.20127059519290924,
-0.5468888878822327,
-0.4342557489871979,
-0.3949105441570282,
-1.0279234647750854,
0.5924918055534363,
-0.1376863569021225,
-0.8508153557777405,
0.21787479519844055,
-0.22692571580410004,
-0.49045228958129883,
0.07158590108156204,
-0.7067975997924805,
0.7171775698661804,
0.14615221321582794,
-0.2530613839626312,
-0.10190410166978836,
-0.602814793586731,
0.22823239862918854,
0.10068269819021225,
0.3966584801673889,
-0.5274436473846436,
0.08788678795099258,
0.584230363368988,
-0.1848587542772293,
0.8971462845802307,
-0.0939284935593605,
-0.2987793982028961,
0.2427007555961609,
-0.0953494980931282,
0.7972832322120667,
-0.07285010814666748,
-0.11702956259250641,
0.24833554029464722,
0.23358961939811707,
-0.17143595218658447,
-0.4714365601539612,
0.2415885478258133,
-0.6977269649505615,
-0.4351901710033417,
-0.35138392448425293,
-0.5845153331756592,
-0.17382340133190155,
0.23809444904327393,
0.35746538639068604,
0.6684853434562683,
-0.18046505749225616,
0.35937508940696716,
0.5124249458312988,
-0.04262908175587654,
0.8350502848625183,
0.714167058467865,
-0.4714953303337097,
-0.11084219068288803,
1.0663546323776245,
0.15588164329528809,
0.1981421262025833,
0.41752228140830994,
0.30088967084884644,
-0.12313694506883621,
-0.648756742477417,
-0.29462873935699463,
-0.06755422055721283,
-0.5969551205635071,
-0.25223180651664734,
-0.6050240397453308,
-0.4452327787876129,
-0.2679506242275238,
0.17688272893428802,
-0.24874860048294067,
-0.46128955483436584,
-0.3020532429218292,
-0.2269451767206192,
0.1423344761133194,
0.4426901936531067,
0.027607543393969536,
0.149430513381958,
-1.2249078750610352,
0.44464102387428284,
0.19254913926124573,
-0.003958194982260466,
-0.2351471483707428,
-0.49168241024017334,
-0.28278595209121704,
-0.2730563282966614,
-0.35551825165748596,
-0.9371458292007446,
0.40429508686065674,
0.08490575850009918,
0.49272382259368896,
0.3687361478805542,
-0.044774092733860016,
0.6336570978164673,
-0.5594303607940674,
0.938525915145874,
-0.012258129194378853,
-0.73916095495224,
0.4415992498397827,
-0.6389966011047363,
0.4139612913131714,
0.3731662333011627,
0.2902100086212158,
-0.8364394903182983,
-0.3777063190937042,
-0.655549943447113,
-0.8663175702095032,
0.68825763463974,
0.3029089868068695,
0.13825885951519012,
-0.07901109755039215,
0.4067125916481018,
0.3886224329471588,
0.12815460562705994,
-0.9040331840515137,
0.12166160345077515,
0.14062680304050446,
-0.3048260807991028,
0.3858586549758911,
-0.27149108052253723,
0.1196238175034523,
-0.19543683528900146,
0.7613838315010071,
-0.3486008644104004,
0.024145204573869705,
0.3151234984397888,
-0.1450367420911789,
0.06654738634824753,
0.352020263671875,
0.4108414947986603,
0.9417462348937988,
-0.05664588510990143,
0.0858873650431633,
0.24356313049793243,
-0.4268627464771271,
-0.29770368337631226,
0.2851310968399048,
-0.051077790558338165,
0.18229293823242188,
0.7553286552429199,
0.7984524369239807,
0.08746786415576935,
-0.5874596834182739,
0.5795590877532959,
-0.013543141074478626,
-0.12989497184753418,
-0.13139848411083221,
0.04541958123445511,
-0.19122053682804108,
0.36583709716796875,
0.6797406077384949,
-0.40336668491363525,
0.16408690810203552,
-0.76292884349823,
0.2938458323478699,
0.3652416467666626,
-0.3711525797843933,
-0.4969685673713684,
0.4292038083076477,
0.21348068118095398,
0.06044502556324005,
0.45056062936782837,
-0.2846302092075348,
-0.3845817744731903,
0.418751060962677,
0.536280632019043,
0.7052502036094666,
0.038469891995191574,
0.07264450192451477,
0.35784298181533813,
0.2832651734352112,
-0.08644132316112518,
0.2670198082923889,
0.141351118683815,
-0.8390381336212158,
-0.7469961047172546,
-0.5524389743804932,
-0.3849484920501709,
0.2931113839149475,
-0.6520686149597168,
0.4183877408504486,
-0.047935694456100464,
0.199777752161026,
0.12610313296318054,
0.14661535620689392,
-0.523918628692627,
0.1818213164806366,
0.36460626125335693,
0.9278386235237122,
-0.5163140296936035,
0.8527102470397949,
0.35495492815971375,
-0.4097123146057129,
-0.8203210830688477,
0.29161328077316284,
0.07950083911418915,
-0.6833922863006592,
0.2774755656719208,
0.04251214861869812,
0.3989820182323456,
0.1903950273990631,
-0.6823118329048157,
-0.9152832627296448,
1.0168557167053223,
0.40500974655151367,
-0.8574272990226746,
-0.20182576775550842,
-0.2578372061252594,
0.32134008407592773,
-0.22431817650794983,
0.1301364153623581,
0.5553344488143921,
0.4859394133090973,
0.12570539116859436,
-0.9642080068588257,
0.14902730286121368,
0.10752901434898376,
-0.17232674360275269,
0.14060309529304504,
-0.6486108899116516,
0.7599745988845825,
-0.22879905998706818,
-0.2650180160999298,
-0.3142683804035187,
0.8596622943878174,
0.0019404231570661068,
-0.05027095228433609,
0.2947925925254822,
0.1446629762649536,
0.75799560546875,
-0.024425912648439407,
1.20990788936615,
-0.25684764981269836,
0.6465949416160583,
1.149616003036499,
-0.23696185648441315,
0.8695082664489746,
0.4898149073123932,
-0.04833124577999115,
0.31170472502708435,
0.6731601357460022,
0.01638767123222351,
0.641716480255127,
-0.03732029348611832,
-0.2063676416873932,
-0.13715684413909912,
0.12018401175737381,
-0.20748978853225708,
0.7691821455955505,
0.16423751413822174,
-0.20130756497383118,
-0.5787767171859741,
0.03273361548781395,
0.29947805404663086,
-0.5036583542823792,
-0.15138161182403564,
1.0966885089874268,
0.15428023040294647,
-0.7758371829986572,
0.12800686061382294,
0.273689866065979,
0.6115164756774902,
-0.7478844523429871,
-0.0832056775689125,
-0.2854199707508087,
-0.03605230897665024,
-0.2786758840084076,
-0.5375728011131287,
0.35494983196258545,
0.018358880653977394,
-0.2595308721065521,
-0.13028515875339508,
1.074081540107727,
-0.5446088314056396,
-0.4283265769481659,
-0.1333659291267395,
0.8172328472137451,
0.09742240607738495,
-0.3067614436149597,
-0.34478330612182617,
0.2354568988084793,
0.08016770333051682,
-0.8120698928833008,
0.38978639245033264,
0.7408198118209839,
-0.1252473145723343,
0.266051322221756,
0.9016655087471008,
0.25230464339256287,
-0.2244274765253067,
0.2978460490703583,
0.7641193866729736,
-0.7657297849655151,
-0.4336596429347992,
-1.2763652801513672,
0.44733455777168274,
-0.32743051648139954,
-0.37516069412231445,
0.7171857953071594,
0.6101073622703552,
0.42682865262031555,
0.16098323464393616,
1.1256364583969116,
-0.2546740770339966,
0.517376720905304,
-0.711815357208252,
0.6665820479393005,
-0.3652505576610565,
0.20708692073822021,
-0.14353835582733154,
-0.8441840410232544,
-0.17387090623378754,
0.5521240830421448,
-0.06560598313808441,
-0.1561031937599182,
0.8865596055984497,
0.5978670716285706,
-0.12006893754005432,
0.20572485029697418,
0.42864125967025757,
0.31232750415802,
0.6551929116249084,
0.17898695170879364,
0.5299060940742493,
-0.31382736563682556,
0.6783385872840881,
0.024067169055342674,
-0.1418122798204422,
-0.17295004427433014,
-1.1942719221115112,
-0.8030929565429688,
-0.5911791920661926,
-0.38818448781967163,
-0.13280260562896729,
0.004247105680406094,
1.1694931983947754,
0.8590870499610901,
-0.6772056818008423,
0.21377035975456238,
0.18911227583885193,
0.3014799952507019,
-0.27075663208961487,
-0.288428395986557,
0.5023010969161987,
-0.5384909510612488,
-0.6876517534255981,
0.19702516496181488,
0.36845704913139343,
-0.0419062115252018,
-0.33375272154808044,
0.4489731788635254,
-0.09865011274814606,
-0.05817455053329468,
0.9701446294784546,
0.1370633989572525,
-0.5733067393302917,
-0.8163256049156189,
-0.12394087761640549,
-0.14839744567871094,
0.2002324014902115,
0.6369240880012512,
-0.4921223819255829,
0.12633347511291504,
0.5098379850387573,
0.7362987995147705,
0.7660914063453674,
0.11022444069385529,
0.605837881565094,
-0.9969179034233093,
0.11550352722406387,
0.01600603759288788,
0.20786431431770325,
0.3142746686935425,
-0.2574937343597412,
0.5858269333839417,
0.3325037360191345,
-0.4050947427749634,
-0.497559130191803,
0.008333074860274792,
-0.9816029071807861,
-0.2927805185317993,
1.5606557130813599,
-0.030495239421725273,
-0.2863807678222656,
-0.18384496867656708,
-0.5138843059539795,
0.23613333702087402,
-0.26738667488098145,
0.8070329427719116,
1.0747277736663818,
-0.19317138195037842,
-0.46747660636901855,
-1.1020604372024536,
0.42263755202293396,
-0.040090057998895645,
-1.1938167810440063,
0.12709291279315948,
0.5075169205665588,
0.49865275621414185,
-0.04211932793259621,
0.7801732420921326,
-0.21399880945682526,
0.18659961223602295,
-0.15431612730026245,
0.3259729743003845,
-0.03166576474905014,
0.02602209895849228,
-0.11181364208459854,
0.615537703037262,
-0.058531273156404495,
-0.39371195435523987
] |
http://arxiv.org/abs/2405.16136v1
|
http://arxiv.org/pdf/2405.16136v1
|
C3LLM: Conditional Multimodal Content Generation Using Large Language Models
| 2024-05-25T09:10:12 | 2024-05-25T09:10:12 |
Zixuan Wang, Qinkai Duan, Yu-Wing Tai, Chi-Keung Tang
|
cs.AI
|
cs.AI, cs.CL, cs.LG, cs.SD, eess.AS
|
We introduce C3LLM (Conditioned-on-Three-Modalities Large Language Models), a
novel framework combining three tasks of video-to-audio, audio-to-text, and
text-to-audio together. C3LLM adapts the Large Language Model (LLM) structure
as a bridge for aligning different modalities, synthesizing the given
conditional information, and making multimodal generation in a discrete manner.
Our contributions are as follows. First, we adapt a hierarchical structure for
audio generation tasks with pre-trained audio codebooks. Specifically, we train
the LLM to generate audio semantic tokens from the given conditions, and
further use a non-autoregressive transformer to generate different levels of
acoustic tokens in layers to better enhance the fidelity of the generated
audio. Second, based on the intuition that LLMs were originally designed for
discrete tasks with the next-word prediction method, we use the discrete
representation for audio generation and compress their semantic meanings into
acoustic tokens, similar to adding "acoustic vocabulary" to LLM. Third, our
method combines the previous tasks of audio understanding, video-to-audio
generation, and text-to-audio generation together into one unified model,
providing more versatility in an end-to-end fashion. Our C3LLM achieves
improved results through various automated evaluation metrics, providing better
semantic alignment compared to previous methods.
|
[
-0.2927587628364563,
-0.7242864370346069,
0.7576764822006226,
0.3823357820510864,
-0.09452378004789352,
-0.19316723942756653,
-0.6660182476043701,
-0.31802889704704285,
-0.04779111593961716,
0.5658894777297974,
-0.7013947367668152,
-0.6938517093658447,
-0.38086554408073425,
0.11604022234678268,
-0.5411475896835327,
0.8744576573371887,
0.05463068559765816,
0.247748464345932,
-0.27385950088500977,
0.09415002167224884,
-0.6796563863754272,
-0.22853821516036987,
-0.5451699495315552,
-0.34016308188438416,
0.5733891129493713,
0.4029255211353302,
0.7567632794380188,
0.629856288433075,
0.4041178524494171,
0.3139776289463043,
0.22038377821445465,
0.1323937028646469,
-0.37592777609825134,
0.04026281461119652,
0.0521223358809948,
-0.21947191655635834,
-0.5348935723304749,
-0.15359649062156677,
0.7312169075012207,
0.7051551938056946,
-0.1718684732913971,
0.046717915683984756,
0.07742749154567719,
0.48351675271987915,
-0.6957212686538696,
0.17933401465415955,
-0.882417619228363,
0.028284020721912384,
0.06314495205879211,
-0.6116713881492615,
-0.5280472040176392,
-0.13150858879089355,
-0.14460735023021698,
-0.7440230846405029,
0.2838781476020813,
0.16931864619255066,
0.41282129287719727,
0.37963929772377014,
-0.6736338138580322,
-0.44751444458961487,
-0.9683017730712891,
0.8904781937599182,
-0.7286536693572998,
0.5792309641838074,
0.42067644000053406,
0.17732642590999603,
-0.0982426181435585,
-0.7666571736335754,
-1.0625406503677368,
-0.27329757809638977,
0.17229798436164856,
0.2912297248840332,
0.044908396899700165,
0.2983461320400238,
0.16933861374855042,
0.4635673761367798,
-0.6368007659912109,
0.16553662717342377,
-0.09950130432844162,
-0.1861516833305359,
0.5628787279129028,
0.31028497219085693,
0.4915887713432312,
-0.21456821262836456,
-0.5366706252098083,
-0.2076486200094223,
-0.8327697515487671,
-0.2175849974155426,
0.5415667295455933,
0.3083132803440094,
-0.26499345898628235,
0.7944034934043884,
0.0354398712515831,
0.7659175992012024,
0.13326574862003326,
-0.6715390682220459,
0.17114219069480896,
-0.7846810817718506,
-0.2370525449514389,
0.39330384135246277,
0.9188597798347473,
0.5361497402191162,
-0.12053296715021133,
-0.00862779002636671,
-0.286976158618927,
0.12763643264770508,
0.03404086455702782,
-0.6846624612808228,
-0.10552424937486649,
0.28576138615608215,
-0.49469122290611267,
-0.04652654007077217,
-0.13123977184295654,
-0.3171963691711426,
-0.14186309278011322,
-0.6860603094100952,
0.5406545400619507,
-0.46176689863204956,
-0.3118289113044739,
0.4324973225593567,
0.054148003458976746,
0.21499687433242798,
0.3236055076122284,
-1.2107237577438354,
0.43274182081222534,
0.5269454717636108,
0.6044118404388428,
-0.5283529758453369,
-0.3663220703601837,
-0.7235338687896729,
0.8204554319381714,
-0.1829608827829361,
0.49885043501853943,
-0.2693317234516144,
-0.30452394485473633,
0.25194796919822693,
-0.1478104442358017,
0.03234086185693741,
-0.4027911424636841,
0.26094916462898254,
-0.36720430850982666,
0.32208430767059326,
0.17601378262043,
-0.4475163221359253,
-0.07258355617523193,
0.2532784640789032,
-0.8366431593894958,
0.85552978515625,
-0.054682884365320206,
-0.6104274392127991,
0.3575854003429413,
-0.40749049186706543,
-0.5705838799476624,
-0.0683494433760643,
-0.25177404284477234,
-0.2528592646121979,
-0.09574148058891296,
0.15335069596767426,
0.5877076387405396,
-0.6557400822639465,
0.7608029246330261,
-0.33223670721054077,
-0.17627523839473724,
0.2745997905731201,
-0.5569907426834106,
0.15545326471328735,
0.25971004366874695,
-0.35223785042762756,
0.1736108809709549,
-0.7250605225563049,
-0.14607775211334229,
-0.29911085963249207,
-0.6151484251022339,
0.07621646672487259,
0.29709580540657043,
0.5335803627967834,
0.34905293583869934,
0.0966455340385437,
-0.6092615723609924,
-0.0966634750366211,
-0.32901811599731445,
0.35444873571395874,
0.5163756608963013,
-0.06403819471597672,
0.5987415909767151,
-0.5235503315925598,
0.4433530271053314,
0.02015962451696396,
0.025194700807332993,
-0.44755280017852783,
-0.2897205054759979,
-0.5487408638000488,
-0.4418627917766571,
0.14259229600429535,
0.4505586624145508,
-0.8027565479278564,
0.20527414977550507,
-0.420684278011322,
-0.11168771237134933,
-0.07061213254928589,
0.24544982612133026,
0.3029182255268097,
0.2000202238559723,
0.44976717233657837,
-0.10500188171863556,
-0.6209485530853271,
-0.7874005436897278,
0.07557326555252075,
-0.2184538096189499,
-0.06929583847522736,
0.14484308660030365,
0.10759616643190384,
-0.23721282184123993,
0.835791826248169,
-0.4104439914226532,
-0.42436084151268005,
-0.39030569791793823,
0.19271384179592133,
0.3105300962924957,
0.6447237730026245,
0.34484392404556274,
-0.9455231428146362,
-0.19860269129276276,
0.04802333191037178,
-0.5475283265113831,
-0.04891631007194519,
-0.42014849185943604,
0.14917482435703278,
0.14645390212535858,
0.7796387076377869,
-0.7279435396194458,
-0.08011268824338913,
0.8888252377510071,
-0.0006770749459974468,
0.392874151468277,
0.10718750208616257,
0.191855326294899,
-1.2681245803833008,
-0.21713203191757202,
-0.1290283501148224,
-0.24860061705112457,
-0.45101800560951233,
-0.22547784447669983,
-0.19673654437065125,
-0.21791763603687286,
-0.706167995929718,
0.6070328950881958,
-0.5033252835273743,
-0.17966949939727783,
-0.27519917488098145,
0.37652549147605896,
-0.09315506368875504,
0.6396948099136353,
0.162518709897995,
0.39116448163986206,
0.5182055830955505,
-0.5975569486618042,
0.4648470878601074,
0.0018484730971977115,
-0.31977540254592896,
0.5495409965515137,
-0.4178566336631775,
-0.023418517783284187,
0.09005019813776016,
0.4119170010089874,
-0.8721970319747925,
-0.335725337266922,
-0.04780275747179985,
-0.3463984727859497,
0.372884064912796,
0.108929343521595,
-0.6785974502563477,
-0.16298623383045197,
-0.24088846147060394,
0.8213821053504944,
0.10949712991714478,
-0.5321778059005737,
0.9566852450370789,
0.31242796778678894,
-0.48612433671951294,
-0.24115748703479767,
-0.698745608329773,
0.1507233828306198,
-0.18937695026397705,
-0.7870170474052429,
0.7977500557899475,
-0.5161503553390503,
-0.12349405884742737,
0.18288446962833405,
-0.14129792153835297,
0.02699318155646324,
-0.09733439981937408,
0.357210636138916,
0.3629416525363922,
-0.3744243383407593,
0.06929660588502884,
0.09615969657897949,
0.07843612134456635,
0.04815885052084923,
-0.5983729958534241,
0.43400099873542786,
0.1524685025215149,
-0.5286551117897034,
-0.2613218128681183,
0.6072427034378052,
0.26113855838775635,
-0.11117175966501236,
0.24498087167739868,
0.9269064664840698,
-0.32512402534484863,
-0.17933164536952972,
-0.6687493920326233,
0.024791819974780083,
-0.46144238114356995,
0.45610228180885315,
-0.2975444793701172,
-1.3007487058639526,
0.1325300931930542,
0.1531706303358078,
-0.061968859285116196,
0.3718665838241577,
1.0528919696807861,
0.005611173342913389,
1.4479254484176636,
0.6440373659133911,
0.371277779340744,
0.5138640403747559,
-0.09043115377426147,
0.18292805552482605,
-0.5718249678611755,
-0.3670845627784729,
-0.2670322060585022,
-0.16794851422309875,
-0.7257114052772522,
-0.4590011239051819,
0.38070592284202576,
0.07396823912858963,
-0.11942404508590698,
0.14006492495536804,
-0.10192061215639114,
0.26626351475715637,
0.4160242974758148,
-0.040008723735809326,
0.34290993213653564,
-0.05640018358826637,
-0.17821204662322998,
0.21596214175224304,
-0.7564722895622253,
-0.2884746789932251,
1.0563496351242065,
0.2642361521720886,
0.8733787536621094,
0.5191154479980469,
0.6195849776268005,
0.24700218439102173,
0.30043622851371765,
-1.0000550746917725,
0.5376002192497253,
-0.03398018330335617,
-0.43700891733169556,
-0.22645817697048187,
-0.35472041368484497,
-0.7897705435752869,
0.013185137882828712,
-0.5022909641265869,
-0.47867485880851746,
-0.06614116579294205,
0.2557384967803955,
-0.2808711528778076,
0.0689157024025917,
-0.6013744473457336,
0.512187659740448,
-0.24262788891792297,
-0.5069934725761414,
-0.28663378953933716,
-0.5073843598365784,
0.6410389542579651,
-0.2114611715078354,
0.5371485948562622,
-0.1294388324022293,
-0.09781347960233688,
0.47073107957839966,
-0.24188822507858276,
0.7443249225616455,
-0.07629477232694626,
-0.37846431136131287,
0.3166011571884155,
0.11483294516801834,
0.22158975899219513,
0.40707144141197205,
0.07604417204856873,
-0.15817013382911682,
0.022014815360307693,
-0.12667305767536163,
-0.4767437279224396,
0.847531795501709,
-0.6800922751426697,
-0.6679434776306152,
-0.20577217638492584,
-1.0189011096954346,
-0.43611016869544983,
0.35087108612060547,
-0.00689978152513504,
0.7488882541656494,
-0.1482437551021576,
0.43623086810112,
0.5141540765762329,
-0.3357532024383545,
0.7772664427757263,
0.48969146609306335,
-0.33683380484580994,
-0.7983182072639465,
0.9656074047088623,
-0.5004997253417969,
0.41078564524650574,
0.7986807823181152,
-0.011015442200005054,
-0.42055851221084595,
-0.8094695806503296,
-0.22473904490470886,
0.1689717322587967,
-0.7684957981109619,
-0.35583117604255676,
-0.6657335758209229,
-0.06755072623491287,
-0.485557496547699,
-0.05095503479242325,
-0.2110501378774643,
-0.4172837436199188,
-0.4100252091884613,
-0.11080151051282883,
0.12765130400657654,
0.6139852404594421,
-0.24311193823814392,
0.4142361581325531,
-0.9960634112358093,
0.8100101351737976,
0.5200748443603516,
0.17261332273483276,
-0.3591204881668091,
-0.3383522629737854,
-0.5262140035629272,
0.004789445549249649,
-0.45889243483543396,
-0.6191113591194153,
0.24729210138320923,
0.3537490665912628,
0.4560058116912842,
0.16931258141994476,
-0.3179597556591034,
0.4120602607727051,
-0.7335294485092163,
0.929724395275116,
0.7983328104019165,
-1.0293320417404175,
0.2386675626039505,
-0.7003089785575867,
0.37731948494911194,
0.26724356412887573,
0.22192348539829254,
-0.38524332642555237,
-0.4764865040779114,
-0.34855687618255615,
-1.019153356552124,
0.5848565101623535,
0.31071797013282776,
0.27412182092666626,
-0.28966274857521057,
-0.06726165860891342,
-0.0009575120639055967,
0.1650884747505188,
-1.0406122207641602,
-0.007547453977167606,
-0.5128998756408691,
-0.4871799647808075,
-0.21568822860717773,
-0.24598391354084015,
-0.05004952847957611,
-0.03089226223528385,
0.682051956653595,
-0.48942679166793823,
0.18915504217147827,
0.21229344606399536,
-0.3399474322795868,
-0.042032089084386826,
0.28772085905075073,
0.8415539860725403,
0.5298949480056763,
-0.1375911980867386,
0.303264319896698,
0.0563763789832592,
-0.32543453574180603,
0.18403612077236176,
0.0365045927464962,
0.24811795353889465,
-0.053120207041502,
0.6048983931541443,
1.0520635843276978,
0.564302384853363,
-0.681816041469574,
0.6749293804168701,
-0.10779495537281036,
-0.5671312212944031,
-0.5594835877418518,
0.05975117161870003,
0.27464261651039124,
0.2509901225566864,
0.3958413302898407,
-0.08612363040447235,
0.16458335518836975,
-0.5664270520210266,
0.2862478792667389,
0.30931466817855835,
-0.30562523007392883,
-0.21766643226146698,
0.9155498147010803,
0.17901109158992767,
-0.1390676200389862,
0.22373618185520172,
-0.011881988495588303,
-0.05148988589644432,
0.38764092326164246,
0.8996278643608093,
0.9328782558441162,
-0.0966142937541008,
0.042478881776332855,
0.3452211320400238,
0.14074166119098663,
-0.16888593137264252,
0.34987685084342957,
-0.26509106159210205,
-0.847123384475708,
-0.8827324509620667,
-0.9224001169204712,
-0.30262264609336853,
0.18047349154949188,
-0.6729703545570374,
0.5398219227790833,
-0.2387658953666687,
-0.15956628322601318,
-0.08271731436252594,
-0.47137951850891113,
-0.7408739328384399,
0.5270825028419495,
0.4831332862377167,
0.795159637928009,
-0.7522578835487366,
0.8718068599700928,
0.398123174905777,
-0.253800630569458,
-1.1022340059280396,
-0.018629057332873344,
0.05438581109046936,
-0.5232906341552734,
0.6333117485046387,
0.04160790517926216,
-0.4359898865222931,
0.24410168826580048,
-0.40508124232292175,
-0.8375951051712036,
1.2583301067352295,
0.34461304545402527,
-0.6848863363265991,
-0.11490046232938766,
0.28068816661834717,
0.237038716673851,
-0.6208572387695312,
0.05561590939760208,
0.40138348937034607,
0.5304664969444275,
0.2367643564939499,
-0.7554707527160645,
-0.023760370910167694,
-0.27704745531082153,
0.2302103340625763,
0.10024548321962357,
-0.14444200694561005,
0.7197407484054565,
-0.16335074603557587,
-0.0552101694047451,
0.20546753704547882,
0.7938686013221741,
0.41871947050094604,
0.14328472316265106,
0.7260026335716248,
0.5166996121406555,
0.2737250328063965,
-0.06878073513507843,
1.094234824180603,
-0.4248673617839813,
0.12422150373458862,
1.2544758319854736,
-0.3518145680427551,
0.6663404703140259,
0.6652392745018005,
0.15619979798793793,
0.38173866271972656,
0.6147213578224182,
0.012619083747267723,
0.5789692997932434,
0.25699570775032043,
-0.5185196995735168,
-0.4352399408817291,
-0.29398274421691895,
-0.2380271852016449,
0.7224431037902832,
0.3067082166671753,
-0.16678468883037567,
0.12085253745317459,
0.26772740483283997,
-0.1034831628203392,
0.14976707100868225,
-0.41004201769828796,
0.9147768020629883,
0.13812637329101562,
-0.7849472761154175,
0.48347926139831543,
0.16566336154937744,
0.5808404684066772,
-0.6052553057670593,
-0.04032569378614426,
-0.018786679953336716,
-0.06779078394174576,
-0.32270920276641846,
-0.6122334599494934,
0.12405408918857574,
-0.0796097069978714,
-0.5160724520683289,
-0.5281737446784973,
0.4384154677391052,
-0.8916010856628418,
-0.4935508072376251,
0.4024042785167694,
0.3158562481403351,
-0.23306530714035034,
0.14252978563308716,
-0.38617634773254395,
0.31942448019981384,
-0.16729605197906494,
-0.07115580886602402,
0.19192500412464142,
0.48499417304992676,
0.026980778202414513,
0.29527831077575684,
0.9250856637954712,
0.21078254282474518,
0.07169325649738312,
0.5663477182388306,
0.7063198089599609,
-0.675101101398468,
-0.41129356622695923,
-0.7730199694633484,
0.4641050398349762,
0.40791696310043335,
0.11581264436244965,
0.5607325434684753,
0.7219456434249878,
0.9292199015617371,
-0.15753833949565887,
0.7474290132522583,
-0.0583011694252491,
0.08601108193397522,
-1.28955078125,
0.2552526593208313,
-0.7327595353126526,
0.3830380141735077,
-0.5420392155647278,
-1.2020931243896484,
-0.44593849778175354,
-0.04968690872192383,
0.06063692644238472,
-0.009587282314896584,
1.079288125038147,
1.0008444786071777,
-0.11439712345600128,
0.07441671937704086,
0.355800598859787,
0.21230842173099518,
0.28488707542419434,
0.60691899061203,
1.118308424949646,
-0.1511390060186386,
0.8266231417655945,
0.07174334675073624,
0.0912049189209938,
0.13265077769756317,
-1.1916658878326416,
-0.6914799809455872,
-0.7244202494621277,
-0.23535186052322388,
-0.2170570194721222,
-0.26087406277656555,
0.8575401902198792,
0.7281286120414734,
-0.5914190411567688,
-0.4922887980937958,
-0.09957899153232574,
0.13798193633556366,
-0.0506095252931118,
-0.2065039575099945,
0.07493001222610474,
-0.19082675874233246,
-0.8010899424552917,
0.6804780960083008,
0.3782087564468384,
-0.08376068621873856,
-0.2499159574508667,
-0.3676469326019287,
-0.13297799229621887,
-0.030599165707826614,
0.9145795106887817,
-0.08606046438217163,
-0.8765544295310974,
-0.5010986924171448,
-0.1313370317220688,
-0.10841059684753418,
0.0736360251903534,
1.0719457864761353,
-0.5264260768890381,
0.30449560284614563,
0.3984827995300293,
0.5426383018493652,
0.9237849116325378,
-0.3952133357524872,
0.8493040204048157,
-0.7359298467636108,
0.1772914081811905,
0.1786363273859024,
0.48018360137939453,
0.5338656902313232,
-0.03649746999144554,
0.1040961816906929,
0.04118502885103226,
-0.4081730246543884,
-0.7154412269592285,
0.46343904733657837,
-1.3816142082214355,
-0.14627933502197266,
1.4835214614868164,
0.25118404626846313,
-0.011179392226040363,
0.07740612328052521,
-0.17872793972492218,
0.4883900284767151,
-0.1372145116329193,
0.35257208347320557,
0.4364626109600067,
0.02800196036696434,
-0.2509147524833679,
-0.641525149345398,
0.4878724217414856,
0.34620025753974915,
-0.7653914093971252,
-0.227369025349617,
0.8183474540710449,
0.20784515142440796,
0.04748303070664406,
0.7465888261795044,
-0.1604568213224411,
0.5671631097793579,
-0.3406340181827545,
0.39633721113204956,
-0.06599748879671097,
-0.4830385148525238,
-0.17036646604537964,
0.22185742855072021,
0.14043475687503815,
0.10312613099813461
] |
http://arxiv.org/abs/2405.16129v1
|
http://arxiv.org/pdf/2405.16129v1
|
iREL at SemEval-2024 Task 9: Improving Conventional Prompting Methods for Brain Teasers
| 2024-05-25T08:50:51 | 2024-05-25T08:50:51 |
Harshit Gupta, Manav Chaudhary, Tathagata Raha, Shivansh Subramanian, Vasudeva Varma
|
cs.CL
|
cs.CL
|
This paper describes our approach for SemEval-2024 Task 9: BRAINTEASER: A
Novel Task Defying Common Sense. The BRAINTEASER task comprises multiple-choice
Question Answering designed to evaluate the models' lateral thinking
capabilities. It consists of Sentence Puzzle and Word Puzzle subtasks that
require models to defy default common-sense associations and exhibit
unconventional thinking. We propose a unique strategy to improve the
performance of pre-trained language models, notably the Gemini 1.0 Pro Model,
in both subtasks. We employ static and dynamic few-shot prompting techniques
and introduce a model-generated reasoning strategy that utilizes the LLM's
reasoning capabilities to improve performance. Our approach demonstrated
significant improvements, showing that it performed better than the baseline
models by a considerable margin but fell short of performing as well as the
human annotators, thus highlighting the efficacy of the proposed strategies.
|
[
-0.5835806727409363,
-0.929111123085022,
0.6461312174797058,
0.003301223972812295,
-0.4271394610404968,
-0.15621772408485413,
-0.12092059850692749,
-0.3092665672302246,
0.18974792957305908,
0.5106902718544006,
-1.0146421194076538,
-0.41953930258750916,
-0.44734519720077515,
0.19940988719463348,
-0.06811976432800293,
0.7309094667434692,
0.16117152571678162,
0.037374675273895264,
-0.22504855692386627,
-0.23712991178035736,
-0.8064993023872375,
-0.30682122707366943,
-0.7721648216247559,
-0.5771666765213013,
0.6379619836807251,
0.5118296146392822,
0.4435760974884033,
0.12486877292394638,
0.3089087903499603,
0.21909666061401367,
-0.1984311044216156,
0.35806989669799805,
-0.2796795666217804,
0.15152445435523987,
-0.31238216161727905,
-0.42121750116348267,
-0.4776065945625305,
-0.035064902156591415,
0.2669011950492859,
0.6539558172225952,
-0.0974411740899086,
0.016082894057035446,
-0.020410114899277687,
0.6488565802574158,
-0.6007009744644165,
-0.2433016151189804,
-0.7157240509986877,
-0.09345394372940063,
-0.12754732370376587,
-0.14422322809696198,
-0.47030821442604065,
-0.12121208757162094,
0.08083471655845642,
-0.6028086543083191,
0.09462494403123856,
-0.09269114583730698,
0.8506020903587341,
0.5538784861564636,
-0.31318384408950806,
0.04357846826314926,
-0.2584109306335449,
0.6502458453178406,
-0.5415133833885193,
0.28055447340011597,
0.2679484784603119,
0.3872166574001312,
-0.0790502056479454,
-0.7495973110198975,
-0.5369678735733032,
-0.21020343899726868,
0.25299397110939026,
0.23988376557826996,
-0.3795453906059265,
-0.05525752156972885,
0.41035035252571106,
-0.41106659173965454,
-0.4720540940761566,
0.019894538447260857,
-0.44963183999061584,
-0.11328340321779251,
0.5530010461807251,
0.33207252621650696,
0.07627170532941818,
-0.029646700248122215,
-0.34472447633743286,
-0.021480774506926537,
-0.8415592312812805,
0.35872843861579895,
0.23283492028713226,
0.04139731824398041,
0.19736091792583466,
0.40927761793136597,
-0.38396933674812317,
0.6967252492904663,
0.14554734528064728,
0.46850159764289856,
0.1534634530544281,
-0.0786605104804039,
-0.06540202349424362,
-0.11262112855911255,
0.2866997718811035,
0.5588635206222534,
0.356341153383255,
0.18500584363937378,
-0.2961372435092926,
0.33804890513420105,
0.2924747169017792,
-0.5343498587608337,
-0.2789555490016937,
0.3441120684146881,
-0.39277026057243347,
-0.26943808794021606,
-0.2698899507522583,
-0.5651301741600037,
-0.3943136930465698,
-0.2825643718242645,
0.8958641290664673,
-0.8679105639457703,
-0.15388111770153046,
0.35664480924606323,
-0.3467603921890259,
0.21870596706867218,
0.6334739327430725,
-0.7464663982391357,
0.1415272057056427,
0.6338933110237122,
0.4777284264564514,
-0.1593136191368103,
-0.3727540969848633,
-0.5938642621040344,
-0.057383161038160324,
-0.10088992118835449,
1.1694509983062744,
-0.47954803705215454,
-0.30189934372901917,
-0.3587048351764679,
-0.12878549098968506,
-0.051015838980674744,
-0.6137242317199707,
0.37435024976730347,
-0.426670104265213,
0.04346402734518051,
-0.6164810061454773,
-0.43067771196365356,
-0.36799153685569763,
0.5867322087287903,
-0.4123249351978302,
0.82782381772995,
-0.12935210764408112,
-0.6537898778915405,
0.26904934644699097,
-1.2252190113067627,
-0.35992035269737244,
0.26028966903686523,
-0.3446385860443115,
0.015238511376082897,
0.09021714329719543,
0.7759546041488647,
0.4193108081817627,
-0.1598425805568695,
0.22818942368030548,
-0.05707452446222305,
-0.5522519946098328,
0.3111574053764343,
-0.5045725107192993,
0.9180616736412048,
0.2984437644481659,
-0.18786756694316864,
0.07586696743965149,
-0.7012010216712952,
0.20923885703086853,
0.14095978438854218,
-0.031510692089796066,
-0.34231844544410706,
-0.23258602619171143,
-0.29604125022888184,
0.036391668021678925,
0.30477362871170044,
-0.4378906190395355,
0.3599283993244171,
-0.6696040630340576,
0.3456944525241852,
0.7736597061157227,
0.3142704665660858,
0.3855646848678589,
-0.3523247539997101,
0.7205203175544739,
0.3472597599029541,
0.13936057686805725,
-0.5980746150016785,
-0.6232683062553406,
-0.8227559328079224,
-0.23029793798923492,
0.24149493873119354,
0.5751062631607056,
-0.8945711851119995,
0.05668991431593895,
-0.04869470372796059,
-0.577829897403717,
-0.535580039024353,
-0.24283137917518616,
0.1322803497314453,
0.737554132938385,
0.5103484392166138,
-0.1711704134941101,
-0.5707284808158875,
-1.0417537689208984,
-0.6268219351768494,
0.05947134643793106,
0.11708799004554749,
0.04253629222512245,
0.7000902891159058,
-0.17749831080436707,
0.9237052798271179,
-0.4745011329650879,
0.2471189796924591,
-0.35333290696144104,
0.5857140421867371,
0.4247107207775116,
0.49038130044937134,
0.2690489888191223,
-0.5632435083389282,
-0.1876717209815979,
-0.39108577370643616,
-0.5363209247589111,
-0.27996641397476196,
-0.10652044415473938,
0.22566229104995728,
0.23645110428333282,
0.5207969546318054,
-0.5538081526756287,
0.4367312788963318,
0.19210104644298553,
-0.3867378532886505,
0.4683194160461426,
0.08106036484241486,
0.22421419620513916,
-0.8027825951576233,
0.10871487855911255,
-0.24017798900604248,
0.02505183219909668,
-0.7624242901802063,
0.07869090139865875,
0.07003998756408691,
-0.1794160008430481,
-0.7391794323921204,
0.7217034101486206,
-0.3792816698551178,
0.4048905670642853,
-0.46075570583343506,
-0.05082682892680168,
-0.04548247903585434,
0.3142651319503784,
0.15632450580596924,
0.844184398651123,
0.6611308455467224,
-0.743119478225708,
0.038497503846883774,
0.13145674765110016,
-0.24216695129871368,
0.5557153820991516,
-0.8912534713745117,
0.5087672472000122,
-0.697322428226471,
0.10110203921794891,
-1.0383388996124268,
-0.12729887664318085,
0.16149525344371796,
-0.6040633320808411,
-0.00008537273242836818,
0.04432687535881996,
-0.11830216646194458,
-0.5190373659133911,
-0.09317870438098907,
0.14916923642158508,
0.5339311361312866,
-0.5001720190048218,
0.819553554058075,
0.15300574898719788,
-0.09824615716934204,
-0.6735116243362427,
-0.6750017404556274,
0.055154308676719666,
-0.3704303801059723,
-0.9646615386009216,
0.3153919279575348,
-0.28964900970458984,
-0.24593670666217804,
-0.22485026717185974,
-0.21537740528583527,
0.017365265637636185,
0.2374885082244873,
0.10327351093292236,
0.40405499935150146,
-0.009868762455880642,
-0.03254765644669533,
0.2111455351114273,
-0.29008689522743225,
0.19384144246578217,
-0.10900747776031494,
0.5636088848114014,
-0.2204858809709549,
-0.38601475954055786,
-0.24173560738563538,
0.35700997710227966,
0.08789264410734177,
-0.23210158944129944,
0.4265318810939789,
0.5913434624671936,
-0.3781995475292206,
-0.30970191955566406,
-0.7076594829559326,
-0.6879727244377136,
-0.5170236825942993,
0.32233333587646484,
-0.6645323038101196,
-1.0267804861068726,
0.4999293088912964,
-0.26713424921035767,
0.0006145404186099768,
0.10379073768854141,
0.49769142270088196,
-0.2098054587841034,
1.214327096939087,
0.37078869342803955,
0.363614559173584,
0.043841402977705,
-0.37407413125038147,
0.15169763565063477,
-0.6282364726066589,
-0.2631085216999054,
-0.2832946479320526,
-0.48739001154899597,
-0.03793174773454666,
-0.43460848927497864,
0.6267238259315491,
0.0072816587053239346,
-0.05783329904079437,
0.44728225469589233,
-0.6388806700706482,
0.7678494453430176,
0.690679669380188,
0.12125375866889954,
-0.04866618290543556,
-0.09371306002140045,
-0.6381379961967468,
-0.23064014315605164,
-0.8631873726844788,
-0.5423276424407959,
0.8654659986495972,
0.3525841534137726,
0.7023477554321289,
-0.03088625892996788,
0.9114114046096802,
-0.1961648166179657,
0.14047066867351532,
-0.6682326197624207,
0.9741464853286743,
0.22557197511196136,
-0.9047396183013916,
-0.2595302164554596,
-0.08453746885061264,
-0.9542007446289062,
0.34056293964385986,
-0.12676037847995758,
-0.8900878429412842,
0.18081559240818024,
0.15506736934185028,
-0.8501880168914795,
-0.22823084890842438,
-0.632914125919342,
0.8669824004173279,
-0.12370628863573074,
-0.34009307622909546,
-0.28012821078300476,
-0.5534773468971252,
0.2821233868598938,
0.17286428809165955,
-0.03881538286805153,
-0.1542685478925705,
-0.2983440160751343,
0.6205927729606628,
0.016276761889457703,
0.7568118572235107,
-0.37116557359695435,
0.1383989006280899,
0.5611786246299744,
0.20144832134246826,
0.5926196575164795,
0.039781466126441956,
-0.14323942363262177,
-0.01756906881928444,
0.0467902235686779,
-0.2917626202106476,
-0.6887897253036499,
0.357229620218277,
-0.516541063785553,
-0.9575889706611633,
-0.3591858148574829,
-0.6780923008918762,
-0.42741671204566956,
0.15868227183818817,
0.545253574848175,
0.28823184967041016,
-0.29655182361602783,
0.1466824859380722,
0.7453330159187317,
-0.18468283116817474,
0.6135475635528564,
0.6719275712966919,
0.11778372526168823,
-0.5268722176551819,
0.3972755968570709,
0.22371695935726166,
-0.004405131097882986,
0.09872569888830185,
0.2435956746339798,
-0.35751911997795105,
-0.6282041072845459,
0.010480180382728577,
-0.051286730915308,
-0.8184324502944946,
-0.1750832498073578,
-0.7265426516532898,
-0.15722565352916718,
-0.6029373407363892,
-0.24279971420764923,
-0.24280193448066711,
-0.6579546928405762,
-0.11220530420541763,
0.008543957024812698,
0.11008936911821365,
0.3907540440559387,
-0.2020876258611679,
0.3328583240509033,
-0.8662648797035217,
0.13255184888839722,
0.4323185086250305,
-0.1923961490392685,
-0.18774640560150146,
-0.7175108790397644,
-0.059358321130275726,
-0.07618291676044464,
-0.45909106731414795,
-1.0427830219268799,
0.4027247726917267,
-0.2695310711860657,
0.6734579205513,
0.3237823247909546,
0.002861534245312214,
0.7859517335891724,
-0.48100775480270386,
0.864841639995575,
0.314452201128006,
-0.8858869671821594,
1.0319722890853882,
-0.5689185261726379,
0.8874062895774841,
0.7238671183586121,
0.430753618478775,
-0.4029060900211334,
-0.2744186222553253,
-0.8824880123138428,
-0.6272860169410706,
0.6257225275039673,
0.2037557065486908,
0.11849517375230789,
-0.23552058637142181,
0.22361475229263306,
0.0807218924164772,
0.1405930072069168,
-0.6725546717643738,
-0.17027932405471802,
-0.09869058430194855,
-0.08263217657804489,
0.22436146438121796,
0.06606042385101318,
-0.2048095166683197,
-0.48044896125793457,
0.6742702722549438,
-0.33995023369789124,
0.2406768649816513,
0.31400173902511597,
-0.011821746826171875,
-0.03627564385533333,
0.46427324414253235,
0.6821775436401367,
0.6955425143241882,
0.0019626629073172808,
0.15330637991428375,
0.7166566252708435,
-0.20184479653835297,
0.05827045440673828,
0.1483468860387802,
-0.44746044278144836,
-0.10626811534166336,
0.05629855394363403,
0.7088115215301514,
0.02782084234058857,
-0.6475117206573486,
0.418125182390213,
0.13532473146915436,
-0.31718510389328003,
-0.3170725405216217,
0.3870835304260254,
0.31555187702178955,
0.3702104091644287,
0.44118914008140564,
0.42363715171813965,
0.19066888093948364,
-0.3657676875591278,
0.2533511221408844,
0.42566564679145813,
-0.2662017345428467,
-0.3795062005519867,
0.6247377395629883,
0.28072816133499146,
-0.2883300185203552,
0.3055761456489563,
-0.24458901584148407,
-0.6490092277526855,
0.6746973395347595,
0.6315776109695435,
0.634115993976593,
-0.24282443523406982,
0.10367898643016815,
0.5578687191009521,
0.45224493741989136,
-0.069210484623909,
0.7940071821212769,
0.12270005792379379,
-1.0121978521347046,
-0.475435346364975,
0.055536989122629166,
-0.28142279386520386,
0.39802390336990356,
-0.29020729660987854,
0.70787113904953,
-0.4901356101036072,
-0.332365483045578,
0.07872923463582993,
0.018715117126703262,
-0.7267932891845703,
0.19023042917251587,
0.3150840103626251,
1.3599190711975098,
-0.5937036275863647,
0.8766101002693176,
1.0810630321502686,
-0.5691371560096741,
-0.8909685611724854,
-0.18533523380756378,
0.15466605126857758,
-0.7810524702072144,
0.811863362789154,
0.3537106513977051,
-0.14074942469596863,
0.23206645250320435,
-0.9624090790748596,
-0.6119114756584167,
1.0429424047470093,
0.22403615713119507,
-0.5697210431098938,
-0.008987519890069962,
-0.08142679184675217,
0.19124369323253632,
-0.4576463997364044,
0.4735415577888489,
0.5244846343994141,
0.7710497379302979,
0.11745896935462952,
-0.6346659064292908,
0.024539178237318993,
-0.22465908527374268,
-0.25900980830192566,
0.11596090346574783,
-0.587677538394928,
0.6734016537666321,
-0.4027319848537445,
-0.14556467533111572,
0.07373569160699844,
0.8681036233901978,
0.7597896456718445,
0.5776976943016052,
0.6853973865509033,
0.6484948992729187,
0.8646442890167236,
0.11029904335737228,
0.5930082201957703,
-0.18180958926677704,
-0.0838695764541626,
1.1620327234268188,
-0.512113630771637,
0.8975527882575989,
0.8353369832038879,
0.19348560273647308,
0.44535914063453674,
0.25387847423553467,
-0.03656790032982826,
0.5051043033599854,
0.12323874235153198,
-0.22613058984279633,
-0.6680914163589478,
0.05377432331442833,
-0.1177908331155777,
0.6558201909065247,
0.3888086676597595,
0.00163165177218616,
-0.39755648374557495,
0.23725919425487518,
-0.06201142445206642,
0.38688501715660095,
-0.20598314702510834,
0.45982280373573303,
0.17867818474769592,
-1.2379473447799683,
0.6377142071723938,
-0.023466721177101135,
0.857290506362915,
-0.5141766667366028,
0.021921169012784958,
-0.23852284252643585,
0.13441245257854462,
0.20765432715415955,
-0.6969824433326721,
0.2801825702190399,
-0.07631662487983704,
0.14483968913555145,
-0.31184491515159607,
1.124204397201538,
-0.26620379090309143,
-0.23735632002353668,
-0.019246641546487808,
0.6942369341850281,
0.0998556986451149,
-0.12986965477466583,
-1.0833330154418945,
0.011582220904529095,
0.05055156722664833,
-0.2352193295955658,
-0.03229905292391777,
0.45434045791625977,
0.0742090493440628,
0.7958753108978271,
0.5485360622406006,
-0.12325074523687363,
-0.1752762496471405,
0.1926976442337036,
0.7840734720230103,
-0.8265690803527832,
-0.5865961313247681,
-0.8418440222740173,
0.7361786961555481,
-0.1346319168806076,
-0.45147913694381714,
0.699709951877594,
0.3069351315498352,
0.4715116024017334,
-0.2881821095943451,
0.5076791644096375,
0.05986374244093895,
0.6340742111206055,
-0.4853443503379822,
0.5979664921760559,
-0.4388819634914398,
0.2591617703437805,
0.006705966778099537,
-0.7563495635986328,
-0.13917295634746552,
0.7376620769500732,
-0.4568565785884857,
0.04549140855669975,
0.964005172252655,
1.1663403511047363,
-0.06147649139165878,
0.3627546429634094,
0.5600404143333435,
0.11065629124641418,
-0.037239693105220795,
0.7467995882034302,
1.3481180667877197,
-0.43471041321754456,
0.5242618322372437,
-0.05304646119475365,
-0.0827290266752243,
0.014809390529990196,
-1.0248944759368896,
-1.2234125137329102,
-0.48232343792915344,
-0.4376163184642792,
-0.2100079357624054,
0.228626549243927,
1.2246168851852417,
0.7074279189109802,
-0.6499596238136292,
-0.03524886816740036,
-0.27239730954170227,
-0.3033565580844879,
-0.2812492251396179,
-0.2032971829175949,
-0.18763120472431183,
-0.4646676182746887,
-0.6057106256484985,
0.7993019223213196,
0.250397264957428,
0.007876748219132423,
-0.0917554423213005,
-0.024333424866199493,
-0.40898963809013367,
0.3839015066623688,
0.48287439346313477,
0.07174708694219589,
-0.7481752038002014,
-0.3859190344810486,
0.3616648018360138,
0.15844140946865082,
-0.1542699933052063,
0.703582227230072,
-1.266674518585205,
-0.025912443175911903,
0.6861244440078735,
0.5132977962493896,
0.4140712320804596,
-0.029299629852175713,
0.5846330523490906,
-0.5519134998321533,
0.1938270777463913,
0.5887527465820312,
0.27150896191596985,
0.18034759163856506,
-0.3677440285682678,
0.7091076374053955,
0.1881742626428604,
-0.4147908687591553,
-0.64407879114151,
0.36625954508781433,
-0.7941606044769287,
-0.6352996230125427,
0.8988907337188721,
0.09491615742444992,
-0.4548329710960388,
-0.17539019882678986,
-0.2945769429206848,
0.014981834217905998,
-0.3872491717338562,
0.5794205069541931,
0.8259351849555969,
-0.273731529712677,
-0.44695159792900085,
-0.3728533387184143,
0.35339170694351196,
1.1177111864089966,
-0.6169580221176147,
-0.1887807697057724,
0.3833252191543579,
0.2921180725097656,
0.15423934161663055,
0.8721619248390198,
-0.07454870641231537,
0.6378287076950073,
-0.050130296498537064,
-0.05267251655459404,
-0.3287166953086853,
-0.5165572762489319,
-0.509779691696167,
0.10660678893327713,
-0.10285018384456635,
-0.04064759239554405
] |
http://arxiv.org/abs/2405.16128v1
|
http://arxiv.org/pdf/2405.16128v1
|
How Well Do Deep Learning Models Capture Human Concepts? The Case of the Typicality Effect
| 2024-05-25T08:38:30 | 2024-05-25T08:38:30 |
Siddhartha K. Vemuri, Raj Sanjay Shah, Sashank Varma
|
cs.AI
|
cs.AI, cs.CL
|
How well do representations learned by ML models align with those of humans?
Here, we consider concept representations learned by deep learning models and
evaluate whether they show a fundamental behavioral signature of human
concepts, the typicality effect. This is the finding that people judge some
instances (e.g., robin) of a category (e.g., Bird) to be more typical than
others (e.g., penguin). Recent research looking for human-like typicality
effects in language and vision models has focused on models of a single
modality, tested only a small number of concepts, and found only modest
correlations with human typicality ratings. The current study expands this
behavioral evaluation of models by considering a broader range of language (N =
8) and vision (N = 10) model architectures. It also evaluates whether the
combined typicality predictions of vision + language model pairs, as well as a
multimodal CLIP-based model, are better aligned with human typicality judgments
than those of models of either modality alone. Finally, it evaluates the models
across a broader range of concepts (N = 27) than prior studies. There were
three important findings. First, language models better align with human
typicality judgments than vision models. Second, combined language and vision
models (e.g., AlexNet + MiniLM) better predict the human typicality data than
the best-performing language model (i.e., MiniLM) or vision model (i.e.,
ViT-Huge) alone. Third, multimodal models (i.e., CLIP ViT) show promise for
explaining human typicality judgments. These results advance the
state-of-the-art in aligning the conceptual representations of ML models and
humans. A methodological contribution is the creation of a new image set for
testing the conceptual alignment of vision models.
|
[
-0.41462773084640503,
-0.48681220412254333,
0.38310006260871887,
-0.4378829896450043,
-0.370881587266922,
-0.2588733732700348,
-0.21444939076900482,
-0.6295815110206604,
0.3994678556919098,
0.49177342653274536,
-0.016687799245119095,
-0.5198729634284973,
-0.36511215567588806,
-0.1211734190583229,
-0.5726357102394104,
0.7108233571052551,
0.2275477647781372,
-0.01067763939499855,
-0.18385367095470428,
-0.22084206342697144,
-0.4437476694583893,
-0.8127915859222412,
-0.3857649266719818,
-0.6329889893531799,
0.34915584325790405,
0.023411180824041367,
0.9839683771133423,
0.5445275902748108,
0.6159945130348206,
0.25260546803474426,
-0.1204138919711113,
0.1172233372926712,
-0.546969473361969,
-0.2552669048309326,
-0.06256575137376785,
-0.5152729153633118,
-0.4166075885295868,
0.6024622321128845,
0.8003411293029785,
1.0438945293426514,
-0.15843479335308075,
-0.060453709214925766,
0.29957202076911926,
0.5602490305900574,
-0.5500391125679016,
-0.003041752614080906,
-0.4891895055770874,
0.15957233309745789,
0.010998392477631569,
0.13559827208518982,
-0.14188514649868011,
-0.026692600920796394,
0.6351248621940613,
-0.7528621554374695,
0.39392906427383423,
0.03869040310382843,
1.143770456314087,
0.11450450867414474,
-0.4180890619754791,
-0.2233087420463562,
-0.6521210670471191,
0.9023783802986145,
-0.5670913457870483,
0.4254421293735504,
0.12766042351722717,
0.29343873262405396,
-0.00038513450999744236,
-0.801116943359375,
-0.8234713673591614,
-0.5455114841461182,
-0.19793586432933807,
0.09789575636386871,
-0.32553350925445557,
0.15553289651870728,
0.19233478605747223,
0.2521306574344635,
-0.6489626169204712,
0.22958184778690338,
-0.28257957100868225,
-0.07499300688505173,
0.6964479684829712,
0.40630263090133667,
0.3891695737838745,
-0.43562933802604675,
-0.2698633670806885,
-0.2031518518924713,
-0.6729779243469238,
0.5110327005386353,
0.118171826004982,
0.26196742057800293,
-0.2743335962295532,
0.555125892162323,
-0.10941722244024277,
0.8090621829032898,
-0.15012767910957336,
0.24625878036022186,
0.19306226074695587,
-0.33853814005851746,
-0.29702502489089966,
-0.28589197993278503,
0.5706426501274109,
1.123257040977478,
0.827140212059021,
-0.23545891046524048,
-0.23386143147945404,
0.3234069049358368,
0.45370155572891235,
-0.5243608355522156,
-0.24347645044326782,
-0.17567037045955658,
-0.5960250496864319,
-0.6668121218681335,
0.4584443271160126,
-0.3913734555244446,
-0.5671598315238953,
-0.5663345456123352,
0.20379196107387543,
-0.2843979001045227,
-0.41049742698669434,
0.38446885347366333,
-0.08526530116796494,
0.4978836178779602,
0.38478726148605347,
-0.8357243537902832,
0.5268682241439819,
0.7798300385475159,
0.7046756148338318,
-0.5340154767036438,
-0.2942241132259369,
-0.06647408753633499,
-0.017779940739274025,
-0.6478193402290344,
0.7615945339202881,
-0.5488342642784119,
-0.1913960874080658,
0.03000538796186447,
-0.03955104947090149,
-0.12883472442626953,
-0.789965033531189,
0.12400971353054047,
-0.34373483061790466,
-0.06361224502325058,
-0.30717840790748596,
-0.7707505226135254,
-0.5313032269477844,
0.43786337971687317,
-0.8332439661026001,
0.32581666111946106,
-0.32973945140838623,
-0.5614016056060791,
0.6816166639328003,
-0.5147930383682251,
-0.15495531260967255,
0.038834139704704285,
-0.5616697072982788,
-0.13281069695949554,
0.24362821877002716,
-0.04982183128595352,
0.8961222767829895,
-0.1349659562110901,
0.13327743113040924,
-0.4606211483478546,
-0.7781195044517517,
0.8348052501678467,
-0.2924547493457794,
0.6838226318359375,
0.15420138835906982,
-0.007218432612717152,
-0.10620632767677307,
-0.5495973229408264,
-0.23951296508312225,
0.2393660545349121,
0.018320033326745033,
-0.5885446667671204,
0.00518540246412158,
0.19744519889354706,
0.18585216999053955,
-0.05561332404613495,
-0.36329349875450134,
0.33044302463531494,
-0.3136240243911743,
0.36865490674972534,
0.5195823907852173,
0.24338966608047485,
0.6763554215431213,
-0.4717741012573242,
0.24706263840198517,
0.26246124505996704,
-0.017308659851551056,
0.07058272510766983,
-0.6751871705055237,
-0.4845130145549774,
-0.13876423239707947,
0.11804113537073135,
0.2386644333600998,
-0.151240736246109,
0.09606882929801941,
-0.3777017891407013,
-0.13919031620025635,
-0.554768443107605,
0.2955206334590912,
0.33930855989456177,
0.34283682703971863,
0.004235513042658567,
-0.8903399705886841,
-0.5134518146514893,
-1.1063629388809204,
-0.2325461506843567,
-0.18843567371368408,
-0.2659085988998413,
0.40495872497558594,
0.48492762446403503,
-0.21474958956241608,
1.0081712007522583,
-0.422963947057724,
-0.08111361414194107,
-0.2550022006034851,
0.4214789569377899,
0.11141213774681091,
0.49858859181404114,
0.7674095630645752,
-1.0120930671691895,
-0.15244942903518677,
-0.06407752633094788,
-0.9616081118583679,
0.42805275321006775,
-0.21959428489208221,
0.25556227564811707,
0.11872315406799316,
0.05662219226360321,
-0.504757285118103,
0.5330814123153687,
0.20676815509796143,
-0.28651756048202515,
0.4178021252155304,
0.09314710646867752,
0.1761188954114914,
-0.79107666015625,
0.225798562169075,
0.27140241861343384,
-0.04416251555085182,
-0.7578230500221252,
0.159434974193573,
-0.1535414159297943,
-0.22570492327213287,
-0.5833482146263123,
0.4996701776981354,
-0.07793676108121872,
-0.2360180914402008,
-0.09657181054353714,
0.06907160580158234,
0.11839354783296585,
0.26091593503952026,
0.4075062870979309,
0.6956567168235779,
0.36534300446510315,
-0.8420330882072449,
0.3536703884601593,
-0.15270596742630005,
-0.6986649036407471,
0.4434014856815338,
-0.8410876989364624,
0.4490998089313507,
-0.27057990431785583,
0.08559677749872208,
-0.9252282977104187,
-0.35478129982948303,
0.039690837264060974,
-0.5222150087356567,
0.33489304780960083,
0.03758646547794342,
-0.5236420631408691,
-0.2985367476940155,
-0.3537669777870178,
0.21384555101394653,
0.6344494819641113,
-0.2574234902858734,
0.49518826603889465,
0.20186041295528412,
0.4185744524002075,
-0.46805617213249207,
-0.8589027523994446,
0.34500616788864136,
-0.2347666621208191,
-0.6714553833007812,
0.24955761432647705,
0.1050323098897934,
-0.4669792652130127,
0.13464143872261047,
0.03402373939752579,
-0.24717292189598083,
0.34340909123420715,
0.13763491809368134,
0.3936627507209778,
-0.2921195328235626,
0.005347323603928089,
-0.41515448689460754,
0.1741880178451538,
-0.0049519347958266735,
0.06267115473747253,
0.529191792011261,
-0.4677637815475464,
-0.13478955626487732,
-0.7868844866752625,
0.2686101794242859,
0.5634417533874512,
-0.20462867617607117,
0.6311485171318054,
0.37919968366622925,
-0.3534957468509674,
0.17550933361053467,
-0.625669538974762,
-0.28681784868240356,
-0.3958984315395355,
0.7003993391990662,
-0.4561552405357361,
-0.5888211727142334,
0.5751760601997375,
0.3126623034477234,
-0.010940470732748508,
0.36701539158821106,
0.30186551809310913,
-0.8853331208229065,
1.099307894706726,
0.7952648997306824,
-0.143085777759552,
0.5296531915664673,
-0.8278296589851379,
-0.08670136332511902,
-0.8598464131355286,
-0.22532543540000916,
0.07951505482196808,
-0.6557679176330566,
-0.5065786838531494,
-0.37534281611442566,
-0.03751811385154724,
0.02964242547750473,
-0.17480459809303284,
0.28816670179367065,
-0.38010886311531067,
0.4303189814090729,
0.445578008890152,
0.13230495154857635,
0.3448372781276703,
0.08211281895637512,
-0.17827244102954865,
-0.24596664309501648,
-0.4198264181613922,
-0.8694688677787781,
1.4481725692749023,
0.37393248081207275,
0.7310542464256287,
0.01722794771194458,
0.8381181359291077,
0.3746410310268402,
0.2317834049463272,
-0.8140312433242798,
0.4841175377368927,
-0.4985607862472534,
-0.7618968486785889,
-0.1277235895395279,
-0.23914100229740143,
-0.8754139542579651,
0.02060346119105816,
-0.4422307312488556,
-0.8088134527206421,
0.452767014503479,
0.2643386125564575,
-0.5167589783668518,
0.2623939514160156,
-0.7126786708831787,
0.8648179769515991,
-0.10699785500764847,
-0.08971895277500153,
-0.5097618103027344,
-0.7034871578216553,
0.6010984182357788,
0.03581201657652855,
-0.1041836366057396,
0.03452125936746597,
-0.06500309705734253,
0.970691978931427,
0.36813217401504517,
1.2555131912231445,
-0.1603706181049347,
0.2365855723619461,
0.4149927496910095,
-0.14034786820411682,
0.27072957158088684,
-0.26810452342033386,
0.06082676723599434,
0.1276398003101349,
0.01638464443385601,
-0.45158445835113525,
-0.9653947353363037,
0.19212833046913147,
-0.8806378245353699,
-0.4784746468067169,
-0.13974657654762268,
-0.6114923357963562,
-0.05958734452724457,
-0.0818503350019455,
0.3304100036621094,
0.37188172340393066,
-0.6807243227958679,
0.27093470096588135,
0.7070488929748535,
-0.01421299111098051,
0.12509092688560486,
0.4954318702220917,
-0.35558947920799255,
-0.027295969426631927,
1.0557295083999634,
0.21355275809764862,
0.37386417388916016,
0.3567977547645569,
0.06970833241939545,
-0.0633699968457222,
-0.47812286019325256,
-0.23968824744224548,
0.14676959812641144,
-0.7605424523353577,
0.1662609726190567,
-0.47308269143104553,
-0.17353373765945435,
-0.4468735456466675,
-0.09967684000730515,
-0.359275221824646,
-0.46011048555374146,
-0.267154723405838,
-0.009395119734108448,
-0.09626302868127823,
1.024879813194275,
0.24552613496780396,
0.1788865476846695,
-0.6121978163719177,
0.3605613708496094,
0.8683292865753174,
0.13372330367565155,
0.23936305940151215,
-0.6260639429092407,
-0.14701630175113678,
0.258647620677948,
-0.2922567129135132,
-0.6502282619476318,
-0.08703555911779404,
0.2458575963973999,
0.739758312702179,
1.0441410541534424,
-0.14176511764526367,
0.5699273347854614,
-0.10417938977479935,
0.8635644316673279,
0.5142200589179993,
-0.6732065677642822,
0.24499496817588806,
-0.10485687851905823,
0.031855639070272446,
0.5051382780075073,
0.1841607242822647,
-1.121060848236084,
-0.3697298467159271,
-0.4867416322231293,
-0.15035876631736755,
0.39463359117507935,
0.24980522692203522,
0.503563642501831,
-0.13941717147827148,
0.42585963010787964,
-0.11454779654741287,
-0.058030594140291214,
-0.7205042243003845,
-0.2790287137031555,
-0.6430372595787048,
-0.18351393938064575,
-0.22690348327159882,
-0.30065739154815674,
0.03605009987950325,
-0.42344048619270325,
0.07591696828603745,
0.031809668987989426,
0.30913281440734863,
0.023237967863678932,
-0.18195225298404694,
0.006015947088599205,
0.1975630521774292,
0.693534255027771,
0.3426681160926819,
-0.5919981002807617,
0.25069674849510193,
0.09535722434520721,
-0.592735230922699,
0.16070933640003204,
-0.11840172111988068,
-0.3254197835922241,
-0.04233621433377266,
0.8024003505706787,
0.6087268590927124,
0.30278274416923523,
-0.6514155864715576,
0.751761257648468,
-0.07097247987985611,
-0.08276002109050751,
0.0735260471701622,
0.25707682967185974,
0.1773633509874344,
0.21768918633460999,
0.2947706878185272,
0.17827709019184113,
0.31529727578163147,
-0.7779162526130676,
0.2764086425304413,
0.557163655757904,
-0.3449425995349884,
-0.714038610458374,
0.2556690573692322,
0.26935824751853943,
-0.13960672914981842,
0.8647818565368652,
-0.3539164662361145,
-0.6169765591621399,
0.9969125390052795,
0.46031394600868225,
0.8262346386909485,
-0.09062864631414413,
0.1558026522397995,
0.3830394446849823,
0.25410062074661255,
0.024746272712945938,
0.10274383425712585,
0.07588829845190048,
-1.2961249351501465,
-0.2564235031604767,
-0.46230942010879517,
-0.328886479139328,
0.04265786334872246,
-0.8473217487335205,
0.2145160287618637,
-0.463042676448822,
-0.07261428982019424,
-0.02596793696284294,
0.19051387906074524,
-1.0110008716583252,
0.4024185538291931,
0.7892968058586121,
0.5797039270401001,
-1.2917661666870117,
1.1184229850769043,
1.2113462686538696,
-0.6946263313293457,
-0.9484580755233765,
0.10321318358182907,
0.16607359051704407,
-1.0174643993377686,
0.8129429817199707,
0.3826087713241577,
-0.16771472990512848,
-0.30420196056365967,
-0.7407046556472778,
-0.8179545402526855,
1.0122359991073608,
0.20402246713638306,
-0.6314371228218079,
-0.19577525556087494,
0.20789922773838043,
0.5596659183502197,
-0.8742081522941589,
-0.26156091690063477,
0.7687347531318665,
0.13491274416446686,
0.18029622733592987,
-0.7262414693832397,
-0.06283517181873322,
-0.2575381100177765,
0.33708885312080383,
-0.2024739384651184,
-0.24698562920093536,
0.6501528024673462,
-0.4278262257575989,
-0.2786213159561157,
0.10048290342092514,
0.7036059498786926,
0.3450569212436676,
0.38932570815086365,
0.6224963665008545,
0.5615604519844055,
0.9032870531082153,
0.5351210236549377,
1.2366912364959717,
-0.014072094112634659,
0.2805568277835846,
1.0622665882110596,
-0.16684795916080475,
0.7422623634338379,
0.501822292804718,
-0.27027425169944763,
0.4055948555469513,
0.46547481417655945,
-0.2724211513996124,
0.770856499671936,
0.1681244820356369,
0.05262807011604309,
-0.3719850778579712,
-0.26432839035987854,
-0.25266045331954956,
0.6955717206001282,
0.2705196440219879,
-0.46965962648391724,
0.017423128709197044,
0.05477340519428253,
-0.28765061497688293,
0.1126156821846962,
-0.29276320338249207,
0.7204989790916443,
0.2987220287322998,
-0.47395575046539307,
0.5221993327140808,
-0.27959588170051575,
0.7734298706054688,
-0.23373576998710632,
-0.048500098288059235,
-0.33872491121292114,
0.009348597377538681,
-0.15014681220054626,
-0.8593575954437256,
0.2705813944339752,
0.02352774143218994,
-0.20978961884975433,
0.22784419357776642,
0.5065162777900696,
-0.20815303921699524,
-0.43228814005851746,
0.14469976723194122,
0.16170692443847656,
0.45007219910621643,
-0.09026865661144257,
-0.6389092803001404,
-0.2153419554233551,
-0.08165251463651657,
-0.044252730906009674,
0.23694412410259247,
0.1971883326768875,
-0.11334684491157532,
0.5327720046043396,
0.27742451429367065,
0.1314338892698288,
0.15980173647403717,
0.27217230200767517,
0.7048749327659607,
-0.7809227705001831,
-0.23150169849395752,
-0.6765002608299255,
0.39746370911598206,
-0.18589943647384644,
-0.354186475276947,
0.3261492848396301,
0.44883033633232117,
0.6927070021629333,
-0.06106368079781532,
0.4312306344509125,
0.20316268503665924,
0.07666625082492828,
-0.5215538144111633,
0.893358588218689,
-0.6588838696479797,
0.29083073139190674,
-0.446381539106369,
-0.949327290058136,
-0.4063014090061188,
0.7973166704177856,
-0.3916625678539276,
-0.24210208654403687,
0.559876561164856,
0.5346469283103943,
-0.2936384975910187,
-0.06690208613872528,
0.6448354125022888,
-0.005662152543663979,
0.22180502116680145,
0.5105598568916321,
1.0724501609802246,
-0.013559231534600258,
0.29897964000701904,
-0.5105063319206238,
-0.16218404471874237,
-0.08871884644031525,
-0.5972774028778076,
-0.9592189192771912,
-0.44771918654441833,
-0.3210752010345459,
0.10613472759723663,
0.039178479462862015,
1.0864219665527344,
0.817473292350769,
-0.8027449250221252,
-0.2847822606563568,
-0.048928894102573395,
-0.09331241250038147,
-0.49328669905662537,
-0.22340324521064758,
0.509286642074585,
-0.3569033145904541,
-0.5229488611221313,
-0.07897499203681946,
0.025467591360211372,
0.3693297505378723,
-0.16296085715293884,
-0.40194594860076904,
0.002146921120584011,
0.018980974331498146,
0.4743954837322235,
0.034691765904426575,
-1.0744656324386597,
-0.3354019224643707,
0.09760567545890808,
-0.363587886095047,
0.170282781124115,
0.8910438418388367,
-0.793918788433075,
0.5548040866851807,
0.046373117715120316,
0.39051780104637146,
0.5673964619636536,
-0.17203687131404877,
0.8241326808929443,
-0.5653488636016846,
0.2802414298057556,
0.43380919098854065,
0.5084387063980103,
0.3907937705516815,
-0.24298632144927979,
0.3947972357273102,
0.397048681974411,
-0.04467048496007919,
-0.7275823950767517,
0.3377639055252075,
-1.078800916671753,
-0.3037489354610443,
0.8822735548019409,
-0.2415609210729599,
-0.1657893806695938,
-0.03037654422223568,
0.14606040716171265,
0.28340837359428406,
-0.28399741649627686,
0.9269273281097412,
0.8312999606132507,
-0.1625794619321823,
-0.1818985939025879,
-0.6025617122650146,
0.24964940547943115,
0.5493221282958984,
-0.20338569581508636,
-0.08807863295078278,
0.1512022167444229,
0.4664495885372162,
0.19949638843536377,
0.3273766040802002,
0.09486798197031021,
0.5818060040473938,
-0.3875352442264557,
0.2791532576084137,
-0.12764686346054077,
-0.21507304906845093,
-0.6230264902114868,
-0.13479971885681152,
0.08339574933052063,
-0.42436614632606506
] |
http://arxiv.org/abs/2405.16122v1
|
http://arxiv.org/pdf/2405.16122v1
|
Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars
| 2024-05-25T08:23:05 | 2024-05-25T08:23:05 |
Zhaoxuan Wu, Xiaoqiang Lin, Zhongxiang Dai, Wenyang Hu, Yao Shu, See-Kiong Ng, Patrick Jaillet, Bryan Kian Hsiang Low
|
cs.AI
|
cs.AI, cs.CL, cs.LG, stat.ML
|
Large language models (LLMs) have shown impressive capabilities in real-world
applications. The capability of in-context learning (ICL) allows us to adapt an
LLM to downstream tasks by including input-label exemplars in the prompt
without model fine-tuning. However, the quality of these exemplars in the
prompt greatly impacts performance, highlighting the need for an effective
automated exemplar selection method. Recent studies have explored
retrieval-based approaches to select exemplars tailored to individual test
queries, which can be undesirable due to extra test-time computation and an
increased risk of data exposure. Moreover, existing methods fail to adequately
account for the impact of exemplar ordering on the performance. On the other
hand, the impact of the instruction, another essential component in the prompt
given to the LLM, is often overlooked in existing exemplar selection methods.
To address these challenges, we propose a novel method named EASE, which
leverages the hidden embedding from a pre-trained language model to represent
ordered sets of exemplars and uses a neural bandit algorithm to optimize the
sets of exemplars while accounting for exemplar ordering. Our EASE can
efficiently find an ordered set of exemplars that performs well for all test
queries from a given task, thereby eliminating test-time computation.
Importantly, EASE can be readily extended to jointly optimize both the
exemplars and the instruction. Through extensive empirical evaluations
(including novel tasks), we demonstrate the superiority of EASE over existing
methods, and reveal practical insights about the impact of exemplar selection
on ICL, which may be of independent interest. Our code is available at
https://github.com/ZhaoxuanWu/EASE-Prompt-Optimization.
|
[
-0.33833983540534973,
-0.7375167012214661,
0.44539159536361694,
0.16356129944324493,
-0.3310311436653137,
0.08139628916978836,
-0.2180493026971817,
-0.16946478188037872,
-0.10890180617570877,
0.21447885036468506,
-0.6518347263336182,
-0.576804518699646,
-0.587171733379364,
-0.014658056199550629,
-0.16477113962173462,
0.6972906589508057,
0.08638636767864227,
-0.02469075471162796,
-0.38876113295555115,
-0.2601892352104187,
-0.2045832723379135,
-0.31844985485076904,
-0.8598259687423706,
-0.11634138226509094,
0.2412131428718567,
0.27979326248168945,
0.6181231737136841,
0.9266427159309387,
0.1976996511220932,
0.3744414150714874,
-0.41655170917510986,
0.2591537535190582,
-0.38493603467941284,
0.6150930523872375,
0.12516114115715027,
-0.35300078988075256,
0.10325350612401962,
-0.1947329044342041,
0.29827016592025757,
0.6626015901565552,
-0.10690439492464066,
0.0934295728802681,
0.2986990511417389,
0.29466497898101807,
-0.9150037169456482,
0.25414490699768066,
-0.5074741840362549,
-0.09174030274152756,
0.22961381077766418,
-0.26877671480178833,
-0.5566935539245605,
-0.5827711820602417,
0.4703463613986969,
-0.6410680413246155,
-0.09503939002752304,
0.1416538655757904,
0.46261224150657654,
0.4636230170726776,
-0.24065597355365753,
-0.5504494309425354,
-0.10200785100460052,
0.850309431552887,
-0.3532956540584564,
0.229115292429924,
0.1250150501728058,
0.2989826202392578,
-0.24268320202827454,
-0.8594254851341248,
-0.23783305287361145,
-0.33721157908439636,
-0.09440678358078003,
0.11012289673089981,
-0.20578722655773163,
0.1912001669406891,
0.43249520659446716,
-0.0612744465470314,
-0.7629715204238892,
0.4274366497993469,
0.08582276850938797,
-0.15960191190242767,
0.3637167811393738,
0.16119831800460815,
0.2950488328933716,
-0.09743855148553848,
-0.3323606550693512,
-0.4078280031681061,
-0.626186728477478,
0.5971284508705139,
0.17155113816261292,
0.41501978039741516,
0.10696127265691757,
0.3357146680355072,
-0.3374954164028168,
0.7544596791267395,
0.0641159787774086,
-0.09958424419164658,
0.27514755725860596,
-0.10180873423814774,
-0.17673969268798828,
-0.02329050749540329,
0.6489338278770447,
0.04687134176492691,
-0.33319273591041565,
0.2290247231721878,
-0.4421418011188507,
-0.19241096079349518,
-0.11023657768964767,
-0.813693642616272,
-0.058548156172037125,
0.1395278424024582,
-0.21926246583461761,
-0.20624983310699463,
-0.16128480434417725,
-0.6692214608192444,
-0.2823251783847809,
-0.2008497565984726,
0.730019211769104,
-0.5116879343986511,
0.4250069558620453,
-0.21865050494670868,
0.03837481141090393,
0.3691355586051941,
0.3969202935695648,
-0.6079545617103577,
0.05307316035032272,
0.6573204398155212,
0.670525074005127,
-0.05976097658276558,
-0.16878646612167358,
-1.195084810256958,
-0.006857315078377724,
-0.43976086378097534,
0.5811425447463989,
-0.775024950504303,
-0.5562917590141296,
0.11896806955337524,
-0.24474981427192688,
-0.06248144060373306,
-0.3503139615058899,
0.5776090621948242,
-0.6596266627311707,
0.5037210583686829,
-0.06370972096920013,
-0.7007293701171875,
-0.24743542075157166,
0.057052623480558395,
-0.5494981408119202,
1.0752365589141846,
0.04831121489405632,
-0.32850128412246704,
0.2644912600517273,
-0.5675771236419678,
-0.49438297748565674,
0.09328462928533554,
-0.34634554386138916,
-0.21436864137649536,
0.18903771042823792,
0.5715547204017639,
0.568798840045929,
-0.10247499495744705,
0.1035289466381073,
-0.14167283475399017,
-0.6174377799034119,
0.00492875324562192,
-0.26815101504325867,
1.1914284229278564,
0.23554393649101257,
-0.5526407957077026,
0.20216219127178192,
-0.22183676064014435,
0.26318469643592834,
-0.03185076639056206,
-0.2521377503871918,
-0.5409904718399048,
0.02744506485760212,
-0.4852573871612549,
0.25945672392845154,
0.2553083300590515,
-0.07611583173274994,
0.23565472662448883,
-0.5595544576644897,
-0.0384032316505909,
0.9728766083717346,
-0.018381087109446526,
0.7253560423851013,
0.033643387258052826,
0.885755181312561,
-0.4027828574180603,
0.5530209541320801,
-0.4632336497306824,
-0.38125625252723694,
-0.7277554869651794,
-0.3535071313381195,
0.16284604370594025,
0.6633605360984802,
-0.9839239716529846,
0.46449577808380127,
-0.07530318945646286,
-0.3919888734817505,
-0.3903181254863739,
0.13308075070381165,
0.6875965595245361,
0.43124958872795105,
0.25160902738571167,
0.06271986663341522,
0.009339509531855583,
-0.871278703212738,
-0.29401811957359314,
-0.1838555634021759,
0.06471765786409378,
0.33251819014549255,
0.007669424172490835,
0.1805620938539505,
0.7019545435905457,
-0.7590470910072327,
0.19692927598953247,
-0.4412907660007477,
0.22762244939804077,
0.31820225715637207,
0.38836759328842163,
0.5682100653648376,
-0.8331263065338135,
-0.687225878238678,
-0.13739807903766632,
-0.4339626729488373,
-0.26106488704681396,
-0.09722965210676193,
-0.35154762864112854,
0.29544705152511597,
0.6298437118530273,
-0.5962550640106201,
0.3293949365615845,
0.21661603450775146,
-0.13788579404354095,
0.15659597516059875,
-0.36549198627471924,
-0.10816487669944763,
-0.8461567163467407,
-0.1893884539604187,
-0.2666994631290436,
-0.0012831808999180794,
-0.42457321286201477,
0.22072531282901764,
0.4776143431663513,
-0.1396118849515915,
-0.49739742279052734,
0.7307689785957336,
-0.7467294931411743,
0.09023970365524292,
-0.007925217971205711,
0.16866716742515564,
0.09045471996068954,
0.5989227890968323,
-0.18451349437236786,
0.7577409148216248,
0.8184093832969666,
-0.7000794410705566,
-0.03001890517771244,
0.2886064648628235,
-0.4541977643966675,
0.2923085689544678,
-0.4574875831604004,
0.22620965540409088,
-0.3996860086917877,
0.060006964951753616,
-0.95284104347229,
-0.07701627165079117,
0.4268038868904114,
-0.4340742826461792,
0.7171626091003418,
-0.17288058996200562,
-0.37610924243927,
-0.12054457515478134,
-0.5283430218696594,
0.02207154780626297,
0.7473803162574768,
-0.8596499562263489,
0.6464272737503052,
0.10048962384462357,
-0.4527820646762848,
-0.9953898191452026,
-0.20847675204277039,
-0.19671209156513214,
-0.2427411675453186,
-0.20603244006633759,
0.20324034988880157,
-0.46823710203170776,
-0.2618758976459503,
-0.2317582666873932,
-0.1618470549583435,
-0.11178465187549591,
0.31682300567626953,
0.12882839143276215,
0.19734658300876617,
-0.009804176166653633,
0.30563950538635254,
0.7001158595085144,
-0.18254122138023376,
-0.03019017167389393,
-0.1852361410856247,
0.2931327521800995,
0.07452213019132614,
-0.37784603238105774,
-0.2572559118270874,
0.6425491571426392,
0.389446496963501,
-0.30993157625198364,
0.5029653906822205,
0.36548030376434326,
-0.03806561231613159,
-0.6726893186569214,
-0.280534029006958,
-0.20059053599834442,
-0.591248095035553,
0.4884231388568878,
-0.28594154119491577,
-0.7308245897293091,
0.1986532211303711,
0.035706065595149994,
0.22893819212913513,
0.03989922255277634,
0.18324977159500122,
-0.037294480949640274,
1.300979733467102,
0.5180951356887817,
0.001645821612328291,
0.7643426656723022,
-0.16473132371902466,
0.08443164080381393,
-0.5771442651748657,
-0.33052635192871094,
-0.6899556517601013,
-0.25427377223968506,
-0.47772178053855896,
-0.36349254846572876,
0.515631377696991,
0.027010278776288033,
-0.2589256167411804,
0.11178427189588547,
-0.5187646746635437,
0.8176252245903015,
0.8129907846450806,
0.27429813146591187,
0.05326010286808014,
-0.012048058211803436,
-0.15299639105796814,
0.16577395796775818,
-0.6604772210121155,
-0.2616192698478699,
0.8470057845115662,
-0.21529962122440338,
0.6731870770454407,
0.08800117671489716,
0.8388084769248962,
-0.05157655477523804,
0.14290636777877808,
-0.8627769947052002,
0.7530478835105896,
-0.14983521401882172,
-0.22066524624824524,
-0.3237181007862091,
-0.42641767859458923,
-1.0919697284698486,
0.14390860497951508,
0.16017776727676392,
-0.6774871349334717,
0.24988943338394165,
0.030334284529089928,
-0.8498058319091797,
-0.1990794986486435,
-0.8806164860725403,
0.6766588091850281,
-0.56318598985672,
-0.2938043177127838,
-0.022217368707060814,
-0.940534234046936,
0.14456932246685028,
-0.11509352177381516,
-0.07303697615861893,
-0.016229677945375443,
-0.5653467178344727,
0.4735618233680725,
-0.3458065688610077,
0.5323261618614197,
-0.3928436040878296,
0.0856219157576561,
0.3349543511867523,
0.31001368165016174,
0.8395910859107971,
-0.0030807480216026306,
-0.23919759690761566,
-0.3578413724899292,
-0.3634210228919983,
-0.1939723938703537,
-1.0180425643920898,
0.7790214419364929,
-0.5912044048309326,
-0.7369188666343689,
-0.1967030018568039,
-0.4278108477592468,
-0.23530139029026031,
0.08938733488321304,
0.3847390115261078,
0.9615216851234436,
0.27805861830711365,
0.11863937228918076,
0.8037663698196411,
-0.5890864729881287,
0.9519070982933044,
0.28329601883888245,
-0.09402447193861008,
-0.3328024446964264,
0.7813472747802734,
0.3825886845588684,
0.30195388197898865,
0.6587557196617126,
0.3413851857185364,
-0.595791220664978,
-0.8133047819137573,
-0.28920218348503113,
-0.08119027316570282,
-1.0309816598892212,
-0.29070255160331726,
-0.8915801048278809,
0.21818335354328156,
-0.22395220398902893,
-0.4490896761417389,
-0.08003920316696167,
-0.43004441261291504,
-0.4193558990955353,
-0.005688853561878204,
0.3516281545162201,
0.45600855350494385,
0.21803343296051025,
0.4907856285572052,
-0.5803695917129517,
0.09233378618955612,
0.4796569347381592,
0.1486782282590866,
-0.14408941566944122,
-0.5810025930404663,
-0.03268120810389519,
-0.31977298855781555,
-0.11721647530794144,
-0.7700878977775574,
0.4594551622867584,
0.32994669675827026,
0.9183375835418701,
0.5655437707901001,
0.523190438747406,
0.6340349912643433,
-0.1963070183992386,
0.552886426448822,
-0.23601873219013214,
-1.003772258758545,
0.7146477699279785,
-0.16934159398078918,
0.3550436198711395,
0.7914007902145386,
0.5046319365501404,
-0.09177478402853012,
-0.19267569482326508,
-0.5507603883743286,
-1.1907507181167603,
0.8305085301399231,
0.002554685343056917,
0.23460575938224792,
-0.06251121312379837,
0.20308005809783936,
0.47981077432632446,
0.21849337220191956,
-0.33199185132980347,
-0.4260530173778534,
0.17621226608753204,
-0.2415178418159485,
-0.03467388451099396,
-0.1933034509420395,
0.14942629635334015,
-0.19243939220905304,
0.7278792262077332,
-0.3523884117603302,
0.27976295351982117,
-0.10181746631860733,
-0.37448543310165405,
0.3153310716152191,
0.09698173403739929,
0.45218417048454285,
0.43026915192604065,
-0.15913613140583038,
0.023772506043314934,
0.17903420329093933,
-0.2125607579946518,
0.20325352251529694,
0.2882355749607086,
-0.340071439743042,
0.08700777590274811,
0.2190329134464264,
0.6817458271980286,
0.2813754081726074,
-0.9086666703224182,
0.7272812724113464,
-0.16128337383270264,
0.39972174167633057,
-0.29554513096809387,
0.3530973494052887,
-0.19592329859733582,
0.4378886818885803,
0.4515303671360016,
-0.0407741479575634,
0.3235850930213928,
-0.06861621141433716,
0.2199190855026245,
0.5131621956825256,
-0.2617347240447998,
-0.0093145202845335,
0.291349321603775,
0.10293687880039215,
-0.37694108486175537,
0.7711714506149292,
-0.49462130665779114,
-0.437664657831192,
0.6514002680778503,
0.3104429543018341,
1.1604045629501343,
-0.4044675827026367,
0.18493004143238068,
0.26462647318840027,
0.2751489281654358,
-0.04191243276000023,
0.30547553300857544,
-0.10680116713047028,
-0.3937128484249115,
-0.6249174475669861,
-0.3120565712451935,
-0.4576432406902313,
-0.1544407457113266,
-0.7431380152702332,
0.37548643350601196,
-0.4877942204475403,
0.11146958917379379,
-0.554119884967804,
0.056329987943172455,
-0.6963053345680237,
0.026056993752717972,
0.09629689902067184,
0.9689232707023621,
-0.4824296236038208,
0.5777270197868347,
0.595090925693512,
-0.042617905884981155,
-0.9680290222167969,
0.1090397909283638,
0.035833023488521576,
-0.8708446621894836,
0.5191272497177124,
0.5294792056083679,
0.011591015383601189,
0.2595106065273285,
-0.737331748008728,
-0.9563921689987183,
1.1094003915786743,
0.6740425825119019,
-0.34033334255218506,
0.17626473307609558,
-0.5031401515007019,
0.2444196343421936,
-0.3729062080383301,
0.7719998955726624,
0.3393637537956238,
0.26790866255760193,
0.15900574624538422,
-0.37551864981651306,
0.14034153521060944,
-0.2841438353061676,
-0.034201376140117645,
0.28207534551620483,
-0.5529994964599609,
0.648679256439209,
-0.35826173424720764,
-0.25934457778930664,
0.10693252831697464,
0.6130740642547607,
0.23251493275165558,
0.304318368434906,
0.5475357174873352,
0.18489891290664673,
0.9501976370811462,
-0.04524906352162361,
1.271776556968689,
-0.1564653217792511,
0.0909634381532669,
1.2791712284088135,
-0.2662140727043152,
0.7603858709335327,
0.5210663676261902,
-0.07972944527864456,
0.26985964179039,
1.039660096168518,
0.4519781470298767,
0.7510443925857544,
0.20296192169189453,
-0.36565256118774414,
-0.27783820033073425,
-0.2096201777458191,
-0.23259249329566956,
0.436038613319397,
0.29941174387931824,
-0.4025052785873413,
-0.27849888801574707,
0.10474593192338943,
0.10868990421295166,
-0.19334818422794342,
-0.26349058747291565,
0.7640249133110046,
-0.17369648814201355,
-0.7034953236579895,
0.5075546503067017,
-0.4415042996406555,
0.6515649557113647,
-0.8114941716194153,
0.03397617116570473,
-0.602077841758728,
-0.11984492838382721,
0.28987544775009155,
-0.4999021589756012,
-0.17642781138420105,
-0.2496880143880844,
0.2058151215314865,
-0.3590942919254303,
0.4261859953403473,
-0.2776974141597748,
-0.3208198845386505,
0.39910152554512024,
0.8465736508369446,
0.14278069138526917,
-0.1458818018436432,
-0.7660508751869202,
0.05082714557647705,
0.04940978065133095,
-0.8213111162185669,
0.3938930034637451,
0.44488540291786194,
-0.05520420894026756,
0.8987577557563782,
0.4233161509037018,
-0.21184450387954712,
-0.016071708872914314,
-0.09395428001880646,
0.9591416120529175,
-0.5201294422149658,
-0.5478440523147583,
-0.922423243522644,
0.49264276027679443,
-0.09056124091148376,
-0.3024705648422241,
0.5517070293426514,
0.3868938386440277,
0.7495290637016296,
0.03875964507460594,
0.7769262790679932,
-0.03929551690816879,
0.28539443016052246,
-0.5432779788970947,
0.521507740020752,
-0.583774745464325,
0.3626888692378998,
-0.33050715923309326,
-0.9536867141723633,
-0.44948717951774597,
0.4190281629562378,
-0.28236186504364014,
0.08974611014127731,
0.7234947681427002,
0.9670109748840332,
0.11074493080377579,
-0.06053854897618294,
0.3427591323852539,
-0.09300845861434937,
0.12763004004955292,
0.5577303767204285,
0.9552733898162842,
0.003432283643633127,
0.820688784122467,
-0.4988815486431122,
-0.3075082302093506,
-0.1611306220293045,
-0.9981881380081177,
-0.804973304271698,
-0.4026297628879547,
-0.3794197738170624,
-0.006891923490911722,
0.1096046194434166,
1.6129881143569946,
0.43021419644355774,
-0.5145390033721924,
0.0020827411208301783,
0.1387055367231369,
0.34273409843444824,
-0.4536809027194977,
-0.19050908088684082,
0.6706252694129944,
-0.6011581420898438,
-1.0671463012695312,
0.733909547328949,
0.2567029595375061,
0.1572682112455368,
0.18527159094810486,
-0.12235027551651001,
0.039861295372247696,
-0.06526356190443039,
0.5958302021026611,
0.029787702485919,
-0.5592633485794067,
-0.13027305901050568,
0.21946723759174347,
-0.16462410986423492,
-0.05993596091866493,
0.6773332953453064,
-0.9289819002151489,
0.674146294593811,
0.7481859922409058,
0.9832745790481567,
0.02769366465508938,
-0.007112907245755196,
0.4445694386959076,
-0.840350866317749,
0.03730544075369835,
0.393253356218338,
0.3187275230884552,
0.10923630744218826,
-0.5366317629814148,
0.4482806921005249,
-0.10868444293737411,
-0.34289270639419556,
-0.8135854601860046,
0.13972119987010956,
-0.8217362761497498,
-0.3478533625602722,
0.9329627156257629,
-0.3603709936141968,
-0.2385789304971695,
-0.2414775937795639,
-0.1536424160003662,
0.2320970892906189,
-0.7841907143592834,
0.49612048268318176,
0.26650741696357727,
-0.47055959701538086,
-0.3407030701637268,
-0.3893406391143799,
0.43999725580215454,
0.6922856569290161,
-0.6475073099136353,
-0.06468749791383743,
0.5823954343795776,
-0.20525963604450226,
-0.0567716546356678,
0.2262044996023178,
0.18385609984397888,
0.09449692815542221,
-0.2661047875881195,
-0.15741156041622162,
-0.24334751069545746,
-0.2676209509372711,
-0.7419306635856628,
0.47086194157600403,
0.03965054824948311,
-0.30320289731025696
] |
http://arxiv.org/abs/2405.16115v1
|
http://arxiv.org/pdf/2405.16115v1
|
SNOBERT: A Benchmark for clinical notes entity linking in the SNOMED CT clinical terminology
| 2024-05-25T08:00:44 | 2024-05-25T08:00:44 |
Mikhail Kulyabin, Gleb Sokolov, Aleksandr Galaida, Andreas Maier, Tomas Arias-Vergara
|
cs.CL
|
cs.CL, cs.LG
|
The extraction and analysis of insights from medical data, primarily stored
in free-text formats by healthcare workers, presents significant challenges due
to its unstructured nature. Medical coding, a crucial process in healthcare,
remains minimally automated due to the complexity of medical ontologies and
restricted access to medical texts for training Natural Language Processing
models. In this paper, we proposed a method, "SNOBERT," of linking text spans
in clinical notes to specific concepts in the SNOMED CT using BERT-based
models. The method consists of two stages: candidate selection and candidate
matching. The models were trained on one of the largest publicly available
dataset of labeled clinical notes. SNOBERT outperforms other classical methods
based on deep learning, as confirmed by the results of a challenge in which it
was applied.
|
[
0.26274681091308594,
-0.4882476031780243,
0.7297876477241516,
0.055569689720869064,
-0.38451966643333435,
-0.20276260375976562,
-0.5044611096382141,
-0.47669699788093567,
0.2205735296010971,
0.6717815399169922,
-0.29295870661735535,
-0.6672948598861694,
-0.5928569436073303,
0.3805616497993469,
-0.37335440516471863,
1.6443769931793213,
-0.057501036673784256,
0.3454618453979492,
-0.4857545495033264,
0.12929721176624298,
0.12815077602863312,
-0.37554025650024414,
-0.39234718680381775,
-0.12546171247959137,
0.6757616996765137,
0.35284850001335144,
0.3939867913722992,
0.9606198072433472,
1.0279760360717773,
0.19354258477687836,
0.007282826583832502,
0.05270042270421982,
-0.25307631492614746,
0.43679776787757874,
-0.17859859764575958,
-0.5350587368011475,
-0.5374895930290222,
-0.38918420672416687,
0.6197559237480164,
0.3611040413379669,
-0.04457606375217438,
0.1139901727437973,
-0.18656060099601746,
0.5869946479797363,
-0.2580570876598358,
0.11324570327997208,
-0.8683736324310303,
0.06183204799890518,
-0.32860448956489563,
-0.5246837139129639,
-0.39591968059539795,
-0.8873576521873474,
0.41196388006210327,
-0.3944133520126343,
0.4840472340583801,
-0.1871475875377655,
1.102636456489563,
0.36996790766716003,
-0.40730780363082886,
-0.7133060097694397,
-0.06593921780586243,
0.4831332564353943,
-0.6763990521430969,
0.43021920323371887,
0.35186484456062317,
0.3214184641838074,
-0.09503315389156342,
-0.7919341325759888,
-0.14322473108768463,
-0.5825544595718384,
0.002329473150894046,
0.16092513501644135,
0.2994803190231323,
0.2233535498380661,
0.23249655961990356,
0.41375496983528137,
-0.4115605652332306,
0.1577308177947998,
-0.6374059915542603,
-0.17347745597362518,
0.6715527176856995,
0.09561934322118759,
0.18252424895763397,
-0.5274404287338257,
-0.6656543612480164,
0.20193128287792206,
-0.6400911211967468,
-0.5516277551651001,
-0.002280621323734522,
0.6016563773155212,
-0.10547403991222382,
0.5418736934661865,
0.015403597615659237,
0.4396410286426544,
0.09636436402797699,
-0.3429408669471741,
0.2534119188785553,
-0.21350695192813873,
-0.09903694689273834,
0.45079225301742554,
0.8494690656661987,
0.5087660551071167,
0.2276982218027115,
-0.42546918988227844,
0.1645245999097824,
0.26773497462272644,
0.49156373739242554,
-0.7152903079986572,
-0.563919186592102,
0.22425858676433563,
-0.6223617792129517,
-0.4893699884414673,
-0.5433457493782043,
-0.7924469113349915,
-0.4787288308143616,
-0.1613961011171341,
0.22022205591201782,
-0.5470612645149231,
0.2511589527130127,
0.0051143597811460495,
-0.1405811756849289,
-0.2696015536785126,
0.5427323579788208,
-0.8191863298416138,
0.27209270000457764,
0.5895606875419617,
0.640446126461029,
-0.21091744303703308,
-0.1151265949010849,
-0.17818599939346313,
0.041810374706983566,
-0.124896340072155,
1.0234413146972656,
-0.2906058132648468,
-0.3585492968559265,
0.2691166400909424,
-0.17131681740283966,
-0.09316035360097885,
-0.621478796005249,
0.7836475968360901,
-0.14052093029022217,
0.008554378524422646,
-0.019087668508291245,
-1.011260986328125,
0.3008348345756531,
0.29387369751930237,
-0.5983495116233826,
1.4501549005508423,
0.22915242612361908,
-0.9045442342758179,
0.47367024421691895,
-0.35494595766067505,
-0.4087882936000824,
0.012722592800855637,
-0.5136699080467224,
-0.471513569355011,
0.1351262629032135,
-0.15612806379795074,
0.5762423872947693,
-0.634392499923706,
0.3481105864048004,
-0.050479955971241,
0.023493405431509018,
0.23227733373641968,
0.21566204726696014,
0.7163118124008179,
0.12472222745418549,
-0.06823869794607162,
0.08936434239149094,
-0.9599759578704834,
-0.2834118902683258,
0.007636162918061018,
-0.6968918442726135,
-0.5403627753257751,
-0.1143922433257103,
0.12863682210445404,
0.3902082145214081,
0.27960389852523804,
-0.6378793716430664,
0.48032236099243164,
-0.09669443219900131,
0.18930941820144653,
0.610742449760437,
-0.06649450212717056,
0.2064584493637085,
-0.3482176959514618,
0.09510402381420135,
-0.16990746557712555,
0.27042219042778015,
-0.10547737777233124,
-0.3868429660797119,
-0.7945631742477417,
-0.4148169159889221,
0.6512168049812317,
0.46517351269721985,
-0.4892589747905731,
0.40727943181991577,
-0.6134569048881531,
-0.7468357682228088,
-0.7897683382034302,
0.029389282688498497,
0.6907395720481873,
1.1219288110733032,
0.5833241939544678,
-0.509149432182312,
-0.5054224133491516,
-0.8369308710098267,
-0.3489394783973694,
-0.1435530036687851,
-0.20513713359832764,
0.6068612933158875,
0.4688027501106262,
-0.3244340419769287,
0.5873080492019653,
-0.4021000266075134,
-0.47925201058387756,
-0.15828540921211243,
-0.025095179677009583,
0.2371838390827179,
0.3872075378894806,
0.40138494968414307,
-0.3648069500923157,
-0.7714216709136963,
0.10853934288024902,
-0.8639794588088989,
-0.27641358971595764,
-0.10163040459156036,
-0.18466123938560486,
0.08192822337150574,
0.7313165664672852,
-0.3597606420516968,
0.520550012588501,
0.2910628318786621,
0.03445911034941673,
0.7260140180587769,
-0.2715189754962921,
0.08449243754148483,
-1.0283961296081543,
0.2607363164424896,
-0.02356395497918129,
-0.04076506942510605,
-0.9334844350814819,
0.0809074267745018,
0.31511390209198,
0.10665146261453629,
-0.3235463798046112,
0.37082427740097046,
-0.2269757091999054,
0.16867464780807495,
0.09759127348661423,
0.39185819029808044,
-0.1512710601091385,
0.26388466358184814,
0.23161406815052032,
0.3013511300086975,
0.3410033881664276,
-0.6253388524055481,
0.24823223054409027,
0.7321111559867859,
-0.3285048305988312,
0.9064472913742065,
-0.41862615942955017,
0.144232377409935,
-0.06648727506399155,
0.138833686709404,
-0.7759518027305603,
-0.009946943260729313,
-0.0012943397741764784,
-0.557164192199707,
0.2416914850473404,
-0.16086633503437042,
-0.5741096138954163,
-0.1975497305393219,
-0.3594852685928345,
0.39159563183784485,
0.08614137768745422,
-0.24411725997924805,
0.3930148482322693,
0.2980765104293823,
-0.34145957231521606,
-0.26525548100471497,
-0.48803767561912537,
0.09468379616737366,
-0.017031509429216385,
-0.32487502694129944,
0.5347090363502502,
0.040938422083854675,
0.09407398849725723,
-0.08804433792829514,
-0.3163995146751404,
-0.34264183044433594,
-0.1534126102924347,
0.20050643384456635,
0.5357213616371155,
-0.18960978090763092,
0.5912575125694275,
0.017479630187153816,
-0.2158815711736679,
0.07601255178451538,
0.04973829537630081,
0.3329451382160187,
0.46471235156059265,
0.09162451326847076,
-0.5594283938407898,
0.2972450852394104,
0.3728336989879608,
0.2078830599784851,
0.19039228558540344,
0.008265867829322815,
-0.43798041343688965,
-0.009622455574572086,
-0.6345000863075256,
-0.26792553067207336,
-0.3648712635040283,
0.3282039165496826,
-0.10216200351715088,
-0.8650693297386169,
0.39795273542404175,
-0.19523313641548157,
0.07358754426240921,
0.38208138942718506,
0.50785893201828,
-0.22360070049762726,
0.31545931100845337,
0.40592658519744873,
-0.1597469002008438,
0.22300446033477783,
0.22226549685001373,
0.07335209101438522,
-0.9861364364624023,
-0.4061932861804962,
-0.9805721044540405,
0.012698173522949219,
-0.6215184330940247,
-0.6031030416488647,
0.5723296999931335,
-0.28358209133148193,
-0.2664526402950287,
0.5751354098320007,
-0.5856016874313354,
-0.03482969477772713,
0.5541684627532959,
0.564136266708374,
0.525717556476593,
-0.04077478125691414,
-0.35451754927635193,
-0.26217788457870483,
-0.7010523676872253,
-0.31728753447532654,
1.4724938869476318,
0.3390558958053589,
0.6748879551887512,
-0.25041791796684265,
0.9187132716178894,
0.25715404748916626,
0.5764192938804626,
-0.7490442395210266,
0.5502095222473145,
-0.45452848076820374,
-0.8859938979148865,
-0.1815396547317505,
-0.2431224137544632,
-0.7894628643989563,
-0.13042055070400238,
-0.5021279454231262,
-0.8890267014503479,
-0.17664293944835663,
0.21584899723529816,
-0.3173457682132721,
0.1620217263698578,
0.11123963445425034,
0.7591660022735596,
-0.3445639908313751,
-0.3254108428955078,
-0.08702454715967178,
-1.0326206684112549,
0.08010761439800262,
-0.1602613478899002,
-0.061684127897024155,
-0.2362668365240097,
0.06769650429487228,
0.660620927810669,
-0.5597363114356995,
0.6658081412315369,
0.3011622130870819,
-0.3175678253173828,
-0.1798546016216278,
0.14342860877513885,
0.5892799496650696,
-0.12245076149702072,
-0.16471904516220093,
0.3026944398880005,
-0.08816254138946533,
-0.23995190858840942,
-0.45843955874443054,
0.4903765320777893,
-0.3811025321483612,
-0.16966740787029266,
-0.41503334045410156,
-0.34886306524276733,
-0.2074311077594757,
0.3171149492263794,
0.38325604796409607,
0.4781246781349182,
-0.1586148738861084,
0.015218798071146011,
0.6144973635673523,
-0.18942561745643616,
0.04309384524822235,
0.36146634817123413,
0.04410241171717644,
-0.6667618155479431,
0.5496663451194763,
-0.11571085453033447,
0.12479253113269806,
0.6806944608688354,
0.2746813893318176,
-0.44456109404563904,
-0.4202050268650055,
-0.3064882755279541,
0.4093049466609955,
-0.8500506281852722,
-0.2767144739627838,
-0.7064571976661682,
-0.2629084587097168,
-0.27650749683380127,
-0.42530113458633423,
-0.33081936836242676,
-0.2586875259876251,
-0.20681537687778473,
-0.06469902396202087,
0.5811119675636292,
0.30420538783073425,
0.10057346522808075,
0.24009950459003448,
-0.893715500831604,
0.24780991673469543,
0.09168405085802078,
0.3959616720676422,
-0.2463003396987915,
-0.22109141945838928,
-0.3444337248802185,
-0.4901278018951416,
-0.03281058371067047,
-0.8598510026931763,
-0.049420420080423355,
0.22835007309913635,
0.49083197116851807,
0.668413519859314,
0.14819130301475525,
0.7520003914833069,
-0.7823666334152222,
0.500066876411438,
0.2810775935649872,
-0.7905582189559937,
0.996263325214386,
-0.6543877720832825,
-0.2561803162097931,
1.1673372983932495,
0.5766327381134033,
-0.6499273180961609,
-0.39185723662376404,
-0.8484023809432983,
-0.8901777863502502,
0.26668834686279297,
0.030038973316550255,
-0.1908058375120163,
-0.20378053188323975,
0.419304758310318,
0.4023246169090271,
0.48578354716300964,
-0.4561134874820709,
-0.1370145082473755,
0.2364693284034729,
-0.4330463409423828,
-0.060189150273799896,
-0.2837297320365906,
-0.30964532494544983,
-0.20698893070220947,
0.27849826216697693,
0.03500382602214813,
0.5221190452575684,
0.550146222114563,
-0.3266884386539459,
0.14011524617671967,
0.11933417618274689,
0.5619890093803406,
0.3055473864078522,
-0.43191707134246826,
0.19696173071861267,
0.15720410645008087,
-0.655963122844696,
-0.19919252395629883,
0.04911135137081146,
-0.19715704023838043,
0.41682007908821106,
0.40820497274398804,
0.5359575152397156,
0.7931488752365112,
-0.7264450192451477,
0.518115758895874,
0.14087730646133423,
-0.2667044997215271,
-0.18533992767333984,
-0.010599635541439056,
-0.3199726343154907,
-0.003366237971931696,
-0.08801839500665665,
-0.05758621543645859,
0.32845956087112427,
-0.3516596257686615,
0.5290672183036804,
-0.012265507131814957,
-0.756386399269104,
-0.1644037663936615,
0.8311458230018616,
0.3409120440483093,
-0.282536119222641,
0.6923066973686218,
0.4412238597869873,
-0.3772038221359253,
0.48332658410072327,
0.5918605327606201,
0.776970624923706,
-0.18476244807243347,
0.08208805322647095,
0.38901442289352417,
0.026132475584745407,
-0.1136111319065094,
0.3300091326236725,
-0.32654106616973877,
-0.39447152614593506,
-0.10382702946662903,
-0.3587349057197571,
-0.47305554151535034,
-0.1549963504076004,
-0.9793838262557983,
0.3177868127822876,
-0.643133282661438,
-0.20774832367897034,
0.1807660311460495,
-0.09623371064662933,
-0.5619252920150757,
0.3458883464336395,
-0.17291663587093353,
1.3437944650650024,
-0.804465115070343,
0.7919489145278931,
0.4863835871219635,
-0.2969924211502075,
-0.5181438326835632,
0.010537794791162014,
0.1534232348203659,
-0.7839555144309998,
0.6214965581893921,
0.05190471559762955,
0.32650765776634216,
-0.1388394832611084,
-0.1320643573999405,
-0.49110570549964905,
0.6163697242736816,
0.02672726847231388,
-0.3458864092826843,
-0.058683477342128754,
-0.06741729378700256,
0.6789728403091431,
-0.2664826512336731,
0.3388335704803467,
0.6698307394981384,
0.1898140162229538,
-0.2875111401081085,
-1.3224215507507324,
0.31425192952156067,
-0.4272160232067108,
-0.22008730471134186,
0.3353308439254761,
-0.5474319458007812,
0.6878007650375366,
-0.0326254777610302,
0.15023139119148254,
0.35986846685409546,
0.16911835968494415,
0.34856805205345154,
0.30023446679115295,
0.19304075837135315,
0.5942623615264893,
0.7747207283973694,
-0.09213779866695404,
0.6925485134124756,
-0.39198368787765503,
0.5350413918495178,
1.139386534690857,
-0.4821483790874481,
0.9809154868125916,
0.46622616052627563,
-0.327833890914917,
0.8269098997116089,
0.519753634929657,
-0.24380338191986084,
0.6546921133995056,
0.4520610570907593,
-0.4133269488811493,
-0.07884155958890915,
-0.18633519113063812,
-0.5854542255401611,
0.36358559131622314,
0.3982594609260559,
-0.7718077898025513,
-0.205132395029068,
-0.3908142149448395,
0.47734177112579346,
0.13249315321445465,
-0.29918229579925537,
0.8936197757720947,
0.04155200719833374,
-0.5890767574310303,
0.2742278575897217,
-0.515714168548584,
0.4913634955883026,
-0.6212365031242371,
0.013553109019994736,
-0.0750107541680336,
0.17389120161533356,
-0.24262335896492004,
-0.22045916318893433,
0.06873620301485062,
0.0402221605181694,
-0.13645997643470764,
0.005824468098580837,
0.7633370161056519,
-0.33952412009239197,
-0.49765273928642273,
0.17056046426296234,
0.033171407878398895,
0.3876186013221741,
0.38645538687705994,
-0.5532074570655823,
-0.1313856542110443,
-0.21226990222930908,
0.3182130455970764,
0.30057013034820557,
0.45105066895484924,
0.032804857939481735,
0.5594800114631653,
0.648583710193634,
0.3913406431674957,
-0.062355414032936096,
0.08128833025693893,
0.9720280170440674,
-0.8392962217330933,
-0.871433675289154,
-0.6770901083946228,
0.6386803388595581,
-0.38460907340049744,
-0.7824712991714478,
0.7714217901229858,
0.8820785880088806,
0.6616244316101074,
-0.24682320654392242,
0.93560791015625,
0.10098905861377716,
0.8230528235435486,
-0.41884174942970276,
0.6897009611129761,
-0.47250956296920776,
-0.06965623050928116,
-0.711156964302063,
-0.44767749309539795,
-0.6564960479736328,
0.7256404757499695,
-0.10739562660455704,
-0.3601585924625397,
0.9505471587181091,
0.6575562953948975,
0.12074083089828491,
-0.10895373672246933,
-0.07298632711172104,
0.11654933542013168,
-0.1277403086423874,
0.7189461588859558,
0.549318790435791,
-0.5674945116043091,
0.4076520800590515,
-0.10398010164499283,
-0.21405412256717682,
-0.9498041272163391,
-1.00278902053833,
-1.1174880266189575,
-0.4298127591609955,
-0.5801461935043335,
-0.6943458318710327,
0.26391544938087463,
0.9731686115264893,
0.4388730823993683,
-0.7158860564231873,
-0.0787937268614769,
0.010864314623177052,
-0.08224286139011383,
-0.1236245334148407,
-0.07487843930721283,
0.8265212774276733,
-0.2888985276222229,
-0.46803346276283264,
0.2185916006565094,
0.5877422094345093,
-0.1323028802871704,
0.1577116698026657,
0.13497766852378845,
-0.202984020113945,
-0.03360710293054581,
0.2492583841085434,
0.31774863600730896,
-0.5327733755111694,
-0.2762649357318878,
0.07932382822036743,
-0.4143577814102173,
0.23807822167873383,
1.048326015472412,
-0.39838412404060364,
0.6365512013435364,
0.5624520182609558,
0.4822857975959778,
0.4778134822845459,
-0.15085695683956146,
0.22145336866378784,
-0.6191616654396057,
-0.006721495185047388,
0.41353073716163635,
0.10448353737592697,
0.11192066967487335,
-0.284201443195343,
0.6328095197677612,
0.103983573615551,
-0.6123017072677612,
-1.0917247533798218,
0.051586877554655075,
-1.1240991353988647,
-0.04398871585726738,
1.0831657648086548,
-0.1822308897972107,
-0.170774906873703,
-0.4175262749195099,
-0.21456663310527802,
0.510509729385376,
-0.23219792544841766,
1.296889066696167,
0.18227455019950867,
-0.42153939604759216,
-0.004140251316130161,
-0.6729863882064819,
0.9585696458816528,
0.17769701778888702,
-0.7699898481369019,
-0.11473679542541504,
0.1776168793439865,
0.36220937967300415,
0.22823619842529297,
1.0604802370071411,
-0.2653740644454956,
0.45616185665130615,
0.11462749540805817,
0.2876436412334442,
0.3076939582824707,
-0.33680957555770874,
-0.12803982198238373,
-0.060157131403684616,
-0.1683015525341034,
-0.32203584909439087
] |
http://arxiv.org/abs/2406.00032v1
|
http://arxiv.org/pdf/2406.00032v1
|
Paths of A Million People: Extracting Life Trajectories from Wikipedia
| 2024-05-25T06:57:33 | 2024-05-25T06:57:33 |
Ying Zhang, Xiaofeng Li, Zhaoyang Liu, Haipeng Zhang
|
cs.CL
|
cs.CL, cs.AI, cs.IR
|
Notable people's life trajectories have been a focus of study -- the
locations and times of various activities, such as birth, death, education,
marriage, competition, work, delivering a speech, making a scientific
discovery, finishing a masterpiece, and fighting a battle, and how these people
interact with others, carry important messages for the broad research related
to human dynamics. However, the scarcity of trajectory data in terms of volume,
density, and inter-person interactions, limits relevant studies from being
comprehensive and interactive. We mine millions of biography pages from
Wikipedia and tackle the generalization problem stemming from the variety and
heterogeneity of the trajectory descriptions. Our ensemble model COSMOS, which
combines the idea of semi-supervised learning and contrastive learning,
achieves an F1 score of 85.95%. For this task, we also create a hand-curated
dataset, WikiLifeTrajectory, consisting of 8,852 (person, time, location)
triplets as ground truth. Besides, we perform an empirical analysis on the
trajectories of 8,272 historians to demonstrate the validity of the extracted
results. To facilitate the research on trajectory extractions and help the
analytical studies to construct grand narratives, we make our code, the
million-level extracted trajectories, and the WikiLifeTrajectory dataset
publicly available.
|
[
-0.42678946256637573,
-0.6310609579086304,
0.7559031248092651,
0.15742169320583344,
-0.11962539702653885,
0.09552078694105148,
0.26037248969078064,
-0.45564958453178406,
0.7976381182670593,
0.5409761667251587,
-0.9496447443962097,
-0.511865496635437,
-0.2739977240562439,
-0.29275596141815186,
-0.5572519898414612,
1.0922244787216187,
0.28764399886131287,
-0.27410560846328735,
-0.08756174892187119,
-0.08819712698459625,
0.03378503397107124,
-0.23639412224292755,
-0.30332449078559875,
0.31581446528434753,
0.8491565585136414,
0.5509998202323914,
0.6567860245704651,
0.6437504291534424,
0.26326054334640503,
0.21051523089408875,
-0.0012300977250561118,
0.2187543660402298,
-0.8183448910713196,
0.09001736342906952,
-0.18328474462032318,
0.18091273307800293,
-0.010828934609889984,
0.1560526192188263,
0.6257917881011963,
1.0840115547180176,
0.2482302337884903,
0.5263721942901611,
-0.09421033412218094,
0.7023733854293823,
-0.4114583730697632,
-0.04221494123339653,
0.08395601809024811,
0.28893083333969116,
-0.41387590765953064,
-0.26914653182029724,
-0.03537778556346893,
-0.719289243221283,
0.46965211629867554,
-0.6880355477333069,
0.41687360405921936,
0.09521587938070297,
0.5458250641822815,
-0.0019412859110161662,
-0.5720149874687195,
-0.2360197901725769,
-1.223832368850708,
0.6508705615997314,
-0.017518026754260063,
0.0649421289563179,
0.11061529070138931,
0.4764842391014099,
-0.3771471679210663,
-0.5381754040718079,
-0.4241445064544678,
-0.09669893980026245,
0.11950788646936417,
-0.02065332420170307,
-0.09849528968334198,
-0.23523172736167908,
0.4192203879356384,
0.23129194974899292,
-0.6081020832061768,
-0.14281439781188965,
-0.7131170034408569,
-0.1849786788225174,
0.7887226343154907,
0.5413647890090942,
0.18910230696201324,
-0.3003060221672058,
-0.25977620482444763,
-0.24790415167808533,
-0.4722359776496887,
0.04662307724356651,
0.8639354705810547,
-0.19519707560539246,
0.01701425202190876,
0.6138619780540466,
-0.6623572111129761,
0.6569771766662598,
-0.08505674451589584,
-0.23068509995937347,
0.23243169486522675,
-0.4047173857688904,
0.5224668979644775,
-0.21451368927955627,
0.9743403792381287,
0.5126268267631531,
0.37005814909935,
-0.8257977962493896,
0.44085097312927246,
-0.5410940051078796,
0.1763806790113449,
-0.8914446830749512,
-0.16484375298023224,
0.19121094048023224,
-0.41131591796875,
-0.211896151304245,
0.2918034493923187,
-1.4648772478103638,
-0.7591975331306458,
0.04651400446891785,
0.3106439709663391,
-0.3463258147239685,
-0.13308130204677582,
-0.3185350298881531,
-0.3593973219394684,
0.027498573064804077,
0.2235722839832306,
-0.8374710083007812,
-0.1283300369977951,
0.6392748951911926,
1.0278993844985962,
-0.2612724006175995,
-0.5311876535415649,
-0.3957638442516327,
0.2846493721008301,
-0.16895808279514313,
0.5957939624786377,
-0.3803880512714386,
-0.6579585075378418,
-0.1846923530101776,
-0.15069538354873657,
0.19544270634651184,
-0.3889211118221283,
0.4521064758300781,
-0.5355991721153259,
-0.014814434573054314,
-0.4621746838092804,
-0.48612236976623535,
-0.2504573464393616,
-0.12433470040559769,
-0.6841222047805786,
0.4096775949001312,
0.09113853424787521,
-0.4544652998447418,
0.33385494351387024,
-0.7275847792625427,
-0.570824921131134,
0.2030879259109497,
-0.24343782663345337,
-0.0035347244702279568,
0.061841025948524475,
0.011429633013904095,
0.6636042594909668,
0.08446770906448364,
0.2653198838233948,
-0.31005778908729553,
-0.4818740487098694,
-0.12416625022888184,
-0.3318845331668854,
1.2594292163848877,
0.2843766212463379,
-0.25281938910484314,
-0.18785862624645233,
-1.082715392112732,
-0.4349152445793152,
0.11125568300485611,
-0.6021894216537476,
-0.24356092512607574,
0.26035836338996887,
0.03370347619056702,
0.4721071422100067,
0.16650182008743286,
-0.6364777088165283,
0.5147560834884644,
-0.4029291570186615,
0.2927229404449463,
0.645180344581604,
0.7062344551086426,
0.32917624711990356,
-0.3867925703525543,
0.6198696494102478,
0.1658676117658615,
0.33539947867393494,
-0.04674438387155533,
-0.8616107702255249,
-0.43969130516052246,
0.21517202258110046,
0.17923900485038757,
0.31231755018234253,
-0.30590078234672546,
0.41388630867004395,
-0.8466488718986511,
-0.8797376155853271,
-0.3169550895690918,
0.22060830891132355,
-0.14781321585178375,
0.6527271866798401,
0.1894233524799347,
-0.012751685455441475,
-0.6566237211227417,
-0.6470841765403748,
-0.33341360092163086,
-0.21486979722976685,
-0.30789026618003845,
0.3269054889678955,
0.6898645758628845,
-0.15155573189258575,
1.292792797088623,
-0.8412901759147644,
0.04741917923092842,
0.3829752802848816,
0.2546670436859131,
0.025486687198281288,
0.4916965365409851,
0.38242122530937195,
-1.2612344026565552,
-0.4296412467956543,
-0.07496371120214462,
-0.6818971037864685,
0.38334858417510986,
-0.2933731973171234,
-0.5696830749511719,
-0.43153098225593567,
0.27307629585266113,
-0.47942206263542175,
0.46204620599746704,
0.14729830622673035,
-0.5336495041847229,
0.4220402240753174,
-0.08044818043708801,
0.18363000452518463,
-0.9919266104698181,
0.4008534252643585,
-0.004146065562963486,
0.025459112599492073,
-0.417667955160141,
-0.2722505033016205,
-0.21806898713111877,
-0.06329101324081421,
-0.3725471794605255,
0.5215235948562622,
-0.22078019380569458,
-0.3448486030101776,
0.2656966745853424,
0.015244618989527225,
-0.46565595269203186,
0.5059264898300171,
-0.21872557699680328,
0.3326038420200348,
0.10677339881658554,
-0.35747501254081726,
0.5725158452987671,
0.25288406014442444,
-0.3810562491416931,
0.46129974722862244,
-0.09765248745679855,
0.14739036560058594,
-0.20219804346561432,
0.2918543815612793,
-1.0003846883773804,
-0.60101318359375,
0.18522413074970245,
-0.5527203679084778,
-0.3665640950202942,
-0.07691498100757599,
-0.565319836139679,
-0.4139547348022461,
-0.3058875799179077,
0.02147037722170353,
0.501132071018219,
-0.39588871598243713,
0.8397330045700073,
0.7653443217277527,
-0.10639768838882446,
-0.4982799291610718,
-0.12148208916187286,
0.1350513994693756,
-0.4865860939025879,
-0.5817766785621643,
0.19978930056095123,
-0.4994681477546692,
-0.285565048456192,
-0.007977730594575405,
-0.10775302350521088,
-0.2653436064720154,
0.304519921541214,
0.8342161774635315,
0.3873612582683563,
0.16322913765907288,
-0.012785871513187885,
-0.17174552381038666,
-0.16221360862255096,
0.26232361793518066,
-0.3041263222694397,
0.5055519342422485,
0.4043537974357605,
0.06482912600040436,
0.10460209846496582,
0.5496079325675964,
0.7646094560623169,
0.1468302458524704,
0.9740082621574402,
0.7383257150650024,
-0.4739289879798889,
0.2326071858406067,
-0.4482438862323761,
0.1899338811635971,
-0.37263089418411255,
0.22541798651218414,
0.05502340570092201,
-0.9027068614959717,
0.626957893371582,
-0.21454910933971405,
0.30870312452316284,
0.8033627867698669,
0.4049769341945648,
-0.22480560839176178,
1.0108351707458496,
0.4024852216243744,
-0.44353026151657104,
0.27121874690055847,
-0.2387930154800415,
-0.147075355052948,
-0.4303649961948395,
-0.45049217343330383,
-0.3964807689189911,
-0.49044203758239746,
-0.6242378950119019,
-0.12003631889820099,
0.5868024826049805,
-0.15173016488552094,
-0.13846608996391296,
0.12644657492637634,
-0.2708534598350525,
0.8157150149345398,
0.5369862914085388,
0.11498361825942993,
0.3232707381248474,
0.04526253044605255,
0.09196452051401138,
0.11784902215003967,
-0.1876426786184311,
-0.3957212269306183,
1.3190072774887085,
-0.2666592299938202,
0.28278371691703796,
0.3193981349468231,
0.7838992476463318,
0.28302791714668274,
0.2548777461051941,
-0.5473418831825256,
0.5784873366355896,
-0.28265953063964844,
-1.0614787340164185,
-0.4657401144504547,
-0.7198815941810608,
-1.0510815382003784,
-0.2231695055961609,
-0.29657885432243347,
-1.0635014772415161,
0.20103329420089722,
0.12876653671264648,
-0.883345901966095,
0.037496455013751984,
-0.5909299254417419,
0.9312945604324341,
-0.24234682321548462,
-0.34818756580352783,
-0.09207160025835037,
-1.2918645143508911,
0.41874998807907104,
-0.307937890291214,
0.34401023387908936,
0.06091027334332466,
0.15727269649505615,
1.0966858863830566,
-0.28723135590553284,
0.6815006732940674,
-0.3496200144290924,
0.33510953187942505,
0.11983884125947952,
0.01707589440047741,
0.46753257513046265,
-0.18944501876831055,
0.18606647849082947,
0.21867293119430542,
-0.12180428206920624,
-0.2737765312194824,
-0.25807011127471924,
1.1237975358963013,
-0.7178522348403931,
-0.47021421790122986,
-0.036221764981746674,
-0.6174706816673279,
-0.39137330651283264,
0.18039724230766296,
0.5576310157775879,
0.23153747618198395,
-0.37634000182151794,
0.2006254494190216,
0.3713448941707611,
0.04469722509384155,
0.619313657283783,
0.38358715176582336,
-0.12030430138111115,
-0.295910507440567,
1.2100775241851807,
0.6705589294433594,
-0.12503454089164734,
0.5119818449020386,
0.26251327991485596,
-0.233552485704422,
-0.42337116599082947,
-0.32282817363739014,
0.29190757870674133,
-0.5961912274360657,
0.39488860964775085,
-0.7306694388389587,
0.023012178018689156,
-0.47346487641334534,
-0.17131492495536804,
0.005465173628181219,
-0.5910928249359131,
-0.5559350252151489,
-0.042144812643527985,
-0.012626715004444122,
0.9534924626350403,
-0.056077033281326294,
0.1561320424079895,
-0.8971853256225586,
0.4522901475429535,
0.546289324760437,
-0.14769315719604492,
0.13631172478199005,
-0.03550584614276886,
-0.4116373360157013,
-0.2586721181869507,
-0.4405607581138611,
-0.9047438502311707,
0.3656076192855835,
0.0831742212176323,
0.466829389333725,
0.7287517786026001,
0.04138105362653732,
1.2731685638427734,
-0.6043252944946289,
0.712341845035553,
-0.031397003680467606,
-0.4274856746196747,
0.6124478578567505,
-0.3752445578575134,
0.08382903039455414,
0.6338914632797241,
0.8016343116760254,
-0.49395355582237244,
0.0330621711909771,
-0.8297932147979736,
-0.9099317193031311,
0.5516714453697205,
0.061478983610868454,
-0.0814293771982193,
0.28292304277420044,
0.4898154139518738,
0.18215742707252502,
-0.10113359987735748,
-0.4829159080982208,
-0.35197240114212036,
0.0743267610669136,
-0.4495770037174225,
-0.31192541122436523,
-0.11232544481754303,
-0.0055066621862351894,
-0.22390128672122955,
0.49457091093063354,
0.060193996876478195,
-0.16860854625701904,
0.042538467794656754,
-0.033324480056762695,
-0.40581223368644714,
-0.24351766705513,
0.4204014241695404,
0.7635372877120972,
-0.30765193700790405,
0.022358819842338562,
0.07136847823858261,
-0.8499835729598999,
0.16077016294002533,
0.4119926393032074,
-0.3473115563392639,
-0.006265548523515463,
0.3757588565349579,
0.36897608637809753,
0.18720611929893494,
-0.7404839396476746,
0.5290784239768982,
-0.11208946257829666,
0.0625862330198288,
-0.5839948654174805,
0.4045793414115906,
0.3257082402706146,
0.48468783497810364,
0.7946276664733887,
0.17110909521579742,
0.3327515125274658,
-0.33621734380722046,
-0.09536723792552948,
0.18993806838989258,
-0.3139299154281616,
-0.4263509511947632,
0.7201846837997437,
0.24168439209461212,
-0.3722905218601227,
0.5657212734222412,
-0.20996366441249847,
-0.1318858116865158,
0.4077855944633484,
-0.1520615965127945,
0.671181857585907,
-0.08988010883331299,
0.22529442608356476,
0.5869067907333374,
0.05725555494427681,
-0.1700620800256729,
-0.3817785084247589,
-0.3472791612148285,
-0.4883984327316284,
-0.14271856844425201,
-0.9151368737220764,
-0.3096400201320648,
0.23942263424396515,
-0.34608814120292664,
0.04497837275266647,
-0.200893372297287,
0.1457827389240265,
0.425669401884079,
0.2722429633140564,
-0.6532684564590454,
0.08560402691364288,
-0.00040944095235317945,
0.7008782029151917,
-0.9854135513305664,
0.548703670501709,
0.5782815217971802,
-0.3823581039905548,
-0.5674523711204529,
0.2707812488079071,
0.1426076591014862,
-0.38378021121025085,
0.5709997415542603,
0.1509823054075241,
0.06538790464401245,
0.40221551060676575,
-0.4879876971244812,
-0.6581472158432007,
1.1929723024368286,
0.48050326108932495,
-0.5747761726379395,
-0.5201571583747864,
0.06252729892730713,
0.40378230810165405,
-0.291825532913208,
-0.18416312336921692,
0.5131086111068726,
0.5178030729293823,
0.24652652442455292,
-0.31260859966278076,
-0.31046628952026367,
-0.08451316505670547,
-0.1738182157278061,
0.1364300698041916,
-0.5790361762046814,
0.7420110702514648,
-0.24028727412223816,
-0.35582274198532104,
0.27023380994796753,
0.516799807548523,
0.24477219581604004,
0.24109166860580444,
0.6961792707443237,
0.30555739998817444,
0.6842748522758484,
-0.018415680155158043,
1.0441060066223145,
-0.13719657063484192,
0.41375941038131714,
0.6948336958885193,
0.16131052374839783,
0.47048795223236084,
0.6583315134048462,
-0.39438939094543457,
0.3485223054885864,
0.682951807975769,
0.11929542571306229,
0.4820000231266022,
-0.13364973664283752,
-0.41187697649002075,
-0.2616267204284668,
0.18855297565460205,
0.16746976971626282,
0.419234961271286,
0.1755010187625885,
-0.3887033760547638,
-0.22152674198150635,
0.03769456967711449,
0.15121234953403473,
-0.5296283960342407,
-0.18009376525878906,
0.470835417509079,
-0.4044061005115509,
-0.869904100894928,
-0.12913532555103302,
-0.5165252089500427,
0.24774415791034698,
-0.49199575185775757,
-0.24426084756851196,
-0.16217921674251556,
-0.1648380011320114,
-0.3133739233016968,
-0.6516510844230652,
0.06380900740623474,
0.0992155522108078,
-0.10935578495264053,
-0.030613312497735023,
0.5977361798286438,
-0.18815162777900696,
-0.38067251443862915,
0.06643593311309814,
0.4350305497646332,
0.5028620362281799,
-0.09765350073575974,
-0.17445355653762817,
-0.35386955738067627,
0.2987407445907593,
-0.446175217628479,
0.29573506116867065,
0.3592068552970886,
0.09233330935239792,
0.4077041745185852,
0.724984347820282,
0.12973780930042267,
0.2165108621120453,
-0.537624180316925,
0.5511310696601868,
-0.9934266805648804,
-0.6463938355445862,
-1.035283088684082,
0.4723927974700928,
-0.3340202867984772,
-0.725365161895752,
0.9488011598587036,
0.7133082151412964,
0.644895076751709,
-0.12568795680999756,
0.5719677209854126,
-0.16954122483730316,
0.6705625653266907,
-0.19353871047496796,
0.6111863851547241,
-0.3828125298023224,
0.15448486804962158,
-0.2367018163204193,
-0.934425950050354,
-0.18537123501300812,
0.5061197280883789,
-0.1291734129190445,
-0.015387535095214844,
0.19001811742782593,
0.43886837363243103,
0.1323966532945633,
0.1178702786564827,
0.18034543097019196,
0.28199759125709534,
0.2898182272911072,
0.5694605708122253,
0.8813619613647461,
0.0081204017624259,
0.884727418422699,
-0.3594430685043335,
-0.31350332498550415,
-0.5671122074127197,
-0.6857931017875671,
-0.4217321276664734,
-0.8311743140220642,
-0.1858595460653305,
-0.13142690062522888,
-0.08849784731864929,
0.5593961477279663,
0.7870202660560608,
-0.5557795166969299,
-0.1376841813325882,
0.006407239008694887,
0.121561199426651,
0.11704172194004059,
-0.2827762961387634,
0.30148521065711975,
0.42405036091804504,
-0.6583732962608337,
0.46606865525245667,
0.3855387568473816,
0.020496683195233345,
-0.5440357327461243,
-0.19839465618133545,
-0.12998196482658386,
-0.4047310948371887,
0.17853744328022003,
0.5672333836555481,
-0.46553680300712585,
-0.47615712881088257,
-0.14132247865200043,
0.02656388282775879,
-0.029080117121338844,
0.6781080365180969,
-0.7732429504394531,
0.4096204340457916,
0.4480135142803192,
0.34428951144218445,
0.6110537648200989,
0.18491123616695404,
0.20059356093406677,
-0.7898176312446594,
-0.24942262470722198,
0.12766657769680023,
0.2437283992767334,
0.08732864260673523,
-0.6246923804283142,
0.7437565326690674,
0.6618489027023315,
-0.7894245982170105,
-0.556275486946106,
-0.1516856700181961,
-1.2235289812088013,
-0.23252247273921967,
0.9612439274787903,
-0.12447798997163773,
-0.258312463760376,
-0.1321115791797638,
-0.13800866901874542,
0.4324842393398285,
-0.3419516682624817,
0.9914560914039612,
0.9979460835456848,
-0.5548655390739441,
0.44226258993148804,
-0.7378977537155151,
0.09573721140623093,
-0.28261271119117737,
-0.9314776659011841,
-0.09861873835325241,
0.8293417096138,
0.2792092263698578,
0.7082884311676025,
0.455392450094223,
0.061154771596193314,
0.16317914426326752,
-0.10609321296215057,
-0.36569494009017944,
0.0695098489522934,
-0.4592784643173218,
-0.14990048110485077,
0.6604253649711609,
-0.39344313740730286,
-0.08280748128890991
] |
http://arxiv.org/abs/2405.16089v1
|
http://arxiv.org/pdf/2405.16089v1
|
COLT: Towards Completeness-Oriented Tool Retrieval for Large Language Models
| 2024-05-25T06:41:23 | 2024-05-25T06:41:23 |
Changle Qu, Sunhao Dai, Xiaochi Wei, Hengyi Cai, Shuaiqiang Wang, Dawei Yin, Jun Xu, Ji-Rong Wen
|
cs.CL
|
cs.CL, cs.IR
|
Recently, the integration of external tools with Large Language Models (LLMs)
has emerged as a promising approach to overcome the inherent constraints of
their pre-training data. However, realworld applications often involve a
diverse range of tools, making it infeasible to incorporate all tools directly
into LLMs due to constraints on input length and response time. Therefore, to
fully exploit the potential of tool-augmented LLMs, it is crucial to develop an
effective tool retrieval system. Existing tool retrieval methods techniques
mainly rely on semantic matching between user queries and tool descriptions,
which often results in the selection of redundant tools. As a result, these
methods fail to provide a complete set of diverse tools necessary for
addressing the multifaceted problems encountered by LLMs. In this paper, we
propose a novel modelagnostic COllaborative Learning-based Tool Retrieval
approach, COLT, which captures not only the semantic similarities between user
queries and tool descriptions but also takes into account the collaborative
information of tools. Specifically, we first fine-tune the PLM-based retrieval
models to capture the semantic relationships between queries and tools in the
semantic learning stage. Subsequently, we construct three bipartite graphs
among queries, scenes, and tools and introduce a dual-view graph collaborative
learning framework to capture the intricate collaborative relationships among
tools during the collaborative learning stage. Extensive experiments on both
the open benchmark and the newly introduced ToolLens dataset show that COLT
achieves superior performance. Notably, the performance of BERT-mini (11M) with
our proposed model framework outperforms BERT-large (340M), which has 30 times
more parameters. Additionally, we plan to publicly release the ToolLens dataset
to support further research in tool retrieval.
|
[
-0.3832786977291107,
-0.5031942129135132,
0.7182719111442566,
-0.0680452510714531,
-0.3557809591293335,
0.20231617987155914,
-0.3268630802631378,
-0.39964354038238525,
0.028705298900604248,
0.7348943948745728,
-0.519530177116394,
-0.8394740223884583,
-0.3863680958747864,
-0.08613580465316772,
-0.4831688106060028,
0.6407973170280457,
-0.005573204718530178,
0.272172749042511,
0.024338144809007645,
-0.44709038734436035,
-0.15762649476528168,
-0.4347781538963318,
-0.5377550721168518,
-0.2640852928161621,
0.43741071224212646,
0.1893266886472702,
0.5150042772293091,
0.6210353970527649,
0.7127634286880493,
0.37803009152412415,
-0.08334866166114807,
0.250016450881958,
-0.5032093524932861,
0.13849420845508575,
-0.3518410921096802,
-0.47886914014816284,
-0.22302234172821045,
0.06280592828989029,
0.5293344855308533,
0.9911739230155945,
-0.21336893737316132,
0.2528288662433624,
0.28266641497612,
0.32136237621307373,
-0.7542350888252258,
0.20443160831928253,
-0.957902193069458,
0.08359555900096893,
-0.16875587403774261,
0.29484331607818604,
-0.5424079895019531,
-0.17510192096233368,
0.3248438239097595,
-0.9329450130462646,
0.42823824286460876,
0.1738247275352478,
0.5005837082862854,
0.14562520384788513,
-0.49503231048583984,
-0.32370689511299133,
-0.3429999351501465,
0.9350849986076355,
-0.7682314515113831,
0.6035009026527405,
0.045296549797058105,
0.5138190984725952,
-0.5385851860046387,
-0.9397668838500977,
-0.6800229549407959,
-0.3118332624435425,
-0.041545551270246506,
0.1019609197974205,
0.4135655164718628,
0.2382822334766388,
0.15718454122543335,
0.5519776344299316,
-0.4695877730846405,
0.11759097874164581,
0.10388759523630142,
-0.4182208776473999,
0.5219466686248779,
0.27489691972732544,
0.004668625071644783,
0.013602201826870441,
-0.604228675365448,
-0.07950291037559509,
-0.6727186441421509,
0.003886651247739792,
0.21052229404449463,
0.7320680618286133,
0.019734036177396774,
0.7171101570129395,
-0.1601879745721817,
0.7891667485237122,
-0.11632132530212402,
-0.3540927469730377,
0.4035866856575012,
-0.6246860027313232,
-0.4117179214954376,
-0.11990337818861008,
0.7308279275894165,
-0.020150866359472275,
-0.08923475444316864,
-0.5358394384384155,
-0.23913061618804932,
-0.3119630515575409,
0.17530973255634308,
-0.7532215118408203,
-0.05588100478053093,
-0.0476565808057785,
-0.29215118288993835,
-0.1916790008544922,
0.2879512310028076,
-0.3063954710960388,
-0.6140743494033813,
-0.2997221052646637,
0.6630356311798096,
-0.23165780305862427,
-0.1657080501317978,
0.1410602480173111,
-0.1306966096162796,
0.35250186920166016,
0.533463716506958,
-0.43594124913215637,
0.27367955446243286,
0.9904258251190186,
0.8739107251167297,
-0.2723935842514038,
-0.2538800537586212,
-0.9337101578712463,
0.548380970954895,
-0.30299752950668335,
0.17077960073947906,
-0.5807532668113708,
-0.6768909692764282,
-0.0833827406167984,
0.3951212763786316,
0.17455722391605377,
-0.6584808826446533,
0.45791739225387573,
-0.7468363046646118,
0.17426809668540955,
-0.5372238159179688,
-0.6043878197669983,
-0.34247323870658875,
0.27042144536972046,
-0.6822575926780701,
0.9464153051376343,
0.06523101776838303,
-0.7413214445114136,
0.7403531074523926,
-0.29589635133743286,
-0.3064555823802948,
0.11749088019132614,
-0.28717485070228577,
-0.544914186000824,
-0.24185533821582794,
-0.10710763931274414,
0.4581476151943207,
-0.4172927141189575,
0.3260914981365204,
-0.7974867820739746,
-0.7619109749794006,
-0.3547997772693634,
0.15126726031303406,
0.8263274431228638,
-0.04341352730989456,
-0.45026686787605286,
0.2935391366481781,
-0.4848686456680298,
-0.1287480741739273,
0.2282790094614029,
-0.3033563196659088,
-0.41195669770240784,
-0.18690373003482819,
-0.27062055468559265,
0.21299214661121368,
0.6160370707511902,
-0.9939969182014465,
0.21839280426502228,
-0.628103494644165,
-0.03952081874012947,
0.6808398365974426,
-0.2598628103733063,
0.530498206615448,
-0.15752176940441132,
0.0554938018321991,
0.01710713468492031,
0.1780713051557541,
0.049639470875263214,
-0.17177443206310272,
-0.9156114459037781,
-0.42478421330451965,
0.1032465398311615,
0.576077401638031,
-0.8024194836616516,
0.6208178997039795,
0.07499543577432632,
-0.6411000490188599,
-0.5233792066574097,
0.5026956796646118,
0.5732522010803223,
0.6503551602363586,
0.3239628076553345,
-0.8069947957992554,
-0.41476067900657654,
-0.9518654346466064,
0.026263820007443428,
-0.3089173138141632,
-0.28407618403434753,
0.5164175033569336,
0.1911909133195877,
0.01205097883939743,
0.842444658279419,
-0.28334110975265503,
-0.4430730640888214,
-0.3297171890735626,
-0.09197871387004852,
0.18441538512706757,
0.23871146142482758,
0.46131858229637146,
-0.7664581537246704,
-0.4567680060863495,
0.04793476313352585,
-0.6367454528808594,
0.050531867891550064,
0.3519771099090576,
-0.2789224684238434,
0.10615424811840057,
0.25386548042297363,
-0.6366000771522522,
0.39607536792755127,
0.014089484699070454,
-0.060493405908346176,
0.6293889284133911,
-0.07216228544712067,
-0.08935272693634033,
-1.1918082237243652,
0.22868143022060394,
-0.04662564396858215,
-0.5136994123458862,
-0.059185173362493515,
0.28466397523880005,
-0.16160449385643005,
0.18268683552742004,
-0.46336260437965393,
0.5285829901695251,
-0.23056533932685852,
-0.5370365381240845,
-0.21518899500370026,
0.4159086048603058,
0.13752497732639313,
0.3446390926837921,
-0.08964797854423523,
1.160179853439331,
0.4467851221561432,
-0.2936800718307495,
0.5269272923469543,
0.32908353209495544,
-0.13959857821464539,
0.31337928771972656,
-0.695026159286499,
0.010392633266746998,
0.09696032106876373,
0.30416783690452576,
-0.6828656792640686,
0.03100433014333248,
0.2933395206928253,
-0.12251035124063492,
0.21372726559638977,
-0.30904915928840637,
-1.002632737159729,
-0.27498185634613037,
-0.3816479444503784,
-0.22745642066001892,
0.2727707028388977,
-0.7952343821525574,
0.5629480481147766,
0.43436697125434875,
-0.2436363697052002,
-0.7249912023544312,
-0.10160207748413086,
-0.07005270570516586,
-0.11277449131011963,
-0.5641741156578064,
0.3912959694862366,
-0.09205523133277893,
-0.24819204211235046,
-0.16102145612239838,
-0.16297462582588196,
-0.009839697740972042,
0.13213402032852173,
0.07794541865587234,
0.4660531282424927,
-0.2106756567955017,
0.3963312804698944,
-0.14558368921279907,
0.03366614505648613,
-0.1354561746120453,
-0.234529510140419,
0.4751923382282257,
-0.22483223676681519,
-0.5554583072662354,
-0.10980341583490372,
0.31687217950820923,
0.3417726457118988,
-0.4167996346950531,
0.9135822653770447,
0.950996458530426,
0.14872145652770996,
-0.2514583170413971,
-0.7213587164878845,
-0.3336339592933655,
-0.542409360408783,
0.3446758985519409,
-0.40662315487861633,
-1.1582719087600708,
0.50215744972229,
-0.3550180494785309,
0.2595074474811554,
0.08056110888719559,
0.5527195930480957,
0.05433453619480133,
1.1751245260238647,
0.829339325428009,
-0.15823005139827728,
0.39342015981674194,
-0.26784804463386536,
-0.09510018676519394,
-0.7959260940551758,
-0.3790949583053589,
-0.4100715219974518,
0.0019047202076762915,
-0.45138245820999146,
-0.24096880853176117,
0.28266867995262146,
0.22738787531852722,
-0.6011701226234436,
0.4625946581363678,
-0.41146549582481384,
0.2872072458267212,
0.7464843988418579,
0.09719324856996536,
0.5793835520744324,
-0.019354406744241714,
-0.7617085576057434,
0.09649302810430527,
-0.38147857785224915,
-0.4990428388118744,
1.1257983446121216,
-0.12187211215496063,
0.36823412775993347,
0.40915724635124207,
0.7580527067184448,
-0.022529954090714455,
0.02964964509010315,
-0.7751973271369934,
0.7922530770301819,
-0.20618946850299835,
-0.5055672526359558,
-0.3255583345890045,
-0.4164358079433441,
-0.8914902806282043,
0.4346163868904114,
-0.11287619918584824,
-0.8292286396026611,
-0.13259674608707428,
-0.29044610261917114,
-0.06486491113901138,
0.3750655949115753,
-0.6645753383636475,
0.8341925740242004,
-0.14407582581043243,
-0.8085002899169922,
-0.28159043192863464,
-0.9840606451034546,
0.2707996070384979,
-0.26428738236427307,
-0.07837501168251038,
-0.32793769240379333,
-0.30363133549690247,
0.46536019444465637,
-0.7413276433944702,
0.6485832929611206,
-0.279521107673645,
-0.007995950058102608,
0.2210247963666916,
0.13523182272911072,
0.6171428561210632,
0.008274545893073082,
-0.37117451429367065,
-0.21339431405067444,
0.1346566379070282,
-0.4400520920753479,
-0.7037104368209839,
0.8293358087539673,
-0.8476309180259705,
-0.916103184223175,
-0.11384735256433487,
-0.43708887696266174,
-0.40512457489967346,
0.4884085953235626,
-0.1326567381620407,
0.43650197982788086,
0.07800812274217606,
0.19637911021709442,
0.4389069080352783,
-0.11584533005952835,
0.4001524746417999,
0.8603183627128601,
-0.43410158157348633,
0.02438647672533989,
0.9031417965888977,
-0.021388953551650047,
0.13807222247123718,
0.10635337233543396,
-0.1614006906747818,
-0.2782987654209137,
-0.7245365381240845,
-0.5940094590187073,
0.4610276222229004,
-0.5528772473335266,
-0.10253483802080154,
-0.38735970854759216,
-0.0642743855714798,
-0.1875712126493454,
-0.14270035922527313,
-0.33828005194664,
-0.2638072073459625,
-0.3872082829475403,
0.04646487906575203,
0.32148247957229614,
0.6811980605125427,
0.15229885280132294,
0.2572222054004669,
-0.9319949746131897,
-0.0055584111250936985,
0.3141632080078125,
0.6748339533805847,
0.17640364170074463,
-0.3500259518623352,
-0.1813279390335083,
-0.1285681575536728,
-0.46448779106140137,
-0.5048847794532776,
0.23540879786014557,
0.1085435077548027,
0.8890994787216187,
0.1900465190410614,
0.371534526348114,
0.5100201368331909,
-0.36406752467155457,
0.6148548722267151,
0.0233584214001894,
-0.7726138830184937,
0.33995145559310913,
-0.39544105529785156,
-0.01700800471007824,
0.870904266834259,
0.4156108796596527,
-0.08886247128248215,
-0.28903138637542725,
-0.38161414861679077,
-0.9004158973693848,
0.6898911595344543,
0.1919553130865097,
-0.05780358985066414,
0.3036515712738037,
0.2631729245185852,
0.41266658902168274,
0.35192474722862244,
-0.3406482934951782,
-0.08455026894807816,
0.015544924885034561,
-0.3186315596103668,
0.08610956370830536,
0.1582339107990265,
-0.12787634134292603,
-0.05783119052648544,
0.8687459826469421,
-0.20866534113883972,
-0.08487124741077423,
0.019991518929600716,
-0.05430898442864418,
0.14440688490867615,
0.22768081724643707,
-0.19993670284748077,
0.5039046406745911,
-0.43475428223609924,
-0.09529183804988861,
0.26937371492385864,
-0.29668983817100525,
0.2398594468832016,
0.5416687726974487,
0.079595647752285,
-0.013502241112291813,
0.16699928045272827,
0.39487168192863464,
-0.04172591492533684,
-0.9651920795440674,
0.9560133814811707,
0.0017383078811690211,
0.21667534112930298,
-0.5951386094093323,
0.3203579783439636,
0.11480353027582169,
0.5831348299980164,
0.38470351696014404,
-0.3368525505065918,
0.6115021109580994,
-0.3779277503490448,
0.5337927341461182,
0.7539089322090149,
-0.6704145073890686,
-0.21924439072608948,
0.4406551420688629,
0.28868556022644043,
-0.12632755935192108,
0.5737457871437073,
-0.3451523780822754,
-0.24317723512649536,
0.5840165019035339,
0.3697274923324585,
0.5538671612739563,
0.14430983364582062,
0.12558594346046448,
0.2000134438276291,
-0.010937398299574852,
0.10131267458200455,
0.11512896418571472,
-0.34802234172821045,
-0.5563449263572693,
-0.5967639088630676,
-0.6998147964477539,
-0.47318676114082336,
-0.11074452847242355,
-0.6238362193107605,
0.6001944541931152,
-0.5815942883491516,
-0.2054542899131775,
-0.28487980365753174,
0.35362178087234497,
-0.5468459725379944,
0.027449119836091995,
-0.000024488526833010837,
1.0526679754257202,
-0.16809776425361633,
1.0368821620941162,
0.5636677145957947,
-0.5349969863891602,
-1.1406996250152588,
-0.18538863956928253,
0.2976242005825043,
-0.7157484292984009,
0.47271737456321716,
0.3408496081829071,
-0.3253747522830963,
0.1830718219280243,
-0.4214913249015808,
-0.7291181087493896,
1.2903857231140137,
0.6009342074394226,
-0.6153537034988403,
-0.2836776077747345,
0.021259186789393425,
0.35570603609085083,
-0.31930047273635864,
0.16508068144321442,
0.4484020173549652,
0.12127777189016342,
0.6955820918083191,
-1.266719102859497,
0.07392359524965286,
-0.11650144308805466,
-0.211669459939003,
0.4265778958797455,
-0.772713840007782,
0.5270746350288391,
-0.2338227927684784,
-0.02140244096517563,
0.39745032787323,
0.38268885016441345,
0.6033318638801575,
0.30812397599220276,
0.4367063641548157,
0.6803381443023682,
0.43002060055732727,
0.09365582466125488,
0.8972432017326355,
-0.11334088444709778,
0.4728015661239624,
1.1699824333190918,
-0.5905863046646118,
0.9024097323417664,
0.2715781629085541,
-0.28007686138153076,
0.3386380076408386,
0.5003607869148254,
0.0598953440785408,
0.5612034201622009,
-0.04908491298556328,
-0.546310305595398,
-0.6067010760307312,
-0.4880419671535492,
-0.4621034264564514,
0.48030880093574524,
0.22527822852134705,
-0.5986822843551636,
-0.3728024959564209,
-0.18641453981399536,
-0.07229622453451157,
-0.06443347781896591,
-0.2112029641866684,
1.0824370384216309,
0.13167627155780792,
-0.10383914411067963,
0.2611471712589264,
-0.004266563802957535,
0.6696300506591797,
-0.650266170501709,
-0.09403877705335617,
0.0016764914616942406,
0.1251821219921112,
0.19439467787742615,
-0.5733794569969177,
0.14132709801197052,
-0.48162373900413513,
0.010029234923422337,
0.3747812807559967,
0.6279413104057312,
-0.4234955310821533,
-0.5240467190742493,
0.6384136080741882,
0.6194159388542175,
-0.10399764776229858,
0.08717212080955505,
-0.7392855882644653,
0.02179153449833393,
-0.16465015709400177,
0.010857738554477692,
0.42807984352111816,
0.29506707191467285,
0.2531158924102783,
0.6652783751487732,
0.586442232131958,
-0.0012917793355882168,
-0.12774409353733063,
-0.010612083598971367,
1.0117785930633545,
-0.38608691096305847,
-0.31831467151641846,
-0.6577519178390503,
0.2177903652191162,
-0.25021445751190186,
0.22197884321212769,
0.9462518692016602,
0.6984030604362488,
1.0435950756072998,
0.2818400263786316,
0.7880554795265198,
0.31970909237861633,
0.9994181394577026,
-0.31351059675216675,
0.7871580123901367,
-0.8448691964149475,
0.4373961091041565,
-0.4383721351623535,
-1.015825629234314,
-0.23993346095085144,
0.3756103515625,
-0.3790495991706848,
0.0680074542760849,
0.08052603900432587,
0.8716202974319458,
-0.18009355664253235,
0.07746658474206924,
0.3580482006072998,
0.01614067330956459,
0.280863881111145,
0.41481608152389526,
0.5868614315986633,
-0.06827106326818466,
0.7746891379356384,
-0.20305223762989044,
0.03967059403657913,
-0.28528058528900146,
-0.46825334429740906,
-0.7876303195953369,
-0.5940465927124023,
0.06808649003505707,
-0.138676717877388,
0.16440726816654205,
1.1167594194412231,
0.8419529795646667,
-0.6611648201942444,
-0.11241032928228378,
-0.09217126667499542,
0.038413967937231064,
0.3142099678516388,
-0.20115908980369568,
0.2886037528514862,
-0.34683316946029663,
-0.6633777618408203,
0.35319748520851135,
0.2714760899543762,
0.10365897417068481,
-0.3658255934715271,
-0.09327799826860428,
-0.12633995711803436,
-0.11152435839176178,
0.5872012376785278,
-0.020140141248703003,
-0.9081539511680603,
-0.4136897325515747,
0.0017275993013754487,
-0.15325158834457397,
-0.05347970873117447,
0.7408781051635742,
-1.2332168817520142,
0.6693411469459534,
0.31085464358329773,
0.7746996879577637,
0.5515471696853638,
-0.218288391828537,
0.6040607690811157,
-0.7450734376907349,
0.48338940739631653,
0.14731049537658691,
0.4893406629562378,
0.6505745649337769,
-0.1681116670370102,
0.5977129340171814,
0.25019875168800354,
-0.37355121970176697,
-0.57609623670578,
0.3502252995967865,
-0.9271802306175232,
-0.2221681773662567,
0.6882957816123962,
-0.5793414115905762,
-0.015981502830982208,
-0.45761793851852417,
-0.41803205013275146,
0.5211349129676819,
-0.5364408493041992,
0.6495963335037231,
0.5059061646461487,
0.03117940202355385,
-0.06733044981956482,
-0.24144107103347778,
0.09133241325616837,
0.30057448148727417,
-0.3832469880580902,
-0.15406113862991333,
0.5206077098846436,
0.26976922154426575,
0.03387065231800079,
0.2418031096458435,
-0.013098396360874176,
0.1764966994524002,
-0.20525380969047546,
-0.03145527094602585,
-0.3233805298805237,
-0.142884761095047,
0.24724948406219482,
0.34798696637153625,
0.42773643136024475,
-0.031641311943531036
] |
http://arxiv.org/abs/2405.16064v1
|
http://arxiv.org/pdf/2405.16064v1
|
Keypoint-based Progressive Chain-of-Thought Distillation for LLMs
| 2024-05-25T05:27:38 | 2024-05-25T05:27:38 |
Kaituo Feng, Changsheng Li, Xiaolu Zhang, Jun Zhou, Ye Yuan, Guoren Wang
|
cs.CL
|
cs.CL
|
Chain-of-thought distillation is a powerful technique for transferring
reasoning abilities from large language models (LLMs) to smaller student
models. Previous methods typically require the student to mimic the
step-by-step rationale produced by LLMs, often facing the following challenges:
(i) Tokens within a rationale vary in significance, and treating them equally
may fail to accurately mimic keypoint tokens, leading to reasoning errors. (ii)
They usually distill knowledge by consistently predicting all the steps in a
rationale, which falls short in distinguishing the learning order of step
generation. This diverges from the human cognitive progression of starting with
easy tasks and advancing to harder ones, resulting in sub-optimal outcomes. To
this end, we propose a unified framework, called KPOD, to address these issues.
Specifically, we propose a token weighting module utilizing mask learning to
encourage accurate mimicry of keypoint tokens by the student during
distillation. Besides, we develop an in-rationale progressive distillation
strategy, starting with training the student to generate the final reasoning
steps and gradually extending to cover the entire rationale. To accomplish
this, a weighted token generation loss is proposed to assess step reasoning
difficulty, and a value function is devised to schedule the progressive
distillation by considering both step difficulty and question diversity.
Extensive experiments on four reasoning benchmarks illustrate our KPOD
outperforms previous methods by a large margin.
|
[
-0.26921287178993225,
-0.6050009727478027,
0.9679491519927979,
0.08182354271411896,
-0.5750623345375061,
0.5354470014572144,
-0.23214633762836456,
0.07733854651451111,
0.059719283133745193,
0.342670202255249,
-0.5344139933586121,
-0.5223957300186157,
-0.6124129891395569,
-0.03104856237769127,
-0.2300645112991333,
0.8221777081489563,
-0.1873713731765747,
0.11053899675607681,
-0.02057589590549469,
-0.10371991991996765,
-0.5765833854675293,
-0.519318163394928,
-0.8466671109199524,
-0.7868527770042419,
0.47625458240509033,
0.48919928073883057,
0.2584315240383148,
0.3103054463863373,
0.3243880569934845,
0.1471862494945526,
-0.4780573546886444,
0.025704024359583855,
-0.2730550467967987,
0.3804363012313843,
-0.36068493127822876,
-0.7438213229179382,
-0.48023056983947754,
-0.00413436908274889,
0.43124979734420776,
0.9303197860717773,
-0.4232494831085205,
0.2166471630334854,
0.2716595530509949,
1.1427743434906006,
-0.7128022909164429,
-0.04081670567393303,
-0.9549822211265564,
0.23933398723602295,
-0.08857398480176926,
0.19437143206596375,
-0.3841765820980072,
-0.22093075513839722,
0.274868905544281,
-0.41759490966796875,
-0.015981361269950867,
0.006502025295048952,
0.3298446536064148,
0.06558629870414734,
-0.501205325126648,
-0.6272771954536438,
-0.6028233170509338,
0.5651520490646362,
-0.817603588104248,
0.14334578812122345,
0.2554261386394501,
0.4039415419101715,
-0.5199665427207947,
-1.0753508806228638,
-0.8246654868125916,
-0.20956125855445862,
0.17019380629062653,
0.013402169570326805,
0.04325209930539131,
0.31697794795036316,
0.36400243639945984,
0.44474896788597107,
-0.20061148703098297,
-0.21979518234729767,
-0.3867628872394562,
-0.15218232572078705,
0.17153368890285492,
0.1626523733139038,
-0.26495590806007385,
-0.027783790603280067,
-0.37168580293655396,
-0.12087323516607285,
-0.537956953048706,
0.04369385540485382,
0.27037766575813293,
0.17798732221126556,
0.38335418701171875,
0.4274681806564331,
-0.344661146402359,
0.6061586141586304,
0.47246062755584717,
-0.5306522250175476,
0.12923048436641693,
-0.31473004817962646,
-0.2760004997253418,
0.2719278037548065,
0.5895825028419495,
0.3363966941833496,
0.31047093868255615,
0.11968204379081726,
-0.07266144454479218,
-0.049803726375103,
0.20782586932182312,
-0.867409884929657,
-0.5451167225837708,
0.1966569423675537,
-0.3858124315738678,
-0.4740397334098816,
-0.13371729850769043,
-0.7004495859146118,
-0.27000102400779724,
-0.35046109557151794,
0.5142590403556824,
-0.5049601793289185,
-0.3045679032802582,
0.2848973572254181,
-0.4051745533943176,
-0.1514204889535904,
0.36795395612716675,
-0.6752358078956604,
0.32175329327583313,
0.5845528841018677,
1.099861979484558,
-0.3321491479873657,
0.05412299931049347,
-0.34366628527641296,
0.23083439469337463,
-0.3395046293735504,
0.35667455196380615,
-0.603073000907898,
-0.5220279097557068,
-0.1845855563879013,
-0.20445796847343445,
0.22958457469940186,
-0.7261689305305481,
0.477141410112381,
-0.43618956208229065,
0.15334302186965942,
-0.46431243419647217,
-0.7414999604225159,
-0.3209334909915924,
0.4742353856563568,
-0.3504893183708191,
0.9946088194847107,
-0.19534854590892792,
-0.6376152038574219,
0.6140121817588806,
-0.7130401730537415,
-0.3794515132904053,
-0.021580806002020836,
-0.21997788548469543,
-0.3419533967971802,
0.2700716257095337,
0.14062443375587463,
0.3381902277469635,
0.05561746656894684,
0.45341211557388306,
-0.3129713833332062,
-0.22431813180446625,
0.12130840867757797,
-0.5717381238937378,
0.6031513810157776,
0.2712746262550354,
-0.6556132435798645,
-0.011045025661587715,
-0.9468347430229187,
-0.05800627917051315,
-0.09167344868183136,
-0.5415295362472534,
-0.4622328281402588,
-0.08403827995061874,
-0.5977029204368591,
0.22404317557811737,
0.07582345604896545,
-0.3640049397945404,
0.5396201014518738,
0.10572484880685806,
0.8649086356163025,
0.896896243095398,
0.295376181602478,
0.4745803475379944,
-0.21405433118343353,
0.3971404731273651,
0.2452636957168579,
0.16836634278297424,
-0.34187453985214233,
-0.722840428352356,
-0.8373754620552063,
-0.3969785273075104,
0.13040070235729218,
0.22872506082057953,
-0.7212953567504883,
0.40570807456970215,
0.013320930302143097,
-0.42565828561782837,
-0.25136348605155945,
0.23405762016773224,
0.14316236972808838,
0.8611192107200623,
0.3530218303203583,
-0.3850196897983551,
-0.39314326643943787,
-0.48631149530410767,
0.03265446797013283,
-0.642731785774231,
-0.24986077845096588,
-0.05523504316806793,
0.49602797627449036,
0.055886927992105484,
0.7581978440284729,
-0.5073142647743225,
-0.3272281289100647,
-0.2432543784379959,
0.31883299350738525,
0.5483999848365784,
0.4713464677333832,
-0.06059277430176735,
-0.6378305554389954,
-0.5580487847328186,
-0.2520878314971924,
-0.46185898780822754,
-0.09729581326246262,
-0.35257554054260254,
-0.4248088300228119,
-0.13703927397727966,
0.6225247383117676,
-0.6624662280082703,
0.33395686745643616,
0.15589183568954468,
-0.1922038495540619,
0.7208075523376465,
-0.10668545216321945,
0.05538925528526306,
-1.1279844045639038,
0.14411747455596924,
-0.2983064353466034,
-0.16016004979610443,
-0.46059665083885193,
-0.06330738961696625,
-0.06913454830646515,
0.08119577914476395,
-0.31176239252090454,
0.2565004527568817,
-0.30757570266723633,
0.2608043849468231,
-0.5284010171890259,
0.08558163791894913,
0.342229425907135,
0.5729554295539856,
-0.01140715554356575,
0.37190356850624084,
0.40368950366973877,
-0.5601216554641724,
0.4280085265636444,
-0.2188841998577118,
-0.28374430537223816,
0.8772686123847961,
-0.569085419178009,
0.3475310504436493,
0.02506561204791069,
0.6363798975944519,
-1.2539007663726807,
0.12335099279880524,
0.3627917766571045,
-0.18636834621429443,
0.35212305188179016,
-0.2577962875366211,
-0.22846634685993195,
-0.5337613224983215,
-0.31274959444999695,
0.4849965274333954,
0.7493451237678528,
-0.4407922029495239,
0.7460495233535767,
-0.10853707045316696,
-0.08280974626541138,
-0.5258650779724121,
-0.4308466613292694,
0.13673226535320282,
-0.568886399269104,
-0.1850636601448059,
0.38604941964149475,
-0.03160126134753227,
-0.19795386493206024,
-0.045274972915649414,
-0.6056988835334778,
0.1217832863330841,
-0.013544075191020966,
0.1672651767730713,
0.20225560665130615,
0.18155336380004883,
0.3741264343261719,
0.17099341750144958,
0.026439795270562172,
0.19762639701366425,
-0.8633251786231995,
0.5883265137672424,
-0.03078918531537056,
-0.4567350745201111,
-0.45345744490623474,
0.15345923602581024,
0.9000700116157532,
0.20892344415187836,
0.41772475838661194,
0.4300859570503235,
-0.2753291428089142,
-0.199057936668396,
-0.6024736762046814,
-0.17133821547031403,
-0.48297324776649475,
0.32106637954711914,
-0.6712828278541565,
-0.7454589605331421,
0.5635733604431152,
-0.5699591636657715,
0.16338098049163818,
0.11479045450687408,
0.7407383322715759,
-0.37165045738220215,
0.8697017431259155,
0.49449029564857483,
-0.06599342077970505,
0.419595867395401,
-0.2919902801513672,
0.14525438845157623,
-0.9023364782333374,
-0.6005534529685974,
-0.15713635087013245,
-0.7945590019226074,
-0.10185517370700836,
-0.651361346244812,
0.3140076696872711,
0.853278398513794,
-0.41975313425064087,
0.12638582289218903,
-0.5896673798561096,
0.4214611053466797,
0.6887685060501099,
0.09704248607158661,
0.5898823738098145,
0.029994001612067223,
-0.8459951877593994,
0.15799111127853394,
-0.7276713848114014,
-0.5607151985168457,
1.4754027128219604,
0.4476299285888672,
0.7674797773361206,
-0.22097033262252808,
1.0242457389831543,
0.33269381523132324,
0.2762524485588074,
-0.9450063109397888,
0.6391164660453796,
0.2863038182258606,
-0.6986172199249268,
-0.3371177911758423,
-0.20689743757247925,
-0.5695911049842834,
0.3363588750362396,
0.15596580505371094,
-0.7155889272689819,
0.16143417358398438,
0.24105170369148254,
-0.24639035761356354,
0.5459702014923096,
-0.4240061044692993,
0.5152122378349304,
-0.0731864646077156,
-0.11521260440349579,
-0.4167037010192871,
-0.763964056968689,
0.41334059834480286,
-0.18731695413589478,
0.25120311975479126,
-0.10189760476350784,
-0.04100493714213371,
0.708209216594696,
-0.7627776861190796,
0.8891071081161499,
-0.4277713894844055,
-0.08470258116722107,
0.6865663528442383,
0.27974289655685425,
0.651502251625061,
0.17004477977752686,
-0.009411046281456947,
0.20982202887535095,
-0.1266363561153412,
-0.375930517911911,
-0.7397019267082214,
0.4015839993953705,
-0.32075634598731995,
-0.8621229529380798,
-0.29760342836380005,
-0.35805192589759827,
-0.14311973750591278,
0.10987691581249237,
-0.010217439383268356,
-0.10294418781995773,
0.15558288991451263,
0.06490994989871979,
0.5497267246246338,
0.21990785002708435,
0.5033225417137146,
0.42451906204223633,
-0.37276691198349,
-0.7111906409263611,
0.6893317699432373,
0.051205962896347046,
0.6291069388389587,
0.15343132615089417,
0.38607174158096313,
-0.35384052991867065,
-0.7099689245223999,
-0.3606337904930115,
-0.09823299199342728,
-0.9835785627365112,
-0.17761445045471191,
-0.3222848176956177,
0.05952559411525726,
0.08219315111637115,
-0.13574212789535522,
-0.38032108545303345,
-0.49530452489852905,
-0.05635613948106766,
-0.2837526798248291,
0.2667422294616699,
0.375141978263855,
-0.2730088233947754,
0.11353223025798798,
-0.5336224436759949,
0.23403529822826385,
0.6331380009651184,
0.15763166546821594,
0.25443899631500244,
-0.6526606678962708,
0.09249994903802872,
0.15579646825790405,
-0.732223629951477,
-0.7493482232093811,
-0.08154510706663132,
0.42306044697761536,
0.5028091669082642,
0.5423917770385742,
0.2200167030096054,
0.9785494804382324,
-0.7055635452270508,
0.819602906703949,
0.7467144727706909,
-1.0893595218658447,
0.8474385142326355,
0.25504934787750244,
0.34269705414772034,
0.8539522290229797,
0.5221673250198364,
-0.5849596858024597,
-0.5632376074790955,
-0.46640077233314514,
-0.9375624060630798,
0.1011774092912674,
0.25292983651161194,
0.17537106573581696,
-0.2553238570690155,
0.7045700550079346,
0.3473988175392151,
0.4251978099346161,
-0.6804561614990234,
-0.1891663521528244,
-0.1651303917169571,
-0.1857975572347641,
0.27313974499702454,
0.05027220398187637,
-0.1622655987739563,
-0.5205233097076416,
0.6163340210914612,
-0.3758646547794342,
-0.2366778701543808,
0.3235950171947479,
0.1309862732887268,
-0.04238976538181305,
0.1644565910100937,
0.41848692297935486,
0.7726700305938721,
-0.28710633516311646,
0.390928715467453,
0.3326752483844757,
-0.7390273213386536,
0.6293312907218933,
-0.4812934696674347,
0.013260947540402412,
0.17430558800697327,
0.18846827745437622,
0.5454540252685547,
-0.07820716500282288,
-0.6445275545120239,
0.2646438479423523,
0.10034441202878952,
-0.3674241602420807,
-0.07140757888555527,
0.04265725612640381,
0.30323147773742676,
0.6399968862533569,
0.703730046749115,
0.07502453774213791,
0.10586124658584595,
-0.7943710684776306,
0.3194761872291565,
0.2452811896800995,
-0.35168328881263733,
-0.30451899766921997,
0.6194028854370117,
0.2615565359592438,
-0.2758539021015167,
0.6650050282478333,
-0.3604477047920227,
-0.5790324807167053,
0.37580904364585876,
0.32340922951698303,
1.00442636013031,
0.031133245676755905,
0.2450367659330368,
0.3583926260471344,
0.008855093270540237,
-0.31773751974105835,
0.2790810763835907,
-0.5524121522903442,
-0.5184580683708191,
-0.5187520980834961,
-0.8625761866569519,
-0.4621535837650299,
0.23295947909355164,
-0.8109350204467773,
0.2668238878250122,
-0.6308209896087646,
-0.5078274011611938,
-0.19894510507583618,
-0.1309843212366104,
-0.39120158553123474,
-0.0010302816517651081,
0.33138200640678406,
1.0191596746444702,
-0.6990094184875488,
1.0576614141464233,
0.7404682636260986,
-0.2687525153160095,
-0.7403333187103271,
0.32157179713249207,
-0.12481578439474106,
-0.8862260580062866,
1.0162652730941772,
0.0964864045381546,
0.09048357605934143,
-0.0649513304233551,
-0.2929670214653015,
-0.5626192688941956,
1.5144639015197754,
0.21875615417957306,
-1.1690386533737183,
-0.296992689371109,
0.1245240643620491,
0.34099647402763367,
-0.4709775745868683,
-0.07113655656576157,
0.6798266172409058,
0.2038005143404007,
0.8030560612678528,
-0.9702589511871338,
0.3070194721221924,
0.17671573162078857,
0.06889230012893677,
0.1992589682340622,
-0.4392498731613159,
0.6982908248901367,
-0.2967785596847534,
-0.09640353173017502,
-0.19007030129432678,
0.4859692454338074,
0.6507900953292847,
0.49584507942199707,
0.7637726068496704,
0.8906376957893372,
0.8964506983757019,
0.04285362735390663,
0.3420403003692627,
-0.28025907278060913,
0.30044662952423096,
1.1602301597595215,
-0.3997623324394226,
0.9078559875488281,
1.162927269935608,
-0.5142881274223328,
0.8757907748222351,
0.5335730314254761,
0.24027785658836365,
0.9819930791854858,
0.7059713006019592,
-0.40294429659843445,
-0.2962469160556793,
0.2462337613105774,
-0.24546892940998077,
0.1295516937971115,
0.377828985452652,
-0.42521533370018005,
-0.2478257715702057,
0.18203721940517426,
-0.022267067804932594,
-0.11164077371358871,
-0.4744798243045807,
0.7858590483665466,
0.43247300386428833,
-0.6690781116485596,
0.7026332020759583,
-0.2800852954387665,
0.6910794377326965,
-0.5018541216850281,
-0.13906443119049072,
-0.27269190549850464,
0.24016250669956207,
0.1184520348906517,
-0.5989090204238892,
0.08870258927345276,
-0.1736859232187271,
-0.16872309148311615,
-0.20502181351184845,
0.5864485502243042,
-0.4220792353153229,
-0.575392484664917,
0.08807248622179031,
0.37054333090782166,
0.19255203008651733,
-0.14346612989902496,
-0.761492908000946,
0.0032040888909250498,
-0.06886120140552521,
-0.3926451504230499,
0.3446345031261444,
0.6822441816329956,
0.028861351311206818,
0.7910584807395935,
0.6038649082183838,
0.17355728149414062,
0.07465852797031403,
0.15598028898239136,
1.1207244396209717,
-0.4693896770477295,
-0.40862753987312317,
-1.2659178972244263,
0.6484693884849548,
-0.1708250194787979,
-0.20424845814704895,
0.39470234513282776,
0.27854663133621216,
0.8311705589294434,
0.1158868819475174,
0.6997540593147278,
-0.00039938956615515053,
0.02360006794333458,
-0.5742039084434509,
0.4255555272102356,
-0.41705071926116943,
0.4080835282802582,
-0.24349968135356903,
-1.149682879447937,
0.07516051083803177,
0.6979209780693054,
0.024095647037029266,
-0.1706928014755249,
0.8318567872047424,
0.36487042903900146,
0.1820400357246399,
-0.20776177942752838,
0.3169320523738861,
-0.06029936298727989,
0.6078993678092957,
0.8457070589065552,
0.87682044506073,
-0.20544631779193878,
0.659829318523407,
-0.22244413197040558,
-0.2872898578643799,
-0.12327605485916138,
-1.141754388809204,
-1.0799967050552368,
-0.33472007513046265,
-0.5670066475868225,
-0.30441048741340637,
0.19736646115779877,
0.8681557178497314,
0.7032124996185303,
-0.6856077313423157,
-0.1791199892759323,
-0.828036904335022,
0.13170476257801056,
-0.35933718085289,
-0.22879818081855774,
0.20078599452972412,
-0.6815035939216614,
-0.582229733467102,
0.13462285697460175,
0.5667025446891785,
-0.03752876818180084,
-0.5285150408744812,
-0.19672545790672302,
-0.1764170378446579,
0.09494420140981674,
0.5704304575920105,
-0.04065825417637825,
-0.955595076084137,
-0.44359755516052246,
-0.08904805779457092,
0.16714175045490265,
-0.0279168002307415,
0.9940574169158936,
-0.8769351840019226,
0.6612282991409302,
0.3631657361984253,
0.2221469283103943,
0.7605360746383667,
-0.17357760667800903,
0.6423125863075256,
-0.7182031273841858,
0.13051889836788177,
0.3902685344219208,
0.36622005701065063,
-0.06304052472114563,
0.06814730167388916,
0.3111671805381775,
0.5751159191131592,
-0.33248451352119446,
-1.0470210313796997,
0.2408463954925537,
-0.8034989833831787,
-0.4609309136867523,
0.9912862181663513,
-0.6451519131660461,
0.018273716792464256,
-0.16317836940288544,
-0.34932488203048706,
0.24603207409381866,
-0.29931920766830444,
1.1090718507766724,
1.036943793296814,
-0.1573290228843689,
0.0957832857966423,
-0.31024911999702454,
0.4054566025733948,
0.4150469899177551,
-0.3230830132961273,
0.04408030956983566,
0.1857946217060089,
0.5257664918899536,
0.36039233207702637,
0.692548930644989,
-0.12535177171230316,
-0.02822773903608322,
0.07602100074291229,
-0.10958003252744675,
-0.1609947681427002,
-0.3238619565963745,
-0.025456609204411507,
0.45940345525741577,
0.1881130337715149,
-0.4603663384914398
] |
http://arxiv.org/abs/2405.16057v1
|
http://arxiv.org/pdf/2405.16057v1
|
SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Models
| 2024-05-25T04:55:27 | 2024-05-25T04:55:27 |
Xudong Lu, Aojun Zhou, Yuhui Xu, Renrui Zhang, Peng Gao, Hongsheng Li
|
cs.CL
|
cs.CL, cs.LG
|
Large Language Models (LLMs) have become pivotal in advancing the field of
artificial intelligence, yet their immense sizes pose significant challenges
for both fine-tuning and deployment. Current post-training pruning methods,
while reducing the sizes of LLMs, often fail to maintain their original
performance. To address these challenges, this paper introduces SPP, a
Sparsity-Preserved Parameter-efficient fine-tuning method. Different from
existing post-training pruning approaches that struggle with performance
retention, SPP proposes to employ lightweight learnable column and row matrices
to optimize sparse LLM weights, keeping the structure and sparsity of pruned
pre-trained models intact. By element-wise multiplication and residual
addition, SPP ensures the consistency of model sparsity pattern and ratio
during both training and weight-merging processes. We demonstrate the
effectiveness of SPP by applying it to the LLaMA and LLaMA-2 model families
with recent post-training pruning methods. Our results show that SPP
significantly enhances the performance of models with different sparsity
patterns (i.e. unstructured and N:M sparsity), especially for those with high
sparsity ratios (e.g. 75%), making it a promising solution for the efficient
fine-tuning of sparse LLMs. Code will be made available at
https://github.com/Lucky-Lance/SPP.
|
[
-0.39301663637161255,
-0.6121762990951538,
0.12833456695079803,
0.3228820562362671,
-0.739335298538208,
0.10654843598604202,
-0.5971606373786926,
-0.016446348279714584,
0.2883705198764801,
0.45692452788352966,
-0.630289614200592,
-0.28459087014198303,
-0.5851797461509705,
0.13907204568386078,
-0.21456356346607208,
1.0348618030548096,
0.07937431335449219,
-0.08279857039451599,
0.20201905071735382,
-0.18319998681545258,
-0.1668262481689453,
-0.37222999334335327,
-0.7711405754089355,
-0.13353802263736725,
0.7089189291000366,
0.37220579385757446,
0.7375124096870422,
0.9972795248031616,
0.4876561760902405,
0.26626190543174744,
-0.31960317492485046,
0.8558589816093445,
-0.7848629355430603,
0.09699909389019012,
0.028103746473789215,
-0.2404884696006775,
-0.46085670590400696,
-0.20767679810523987,
1.0677474737167358,
0.8119909167289734,
-0.34785470366477966,
0.15432503819465637,
0.38829413056373596,
0.3803309500217438,
-0.5833857655525208,
0.03769939765334129,
-0.8400853872299194,
-0.045184992253780365,
-0.2962019145488739,
-0.6489605903625488,
-0.3430013954639435,
-0.26796719431877136,
-0.46510201692581177,
-0.6720177531242371,
0.1561758816242218,
0.09260255843400955,
1.011905312538147,
0.5902780294418335,
-0.11759628355503082,
0.32834193110466003,
-0.6926708221435547,
0.9745378494262695,
-0.7759919762611389,
0.43989524245262146,
0.37287700176239014,
0.061799075454473495,
-0.5204266309738159,
-0.47802498936653137,
-0.571495532989502,
-0.26368749141693115,
0.07402712851762772,
-0.2629756033420563,
-0.003085652133449912,
0.11712049692869186,
0.04873775690793991,
0.21894410252571106,
-0.5564584136009216,
0.3955965042114258,
-0.18976634740829468,
-0.19404251873493195,
0.5598570704460144,
0.09642960131168365,
0.11057823896408081,
0.35474255681037903,
-0.28015199303627014,
-0.03452712297439575,
-1.170292854309082,
-0.1930657923221588,
0.3234351575374603,
0.6370663046836853,
0.05662927404046059,
0.6110629439353943,
-0.11844555288553238,
0.7899098992347717,
-0.10127642005681992,
-0.3902346193790436,
0.0355321504175663,
-0.09766937792301178,
-0.031962405890226364,
-0.3272421658039093,
0.5763823390007019,
0.23668774962425232,
0.3061978816986084,
-0.15624666213989258,
-0.32816413044929504,
0.20029893517494202,
-0.056209612637758255,
-0.8757783770561218,
-0.2894079387187958,
-0.2497633695602417,
-0.47558653354644775,
-0.13728433847427368,
-0.2310301810503006,
-0.32818928360939026,
-0.26553457975387573,
-0.5122377276420593,
0.2934059202671051,
-0.5027961730957031,
-0.34001731872558594,
0.2703511714935303,
0.07321668416261673,
0.24719330668449402,
0.4630611538887024,
-0.9116760492324829,
0.5361944437026978,
1.1517924070358276,
0.6939189434051514,
-0.16587123274803162,
-0.4773809313774109,
-0.9557874798774719,
0.13071811199188232,
-0.3946528136730194,
0.6573570370674133,
-0.626533031463623,
-0.17097598314285278,
-0.2719344198703766,
0.0758412778377533,
-0.17713001370429993,
-0.49434536695480347,
0.5870872139930725,
-0.39449870586395264,
-0.43325385451316833,
-0.3401802182197571,
-0.4198318123817444,
0.1345149427652359,
0.18265582621097565,
-0.3351878821849823,
1.235221266746521,
0.03478305786848068,
-0.49555426836013794,
0.44800567626953125,
-0.019745608791708946,
-0.39493072032928467,
0.21246570348739624,
0.09336481243371964,
-0.6738670468330383,
0.24997985363006592,
0.049493394792079926,
0.519029438495636,
-0.14636631309986115,
0.24237605929374695,
-0.51845782995224,
-0.6662434935569763,
0.06029327213764191,
-0.4489915072917938,
0.2858579158782959,
0.12412673234939575,
0.1699828952550888,
0.1290138065814972,
-0.6592607498168945,
-0.2286718487739563,
0.15146654844284058,
-0.4608400762081146,
-0.3172191381454468,
0.2713724672794342,
-0.0021249717101454735,
0.05067736655473709,
0.23843266069889069,
-0.4899607002735138,
0.3956899642944336,
-0.48119744658470154,
0.5939717888832092,
0.7162959575653076,
-0.06289903819561005,
0.3234216868877411,
-0.3915991187095642,
0.2980217933654785,
-0.24866293370723724,
0.0944826677441597,
0.10219850391149521,
-0.2741382122039795,
-0.9313288927078247,
-0.6225456595420837,
0.3653354346752167,
0.2487935870885849,
-0.6048072576522827,
0.7160071134567261,
-0.3808163106441498,
-0.5716055631637573,
-0.3366357088088989,
0.3714635670185089,
0.3612041473388672,
0.3810344934463501,
0.3279767632484436,
-0.3579476475715637,
-0.47861969470977783,
-0.7085572481155396,
-0.18702208995819092,
0.0837351381778717,
0.0073083569295704365,
0.23848272860050201,
0.3467654287815094,
-0.24446475505828857,
0.8342997431755066,
-0.4227476418018341,
-0.1431332379579544,
-0.3967691957950592,
0.14872685074806213,
0.03527713194489479,
0.6849261522293091,
0.4796321988105774,
-0.5207052230834961,
-0.2480035424232483,
-0.020603006705641747,
-0.059214286506175995,
-0.2298276126384735,
0.06351540237665176,
-0.12252996861934662,
0.09923361986875534,
0.1930924355983734,
-0.9037212133407593,
0.020565100014209747,
0.38844120502471924,
-0.1388241946697235,
0.47116947174072266,
-0.2982390522956848,
-0.14651064574718475,
-0.9695315957069397,
0.09674348682165146,
0.21756485104560852,
-0.29003843665122986,
-0.49050265550613403,
-0.061619121581315994,
0.11908219754695892,
-0.03185829520225525,
-0.30544090270996094,
0.4214516878128052,
-0.425018310546875,
-0.3164101839065552,
-0.3272365629673004,
-0.14166484773159027,
-0.06434144079685211,
0.47238531708717346,
0.0674208328127861,
0.9027503728866577,
0.3170815408229828,
-0.6877195835113525,
-0.07769438624382019,
0.1422891765832901,
-0.08379007130861282,
0.1876639723777771,
-0.5832442045211792,
-0.04904750734567642,
-0.23936507105827332,
0.2728530168533325,
-0.7791126370429993,
-0.05532737076282501,
0.11517396569252014,
-0.29875433444976807,
0.5875399708747864,
-0.27130576968193054,
-0.6057016849517822,
-0.05866854637861252,
-0.5494322180747986,
0.13814771175384521,
0.4221031963825226,
-0.479634553194046,
0.46634525060653687,
0.37739309668540955,
-0.48137566447257996,
-0.707026481628418,
-0.4093199372291565,
0.0009845378808677197,
-0.32602763175964355,
-0.2595573365688324,
0.43680238723754883,
-0.11774000525474548,
0.029084840789437294,
-0.1669088900089264,
-0.1728280484676361,
-0.026404617354273796,
0.28988179564476013,
-0.005813025403767824,
0.28810906410217285,
-0.29035207629203796,
0.08315655589103699,
0.4383431673049927,
-0.2708480656147003,
-0.42969876527786255,
-0.10970530658960342,
0.8893155455589294,
-0.09081077575683594,
-0.18031376600265503,
-0.48575547337532043,
-0.03112921118736267,
0.4598693251609802,
-0.5227327346801758,
0.9606783986091614,
0.5772446990013123,
-0.32762211561203003,
-0.583060622215271,
-0.613125741481781,
-0.3734537363052368,
-0.5294966101646423,
0.5111580491065979,
-0.2561655640602112,
-1.2241296768188477,
0.23806092143058777,
-0.346362441778183,
0.12815627455711365,
0.22685889899730682,
0.28270071744918823,
0.08483458310365677,
0.8518267869949341,
0.7122442722320557,
-0.45924124121665955,
0.40932655334472656,
-0.11617591977119446,
0.15729305148124695,
-0.7283140420913696,
0.04353819787502289,
-0.6642744541168213,
-0.24031318724155426,
-0.19209642708301544,
-0.5273305773735046,
0.14073903858661652,
0.20023876428604126,
-0.3661477863788605,
0.3611181378364563,
-0.48398953676223755,
0.6010159254074097,
0.09720287472009659,
-0.042784519493579865,
0.201391339302063,
0.24418118596076965,
0.2613089382648468,
-0.11573988199234009,
-0.712069571018219,
-0.4589296579360962,
0.7599815726280212,
0.43200454115867615,
0.5997382998466492,
-0.08710110187530518,
0.516836941242218,
0.14665013551712036,
0.26762425899505615,
-0.6757379174232483,
0.8248393535614014,
-0.46767523884773254,
0.13971690833568573,
-0.45151859521865845,
-0.6941496133804321,
-0.9338977336883545,
0.4297298789024353,
-0.32385221123695374,
-0.5636345148086548,
0.10829423367977142,
0.35449454188346863,
-0.5252073407173157,
0.30663153529167175,
-0.42009589076042175,
0.5729407668113708,
-0.16262859106063843,
-0.4145781695842743,
-0.46600472927093506,
-0.45219457149505615,
0.30834102630615234,
-0.09487847983837128,
-0.06923750042915344,
-0.43451640009880066,
-0.3883454203605652,
0.6236594915390015,
-0.5992496609687805,
0.8031050562858582,
-0.1542120724916458,
-0.06006710231304169,
-0.13069026172161102,
0.14479784667491913,
0.6700895428657532,
0.05867496877908707,
-0.0976172462105751,
0.048061419278383255,
-0.14872249960899353,
-0.09297893196344376,
-0.43473297357559204,
0.8507832884788513,
-0.8708509802818298,
-0.3956810235977173,
-0.10630681365728378,
-0.5965558886528015,
-0.28399503231048584,
0.19452878832817078,
-0.18110182881355286,
0.45787566900253296,
0.09143300354480743,
0.5124872326850891,
0.9007838368415833,
-0.25287190079689026,
0.3797692656517029,
0.8221791386604309,
0.1989780217409134,
-0.428611159324646,
1.2113115787506104,
0.24619974195957184,
-0.020752374082803726,
0.5170828104019165,
0.11917854845523834,
-0.17758946120738983,
-0.8512786626815796,
-0.3240651488304138,
0.5111281275749207,
-0.10096346586942673,
-0.5993794798851013,
-0.43492332100868225,
-0.30599263310432434,
-0.18647751212120056,
-0.1382695883512497,
-0.5868029594421387,
-0.6143520474433899,
-0.44688326120376587,
-0.006330150179564953,
0.546773374080658,
0.4100548326969147,
-0.005278498400002718,
0.7001732587814331,
-0.7058255076408386,
0.26396599411964417,
0.0635116770863533,
0.5463701486587524,
-0.16184309124946594,
-0.6325733661651611,
-0.0672580897808075,
-0.04220955818891525,
-0.04345414415001869,
-0.4400900602340698,
0.6868087649345398,
0.6451866030693054,
0.33393073081970215,
0.4260931611061096,
-0.03418506681919098,
0.8228836059570312,
-0.43531984090805054,
0.5339245200157166,
-0.09183084964752197,
-0.8242979645729065,
0.22831867635250092,
-0.45326557755470276,
-0.0854487344622612,
0.5495516657829285,
0.17612339556217194,
-0.33759450912475586,
-0.16966545581817627,
-0.1872672736644745,
-0.864193856716156,
0.7400004267692566,
-0.004255778156220913,
-0.08463635295629501,
0.17453663051128387,
0.5523454546928406,
0.21921680867671967,
0.21336384117603302,
-0.5536823868751526,
-0.010902111418545246,
0.09927595406770706,
-0.30986353754997253,
-0.32906851172447205,
-0.5785532593727112,
-0.00781421922147274,
-0.4054107964038849,
0.8209311962127686,
-0.1553720235824585,
-0.27495187520980835,
-0.2752310335636139,
-0.14167527854442596,
-0.2795742154121399,
0.13146528601646423,
0.5655475854873657,
0.3409755825996399,
-0.11104563623666763,
0.14555484056472778,
0.40889111161231995,
-0.5221400856971741,
0.012553825043141842,
0.37004998326301575,
-0.18765024840831757,
-0.27558138966560364,
0.04385146498680115,
0.6421278119087219,
0.4917196035385132,
-0.5592103600502014,
0.38127267360687256,
-0.07689402252435684,
-0.17343005537986755,
-0.0787656381726265,
0.1299937665462494,
-0.009054729714989662,
0.027279404923319817,
0.3459489643573761,
0.24912624061107635,
-0.060823146253824234,
-0.14161044359207153,
0.08475299179553986,
0.5928308367729187,
0.16674500703811646,
-0.2174743264913559,
0.42144307494163513,
0.09870753437280655,
-0.22487688064575195,
0.36232584714889526,
-0.14265963435173035,
-0.35329991579055786,
0.43207988142967224,
0.5853558778762817,
0.46246767044067383,
-0.3948955237865448,
0.16477659344673157,
0.15123817324638367,
0.49930647015571594,
-0.46335697174072266,
0.18476799130439758,
-0.3005549907684326,
-0.6976770162582397,
-0.5456997752189636,
-1.0073837041854858,
-0.3761984705924988,
0.16458351910114288,
-0.327792763710022,
0.2841167747974396,
-0.6488511562347412,
-0.08903128653764725,
-0.22941048443317413,
0.2613227367401123,
-0.13966017961502075,
0.18306587636470795,
0.18182945251464844,
0.9989550113677979,
-0.9383024573326111,
0.9819229245185852,
0.3907761871814728,
-0.11260208487510681,
-1.0360660552978516,
-0.19080623984336853,
-0.296265572309494,
-0.5662972331047058,
0.14026211202144623,
0.1863773763179779,
-0.2993611693382263,
0.05782448500394821,
-0.5006974935531616,
-1.2821009159088135,
0.9197935461997986,
0.8661934733390808,
-0.6995078921318054,
0.3362727463245392,
0.28271856904029846,
0.4563666880130768,
0.017078010365366936,
-0.046900518238544464,
0.6834031343460083,
0.34314003586769104,
0.0659218430519104,
-0.9146790504455566,
-0.02662721648812294,
-0.44041991233825684,
0.18927769362926483,
0.49070465564727783,
-0.9027103781700134,
0.8418881297111511,
0.23446974158287048,
-0.11127477884292603,
0.3028157949447632,
0.8030717372894287,
0.6530123353004456,
0.03895757347345352,
0.5590837597846985,
0.7288387417793274,
0.8667047023773193,
-0.22626695036888123,
0.5363238453865051,
-0.5544679760932922,
0.2054075300693512,
0.8032886981964111,
-0.4985021948814392,
1.091679334640503,
0.42046335339546204,
-0.12671709060668945,
0.2250952422618866,
0.5243245959281921,
-0.05928313732147217,
0.38373053073883057,
0.2659865617752075,
-0.2221115231513977,
-0.38152289390563965,
-0.225204735994339,
-0.48550206422805786,
0.3301403224468231,
0.591828465461731,
0.004445651546120644,
-0.12371231615543365,
-0.16772449016571045,
0.06407354027032852,
-0.012822100892663002,
-0.5329448580741882,
0.5006880164146423,
0.17129160463809967,
-0.6513416767120361,
0.7732066512107849,
0.27054789662361145,
0.8930348753929138,
-0.925303041934967,
-0.04342850670218468,
-0.3003793954849243,
0.5058077573776245,
-0.3100411891937256,
-0.4245383143424988,
0.3626119792461395,
-0.02631198614835739,
0.009219525381922722,
-0.28263816237449646,
0.981856107711792,
-0.5688401460647583,
-0.3879803419113159,
0.0352071113884449,
0.15636475384235382,
0.08507637679576874,
0.12111514061689377,
-0.47960278391838074,
0.4925260841846466,
-0.2523406147956848,
-0.19946838915348053,
0.5568432807922363,
0.2301139533519745,
0.030658939853310585,
0.8835601806640625,
0.6366501450538635,
0.45520085096359253,
-0.01882271096110344,
0.03963099420070648,
1.180363416671753,
-0.1858893781900406,
-0.3757728636264801,
-0.7877786755561829,
0.2720962166786194,
0.024679308757185936,
-0.40156424045562744,
0.8202831745147705,
0.7437580823898315,
0.47685471177101135,
0.030314551666378975,
0.36726415157318115,
0.33146753907203674,
0.6512600183486938,
-0.37403756380081177,
0.83518385887146,
-0.5065841674804688,
0.2753339409828186,
-0.1607561856508255,
-0.8909896016120911,
-0.4768160283565521,
0.6040679216384888,
-0.20614291727542877,
-0.03748471289873123,
0.06878184527158737,
1.125881552696228,
-0.1473827213048935,
-0.13682544231414795,
0.13835880160331726,
0.08314447104930878,
0.049572497606277466,
0.31380990147590637,
0.670266330242157,
0.030894802883267403,
0.44694483280181885,
-0.19672124087810516,
-0.2537822127342224,
-0.16282758116722107,
-0.6022285223007202,
-0.6861482262611389,
-0.3257395923137665,
-0.2878953516483307,
0.004459833260625601,
0.34593793749809265,
1.0518907308578491,
0.8139879107475281,
-0.6445026993751526,
-0.2154022455215454,
-0.2205720990896225,
-0.19492512941360474,
-0.20365692675113678,
-0.174690380692482,
0.3234138786792755,
-0.2612687051296234,
-0.35306689143180847,
0.6489183306694031,
0.3630279302597046,
-0.021674545481801033,
-0.13584941625595093,
-0.24309109151363373,
0.06380114704370499,
0.11664129048585892,
0.5803842544555664,
0.5300970673561096,
-0.5217235088348389,
-0.0403665155172348,
-0.25142818689346313,
0.11674398183822632,
-0.24868081510066986,
0.5633141398429871,
-0.656301736831665,
-0.2665841281414032,
0.2485996037721634,
0.7792606949806213,
0.45338448882102966,
0.15753909945487976,
0.5496291518211365,
-0.9556126594543457,
0.4391508400440216,
0.32885032892227173,
0.647154688835144,
0.46626636385917664,
-0.22548042237758636,
0.3264065384864807,
0.22422246634960175,
-0.5387260913848877,
-1.1504842042922974,
0.08156858384609222,
-1.1198269128799438,
-0.19636550545692444,
1.146788477897644,
-0.0688624382019043,
-0.150570347905159,
0.11076498031616211,
-0.33249735832214355,
0.38232943415641785,
-0.38705068826675415,
0.6158084273338318,
0.10039223730564117,
0.2593223452568054,
-0.46438419818878174,
-0.020872225984930992,
0.6785970330238342,
0.739797830581665,
-0.5681739449501038,
0.26703399419784546,
0.4132358431816101,
0.31507694721221924,
-0.31465965509414673,
0.4994717240333557,
0.14919660985469818,
0.1039045974612236,
-0.12277356535196304,
-0.12384887039661407,
-0.29024749994277954,
-0.5336703658103943,
-0.33819523453712463,
0.2441006302833557,
0.3252815902233124,
0.005383800249546766
] |
http://arxiv.org/abs/2405.16043v1
|
http://arxiv.org/pdf/2405.16043v1
|
Theoretical Analysis of Weak-to-Strong Generalization
| 2024-05-25T03:48:12 | 2024-05-25T03:48:12 |
Hunter Lang, David Sontag, Aravindan Vijayaraghavan
|
cs.LG
|
cs.LG, cs.CL, stat.ML
|
Strong student models can learn from weaker teachers: when trained on the
predictions of a weaker model, a strong pretrained student can learn to correct
the weak model's errors and generalize to examples where the teacher is not
confident, even when these examples are excluded from training. This enables
learning from cheap, incomplete, and possibly incorrect label information, such
as coarse logical rules or the generations of a language model. We show that
existing weak supervision theory fails to account for both of these effects,
which we call pseudolabel correction and coverage expansion, respectively. We
give a new bound based on expansion properties of the data distribution and
student hypothesis class that directly accounts for pseudolabel correction and
coverage expansion. Our bounds capture the intuition that weak-to-strong
generalization occurs when the strong model is unable to fit the mistakes of
the weak teacher without incurring additional error. We show that these
expansion properties can be checked from finite data and give empirical
evidence that they hold in practice.
|
[
-0.223281592130661,
-0.7514692544937134,
0.6765581369400024,
-0.2560814321041107,
0.0524294450879097,
-0.25007185339927673,
-0.43712836503982544,
-0.3609585464000702,
-0.04832843691110611,
0.2602396309375763,
0.002724706195294857,
-0.36761850118637085,
-0.9817560315132141,
-0.26950889825820923,
-0.4397125542163849,
1.1669315099716187,
-0.09556390345096588,
0.12142083793878555,
-0.03202059492468834,
-0.13082025945186615,
-0.4999345541000366,
-0.3905061185359955,
0.009389247745275497,
-0.27465760707855225,
0.5939818620681763,
0.8468869924545288,
0.9443114995956421,
0.37214037775993347,
0.5167586803436279,
0.30091592669487,
-0.11124296486377716,
-0.10782773047685623,
-0.7690280675888062,
-0.43428197503089905,
-0.3223349452018738,
-0.8555000424385071,
-0.5101178884506226,
0.08906105160713196,
1.0149716138839722,
1.195971965789795,
-0.06724966317415237,
-0.2670905292034149,
0.0054656825959682465,
0.406093567609787,
-0.5691887736320496,
-0.12554678320884705,
-0.4338887333869934,
-0.15191099047660828,
-0.027813034132122993,
0.14596863090991974,
-0.4880966544151306,
-0.313670814037323,
0.48083430528640747,
-0.4143148362636566,
0.7108141779899597,
-0.3091265559196472,
1.1211899518966675,
-0.033336348831653595,
-0.8316960334777832,
-0.3205486238002777,
-1.0663877725601196,
1.0199626684188843,
-0.6364431381225586,
0.21028651297092438,
0.7353301048278809,
0.4476320445537567,
-0.21616975963115692,
-0.7822098135948181,
-0.2974480986595154,
0.049724090844392776,
-0.3009375333786011,
0.08907374739646912,
-0.02001204714179039,
0.48453807830810547,
0.47807577252388,
0.7540884017944336,
-0.21538951992988586,
-0.13786937296390533,
-0.778555691242218,
-0.05837974324822426,
0.5348693132400513,
-0.32665082812309265,
0.46525144577026367,
0.3023739457130432,
-0.4190470278263092,
-0.3497539758682251,
-0.5252622961997986,
0.007230835501104593,
0.48242834210395813,
0.40226083993911743,
-0.18287427723407745,
0.6091665625572205,
0.18172159790992737,
0.7967309355735779,
-0.20623108744621277,
-0.1493586301803589,
0.11956607550382614,
-0.16875508427619934,
-0.14831291139125824,
-0.039671339094638824,
0.41613638401031494,
0.12650226056575775,
0.2880248427391052,
-0.4782857596874237,
-0.24467988312244415,
0.3116385340690613,
0.13053420186042786,
-0.6556200981140137,
-0.423643559217453,
-0.1657649725675583,
-0.36643266677856445,
-0.16721417009830475,
0.32513949275016785,
-0.802754282951355,
-0.13160640001296997,
-0.2732428014278412,
0.6326857805252075,
-0.031153962016105652,
-0.4522148370742798,
0.09953820705413818,
-0.36562642455101013,
0.2300252467393875,
-0.062079623341560364,
-0.8599063158035278,
0.5927748680114746,
0.1425158828496933,
0.4056715667247772,
0.14230811595916748,
-0.3955305814743042,
0.00268039433285594,
0.026858465746045113,
-0.5845010876655579,
0.5793134570121765,
-0.3022996485233307,
-0.4448573887348175,
-0.11309139430522919,
-0.07583460956811905,
-0.10917136818170547,
-0.5326923727989197,
0.5498836040496826,
-0.4423448443412781,
0.07685191184282303,
-0.37236934900283813,
-0.7186177968978882,
0.09965158998966217,
-0.17576174437999725,
-0.3938068449497223,
0.6249265074729919,
0.6184830665588379,
-0.8731241822242737,
0.5899977087974548,
0.002296996535733342,
-0.3810437023639679,
-0.4482211470603943,
0.12602107226848602,
-1.0024492740631104,
0.4121687412261963,
-0.16041062772274017,
0.3076919913291931,
-0.263174444437027,
0.48272064328193665,
-0.6800771355628967,
-0.7706953883171082,
0.14642678201198578,
-0.08580929785966873,
0.8898215889930725,
-0.058133237063884735,
-0.3232528865337372,
0.026087945327162743,
-0.6561087369918823,
0.07740548998117447,
0.37530452013015747,
-0.2454460710287094,
-0.6369118094444275,
-0.031139196828007698,
-0.35477349162101746,
-0.2536804676055908,
-0.24453769624233246,
-0.20420517027378082,
0.5049115419387817,
-0.3701789677143097,
0.006749475374817848,
0.5967315435409546,
0.0016421342734247446,
0.9022828340530396,
-0.11640066653490067,
0.31186437606811523,
-0.12061291188001633,
0.028084691613912582,
-0.13663053512573242,
-0.2859449088573456,
-0.8073652982711792,
-0.19952034950256348,
0.8230440616607666,
0.3954360783100128,
-0.6041176915168762,
-0.05815792828798294,
-0.17603880167007446,
-0.582941472530365,
-0.12268980592489243,
0.6271778345108032,
0.5120984315872192,
0.5029354095458984,
0.6594929695129395,
-0.2605553865432739,
-0.5961174368858337,
-0.8784521818161011,
-0.4219878613948822,
-0.40467801690101624,
-0.055459439754486084,
0.1587778925895691,
0.5329955816268921,
-0.5044971704483032,
1.0347288846969604,
-0.6196447610855103,
-0.32164034247398376,
-0.37374719977378845,
0.14899277687072754,
0.2009396255016327,
0.5657626986503601,
0.7473164200782776,
-0.7276849746704102,
-0.08455356955528259,
-0.3770711123943329,
-0.8273300528526306,
0.0008213966502808034,
-0.07044307887554169,
-0.10354223847389221,
-0.4379338026046753,
0.3448944389820099,
-0.39966702461242676,
0.6873056888580322,
0.3240404427051544,
-0.5133142471313477,
0.6202203035354614,
-0.35021597146987915,
-0.41222435235977173,
-0.7815878391265869,
-0.47529342770576477,
0.24741671979427338,
0.11690791696310043,
-0.8078842759132385,
0.01468753907829523,
0.2735340893268585,
-0.13276304304599762,
-0.13218581676483154,
0.3393506109714508,
-0.516494870185852,
-0.2006351798772812,
-0.46181973814964294,
-0.2275923192501068,
-0.2923855483531952,
0.2974284291267395,
-0.02136150933802128,
0.41385123133659363,
0.7450502514839172,
-0.7753007411956787,
0.1726815104484558,
-0.021153198555111885,
0.04321099817752838,
0.35405904054641724,
-0.8184763193130493,
-0.10854034125804901,
-0.15243451297283173,
0.44892770051956177,
-1.113282322883606,
-0.3912685215473175,
0.03194493055343628,
-0.22426383197307587,
0.5215663909912109,
-0.5488551259040833,
-0.37825050950050354,
-0.6531633138656616,
0.11307454109191895,
0.5697221755981445,
0.6088038682937622,
-0.7428393363952637,
0.49429067969322205,
0.11988113075494766,
0.16889360547065735,
-0.42637160420417786,
-0.7715385556221008,
-0.1717790961265564,
-0.3328147232532501,
-0.4579005539417267,
0.14691248536109924,
0.1711191087961197,
-0.6039482355117798,
0.10078746825456619,
-0.20522792637348175,
-0.4509347975254059,
0.11814001947641373,
0.10996080935001373,
0.22347262501716614,
-0.31712237000465393,
0.2990114688873291,
0.07073524594306946,
0.015827959403395653,
0.26664888858795166,
-0.2825140357017517,
-0.10654178261756897,
-0.3590054512023926,
-0.23867341876029968,
-0.06703045219182968,
-0.08974283188581467,
0.13386529684066772,
0.19473350048065186,
0.6745496392250061,
0.13586921989917755,
-0.3296875059604645,
-0.6903175115585327,
-0.23218268156051636,
-0.667406439781189,
-0.4845987558364868,
0.2597028911113739,
-0.30178767442703247,
-0.2214890420436859,
0.2807001769542694,
-0.13729366660118103,
-0.12175504118204117,
0.5360184907913208,
0.17524679005146027,
-0.21327745914459229,
0.7544362545013428,
0.8419637084007263,
0.2978152334690094,
0.34170040488243103,
-0.6285680532455444,
0.05468069016933441,
-0.30206191539764404,
0.09131176769733429,
-0.4144591689109802,
-0.40632984042167664,
-0.6209903955459595,
-0.18772956728935242,
-0.16578128933906555,
0.47176340222358704,
0.10068705677986145,
0.40420350432395935,
-0.29242223501205444,
0.6447440981864929,
0.7255924940109253,
0.20005138218402863,
-0.17831028997898102,
-0.1840599775314331,
0.06519979983568192,
-0.19891038537025452,
-0.8916128873825073,
-0.24377280473709106,
1.4294888973236084,
0.4688263535499573,
0.7849039435386658,
0.3428064286708832,
0.6805346608161926,
0.15783067047595978,
0.6592145562171936,
-0.9162116646766663,
0.28141993284225464,
0.07831436395645142,
-0.8257374167442322,
-0.2816619873046875,
-0.7255575060844421,
-0.898890495300293,
0.3308805525302887,
-0.2202553004026413,
-0.2948424220085144,
0.7830032706260681,
0.5081160068511963,
0.2476380169391632,
0.6287988424301147,
-1.3662678003311157,
0.6843675971031189,
-0.33223649859428406,
-0.45476630330085754,
0.09320338070392609,
-0.6169307231903076,
0.6978936791419983,
-0.15419945120811462,
0.2613903880119324,
0.3273454010486603,
0.44705045223236084,
0.9403153657913208,
-0.6737673282623291,
1.1461156606674194,
-0.5802023410797119,
-0.12323909252882004,
0.7174769639968872,
-0.1587061882019043,
0.5129684805870056,
-0.10735906660556793,
0.1405600905418396,
0.0077288392931222916,
-0.19803236424922943,
-1.195670485496521,
-0.6419390439987183,
0.06031890586018562,
-0.9226948022842407,
-0.5006610751152039,
-0.4987231492996216,
-0.41148120164871216,
-0.5838891267776489,
0.3164377808570862,
0.4751504361629486,
0.24488040804862976,
-0.055412039160728455,
0.1983935385942459,
0.7945295572280884,
0.03589123114943504,
0.049196433275938034,
0.45219042897224426,
-0.24194194376468658,
-0.19236285984516144,
1.0864676237106323,
0.5403295159339905,
0.4378564953804016,
-0.25464099645614624,
0.4806593060493469,
-0.14168550074100494,
-0.5617677569389343,
0.07681353390216827,
0.5473501682281494,
-0.7967726588249207,
0.042161572724580765,
-0.2148297280073166,
0.10016918927431107,
-0.3073590099811554,
-0.2631281316280365,
-0.27952995896339417,
-0.2983551323413849,
-0.26653069257736206,
-0.3526476323604584,
-0.1604400873184204,
0.9563329815864563,
-0.10772307217121124,
0.73358553647995,
-0.13254903256893158,
0.3883223831653595,
0.7373206615447998,
0.3289256989955902,
0.09801911562681198,
-0.7425553202629089,
-0.31575775146484375,
0.013914987444877625,
-0.40451979637145996,
-1.192764401435852,
-0.08275985717773438,
0.16562747955322266,
0.36125656962394714,
0.8850493431091309,
0.20444034039974213,
0.6174838542938232,
-0.19087259471416473,
0.32425791025161743,
0.4351109266281128,
-0.7329680323600769,
0.6369779109954834,
-0.35650500655174255,
0.023487303406000137,
0.26426008343696594,
0.23476146161556244,
0.05681334435939789,
-0.5247485041618347,
-1.1543296575546265,
-0.7886427640914917,
0.516778290271759,
0.10134068131446838,
0.2520032823085785,
0.1553887575864792,
0.6215264797210693,
-0.1781879961490631,
-0.22943805158138275,
-0.7905423045158386,
-0.41955024003982544,
-0.5312224626541138,
0.0006916997372172773,
-0.4549297094345093,
-0.6697992086410522,
-0.07257252931594849,
-0.3498399257659912,
0.6269491910934448,
-0.14629587531089783,
0.2645135521888733,
0.15874291956424713,
-0.2160864919424057,
-0.05552312731742859,
0.5446823835372925,
0.5368665456771851,
0.8378319144248962,
-0.3422136604785919,
0.6890488266944885,
0.44272246956825256,
-0.2752634882926941,
0.3491118848323822,
0.21356971561908722,
-0.009547451511025429,
-0.00449048075824976,
0.6458613872528076,
0.7100710272789001,
0.3544883131980896,
-0.3651302754878998,
0.7237398624420166,
-0.04925597086548805,
-0.3982928395271301,
-0.05176536366343498,
0.16343306005001068,
-0.23027388751506805,
0.0153557900339365,
0.5168401002883911,
0.1265902817249298,
0.019360003992915154,
-0.7588680982589722,
0.5147988796234131,
0.20200857520103455,
-0.5227926969528198,
-0.7449504137039185,
0.5335770845413208,
-0.07311903685331345,
0.11812383681535721,
0.47299739718437195,
-0.07717329263687134,
-0.629768967628479,
0.8731505274772644,
0.9483412504196167,
0.1934548020362854,
-0.35063156485557556,
0.23428377509117126,
0.41773277521133423,
0.4152616858482361,
-0.42781707644462585,
-0.12824086844921112,
0.05837817117571831,
-0.7013096213340759,
-0.31403735280036926,
-0.051418814808130264,
-0.5137136578559875,
-0.018977493047714233,
-0.7738653421401978,
0.20323988795280457,
-0.6508049368858337,
-0.3446754217147827,
-0.09256536513566971,
0.03123834729194641,
-0.4062146246433258,
0.7942736148834229,
-0.2662420868873596,
0.43194007873535156,
-1.228500247001648,
0.7979608774185181,
0.6707278490066528,
-0.43718141317367554,
-1.1582492589950562,
0.08396722376346588,
-0.13636860251426697,
-0.48785874247550964,
0.8164426684379578,
-0.12761086225509644,
0.23076537251472473,
-0.2709047496318817,
-0.4836965501308441,
-0.5548425912857056,
0.632208526134491,
0.3508448302745819,
-0.563077449798584,
-0.27560779452323914,
0.07421544939279556,
0.6588643789291382,
0.15421195328235626,
0.25701165199279785,
0.2401587814092636,
0.2987540364265442,
0.1660129725933075,
-0.5015136003494263,
-0.16367891430854797,
0.04660975933074951,
-0.08702536672353745,
0.25036805868148804,
-0.4998302459716797,
0.9011970162391663,
-0.5980595946311951,
-0.13179071247577667,
-0.31720975041389465,
0.9229034185409546,
-0.22248099744319916,
0.5337786078453064,
0.5584732890129089,
0.6263789534568787,
0.8064250946044922,
-0.3392878472805023,
1.2933865785598755,
0.24785417318344116,
0.6749909520149231,
1.1413493156433105,
0.20755821466445923,
0.40134379267692566,
0.39242297410964966,
-0.41864338517189026,
0.3511247932910919,
0.5721808671951294,
-0.3244430124759674,
0.4897952377796173,
0.31920957565307617,
0.0159083791077137,
-0.13030891120433807,
0.0776909813284874,
-0.5998529195785522,
0.12083066254854202,
0.3200465440750122,
-0.5905295610427856,
-0.20389629900455475,
-0.01572292484343052,
-0.019092919304966927,
-0.017359083518385887,
-0.5001178979873657,
0.5661449432373047,
0.2777706980705261,
-0.387790709733963,
0.7622331380844116,
0.029854299500584602,
0.40816208720207214,
-0.4466303884983063,
0.11218224465847015,
-0.13704802095890045,
0.5350350737571716,
-0.3577960729598999,
-0.5108481049537659,
0.2456493079662323,
-0.19546392560005188,
-0.1400275081396103,
-0.0983860045671463,
1.1070798635482788,
-0.33261972665786743,
-0.4407709538936615,
0.35929515957832336,
0.22864830493927002,
0.041464854031801224,
0.4439906179904938,
-0.2847829759120941,
-0.1667245775461197,
0.041486259549856186,
-0.23734629154205322,
0.28963184356689453,
0.1673651486635208,
-0.11069261282682419,
0.2581322491168976,
0.45768043398857117,
0.4883943200111389,
0.20498672127723694,
-0.20158453285694122,
0.7500200271606445,
-0.3083360493183136,
-0.2476072609424591,
-0.6342057585716248,
0.2672399580478668,
0.05513459071516991,
-0.29988253116607666,
0.8618923425674438,
0.36713847517967224,
0.8424122929573059,
0.0972638949751854,
0.728837788105011,
0.26710379123687744,
0.34240585565567017,
-0.24080203473567963,
0.2522357106208801,
-0.4786584973335266,
0.30794453620910645,
-0.5848118662834167,
-1.1253539323806763,
-0.41576719284057617,
0.6661970019340515,
-0.9626688361167908,
0.20478315651416779,
0.582547128200531,
0.45006176829338074,
-0.48217591643333435,
-0.1663372665643692,
0.3723543584346771,
0.40845414996147156,
0.1492176651954651,
0.31798243522644043,
0.6893925666809082,
-0.5978040099143982,
0.5886098146438599,
-0.40327781438827515,
-0.3938120901584625,
-0.10473840683698654,
-0.2905992865562439,
-1.1416572332382202,
-0.31659427285194397,
-0.3318488299846649,
-0.8687512874603271,
0.17029716074466705,
0.22184880077838898,
0.8104614615440369,
-0.7878460884094238,
-0.09330280125141144,
-0.30332642793655396,
0.4044007956981659,
-0.16431359946727753,
-0.24252042174339294,
0.5372316837310791,
-0.24241730570793152,
-0.4957626461982727,
0.29517272114753723,
-0.5358901023864746,
0.6387615203857422,
0.147248774766922,
-0.3067091107368469,
0.18483835458755493,
0.35980018973350525,
0.11741311848163605,
0.7758464813232422,
-0.2552819848060608,
0.2449502944946289,
-0.5619611740112305,
-0.08355644345283508,
-0.049355510622262955,
0.8550581932067871,
-0.4125312566757202,
0.5185235738754272,
0.20773552358150482,
0.6255385279655457,
0.5220077037811279,
0.055090032517910004,
0.4753514230251312,
-0.8442925810813904,
0.3135206401348114,
0.029276395216584206,
0.22367073595523834,
0.11581878364086151,
-0.008105442859232426,
0.43373391032218933,
0.5670281648635864,
-0.3230963349342346,
-1.2797150611877441,
0.43713706731796265,
-0.3804280757904053,
-0.5488863587379456,
1.0538016557693481,
-0.35631173849105835,
-0.1590600460767746,
-0.038571830838918686,
-0.04648234322667122,
0.30124881863594055,
-0.06348742544651031,
0.7599880695343018,
0.6777231097221375,
0.27879124879837036,
0.005061626434326172,
-0.5107554197311401,
0.4445132613182068,
0.7369427680969238,
-0.5697334408760071,
-0.10877616703510284,
0.24385936558246613,
0.37202388048171997,
0.08932168036699295,
0.42489269375801086,
0.16309770941734314,
0.4058498740196228,
0.19236305356025696,
-0.24994735419750214,
0.28281864523887634,
-0.3913540244102478,
-0.12100474536418915,
0.31589335203170776,
0.22683383524417877,
0.23378972709178925
] |
http://arxiv.org/abs/2405.16042v1
|
http://arxiv.org/pdf/2405.16042v1
|
Incremental Comprehension of Garden-Path Sentences by Large Language Models: Semantic Interpretation, Syntactic Re-Analysis, and Attention
| 2024-05-25T03:36:13 | 2024-05-25T03:36:13 |
Andrew Li, Xianle Feng, Siddhant Narang, Austin Peng, Tianle Cai, Raj Sanjay Shah, Sashank Varma
|
cs.CL
|
cs.CL
|
When reading temporarily ambiguous garden-path sentences, misinterpretations
sometimes linger past the point of disambiguation. This phenomenon has
traditionally been studied in psycholinguistic experiments using online
measures such as reading times and offline measures such as comprehension
questions. Here, we investigate the processing of garden-path sentences and the
fate of lingering misinterpretations using four large language models (LLMs):
GPT-2, LLaMA-2, Flan-T5, and RoBERTa. The overall goal is to evaluate whether
humans and LLMs are aligned in their processing of garden-path sentences and in
the lingering misinterpretations past the point of disambiguation, especially
when extra-syntactic information (e.g., a comma delimiting a clause boundary)
is present to guide processing. We address this goal using 24 garden-path
sentences that have optional transitive and reflexive verbs leading to
temporary ambiguities. For each sentence, there are a pair of comprehension
questions corresponding to the misinterpretation and the correct
interpretation. In three experiments, we (1) measure the dynamic semantic
interpretations of LLMs using the question-answering task; (2) track whether
these models shift their implicit parse tree at the point of disambiguation (or
by the end of the sentence); and (3) visualize the model components that attend
to disambiguating information when processing the question probes. These
experiments show promising alignment between humans and LLMs in the processing
of garden-path sentences, especially when extra-syntactic information is
available to guide processing.
|
[
-0.3733587861061096,
-1.2790732383728027,
1.0818346738815308,
0.13685205578804016,
-0.16481822729110718,
-0.05660271644592285,
-0.039726100862026215,
-0.6190358996391296,
-0.1590937227010727,
0.4637296795845032,
-1.0653804540634155,
-0.1720253974199295,
-0.5495474934577942,
0.3369429111480713,
-0.4574059247970581,
0.7308667898178101,
-0.2373732328414917,
-0.16862265765666962,
-0.1554834544658661,
-0.2116304486989975,
-0.665122389793396,
-0.2659701108932495,
-0.3221495747566223,
-0.4263266921043396,
0.7603691220283508,
0.23203937709331512,
1.0232243537902832,
0.7138919234275818,
0.3560646176338196,
0.32982736825942993,
-0.26147016882896423,
-0.10270475596189499,
-0.24072833359241486,
0.40986254811286926,
-0.3089665174484253,
-0.6004729270935059,
-0.0126650994643569,
-0.00923042744398117,
0.8166723847389221,
1.1404032707214355,
0.13543154299259186,
0.04487444832921028,
0.004083854146301746,
0.3966543674468994,
-0.3336082100868225,
-0.05493992939591408,
-0.5936746597290039,
0.2526605427265167,
-0.07865355163812637,
-0.44515860080718994,
-0.4863995611667633,
-0.1774907261133194,
0.4186083674430847,
-0.45626670122146606,
0.1504615992307663,
-0.1342802345752716,
0.8694499135017395,
0.4545377492904663,
-0.45495733618736267,
-0.041749753057956696,
-0.4987780451774597,
0.42228400707244873,
-0.41812703013420105,
0.3319382965564728,
0.17951759696006775,
0.2104874700307846,
-0.3579470217227936,
-0.3912944793701172,
-0.666918158531189,
-0.3689783811569214,
-0.328304260969162,
0.09690747410058975,
-0.1737886369228363,
-0.04618234932422638,
0.399277925491333,
0.05483857914805412,
-0.7083497047424316,
-0.12853117287158966,
0.07022185623645782,
0.04048524424433708,
0.2274911254644394,
0.27033647894859314,
0.3047182261943817,
-0.3593481183052063,
-0.32819730043411255,
-0.03928115591406822,
-0.5997389554977417,
0.027983495965600014,
0.09474524110555649,
0.008307963609695435,
0.2178870588541031,
0.6939664483070374,
0.06216397508978844,
0.8705832958221436,
0.06432555615901947,
0.12141087651252747,
0.18206503987312317,
-0.7293254137039185,
-0.20486219227313995,
-0.2252430021762848,
0.5145344734191895,
0.3412817120552063,
0.5611988306045532,
-0.29451867938041687,
0.0926055833697319,
0.34717172384262085,
0.18846023082733154,
-0.2828441858291626,
-0.36606988310813904,
0.15829187631607056,
-0.2675074338912964,
-0.10072700679302216,
-0.4069564938545227,
-0.6455067992210388,
-0.2907283902168274,
-0.48130497336387634,
0.31171828508377075,
-0.5500942468643188,
-0.22197657823562622,
0.08098460733890533,
-0.2575332522392273,
0.1921738237142563,
0.40463191270828247,
-0.6293189525604248,
0.15999291837215424,
0.546378493309021,
0.9733374714851379,
0.09857113659381866,
-0.6631364822387695,
-0.34546270966529846,
0.39136290550231934,
-0.21087034046649933,
0.7032997012138367,
-0.764829158782959,
-0.1343671679496765,
-0.21044020354747772,
0.43206387758255005,
-0.40559014678001404,
-0.17100349068641663,
0.32475000619888306,
-0.5977024435997009,
0.3052661120891571,
-0.23509091138839722,
-0.48121267557144165,
-0.41470929980278015,
0.4375864267349243,
-0.3511282503604889,
0.5772324800491333,
-0.08506441861391068,
-0.9441167116165161,
0.24076026678085327,
-0.5464839935302734,
-0.27966877818107605,
-0.11070853471755981,
-0.2661542594432831,
-0.05039198696613312,
-0.014818158932030201,
0.06303026527166367,
0.3269282877445221,
0.07227843254804611,
0.2376178652048111,
-0.13012948632240295,
-0.3983461260795593,
0.5962319374084473,
-0.7281801104545593,
0.9800219535827637,
-0.0765656977891922,
-0.4363662004470825,
-0.00947339367121458,
-0.39839261770248413,
-0.08834508806467056,
0.13051864504814148,
-0.2026921510696411,
-0.3334047496318817,
0.01862233132123947,
-0.24995438754558563,
0.23769700527191162,
0.24038848280906677,
-0.437733918428421,
0.17660963535308838,
-0.483661025762558,
0.5716792345046997,
0.7871413826942444,
0.263315349817276,
0.28415581583976746,
-0.26270657777786255,
0.5899621844291687,
0.12935255467891693,
0.15338248014450073,
-0.49590784311294556,
-0.4951329529285431,
-0.8766611218452454,
0.33111220598220825,
-0.006581742782145739,
0.6494714617729187,
-0.57877516746521,
0.15746381878852844,
-0.5193440914154053,
-0.1674705594778061,
-0.36373892426490784,
-0.20582500100135803,
0.3352510631084442,
0.3407282531261444,
0.40377163887023926,
0.03476826846599579,
-0.22843605279922485,
-0.7777074575424194,
-0.46969902515411377,
-0.1276484727859497,
0.11681316792964935,
0.1156395971775055,
0.5533866882324219,
-0.43901804089546204,
1.0346287488937378,
-0.647074282169342,
0.04039725288748741,
-0.10749567300081253,
0.2390710413455963,
0.13703234493732452,
0.24871724843978882,
0.366801381111145,
-0.9681051969528198,
-0.3317731022834778,
-0.1228552758693695,
-0.42009562253952026,
-0.12764647603034973,
-0.4986491799354553,
-0.2760404944419861,
0.14230282604694366,
0.3844231367111206,
-1.065571904182434,
0.23052215576171875,
0.3681460916996002,
-0.708182156085968,
0.36086058616638184,
-0.21300290524959564,
0.1432773321866989,
-0.9074580073356628,
0.01543438620865345,
0.00635277247056365,
-0.42546555399894714,
-0.4487391710281372,
0.09936626255512238,
-0.1492563635110855,
0.4730733036994934,
-0.06150395795702934,
0.30926844477653503,
-0.6292580962181091,
-0.2698732912540436,
-0.1671546995639801,
0.6427983641624451,
0.0454062782227993,
0.4970145523548126,
0.019219759851694107,
0.5272193551063538,
0.28689318895339966,
-0.5196143984794617,
0.25915300846099854,
0.19175076484680176,
-0.10736656934022903,
0.3700941801071167,
-0.27346643805503845,
0.16456298530101776,
-0.44514164328575134,
0.3444647192955017,
-1.3350688219070435,
-0.16243276000022888,
0.6804807186126709,
-0.5111331343650818,
-0.01829424872994423,
-0.05752747133374214,
-0.4922493100166321,
-0.19671425223350525,
-0.12192393839359283,
0.40158727765083313,
0.22304174304008484,
-0.225897878408432,
0.42964786291122437,
0.23754920065402985,
-0.007390821352601051,
-0.2825303077697754,
-0.9359712600708008,
0.17734147608280182,
-0.453156054019928,
-0.6157059669494629,
0.09618823230266571,
0.005054811481386423,
-0.5311610698699951,
0.11488082259893417,
-0.040729474276304245,
-0.01044031884521246,
0.23307278752326965,
0.358027845621109,
0.32129016518592834,
-0.007874932140111923,
0.4012540280818939,
-0.18654702603816986,
-0.011934502050280571,
0.38385719060897827,
-0.11636278033256531,
0.5415419340133667,
0.21974454820156097,
-0.3164827525615692,
-0.21033599972724915,
0.4173688590526581,
0.4832998216152191,
-0.0160202793776989,
0.7475053071975708,
0.3433804214000702,
-0.40250590443611145,
0.2360846996307373,
-0.32034772634506226,
-0.0191007312387228,
-0.3846541941165924,
0.3007901608943939,
-0.7438479065895081,
-0.8519371151924133,
0.33599692583084106,
0.23898671567440033,
0.12406381219625473,
0.5275895595550537,
0.3162893056869507,
-0.2440696507692337,
1.0420479774475098,
0.40831050276756287,
0.16365058720111847,
0.46414241194725037,
-0.11307213455438614,
0.1264483630657196,
-0.9041722416877747,
-0.11515333503484726,
-0.3521226942539215,
-0.29531151056289673,
-0.6084238290786743,
-0.5324442982673645,
0.31766340136528015,
-0.03864867612719536,
-0.3001880943775177,
0.3608267605304718,
-0.33713382482528687,
0.6084235310554504,
0.20656746625900269,
0.03809867426753044,
0.4681224822998047,
-0.18818262219429016,
-0.19039739668369293,
0.01605953648686409,
-0.45445555448532104,
-0.6259652376174927,
0.7574939727783203,
0.48691797256469727,
0.3410356342792511,
0.3430645763874054,
0.1539851278066635,
0.10152201354503632,
0.28500375151634216,
-0.5073167085647583,
0.629666268825531,
0.08117546141147614,
-0.45227885246276855,
-0.455088347196579,
-0.4379834234714508,
-1.0921941995620728,
0.6646986603736877,
0.17729438841342926,
-1.2182657718658447,
0.012447942048311234,
0.13785487413406372,
-0.5925211906433105,
0.006802823860198259,
-0.7057104110717773,
1.2502613067626953,
-0.2986822724342346,
-0.37621617317199707,
-0.35912761092185974,
-0.943523108959198,
0.4445914626121521,
-0.11046893149614334,
0.26453733444213867,
-0.08594392985105515,
-0.07282885164022446,
0.40257489681243896,
-0.186831995844841,
0.7341622114181519,
-0.158712700009346,
-0.13041391968727112,
0.21045780181884766,
0.21659772098064423,
0.5995020866394043,
-0.22340770065784454,
0.20594342052936554,
0.017244821414351463,
0.3894198536872864,
-0.06703533232212067,
-0.4659406840801239,
0.6957440376281738,
-0.6413187980651855,
-0.9405195713043213,
-0.6905285716056824,
-0.4883720576763153,
-0.31762194633483887,
-0.09321596473455429,
0.13647720217704773,
-0.011736341752111912,
0.14781756699085236,
-0.08693955093622208,
0.5582901239395142,
-0.021248221397399902,
0.3062061071395874,
0.5197750329971313,
-0.3607940673828125,
0.06193069368600845,
0.2856123149394989,
0.26960426568984985,
0.4968286454677582,
0.5708515048027039,
0.15808053314685822,
-0.41015860438346863,
-0.3087202310562134,
-0.4076065123081207,
0.30729684233665466,
-0.8614963293075562,
0.2185463160276413,
-1.0249727964401245,
-0.09133129566907883,
-0.24186557531356812,
0.131530299782753,
0.2967444360256195,
-0.1331929862499237,
-0.3451739251613617,
-0.13644939661026,
0.5077635049819946,
0.692121684551239,
0.15796718001365662,
0.29512321949005127,
-0.8897150754928589,
0.15052790939807892,
-0.09228276461362839,
-0.05075502768158913,
0.1066935583949089,
-0.7423213720321655,
-0.1019989401102066,
0.3670981228351593,
-0.21447859704494476,
-1.2450034618377686,
0.038090113550424576,
0.02156984433531761,
0.2519465684890747,
0.14541290700435638,
-0.41419705748558044,
1.0709799528121948,
-0.6791958212852478,
0.6764382719993591,
0.044017493724823,
-0.832817554473877,
0.46294358372688293,
-0.44602006673812866,
0.8465152382850647,
0.46392878890037537,
0.21409182250499725,
-1.1132841110229492,
-0.6327885389328003,
-0.29620102047920227,
-0.913230299949646,
0.635969340801239,
0.24203932285308838,
0.09541704505681992,
-0.11698022484779358,
0.5386510491371155,
0.16812299191951752,
-0.08122966438531876,
-0.9698076248168945,
0.018885651603341103,
0.15650048851966858,
-0.06828383356332779,
-0.26753100752830505,
-0.1564839780330658,
-0.1257469803094864,
-0.1907740831375122,
0.38026872277259827,
0.08286412805318832,
0.039354339241981506,
0.2645396292209625,
-0.22981584072113037,
-0.4452836215496063,
0.21788723766803741,
0.26098668575286865,
0.8068718910217285,
0.0022262856364250183,
0.3145356774330139,
0.1485760509967804,
-0.283382773399353,
0.2956150770187378,
0.023248005658388138,
-0.2967478930950165,
0.09640911966562271,
0.5888370871543884,
0.611228883266449,
0.2938041388988495,
-0.6474719047546387,
0.37043115496635437,
0.018539952114224434,
0.15799695253372192,
-0.6010083556175232,
0.1162869855761528,
0.21024875342845917,
0.5186603665351868,
0.02065349742770195,
0.2147500067949295,
0.14314760267734528,
-0.810005784034729,
0.16220645606517792,
0.4115150570869446,
0.004834885708987713,
-0.3388993442058563,
0.5981598496437073,
-0.1401820033788681,
-0.14051978290081024,
0.5214600563049316,
-0.1492651104927063,
-0.6213804483413696,
0.42204549908638,
0.2848449647426605,
0.9923136830329895,
0.0822947546839714,
0.27858269214630127,
0.2030283808708191,
0.274434894323349,
0.03655931353569031,
0.07665885984897614,
-0.23797661066055298,
-0.7746849060058594,
-0.6761606335639954,
-0.6158538460731506,
-0.05326695367693901,
0.03732151538133621,
-0.16102786362171173,
-0.061317138373851776,
0.017049090936779976,
-0.230950266122818,
0.19615519046783447,
-0.3228791058063507,
-0.6106656193733215,
0.13851389288902283,
0.12372078001499176,
0.8641526699066162,
-0.9076802730560303,
0.7157038450241089,
0.7834715247154236,
-0.46488499641418457,
-0.7620590329170227,
0.6675536036491394,
-0.1078086569905281,
-0.4744908809661865,
0.6301271319389343,
0.3065938353538513,
-0.3845493495464325,
-0.05173555389046669,
-0.1538441777229309,
-1.1114786863327026,
1.008711338043213,
0.3074815571308136,
-0.9060019850730896,
-0.1674778312444687,
0.25282323360443115,
0.6778447031974792,
-0.01478006225079298,
0.17515535652637482,
0.9577884078025818,
0.5695328116416931,
0.22598546743392944,
-0.8550861477851868,
0.08042874932289124,
0.0675516203045845,
-0.013560925610363483,
0.43407416343688965,
-0.6431972980499268,
1.0680583715438843,
-0.013323912397027016,
-0.43431198596954346,
0.31478992104530334,
0.04608725383877754,
0.035237111151218414,
0.10209241509437561,
0.6469829082489014,
0.632642924785614,
0.6386739611625671,
-0.23698493838310242,
0.999854564666748,
-0.12171164900064468,
0.26019003987312317,
1.2522913217544556,
-0.11185663938522339,
0.7316299676895142,
0.7634572386741638,
-0.42511188983917236,
0.40281087160110474,
1.1370856761932373,
0.32998141646385193,
0.4939805865287781,
0.3565831780433655,
-0.17302145063877106,
-0.3246252238750458,
0.008602621965110302,
-0.13698188960552216,
0.3893614411354065,
0.11678693443536758,
-0.35407063364982605,
-0.17837689816951752,
0.12773697078227997,
0.08665294945240021,
-0.015753284096717834,
-0.24457043409347534,
0.6101915240287781,
0.053575098514556885,
-1.188943862915039,
0.2940223515033722,
-0.08072999119758606,
0.14644955098628998,
-0.41231343150138855,
-0.14036038517951965,
-0.22400112450122833,
0.4083388149738312,
-0.07684943079948425,
-1.095975399017334,
0.4212397336959839,
0.032320402562618256,
-0.04877099394798279,
-0.2628946602344513,
0.3225347399711609,
-0.5562900304794312,
-0.3685161769390106,
0.4275361895561218,
0.43509215116500854,
0.3999215066432953,
-0.09843704849481583,
-0.6824063658714294,
0.11608247458934784,
0.19451363384723663,
-0.35474181175231934,
0.047429438680410385,
0.8108134269714355,
-0.16042403876781464,
0.717050313949585,
0.3157055974006653,
-0.003387928009033203,
0.32060706615448,
0.11960800737142563,
0.7182295322418213,
-0.8154389262199402,
-0.4156268537044525,
-1.3313395977020264,
0.4844989776611328,
0.06799664348363876,
-0.1943001002073288,
0.8884238004684448,
0.23677630722522736,
0.8668707013130188,
0.11893605440855026,
0.5948047637939453,
0.13613224029541016,
0.44710296392440796,
-0.6789078116416931,
0.1927293986082077,
-0.5038385987281799,
0.23936305940151215,
-0.2642025351524353,
-1.1135447025299072,
-0.09424751996994019,
0.7909907102584839,
-0.6485621333122253,
0.022624962031841278,
0.7970185279846191,
0.4497000277042389,
0.12736068665981293,
0.017984867095947266,
0.09034939110279083,
0.5158835053443909,
0.1259351372718811,
0.8499060273170471,
1.042944312095642,
-0.16253012418746948,
0.32402899861335754,
0.07848329842090607,
-0.032997407019138336,
-0.13272252678871155,
-0.597663164138794,
-0.4763433635234833,
-0.5551761984825134,
-0.3180105984210968,
-0.07415864616632462,
0.14644798636436462,
0.7802467346191406,
0.12451004981994629,
-0.45022788643836975,
-0.09801773726940155,
-0.5803829431533813,
0.05873105674982071,
-0.03427005559206009,
-0.29906409978866577,
0.16574129462242126,
-0.24836258590221405,
-0.593852162361145,
0.18257443606853485,
0.5158507227897644,
0.22221799194812775,
-0.6463930010795593,
-0.008638154715299606,
-0.6738471984863281,
-0.011370745487511158,
0.3709288239479065,
-0.17931388318538666,
-0.9920100569725037,
-0.6925849914550781,
-0.1275394856929779,
-0.0168533343821764,
0.15645918250083923,
0.5450354218482971,
-0.7853842377662659,
0.4498897194862366,
0.3497062921524048,
0.37161874771118164,
0.2571144998073578,
0.3288566470146179,
0.5069411993026733,
-0.5011835694313049,
-0.052732303738594055,
0.2526361644268036,
0.41372188925743103,
0.4406743347644806,
-0.45684632658958435,
0.4813280403614044,
0.32542479038238525,
-0.5592610239982605,
-0.6901375651359558,
0.44564321637153625,
-0.5792083144187927,
-0.5128867626190186,
1.2229609489440918,
-0.24382947385311127,
-0.23104815185070038,
-0.016328325495123863,
-0.36117324233055115,
0.4242030084133148,
0.14388801157474518,
0.750234067440033,
1.1922529935836792,
-0.3998682498931885,
-0.445264995098114,
-0.5315666198730469,
0.29319021105766296,
0.47112417221069336,
-0.7119557857513428,
0.3427312970161438,
0.9180557727813721,
0.2693641483783722,
0.323959082365036,
0.5352657437324524,
0.2877419888973236,
0.21633395552635193,
-0.05108414590358734,
-0.5528460144996643,
0.4723583459854126,
-0.32910779118537903,
-0.32392120361328125,
-0.068259097635746,
0.1019091010093689,
-0.5264005064964294
] |
http://arxiv.org/abs/2405.15984v1
|
http://arxiv.org/pdf/2405.15984v1
|
Evaluating the Adversarial Robustness of Retrieval-Based In-Context Learning for Large Language Models
| 2024-05-24T23:56:36 | 2024-05-24T23:56:36 |
Simon Chi Lok Yu, Jie He, Pasquale Minervini, Jeff Z. Pan
|
cs.CL
|
cs.CL, cs.AI
|
With the emergence of large language models, such as LLaMA and OpenAI GPT-3,
In-Context Learning (ICL) gained significant attention due to its effectiveness
and efficiency. However, ICL is very sensitive to the choice, order, and
verbaliser used to encode the demonstrations in the prompt. Retrieval-Augmented
ICL methods try to address this problem by leveraging retrievers to extract
semantically related examples as demonstrations. While this approach yields
more accurate results, its robustness against various types of adversarial
attacks, including perturbations on test samples, demonstrations, and retrieved
data, remains under-explored. Our study reveals that retrieval-augmented models
can enhance robustness against test sample attacks, outperforming vanilla ICL
with a 4.87% reduction in Attack Success Rate (ASR); however, they exhibit
overconfidence in the demonstrations, leading to a 2% increase in ASR for
demonstration attacks. Adversarial training can help improve the robustness of
ICL methods to adversarial attacks; however, such a training scheme can be too
costly in the context of LLMs. As an alternative, we introduce an effective
training-free adversarial defence method, DARD, which enriches the example pool
with those attacked samples. We show that DARD yields improvements in
performance and robustness, achieving a 15% reduction in ASR over the
baselines. Code and data are released to encourage further research:
https://github.com/simonucl/adv-retreival-icl
|
[
-0.39489537477493286,
-0.9371470212936401,
0.16302929818630219,
-0.15078428387641907,
-0.19173681735992432,
0.09926401078701019,
-0.20289729535579681,
-0.30346155166625977,
-0.35893499851226807,
0.2699953615665436,
-0.03153681382536888,
-0.5508618950843811,
-0.6779505610466003,
-0.013884811662137508,
-0.6428051590919495,
1.1261359453201294,
0.10606111586093903,
0.07585453242063522,
-0.09371752291917801,
-0.2701006531715393,
-0.05751454085111618,
-0.7952455282211304,
-0.7484292984008789,
-0.1381230354309082,
0.31404685974121094,
0.09084111452102661,
0.6619771718978882,
0.3948938548564911,
0.5224087834358215,
0.24890512228012085,
-0.3888927400112152,
0.19649139046669006,
-0.5631847381591797,
0.32989442348480225,
-0.06309307366609573,
-0.4416382312774658,
-0.1444622278213501,
-0.07977281510829926,
0.6250008940696716,
0.47951704263687134,
-0.0802537053823471,
-0.10972823947668076,
0.26807665824890137,
0.462585985660553,
-0.9599074125289917,
-0.20835085213184357,
-1.0463148355484009,
-0.13275006413459778,
-0.1727859079837799,
-0.09379813075065613,
-0.6070260405540466,
-0.07791519910097122,
0.2538369297981262,
-0.2838021218776703,
0.1236778050661087,
-0.15418444573879242,
0.7667720317840576,
0.29051095247268677,
-0.48172956705093384,
-0.3708876669406891,
-0.36203452944755554,
0.6935073137283325,
-0.6466367244720459,
0.20588593184947968,
0.5407241582870483,
0.3344205915927887,
-0.40997010469436646,
-0.7166866660118103,
-0.31538423895835876,
-0.6204811334609985,
-0.03463773429393768,
-0.0034037018194794655,
-0.2558808922767639,
0.09639452397823334,
0.49960336089134216,
0.3560742735862732,
-0.49235910177230835,
0.1445985734462738,
0.14768430590629578,
-0.09992385655641556,
0.4406011402606964,
-0.0646103173494339,
0.44304919242858887,
0.08923544734716415,
-0.6484164595603943,
-0.3620407283306122,
-1.0516828298568726,
0.16173171997070312,
0.2637595236301422,
0.4414058029651642,
0.04853424057364464,
0.4566507041454315,
-0.09615617990493774,
0.4741806089878082,
0.1449977159500122,
-0.015784570947289467,
0.06728629022836685,
-0.12374093383550644,
-0.20506297051906586,
-0.05847696587443352,
0.6017184853553772,
-0.047427836805582047,
-0.17586186528205872,
-0.380451500415802,
-0.6203256845474243,
0.02498752623796463,
0.3488689064979553,
-0.908481776714325,
-0.22615832090377808,
0.14058130979537964,
-0.2511855959892273,
-0.4422498047351837,
0.08768587559461594,
-0.5206690430641174,
-0.4288980960845947,
0.030946962535381317,
0.6768311262130737,
-0.6567899584770203,
0.05155505985021591,
-0.2030128687620163,
-0.017847731709480286,
0.2947612702846527,
0.24189919233322144,
-0.6884213089942932,
0.4303134083747864,
0.6336833238601685,
0.6838905811309814,
-0.24883227050304413,
-0.3288843333721161,
-1.0025863647460938,
0.0876506119966507,
-0.38510406017303467,
0.6044806838035583,
-0.3380175530910492,
-0.5281834602355957,
-0.0300556942820549,
-0.2877790033817291,
-0.0132284602150321,
-0.7832724452018738,
0.4882754385471344,
-0.9395143985748291,
-0.09505102038383484,
-0.23409505188465118,
-0.4041372239589691,
-0.09234025329351425,
0.6904059052467346,
-0.7630804181098938,
0.8738237023353577,
-0.005151823628693819,
-0.8631442785263062,
0.34050437808036804,
-0.5465089678764343,
-0.5715587735176086,
-0.13454920053482056,
-0.192809596657753,
-0.569286048412323,
-0.09666662663221359,
0.5457744002342224,
0.2635203003883362,
-0.18122431635856628,
0.012214777991175652,
-0.5145363211631775,
-0.6031957268714905,
0.48827722668647766,
-0.7880980372428894,
0.9443792104721069,
0.3460092544555664,
-0.6065595746040344,
0.006427053827792406,
-0.5745705962181091,
-0.04231377691030502,
0.12623152136802673,
-0.4857063591480255,
-0.5337705612182617,
-0.039512749761343,
-0.20951342582702637,
-0.017487922683358192,
0.0688440129160881,
-0.4642358422279358,
0.10746437311172485,
-0.7647140026092529,
0.14273808896541595,
0.844038724899292,
0.021979790180921555,
0.35523906350135803,
-0.18488338589668274,
0.44709599018096924,
-0.021238960325717926,
0.17366179823875427,
-0.05810529366135597,
-0.04258234426379204,
-0.4595150351524353,
-0.49605825543403625,
0.33248791098594666,
0.4588773548603058,
-1.1663161516189575,
0.02450045943260193,
-0.058592408895492554,
-0.32340162992477417,
-0.34244391322135925,
0.20267900824546814,
0.8251363635063171,
0.5155379176139832,
0.4287647306919098,
0.005325907375663519,
-0.3625655770301819,
-0.6250479817390442,
-0.24416483938694,
-0.2275487184524536,
-0.016405027359724045,
0.3500477075576782,
0.6451970338821411,
-0.18888506293296814,
0.6704137921333313,
-0.1986757069826126,
0.07251141220331192,
-0.19545961916446686,
-0.09423711150884628,
-0.12047941237688065,
0.3568427562713623,
0.7936365008354187,
-1.0815112590789795,
-0.6540777683258057,
-0.0161880049854517,
-0.6026660799980164,
0.06169351190328598,
0.19461216032505035,
0.004968694876879454,
0.23852741718292236,
0.36054736375808716,
-0.5405336618423462,
0.6499633193016052,
0.21711190044879913,
-0.12854909896850586,
0.5192157030105591,
-0.15510550141334534,
0.2166331708431244,
-0.8808917999267578,
0.0793614611029625,
-0.25282561779022217,
-0.14389318227767944,
-0.6582590937614441,
0.624891996383667,
0.22090788185596466,
-0.223988339304924,
-0.680596113204956,
0.5993723273277283,
-0.2563517093658447,
-0.14943666756153107,
-0.3947419226169586,
0.12875685095787048,
-0.08396939933300018,
0.24813349545001984,
-0.30957263708114624,
1.2297358512878418,
0.6866028904914856,
-0.6874979138374329,
0.13542728126049042,
0.2845034897327423,
-0.292750746011734,
0.5027771592140198,
-0.5967623591423035,
0.30443423986434937,
0.04782355576753616,
0.2609815299510956,
-0.9049079418182373,
-0.0777423083782196,
0.2584902346134186,
-0.48551830649375916,
0.57583087682724,
-0.10486068576574326,
-0.5047082304954529,
0.05977001041173935,
-0.5245269536972046,
0.38888341188430786,
0.2961166799068451,
-1.2241460084915161,
0.457820862531662,
0.15123677253723145,
0.22860674560070038,
-1.033183217048645,
-0.6858394145965576,
0.2595263421535492,
-0.4978357255458832,
-0.3960079550743103,
0.3859807550907135,
-0.29755187034606934,
-0.5120084285736084,
-0.2190011888742447,
0.010619763284921646,
0.004777444992214441,
0.6094606518745422,
0.021827366203069687,
0.1363401561975479,
-0.007580351084470749,
-0.14680048823356628,
-0.3419916331768036,
0.020487109199166298,
0.027805091813206673,
-0.11165722459554672,
0.43598929047584534,
-0.17486993968486786,
-0.758118212223053,
-0.40377262234687805,
0.35153794288635254,
0.6008515357971191,
-0.19430235028266907,
0.813409686088562,
0.44235020875930786,
-0.39669111371040344,
-0.3512651026248932,
-0.36257004737854004,
-0.16534234583377838,
-0.47360944747924805,
0.4037731885910034,
-0.48898717761039734,
-0.6435630321502686,
0.5446109175682068,
0.1476849615573883,
-0.09223712235689163,
0.21060092747211456,
0.29786360263824463,
0.07821765542030334,
1.243157982826233,
0.24726849794387817,
-0.3701423108577728,
0.510956883430481,
-0.46716368198394775,
-0.09394869208335876,
-0.986527681350708,
-0.05541941896080971,
-0.4578268826007843,
-0.11316961795091629,
-0.3680485188961029,
0.019129017367959023,
0.35941991209983826,
0.036450035870075226,
-0.5121250748634338,
0.13585595786571503,
-0.15973851084709167,
0.39782780408859253,
0.623884916305542,
0.4420901834964752,
0.0859021544456482,
0.04486383870244026,
-0.08279655128717422,
0.007955998182296753,
-0.48786869645118713,
-0.397241473197937,
1.3410805463790894,
0.11777704209089279,
0.9047673940658569,
0.484170526266098,
0.553868293762207,
0.34865233302116394,
0.33424875140190125,
-0.5511472821235657,
0.536769449710846,
-0.34389692544937134,
-0.33508551120758057,
0.020427240058779716,
-0.4063618779182434,
-0.9249849319458008,
0.3338918685913086,
0.04985448718070984,
-0.6632795929908752,
0.08737616240978241,
0.06135501340031624,
-0.3596014082431793,
0.5069150924682617,
-0.6195239424705505,
0.5343088507652283,
-0.46928465366363525,
-0.32103368639945984,
-0.05748362839221954,
-0.6624799966812134,
0.2643702030181885,
-0.12665142118930817,
-0.1130295917391777,
0.5466200709342957,
-0.1370777189731598,
0.38262420892715454,
-0.4231738746166229,
0.8074689507484436,
-0.23313646018505096,
-0.11072985827922821,
0.20258235931396484,
0.1693386286497116,
0.8180219531059265,
0.20616956055164337,
-0.24052974581718445,
-0.2874569296836853,
-0.2637217938899994,
-0.4555431306362152,
-0.8694607019424438,
0.8571797609329224,
-0.7516181468963623,
-0.8909817934036255,
-0.3287261426448822,
-0.5000202059745789,
-0.12721846997737885,
-0.06714008748531342,
0.21534696221351624,
0.7458221316337585,
-0.17279133200645447,
0.48227420449256897,
0.9599094986915588,
-0.3125440776348114,
0.3981263041496277,
0.5180935263633728,
0.15777841210365295,
-0.6842380166053772,
0.827837347984314,
0.07799805700778961,
0.7231121063232422,
0.45909127593040466,
-0.03737771138548851,
-0.3782253563404083,
-0.8839077949523926,
-0.3908282518386841,
-0.2104879915714264,
-0.8357459306716919,
-0.3845888078212738,
-0.4233613908290863,
-0.26099443435668945,
-0.39983564615249634,
-0.08738270401954651,
-0.22193396091461182,
-0.19443610310554504,
-0.4514995515346527,
-0.03130130469799042,
0.18919573724269867,
0.48300936818122864,
0.10880319774150848,
0.2476748824119568,
-0.25192955136299133,
0.2331690490245819,
0.3425782024860382,
0.1020566001534462,
0.09142351150512695,
-0.6872053742408752,
-0.13713160157203674,
0.19136910140514374,
-0.34943053126335144,
-0.6752465963363647,
0.37550780177116394,
0.21965813636779785,
0.5753474831581116,
0.45218896865844727,
0.3929954171180725,
0.7336284518241882,
-0.23217900097370148,
0.824840247631073,
-0.3114660978317261,
-0.6277251243591309,
0.6099852919578552,
-0.10811636596918106,
0.17661379277706146,
0.4749859571456909,
0.25903046131134033,
0.02847057394683361,
-0.2514229416847229,
-0.7134720087051392,
-0.7685981392860413,
0.5691761374473572,
0.06358444690704346,
0.021857883781194687,
-0.23154985904693604,
0.4877771735191345,
-0.1036863923072815,
-0.02491522580385208,
-0.62337726354599,
-0.38329213857650757,
-0.10232609510421753,
-0.10231605172157288,
0.07766634970903397,
-0.3464565575122833,
-0.22832649946212769,
0.09444241970777512,
0.8349936604499817,
-0.1562166064977646,
0.020568352192640305,
0.21185703575611115,
-0.3191499412059784,
0.37295034527778625,
0.25836917757987976,
0.368297278881073,
0.2540978491306305,
-0.24064254760742188,
0.3120611310005188,
0.5221401453018188,
-0.46745046973228455,
0.2852984368801117,
0.41986405849456787,
-0.44017648696899414,
-0.4566863179206848,
0.3077561855316162,
0.6318930387496948,
0.18455985188484192,
-0.893260657787323,
0.7874648571014404,
-0.2911604344844818,
0.0928148552775383,
-0.2505466938018799,
0.03439822047948837,
-0.5864057540893555,
0.4217659533023834,
0.4941401481628418,
0.12721902132034302,
0.3370557427406311,
-0.37049391865730286,
0.392215371131897,
0.9683754444122314,
-0.5193848609924316,
-0.13893082737922668,
0.6536437273025513,
-0.2906292676925659,
-0.20423132181167603,
0.5717090964317322,
-0.30168667435646057,
-0.8127163052558899,
0.6032884120941162,
0.9002659320831299,
0.7642325162887573,
-0.11602754890918732,
-0.086235411465168,
0.003798520192503929,
0.1541098803281784,
0.03831460326910019,
-0.03275332599878311,
-0.14403492212295532,
-0.5022410154342651,
-0.22696520388126373,
-0.24492692947387695,
-0.4215580224990845,
0.3078370988368988,
-0.6976047158241272,
0.14098095893859863,
-0.48594918847084045,
-0.013224240392446518,
-0.569880485534668,
0.21581973135471344,
-0.3287438452243805,
0.22560101747512817,
0.09176506102085114,
0.9940385818481445,
-0.47303253412246704,
0.7839106321334839,
0.7093664407730103,
-0.3727564215660095,
-0.5036190152168274,
0.2478209137916565,
0.023893114179372787,
-0.5305734872817993,
0.7316335439682007,
0.07037217915058136,
-0.2359946072101593,
-0.10314953327178955,
-0.6829813718795776,
-0.8573376536369324,
1.1259030103683472,
0.6313738822937012,
0.048515353351831436,
0.26826855540275574,
-0.13584274053573608,
0.47495579719543457,
-0.23853211104869843,
0.3348844051361084,
0.3469942808151245,
-0.005791029427200556,
0.1619298905134201,
-0.5079697966575623,
0.10265997797250748,
-0.3414505124092102,
0.09157305210828781,
0.02169635519385338,
-0.6159175038337708,
0.7674410343170166,
-0.2634962797164917,
-0.3691754639148712,
0.44963696599006653,
0.7387819886207581,
0.483489990234375,
0.22716131806373596,
0.5041781663894653,
0.6264614462852478,
0.6693910360336304,
-0.020341109484434128,
1.3681493997573853,
-0.23586155474185944,
0.09733562171459198,
1.0606632232666016,
-0.23350590467453003,
0.955524206161499,
0.37029945850372314,
-0.04227153956890106,
0.22931653261184692,
0.5393766164779663,
0.21572045981884003,
0.8031920790672302,
0.08478058874607086,
-0.5107530355453491,
0.03186359256505966,
-0.12904533743858337,
-0.35734739899635315,
0.20290754735469818,
0.4080214202404022,
-0.24921809136867523,
-0.23557136952877045,
0.3750561475753784,
0.07896586507558823,
0.28077125549316406,
-0.18573766946792603,
0.7730057835578918,
-0.08653940260410309,
-0.4509781301021576,
0.8309499025344849,
-0.29248958826065063,
0.755000114440918,
-0.6025505661964417,
-0.041201941668987274,
-0.30685320496559143,
0.46788135170936584,
0.07633616030216217,
-0.560448408126831,
-0.009619180113077164,
0.07310967892408371,
-0.016825709491968155,
0.10040178894996643,
0.6763917803764343,
-0.2769155502319336,
-0.031571876257658005,
0.3847850263118744,
0.11734427511692047,
-0.05115377530455589,
-0.11874401569366455,
-0.7279242873191833,
-0.03335777297616005,
0.056566860526800156,
-0.20142368972301483,
0.7852006554603577,
0.29609981179237366,
0.0071893176063895226,
1.0071136951446533,
0.5865186452865601,
0.15643852949142456,
-0.17668670415878296,
0.14689293503761292,
1.0522300004959106,
-0.2577359974384308,
-0.20107124745845795,
-1.0075973272323608,
0.24725773930549622,
-0.03882674500346184,
-0.10291048139333725,
0.9191023707389832,
0.5757248997688293,
0.9951829314231873,
0.24675770103931427,
0.7702942490577698,
0.035206589847803116,
0.5256271362304688,
-0.547370970249176,
0.7261801362037659,
-0.5476957559585571,
0.7214099764823914,
-0.2972096800804138,
-0.4570212960243225,
-0.4942273795604706,
0.33477145433425903,
-0.32461386919021606,
0.02892121486365795,
0.37524500489234924,
1.0042967796325684,
-0.07629915326833725,
-0.12227868288755417,
0.33249911665916443,
0.21051417291164398,
0.7632420063018799,
0.4489935338497162,
1.0754127502441406,
-0.6464120745658875,
0.8406486511230469,
-0.4359690546989441,
-0.18210463225841522,
-0.019997885450720787,
-0.6515942811965942,
-1.0403088331222534,
-0.3496764898300171,
-0.13510477542877197,
-0.526544988155365,
0.5069465637207031,
0.9366540312767029,
0.4455002248287201,
-0.853204071521759,
0.027727656066417694,
0.1824178844690323,
0.01811036467552185,
-0.1805027723312378,
-0.19567842781543732,
0.768683135509491,
-0.5621857643127441,
-0.6635616421699524,
0.74152010679245,
-0.08370992541313171,
0.20262028276920319,
-0.21219989657402039,
-0.20466765761375427,
-0.31018781661987305,
-0.2578626275062561,
0.5327455997467041,
0.31377118825912476,
-0.7894445657730103,
-0.39627140760421753,
-0.09258054196834564,
-0.2300894409418106,
-0.12072019279003143,
0.35517141222953796,
-0.9614692330360413,
0.4189266562461853,
0.22344283759593964,
1.1570703983306885,
0.1647472232580185,
0.28697994351387024,
0.44447508454322815,
-0.762701153755188,
0.15257810056209564,
0.1622128188610077,
0.4200552701950073,
0.4991763234138489,
-0.4306733012199402,
0.45031821727752686,
0.060727886855602264,
-0.6042307615280151,
-1.0419305562973022,
0.2044769674539566,
-0.45322656631469727,
-0.31075868010520935,
1.200236201286316,
-0.4123412072658539,
-0.2545306086540222,
0.015529215335845947,
-0.3641149401664734,
0.07393363118171692,
-0.34759247303009033,
0.9076315760612488,
0.4066424071788788,
0.12560193240642548,
0.12664183974266052,
-0.40909531712532043,
0.5933634638786316,
0.40557199716567993,
-0.563046932220459,
0.022525809705257416,
0.28218942880630493,
0.10544130951166153,
-0.08296707272529602,
0.1669931709766388,
-0.17416000366210938,
0.3565198481082916,
-0.1011526957154274,
-0.4185921251773834,
0.021017832681536674,
-0.29699426889419556,
-0.5349972248077393,
0.3008648157119751,
0.3536762297153473,
-0.2594683766365051
] |
http://arxiv.org/abs/2405.15973v3
|
http://arxiv.org/pdf/2405.15973v3
|
Enhancing Visual-Language Modality Alignment in Large Vision Language Models via Self-Improvement
| 2024-05-24T23:09:27 | 2024-06-07T20:15:24 |
Xiyao Wang, Jiuhai Chen, Zhaoyang Wang, Yuhang Zhou, Yiyang Zhou, Huaxiu Yao, Tianyi Zhou, Tom Goldstein, Parminder Bhatia, Furong Huang, Cao Xiao
|
cs.CV
|
cs.CV, cs.AI, cs.CL, cs.LG
|
Large vision-language models (LVLMs) have achieved impressive results in
various visual question-answering and reasoning tasks through vision
instruction tuning on specific datasets. However, there is still significant
room for improvement in the alignment between visual and language modalities.
Previous methods to enhance this alignment typically require external models or
data, heavily depending on their capabilities and quality, which inevitably
sets an upper bound on performance. In this paper, we propose SIMA, a framework
that enhances visual and language modality alignment through self-improvement,
eliminating the needs for external models or data. SIMA leverages prompts from
existing vision instruction tuning datasets to self-generate responses and
employs an in-context self-critic mechanism to select response pairs for
preference tuning. The key innovation is the introduction of three vision
metrics during the in-context self-critic process, which can guide the LVLM in
selecting responses that enhance image comprehension. Through experiments
across 14 hallucination and comprehensive benchmarks, we demonstrate that SIMA
not only improves model performance across all benchmarks but also achieves
superior modality alignment, outperforming previous approaches.
|
[
-0.31014904379844666,
-0.38482531905174255,
0.5180196762084961,
0.1270194798707962,
-0.3399088680744171,
-0.29567980766296387,
-0.2179621011018753,
-0.4417323172092438,
0.17026792466640472,
0.5692996382713318,
-0.39500758051872253,
-0.30783605575561523,
-0.2312631607055664,
0.07739707827568054,
-0.03360610082745552,
0.7648056149482727,
-0.0980863869190216,
0.39178600907325745,
-0.41361135244369507,
-0.2543484568595886,
-0.8111200332641602,
-0.168099507689476,
-0.30422767996788025,
0.022294906899333,
0.6959689855575562,
0.24509096145629883,
0.7248064875602722,
1.0413050651550293,
0.884065568447113,
0.3494524657726288,
0.4168587923049927,
0.5296463966369629,
-0.209296315908432,
0.1417127549648285,
-0.4019283354282379,
-0.2178819477558136,
-0.7417430281639099,
-0.27039361000061035,
0.6662119030952454,
0.359987735748291,
-0.10790018737316132,
0.26184800267219543,
0.20129960775375366,
0.7466788291931152,
-0.6566559672355652,
0.14353662729263306,
-0.5032938122749329,
-0.11793753504753113,
-0.1944764107465744,
-0.37677621841430664,
-0.34910017251968384,
-0.14430999755859375,
-0.06243190914392471,
-0.4401569366455078,
0.0013007237575948238,
0.11445347219705582,
0.8418607115745544,
0.816688060760498,
-0.44065210223197937,
0.2744351625442505,
-0.33149322867393494,
0.5804426670074463,
-0.7559522390365601,
0.4512922465801239,
0.17518924176692963,
0.39626240730285645,
0.0268606748431921,
-0.4584752321243286,
-0.3838639557361603,
-0.03100634552538395,
-0.22412645816802979,
0.322629451751709,
-0.1299421340227127,
0.1908232569694519,
0.19398222863674164,
0.24168266355991364,
-0.6618825793266296,
0.10814155638217926,
-0.33641842007637024,
-0.32294049859046936,
0.6240245699882507,
0.38731852173805237,
0.11632920801639557,
-0.3862876296043396,
-0.5426773428916931,
-0.13970963656902313,
-0.47462788224220276,
0.13289865851402283,
0.18201006948947906,
0.16049639880657196,
0.1320454329252243,
0.6617497205734253,
-0.39474380016326904,
1.1318303346633911,
0.1513950228691101,
-0.10488373041152954,
0.30947765707969666,
-0.43215975165367126,
-0.40339332818984985,
-0.14469283819198608,
0.5280143022537231,
0.6072275042533875,
0.05388812720775604,
0.03902355581521988,
-0.4070960581302643,
0.17889873683452606,
0.35479840636253357,
-0.6606655120849609,
-0.3003508448600769,
0.04088017717003822,
-0.6058962345123291,
-0.2406865954399109,
0.11852296441793442,
-0.4881688952445984,
-0.37995800375938416,
-0.7750725150108337,
0.7538096308708191,
-0.397815078496933,
-0.2903473675251007,
0.18939155340194702,
0.00454328628256917,
0.47358304262161255,
0.6146574020385742,
-0.8733999729156494,
-0.017505090683698654,
0.5125693678855896,
0.6741480231285095,
-0.4602043628692627,
-0.5126164555549622,
-0.8148223757743835,
0.22698204219341278,
-0.5097219944000244,
0.7278017997741699,
-0.5582321286201477,
0.2068931758403778,
-0.3142401874065399,
-0.03758936747908592,
-0.23192571103572845,
-0.54931640625,
0.18210181593894958,
-0.2848345637321472,
0.18822334706783295,
-0.3997328281402588,
-0.39154595136642456,
-0.08828098326921463,
0.22883261740207672,
-0.42351672053337097,
1.1962995529174805,
0.10215873271226883,
-0.7585802674293518,
0.2658880352973938,
-0.6990472078323364,
-0.2455206662416458,
0.08156823366880417,
-0.43969595432281494,
-0.3003309667110443,
0.4531244933605194,
0.524560272693634,
0.5475898385047913,
-0.1836087554693222,
0.3700029253959656,
-0.32842597365379333,
-0.4187779128551483,
0.4166546165943146,
-0.5251386761665344,
0.4833683967590332,
0.12369481474161148,
-0.5369969010353088,
0.6434202790260315,
-0.7359822988510132,
0.2377430945634842,
-0.006206594407558441,
0.04077097028493881,
-0.2668875455856323,
-0.06590119749307632,
-0.18549104034900665,
0.37628498673439026,
0.3221278786659241,
-0.3953859210014343,
0.15688097476959229,
-0.28833672404289246,
0.183555468916893,
1.0158218145370483,
-0.28466156125068665,
0.3515670895576477,
-0.2132095992565155,
0.4925707280635834,
0.14728081226348877,
0.48932570219039917,
-0.383332759141922,
-0.06819707155227661,
-1.0728609561920166,
-0.4288448393344879,
0.20932406187057495,
0.2544403672218323,
-0.8824515342712402,
0.2562236189842224,
-0.33785292506217957,
-0.18320809304714203,
-0.8767709136009216,
0.2596604824066162,
0.5231534838676453,
0.7844839096069336,
0.525524377822876,
-0.5787591338157654,
-0.3105354905128479,
-1.106701374053955,
-0.019165262579917908,
-0.2187996655702591,
0.12930461764335632,
0.4264335036277771,
0.18631458282470703,
-0.07065115123987198,
0.9825617074966431,
-0.5165356397628784,
-0.4533010423183441,
0.03210709989070892,
-0.12017376720905304,
-0.1774895340204239,
0.3769301474094391,
0.6176877021789551,
-0.7122865915298462,
-0.3032675087451935,
0.16026198863983154,
-0.842943549156189,
-0.26536139845848083,
0.0419355072081089,
-0.3898310661315918,
0.4283773899078369,
0.6999357342720032,
0.044123973697423935,
0.4831235408782959,
0.5904949307441711,
-0.3516784906387329,
0.6736521124839783,
-0.10766222327947617,
0.12894946336746216,
-1.0243480205535889,
-0.03850558027625084,
-0.1714094579219818,
-0.3476718068122864,
-0.381107360124588,
0.14601632952690125,
0.38192281126976013,
0.14054431021213531,
-0.49130669236183167,
0.45960313081741333,
-0.5111566185951233,
-0.18211020529270172,
-0.45362403988838196,
0.17681242525577545,
0.09083367139101028,
0.6521180868148804,
0.17475292086601257,
0.7863636016845703,
0.9450307488441467,
-0.4885469973087311,
0.5195924043655396,
0.11806809157133102,
-0.4499082863330841,
0.8168955445289612,
-0.6609776616096497,
-0.06804867833852768,
-0.24290190637111664,
0.12785443663597107,
-0.9598273634910583,
-0.38625168800354004,
0.30617624521255493,
-0.148684561252594,
0.2798084616661072,
-0.06436188519001007,
-0.1040802076458931,
-0.3275924324989319,
-0.0924333781003952,
0.5873131155967712,
0.1980782151222229,
-0.8189051747322083,
0.832172691822052,
-0.017309239134192467,
0.16907192766666412,
-0.8259385228157043,
-0.5232967138290405,
0.20857243239879608,
-0.3098606467247009,
-0.7772104144096375,
0.126496821641922,
-0.3214871883392334,
-0.1189248263835907,
-0.16889086365699768,
-0.1467851847410202,
0.3516109585762024,
-0.12140154838562012,
0.038659680634737015,
0.4458843469619751,
-0.46973350644111633,
0.44491589069366455,
-0.11899944394826889,
-0.19845269620418549,
-0.045622844249010086,
-0.47663187980651855,
0.4412711560726166,
-0.40849006175994873,
-0.47031792998313904,
-0.529635488986969,
0.15452182292938232,
0.49583330750465393,
-0.7985064387321472,
0.21487969160079956,
0.7460302114486694,
0.1303253024816513,
-0.15730881690979004,
-0.8084182143211365,
-0.15695218741893768,
-0.5206764936447144,
0.4009719789028168,
-0.6854377388954163,
-0.9028127789497375,
0.1626751869916916,
-0.01890697330236435,
-0.2055250108242035,
0.251565158367157,
0.4258466958999634,
-0.2605513632297516,
1.1818801164627075,
0.7777920365333557,
0.1311180293560028,
0.6881456971168518,
-0.0210268571972847,
0.0798509269952774,
-1.1399503946304321,
-0.26741644740104675,
-0.08866646140813828,
-0.41655680537223816,
-0.3090859055519104,
-0.5817728638648987,
0.500858724117279,
-0.27612248063087463,
-0.12548808753490448,
0.4028175473213196,
-0.4937763810157776,
0.4824257791042328,
0.4982925355434418,
0.2858388125896454,
0.2346731424331665,
-0.07390152662992477,
-0.14219874143600464,
-0.3385847806930542,
-0.8067407011985779,
-0.20420172810554504,
0.5959008932113647,
0.28154927492141724,
1.0368560552597046,
0.16325637698173523,
0.6254879236221313,
-0.09060516953468323,
0.08949786424636841,
-0.7249970436096191,
0.6687590479850769,
-0.0659312978386879,
-0.2524448335170746,
-0.4910005033016205,
-0.4636980891227722,
-0.4989732801914215,
0.5214549899101257,
-0.017892485484480858,
-0.63104248046875,
0.4807652235031128,
0.3386264443397522,
-0.26434579491615295,
0.06040952727198601,
-0.4493117034435272,
1.1923760175704956,
-0.7469594478607178,
-0.6017966270446777,
-0.08274025470018387,
-0.7593234181404114,
0.2895452678203583,
0.03346789628267288,
-0.15024088323116302,
-0.21040230989456177,
-0.09214531630277634,
0.14964744448661804,
-0.3398264944553375,
1.106792688369751,
0.0441502146422863,
-0.48202189803123474,
0.045516569167375565,
0.2505986988544464,
0.41147086024284363,
-0.12638704478740692,
0.04228634387254715,
0.03074502944946289,
-0.12329141050577164,
-0.3692132532596588,
-0.9681068062782288,
0.558019757270813,
-0.45914962887763977,
-0.8561115264892578,
-0.18508169054985046,
-0.7141475081443787,
-0.1940435916185379,
0.09070337563753128,
0.21123169362545013,
0.7623324990272522,
-0.02742675133049488,
0.24639853835105896,
0.5984508991241455,
0.004315701778978109,
0.62033611536026,
0.5242799520492554,
-0.46451932191848755,
-0.5582622289657593,
1.0672041177749634,
-0.1097765862941742,
0.6728680729866028,
0.3271138370037079,
0.21631745994091034,
-0.3268614113330841,
-0.212237149477005,
-0.8626766800880432,
0.11084502935409546,
-0.7787157297134399,
-0.5254044532775879,
-0.5497080683708191,
-0.1730470210313797,
-0.4918988347053528,
-0.1276433914899826,
-0.3556739389896393,
-0.3205701410770416,
-0.14095759391784668,
0.14892174303531647,
0.17841258645057678,
0.43662047386169434,
-0.12932731211185455,
0.07306239008903503,
-0.38492751121520996,
0.22886013984680176,
0.4112603962421417,
0.5603641271591187,
0.006184294819831848,
-0.7808714509010315,
-0.2909720540046692,
0.030574573203921318,
-0.020924510434269905,
-0.5898119807243347,
0.22214433550834656,
0.2177465558052063,
0.30479851365089417,
0.6176699995994568,
-0.012146414257586002,
1.2475193738937378,
-0.34587448835372925,
0.608549177646637,
0.33875197172164917,
-1.0425770282745361,
0.7987431287765503,
-0.3460303544998169,
0.499564528465271,
0.38770732283592224,
-0.1799089014530182,
-0.4328436553478241,
-0.38152119517326355,
-0.24050888419151306,
-0.506619930267334,
0.5548633933067322,
0.09681101888418198,
0.15010498464107513,
0.15962696075439453,
0.18012885749340057,
0.08730188757181168,
0.06748532503843307,
-0.9093048572540283,
0.08824083209037781,
-0.5603373050689697,
-0.2359752357006073,
0.0426042303442955,
0.021283989772200584,
-0.2761991620063782,
-0.6017709374427795,
0.7316997051239014,
-0.7769784927368164,
-0.038256384432315826,
0.30896446108818054,
-0.12841103971004486,
-0.15772505104541779,
-0.013680271804332733,
0.5796928405761719,
0.8075429797172546,
0.29046231508255005,
0.36048296093940735,
0.2196698635816574,
-0.06713849306106567,
-0.027388591319322586,
-0.24944570660591125,
-0.22872623801231384,
-0.2622898519039154,
0.1548665463924408,
1.0397088527679443,
0.16275610029697418,
-0.5353275537490845,
0.6647192239761353,
-0.15343832969665527,
0.08175656199455261,
-0.00748766865581274,
0.47193193435668945,
-0.3441665470600128,
0.4431437849998474,
0.08295091241598129,
0.1759040653705597,
0.120374396443367,
-0.442705363035202,
0.15904517471790314,
0.6018252968788147,
-0.5882038474082947,
0.01836887001991272,
0.7342378497123718,
0.046187035739421844,
-0.02863636612892151,
0.3983630836009979,
0.13128241896629333,
-0.4519585967063904,
0.5044289231300354,
0.7731739282608032,
0.8537799119949341,
-0.22107073664665222,
0.49818432331085205,
0.3997497856616974,
0.27627062797546387,
-0.03674877807497978,
0.29778292775154114,
-0.29176533222198486,
-0.70138019323349,
-0.49677640199661255,
-0.6531977653503418,
-0.11167865246534348,
-0.20391839742660522,
-0.7314448356628418,
0.46372440457344055,
-0.031046748161315918,
-0.055375538766384125,
-0.1662701815366745,
-0.3721044659614563,
-0.5384806990623474,
0.38725265860557556,
0.0704999789595604,
0.6134240627288818,
-0.5974825024604797,
0.9338147044181824,
0.6068332195281982,
-0.5407506227493286,
-0.8128620386123657,
0.20745933055877686,
-0.2154248058795929,
-0.8144679665565491,
0.4891871511936188,
0.29585254192352295,
-0.5167950987815857,
0.05798424407839775,
-0.6494876742362976,
-1.238935947418213,
1.0814242362976074,
0.553571343421936,
-0.5753896832466125,
0.3323588967323303,
0.02282816357910633,
0.5830366015434265,
-0.6665021181106567,
-0.0064858328551054,
0.3897385597229004,
0.4935252368450165,
0.17104211449623108,
-0.8880760669708252,
0.09248627722263336,
-0.3793262839317322,
0.2437957525253296,
0.2825074791908264,
-0.9544494152069092,
0.21383757889270782,
-0.3734281659126282,
-0.06544554978609085,
0.21688993275165558,
1.100159764289856,
-0.23586902022361755,
0.20318284630775452,
0.5445272326469421,
0.46790194511413574,
0.6240636706352234,
-0.1624622941017151,
0.8324298858642578,
-0.23607905209064484,
-0.07275036722421646,
1.4695512056350708,
-0.1309124082326889,
0.8167659044265747,
0.48193880915641785,
0.36345136165618896,
0.5267759561538696,
0.5961838960647583,
-0.22379954159259796,
0.40936902165412903,
-0.008582926355302334,
0.031481292098760605,
-0.7402689456939697,
-0.28867918252944946,
-0.37235593795776367,
0.9588037729263306,
-0.054274506866931915,
-0.3792925477027893,
0.06500402092933655,
0.10051745921373367,
-0.3396001160144806,
0.11682151257991791,
-0.3539765775203705,
0.8460637331008911,
-0.1691083461046219,
-0.9641633629798889,
0.6181464791297913,
-0.12406688928604126,
0.364765465259552,
-0.4594723582267761,
0.030769890174269676,
-0.35020720958709717,
0.20124691724777222,
-0.27392613887786865,
-0.5506393909454346,
0.1878817081451416,
-0.25583332777023315,
-0.12396648526191711,
-0.11957565695047379,
0.7065672278404236,
-0.6742446422576904,
-0.5049397349357605,
0.25271081924438477,
0.44313937425613403,
0.031782109290361404,
0.09130632877349854,
-0.5255735516548157,
0.2073337286710739,
-0.08053412288427353,
0.056611914187669754,
0.21974198520183563,
0.39618799090385437,
-0.2103145867586136,
0.5722367167472839,
0.46301090717315674,
-0.1627918928861618,
0.04805048927664757,
0.41510066390037537,
0.8428354859352112,
-0.6024259924888611,
-0.350169837474823,
-0.858152449131012,
0.577349066734314,
-0.25904133915901184,
-0.5894513726234436,
0.7921985387802124,
0.5604170560836792,
0.8762943744659424,
-0.07664282619953156,
0.43050724267959595,
0.018100980669260025,
-0.07020161300897598,
-0.6833482384681702,
0.3584316074848175,
-0.8959044218063354,
0.056624699383974075,
-0.4328598976135254,
-1.1098895072937012,
-0.4022686779499054,
0.631205141544342,
-0.1814585030078888,
-0.006239629350602627,
0.6943698525428772,
1.1151185035705566,
-0.2050742357969284,
-0.26978015899658203,
0.6606931686401367,
0.23796848952770233,
0.06218995898962021,
0.1801104098558426,
0.8149999976158142,
-0.34496885538101196,
0.44301721453666687,
-0.17983439564704895,
-0.2738404870033264,
-0.13631516695022583,
-0.8746209740638733,
-0.9309142231941223,
-0.7387840747833252,
-0.3827248215675354,
-0.3146209418773651,
-0.04541732743382454,
0.7688484191894531,
0.6567438244819641,
-0.4344736337661743,
-0.20248468220233917,
0.12547369301319122,
-0.1516564041376114,
-0.5459195375442505,
-0.17212434113025665,
0.42627477645874023,
-0.6255534887313843,
-0.5951787233352661,
0.59868323802948,
0.8552626371383667,
0.03969629853963852,
-0.5513132810592651,
-0.19890150427818298,
0.2676413059234619,
0.25973841547966003,
0.6438218951225281,
0.07198548316955566,
-1.081397533416748,
-0.5402453541755676,
0.3124850392341614,
-0.2453116923570633,
0.2914312481880188,
0.7209237217903137,
-0.7533045411109924,
0.8708134293556213,
0.3379686176776886,
0.5151945352554321,
0.32297345995903015,
0.20101597905158997,
0.7119131088256836,
-0.6364328265190125,
-0.2317359894514084,
-0.0008192732348106802,
0.4676642119884491,
0.5976449251174927,
-0.33483564853668213,
0.8111616373062134,
0.008692911826074123,
-0.4194731116294861,
-0.6728585362434387,
0.506111204624176,
-1.0536446571350098,
-0.19611111283302307,
1.0796747207641602,
0.27350926399230957,
-0.37413665652275085,
0.14348387718200684,
-0.6807680130004883,
0.03531394898891449,
0.0670427680015564,
1.0206820964813232,
0.49083852767944336,
-0.2267271727323532,
-0.18444113433361053,
-0.14772723615169525,
0.4820554256439209,
0.8320412039756775,
-0.7962424159049988,
0.2954317033290863,
0.7908166646957397,
0.14453287422657013,
-0.08110743016004562,
0.47291094064712524,
-0.2254553735256195,
0.5900489687919617,
-0.38055044412612915,
0.19182249903678894,
-0.09649945050477982,
-0.7418220639228821,
-0.52274489402771,
-0.1143205538392067,
-0.1923152059316635,
-0.12430310249328613
] |
http://arxiv.org/abs/2405.15964v1
|
http://arxiv.org/pdf/2405.15964v1
|
A hierarchical Bayesian model for syntactic priming
| 2024-05-24T22:26:53 | 2024-05-24T22:26:53 |
Weijie Xu, Richard Futrell
|
cs.CL
|
cs.CL
|
The effect of syntactic priming exhibits three well-documented empirical
properties: the lexical boost, the inverse frequency effect, and the
asymmetrical decay. We aim to show how these three empirical phenomena can be
reconciled in a general learning framework, the hierarchical Bayesian model
(HBM). The model represents syntactic knowledge in a hierarchical structure of
syntactic statistics, where a lower level represents the verb-specific biases
of syntactic decisions, and a higher level represents the abstract bias as an
aggregation of verb-specific biases. This knowledge is updated in response to
experience by Bayesian inference. In simulations, we show that the HBM captures
the above-mentioned properties of syntactic priming. The results indicate that
some properties of priming which are usually explained by a residual activation
account can also be explained by an implicit learning account. We also discuss
the model's implications for the lexical basis of syntactic priming.
|
[
0.03606460243463516,
-1.0077611207962036,
0.7964243292808533,
0.12349382787942886,
0.16167251765727997,
-0.24297812581062317,
-0.2217952460050583,
-0.09542833268642426,
0.02764364890754223,
0.5114750862121582,
-0.4091774523258209,
-0.5418846607208252,
-0.4927993416786194,
-0.31107741594314575,
-0.33048558235168457,
1.0120810270309448,
0.3230786919593811,
0.1568104773759842,
-0.0039117224514484406,
0.3171690106391907,
-0.4837527275085449,
-0.6661478877067566,
-0.43369778990745544,
-0.34677645564079285,
0.1402854174375534,
0.3727641999721527,
1.004692792892456,
0.6391180157661438,
0.33506518602371216,
0.1843077689409256,
-0.00874400231987238,
-0.6890490651130676,
-0.2605147063732147,
0.18759438395500183,
-0.3703911602497101,
-0.8470991253852844,
-0.5308805704116821,
-0.0007605538703501225,
1.0573383569717407,
1.504035234451294,
-0.14161387085914612,
-0.007395326159894466,
0.2885974943637848,
0.6719689965248108,
-0.9465535879135132,
0.5398138761520386,
-0.7283173203468323,
-0.40378472208976746,
-0.013247689232230186,
-0.27053046226501465,
-0.29798051714897156,
-0.019441526383161545,
0.3098783791065216,
-0.41451138257980347,
0.47938865423202515,
-0.1228451058268547,
1.0965310335159302,
0.2458352893590927,
-0.3645817041397095,
0.1397712528705597,
-0.8229881525039673,
0.5539057850837708,
-0.6525942087173462,
0.2826307415962219,
0.6542789936065674,
0.19536301493644714,
-0.00792137160897255,
-0.474851131439209,
-0.357626348733902,
-0.2362992912530899,
-0.16192618012428284,
0.2695215344429016,
-0.19742755591869354,
0.5602103471755981,
0.31737372279167175,
0.5532934069633484,
-0.3361402153968811,
-0.10037508606910706,
-0.28789421916007996,
0.036024995148181915,
0.02512461505830288,
0.005845179315656424,
0.49325668811798096,
-0.329257071018219,
-0.46857622265815735,
-0.15476873517036438,
-0.5906385779380798,
0.042191386222839355,
0.6379191875457764,
0.5624990463256836,
0.11899188160896301,
0.5823284983634949,
-0.16118425130844116,
0.7786967158317566,
-0.05191532149910927,
-0.38525986671447754,
-0.013873189687728882,
-0.5077844262123108,
-0.35799476504325867,
0.15459397435188293,
0.2998208999633789,
0.1484687179327011,
0.5423494577407837,
-0.3194648325443268,
-0.024090811610221863,
0.40653324127197266,
0.1888275295495987,
-0.5403223037719727,
-0.3102569580078125,
0.06349325180053711,
-0.22888673841953278,
-0.016571084037423134,
0.35784590244293213,
-0.5792258977890015,
0.05470295622944832,
-0.25215163826942444,
0.7735996246337891,
-0.5269486904144287,
-0.2713508903980255,
0.4934263229370117,
-0.6956336498260498,
-0.057791877537965775,
0.0012377751991152763,
-1.1263386011123657,
0.9438962340354919,
0.6752357482910156,
0.4981253445148468,
-0.005324899218976498,
-0.39101600646972656,
-0.08925463259220123,
0.6182775497436523,
-0.2214381843805313,
0.5647265315055847,
-0.7105108499526978,
-0.0021024788729846478,
0.07492560148239136,
0.019710712134838104,
-0.275162011384964,
-0.6386168599128723,
0.013167250901460648,
-0.31386494636535645,
0.19715404510498047,
-0.2005693018436432,
-0.4640914499759674,
-0.44799771904945374,
-0.09048819541931152,
-0.5424745678901672,
0.6441161632537842,
0.1489991694688797,
-0.6400220394134521,
0.8021544814109802,
0.08830753713846207,
-0.16624543070793152,
-0.0342261865735054,
-0.1642877161502838,
-0.29215431213378906,
0.23577329516410828,
0.02463306114077568,
0.16319046914577484,
-0.16178201138973236,
0.593338668346405,
-0.32974496483802795,
-0.2632843554019928,
-0.08564386516809464,
-0.280117392539978,
0.8785499930381775,
-0.22145801782608032,
-0.39484646916389465,
0.08035089075565338,
-0.7246646881103516,
-0.18677349388599396,
-0.09634470194578171,
-0.2685081958770752,
-0.49473538994789124,
0.0878198891878128,
-0.3529064357280731,
0.009025581181049347,
0.13268719613552094,
-0.31581300497055054,
0.2139575332403183,
-0.4455781579017639,
0.051667895168066025,
0.3841134309768677,
0.7158665060997009,
0.7312117218971252,
-0.511043906211853,
0.4950588345527649,
0.12882842123508453,
-0.15615110099315643,
-0.35692209005355835,
-0.7135935425758362,
-0.5768641233444214,
-0.38749781250953674,
0.3852872848510742,
0.3796539604663849,
0.015220940113067627,
0.42620524764060974,
-0.4041781425476074,
0.14766822755336761,
-0.28321951627731323,
-0.028928840532898903,
0.4004840850830078,
0.30826935172080994,
0.3401794135570526,
-0.3726939558982849,
-0.16698041558265686,
-1.2800040245056152,
-0.5841798782348633,
-0.5430849194526672,
-0.07495639473199844,
0.04141829162836075,
0.43843474984169006,
0.06656482815742493,
1.034580945968628,
-0.3149920701980591,
-0.4767638146877289,
-0.2620174288749695,
0.40779322385787964,
0.14068739116191864,
0.5923417210578918,
0.3632374703884125,
-0.33395928144454956,
-0.009433448314666748,
-0.4720500707626343,
-0.09260507673025131,
-0.4574964642524719,
-0.2559043765068054,
-0.13282889127731323,
0.1140851378440857,
0.3643747568130493,
-0.7381368279457092,
0.612396240234375,
0.18601441383361816,
-0.28350844979286194,
0.6160664558410645,
-0.10077120363712311,
-0.06804297119379044,
-0.7747393250465393,
0.19435441493988037,
-0.03356584534049034,
-0.022362858057022095,
-0.5076303482055664,
0.13488717377185822,
-0.005245031788945198,
-0.23616908490657806,
-0.16141510009765625,
0.43427684903144836,
-0.6974779963493347,
-0.4612726867198944,
-0.2962356507778168,
-0.2360902577638626,
0.04108436033129692,
0.7603479623794556,
0.3119470179080963,
0.4189581573009491,
0.5686476826667786,
-0.6578288078308105,
-0.14730532467365265,
-0.11460533738136292,
-0.2990932762622833,
-0.02324017509818077,
-0.5817119479179382,
-0.5895417928695679,
-0.40540632605552673,
0.09980686008930206,
-1.3506577014923096,
-0.17609509825706482,
0.2866680324077606,
-0.5896652936935425,
0.32858172059059143,
-0.7171993255615234,
-0.8649522662162781,
0.14682593941688538,
0.00012875732500106096,
0.263999342918396,
0.7630449533462524,
-0.10118186473846436,
0.43401628732681274,
0.339569628238678,
-0.35443422198295593,
-0.43210360407829285,
-0.4358833134174347,
-0.13656839728355408,
-0.05814776197075844,
-0.3354068100452423,
0.7756018042564392,
0.6011908054351807,
-0.5367015600204468,
0.24743050336837769,
-0.3385924696922302,
0.06964623183012009,
0.13904553651809692,
0.4986567497253418,
0.12294695526361465,
-0.20423524081707,
0.3464815616607666,
0.1540450006723404,
-0.20896171033382416,
0.46431052684783936,
-0.5102161765098572,
0.6110501289367676,
-0.03649482503533363,
-0.4069189727306366,
-0.4179067611694336,
0.1663312464952469,
0.43602538108825684,
0.06481504440307617,
0.7254092693328857,
0.08728700876235962,
-0.5973235368728638,
-0.17713819444179535,
-0.45638298988342285,
-0.4182316064834595,
-0.30763086676597595,
0.09827710688114166,
-0.413570374250412,
-0.3005724251270294,
0.4151841998100281,
0.10756266862154007,
-0.2635208070278168,
0.46903279423713684,
0.6015428900718689,
0.09683557599782944,
1.067726492881775,
0.7724164128303528,
-0.0205171387642622,
0.4873582124710083,
-0.34915614128112793,
-0.17355196177959442,
-0.5054495334625244,
-0.15053829550743103,
-0.5480362772941589,
-0.26850220561027527,
-0.48945751786231995,
-0.06442255526781082,
0.47553056478500366,
0.3169340491294861,
-0.3126296401023865,
0.09609465301036835,
0.1897914707660675,
0.27683210372924805,
0.6319715976715088,
0.04615025222301483,
0.41516485810279846,
0.14895199239253998,
-0.34249693155288696,
0.05400654673576355,
-0.7748755216598511,
-0.44735923409461975,
0.7652432322502136,
0.35463830828666687,
1.0653364658355713,
0.2302933931350708,
0.2823937237262726,
-0.18981404602527618,
-0.03768446668982506,
-0.7013781666755676,
0.48801949620246887,
0.21358607709407806,
-1.0318293571472168,
-0.234854057431221,
-0.2273702174425125,
-0.9822537899017334,
0.4089587926864624,
-0.2758323848247528,
-0.9148691296577454,
0.3396488428115845,
0.19269755482673645,
-0.48090943694114685,
0.26943349838256836,
-0.6633809804916382,
1.0463060140609741,
0.07058556377887726,
-0.6854783296585083,
-0.37866127490997314,
-0.7918378114700317,
0.3774002492427826,
0.32468605041503906,
-0.08554557710886002,
-0.2783029079437256,
-0.29135143756866455,
0.6537267565727234,
-0.25320279598236084,
1.1895012855529785,
-0.34550923109054565,
0.1574806123971939,
0.11644531786441803,
0.26579195261001587,
-0.010990084148943424,
-0.00893781054764986,
0.25484612584114075,
-0.16603894531726837,
0.07945746928453445,
-0.46531400084495544,
-0.7350221872329712,
0.34691116213798523,
-0.687860369682312,
-0.9396584033966064,
-0.448140412569046,
-0.6572861671447754,
-0.4735313951969147,
0.36352816224098206,
0.13457851111888885,
0.5343485474586487,
-0.18027107417583466,
0.01907586120069027,
0.38550087809562683,
-0.1251031458377838,
0.2057235985994339,
0.5988745093345642,
-0.5157895684242249,
-0.05518084391951561,
0.5154094099998474,
0.246914342045784,
0.625299870967865,
0.5018612742424011,
0.2579551935195923,
-0.12881971895694733,
-0.3594237267971039,
-0.11903639137744904,
0.5551667213439941,
-0.5329633951187134,
0.12054906040430069,
-0.9579938054084778,
-0.16884833574295044,
-0.5908994078636169,
0.07158556580543518,
0.09199093282222748,
-0.8016109466552734,
-0.11122597008943558,
-0.10573878139257431,
0.004278289619833231,
0.46867772936820984,
-0.032581377774477005,
0.6395172476768494,
-0.4971540570259094,
0.5031236410140991,
0.34546706080436707,
0.05440141633152962,
0.009727059863507748,
-0.6325357556343079,
0.07438763231039047,
0.05682004243135452,
-0.3118554651737213,
-1.3266366720199585,
0.4611000418663025,
0.39964476227760315,
0.620439350605011,
0.7083145976066589,
-0.2863416075706482,
0.6055067181587219,
-0.376758873462677,
0.6468034982681274,
-0.1831013262271881,
-0.994347095489502,
0.6027932167053223,
-0.7391253113746643,
0.4986879229545593,
0.637411892414093,
0.755355715751648,
-0.2462153136730194,
-0.8521450757980347,
-1.0631918907165527,
-0.7349640130996704,
0.5033373236656189,
0.01763543114066124,
0.016123417764902115,
-0.20924541354179382,
0.3261283040046692,
0.27330124378204346,
0.4779987037181854,
-0.7115986943244934,
-0.04638625681400299,
0.057466231286525726,
0.07049648463726044,
-0.1271115094423294,
-0.347113698720932,
0.11168362200260162,
-0.33936089277267456,
0.5936273336410522,
0.06253065168857574,
0.1312224268913269,
-0.1289052516222,
-0.2817244827747345,
-0.08439309149980545,
0.41315072774887085,
0.07611151039600372,
0.8983044624328613,
-0.8031666278839111,
0.46269315481185913,
-0.23928646743297577,
-0.2221156507730484,
0.12764178216457367,
-0.009243428707122803,
-0.230389803647995,
0.08594697713851929,
0.416928231716156,
0.5340736508369446,
0.6051694750785828,
-0.4080834686756134,
0.7416255474090576,
0.518227219581604,
-0.12704293429851532,
-0.2727046310901642,
0.214373379945755,
-0.008613409474492073,
-0.3030788004398346,
0.4779917001724243,
0.26462364196777344,
0.3163289725780487,
-1.2124204635620117,
0.29137519001960754,
0.4892584979534149,
-0.2346624881029129,
-0.5188953280448914,
0.5816819071769714,
-0.2103671431541443,
0.2291812151670456,
0.5293992161750793,
0.06253980100154877,
-0.6914210319519043,
0.5676690936088562,
0.9229945540428162,
0.6667392253875732,
-0.06407734006643295,
0.04822786897420883,
0.4952884018421173,
0.3646506667137146,
-0.11052224785089493,
0.21099597215652466,
-0.4442654252052307,
-0.7405827045440674,
-0.40286391973495483,
-0.6094411015510559,
-0.3413037061691284,
0.0707685798406601,
-1.0640935897827148,
0.22518911957740784,
-0.472804456949234,
-0.4670597016811371,
0.3250201642513275,
-0.045501917600631714,
-0.5015251040458679,
0.0777488574385643,
0.1455615758895874,
0.6716563701629639,
-1.1852933168411255,
0.7603480815887451,
0.6214752197265625,
-0.6433635354042053,
-0.41634422540664673,
0.45266973972320557,
0.076735720038414,
-0.9429871439933777,
1.0439635515213013,
0.19728638231754303,
-0.12479778379201889,
0.3134399354457855,
-0.36005899310112,
-1.1022394895553589,
0.5893986225128174,
0.3368709981441498,
-0.05129192769527435,
-0.5031569600105286,
0.07086827605962753,
0.4950767755508423,
-0.3143254220485687,
-0.06409920006990433,
0.7377822399139404,
0.34446534514427185,
-0.35875892639160156,
-0.849716067314148,
0.02424435503780842,
-0.14987243711948395,
0.1432935893535614,
0.24958842992782593,
-0.04522211477160454,
0.8941934108734131,
-0.4181094765663147,
-0.8529320359230042,
0.04469892382621765,
0.4413969814777374,
0.10526508092880249,
-0.24966849386692047,
0.2707596719264984,
0.8637700080871582,
0.19427132606506348,
-0.01502673327922821,
1.090761423110962,
-0.5976274609565735,
0.04794417694211006,
0.8911014795303345,
-0.1119295209646225,
0.6004987955093384,
0.3440529704093933,
-0.11346336454153061,
0.8247582316398621,
0.2694834768772125,
0.10165075957775116,
0.5337873101234436,
0.3484693169593811,
-0.10350075364112854,
-0.2025916427373886,
-0.16317403316497803,
-0.3401145040988922,
0.25112149119377136,
0.7323298454284668,
-0.41027185320854187,
-0.43534016609191895,
-0.1675858199596405,
0.1369975209236145,
-0.10016831010580063,
-0.33320555090904236,
0.8421417474746704,
0.044357068836688995,
-0.8861304521560669,
0.3706232011318207,
0.2474684864282608,
0.21120911836624146,
-0.6029102206230164,
-0.06968545913696289,
0.17266668379306793,
0.15070681273937225,
-0.03413133695721626,
-0.7403141856193542,
0.28487738966941833,
-0.4008197784423828,
-0.38060271739959717,
-0.316331684589386,
0.9012848138809204,
-0.6344585418701172,
-0.19910714030265808,
0.23234735429286957,
0.9776288270950317,
0.14990952610969543,
-0.13527703285217285,
-0.42542600631713867,
-0.30846166610717773,
-0.704990565776825,
0.03791014477610588,
0.3325606882572174,
0.30130213499069214,
0.15435639023780823,
0.4309892952442169,
0.5594474673271179,
0.5972822904586792,
0.1131581962108612,
0.4227883219718933,
0.4750719964504242,
-0.7614585757255554,
-0.8685283064842224,
-0.8026764988899231,
0.25099626183509827,
0.20158281922340393,
-0.17578794062137604,
0.9007984399795532,
0.4057876467704773,
0.8125285506248474,
-0.11985357850790024,
0.6807156205177307,
0.36413314938545227,
0.38036006689071655,
-0.7213137149810791,
0.43349993228912354,
-0.31508776545524597,
0.17650346457958221,
-0.4103117883205414,
-1.0986418724060059,
-0.24806033074855804,
0.45494982600212097,
-0.7209323048591614,
0.25674161314964294,
0.9585347175598145,
0.7256943583488464,
-0.07678411900997162,
-0.19523745775222778,
0.33728495240211487,
0.20922990143299103,
-0.2856939435005188,
0.5269514322280884,
0.9801520109176636,
-0.16630811989307404,
-0.011799096129834652,
-0.2802726626396179,
-0.43593668937683105,
-0.14383335411548615,
-0.606587827205658,
-0.8157370090484619,
-0.7814958691596985,
-0.2392120659351349,
-0.27724605798721313,
0.38440680503845215,
0.6602034568786621,
0.5931879281997681,
-0.4592277705669403,
-0.3996996283531189,
-0.266615092754364,
-0.045562297105789185,
-0.5474082827568054,
-0.31550195813179016,
0.2489369660615921,
-0.6894036531448364,
-0.4803568422794342,
0.008648968301713467,
0.2979139983654022,
0.21001029014587402,
-0.1654650717973709,
0.6147859692573547,
-0.09501547366380692,
0.08304854482412338,
0.25373929738998413,
0.14513523876667023,
-0.8461003303527832,
-0.04234977811574936,
-0.19159093499183655,
-0.2932015061378479,
0.07519800961017609,
1.043853998184204,
-1.0455330610275269,
0.15767748653888702,
0.5798645615577698,
0.3316850960254669,
0.3575104773044586,
0.4217916429042816,
0.7208863496780396,
-0.6795004606246948,
0.155652716755867,
0.19255287945270538,
0.49300408363342285,
-0.06593851000070572,
-0.04375716298818588,
0.23175500333309174,
0.5384314656257629,
-0.28683364391326904,
-0.5912940502166748,
0.23146368563175201,
-0.8542974591255188,
-0.6695348620414734,
1.4068331718444824,
0.17730948328971863,
-0.3186446726322174,
-0.2191438227891922,
0.1527148187160492,
0.14007651805877686,
-0.23153887689113617,
0.6318473815917969,
0.7738877534866333,
-0.0088600879535079,
-0.029977543279528618,
-0.6378744840621948,
0.6536253690719604,
0.7919741272926331,
-0.5073791146278381,
0.18082424998283386,
0.865532398223877,
0.29868194460868835,
0.1481461077928543,
0.6369014382362366,
-0.32185205817222595,
0.4568825662136078,
0.359083354473114,
0.09819135814905167,
0.12256643921136856,
-0.8610246777534485,
-0.419116735458374,
0.4036157727241516,
0.10654670745134354,
0.046860262751579285
] |
http://arxiv.org/abs/2405.15943v1
|
http://arxiv.org/pdf/2405.15943v1
|
Transformers represent belief state geometry in their residual stream
| 2024-05-24T21:14:10 | 2024-05-24T21:14:10 |
Adam S. Shai, Sarah E. Marzen, Lucas Teixeira, Alexander Gietelink Oldenziel, Paul M. Riechers
|
cs.LG
|
cs.LG, cs.CL
|
What computational structure are we building into large language models when
we train them on next-token prediction? Here, we present evidence that this
structure is given by the meta-dynamics of belief updating over hidden states
of the data-generating process. Leveraging the theory of optimal prediction, we
anticipate and then find that belief states are linearly represented in the
residual stream of transformers, even in cases where the predicted belief state
geometry has highly nontrivial fractal structure. We investigate cases where
the belief state geometry is represented in the final residual stream or
distributed across the residual streams of multiple layers, providing a
framework to explain these observations. Furthermore we demonstrate that the
inferred belief states contain information about the entire future, beyond the
local next-token prediction that the transformers are explicitly trained on.
Our work provides a framework connecting the structure of training data to the
computational structure and representations that transformers use to carry out
their behavior.
|
[
-0.4717143177986145,
-0.3764393925666809,
0.6564466953277588,
-0.25078853964805603,
0.09636127203702927,
0.18086528778076172,
-0.18145692348480225,
-0.15717580914497375,
0.5196813941001892,
0.3562479317188263,
-0.7568728923797607,
-0.24756090342998505,
-0.688281238079071,
-0.008587283082306385,
-0.9567773938179016,
0.9771602749824524,
0.0534648671746254,
-0.35324692726135254,
-0.10420997440814972,
0.2558075189590454,
-0.23909993469715118,
-0.7163938283920288,
-0.3137631118297577,
-0.564460813999176,
0.32290977239608765,
0.021976428106427193,
1.027396559715271,
0.724861204624176,
0.01951904594898224,
0.32310402393341064,
0.10453611612319946,
-0.3909781277179718,
-0.6388814449310303,
0.28785720467567444,
0.09944690763950348,
-0.9885818958282471,
0.10836735367774963,
-0.008913163095712662,
0.7973175048828125,
0.7587789297103882,
-0.24016211926937103,
0.349180668592453,
0.13009130954742432,
0.18418319523334503,
-0.5011710524559021,
0.47026073932647705,
-0.8740787506103516,
0.2620762884616852,
0.017186027020215988,
-0.40350809693336487,
-0.7268545627593994,
-0.4913349151611328,
0.07937493175268173,
-0.3154104948043823,
0.5286347270011902,
-0.10544613748788834,
0.8979265093803406,
0.48241278529167175,
-0.5180068612098694,
-0.0252293162047863,
-1.129336953163147,
0.7418793439865112,
-0.08591172099113464,
0.7376706004142761,
0.47444260120391846,
0.43686529994010925,
-0.30782845616340637,
-0.7450935244560242,
-0.4693642854690552,
-0.018687978386878967,
-0.27064743638038635,
0.17929424345493317,
-0.4462733864784241,
-0.03862797096371651,
0.27385184168815613,
0.31088492274284363,
-0.14403443038463593,
0.11858034878969193,
-0.15265123546123505,
-0.4147379696369171,
0.1479371190071106,
0.268922358751297,
-0.13049225509166718,
-0.16096366941928864,
-0.4556066393852234,
-0.29401957988739014,
-0.5549681186676025,
0.1618131697177887,
0.30882224440574646,
0.0180120300501585,
-0.06650649011135101,
0.5600346326828003,
0.1838875710964203,
0.355256050825119,
0.18701814115047455,
-0.21660402417182922,
0.2315206527709961,
0.24585428833961487,
-0.2964825928211212,
0.16555432975292206,
0.5532238483428955,
0.003698676824569702,
0.004429721739143133,
-0.3256138861179352,
-0.41739848256111145,
0.3938271403312683,
0.40918347239494324,
-0.46281078457832336,
-0.13068893551826477,
0.052030764520168304,
-0.6867868900299072,
-0.49188342690467834,
0.12052467465400696,
-0.7165555357933044,
-0.29532572627067566,
-0.44079455733299255,
0.19925469160079956,
-0.49378466606140137,
-0.5707985162734985,
-0.03596289083361626,
-0.15172602236270905,
0.014470902271568775,
0.0842098593711853,
-1.139411211013794,
0.28239765763282776,
0.845862865447998,
0.5657403469085693,
0.23855803906917572,
-0.21112549304962158,
-0.2581111192703247,
0.35864055156707764,
-0.6119663715362549,
0.9916635155677795,
-0.8752623200416565,
-0.29867589473724365,
0.26387035846710205,
0.11835971474647522,
-0.09484941512346268,
-0.2201320230960846,
0.6795621514320374,
-0.5842671394348145,
0.1549414098262787,
-0.431395947933197,
-0.8314136266708374,
-0.35868972539901733,
0.0006761312251910567,
-0.7728269100189209,
1.057539463043213,
-0.0036606406792998314,
-0.719694972038269,
0.6700513958930969,
-0.48291367292404175,
-0.1027781218290329,
-0.1089618131518364,
-0.23030586540699005,
-0.3332502841949463,
0.5527975559234619,
-0.0626385509967804,
0.39211395382881165,
0.004251648206263781,
0.18771006166934967,
-0.5501909255981445,
-0.37671172618865967,
0.3792198896408081,
-0.7664958238601685,
0.31472092866897583,
0.2270074337720871,
-0.5107609033584595,
0.09526241570711136,
-0.47616299986839294,
-0.22681815922260284,
-0.2268414944410324,
-0.16423271596431732,
-0.0714007318019867,
0.6393570899963379,
-0.3690051734447479,
0.10979999601840973,
0.04826315492391586,
-0.7477664947509766,
0.22056062519550323,
-0.3773059844970703,
0.24748054146766663,
1.2421268224716187,
-0.07851038128137589,
0.6111529469490051,
0.06656176596879959,
0.4959171414375305,
0.12398328632116318,
0.35323306918144226,
-0.2958561182022095,
-0.4678274095058441,
-0.8798151612281799,
-0.000916197313927114,
-0.01465551182627678,
0.09418412297964096,
-0.4415109157562256,
0.2914273142814636,
-0.5507268309593201,
-0.3645285665988922,
-0.19040371477603912,
-0.45096248388290405,
-0.1471545249223709,
0.5937667489051819,
0.30761122703552246,
0.3365198075771332,
-0.6802895069122314,
-1.0520347356796265,
-0.165610671043396,
-0.29265671968460083,
-0.04162340983748436,
-0.35363683104515076,
0.4920186698436737,
-0.29060885310173035,
1.1162089109420776,
-0.6016300320625305,
-0.043794967234134674,
-0.06270529329776764,
0.13746614754199982,
0.5478017330169678,
0.09202247858047485,
0.5512647032737732,
-0.726285457611084,
-0.26926442980766296,
0.13896088302135468,
-0.7726297974586487,
0.5012342929840088,
-0.3431960940361023,
0.0051633091643452644,
0.35285836458206177,
0.36283570528030396,
-0.569837212562561,
0.6907988786697388,
0.5968798995018005,
-0.36503148078918457,
0.3811430037021637,
0.046727441251277924,
-0.07300657033920288,
-1.0702240467071533,
-0.17067164182662964,
-0.18183201551437378,
-0.40292128920555115,
-0.534285843372345,
-0.2800852060317993,
-0.10910555720329285,
-0.2155974954366684,
0.1832241415977478,
0.05896664783358574,
-0.34386834502220154,
-0.393381267786026,
-0.39695513248443604,
-0.37284553050994873,
-0.6349799633026123,
0.623725175857544,
0.3840714395046234,
0.5660144686698914,
0.8917292952537537,
-0.2963353395462036,
0.17443618178367615,
0.11489800363779068,
-0.1938432902097702,
0.043504029512405396,
-0.35437336564064026,
-0.1936882585287094,
-0.3100431263446808,
0.5421053767204285,
-0.8767380714416504,
-0.14010369777679443,
-0.15021434426307678,
-0.5516383051872253,
0.21301130950450897,
-0.328729510307312,
-0.7114537954330444,
-0.6106960773468018,
0.11699242889881134,
-0.04605407640337944,
0.9095299243927002,
-0.6000669598579407,
0.9561342000961304,
0.4316911995410919,
0.12973105907440186,
-0.803849995136261,
-0.5063449740409851,
-0.025917286053299904,
-0.06604465842247009,
-0.39241427183151245,
0.14519795775413513,
0.4241853952407837,
-0.012652150355279446,
0.41337478160858154,
-0.2445402592420578,
-0.016059286892414093,
-0.008657095022499561,
0.5996301770210266,
0.2758513391017914,
-0.29200664162635803,
0.30853164196014404,
0.24667131900787354,
-0.5113857984542847,
0.47376686334609985,
-0.8371809124946594,
0.8010935187339783,
-0.1942891925573349,
-0.5007922053337097,
-0.33604544401168823,
0.27741238474845886,
0.6254768371582031,
0.04682202637195587,
1.025295615196228,
0.6903696656227112,
-0.47187095880508423,
-0.266180157661438,
-0.337899386882782,
-0.30116185545921326,
-0.5182254910469055,
0.3077917993068695,
-0.4738630950450897,
-0.8381543159484863,
0.654020369052887,
-0.10502811521291733,
0.4049467444419861,
0.76889967918396,
0.8284175992012024,
-0.44166192412376404,
1.0350474119186401,
0.8508778214454651,
-0.010281724855303764,
0.380354642868042,
-0.4795154631137848,
0.25465402007102966,
-0.31420600414276123,
-0.5182225108146667,
-0.2996499836444855,
-0.5436407923698425,
-0.5412498116493225,
-0.3696674406528473,
0.594118595123291,
0.21622951328754425,
-0.32684123516082764,
0.49234244227409363,
-0.27701839804649353,
0.40177860856056213,
0.43541964888572693,
-0.12141241133213043,
-0.09189577400684357,
0.30669811367988586,
-0.4576772451400757,
-0.10551752895116806,
-0.5343753695487976,
-0.4245888888835907,
0.9199889898300171,
0.5313351154327393,
0.6065073609352112,
-0.023146796971559525,
0.6405046582221985,
0.24095886945724487,
0.43309035897254944,
-0.6520698070526123,
0.23275142908096313,
0.03894190490245819,
-0.6588047742843628,
-0.10551038384437561,
-0.1502598226070404,
-0.8395335674285889,
0.2137516736984253,
-0.4833810031414032,
-0.714789628982544,
0.4920703172683716,
0.23668117821216583,
-0.021988434717059135,
0.9995580315589905,
-0.43395453691482544,
0.551160454750061,
0.20757584273815155,
0.16169072687625885,
-0.6906944513320923,
-0.5069230198860168,
0.19747500121593475,
-0.10651149600744247,
-0.09766044467687607,
0.2668328881263733,
0.019861457869410515,
0.36239925026893616,
-0.543551504611969,
1.0523693561553955,
-0.27085793018341064,
-0.14686422049999237,
0.5008477568626404,
0.31629523634910583,
0.6289730072021484,
0.03994939476251602,
-0.1470821052789688,
0.1834457814693451,
-0.07778415828943253,
-0.3047458529472351,
-0.7914557456970215,
0.3452419340610504,
-0.8960928320884705,
-0.47312772274017334,
-0.3982822895050049,
-0.2929815948009491,
-0.1661270707845688,
0.12399894744157791,
0.4641328454017639,
0.8697832226753235,
0.15958508849143982,
0.3832476735115051,
0.7846395373344421,
-0.15169228613376617,
0.7367491126060486,
-0.016718784347176552,
-0.25728529691696167,
0.025094937533140182,
0.8151321411132812,
-0.11926116794347763,
0.29553231596946716,
0.7288709878921509,
0.09630415588617325,
-0.7530198097229004,
-0.2805558741092682,
-0.15913426876068115,
0.08041161298751831,
-1.028913140296936,
-0.1949557662010193,
-0.6514940857887268,
-0.21063639223575592,
-0.0973421037197113,
-0.03213602676987648,
-0.3945750892162323,
-0.3829112946987152,
-0.1905282437801361,
-0.557079553604126,
0.303696870803833,
0.9735399484634399,
-0.2580975294113159,
0.1635119765996933,
-0.7298386096954346,
0.15001946687698364,
0.026892775669693947,
0.5815739631652832,
0.13853609561920166,
-0.4215725362300873,
-0.4436807632446289,
0.14271968603134155,
-0.30791226029396057,
-0.7024394273757935,
0.09657543897628784,
0.14177045226097107,
0.7619805335998535,
0.567691445350647,
-0.23734864592552185,
0.8162026405334473,
-0.7407323718070984,
0.8115203380584717,
0.4674866199493408,
-0.7658138275146484,
0.3043025732040405,
-0.26505720615386963,
-0.1419731229543686,
0.18121644854545593,
0.6022540330886841,
-0.605017900466919,
-0.5968695282936096,
-0.6624107360839844,
-0.12884032726287842,
0.4049947261810303,
0.0840330719947815,
0.40711674094200134,
-0.15814967453479767,
0.3042667508125305,
0.569078803062439,
0.04186847805976868,
-0.643475353717804,
-0.488351047039032,
-0.7444782853126526,
-0.1378343254327774,
0.07154275476932526,
-0.2033955603837967,
0.07032130658626556,
-0.24936909973621368,
0.17503248155117035,
-0.21496649086475372,
0.971916913986206,
-0.1062939465045929,
0.1558203548192978,
-0.30663251876831055,
0.01971771940588951,
0.5576560497283936,
0.41980743408203125,
0.0028601838275790215,
0.10243126004934311,
0.07524915039539337,
-0.4969053566455841,
0.1146637424826622,
-0.17646409571170807,
-0.07290709763765335,
0.22301894426345825,
0.6513866186141968,
1.0973130464553833,
0.27786681056022644,
-0.010122401639819145,
0.36380255222320557,
-0.00837473850697279,
-0.2056778371334076,
-0.9855387806892395,
-0.05817723274230957,
0.03633192926645279,
0.31030622124671936,
0.7594195008277893,
0.9582518935203552,
0.060620080679655075,
-0.6083869934082031,
0.43236473202705383,
0.2993353307247162,
-0.5673391222953796,
-0.9038034677505493,
0.88504958152771,
-0.17066581547260284,
0.06319929659366608,
0.6083095073699951,
0.0631302148103714,
-0.6722186207771301,
0.23123548924922943,
0.4720452129840851,
1.0309125185012817,
-0.0018783003324642777,
0.4401799738407135,
0.4528597891330719,
0.2654743492603302,
-0.05144675076007843,
0.09450877457857132,
-0.024353062734007835,
-0.6191489696502686,
-0.8250497579574585,
-0.9766952395439148,
0.13190007209777832,
-0.24378404021263123,
-0.5922644138336182,
0.5056663751602173,
-0.38222506642341614,
-0.39655986428260803,
-0.2760169506072998,
-0.5678200721740723,
-0.526170015335083,
0.09236161410808563,
0.5934056639671326,
0.9283344745635986,
-0.8982037901878357,
0.9927368760108948,
0.15639036893844604,
-0.287535697221756,
-1.0809017419815063,
0.2025711089372635,
0.005021759774535894,
-0.882412850856781,
0.8537883162498474,
-0.06309263408184052,
-0.372367262840271,
-0.08475178480148315,
-0.39104363322257996,
-1.3994896411895752,
0.8997026681900024,
0.6646943092346191,
-0.4397714138031006,
-0.24417102336883545,
0.32125064730644226,
0.7758884429931641,
-0.17204412817955017,
0.1880488246679306,
0.2113385945558548,
0.28392481803894043,
0.3243352174758911,
-0.6054674983024597,
-0.20731067657470703,
-0.048442550003528595,
-0.2813231945037842,
0.7073204517364502,
-0.25816887617111206,
1.009698510169983,
-0.2000451534986496,
-0.6112960577011108,
-0.07110145688056946,
1.0452344417572021,
-0.2053094059228897,
-0.3619382977485657,
0.7398832440376282,
0.7384039163589478,
0.6228646039962769,
-0.4015537202358246,
1.4710508584976196,
-0.3054299056529999,
0.6645048260688782,
0.7191036939620972,
0.29844579100608826,
0.8320013284683228,
0.1609162539243698,
-0.19839565455913544,
1.1401605606079102,
0.7819908261299133,
-0.28841647505760193,
0.6209996938705444,
-0.2635589838027954,
0.06462246924638748,
-0.46782612800598145,
-0.055171240121126175,
-0.34329941868782043,
0.5040220618247986,
0.4279713034629822,
-0.40575820207595825,
-0.2082681506872177,
-0.1221533864736557,
-0.14195315539836884,
-0.0430324524641037,
-0.21182675659656525,
0.476009339094162,
-0.07743751257658005,
-0.49176108837127686,
0.723845362663269,
-0.26096463203430176,
0.40434274077415466,
-0.5195086002349854,
-0.10271739214658737,
-0.10717263072729111,
0.17670631408691406,
-0.3427512049674988,
-1.0174529552459717,
0.5068541169166565,
-0.30125629901885986,
-0.30607664585113525,
-0.5255196690559387,
0.4121790826320648,
-0.256539911031723,
-0.6198915243148804,
0.2027226984500885,
-0.19360686838626862,
-0.0030632889829576015,
0.13543352484703064,
-0.48266735672950745,
-0.164398655295372,
-0.04828311502933502,
-0.2042635977268219,
0.028848791494965553,
0.3552141487598419,
-0.18901850283145905,
0.7862305641174316,
0.6687543988227844,
0.10415481775999069,
0.5318391919136047,
0.12096274644136429,
0.9065728187561035,
-0.41445332765579224,
-0.7651492357254028,
-0.8823410868644714,
0.4686664640903473,
0.09769706428050995,
-0.07177764177322388,
0.4945869743824005,
0.5365992784500122,
0.6716989278793335,
-0.13473474979400635,
0.5947455763816833,
0.0671602189540863,
0.43033963441848755,
-0.3966681659221649,
0.6611779928207397,
-0.37921828031539917,
-0.09187021851539612,
-0.19162552058696747,
-1.1436690092086792,
0.12641900777816772,
0.2710381746292114,
-0.16646453738212585,
-0.18767499923706055,
0.9067246317863464,
0.29141539335250854,
-0.09210286289453506,
0.542716920375824,
0.1389382779598236,
0.425091028213501,
0.33166080713272095,
0.44895562529563904,
1.051056146621704,
-0.3004263937473297,
0.4247436225414276,
-0.187416210770607,
-0.014142956584692001,
0.15030647814273834,
-0.39455267786979675,
-0.7258941531181335,
-1.0326765775680542,
0.20357127487659454,
-0.24637943506240845,
-0.8020259141921997,
0.6125949025154114,
0.5723269581794739,
-0.8040311932563782,
-0.21758633852005005,
-0.13743741810321808,
-0.1292295604944229,
-0.24065765738487244,
-0.2059268206357956,
0.431066632270813,
-0.40404894948005676,
-0.5167442560195923,
0.2827852964401245,
0.4256473481655121,
-0.10713319480419159,
-0.5122553110122681,
0.031177310273051262,
0.232554629445076,
-0.15170106291770935,
0.6926275491714478,
0.009333088994026184,
-0.8728935718536377,
-0.6443771123886108,
0.2681989371776581,
0.1290825456380844,
-0.05509989336133003,
0.9335877895355225,
-1.0006649494171143,
0.25253912806510925,
0.3608114719390869,
0.4453786611557007,
0.6543658375740051,
-0.13482289016246796,
0.8703694939613342,
-0.5849883556365967,
0.228398859500885,
0.16170860826969147,
0.5448045134544373,
-0.10746847093105316,
-0.3372938930988312,
0.2051168978214264,
0.3228289783000946,
-0.20002636313438416,
-0.9012538194656372,
0.41026508808135986,
-0.47314563393592834,
-0.1913200318813324,
0.8655926585197449,
0.037600480020046234,
-0.28186631202697754,
-0.10115808248519897,
0.35548821091651917,
0.16211995482444763,
-0.26100271940231323,
0.608683168888092,
0.5944384932518005,
-0.20509596168994904,
-0.16386577486991882,
-0.3924036920070648,
0.588905394077301,
0.16307426989078522,
-0.32679709792137146,
0.13923048973083496,
0.30430281162261963,
0.2707897424697876,
0.5125815868377686,
0.25659796595573425,
-0.3002152740955353,
-0.028561852872371674,
0.16855162382125854,
-0.23703335225582123,
0.0903376117348671,
-0.5091609954833984,
-0.12233094871044159,
0.3307937681674957,
-0.2924306392669678,
-0.049379363656044006
] |
http://arxiv.org/abs/2405.15936v1
|
http://arxiv.org/pdf/2405.15936v1
|
Zero-Shot Spam Email Classification Using Pre-trained Large Language Models
| 2024-05-24T20:55:49 | 2024-05-24T20:55:49 |
Sergio Rojas-Galeano
|
cs.CL
|
cs.CL, cs.AI, I.2.7
|
This paper investigates the application of pre-trained large language models
(LLMs) for spam email classification using zero-shot prompting. We evaluate the
performance of both open-source (Flan-T5) and proprietary LLMs (ChatGPT, GPT-4)
on the well-known SpamAssassin dataset. Two classification approaches are
explored: (1) truncated raw content from email subject and body, and (2)
classification based on summaries generated by ChatGPT. Our empirical analysis,
leveraging the entire dataset for evaluation without further training, reveals
promising results. Flan-T5 achieves a 90% F1-score on the truncated content
approach, while GPT-4 reaches a 95% F1-score using summaries. While these
initial findings on a single dataset suggest the potential for classification
pipelines of LLM-based subtasks (e.g., summarisation and classification),
further validation on diverse datasets is necessary. The high operational costs
of proprietary models, coupled with the general inference costs of LLMs, could
significantly hinder real-world deployment for spam filtering.
|
[
-0.20780150592327118,
-0.6803858280181885,
0.3592246472835541,
0.016663698479533195,
-0.2698582708835602,
0.018278969451785088,
-0.20700813829898834,
-0.40678590536117554,
0.11795426905155182,
0.7889429926872253,
-0.6664693355560303,
-0.7832528948783875,
-0.8813087344169617,
0.26736167073249817,
-0.8069285154342651,
1.271682858467102,
0.07992609590291977,
-0.21419550478458405,
0.22671109437942505,
0.13936454057693481,
-0.41806498169898987,
-0.5866550803184509,
-0.43419498205184937,
-0.17135053873062134,
0.7937538027763367,
0.6625202298164368,
0.039591234177351,
0.23108500242233276,
0.2176835834980011,
0.24591679871082306,
0.3056497573852539,
-0.18791364133358002,
-0.6167423725128174,
0.13594384491443634,
0.01654890738427639,
-0.526995837688446,
-0.27193960547447205,
0.22658413648605347,
0.42518705129623413,
0.3280767798423767,
-0.3405325412750244,
0.3774639666080475,
-0.037247128784656525,
0.12410175800323486,
-0.7666153311729431,
-0.11055126786231995,
-0.7836040258407593,
0.20346295833587646,
-0.2791574001312256,
-0.42868953943252563,
-0.6717763543128967,
-0.16609874367713928,
0.08421245962381363,
-0.153904527425766,
0.4032147228717804,
0.09057217836380005,
0.7281095385551453,
-0.06168283149600029,
-0.18319782614707947,
-0.30431103706359863,
-0.5587471127510071,
0.7761503458023071,
-0.6957939863204956,
0.05858202651143074,
0.21121354401111603,
0.5165379643440247,
-0.032893646508455276,
-0.511608898639679,
-0.16266165673732758,
-0.10156552493572235,
0.06923850625753403,
0.09544721245765686,
-0.33408182859420776,
0.19454610347747803,
0.30682456493377686,
0.38955122232437134,
-0.9677769541740417,
0.4561508595943451,
-0.6086888313293457,
-0.10891871899366379,
0.4416549503803253,
0.16444779932498932,
0.05220932513475418,
0.32210567593574524,
-0.23868058621883392,
0.26184070110321045,
-0.8084160089492798,
-0.2524156868457794,
0.2832191288471222,
0.4251534640789032,
0.06090158224105835,
0.678712010383606,
-0.4633655250072479,
0.7188271880149841,
0.09187354892492294,
-0.0766684040427208,
-0.008611908182501793,
0.055310431867837906,
-0.6836746335029602,
0.10709965229034424,
0.9046396613121033,
-0.1668812334537506,
0.5275543332099915,
-0.12852579355239868,
-0.21502040326595306,
0.03604887053370476,
0.4118801951408386,
-1.1830739974975586,
-0.046256158500909805,
0.2934753894805908,
-0.1002664789557457,
-0.4067661762237549,
0.1426854133605957,
-0.5952051281929016,
-0.2698139250278473,
0.002611605217680335,
0.5114856958389282,
-0.22423385083675385,
-0.18666166067123413,
0.498975545167923,
0.10772465914487839,
0.06514963507652283,
0.6457614898681641,
-0.6083683371543884,
0.47447022795677185,
0.8079667091369629,
0.8745920062065125,
-0.062224265187978745,
-0.45766717195510864,
-0.660611629486084,
0.020647486671805382,
-0.20212042331695557,
1.1324092149734497,
-0.6235857605934143,
-0.01693960465490818,
0.22760489583015442,
0.002869537565857172,
-0.18568076193332672,
-0.5212604999542236,
0.2120492160320282,
-0.673525869846344,
0.6529484391212463,
0.25384435057640076,
-0.6974697113037109,
-0.28127720952033997,
0.7393541932106018,
-0.5220393538475037,
0.6473198533058167,
0.397173672914505,
-0.7413489818572998,
0.4741094410419464,
-0.7029295563697815,
-0.43330731987953186,
0.36940088868141174,
0.21713635325431824,
-0.39513063430786133,
0.192304790019989,
-0.09658144414424896,
1.0340410470962524,
-0.28660842776298523,
0.06021396443247795,
-0.44151440262794495,
-0.5152497887611389,
0.3362214267253876,
-0.5097581148147583,
0.3910852372646332,
0.1624975949525833,
-0.45067283511161804,
0.030146121978759766,
-0.43229255080223083,
-0.14481985569000244,
0.020326141268014908,
-0.11981174349784851,
0.09989678114652634,
-0.6356142163276672,
-0.2410397082567215,
0.2948305904865265,
-0.0006856613326817751,
-0.6044459939002991,
0.12421660125255585,
-0.341442734003067,
-0.03684035316109657,
0.6520835757255554,
0.12689992785453796,
0.38879626989364624,
-0.4245598316192627,
0.767751932144165,
0.08751385658979416,
0.18638935685157776,
-0.4536583721637726,
-0.47045522928237915,
-0.7565151453018188,
-0.5317705869674683,
0.2497583031654358,
0.7318559288978577,
-0.3534250855445862,
0.47026315331459045,
-0.4986919164657593,
-0.47235557436943054,
-0.2663302421569824,
0.27269604802131653,
0.18598097562789917,
0.03485835716128349,
0.19424468278884888,
-0.16256996989250183,
-0.222508043050766,
-0.5585758090019226,
-0.18034882843494415,
0.0051314011216163635,
-0.1646079272031784,
-0.027363386005163193,
0.5025807023048401,
0.07002802193164825,
0.5195601582527161,
-0.544487714767456,
-0.3650931715965271,
-0.4765361547470093,
0.4119904935359955,
0.27663809061050415,
0.017449205741286278,
0.5993216633796692,
-0.21938028931617737,
-0.6782520413398743,
-0.2584216594696045,
-0.30271515250205994,
-0.21173414587974548,
0.021163474768400192,
0.07795289158821106,
0.25186046957969666,
-0.195228710770607,
-0.8362462520599365,
0.6269150972366333,
0.28543853759765625,
-0.2340373992919922,
0.5679252743721008,
0.07551109045743942,
0.39513760805130005,
-0.8577098846435547,
0.03759740665555,
0.1964806616306305,
-0.3994538486003876,
-1.1143369674682617,
-0.3428654372692108,
-0.05584602802991867,
-0.1814451366662979,
-0.7911226749420166,
0.5646779537200928,
-0.4767380952835083,
-0.015245966613292694,
-0.5295365452766418,
-0.19258904457092285,
-0.11440854519605637,
0.3971240222454071,
0.3005506992340088,
0.44682592153549194,
0.5568701028823853,
-0.5369707345962524,
0.522223949432373,
-0.1865158975124359,
-0.3533058762550354,
0.6245438456535339,
-0.46672937273979187,
0.04437439143657684,
-0.025303611531853676,
0.4507182836532593,
-0.8528691530227661,
-0.3269030749797821,
0.7675078511238098,
-0.6449477076530457,
0.4287865161895752,
-0.34992894530296326,
-0.7608124613761902,
-0.22265127301216125,
-0.4484831690788269,
0.12335716187953949,
0.667769193649292,
-0.26539334654808044,
0.18670128285884857,
-0.07738500833511353,
-0.05253450945019722,
-0.6216277480125427,
-0.6619730591773987,
0.05552007630467415,
-0.41214683651924133,
-0.25079143047332764,
-0.3287111520767212,
0.0553072988986969,
0.23313988745212555,
-0.15576989948749542,
-0.03940015286207199,
-0.2577033042907715,
0.04591396078467369,
0.3867226839065552,
-0.002649291418492794,
-0.24218909442424774,
-0.24395982921123505,
-0.21487316489219666,
0.021495260298252106,
-0.1605844646692276,
-0.32219645380973816,
0.6204118132591248,
0.057220518589019775,
-0.4515392780303955,
-0.5330708026885986,
0.3030269145965576,
0.5640516877174377,
0.0184763316065073,
1.0366673469543457,
0.5502467751502991,
-0.36752229928970337,
-0.44032663106918335,
-0.8258260488510132,
-0.3160255551338196,
-0.379472553730011,
0.008113126270473003,
-0.10826142132282257,
-1.1980749368667603,
0.08699976652860641,
-0.00928791705518961,
0.12436861544847488,
0.08371703326702118,
0.3738364577293396,
-0.0005952199571765959,
0.620246410369873,
0.5794742107391357,
-0.2675382196903229,
0.4162757396697998,
-0.3234465718269348,
0.1685139387845993,
-0.06686149537563324,
-0.11114955693483353,
-0.5537014603614807,
0.019901487976312637,
-0.0290529727935791,
-0.36531949043273926,
-0.03583405539393425,
-0.16177499294281006,
-0.45665571093559265,
0.2104605734348297,
-0.3290436863899231,
0.564705491065979,
0.2096889317035675,
-0.0599040761590004,
-0.09844811260700226,
0.4231843054294586,
0.3527725040912628,
0.35760951042175293,
-0.6997673511505127,
-0.5115723013877869,
1.2142083644866943,
0.395307719707489,
0.7161291241645813,
0.07525653392076492,
0.7182536721229553,
0.43179136514663696,
0.8380593657493591,
-0.8006388545036316,
0.5642812848091125,
-0.14686590433120728,
-0.6419476866722107,
-0.16061213612556458,
-0.33717525005340576,
-1.2022979259490967,
0.23483744263648987,
-0.17335638403892517,
-0.8026170134544373,
-0.520334780216217,
0.03019431047141552,
-0.40144890546798706,
0.4664042890071869,
-0.6405273079872131,
0.7920063734054565,
-0.09464628249406815,
-0.07098977267742157,
0.04679909348487854,
-0.437262624502182,
0.6045803427696228,
-0.29348689317703247,
0.21541400253772736,
-0.3602769374847412,
-0.14958271384239197,
0.5571932196617126,
-0.2983587682247162,
1.1478612422943115,
-0.2465467005968094,
-0.08845879882574081,
0.2623656392097473,
0.1091916635632515,
0.25845760107040405,
-0.21406565606594086,
0.04404578357934952,
0.3804914355278015,
-0.037581294775009155,
-0.5822716355323792,
-0.6731479167938232,
0.6660786867141724,
-0.5176286101341248,
-0.5869366526603699,
-0.7010250687599182,
-0.1738060861825943,
-0.06374458968639374,
0.30394479632377625,
0.13338053226470947,
0.25335681438446045,
-0.006926934700459242,
0.22226879000663757,
0.6611581444740295,
-0.08181679993867874,
0.07505100965499878,
1.0770639181137085,
-0.17459693551063538,
-0.3623445928096771,
0.7443752884864807,
0.15844285488128662,
0.15954619646072388,
0.5718567967414856,
0.09108385443687439,
-0.31500566005706787,
-0.75079745054245,
-0.4348006248474121,
0.4096481502056122,
-0.5202377438545227,
-0.5929490923881531,
-0.673936665058136,
-0.36154884099960327,
-0.7878111004829407,
-0.038629841059446335,
-0.09019657969474792,
-0.1092357486486435,
-0.5164747834205627,
-0.019670281559228897,
0.24830366671085358,
1.0112961530685425,
0.21977165341377258,
0.7244904041290283,
-0.9972671866416931,
0.12794196605682373,
-0.09652318805456161,
0.42093563079833984,
-0.13406060636043549,
-0.8455423712730408,
-0.3590617775917053,
0.053058307617902756,
-0.18531213700771332,
-1.1385029554367065,
0.39121362566947937,
0.23133118450641632,
0.6157132983207703,
0.5947943925857544,
0.16228032112121582,
0.5045785903930664,
-0.3552616238594055,
0.9785622358322144,
0.13796621561050415,
-0.6261790990829468,
0.5023258328437805,
-0.2725120484828949,
0.3354674279689789,
0.35394442081451416,
0.6983774900436401,
-0.3470153212547302,
-0.48781317472457886,
-0.6245018839836121,
-0.39542442560195923,
0.9754420518875122,
0.1610708087682724,
0.1816064417362213,
0.058003224432468414,
0.4235799014568329,
0.47539159655570984,
0.44835880398750305,
-0.7871548533439636,
0.06507791578769684,
-0.017335418611764908,
-0.27646610140800476,
-0.3656632900238037,
-0.4014950692653656,
0.049476832151412964,
0.056467097252607346,
0.7430420517921448,
0.0481431782245636,
0.16778914630413055,
-0.36768922209739685,
-0.4854361414909363,
0.07098384201526642,
0.6501442193984985,
0.7385592460632324,
0.42268601059913635,
-0.09024471789598465,
-0.03623981401324272,
0.2829713523387909,
-0.38188669085502625,
0.4502616226673126,
-0.2577332556247711,
-0.037365689873695374,
0.0761433094739914,
0.3530251681804657,
0.7611342668533325,
0.17644840478897095,
-0.5273292064666748,
0.963318943977356,
-0.05993847921490669,
-0.5283821821212769,
-0.3381388187408447,
0.02519681118428707,
-0.39761027693748474,
0.10651601105928421,
0.1987847089767456,
-0.3214017450809479,
0.12988826632499695,
-0.20942728221416473,
-0.035151924937963486,
0.44273582100868225,
-0.07946561276912689,
-0.4539060592651367,
0.05908293277025223,
-0.05347040295600891,
-0.025419456884264946,
0.4588203728199005,
0.0981224998831749,
-0.44314172863960266,
0.21877789497375488,
0.4421142637729645,
1.0261930227279663,
-0.5867250561714172,
0.46748560667037964,
0.1716739982366562,
0.33956941962242126,
-0.2784545123577118,
-0.09173721820116043,
-0.40617334842681885,
-0.5644230246543884,
-0.5920316576957703,
-0.6869494915008545,
-0.43071281909942627,
0.6620097160339355,
-0.3243267238140106,
0.4974920451641083,
-0.6193768978118896,
0.06499360501766205,
0.04744236543774605,
0.06642347574234009,
-0.662753701210022,
0.2260846048593521,
0.27942684292793274,
1.0099719762802124,
-1.1513266563415527,
0.8035989999771118,
0.7094907760620117,
-0.2747902572154999,
-0.4825809597969055,
-0.07888999581336975,
0.17757780849933624,
-0.6170588135719299,
0.709701418876648,
0.5542227029800415,
-0.0987214669585228,
-0.1841932088136673,
-0.6892309784889221,
-0.40051764249801636,
0.8964889645576477,
0.5069807171821594,
-0.2829962372779846,
0.09663844853639603,
0.4435138404369354,
0.5259881019592285,
-0.38144394755363464,
0.5792471766471863,
0.3072260022163391,
0.25375205278396606,
0.5144005417823792,
-0.9119950532913208,
-0.09618442505598068,
-0.2543749213218689,
-0.2530381679534912,
0.2133771777153015,
-0.3898652195930481,
0.5780653953552246,
0.2713543176651001,
-0.397988885641098,
0.1100282073020935,
0.45475873351097107,
0.17926079034805298,
0.37249046564102173,
0.4604616165161133,
0.5397554636001587,
0.30521178245544434,
0.011837461031973362,
0.7706764340400696,
-0.056023720651865005,
0.3082135319709778,
0.7982051372528076,
-0.4547092616558075,
0.8728480935096741,
0.14623300731182098,
-0.1789793074131012,
0.3960193693637848,
0.8595260381698608,
0.001930661266669631,
0.3895258903503418,
0.5602102875709534,
-0.6165649890899658,
-0.03244125097990036,
0.08724737912416458,
-0.21228137612342834,
0.29214829206466675,
0.5317192673683167,
-0.13721124827861786,
-0.4756864607334137,
0.16715288162231445,
0.2097059190273285,
-0.374715119600296,
-0.3934691250324249,
1.019603967666626,
-0.06439599394798279,
-0.5323326587677002,
0.6260527968406677,
-0.05446721613407135,
1.0178157091140747,
-0.6653652787208557,
0.11219654977321625,
-0.174550399184227,
0.24492380023002625,
-0.30703455209732056,
-0.7493695020675659,
0.3230529725551605,
0.4578799605369568,
0.1412794291973114,
-0.40084829926490784,
1.0253000259399414,
-0.46699291467666626,
-0.2937796115875244,
-0.019182806834578514,
0.24266257882118225,
0.7458309531211853,
-0.48165062069892883,
-0.7188329696655273,
0.01030389778316021,
-0.34384530782699585,
-0.3928321897983551,
0.5082578063011169,
0.501335084438324,
0.07928813248872757,
0.6418613791465759,
0.5725609660148621,
0.3691699504852295,
0.11436393857002258,
0.08325951546430588,
0.7868897318840027,
-0.5615184307098389,
-0.4544561207294464,
-0.8787398934364319,
0.32713159918785095,
-0.21922782063484192,
0.25368496775627136,
0.7768904566764832,
0.5898616313934326,
0.7319605350494385,
-0.2847151458263397,
0.8727854490280151,
0.2708311975002289,
0.7688408493995667,
-0.4753640294075012,
0.5525646805763245,
-0.40139931440353394,
0.24364450573921204,
-0.09254290163516998,
-0.9716152548789978,
-0.6170704960823059,
0.22554776072502136,
-0.45115897059440613,
0.2777494490146637,
0.5435278415679932,
0.751526415348053,
-0.22154931724071503,
0.04621099680662155,
0.7243582606315613,
-0.029415279626846313,
0.18787726759910583,
0.6083303689956665,
1.0383343696594238,
-0.1752743124961853,
0.5923745632171631,
-0.16924934089183807,
-0.33006080985069275,
-0.5047378540039062,
-0.7039409279823303,
-1.346463918685913,
-0.17560598254203796,
-0.396535187959671,
-0.30736926198005676,
0.24268092215061188,
0.7139517068862915,
1.0147117376327515,
-0.9385004043579102,
-0.20450769364833832,
0.20181043446063995,
-0.24020856618881226,
0.3414704203605652,
-0.21583668887615204,
-0.21145124733448029,
-0.3367598056793213,
-0.4853743314743042,
0.14514465630054474,
0.46966564655303955,
0.34658145904541016,
-0.30323663353919983,
0.0372975617647171,
-0.17638202011585236,
0.14598122239112854,
0.6667291522026062,
0.5006006956100464,
-0.7340272068977356,
-0.18053744733333588,
0.0703117847442627,
0.02678234502673149,
-0.14512938261032104,
0.8457695245742798,
-0.6479210257530212,
-0.27144375443458557,
0.34955090284347534,
0.5684345364570618,
0.5410023331642151,
0.024600181728601456,
0.32504573464393616,
-0.8632274270057678,
0.171927809715271,
0.24361556768417358,
0.14056599140167236,
0.2835966646671295,
-0.423732727766037,
0.19598931074142456,
0.05125340074300766,
-0.4344792068004608,
-0.826867938041687,
0.0386538952589035,
-0.709309995174408,
-0.3046582043170929,
1.275471568107605,
-0.49391627311706543,
-0.3052715063095093,
-0.1836729496717453,
-0.1610628217458725,
0.014943346381187439,
-0.4213240444660187,
0.4164275825023651,
0.6313999891281128,
-0.04686456546187401,
-0.7998509407043457,
-0.48243674635887146,
0.2232794463634491,
0.08925359696149826,
-1.0361441373825073,
-0.18484538793563843,
0.7120646834373474,
0.8196073770523071,
-0.2542402148246765,
0.9331393837928772,
0.05647638440132141,
0.12070787698030472,
-0.2703316807746887,
-0.07462567090988159,
-0.15246297419071198,
-0.5903573036193848,
-0.623191773891449,
0.5073410868644714,
-0.07844942063093185,
-0.26054203510284424
] |
http://arxiv.org/abs/2405.15924v3
|
http://arxiv.org/pdf/2405.15924v3
|
SLIDE: A Framework Integrating Small and Large Language Models for Open-Domain Dialogues Evaluation
| 2024-05-24T20:32:49 | 2024-05-30T02:13:56 |
Kun Zhao, Bohao Yang, Chen Tang, Chenghua Lin, Liang Zhan
|
cs.CL
|
cs.CL
|
The long-standing one-to-many problem of gold standard responses in
open-domain dialogue systems presents challenges for automatic evaluation
metrics. Though prior works have demonstrated some success by applying powerful
Large Language Models (LLMs), existing approaches still struggle with the
one-to-many problem, and exhibit subpar performance in domain-specific
scenarios. We assume the commonsense reasoning biases within LLMs may hinder
their performance in domainspecific evaluations. To address both issues, we
propose a novel framework SLIDE (Small and Large Integrated for Dialogue
Evaluation), that leverages both a small, specialised model (SLM), and LLMs for
the evaluation of open domain dialogues. Our approach introduces several
techniques: (1) Contrastive learning to differentiate between robust and
non-robust response embeddings; (2) A novel metric for semantic sensitivity
that combines embedding cosine distances with similarity learned through neural
networks, and (3) a strategy for incorporating the evaluation results from both
the SLM and LLMs. Our empirical results demonstrate that our approach achieves
state-of-the-art performance in both the classification and evaluation tasks,
and additionally the SLIDE evaluator exhibits better correlation with human
judgements. Our code is available at https://
github.com/hegehongcha/SLIDE-ACL2024.
|
[
-0.4707144796848297,
-0.6864414811134338,
0.379785418510437,
0.05641112104058266,
-0.14606481790542603,
-0.15870462357997894,
-0.5581501126289368,
-0.216374009847641,
0.007868043147027493,
0.4353224039077759,
-0.4258579611778259,
-0.5041412115097046,
-0.6211790442466736,
-0.1686074435710907,
-0.10958229750394821,
0.958320677280426,
0.10167677700519562,
0.24147911369800568,
-0.4111366868019104,
-0.6143090724945068,
-0.1956375390291214,
-0.3321243226528168,
-0.44092118740081787,
-0.43037036061286926,
0.12457510828971863,
0.3204691410064697,
0.9789347052574158,
0.1361539512872696,
0.5157257914543152,
0.29151207208633423,
-0.10411205142736435,
0.2312149703502655,
-0.43959853053092957,
-0.29507508873939514,
-0.5986325144767761,
-0.0652962327003479,
-0.46430349349975586,
0.03037194162607193,
0.5775622725486755,
0.8151910305023193,
-0.06648822873830795,
0.11516238003969193,
0.28081387281417847,
0.38218867778778076,
-0.6936026215553284,
0.32704442739486694,
-0.44060423970222473,
0.26792970299720764,
0.1652732640504837,
-0.06591172516345978,
-0.45308804512023926,
-0.18273037672042847,
0.5854852795600891,
-0.36753174662590027,
-0.19077369570732117,
-0.05987619236111641,
0.573697566986084,
0.054532017558813095,
-0.21190400421619415,
-0.4457307755947113,
-0.5829727649688721,
0.9917402863502502,
-0.8766579031944275,
0.13050681352615356,
0.06366456300020218,
0.38706961274147034,
0.03973429650068283,
-0.795486569404602,
-0.545387327671051,
-0.4285649359226227,
-0.14148938655853271,
0.12307462841272354,
-0.2746269404888153,
-0.04466737061738968,
-0.02352134697139263,
0.40896525979042053,
-0.47406113147735596,
0.331127792596817,
-0.014709648676216602,
-0.17340297996997833,
0.4715956151485443,
0.4100741744041443,
0.08050160855054855,
0.05165647715330124,
-0.362957239151001,
0.15857233107089996,
-0.40279996395111084,
-0.05463365092873573,
0.11794928461313248,
0.7257161736488342,
-0.40293088555336,
0.44773784279823303,
-0.07838048785924911,
0.6920122504234314,
0.08702711760997772,
-0.22275753319263458,
0.14025287330150604,
-0.23387694358825684,
-0.3467235267162323,
-0.2901458740234375,
1.0441683530807495,
0.4101586937904358,
0.250520259141922,
-0.042087748646736145,
-0.16282528638839722,
0.05793533846735954,
-0.10729708522558212,
-0.8570320010185242,
-0.1735285222530365,
0.039062827825546265,
-0.8110498189926147,
-0.23086170852184296,
-0.15846092998981476,
-0.8875947594642639,
-0.41472652554512024,
-0.30285584926605225,
0.738650918006897,
-0.13220934569835663,
-0.2978423833847046,
0.2663949131965637,
0.14666076004505157,
0.09915512055158615,
0.5270439982414246,
-0.6838092803955078,
0.8662453293800354,
0.7724952697753906,
0.7660539746284485,
-0.21211910247802734,
-0.05236149579286575,
-1.0113945007324219,
-0.35744911432266235,
-0.09606136381626129,
0.5228826403617859,
-0.7905543446540833,
-0.3538205325603485,
0.3797966241836548,
-0.25151973962783813,
-0.26330798864364624,
-0.6836416721343994,
0.3896280527114868,
-0.5117340683937073,
0.37503206729888916,
0.4337576627731323,
-0.3423655927181244,
0.11004015058279037,
0.33358144760131836,
-0.6781120896339417,
0.5462100505828857,
0.3340681791305542,
-0.8299172520637512,
-0.0365077406167984,
-0.9301106333732605,
-0.23845060169696808,
0.052552301436662674,
-0.442984402179718,
-0.28892695903778076,
-0.06895159184932709,
0.0693589523434639,
0.10753561556339264,
-0.6246525049209595,
-0.03444453328847885,
-0.3817497789859772,
-0.3324853777885437,
0.4401378631591797,
-0.4834001660346985,
0.6890780925750732,
0.34017646312713623,
-0.06467368453741074,
0.2885570526123047,
-0.4987969994544983,
0.2439587265253067,
-0.05026227980852127,
-0.2522824704647064,
-0.16297346353530884,
-0.24933552742004395,
-0.12330389022827148,
0.4649609923362732,
0.14165239036083221,
-0.4480814039707184,
-0.13735759258270264,
-0.5217081904411316,
0.5550143718719482,
0.5141074061393738,
0.09390226751565933,
0.6213797926902771,
-0.2179410755634308,
0.5014058351516724,
0.32523390650749207,
0.15506833791732788,
-0.14312687516212463,
-0.4855347275733948,
-0.6204509139060974,
-0.32665809988975525,
0.48028600215911865,
0.4549069106578827,
-0.6632473468780518,
0.5208810567855835,
-0.3809920847415924,
-0.06817106157541275,
-0.6412240266799927,
0.29033541679382324,
0.604541540145874,
0.4124598503112793,
0.3045302927494049,
-0.8893559575080872,
-0.13324551284313202,
-0.8899001479148865,
-0.15373852849006653,
-0.17654618620872498,
-0.23997008800506592,
0.6854893565177917,
0.5987640619277954,
-0.08245352655649185,
1.0787138938903809,
-0.3215257525444031,
-0.4131796956062317,
-0.18896403908729553,
0.193510502576828,
0.12295689433813095,
0.32539892196655273,
0.35736146569252014,
-0.6322952508926392,
-0.583370566368103,
0.07753156125545502,
-0.5250582695007324,
0.1834535002708435,
0.1561311036348343,
-0.07330965250730515,
0.03538205847144127,
0.16310298442840576,
-0.6673514246940613,
0.5305391550064087,
0.4676668345928192,
-0.15869727730751038,
0.40086084604263306,
0.1557065099477768,
0.051285672932863235,
-0.7434771060943604,
-0.026614826172590256,
0.25518426299095154,
-0.1283586174249649,
-0.4877886176109314,
0.09807189553976059,
-0.14027400314807892,
-0.2769900858402252,
-0.7678312659263611,
0.7759493589401245,
-0.0888981968164444,
-0.17932471632957458,
-0.04549087956547737,
0.8305721282958984,
0.09210007637739182,
0.6206517219543457,
0.017923446372151375,
0.609790027141571,
0.4070650637149811,
-0.6086775660514832,
0.36159607768058777,
0.6195422410964966,
-0.7488833069801331,
0.651993989944458,
-0.4534720182418823,
0.28622278571128845,
0.1604086309671402,
0.31406155228614807,
-0.8682747483253479,
-0.019233547151088715,
0.2981463670730591,
-0.4491652846336365,
0.3653499484062195,
-0.36278536915779114,
-0.2872036397457123,
-0.24482277035713196,
-0.3418400287628174,
0.45507147908210754,
0.37989258766174316,
-0.7453330755233765,
0.562143087387085,
0.39337924122810364,
-0.42631280422210693,
-0.6446295380592346,
-0.572887659072876,
0.07242503762245178,
-0.08318838477134705,
-0.9088482856750488,
0.10898365080356598,
-0.18323591351509094,
-0.5573856234550476,
-0.002066002693027258,
-0.10246114432811737,
-0.22823482751846313,
-0.025651715695858,
-0.06306515634059906,
0.18182232975959778,
-0.5625426769256592,
0.18113721907138824,
-0.142558753490448,
-0.12384715676307678,
-0.05738312005996704,
-0.5373451709747314,
0.3103491961956024,
-0.5282800793647766,
-0.5020153522491455,
-0.35697492957115173,
0.4366529881954193,
0.46719640493392944,
-0.38471394777297974,
0.5842483043670654,
0.40001359581947327,
-0.23631064593791962,
-0.25826603174209595,
-0.15172384679317474,
-0.10795749723911285,
-0.39775535464286804,
0.3865429759025574,
-0.420227974653244,
-1.1921355724334717,
0.3597840666770935,
-0.3635619580745697,
0.057680077850818634,
0.35374465584754944,
0.7585960030555725,
0.30915600061416626,
1.107692837715149,
0.5171573758125305,
-0.01177953090518713,
0.20403476059436798,
-0.19533129036426544,
0.5435898303985596,
-0.8473957180976868,
-0.06493183225393295,
-0.6734873652458191,
-0.024259496480226517,
-0.37242433428764343,
-0.746376633644104,
0.2284327745437622,
-0.008554641157388687,
-0.31314054131507874,
-0.013671654276549816,
-0.2039506733417511,
0.3471485376358032,
0.0076964907348155975,
0.08717045933008194,
0.43175143003463745,
-0.1866406947374344,
-0.47730788588523865,
-0.1149718165397644,
-0.8228586316108704,
-0.890453577041626,
0.9675919413566589,
0.7213115692138672,
1.0010935068130493,
0.2816478908061981,
0.46771639585494995,
0.26489952206611633,
0.6382753252983093,
-1.171042799949646,
0.6347168684005737,
-0.3648596405982971,
-0.32917845249176025,
-0.39617782831192017,
-0.41188549995422363,
-0.5396788120269775,
0.47430697083473206,
-0.03203050419688225,
-0.9898672699928284,
0.034128688275814056,
-0.2408311367034912,
-0.5600057244300842,
0.16393625736236572,
-0.6394765377044678,
0.978826642036438,
0.01635809801518917,
-0.5455398559570312,
-0.15713289380073547,
-0.7237741351127625,
0.25633034110069275,
0.017293062061071396,
0.3741949200630188,
-0.019595013931393623,
0.0919061079621315,
0.6542024612426758,
-0.38464799523353577,
0.9942872524261475,
-0.19287049770355225,
-0.22074595093727112,
0.5834715366363525,
0.024517109617590904,
0.253983736038208,
0.15358933806419373,
-0.2571023404598236,
-0.02265845611691475,
-0.17736196517944336,
-0.23607727885246277,
-0.8891169428825378,
0.8995675444602966,
-0.6770879030227661,
-0.5572226643562317,
-0.0421329066157341,
-0.418957382440567,
-0.47315189242362976,
-0.16283099353313446,
-0.17422416806221008,
0.6000370383262634,
-0.5777074098587036,
0.18872547149658203,
0.7493950724601746,
-0.29227498173713684,
0.3243088722229004,
0.6903408765792847,
-0.21709862351417542,
-0.43365171551704407,
0.7262403964996338,
-0.263454407453537,
0.45574751496315,
0.3734571635723114,
0.2928435802459717,
-0.20987670123577118,
-0.3555445969104767,
-0.4707874655723572,
0.10307320952415466,
-1.06179940700531,
-0.27297109365463257,
-0.4305112659931183,
-0.3437768518924713,
-0.31468021869659424,
0.17744357883930206,
-0.27992457151412964,
-0.6835401654243469,
-0.15357187390327454,
0.02521350421011448,
-0.01272041816264391,
0.5447667241096497,
0.004274843726307154,
0.10642648488283157,
-0.907962441444397,
0.15510046482086182,
0.5484586358070374,
0.5214028358459473,
0.18423420190811157,
-0.8197140097618103,
-0.6005288362503052,
-0.020510558038949966,
-0.5047647356987,
-0.29280567169189453,
0.2604937255382538,
0.4002835154533386,
0.6513630151748657,
0.4537723660469055,
0.18656903505325317,
0.4633769094944,
-0.5536807179450989,
0.9823799133300781,
0.41326478123664856,
-1.0007089376449585,
0.44763264060020447,
-0.06479064375162125,
0.29481664299964905,
0.6409414410591125,
0.2862914502620697,
-0.23071035742759705,
-0.2632317841053009,
-0.4023697078227997,
-0.4526841938495636,
0.729189395904541,
0.08916385471820831,
0.37198105454444885,
-0.15648047626018524,
-0.0761309266090393,
0.18092969059944153,
0.22936643660068512,
-0.5611323714256287,
-0.02822478488087654,
-0.08147874474525452,
-0.22945043444633484,
-0.036577995866537094,
-0.014900392852723598,
-0.7261172533035278,
0.016007859259843826,
0.37131983041763306,
-0.5307052135467529,
0.40301141142845154,
0.07923854142427444,
-0.3199341893196106,
-0.3689190745353699,
0.5007689595222473,
0.4534008502960205,
0.7031073570251465,
-0.09577278792858124,
-0.23040108382701874,
0.2130690962076187,
-0.04074687510728836,
-0.21865107119083405,
0.06857506930828094,
0.25584784150123596,
-0.024517754092812538,
0.296432226896286,
0.8098613619804382,
0.4360813498497009,
-0.6397876143455505,
0.9168576002120972,
-0.27737724781036377,
-0.2666896879673004,
-0.06473179906606674,
-0.10495447367429733,
-0.14168144762516022,
0.3238694965839386,
0.17737628519535065,
0.09252593666315079,
0.1274757981300354,
-0.6857935786247253,
0.3007826805114746,
0.46269747614860535,
-0.6428279876708984,
-0.17530392110347748,
0.20017309486865997,
0.5705550909042358,
-0.5997807383537292,
0.4686521887779236,
-0.12149111926555634,
-0.4943235218524933,
0.4049258828163147,
0.41961270570755005,
1.0296748876571655,
-0.16448432207107544,
0.231654554605484,
0.2183414250612259,
-0.07145325839519501,
0.24125294387340546,
-0.03856784477829933,
-0.28042522072792053,
-0.7138110399246216,
-0.45272862911224365,
-0.5914981365203857,
-0.8067711591720581,
0.19816997647285461,
-0.7816537618637085,
0.16968488693237305,
-0.4355316162109375,
-0.19662967324256897,
0.05288073793053627,
0.10671214014291763,
-0.7468470335006714,
0.16887733340263367,
0.1254604309797287,
1.2417314052581787,
-0.7120347023010254,
0.7022120356559753,
0.6076087951660156,
-0.36120349168777466,
-0.3512614667415619,
0.1521121859550476,
0.053870752453804016,
-0.5014489889144897,
0.6645277142524719,
0.21060766279697418,
-0.38325512409210205,
-0.46178194880485535,
-0.6297916173934937,
-0.3559035360813141,
0.8854008913040161,
0.11685062944889069,
-0.3990219533443451,
0.06552108377218246,
0.023894069716334343,
0.7051601409912109,
-1.1054683923721313,
0.3614862561225891,
0.8241344094276428,
0.24888426065444946,
0.08176904916763306,
-1.3851181268692017,
-0.14096957445144653,
-0.2315485179424286,
0.05184308812022209,
0.03827393427491188,
-0.7997498512268066,
0.545853316783905,
-0.2810991704463959,
-0.08057136833667755,
0.5397283434867859,
0.5189152359962463,
0.08372604101896286,
0.5800118446350098,
0.3990226984024048,
0.4694247543811798,
0.41780680418014526,
0.016180844977498055,
0.8123970627784729,
-0.29387184977531433,
0.4407431185245514,
1.4401568174362183,
-0.5819705128669739,
1.0295902490615845,
0.31229084730148315,
-0.19768305122852325,
0.5856717824935913,
0.19973330199718475,
0.3349285125732422,
0.6987215876579285,
0.5177631974220276,
-0.6534109711647034,
-0.2591363787651062,
-0.211980938911438,
-0.08924014121294022,
0.4462355673313141,
0.7719622850418091,
-0.3391321301460266,
-0.4227161705493927,
0.09097672253847122,
-0.27589917182922363,
0.4060918390750885,
-0.29354339838027954,
0.8502615094184875,
0.43166232109069824,
-0.6637291312217712,
0.34741926193237305,
0.13449539244174957,
0.5297679901123047,
-0.5574465990066528,
-0.04781407490372658,
-0.06289763748645782,
0.33587518334388733,
-0.20931345224380493,
-0.8105042576789856,
0.17969639599323273,
0.03898375853896141,
0.03118014894425869,
0.03977159038186073,
0.6797007918357849,
-0.4154021143913269,
0.13377076387405396,
0.5067513585090637,
0.48383796215057373,
0.052581414580345154,
0.3419557511806488,
-0.8297686576843262,
0.09173798561096191,
-0.24522586166858673,
-0.11001525819301605,
0.7239699363708496,
0.5439188480377197,
-0.07106897234916687,
0.6163516640663147,
0.21254462003707886,
-0.41603606939315796,
-0.38475093245506287,
0.6023311018943787,
1.1205815076828003,
-0.33543723821640015,
-0.47125035524368286,
-0.4352899193763733,
0.6039345860481262,
-0.10109119117259979,
-0.2704862356185913,
0.4437503218650818,
0.5375005006790161,
0.7305575609207153,
-0.005890918429940939,
0.8167852759361267,
0.21199911832809448,
0.6876232028007507,
-0.46737977862358093,
0.3738209307193756,
-0.2055341601371765,
0.4653018116950989,
-0.37026092410087585,
-0.8531956076622009,
-0.23294317722320557,
0.818652331829071,
-0.45590829849243164,
0.14859946072101593,
0.7790502309799194,
0.7574334144592285,
-0.0766003280878067,
0.193199023604393,
0.5986976623535156,
0.1566535383462906,
0.2738061249256134,
0.7685853242874146,
1.0953218936920166,
-0.49180081486701965,
0.8120014667510986,
0.09777957201004028,
-0.5069569945335388,
-0.3173569440841675,
-0.8514382839202881,
-0.9826212525367737,
-0.2859107255935669,
-0.579979419708252,
-0.549445629119873,
0.04967609792947769,
1.0403809547424316,
0.6817202568054199,
-0.7964791655540466,
-0.3902866542339325,
0.4715607464313507,
0.04903801530599594,
0.03619806095957756,
-0.26132428646087646,
0.15699206292629242,
-0.39003586769104004,
-0.7287395000457764,
0.42481639981269836,
0.5458499193191528,
-0.20099690556526184,
-0.39114052057266235,
-0.4798441529273987,
0.0419362336397171,
0.42546194791793823,
0.820641279220581,
0.2836008667945862,
-0.7145619988441467,
-0.37409186363220215,
-0.3100031018257141,
-0.20249013602733612,
0.17803983390331268,
0.8897494077682495,
-0.8177037239074707,
0.5534539222717285,
0.08580396324396133,
0.6133893728256226,
0.5366430878639221,
-0.09702702611684799,
0.5506672859191895,
-0.7173168659210205,
0.09835091233253479,
0.5448922514915466,
0.2425691783428192,
0.3962703347206116,
0.07114795595407486,
0.5197870135307312,
-0.20237106084823608,
-0.5095194578170776,
-0.7215611338615417,
0.4936978220939636,
-0.9382633566856384,
-0.07340061664581299,
0.9948291182518005,
-0.6701903939247131,
0.0699220523238182,
-0.251873642206192,
-0.09298402816057205,
-0.1746642291545868,
-0.30959492921829224,
0.5392165780067444,
0.7986310124397278,
-0.1418357789516449,
-0.02026609145104885,
-0.3109176754951477,
0.28003430366516113,
0.2788452208042145,
-0.5718399286270142,
-0.028566529974341393,
0.4827282428741455,
0.26685312390327454,
0.4594368636608124,
0.6453403830528259,
-0.49273911118507385,
0.44242069125175476,
0.06475307792425156,
-0.5106804966926575,
0.2388085275888443,
-0.3436358571052551,
-0.7710651159286499,
0.21892109513282776,
0.28642863035202026,
-0.07649755477905273
] |
http://arxiv.org/abs/2406.00031v1
|
http://arxiv.org/pdf/2406.00031v1
|
AMGPT: a Large Language Model for Contextual Querying in Additive Manufacturing
| 2024-05-24T20:03:32 | 2024-05-24T20:03:32 |
Achuth Chandrasekhar, Jonathan Chan, Francis Ogoke, Olabode Ajenifujah, Amir Barati Farimani
|
cs.CL
|
cs.CL, cs.LG
|
Generalized large language models (LLMs) such as GPT-4 may not provide
specific answers to queries formulated by materials science researchers. These
models may produce a high-level outline but lack the capacity to return
detailed instructions on manufacturing and material properties of novel alloys.
Enhancing a smaller model with specialized domain knowledge may provide an
advantage over large language models which cannot be retrained quickly enough
to keep up with the rapid pace of research in metal additive manufacturing
(AM). We introduce "AMGPT," a specialized LLM text generator designed for metal
AM queries. The goal of AMGPT is to assist researchers and users in navigating
the extensive corpus of literature in AM. Instead of training from scratch, we
employ a pre-trained Llama2-7B model from Hugging Face in a Retrieval-Augmented
Generation (RAG) setup, utilizing it to dynamically incorporate information
from $\sim$50 AM papers and textbooks in PDF format. Mathpix is used to convert
these PDF documents into TeX format, facilitating their integration into the
RAG pipeline managed by LlamaIndex. Expert evaluations of this project
highlight that specific embeddings from the RAG setup accelerate response times
and maintain coherence in the generated text.
|
[
-0.546669065952301,
-1.3263577222824097,
0.6807278394699097,
0.08355662971735,
-0.33667927980422974,
0.07802033424377441,
-0.0032839314080774784,
-0.4677179455757141,
0.1450446993112564,
0.48480135202407837,
-0.6398141384124756,
-0.37389373779296875,
-0.401919424533844,
0.08175893127918243,
-0.25710251927375793,
0.9204009175300598,
-0.30864790081977844,
-0.24882276356220245,
-0.15016618371009827,
0.21890872716903687,
-0.08329617977142334,
-0.7681617140769958,
-0.8737552762031555,
-0.6146348714828491,
0.3281259834766388,
-0.0507696159183979,
0.681816577911377,
0.9007037878036499,
0.48723524808883667,
0.37179034948349,
-0.09017425030469894,
0.25465714931488037,
-0.10479510575532913,
0.011663387529551983,
-0.14431540668010712,
-0.3322382867336273,
-0.8158704042434692,
0.1134989783167839,
0.5254464149475098,
0.5074657201766968,
-0.050929781049489975,
0.09980185329914093,
0.02358902432024479,
0.33189791440963745,
-0.5453560948371887,
-0.02010350674390793,
-0.5468209981918335,
0.21176263689994812,
-0.3362741768360138,
-0.4999046325683594,
-0.25698062777519226,
-0.011568787507712841,
0.013156401924788952,
-0.4901687204837799,
0.5493549108505249,
0.18151555955410004,
0.6805396676063538,
0.27782192826271057,
-0.5140047073364258,
-0.4518864154815674,
-0.707277238368988,
0.5918386578559875,
-0.7492250204086304,
0.3052087724208832,
0.32667556405067444,
0.29417136311531067,
-0.09370199590921402,
-1.1950342655181885,
-0.6852244138717651,
-0.00658204173669219,
-0.05168834328651428,
0.1963062882423401,
-0.11200719326734543,
0.12699107825756073,
0.2086346596479416,
0.6094006299972534,
-0.6210526823997498,
-0.11348217725753784,
-0.13687348365783691,
-0.30056002736091614,
0.27508798241615295,
0.33644789457321167,
0.42994561791419983,
-0.2905993163585663,
-0.5092120170593262,
0.0004991657915525138,
-0.5406056642532349,
-0.43205904960632324,
0.2520075738430023,
0.20607678592205048,
-0.029173478484153748,
0.866516649723053,
-0.24846483767032623,
0.8053967952728271,
-0.08572273701429367,
-0.0011373076122254133,
0.07801330834627151,
-0.31283488869667053,
-0.35506510734558105,
-0.019308337941765785,
0.6781505942344666,
0.061838120222091675,
-0.1686890721321106,
-0.1938282698392868,
-0.3700970709323883,
-0.035198550671339035,
0.24129286408424377,
-0.9412141442298889,
-0.1708710640668869,
-0.061293765902519226,
-0.28870269656181335,
-0.06386403739452362,
-0.04394245892763138,
-0.4972735643386841,
-0.3830091953277588,
-0.6343194842338562,
0.32471680641174316,
-0.09967422485351562,
-0.23555324971675873,
0.10060950368642807,
-0.2213154286146164,
0.13647685945034027,
0.2996091842651367,
-1.021788477897644,
-0.08368103951215744,
0.7360060811042786,
1.0151050090789795,
-0.23543371260166168,
-0.33448612689971924,
-0.5562130212783813,
0.4997946619987488,
-0.0801180750131607,
1.1029009819030762,
-0.7745732665061951,
-0.620904266834259,
-0.1614120602607727,
0.11456428468227386,
-0.08312041312456131,
-0.658494770526886,
0.6466885805130005,
-0.6295724511146545,
0.034614864736795425,
-0.1544538140296936,
-0.34728410840034485,
-0.2099529653787613,
0.5421908497810364,
-0.4846342206001282,
0.7858315706253052,
0.23841120302677155,
-0.7918410897254944,
0.23572418093681335,
-0.38679224252700806,
-0.26971298456192017,
-0.040482643991708755,
-0.3630507290363312,
-0.3903807997703552,
0.17586493492126465,
0.2813072204589844,
0.3943789601325989,
-0.37657633423805237,
-0.13003742694854736,
-0.5042790174484253,
-0.22322404384613037,
0.16502495110034943,
-0.5661053657531738,
0.27890297770500183,
0.15960825979709625,
-0.30029353499412537,
0.0834086686372757,
-0.5766596794128418,
-0.0563323087990284,
-0.17040222883224487,
-0.7218644022941589,
-0.21070320904254913,
-0.30462947487831116,
0.06456085294485092,
0.047772761434316635,
0.36477160453796387,
-0.5513005256652832,
0.17415128648281097,
-0.502486526966095,
0.4870120584964752,
0.8196768760681152,
0.27613797783851624,
0.4097963571548462,
-0.23908205330371857,
0.633167028427124,
-0.1355600655078888,
-0.2601173520088196,
-0.14057372510433197,
-0.3285621106624603,
-0.9518508315086365,
-0.03273030370473862,
0.20731796324253082,
0.6846870183944702,
-0.8621694445610046,
-0.09010280668735504,
-0.0025740214623510838,
-0.2548174560070038,
-0.05586932972073555,
0.10361755639314651,
0.20487357676029205,
0.5972858667373657,
0.18270491063594818,
-0.39772161841392517,
-0.6607373356819153,
-0.8776090741157532,
-0.14706739783287048,
0.06057704612612724,
-0.2828837037086487,
0.4421994984149933,
0.3624941408634186,
-0.44958600401878357,
0.9423012733459473,
-0.7599446177482605,
-0.3317203223705292,
0.20732460916042328,
0.6069124341011047,
0.2850777506828308,
0.32476750016212463,
0.29377055168151855,
-0.7658342123031616,
-0.6249054074287415,
0.41088777780532837,
-0.9905418157577515,
-0.05557916313409805,
0.13007831573486328,
-0.46294736862182617,
0.3128255307674408,
0.6908628344535828,
-0.8655599355697632,
0.2718474268913269,
0.552348792552948,
-0.37727490067481995,
0.6864165663719177,
-0.12578709423542023,
0.3092585802078247,
-1.1692560911178589,
0.19988304376602173,
-0.03737696260213852,
-0.08135585486888885,
-0.4842204451560974,
-0.06284961849451065,
-0.08737763017416,
-0.5628196597099304,
-0.38984596729278564,
0.896944522857666,
-0.5564594864845276,
-0.2648385167121887,
-0.6602442264556885,
-0.002081684535369277,
-0.008588079363107681,
0.470735639333725,
0.025671184062957764,
1.260127067565918,
0.06291550397872925,
-0.706818699836731,
0.4890056848526001,
0.2835943400859833,
-0.24516929686069489,
0.6353133320808411,
-0.675811767578125,
0.1867031455039978,
0.10672915726900101,
0.11850181221961975,
-0.6088235974311829,
-0.4548238217830658,
0.19350099563598633,
-0.3754628002643585,
0.3812556862831116,
-0.25929632782936096,
-0.649229109287262,
-0.3809624910354614,
0.07927160710096359,
0.2977406978607178,
0.19333991408348083,
-0.5998069047927856,
0.9676052927970886,
0.4066353738307953,
-0.559724748134613,
-0.5906257629394531,
-0.47002530097961426,
0.02092227339744568,
-0.2550930380821228,
-0.925091028213501,
0.49977225065231323,
-0.41502055525779724,
-0.15385326743125916,
0.04385945573449135,
-0.2137797325849533,
-0.30713576078414917,
-0.141431525349617,
-0.17417825758457184,
-0.05453537404537201,
-0.3913966715335846,
0.08520960807800293,
0.07139208167791367,
-0.32338595390319824,
0.07573968172073364,
-0.0839771255850792,
0.657121479511261,
0.009442768059670925,
-0.4163185954093933,
-0.0383736677467823,
0.37226060032844543,
0.40244239568710327,
-0.30445683002471924,
0.3325881361961365,
0.8999098539352417,
-0.30243366956710815,
-0.47249436378479004,
-0.5713576674461365,
-0.24227094650268555,
-0.6001705527305603,
0.24605940282344818,
-0.6528816223144531,
-0.8157206773757935,
0.7171653509140015,
-0.2465701550245285,
0.08947823941707611,
0.2300148606300354,
0.8617199063301086,
0.3412152826786041,
1.1190284490585327,
0.6598002314567566,
0.255465030670166,
0.5073695778846741,
-0.016821300610899925,
0.09060923755168915,
-1.0139007568359375,
-0.025561407208442688,
-0.199689581990242,
-0.07641541957855225,
-0.1271684318780899,
-0.7726627588272095,
0.6105592250823975,
-0.1636761575937271,
-0.3611376881599426,
-0.19902250170707703,
-0.5551046133041382,
0.5848023891448975,
0.6087452173233032,
0.3210573196411133,
0.47013622522354126,
0.16814054548740387,
0.15753549337387085,
0.06523074954748154,
-0.495708167552948,
-0.6165605187416077,
0.7767484784126282,
0.15855883061885834,
0.927501916885376,
0.15376991033554077,
0.3428300619125366,
0.2681627571582794,
0.3691791594028473,
-0.9558152556419373,
0.40335163474082947,
-0.2235596776008606,
-0.8315575122833252,
-0.004193115048110485,
-0.29983657598495483,
-0.7310055494308472,
0.4791196286678314,
-0.06954378634691238,
-0.2055770605802536,
0.04107939451932907,
0.30284932255744934,
-0.2176111489534378,
0.5077460408210754,
-0.8939812779426575,
0.7433866262435913,
-0.114549420773983,
-0.4771864712238312,
0.19859810173511505,
-0.08351847529411316,
0.5102469325065613,
-0.26466482877731323,
0.06571419537067413,
-0.12967033684253693,
-0.3367796242237091,
0.35820823907852173,
-0.41165176033973694,
0.9642015099525452,
0.03163280710577965,
-0.1500101387500763,
0.3364969789981842,
0.18010210990905762,
0.6848072409629822,
0.10023602843284607,
-0.44538816809654236,
-0.24404625594615936,
-0.29230982065200806,
-0.12851333618164062,
-0.5344542264938354,
0.8133333325386047,
-0.4881425201892853,
-0.8343653678894043,
-0.2805456817150116,
-0.6284076571464539,
-0.20288904011249542,
0.44334539771080017,
0.35602298378944397,
0.5314170122146606,
-0.17514583468437195,
0.2488521784543991,
0.779217004776001,
-0.25879034399986267,
0.37302592396736145,
0.4879613220691681,
0.18948562443256378,
-0.4182600677013397,
0.9055720567703247,
0.2095804065465927,
-0.005398828536272049,
0.41453665494918823,
0.14164231717586517,
-0.3151297867298126,
-0.532454252243042,
-0.7193235158920288,
0.34111928939819336,
-0.9645450115203857,
-0.3621917963027954,
-0.8112950921058655,
-0.29476040601730347,
-0.2928268313407898,
-0.43287035822868347,
-0.1995050013065338,
-0.21810008585453033,
-0.4601178467273712,
-0.004402683116495609,
0.3132830560207367,
0.7667935490608215,
-0.05616291984915733,
0.6040023565292358,
-0.6528207659721375,
0.15421012043952942,
0.4684181213378906,
0.711418092250824,
0.10761157423257828,
-0.37268826365470886,
-0.28484633564949036,
-0.01524427067488432,
-0.548968493938446,
-0.5425721406936646,
0.44456860423088074,
0.07556122541427612,
0.6687496900558472,
0.050544969737529755,
0.14277881383895874,
0.5585976839065552,
-0.8097857236862183,
0.5833603739738464,
-0.1101624146103859,
-0.8849039077758789,
0.3879025876522064,
-0.8660325407981873,
0.48542284965515137,
-0.0007729934877716005,
0.3767341673374176,
-0.2475409358739853,
-0.21328146755695343,
-0.431088387966156,
-1.0644209384918213,
0.7333117723464966,
0.023718949407339096,
0.311541885137558,
0.04990444704890251,
0.5329426527023315,
0.011633939109742641,
0.1569371223449707,
-0.8234193325042725,
-0.2130776047706604,
-0.10148033499717712,
-0.18376877903938293,
-0.13484303653240204,
-0.6304624676704407,
-0.2525269687175751,
0.1983468234539032,
0.7982674837112427,
-0.1541120707988739,
0.5060701966285706,
0.14437492191791534,
-0.023852290585637093,
-0.09431881457567215,
0.15967877209186554,
0.6541284322738647,
0.7857162356376648,
-0.32047587633132935,
0.19680099189281464,
0.2051219940185547,
-0.531985878944397,
-0.05759651958942413,
0.20965097844600677,
-0.0011874486226588488,
-0.011232743039727211,
0.11067234724760056,
0.8269119262695312,
0.048706959933042526,
-0.3385705351829529,
0.13830456137657166,
0.08223917335271835,
-0.3178887665271759,
-0.582625687122345,
-0.16084632277488708,
-0.04072868078947067,
0.3735177218914032,
0.4476873576641083,
-0.26735034584999084,
0.43736234307289124,
-0.38770025968551636,
0.6264458298683167,
0.48025646805763245,
-0.2026333063840866,
-0.19148549437522888,
0.8925583362579346,
0.33812305331230164,
-0.13208264112472534,
0.5131182670593262,
0.014323149807751179,
-0.4935491383075714,
0.5182011127471924,
0.7660597562789917,
0.6350632905960083,
-0.12129908055067062,
0.06041485816240311,
0.4803709387779236,
0.23496776819229126,
0.21558426320552826,
-0.21774880588054657,
0.09433434158563614,
-0.42849859595298767,
-0.5195710062980652,
-0.9817715287208557,
-0.6859342455863953,
0.18236027657985687,
-0.1717720329761505,
0.412866473197937,
-0.5387521982192993,
-0.2263055145740509,
0.011540967971086502,
0.13759450614452362,
-0.3266094923019409,
0.24864177405834198,
0.02897769585251808,
0.4994156062602997,
-0.6828936338424683,
0.4321422576904297,
0.8978679776191711,
-0.4649677872657776,
-0.5926735997200012,
-0.22020399570465088,
0.08377893269062042,
-0.9714348912239075,
0.5753135681152344,
0.028041664510965347,
-0.1765916347503662,
0.37400493025779724,
-0.31562960147857666,
-1.003663420677185,
1.2025680541992188,
0.36641639471054077,
0.2775423228740692,
-0.11420643329620361,
0.09649074077606201,
0.3161492645740509,
-0.38135552406311035,
0.24932852387428284,
0.356083482503891,
0.32919833064079285,
0.4341873824596405,
-0.6437287926673889,
0.17356346547603607,
-0.32514190673828125,
-0.012029711157083511,
0.37845471501350403,
-0.6296254396438599,
1.0630908012390137,
0.22835515439510345,
-0.25223642587661743,
-0.024867763742804527,
0.7467795610427856,
0.42237088084220886,
0.318569540977478,
0.16336891055107117,
0.6442741751670837,
0.5375880599021912,
-0.10663358122110367,
1.191301941871643,
0.029129130765795708,
0.16394640505313873,
0.9619117975234985,
0.10401052981615067,
0.6550184488296509,
0.22310155630111694,
0.06008588895201683,
0.47365933656692505,
0.8618953824043274,
-0.02582341432571411,
0.16900648176670074,
0.021252375096082687,
-0.7614877223968506,
-0.283041775226593,
-0.1310720443725586,
-0.6475838422775269,
0.17994104325771332,
0.564131498336792,
-0.41509413719177246,
-0.2890772521495819,
0.10938407480716705,
0.09962144494056702,
-0.1105513796210289,
-0.1842787265777588,
0.7301594018936157,
0.21191544830799103,
-0.42433759570121765,
0.5810784697532654,
0.0997009128332138,
0.7965190410614014,
-0.570318877696991,
-0.093307264149189,
-0.4743002653121948,
0.3304668068885803,
-0.16855855286121368,
-0.7617340683937073,
0.5236302018165588,
-0.1114489734172821,
-0.6560109853744507,
-0.11730924248695374,
0.7061170339584351,
-0.343923956155777,
-0.4742639362812042,
-0.20153050124645233,
0.5374102592468262,
0.15912462770938873,
-0.01176229678094387,
-0.784699559211731,
0.33990478515625,
0.0648980662226677,
-0.5508000254631042,
0.34230008721351624,
0.6728097796440125,
-0.023981399834156036,
0.8497684597969055,
0.7839757204055786,
-0.10211395472288132,
0.13765572011470795,
-0.0556483194231987,
0.8701130747795105,
-0.5066428184509277,
-0.3006881773471832,
-0.6828993558883667,
0.6050836443901062,
0.04648520052433014,
0.04924767464399338,
0.9106124639511108,
0.6498757600784302,
0.7003544569015503,
-0.2032659351825714,
1.011708378791809,
-0.10867364704608917,
0.653934895992279,
-0.7559018731117249,
0.656800389289856,
-0.7627466917037964,
0.3602650761604309,
-0.07356040924787521,
-1.171928882598877,
-0.5021986961364746,
0.6102182269096375,
-0.23755910992622375,
0.29192328453063965,
0.5474627614021301,
0.7396913170814514,
-0.5250007510185242,
-0.32727885246276855,
0.17393888533115387,
0.10946739464998245,
0.5777966380119324,
0.06531693786382675,
0.6128072738647461,
-0.30980387330055237,
0.8379101753234863,
-0.1570352166891098,
-0.26956140995025635,
-0.0970318466424942,
-0.9647012948989868,
-0.8804507851600647,
-0.3842109441757202,
-0.03777897730469704,
-0.07967041432857513,
-0.32751384377479553,
0.47055694460868835,
0.6968508958816528,
-0.31276819109916687,
-0.3817088305950165,
-0.09990750998258591,
0.037944644689559937,
0.3282310962677002,
-0.19921833276748657,
0.4988444447517395,
-0.5764096975326538,
-1.0846561193466187,
0.2837105691432953,
-0.018807819113135338,
0.43880242109298706,
-0.07617359608411789,
0.1326049417257309,
-0.13356097042560577,
0.07246507704257965,
0.8588688969612122,
0.3145752549171448,
-0.455693781375885,
-0.10276704281568527,
0.05415383353829384,
0.16194050014019012,
-0.08552064001560211,
0.7881584763526917,
-0.44930300116539,
0.6163375973701477,
0.6089983582496643,
0.7451252937316895,
0.7715380787849426,
0.31337523460388184,
1.009883999824524,
-0.9531401991844177,
0.2831399142742157,
0.10048812627792358,
0.1909857839345932,
0.3711458146572113,
-0.4205884337425232,
0.7953231930732727,
0.28272637724876404,
-0.8224259614944458,
-0.8333126306533813,
0.4007994532585144,
-0.7923418283462524,
-0.31242769956588745,
1.1613531112670898,
0.15905791521072388,
-0.32014182209968567,
-0.11852239072322845,
-0.3460671901702881,
0.37584197521209717,
-0.25885289907455444,
0.5523976683616638,
0.6253656148910522,
-0.34336742758750916,
-0.31458181142807007,
-0.983001708984375,
0.5171195864677429,
0.23996123671531677,
-0.6183977723121643,
0.24444180727005005,
0.49434804916381836,
0.14672349393367767,
0.049004748463630676,
0.7174418568611145,
-0.12877970933914185,
0.02651403099298477,
0.2528392970561981,
0.0005724350921809673,
-0.2669069170951843,
0.14959482848644257,
0.08091703057289124,
0.0597638264298439,
0.2671761214733124,
0.3009103238582611
] |
http://arxiv.org/abs/2405.15902v1
|
http://arxiv.org/pdf/2405.15902v1
|
Hacc-Man: An Arcade Game for Jailbreaking LLMs
| 2024-05-24T19:55:20 | 2024-05-24T19:55:20 |
Matheus Valentim, Jeanette Falk, Nanna Inie
|
cs.CR
|
cs.CR, cs.AI, cs.CL, cs.HC
|
The recent leaps in complexity and fluency of Large Language Models (LLMs)
mean that, for the first time in human history, people can interact with
computers using natural language alone. This creates monumental possibilities
of automation and accessibility of computing, but also raises severe security
and safety threats: When everyone can interact with LLMs, everyone can
potentially break into the systems running LLMs. All it takes is creative use
of language. This paper presents Hacc-Man, a game which challenges its players
to "jailbreak" an LLM: subvert the LLM to output something that it is not
intended to. Jailbreaking is at the intersection between creative problem
solving and LLM security. The purpose of the game is threefold: 1. To heighten
awareness of the risks of deploying fragile LLMs in everyday systems, 2. To
heighten people's self-efficacy in interacting with LLMs, and 3. To discover
the creative problem solving strategies, people deploy in this novel context.
|
[
-0.38940972089767456,
-1.123972773551941,
0.7057541608810425,
0.3083043694496155,
-0.24134205281734467,
0.6175208687782288,
-0.14773578941822052,
-0.3815973699092865,
0.5847947597503662,
0.6981921792030334,
-0.5000084042549133,
-0.42150795459747314,
-0.3488914668560028,
-0.06826785206794739,
-0.2853649854660034,
0.624885618686676,
-0.17450788617134094,
-0.46417129039764404,
-0.10452285408973694,
0.06268042325973511,
-0.9257382750511169,
-0.7426581382751465,
-0.403416246175766,
-0.1302260458469391,
0.4721355140209198,
0.6502397060394287,
0.9064212441444397,
0.6606156229972839,
0.5753204822540283,
0.39534905552864075,
0.1251344233751297,
0.04923344403505325,
-0.5217373967170715,
0.11856605857610703,
-0.21869122982025146,
-0.6689212918281555,
-0.1342577189207077,
-0.12666021287441254,
0.09279804676771164,
0.04688231274485588,
-0.32896944880485535,
-0.3145935833454132,
-0.31477540731430054,
0.8489238023757935,
-0.5367778539657593,
-0.12218300998210907,
-0.44474685192108154,
0.0802542045712471,
-0.4993059039115906,
-0.13687968254089355,
-0.27401044964790344,
-0.2845175862312317,
-0.42855778336524963,
-0.7798572778701782,
-0.41491836309432983,
0.4258955717086792,
0.5870716571807861,
0.30899640917778015,
-0.06827051937580109,
-0.5510417819023132,
-0.7138884663581848,
0.4697556495666504,
-0.4241771697998047,
-0.09307835251092911,
0.22441914677619934,
0.5236753225326538,
-0.613633394241333,
-0.03746926411986351,
-0.6503316164016724,
-0.13970693945884705,
0.21416699886322021,
-0.17475251853466034,
-0.3926192820072174,
-0.09481997787952423,
-0.005326921120285988,
0.13203705847263336,
0.05961422622203827,
0.204648956656456,
-0.4754396677017212,
-0.06422312557697296,
0.6622443199157715,
0.21896861493587494,
0.7868044376373291,
-0.13092996180057526,
-0.5483527183532715,
0.21481017768383026,
-0.8381369709968567,
0.04028972610831261,
0.6174708604812622,
0.0032310986425727606,
-0.28040948510169983,
0.6018194556236267,
0.32584241032600403,
0.3530052900314331,
-0.09431663155555725,
-0.2985042631626129,
-0.033260278403759,
0.22217246890068054,
0.024248646572232246,
0.21172291040420532,
0.894402265548706,
0.13546931743621826,
0.4160223603248596,
-0.14509734511375427,
-0.28406035900115967,
0.03740968555212021,
0.4636076092720032,
-0.2479153573513031,
-0.05738404765725136,
0.052837956696748734,
-0.23468104004859924,
-0.6802636981010437,
0.2843879163265228,
-0.7402326464653015,
-0.8779326677322388,
0.3184053301811218,
0.6088157296180725,
-0.4011937975883484,
-0.06720945984125137,
0.11442290991544724,
-0.13532480597496033,
0.08712495863437653,
0.22625844180583954,
-0.810463011264801,
0.3450007438659668,
0.6308122277259827,
0.7911481261253357,
-0.10098426789045334,
-0.3778420090675354,
-0.44963231682777405,
0.29454708099365234,
-0.4704464077949524,
0.5390394330024719,
-0.18624885380268097,
-0.7896910905838013,
-0.2919479310512543,
-0.19879703223705292,
0.30470314621925354,
-0.5310108661651611,
0.4133448898792267,
-0.5615021586418152,
-0.224198117852211,
0.027611585333943367,
-0.47651660442352295,
0.3832490146160126,
0.30397921800613403,
-0.5865962505340576,
0.31229883432388306,
0.13963532447814941,
-0.5973450541496277,
0.04056038707494736,
-0.8589803576469421,
-0.8054144382476807,
0.37769749760627747,
-0.3901759088039398,
-0.4231362044811249,
0.2415662556886673,
0.04570920392870903,
-0.1955609768629074,
-0.15903832018375397,
0.2981366515159607,
-0.23404182493686676,
-0.49820688366889954,
0.44189929962158203,
-0.16758546233177185,
0.8611665964126587,
0.6183916926383972,
-0.2855418920516968,
-0.030082395300269127,
-0.15674902498722076,
-0.3807624578475952,
0.4778748154640198,
-0.5660710334777832,
-0.1807270497083664,
0.3950238525867462,
-0.5925982594490051,
0.26609838008880615,
0.36933934688568115,
-0.6944700479507446,
0.040942318737506866,
-0.5844143629074097,
0.6846438050270081,
0.6961504817008972,
0.1456720381975174,
0.19788236916065216,
-0.6437739133834839,
0.71881103515625,
0.03632977604866028,
0.3936355710029602,
-0.11605122685432434,
-0.6058445572853088,
-0.504909098148346,
-0.4180419147014618,
-0.13243182003498077,
0.9119809865951538,
-0.7000789046287537,
0.475399374961853,
0.31525447964668274,
-0.6201571822166443,
-0.53531414270401,
0.4386563301086426,
0.15354925394058228,
0.24270041286945343,
0.14974048733711243,
-0.3406673073768616,
-0.7180291414260864,
-0.6274093985557556,
-0.4304172396659851,
-0.5068991184234619,
0.03631652146577835,
0.6665142178535461,
0.4417440891265869,
-0.3921608328819275,
0.9548793435096741,
-0.5300295948982239,
-0.6603124737739563,
-0.553465723991394,
0.053396616131067276,
0.3041134774684906,
0.6207288503646851,
0.24249161779880524,
-0.383018434047699,
-0.1354895830154419,
-0.20219440758228302,
-1.0008472204208374,
0.0025646360591053963,
-0.17687080800533295,
0.04008208215236664,
0.11014065891504288,
0.7979253530502319,
-0.7277852892875671,
0.6923347115516663,
0.19338326156139374,
-0.45441746711730957,
0.9291186332702637,
-0.7159702777862549,
0.20781175792217255,
-0.6746739745140076,
-0.26798519492149353,
-0.4806455075740814,
-0.13751435279846191,
-0.3942100405693054,
0.5717039108276367,
-0.2509841322898865,
-0.4233841598033905,
-0.6582198739051819,
0.39669162034988403,
-0.4769468307495117,
0.03400415554642677,
-0.3025508224964142,
0.26164117455482483,
-0.1733618974685669,
0.06799386441707611,
-0.23860061168670654,
0.6901571750640869,
0.5309556722640991,
-0.10967348515987396,
0.6880658268928528,
0.1611843705177307,
-0.6846079230308533,
0.30141618847846985,
-0.7343408465385437,
0.14507728815078735,
-0.05329321324825287,
-0.006430670619010925,
-0.7450208067893982,
-0.26253941655158997,
-0.04464122653007507,
-0.37583497166633606,
-0.1375361531972885,
0.18887311220169067,
-0.7408396601676941,
-0.6315459609031677,
-0.11409226804971695,
0.3536088168621063,
0.7593920826911926,
-0.383330762386322,
0.4207404851913452,
0.9359944462776184,
0.2681041359901428,
-0.34741443395614624,
-0.5913931727409363,
0.7194086313247681,
-0.6081279516220093,
-0.7040524482727051,
0.24123458564281464,
-0.2031838446855545,
-0.6334365010261536,
-0.3090941309928894,
0.029860615730285645,
0.12006869167089462,
0.8434626460075378,
0.35338425636291504,
0.2760244309902191,
0.1036980003118515,
-0.28487181663513184,
-0.24073591828346252,
0.025386221706867218,
0.40670743584632874,
-0.023665765300393105,
0.48955073952674866,
-0.4537005126476288,
-0.4369877278804779,
-0.10867676883935928,
0.5174582600593567,
0.45164352655410767,
-0.03541693091392517,
0.606609046459198,
-0.12026718258857727,
-0.44787025451660156,
0.007845764979720116,
-0.4097025990486145,
0.18288999795913696,
-0.6208775043487549,
0.16559837758541107,
-0.3350943922996521,
-1.0979030132293701,
0.3881630003452301,
-0.2095794677734375,
-0.02984449826180935,
-0.1793401688337326,
0.7677910327911377,
-0.4823122024536133,
0.8129819631576538,
0.7681196331977844,
-0.23138433694839478,
0.16900043189525604,
0.3561860918998718,
0.6106688380241394,
-0.22948578000068665,
-0.34153109788894653,
-0.4256379008293152,
-0.5623586177825928,
-0.35305169224739075,
-0.4663694500923157,
0.40970346331596375,
0.40687689185142517,
-0.257781058549881,
0.6945993304252625,
-0.22959250211715698,
1.0431326627731323,
0.30468711256980896,
0.26987355947494507,
0.36133328080177307,
-0.3870634436607361,
-0.45340466499328613,
0.038966767489910126,
-0.586020827293396,
-0.46212565898895264,
0.4832683801651001,
0.650675356388092,
1.1194719076156616,
0.5218029618263245,
1.3071116209030151,
0.582209587097168,
0.30363592505455017,
-0.6507261991500854,
0.6895110011100769,
-0.0020658448338508606,
-0.9159371256828308,
-0.317026287317276,
-0.18573097884655,
-0.8835284113883972,
-0.2901296615600586,
-0.126751109957695,
-1.0489821434020996,
0.006777614820748568,
0.14349907636642456,
-0.5351583361625671,
0.5113338828086853,
-0.6168381571769714,
0.7680249214172363,
-0.5649040937423706,
-0.4614758789539337,
-0.2888713777065277,
-0.7588951587677002,
0.6821811199188232,
0.011194201186299324,
1.252821683883667,
-0.19545909762382507,
0.026021983474493027,
0.6066205501556396,
-0.7102867364883423,
0.7672743201255798,
-0.07754070311784744,
-0.24874700605869293,
0.5358089804649353,
0.9008744955062866,
0.333652138710022,
0.23160292208194733,
0.34177136421203613,
-0.1368616670370102,
-0.24565806984901428,
-0.31918683648109436,
-0.3925626575946808,
0.6928831338882446,
-0.9691933989524841,
-1.2835206985473633,
-0.3289196789264679,
-0.5846962928771973,
0.0495348796248436,
0.1575491577386856,
0.10221227258443832,
-0.06431306898593903,
-0.301297128200531,
-0.12564662098884583,
0.5653819441795349,
-0.4917885661125183,
0.400492399930954,
0.1272365301847458,
-0.5385124087333679,
-0.33415523171424866,
0.929013192653656,
-0.35547226667404175,
0.1774064153432846,
0.12387804687023163,
0.33869582414627075,
0.06401980668306351,
-0.28545817732810974,
-0.251352995634079,
0.26619231700897217,
-0.5259190797805786,
-0.049566399306058884,
-0.4113698899745941,
-0.2460506558418274,
0.012175900861620903,
-0.9260054230690002,
-0.2816427946090698,
-0.23210497200489044,
-0.50681072473526,
0.11724839359521866,
0.13772648572921753,
0.733268678188324,
-0.49549806118011475,
0.636021077632904,
-0.5795796513557434,
0.5201272368431091,
0.42718708515167236,
0.26468780636787415,
-0.31009966135025024,
-0.21959362924098969,
-0.20501969754695892,
-0.2779378294944763,
-0.3862960934638977,
-1.1684305667877197,
0.5159332156181335,
0.02237858809530735,
0.398241251707077,
0.38471245765686035,
0.04188184067606926,
0.4507392942905426,
-0.5199695825576782,
0.5481535196304321,
0.4912797510623932,
-1.0661944150924683,
0.7571943998336792,
-0.34522801637649536,
0.06897097080945969,
0.6317939758300781,
0.11089496314525604,
-0.6876813769340515,
-0.5596038699150085,
-0.39974814653396606,
-0.7954250574111938,
0.5387524962425232,
-0.01260762196034193,
0.20153272151947021,
-0.42025142908096313,
0.12811091542243958,
-0.057793181389570236,
0.19686342775821686,
-0.5821971297264099,
-0.14753498136997223,
-0.17332816123962402,
0.06898987293243408,
-0.037162214517593384,
-0.029736360535025597,
-0.2848944664001465,
-0.11080606281757355,
0.39445778727531433,
0.26240330934524536,
0.26265040040016174,
0.07953529059886932,
-0.3816831707954407,
-0.16388799250125885,
0.6401069760322571,
0.36440953612327576,
0.34452715516090393,
-0.11612989753484726,
0.4221634864807129,
-0.07779867947101593,
-0.38622158765792847,
0.5136853456497192,
-0.5581679940223694,
-0.1252676248550415,
-0.48755788803100586,
0.13318291306495667,
0.6070259213447571,
0.2685419023036957,
-1.1162670850753784,
0.5758906006813049,
-0.1289600431919098,
-0.344195157289505,
-0.476450651884079,
0.6250940561294556,
0.18503187596797943,
0.1552698165178299,
0.2415301650762558,
0.18663400411605835,
-0.28152909874916077,
-0.8971012234687805,
0.39971888065338135,
0.32220524549484253,
-0.4799470603466034,
-0.010922818444669247,
1.0294923782348633,
0.3656635284423828,
-1.1672183275222778,
0.41728731989860535,
-0.3871275782585144,
-0.6775421500205994,
0.7451385855674744,
0.8798565864562988,
0.7958751916885376,
0.2390616536140442,
0.3199617862701416,
0.10754958540201187,
0.6626203060150146,
-0.00015524751506745815,
0.32542768120765686,
0.031600214540958405,
-0.8039534091949463,
-0.2502497136592865,
-0.36881840229034424,
-0.424851655960083,
-0.13859646022319794,
-0.0710209384560585,
0.5046836733818054,
-0.836840808391571,
-0.03558345139026642,
-0.3321199119091034,
-0.1441902220249176,
-0.29653215408325195,
-0.3644828498363495,
0.3464001417160034,
1.2291159629821777,
-0.44695404171943665,
0.6490873694419861,
0.37937307357788086,
-0.012463731691241264,
-0.4203639626502991,
-0.2946593165397644,
0.32497113943099976,
-0.8086440563201904,
0.5489881038665771,
0.24406830966472626,
-0.055697012692689896,
0.13735613226890564,
-0.7547897100448608,
-0.4768967628479004,
0.8370893001556396,
0.3780346214771271,
-0.675510823726654,
-0.09482299536466599,
0.2954249978065491,
0.33984535932540894,
-0.6491542458534241,
-0.1995476633310318,
1.0314676761627197,
0.6269633769989014,
-0.19351182878017426,
-0.624118447303772,
-0.02948850765824318,
-0.2363383024930954,
-0.29550331830978394,
0.2991924285888672,
-0.5287649631500244,
0.7512932419776917,
-0.9280613660812378,
-0.3476584553718567,
0.1686987578868866,
0.6447479128837585,
0.7815962433815002,
0.015795931220054626,
0.6646224856376648,
0.7605288624763489,
0.5444042682647705,
-0.10910657048225403,
0.7415354251861572,
-0.11367230117321014,
0.017845530062913895,
0.8212336897850037,
-0.38276028633117676,
0.48988643288612366,
0.701022744178772,
-0.09517963230609894,
0.7033917307853699,
-0.03288748487830162,
0.047075819224119186,
0.34981387853622437,
0.7300689816474915,
-0.4717226028442383,
-0.3230457305908203,
0.048407409340143204,
0.11532364785671234,
0.5613421201705933,
0.38858136534690857,
0.2764737606048584,
-0.44670411944389343,
0.1498967409133911,
0.4361668825149536,
0.41797471046447754,
-0.2131730169057846,
0.755510151386261,
0.11568038165569305,
-0.3579922020435333,
0.3818013370037079,
0.3971938490867615,
0.8125134706497192,
-0.45120668411254883,
0.4373820126056671,
-0.1760345995426178,
0.07389136403799057,
-0.10873404890298843,
-0.7317608594894409,
0.2985105514526367,
0.4400166869163513,
0.26078492403030396,
-0.029786018654704094,
0.8107794523239136,
-0.03564054146409035,
-0.2577623724937439,
0.3246912956237793,
0.5216608047485352,
0.35817065834999084,
0.13503606617450714,
-0.6990069150924683,
0.2975548803806305,
-0.2662668228149414,
0.17183254659175873,
0.3499704897403717,
0.3930136263370514,
-0.019974643364548683,
0.9563934206962585,
0.4966411888599396,
0.09467219561338425,
-0.04078882560133934,
-0.2996658682823181,
0.7400331497192383,
-0.9377224445343018,
-0.8719363808631897,
-1.2541275024414062,
0.21440698206424713,
0.08284333348274231,
-0.25375261902809143,
0.5508208274841309,
0.4155871272087097,
0.35203009843826294,
0.15607741475105286,
0.9033821225166321,
-0.45621931552886963,
0.015904176980257034,
-0.2521924376487732,
0.8908560276031494,
-0.3938674330711365,
0.7000231742858887,
-0.36989930272102356,
-0.2840009331703186,
-0.20223301649093628,
0.37179210782051086,
-0.07397640496492386,
-0.21309180557727814,
0.5111256837844849,
0.5518818497657776,
0.3276556730270386,
0.011734087951481342,
0.5475062131881714,
0.11279596388339996,
0.5575774908065796,
0.9251788258552551,
1.155936360359192,
-0.18423756957054138,
0.5016160607337952,
-0.2775295078754425,
-0.6299021244049072,
-0.17405694723129272,
-0.9710030555725098,
-0.8949074745178223,
-0.18084518611431122,
-0.07674889266490936,
-0.35839492082595825,
0.09454285353422165,
1.0431939363479614,
0.3337263762950897,
-0.5953254103660583,
-0.6849876642227173,
-0.14623241126537323,
0.534946620464325,
-0.04502889886498451,
-0.1908678263425827,
-0.23191283643245697,
-0.28688424825668335,
-0.05607220157980919,
0.8051478266716003,
0.46353521943092346,
0.08064860850572586,
-0.5186724662780762,
-0.22719117999076843,
-0.26744338870048523,
0.34701335430145264,
0.49941563606262207,
0.6962928771972656,
-0.4156534969806671,
-0.3508375585079193,
0.13748204708099365,
-0.01792879030108452,
0.18607968091964722,
1.0865989923477173,
-0.8386322855949402,
0.29555365443229675,
0.28901392221450806,
0.80059814453125,
0.04393932595849037,
-0.06225799769163132,
0.5556777715682983,
-0.7647454738616943,
0.02602420002222061,
0.11123916506767273,
0.40457653999328613,
0.04307893291115761,
-0.5158861875534058,
0.11496552079916,
0.39633721113204956,
-0.7317408919334412,
-0.7027576565742493,
0.3791802227497101,
-0.5620783567428589,
-0.5697121024131775,
0.7492062449455261,
-0.09606917947530746,
-0.6578084826469421,
-0.5581119656562805,
-0.3040865659713745,
-0.10908221453428268,
-0.4198942184448242,
1.1682482957839966,
0.8044283986091614,
-0.07156640291213989,
-0.09428463876247406,
-0.42886653542518616,
0.31148096919059753,
0.13408327102661133,
-1.0059776306152344,
0.23416928946971893,
0.1976974904537201,
0.0018962019821628928,
0.1498253047466278,
0.6472477912902832,
-0.3664562404155731,
0.50175940990448,
-0.2048460692167282,
0.07314121723175049,
-0.4873594641685486,
-0.5414445996284485,
-0.14054827392101288,
0.2850823998451233,
0.20438458025455475,
0.2074912190437317
] |
http://arxiv.org/abs/2405.15896v1
|
http://arxiv.org/pdf/2405.15896v1
|
Enhancing Augmentative and Alternative Communication with Card Prediction and Colourful Semantics
| 2024-05-24T19:33:34 | 2024-05-24T19:33:34 |
Jayr Pereira, Francisco Rodrigues, Jaylton Pereira, Cleber Zanchettin, Robson Fidalgo
|
cs.CL
|
cs.CL
|
This paper presents an approach to enhancing Augmentative and Alternative
Communication (AAC) systems by integrating Colourful Semantics (CS) with
transformer-based language models specifically tailored for Brazilian
Portuguese. We introduce an adapted BERT model, BERTptCS, which incorporates
the CS framework for improved prediction of communication cards. The primary
aim is to enhance the accuracy and contextual relevance of communication card
predictions, which are essential in AAC systems for individuals with complex
communication needs (CCN). We compared BERTptCS with a baseline model,
BERTptAAC, which lacks CS integration. Our results demonstrate that BERTptCS
significantly outperforms BERTptAAC in various metrics, including top-k
accuracy, Mean Reciprocal Rank (MRR), and Entropy@K. Integrating CS into the
language model improves prediction accuracy and offers a more intuitive and
contextual understanding of user inputs, facilitating more effective
communication.
|
[
-0.4728374481201172,
-0.5474486947059631,
0.2006157487630844,
0.4365275502204895,
-0.23059327900409698,
0.03958199545741081,
-0.5163237452507019,
-1.0653854608535767,
0.5284732580184937,
0.009944957681000233,
-0.4579284191131592,
-0.36636602878570557,
-0.4847235381603241,
-0.09021061658859253,
-0.1934516876935959,
0.8211329579353333,
0.25273919105529785,
0.25120091438293457,
-0.09577567875385284,
-0.1281866878271103,
-0.7667539715766907,
-0.5006304383277893,
-0.8545005917549133,
-0.341651052236557,
0.5450217127799988,
0.27223294973373413,
1.1868442296981812,
0.27008089423179626,
0.2223612368106842,
0.35360485315322876,
-0.35048341751098633,
0.10241591185331345,
-0.30509957671165466,
0.054242320358753204,
-0.23582890629768372,
-0.6617772579193115,
-0.44010162353515625,
-0.2742435932159424,
0.33532604575157166,
0.5209686160087585,
-0.1852778196334839,
-0.5393821597099304,
0.14976975321769714,
0.32643941044807434,
-0.640662431716919,
0.8292548656463623,
-0.729290783405304,
-0.14408022165298462,
0.2091606706380844,
-0.32951632142066956,
-0.4573490619659424,
-0.2616230249404907,
0.18543192744255066,
-0.5417731404304504,
-0.30828651785850525,
-0.1914225071668625,
0.8189501762390137,
0.0048644025810062885,
-0.26722124218940735,
-0.6068763136863708,
-1.0044949054718018,
0.5148223042488098,
-0.4675265848636627,
0.5001917481422424,
0.40303969383239746,
0.7061125040054321,
0.05564749985933304,
-0.40623700618743896,
-0.8071202039718628,
-0.33479753136634827,
-0.1712532788515091,
0.6212064623832703,
-0.370553195476532,
0.4411303997039795,
-0.05591372027993202,
0.23871509730815887,
0.023137005046010017,
0.24327614903450012,
-0.4505666494369507,
-0.14225655794143677,
0.5339930057525635,
0.10693442076444626,
0.22284658253192902,
-0.10388005524873734,
-0.08579868823289871,
-0.1994396299123764,
-0.3960614800453186,
0.167571559548378,
0.6250053644180298,
0.4997819662094116,
-0.4287372827529907,
0.18900860846042633,
0.0292972382158041,
0.7133166193962097,
-0.121856190264225,
-0.1356137990951538,
0.23678985238075256,
-0.12593276798725128,
0.014519521966576576,
0.017464810982346535,
0.44997745752334595,
0.0022949783597141504,
0.3069457411766052,
-0.26423099637031555,
-0.10662895441055298,
0.33006808161735535,
0.32661473751068115,
-0.4287717044353485,
-0.5891860127449036,
0.3221576511859894,
-0.5627341270446777,
-0.16689148545265198,
0.1876031756401062,
-0.4846095144748688,
-0.03385372459888458,
-0.5165138840675354,
0.375814288854599,
-0.7943171262741089,
-0.12484423816204071,
-0.440685510635376,
-0.0957794114947319,
0.4423564076423645,
0.725806474685669,
-1.0824346542358398,
0.0678304135799408,
0.6620813608169556,
0.5675082206726074,
-0.1559177190065384,
-0.07108663767576218,
-0.07195106148719788,
0.10376326739788055,
-0.2918338477611542,
0.9625922441482544,
-0.965533435344696,
-0.47778698801994324,
0.30992618203163147,
-0.023417139425873756,
0.17370525002479553,
-0.01466415636241436,
1.204643726348877,
-0.5923504829406738,
0.2832680344581604,
-0.25218871235847473,
-0.26571327447891235,
-0.14809156954288483,
0.08004935085773468,
-0.7183523178100586,
0.7866711616516113,
-0.02943282760679722,
-0.7226224541664124,
0.4060713052749634,
-0.7424164414405823,
-0.6429350972175598,
0.3605138063430786,
-0.0583295039832592,
-0.0889129638671875,
0.0027316471096128225,
0.3508371114730835,
0.33141425251960754,
0.16410136222839355,
0.1627776324748993,
-0.47260865569114685,
-0.5587671399116516,
0.37820014357566833,
-0.6982525587081909,
0.5553148984909058,
0.6693715453147888,
0.06003157049417496,
0.3435122072696686,
-0.8126955032348633,
0.078211210668087,
-0.3236806094646454,
-0.593106746673584,
-0.09116846323013306,
0.19105181097984314,
0.2970917522907257,
0.38781359791755676,
0.2706747055053711,
-0.6960195302963257,
0.05273599922657013,
-0.46719127893447876,
0.3695092797279358,
0.7046418190002441,
-0.5167481899261475,
0.6207652688026428,
-0.2420913726091385,
0.3605189025402069,
0.09104904532432556,
0.26109135150909424,
-0.47562727332115173,
-0.8750002980232239,
-0.6593551635742188,
-0.4723750650882721,
0.6751797795295715,
0.8744351863861084,
-0.921485185623169,
0.8266868591308594,
-0.43745794892311096,
-0.5605036020278931,
-0.6627440452575684,
-0.48911410570144653,
-0.0317496582865715,
0.2368035763502121,
0.40156757831573486,
-0.4084705114364624,
-0.5156856775283813,
-0.9029701948165894,
-0.06583869457244873,
-0.4103367030620575,
-0.08079135417938232,
0.8199601173400879,
0.012888811528682709,
-0.2581750750541687,
0.8225119709968567,
-0.010611167177557945,
-0.2115805447101593,
-0.28169289231300354,
0.16190561652183533,
0.4277327358722687,
0.5069412589073181,
0.4119144082069397,
-0.8426470756530762,
-0.5862352252006531,
0.18210171163082123,
-0.2762780785560608,
-0.04707571491599083,
-0.30572420358657837,
0.09600712358951569,
0.43129026889801025,
0.06638861447572708,
-0.10876578837633133,
0.7771438360214233,
0.7856244444847107,
-0.29146549105644226,
0.26193928718566895,
-0.6047301888465881,
0.42640504240989685,
-0.7411962747573853,
-0.034708622843027115,
-0.1043904572725296,
-0.15305195748806,
-0.7877243757247925,
-0.3635450601577759,
0.21131764352321625,
-0.06701869517564774,
-0.45218929648399353,
0.47120603919029236,
-0.37572985887527466,
-0.151478111743927,
-0.47885003685951233,
-0.12624625861644745,
-0.3269360065460205,
0.4645664095878601,
0.4735174775123596,
0.5650794506072998,
0.8637206554412842,
-0.2926798164844513,
0.28127574920654297,
0.35319122672080994,
-0.19302290678024292,
0.7807325124740601,
-0.6559076309204102,
-0.3002447485923767,
-0.4606248438358307,
0.4262429177761078,
-1.2760666608810425,
-0.0901220440864563,
0.26309826970100403,
-0.6135399341583252,
0.5628069043159485,
-0.08513709157705307,
-0.5193716883659363,
-0.5438450574874878,
-0.0023512549232691526,
0.018031420186161995,
0.7990468144416809,
-0.9561600089073181,
0.9716781973838806,
0.14981026947498322,
-0.17446163296699524,
-0.6743819713592529,
-1.1038026809692383,
0.40699145197868347,
-0.04339176416397095,
-0.8671267032623291,
0.5822957754135132,
-0.06603879481554031,
0.31732338666915894,
-0.07930107414722443,
0.34043046832084656,
0.039741888642311096,
0.014605315402150154,
0.33488792181015015,
0.3575112819671631,
0.09840508550405502,
0.2595728933811188,
0.3068358600139618,
0.05533644184470177,
-0.13220438361167908,
-0.09226631373167038,
0.43671607971191406,
-0.24152156710624695,
-0.3803989589214325,
-0.5887194871902466,
0.49636271595954895,
0.18337436020374298,
-0.18795812129974365,
1.2266603708267212,
0.686198353767395,
-0.17891164124011993,
-0.017633410170674324,
-0.7007685303688049,
-0.2533464729785919,
-0.4759596288204193,
0.11592874675989151,
-0.46545282006263733,
-0.7240026593208313,
0.8539655804634094,
0.2337244600057602,
-0.12938128411769867,
0.16559326648712158,
0.6439551115036011,
-0.14551153779029846,
1.1201523542404175,
0.8356102705001831,
0.18552495539188385,
1.024013876914978,
0.09130255877971649,
0.2740241587162018,
-0.5897015333175659,
-0.33441162109375,
-0.3179900348186493,
-0.334139883518219,
-1.0116385221481323,
-0.32763227820396423,
0.22985579073429108,
0.09508830308914185,
0.13325995206832886,
0.482867956161499,
-0.5277309417724609,
0.34798702597618103,
0.7058827877044678,
0.10576260834932327,
0.14408184587955475,
0.06552094966173172,
-0.06406503915786743,
0.1618293672800064,
-1.067990779876709,
-0.5076636672019958,
0.9949948787689209,
0.6914812922477722,
0.9588325023651123,
0.19628450274467468,
0.5906413197517395,
0.06934560835361481,
0.7953981161117554,
-0.5627118945121765,
0.1644125133752823,
-0.1609461009502411,
-0.5007120370864868,
0.025368498638272285,
-0.22010987997055054,
-1.0278860330581665,
0.4012308716773987,
-0.750481903553009,
-0.9943735003471375,
0.7144045233726501,
0.24892884492874146,
-0.30028578639030457,
0.041923049837350845,
-1.0541263818740845,
0.5977675318717957,
-0.24748268723487854,
-0.3829158842563629,
-0.18776695430278778,
-0.8434564471244812,
-0.018192503601312637,
0.36184170842170715,
0.2345954179763794,
0.12694312632083893,
-0.13849803805351257,
0.43281593918800354,
-0.22187799215316772,
1.013217568397522,
0.2175661027431488,
-0.2034757137298584,
0.6679109334945679,
-0.22319145500659943,
0.6315447092056274,
-0.15748383104801178,
-0.1787833422422409,
0.40583786368370056,
0.13592326641082764,
-0.42587241530418396,
-0.5746983289718628,
0.8384859561920166,
-0.8382417559623718,
-0.1271955966949463,
-0.4046848714351654,
-0.58832848072052,
-0.3901014029979706,
-0.1900862604379654,
-0.08264198154211044,
0.2312418520450592,
-0.17586372792720795,
-0.05784403160214424,
0.21324318647384644,
-0.3330302834510803,
0.6570080518722534,
0.661585807800293,
0.36145272850990295,
-0.5303827524185181,
0.8469483256340027,
-0.03372177854180336,
0.07955922186374664,
0.34705954790115356,
0.02966035157442093,
-0.5324330925941467,
-0.602262020111084,
-0.16288556158542633,
0.09659646451473236,
-1.0266450643539429,
-0.22348341345787048,
-0.8668868541717529,
-0.0927228257060051,
-0.6333245038986206,
-0.28953370451927185,
0.05455809831619263,
-0.4595798850059509,
-0.43225908279418945,
-0.005728385876864195,
0.24475973844528198,
0.5973172187805176,
-0.5229086875915527,
0.736918568611145,
-0.7649164199829102,
-0.199430450797081,
0.12194770574569702,
0.5079290270805359,
-0.017555221915245056,
-0.6303001046180725,
-0.06271219253540039,
0.20708662271499634,
-0.4106868803501129,
-1.2705168724060059,
0.48763781785964966,
0.29554101824760437,
0.8344146013259888,
0.4745062291622162,
-0.46976619958877563,
0.7264227867126465,
-0.3806171119213104,
0.6801913380622864,
0.3830375373363495,
-0.8383453488349915,
0.6255638599395752,
-0.4695793092250824,
0.19064125418663025,
0.29763346910476685,
0.31147876381874084,
-0.5240749716758728,
-0.32567670941352844,
-1.041824221611023,
-0.6075899004936218,
0.9132558703422546,
0.4251207709312439,
0.3371345102787018,
-0.23423142731189728,
0.21322394907474518,
-0.09135395288467407,
0.21551869809627533,
-0.9283345937728882,
-0.2483084797859192,
-0.3691251575946808,
-0.33869537711143494,
0.022526027634739876,
-0.34998413920402527,
0.1367121934890747,
-0.15720634162425995,
0.5352899432182312,
-0.18030859529972076,
0.6352483034133911,
0.013357843272387981,
0.4371316432952881,
-0.08559636771678925,
0.4647216498851776,
0.46058833599090576,
0.4411442279815674,
-0.007001630030572414,
-0.22430363297462463,
0.4534849524497986,
-0.10783234238624573,
-0.5861116647720337,
0.3402244448661804,
0.22429299354553223,
-0.08375292271375656,
0.464627742767334,
0.8785086870193481,
0.1985171139240265,
-0.6083284616470337,
0.4279608726501465,
-0.017025984823703766,
0.3185025155544281,
-0.31121277809143066,
0.11744951456785202,
0.20588096976280212,
0.07778174430131912,
0.05363379791378975,
0.3296775817871094,
0.18864580988883972,
-0.8347559571266174,
0.11743633449077606,
0.7448225021362305,
-0.7382064461708069,
-0.28902432322502136,
0.48542520403862,
0.6076761484146118,
-0.2919129431247711,
0.18509268760681152,
-0.14138981699943542,
-0.5263457298278809,
0.3648894131183624,
0.5196042060852051,
0.4109656810760498,
-0.5319274067878723,
0.17342865467071533,
0.5648838877677917,
0.2920491695404053,
0.1310291290283203,
0.5437954664230347,
-0.5236807465553284,
-0.7053845524787903,
-0.4965004026889801,
-0.5437099933624268,
-0.2973349988460541,
-0.3406261205673218,
-0.3484307527542114,
0.5584744215011597,
-0.07015470415353775,
-0.10433921962976456,
-0.13482925295829773,
-0.22829405963420868,
-0.7288650870323181,
0.38378921151161194,
0.6715887188911438,
0.9929667711257935,
-1.0030025243759155,
1.152161717414856,
0.6627629995346069,
-0.4151874780654907,
-0.8759037852287292,
-0.3855505883693695,
-0.5456814765930176,
-0.8387095928192139,
0.5616665482521057,
-0.10043525695800781,
0.1654549092054367,
-0.5142393708229065,
-0.3015388250350952,
-0.8523581624031067,
0.9456273317337036,
0.22494512796401978,
-0.4439999461174011,
0.20029152929782867,
0.3250223994255066,
1.073747992515564,
-0.5567207336425781,
1.1347196102142334,
0.5216412544250488,
0.6465533971786499,
0.8365561962127686,
-1.1140642166137695,
-0.40323278307914734,
-0.17589925229549408,
0.09929854422807693,
0.12497294694185257,
-0.5003833174705505,
0.5225546956062317,
-0.18456092476844788,
-0.49548831582069397,
0.16863083839416504,
1.166597843170166,
-0.0882163941860199,
-0.10385184735059738,
0.3624144196510315,
0.2837940752506256,
0.5777621865272522,
-0.44447553157806396,
1.21378493309021,
-0.48720410466194153,
0.02822372131049633,
0.9875359535217285,
0.2836563289165497,
0.9063089489936829,
0.38712677359580994,
-0.12524202466011047,
0.7669260501861572,
0.5346134305000305,
0.09754378348588943,
0.4746972620487213,
0.10223346203565598,
-0.22080016136169434,
-0.29820534586906433,
-0.19441981613636017,
-0.3168882727622986,
0.5831524729728699,
0.7429490089416504,
-0.3920218348503113,
-0.211351215839386,
-0.010710470378398895,
-0.12294916063547134,
0.10661596059799194,
-0.39997541904449463,
0.8459720015525818,
-0.1983715295791626,
-0.8686368465423584,
0.4805014133453369,
0.1709127426147461,
1.064902663230896,
-0.6515887379646301,
-0.14236097037792206,
0.042968738824129105,
0.11162663251161575,
-0.3066578209400177,
-1.1347081661224365,
0.43613916635513306,
-0.36735227704048157,
0.3173743784427643,
-0.12096469104290009,
0.9545653462409973,
-0.9044497609138489,
-0.5447889566421509,
0.21010616421699524,
0.22583910822868347,
0.059927862137556076,
0.17629015445709229,
-1.0220328569412231,
0.3788272738456726,
-0.20559458434581757,
0.35748276114463806,
0.004448216408491135,
0.41107258200645447,
0.0634046345949173,
0.7347493171691895,
0.5753827095031738,
0.19662690162658691,
-0.07583044469356537,
-0.020033027976751328,
0.8081743717193604,
-0.3196040391921997,
-1.1676384210586548,
-0.454837441444397,
0.6190404891967773,
-0.21117767691612244,
-0.1878865510225296,
0.5910049080848694,
0.20655134320259094,
0.44465649127960205,
-0.057268332690000534,
0.6370949149131775,
-0.06074637919664383,
0.2615121901035309,
-0.12488347291946411,
0.530286431312561,
-0.2118493914604187,
0.36294642090797424,
-0.3284912109375,
-0.8861259818077087,
-0.12207648903131485,
0.7134254574775696,
-0.5249983072280884,
0.2675338089466095,
0.33105388283729553,
0.6937965750694275,
-0.12534020841121674,
0.5589534640312195,
0.44521060585975647,
0.015032473020255566,
0.5031183958053589,
0.651591956615448,
1.0272566080093384,
-0.3867206573486328,
0.6818413138389587,
-0.43383318185806274,
-0.5708107352256775,
-0.19066612422466278,
-1.1102888584136963,
-1.0124452114105225,
-0.669812023639679,
-0.245949849486351,
-0.378998726606369,
0.24729003012180328,
0.6841047406196594,
0.8080062866210938,
-1.062158465385437,
0.03770877420902252,
-0.07342702150344849,
-0.002626111265271902,
-0.13511884212493896,
-0.2286934107542038,
0.2342851608991623,
-0.4065912961959839,
-0.9246712327003479,
0.11398117989301682,
0.2804710865020752,
0.3846333622932434,
-0.12108273059129715,
-0.030766867101192474,
0.114710733294487,
0.38804757595062256,
0.73648601770401,
0.4311141073703766,
-0.9421332478523254,
-0.4543776512145996,
-0.38427361845970154,
0.1507728099822998,
0.2064778059720993,
0.7084351181983948,
-1.1484198570251465,
0.4212358295917511,
0.6106476187705994,
0.26984721422195435,
0.1961245983839035,
0.19979871809482574,
0.49713367223739624,
-0.5660563111305237,
0.4829521179199219,
0.4028516411781311,
0.47316890954971313,
0.4018501341342926,
-0.42089512944221497,
0.2218421995639801,
-0.12343212217092514,
-0.2785106897354126,
-0.36731475591659546,
0.2370142787694931,
-1.3042781352996826,
-0.2992818057537079,
1.306545376777649,
0.002018211642280221,
-0.3198184669017792,
-0.1818394809961319,
-0.48225030303001404,
0.013929851353168488,
-0.7507769465446472,
0.6170139908790588,
0.5213756561279297,
-0.27916446328163147,
0.03336279094219208,
-0.0656038224697113,
0.37327104806900024,
0.4629904627799988,
-0.8792214393615723,
-0.07718489319086075,
0.4546120762825012,
-0.06362883746623993,
0.30823469161987305,
0.4373258948326111,
-0.15236026048660278,
0.3005673885345459,
-0.10064982622861862,
0.13664038479328156,
-0.0036740608047693968,
-0.24943172931671143,
-0.2967306673526764,
0.10970970243215561,
-0.18837329745292664,
0.13986770808696747
] |
http://arxiv.org/abs/2405.15877v1
|
http://arxiv.org/pdf/2405.15877v1
|
Basis Selection: Low-Rank Decomposition of Pretrained Large Language Models for Target Applications
| 2024-05-24T18:40:20 | 2024-05-24T18:40:20 |
Yang Li, Changsheng Zhao, Hyungtak Lee, Ernie Chang, Yangyang Shi, Vikas Chandra
|
cs.LG
|
cs.LG, cs.AR, cs.CL
|
Large language models (LLMs) significantly enhance the performance of various
applications, but they are computationally intensive and energy-demanding. This
makes it challenging to deploy them on devices with limited resources, such as
personal computers and mobile/wearable devices, and results in substantial
inference costs in resource-rich environments like cloud servers. To extend the
use of LLMs, we introduce a low-rank decomposition approach to effectively
compress these models, tailored to the requirements of specific applications.
We observe that LLMs pretrained on general datasets contain many redundant
components not needed for particular applications. Our method focuses on
identifying and removing these redundant parts, retaining only the necessary
elements for the target applications. Specifically, we represent the weight
matrices of LLMs as a linear combination of base components. We then prune the
irrelevant bases and enhance the model with new bases beneficial for specific
applications. Deep compression results on the Llama 2-7b and -13B models,
conducted on target applications including mathematical reasoning and code
generation, show that our method significantly reduces model size while
maintaining comparable accuracy to state-of-the-art low-rank compression
techniques.
|
[
-0.49623528122901917,
-0.5112600922584534,
0.5403175354003906,
0.06826942414045334,
-0.3666553497314453,
0.2504342496395111,
-0.5463248491287231,
-0.28428569436073303,
0.31918787956237793,
0.7150676846504211,
-0.3885255455970764,
-0.3852356970310211,
-0.6710344552993774,
-0.0976920947432518,
-0.37752553820610046,
0.5105555057525635,
0.17950978875160217,
-0.04214361310005188,
-0.2855756878852844,
0.06773527711629868,
-0.4642546772956848,
-0.6478452086448669,
-0.4252861440181732,
-0.43979325890541077,
0.3120880126953125,
0.5991764068603516,
0.5220643877983093,
0.6219309568405151,
0.4979977607727051,
0.2561006546020508,
-0.269636332988739,
-0.01707669347524643,
-1.0242153406143188,
0.3711455464363098,
0.10652612149715424,
-0.512393057346344,
-0.4539561867713928,
-0.05965697020292282,
0.7018358111381531,
1.19752836227417,
0.0429709255695343,
0.46938639879226685,
0.012558071874082088,
0.6983430981636047,
-0.894200325012207,
-0.17266637086868286,
-0.788568377494812,
-0.12187589704990387,
-0.13488712906837463,
0.0043659876100718975,
-0.5420687198638916,
-0.2752719521522522,
-0.3926328420639038,
-0.16361944377422333,
0.17481105029582977,
-0.10252920538187027,
0.5193498134613037,
0.5440633893013,
-0.30081138014793396,
0.21370895206928253,
-0.6919963359832764,
1.138728380203247,
-0.5485178232192993,
0.5985823273658752,
0.5039937496185303,
0.05272861197590828,
-0.2333846092224121,
-0.36749789118766785,
-0.203550785779953,
-0.3255314826965332,
0.11987286061048508,
-0.3204755187034607,
-0.044494349509477615,
0.14775976538658142,
0.329109251499176,
0.4695534408092499,
-0.7067629098892212,
0.3540148138999939,
-0.4720836579799652,
-0.12720996141433716,
0.33487364649772644,
-0.11678852140903473,
0.22135622799396515,
0.04731226712465286,
0.07905212044715881,
-0.0039637223817408085,
-1.290247917175293,
-0.20026880502700806,
0.2777383029460907,
0.4394320249557495,
0.10772165656089783,
0.7488560676574707,
-0.2292024791240692,
0.8317743539810181,
0.11001105606555939,
-0.49548232555389404,
0.08410237729549408,
-0.0974028930068016,
-0.5567114949226379,
0.01746625266969204,
0.3832245469093323,
0.08978043496608734,
0.029886780306696892,
-0.3034270703792572,
-0.1523793488740921,
0.36822378635406494,
0.0645054280757904,
-0.9449964165687561,
-0.13386063277721405,
0.19957025349140167,
-0.8085049986839294,
-0.40714436769485474,
-0.5162292718887329,
-0.5228112936019897,
-0.3924192190170288,
-0.4292565882205963,
0.029557453468441963,
0.00717889191582799,
-0.10902025550603867,
0.018115101382136345,
0.04472103342413902,
0.015029258094727993,
0.28552135825157166,
-1.0693116188049316,
0.449259877204895,
0.5770987868309021,
0.47064173221588135,
-0.31583714485168457,
0.02622861973941326,
-0.6467338800430298,
0.14302828907966614,
-0.3003613352775574,
0.34466680884361267,
-0.6583821773529053,
-0.46139997243881226,
-0.27658340334892273,
-0.23046831786632538,
0.18142831325531006,
-0.7910791635513306,
0.5232278108596802,
-0.5641285181045532,
-0.2927842438220978,
-0.19333255290985107,
-0.21355892717838287,
0.04298513010144234,
0.12566068768501282,
-0.8376879692077637,
1.065968632698059,
0.32225480675697327,
-0.30041030049324036,
0.10908548533916473,
-0.09519742429256439,
-0.6393548250198364,
-0.11387871205806732,
-0.1670066863298416,
-0.21517208218574524,
0.5372458696365356,
0.22390787303447723,
0.5416442155838013,
-0.7982923984527588,
-0.0839945450425148,
-0.4284571707248688,
-0.5413392782211304,
-0.3187420666217804,
-0.165445476770401,
0.731024980545044,
0.4235459864139557,
-0.2838684916496277,
-0.25125232338905334,
-0.9248877167701721,
0.11886889487504959,
0.2171841561794281,
-0.6376953125,
-0.3438190817832947,
0.14328104257583618,
-0.09545248001813889,
0.1424797624349594,
0.37998223304748535,
-0.3638097047805786,
0.3864656686782837,
-0.32184380292892456,
0.28828704357147217,
0.44605115056037903,
-0.22032181918621063,
0.652476966381073,
-0.05364679545164108,
0.642048180103302,
-0.22321376204490662,
-0.025062838569283485,
0.2335798144340515,
-0.05505312606692314,
-1.0598984956741333,
-0.4187631607055664,
0.3333991765975952,
0.46496787667274475,
-0.4561123847961426,
0.5824911594390869,
-0.5248884558677673,
-0.5579972267150879,
-0.21472717821598053,
0.576646625995636,
0.291447252035141,
0.2595272362232208,
0.37391799688339233,
-0.09489856660366058,
-0.7760263681411743,
-0.9787761569023132,
-0.08365395665168762,
-0.03939826413989067,
0.010871827602386475,
0.09890776872634888,
0.13105860352516174,
-0.3069065511226654,
0.7736212015151978,
-0.5288823843002319,
0.00974549725651741,
-0.5912614464759827,
-0.13563713431358337,
0.25058379769325256,
0.47497496008872986,
0.707435131072998,
-0.6258987784385681,
-0.4052472710609436,
-0.08228763937950134,
-0.4220157563686371,
-0.22678007185459137,
0.1356234848499298,
0.08565028756856918,
-0.046508077532052994,
0.5612359046936035,
-0.7677960991859436,
0.22990140318870544,
0.8364239931106567,
0.13862265646457672,
0.21195819973945618,
0.01011661160737276,
-0.13102293014526367,
-0.7559577822685242,
0.12303207814693451,
-0.1004662811756134,
-0.4234210252761841,
-0.48941537737846375,
-0.06565161049365997,
-0.11166907846927643,
-0.4920755922794342,
-0.24577659368515015,
0.44937625527381897,
-0.7488154768943787,
-0.2658091187477112,
-0.3428637683391571,
-0.29512014985084534,
-0.11088884621858597,
0.32055923342704773,
-0.010279178619384766,
0.7139397859573364,
0.33638206124305725,
-0.6281140446662903,
-0.036904361099004745,
0.09850539267063141,
-0.315601110458374,
-0.1338263899087906,
-0.428591251373291,
0.20113667845726013,
-0.18102844059467316,
0.20477978885173798,
-0.8367757201194763,
-0.02523699402809143,
-0.0014467835426330566,
-0.140475794672966,
0.3240416347980499,
-0.3900878429412842,
-0.49663448333740234,
-0.11464390158653259,
-0.2471766173839569,
0.5063644051551819,
0.767876923084259,
-0.3752087354660034,
0.6030148863792419,
0.7199611663818359,
-0.33985498547554016,
-0.6392088532447815,
-0.7244336605072021,
0.056588783860206604,
-0.28758126497268677,
-0.2267458140850067,
0.4453331530094147,
-0.10168071836233139,
-0.33324700593948364,
-0.0894414633512497,
-0.19308800995349884,
0.056920360773801804,
0.46453750133514404,
0.3321678936481476,
0.12048160284757614,
-0.3257283866405487,
-0.16616004705429077,
0.08797246962785721,
-0.08998016268014908,
-0.2961665391921997,
-0.08859924972057343,
0.6809999942779541,
0.085564523935318,
-0.35820794105529785,
0.006346635986119509,
0.4965188801288605,
0.6877148747444153,
-0.1216035783290863,
0.620054304599762,
0.2571418583393097,
-0.5324071049690247,
-0.46079739928245544,
-0.7187306880950928,
0.06871293485164642,
-0.4619092643260956,
0.4278101325035095,
-0.303802490234375,
-0.9812864661216736,
0.20194295048713684,
-0.3339266777038574,
-0.10640028864145279,
0.35134947299957275,
0.8255382776260376,
0.29093286395072937,
0.9416274428367615,
0.9002190232276917,
-0.512650191783905,
0.5477280616760254,
-0.25961026549339294,
0.3841700553894043,
-0.6159648895263672,
0.16645447909832,
-0.7280980944633484,
-0.38949212431907654,
-0.3310416042804718,
-0.39389392733573914,
0.15629342198371887,
0.339187353849411,
-0.23699846863746643,
0.37192800641059875,
-0.48223885893821716,
0.8473005294799805,
0.37206149101257324,
-0.013601701706647873,
0.14811588823795319,
0.27987387776374817,
0.10763366520404816,
0.15946629643440247,
-0.4939438998699188,
-0.47482389211654663,
1.3067203760147095,
0.3092920780181885,
0.8737518191337585,
0.22523657977581024,
0.8630003929138184,
0.23210521042346954,
0.34736359119415283,
-0.8745885491371155,
0.695062518119812,
-0.5208255052566528,
-0.31371182203292847,
-0.2446710467338562,
-0.530437707901001,
-0.8616361021995544,
0.25802701711654663,
-0.11815326660871506,
-0.8056511878967285,
0.2541842460632324,
0.13806603848934174,
-0.4409671425819397,
0.050839874893426895,
-0.759455144405365,
0.5442743301391602,
-0.437489777803421,
-0.14448878169059753,
-0.5069003701210022,
-0.3052521347999573,
0.4678805470466614,
-0.21621344983577728,
0.018425917252898216,
-0.2052665799856186,
0.04983292520046234,
0.6736843585968018,
-0.495647132396698,
0.8221943974494934,
-0.19133099913597107,
0.07767409086227417,
0.08641716837882996,
0.115500807762146,
0.5071004033088684,
-0.24105089902877808,
-0.26672881841659546,
0.1644916832447052,
-0.21691618859767914,
-0.2530059516429901,
-0.4000723361968994,
0.8661271333694458,
-0.7742840051651001,
-0.41882824897766113,
-0.0069801295176148415,
-0.2135515809059143,
-0.5487791895866394,
0.37422457337379456,
0.2643324136734009,
0.24958890676498413,
-0.17033174633979797,
0.5995994210243225,
0.6494449377059937,
-0.16754892468452454,
0.2958298325538635,
0.06631956249475479,
-0.09546279162168503,
-0.3722589910030365,
0.7013875842094421,
0.07201510667800903,
0.26376500725746155,
0.4423050582408905,
-0.10343749821186066,
-0.0945889800786972,
-1.0994600057601929,
-0.006950156297534704,
0.16199399530887604,
-0.9795102477073669,
-0.23663559556007385,
-0.2932697832584381,
-0.07221537828445435,
-0.4152487516403198,
-0.2672893702983856,
-0.6070823073387146,
-0.6391724944114685,
-0.3556150794029236,
-0.05368702486157417,
-0.26188695430755615,
0.5980069637298584,
0.12149736285209656,
0.618552029132843,
-0.7113904356956482,
0.6920072436332703,
0.2583329379558563,
0.13557372987270355,
-0.00944665540009737,
-0.173985555768013,
-0.39448103308677673,
-0.1466580182313919,
-0.16705618798732758,
-0.645774245262146,
0.5268975496292114,
0.23012959957122803,
0.843376636505127,
0.1094290167093277,
-0.10659624636173248,
0.6669549345970154,
-0.41359594464302063,
0.6780442595481873,
0.2962161600589752,
-0.9253509640693665,
0.36126622557640076,
-0.1266983598470688,
-0.009110678918659687,
0.8219092488288879,
0.2565169334411621,
-0.10638323426246643,
0.12346101552248001,
-0.4403702914714813,
-0.8998972773551941,
0.4597061574459076,
0.06637924909591675,
-0.025130657479166985,
0.21347934007644653,
0.45151060819625854,
-0.08851736783981323,
0.30094024538993835,
-0.7172938585281372,
-0.4185775816440582,
0.1744898557662964,
-0.3718779683113098,
-0.3258053958415985,
-0.6310904026031494,
-0.06785579770803452,
-0.26836249232292175,
0.5955620408058167,
-0.11749998480081558,
0.2468206286430359,
-0.31079840660095215,
-0.7813617587089539,
-0.10792463272809982,
0.1424930840730667,
0.5895800590515137,
0.7389187812805176,
-0.29367542266845703,
0.19892558455467224,
0.1369994580745697,
-0.594038188457489,
0.4032928943634033,
-0.05155239626765251,
-0.04308672249317169,
0.001592606189660728,
0.18968458473682404,
0.650707483291626,
0.31846553087234497,
-0.5864297747612,
0.34230369329452515,
-0.043169692158699036,
0.07289895415306091,
-0.20690828561782837,
0.058211322873830795,
0.07687125355005264,
0.062296364456415176,
0.36074844002723694,
0.0635489895939827,
0.03940479829907417,
-0.47574037313461304,
-0.06200461834669113,
0.4397180676460266,
0.050455182790756226,
-0.14652763307094574,
0.41579774022102356,
0.25373783707618713,
-0.028785288333892822,
0.4169420003890991,
-0.008838476613163948,
-0.4159170985221863,
0.5133244395256042,
0.4522733688354492,
0.8612501621246338,
-0.09202545881271362,
-0.1874873787164688,
0.1999005377292633,
0.45740216970443726,
-0.3021610379219055,
0.22853408753871918,
-0.00009006333129946142,
-0.7606297731399536,
-0.722894012928009,
-0.7522833943367004,
-0.3440336287021637,
0.5695966482162476,
-0.35614463686943054,
0.38023826479911804,
-0.7451283931732178,
-0.2624107599258423,
-0.09738718718290329,
0.17726774513721466,
-0.6721898317337036,
0.25658631324768066,
0.7087894082069397,
0.7362486124038696,
-0.7905882596969604,
0.9777922034263611,
0.38138896226882935,
-0.16592693328857422,
-0.8273297548294067,
-0.09379158914089203,
-0.012121611274778843,
-0.6815159916877747,
1.1001403331756592,
-0.10110598802566528,
-0.21222616732120514,
0.02266501635313034,
-0.5581502914428711,
-1.1446627378463745,
0.7383837699890137,
1.0445005893707275,
-0.3934461772441864,
-0.14978191256523132,
0.29998496174812317,
0.1609225869178772,
-0.28599363565444946,
0.21656763553619385,
0.549472987651825,
0.3806629478931427,
-0.0056491210125386715,
-1.0839098691940308,
0.024455416947603226,
-0.17487847805023193,
0.11604735255241394,
0.16668716073036194,
-0.5626099109649658,
1.1030359268188477,
0.17310117185115814,
0.041296422481536865,
0.06368272751569748,
0.3615020215511322,
0.39922040700912476,
-0.3105483949184418,
0.5385943651199341,
0.5929966568946838,
0.8414084315299988,
0.1988336443901062,
0.8263498544692993,
-0.4593271315097809,
0.33925098180770874,
0.8677980899810791,
-0.45904916524887085,
1.0200159549713135,
0.5368340015411377,
-0.10758177936077118,
0.31537893414497375,
0.6045651435852051,
0.16333338618278503,
0.584787905216217,
0.32483720779418945,
-0.09835460036993027,
-0.629938542842865,
0.06751113384962082,
-0.4227077066898346,
0.5617755651473999,
0.45644527673721313,
-0.3100568950176239,
-0.38635560870170593,
-0.19038371741771698,
-0.10307402163743973,
-0.4057448208332062,
-0.4448530972003937,
0.39372411370277405,
0.2181161493062973,
-0.6200753450393677,
1.1446744203567505,
0.22792863845825195,
0.5241207480430603,
-0.6671930551528931,
0.09839628636837006,
-0.11522287130355835,
0.29433995485305786,
-0.1761624813079834,
-0.02471667341887951,
0.1678980439901352,
-0.018938278779387474,
-0.45545580983161926,
-0.5408753156661987,
1.061253547668457,
-0.2464635968208313,
-0.37133505940437317,
0.21575598418712616,
0.46084505319595337,
0.06648476421833038,
-0.26767227053642273,
-0.5038389563560486,
0.5647228956222534,
0.001969178905710578,
-0.4024050235748291,
0.6201285123825073,
-0.09477583318948746,
-0.15278027951717377,
0.70509272813797,
0.8468611240386963,
0.39354103803634644,
0.046211015433073044,
-0.019647181034088135,
1.089403748512268,
-0.6065176725387573,
-0.503135621547699,
-0.6672919988632202,
0.2987585961818695,
0.005637588910758495,
0.09688206762075424,
0.5939444899559021,
0.7479855418205261,
0.4669686555862427,
-0.18567724525928497,
1.0213041305541992,
0.07072527706623077,
0.659989595413208,
-0.6926085948944092,
0.5731335878372192,
-0.5766335129737854,
0.49583160877227783,
-0.007389051374047995,
-1.1749147176742554,
-0.3654367923736572,
0.7519857287406921,
-0.33312246203422546,
0.002608424751088023,
0.6147973537445068,
0.6090341806411743,
-0.17282119393348694,
-0.5097503066062927,
0.39031076431274414,
-0.04535854980349541,
0.18035481870174408,
0.6549651026725769,
0.6191124320030212,
-0.25170090794563293,
0.44477513432502747,
-0.21097387373447418,
-0.07742396742105484,
-0.527955949306488,
-1.0434131622314453,
-0.9006323218345642,
-0.18657149374485016,
-0.22387588024139404,
-0.17283211648464203,
-0.21470189094543457,
1.0718673467636108,
1.0743870735168457,
-0.8473056554794312,
-0.40598243474960327,
0.1139158084988594,
0.07928145676851273,
0.008392364718019962,
-0.05092703551054001,
0.22131673991680145,
-0.10124563425779343,
-0.6376803517341614,
0.9073397517204285,
0.12218903005123138,
-0.04648848995566368,
-0.2937540113925934,
-0.12995117902755737,
0.06582071632146835,
-0.21793189644813538,
0.7962421774864197,
0.44475898146629333,
-0.6164376139640808,
-0.11873412877321243,
-0.04564174637198448,
-0.17632640898227692,
-0.021550577133893967,
0.8675805926322937,
-0.938216507434845,
-0.12385865300893784,
0.7637857794761658,
0.9842271208763123,
0.5319014191627502,
0.09463729709386826,
0.5969818830490112,
-0.8885256052017212,
0.603972315788269,
0.4121735095977783,
0.5834381580352783,
0.22422482073307037,
-0.38280296325683594,
0.474472314119339,
0.25678279995918274,
-0.31655779480934143,
-1.0988901853561401,
0.17539909482002258,
-1.1524417400360107,
-0.4183850884437561,
1.4418774843215942,
0.17288678884506226,
-0.23944546282291412,
0.060718946158885956,
0.037121448665857315,
0.044363535940647125,
-0.0005107838078401983,
0.32741400599479675,
0.6789622902870178,
0.01826201006770134,
-0.35645878314971924,
-0.45973700284957886,
0.46605655550956726,
0.4706178307533264,
-0.7523950934410095,
0.13816243410110474,
0.6387326121330261,
0.32468006014823914,
0.08547618240118027,
0.7046170234680176,
0.2014797329902649,
-0.11181505024433136,
-0.12570323050022125,
0.1600494235754013,
-0.0324832946062088,
-0.30577781796455383,
-0.4413484036922455,
0.3966984450817108,
0.44418415427207947,
-0.0724286362528801
] |
http://arxiv.org/abs/2406.00030v1
|
http://arxiv.org/pdf/2406.00030v1
|
Large Language Model Pruning
| 2024-05-24T18:22:15 | 2024-05-24T18:22:15 |
Hanjuan Huang, Hao-Jia Song, Hsing-Kuo Pao
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
We surely enjoy the larger the better models for their superior performance
in the last couple of years when both the hardware and software support the
birth of such extremely huge models. The applied fields include text mining and
others. In particular, the success of LLMs on text understanding and text
generation draws attention from researchers who have worked on NLP and related
areas for years or even decades. On the side, LLMs may suffer from problems
like model overfitting, hallucination, and device limitation to name a few. In
this work, we suggest a model pruning technique specifically focused on LLMs.
The proposed methodology emphasizes the explainability of deep learning models.
By having the theoretical foundation, we obtain a trustworthy deep model so
that huge models with a massive number of model parameters become not quite
necessary. A mutual information-based estimation is adopted to find neurons
with redundancy to eliminate. Moreover, an estimator with well-tuned parameters
helps to find precise estimation to guide the pruning procedure. At the same
time, we also explore the difference between pruning on large-scale models vs.
pruning on small-scale models. The choice of pruning criteria is sensitive in
small models but not for large-scale models. It is a novel finding through this
work. Overall, we demonstrate the superiority of the proposed model to the
state-of-the-art models.
|
[
-0.44235774874687195,
-0.8031346201896667,
0.7551283836364746,
0.10066740959882736,
-0.4930524528026581,
-0.28112053871154785,
-0.5691714286804199,
-0.35604631900787354,
0.037409693002700806,
0.48421788215637207,
-0.727292537689209,
-0.5358185768127441,
-0.4690397083759308,
-0.04919394478201866,
-0.5147026777267456,
0.7400599122047424,
0.16785748302936554,
0.00043763642315752804,
-0.22916479408740997,
0.029245808720588684,
-0.7128549218177795,
-0.5453510880470276,
-0.7206557989120483,
-0.6070399284362793,
0.5835821032524109,
0.24947617948055267,
0.5630877017974854,
0.5298445820808411,
0.43554940819740295,
0.3342522084712982,
-0.5716540217399597,
0.4555712938308716,
-0.438329815864563,
0.20421625673770905,
-0.08577056229114532,
-0.5474590063095093,
-0.35057052969932556,
-0.21353133022785187,
0.5977503657341003,
0.6552519798278809,
-0.2803163230419159,
0.09814199805259705,
0.07588879019021988,
0.6584959030151367,
-0.3784596621990204,
-0.05610478296875954,
-0.8665505051612854,
0.09611941128969193,
0.015969285741448402,
-0.22315192222595215,
-0.4708038568496704,
-0.24966950714588165,
-0.08916360139846802,
-0.20732590556144714,
0.33680179715156555,
-0.24054718017578125,
0.9875288009643555,
0.256371408700943,
-0.3749481439590454,
0.03538466617465019,
-0.9796290397644043,
1.0732982158660889,
-0.9598235487937927,
0.1996464878320694,
0.3726765215396881,
0.2283778041601181,
-0.0710311233997345,
-0.5646600127220154,
-0.44600909948349,
-0.3459179997444153,
-0.07363471388816833,
-0.2262117564678192,
0.11148486286401749,
-0.06955260038375854,
0.1902005672454834,
0.4286483824253082,
-0.27933424711227417,
0.42706990242004395,
-0.3784087300300598,
-0.14530479907989502,
0.6911633014678955,
0.07344301044940948,
0.1665288209915161,
-0.056396257132291794,
-0.2873972952365875,
0.06438066065311432,
-1.0092335939407349,
-0.5453897714614868,
0.3066582977771759,
0.08321917802095413,
0.3558327257633209,
0.6635553240776062,
0.12867076694965363,
0.7268438935279846,
-0.19640572369098663,
-0.27838000655174255,
0.04425898939371109,
-0.29804882407188416,
-0.4241335391998291,
-0.2715139389038086,
0.7575608491897583,
0.4436459541320801,
0.7247013449668884,
-0.17126663029193878,
-0.348191499710083,
0.05828561261296272,
0.1566515564918518,
-0.8204595446586609,
-0.08887267857789993,
0.16909141838550568,
-0.7066301703453064,
-0.38072991371154785,
-0.3295149505138397,
-0.5615925192832947,
-0.40793702006340027,
-0.48176854848861694,
0.21287304162979126,
-0.5826711654663086,
-0.5830764174461365,
0.0766032338142395,
0.18747982382774353,
0.08026540279388428,
0.3558129668235779,
-0.8923670053482056,
0.21273191273212433,
1.0162878036499023,
0.9860612750053406,
-0.23068247735500336,
-0.1513083577156067,
-0.20457200706005096,
0.04400855675339699,
-0.3219287097454071,
0.32236766815185547,
-0.4090573489665985,
-0.2646428346633911,
-0.16157567501068115,
-0.055121906101703644,
0.028687046840786934,
-0.6559638977050781,
0.5545573234558105,
-0.5700920224189758,
0.032789845019578934,
-0.054713357239961624,
-0.7193379998207092,
-0.4942173361778259,
0.5066657662391663,
-0.6497111320495605,
0.689412534236908,
-0.24015742540359497,
-0.7621546983718872,
0.21532060205936432,
-0.2354472279548645,
-0.42567530274391174,
-0.11138266324996948,
-0.17625625431537628,
-0.8159120678901672,
0.4504489302635193,
0.29303601384162903,
0.7696239948272705,
-0.5163262486457825,
0.9054980874061584,
-0.3565841615200043,
-0.3137422502040863,
0.09014496952295303,
-0.6734021306037903,
0.6858154535293579,
0.3000171184539795,
0.06454843282699585,
0.29026979207992554,
-0.5681895613670349,
-0.010964123532176018,
0.27799275517463684,
-0.2157180905342102,
-0.35680505633354187,
0.2078709751367569,
-0.07135699689388275,
0.05933208391070366,
0.17809560894966125,
-0.4199959337711334,
0.25968137383461,
-0.6106646060943604,
0.9331235885620117,
0.6757606267929077,
0.12035121023654938,
0.41331350803375244,
-0.4036118984222412,
0.33792704343795776,
-0.06935986876487732,
0.0668330267071724,
-0.2734680771827698,
-0.21365946531295776,
-0.703586757183075,
-0.2983926832675934,
0.5238102674484253,
0.23036451637744904,
-0.30418145656585693,
0.6908485889434814,
-0.2851548492908478,
-0.48871079087257385,
-0.24034780263900757,
0.14872777462005615,
0.08181113004684448,
0.2228933870792389,
0.22457146644592285,
-0.2352815717458725,
-0.46175917983055115,
-0.9084268808364868,
-0.12289474159479141,
-0.013399544171988964,
-0.2513955533504486,
0.3067776560783386,
0.5467766523361206,
-0.14353658258914948,
0.987951934337616,
-0.47597745060920715,
-0.23223058879375458,
-0.31546977162361145,
-0.06646478176116943,
0.25571349263191223,
0.5810655355453491,
0.21536900103092194,
-0.9919679164886475,
-0.20848478376865387,
0.004395040683448315,
-0.5782719850540161,
0.3161071240901947,
-0.2516474425792694,
0.2671462595462799,
-0.07918375730514526,
0.7022163271903992,
-0.9642109274864197,
0.2668595612049103,
0.3871946632862091,
0.06007517874240875,
0.6225971579551697,
-0.24599328637123108,
-0.4472254812717438,
-1.0488839149475098,
0.03924214467406273,
0.29764026403427124,
-0.2776208519935608,
-0.4111574590206146,
0.07501056790351868,
-0.03505507484078407,
-0.08779580146074295,
-0.2262854427099228,
0.4634552597999573,
-0.6628741025924683,
-0.08774014562368393,
-0.3987593650817871,
-0.02897477336227894,
0.03658057749271393,
0.46267440915107727,
0.16144061088562012,
0.4510863721370697,
0.3887671232223511,
-0.7792283892631531,
0.4211641252040863,
-0.05765668675303459,
-0.5115867853164673,
-0.10301165282726288,
-0.7547678351402283,
0.020103901624679565,
-0.13426971435546875,
0.08693798631429672,
-0.8050661683082581,
0.059977803379297256,
-0.0184850562363863,
-0.43084171414375305,
0.4765254855155945,
-0.19513225555419922,
-0.5514371395111084,
-0.2925071120262146,
-0.15242932736873627,
0.27234652638435364,
0.5497241616249084,
-0.6738606691360474,
0.5226005911827087,
0.43455684185028076,
-0.29543691873550415,
-0.34042462706565857,
-0.6148701310157776,
0.07094947248697281,
-0.6524738073348999,
-0.7831916213035583,
0.5837107300758362,
-0.03431858494877815,
-0.27542251348495483,
-0.1258019059896469,
-0.19958697259426117,
-0.2107764184474945,
0.30265194177627563,
0.2113903909921646,
0.26892730593681335,
-0.27884355187416077,
0.5451338887214661,
-0.1475774049758911,
-0.10169680416584015,
0.1716899871826172,
-0.10658596456050873,
0.7373711466789246,
0.15485779941082,
-0.41296976804733276,
-0.44040989875793457,
0.1683165729045868,
0.5849477648735046,
-0.4158383309841156,
0.8315200805664062,
0.6133131980895996,
-0.36870187520980835,
-0.5091000199317932,
-0.6494208574295044,
-0.524904191493988,
-0.4933161437511444,
0.5518409013748169,
-0.2414657324552536,
-0.9533297419548035,
0.34202834963798523,
-0.40115439891815186,
0.19999061524868011,
0.3699679374694824,
0.5731070041656494,
0.22191184759140015,
1.0354926586151123,
0.8610948920249939,
-0.29857948422431946,
0.4124693274497986,
-0.2187657207250595,
0.2829737365245819,
-0.7204633951187134,
-0.14330469071865082,
-0.5358955264091492,
-0.2942596673965454,
-0.3226882219314575,
-0.345110684633255,
-0.18427391350269318,
0.18751214444637299,
-0.046866271644830704,
0.13201341032981873,
-0.76677006483078,
0.43562638759613037,
0.4944743514060974,
0.14687813818454742,
0.2860261797904968,
0.3406060039997101,
-0.06423211842775345,
-0.035899531096220016,
-0.7248637676239014,
-0.4610450267791748,
0.951834499835968,
0.8128407001495361,
0.6860601305961609,
-0.11918936669826508,
0.614490807056427,
-0.11272590607404709,
0.28883594274520874,
-1.0077675580978394,
0.6759598255157471,
-0.09200052171945572,
-0.693356990814209,
-0.6341707110404968,
-0.6773934364318848,
-0.8081175684928894,
0.4850131571292877,
-0.14945916831493378,
-0.7584241032600403,
-0.009416033513844013,
0.18916992843151093,
-0.3896002173423767,
0.3929421603679657,
-0.705373227596283,
0.5126307010650635,
-0.23319239914417267,
-0.38145360350608826,
-0.3922100067138672,
-0.29437267780303955,
0.6227648854255676,
-0.1648404747247696,
0.12493154406547546,
-0.17909862101078033,
0.000972666428424418,
0.8678070902824402,
-0.6488626599311829,
0.958330512046814,
-0.09704537689685822,
-0.2695872187614441,
0.31617048382759094,
0.08120927959680557,
0.7824226021766663,
-0.010453065857291222,
-0.12305454164743423,
0.10922808945178986,
-0.2817806303501129,
0.0013969505671411753,
-0.44009149074554443,
0.8898011445999146,
-0.5198010802268982,
-0.7081495523452759,
-0.025884000584483147,
-0.4693466126918793,
-0.23825602233409882,
0.08079579472541809,
0.16770441830158234,
0.2503771483898163,
-0.018183669075369835,
0.4362100660800934,
0.715997040271759,
-0.4133530259132385,
0.6025891900062561,
0.2638883590698242,
-0.2741340696811676,
-0.2116853892803192,
1.0306450128555298,
0.2176394909620285,
0.027640581130981445,
0.28020504117012024,
0.22920961678028107,
-0.013098062947392464,
-0.9846040606498718,
0.031699288636446,
0.6365887522697449,
-0.40395587682724,
-0.22757501900196075,
-0.4503867030143738,
-0.3934035003185272,
-0.22980861365795135,
0.11191321909427643,
-0.34447139501571655,
-0.2972508370876312,
-0.42275431752204895,
-0.2259661853313446,
0.3235284984111786,
0.5032585859298706,
0.2752667963504791,
0.5998571515083313,
-0.9010044932365417,
0.31549376249313354,
0.2550274729728699,
0.31567612290382385,
0.39789947867393494,
-0.4669923782348633,
-0.1617755889892578,
-0.0912705585360527,
-0.16067826747894287,
-0.7436052560806274,
0.9478658437728882,
0.08369044959545135,
0.3948011100292206,
0.4050895571708679,
-0.03697499632835388,
0.5757187604904175,
-0.5279223918914795,
0.5050961375236511,
0.4070052206516266,
-0.6790316104888916,
0.35025662183761597,
-0.253277450799942,
0.3094879686832428,
0.3792649805545807,
0.2912329137325287,
-0.4563506841659546,
-0.09516794979572296,
-0.7205846309661865,
-1.1433849334716797,
0.4754447042942047,
0.12454497069120407,
0.06988358497619629,
0.07115577161312103,
0.4996521770954132,
0.0192561037838459,
0.2890010476112366,
-1.0263473987579346,
-0.02163938246667385,
0.33246973156929016,
-0.24685138463974,
-0.20291338860988617,
-0.5667611360549927,
-0.19400975108146667,
-0.21356834471225739,
0.7473519444465637,
0.06779462099075317,
0.12147002667188644,
-0.010201561264693737,
-0.24467143416404724,
0.017729928717017174,
0.15591497719287872,
0.39500677585601807,
0.8905187845230103,
-0.047817163169384,
0.0817040503025055,
0.1054241731762886,
-0.312208354473114,
-0.01155390776693821,
-0.1260441392660141,
-0.3748440146446228,
0.1600237935781479,
0.4469529390335083,
0.7142994999885559,
-0.18055810034275055,
-0.5467084050178528,
0.4810217618942261,
-0.04974330589175224,
-0.3381248712539673,
-0.4501417875289917,
0.07651904970407486,
0.3540439009666443,
0.10363966226577759,
0.30352768301963806,
0.056365132331848145,
-0.11986442655324936,
-0.2686115503311157,
0.10611731559038162,
0.6724568009376526,
-0.46831828355789185,
-0.15068747103214264,
0.22745001316070557,
0.3766731917858124,
-0.4288351237773895,
0.6923800110816956,
0.17783762514591217,
-0.45514389872550964,
0.9954642057418823,
0.4875746965408325,
0.6981562972068787,
-0.09684663265943527,
0.12010865658521652,
0.5332688689231873,
0.5501404404640198,
-0.4573538303375244,
-0.18906384706497192,
-0.13301649689674377,
-0.7588935494422913,
-1.0675294399261475,
-0.6631462574005127,
0.02970161661505699,
0.6863764524459839,
-0.43457645177841187,
0.1697729527950287,
-0.501879096031189,
-0.2750977873802185,
0.010761463083326817,
0.15437597036361694,
-0.27213922142982483,
0.3842017650604248,
0.17836043238639832,
1.011132001876831,
-0.8537049293518066,
1.0886883735656738,
0.27103298902511597,
-0.10368180274963379,
-0.8421788215637207,
-0.10226979106664658,
-0.3268275558948517,
-0.6577127575874329,
0.5234294533729553,
0.4841712713241577,
0.19775041937828064,
-0.02343319170176983,
-0.6751227974891663,
-0.8084669709205627,
1.013643503189087,
0.4023017883300781,
-1.1927742958068848,
-0.2957001328468323,
-0.3039664626121521,
0.34255319833755493,
-0.24004851281642914,
0.07062551379203796,
0.46538281440734863,
0.5422177314758301,
0.16261111199855804,
-0.7109016180038452,
0.14553697407245636,
-0.1765766441822052,
-0.02181537076830864,
0.5167280435562134,
-0.5604367256164551,
0.9206132888793945,
-0.13950194418430328,
-0.2556363642215729,
0.17356795072555542,
0.6662543416023254,
0.3075069487094879,
0.2277681529521942,
0.739070475101471,
0.46324971318244934,
0.8147205710411072,
0.0731234923005104,
0.6880168914794922,
-0.056248217821121216,
0.47388386726379395,
1.2579113245010376,
-0.17572318017482758,
0.6597709059715271,
0.635046124458313,
-0.1425408124923706,
-0.09106303006410599,
0.654692530632019,
-0.3001347780227661,
0.3049279451370239,
0.4517442584037781,
-0.122808538377285,
-0.5182612538337708,
0.07683218270540237,
-0.4116103947162628,
0.14606952667236328,
0.47724056243896484,
-0.6759452819824219,
-0.15601098537445068,
0.015180853195488453,
0.06706859171390533,
0.01513173058629036,
-0.34112709760665894,
0.7979669570922852,
0.4105992317199707,
-0.8574948906898499,
0.5783453583717346,
0.3157290816307068,
0.8325561881065369,
-0.5560202598571777,
0.005949222017079592,
-0.14004841446876526,
0.35523754358291626,
-0.186171293258667,
-0.385498046875,
0.32789644598960876,
-0.1658446490764618,
-0.16203689575195312,
-0.29437190294265747,
1.0263948440551758,
-0.37502142786979675,
-0.5815526843070984,
0.37049782276153564,
0.3680972754955292,
0.18373845517635345,
-0.35050687193870544,
-0.6026689410209656,
0.12191542983055115,
0.41238075494766235,
-0.44990622997283936,
0.42496997117996216,
0.5030515193939209,
-0.03881619870662689,
0.9130808115005493,
0.6085144281387329,
0.35144883394241333,
-0.22402732074260712,
0.03233552724123001,
0.8649855852127075,
-0.8431860208511353,
-0.23376527428627014,
-1.2277580499649048,
0.2706323266029358,
-0.2780032753944397,
-0.15660150349140167,
0.7690964937210083,
0.322064071893692,
0.4425691068172455,
0.16110700368881226,
0.5703726410865784,
0.26522916555404663,
0.6138334274291992,
-0.49827274680137634,
0.6271204352378845,
-0.5513055920600891,
0.5844244956970215,
-0.006894763559103012,
-1.1262753009796143,
-0.27933183312416077,
0.7145149111747742,
-0.3811313211917877,
0.13922221958637238,
0.48328110575675964,
0.8656929135322571,
-0.06491287797689438,
-0.04384678602218628,
0.40603822469711304,
0.3511573374271393,
0.2579022943973541,
0.33674097061157227,
0.7480015754699707,
0.01640632562339306,
0.6202720403671265,
-0.20466215908527374,
-0.03647072613239288,
-0.2816070318222046,
-0.9089615941047668,
-0.8246845006942749,
-0.3426189720630646,
-0.23992617428302765,
-0.08045568317174911,
-0.11829571425914764,
0.4549737572669983,
0.9451375007629395,
-0.49702030420303345,
-0.15246333181858063,
-0.41913771629333496,
0.31969887018203735,
-0.08294031023979187,
-0.16430971026420593,
0.2921826243400574,
-0.21137025952339172,
-0.5607569813728333,
0.5034687519073486,
0.04247960075736046,
-0.07726553827524185,
-0.4987824857234955,
-0.10325393080711365,
-0.33190426230430603,
-0.01632014475762844,
0.601958155632019,
0.15858623385429382,
-0.5874418616294861,
0.0925363302230835,
-0.25129127502441406,
0.04401169344782829,
-0.15359961986541748,
0.751354455947876,
-0.7643437385559082,
0.013001495972275734,
0.29743069410324097,
0.5783422589302063,
0.823928713798523,
-0.03894714266061783,
0.849027156829834,
-0.7716507911682129,
0.23189523816108704,
0.396613210439682,
0.37730714678764343,
0.5154768824577332,
-0.24447596073150635,
0.5197737812995911,
-0.017080014571547508,
-0.6338531374931335,
-1.0809156894683838,
0.3903636634349823,
-0.6766520142555237,
-0.7898738980293274,
1.2891496419906616,
-0.04774061590433121,
-0.3996184170246124,
0.2801778018474579,
-0.2285452038049698,
0.27175045013427734,
-0.11354850232601166,
0.5940074920654297,
0.7822839617729187,
0.3865783214569092,
-0.25732389092445374,
-0.4505051374435425,
0.2436009645462036,
0.7012380361557007,
-0.5278230905532837,
0.21989566087722778,
0.49550339579582214,
0.1541309654712677,
0.24417780339717865,
0.4107029438018799,
-0.01717086136341095,
-0.12045560032129288,
-0.22058899700641632,
0.11556122452020645,
-0.1900070309638977,
-0.4626232981681824,
-0.409477561712265,
0.5721222758293152,
0.2705455720424652,
-0.07720402628183365
] |
http://arxiv.org/abs/2405.15766v2
|
http://arxiv.org/pdf/2405.15766v2
|
Enhancing Adverse Drug Event Detection with Multimodal Dataset: Corpus Creation and Model Development
| 2024-05-24T17:58:42 | 2024-05-27T02:55:45 |
Pranab Sahoo, Ayush Kumar Singh, Sriparna Saha, Aman Chadha, Samrat Mondal
|
cs.AI
|
cs.AI, cs.CL, cs.CV
|
The mining of adverse drug events (ADEs) is pivotal in pharmacovigilance,
enhancing patient safety by identifying potential risks associated with
medications, facilitating early detection of adverse events, and guiding
regulatory decision-making. Traditional ADE detection methods are reliable but
slow, not easily adaptable to large-scale operations, and offer limited
information. With the exponential increase in data sources like social media
content, biomedical literature, and Electronic Medical Records (EMR),
extracting relevant ADE-related information from these unstructured texts is
imperative. Previous ADE mining studies have focused on text-based
methodologies, overlooking visual cues, limiting contextual comprehension, and
hindering accurate interpretation. To address this gap, we present a MultiModal
Adverse Drug Event (MMADE) detection dataset, merging ADE-related textual
information with visual aids. Additionally, we introduce a framework that
leverages the capabilities of LLMs and VLMs for ADE detection by generating
detailed descriptions of medical images depicting ADEs, aiding healthcare
professionals in visually identifying adverse events. Using our MMADE dataset,
we showcase the significance of integrating visual cues from images to enhance
overall performance. This approach holds promise for patient safety, ADE
awareness, and healthcare accessibility, paving the way for further exploration
in personalized healthcare.
|
[
-0.060058269649744034,
-0.6321338415145874,
0.9301229119300842,
-0.1194213256239891,
-0.3119340240955353,
-0.23729845881462097,
0.0686919316649437,
-0.4578714370727539,
0.5600484609603882,
0.648698627948761,
-0.560667872428894,
-0.9573558568954468,
-0.7305477261543274,
-0.06100834533572197,
-0.2684778571128845,
1.1495683193206787,
-0.11004497855901718,
0.10218678414821625,
-0.16362392902374268,
-0.4098219573497772,
-0.6854162216186523,
-0.462882399559021,
-0.7544740438461304,
0.17094659805297852,
0.9374986886978149,
0.3309248983860016,
0.32520514726638794,
0.4623953700065613,
0.8458243608474731,
0.29885515570640564,
0.4440465569496155,
0.3248060643672943,
-0.11268533766269684,
0.39330485463142395,
0.01486600935459137,
-0.3567187488079071,
-0.7142189145088196,
-0.28292351961135864,
0.26142916083335876,
0.21698741614818573,
-0.19313156604766846,
-0.013811242766678333,
-0.37588244676589966,
0.4874296486377716,
-0.7718303203582764,
0.1663343906402588,
-0.4280414581298828,
0.145244762301445,
-0.5254392027854919,
-0.47638094425201416,
-0.13512086868286133,
-0.04763015732169151,
-0.008487098850309849,
-0.8344743251800537,
-0.021848535165190697,
-0.1805846393108368,
0.6383429765701294,
0.2916271984577179,
-0.7420105934143066,
-0.5798876881599426,
-0.253683865070343,
0.43641963601112366,
-0.4928956925868988,
0.31335684657096863,
0.1663847714662552,
0.3655740022659302,
-0.17606253921985626,
-0.964692234992981,
-0.4415231943130493,
0.16619707643985748,
-0.19475974142551422,
-0.04577183350920677,
0.004937103949487209,
0.046009283512830734,
0.06756015866994858,
0.16539159417152405,
-0.5885527729988098,
0.20219682157039642,
-0.3699100911617279,
-0.3898509740829468,
0.2657147943973541,
0.5355562567710876,
0.6306580901145935,
-0.4199865758419037,
-0.6415615677833557,
0.043585602194070816,
-0.5170224905014038,
-0.03381611406803131,
-0.1557232141494751,
0.06900140643119812,
-0.17855092883110046,
0.5449144840240479,
0.11288857460021973,
0.46391773223876953,
-0.2296946942806244,
-0.16849498450756073,
0.4747351408004761,
-0.6694322228431702,
-0.17498749494552612,
0.02396584488451481,
0.8558251857757568,
0.7516159415245056,
-0.057677388191223145,
0.19024623930454254,
-0.10180944204330444,
0.3567369878292084,
0.21892668306827545,
-1.0942679643630981,
-0.4452262222766876,
0.5859050750732422,
-0.6664367318153381,
-0.5919005870819092,
-0.14886659383773804,
-1.2947393655776978,
-0.9725152850151062,
-0.2677723467350006,
0.44335922598838806,
-0.6245394349098206,
-0.15278306603431702,
0.056999851018190384,
-0.37321001291275024,
-0.08942960202693939,
0.2625297009944916,
-0.665354311466217,
0.1026666909456253,
0.39094802737236023,
0.7452434301376343,
-0.310763418674469,
-0.10651242733001709,
-0.7116737961769104,
0.2924116849899292,
-0.16711418330669403,
1.148682713508606,
-0.30340221524238586,
-0.41873279213905334,
0.12652912735939026,
0.18219083547592163,
-0.2541021406650543,
-0.49500495195388794,
1.072078824043274,
-0.4375148415565491,
-0.07189861685037613,
-0.10253029316663742,
-0.4085289239883423,
-0.3064626157283783,
0.1300877332687378,
-0.6873875260353088,
0.42004573345184326,
-0.27627822756767273,
-0.8247863054275513,
0.869050145149231,
-1.0310769081115723,
-0.3938225209712982,
0.06279703229665756,
-0.40044304728507996,
-0.7944680452346802,
0.2038586586713791,
0.611811101436615,
0.5571594834327698,
0.05421207472681999,
0.29455599188804626,
-0.4599529802799225,
-0.24239878356456757,
0.4231955409049988,
-0.31005120277404785,
0.6366367340087891,
0.2837100327014923,
0.1919969618320465,
0.470457524061203,
-0.8172832727432251,
-0.2529786229133606,
0.21914216876029968,
-0.2873292863368988,
-0.570688009262085,
-0.04694552719593048,
0.6535583138465881,
0.37231966853141785,
0.021501028910279274,
-0.4698531925678253,
0.11603586375713348,
-0.0002560481079854071,
0.09949635714292526,
0.8301955461502075,
0.49972274899482727,
0.17132744193077087,
-0.17254218459129333,
0.32898247241973877,
0.4943324327468872,
0.5339788198471069,
-0.5493292212486267,
-0.38266128301620483,
-0.3302709460258484,
-0.7395610809326172,
0.3965183198451996,
0.6794779300689697,
-0.651897132396698,
0.25976675748825073,
-0.20631395280361176,
0.13749155402183533,
-0.5641825795173645,
0.24424980580806732,
-0.06613937020301819,
0.4028894901275635,
0.36390531063079834,
-0.3519660532474518,
-0.8240631818771362,
-0.7656026482582092,
-0.019947730004787445,
0.16269415616989136,
-0.14767031371593475,
0.2876052260398865,
0.4591163396835327,
-0.7898818254470825,
0.4981672167778015,
-0.8464365005493164,
-0.7988028526306152,
0.09720455855131149,
-0.05115405097603798,
0.030588889494538307,
0.27958977222442627,
0.7336458563804626,
-0.799202561378479,
-0.1870850771665573,
-0.012222975492477417,
-1.18170964717865,
-0.2807174324989319,
-0.11920947581529617,
-0.20349983870983124,
-0.13477914035320282,
0.776179850101471,
-0.2901100516319275,
0.45006299018859863,
0.3543965518474579,
-0.45623520016670227,
0.06873730570077896,
-0.24195845425128937,
0.5322200059890747,
-1.2551853656768799,
-0.007267797365784645,
0.35442274808883667,
-0.013354058377444744,
-0.7239003777503967,
-0.3504595458507538,
0.28829726576805115,
-0.3003532588481903,
-0.30132436752319336,
0.4294309616088867,
-0.24110837280750275,
0.2208704650402069,
-0.2107802927494049,
-0.05332625284790993,
0.12199471890926361,
0.33001694083213806,
0.0228210911154747,
0.2730630040168762,
0.6515915393829346,
-0.3954189121723175,
0.2681884765625,
0.24643191695213318,
-0.3493628203868866,
0.9178301095962524,
-0.24076706171035767,
-0.4267057180404663,
-0.3983759880065918,
0.025276659056544304,
-0.910478413105011,
-0.5902299284934998,
0.31728675961494446,
-0.2671075165271759,
0.5430377125740051,
-0.3688867390155792,
-0.3128642737865448,
-0.22528722882270813,
-0.5628407597541809,
0.29887017607688904,
0.135020911693573,
-0.3155149221420288,
0.5513063669204712,
0.7877110242843628,
-0.3950238823890686,
-0.5448190569877625,
-0.5039314031600952,
0.3506743609905243,
-0.4416946470737457,
-0.5946838855743408,
0.21489585936069489,
0.09930364042520523,
-0.14371266961097717,
0.07733987271785736,
0.2221056967973709,
-0.3223209083080292,
-0.16746073961257935,
0.45039787888526917,
0.6160823106765747,
-0.16565567255020142,
0.42382654547691345,
0.026630748063325882,
-0.22390694916248322,
0.11071565747261047,
0.125219464302063,
0.06137992814183235,
0.20196911692619324,
-0.3788865804672241,
-0.6751651167869568,
0.640502393245697,
0.9307913780212402,
-0.23418831825256348,
0.6116655468940735,
0.7992124557495117,
-0.677548885345459,
0.26935863494873047,
-0.33840155601501465,
-0.2909385859966278,
-0.3985234200954437,
0.4046553373336792,
-0.1491093933582306,
-0.10870297253131866,
0.5137445330619812,
-0.321167528629303,
-0.18798229098320007,
0.24274608492851257,
0.4981423616409302,
-0.1976640671491623,
0.9659307599067688,
0.2280658632516861,
0.24004438519477844,
0.7308350801467896,
-0.15581178665161133,
-0.004948523826897144,
-0.9676395654678345,
-0.41960713267326355,
0.06678120791912079,
-0.14011375606060028,
-0.4891796410083771,
-0.49900129437446594,
0.8619584441184998,
-0.23956690728664398,
-0.0667448416352272,
-0.06288132816553116,
-0.22273850440979004,
0.2890135943889618,
0.20522895455360413,
0.3996695876121521,
0.3430692255496979,
0.02357771061360836,
-0.031095189973711967,
-0.2312990128993988,
-0.6018837690353394,
-0.3508080840110779,
1.4949735403060913,
0.30686646699905396,
0.6562258005142212,
0.19566227495670319,
0.5886403322219849,
0.3448772132396698,
0.35419684648513794,
-0.6008605360984802,
0.2219448834657669,
-0.23964828252792358,
-0.5049179792404175,
0.18790167570114136,
-0.08834771811962128,
-0.9110646843910217,
0.22812646627426147,
-0.8818110227584839,
-0.42809662222862244,
0.5777273178100586,
-0.12325363606214523,
-0.5428123474121094,
0.09605490416288376,
-1.0931432247161865,
1.0846580266952515,
-0.29417383670806885,
-0.2614237368106842,
-0.03153262287378311,
-0.7137685418128967,
0.45636406540870667,
-0.22209595143795013,
0.6357181072235107,
-0.04592547193169594,
-0.24945586919784546,
0.56175297498703,
-0.48638975620269775,
0.8920073509216309,
-0.08080615103244781,
0.06944293528795242,
0.14296238124370575,
-0.10885407775640488,
0.2926373779773712,
0.3464724123477936,
0.2932493984699249,
0.1789076328277588,
-0.1891985535621643,
-0.4386267364025116,
-0.4561324417591095,
1.1703416109085083,
-0.33120694756507874,
-0.02782498486340046,
-0.47119736671447754,
-0.5297232866287231,
0.06608977913856506,
0.03936697542667389,
-0.011914471164345741,
0.6674631237983704,
-0.19385631382465363,
-0.2882971465587616,
0.4680124819278717,
-0.3699485957622528,
0.3342095911502838,
0.5789086222648621,
-0.014862652868032455,
-0.6453683376312256,
0.8104130029678345,
0.17752614617347717,
-0.1371636837720871,
0.2527821660041809,
-0.05427296832203865,
-0.463716596364975,
-0.635926365852356,
-0.6180989742279053,
0.019878458231687546,
-0.8874644041061401,
-0.3038707375526428,
-0.7044985890388489,
0.21177168190479279,
-0.4108165502548218,
-0.018012914806604385,
-0.07451377063989639,
-0.15165859460830688,
-0.2495916187763214,
-0.12261108309030533,
0.7178444266319275,
0.7897077798843384,
-0.26317283511161804,
0.15279962122440338,
-0.9998819231987,
0.48436447978019714,
0.23017509281635284,
0.5317370891571045,
-0.30612003803253174,
0.1201176568865776,
-0.18700656294822693,
-0.21391330659389496,
-0.2960895895957947,
-0.9529018402099609,
0.2733621299266815,
0.10781441628932953,
0.5560703277587891,
0.685258150100708,
-0.04965341091156006,
0.5167827606201172,
-0.5526236891746521,
0.31665122509002686,
0.3608360290527344,
-0.3529537320137024,
0.8714731335639954,
-0.49776774644851685,
-0.1875741183757782,
0.5751498341560364,
0.31882742047309875,
-0.4794124662876129,
0.11340399086475372,
-0.37892135977745056,
-0.9966184496879578,
0.47290468215942383,
0.21118010580539703,
-0.4116387665271759,
-0.16781744360923767,
0.13502071797847748,
0.0838535726070404,
0.08174369484186172,
-0.5092350840568542,
-0.43027588725090027,
0.018910963088274002,
-0.44804003834724426,
-0.006470829248428345,
-0.1538453847169876,
-0.2929205894470215,
0.12141234427690506,
0.4318527579307556,
-0.0701691284775734,
0.15516138076782227,
0.30936574935913086,
-0.30098193883895874,
0.11169871687889099,
0.3725070357322693,
0.5200544595718384,
0.26332274079322815,
-0.5314202904701233,
0.24722255766391754,
-0.057578958570957184,
-0.8064921498298645,
-0.007796165999025106,
0.427496075630188,
0.24891532957553864,
-0.11997927725315094,
0.346094012260437,
0.6333537101745605,
-0.01718844287097454,
-1.0531872510910034,
0.6359552145004272,
-0.18625633418560028,
0.29234427213668823,
-0.33705002069473267,
-0.2854636311531067,
-0.2732938826084137,
0.32107940316200256,
0.35476794838905334,
0.42671120166778564,
0.6325144171714783,
-0.567334771156311,
0.656489372253418,
0.23676906526088715,
-0.5903323292732239,
-0.1254725605249405,
0.6987532377243042,
0.38090723752975464,
0.028740104287862778,
0.16923993825912476,
0.3305627107620239,
-0.04587852582335472,
0.5815430879592896,
0.11005687713623047,
0.5221643447875977,
-0.1968834102153778,
0.01638832315802574,
0.15710461139678955,
0.1389688104391098,
0.4407905042171478,
0.24812501668930054,
0.45547011494636536,
-0.4942953586578369,
-0.4601908326148987,
-0.2687215209007263,
0.08823013305664062,
0.18432317674160004,
-0.33024683594703674,
0.6384929418563843,
-0.1502951979637146,
-0.4416474997997284,
0.3554597795009613,
-0.276947021484375,
-0.2722892761230469,
0.21479979157447815,
0.18942448496818542,
0.32170090079307556,
-1.0825600624084473,
0.4376066327095032,
0.7922480702400208,
-0.4702073633670807,
-0.03143849968910217,
-0.2750985026359558,
0.4066696763038635,
-0.6338657736778259,
0.40946272015571594,
0.1709757298231125,
0.37818512320518494,
-0.49390432238578796,
0.02251710556447506,
-0.2354804277420044,
1.1413369178771973,
-0.08781880885362625,
-0.32462501525878906,
0.20851196348667145,
-0.05512789264321327,
0.5583859086036682,
-0.4469108283519745,
0.292093425989151,
0.4373960793018341,
0.26045897603034973,
0.1273827850818634,
-0.5088368058204651,
0.1214941069483757,
-0.3737376034259796,
-0.21533292531967163,
0.5336676836013794,
-0.03854939714074135,
0.8839279413223267,
-0.590481698513031,
0.018326411023736,
-0.34736260771751404,
0.11185809969902039,
0.10207623243331909,
0.7202361226081848,
0.4331066310405731,
0.6344290971755981,
0.6476172804832458,
0.010814761742949486,
1.177332878112793,
-0.051652468740940094,
0.07325331121683121,
0.7937172651290894,
-0.3695240914821625,
0.6756229996681213,
0.47857117652893066,
0.1260228008031845,
0.5804299116134644,
0.6157503128051758,
0.20449486374855042,
0.7145968675613403,
-0.19533105194568634,
-0.7019808888435364,
-0.4249550700187683,
-0.28454965353012085,
-0.35537412762641907,
0.2843627333641052,
0.9261645674705505,
-0.6810414791107178,
-0.4166218042373657,
0.5064099431037903,
-0.25181472301483154,
-0.0007990128360688686,
-0.4131092131137848,
0.8713837265968323,
-0.11337989568710327,
-0.05868109315633774,
0.31511983275413513,
-0.1768193393945694,
0.5414706468582153,
-0.4796779155731201,
-0.2858978509902954,
0.10072221606969833,
0.5375438332557678,
-0.32805559039115906,
-0.7484045028686523,
0.24660785496234894,
-0.04121972993016243,
-0.2513158619403839,
0.35262244939804077,
0.9090554714202881,
-0.3516564965248108,
-0.5247217416763306,
0.30261388421058655,
0.4803169071674347,
-0.02208535000681877,
0.031617335975170135,
-0.6933018565177917,
0.309020072221756,
-0.2577345371246338,
0.10046201944351196,
0.5367063879966736,
0.6425012946128845,
-0.2671995162963867,
0.3594038188457489,
0.8448162078857422,
0.01600509323179722,
-0.09989172965288162,
0.1389753371477127,
0.7520164847373962,
-0.491813987493515,
-0.26385754346847534,
-0.822990357875824,
0.7578846216201782,
-0.44448235630989075,
-0.09334181249141693,
0.39090850949287415,
0.6906343102455139,
0.14623481035232544,
-0.32878634333610535,
0.7749009728431702,
0.0693751871585846,
0.442210853099823,
-0.570595920085907,
0.7543270587921143,
-0.6090929508209229,
0.38869157433509827,
-0.0625453069806099,
-0.25886890292167664,
-0.49452564120292664,
0.4209732413291931,
-0.021773215383291245,
-0.2828501760959625,
0.7104900479316711,
0.78486168384552,
-0.09479968994855881,
-0.17782819271087646,
0.03942634537816048,
0.12598727643489838,
0.3437004089355469,
0.7459169626235962,
0.5460218787193298,
-1.0152066946029663,
0.6762827634811401,
0.11323022097349167,
-0.37092122435569763,
-0.3998674154281616,
-0.7487712502479553,
-0.8937060832977295,
-0.6090665459632874,
-0.41345855593681335,
-0.4130503237247467,
0.11673890799283981,
0.9682985544204712,
0.5703296065330505,
-0.9692612886428833,
0.29611194133758545,
0.15393468737602234,
0.21151715517044067,
-0.07190290093421936,
-0.2542577087879181,
0.5830464363098145,
-0.20803408324718475,
-0.7367676496505737,
0.3510197103023529,
0.5668372511863708,
0.343519002199173,
0.30932530760765076,
0.24289996922016144,
-0.5388745069503784,
-0.09684280306100845,
0.7847354412078857,
0.1051226332783699,
-0.2545212209224701,
0.1516852080821991,
-0.013964952901005745,
-0.20446506142616272,
0.05173114314675331,
0.9869510531425476,
-0.7268521189689636,
0.6446236968040466,
0.4478588402271271,
0.30803564190864563,
0.32445675134658813,
-0.21405568718910217,
0.5293101668357849,
-0.5783416032791138,
0.23686037957668304,
0.02316819317638874,
0.620799720287323,
0.17600993812084198,
-0.4409971237182617,
0.361665278673172,
0.3235126733779907,
-0.3896213173866272,
-0.7405131459236145,
0.16698536276817322,
-1.2031491994857788,
-0.4653570055961609,
0.9976385235786438,
0.11520693451166153,
-0.22156484425067902,
-0.5398872494697571,
-0.594136118888855,
0.04282844439148903,
-0.5151097774505615,
0.6353787779808044,
0.27884891629219055,
-0.42064225673675537,
0.09168517589569092,
-0.8996348977088928,
0.6308019161224365,
-0.1225745901465416,
-0.9664891362190247,
0.03073030151426792,
0.7631652355194092,
0.3509853184223175,
0.17162954807281494,
0.8386014103889465,
-0.3194420635700226,
0.2974807918071747,
0.035992980003356934,
0.14063790440559387,
-0.1875211000442505,
-0.1778746247291565,
-0.25403353571891785,
0.22597406804561615,
-0.3284476697444916,
-0.6484834551811218
] |
http://arxiv.org/abs/2405.15765v1
|
http://arxiv.org/pdf/2405.15765v1
|
Scaling Laws for Discriminative Classification in Large Language Models
| 2024-05-24T17:58:38 | 2024-05-24T17:58:38 |
Dean Wyatte, Fatemeh Tahmasbi, Ming Li, Thomas Markovich
|
cs.CL
|
cs.CL, cs.LG
|
Modern large language models (LLMs) represent a paradigm shift in what can
plausibly be expected of machine learning models. The fact that LLMs can
effectively generate sensible answers to a diverse range of queries suggests
that they would be useful in customer support applications. While powerful,
LLMs have been observed to be prone to hallucination which unfortunately makes
their near term use in customer support applications challenging. To address
this issue we present a system that allows us to use an LLM to augment our
customer support advocates by re-framing the language modeling task as a
discriminative classification task. In this framing, we seek to present the
top-K best template responses for a customer support advocate to use when
responding to a customer. We present the result of both offline and online
experiments where we observed offline gains and statistically significant
online lifts for our experimental system. Along the way, we present observed
scaling curves for validation loss and top-K accuracy, resulted from model
parameter ablation studies. We close by discussing the space of trade-offs with
respect to model size, latency, and accuracy as well as and suggesting future
applications to explore.
|
[
-0.456393301486969,
-0.5039430856704712,
0.21378609538078308,
0.21659380197525024,
-0.04829532280564308,
-0.11974917352199554,
-0.4784141778945923,
-0.552777886390686,
-0.0010216187220066786,
0.7833609580993652,
-0.29148486256599426,
-0.326093852519989,
-0.6773654222488403,
0.09121661633253098,
-0.48136013746261597,
1.0440720319747925,
0.04915113374590874,
0.24706703424453735,
-0.3866885006427765,
-0.22162869572639465,
-0.40671059489250183,
-0.8124068975448608,
-0.688338577747345,
-0.37241026759147644,
0.5522769689559937,
0.4033292829990387,
0.5928048491477966,
0.5579825639724731,
0.4617570638656616,
0.34392496943473816,
-0.24558310210704803,
-0.07675433903932571,
-0.35361769795417786,
0.4582821726799011,
-0.05440181866288185,
-0.8414202928543091,
-0.5873827338218689,
-0.003891320200636983,
0.4748094379901886,
1.029659390449524,
-0.583247184753418,
0.19242310523986816,
0.039848580956459045,
0.4625526964664459,
-0.5728058815002441,
0.22427037358283997,
-0.8076667785644531,
0.009680923074483871,
0.030248567461967468,
0.19063663482666016,
-0.838366687297821,
-0.38190069794654846,
0.08101814240217209,
-0.48815521597862244,
0.28275424242019653,
0.02039956860244274,
0.6157329082489014,
0.34435033798217773,
-0.41379642486572266,
-0.48563507199287415,
-0.8651789426803589,
0.8573847413063049,
-0.5725151300430298,
0.7071508765220642,
0.4549059271812439,
0.5806297063827515,
0.09990713000297546,
-0.5764932036399841,
-0.3025091290473938,
-0.4252695143222809,
0.003115597879514098,
-0.21525628864765167,
-0.48017656803131104,
0.11809321492910385,
0.45852744579315186,
0.3417607247829437,
-0.3460204601287842,
0.8217852711677551,
-0.24759985506534576,
-0.2175624668598175,
0.5503543615341187,
0.3070007860660553,
-0.1348215639591217,
0.30352672934532166,
0.00888308696448803,
-0.1113942414522171,
-0.4761795699596405,
-0.11754674464464188,
-0.014839540235698223,
0.5978310704231262,
-0.048867836594581604,
0.4637337923049927,
-0.08167873322963715,
0.6701096892356873,
0.43375104665756226,
-0.10065645724534988,
0.20655620098114014,
0.30644863843917847,
-0.3404594659805298,
0.10830492526292801,
0.45537322759628296,
0.43123844265937805,
0.2888593375682831,
-0.09176324307918549,
-0.2512752115726471,
0.014580684714019299,
0.4378192126750946,
-0.9145125150680542,
0.12798231840133667,
0.0073330900631845,
-0.5467677116394043,
-0.3035925030708313,
-0.33333075046539307,
-0.7655696272850037,
-0.781784176826477,
-0.44582003355026245,
-0.03732375055551529,
0.05641617998480797,
-0.483216792345047,
0.11729732155799866,
0.19867755472660065,
0.28005117177963257,
0.4083195626735687,
-0.9056288003921509,
0.5563470125198364,
0.681624710559845,
0.7512301206588745,
-0.08920605480670929,
0.13165321946144104,
-0.5448954105377197,
-0.1338772028684616,
-0.4157734811306,
0.5713820457458496,
-0.49283549189567566,
-0.17024865746498108,
0.47816458344459534,
-0.03426876664161682,
0.07867462188005447,
-1.0574387311935425,
0.6512660384178162,
-0.715947687625885,
0.11713281273841858,
-0.13203714787960052,
-0.8348351120948792,
0.031847406178712845,
0.3587907552719116,
-0.6865789890289307,
0.7546683549880981,
0.21341149508953094,
-0.6585276126861572,
0.5569931268692017,
-0.3805229067802429,
-0.28515613079071045,
0.3994210660457611,
-0.026040781289339066,
-0.7667500376701355,
0.3489201068878174,
-0.13057035207748413,
0.7218964695930481,
-0.33189892768859863,
0.03405006602406502,
-0.6478736996650696,
-0.08498282730579376,
0.24934472143650055,
-0.19924071431159973,
0.5712400674819946,
0.3882000744342804,
-0.2920200824737549,
0.11527258902788162,
-0.8969624042510986,
-0.12027900665998459,
0.25689026713371277,
-0.5249776244163513,
-0.4049428701400757,
-0.0759262815117836,
0.11701599508523941,
0.1374357044696808,
0.09496093541383743,
-0.5464639663696289,
0.24838553369045258,
-0.3225041627883911,
0.3553553819656372,
0.7865340113639832,
-0.31143471598625183,
0.4509909451007843,
-0.16198913753032684,
0.6691204905509949,
-0.12595044076442719,
-0.02878488600254059,
0.1646910011768341,
-0.4149751365184784,
-0.8388501405715942,
-0.3417724072933197,
0.0901438519358635,
0.4096341133117676,
-0.5222138166427612,
0.3608575463294983,
-0.3958311378955841,
-0.5647568702697754,
-0.3757990002632141,
0.1747153103351593,
0.20055431127548218,
0.2424788475036621,
0.11870817095041275,
0.011101486161351204,
-0.6461883783340454,
-1.0132619142532349,
0.00810230989009142,
-0.3735491931438446,
-0.2987377643585205,
0.3268187642097473,
0.12716832756996155,
-0.1301940381526947,
0.8977501392364502,
-0.5855772495269775,
-0.4412047266960144,
-0.5270023941993713,
-0.05303272604942322,
0.06899460405111313,
0.08757580816745758,
0.43557244539260864,
-0.8526005148887634,
-0.4975529611110687,
0.16442053020000458,
-0.5622076392173767,
-0.4290483593940735,
0.05431395396590233,
0.3682275712490082,
0.5799165368080139,
0.6366714835166931,
-0.6416873931884766,
0.2340521663427353,
0.45443588495254517,
-0.256706565618515,
0.6270270347595215,
-0.36718201637268066,
-0.035461388528347015,
-1.061068058013916,
-0.08046441525220871,
0.32722020149230957,
-0.3110431134700775,
-1.0447611808776855,
0.0049379561096429825,
0.03561801090836525,
0.03071916662156582,
-0.3359924256801605,
0.36079585552215576,
-0.03744911029934883,
-0.3274442255496979,
-0.5398217439651489,
-0.10119114071130753,
-0.267582505941391,
0.20969389379024506,
0.13536830246448517,
0.6103980541229248,
0.24633120000362396,
-0.7264189124107361,
0.47478845715522766,
0.10997926443815231,
-0.18854962289333344,
0.9029025435447693,
-0.45498520135879517,
-0.05107207968831062,
-0.10872913897037506,
0.34860023856163025,
-0.9959249496459961,
-0.0968904048204422,
-0.005981669761240482,
-0.3477475941181183,
0.26800352334976196,
-0.20673547685146332,
-0.7887301445007324,
-0.4085313677787781,
0.08374089002609253,
0.27041390538215637,
0.596727728843689,
-0.6780521273612976,
0.6413640379905701,
0.4959390461444855,
-0.08944607526063919,
-0.06599225848913193,
-0.620879590511322,
0.10602530092000961,
-0.6726728677749634,
-0.422003835439682,
0.22668780386447906,
-0.08570767939090729,
-0.5440003275871277,
-0.4807625710964203,
0.21757683157920837,
-0.23930761218070984,
0.25059229135513306,
0.22706234455108643,
0.035620663315057755,
-0.24393735826015472,
0.41610437631607056,
-0.2715512812137604,
0.03742480278015137,
0.2449597716331482,
-0.3298119902610779,
0.7177218198776245,
-0.17799454927444458,
-0.10981776565313339,
-0.3179773986339569,
0.24834030866622925,
0.8120952248573303,
-0.07743138074874878,
0.8374422192573547,
0.4756717085838318,
-0.5445104837417603,
-0.307328999042511,
-0.7345502376556396,
-0.11832829564809799,
-0.5002239942550659,
0.5328613519668579,
-0.48829585313796997,
-1.0019766092300415,
0.6624882817268372,
0.02891511097550392,
0.12418396025896072,
0.341988205909729,
0.9626480937004089,
0.1652706116437912,
1.2981243133544922,
0.7398306727409363,
-0.16261810064315796,
0.5259115695953369,
0.050505414605140686,
0.11828658729791641,
-0.5309645533561707,
-0.31959497928619385,
-0.7996476292610168,
-0.0418541319668293,
-0.6625671982765198,
-0.15178877115249634,
0.10498209297657013,
0.1424470990896225,
-0.3010449707508087,
0.40012127161026,
-0.4586426019668579,
0.14754076302051544,
0.09459112584590912,
-0.15233974158763885,
0.1964000016450882,
0.2229633629322052,
-0.023903202265501022,
-0.21633687615394592,
-0.5210521817207336,
-0.39200466871261597,
0.8388044238090515,
0.8064948916435242,
0.9440120458602905,
0.25745889544487,
0.23858536779880524,
0.4134604036808014,
0.7030515074729919,
-0.9178406596183777,
0.7669090032577515,
-0.41347160935401917,
-0.5325854420661926,
-0.21503064036369324,
-0.5726593136787415,
-0.9842220544815063,
0.33403465151786804,
-0.08337444067001343,
-0.7566393613815308,
-0.04347807541489601,
0.14376403391361237,
-0.10205184668302536,
0.5148056149482727,
-0.5607611536979675,
0.5823339223861694,
-0.06670278310775757,
-0.17630460858345032,
-0.15029996633529663,
-0.2428998351097107,
0.08433769643306732,
-0.13029637932777405,
0.22854381799697876,
0.16117048263549805,
-0.04221398010849953,
0.7950827479362488,
-0.31366515159606934,
1.1212589740753174,
-0.3709528148174286,
-0.5832638144493103,
-0.03158945217728615,
0.1574743241071701,
0.46632346510887146,
-0.5306439399719238,
-0.028587395325303078,
0.0727902427315712,
-0.1914900690317154,
-0.27217167615890503,
-0.7735481262207031,
0.5792561173439026,
-0.6043543219566345,
-0.611015796661377,
-0.08448794484138489,
-0.4945475161075592,
-0.2705659866333008,
0.06554311513900757,
0.041087109595537186,
0.18341423571109772,
0.1873154193162918,
0.4030161201953888,
0.7533435225486755,
-0.09790204465389252,
0.17941546440124512,
0.7063287496566772,
-0.4908132255077362,
-0.3166666328907013,
0.7608770132064819,
0.3096989691257477,
0.4667476713657379,
0.24311664700508118,
0.4087786078453064,
-0.4805070459842682,
-0.8111149668693542,
-0.39608034491539,
0.23003092408180237,
-1.019813060760498,
-0.0891675055027008,
-0.5765766501426697,
-0.08795410394668579,
-0.6347041130065918,
-0.024469230324029922,
-0.32818034291267395,
-0.3482227325439453,
-0.3719189167022705,
-0.2428082823753357,
0.28853437304496765,
0.8503271341323853,
0.22599609196186066,
0.29812091588974,
-0.6226179003715515,
-0.20313234627246857,
0.13775323331356049,
0.5178539752960205,
0.0743645578622818,
-0.8098358511924744,
-0.4104537069797516,
-0.29850804805755615,
-0.1992427408695221,
-0.661393404006958,
0.41660112142562866,
0.12370988726615906,
0.6764500141143799,
0.47537654638290405,
0.2382471114397049,
0.5316336154937744,
-0.47528910636901855,
0.5609655380249023,
0.2725417912006378,
-0.6520427465438843,
0.2606384754180908,
-0.18198207020759583,
0.12221426516771317,
0.2561424970626831,
0.559259831905365,
-0.7624210119247437,
-0.49948909878730774,
-0.24850423634052277,
-0.6708154678344727,
0.472527414560318,
-0.1467909961938858,
0.1924755573272705,
0.020382555201649666,
0.6340168118476868,
0.18940453231334686,
0.050133608281612396,
-0.7256955504417419,
-0.11271204054355621,
0.009250391274690628,
-0.30313578248023987,
-0.10909276455640793,
-0.06610288470983505,
0.1963443160057068,
0.03591585531830788,
0.5145089030265808,
-0.3638207018375397,
0.08220526576042175,
-0.18836313486099243,
-0.13607081770896912,
-0.23846042156219482,
0.3789474368095398,
0.6790211796760559,
0.4766148626804352,
0.058621760457754135,
0.1262637972831726,
0.4907691180706024,
-0.3194771707057953,
0.1674288511276245,
0.03570404648780823,
0.016945544630289078,
-0.29398825764656067,
0.3662428855895996,
0.7849620580673218,
0.14115142822265625,
-0.6733660101890564,
0.338229238986969,
-0.10104335099458694,
-0.4043770134449005,
-0.4893990159034729,
-0.15591077506542206,
-0.09287713468074799,
0.22815702855587006,
0.39071694016456604,
-0.35484203696250916,
0.06991933286190033,
-0.20169538259506226,
0.28838926553726196,
0.526261031627655,
-0.5595179200172424,
-0.11714202910661697,
0.452195942401886,
0.04032186046242714,
-0.6546878814697266,
0.656704843044281,
-0.0971217155456543,
-0.7386063933372498,
0.41849175095558167,
0.6503639221191406,
0.7858842015266418,
-0.4611702561378479,
0.17652198672294617,
0.10772868245840073,
-0.010769203305244446,
-0.015187100507318974,
-0.369376003742218,
0.15850192308425903,
-0.7038173079490662,
-0.35503679513931274,
-0.679314911365509,
-0.46578797698020935,
0.2549637258052826,
-0.9092890620231628,
0.23325297236442566,
-0.5812943577766418,
-0.2509543299674988,
0.18253570795059204,
0.06447365134954453,
-0.4392103850841522,
0.13936889171600342,
0.46038615703582764,
0.9411296248435974,
-0.9590416550636292,
0.7029486894607544,
0.7306215763092041,
-0.2708646059036255,
-0.4159298837184906,
-0.1525120586156845,
0.08879983425140381,
-0.7493487000465393,
1.108539342880249,
0.3341011703014374,
-0.04294664412736893,
-0.23812273144721985,
-0.3390050232410431,
-0.5393855571746826,
0.8110708594322205,
0.3942999541759491,
-0.5575587749481201,
-0.11155737936496735,
0.5221835970878601,
0.8091691136360168,
-0.6726610064506531,
0.2840222120285034,
0.5477136373519897,
0.05205553397536278,
0.2543732225894928,
-1.1709104776382446,
0.13919933140277863,
0.11542857438325882,
0.1302429735660553,
0.18297716975212097,
-0.5128085017204285,
0.7637670636177063,
0.10983248054981232,
-0.17751479148864746,
0.0612003356218338,
0.510902464389801,
0.16735079884529114,
0.2394721508026123,
0.9439458847045898,
0.7732406854629517,
0.6577210426330566,
0.10070481151342392,
1.0308963060379028,
-0.008235764689743519,
0.522385835647583,
0.871707558631897,
-0.584480881690979,
1.0660309791564941,
0.32978492975234985,
-0.3922283947467804,
0.39021310210227966,
0.7374913096427917,
-0.03415351361036301,
0.23528824746608734,
0.659114420413971,
-0.2344198226928711,
-0.4360543191432953,
-0.36742550134658813,
-0.05665121227502823,
0.2947859466075897,
0.373951256275177,
-0.3326607346534729,
-0.29099538922309875,
0.38044723868370056,
-0.021899765357375145,
0.19575989246368408,
-0.5917873978614807,
0.9719525575637817,
0.10940186679363251,
-0.5292278528213501,
0.7458509206771851,
0.14812526106834412,
0.6371500492095947,
-0.29252856969833374,
0.03244771808385849,
-0.23660466074943542,
0.6622374653816223,
-0.2295791208744049,
-0.6618119478225708,
0.33662527799606323,
0.11067389696836472,
-0.3367539048194885,
-0.2673000693321228,
0.5770630240440369,
-0.3093653917312622,
-0.6233232021331787,
0.5304644703865051,
0.059068821370601654,
0.167196586728096,
0.013870244845747948,
-0.6952579021453857,
0.2449461966753006,
-0.16908791661262512,
-0.15756529569625854,
0.5968796014785767,
0.09418823570013046,
-0.25827187299728394,
1.0718357563018799,
0.39678317308425903,
0.05339372158050537,
0.23332512378692627,
0.3962555527687073,
0.8517125248908997,
-0.28139758110046387,
-0.5357946157455444,
-0.7457314133644104,
0.10485634952783585,
-0.09352512657642365,
-0.04842238873243332,
0.7713842391967773,
0.5315727591514587,
0.8159545063972473,
0.22828198969364166,
0.5880163311958313,
0.2426847219467163,
0.686337947845459,
-0.4829011559486389,
0.557976245880127,
-0.6234365701675415,
0.40871697664260864,
-0.003848409978672862,
-0.876319169998169,
-0.5823689699172974,
0.559478223323822,
-0.43583324551582336,
0.09909926354885101,
0.2957704961299896,
0.6058014035224915,
0.18157902359962463,
0.09741512686014175,
0.5495562553405762,
0.3496752679347992,
0.7020803093910217,
0.43994903564453125,
0.6559499502182007,
0.03104027546942234,
0.7578113079071045,
-0.03433460742235184,
-0.31298357248306274,
-0.3872440457344055,
-0.5598128437995911,
-1.0133271217346191,
-0.5974660515785217,
-0.5638498067855835,
-0.6928784847259521,
-0.2437925934791565,
1.1392457485198975,
0.9232959747314453,
-0.8349117040634155,
-0.4741442799568176,
-0.05725698918104172,
-0.24933676421642303,
-0.044028863310813904,
-0.2330799400806427,
0.09874642640352249,
-0.47095873951911926,
-0.5856444835662842,
0.006075477227568626,
-0.08389639109373093,
0.0955832451581955,
-0.6352214217185974,
-0.20917530357837677,
0.2802024781703949,
-0.06604218482971191,
0.6719633340835571,
0.11764276772737503,
-0.8620445132255554,
-0.2608734667301178,
0.015052051283419132,
-0.12267743051052094,
0.16526156663894653,
0.9809444546699524,
-0.5158548355102539,
0.258291095495224,
0.21762634813785553,
1.0139951705932617,
0.46546676754951477,
-0.21977946162223816,
0.4962444007396698,
-0.6161395311355591,
-0.13441626727581024,
0.2588331401348114,
0.30646035075187683,
0.38620802760124207,
-0.30733510851860046,
0.1527220606803894,
0.13781511783599854,
-0.5449860095977783,
-0.9887243509292603,
0.4971071481704712,
-0.7543457746505737,
-0.27576154470443726,
1.1740503311157227,
-0.40834763646125793,
-0.07739590108394623,
-0.1421644538640976,
-0.05564943328499794,
0.04090769588947296,
-0.21834857761859894,
0.654236376285553,
0.8101686239242554,
-0.1278892606496811,
-0.5855278968811035,
-0.40897321701049805,
0.30893027782440186,
0.2830861210823059,
-0.961449384689331,
0.6481740474700928,
0.5106160640716553,
0.29909440875053406,
0.3708689510822296,
0.37125900387763977,
0.1521150767803192,
-0.050708264112472534,
-0.18299992382526398,
0.030164210125803947,
0.17432862520217896,
-0.14957721531391144,
-0.897275984287262,
0.38858309388160706,
0.4000745415687561,
0.05124242603778839
] |
http://arxiv.org/abs/2405.15760v1
|
http://arxiv.org/pdf/2405.15760v1
|
GPT is Not an Annotator: The Necessity of Human Annotation in Fairness Benchmark Construction
| 2024-05-24T17:56:03 | 2024-05-24T17:56:03 |
Virginia K. Felkner, Jennifer A. Thompson, Jonathan May
|
cs.CL
|
cs.CL, cs.CY, I.2.7; K.4.2
|
Social biases in LLMs are usually measured via bias benchmark datasets.
Current benchmarks have limitations in scope, grounding, quality, and human
effort required. Previous work has shown success with a community-sourced,
rather than crowd-sourced, approach to benchmark development. However, this
work still required considerable effort from annotators with relevant lived
experience. This paper explores whether an LLM (specifically, GPT-3.5-Turbo)
can assist with the task of developing a bias benchmark dataset from responses
to an open-ended community survey. We also extend the previous work to a new
community and set of biases: the Jewish community and antisemitism. Our
analysis shows that GPT-3.5-Turbo has poor performance on this annotation task
and produces unacceptable quality issues in its output. Thus, we conclude that
GPT-3.5-Turbo is not an appropriate substitute for human annotation in
sensitive tasks related to social biases, and that its use actually negates
many of the benefits of community-sourcing bias benchmarks.
|
[
-0.7401074767112732,
-0.27247342467308044,
0.5552992820739746,
-0.07653290033340454,
-0.35764315724372864,
0.07224039733409882,
-0.2024528682231903,
-0.47703635692596436,
0.30865833163261414,
0.12894544005393982,
-0.3663947284221649,
-0.2547830641269684,
-0.8094995021820068,
-0.0974208191037178,
-0.20016202330589294,
1.3397268056869507,
-0.008076999336481094,
0.26361870765686035,
0.05736521631479263,
-0.373594731092453,
-0.18390992283821106,
-0.5977848172187805,
-0.5507683753967285,
-0.3602421283721924,
0.5238454341888428,
0.026079274713993073,
0.6874547600746155,
0.5705550312995911,
0.203207865357399,
0.15142913162708282,
-0.08270435035228729,
-0.1978990137577057,
-0.43232807517051697,
-0.16570235788822174,
-0.18331681191921234,
-0.416898638010025,
-0.45990458130836487,
0.6311243772506714,
0.37221816182136536,
0.7495202422142029,
0.2209194451570511,
0.6302779316902161,
0.022397534921765327,
0.8225562572479248,
-0.8273804187774658,
0.25928908586502075,
-0.5833775401115417,
0.21016517281532288,
-0.6107573509216309,
0.09528540074825287,
0.14776939153671265,
-0.8924452662467957,
-0.20883795619010925,
-0.6615474820137024,
0.8545021414756775,
-0.08563639968633652,
0.4831663966178894,
0.5521130561828613,
-0.028112957254052162,
-0.04110391065478325,
-0.49059271812438965,
0.5510206818580627,
-0.4598206579685211,
0.04310217872262001,
0.40336737036705017,
0.6308927536010742,
-0.006736151408404112,
-0.3043671250343323,
-0.4984806776046753,
0.3153965175151825,
0.05230184271931648,
0.09551624208688736,
0.1949734091758728,
-0.2510039508342743,
0.6072648763656616,
0.08629240840673447,
-0.037207622081041336,
-0.020963085815310478,
-0.42361533641815186,
-0.2741125226020813,
0.5367444753646851,
0.19020497798919678,
-0.1262281984090805,
-0.22563287615776062,
-0.2937312126159668,
0.005299354437738657,
-0.8805771470069885,
0.09281989932060242,
0.6472498774528503,
0.20287181437015533,
0.1453796923160553,
0.24917666614055634,
-0.19215533137321472,
0.1418052315711975,
-0.19794364273548126,
0.23898348212242126,
0.4735631048679352,
0.018125737085938454,
-0.04622093215584755,
0.07092388719320297,
0.6810078024864197,
0.6354380249977112,
0.7791239619255066,
-0.24424606561660767,
-0.13007865846157074,
0.12969090044498444,
0.18438927829265594,
-0.6686331033706665,
-0.09969373047351837,
-0.13283641636371613,
-0.3607181906700134,
-0.31985312700271606,
0.3985295295715332,
-0.9171320796012878,
-0.44331517815589905,
0.007777468301355839,
-0.0889013409614563,
0.16604484617710114,
-0.38430067896842957,
-0.4170185625553131,
-0.47726184129714966,
0.16132095456123352,
0.5721344947814941,
-0.6852789521217346,
0.3791062831878662,
0.7844470143318176,
0.8550004959106445,
0.04572230577468872,
-0.13664910197257996,
-0.5246384739875793,
0.1651095300912857,
-0.14818346500396729,
0.7719781994819641,
-0.5842249989509583,
-0.5962859988212585,
-0.01725984737277031,
0.024481812492012978,
0.4764237105846405,
-0.6412313580513,
0.5865477323532104,
-0.4005741477012634,
-0.1295875757932663,
-0.9576783776283264,
-0.3596748113632202,
0.014713781885802746,
-0.06271681189537048,
-0.6316518187522888,
1.0554248094558716,
0.39508137106895447,
-0.777904212474823,
1.0459144115447998,
-0.6727577447891235,
-0.40094122290611267,
0.39301103353500366,
-0.718760073184967,
-0.26028257608413696,
0.3032413125038147,
0.3602231442928314,
0.15827561914920807,
-0.313419371843338,
0.485528826713562,
-0.739051878452301,
-0.8414754867553711,
0.16216546297073364,
-0.3736431300640106,
0.8205065727233887,
0.11387502402067184,
-0.9076573848724365,
-0.404899537563324,
-0.4545038044452667,
-0.16557452082633972,
-0.009883386082947254,
-0.2575172483921051,
-0.06619858741760254,
0.3713177442550659,
0.160191610455513,
0.29447588324546814,
-0.2243109494447708,
-0.7305126786231995,
-0.025930849835276604,
-0.021003859117627144,
0.26298514008522034,
1.4618473052978516,
-0.4175659418106079,
0.16289904713630676,
-0.5227356553077698,
0.44756484031677246,
-0.16819575428962708,
0.14646151661872864,
0.5769460201263428,
-0.8507968187332153,
-0.575110912322998,
-0.1602507382631302,
0.39054104685783386,
0.23276418447494507,
-0.4414101541042328,
0.22462157905101776,
-0.37842655181884766,
-0.25919055938720703,
-0.6015445590019226,
0.09518363326787949,
0.3684748709201813,
0.635292649269104,
0.3533380925655365,
-0.5853466987609863,
-0.4283706843852997,
-1.1763129234313965,
-0.5227969884872437,
-0.23848919570446014,
-0.24679632484912872,
0.1943020075559616,
0.48158958554267883,
0.3063873052597046,
1.057235598564148,
-0.4423757493495941,
-0.4598202407360077,
0.23961427807807922,
0.309347927570343,
0.08932039141654968,
0.4805717170238495,
0.4989936947822571,
-0.4864925444126129,
-0.45016592741012573,
-0.3079628348350525,
-0.6066014766693115,
-0.5500584244728088,
0.5132368803024292,
0.1127757802605629,
-0.062386661767959595,
0.21024826169013977,
-0.31333690881729126,
0.6504296660423279,
0.1502004712820053,
-0.11306086927652359,
0.36343860626220703,
0.36859238147735596,
0.24381956458091736,
-0.44417092204093933,
0.16523171961307526,
0.17380934953689575,
-0.23581333458423615,
-0.2613064646720886,
-0.1959298998117447,
0.08832211792469025,
0.20839817821979523,
-0.5771164894104004,
0.7890437841415405,
-0.05034778267145157,
-0.32855916023254395,
-0.3747625946998596,
0.11409922689199448,
-0.3375042974948883,
0.5020173788070679,
-0.005239528603851795,
0.9647899270057678,
0.0197652168571949,
-0.25755277276039124,
0.01636311784386635,
0.07991711050271988,
-0.16199563443660736,
0.7681514620780945,
-0.43874022364616394,
0.31696072220802307,
-0.16111211478710175,
0.4202670156955719,
-0.5336671471595764,
-0.21332380175590515,
0.5988628268241882,
-0.584060788154602,
-0.1518946886062622,
-0.38403570652008057,
-0.7080327868461609,
-0.3084157407283783,
-0.6602925658226013,
0.6412434577941895,
0.8962565064430237,
-0.4553799033164978,
0.1500164419412613,
0.504776656627655,
0.06984978914260864,
-0.388834148645401,
-0.7929247617721558,
-0.34175390005111694,
-0.2723482549190521,
-0.48334309458732605,
0.013837229460477829,
0.11721263825893402,
-0.39619210362434387,
0.08337496221065521,
-0.1488490104675293,
-0.05237075313925743,
-0.027446823194622993,
0.4003307521343231,
-0.03429107740521431,
-0.014530838467180729,
-0.036401014775037766,
-0.14371775090694427,
-0.3218507170677185,
0.23544184863567352,
0.048634909093379974,
-0.08270247280597687,
-0.033144813030958176,
-0.46079516410827637,
-0.10922236740589142,
0.3879207670688629,
0.04504763334989548,
0.03128248453140259,
0.16091285645961761,
0.7304445505142212,
-0.40621402859687805,
0.07474956661462784,
-1.0547738075256348,
0.006169082131236792,
-0.43875402212142944,
0.04759139195084572,
-0.07294972240924835,
-1.2494704723358154,
0.5948530435562134,
0.11542128026485443,
-0.05140264332294464,
0.46588602662086487,
0.5674577355384827,
-0.005889678839594126,
0.8603240847587585,
0.17489184439182281,
-0.2531595230102539,
0.2523477077484131,
0.4152853190898895,
-0.09786923974752426,
-1.0699554681777954,
0.06110100820660591,
-0.6638428568840027,
-0.4671890437602997,
-0.6933163404464722,
-0.45978009700775146,
0.5072118639945984,
-0.276640921831131,
-0.5865522623062134,
-0.2442401647567749,
-0.625596284866333,
0.4986777901649475,
0.6976231336593628,
0.11282598972320557,
0.18820303678512573,
-0.11207310110330582,
0.2372749000787735,
-0.2812176048755646,
-0.32228419184684753,
-0.5963301658630371,
1.3085240125656128,
0.1972767412662506,
0.40267398953437805,
0.17375144362449646,
0.5343676805496216,
0.46889182925224304,
1.1100358963012695,
-0.23024091124534607,
0.5358235836029053,
-0.014010620303452015,
-1.0577881336212158,
-0.0842110812664032,
-0.4856066107749939,
-0.5834125876426697,
0.26811251044273376,
0.1310448944568634,
-0.9415361285209656,
0.3266542851924896,
0.11941508203744888,
-0.40581944584846497,
0.4211876392364502,
-0.6415585875511169,
0.6487030386924744,
0.10711666941642761,
-0.6324698328971863,
0.23174375295639038,
-0.570337176322937,
0.2214583456516266,
-0.3112712502479553,
0.630490243434906,
-0.6755853891372681,
-0.06173844262957573,
0.9100131988525391,
-0.710202693939209,
0.8367199897766113,
-0.7657515406608582,
0.3396639823913574,
0.30217283964157104,
-0.03353453427553177,
0.5494608283042908,
0.23093374073505402,
-0.2652035057544708,
0.21232204139232635,
-0.31834515929222107,
-0.6497719287872314,
-0.3691883981227875,
0.6404826045036316,
-0.8672158122062683,
-0.8025667667388916,
-0.5878065824508667,
-0.15214359760284424,
-0.40312430262565613,
0.19917775690555573,
-0.1298360377550125,
0.00553423585370183,
-0.10134684294462204,
-0.15222057700157166,
0.39933401346206665,
-0.024606691673398018,
0.40331563353538513,
0.42852649092674255,
0.14757145941257477,
-0.44644665718078613,
0.6186578273773193,
0.28409263491630554,
0.05336065962910652,
-0.31180569529533386,
0.12829047441482544,
-0.07891888171434402,
-0.5378978848457336,
-0.45157715678215027,
-0.05578107759356499,
-0.8118613958358765,
-0.12554247677326202,
-0.2220270186662674,
0.09475410729646683,
-0.45661914348602295,
-0.4031902849674225,
-0.5048520565032959,
-0.2676640450954437,
0.028974486514925957,
-0.176705464720726,
0.297031044960022,
0.9209727644920349,
-0.34007203578948975,
0.14384572207927704,
-0.20725098252296448,
0.1903994232416153,
0.34028419852256775,
0.6219238638877869,
0.02841455303132534,
-0.13683387637138367,
-0.20771773159503937,
-0.15600337088108063,
-0.1492331326007843,
-0.7101340293884277,
-0.12604978680610657,
-0.33871185779571533,
0.6719646453857422,
0.045876339077949524,
0.012988442555069923,
0.624919593334198,
-0.48428478837013245,
0.7634289264678955,
0.045574840158224106,
-0.8638634085655212,
0.3900744318962097,
-0.5587865710258484,
0.25731462240219116,
1.0943940877914429,
0.3108466565608978,
-0.14292995631694794,
-0.7006049752235413,
-0.6020685434341431,
-0.7874063849449158,
0.8731805086135864,
0.28252530097961426,
-0.06474896520376205,
-0.349603533744812,
0.5042547583580017,
0.22104273736476898,
0.451932430267334,
-0.9423878192901611,
-0.2854268550872803,
-0.6194731593132019,
0.16071200370788574,
0.002581548411399126,
-0.09437436610460281,
-0.16811177134513855,
-0.34170809388160706,
0.5716496706008911,
-0.20861130952835083,
0.00490154605358839,
0.3926607370376587,
0.027959691360592842,
-0.3458581864833832,
0.2318139374256134,
0.2525929808616638,
0.6327698230743408,
-0.501193642616272,
0.16341537237167358,
0.30478668212890625,
-0.49037209153175354,
0.2565789222717285,
0.3204555809497833,
-0.38531115651130676,
-0.15974266827106476,
0.1228460893034935,
0.19843190908432007,
-0.00807403214275837,
-0.2389402985572815,
0.850917398929596,
0.040559228509664536,
-0.4090862572193146,
-0.4013562500476837,
0.050706665962934494,
-0.02484969235956669,
0.22774173319339752,
0.5144623517990112,
-0.06273751705884933,
0.16283777356147766,
-0.27341070771217346,
0.028890792280435562,
0.4294535517692566,
-0.7721297144889832,
-0.235672727227211,
0.969184398651123,
0.375204473733902,
-0.038588784635066986,
0.5992053151130676,
-0.5095586776733398,
-0.3429487347602844,
0.49768197536468506,
-0.10031455010175705,
0.9708150029182434,
0.12557019293308258,
-0.033350929617881775,
0.37543198466300964,
0.4963724613189697,
-0.07227031141519547,
-0.07557009160518646,
-0.05542952939867973,
-0.5457323789596558,
-0.5135720372200012,
-0.5181856751441956,
-0.20104971528053284,
0.02394498512148857,
-0.6069585084915161,
0.11001583933830261,
-0.6713562607765198,
-0.3447745144367218,
-0.06155001372098923,
-0.13090132176876068,
-0.9618269801139832,
0.2833918333053589,
0.1662227213382721,
0.7884464859962463,
-0.8917437195777893,
0.6780868172645569,
0.4472799003124237,
-0.5877944827079773,
-0.4553709626197815,
0.07723920047283173,
0.3208540976047516,
-0.968762993812561,
0.7481824159622192,
0.21186237037181854,
-0.008753575384616852,
-0.3954968750476837,
-0.33748048543930054,
-0.42285439372062683,
1.0385409593582153,
0.3732282519340515,
-0.40569815039634705,
0.16113772988319397,
0.3854546546936035,
0.37570828199386597,
-0.203452467918396,
0.5648287534713745,
0.3317927420139313,
0.7280895709991455,
-0.2020808458328247,
-0.9234700202941895,
0.5924226641654968,
-0.30510616302490234,
0.17603470385074615,
0.3444063365459442,
-0.9736830592155457,
0.8021552562713623,
0.23373088240623474,
-0.07069095224142075,
-0.27939218282699585,
0.30126070976257324,
0.1653621792793274,
0.173720583319664,
0.5976899266242981,
0.5490357875823975,
0.3326534032821655,
-0.2725103199481964,
1.0496845245361328,
0.1102607250213623,
0.43574586510658264,
1.1809489727020264,
-0.5043096542358398,
0.34338104724884033,
0.6886940598487854,
-0.46269917488098145,
-0.017414702102541924,
0.6068021655082703,
-0.08744529634714127,
0.5323010087013245,
0.5362305641174316,
-0.42207664251327515,
-0.25134387612342834,
0.009673936292529106,
-0.6580448150634766,
0.02119939774274826,
0.07337391376495361,
-0.4011261463165283,
-0.5447801947593689,
-0.6402630805969238,
0.2101551592350006,
0.07074611634016037,
-0.34922605752944946,
0.5990472435951233,
-0.04976116865873337,
-0.5468528270721436,
0.08754494786262512,
-0.12347668409347534,
0.804928183555603,
-0.17678314447402954,
0.0043003796599805355,
-0.24115332961082458,
-0.1060570552945137,
-0.337843120098114,
-0.7197118401527405,
0.3953682780265808,
0.175815150141716,
-0.11523862928152084,
-0.1369868367910385,
0.558293879032135,
0.3822975754737854,
-0.5013028979301453,
0.32848480343818665,
0.7377206683158875,
0.22978290915489197,
-0.16435621678829193,
-0.5243718028068542,
0.2686622142791748,
-0.10366139560937881,
-0.41010814905166626,
0.45498842000961304,
0.2741865813732147,
-0.15713466703891754,
0.2402644157409668,
0.5695748329162598,
0.18019945919513702,
-0.14633460342884064,
0.3138093948364258,
0.9611335396766663,
-0.7645092606544495,
-0.227118581533432,
-1.0308295488357544,
0.3551543951034546,
-0.08205186575651169,
-0.3237658143043518,
0.5613705515861511,
0.6902031302452087,
1.1147516965866089,
0.3823992908000946,
1.4364736080169678,
-0.17879618704319,
0.720064640045166,
-0.2330619841814041,
0.5471513867378235,
-0.46121746301651,
0.2985385060310364,
-0.4625864028930664,
-0.8872679471969604,
-0.26028162240982056,
0.4801756739616394,
-0.5207169055938721,
0.6464827060699463,
0.5263985991477966,
0.662957489490509,
0.006616043392568827,
0.369587242603302,
-0.06975404918193817,
-0.2841785252094269,
0.5394397377967834,
0.5297853946685791,
0.7325007319450378,
-0.1412571370601654,
0.43960797786712646,
-0.14705559611320496,
-0.49286964535713196,
0.042567674070596695,
-1.0355570316314697,
-1.0559126138687134,
-0.06371201574802399,
-0.13756918907165527,
-0.39912885427474976,
0.41935867071151733,
0.8862718939781189,
0.6688367128372192,
-0.5162298679351807,
-0.13171081244945526,
0.06140151992440224,
-0.07401354610919952,
-0.03589075803756714,
-0.22039560973644257,
0.10725327581167221,
-0.22823874652385712,
-0.4832357168197632,
-0.1448664516210556,
0.022721141576766968,
-0.18839111924171448,
-0.423056036233902,
0.030806032940745354,
0.08862179517745972,
-0.40913403034210205,
0.1999472826719284,
0.3310416042804718,
-0.7125243544578552,
-0.853763222694397,
-0.5808969736099243,
0.19903413951396942,
0.4429876208305359,
0.8477625846862793,
-0.8794028162956238,
0.26854798197746277,
-0.15083059668540955,
0.6333537697792053,
0.7508134841918945,
-0.11993979662656784,
0.5959800481796265,
-0.7209903597831726,
0.1490132212638855,
0.13682921230793,
0.294212281703949,
0.35909754037857056,
-0.20841699838638306,
0.7999556064605713,
0.4679691195487976,
-0.5741525292396545,
-0.4866338074207306,
0.13294754922389984,
-0.6321808099746704,
-0.007584123406559229,
1.0608015060424805,
-0.006695474963635206,
-0.36900272965431213,
-0.36031362414360046,
-0.0012702185194939375,
0.09199222922325134,
-0.846602737903595,
0.781624436378479,
0.9117081761360168,
-0.23197025060653687,
0.10902077704668045,
-1.0729904174804688,
0.603046178817749,
0.25747737288475037,
-0.5956275463104248,
0.07900453358888626,
0.4823327362537384,
0.475422203540802,
0.0017229063669219613,
1.3018471002578735,
-0.3182450234889984,
0.35623225569725037,
0.002583380788564682,
0.18567654490470886,
-0.13556915521621704,
0.4324130117893219,
-0.015368188731372356,
0.38757798075675964,
0.3034505844116211,
0.19238483905792236
] |
http://arxiv.org/abs/2405.15750v1
|
http://arxiv.org/pdf/2405.15750v1
|
Filtered Corpus Training (FiCT) Shows that Language Models can Generalize from Indirect Evidence
| 2024-05-24T17:47:20 | 2024-05-24T17:47:20 |
Abhinav Patil, Jaap Jumelet, Yu Ying Chiu, Andy Lapastora, Peter Shen, Lexie Wang, Clevis Willrich, Shane Steinert-Threlkeld
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
This paper introduces Filtered Corpus Training, a method that trains language
models (LMs) on corpora with certain linguistic constructions filtered out from
the training data, and uses it to measure the ability of LMs to perform
linguistic generalization on the basis of indirect evidence. We apply the
method to both LSTM and Transformer LMs (of roughly comparable size),
developing filtered corpora that target a wide range of linguistic phenomena.
Our results show that while transformers are better qua LMs (as measured by
perplexity), both models perform equally and surprisingly well on linguistic
generalization measures, suggesting that they are capable of generalizing from
indirect evidence.
|
[
-0.23257772624492645,
-0.7546073794364929,
0.652064859867096,
-0.13649573922157288,
-0.255736768245697,
-0.011104638688266277,
-0.43391653895378113,
-0.28639641404151917,
0.08713041245937347,
0.7869197130203247,
-0.48153650760650635,
-0.38734397292137146,
-0.7848656177520752,
0.18659129738807678,
-1.0669254064559937,
0.9763689041137695,
0.11424531042575836,
0.45023036003112793,
0.07325457036495209,
-0.10478625446557999,
-0.33769068121910095,
-0.7184349298477173,
-0.5220824480056763,
-0.41929441690444946,
0.5790081024169922,
0.26812905073165894,
0.8019348382949829,
0.5056657195091248,
0.4810227155685425,
0.34873083233833313,
0.0812322199344635,
0.047006867825984955,
-0.5589686036109924,
0.1037982925772667,
-0.22711533308029175,
-0.8611699342727661,
0.18211352825164795,
0.15940986573696136,
0.8462912440299988,
1.0170533657073975,
0.19694553315639496,
0.021675797179341316,
-0.10449572652578354,
0.48536866903305054,
-0.5810969471931458,
-0.20191143453121185,
-1.0909512042999268,
0.13092179596424103,
0.030754810199141502,
-0.17100989818572998,
-0.7049359679222107,
-0.2702832520008087,
-0.00956754945218563,
-0.48776090145111084,
0.8216779828071594,
0.11427222192287445,
1.0562976598739624,
0.1623334139585495,
-0.5668143630027771,
-0.39782288670539856,
-1.1177611351013184,
0.8537120819091797,
-0.41655072569847107,
0.5327550172805786,
0.49643996357917786,
0.2803002595901489,
0.036845024675130844,
-0.9309437274932861,
-0.3558010160923004,
-0.5769890546798706,
-0.6429092884063721,
-0.09132829308509827,
-0.14768850803375244,
0.09234806150197983,
0.41659966111183167,
0.38499122858047485,
-0.4574500322341919,
-0.1842409074306488,
-0.5518696308135986,
-0.2285405844449997,
0.2311042845249176,
-0.08211711794137955,
0.43746235966682434,
0.18803904950618744,
-0.2795425355434418,
-0.09700700640678406,
-0.9863026142120361,
-0.174118310213089,
0.5373392105102539,
0.06038525700569153,
0.08247022330760956,
0.41624629497528076,
-0.18909099698066711,
0.5955977439880371,
0.20592109858989716,
0.21708783507347107,
-0.016988404095172882,
-0.4154585599899292,
-0.266357958316803,
0.03968687355518341,
0.5882049202919006,
-0.33242836594581604,
0.3775444030761719,
-0.43883344531059265,
-0.29890328645706177,
0.26400867104530334,
0.18893054127693176,
-0.7217313051223755,
-0.15506421029567719,
0.00549416895955801,
-0.3389853537082672,
-0.26273441314697266,
0.23503164947032928,
-0.35825490951538086,
-0.12649591267108917,
-0.5300132632255554,
0.2979664206504822,
-0.4327356815338135,
-0.4050487279891968,
0.045942213386297226,
-0.3631473779678345,
0.28047487139701843,
0.09304555505514145,
-1.131693720817566,
0.6038384437561035,
0.9531054496765137,
0.5611557364463806,
0.06430675834417343,
-0.18071117997169495,
-1.1110953092575073,
0.08135118335485458,
-0.45407378673553467,
1.0871243476867676,
-0.8389805555343628,
-0.24847804009914398,
0.5859196186065674,
0.16132137179374695,
-0.24029670655727386,
-0.805856466293335,
0.7817996144294739,
-0.6626866459846497,
0.20513103902339935,
0.1809229701757431,
-0.6319807767868042,
-0.08859719336032867,
-0.02867247350513935,
-0.6325721144676208,
1.010916829109192,
0.14863161742687225,
-0.699298083782196,
0.5758371949195862,
-0.45655524730682373,
-0.21449339389801025,
-0.07031522691249847,
-0.3053169548511505,
-0.23500849306583405,
0.41330620646476746,
0.07951712608337402,
0.45220038294792175,
-0.15801317989826202,
0.7967067360877991,
-0.3594500720500946,
-0.6595893502235413,
0.4129416346549988,
-0.33644336462020874,
0.5801344513893127,
0.31717273592948914,
-0.39706286787986755,
0.3701784908771515,
-0.7254208922386169,
-0.3183499276638031,
-0.2179487645626068,
-0.41310906410217285,
-0.6486547589302063,
0.21524997055530548,
-0.04233456403017044,
-0.11740051209926605,
-0.23552900552749634,
-0.6263285875320435,
-0.06537969410419464,
-0.6367800235748291,
0.3100603520870209,
0.45049765706062317,
-0.3773733377456665,
0.586398184299469,
-0.15758419036865234,
0.3018976151943207,
0.02255709283053875,
-0.055886149406433105,
0.09656985849142075,
-0.40918582677841187,
-1.282348871231079,
-0.3639194071292877,
0.647040069103241,
0.26251623034477234,
-0.7970526218414307,
0.5200560092926025,
-0.5325075387954712,
-0.2546718120574951,
-0.47587698698043823,
0.2511173486709595,
0.3297877609729767,
0.5313841104507446,
0.23378220200538635,
-0.23956991732120514,
-0.6705482602119446,
-1.1950414180755615,
-0.39902642369270325,
-0.16921253502368927,
-0.4631851315498352,
-0.11296964436769485,
0.5748382806777954,
-0.25549688935279846,
0.9745781421661377,
-0.3023061156272888,
-0.05089033022522926,
-0.32013633847236633,
0.24631740152835846,
0.36317873001098633,
0.32534900307655334,
0.5182756185531616,
-0.99151611328125,
-0.4836779236793518,
-0.08138859272003174,
-0.7126902341842651,
-0.3414427936077118,
0.058553557842969894,
-0.21019749343395233,
-0.04753389582037926,
0.7215455770492554,
-0.18743924796581268,
0.47124719619750977,
0.36376312375068665,
-0.5632392764091492,
0.37650981545448303,
-0.1301777958869934,
-0.15094853937625885,
-0.6713576316833496,
0.06804099678993225,
-0.13216428458690643,
-0.6564262509346008,
-1.0382919311523438,
0.09332075715065002,
0.23503030836582184,
0.17681707441806793,
-0.5673108696937561,
0.6170426607131958,
-0.30972549319267273,
0.13627298176288605,
-0.5063175559043884,
-0.03404593467712402,
-0.2761935293674469,
0.37196770310401917,
0.4802822470664978,
0.44609901309013367,
0.40894219279289246,
-0.7969136238098145,
0.2663428485393524,
0.12463899701833725,
-0.41213443875312805,
0.48238179087638855,
-0.5200168490409851,
0.2273622453212738,
-0.13607914745807648,
0.1963350474834442,
-0.8718374371528625,
-0.2488354742527008,
-0.008841875940561295,
-0.34612220525741577,
0.24102583527565002,
-0.13161492347717285,
-0.22769257426261902,
-0.13348190486431122,
-0.27695900201797485,
0.12099264562129974,
0.4777393639087677,
-0.7247920036315918,
0.73123699426651,
-0.03974246233701706,
0.16334928572177887,
-0.6302998065948486,
-0.8173738121986389,
-0.12048143893480301,
-0.5209773182868958,
-0.6110883951187134,
0.3437425196170807,
-0.16847683489322662,
-0.3796287477016449,
0.03286527097225189,
0.10732606053352356,
-0.40276995301246643,
0.08426321297883987,
0.34343263506889343,
0.2045554518699646,
-0.4330490827560425,
0.32641929388046265,
0.006548954173922539,
0.09465750306844711,
0.20350052416324615,
0.17104889452457428,
0.7632652521133423,
0.09709848463535309,
-0.36421117186546326,
-0.029706979170441628,
0.42206090688705444,
-0.1699439436197281,
0.2395201474428177,
0.664669930934906,
0.8156604766845703,
-0.25831687450408936,
-0.3028164505958557,
-0.9240371584892273,
-0.375119149684906,
-0.47018253803253174,
0.42075687646865845,
-0.6223070025444031,
-1.059605598449707,
0.2617044448852539,
-0.2339809685945511,
-0.27828624844551086,
0.6198621988296509,
0.5696755051612854,
0.2046586126089096,
0.9251420497894287,
0.7158094644546509,
-0.0881970152258873,
0.5787436366081238,
-0.310985267162323,
0.021219998598098755,
-0.8014701008796692,
0.16834639012813568,
-0.8479924201965332,
-0.10918935388326645,
-0.5919424891471863,
-0.08914095163345337,
0.13132821023464203,
0.09042287617921829,
-0.4711960554122925,
0.32772016525268555,
-0.43773797154426575,
0.5176224708557129,
0.916346549987793,
0.19479584693908691,
0.4385624825954437,
0.2739144265651703,
-0.18495143949985504,
0.25335726141929626,
-0.571025550365448,
-0.5647584795951843,
1.3070130348205566,
0.4672221839427948,
0.43916964530944824,
0.009719270281493664,
0.6348024606704712,
0.28644347190856934,
0.7639835476875305,
-0.697131872177124,
0.4374874234199524,
-0.38227251172065735,
-0.9956977963447571,
-0.13127413392066956,
-0.38039925694465637,
-0.9700477719306946,
0.3684471845626831,
-0.15864704549312592,
-0.3494751751422882,
0.46464627981185913,
-0.06321357190608978,
-0.05833518132567406,
0.25151023268699646,
-0.8580757975578308,
0.49789419770240784,
-0.02868449129164219,
-0.18396005034446716,
-0.35658377408981323,
-0.39177417755126953,
0.5221772193908691,
-0.3161850571632385,
0.31654441356658936,
-0.028112635016441345,
-0.04027247056365013,
0.8765746355056763,
-0.5565500855445862,
0.9195603728294373,
-0.26740410923957825,
0.14702342450618744,
0.2686181664466858,
0.1046295017004013,
0.307087779045105,
0.14307159185409546,
-0.014985413290560246,
0.20639163255691528,
0.0022061853669583797,
-0.4478156268596649,
-0.513206958770752,
0.6624388098716736,
-0.8059123158454895,
-0.8271112442016602,
-0.39512133598327637,
-0.39961597323417664,
-0.34492242336273193,
0.03436823561787605,
0.24160467088222504,
0.2690284848213196,
-0.31398463249206543,
0.40825119614601135,
0.7126463651657104,
-0.08797162771224976,
0.4304373860359192,
0.8218809962272644,
-0.11405761539936066,
-0.3626510500907898,
0.4589632451534271,
-0.13462598621845245,
0.3877023458480835,
0.6466405987739563,
0.43431252241134644,
-0.15745583176612854,
-0.5483884811401367,
-0.11624624580144882,
0.2720407545566559,
-0.8323745727539062,
-0.09936954081058502,
-0.533856987953186,
-0.4232448935508728,
-0.5418288707733154,
0.19573991000652313,
-0.05277983844280243,
-0.34494778513908386,
-0.012623370625078678,
-0.12982678413391113,
0.13540996611118317,
0.8345868587493896,
-0.2570136487483978,
0.5178130865097046,
-0.4629579484462738,
0.46961361169815063,
0.44113942980766296,
0.12926557660102844,
-0.4514922499656677,
-0.9476714134216309,
-0.10754963010549545,
0.14630062878131866,
-0.1505548059940338,
-0.6210436820983887,
0.3706617057323456,
0.42230039834976196,
0.4494208097457886,
0.5306244492530823,
-0.2521032392978668,
0.4970778822898865,
-0.6353827714920044,
0.6586691737174988,
0.156291663646698,
-0.8982169032096863,
0.6532477736473083,
-0.1618119478225708,
0.01874532550573349,
0.5385051965713501,
0.546474277973175,
-0.5274052619934082,
-0.4615635573863983,
-0.5313425660133362,
-0.4261832535266876,
0.7081900238990784,
0.08824702352285385,
0.48483315110206604,
-0.12086429446935654,
0.40537580847740173,
0.2903566062450409,
0.004751520697027445,
-0.9336358308792114,
-0.14360268414020538,
-0.04506488889455795,
-0.29073455929756165,
-0.033487848937511444,
-0.5399669408798218,
-0.21280129253864288,
-0.36825883388519287,
0.722848653793335,
-0.07533290237188339,
0.4300999939441681,
0.46870124340057373,
-0.3427748680114746,
0.025554291903972626,
0.24516086280345917,
0.6321436166763306,
0.49856194853782654,
-0.32701194286346436,
0.5022971034049988,
0.18222801387310028,
-0.6068260669708252,
0.26063987612724304,
-0.1714664101600647,
-0.34792351722717285,
0.3786335289478302,
0.6656842231750488,
0.9634566903114319,
0.17260916531085968,
-0.5385192632675171,
0.5802562832832336,
-0.10271371155977249,
-0.36643990874290466,
-0.4487224817276001,
0.2840670645236969,
0.04531605914235115,
-0.09867849200963974,
0.28255268931388855,
-0.18339338898658752,
0.1638074517250061,
-0.810807466506958,
0.0869329646229744,
0.31765466928482056,
-0.5238966941833496,
-0.42151573300361633,
0.6256560683250427,
0.0403156578540802,
-0.21362118422985077,
0.5180205702781677,
0.03117012232542038,
-0.42123332619667053,
0.5265178084373474,
0.5825985670089722,
0.942220151424408,
-0.3966999351978302,
0.10194333642721176,
0.41757839918136597,
0.24121811985969543,
-0.13997997343540192,
-0.07656707614660263,
-0.12503746151924133,
-0.9102404117584229,
-0.5098853707313538,
-0.7546675801277161,
-0.40299662947654724,
0.35406070947647095,
-0.3210732340812683,
0.49598050117492676,
-0.05828055739402771,
0.03740289434790611,
0.17737537622451782,
-0.2571454346179962,
-0.9622746706008911,
0.3114229738712311,
0.13016490638256073,
0.7937048077583313,
-0.9394838213920593,
1.298310399055481,
0.46676746010780334,
-0.4848955571651459,
-0.7422764301300049,
-0.2686631977558136,
-0.4601246416568756,
-0.9563930034637451,
1.4497480392456055,
0.07225237041711807,
0.026019101962447166,
-0.5157359838485718,
-0.6416501998901367,
-0.8696921467781067,
0.6808921694755554,
0.526530921459198,
-0.5257528424263,
-0.023829147219657898,
0.7594301104545593,
0.5963662266731262,
-0.6714425683021545,
0.722792387008667,
0.6348273754119873,
0.38840311765670776,
-0.171157106757164,
-0.8260945081710815,
-0.05796097218990326,
-0.20658564567565918,
0.09276127815246582,
-0.10529854893684387,
-0.3465290367603302,
0.6480541825294495,
0.4928131103515625,
-0.18561211228370667,
0.08613702654838562,
0.6998241543769836,
-0.13812695443630219,
0.3709832429885864,
0.8262470960617065,
0.27082252502441406,
0.49337419867515564,
-0.18942682445049286,
1.0491362810134888,
-0.28454411029815674,
0.2065194547176361,
1.2683786153793335,
-0.2632565498352051,
0.9063534140586853,
0.4834825098514557,
-0.16636252403259277,
0.7661096453666687,
0.585021436214447,
0.0330064631998539,
0.5368682146072388,
0.5334822535514832,
-0.30403971672058105,
-0.24796299636363983,
-0.1888740211725235,
-0.18723595142364502,
0.30595746636390686,
0.3291303515434265,
-0.6969714164733887,
-0.08046199381351471,
0.1417672336101532,
0.11023324728012085,
0.29580727219581604,
-0.3041810393333435,
0.8111581802368164,
0.09421511739492416,
-0.869949460029602,
0.7750465273857117,
-0.04846519976854324,
0.9162779450416565,
-0.759477972984314,
0.12657864391803741,
-0.49351072311401367,
0.2094743549823761,
-0.30399245023727417,
-0.3059931993484497,
0.7005534768104553,
0.08303661644458771,
-0.12246683984994888,
-0.12074398249387741,
1.0300302505493164,
-0.4430617392063141,
-0.587953507900238,
0.5271464586257935,
0.40474623441696167,
0.3117623031139374,
-0.32621872425079346,
-0.120491161942482,
-0.056289397180080414,
-0.05897197872400284,
-0.2784680724143982,
0.39798465371131897,
0.26990920305252075,
-0.08348042517900467,
0.4631252884864807,
0.5764254331588745,
0.3117043673992157,
0.3999664783477783,
0.4455786943435669,
0.6892281770706177,
-0.6350064277648926,
0.011918766424059868,
-0.9628450274467468,
0.07226579636335373,
-0.2867826223373413,
0.026765596121549606,
0.3919518291950226,
0.6928344964981079,
1.0549395084381104,
-0.44341108202934265,
0.6725567579269409,
0.16645857691764832,
0.8103698492050171,
-0.49927839636802673,
0.48046794533729553,
-0.09821996837854385,
0.2157338708639145,
0.2981759309768677,
-1.0813645124435425,
-0.3184754550457001,
0.39492154121398926,
-0.5639979839324951,
-0.120705746114254,
1.0683733224868774,
0.9388858675956726,
-0.3721192181110382,
0.06373156607151031,
0.5690569281578064,
0.20877787470817566,
0.24636229872703552,
0.4575180411338806,
1.0377402305603027,
-0.48272430896759033,
0.5674530863761902,
-0.4329843521118164,
-0.10468175262212753,
0.15705746412277222,
-0.6087322235107422,
-1.1324706077575684,
-0.6446006298065186,
-0.3648708462715149,
-0.08875811100006104,
0.031178345903754234,
0.5848209857940674,
0.8882893919944763,
-0.9920329451560974,
-0.48192498087882996,
-0.31090766191482544,
0.04946700483560562,
0.003438351908698678,
-0.19686223566532135,
0.4019867777824402,
-0.6805956959724426,
-0.8801274299621582,
0.6011531949043274,
-0.20696142315864563,
-0.46199649572372437,
-0.43016406893730164,
0.054880160838365555,
-0.3226645588874817,
0.32423099875450134,
0.5368147492408752,
-0.15079496800899506,
-0.7797038555145264,
-0.7237932682037354,
-0.18795940279960632,
-0.03685557842254639,
0.18292011320590973,
1.0255711078643799,
-0.9209443926811218,
0.21908679604530334,
0.5450226068496704,
0.37863990664482117,
0.6218482851982117,
-0.35636869072914124,
0.507080078125,
-0.8872459530830383,
0.3020302951335907,
-0.04826129972934723,
0.6225430965423584,
0.3247627913951874,
-0.3106630742549896,
1.181726098060608,
0.2530280649662018,
-0.5028732419013977,
-0.9030653834342957,
0.28273120522499084,
-0.6740293502807617,
-0.2722996473312378,
1.4088634252548218,
-0.08652690052986145,
-0.3844534158706665,
-0.13504649698734283,
-0.19196435809135437,
0.33591169118881226,
-0.13185417652130127,
0.6807255744934082,
0.8124555349349976,
0.10217508673667908,
0.2849824130535126,
-0.7453029751777649,
0.5534207224845886,
0.6102879047393799,
-0.5079443454742432,
-0.24139529466629028,
0.22335653007030487,
0.6780034303665161,
0.22027872502803802,
0.4911634624004364,
0.049068383872509,
0.0930255651473999,
-0.07674725353717804,
-0.02024681307375431,
0.24276471138000488,
-0.008514727465808392,
-0.5722082257270813,
0.28126201033592224,
0.08118076622486115,
0.01575920358300209
] |
http://arxiv.org/abs/2405.15729v2
|
http://arxiv.org/pdf/2405.15729v2
|
Optimizing Large Language Models for OpenAPI Code Completion
| 2024-05-24T17:19:03 | 2024-06-10T21:58:24 |
Bohdan Petryshyn, Mantas Lukoševičius
|
cs.SE
|
cs.SE, cs.CL, cs.LG, 68T07, 68T50, 68T05, I.2.2; I.2.6; I.2.7; D.1.2; D.2.1; D.2.3; D.2.6
|
Recent advancements in Large Language Models (LLMs) and their utilization in
code generation tasks have significantly reshaped the field of software
development. Despite the remarkable efficacy of code completion solutions in
mainstream programming languages, their performance lags when applied to less
ubiquitous formats such as OpenAPI definitions. This study evaluates the
OpenAPI completion performance of GitHub Copilot, a prevalent commercial code
completion tool, and proposes a set of task-specific optimizations leveraging
Meta's open-source model Code Llama. A semantics-aware OpenAPI completion
benchmark proposed in this research is used to perform a series of experiments
through which the impact of various prompt-engineering and fine-tuning
techniques on the Code Llama model's performance is analyzed. The fine-tuned
Code Llama model reaches a peak correctness improvement of 55.2% over GitHub
Copilot despite utilizing 25 times fewer parameters than the commercial
solution's underlying Codex model. Additionally, this research proposes an
enhancement to a widely used code infilling training technique, addressing the
issue of underperformance when the model is prompted with context sizes smaller
than those used during training. The dataset, the benchmark, and the model
fine-tuning code are made publicly available.
|
[
-0.2319479137659073,
-0.36325934529304504,
0.601647675037384,
0.004729832988232374,
-0.5253599286079407,
0.33282044529914856,
-0.6226617693901062,
-0.4754849970340729,
0.09711611270904541,
0.5490717887878418,
-0.4105551540851593,
-0.5672886371612549,
-0.4251764118671417,
0.027699798345565796,
0.14700211584568024,
1.0294326543807983,
-0.3443757891654968,
-0.09375645965337753,
-0.23740574717521667,
-0.0732421875,
-0.7263088822364807,
-0.35027337074279785,
-0.22855421900749207,
-0.2711416780948639,
0.34375035762786865,
0.7536711096763611,
0.5803754329681396,
0.5170804262161255,
0.5138967037200928,
0.12178672850131989,
-0.22422407567501068,
0.3490324020385742,
-0.5821318626403809,
-0.17844468355178833,
0.1534862518310547,
-0.5692756175994873,
-0.7020310759544373,
-0.00820660125464201,
0.5096467733383179,
0.619621217250824,
-0.1457197368144989,
0.5928627252578735,
0.2411549836397171,
0.520960807800293,
-0.855658769607544,
0.020966237410902977,
-0.6834399700164795,
-0.12128788232803345,
-0.1283259242773056,
-0.31472480297088623,
-0.38666531443595886,
-0.6045195460319519,
-0.009243669919669628,
-0.6761665940284729,
-0.09938893467187881,
0.07074937224388123,
0.6863843202590942,
0.36779189109802246,
-0.16278402507305145,
-0.4312843978404999,
-0.529945433139801,
0.7960382699966431,
-0.861710786819458,
0.048947811126708984,
0.5499065518379211,
0.0029612479265779257,
-0.21706268191337585,
-0.2927158772945404,
-0.3707924783229828,
-0.44182366132736206,
-0.18495292961597443,
-0.18451876938343048,
0.01895626075565815,
0.2882239520549774,
0.4082411825656891,
0.3720943033695221,
-0.711262047290802,
-0.008618193678557873,
-0.4608437120914459,
0.13406974077224731,
0.273298442363739,
0.03779325261712074,
0.23873434960842133,
-0.05295519530773163,
-0.014845451340079308,
0.22671978175640106,
-0.8559286594390869,
0.16498920321464539,
0.6787149310112,
0.28454533219337463,
-0.22515620291233063,
0.6658726930618286,
-0.30565914511680603,
0.8887752890586853,
-0.28460144996643066,
-0.23039446771144867,
0.47416719794273376,
-0.3043861389160156,
-0.23755961656570435,
-0.32827118039131165,
0.38386085629463196,
0.23336534202098846,
0.49825021624565125,
-0.2846316695213318,
-0.20682229101657867,
-0.022141795605421066,
0.3962901830673218,
-0.6419758796691895,
-0.08984415233135223,
0.49907737970352173,
-0.374571293592453,
-0.24990886449813843,
-0.07055642455816269,
-0.29270538687705994,
-0.0800241231918335,
-0.5773007869720459,
0.1012955829501152,
-0.4246859848499298,
-0.2265368551015854,
0.10049956291913986,
-0.022487936541438103,
0.02079208381474018,
0.28339970111846924,
-0.5538378357887268,
-0.025633934885263443,
1.030095100402832,
1.0940418243408203,
0.0314311608672142,
-0.1674349159002304,
-0.7512957453727722,
0.19563163816928864,
-0.4746497869491577,
0.5773791670799255,
-0.686492383480072,
-0.2523649036884308,
-0.02380252815783024,
-0.23428378999233246,
-0.10176374018192291,
-0.4782975912094116,
0.45908498764038086,
-0.44381776452064514,
-0.40986499190330505,
-0.00028314825613051653,
-0.40525174140930176,
-0.1479523926973343,
0.3246507942676544,
-0.5739468932151794,
0.9038609266281128,
0.08300573378801346,
-0.6253395080566406,
0.3548259139060974,
-0.8339376449584961,
-0.2767350971698761,
0.21759335696697235,
-0.07090878486633301,
-0.4897659420967102,
0.32112687826156616,
-0.009489843621850014,
0.32480141520500183,
-0.34713977575302124,
0.5111356377601624,
-0.19007980823516846,
-0.7757923603057861,
-0.003224397310987115,
0.09723786264657974,
0.5253439545631409,
0.2554853558540344,
-0.012285889126360416,
0.2910155653953552,
-0.7842881083488464,
0.20329459011554718,
0.05735674872994423,
-0.7993830442428589,
-0.35095417499542236,
-0.017575634643435478,
0.013018502853810787,
-0.25262945890426636,
0.37281134724617004,
-0.6973705887794495,
0.5224481225013733,
-0.2426265925168991,
0.7216874957084656,
0.5559234619140625,
-0.23843683302402496,
0.3689543604850769,
-0.4045460522174835,
0.5596776008605957,
-0.3833675682544708,
0.2428709864616394,
-0.39750632643699646,
-0.5078660845756531,
-0.3803972899913788,
-0.6962528228759766,
0.5119588375091553,
0.49582502245903015,
-0.43360012769699097,
0.3780640959739685,
-0.3065657317638397,
-0.598945677280426,
-0.4576556384563446,
0.3666757047176361,
0.5429328680038452,
0.19267064332962036,
0.1178605929017067,
-0.2534324526786804,
-0.5063255429267883,
-0.7245547771453857,
-0.12460727989673615,
-0.021405626088380814,
-0.3002918064594269,
0.49321603775024414,
0.49889856576919556,
-0.3263275921344757,
0.923606812953949,
-0.5013493895530701,
-0.2208329290151596,
-0.21435052156448364,
0.10361158847808838,
0.4146631360054016,
0.5938313603401184,
0.7232891321182251,
-0.5744374990463257,
-0.4298955500125885,
0.11492636799812317,
-0.34579598903656006,
-0.22642134130001068,
0.329736590385437,
-0.04773275926709175,
0.42113134264945984,
0.4062812924385071,
-0.5678974986076355,
0.4447072446346283,
0.9092413783073425,
-0.00868837721645832,
0.49564799666404724,
-0.39446598291397095,
0.17861773073673248,
-0.7052631974220276,
0.6031684875488281,
-0.4645405411720276,
-0.08206518739461899,
-0.3548443019390106,
0.5635007619857788,
0.3639025092124939,
-0.4331088662147522,
-0.4522551894187927,
0.33408045768737793,
-0.5888407230377197,
-0.10660617053508759,
-0.2650099992752075,
0.20492804050445557,
-0.18950918316841125,
0.7810009121894836,
-0.0896655023097992,
0.961151123046875,
0.37541863322257996,
-0.45611152052879333,
-0.1347455084323883,
0.0022943380754441023,
-0.45267316699028015,
0.014515066519379616,
-0.9289621114730835,
0.30829641222953796,
-0.01491986121982336,
0.33476027846336365,
-1.1925839185714722,
-0.32660552859306335,
0.2528521418571472,
-0.27133437991142273,
0.040838778018951416,
-0.47902828454971313,
-0.797389566898346,
-0.3643685281276703,
-0.2968858480453491,
0.8422740697860718,
0.5484619736671448,
-0.587873101234436,
0.5869213342666626,
0.060664039105176926,
0.055277422070503235,
-0.5163716673851013,
-0.45618337392807007,
-0.14288923144340515,
-0.050924669951200485,
-0.4792145788669586,
0.2239103764295578,
-0.2859729528427124,
0.07106652110815048,
-0.32110595703125,
-0.10810583829879761,
0.11631888151168823,
0.18299563229084015,
0.31735169887542725,
0.2695063054561615,
-0.13772276043891907,
0.21762563288211823,
0.07836044579744339,
-0.11594215780496597,
-0.21025963127613068,
-0.2871238887310028,
0.7841780781745911,
0.002143580000847578,
-0.31218191981315613,
-0.2407475858926773,
0.31264200806617737,
0.40933844447135925,
-0.6204646825790405,
0.6496812105178833,
-0.00008479142707074061,
-0.1714605689048767,
-0.06922324001789093,
-0.5894379019737244,
0.19695930182933807,
-0.4277525842189789,
0.001604157267138362,
-0.4158577620983124,
-0.8801348805427551,
0.6101235151290894,
-0.1476944088935852,
0.20544670522212982,
-0.1269635409116745,
0.20929785072803497,
0.22270415723323822,
0.6175563931465149,
0.7026716470718384,
-0.12621399760246277,
0.7712906002998352,
-0.44840025901794434,
0.11138953268527985,
-0.8422056436538696,
0.07814731448888779,
-0.7633625268936157,
-0.2351311445236206,
-0.41980844736099243,
-0.6021720767021179,
0.2617870569229126,
0.32716843485832214,
-0.19454361498355865,
0.6921175718307495,
-0.5800510048866272,
0.7753493189811707,
0.6919103264808655,
0.21268227696418762,
0.44925352931022644,
-0.0664447620511055,
-0.08962132036685944,
0.40197694301605225,
-0.6817595362663269,
-0.6960464715957642,
1.44684898853302,
0.29908862709999084,
0.6093507409095764,
0.13577261567115784,
0.6814935207366943,
0.06910586357116699,
0.23930691182613373,
-0.44305622577667236,
0.38962382078170776,
-0.1491595357656479,
-0.4151241183280945,
-0.13805381953716278,
-0.2703654170036316,
-0.8130033016204834,
0.05042282119393349,
-0.07732775062322617,
-0.8459250330924988,
-0.04100499302148819,
0.2228853404521942,
-0.48991987109184265,
0.13920000195503235,
-0.7891733646392822,
0.9274574518203735,
0.04558622092008591,
-0.06420614570379257,
-0.5168991088867188,
-0.373668909072876,
0.2678981125354767,
-0.27507221698760986,
0.03278779238462448,
-0.2662132680416107,
-0.3567465543746948,
0.2577098608016968,
-0.47904470562934875,
0.8580292463302612,
-0.06494685262441635,
-0.3764633238315582,
0.4324420690536499,
-0.05348651483654976,
0.5728967785835266,
0.08331400901079178,
-0.148895725607872,
0.5839671492576599,
-0.11390463262796402,
-0.5928647518157959,
-0.3608028292655945,
0.6401328444480896,
-0.6841210722923279,
-0.31690090894699097,
0.25020208954811096,
-0.49078842997550964,
0.05431229621171951,
0.08862452954053879,
0.26714903116226196,
0.6160044074058533,
0.027992356568574905,
0.13465428352355957,
0.5746335387229919,
-0.3972454369068146,
0.5117044448852539,
0.5429666042327881,
-0.1948927938938141,
-0.4030597507953644,
0.782514750957489,
0.1331566870212555,
0.33646124601364136,
0.23503367602825165,
-0.09581439197063446,
0.41828659176826477,
-0.6985666751861572,
-0.595641016960144,
0.3410894572734833,
-0.4477667808532715,
-0.5192738175392151,
-0.5106808543205261,
0.028887800872325897,
-0.3488452732563019,
-0.322957843542099,
-0.16511476039886475,
-0.24132400751113892,
-0.11847639083862305,
0.21095630526542664,
0.32052236795425415,
0.47569480538368225,
0.3506282866001129,
0.581571102142334,
-0.7956584692001343,
0.27993929386138916,
-0.18497879803180695,
0.7550688982009888,
0.02880803495645523,
-0.18801547586917877,
-0.4174897074699402,
0.008325636386871338,
-0.3477597236633301,
-0.5936047434806824,
-0.014015424996614456,
0.0007694046944379807,
0.5300872325897217,
0.05609108880162239,
0.22706305980682373,
0.4994477331638336,
-0.5028876662254333,
0.5483245253562927,
-0.09857701510190964,
-0.9953451156616211,
0.9263678193092346,
-0.6344888210296631,
0.5940806865692139,
0.48540180921554565,
0.15700608491897583,
-0.1079566702246666,
-0.6529132723808289,
-0.34403616189956665,
-0.861169695854187,
0.6563147902488708,
0.2597253918647766,
-0.00979642104357481,
-0.08353416621685028,
0.4637911021709442,
0.12116353213787079,
0.36870598793029785,
-0.5730725526809692,
0.31786298751831055,
0.25264787673950195,
-0.2277384251356125,
-0.23110610246658325,
-0.20282061398029327,
-0.05791410431265831,
-0.02583351917564869,
0.5502359867095947,
-0.539211630821228,
0.1621558964252472,
-0.009968267753720284,
-0.29742947220802307,
-0.3870803713798523,
0.13513629138469696,
0.9312978982925415,
0.8859617114067078,
-0.21247556805610657,
-0.5988313555717468,
0.049633223563432693,
-0.42896708846092224,
-0.29934266209602356,
0.008627780713140965,
-0.18827836215496063,
-0.06624414771795273,
0.321957528591156,
0.5815441012382507,
0.2203340083360672,
-1.1856443881988525,
0.6113734245300293,
0.07804279774427414,
0.08358648419380188,
-0.41726210713386536,
0.23566333949565887,
-0.1703292578458786,
0.38292282819747925,
0.38317155838012695,
0.22775773704051971,
0.17758002877235413,
-0.4551736116409302,
-0.3353397250175476,
0.5811739563941956,
0.21915234625339508,
-0.08382578194141388,
0.6287541389465332,
0.2692459225654602,
-0.4765196740627289,
0.41700050234794617,
0.10365147143602371,
-0.35874834656715393,
0.876251220703125,
0.17750653624534607,
0.8283249139785767,
0.18469850718975067,
-0.07060909271240234,
0.4273431897163391,
0.36944150924682617,
0.07349900901317596,
0.38978302478790283,
-0.41972869634628296,
-0.2102104127407074,
-0.7156726717948914,
-0.6246695518493652,
-0.5173221230506897,
-0.20350754261016846,
-0.39167320728302,
0.49773627519607544,
-0.5742372870445251,
-0.23564010858535767,
-0.38263821601867676,
0.16864530742168427,
-0.6677017211914062,
-0.05952584370970726,
0.06307093054056168,
1.1311562061309814,
-0.40321481227874756,
0.9883734583854675,
0.7239686846733093,
-0.4673345983028412,
-0.9112434983253479,
0.2528148889541626,
-0.283730685710907,
-0.46615755558013916,
0.4631401002407074,
0.356887549161911,
-0.10928015410900116,
-0.19129212200641632,
-0.6633881330490112,
-0.925882875919342,
1.0639845132827759,
0.5510667562484741,
-0.7414961457252502,
-0.18683606386184692,
0.07848209142684937,
0.5250871777534485,
-0.6107514500617981,
0.3737306296825409,
0.4842865765094757,
0.2720080316066742,
-0.09375270456075668,
-1.3679468631744385,
-0.055302735418081284,
-0.133752703666687,
0.3304809629917145,
0.43820104002952576,
-0.689997136592865,
0.78163081407547,
-0.39241066575050354,
0.030156558379530907,
0.6814001798629761,
0.22986556589603424,
0.41002577543258667,
0.31816378235816956,
0.3484470248222351,
0.4415276050567627,
0.7157758474349976,
0.07896699011325836,
0.9771559834480286,
-0.638784646987915,
0.30459535121917725,
1.1009392738342285,
-0.11049332469701767,
1.2074644565582275,
0.3110239505767822,
0.1888936161994934,
0.4542098641395569,
0.5218905210494995,
0.17548559606075287,
0.39768359065055847,
0.2997267246246338,
0.15056338906288147,
0.019463039934635162,
0.05507558584213257,
-0.4068649411201477,
0.31963837146759033,
0.08792614191770554,
-0.41847988963127136,
0.09516476839780807,
0.27015042304992676,
-0.14219915866851807,
0.1277477741241455,
-0.3464265465736389,
0.8118596076965332,
-0.21256984770298004,
-0.948330283164978,
0.7343049645423889,
-0.007393678184598684,
0.7518994808197021,
-0.5193595290184021,
0.050878096371889114,
-0.3912261426448822,
0.2793481945991516,
-0.11115137487649918,
-0.471779465675354,
0.37276706099510193,
0.11201535165309906,
-0.2752629518508911,
-0.07020564377307892,
0.36632755398750305,
-0.49487757682800293,
-0.11037810891866684,
0.4766591489315033,
0.04692491516470909,
0.15488332509994507,
-0.12970545887947083,
-0.21412916481494904,
0.522171139717102,
-0.201105535030365,
-0.07751411944627762,
0.19486698508262634,
0.24092338979244232,
0.0676027312874794,
0.691876232624054,
0.5057689547538757,
-0.08626275509595871,
-0.1453527808189392,
-0.14926683902740479,
1.0196670293807983,
-0.37413227558135986,
-0.5343350768089294,
-0.5701279044151306,
0.6155582666397095,
0.09224876761436462,
-0.43959635496139526,
0.33796456456184387,
0.8057906031608582,
1.1465131044387817,
-0.34575945138931274,
0.4855049252510071,
-0.0913352519273758,
0.7221701145172119,
-0.6336512565612793,
0.6023003458976746,
-0.6370468139648438,
0.3384467363357544,
-0.5507991909980774,
-1.1362662315368652,
-0.08016802370548248,
0.24555575847625732,
-0.38936924934387207,
-0.08460176736116409,
0.43459394574165344,
0.8269660472869873,
-0.08893422782421112,
0.019093621522188187,
0.36871856451034546,
-0.23794591426849365,
0.022319162264466286,
0.6744546890258789,
0.689111053943634,
-0.435077041387558,
0.6926661729812622,
-0.010701995342969894,
-0.36649391055107117,
-0.424463152885437,
-0.8681418895721436,
-0.9886424541473389,
-0.3266277015209198,
-0.35043349862098694,
-0.055220264941453934,
0.24013181030750275,
1.0661377906799316,
0.809359073638916,
-0.5197428464889526,
-0.31201836466789246,
0.014214500784873962,
0.05821255221962929,
-0.13930284976959229,
-0.14096598327159882,
-0.09661048650741577,
-0.6567209362983704,
-0.7076579928398132,
0.23312291502952576,
0.047848574817180634,
-0.2452808916568756,
-0.002005775226280093,
-0.25683677196502686,
-0.041842926293611526,
0.21557439863681793,
0.4736521542072296,
0.22795994579792023,
-0.9655676484107971,
-0.22110745310783386,
-0.15384288132190704,
-0.16930413246154785,
0.17930907011032104,
1.2711524963378906,
-0.7901378870010376,
0.11124049872159958,
0.43517038226127625,
0.4996711313724518,
0.1258525401353836,
0.08162364363670349,
0.5057626962661743,
-0.7951809763908386,
0.2650613784790039,
-0.09469565004110336,
0.3321002721786499,
0.04097806289792061,
-0.4109657108783722,
0.9045891761779785,
-0.10696004331111908,
-0.6853386759757996,
-0.9444641470909119,
0.09650474041700363,
-0.7885231375694275,
-0.4447723925113678,
1.0523583889007568,
-0.23251180350780487,
-0.2413196563720703,
0.06652477383613586,
-0.6140564680099487,
0.05211916193366051,
-0.5111891031265259,
0.34159335494041443,
0.5177289247512817,
0.14216582477092743,
-0.09169479459524155,
-0.7292969822883606,
0.2607777416706085,
0.30592745542526245,
-0.5435763597488403,
0.322245329618454,
0.6267373561859131,
0.3299306333065033,
0.32680535316467285,
0.7081639170646667,
0.10197868198156357,
0.4772740304470062,
-0.15103353559970856,
0.21795374155044556,
-0.09174422919750214,
-0.4824323356151581,
-0.3045472502708435,
0.32544487714767456,
0.2786266803741455,
-0.26644113659858704
] |
http://arxiv.org/abs/2405.15708v1
|
http://arxiv.org/pdf/2405.15708v1
|
EmpathicStories++: A Multimodal Dataset for Empathy towards Personal Experiences
| 2024-05-24T16:57:18 | 2024-05-24T16:57:18 |
Jocelyn Shen, Yubin Kim, Mohit Hulse, Wazeer Zulfikar, Sharifa Alghowinem, Cynthia Breazeal, Hae Won Park
|
cs.CL
|
cs.CL
|
Modeling empathy is a complex endeavor that is rooted in interpersonal and
experiential dimensions of human interaction, and remains an open problem
within AI. Existing empathy datasets fall short in capturing the richness of
empathy responses, often being confined to in-lab or acted scenarios, lacking
longitudinal data, and missing self-reported labels. We introduce a new
multimodal dataset for empathy during personal experience sharing: the
EmpathicStories++ dataset
(https://mitmedialab.github.io/empathic-stories-multimodal/) containing 53
hours of video, audio, and text data of 41 participants sharing vulnerable
experiences and reading empathically resonant stories with an AI agent.
EmpathicStories++ is the first longitudinal dataset on empathy, collected over
a month-long deployment of social robots in participants' homes, as
participants engage in natural, empathic storytelling interactions with AI
agents. We then introduce a novel task of predicting individuals' empathy
toward others' stories based on their personal experiences, evaluated in two
contexts: participants' own personal shared story context and their reflections
on stories they read. We benchmark this task using state-of-the-art models to
pave the way for future improvements in contextualized and longitudinal empathy
modeling. Our work provides a valuable resource for further research in
developing empathetic AI systems and understanding the intricacies of human
empathy within genuine, real-world settings.
|
[
-0.5132760405540466,
-0.592812180519104,
0.597308874130249,
0.4213712811470032,
0.05429881438612938,
-0.07305405288934708,
0.025300584733486176,
-0.6174047589302063,
0.45800545811653137,
0.1792997419834137,
-0.7469334006309509,
-0.3755370080471039,
-0.7068276405334473,
0.03776884078979492,
-0.1625065803527832,
0.6391341090202332,
-0.008925333619117737,
0.16001807153224945,
-0.2170264720916748,
-0.42764410376548767,
-0.3932337462902069,
-0.7429141998291016,
-0.4095035791397095,
-0.2285212278366089,
0.6773895025253296,
0.4874560832977295,
0.6560614705085754,
0.3242831528186798,
0.388654887676239,
0.2707553207874298,
0.38391220569610596,
0.21844631433486938,
-0.10293643921613693,
0.26155155897140503,
0.13211996853351593,
0.13587990403175354,
-0.7551410794258118,
0.2565813660621643,
0.093707375228405,
0.2324797511100769,
-0.18172655999660492,
0.23868608474731445,
0.10493718087673187,
0.1285274773836136,
-0.5684908628463745,
-0.0744185596704483,
0.18826337158679962,
0.4498746991157532,
0.25154396891593933,
-0.3384622037410736,
-0.4469062089920044,
-0.13665607571601868,
0.08663053810596466,
-0.5781059861183167,
0.1742890179157257,
0.2159811556339264,
0.19280192255973816,
0.010001824237406254,
-0.7837619185447693,
-0.18465466797351837,
-0.5952305197715759,
0.7081999778747559,
-0.29264506697654724,
0.36170533299446106,
0.3457680642604828,
0.13013119995594025,
0.47639504075050354,
-0.6592497229576111,
-0.5384493470191956,
-0.2952612042427063,
-0.29758796095848083,
0.14521370828151703,
-0.28405413031578064,
-0.10162616521120071,
0.2962379455566406,
0.09023392200469971,
-0.6097192168235779,
-0.10733281075954437,
-0.2385244071483612,
0.030376695096492767,
0.6280580163002014,
0.6296271681785583,
0.25902053713798523,
-0.3187602162361145,
-0.6238288283348083,
-0.32828834652900696,
-0.17073912918567657,
0.07314726710319519,
0.2603141963481903,
0.1199711263179779,
-0.5653673410415649,
0.6166286468505859,
0.2846603989601135,
0.4133070111274719,
-0.15431036055088043,
0.27148011326789856,
0.5170530080795288,
-0.23555849492549896,
0.013734092935919762,
0.11329732090234756,
0.4984097480773926,
0.7992992401123047,
0.32951420545578003,
-0.09731394052505493,
0.2216624617576599,
0.1906035840511322,
0.5947203636169434,
-0.6731107234954834,
-0.16589398682117462,
0.35386648774147034,
-0.6342841386795044,
-0.40260979533195496,
-0.15268486738204956,
-0.9411042332649231,
-0.9689576625823975,
-0.4940377473831177,
0.3056280314922333,
-0.28477779030799866,
-0.5061875581741333,
0.177126944065094,
-0.4243146777153015,
-0.05438808724284172,
0.4265230596065521,
-0.41434600949287415,
0.7126379013061523,
0.7168071269989014,
1.1333115100860596,
-0.025647949427366257,
-0.9501373171806335,
-0.4331797957420349,
0.11418135464191437,
0.2083698809146881,
0.664664626121521,
-0.8392833471298218,
-0.40001818537712097,
-0.139084592461586,
-0.03999873995780945,
0.1488182544708252,
-0.21076829731464386,
0.6465955376625061,
0.08544518798589706,
-0.0054962350986897945,
-0.10804084688425064,
-0.5406094193458557,
0.08506014198064804,
0.5978477001190186,
-0.7349336743354797,
0.4492686986923218,
0.09552933275699615,
-0.7158037424087524,
0.36289963126182556,
-0.8986709117889404,
-0.24529361724853516,
-0.3629230856895447,
0.1285550445318222,
-0.07433044910430908,
0.2607709765434265,
0.1805492341518402,
0.7173320055007935,
-0.2066033035516739,
0.2721470892429352,
-0.7660091519355774,
-0.10882392525672913,
0.22321830689907074,
-0.5849636197090149,
0.5085325837135315,
0.13298958539962769,
0.05353957414627075,
0.22211965918540955,
-0.45293810963630676,
-0.2479003667831421,
0.06501306593418121,
0.400899201631546,
-0.5627464652061462,
-0.28635406494140625,
0.3838081359863281,
0.3401627838611603,
0.19392365217208862,
-0.9189652800559998,
0.29065224528312683,
0.3199335038661957,
0.30646464228630066,
0.8761386275291443,
-0.21244190633296967,
0.5418710708618164,
-0.5435617566108704,
0.6545907855033875,
0.3080296516418457,
0.738318681716919,
-0.46107086539268494,
-0.4189513325691223,
-0.017763828858733177,
-0.5032138228416443,
-0.4626714885234833,
0.35688939690589905,
-0.004140625242143869,
0.04155632480978966,
-0.12815962731838226,
-0.582710862159729,
-0.5098982453346252,
-0.19757036864757538,
0.38009384274482727,
0.4832400977611542,
0.4928072690963745,
-0.5512372851371765,
-0.3853108286857605,
-0.7401009202003479,
-0.3728324770927429,
0.23616941273212433,
-0.05066430941224098,
0.8715932965278625,
0.26946836709976196,
-0.37388181686401367,
0.6514383554458618,
-0.5450307130813599,
-0.6583701372146606,
-0.09359103441238403,
0.30844005942344666,
0.09678801894187927,
0.5363982915878296,
0.31529533863067627,
-1.0676993131637573,
-0.40949544310569763,
-0.06514130532741547,
-0.9164572358131409,
0.3063158094882965,
-0.12379378825426102,
-0.01081368513405323,
-0.2056511640548706,
0.19606207311153412,
-0.7274221181869507,
0.36113685369491577,
0.8923724293708801,
-0.9510051012039185,
0.2535349428653717,
-0.26399171352386475,
0.5415574312210083,
-1.1555957794189453,
0.12510272860527039,
0.09126189351081848,
-0.04690607637166977,
-0.6565665602684021,
-0.25733238458633423,
-0.06957117468118668,
-0.1459021419286728,
-0.4740833044052124,
1.2289453744888306,
-0.3927542567253113,
0.03188492730259895,
0.37003764510154724,
-0.012767142616212368,
0.0819569006562233,
0.6207059025764465,
0.24930177628993988,
0.2918741703033447,
0.6495655179023743,
-0.09010568261146545,
0.6574105024337769,
0.5392634868621826,
0.10042960941791534,
0.7249829173088074,
-0.44012710452079773,
0.20328451693058014,
0.1034088134765625,
0.28152143955230713,
-0.5572254061698914,
-0.389024019241333,
0.4591957628726959,
-0.5338110327720642,
0.24969616532325745,
0.16532452404499054,
-0.40679606795310974,
-0.19453050196170807,
-0.627185583114624,
0.818766176700592,
0.19746387004852295,
-0.6316646337509155,
1.1162772178649902,
0.3707253038883209,
-0.3436448574066162,
-0.28397685289382935,
-0.4622334837913513,
0.1567791849374771,
-0.479449987411499,
-0.47357043623924255,
-0.024211127310991287,
-0.0971037968993187,
-0.3152000904083252,
0.17314957082271576,
0.47867247462272644,
-0.3560444414615631,
-0.17458224296569824,
0.5985604524612427,
-0.07967877388000488,
0.20970961451530457,
0.2683172821998596,
0.1912529021501541,
-0.4076285660266876,
0.02309993840754032,
0.35955679416656494,
0.47446855902671814,
-0.34956008195877075,
-0.6441845297813416,
-0.5529053211212158,
0.5699759721755981,
0.5039457678794861,
-0.07992436736822128,
0.7230404615402222,
0.7564752697944641,
-0.35147762298583984,
0.258481502532959,
-0.5527738928794861,
-0.49448511004447937,
-0.4019436240196228,
0.1508704423904419,
-0.29478147625923157,
-0.8364533185958862,
0.4904193878173828,
0.0500514879822731,
-0.1360066533088684,
-0.32344380021095276,
0.3647679388523102,
-0.04719587787985802,
1.2270697355270386,
0.42899104952812195,
-0.4129675030708313,
0.29784461855888367,
0.011225305497646332,
0.312216192483902,
-1.0234382152557373,
-0.35000184178352356,
0.05532955750823021,
-0.6465417146682739,
-0.46197575330734253,
-0.24107705056667328,
0.43510082364082336,
-0.5197580456733704,
-0.4707544147968292,
0.05363380163908005,
-0.40850862860679626,
0.10509724169969559,
0.627449095249176,
0.5458903312683105,
0.5056895613670349,
-0.23856069147586823,
0.5630273222923279,
-0.27825048565864563,
-0.4723399877548218,
-0.36266472935676575,
1.1425421237945557,
0.4180963337421417,
0.7811037302017212,
0.03240446746349335,
0.6722607612609863,
0.8258112072944641,
0.67133629322052,
-0.627365231513977,
0.1901206374168396,
0.05114775896072388,
-0.5920845866203308,
-0.29845863580703735,
-0.28415408730506897,
-0.8346165418624878,
0.02498527057468891,
-0.018876805901527405,
-0.7904086709022522,
0.38834041357040405,
0.4369157552719116,
-0.3178883194923401,
0.21936382353305817,
-0.8747395277023315,
0.9052197933197021,
-0.28816285729408264,
-0.6118510365486145,
-0.3364865779876709,
-0.8222746849060059,
0.2273782640695572,
0.0034291588235646486,
0.26837900280952454,
0.011278565041720867,
0.021282456815242767,
0.2407243251800537,
-0.05317515879869461,
1.0560541152954102,
-0.5244307518005371,
0.31843820214271545,
-0.011306633241474628,
0.41279903054237366,
0.3951680660247803,
0.19216591119766235,
0.018399802967905998,
0.2899830937385559,
0.06289077550172806,
-0.412443071603775,
-0.6159846186637878,
0.6501392126083374,
-0.6777802109718323,
-0.12783706188201904,
-0.585422158241272,
-0.6266567707061768,
-0.24461890757083893,
-0.15409889817237854,
-0.031491491943597794,
0.6986658573150635,
-0.31746456027030945,
0.2958630621433258,
0.3338983356952667,
-0.26370638608932495,
0.0702752098441124,
0.3026939034461975,
0.10197695344686508,
-0.29540154337882996,
0.701853334903717,
-0.19698463380336761,
-0.29676076769828796,
0.21618400514125824,
0.3610610365867615,
-0.1512969434261322,
0.18924346566200256,
-0.07510831952095032,
0.22536350786685944,
-0.32686614990234375,
-0.31823447346687317,
-0.7770074009895325,
0.17480170726776123,
-0.3694225251674652,
-0.3960190415382385,
-0.46840205788612366,
-0.14851582050323486,
-0.21760059893131256,
-0.4886186122894287,
0.6467641592025757,
0.899280309677124,
-0.5850063562393188,
0.10576431453227997,
-1.1857799291610718,
0.3003178536891937,
0.05934785678982735,
0.3133440315723419,
0.25639817118644714,
-0.17941589653491974,
-0.177729994058609,
0.10186482965946198,
-0.2526257336139679,
-0.7029943466186523,
0.7530386447906494,
0.16443152725696564,
0.15870368480682373,
0.43662944436073303,
0.1547834873199463,
0.622467577457428,
-0.4198814630508423,
0.5395209193229675,
0.2751932144165039,
-0.857784628868103,
0.11060309410095215,
-0.48096928000450134,
-0.10076063871383667,
0.20322203636169434,
0.5134652853012085,
-0.6576423048973083,
-0.1839800626039505,
-0.7392045855522156,
-0.9035351872444153,
0.5968220829963684,
0.03421252965927124,
0.6618984341621399,
-0.0452817901968956,
0.2371962070465088,
0.4435366094112396,
0.2594039738178253,
-0.6559851169586182,
-0.08396422863006592,
-0.2385208159685135,
-0.41432061791419983,
-0.5353135466575623,
-0.3325440585613251,
-0.33164697885513306,
-0.2316461205482483,
0.03972654044628143,
-0.011875011026859283,
0.5584606528282166,
0.2145949751138687,
0.033563967794179916,
-0.058152053505182266,
-0.15780434012413025,
0.29780346155166626,
0.2606954276561737,
-0.20092247426509857,
0.12822329998016357,
0.20836015045642853,
-0.39480897784233093,
0.006248566787689924,
0.10347267985343933,
0.6790168881416321,
-0.29191410541534424,
0.654331624507904,
0.5243460536003113,
0.30274856090545654,
-0.7519773244857788,
0.79510098695755,
-0.500298023223877,
0.00680545112118125,
-0.6558248996734619,
-0.31560251116752625,
-0.06570982187986374,
0.8871075510978699,
0.06639610975980759,
0.13765180110931396,
0.5727370381355286,
-0.5176489949226379,
0.382453978061676,
-0.003265698440372944,
-0.48972025513648987,
-0.6946678757667542,
0.2794720232486725,
0.1303834766149521,
-0.44650211930274963,
0.8724921345710754,
0.12468914687633514,
-0.2940681278705597,
0.48393675684928894,
0.23329336941242218,
0.9759191274642944,
-0.31310930848121643,
0.36312904953956604,
0.2928753197193146,
0.05765825882554054,
0.05604376271367073,
0.26636621356010437,
-0.591751217842102,
-0.9159088730812073,
0.33381032943725586,
-0.3795763850212097,
-0.5918949246406555,
-0.42899027466773987,
-1.2188924551010132,
-0.06911282986402512,
-0.14500072598457336,
-0.30487218499183655,
-0.6078345775604248,
-0.2165765017271042,
-0.9171144366264343,
0.1920885592699051,
-0.050227902829647064,
0.8319206833839417,
-1.3203141689300537,
0.5761590600013733,
0.3161347806453705,
-0.13425414264202118,
-0.59037846326828,
-0.19408239424228668,
0.03352804854512215,
-0.7311348915100098,
0.3015686869621277,
0.18523165583610535,
-0.1166144609451294,
-0.05896536633372307,
-0.2987116575241089,
-0.45620670914649963,
1.3434678316116333,
0.16327346861362457,
-0.3467971980571747,
0.019024856388568878,
-0.11294373869895935,
0.759803295135498,
-0.6133878231048584,
0.27439451217651367,
0.38785824179649353,
0.5453518629074097,
-0.21249604225158691,
-0.5177175998687744,
0.10656745731830597,
-0.7103068232536316,
-0.5624147057533264,
0.080989770591259,
-0.7279942631721497,
0.7761442065238953,
-0.3406842350959778,
0.2502463459968567,
0.27503350377082825,
0.08324165642261505,
0.37668099999427795,
1.076769232749939,
0.3310771584510803,
0.5909117460250854,
0.5426215529441833,
0.12815599143505096,
1.352517008781433,
-0.3543347418308258,
0.13874121010303497,
1.4745022058486938,
-0.6161659955978394,
0.8440526723861694,
0.6230145692825317,
0.2841011583805084,
0.08919629454612732,
0.49916383624076843,
-0.10222136974334717,
0.43321654200553894,
-0.3471049964427948,
-0.40928176045417786,
-0.1207757443189621,
-0.48823198676109314,
-0.36234375834465027,
0.3633497357368469,
0.1841118484735489,
-0.4863470792770386,
0.1842677891254425,
0.46884188055992126,
-0.1207023411989212,
-0.13972355425357819,
0.01672607660293579,
0.704962968826294,
0.22913096845149994,
-0.20379647612571716,
-0.3951958119869232,
-0.5474668741226196,
0.38671964406967163,
-0.4378998875617981,
-0.23421545326709747,
-0.30616500973701477,
0.21384334564208984,
-0.09264932572841644,
-0.9736232161521912,
0.28942593932151794,
0.1755102574825287,
-0.1309739351272583,
-0.7412709593772888,
0.5459079742431641,
-0.14927946031093597,
-0.287845253944397,
0.90613853931427,
0.6307393312454224,
0.10133848339319229,
-0.1579570472240448,
-0.5356550216674805,
0.144063338637352,
-0.47283586859703064,
-0.7424228191375732,
0.4382449686527252,
0.5375458002090454,
0.03069213591516018,
0.8433609008789062,
0.382885605096817,
-0.15384508669376373,
-0.09539499133825302,
0.2938668727874756,
0.9522512555122375,
-0.7222155332565308,
-0.1891375184059143,
-0.6672762036323547,
0.758437991142273,
-0.12497412413358688,
-0.5296613574028015,
0.8439067006111145,
0.508074939250946,
0.7184703350067139,
-0.16471268236637115,
0.617665708065033,
-0.1441705971956253,
0.5861556529998779,
-0.1583331823348999,
0.4609422981739044,
-0.9305091500282288,
-0.20891930162906647,
-0.37152165174484253,
-0.6908900141716003,
-0.3666090667247772,
0.43249574303627014,
-0.18683767318725586,
0.2362316995859146,
0.44976940751075745,
0.8277112245559692,
-0.16465406119823456,
0.06363707780838013,
0.49588462710380554,
0.3875935971736908,
0.0952313244342804,
0.4136735796928406,
1.1663542985916138,
-0.15913031995296478,
-0.03789220377802849,
-0.42822131514549255,
-0.24569673836231232,
0.0012613404542207718,
-0.7923877835273743,
-0.43393033742904663,
-0.695104718208313,
0.11376064270734787,
-0.1641140580177307,
0.021771173924207687,
1.1228679418563843,
0.5379866361618042,
-0.42274531722068787,
-0.31683072447776794,
0.07056156545877457,
-0.22970940172672272,
-0.22928784787654877,
-0.1832391917705536,
0.16618818044662476,
0.2359085977077484,
-0.6280848383903503,
0.0770159512758255,
0.33635494112968445,
-0.2419007420539856,
-0.11726423352956772,
-0.5756032466888428,
0.15863902866840363,
-0.08498768508434296,
0.6650910377502441,
0.0199027918279171,
-0.2598837912082672,
-0.26499703526496887,
0.21194984018802643,
0.13593442738056183,
0.055836524814367294,
1.0654468536376953,
-0.6130149960517883,
0.6636260747909546,
0.20734041929244995,
0.042724404484033585,
0.49294358491897583,
0.21532510221004486,
0.5979760885238647,
-0.4211709797382355,
0.24861177802085876,
0.5405027270317078,
0.3186857998371124,
0.1876133233308792,
-0.5353674292564392,
0.4363504648208618,
-0.1152835562825203,
-0.4930685758590698,
-1.0453686714172363,
0.2525067925453186,
-0.97481369972229,
-0.043604932725429535,
0.8185428380966187,
-0.42907342314720154,
0.12437429279088974,
0.056876957416534424,
-0.523297131061554,
0.1317705661058426,
-0.6329360604286194,
1.0194790363311768,
0.46718689799308777,
-0.4960305988788605,
-0.4055277109146118,
-0.08823127299547195,
0.26684698462486267,
0.030987795442342758,
-0.6609047651290894,
0.09812525659799576,
0.7232465147972107,
-0.06918668001890182,
0.02387244813144207,
0.5913586020469666,
0.1502850502729416,
0.3190382122993469,
0.2858389616012573,
0.03773200139403343,
-0.331511914730072,
-0.7640421986579895,
-0.43762633204460144,
0.32034772634506226,
-0.27248018980026245,
0.101620152592659
] |
http://arxiv.org/abs/2406.00029v1
|
http://arxiv.org/pdf/2406.00029v1
|
Clustered Retrieved Augmented Generation (CRAG)
| 2024-05-24T16:36:47 | 2024-05-24T16:36:47 |
Simon Akesson, Frances A. Santos
|
cs.CL
|
cs.CL, cs.AI
|
Providing external knowledge to Large Language Models (LLMs) is a key point
for using these models in real-world applications for several reasons, such as
incorporating up-to-date content in a real-time manner, providing access to
domain-specific knowledge, and contributing to hallucination prevention. The
vector database-based Retrieval Augmented Generation (RAG) approach has been
widely adopted to this end. Thus, any part of external knowledge can be
retrieved and provided to some LLM as the input context. Despite RAG approach's
success, it still might be unfeasible for some applications, because the
context retrieved can demand a longer context window than the size supported by
LLM. Even when the context retrieved fits into the context window size, the
number of tokens might be expressive and, consequently, impact costs and
processing time, becoming impractical for most applications. To address these,
we propose CRAG, a novel approach able to effectively reduce the number of
prompting tokens without degrading the quality of the response generated
compared to a solution using RAG. Through our experiments, we show that CRAG
can reduce the number of tokens by at least 46\%, achieving more than 90\% in
some cases, compared to RAG. Moreover, the number of tokens with CRAG does not
increase considerably when the number of reviews analyzed is higher, unlike
RAG, where the number of tokens is almost 9x higher when there are 75 reviews
compared to 4 reviews.
|
[
-0.7543189525604248,
-0.7331923246383667,
0.20723049342632294,
0.24997884035110474,
-0.5439120531082153,
0.273131787776947,
-0.5542545914649963,
-0.46231523156166077,
0.3151158392429352,
0.3933635652065277,
-0.31334388256073,
-0.4877610206604004,
-0.3986305594444275,
0.0813925564289093,
-0.47745281457901,
1.0509181022644043,
0.18540920317173004,
-0.07489895075559616,
-0.4565376043319702,
-0.18201974034309387,
-0.7968610525131226,
-0.6225578188896179,
-0.7019343972206116,
-0.16871017217636108,
0.6611695289611816,
0.37477022409439087,
0.1360533982515335,
0.4610026180744171,
0.4407055675983429,
0.1895688772201538,
-0.30661335587501526,
0.6475657224655151,
-0.773104190826416,
0.23622234165668488,
-0.3364567160606384,
-0.41930606961250305,
-0.32185161113739014,
-0.2545597553253174,
0.6261668801307678,
0.480246365070343,
-0.2646690607070923,
0.42623448371887207,
0.2504395544528961,
0.8282214999198914,
-0.7745584845542908,
-0.13546521961688995,
-1.204736590385437,
-0.2674272954463959,
-0.23028716444969177,
-0.31818726658821106,
-0.702694296836853,
-0.16450871527194977,
0.007777311839163303,
-0.4519999325275421,
0.4677733778953552,
0.1808328628540039,
0.7979632616043091,
0.16481058299541473,
-0.3743573725223541,
-0.3329809010028839,
-0.7080838084220886,
1.0089365243911743,
-0.4844576418399811,
0.2799670398235321,
0.3881087899208069,
0.2331342101097107,
-0.4034230709075928,
-0.764187753200531,
-0.6646528840065002,
-0.03771108016371727,
-0.25655925273895264,
-0.11381203681230545,
0.16048526763916016,
-0.2525680363178253,
0.10138732939958572,
0.2340121567249298,
-0.558911144733429,
-0.17127150297164917,
-0.4472016394138336,
-0.12868507206439972,
0.6190587878227234,
0.19958612322807312,
-0.03229602053761482,
-0.26305148005485535,
-0.8011087775230408,
0.14342805743217468,
-1.0673753023147583,
0.11586130410432816,
-0.04314950481057167,
0.6233178973197937,
-0.025891944766044617,
0.6753673553466797,
-0.05826853960752487,
0.8468055129051208,
0.3008650243282318,
-0.29267555475234985,
0.2721357047557831,
-0.38800254464149475,
-0.11104517430067062,
-0.10087095946073532,
0.4542543590068817,
0.2021539956331253,
0.07740110903978348,
0.060149889439344406,
-0.20881472527980804,
0.24271181225776672,
0.5054430365562439,
-0.6979989409446716,
0.0645551010966301,
0.28762003779411316,
-0.44310373067855835,
-0.313215434551239,
-0.024475738406181335,
-1.0222368240356445,
-0.45806363224983215,
-0.3712305724620819,
0.04026002809405327,
-0.3472556471824646,
-0.1397118866443634,
-0.49522605538368225,
-0.17714516818523407,
0.36534583568573,
0.318820595741272,
-0.4924471080303192,
0.06002160534262657,
0.8855962753295898,
0.8610851764678955,
-0.901056706905365,
0.15080419182777405,
-0.7510597109794617,
0.33958694338798523,
-0.43388697504997253,
1.2054351568222046,
-0.7212029099464417,
-0.7977500557899475,
0.07106711715459824,
-0.17108295857906342,
0.04506675526499748,
-0.7749056220054626,
0.40592947602272034,
-0.7304639220237732,
0.06644119322299957,
-0.41231557726860046,
-0.3074878454208374,
0.015133029781281948,
0.3559061288833618,
-0.3354867696762085,
1.1472623348236084,
0.05038068816065788,
-0.6272562146186829,
0.7728753089904785,
-0.12986287474632263,
-0.4419925808906555,
0.34446412324905396,
-0.48977217078208923,
-0.3572911024093628,
0.17157040536403656,
0.37815481424331665,
0.1827438622713089,
-0.36842021346092224,
0.27053341269493103,
-0.21111536026000977,
-0.32391929626464844,
-0.03997708484530449,
-0.03897373378276825,
0.42354804277420044,
0.39865633845329285,
-0.18827418982982635,
0.044878702610731125,
-0.8246361017227173,
0.053124409168958664,
-0.07502058893442154,
-0.603710412979126,
-0.5842112302780151,
-0.01442124042659998,
-0.2637578248977661,
0.16249926388263702,
0.17982643842697144,
-0.5562864542007446,
0.27212899923324585,
-0.4798920750617981,
-0.047293372452259064,
0.8392660617828369,
0.48345932364463806,
0.5673567652702332,
-0.36632946133613586,
0.6006733179092407,
0.1283266693353653,
-0.10688910633325577,
-0.08361581712961197,
-0.3729194402694702,
-0.764988362789154,
-0.730045735836029,
0.27835148572921753,
0.31422096490859985,
-1.0992093086242676,
0.23490330576896667,
-0.2654637396335602,
-0.44680747389793396,
-0.1643359214067459,
0.1599435955286026,
0.5900511741638184,
0.6567432284355164,
0.3442164659500122,
-0.19082023203372955,
-0.5654681921005249,
-0.6818284392356873,
-0.5937014818191528,
-0.08213651925325394,
0.14473876357078552,
0.5656815767288208,
0.14149823784828186,
-0.28684002161026,
1.217576026916504,
-0.5043466091156006,
-0.5219467282295227,
-0.4837959408760071,
-0.013022557832300663,
0.2586500942707062,
0.3973146975040436,
0.4916708767414093,
-0.7979422211647034,
-0.6557262539863586,
0.18359601497650146,
-0.4544404447078705,
-0.3016497492790222,
-0.07848203182220459,
-0.25100165605545044,
0.6854791045188904,
0.420932412147522,
-0.7266567945480347,
0.7547911405563354,
0.46078044176101685,
-0.2547900676727295,
0.5424310564994812,
0.1401287168264389,
0.11037709563970566,
-0.9563498497009277,
0.036003753542900085,
-0.2009206861257553,
-0.2723327577114105,
-0.4605729281902313,
-0.09941976517438889,
-0.15981289744377136,
-0.07740265876054764,
-0.5161775350570679,
0.8651072978973389,
-0.6800179481506348,
-0.013613134622573853,
-0.38942092657089233,
0.3006352186203003,
0.13508769869804382,
0.5910859107971191,
-0.1551334112882614,
0.9729963541030884,
0.1783589869737625,
-0.9946194291114807,
-0.004976434633135796,
0.4792729616165161,
-0.13544608652591705,
0.6670494079589844,
-0.45051172375679016,
0.09356334060430527,
-0.3327416777610779,
0.41990888118743896,
-0.9673239588737488,
-0.2444307655096054,
-0.043230269104242325,
-0.7334837317466736,
0.37987443804740906,
-0.3830432593822479,
-0.07958216965198517,
-0.229792520403862,
-0.2549566924571991,
0.5093515515327454,
0.5547447800636292,
-0.9148423671722412,
0.9175881743431091,
0.7842131853103638,
-0.22397734224796295,
-0.6523415446281433,
-0.43405863642692566,
-0.0673503577709198,
-0.3688143789768219,
-0.43744078278541565,
0.23913249373435974,
0.16790573298931122,
-0.26729100942611694,
-0.08457143604755402,
-0.09772884845733643,
0.15096284449100494,
-0.5229736566543579,
0.2498219609260559,
0.33351951837539673,
0.12856733798980713,
0.430433064699173,
-0.016843318939208984,
-0.08053849637508392,
-0.2954663336277008,
-0.08453644812107086,
0.8786997199058533,
0.14975319802761078,
-0.18657971918582916,
-0.025154924020171165,
0.5435402393341064,
0.2764786183834076,
-0.4102148711681366,
0.8167140483856201,
0.5920373797416687,
-0.2809816300868988,
-0.7937809228897095,
-0.7290781736373901,
-0.04338265210390091,
-0.5398347973823547,
0.09219112247228622,
-0.45864611864089966,
-1.0653233528137207,
0.5583390593528748,
-0.21073943376541138,
0.2890145778656006,
0.42578887939453125,
0.9479542374610901,
0.20626841485500336,
1.0557173490524292,
0.3055325448513031,
0.17942942678928375,
0.690285325050354,
-0.24173781275749207,
0.2775769531726837,
-0.8984254002571106,
-0.410534530878067,
-0.6046841740608215,
-0.11159239709377289,
-0.24904844164848328,
-0.5970937013626099,
0.6987044811248779,
0.2480422407388687,
-0.0938979759812355,
0.16813014447689056,
-0.9042529463768005,
0.21391144394874573,
0.4471035301685333,
-0.10876940935850143,
0.34190633893013,
0.480245977640152,
-0.2535858452320099,
0.07449868321418762,
-0.8677241206169128,
-0.31274962425231934,
0.8923548460006714,
-0.0940745621919632,
0.7347924113273621,
0.112391896545887,
0.8048633337020874,
0.4920189678668976,
0.4184003174304962,
-0.7334339022636414,
0.7971368432044983,
0.07478521019220352,
-0.49700990319252014,
-0.11578593403100967,
-0.6099108457565308,
-1.237776279449463,
0.48435738682746887,
-0.38004884123802185,
-0.6762784123420715,
0.5113010406494141,
0.36298757791519165,
-0.1489075869321823,
0.16875512897968292,
-0.7311888337135315,
0.16986115276813507,
0.1134287416934967,
-0.48327207565307617,
-0.3236629366874695,
-0.37579527497291565,
0.5129756331443787,
-0.21473245322704315,
0.43326041102409363,
-0.02189435437321663,
-0.07802724838256836,
0.5664311647415161,
-0.7604581713676453,
0.701299786567688,
-0.46188896894454956,
-0.07785536348819733,
1.0114881992340088,
0.2129458338022232,
0.9614640474319458,
0.1387697160243988,
0.018186990171670914,
0.06804095953702927,
-0.048128046095371246,
-0.24765583872795105,
-0.6676290035247803,
1.017411708831787,
-0.49180278182029724,
-0.5503400564193726,
-0.44368457794189453,
-0.47494131326675415,
-0.3185431659221649,
0.07186099886894226,
0.23049983382225037,
0.6191319227218628,
0.15749388933181763,
0.1704760491847992,
0.4164799451828003,
-0.44006627798080444,
0.4470369517803192,
0.21329562366008759,
-0.40604621171951294,
-0.8625967502593994,
1.0645577907562256,
0.17219285666942596,
0.26706454157829285,
-0.14609220623970032,
0.1255493313074112,
-0.3004665672779083,
-0.5166907906532288,
-0.3325617015361786,
0.3732704520225525,
-0.5624738335609436,
-0.5820971727371216,
-0.7904812097549438,
0.06199987605214119,
-0.6424437761306763,
-0.16987599432468414,
-0.19417713582515717,
-0.5528221130371094,
-0.272875040769577,
0.030397476628422737,
0.7001718282699585,
0.7074113488197327,
-0.05411946028470993,
0.29401981830596924,
-1.0055700540542603,
0.5289202928543091,
0.1276697963476181,
0.4677834212779999,
0.20913608372211456,
-0.5369171500205994,
-0.32037651538848877,
-0.23245881497859955,
0.00733935134485364,
-0.5635831356048584,
0.613637387752533,
0.20062868297100067,
0.5786963105201721,
0.1454470306634903,
0.32799944281578064,
1.115521788597107,
-0.6327165961265564,
0.9811655282974243,
0.06055204197764397,
-0.5743963122367859,
0.1986037641763687,
-0.4830660820007324,
0.18648415803909302,
0.6312126517295837,
0.006378617603331804,
-0.29015710949897766,
-0.18344904482364655,
-0.5541481971740723,
-1.268149971961975,
0.41227319836616516,
-0.01518030185252428,
0.030916916206479073,
-0.5056201815605164,
0.4676979184150696,
0.06305935978889465,
0.4142107665538788,
-0.3312535285949707,
-0.04548031836748123,
0.27642714977264404,
0.09414298832416534,
0.3115241527557373,
-0.45903265476226807,
-0.25038716197013855,
-0.19994302093982697,
0.8933883309364319,
0.003429182106629014,
0.4285565912723541,
0.3654884099960327,
-0.0070100692100822926,
-0.13612765073776245,
0.07455113530158997,
0.5679858326911926,
0.8136425614356995,
0.2211277186870575,
0.07024578005075455,
0.36368852853775024,
-0.5092355012893677,
-0.07873739302158356,
-0.4787999391555786,
-0.1256178915500641,
0.15936017036437988,
0.1954587996006012,
0.43645697832107544,
-0.4162863492965698,
-0.8089777231216431,
0.4953984022140503,
0.09761883318424225,
0.03496300429105759,
-0.6790854930877686,
-0.05481671914458275,
-0.3142666220664978,
0.1652747541666031,
0.6169262528419495,
-0.12113797664642334,
-0.004760542418807745,
-0.25273558497428894,
0.5766658186912537,
0.8003055453300476,
-0.3501266539096832,
0.03906240686774254,
0.43054601550102234,
0.2623845636844635,
-0.42419782280921936,
0.1250673532485962,
-0.247162327170372,
-0.4022331237792969,
0.34544023871421814,
0.7175801992416382,
0.653274655342102,
0.038287680596113205,
0.003627166850492358,
0.47975096106529236,
-0.003962239716202021,
0.024377375841140747,
0.2588481605052948,
0.02177044004201889,
-0.5115696787834167,
-0.6233565211296082,
-0.9085968136787415,
-0.08372775465250015,
-0.10683828592300415,
-0.7404440641403198,
0.3930380642414093,
-0.43676048517227173,
-0.4208548367023468,
-0.500548779964447,
-0.15639667212963104,
-0.42144104838371277,
0.1398007571697235,
-0.1373017579317093,
0.8798841834068298,
-0.37436187267303467,
0.5806775689125061,
0.4554291367530823,
-0.2332325577735901,
-0.8558663725852966,
-0.22989585995674133,
-0.008660867810249329,
-0.7356441617012024,
0.5225368142127991,
-0.09161467105150223,
-0.2713020443916321,
-0.009541363455355167,
-0.6898849010467529,
-1.0395625829696655,
0.8699440360069275,
-0.11911705881357193,
-0.5507205128669739,
0.0759996771812439,
-0.04353005811572075,
0.6325272917747498,
-0.6202256083488464,
-0.3485688269138336,
0.5774489641189575,
0.3611552119255066,
0.42423298954963684,
-0.7045246958732605,
0.04931927099823952,
-0.1640385240316391,
0.19000831246376038,
0.4697025418281555,
-0.6513004302978516,
0.9095022082328796,
-0.09749913960695267,
-0.5761036276817322,
0.015870820730924606,
0.7619977593421936,
0.886234700679779,
0.37454307079315186,
0.6616533994674683,
0.5708320736885071,
0.5582975745201111,
0.1925562173128128,
1.1435617208480835,
-0.29999473690986633,
0.3146072030067444,
1.1946686506271362,
-0.4346109628677368,
0.8863588571548462,
0.809583842754364,
0.023267291486263275,
0.6809635162353516,
0.31631922721862793,
0.21091710031032562,
0.5126533508300781,
0.2746328115463257,
-0.5656884908676147,
-0.2519916594028473,
-0.3562485873699188,
-0.3238181471824646,
0.2124924510717392,
0.5804041624069214,
-0.24313697218894958,
-0.2003089189529419,
0.12934395670890808,
0.04998517781496048,
0.23683102428913116,
-0.49431586265563965,
1.0879982709884644,
0.23571482300758362,
-0.9463354349136353,
0.9568960666656494,
-0.2333642840385437,
0.5834212899208069,
-0.44198450446128845,
-0.4289095997810364,
-0.15364569425582886,
0.28408849239349365,
-0.3785175383090973,
-0.31760889291763306,
0.3819313943386078,
0.17312374711036682,
-0.1881036013364792,
-0.006712695118039846,
0.9604688286781311,
-0.5583804249763489,
-0.5687010884284973,
0.164459228515625,
0.5891236066818237,
0.08854157477617264,
0.19175119698047638,
-0.30103152990341187,
0.2828417420387268,
-0.03209966793656349,
-0.3502850830554962,
0.4136454463005066,
0.44411590695381165,
-0.4761818051338196,
0.6266639232635498,
0.9591580033302307,
0.3655385971069336,
0.2526308000087738,
-0.05786841735243797,
1.3103927373886108,
-0.5138221979141235,
-0.4961896240711212,
-0.6273379325866699,
0.5724955797195435,
-0.2018955647945404,
-0.04966723173856735,
0.9183364510536194,
0.5798473358154297,
0.6895537972450256,
0.023396631702780724,
0.8865732550621033,
-0.27204689383506775,
1.1816238164901733,
-0.2767779231071472,
0.55052649974823,
-0.4960992634296417,
0.5093379616737366,
-0.16361261904239655,
-0.9243567585945129,
-0.4204823672771454,
0.3562665283679962,
-0.18985268473625183,
-0.022709453478455544,
0.5706508755683899,
0.9265304207801819,
0.32834112644195557,
-0.43340688943862915,
0.12194672971963882,
0.036995138972997665,
0.5892454981803894,
0.06134174019098282,
0.7311594486236572,
0.05900247022509575,
0.7296709418296814,
0.26654985547065735,
-0.26632291078567505,
-0.07004321366548538,
-0.752487301826477,
-1.1467485427856445,
-0.4081573784351349,
0.16029703617095947,
-0.7030536532402039,
-0.023752793669700623,
1.1046597957611084,
0.47009384632110596,
-0.8796838521957397,
-0.05612122267484665,
0.03463435173034668,
0.10800866037607193,
-0.023742930963635445,
-0.3126930892467499,
0.408605694770813,
-0.703701376914978,
-0.4618500769138336,
0.43926456570625305,
0.11197177320718765,
-0.34993237257003784,
-0.18020127713680267,
0.12144722789525986,
-0.28241580724716187,
0.2643851935863495,
0.9312613010406494,
0.2601813077926636,
-0.6474913358688354,
-0.542715311050415,
-0.08172287791967392,
0.008775320835411549,
0.18081478774547577,
1.0331315994262695,
-1.369794487953186,
0.35032373666763306,
0.911928653717041,
0.7756741642951965,
0.6878504753112793,
0.6242340803146362,
0.5489012598991394,
-1.0381909608840942,
0.3173910975456238,
0.27518031001091003,
0.13721369206905365,
0.10230609774589539,
-0.5251169800758362,
0.5150147676467896,
0.2939779460430145,
-0.6959210634231567,
-1.1050751209259033,
0.413801372051239,
-1.1009726524353027,
-0.21025361120700836,
1.592320203781128,
0.1359647810459137,
-0.31787922978401184,
-0.3583967685699463,
-0.4255671203136444,
0.07312221825122833,
-0.6881774663925171,
0.761817991733551,
0.27704980969429016,
-0.2833094894886017,
-0.05640058219432831,
-0.2861519455909729,
0.7751254439353943,
0.21134446561336517,
-0.7065393924713135,
0.22164525091648102,
0.7398397326469421,
0.10328060388565063,
0.3061085641384125,
0.6855148077011108,
-0.3953198790550232,
-0.0724828690290451,
-0.16331152617931366,
0.15719328820705414,
0.011827007867395878,
-0.555182933807373,
-0.22800393402576447,
0.4667632579803467,
-0.015671564266085625,
-0.06313268840312958
] |
http://arxiv.org/abs/2405.15683v1
|
http://arxiv.org/pdf/2405.15683v1
|
VDGD: Mitigating LVLM Hallucinations in Cognitive Prompts by Bridging the Visual Perception Gap
| 2024-05-24T16:21:59 | 2024-05-24T16:21:59 |
Sreyan Ghosh, Chandra Kiran Reddy Evuru, Sonal Kumar, Utkarsh Tyagi, Oriol Nieto, Zeyu Jin, Dinesh Manocha
|
cs.CV
|
cs.CV, cs.AI, cs.CL
|
Recent interest in Large Vision-Language Models (LVLMs) for practical
applications is moderated by the significant challenge of hallucination or the
inconsistency between the factual information and the generated text. In this
paper, we first perform an in-depth analysis of hallucinations and discover
several novel insights about how and when LVLMs hallucinate. From our analysis,
we show that: (1) The community's efforts have been primarily targeted towards
reducing hallucinations related to visual recognition (VR) prompts (e.g.,
prompts that only require describing the image), thereby ignoring
hallucinations for cognitive prompts (e.g., prompts that require additional
skills like reasoning on contents of the image). (2) LVLMs lack visual
perception, i.e., they can see but not necessarily understand or perceive the
input image. We analyze responses to cognitive prompts and show that LVLMs
hallucinate due to a perception gap: although LVLMs accurately recognize visual
elements in the input image and possess sufficient cognitive skills, they
struggle to respond accurately and hallucinate. To overcome this shortcoming,
we propose Visual Description Grounded Decoding (VDGD), a simple, robust, and
training-free method for alleviating hallucinations. Specifically, we first
describe the image and add it as a prefix to the instruction. Next, during
auto-regressive decoding, we sample from the plausible candidates according to
their KL-Divergence (KLD) to the description, where lower KLD is given higher
preference. Experimental results on several benchmarks and LVLMs show that VDGD
improves significantly over other baselines in reducing hallucinations. We also
propose VaLLu, a benchmark for the comprehensive evaluation of the cognitive
capabilities of LVLMs.
|
[
-0.6774767637252808,
-0.984369695186615,
0.745049238204956,
0.16709639132022858,
-0.4133843779563904,
-0.2263685166835785,
-0.18051184713840485,
-0.5305200219154358,
0.1666353940963745,
0.7555325627326965,
-0.7095618844032288,
-0.5031976699829102,
-0.46127867698669434,
0.046500395983457565,
-0.282903254032135,
0.5209128260612488,
0.08290594071149826,
0.15979303419589996,
-0.6158967614173889,
0.0637737587094307,
-0.9250158667564392,
-0.6577233672142029,
-0.32888907194137573,
-0.034604694694280624,
0.3539450466632843,
-0.015574736520648003,
0.6311414837837219,
0.5178779363632202,
0.5038104057312012,
0.1937873214483261,
-0.22048123180866241,
0.30341437458992004,
-0.6357905268669128,
0.22779451310634613,
0.08694261312484741,
-0.1472899317741394,
-0.10741828382015228,
-0.40174877643585205,
0.4419154226779938,
0.7667613625526428,
-0.22727392613887787,
-0.27027156949043274,
0.16293585300445557,
0.7521929740905762,
-0.7458423972129822,
0.10236448049545288,
-0.4370851218700409,
0.6071295142173767,
0.11908404529094696,
-0.3975888788700104,
-0.4871364235877991,
-0.13428176939487457,
0.05675143375992775,
-0.5466595888137817,
0.4952715337276459,
0.02454604208469391,
0.7287169694900513,
0.6002774834632874,
-0.11849507689476013,
-0.18704767525196075,
-0.7603174448013306,
0.39502644538879395,
-0.3302953541278839,
0.5831748843193054,
0.42644456028938293,
0.3749750852584839,
-0.18794681131839752,
-0.561307430267334,
-0.5135435461997986,
-0.3826023042201996,
-0.15586966276168823,
0.29694628715515137,
-0.1314876824617386,
0.3404885530471802,
0.6083754301071167,
0.37178051471710205,
-0.8097341656684875,
0.039641622453927994,
-0.6211947798728943,
-0.4091131389141083,
0.3009318709373474,
0.4533708393573761,
0.2083129584789276,
-0.10287028551101685,
-0.5885372757911682,
0.0010962382657453418,
-0.39525237679481506,
0.18412016332149506,
-0.09550799429416656,
-0.02448934316635132,
0.221713125705719,
0.6866804957389832,
-0.2614774703979492,
0.7458201050758362,
-0.10401902347803116,
0.051544804126024246,
0.09388252347707748,
-0.05995083600282669,
-0.4852294325828552,
0.1366245001554489,
0.3386804163455963,
0.8351872563362122,
0.2949448823928833,
-0.01412516925483942,
-0.19157259166240692,
0.467022180557251,
0.5380547642707825,
-0.688159704208374,
-0.43752503395080566,
0.1312684416770935,
-0.8151105642318726,
-0.34562811255455017,
-0.033948998898267746,
-1.0101908445358276,
-0.832360029220581,
-0.4254806935787201,
0.3999144732952118,
-0.286361426115036,
-0.1482568085193634,
0.45703795552253723,
-0.2676977217197418,
0.46765372157096863,
0.7008081078529358,
-0.6034319996833801,
0.30290910601615906,
0.3179923892021179,
0.7158696055412292,
-0.36896422505378723,
-0.1620405614376068,
-0.6640282869338989,
-0.1706089973449707,
-0.349814236164093,
0.7111794352531433,
-0.28428953886032104,
-0.5187937617301941,
0.13645461201667786,
0.07885647565126419,
0.23692068457603455,
-0.5997020602226257,
0.5155304074287415,
-0.3237927258014679,
0.1008843332529068,
-0.6546268463134766,
-0.3741188943386078,
-0.32513663172721863,
0.20129960775375366,
-0.6846143007278442,
0.7543125152587891,
-0.10224758088588715,
-0.6009829640388489,
0.34556928277015686,
-0.08274110406637192,
-0.2090703397989273,
0.3420584797859192,
-0.405023992061615,
-0.03016132488846779,
0.5477561950683594,
0.5415875315666199,
0.3668246269226074,
-0.09816500544548035,
0.03297112509608269,
-0.12786422669887543,
-0.5200988054275513,
0.10040941089391708,
-0.5473677515983582,
0.6034545302391052,
0.26757702231407166,
-0.2994460463523865,
0.3496302366256714,
-0.6925290822982788,
0.016565704718232155,
0.26691368222236633,
0.1059127077460289,
-0.46468648314476013,
0.032128773629665375,
-0.11098846048116684,
0.0060949623584747314,
-0.08303321152925491,
-0.008120500482618809,
0.318564236164093,
-0.18565067648887634,
0.09583411365747452,
0.8323349356651306,
0.022703560069203377,
0.2007535696029663,
-0.0056251357309520245,
0.47890931367874146,
0.1954481303691864,
0.4398948550224304,
-0.2602763772010803,
-0.47020524740219116,
-0.7450466752052307,
-0.4237823784351349,
-0.29893702268600464,
0.6281392574310303,
-1.1653130054473877,
0.415596604347229,
0.05714407190680504,
-0.1123681515455246,
-0.5113462209701538,
-0.16989031434059143,
0.24908021092414856,
0.7254931926727295,
0.5891168713569641,
-0.2529473602771759,
-0.4588717520236969,
-0.7388566136360168,
0.09128358960151672,
-0.08167168498039246,
0.03178413212299347,
0.20096495747566223,
0.29154619574546814,
-0.34860068559646606,
0.5622814297676086,
-0.5275377631187439,
-0.4999893307685852,
-0.018330438062548637,
-0.31751102209091187,
-0.13989481329917908,
0.15458056330680847,
0.35904020071029663,
-0.6732211709022522,
-0.02627229318022728,
-0.004207946825772524,
-1.1911457777023315,
-0.20521017909049988,
-0.28206607699394226,
0.008314821869134903,
0.2601155936717987,
0.791610836982727,
-0.7630525231361389,
1.022073745727539,
0.1768641322851181,
-0.627609133720398,
0.6217751502990723,
-0.38006311655044556,
0.07660278677940369,
-0.4503689408302307,
-0.27539899945259094,
-0.2333945333957672,
-0.11029960960149765,
-0.5648093223571777,
0.1640821397304535,
-0.1044369786977768,
0.014414316043257713,
-0.26127007603645325,
0.41922876238822937,
-0.5885448455810547,
-0.19842098653316498,
-0.16138970851898193,
0.2262323796749115,
0.03653324395418167,
0.43444252014160156,
0.3321300148963928,
0.3736811578273773,
1.0339016914367676,
-0.6367936134338379,
0.5445308089256287,
0.20800453424453735,
-0.28528714179992676,
0.6623939871788025,
-0.6382997632026672,
-0.04271484166383743,
-0.4710168242454529,
0.10400081425905228,
-0.9526998400688171,
-0.015136029571294785,
0.5801908373832703,
-0.3494233787059784,
0.040954407304525375,
0.10884500294923782,
-0.15549704432487488,
-0.5006065964698792,
-0.22234734892845154,
0.5083428621292114,
0.7686251401901245,
-0.7862877249717712,
0.5932224988937378,
-0.10309058427810669,
0.3202497065067291,
-0.49604541063308716,
-0.6205891370773315,
0.3556526005268097,
-0.2536979615688324,
-0.5087531208992004,
0.21584036946296692,
-0.322379469871521,
-0.4200855791568756,
0.09648548066616058,
-0.10110708326101303,
0.26232007145881653,
-0.03367907926440239,
0.3247108459472656,
0.2295900583267212,
-0.24598513543605804,
0.14031553268432617,
-0.2603532075881958,
-0.08213759958744049,
0.28360798954963684,
-0.37284401059150696,
0.5875029563903809,
-0.12893758714199066,
-0.49405333399772644,
-0.31734588742256165,
0.4196842908859253,
0.6319404244422913,
-0.2663632035255432,
0.5912271738052368,
0.7949323058128357,
-0.5453500151634216,
-0.32291656732559204,
-0.5804261565208435,
-0.3931858241558075,
-0.4270404875278473,
0.24327367544174194,
-0.516608715057373,
-0.6596485376358032,
0.5300278663635254,
0.23914365470409393,
-0.5098575949668884,
0.12372138351202011,
0.6666995882987976,
-0.11040793359279633,
0.9585078358650208,
0.6285545825958252,
0.2631472647190094,
0.20281068980693817,
-0.1741177886724472,
0.18733273446559906,
-0.7244558334350586,
-0.3934512734413147,
-0.06120644509792328,
0.013134481385350227,
-0.24739272892475128,
-0.5941469073295593,
0.26665306091308594,
0.2849988043308258,
0.20506766438484192,
-0.34644463658332825,
-0.8856478929519653,
0.6724119782447815,
0.400177001953125,
0.2185155302286148,
0.13763229548931122,
0.2536534368991852,
-0.09817152470350266,
-0.44354358315467834,
-0.5357891917228699,
-0.23106534779071808,
0.5442488193511963,
0.26522859930992126,
0.8008539080619812,
-0.22307078540325165,
0.5199068784713745,
0.6503868103027344,
-0.3685459792613983,
-0.9617098569869995,
0.7352042198181152,
0.24319049715995789,
0.047965746372938156,
-0.22444623708724976,
-0.18675918877124786,
-0.6709070205688477,
0.5217748284339905,
-0.2944026589393616,
-0.6923954486846924,
0.46579888463020325,
0.07668373733758926,
-0.26527613401412964,
0.20984618365764618,
-0.3928503692150116,
0.8212380409240723,
-0.26126396656036377,
-0.39405959844589233,
-0.19865959882736206,
-0.5821108222007751,
0.54279625415802,
0.25517991185188293,
0.04586523398756981,
0.4247962236404419,
0.20658203959465027,
0.26629969477653503,
-0.3744314908981323,
0.795377790927887,
-0.4011615812778473,
-0.2241533249616623,
0.21475720405578613,
0.1394950896501541,
0.4606401324272156,
0.08135399967432022,
0.5559731721878052,
0.1857668161392212,
-0.2556983530521393,
-0.34558960795402527,
-0.7803446054458618,
0.5890662670135498,
-0.5460379123687744,
-0.7410798668861389,
-0.3883434534072876,
-0.4324188232421875,
0.059841711074113846,
-0.009230717085301876,
0.5655340552330017,
0.36194056272506714,
-0.2864609658718109,
0.18364515900611877,
1.2211511135101318,
-0.4937695562839508,
0.3172878324985504,
-0.01066137757152319,
-0.6693395376205444,
-0.5185022354125977,
0.6893665194511414,
-0.06845846027135849,
0.16740447282791138,
0.07920724898576736,
0.00038776398287154734,
-0.27000635862350464,
-0.686265230178833,
-0.31317269802093506,
0.13245053589344025,
-1.2105472087860107,
0.07489442080259323,
-0.6843025088310242,
-0.20609509944915771,
-0.2698920667171478,
-0.2777059078216553,
-0.09040321409702301,
-0.04215920343995094,
-0.3751624822616577,
-0.2734290659427643,
0.3227122128009796,
0.6421632170677185,
0.014434740878641605,
-0.0859159529209137,
-0.43937215209007263,
0.8165795803070068,
0.3423539996147156,
0.17466683685779572,
0.19070114195346832,
-0.38460075855255127,
-0.05703621357679367,
-0.030426939949393272,
0.13288211822509766,
-0.8021290898323059,
0.5746130347251892,
-0.3486339747905731,
0.6131535172462463,
0.4746587574481964,
0.2589437961578369,
0.9558048248291016,
-0.4103088676929474,
1.0476255416870117,
0.317893922328949,
-0.8014464378356934,
0.6307470798492432,
-0.016262032091617584,
0.008821745403110981,
0.05629498511552811,
-0.012866859324276447,
-0.525113582611084,
-0.24735815823078156,
-0.2970167398452759,
-0.8570614457130432,
0.27348583936691284,
0.3565147817134857,
-0.08377872407436371,
-0.004597668536007404,
0.2758243680000305,
0.14491844177246094,
0.049022454768419266,
-0.7602136135101318,
-0.17196081578731537,
-0.5116618871688843,
0.09482372552156448,
-0.03418147191405296,
-0.49025240540504456,
-0.37738293409347534,
-0.4813615083694458,
0.10054691880941391,
-0.04982835426926613,
0.4463503956794739,
0.6459395885467529,
-0.20865654945373535,
-0.07083156704902649,
-0.23037908971309662,
0.9877690076828003,
0.32242056727409363,
-0.13012617826461792,
0.3284267783164978,
0.06579980254173279,
-0.5963909029960632,
-0.07677830755710602,
-0.2790030539035797,
-0.1229432076215744,
0.16574783623218536,
0.45155051350593567,
1.246324896812439,
-0.5023103356361389,
-0.675350546836853,
0.44440755248069763,
-0.431509792804718,
-0.2689421772956848,
-0.41784483194351196,
-0.04277145490050316,
-0.2502886950969696,
0.4922650456428528,
0.3293091654777527,
0.19318422675132751,
0.13075384497642517,
-0.3116223216056824,
0.12867435812950134,
0.45828425884246826,
-0.47000792622566223,
-0.1288929581642151,
0.7352114319801331,
-0.1404331475496292,
-0.4062686860561371,
0.7352786064147949,
-0.09367965161800385,
-0.43713679909706116,
0.6331539750099182,
0.43171900510787964,
1.0984747409820557,
0.011341218836605549,
0.10664959996938705,
0.1526339203119278,
0.58430016040802,
-0.13729582726955414,
0.3240286707878113,
-0.21270185708999634,
-0.5965073704719543,
-0.061599861830472946,
-0.3730492889881134,
-0.01071830652654171,
0.2495957762002945,
-0.8634568452835083,
0.35189977288246155,
-0.5089132785797119,
0.014269435778260231,
-0.41998812556266785,
-0.5190173983573914,
-0.6889840364456177,
0.20813454687595367,
0.5064334273338318,
0.5802850723266602,
-0.72417813539505,
0.6475388407707214,
0.2809916138648987,
-0.4369722902774811,
-0.26287829875946045,
0.30966487526893616,
-0.08881940692663193,
-0.7020344734191895,
0.5654939413070679,
0.307743102312088,
-0.16427376866340637,
-0.021006640046834946,
-0.6365363597869873,
-0.4052306115627289,
0.9608823657035828,
0.0056679691188037395,
-0.4819192886352539,
0.056947022676467896,
-0.08445066213607788,
0.6422681212425232,
-0.44894805550575256,
-0.1080596074461937,
0.4108330011367798,
0.48110195994377136,
0.23627911508083344,
-0.5134746432304382,
0.2848972678184509,
-0.24570541083812714,
0.19151729345321655,
-0.11788947880268097,
-0.16955623030662537,
0.7265754342079163,
-0.5641584396362305,
-0.24477197229862213,
0.07310907542705536,
0.5457478165626526,
0.28054437041282654,
0.5491788387298584,
0.4680432379245758,
0.43807145953178406,
0.9980327486991882,
-0.09335397183895111,
1.0020581483840942,
-0.0049446565099060535,
0.07175315171480179,
0.7770732641220093,
-0.2547687888145447,
0.48727428913116455,
0.8205142617225647,
0.1769467443227768,
0.10397965461015701,
0.5511478185653687,
-0.10920856893062592,
0.8401090502738953,
0.25684091448783875,
-0.20702172815799713,
-0.3744743764400482,
-0.1397504210472107,
-0.7829863429069519,
0.13908062875270844,
0.5421468019485474,
-0.2549998164176941,
0.02437984012067318,
0.5424624681472778,
-0.5459924340248108,
0.17896761000156403,
-0.4989987313747406,
0.7629733085632324,
0.1517198532819748,
-0.3767278492450714,
1.1767414808273315,
-0.4761066138744354,
0.42510825395584106,
-0.3297070264816284,
-0.2755624055862427,
-0.4307246506214142,
0.16659587621688843,
-0.24287422001361847,
-0.6105830073356628,
0.2514941394329071,
-0.18202988803386688,
-0.3399598300457001,
-0.1899796426296234,
0.8419395089149475,
-0.3790156841278076,
-0.3388155698776245,
0.5147837996482849,
0.40950095653533936,
0.2573964595794678,
-0.19757942855358124,
-0.2947855293750763,
0.4295475482940674,
0.13438567519187927,
-0.026638047769665718,
0.0920705795288086,
0.7376693487167358,
-0.29235318303108215,
0.6247552037239075,
0.48874369263648987,
0.13899047672748566,
0.1901593804359436,
0.26044991612434387,
0.8359746932983398,
-0.9278632402420044,
-0.5454292297363281,
-0.9029610753059387,
0.6711497902870178,
-0.023274539038538933,
-0.005050045438110828,
0.6439064741134644,
0.12915311753749847,
0.675639271736145,
-0.6358149647712708,
0.7454390525817871,
0.14814767241477966,
-0.1304422914981842,
-0.9511630535125732,
0.6134461760520935,
-0.6836922764778137,
0.39253249764442444,
-0.2583690583705902,
-0.967348039150238,
-0.4898962676525116,
0.8180762529373169,
-0.005637417081743479,
-0.13309739530086517,
0.8380095958709717,
0.8363810777664185,
0.10588346421718597,
-0.22733841836452484,
0.7694818377494812,
0.303764283657074,
0.3125683069229126,
0.5549856424331665,
1.2442295551300049,
-0.2168993055820465,
0.33438804745674133,
-0.09808944165706635,
-0.036729130893945694,
-0.49498042464256287,
-0.7307525277137756,
-1.1486966609954834,
-0.5484544634819031,
-0.2844698131084442,
-0.47779908776283264,
0.14447569847106934,
0.552176833152771,
0.320639431476593,
-0.4578954577445984,
-0.010848093777894974,
-0.3431512713432312,
0.18971243500709534,
-0.411565363407135,
-0.2745027542114258,
0.2799169421195984,
-0.3113425672054291,
-0.2463853657245636,
0.23723581433296204,
0.4881477355957031,
0.3372804522514343,
-0.6498306393623352,
-0.32437869906425476,
0.4737117290496826,
-0.03992459923028946,
0.8510352373123169,
0.08306770771741867,
-1.3510639667510986,
-0.3014032542705536,
0.27616336941719055,
-0.17858092486858368,
0.061756718903779984,
0.7173269391059875,
-1.1857473850250244,
0.7693647742271423,
0.49274563789367676,
0.5469914078712463,
0.33160898089408875,
-0.051936373114585876,
0.3756839334964752,
-0.37517938017845154,
0.38461899757385254,
0.1625719964504242,
0.2509048283100128,
0.3359139561653137,
-0.6705945730209351,
0.42654404044151306,
0.5493370890617371,
-0.3037415146827698,
-1.048799753189087,
0.35048842430114746,
-1.331727385520935,
-0.45508435368537903,
1.1234660148620605,
0.2936418354511261,
-0.19387535750865936,
-0.06674321740865707,
-0.8981740474700928,
-0.07910560071468353,
0.004308988340198994,
0.9579192996025085,
0.7123222351074219,
0.09586779028177261,
-0.48489871621131897,
-0.6327828168869019,
0.8175469636917114,
0.22288869321346283,
-0.5878323316574097,
0.42593854665756226,
0.8668130040168762,
-0.26203489303588867,
-0.03520859032869339,
0.6087735295295715,
0.11582581698894501,
0.43373844027519226,
0.0945267528295517,
0.244968980550766,
-0.14659708738327026,
-0.5830288529396057,
-0.7140273451805115,
0.15905816853046417,
-0.1547800451517105,
-0.2929055690765381
] |
http://arxiv.org/abs/2405.15640v1
|
http://arxiv.org/pdf/2405.15640v1
|
GECKO: Generative Language Model for English, Code and Korean
| 2024-05-24T15:30:41 | 2024-05-24T15:30:41 |
Sungwoo Oh, Donggyu Kim
|
cs.CL
|
cs.CL, cs.AI
|
We introduce GECKO, a bilingual large language model (LLM) optimized for
Korean and English, along with programming languages. GECKO is pretrained on
the balanced, high-quality corpus of Korean and English employing LLaMA
architecture. In this report, we share the experiences of several efforts to
build a better data pipeline for the corpus and to train our model. GECKO shows
great efficiency in token generations for both Korean and English, despite its
small size of vocabulary. We measure the performance on the representative
benchmarks in terms of Korean, English and Code, and it exhibits great
performance on KMMLU (Korean MMLU) and modest performance in English and Code,
even with its smaller number of trained tokens compared to English-focused
LLMs. GECKO is available to the open-source community under a permissive
license. We hope our work offers a research baseline and practical insights for
Korean LLM research. The model can be found at:
https://huggingface.co/kifai/GECKO-7B
|
[
-0.19304315745830536,
-0.5116985440254211,
0.09280987828969955,
0.6697397828102112,
-0.29477429389953613,
0.3283710181713104,
-0.481591135263443,
-0.5523542165756226,
0.39815613627433777,
0.4892332851886749,
0.04892284423112869,
-0.7815651893615723,
-0.41217896342277527,
0.25805994868278503,
-0.3017677068710327,
0.9470658302307129,
-0.06206474453210831,
0.32009944319725037,
-0.4695437252521515,
-0.04506780207157135,
-0.3842509686946869,
-0.6771987676620483,
-0.6770473718643188,
-0.7304810881614685,
0.25519272685050964,
0.42035719752311707,
0.8041900396347046,
0.7880985140800476,
0.050742484629154205,
0.27655506134033203,
-0.2395225465297699,
-0.029152847826480865,
-0.5358438491821289,
-0.05755125731229782,
-0.01636544242501259,
-0.4621465802192688,
-0.668086588382721,
-0.157785102725029,
0.4378277361392975,
0.800723135471344,
-0.37575504183769226,
0.056101761758327484,
0.045437611639499664,
0.4695128798484802,
-0.46959492564201355,
0.4180515706539154,
-0.5339478254318237,
0.1250987946987152,
-0.4041525721549988,
0.12171187251806259,
-0.5025290846824646,
-0.20634379982948303,
-0.264024555683136,
-0.8495182394981384,
0.06936591863632202,
-0.12009497731924057,
0.9117279052734375,
-0.10536518692970276,
-0.5963582396507263,
-0.558283805847168,
-0.6955680251121521,
0.6690120100975037,
-0.5378826856613159,
0.3793586194515228,
0.3271700441837311,
0.13214334845542908,
-0.14192920923233032,
-0.949627161026001,
-0.48030564188957214,
-0.6848885416984558,
0.12976209819316864,
0.11056811362504959,
-0.16744503378868103,
0.044153567403554916,
0.020789319649338722,
0.6280012130737305,
-0.7087144255638123,
0.4366244077682495,
-0.27908799052238464,
-0.477769672870636,
0.567671537399292,
0.15032333135604858,
0.6043617725372314,
-0.26848191022872925,
-0.24898722767829895,
0.05824194476008415,
-0.8428823947906494,
0.04392853006720543,
0.8718212246894836,
0.28520500659942627,
-0.25752684473991394,
0.6126917004585266,
-0.23342938721179962,
0.5946089029312134,
-0.28652137517929077,
-0.06049608811736107,
0.40082091093063354,
-0.44158828258514404,
0.005949161481112242,
-0.03931634500622749,
0.8184140920639038,
0.3290020227432251,
0.4546927809715271,
-0.30029886960983276,
-0.13874028623104095,
0.6848067045211792,
0.12476179003715515,
-0.6898906826972961,
-0.43893593549728394,
-0.04715312272310257,
-0.36598947644233704,
-0.5117634534835815,
-0.17579156160354614,
-0.8247271180152893,
-0.2579929530620575,
-0.1847163438796997,
-0.15041032433509827,
-0.2750798165798187,
-0.5532806515693665,
0.42737090587615967,
0.013457568362355232,
0.24213813245296478,
0.11702204495668411,
-1.121046543121338,
0.33802247047424316,
0.9537081122398376,
0.6244977712631226,
-0.04652703180909157,
-0.48091137409210205,
-0.45076021552085876,
0.046465761959552765,
-0.6400688290596008,
0.46123647689819336,
-0.751276433467865,
-0.7810139060020447,
0.15234605967998505,
0.09114176779985428,
0.08115750551223755,
-0.6060221195220947,
0.4878171384334564,
-0.5994706153869629,
0.18304215371608734,
0.004084302112460136,
-0.4844360053539276,
-0.010633734986186028,
0.0467911921441555,
-0.7427287101745605,
0.9176198840141296,
0.20062999427318573,
-0.5920795202255249,
0.18020156025886536,
-0.437896728515625,
-0.6998389959335327,
0.28962060809135437,
-0.06899604946374893,
-0.12387550622224808,
-0.1273099035024643,
0.13696248829364777,
0.3458315432071686,
-0.41892898082733154,
0.1869538575410843,
-0.29052188992500305,
-0.1925474852323532,
-0.09799809753894806,
0.11039198189973831,
0.6785845756530762,
0.3024364411830902,
0.17654985189437866,
-0.1152159795165062,
-0.893042802810669,
0.18298682570457458,
0.25797075033187866,
-0.6582468748092651,
-0.3784215748310089,
-0.062408555299043655,
0.16648946702480316,
0.17669618129730225,
0.4373786747455597,
-0.5291507244110107,
0.2227291464805603,
-0.500516414642334,
0.5436623096466064,
0.5350176692008972,
-0.4276198148727417,
0.8235598206520081,
0.28612521290779114,
1.0461742877960205,
-0.10027094930410385,
0.1112879291176796,
-0.2555440068244934,
-0.48649394512176514,
-0.7045786380767822,
-0.11308567970991135,
0.5427770018577576,
0.6518145799636841,
-0.9212513566017151,
-0.008965568616986275,
-0.2857898473739624,
-0.4196086823940277,
-0.40152159333229065,
0.5983296036720276,
0.6930350065231323,
0.35189202427864075,
-0.01710216887295246,
-0.3773678243160248,
-0.6771128177642822,
-0.7775835990905762,
0.1216030865907669,
-0.37313970923423767,
-0.05206441506743431,
0.3178197741508484,
0.35591721534729004,
-0.5556806325912476,
0.5707740783691406,
-0.31245723366737366,
0.25189951062202454,
-0.5041930079460144,
0.08782348036766052,
0.2618207037448883,
0.15698568522930145,
0.6427614092826843,
-0.7151778340339661,
-0.7843289971351624,
0.6895142793655396,
-0.9088195562362671,
-0.20795944333076477,
0.30436888337135315,
-0.16027423739433289,
0.37389451265335083,
0.6495272517204285,
-0.6086092591285706,
-0.17375464737415314,
0.9566181302070618,
-0.17294149100780487,
0.6583806276321411,
-0.19962133467197418,
-0.17198608815670013,
-1.2761178016662598,
0.06812527030706406,
-0.057932402938604355,
-0.16845084726810455,
-0.8030151128768921,
0.24384377896785736,
0.29577574133872986,
-0.2813505232334137,
-0.4495449364185333,
0.5177826881408691,
-0.5209187269210815,
-0.07818414270877838,
-0.31141147017478943,
0.07978089153766632,
-0.09912150353193283,
0.3581039011478424,
-0.2917730510234833,
1.0449700355529785,
0.534130871295929,
-0.5718986988067627,
0.7915494441986084,
0.0924440547823906,
-0.3095947206020355,
0.15208888053894043,
-0.7282713651657104,
0.3510763943195343,
-0.0034717463422566652,
0.13414891064167023,
-0.5880972146987915,
-0.6089598536491394,
0.205349862575531,
-0.36357805132865906,
0.48405951261520386,
-0.31068429350852966,
-0.422644704580307,
-0.6873654127120972,
-0.34052523970603943,
0.2886181175708771,
0.5402274131774902,
-0.5439983606338501,
0.41925832629203796,
0.6900272965431213,
-0.4184865355491638,
-0.7131510376930237,
-0.3995984196662903,
0.31780490279197693,
-0.12783053517341614,
-0.7411998510360718,
0.3693082332611084,
0.29688653349876404,
-0.11444089561700821,
0.20559392869472504,
0.14545166492462158,
-0.07973174750804901,
0.029943013563752174,
0.1241140067577362,
0.5641747117042542,
-0.46744051575660706,
0.08805263042449951,
-0.1635419875383377,
-0.43693843483924866,
-0.05641843006014824,
-0.4461190700531006,
0.8408398628234863,
-0.39257919788360596,
-0.17466354370117188,
0.2512883245944977,
0.21240100264549255,
0.38001206517219543,
-0.2196035236120224,
0.46566930413246155,
0.3596603572368622,
-0.18139852583408356,
-0.4171586036682129,
-0.10118457674980164,
0.50869220495224,
-0.4574851095676422,
0.6229121685028076,
-0.3712754249572754,
-1.1303369998931885,
0.7866143584251404,
-0.0914916843175888,
-0.28980040550231934,
0.31006479263305664,
0.7419277429580688,
0.21975012123584747,
0.9633814096450806,
0.9255873560905457,
-0.6666210889816284,
0.30633774399757385,
-0.030279401689767838,
0.10545577853918076,
-0.6335770487785339,
-0.09003116190433502,
-0.5045852661132812,
0.10549149662256241,
-0.6262237429618835,
-0.41112297773361206,
0.12993483245372772,
0.5327103734016418,
-0.00784594938158989,
0.5562629699707031,
-0.322310209274292,
0.7997092604637146,
0.3001714050769806,
-0.35524988174438477,
0.24957919120788574,
-0.10625869035720825,
-0.36659491062164307,
0.13090327382087708,
-0.7029495239257812,
-0.6933584213256836,
1.3365188837051392,
0.23744770884513855,
1.0195928812026978,
-0.19255408644676208,
0.5353272557258606,
0.06200786307454109,
0.10626599192619324,
-0.5981335639953613,
0.668290913105011,
-0.3068748712539673,
-0.2217068076133728,
-0.21860110759735107,
-0.39690378308296204,
-1.0963054895401,
0.29706719517707825,
0.3891114294528961,
-0.5279135704040527,
-0.37590929865837097,
0.1961854100227356,
-0.03582338988780975,
0.051658131182193756,
-0.7217609286308289,
0.9419220089912415,
-0.19789259135723114,
0.008280046284198761,
-0.31602153182029724,
-0.4070316255092621,
0.5225445628166199,
-0.20286233723163605,
-0.044161826372146606,
-0.21017147600650787,
-0.0958026871085167,
0.37546566128730774,
-0.5266373753547668,
0.7127283215522766,
-0.1315689980983734,
-0.22607800364494324,
0.3366718888282776,
-0.16491621732711792,
0.7723022699356079,
0.08009245991706848,
-0.024928966537117958,
0.38127708435058594,
-0.33868762850761414,
-0.3911380171775818,
-0.43854960799217224,
0.6996487975120544,
-0.7896034717559814,
-0.41782933473587036,
-0.1360161155462265,
-0.3806983232498169,
-0.20341180264949799,
-0.05555339530110359,
0.3106781840324402,
0.19530245661735535,
-0.3082875609397888,
0.1688818782567978,
0.4016103148460388,
-0.5373313426971436,
0.2920944392681122,
0.49139460921287537,
-0.7885758876800537,
-0.4855124056339264,
1.0362534523010254,
0.06739635765552521,
0.202304407954216,
0.14708492159843445,
-0.05735987424850464,
-0.1303901970386505,
-0.36723506450653076,
-0.6994711756706238,
0.29859206080436707,
-0.8830851316452026,
-0.057679854333400726,
-0.5021331310272217,
-0.36741572618484497,
-0.43488559126853943,
-0.16105316579341888,
-0.5650151968002319,
-0.24570190906524658,
-0.22323240339756012,
-0.10532579571008682,
0.1237105205655098,
0.751558780670166,
0.12566468119621277,
0.0012658087071031332,
-0.5055696368217468,
0.23358875513076782,
0.4337061941623688,
0.2948992848396301,
-0.016797399148344994,
-0.25337526202201843,
-0.5132259130477905,
-0.018131805583834648,
-0.17423081398010254,
-0.5527065992355347,
0.4184706509113312,
0.18693982064723969,
0.6632011532783508,
0.26239868998527527,
-0.35935819149017334,
0.45607659220695496,
-0.6649013757705688,
0.9158875346183777,
0.1981397271156311,
-0.8851596713066101,
0.4318038523197174,
-0.44290298223495483,
0.12348257005214691,
0.07574383914470673,
0.2491922229528427,
-1.0443649291992188,
-0.4926436245441437,
-0.26594701409339905,
-0.8929230570793152,
0.6364544034004211,
0.07555199414491653,
0.6553168296813965,
-0.0794503465294838,
0.15308353304862976,
0.12234199047088623,
0.18500152230262756,
-0.7524744868278503,
-0.1281992495059967,
-0.22367092967033386,
-0.023442745208740234,
-0.11570308357477188,
-0.47739672660827637,
0.10864448547363281,
-0.3008362054824829,
0.6104350090026855,
-0.2767985463142395,
0.22013530135154724,
-0.445064514875412,
-0.2830354869365692,
-0.06267350912094116,
0.23076924681663513,
0.6110838055610657,
0.49537670612335205,
0.3777284026145935,
-0.025056274607777596,
0.3462488353252411,
-0.8060009479522705,
0.22628924250602722,
0.007326702121645212,
-0.052037306129932404,
0.09223759174346924,
0.3362646698951721,
0.7207983136177063,
0.34675878286361694,
-0.5590828061103821,
0.42626115679740906,
0.1592126190662384,
-0.08497367799282074,
-0.12199313193559647,
0.12621766328811646,
0.5353890657424927,
0.15973840653896332,
-0.08418082445859909,
-0.3363044559955597,
-0.16704699397087097,
-0.35125935077667236,
-0.10248300433158875,
0.3372078537940979,
0.17449204623699188,
-0.5153804421424866,
0.816168487071991,
0.48980990052223206,
-0.02048066444694996,
0.6506089568138123,
-0.5597295761108398,
-0.7203447818756104,
0.914921224117279,
0.9007731676101685,
0.9416936039924622,
-0.20438136160373688,
0.5310782790184021,
0.1501017063856125,
0.08727256208658218,
-0.10930666327476501,
0.3000141978263855,
-0.008281496353447437,
-0.975456714630127,
-0.622549295425415,
-0.8530040979385376,
-0.4915374517440796,
0.10184590518474579,
-0.5910562872886658,
0.4033535420894623,
-0.2562880516052246,
0.026797225698828697,
0.028361214324831963,
-0.034572407603263855,
-0.43613845109939575,
-0.32477423548698425,
0.48799797892570496,
0.8898833394050598,
-0.9393195509910583,
1.23788583278656,
0.9703431129455566,
-0.2805541455745697,
-0.958511233329773,
-0.28323087096214294,
-0.11035223305225372,
-0.9790006279945374,
0.7331384420394897,
-0.01933198794722557,
-0.10529231280088425,
-0.04233596473932266,
-0.535942554473877,
-0.8121061325073242,
1.0116344690322876,
0.6385257840156555,
-0.48504918813705444,
0.03027222864329815,
0.46549558639526367,
0.8127813339233398,
-0.3831883668899536,
-0.23180048167705536,
0.39115917682647705,
0.08838580548763275,
-0.0922529473900795,
-0.9892458915710449,
-0.40131884813308716,
-0.701537013053894,
0.6416755318641663,
0.33631306886672974,
-0.8279724717140198,
1.0436805486679077,
0.03395610675215721,
-0.3233470022678375,
0.24887682497501373,
0.6176214218139648,
0.20542891323566437,
0.29610535502433777,
0.23234230279922485,
0.698925256729126,
0.9794184565544128,
-0.07697542011737823,
1.2665907144546509,
-0.6371374130249023,
0.33995720744132996,
0.9301956295967102,
-0.6960043907165527,
0.6393657326698303,
0.1283559948205948,
-0.43602463603019714,
0.5742040276527405,
0.591142475605011,
0.009925096295773983,
0.47800880670547485,
0.2612716853618622,
-0.4631023406982422,
-0.13867923617362976,
-0.039147790521383286,
-0.5912866592407227,
0.4641052782535553,
0.16200882196426392,
-0.21380415558815002,
-0.2308192402124405,
0.31773027777671814,
0.3673231303691864,
0.01880164071917534,
-0.3923996686935425,
0.4298721253871918,
0.17378081381320953,
-0.5552759170532227,
0.4809448719024658,
0.3283189535140991,
0.725411057472229,
-0.628409743309021,
0.2526114881038666,
-0.5850763916969299,
0.0969652384519577,
-0.054072584956884384,
-0.6554807424545288,
0.019753973931074142,
0.4401475191116333,
-0.32095739245414734,
-0.1529504507780075,
0.992271363735199,
-0.4747152030467987,
-0.41753533482551575,
0.5036914348602295,
0.20376744866371155,
0.19604726135730743,
0.28547826409339905,
-0.44919079542160034,
0.10688837617635727,
-0.1103016808629036,
-0.3044414222240448,
0.35810577869415283,
0.6132018566131592,
-0.2567157447338104,
0.7893555760383606,
0.6975216269493103,
0.2507935166358948,
0.2666190564632416,
0.30847758054733276,
1.0207676887512207,
-0.4982077181339264,
-0.6664084196090698,
-0.8168714046478271,
0.21157893538475037,
-0.11418551206588745,
-0.4637672007083893,
1.072677493095398,
0.7578457593917847,
1.306178331375122,
-0.3521083891391754,
0.7453954219818115,
0.04537266865372658,
0.21389102935791016,
-0.5802404284477234,
0.5846512913703918,
-0.22647595405578613,
0.16396674513816833,
-0.20388859510421753,
-0.8456773161888123,
-0.1437002420425415,
0.3578200340270996,
-0.12929406762123108,
-0.032935284078121185,
0.4663603603839874,
1.0488622188568115,
0.12441149353981018,
0.10080087184906006,
0.41521692276000977,
0.08851759135723114,
0.20015984773635864,
0.8390827775001526,
1.1255156993865967,
-0.26844340562820435,
0.7219388484954834,
-0.20644232630729675,
0.1580735146999359,
-0.21544533967971802,
-0.6996341943740845,
-0.6595842838287354,
-0.3082393407821655,
-0.23395602405071259,
-0.31827598810195923,
-0.08792174607515335,
0.7701205015182495,
0.5249942541122437,
-0.708351194858551,
-0.42172911763191223,
-0.2625441551208496,
0.08018309623003006,
0.07803907245397568,
-0.13994969427585602,
-0.10727879405021667,
-0.7055981159210205,
-0.8650303483009338,
0.35590195655822754,
0.541022002696991,
-0.031234174966812134,
-0.29508885741233826,
-0.7443596720695496,
0.24205848574638367,
-0.20348089933395386,
0.7738227248191833,
0.6622147560119629,
-0.5745517015457153,
-0.08293354511260986,
0.04333171248435974,
-0.7227346301078796,
-0.08563254028558731,
0.7730451226234436,
-0.5527201294898987,
0.6889652609825134,
0.38536393642425537,
0.6825113296508789,
0.45677128434181213,
-0.2735412120819092,
0.7374522089958191,
-0.8475139141082764,
0.42669451236724854,
0.08576618880033493,
0.3187560439109802,
0.3607913553714752,
-0.23509453237056732,
0.8654329180717468,
0.31449994444847107,
-0.6558585166931152,
-0.8650042414665222,
0.1220347136259079,
-0.5984046459197998,
-0.10167967528104782,
1.4552780389785767,
-0.18346211314201355,
-0.23930421471595764,
-0.034178219735622406,
-0.05050239339470863,
0.19392718374729156,
0.027374662458896637,
0.43113771080970764,
1.1355599164962769,
0.23851430416107178,
0.17364798486232758,
-0.8537426590919495,
0.3757869303226471,
0.26745447516441345,
-0.7620760798454285,
-0.026360413059592247,
0.4815710186958313,
0.22561484575271606,
0.10210515558719635,
0.7518452405929565,
-0.21539466083049774,
0.5139968991279602,
0.34162256121635437,
0.3233226239681244,
-0.06746165454387665,
-0.5478479862213135,
-0.561505913734436,
0.030252844095230103,
0.0956057757139206,
-0.2770911455154419
] |
http://arxiv.org/abs/2405.15638v1
|
http://arxiv.org/pdf/2405.15638v1
|
M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models
| 2024-05-24T15:25:28 | 2024-05-24T15:25:28 |
Hongyu Wang, Jiayu Xu, Senwei Xie, Ruiping Wang, Jialin Li, Zhaojie Xie, Bin Zhang, Chuyan Xiong, Xilin Chen
|
cs.CV
|
cs.CV, cs.CL
|
Multilingual multimodal reasoning is a core component in achieving
human-level intelligence. However, most existing benchmarks for multilingual
multimodal reasoning struggle to differentiate between models of varying
performance; even language models without visual capabilities can easily
achieve high scores. This leaves a comprehensive evaluation of leading
multilingual multimodal models largely unexplored. In this work, we introduce
M4U, a novel and challenging benchmark for assessing the capability of
multi-discipline multilingual multimodal understanding and reasoning. M4U
contains 8,931 samples covering 64 disciplines across 16 subfields in Science,
Engineering, and Healthcare in Chinese, English, and German. Using M4U, we
conduct extensive evaluations of 21 leading Large Multimodal Models (LMMs) and
Large Language Models (LLMs) with external tools. The evaluation results show
that the state-of-the-art model, GPT-4o, achieves only 47.6% average accuracy
on M4U. Additionally, we observe that the leading LMMs exhibit significant
language preferences. Our in-depth analysis indicates that leading LMMs,
including GPT-4o, suffer performance degradation when prompted with
cross-lingual multimodal questions, such as images with key textual information
in Chinese while the question is in German. We believe that M4U can serve as a
crucial tool for systematically evaluating LMMs based on their multilingual
multimodal reasoning capabilities and monitoring their development. The
homepage, codes and data are public available.
|
[
-0.4268995225429535,
-0.6353384256362915,
0.7634170055389404,
0.25918149948120117,
-0.04189209267497063,
-0.02130776271224022,
-0.2517540156841278,
-0.5033890604972839,
-0.30518922209739685,
0.06159666180610657,
-0.6370984315872192,
-0.32718971371650696,
-0.229251891374588,
0.43506237864494324,
0.3374182879924774,
0.5310636162757874,
-0.12314020842313766,
0.3304802477359772,
-0.5114343166351318,
-0.5623923540115356,
-0.49611008167266846,
-0.5932644009590149,
-0.3759225606918335,
-0.592210590839386,
0.8445932865142822,
0.31423303484916687,
0.6660910248756409,
0.22287991642951965,
0.5263579487800598,
0.3852865397930145,
0.24169500172138214,
0.22990982234477997,
-0.2792471647262573,
-0.2700081467628479,
-0.27335894107818604,
-0.4789488613605499,
-0.5707488656044006,
0.14080917835235596,
0.8009157180786133,
0.5112625956535339,
0.15974901616573334,
0.01288601104170084,
-0.17141000926494598,
0.44401007890701294,
-0.45772773027420044,
0.4171355068683624,
-0.30583515763282776,
0.09299276769161224,
-0.17385755479335785,
-0.11903855204582214,
-0.5378935933113098,
-0.09394590556621552,
-0.011451414786279202,
-0.6979100704193115,
-0.23822170495986938,
-0.09268878400325775,
0.7650653719902039,
0.055416569113731384,
-0.7738468647003174,
0.08888876438140869,
-0.41387924551963806,
1.0018690824508667,
-0.5671275854110718,
1.0122461318969727,
0.24823909997940063,
0.39592865109443665,
0.08087087422609329,
-0.5827233195304871,
-0.6907928586006165,
-0.30275997519493103,
0.08421766012907028,
0.37828561663627625,
-0.2848077416419983,
-0.11392466723918915,
0.3518717288970947,
0.08635476976633072,
-0.8055179715156555,
0.12777580320835114,
-0.29818278551101685,
-0.4371200203895569,
0.5086780190467834,
-0.025891758501529694,
0.2418028712272644,
-0.4500180780887604,
-0.5196080207824707,
0.11583753675222397,
-0.4549315869808197,
0.16531866788864136,
0.3675634562969208,
-0.20839563012123108,
-0.07280632108449936,
0.36112719774246216,
-0.2511553466320038,
0.5194105505943298,
-0.435478150844574,
-0.5525144338607788,
0.6698273420333862,
-0.7666336894035339,
-0.013432483188807964,
-0.46510159969329834,
0.8319501876831055,
0.6673081517219543,
0.07061722129583359,
-0.12502139806747437,
-0.10028117150068283,
0.21442830562591553,
0.05078381299972534,
-0.7431922554969788,
-0.21105772256851196,
0.0580436997115612,
-0.42255279421806335,
0.2096841186285019,
-0.3587462604045868,
-0.540028989315033,
0.013407394289970398,
-0.3508528172969818,
0.2706950008869171,
-0.6065566539764404,
-0.6276447176933289,
-0.030308788642287254,
0.0006887136842124164,
0.237653449177742,
0.41200175881385803,
-0.6580653190612793,
-0.26096752285957336,
0.49051588773727417,
0.5473650097846985,
-0.1868748664855957,
-0.7769668698310852,
-0.26416778564453125,
0.11244621872901917,
-0.2992299199104309,
0.8154121041297913,
-0.5416569709777832,
-0.19576263427734375,
-0.29732170701026917,
0.17415663599967957,
-0.24566054344177246,
-0.32377979159355164,
0.8778639435768127,
-0.35716184973716736,
0.16010740399360657,
-0.34520092606544495,
-0.1966075301170349,
-0.4420230984687805,
0.7211954593658447,
-0.7192679643630981,
0.7206330895423889,
0.05703031271696091,
-0.546207070350647,
0.38876429200172424,
-0.7299759387969971,
-0.1924208700656891,
0.2924976646900177,
-0.46799716353416443,
-0.15918537974357605,
-0.22467194497585297,
0.3659868538379669,
0.3143240809440613,
-0.3315291404724121,
0.364159494638443,
-0.516696572303772,
-0.05536729469895363,
0.3243430554866791,
-0.65751713514328,
0.4965612292289734,
0.28439056873321533,
-0.1131129264831543,
0.2998041808605194,
-0.5780981779098511,
0.17471976578235626,
0.152647465467453,
-0.4878753125667572,
-0.1896086037158966,
-0.2324904054403305,
0.1094292402267456,
0.5768225193023682,
0.2975805699825287,
-0.5490840673446655,
0.06436024606227875,
0.0866532102227211,
0.6172599792480469,
0.6973228454589844,
-0.3909645676612854,
0.3181205093860626,
-0.2530719041824341,
0.5127732753753662,
0.045104995369911194,
0.2965099513530731,
-0.40441691875457764,
-0.7472979426383972,
-0.2988766133785248,
-0.2964926064014435,
0.19171112775802612,
0.450615793466568,
-1.303863763809204,
-0.2573276162147522,
-0.4346417188644409,
-0.45422300696372986,
-0.5558184385299683,
0.3141259551048279,
0.5430432558059692,
0.4249851703643799,
0.46187713742256165,
-0.05133619159460068,
-0.15021038055419922,
-1.1222765445709229,
-0.24804341793060303,
-0.10649639368057251,
0.06558135896921158,
0.5649060010910034,
0.5565298199653625,
-0.750944972038269,
0.37157008051872253,
-0.014809752814471722,
-0.016180986538529396,
-0.4266403615474701,
0.25245022773742676,
0.05940725654363632,
0.40778833627700806,
0.5507668256759644,
-0.9556918144226074,
0.15701231360435486,
0.21522779762744904,
-1.1336727142333984,
0.02965947985649109,
-0.05606129765510559,
-0.19654904305934906,
0.2068396955728531,
0.26167839765548706,
-0.7734701633453369,
-0.00241699512116611,
0.8026223182678223,
-0.31338900327682495,
0.8258528709411621,
-0.35160908102989197,
0.5057223439216614,
-0.8128893375396729,
0.0531277135014534,
0.25066864490509033,
-0.05736890435218811,
-0.4897400438785553,
0.49896836280822754,
0.5650593042373657,
-0.1936919242143631,
-0.5022643208503723,
0.5189332365989685,
-0.5587345361709595,
-0.16184277832508087,
0.1030157059431076,
0.272597998380661,
0.30572161078453064,
0.4118719696998596,
-0.20440517365932465,
0.5146747827529907,
0.2080242931842804,
-0.3777632415294647,
0.6104291677474976,
0.18345803022384644,
-0.47886279225349426,
0.6944805383682251,
-0.37139809131622314,
0.03963182494044304,
0.14974698424339294,
0.30621492862701416,
-0.797011137008667,
-0.2443286031484604,
-0.0840473622083664,
-0.28897473216056824,
0.15254293382167816,
-0.024128707125782967,
-0.6106825470924377,
-0.5329685211181641,
-0.15568311512470245,
0.8860645890235901,
-0.04316633567214012,
-0.4541064500808716,
0.8358054161071777,
0.2323441356420517,
-0.1461513489484787,
-0.6499861478805542,
-0.5466445088386536,
0.2538274824619293,
-0.11818498373031616,
-0.9939432740211487,
0.17644363641738892,
-0.48340898752212524,
-0.15172672271728516,
-0.17775411903858185,
-0.02805788815021515,
-0.03489620238542557,
0.07557213306427002,
-0.07915028184652328,
0.27379146218299866,
-0.448207288980484,
0.13454467058181763,
0.02232442982494831,
-0.2518477141857147,
0.23933424055576324,
0.05980011448264122,
0.268583208322525,
-0.4555167853832245,
-0.5473971962928772,
-0.4808504581451416,
0.2534033954143524,
0.8055118322372437,
-0.5684247612953186,
0.09935972839593887,
0.86367267370224,
-0.3032154440879822,
0.15974052250385284,
-0.6881512403488159,
-0.10329661518335342,
-0.42834681272506714,
0.5006936192512512,
-0.9876212477684021,
-0.6274082660675049,
0.3435395359992981,
-0.13287495076656342,
0.08959686756134033,
0.36190900206565857,
0.7011353373527527,
0.12547798454761505,
1.2472270727157593,
0.22260534763336182,
0.0018813391216099262,
0.07290773093700409,
-0.16811247169971466,
0.11236660182476044,
-0.5805542469024658,
-0.36549755930900574,
-0.13398312032222748,
-0.177577942609787,
-0.5489928722381592,
-0.6655921339988708,
0.4276120364665985,
-0.3088219463825226,
0.17627887427806854,
-0.09463872015476227,
0.00012542791955638677,
0.30912357568740845,
0.46292737126350403,
0.08455750346183777,
0.4340854585170746,
-0.3956933617591858,
-0.5493779182434082,
-0.08961521834135056,
-0.6526753306388855,
-0.4875585734844208,
0.8656596541404724,
0.45516180992126465,
0.6189828515052795,
0.4309232234954834,
0.24704493582248688,
0.06397899985313416,
0.26952701807022095,
-0.7719398140907288,
0.49951401352882385,
0.2235523909330368,
-0.6258307695388794,
-0.23400533199310303,
-0.7231950759887695,
-0.9309250712394714,
0.7973960638046265,
-0.32825231552124023,
-0.3517984449863434,
-0.18439294397830963,
-0.02611699141561985,
-0.13246473670005798,
0.28206077218055725,
-0.9299392104148865,
1.2434495687484741,
-0.524261474609375,
-0.48999670147895813,
-0.2941514253616333,
-0.5185254812240601,
0.6935438513755798,
-0.21665801107883453,
0.7331631183624268,
-0.3981821537017822,
0.14916688203811646,
0.5751145482063293,
0.2317005842924118,
0.2925299108028412,
-0.10721562057733536,
-0.2206590622663498,
-0.1289801448583603,
-0.05399464815855026,
-0.10543985664844513,
0.2044978141784668,
-0.1305501013994217,
0.5531920194625854,
0.1702290028333664,
-0.555221676826477,
-0.5960999727249146,
1.0141578912734985,
-0.8809751868247986,
-0.5798884034156799,
-0.3702911138534546,
-0.8506462574005127,
-0.23760007321834564,
0.44515326619148254,
0.044749822467565536,
0.6251599192619324,
-0.1733170747756958,
0.23885422945022583,
0.2509830892086029,
-0.3091878890991211,
0.3653903901576996,
0.5506588816642761,
-0.24891680479049683,
-0.2285986840724945,
1.006691813468933,
0.12394608557224274,
0.18916234374046326,
0.29576680064201355,
0.39926981925964355,
-0.5522539019584656,
-0.5301047563552856,
-0.9906831383705139,
0.34450051188468933,
-0.9396730661392212,
-0.020700830966234207,
-0.6763780117034912,
0.1577383130788803,
-0.24611903727054596,
0.17276743054389954,
-0.22509720921516418,
-0.16665242612361908,
0.12515462934970856,
-0.22717885673046112,
-0.2854974865913391,
0.6253687143325806,
0.051607776433229446,
-0.24915453791618347,
-0.836622416973114,
0.4063405990600586,
0.2570662498474121,
0.3509926497936249,
-0.19759626686573029,
-0.2308739721775055,
-0.19888335466384888,
0.0717332512140274,
-0.5483484268188477,
-0.6654704809188843,
0.11932796239852905,
-0.000408853666158393,
0.9397814869880676,
0.5963578224182129,
-0.2241988480091095,
0.5320521593093872,
-0.7313187122344971,
0.8086207509040833,
0.2613444924354553,
-0.9254459142684937,
0.3419351875782013,
-0.37728747725486755,
0.5416719317436218,
0.2177315503358841,
0.5463489890098572,
-0.2399069368839264,
-0.22667045891284943,
-0.4392130970954895,
-0.5824081897735596,
0.5104674696922302,
0.031290117651224136,
-0.032638777047395706,
0.18022941052913666,
0.05949006974697113,
0.10914068669080734,
-0.10866782814264297,
-1.0156744718551636,
-0.041440319269895554,
-0.4152032434940338,
-0.07566341012716293,
-0.36815544962882996,
-0.16849032044410706,
-0.1278180181980133,
-0.34368565678596497,
0.4565924406051636,
-0.36133021116256714,
0.21610422432422638,
-0.11073487997055054,
-0.33147871494293213,
0.1392940729856491,
0.3719107508659363,
0.8012059926986694,
1.0884546041488647,
-0.03054816834628582,
0.24897287786006927,
0.2500588595867157,
-0.20841418206691742,
0.10557445883750916,
0.2586800158023834,
0.2950567305088043,
-0.0330219604074955,
0.42842620611190796,
0.6576098203659058,
0.5584405660629272,
-0.7967878580093384,
0.5533087253570557,
-0.3564993441104889,
-0.4223487973213196,
-0.1354278177022934,
-0.28537172079086304,
0.23774845898151398,
0.3257876932621002,
0.26990947127342224,
-0.061292070895433426,
0.18794262409210205,
-0.5133671760559082,
0.19635552167892456,
0.31020596623420715,
-0.2242818921804428,
-0.5365022420883179,
0.6930671334266663,
0.25124114751815796,
0.2521233558654785,
0.46682482957839966,
-0.19462354481220245,
-0.3701104521751404,
0.2477273941040039,
0.4440493583679199,
0.2124856859445572,
-0.49220284819602966,
0.09585610032081604,
0.3452695608139038,
0.6454252600669861,
0.10333988070487976,
0.39175790548324585,
0.030834678560495377,
-0.9456455111503601,
-0.550424337387085,
-0.341027170419693,
-0.5733354687690735,
0.15422594547271729,
-0.45860210061073303,
0.08195112645626068,
-0.13273493945598602,
-0.2757026255130768,
0.37158095836639404,
-0.19095633924007416,
-0.731992244720459,
0.2688652276992798,
0.326677143573761,
0.7551709413528442,
-0.7021431922912598,
0.9101155400276184,
0.8278918862342834,
-0.479278564453125,
-0.6737289428710938,
-0.35968780517578125,
0.2170134335756302,
-0.7530307769775391,
0.692372739315033,
0.5054024457931519,
-0.30479928851127625,
-0.19245992600917816,
-0.0666295737028122,
-0.6228748559951782,
1.050159215927124,
0.47191503643989563,
-0.24779686331748962,
-0.026621751487255096,
-0.0004480068455450237,
0.2138531506061554,
-0.16734254360198975,
0.6712278723716736,
0.5941050052642822,
0.7180272340774536,
-0.12159134447574615,
-1.0558373928070068,
0.0058795432560145855,
-0.5629144310951233,
-0.3196578025817871,
0.13201908767223358,
-0.6504107117652893,
0.9789419770240784,
-0.3790641725063324,
-0.004716636147350073,
-0.0664510428905487,
0.5444331169128418,
0.4076216518878937,
0.7196411490440369,
0.501670777797699,
0.6382907032966614,
0.7763678431510925,
-0.34651893377304077,
1.08684241771698,
-0.22944965958595276,
0.25192737579345703,
0.5827159285545349,
-0.44006627798080444,
0.7405248284339905,
0.3231002986431122,
-0.010709031485021114,
0.5642647743225098,
0.4706575274467468,
0.04507672041654587,
0.21398895978927612,
-0.13852207362651825,
-0.2853773832321167,
-0.28920629620552063,
-0.016972480341792107,
-0.4400424361228943,
0.7599525451660156,
0.47381067276000977,
0.01124842744320631,
-0.16570046544075012,
0.3353901207447052,
0.08400969952344894,
-0.164061039686203,
-0.26512643694877625,
0.6449314951896667,
0.048095326870679855,
-0.7160496711730957,
0.7700784206390381,
0.16521072387695312,
0.5504450798034668,
-0.5031483173370361,
0.04430507495999336,
-0.15017922222614288,
0.34753119945526123,
-0.19506670534610748,
-0.7332645058631897,
-0.02425810508430004,
-0.15531456470489502,
-0.08868537098169327,
-0.22595621645450592,
0.4092830717563629,
-0.4044871926307678,
-0.4996282756328583,
0.6481666564941406,
0.8290857672691345,
0.24389933049678802,
0.026880275458097458,
-0.9383671283721924,
0.09762075543403625,
0.007046211510896683,
-0.14624932408332825,
0.2935738265514374,
0.692395806312561,
-0.19610920548439026,
0.8901612758636475,
0.8831725716590881,
-0.4083883464336395,
-0.027021119371056557,
0.46611130237579346,
0.7361539602279663,
-0.6022713780403137,
-0.41550758481025696,
-0.8761873245239258,
0.24709410965442657,
0.0793524757027626,
-0.32489636540412903,
1.0029504299163818,
0.6182562708854675,
0.9021817445755005,
-0.0192828718572855,
0.8573530912399292,
0.40784841775894165,
0.20763379335403442,
-0.5650309920310974,
0.6568014621734619,
-0.8486191034317017,
-0.1871035397052765,
-0.42762133479118347,
-0.6337671875953674,
-0.2715997099876404,
0.638759970664978,
-0.41835978627204895,
0.1642315834760666,
0.8293123245239258,
0.49383842945098877,
-0.21818967163562775,
0.18265937268733978,
0.8133301138877869,
0.12331594526767731,
0.5023674368858337,
0.7324747443199158,
1.0929723978042603,
-0.14437466859817505,
0.574638843536377,
-0.19201527535915375,
-0.5255127549171448,
-0.09679156541824341,
-0.8118564486503601,
-0.8822612762451172,
-0.41107311844825745,
-0.1434893161058426,
-0.04785924777388573,
-0.31414228677749634,
0.6677200794219971,
0.6784771680831909,
-0.4737250804901123,
-0.1872893124818802,
0.645809531211853,
0.1507146656513214,
-0.17879042029380798,
-0.17150838673114777,
0.04853719845414162,
-0.13642168045043945,
-0.6954321265220642,
0.6673391461372375,
0.3683614730834961,
-0.25452885031700134,
-0.3979594111442566,
-0.2503688633441925,
-0.3827989101409912,
-0.07320419698953629,
1.0175914764404297,
0.0021108875516802073,
-1.167604923248291,
-0.13637526333332062,
0.028759019449353218,
0.04718558117747307,
0.19040220975875854,
0.6355191469192505,
-0.39059963822364807,
0.7335219383239746,
0.3460143804550171,
0.7024171352386475,
0.42110002040863037,
-0.08532819151878357,
0.4538329839706421,
-0.48235365748405457,
0.17114639282226562,
0.11601652204990387,
0.9504902958869934,
0.595043957233429,
0.014081999659538269,
0.39307308197021484,
0.3969801068305969,
-0.6823976039886475,
-0.6015017628669739,
0.31732630729675293,
-0.9284752607345581,
-0.3543907403945923,
1.1430014371871948,
-0.3485451638698578,
-0.028222208842635155,
-0.17527642846107483,
-0.24461357295513153,
0.07758501917123795,
-0.34398117661476135,
0.28317105770111084,
0.7663440704345703,
-0.20742323994636536,
-0.6008481383323669,
-1.0496333837509155,
0.11281465739011765,
0.41738200187683105,
-0.9649240970611572,
-0.26251450181007385,
0.6693406701087952,
0.20450639724731445,
0.343120813369751,
0.5286735892295837,
-0.08533341437578201,
0.5037310719490051,
-0.19556668400764465,
0.17298291623592377,
-0.00466448999941349,
-0.36116769909858704,
-0.14629024267196655,
0.11350125074386597,
-0.024977633729577065,
-0.03298987075686455
] |
http://arxiv.org/abs/2406.00028v1
|
http://arxiv.org/pdf/2406.00028v1
|
Persian Homograph Disambiguation: Leveraging ParsBERT for Enhanced Sentence Understanding with a Novel Word Disambiguation Dataset
| 2024-05-24T14:56:36 | 2024-05-24T14:56:36 |
Seyed Moein Ayyoubzadeh
|
cs.CL
|
cs.CL, cs.LG
|
Homograph disambiguation, the task of distinguishing words with identical
spellings but different meanings, poses a substantial challenge in natural
language processing. In this study, we introduce a novel dataset tailored for
Persian homograph disambiguation. Our work encompasses a thorough exploration
of various embeddings, evaluated through the cosine similarity method and their
efficacy in downstream tasks like classification. Our investigation entails
training a diverse array of lightweight machine learning and deep learning
models for phonograph disambiguation. We scrutinize the models' performance in
terms of Accuracy, Recall, and F1 Score, thereby gaining insights into their
respective strengths and limitations. The outcomes of our research underscore
three key contributions. First, we present a newly curated Persian dataset,
providing a solid foundation for future research in homograph disambiguation.
Second, our comparative analysis of embeddings highlights their utility in
different contexts, enriching the understanding of their capabilities. Third,
by training and evaluating a spectrum of models, we extend valuable guidance
for practitioners in selecting suitable strategies for homograph disambiguation
tasks. In summary, our study unveils a new dataset, scrutinizes embeddings
through diverse perspectives, and benchmarks various models for homograph
disambiguation. These findings empower researchers and practitioners to
navigate the intricate landscape of homograph-related challenges effectively.
|
[
-0.3596794605255127,
-0.9907519221305847,
0.5304774045944214,
-0.0372031107544899,
-0.46280622482299805,
0.25196921825408936,
-0.34171897172927856,
-0.3912432789802551,
-0.012547627091407776,
0.18378008902072906,
-0.4332086443901062,
-0.6376954913139343,
-0.6692267656326294,
0.12236625701189041,
-0.3697190582752228,
0.6940557956695557,
0.0678204745054245,
0.23256266117095947,
-0.2651733458042145,
-0.32055267691612244,
-0.5264754891395569,
-0.21745331585407257,
-0.017630811780691147,
-0.2127581536769867,
0.1421687752008438,
0.6466662287712097,
1.0091811418533325,
0.7144225835800171,
0.5292413234710693,
0.260039746761322,
-0.2623225450515747,
0.10545998811721802,
-0.3370521068572998,
0.037497587502002716,
-0.3696039319038391,
-0.02383377216756344,
-0.21163854002952576,
0.01886247657239437,
0.6915239691734314,
1.2066670656204224,
-0.2897755801677704,
0.3437771797180176,
0.0576438270509243,
0.8672836422920227,
-0.37802326679229736,
-0.019810399040579796,
-0.6789621710777283,
0.2010752111673355,
-0.7134758234024048,
0.3101460635662079,
-0.42341604828834534,
-0.3723478317260742,
0.10773127526044846,
-0.6756837368011475,
0.19186906516551971,
0.3910512924194336,
0.949832022190094,
0.3980957865715027,
-0.49777740240097046,
-0.33803337812423706,
-0.571465253829956,
0.5074995756149292,
-0.5455267429351807,
0.7163930535316467,
0.30418649315834045,
0.4508281648159027,
-0.025118527933955193,
-0.49681204557418823,
-0.7078378200531006,
-0.12083278596401215,
-0.11725839227437973,
-0.16634568572044373,
0.07926073670387268,
-0.021960332989692688,
0.25226619839668274,
0.9804424047470093,
-0.7522441148757935,
-0.05091382935643196,
-0.24180534482002258,
-0.2462259978055954,
0.4669664204120636,
-0.14494368433952332,
0.2810458242893219,
-0.3517049252986908,
-0.41921183466911316,
-0.25480255484580994,
-0.5342630743980408,
-0.018923958763480186,
0.3946819603443146,
0.298545777797699,
0.09077788144350052,
0.7102237939834595,
-0.4239933490753174,
0.6918520331382751,
0.22886531054973602,
0.024865103885531425,
0.6668680906295776,
-0.026117166504263878,
-0.16845950484275818,
0.18417730927467346,
0.6825366020202637,
-0.06628771126270294,
0.12292800843715668,
-0.2733877897262573,
0.24246728420257568,
0.08813950419425964,
-0.03659956529736519,
-0.31940117478370667,
-0.35022327303886414,
0.1245357021689415,
-0.39628326892852783,
-0.05332913249731064,
0.3961280584335327,
-0.748318612575531,
-0.6982283592224121,
-0.23188748955726624,
0.31629419326782227,
-0.6902666687965393,
0.018926264718174934,
0.3336019217967987,
-0.349094420671463,
0.215550035238266,
0.13412249088287354,
-0.5432875156402588,
0.3297794461250305,
0.849080502986908,
0.7282494306564331,
-0.010043497197329998,
-0.3052275776863098,
-0.4739980399608612,
0.0017861761152744293,
-0.11522846668958664,
0.6583459377288818,
-0.5873246192932129,
-0.22791719436645508,
-0.36951571702957153,
0.0010870592668652534,
0.021095512434840202,
-0.6250264644622803,
0.6695677042007446,
-0.28863298892974854,
0.3672769367694855,
-0.11717601120471954,
-0.8482407927513123,
-0.4372066557407379,
0.1240701824426651,
-0.8240750432014465,
1.0158922672271729,
0.1398884356021881,
-0.9836691617965698,
0.3399961590766907,
-0.17429222166538239,
-0.4361659288406372,
0.2064489871263504,
-0.1436440497636795,
-0.5402620434761047,
0.13622143864631653,
0.0034470660611987114,
0.5554455518722534,
-0.40843623876571655,
0.34260013699531555,
-0.455524206161499,
-0.28573307394981384,
-0.08284609019756317,
0.06342819333076477,
0.9878720641136169,
0.14434096217155457,
-0.4931783676147461,
-0.1047498881816864,
-0.8002466559410095,
-0.27893197536468506,
0.07688456773757935,
0.039254993200302124,
-0.6062483787536621,
0.03562183678150177,
-0.05363192409276962,
0.06901969015598297,
0.043739717453718185,
-0.8664413094520569,
-0.19253654778003693,
-0.31847020983695984,
0.256335586309433,
0.5616257190704346,
-0.00488934526219964,
0.41515034437179565,
-0.2662513852119446,
0.33247852325439453,
-0.1987462043762207,
0.1049024686217308,
0.0332258902490139,
-0.4488627016544342,
-0.32587292790412903,
-0.29045698046684265,
0.4531138837337494,
0.5142737627029419,
-0.570980966091156,
0.408284068107605,
-0.27597475051879883,
-0.8224557042121887,
-0.6773909330368042,
0.18053001165390015,
0.35910096764564514,
0.5998067259788513,
0.41529855132102966,
-0.3642711043357849,
-0.3027350604534149,
-0.8724406957626343,
-0.5921250581741333,
-0.0037268458399921656,
0.3096521496772766,
0.31957677006721497,
0.30203214287757874,
-0.25641268491744995,
0.7633797526359558,
-0.41417813301086426,
-0.43936049938201904,
-0.09666119515895844,
-0.136053204536438,
0.20980709791183472,
0.3449488580226898,
0.2861664891242981,
-0.9756317138671875,
-0.7753461003303528,
0.03171534463763237,
-0.5163539052009583,
-0.020018618553876877,
-0.19807089865207672,
-0.4544553756713867,
-0.06416238844394684,
0.5293181538581848,
-0.16551148891448975,
0.38782092928886414,
0.40092363953590393,
-0.6414118409156799,
0.4147433042526245,
0.12760378420352936,
0.058006610721349716,
-1.0452821254730225,
0.01965595968067646,
0.058146171271800995,
-0.5842040181159973,
-0.4787018299102783,
0.15810999274253845,
0.08383595198392868,
0.14056514203548431,
-0.32355424761772156,
0.4221232831478119,
-0.5468392372131348,
-0.017312683165073395,
0.024142403155565262,
0.2913670837879181,
0.07560082525014877,
0.35230499505996704,
-0.16258394718170166,
0.42726361751556396,
0.49826470017433167,
-0.29835227131843567,
0.6815119385719299,
0.7316516637802124,
-0.47078850865364075,
0.4950309991836548,
-0.576666533946991,
0.06923522055149078,
-0.10570118576288223,
0.029414420947432518,
-0.9433432817459106,
-0.19782188534736633,
0.5061379075050354,
-0.2672702372074127,
0.18969924747943878,
0.04342659190297127,
-0.5285553336143494,
-0.3607681095600128,
-0.39041391015052795,
0.4390798509120941,
0.5050184726715088,
-0.6085648536682129,
0.18190337717533112,
0.7189843654632568,
-0.04457417130470276,
-0.28504154086112976,
-0.6109567880630493,
-0.12390881031751633,
-0.5119093656539917,
-0.34051260352134705,
0.5106261968612671,
0.19573192298412323,
-0.359878271818161,
0.08901474624872208,
-0.06710530072450638,
-0.1933891922235489,
0.22302639484405518,
0.5254274010658264,
0.041193556040525436,
0.005654294043779373,
0.49926504492759705,
0.17607955634593964,
0.022993195801973343,
-0.25693193078041077,
-0.219126358628273,
0.620282769203186,
-0.19897128641605377,
-0.44069647789001465,
-0.4678049087524414,
0.2771264314651489,
0.24758824706077576,
-0.4050111770629883,
0.8464046716690063,
0.8143692016601562,
-0.29301801323890686,
-0.0762363076210022,
-0.42507219314575195,
0.16632698476314545,
-0.43761247396469116,
0.19833602011203766,
-0.3783949911594391,
-1.0362818241119385,
0.2461300641298294,
-0.4221799075603485,
-0.24681302905082703,
0.5510664582252502,
0.4742797911167145,
-0.017652465030550957,
0.39955875277519226,
0.6181458830833435,
-0.04600086808204651,
0.35912901163101196,
0.021572787314653397,
0.2549007833003998,
-0.913875162601471,
-0.2185158133506775,
-0.4085080325603485,
-0.18736661970615387,
-0.7575207948684692,
-0.6688356995582581,
0.26821276545524597,
-0.045900337398052216,
-0.1907862424850464,
0.23833496868610382,
-0.3697930872440338,
0.5241058468818665,
0.4241192638874054,
0.29685306549072266,
0.42367032170295715,
0.08629970997571945,
-0.14258357882499695,
0.0009286815766245127,
-0.533977210521698,
-0.5210910439491272,
0.888501763343811,
0.2810150682926178,
0.551522970199585,
0.17930904030799866,
0.7905851602554321,
0.542709231376648,
-0.27679914236068726,
-0.5925325155258179,
0.3491723835468292,
-0.2502363324165344,
-0.48574385046958923,
-0.4998759627342224,
-0.4050986170768738,
-0.8169768452644348,
0.19260311126708984,
-0.26758143305778503,
-0.46505680680274963,
0.3818867802619934,
0.16571874916553497,
-0.24820499122142792,
0.2585598826408386,
-0.3156002163887024,
1.142542839050293,
-0.03559083864092827,
-0.48293736577033997,
-0.26935604214668274,
-0.7358702421188354,
0.37459519505500793,
0.08244673162698746,
0.46597373485565186,
-0.43824198842048645,
0.1667981743812561,
0.43556034564971924,
-0.4016641676425934,
0.49365150928497314,
-0.15133970975875854,
-0.08481936901807785,
0.22753114998340607,
0.12899529933929443,
0.08135488629341125,
-0.008227764628827572,
-0.3974234461784363,
0.3518347144126892,
0.14102575182914734,
-0.5476332902908325,
-0.18002021312713623,
0.4437098503112793,
-0.49383899569511414,
-0.5889509916305542,
-0.5488314032554626,
-0.3821624517440796,
-0.3046174943447113,
0.19606630504131317,
0.048301197588443756,
0.45792415738105774,
-0.6475350856781006,
0.18323330581188202,
0.5028945803642273,
-0.39215338230133057,
0.029888920485973358,
-0.15439783036708832,
-0.2368713617324829,
-0.1679757684469223,
0.8382763266563416,
-0.20507565140724182,
0.2695116698741913,
0.3921113908290863,
0.34519967436790466,
-0.27593475580215454,
-0.27512112259864807,
-0.537533164024353,
0.4050505757331848,
-0.5524792671203613,
-0.06136250123381615,
-0.33477720618247986,
0.16653242707252502,
-0.5428218841552734,
0.2155752331018448,
-0.1771804243326187,
-0.683570384979248,
0.019296742975711823,
0.06114347651600838,
0.5465793609619141,
0.8919191956520081,
-0.0845545157790184,
0.30874377489089966,
-0.6576222777366638,
0.5150729417800903,
0.18829898536205292,
0.35207629203796387,
-0.06469296663999557,
-0.5629259943962097,
-0.37021198868751526,
0.18817059695720673,
-0.2947169542312622,
-1.3049484491348267,
0.24310114979743958,
0.7489972114562988,
0.4907865524291992,
0.18789109587669373,
0.09869489073753357,
0.8050193190574646,
-0.8109442591667175,
0.5370820164680481,
-0.19127213954925537,
-1.4260743856430054,
0.6207639575004578,
-0.26158297061920166,
-0.057682059705257416,
0.7546120285987854,
0.6222008466720581,
-0.8804897665977478,
-0.09734871983528137,
-0.5449797511100769,
-0.8797246813774109,
0.5503607392311096,
0.010550574399530888,
-0.06317025423049927,
0.006333533674478531,
0.5979409217834473,
0.3721277117729187,
0.3937625288963318,
-0.4328131079673767,
-0.246836319565773,
-0.15552151203155518,
-0.4882858693599701,
-0.2828986644744873,
-0.242020383477211,
0.19434744119644165,
-0.49025800824165344,
0.7093255519866943,
0.1314164698123932,
-0.026944829151034355,
0.2904987037181854,
-0.7000747919082642,
0.17791590094566345,
0.33168041706085205,
0.03578333929181099,
0.20805726945400238,
-0.09216952323913574,
0.23489026725292206,
0.11100965738296509,
-0.4681621491909027,
0.04557812586426735,
0.11738189309835434,
0.15488599240779877,
0.19223423302173615,
0.22294826805591583,
0.6739181876182556,
-0.09425986558198929,
-0.8084726333618164,
0.5304896831512451,
0.11276645213365555,
0.07236446440219879,
-0.13095057010650635,
-0.16191202402114868,
-0.048930563032627106,
0.37462061643600464,
0.023064076900482178,
-0.13771206140518188,
0.6203233003616333,
-0.7382999062538147,
0.34350258111953735,
0.35925909876823425,
-0.30655360221862793,
-0.11000850051641464,
0.3868268132209778,
-0.13253925740718842,
-0.15476228296756744,
0.5201621651649475,
-0.5462506413459778,
-0.7115077376365662,
0.2594240605831146,
0.2570982873439789,
0.5793309807777405,
-0.345544695854187,
0.44333967566490173,
0.28587111830711365,
0.1594286561012268,
-0.06790537387132645,
0.1894858330488205,
-0.28149837255477905,
-0.5173988342285156,
-0.0792601928114891,
-0.6208535432815552,
-0.463513046503067,
-0.5678670406341553,
-0.9762248992919922,
0.14533120393753052,
-0.47258439660072327,
-0.011687816120684147,
-0.1886211335659027,
0.11030787229537964,
-0.5274919867515564,
-0.06095697730779648,
0.2916772961616516,
0.6065145134925842,
-1.0448229312896729,
0.8271679282188416,
0.8191596865653992,
-0.11071939766407013,
-0.8650726675987244,
0.1136675700545311,
0.13019300997257233,
-0.5233041048049927,
0.37954118847846985,
0.12869201600551605,
0.09928545355796814,
0.164878711104393,
-0.0978657454252243,
-0.674538791179657,
1.2810478210449219,
0.30378684401512146,
-0.7546856999397278,
0.09344107657670975,
0.4785171449184418,
0.4197153151035309,
-0.19088707864284515,
-0.1003531739115715,
0.6636059880256653,
0.23183107376098633,
0.04119608551263809,
-1.019081711769104,
0.14761948585510254,
-0.30615684390068054,
0.04921954497694969,
0.09142377972602844,
-0.5642914772033691,
1.0947774648666382,
0.11101353168487549,
-0.39320001006126404,
0.1239720955491066,
0.5404675006866455,
0.16826434433460236,
0.36265677213668823,
0.49875447154045105,
0.7955881953239441,
1.1866282224655151,
-0.013849562034010887,
0.9855895638465881,
-0.14810927212238312,
0.4799940288066864,
1.472082257270813,
-0.39751315116882324,
0.8347559571266174,
0.5397921800613403,
-0.17206890881061554,
0.8840410113334656,
0.7034646272659302,
-0.05149732902646065,
0.38593414425849915,
0.30253270268440247,
-0.04541493207216263,
-0.30447548627853394,
-0.28102949261665344,
-0.4026290476322174,
0.5512369275093079,
0.2605452239513397,
-0.16800415515899658,
-0.22184249758720398,
0.3460840880870819,
-0.10532531887292862,
0.5492913126945496,
-0.13990449905395508,
0.73757004737854,
-0.07460237294435501,
-0.1250361055135727,
0.27133914828300476,
-0.07836738973855972,
0.4411925673484802,
0.0062898737378418446,
-0.08184229582548141,
-0.11896421760320663,
0.3075409531593323,
-0.22958742082118988,
-0.5496878623962402,
0.4844556152820587,
-0.04927023500204086,
-0.052629660815000534,
-0.20190905034542084,
0.440391480922699,
-0.47752517461776733,
-0.537699818611145,
0.07517992705106735,
0.6586719751358032,
0.18027929961681366,
-0.20834454894065857,
-0.7488951086997986,
0.10957744717597961,
0.15092168748378754,
0.19797341525554657,
-0.15155862271785736,
0.7950760722160339,
-0.0902111753821373,
0.2793373763561249,
0.3570590019226074,
0.1534680724143982,
0.32852786779403687,
-0.054455868899822235,
0.6542848944664001,
-0.7289862632751465,
-0.4545673429965973,
-0.9626163244247437,
0.3166199326515198,
-0.09354842454195023,
-0.15339259803295135,
1.3043092489242554,
0.6427333354949951,
1.0092741250991821,
0.06516940891742706,
0.416714608669281,
-0.09193674474954605,
0.870477020740509,
-0.37759843468666077,
0.5998485684394836,
-0.5606632828712463,
0.27479514479637146,
-0.44063225388526917,
-0.6828935742378235,
-0.3884819447994232,
0.9228856563568115,
-0.4202786087989807,
-0.29481443762779236,
0.7114702463150024,
0.6861466765403748,
-0.18289411067962646,
0.07135723531246185,
0.0547366738319397,
0.26034849882125854,
0.040421608835458755,
0.5736269354820251,
0.8793238997459412,
-0.6585915684700012,
-0.025307785719633102,
-0.5599971413612366,
-0.09316729009151459,
-0.12574775516986847,
-0.6286792159080505,
-0.8733029961585999,
-0.8520765900611877,
-0.4967188835144043,
-0.16023416817188263,
0.05780214071273804,
1.0007020235061646,
0.43440577387809753,
-0.7119555473327637,
-0.2754725515842438,
-0.17501285672187805,
0.39271292090415955,
-0.009015130810439587,
-0.17486512660980225,
0.5762418508529663,
-0.14398249983787537,
-0.6853755712509155,
0.125645712018013,
0.15487556159496307,
-0.06277218461036682,
0.09734898060560226,
0.013278372585773468,
-0.6134278774261475,
-0.1655784398317337,
0.3328882157802582,
0.10480166226625443,
-0.6306871771812439,
-0.18293890357017517,
-0.012058848515152931,
-0.03561200946569443,
-0.09117905795574188,
0.5918153524398804,
-0.9412674307823181,
0.4011777639389038,
0.5174500942230225,
0.690368115901947,
0.18564355373382568,
0.0028575232718139887,
0.35020092129707336,
-0.6994338631629944,
0.4444175064563751,
0.11349129676818848,
0.38217657804489136,
0.5925869941711426,
-0.41543611884117126,
0.48569056391716003,
0.3740427494049072,
-0.3176003396511078,
-0.9707867503166199,
0.18017424643039703,
-0.9367172718048096,
-0.34556272625923157,
0.9989804625511169,
-0.13835108280181885,
-0.415914922952652,
-0.16644582152366638,
-0.35649752616882324,
0.5836480259895325,
0.0526469387114048,
0.8458262085914612,
0.6121418476104736,
-0.0005700970650650561,
0.06861856579780579,
-0.1100652813911438,
0.534885823726654,
0.49993833899497986,
-0.654038667678833,
0.015146042220294476,
0.6845604181289673,
0.07617659866809845,
0.021407684311270714,
0.1699381023645401,
-0.13348646461963654,
0.325732558965683,
-0.03968755155801773,
0.09690648317337036,
-0.2143716663122177,
-0.24760214984416962,
-0.6555619239807129,
0.10486309975385666,
0.17559289932250977,
-0.18751926720142365
] |
http://arxiv.org/abs/2405.15604v1
|
http://arxiv.org/pdf/2405.15604v1
|
Text Generation: A Systematic Literature Review of Tasks, Evaluation, and Challenges
| 2024-05-24T14:38:11 | 2024-05-24T14:38:11 |
Jonas Becker, Jan Philip Wahle, Bela Gipp, Terry Ruas
|
cs.CL
|
cs.CL, A.1; I.2.7
|
Text generation has become more accessible than ever, and the increasing
interest in these systems, especially those using large language models, has
spurred an increasing number of related publications. We provide a systematic
literature review comprising 244 selected papers between 2017 and 2024. This
review categorizes works in text generation into five main tasks: open-ended
text generation, summarization, translation, paraphrasing, and question
answering. For each task, we review their relevant characteristics, sub-tasks,
and specific challenges (e.g., missing datasets for multi-document
summarization, coherence in story generation, and complex reasoning for
question answering). Additionally, we assess current approaches for evaluating
text generation systems and ascertain problems with current metrics. Our
investigation shows nine prominent challenges common to all tasks and sub-tasks
in recent text generation publications: bias, reasoning, hallucinations,
misuse, privacy, interpretability, transparency, datasets, and computing. We
provide a detailed analysis of these challenges, their potential solutions, and
which gaps still require further engagement from the community. This systematic
literature review targets two main audiences: early career researchers in
natural language processing looking for an overview of the field and promising
research directions, as well as experienced researchers seeking a detailed view
of tasks, evaluation methodologies, open challenges, and recent mitigation
strategies.
|
[
-0.2695358395576477,
-0.7123084664344788,
0.5442005395889282,
0.15694421529769897,
-0.038881100714206696,
0.009329378604888916,
-0.15500308573246002,
-0.4844101667404175,
-0.28244996070861816,
0.6886641979217529,
-0.6684849262237549,
-0.3347082734107971,
-0.47214940190315247,
0.7326788902282715,
-0.5999976992607117,
1.4480599164962769,
-0.37044742703437805,
-0.2398940920829773,
-0.35575422644615173,
0.2533815801143646,
-0.607854425907135,
-0.32046040892601013,
-0.33139434456825256,
-0.2662733197212219,
0.4765776991844177,
0.38536885380744934,
0.36411839723587036,
0.0654207319021225,
0.8318058252334595,
0.31313973665237427,
-0.14493584632873535,
0.31452032923698425,
-0.39511099457740784,
0.7171599268913269,
-0.17883652448654175,
0.009364107623696327,
-0.12754055857658386,
-0.27039578557014465,
0.6281901001930237,
0.694192111492157,
0.12448912858963013,
0.30818793177604675,
0.17052683234214783,
0.8856092095375061,
-0.6447461843490601,
-0.2682046592235565,
-0.42388278245925903,
0.07619577646255493,
-0.6041932702064514,
-0.03059801459312439,
-0.3203057050704956,
-0.4463231861591339,
0.3505200147628784,
-0.47239819169044495,
0.6217121481895447,
0.0632280558347702,
0.5872248411178589,
0.008126677945256233,
-0.4954621195793152,
-0.9676756858825684,
-0.8662309646606445,
0.9235193133354187,
-0.37302151322364807,
-0.06485669314861298,
0.02866535820066929,
0.09406881034374237,
-0.07797663658857346,
-0.8468589782714844,
-0.43158096075057983,
0.0011625306215137243,
-0.014845591969788074,
0.18395259976387024,
-0.17519941926002502,
-0.04721355065703392,
0.2923796474933624,
0.6821581125259399,
-0.5881098508834839,
-0.32928287982940674,
-0.4872439503669739,
-0.11114756017923355,
0.5959799289703369,
0.36186498403549194,
0.5088014006614685,
-0.5069677829742432,
-0.1527336835861206,
0.07167317718267441,
-0.48362618684768677,
-0.1406925767660141,
0.6182795763015747,
0.10813029855489731,
0.2275390923023224,
0.7308531999588013,
-0.36825650930404663,
0.5818139314651489,
-0.2292369306087494,
-0.043892908841371536,
0.13658830523490906,
-0.9981780052185059,
-0.13060669600963593,
-0.107136070728302,
1.011767864227295,
0.14914526045322418,
0.03374286741018295,
-0.005998583976179361,
-0.2341708093881607,
-0.19848068058490753,
0.4515276253223419,
-0.5689058899879456,
0.20253907144069672,
0.40125906467437744,
-0.5139379501342773,
-0.4693715274333954,
0.010877622291445732,
-0.7254594564437866,
-0.2823548913002014,
-0.12100021541118622,
0.023641329258680344,
-0.44958871603012085,
-0.26751241087913513,
0.04858139529824257,
-0.39572566747665405,
-0.017429590225219727,
0.35361677408218384,
-0.9373612403869629,
0.2642616629600525,
0.46927931904792786,
0.7460474371910095,
-0.23927399516105652,
-0.03349334001541138,
0.12281449884176254,
0.09277020394802094,
-0.23990437388420105,
0.8711919188499451,
-0.12739720940589905,
-0.4208977520465851,
0.3161655366420746,
-0.1873353272676468,
-0.10691186040639877,
-0.4073482155799866,
1.0279695987701416,
-0.12234751135110855,
0.6776439547538757,
-0.41276273131370544,
-0.23802050948143005,
0.061896562576293945,
0.23069605231285095,
-0.5992480516433716,
1.290502667427063,
0.0073807560838758945,
-1.1755669116973877,
0.33992213010787964,
-0.49182191491127014,
-0.598030686378479,
0.07954557240009308,
-0.16256670653820038,
-0.4169970154762268,
0.29712915420532227,
0.26830166578292847,
0.2873317003250122,
-0.7971469759941101,
0.3911927342414856,
0.4261593520641327,
-0.0920478105545044,
0.22900055348873138,
-0.11809457093477249,
0.7068547010421753,
0.6532083749771118,
-0.4559755027294159,
0.18483872711658478,
-0.6199687123298645,
0.04808749631047249,
0.07938222587108612,
-0.22274664044380188,
-0.1703605353832245,
0.2478141039609909,
0.3008931875228882,
0.06126577779650688,
0.346569299697876,
-0.5776359438896179,
-0.10000700503587723,
-0.3386234939098358,
0.4204060435295105,
0.2195630669593811,
0.543989360332489,
0.2826533019542694,
-0.40172457695007324,
0.4711415469646454,
-0.022055774927139282,
0.13273371756076813,
-0.7162496447563171,
-0.658494770526886,
-0.5327001810073853,
0.3665160536766052,
0.35961610078811646,
0.43167644739151,
-1.0249743461608887,
0.4817422330379486,
-0.06324318051338196,
-0.705427348613739,
-0.3351971507072449,
0.028663622215390205,
0.5964853167533875,
0.3951466381549835,
0.2133096307516098,
-0.22547894716262817,
-0.3816722631454468,
-0.835276186466217,
-0.2630029618740082,
-0.12606830894947052,
-0.06990154832601547,
0.01597396470606327,
0.6219081282615662,
-0.12423738092184067,
0.9120822548866272,
-0.4373728632926941,
-0.22612600028514862,
-0.4187335968017578,
0.5683620572090149,
-0.24051661789417267,
0.44004806876182556,
0.09448607265949249,
-0.7271007895469666,
-0.3579135835170746,
0.1138932928442955,
-0.874638557434082,
-0.35133591294288635,
-0.4072996973991394,
0.09367918223142624,
0.23251661658287048,
0.4528053402900696,
-0.5200234651565552,
0.08406446129083633,
0.27033373713493347,
-0.09588366001844406,
0.559724748134613,
-0.1358870416879654,
0.3928878903388977,
-0.9055127501487732,
0.3612046241760254,
-0.03009660169482231,
0.1264703869819641,
-0.7743174433708191,
0.11853532493114471,
-0.1308303028345108,
-0.40831685066223145,
-0.07749635726213455,
0.3257589638233185,
-0.6653277277946472,
0.12326124310493469,
-0.36419782042503357,
0.3826170265674591,
-0.0034413046669214964,
-0.040768321603536606,
-0.2063356637954712,
0.5227069854736328,
0.21744346618652344,
-0.5148683786392212,
0.19536423683166504,
0.28104114532470703,
-0.5185642838478088,
0.29612985253334045,
-0.546944260597229,
0.122135229408741,
-0.23849311470985413,
0.24581344425678253,
-0.8920429348945618,
-0.33761337399482727,
0.19621489942073822,
-0.44761037826538086,
-0.02278032898902893,
0.6045026183128357,
-0.6753542423248291,
-0.34890851378440857,
-0.28510239720344543,
0.25992345809936523,
0.48339414596557617,
0.051955435425043106,
0.08977741003036499,
0.20552419126033783,
-0.6024647355079651,
-0.4132591784000397,
-0.36536216735839844,
0.26581811904907227,
0.17730551958084106,
-0.5774034857749939,
0.3381449580192566,
0.07866154611110687,
-0.5131420493125916,
0.06448440253734589,
0.07856538891792297,
0.09624647349119186,
-0.12995056807994843,
-0.1617632955312729,
-0.20159192383289337,
0.17312654852867126,
0.09865191578865051,
0.33740678429603577,
0.024994421750307083,
0.038314227014780045,
0.01401339378207922,
0.2690223157405853,
0.26285025477409363,
-0.09980238974094391,
0.027150340378284454,
0.608196496963501,
0.20819450914859772,
-0.32721632719039917,
0.10923473536968231,
0.627327561378479,
-0.39444994926452637,
-0.2590487599372864,
-0.4056015610694885,
0.050493963062763214,
-0.39783766865730286,
0.2809666097164154,
-0.20514459908008575,
-0.7390937805175781,
0.15353025496006012,
-0.007913242094218731,
0.5797412395477295,
0.7376465201377869,
0.7308184504508972,
0.007197533268481493,
0.8704091906547546,
0.5421589612960815,
0.5680639147758484,
0.3537279963493347,
0.26188895106315613,
0.32864832878112793,
-0.5533803701400757,
-0.33443567156791687,
-0.8550588488578796,
-0.20957808196544647,
-0.6301133036613464,
-0.45942145586013794,
0.1369791030883789,
0.06631206721067429,
0.1317935287952423,
0.2748996317386627,
-0.8154641389846802,
0.09701957553625107,
0.4455973207950592,
-0.25394880771636963,
0.531512975692749,
0.048938170075416565,
-0.1425854116678238,
-0.17987743020057678,
-0.47197043895721436,
-0.8944165110588074,
1.077292561531067,
0.20384736359119415,
0.3927391469478607,
-0.17538230121135712,
0.8315450549125671,
0.21294549107551575,
0.3787987530231476,
-0.3718991279602051,
0.6161884665489197,
-0.08197344094514847,
-0.9273817539215088,
-0.43100348114967346,
-0.473322331905365,
-1.0311572551727295,
0.13038283586502075,
-0.39079397916793823,
-0.4485165774822235,
-0.14403648674488068,
-0.1765967309474945,
-0.15281942486763,
-0.0915895625948906,
-0.44810640811920166,
0.553482711315155,
-0.06412746757268906,
-0.3721682131290436,
0.0522010438144207,
-0.7456594705581665,
0.7460355758666992,
-0.14664021134376526,
0.2549113631248474,
0.010917317122220993,
0.03170663118362427,
0.8050264120101929,
-0.19060173630714417,
0.5065510272979736,
-0.007776020560413599,
-0.3024660050868988,
0.8197427988052368,
-0.1793546974658966,
0.17047517001628876,
-0.12579739093780518,
-0.019796451553702354,
-0.14048098027706146,
0.1589219868183136,
-0.20784057676792145,
-0.22194865345954895,
0.42179766297340393,
-0.22910715639591217,
-0.28927069902420044,
-0.6142492294311523,
-0.4942619800567627,
-0.2478046715259552,
0.3876858651638031,
0.785568118095398,
0.2558118402957916,
-0.5736629962921143,
0.23124973475933075,
0.612598717212677,
-0.44810402393341064,
0.4927551746368408,
-0.05989103764295578,
-0.3938407003879547,
-0.6481916308403015,
0.9067966341972351,
0.10232023894786835,
0.18708394467830658,
0.37968072295188904,
-0.10084965080022812,
0.00394354946911335,
-0.8320844173431396,
-0.6870429515838623,
-0.06311764568090439,
-0.27252015471458435,
0.04455646127462387,
-0.7481508255004883,
-0.256801962852478,
-0.5147793292999268,
-0.025641649961471558,
0.001678789034485817,
-0.30757832527160645,
-0.33738669753074646,
0.0086226100102067,
-0.11299528926610947,
1.0528777837753296,
0.35599422454833984,
0.4133339822292328,
-0.7958048582077026,
0.44042834639549255,
0.02188166417181492,
0.01082153245806694,
-0.011153011582791805,
0.050340231508016586,
-0.3962708115577698,
-0.30471858382225037,
-0.9413440823554993,
-0.9991968274116516,
0.2509416341781616,
-0.15492446720600128,
0.2557838261127472,
0.07890100032091141,
0.07872273772954941,
0.18237508833408356,
-0.7400633096694946,
1.1163095235824585,
0.45849427580833435,
-0.8253039121627808,
0.614737868309021,
-0.6240985989570618,
0.545120358467102,
0.7107666730880737,
0.2514059543609619,
-0.7195931673049927,
-0.5939977169036865,
-0.6294721364974976,
-0.985203742980957,
0.5130971670150757,
0.891008734703064,
0.002865955699235201,
-0.1477949321269989,
0.1765785813331604,
0.1943194419145584,
0.5117864012718201,
-0.6075746417045593,
-0.03367745876312256,
0.08542848378419876,
-0.41464483737945557,
0.04400977864861488,
-0.1011141985654831,
-0.03031366504728794,
0.25256308913230896,
0.5348426103591919,
-0.019001487642526627,
0.11131106317043304,
0.5091697573661804,
-0.07287953048944473,
-0.4017089903354645,
0.6527420878410339,
0.73801189661026,
0.4728860557079315,
0.05686251074075699,
-0.19339947402477264,
-0.024280274286866188,
-0.5936123728752136,
0.06335829198360443,
0.05562034994363785,
-0.6421218514442444,
0.358211874961853,
0.47314390540122986,
0.5741450786590576,
0.27230075001716614,
-0.7252528071403503,
0.33522874116897583,
-0.14036521315574646,
-0.8336836099624634,
-0.07865089178085327,
-0.013089067302644253,
0.028469866141676903,
-0.2011299878358841,
0.5925318002700806,
0.05703740566968918,
0.37185484170913696,
-0.4599098563194275,
-0.12663695216178894,
0.27163171768188477,
-0.4682163596153259,
-0.2732764482498169,
0.5119107365608215,
0.4972453713417053,
-0.2890418767929077,
0.2758687436580658,
-0.19933448731899261,
-0.01706116832792759,
0.5091679692268372,
0.38962066173553467,
1.1522105932235718,
0.03289126977324486,
0.3802395164966583,
0.417907178401947,
0.672261655330658,
-0.21809910237789154,
0.5610249638557434,
-0.07262898981571198,
-0.41082340478897095,
-0.4139265716075897,
-0.7577527165412903,
-0.6515964269638062,
0.0998835414648056,
-0.4365057945251465,
0.20638231933116913,
-0.1486046314239502,
-0.36287182569503784,
-0.023804619908332825,
0.1427776962518692,
-0.36000344157218933,
0.28508827090263367,
-0.1180322915315628,
0.7375810742378235,
-0.4964369833469391,
0.1861986219882965,
0.7760456204414368,
-0.38612550497055054,
-0.11435176432132721,
0.2522289454936981,
-0.1135822981595993,
0.04362579435110092,
0.3197474777698517,
0.08357219398021698,
0.052182506769895554,
-0.05925039201974869,
-0.35259342193603516,
-0.5491143465042114,
0.9735583662986755,
0.07110168784856796,
-0.5882899165153503,
-0.5002304315567017,
0.09761662781238556,
0.7500326037406921,
-0.2505856454372406,
0.1991553008556366,
0.3494063913822174,
0.5080574154853821,
-0.11034760624170303,
-0.6924805641174316,
0.03938151150941849,
-0.16569441556930542,
0.1716604381799698,
0.3396119177341461,
-0.563999354839325,
0.6438824534416199,
-0.018964463844895363,
-0.5744101405143738,
0.384722501039505,
0.6040293574333191,
0.3326714038848877,
0.4551580250263214,
0.35570767521858215,
0.29734382033348083,
0.4803471863269806,
-0.16808870434761047,
0.8474979996681213,
-0.21687617897987366,
0.1326596587896347,
0.6847803592681885,
-0.4840589463710785,
0.5422194600105286,
0.5199579000473022,
-0.0931989923119545,
0.409453809261322,
0.629400372505188,
0.1678413599729538,
0.2761647701263428,
0.4148539900779724,
-0.3386964499950409,
0.04237863048911095,
-0.2074858397245407,
-0.4396840035915375,
0.09889786690473557,
0.1448640525341034,
-0.5293080806732178,
-0.457866370677948,
0.16978542506694794,
-0.22256456315517426,
0.32778170704841614,
-0.0456828698515892,
0.9730008840560913,
-0.005922719370573759,
-1.146201729774475,
0.04369591549038887,
0.32175886631011963,
0.4334658980369568,
-0.5178505778312683,
-0.013600210659205914,
0.04592340812087059,
-0.20111386477947235,
-0.365337610244751,
-0.6703622341156006,
0.2939145267009735,
0.47781965136528015,
-0.3061005175113678,
-0.8077362179756165,
1.1048685312271118,
-0.18055781722068787,
-0.5287901759147644,
-0.0770011693239212,
0.7304605841636658,
0.03361793980002403,
0.12306883186101913,
-0.47629618644714355,
0.09724657237529755,
0.12109975516796112,
-0.5455806851387024,
0.1448816955089569,
0.7128984332084656,
-0.1142922192811966,
0.20870788395404816,
0.6087072491645813,
0.076512910425663,
0.053513605147600174,
0.02499769814312458,
0.48724448680877686,
-0.9008643627166748,
-0.3485988974571228,
-0.5761510133743286,
0.5818419456481934,
-0.14492745697498322,
-0.877389669418335,
0.7645381093025208,
0.5478567481040955,
0.5562067031860352,
-0.09054959565401077,
1.111987590789795,
-0.33681413531303406,
0.7285788059234619,
-0.3528616726398468,
0.6486738920211792,
-0.263098806142807,
-0.0344080850481987,
-0.6311226487159729,
-0.8850038051605225,
-0.09826438874006271,
0.17214007675647736,
-0.283426433801651,
-0.016060445457696915,
1.121882677078247,
0.1756463199853897,
0.41375088691711426,
0.3841264843940735,
0.14928197860717773,
-0.3066863715648651,
0.19931213557720184,
0.28414303064346313,
0.9200364351272583,
-0.6492642760276794,
0.6703618168830872,
-0.08153586834669113,
-0.15855242311954498,
0.08885037899017334,
-0.7573988437652588,
-0.6834263205528259,
-0.8408050537109375,
-0.23663429915905,
-0.0628976821899414,
-0.0680156797170639,
0.27930453419685364,
0.2558577060699463,
-0.6463767886161804,
-0.33827468752861023,
-0.5564595460891724,
0.18598054349422455,
-0.18524976074695587,
-0.239980548620224,
-0.12134477496147156,
-0.867527186870575,
-0.8703690767288208,
0.07178907096385956,
0.2675490975379944,
-0.18068324029445648,
-0.3680717945098877,
0.24522410333156586,
-0.21695518493652344,
0.11950519680976868,
0.6058928966522217,
0.1538967341184616,
-0.4316011369228363,
0.15760530531406403,
0.1294504851102829,
-0.4937256872653961,
-0.32001790404319763,
1.2391674518585205,
-0.24093030393123627,
0.34638282656669617,
0.7882822155952454,
0.6238377094268799,
0.500696063041687,
-0.08163419365882874,
0.7066012620925903,
-0.6930534839630127,
-0.4146808981895447,
0.41641029715538025,
0.06078976020216942,
0.4884159564971924,
-0.15044893324375153,
0.47170668840408325,
0.23791708052158356,
-0.7257253527641296,
-1.0450947284698486,
0.33871138095855713,
-0.6136418581008911,
-0.327749639749527,
0.8666031360626221,
0.2237483561038971,
-0.12591786682605743,
-0.34893226623535156,
-0.5014098286628723,
0.28175023198127747,
-0.1253846436738968,
0.5581616759300232,
0.9716005325317383,
-0.1948176473379135,
-0.0714401975274086,
-0.7945476770401001,
0.707730770111084,
0.45461520552635193,
-1.1799869537353516,
0.27780881524086,
0.6472342610359192,
-0.23264606297016144,
0.44247275590896606,
0.8301262259483337,
-0.34484240412712097,
0.09905098378658295,
0.01601264998316765,
0.32955050468444824,
0.34052157402038574,
-0.3454388380050659,
-0.11627926677465439,
0.5220690965652466,
-0.00396329490467906,
0.24493737518787384
] |
http://arxiv.org/abs/2405.15590v1
|
http://arxiv.org/pdf/2405.15590v1
|
Profiling checkpointing schedules in adjoint ST-AD
| 2024-05-24T14:20:45 | 2024-05-24T14:20:45 |
Laurent Hascoët, Jean-Luc Bouchot, Shreyas Sunil Gaikwad, Sri Hari Krishna Narayanan, Jan Hückelheim
|
cs.CL
|
cs.CL
|
Checkpointing is a cornerstone of data-flow reversal in adjoint algorithmic
differentiation. Checkpointing is a storage/recomputation trade-off that can be
applied at different levels, one of which being the call tree. We are looking
for good placements of checkpoints onto the call tree of a given application,
to reduce run time and memory footprint of its adjoint. There is no known
optimal solution to this problem other than a combinatorial search on all
placements. We propose a heuristics based on run-time profiling of the adjoint
code. We describe implementation of this profiling tool in an existing
source-transformation AD tool. We demonstrate the interest of this approach on
test cases taken from the MITgcm ocean and atmospheric global circulation
model. We discuss the limitations of our approach and propose directions to
lift them.
|
[
-0.5201249122619629,
-0.6912563443183899,
0.47549018263816833,
-0.23865363001823425,
-0.33961302042007446,
0.5247581601142883,
0.3652661442756653,
-0.5280777215957642,
0.24090702831745148,
0.6701380014419556,
-0.932900071144104,
-0.3699110448360443,
-0.2817263603210449,
-0.4743698239326477,
-0.5532150864601135,
0.8846997618675232,
-0.5466626882553101,
0.04661168158054352,
-0.13056306540966034,
-0.4971717894077301,
-0.6219735741615295,
-0.2626468241214752,
-1.088625192642212,
-0.11073228716850281,
0.28709107637405396,
0.31777235865592957,
0.44590383768081665,
0.9775576591491699,
0.23663969337940216,
0.15871955454349518,
-0.24094556272029877,
-0.09193702787160873,
-0.369533896446228,
0.4403104782104492,
-0.20986026525497437,
-0.2962702810764313,
-0.10359419137239456,
0.1378943771123886,
0.7970373034477234,
0.6650359630584717,
-0.32035523653030396,
0.3060285151004791,
-0.3458312153816223,
0.8493438959121704,
-0.9127000570297241,
0.12195606529712677,
-0.5341073274612427,
-0.04813692346215248,
-0.3831440806388855,
-0.30079150199890137,
0.04119524732232094,
-0.46774008870124817,
0.1993972808122635,
-0.415390282869339,
0.6007935404777527,
-0.05068415030837059,
0.5493010878562927,
0.3074485659599304,
-0.8727077841758728,
-0.014433490112423897,
-1.0403190851211548,
0.7942649126052856,
-0.38816753029823303,
0.26602455973625183,
-0.10167109966278076,
0.6214002370834351,
-0.008546609431505203,
-0.35551074147224426,
-0.19820080697536469,
0.21339017152786255,
0.2489558756351471,
0.16828832030296326,
0.15488097071647644,
0.015482312068343163,
0.3756677210330963,
0.6267553567886353,
-0.6348061561584473,
0.0062909480184316635,
-0.5511381030082703,
-0.1572561264038086,
0.7986419796943665,
0.45680487155914307,
0.07919465750455856,
0.5277626514434814,
-0.6562031507492065,
-0.22680996358394623,
-0.7776321172714233,
0.23909573256969452,
0.43608641624450684,
0.08696170896291733,
0.14204981923103333,
0.08552048355340958,
-0.23950205743312836,
0.6407299637794495,
-0.4557083249092102,
0.08686520159244537,
-0.1386498361825943,
-0.597136378288269,
-0.05937071889638901,
0.20271356403827667,
0.13178549706935883,
0.18581095337867737,
-0.08753637224435806,
0.09433974325656891,
-0.3506399095058441,
0.1973544955253601,
0.5921487212181091,
-0.9222370982170105,
-0.34800004959106445,
0.2398248165845871,
-0.08465154469013214,
-0.4942582845687866,
0.1183178648352623,
-0.47836124897003174,
-0.27045732736587524,
-0.31641823053359985,
0.23888197541236877,
-0.29185616970062256,
-0.08472388982772827,
-0.36235901713371277,
-0.22984279692173004,
0.42082110047340393,
0.37789982557296753,
-0.12315651029348373,
0.35009750723838806,
0.6250366568565369,
0.8853341341018677,
-0.3597814440727234,
-0.023102084174752235,
-0.7403009533882141,
0.3712346851825714,
-0.448862761259079,
0.6452246904373169,
-0.47889307141304016,
-0.6568753123283386,
-0.11157547682523727,
0.09857466071844101,
-0.6428038477897644,
-0.689750075340271,
0.3295823037624359,
-0.9180598855018616,
0.15003006160259247,
-0.44566455483436584,
-0.27283287048339844,
-0.5871893763542175,
-0.0019573091994971037,
-0.8296235203742981,
1.0368223190307617,
0.18811683356761932,
-0.5865284204483032,
0.4283078610897064,
-0.7471389174461365,
-0.6157603859901428,
-0.19676275551319122,
0.08192794770002365,
-0.7667211294174194,
-0.023491131141781807,
0.14956170320510864,
-0.19158680737018585,
-0.2616601288318634,
-0.025834305211901665,
-0.3123357892036438,
-0.5033577680587769,
-0.1115420013666153,
-0.13884784281253815,
1.13056218624115,
0.6757249236106873,
-0.31144681572914124,
0.1939287930727005,
-0.6584905385971069,
0.12986549735069275,
0.1596672087907791,
-0.21772442758083344,
-0.3127937912940979,
0.2775944769382477,
-0.3797588050365448,
0.03078942745923996,
-0.06650145351886749,
-0.6088937520980835,
0.41249439120292664,
-0.14974042773246765,
0.6622154116630554,
0.7181107401847839,
0.4320601224899292,
0.1838085800409317,
-0.40543338656425476,
0.8478067517280579,
0.512744665145874,
0.18704093992710114,
-0.17960990965366364,
-0.3293931484222412,
-0.5552256107330322,
-0.2541075050830841,
0.11412130296230316,
0.7478876709938049,
-0.7600247859954834,
0.05717948079109192,
-0.1573495715856552,
-0.379691481590271,
-0.3981921374797821,
0.23987287282943726,
0.44417604804039,
0.2880382239818573,
0.27491089701652527,
-0.6830952167510986,
-0.537261962890625,
-1.026626467704773,
-0.15319213271141052,
-0.30576059222221375,
0.12843158841133118,
0.17729900777339935,
0.3055591583251953,
-0.22266170382499695,
0.7022577524185181,
-0.8097700476646423,
-0.06461991369724274,
-0.0765562430024147,
0.23633456230163574,
0.14900416135787964,
0.49987873435020447,
0.759674072265625,
-0.7726646065711975,
-0.2944556772708893,
-0.4545969069004059,
-0.1688207983970642,
-0.2462409883737564,
-0.09935364127159119,
-0.26897740364074707,
0.24837227165699005,
0.6643827557563782,
-0.38684719800949097,
0.5586035847663879,
0.5269665718078613,
-0.36432909965515137,
0.762073278427124,
0.16902105510234833,
0.2413964718580246,
-0.8256663680076599,
0.6027303338050842,
-0.4542076587677002,
-0.4761877655982971,
-0.4776883125305176,
0.4842866063117981,
-0.232721745967865,
-0.4068912863731384,
-0.30110877752304077,
0.3205796182155609,
-0.4146108329296112,
-0.2636928856372833,
-0.28084421157836914,
-0.22151626646518707,
0.019163621589541435,
0.24285298585891724,
-0.009075156413018703,
0.9134334921836853,
0.49105405807495117,
-0.8794329762458801,
0.347974956035614,
-0.18725626170635223,
-0.14215336740016937,
0.9083822965621948,
-0.4950051009654999,
0.3389398455619812,
-0.023010985925793648,
0.508877158164978,
-1.3708957433700562,
0.3600037097930908,
0.10713227093219757,
-0.048400554805994034,
0.34093713760375977,
-0.6343833208084106,
-0.20090895891189575,
-0.5230767726898193,
-0.6863210201263428,
0.9278199672698975,
0.10653828084468842,
-0.6935591697692871,
0.21547840535640717,
0.4809877574443817,
-0.06601549685001373,
-0.17643414437770844,
-0.1885993778705597,
-0.24324467778205872,
-0.35919076204299927,
-0.6025328636169434,
0.4989152252674103,
0.01615685038268566,
-0.17465339601039886,
-0.18634381890296936,
-0.5663861632347107,
-0.10586735606193542,
0.25171661376953125,
0.262764036655426,
0.30724450945854187,
-0.1860053986310959,
-0.42333143949508667,
0.02572857216000557,
-0.360737681388855,
0.013333810493350029,
-0.6069967150688171,
0.33260127902030945,
0.17038454115390778,
-0.48060721158981323,
-0.1417451947927475,
0.4723811447620392,
0.6983640789985657,
-0.027850570157170296,
0.6363270282745361,
0.5618024468421936,
-0.21669593453407288,
-0.06818243861198425,
-0.4655051529407501,
-0.08706443011760712,
-0.4330281615257263,
0.00511896051466465,
-0.1690312772989273,
-0.3710595965385437,
1.1058710813522339,
0.039816293865442276,
0.572304368019104,
0.5371854901313782,
0.09352849423885345,
0.17141295969486237,
1.3117709159851074,
0.41870319843292236,
-0.2315477430820465,
0.7957702279090881,
-0.6283065676689148,
0.1330859512090683,
-0.9737867116928101,
0.2847243845462799,
-0.44457903504371643,
-0.6815263032913208,
-0.3225017488002777,
-0.36149463057518005,
0.5908603072166443,
0.24149908125400543,
-0.2511136829853058,
0.5750835537910461,
-0.4087119400501251,
0.2969588041305542,
0.6884234547615051,
-0.21475522220134735,
0.30524688959121704,
-0.20250719785690308,
-0.04503794014453888,
0.20707234740257263,
-0.6827712059020996,
-0.16405613720417023,
0.7141126990318298,
0.17286556959152222,
0.4175575375556946,
-0.05040908604860306,
0.5417537689208984,
0.034980107098817825,
0.34840595722198486,
-0.5516054630279541,
0.7238649129867554,
-0.016843833029270172,
-0.9376350045204163,
-0.073915034532547,
-0.7752388715744019,
-0.9831978678703308,
0.22133705019950867,
0.5570604801177979,
-0.7663000226020813,
0.1531781703233719,
0.38868722319602966,
-0.2710813879966736,
0.6179259419441223,
-0.8267253041267395,
0.8645387887954712,
0.0320998877286911,
-0.2086922526359558,
-0.6043883562088013,
-0.5960677862167358,
0.36579495668411255,
0.21022401750087738,
-0.03032330609858036,
-0.037864115089178085,
0.12946324050426483,
0.9205003380775452,
-0.8095549941062927,
0.4670581817626953,
-0.7102959156036377,
-0.25259387493133545,
0.6701570749282837,
0.5222744941711426,
0.74997878074646,
-0.010936982929706573,
0.1752784550189972,
0.10866939276456833,
0.5357626676559448,
-0.5121139287948608,
-0.03693845868110657,
0.9733472466468811,
-0.3827427923679352,
-0.5032284259796143,
-0.3371046185493469,
-0.3155592679977417,
-0.15662109851837158,
0.1660412847995758,
0.027545303106307983,
0.16105958819389343,
-0.35385385155677795,
-0.27435484528541565,
0.32291221618652344,
0.012035209685564041,
0.4360785484313965,
0.7815264463424683,
-0.10215966403484344,
-0.2416178584098816,
0.9636489748954773,
0.26536643505096436,
0.35570549964904785,
0.13749876618385315,
-0.03200271353125572,
-0.2529500424861908,
-0.5796669721603394,
-0.6690464615821838,
0.11508741974830627,
-0.3738463819026947,
-0.26217731833457947,
-0.13133369386196136,
-0.35147979855537415,
-0.1689378321170807,
-0.23428305983543396,
-0.634223997592926,
-0.7462916374206543,
0.17959937453269958,
-0.025885174050927162,
0.1944056898355484,
0.2953387498855591,
0.19920575618743896,
0.24693502485752106,
-0.6781010627746582,
0.01777726039290428,
0.340756356716156,
0.39360252022743225,
-0.07065731287002563,
-0.376157283782959,
-0.31271544098854065,
0.19959089159965515,
-0.8554049730300903,
-0.5532223582267761,
0.12583301961421967,
0.16113854944705963,
0.5578719973564148,
0.5670485496520996,
0.1572568267583847,
0.779310941696167,
-0.05216579511761665,
0.681096076965332,
-0.2175191044807434,
-0.8983232378959656,
0.7132418155670166,
-0.38062217831611633,
0.3781631290912628,
0.6951478719711304,
0.1459602266550064,
-0.44564181566238403,
-0.5249958038330078,
-0.765149712562561,
-1.171791911125183,
0.7933240532875061,
0.20782504975795746,
-0.5588849782943726,
0.4832996129989624,
0.3126150965690613,
-0.0884786918759346,
0.28690773248672485,
0.03759647160768509,
-0.18266607820987701,
0.18595753610134125,
0.36131423711776733,
-0.3051905632019043,
0.03514884412288666,
-0.5431098341941833,
-0.16515792906284332,
0.46569836139678955,
-0.08717582374811172,
0.24202845990657806,
0.18356432020664215,
-0.023885827511548996,
-0.393179714679718,
-0.06030529737472534,
0.4574470818042755,
0.7760513424873352,
-0.27542033791542053,
0.26079651713371277,
0.12612487375736237,
-0.5719912648200989,
0.1017436683177948,
0.22894521057605743,
-0.41395387053489685,
-0.10713861137628555,
0.29815909266471863,
0.5211914777755737,
0.1581234484910965,
-0.44754207134246826,
0.2991372048854828,
0.2324567586183548,
-0.17395588755607605,
-0.29253503680229187,
0.2792239785194397,
-0.18102909624576569,
0.139781653881073,
0.24732547998428345,
0.10554754734039307,
0.3290615975856781,
-0.7056934833526611,
0.13028161227703094,
0.582653284072876,
-0.4373716413974762,
-0.5534524321556091,
0.9738801717758179,
0.15907251834869385,
0.1063530296087265,
0.6718500256538391,
-0.17673155665397644,
-0.6259688138961792,
0.8167482614517212,
0.08956585079431534,
1.240557074546814,
-0.477754145860672,
0.09217698872089386,
0.41766485571861267,
-0.09128458797931671,
0.08389949798583984,
0.3478013575077057,
-0.2698458135128021,
-0.48106396198272705,
-0.2570091187953949,
-0.34147337079048157,
-0.3340403735637665,
-0.1256459802389145,
-0.742209792137146,
0.35272902250289917,
-0.5178328156471252,
-0.004895959980785847,
0.13041700422763824,
0.19101247191429138,
-0.7032803893089294,
-0.2267363965511322,
0.04103084281086922,
0.9071065783500671,
-0.9222389459609985,
0.7551462650299072,
0.9076352119445801,
0.196000337600708,
-0.11584341526031494,
0.04956641048192978,
0.5917463302612305,
-0.8538310527801514,
0.37255722284317017,
0.21654926240444183,
-0.2754513919353485,
0.15395419299602509,
-0.4181995987892151,
-0.6757902503013611,
1.375963807106018,
0.17773845791816711,
-0.22747449576854706,
0.22299069166183472,
-0.3017311096191406,
0.47517967224121094,
-0.25837984681129456,
0.15428917109966278,
0.4773086905479431,
0.31155672669410706,
0.6473568081855774,
-0.906952977180481,
0.22668558359146118,
-0.10070464015007019,
0.25638777017593384,
0.6369885802268982,
-0.7155565023422241,
0.6526002287864685,
-0.4427671432495117,
-0.8452590703964233,
-0.20196698606014252,
-0.00030927936313673854,
0.29344791173934937,
0.4946031868457794,
0.8940615653991699,
0.9231569170951843,
0.3800036609172821,
-0.07308246195316315,
1.0109994411468506,
-0.369012713432312,
0.25167587399482727,
0.6326225399971008,
-0.3607756197452545,
0.507617712020874,
0.536805272102356,
-0.4750996232032776,
0.42653441429138184,
0.6533310413360596,
0.3987383544445038,
0.4800516664981842,
0.23044265806674957,
-0.31631147861480713,
-0.0234034676104784,
-0.06628897041082382,
-0.2855296730995178,
0.10218430310487747,
0.15027882158756256,
-0.23373252153396606,
-0.44966310262680054,
-0.4436955153942108,
0.035853367298841476,
-0.636626124382019,
-0.3146804869174957,
0.858073890209198,
0.0383625365793705,
-0.8189201354980469,
0.646355926990509,
0.08755656331777573,
-0.005753474310040474,
-0.5279151201248169,
0.07143368571996689,
-0.22067569196224213,
0.49206870794296265,
-0.006874113343656063,
-0.646406352519989,
0.6588406562805176,
-0.5356007218360901,
-0.06595383584499359,
-0.5586928129196167,
0.419763445854187,
-0.3437078595161438,
-0.0019063318613916636,
0.29675403237342834,
0.2678666412830353,
-0.08810160309076309,
-0.28984445333480835,
-0.6327915787696838,
-0.0030928426422178745,
0.08844111859798431,
-0.34338581562042236,
0.28268498182296753,
0.08161324262619019,
-0.29749345779418945,
0.8153032660484314,
0.683315634727478,
0.10323953628540039,
-0.07919567823410034,
-0.007271905429661274,
0.9820857048034668,
-0.7125394940376282,
-0.7876251935958862,
-0.598700761795044,
0.33671748638153076,
0.03618856891989708,
-0.10409387201070786,
0.6011639833450317,
0.9871805310249329,
0.7679926156997681,
0.16167192161083221,
0.5435410141944885,
0.009665357880294323,
0.6822666525840759,
-0.7091089487075806,
0.13805235922336578,
-0.36280056834220886,
0.6509504914283752,
-0.17433330416679382,
-1.171831488609314,
0.05331506207585335,
0.2984483242034912,
-0.3882242441177368,
-0.0827903151512146,
0.6049181818962097,
0.7040222883224487,
-0.26827147603034973,
0.1328057050704956,
-0.2830216884613037,
-0.08101670444011688,
0.7981978058815002,
0.7936477065086365,
0.7518455982208252,
-0.3902997076511383,
0.6195346713066101,
-0.25386589765548706,
-0.29754239320755005,
-0.3809634745121002,
-0.5794708132743835,
-0.3240668773651123,
-0.5712891817092896,
-0.7991986274719238,
-0.4745986759662628,
0.029387515038251877,
0.22506120800971985,
0.8890159130096436,
-1.0356009006500244,
-0.21454906463623047,
-0.38534292578697205,
0.2460263967514038,
-0.7645840644836426,
-0.3194029927253723,
0.17761299014091492,
-0.12786713242530823,
-0.37638750672340393,
0.472255676984787,
0.10971511155366898,
0.14803765714168549,
-0.45630326867103577,
0.21040558815002441,
-0.08064868301153183,
-0.06454596668481827,
0.2511005997657776,
0.7448318600654602,
0.06763201206922531,
-0.41344133019447327,
-0.32435938715934753,
0.12529660761356354,
-0.10044612735509872,
1.563239336013794,
-0.5370631814002991,
0.4967587888240814,
0.7818120121955872,
0.2705647349357605,
0.8933706879615784,
0.4276532828807831,
0.8731463551521301,
-1.1393743753433228,
0.1742515116930008,
0.19049453735351562,
0.15719985961914062,
-0.1747034639120102,
-0.16652154922485352,
0.6751670241355896,
0.7116432189941406,
-0.6793563365936279,
-0.8649571537971497,
0.5278178453445435,
-0.8739995956420898,
-0.28211113810539246,
0.8294251561164856,
-0.029632946476340294,
0.13326862454414368,
-0.2838827967643738,
-0.22979053854942322,
-0.009333236142992973,
-0.2514498233795166,
0.8641913533210754,
0.7077489495277405,
-0.4468214213848114,
0.08769712597131729,
-0.6937900185585022,
0.4293626546859741,
0.3262864649295807,
-0.4687943160533905,
0.33261463046073914,
0.5025361776351929,
0.3281766176223755,
0.3009583055973053,
0.46369147300720215,
-0.3487709164619446,
0.03593296557664871,
-0.024154556915163994,
-0.3513566553592682,
-0.03948779031634331,
-0.31316617131233215,
-0.208010733127594,
-0.09720463305711746,
-0.08472050726413727,
-0.6682391166687012
] |
http://arxiv.org/abs/2405.15585v2
|
http://arxiv.org/pdf/2405.15585v2
|
Synergizing In-context Learning with Hints for End-to-end Task-oriented Dialog Systems
| 2024-05-24T14:13:54 | 2024-07-03T05:26:24 |
Vishal Vivek Saley, Rocktim Jyoti Das, Dinesh Raghu, Mausam
|
cs.CL
|
cs.CL
|
End-to-end Task-Oriented Dialog (TOD) systems typically require extensive
training datasets to perform well. In contrast, large language model (LLM)
based TOD systems can excel even with limited data due to their ability to
learn tasks through in-context exemplars. However, these models lack alignment
with the style of responses in training data and often generate comprehensive
responses, making it difficult for users to grasp the information quickly. In
response, we propose SyncTOD that synergizes LLMs with task-specific hints to
improve alignment in low-data settings. SyncTOD employs small auxiliary models
to provide hints and select exemplars for in-context prompts. With ChatGPT,
SyncTOD achieves superior performance compared to LLM-based baselines and SoTA
models in low-data settings, while retaining competitive performance in
full-data settings.
|
[
-0.13529305160045624,
-0.6784566044807434,
0.49421557784080505,
-0.0912039503455162,
-0.6213080883026123,
0.0658736377954483,
-0.4528299868106842,
-0.2928984761238098,
0.1554451882839203,
0.11338013410568237,
-1.002828598022461,
-0.3888697624206543,
-0.25815537571907043,
0.09559953957796097,
-0.0911799743771553,
1.2311919927597046,
0.04949505254626274,
0.2815539836883545,
-0.5633496046066284,
-0.2140660136938095,
-0.881758451461792,
-0.39978334307670593,
-0.7603185772895813,
-0.41049641370773315,
0.13481177389621735,
0.7111852765083313,
0.46595337986946106,
0.40650269389152527,
0.07087105512619019,
0.14302918314933777,
-0.03763988986611366,
0.3212423622608185,
-0.4483998715877533,
0.7765072584152222,
-0.14285871386528015,
-0.4409600496292114,
-0.3750144839286804,
-0.362104594707489,
0.085092693567276,
0.6785116195678711,
-0.0881597176194191,
0.14778995513916016,
0.35366421937942505,
0.32915839552879333,
-0.3062879145145416,
0.2776137888431549,
-0.39115503430366516,
-0.12593334913253784,
-0.06589306145906448,
-0.4558488428592682,
-0.27322104573249817,
0.07027444243431091,
0.5400877594947815,
-0.8776223659515381,
-0.05671939253807068,
0.17041558027267456,
0.6267677545547485,
0.5807141065597534,
-0.36605075001716614,
-0.30472299456596375,
-0.24240215122699738,
0.5864672660827637,
-0.7428069710731506,
0.44817402958869934,
0.18338455259799957,
0.34294500946998596,
-0.40001362562179565,
-0.2809087932109833,
-0.4046981632709503,
0.1868082731962204,
0.1300887167453766,
0.33929064869880676,
0.28285735845565796,
0.1008964478969574,
0.47805625200271606,
0.04798451438546181,
-0.5271704196929932,
0.05269147828221321,
0.13815514743328094,
-0.10521453619003296,
0.20236113667488098,
0.3294167220592499,
0.10961506515741348,
-0.08986286073923111,
-0.5374720096588135,
-0.13333341479301453,
-0.7455298900604248,
0.1424473226070404,
-0.17423605918884277,
0.6173725128173828,
-0.3691806495189667,
0.40829581022262573,
-0.3693206310272217,
0.9387500286102295,
0.2793898582458496,
-0.0815865620970726,
0.026813168078660965,
-0.5482048988342285,
-0.4427490830421448,
0.0078088450245559216,
0.6845576167106628,
0.5297548770904541,
-0.10605339705944061,
-0.3490959703922272,
-0.4156440198421478,
-0.13196223974227905,
-0.18730753660202026,
-0.5729802250862122,
0.02839609980583191,
0.20216776430606842,
-0.21902351081371307,
0.09072256833314896,
-0.4946790635585785,
-0.6768932938575745,
-0.3537668287754059,
-0.6494167447090149,
0.5428808331489563,
-0.4911099970340729,
0.26430365443229675,
-0.14996829628944397,
-0.09713387489318848,
0.15057429671287537,
0.9752901792526245,
-0.7305446267127991,
0.23081181943416595,
0.7197307348251343,
1.0564924478530884,
-0.056421373039484024,
0.04206017777323723,
-0.7211434245109558,
0.2415333390235901,
-0.00599634600803256,
0.5132799744606018,
-0.6300051212310791,
-0.3771877586841583,
-0.039770644158124924,
-0.012626949697732925,
-0.034149426966905594,
-0.4056222438812256,
0.3887052536010742,
-0.431999534368515,
0.6472568511962891,
-0.3802219331264496,
-0.8271826505661011,
0.12400224804878235,
0.3103685677051544,
-0.23334184288978577,
1.0940035581588745,
0.16989050805568695,
-0.8367034792900085,
0.601773738861084,
-0.552548885345459,
-0.6300771236419678,
0.1342145949602127,
-0.19079580903053284,
-0.29991960525512695,
0.17397017776966095,
0.27149471640586853,
0.49468258023262024,
-0.4350564479827881,
0.3255719244480133,
-0.19452530145645142,
-0.2913622558116913,
-0.2658308148384094,
-0.1388634741306305,
0.6109980940818787,
0.21849769353866577,
-0.3498917818069458,
0.17438535392284393,
-0.2899719774723053,
-0.08184449374675751,
-0.14360710978507996,
-0.20872989296913147,
-0.5409426689147949,
-0.14039382338523865,
0.025911765173077583,
0.4509851634502411,
0.39509764313697815,
-0.5760525465011597,
0.45783892273902893,
-0.16710352897644043,
0.31394559144973755,
0.6983633637428284,
-0.22289018332958221,
0.5052198767662048,
-0.5058823227882385,
0.6174329519271851,
0.13613957166671753,
-0.031985893845558167,
-0.6928257346153259,
-0.5845171213150024,
-0.626502275466919,
-0.15288156270980835,
0.19939807057380676,
0.5403665900230408,
-1.1302525997161865,
0.48039451241493225,
-0.42659515142440796,
0.040269579738378525,
-0.4132888615131378,
0.10627532750368118,
0.577476441860199,
0.745220959186554,
0.07939966768026352,
-0.3641335368156433,
-0.6620574593544006,
-0.5314555168151855,
-0.06926246732473373,
0.1068006157875061,
-0.00013898305769544095,
0.4951239228248596,
0.42401137948036194,
0.15100286900997162,
1.361495852470398,
-0.08532220870256424,
-0.4672563374042511,
-0.27604570984840393,
-0.0943077877163887,
0.12048779428005219,
0.3988378345966339,
0.10056187212467194,
-0.623958945274353,
-0.7772720456123352,
0.10542206466197968,
-0.563110888004303,
-0.19598716497421265,
-0.042804889380931854,
-0.2772572934627533,
0.1654556691646576,
0.4615233540534973,
-0.6313609480857849,
0.1510714590549469,
0.3988173007965088,
-0.4383460581302643,
0.33714771270751953,
-0.113384909927845,
-0.01945938728749752,
-1.5935492515563965,
-0.004570769611746073,
-0.03822246193885803,
-0.7834957838058472,
-0.6549432873725891,
-0.4346631169319153,
0.015313838608562946,
-0.07771210372447968,
-0.17185717821121216,
0.8025743961334229,
-0.43901965022087097,
-0.16242799162864685,
-0.14198268949985504,
0.45846033096313477,
-0.1794251650571823,
0.6316248178482056,
0.20727857947349548,
1.015636920928955,
0.5102002620697021,
-0.35942721366882324,
0.051157429814338684,
0.49652475118637085,
-0.22783128917217255,
0.893521785736084,
-0.42420899868011475,
0.13636842370033264,
-0.06617724150419235,
0.6460082530975342,
-0.917259693145752,
-0.5252821445465088,
-0.029842428863048553,
-0.46623164415359497,
0.3526688814163208,
-0.23683838546276093,
-0.6231008172035217,
-0.015011175535619259,
-0.25416359305381775,
0.32418277859687805,
0.5788068771362305,
-0.7606863379478455,
0.3185144364833832,
0.23531459271907806,
-0.09785281866788864,
-0.578137993812561,
-0.2621996998786926,
-0.028172243386507034,
-0.3270986080169678,
-0.5996991395950317,
0.17340749502182007,
-0.034406933933496475,
0.11454365402460098,
-0.31811782717704773,
-0.3394453525543213,
0.20528554916381836,
0.1437021642923355,
0.40695908665657043,
0.25097736716270447,
0.14762097597122192,
0.35137036442756653,
-0.0586426816880703,
0.021200327202677727,
-0.19967246055603027,
-0.6725647449493408,
0.7509286999702454,
0.2455979883670807,
-0.2953099012374878,
-0.5275951623916626,
0.24359050393104553,
0.7255955934524536,
0.1150384172797203,
0.5996565818786621,
0.30399882793426514,
-0.35476818680763245,
-0.32607319951057434,
-0.2564588785171509,
-0.47023260593414307,
-0.393691748380661,
0.25479814410209656,
-0.2756076157093048,
-1.0256271362304688,
0.5804346799850464,
-0.22335630655288696,
0.1781027466058731,
-0.18131838738918304,
0.5583035945892334,
-0.2662838101387024,
1.1111838817596436,
0.6177126169204712,
-0.12829619646072388,
0.9490595459938049,
-0.09190846979618073,
0.26991212368011475,
-1.2736207246780396,
-0.35422125458717346,
-0.24650868773460388,
-0.45442840456962585,
-0.030090216547250748,
-0.45772585272789,
0.5588703751564026,
0.23592616617679596,
-0.1481151133775711,
0.46085113286972046,
-0.31077197194099426,
0.3708648681640625,
0.7508290410041809,
0.2195696383714676,
0.28428125381469727,
-0.10567286610603333,
-0.3114629089832306,
0.020464984700083733,
-0.8563864231109619,
-0.40583086013793945,
1.0672285556793213,
0.07444857060909271,
0.706342339515686,
0.038279201835393906,
0.8500702381134033,
0.034670114517211914,
0.2137732356786728,
-0.602147102355957,
0.41539186239242554,
0.09081843495368958,
-0.27555370330810547,
-0.3287961781024933,
-0.380452036857605,
-0.6795879602432251,
0.0649944469332695,
0.08530506491661072,
-1.157623529434204,
-0.03610497713088989,
0.3772384226322174,
-0.43157148361206055,
0.08080431073904037,
-0.8191108107566833,
0.7994661927223206,
0.019156750291585922,
-0.6197506189346313,
0.192255899310112,
-0.7868465185165405,
0.25321975350379944,
0.032182659953832626,
0.12116777151823044,
-0.0731472373008728,
-0.005456917453557253,
0.681930661201477,
-0.7169170379638672,
1.060228943824768,
-0.3140462338924408,
-0.18145711719989777,
0.09491699934005737,
0.11905219405889511,
0.935795783996582,
0.05704185366630554,
0.23144499957561493,
-0.5219007730484009,
-0.06900732219219208,
-0.22943338751792908,
-0.6448343396186829,
0.5862688422203064,
-0.4220249056816101,
-0.5705459117889404,
-0.04751069098711014,
-0.8876784443855286,
-0.6495196223258972,
-0.17459742724895477,
0.5378928184509277,
0.7440054416656494,
0.16048072278499603,
0.06078251823782921,
0.6650340557098389,
0.11517781764268875,
0.4580855369567871,
0.2572867274284363,
-0.020807690918445587,
-0.24776136875152588,
0.5596873760223389,
-0.18836189806461334,
0.5886996984481812,
0.37079477310180664,
-0.18939556181430817,
-0.5404897332191467,
-0.215581476688385,
-0.6979491114616394,
-0.06548833847045898,
-0.7685438990592957,
-0.5180119276046753,
-0.5058622360229492,
0.22093340754508972,
-0.16130214929580688,
-0.32916170358657837,
-0.19400382041931152,
-0.5070382952690125,
-0.27962881326675415,
0.14982615411281586,
0.5526435971260071,
0.40775266289711,
0.31058597564697266,
0.664878785610199,
-0.6210364103317261,
-0.2070443481206894,
0.063495934009552,
0.25693199038505554,
0.14377789199352264,
-0.6019558906555176,
-0.5525873899459839,
0.27054673433303833,
-0.20688052475452423,
-0.7529299259185791,
0.2548527419567108,
0.28616878390312195,
0.23526638746261597,
0.4798582196235657,
0.1985347718000412,
0.8645647764205933,
-0.3965763449668884,
0.8138309717178345,
0.3662830591201782,
-0.9310042262077332,
0.6873920559883118,
-0.5728138089179993,
0.6474269032478333,
0.47326165437698364,
0.0661352202296257,
-0.8871629238128662,
-0.3905419111251831,
-0.48637062311172485,
-0.7438170909881592,
1.072070598602295,
0.0015122740296646953,
-0.11645028740167618,
-0.06907941401004791,
0.16488131880760193,
0.33869674801826477,
0.32060012221336365,
-0.4276440441608429,
-0.021277759224176407,
0.12153788655996323,
-0.7549840807914734,
0.11959100514650345,
0.16197361052036285,
-0.32025477290153503,
-0.0263415165245533,
0.670203685760498,
-0.6877753138542175,
0.3728031814098358,
0.3477092981338501,
-0.3340717852115631,
-0.12688112258911133,
0.39538437128067017,
0.5686988234519958,
0.341886430978775,
-0.08105842769145966,
-0.019719364121556282,
0.31651628017425537,
-0.127582848072052,
0.1837371438741684,
-0.1709996908903122,
-0.1413191854953766,
-0.17294913530349731,
0.2567521929740906,
0.9155137538909912,
0.48890921473503113,
-0.9669280052185059,
0.6730923056602478,
-0.05324205756187439,
0.20714321732521057,
0.08772429823875427,
0.05855251103639603,
0.040587253868579865,
0.43151089549064636,
0.23004071414470673,
0.040300432592630386,
-0.07183219492435455,
-0.6023849844932556,
0.23131141066551208,
0.7947999238967896,
-0.5677230954170227,
-0.518696129322052,
0.6295454502105713,
0.3735213279724121,
-0.2844020426273346,
0.41239693760871887,
-0.2937944531440735,
-0.7572273015975952,
0.4572557806968689,
0.6726570129394531,
0.8651872277259827,
0.12671609222888947,
0.05590859055519104,
0.15205593407154083,
-0.25373464822769165,
-0.18189281225204468,
0.4523281157016754,
-0.8652216196060181,
-0.4750247597694397,
-0.5085428357124329,
-0.4593982398509979,
-0.43208202719688416,
-0.17033931612968445,
-0.5952341556549072,
0.4032001197338104,
-0.2982403039932251,
-0.26062703132629395,
-0.4566439092159271,
-0.11500747501850128,
-0.6701993942260742,
-0.017681868746876717,
0.03338947147130966,
0.8855624794960022,
-0.7016371488571167,
0.9860315918922424,
0.7419713139533997,
-0.03759656846523285,
-0.6420947313308716,
-0.009691575542092323,
0.2870776355266571,
-0.5451447367668152,
0.709775984287262,
0.2514110207557678,
0.10967393219470978,
0.06622669100761414,
-0.4601081311702728,
-0.8850027918815613,
1.4034873247146606,
0.19948509335517883,
-0.845970094203949,
-0.3120778799057007,
-0.2107294350862503,
0.5132397413253784,
-0.6350328922271729,
0.5897356867790222,
0.4419790804386139,
0.07344166189432144,
0.21887966990470886,
-1.4427868127822876,
0.13519258797168732,
-0.1871749758720398,
-0.19161848723888397,
0.4138525128364563,
-0.6053475141525269,
0.6077665686607361,
-0.254573792219162,
-0.5829595923423767,
0.1506422907114029,
0.38300061225891113,
0.1639985591173172,
0.43515923619270325,
0.4286660850048065,
0.8366801142692566,
0.6880228519439697,
-0.37654969096183777,
0.9328708648681641,
-0.42088583111763,
0.2915305197238922,
1.5687977075576782,
-0.48515617847442627,
0.675955593585968,
0.628976583480835,
0.2253527194261551,
0.17719565331935883,
0.8952179551124573,
0.44230303168296814,
0.8036760687828064,
-0.17880341410636902,
-0.2951277792453766,
-0.2388174831867218,
-0.4715593457221985,
-0.11883646994829178,
0.0881512314081192,
0.4816899597644806,
-0.05677333474159241,
-0.452571839094162,
0.27974358201026917,
0.057183388620615005,
-0.2073855698108673,
-0.15294860303401947,
1.1051119565963745,
-0.01555845607072115,
-0.9671832323074341,
0.42540210485458374,
-0.5141473412513733,
0.8542353510856628,
-0.5088381171226501,
-0.03173090144991875,
-0.22657510638237,
0.05462230369448662,
-0.09685695171356201,
-0.6005426049232483,
-0.07982483506202698,
-0.10264163464307785,
-0.11846469342708588,
-0.30752062797546387,
0.34112003445625305,
-0.791466474533081,
0.3303300738334656,
0.2003881186246872,
0.583200216293335,
-0.14132505655288696,
0.14579032361507416,
-0.43533575534820557,
-0.1504170298576355,
0.18987040221691132,
-0.019526271149516106,
0.44976434111595154,
0.5779587030410767,
-0.3145161271095276,
0.8976234793663025,
0.5995044708251953,
-0.16220636665821075,
0.06097663566470146,
-0.006322271190583706,
0.8736485838890076,
-0.4297012984752655,
-0.7255927920341492,
-0.5947107076644897,
0.4772838056087494,
-0.23206287622451782,
-0.3343243896961212,
0.8695563077926636,
0.5698163509368896,
0.9527389407157898,
0.17677436769008636,
0.7505810260772705,
-0.19800527393817902,
0.4982905387878418,
-0.6083205342292786,
0.13926589488983154,
-0.5443578958511353,
0.4178220331668854,
-0.152242511510849,
-0.8852689266204834,
0.06941711157560349,
0.2930755019187927,
-0.1113559678196907,
0.11502612382173538,
0.5539241433143616,
0.6379767060279846,
-0.10916109383106232,
0.24465613067150116,
0.34350019693374634,
-0.004363661631941795,
0.24822595715522766,
0.7944621443748474,
0.9164799451828003,
-0.23022033274173737,
0.09801220893859863,
-0.20735207200050354,
-0.16348575055599213,
-0.43639928102493286,
-0.5821249485015869,
-0.9934962391853333,
-0.9184434413909912,
-0.17388765513896942,
-0.17044004797935486,
0.26624596118927,
1.3831555843353271,
1.1053857803344727,
-0.42896702885627747,
-0.2076503038406372,
-0.1725979894399643,
-0.02474449947476387,
-0.10831364244222641,
-0.22977808117866516,
0.33642372488975525,
-0.6815465092658997,
-0.8095730543136597,
0.41425400972366333,
0.3510584533214569,
0.26239702105522156,
0.1604793816804886,
-0.3512639105319977,
0.06563331931829453,
-0.21248865127563477,
0.3558935523033142,
0.11871637403964996,
-0.7526847124099731,
-0.24201446771621704,
-0.12212364375591278,
0.025343624874949455,
0.051038190722465515,
0.9991666078567505,
-1.0667119026184082,
0.6336773633956909,
0.4721115529537201,
0.443259060382843,
0.30496272444725037,
0.3131706416606903,
0.9157689213752747,
-1.2804123163223267,
0.3063940107822418,
0.15910831093788147,
0.4426520764827728,
0.37968719005584717,
-0.5017892122268677,
0.4495195150375366,
-0.10483293235301971,
-0.5003216862678528,
-0.8037294149398804,
0.1341230720281601,
-0.9136181473731995,
-0.051246918737888336,
0.7455735802650452,
-0.23699891567230225,
-0.22378791868686676,
-0.256674587726593,
-0.22849531471729279,
0.2532712519168854,
-0.7915650606155396,
0.4370053708553314,
0.654808759689331,
-0.22493667900562286,
-0.15415166318416595,
-0.5950422286987305,
0.8916768431663513,
0.7113209366798401,
-0.885769784450531,
0.4311954379081726,
0.5126070976257324,
0.09533166885375977,
-0.026474501937627792,
0.4724312722682953,
0.2598414123058319,
0.4353193938732147,
-0.3064361810684204,
-0.18362441658973694,
-0.0767766535282135,
-0.2833193838596344,
-0.38212284445762634,
-0.278669536113739,
-0.2258990854024887,
-0.18891431391239166
] |
http://arxiv.org/abs/2405.15556v1
|
http://arxiv.org/pdf/2405.15556v1
|
Certifiably Robust RAG against Retrieval Corruption
| 2024-05-24T13:44:25 | 2024-05-24T13:44:25 |
Chong Xiang, Tong Wu, Zexuan Zhong, David Wagner, Danqi Chen, Prateek Mittal
|
cs.LG
|
cs.LG, cs.CL, cs.CR
|
Retrieval-augmented generation (RAG) has been shown vulnerable to retrieval
corruption attacks: an attacker can inject malicious passages into retrieval
results to induce inaccurate responses. In this paper, we propose RobustRAG as
the first defense framework against retrieval corruption attacks. The key
insight of RobustRAG is an isolate-then-aggregate strategy: we get LLM
responses from each passage in isolation and then securely aggregate these
isolated responses. To instantiate RobustRAG, we design keyword-based and
decoding-based algorithms for securely aggregating unstructured text responses.
Notably, RobustRAG can achieve certifiable robustness: we can formally prove
and certify that, for certain queries, RobustRAG can always return accurate
responses, even when the attacker has full knowledge of our defense and can
arbitrarily inject a small number of malicious passages. We evaluate RobustRAG
on open-domain QA and long-form text generation datasets and demonstrate its
effectiveness and generalizability across various tasks and datasets.
|
[
-0.12107771635055542,
-0.970122218132019,
0.0913555920124054,
0.08350460976362228,
-0.18714115023612976,
0.3583269417285919,
0.06551206856966019,
-0.34107401967048645,
0.15919946134090424,
0.4646681547164917,
-0.029061008244752884,
-0.20290020108222961,
-0.6600483059883118,
0.17752514779567719,
-0.8432733416557312,
1.334352970123291,
0.5699763298034668,
-0.19243186712265015,
-0.18128329515457153,
-0.36983224749565125,
-0.47242939472198486,
-0.4258202612400055,
-0.6821689605712891,
-0.07107970863580704,
0.28069525957107544,
0.147994726896286,
0.6853141188621521,
0.5685817003250122,
0.754851222038269,
0.388933926820755,
-0.04507835954427719,
0.24482953548431396,
-0.7731537222862244,
0.7438745498657227,
-0.3466244339942932,
-0.33308130502700806,
-0.5429387092590332,
-0.3580808937549591,
0.44330650568008423,
-0.009217476472258568,
-0.4759543836116791,
0.1684981733560562,
0.5335686802864075,
0.6967797875404358,
-1.0373692512512207,
-0.5477724671363831,
-1.2817314863204956,
-0.3072575032711029,
-0.8414470553398132,
-0.3358585238456726,
-0.558395504951477,
0.0035115452483296394,
-0.6116985082626343,
-0.5289941430091858,
0.2601196765899658,
-0.014992354437708855,
1.0121212005615234,
0.503667950630188,
-0.1633221060037613,
-0.49110108613967896,
-0.48504123091697693,
0.6308586001396179,
-0.09988061338663101,
0.11245118081569672,
0.6110823154449463,
0.5562775135040283,
-0.4739932119846344,
-1.1446571350097656,
-0.3238513767719269,
0.24060192704200745,
-0.07508720457553864,
0.252577543258667,
-0.3747071325778961,
-0.04308038204908371,
-0.09798081964254379,
0.536475658416748,
-0.6861497163772583,
-0.02448941580951214,
-0.2488568127155304,
-0.4024122953414917,
0.5590739250183105,
0.15944312512874603,
0.35786548256874084,
-0.2904072701931,
-0.7661348581314087,
-0.148854598402977,
-0.7186588048934937,
0.03350716084241867,
0.34912049770355225,
0.29421067237854004,
-0.03684251010417938,
0.6736800670623779,
-0.04633893817663193,
0.5661790370941162,
0.43481576442718506,
-0.3787136375904083,
-0.280862420797348,
-0.633969783782959,
-0.3944964110851288,
-0.04963335022330284,
0.8410974740982056,
-0.14231105148792267,
-0.1505746692419052,
-0.4765830338001251,
-0.5571962594985962,
0.3512023091316223,
0.89833003282547,
-0.8760362863540649,
-0.2563117742538452,
0.5075239539146423,
-0.45357707142829895,
-0.9652160406112671,
0.22937476634979248,
-1.0316838026046753,
-0.5344258546829224,
0.6910977959632874,
0.7146537899971008,
-0.20946474373340607,
0.0314798504114151,
-0.013276596553623676,
-0.07436957955360413,
0.06290556490421295,
-0.06272535771131516,
-0.6431650519371033,
0.507827877998352,
0.9020335674285889,
0.5967802405357361,
-0.3013169467449188,
-0.06562959402799606,
-1.3427848815917969,
0.16210059821605682,
-0.32846909761428833,
1.1167292594909668,
-0.2487296164035797,
-0.42733800411224365,
0.08614007383584976,
-0.20039339363574982,
0.1456184834241867,
-0.75388103723526,
1.1504267454147339,
-0.8969284892082214,
0.25118422508239746,
0.26261693239212036,
-0.2630276381969452,
0.39408066868782043,
0.521831750869751,
-0.7003717422485352,
1.047179102897644,
0.24991948902606964,
-1.3607864379882812,
0.3705046772956848,
-0.19896221160888672,
-0.3686821162700653,
0.23695026338100433,
-0.19568386673927307,
-0.8037192225456238,
-0.01050317008048296,
0.3056873679161072,
0.09028087556362152,
-0.15981660783290863,
0.2930085062980652,
-0.378264844417572,
-0.285450279712677,
0.2830243706703186,
-0.5854440331459045,
1.0875108242034912,
0.6040948033332825,
0.018097393214702606,
0.06347645074129105,
-0.6255815029144287,
0.3317408859729767,
0.2052438110113144,
-0.5952624082565308,
-0.4607698917388916,
-0.0739230141043663,
-0.14653021097183228,
-0.4621478319168091,
0.2873861491680145,
-0.42097869515419006,
0.11385773867368698,
-0.28816065192222595,
-0.023508328944444656,
0.6652559041976929,
0.2061840146780014,
0.46640971302986145,
-0.5171221494674683,
0.5895292162895203,
-0.1149541512131691,
0.050662193447351456,
-0.2397693246603012,
-0.25607478618621826,
-0.16227209568023682,
-0.46102118492126465,
0.474979966878891,
0.5752492547035217,
-1.0162864923477173,
0.15654782950878143,
-0.37971657514572144,
-0.400059312582016,
-0.30075153708457947,
0.3106033504009247,
0.5327039361000061,
0.7266504168510437,
0.3430355191230774,
-0.19963090121746063,
-0.3582756221294403,
-0.5210489630699158,
-0.6364539861679077,
-0.47400301694869995,
-0.2778215706348419,
-0.06965118646621704,
0.28275054693222046,
-0.13438235223293304,
0.6774241328239441,
-0.3375810980796814,
-0.389975905418396,
-0.02172820083796978,
0.02492399327456951,
0.16762487590312958,
0.3595828115940094,
0.7223934531211853,
-0.8642165660858154,
-0.40431687235832214,
-0.1300020068883896,
-0.671302855014801,
-0.30778878927230835,
-0.013735412620007992,
-0.3462637662887573,
-0.030219707638025284,
0.27211233973503113,
-0.4893900454044342,
0.3736695945262909,
0.36737436056137085,
-0.5408084392547607,
0.5833788514137268,
-0.11003918200731277,
0.0110115185379982,
-1.12082839012146,
0.11640079319477081,
-0.5370568633079529,
-0.5105574131011963,
-0.5585693120956421,
0.5084499716758728,
0.14792467653751373,
-0.020998571068048477,
-0.14047077298164368,
0.4376406967639923,
-0.10384420305490494,
0.21949021518230438,
-0.3622875213623047,
0.003932048100978136,
0.14261306822299957,
0.005063233431428671,
-0.5206497311592102,
0.991595983505249,
0.5115461945533752,
-0.639884352684021,
0.015535267069935799,
0.5574609041213989,
-0.18113942444324493,
1.0590726137161255,
-0.9527994990348816,
0.21439920365810394,
-0.28423038125038147,
0.1309819221496582,
-0.746836245059967,
-0.6205969452857971,
0.21259759366512299,
-0.8222866058349609,
0.7215774059295654,
-0.3619554340839386,
-0.1500559002161026,
-0.0794188529253006,
-0.4702020287513733,
0.3098241984844208,
0.3032585084438324,
-0.7176789045333862,
0.3721117079257965,
0.5914168953895569,
-0.18216779828071594,
-1.288713812828064,
-0.5679346323013306,
0.14884677529335022,
-0.5668435096740723,
-0.642244815826416,
0.4624052345752716,
-0.0008241670439019799,
-0.5086446404457092,
-0.20099620521068573,
-0.20105744898319244,
-0.5320920348167419,
0.4315110445022583,
0.030048703774809837,
0.1340104192495346,
0.0824817642569542,
-0.18980622291564941,
0.10618505626916885,
-0.16321200132369995,
-0.0027101030573248863,
-0.10215793550014496,
0.3182879090309143,
0.04816653952002525,
-0.4585453271865845,
0.17354196310043335,
0.46261903643608093,
0.6535788774490356,
-0.3616351783275604,
0.3817581236362457,
0.7695040106773376,
-0.2677169740200043,
-0.35214805603027344,
-0.2295900583267212,
-0.3072206377983093,
-0.5600970983505249,
0.37786269187927246,
-0.2508276104927063,
-0.8177992701530457,
0.48761793971061707,
0.16067130863666534,
0.28208962082862854,
0.33115875720977783,
0.39883705973625183,
-0.0987788587808609,
0.7007695436477661,
0.42859500646591187,
-0.08987502753734589,
0.01673716865479946,
0.006484233308583498,
-0.046171799302101135,
-0.6325100660324097,
-0.09877128154039383,
-1.1005918979644775,
-0.08988963067531586,
-0.5484124422073364,
-0.20485766232013702,
0.6205294132232666,
0.7757454514503479,
-0.37496575713157654,
0.029611559584736824,
-0.6536774039268494,
0.3708946108818054,
0.15196272730827332,
0.10231120139360428,
0.31338071823120117,
0.03483438864350319,
-0.08096141368150711,
-0.020750371739268303,
-0.7484577894210815,
-0.38347846269607544,
1.0475572347640991,
0.1421520859003067,
0.915607750415802,
0.468085378408432,
0.9214796423912048,
0.6932317018508911,
0.35027164220809937,
-0.594292163848877,
0.21454906463623047,
0.006297972518950701,
-0.7155525088310242,
-0.14467459917068481,
-0.3838847279548645,
-1.3548524379730225,
0.3728124499320984,
-0.3059297204017639,
-0.5964716672897339,
0.1155889555811882,
0.0298968143761158,
-0.16679269075393677,
0.29156050086021423,
-0.06943637132644653,
0.4194110929965973,
-0.14205187559127808,
-0.7623839974403381,
0.1340981274843216,
-0.5801448822021484,
0.5662519335746765,
-0.4387095272541046,
0.1861976683139801,
0.3350864350795746,
-0.14241082966327667,
0.512939989566803,
-0.6409387588500977,
0.41168710589408875,
-0.0418945848941803,
-0.040831297636032104,
0.513839602470398,
0.4232569634914398,
0.7677399516105652,
0.37573960423469543,
-0.03600548207759857,
-0.11851183325052261,
-0.0031299155671149492,
-0.6278440356254578,
-0.48326995968818665,
0.41855329275131226,
-0.18697643280029297,
-0.5657939314842224,
-0.3830135464668274,
-0.21152356266975403,
-0.004032406955957413,
0.47599685192108154,
0.7081027626991272,
0.5705914497375488,
-0.22248870134353638,
0.3888793885707855,
0.7522241473197937,
-0.0583789087831974,
0.5582903623580933,
0.2839624583721161,
-0.11171416938304901,
-0.8294100165367126,
0.8312981724739075,
-0.12780554592609406,
0.04154762253165245,
0.29997894167900085,
0.23580029606819153,
-0.4070238471031189,
-0.7334499955177307,
-0.568710207939148,
-0.23137764632701874,
-0.3776313066482544,
-1.055097222328186,
-0.5584158301353455,
-0.001225732732564211,
-0.28870564699172974,
0.04911334812641144,
-0.3427765369415283,
-0.2639113664627075,
0.28649452328681946,
0.14853091537952423,
0.2110062688589096,
0.6973488330841064,
-0.06652946025133133,
0.09792164713144302,
-0.9961684346199036,
0.49103468656539917,
0.327298104763031,
0.17574241757392883,
-0.22363165020942688,
-0.5646570920944214,
-0.10271020978689194,
0.03096861019730568,
-0.7303100228309631,
-1.143129825592041,
0.4747683107852936,
0.41083282232284546,
0.43949705362319946,
0.730267345905304,
0.7379133701324463,
0.580321729183197,
-0.2489832192659378,
0.8576309084892273,
-0.2634154260158539,
-0.5258137583732605,
0.3326660990715027,
-0.6818512082099915,
0.066270612180233,
0.7679244875907898,
0.016340091824531555,
0.1411016434431076,
-0.6159483194351196,
-0.7694957256317139,
-0.7109089493751526,
0.11178353428840637,
0.38566452264785767,
0.1539025455713272,
-0.15819355845451355,
0.16476266086101532,
0.03163491189479828,
0.26748815178871155,
-0.5243402719497681,
-0.19756799936294556,
-0.1959173083305359,
-0.06326095014810562,
0.5284453630447388,
-0.3721977472305298,
-0.31585967540740967,
0.26033923029899597,
0.44180282950401306,
-0.15652722120285034,
0.2683185636997223,
0.236811563372612,
0.03276665136218071,
0.07770714908838272,
0.5596417188644409,
0.32580363750457764,
0.3747856318950653,
0.08880502730607986,
0.36054152250289917,
-0.07575951516628265,
-0.8711498975753784,
0.16855403780937195,
-0.07683097571134567,
-0.448812872171402,
-0.009365249425172806,
0.4787563383579254,
-0.14700450003147125,
-0.11154641956090927,
-0.40894630551338196,
0.6758822202682495,
-0.30700811743736267,
0.09571471810340881,
-0.21764259040355682,
-0.01791384629905224,
-0.400214821100235,
-0.02037026733160019,
0.49773305654525757,
0.25608912110328674,
0.24033363163471222,
-0.14109614491462708,
0.46774739027023315,
0.7238220572471619,
-0.25149622559547424,
-0.1291513293981552,
1.0111949443817139,
-0.18413560092449188,
-0.1942756325006485,
0.45868510007858276,
-0.1931016892194748,
-0.6464049220085144,
0.2633863389492035,
0.7731413245201111,
0.7906407117843628,
-0.35210463404655457,
0.09618256986141205,
0.44205987453460693,
0.3470655679702759,
-0.0039177448488771915,
0.32173261046409607,
-0.4238317012786865,
-0.5842556953430176,
-0.18910646438598633,
-0.8728975653648376,
-0.12489268183708191,
0.021690648049116135,
-0.9052886366844177,
-0.14272098243236542,
-0.19035108387470245,
-0.2779633700847626,
-0.5179229974746704,
0.006900171283632517,
-0.23742324113845825,
-0.08669083565473557,
-0.6096184849739075,
0.7558919191360474,
-0.42401614785194397,
0.66539466381073,
0.6283177137374878,
-0.19919535517692566,
-0.5722684860229492,
0.009053845889866352,
0.003904917975887656,
-0.5347632765769958,
0.2501625418663025,
-0.11067719757556915,
-0.12127263844013214,
-0.4815928041934967,
-0.7320561408996582,
-0.611270010471344,
0.8083929419517517,
0.29511526226997375,
0.02776850014925003,
0.2639213502407074,
-0.10114308446645737,
0.35391172766685486,
0.1357303261756897,
-0.025749661028385162,
0.12471672892570496,
0.3729846775531769,
-0.0962928757071495,
-0.7820867300033569,
-0.12285597622394562,
-0.49361851811408997,
-0.39534348249435425,
0.4863670766353607,
-0.49150851368904114,
0.743293821811676,
-0.09872487187385559,
-0.6015793681144714,
0.47338491678237915,
0.753785252571106,
0.42443498969078064,
0.5356441736221313,
0.2756689786911011,
0.8861545324325562,
1.142249345779419,
-0.2228206843137741,
1.2487938404083252,
-0.2546226382255554,
-0.024621862918138504,
1.1526548862457275,
0.024887293577194214,
1.0012598037719727,
0.2918815016746521,
-0.07468108832836151,
0.3301531970500946,
0.15312699973583221,
0.10030021518468857,
0.5938984155654907,
-0.08281473815441132,
-0.4682806134223938,
0.004988776985555887,
-0.10813193023204803,
-0.35087618231773376,
0.7802333235740662,
0.366214781999588,
-0.24527785181999207,
-0.2881658375263214,
-0.26297545433044434,
0.34168770909309387,
0.49450215697288513,
-0.2749391198158264,
0.8890174031257629,
-0.10738639533519745,
-0.7578988671302795,
0.7984380722045898,
0.049113042652606964,
0.879601240158081,
-0.6290839314460754,
0.067476786673069,
-0.308725506067276,
0.29859912395477295,
-0.46715447306632996,
-0.6310844421386719,
0.6234194040298462,
0.2264101207256317,
-0.0633854866027832,
0.016718871891498566,
1.4229718446731567,
-0.2361346334218979,
-0.11998393386602402,
-0.16567713022232056,
0.4994075298309326,
-0.08244601637125015,
-0.07674793154001236,
-0.4643954634666443,
0.057421907782554626,
-0.17387309670448303,
0.006759959738701582,
0.6368018984794617,
0.40953025221824646,
-0.09959152340888977,
0.6419185400009155,
0.5843088626861572,
0.2629063129425049,
0.00480406591668725,
-0.5263760089874268,
0.870005190372467,
0.059775665402412415,
-0.5194201469421387,
-0.6414589881896973,
0.5178896188735962,
-0.29411154985427856,
-0.07830176502466202,
0.8668505549430847,
0.5211398601531982,
0.568427324295044,
0.34705495834350586,
0.508937656879425,
-0.11458075791597366,
0.5658566355705261,
-0.30779826641082764,
1.2275290489196777,
-0.42864736914634705,
0.3217928111553192,
-0.18916486203670502,
-0.8464953303337097,
-0.16301032900810242,
0.3849671483039856,
0.5261768102645874,
-0.017402905970811844,
0.4306071102619171,
0.9179579615592957,
-0.09570375084877014,
-0.23828475177288055,
0.16615942120552063,
0.15716765820980072,
0.4443996250629425,
0.2588033974170685,
0.4767639636993408,
-0.555919349193573,
0.8277091979980469,
-0.0820438414812088,
-0.1683405637741089,
0.33725324273109436,
-0.9439498782157898,
-0.5674532055854797,
-0.30387964844703674,
0.12754280865192413,
-0.9151625037193298,
0.21659858524799347,
0.12871268391609192,
0.3244156241416931,
-0.6025217771530151,
0.06233576312661171,
0.02220575325191021,
0.2540050148963928,
-0.1860506534576416,
-0.28266996145248413,
0.3640146851539612,
-0.6058024764060974,
-0.4180983901023865,
0.6302267909049988,
0.13289101421833038,
-0.07812732458114624,
-0.30231767892837524,
-0.0980759859085083,
0.4026384651660919,
0.12683193385601044,
0.25419101119041443,
0.5668203830718994,
-0.15746895968914032,
-0.02675861492753029,
-0.0020348012913018465,
-0.2506767809391022,
0.008320252411067486,
0.7005780935287476,
-0.9950949549674988,
0.4738084077835083,
0.640231728553772,
1.0319578647613525,
-0.029879337176680565,
0.4668750464916229,
0.38691532611846924,
-0.9833711981773376,
0.1843728870153427,
0.41774705052375793,
0.24904082715511322,
0.3398062586784363,
-0.43287673592567444,
0.6985571384429932,
-0.003095699707046151,
-0.9497235417366028,
-1.1947853565216064,
0.3629695475101471,
-0.8393765091896057,
-0.004764572251588106,
0.801993727684021,
-0.24498407542705536,
-0.3767770528793335,
-0.37849894165992737,
0.06636557728052139,
-0.03758510202169418,
-0.20723138749599457,
1.0054317712783813,
0.20870040357112885,
0.13736937940120697,
0.27468717098236084,
-0.05764224752783775,
0.6122771501541138,
0.4063086211681366,
-0.7861396670341492,
0.08132276684045792,
0.5706750750541687,
0.052639082074165344,
0.30889979004859924,
0.612254798412323,
-0.752173900604248,
0.3227338194847107,
0.33090299367904663,
-0.7640653252601624,
-0.1558254361152649,
-0.3295218050479889,
-0.15981033444404602,
0.868787944316864,
0.06522684544324875,
-0.2519713342189789
] |
http://arxiv.org/abs/2406.00027v1
|
http://arxiv.org/pdf/2406.00027v1
|
Adapting PromptORE for Modern History: Information Extraction from Hispanic Monarchy Documents of the XVIth Century
| 2024-05-24T13:39:47 | 2024-05-24T13:39:47 |
Hèctor Loopez Hidalgo, Michel Boeglin, David Kahn, Josiane Mothe, Diego Ortiz, David Panzoli
|
cs.CL
|
cs.CL, cs.IR, cs.LG, H.3; H.3.2; H.4; I.7; I.2; I.2.7
|
Semantic relations among entities are a widely accepted method for relation
extraction. PromptORE (Prompt-based Open Relation Extraction) was designed to
improve relation extraction with Large Language Models on generalistic
documents. However, it is less effective when applied to historical documents,
in languages other than English. In this study, we introduce an adaptation of
PromptORE to extract relations from specialized documents, namely digital
transcripts of trials from the Spanish Inquisition. Our approach involves
fine-tuning transformer models with their pretraining objective on the data
they will perform inference. We refer to this process as "biasing". Our Biased
PromptORE addresses complex entity placements and genderism that occur in
Spanish texts. We solve these issues by prompt engineering. We evaluate our
method using Encoder-like models, corroborating our findings with experts'
assessments. Additionally, we evaluate the performance using a binomial
classification benchmark. Our results show a substantial improvement in
accuracy -up to a 50% improvement with our Biased PromptORE models in
comparison to the baseline models using standard PromptORE.
|
[
-0.374735563993454,
-0.5565287470817566,
0.3855730891227722,
0.21534903347492218,
-0.060379091650247574,
-0.15181376039981842,
-0.26589226722717285,
-0.42495107650756836,
0.010399803519248962,
0.6850062012672424,
-0.8658407926559448,
-0.4688645601272583,
-0.3639918863773346,
0.5136774182319641,
0.06653068214654922,
0.9397066831588745,
-0.061569374054670334,
0.40298718214035034,
-0.03394762799143791,
-0.1308087259531021,
-0.6393334269523621,
-0.45785942673683167,
-0.3683953881263733,
0.18026886880397797,
0.2807556688785553,
0.20483972132205963,
0.8126891255378723,
0.8780321478843689,
0.6156226396560669,
0.32881098985671997,
-0.18061262369155884,
0.22549419105052948,
-0.517277181148529,
0.5364565849304199,
-0.5386953949928284,
-0.6249619722366333,
-0.1925043761730194,
0.11037144064903259,
0.3906884491443634,
0.41325643658638,
0.19602948427200317,
0.02103779837489128,
-0.2520048916339874,
0.4872141182422638,
-0.5346184372901917,
0.28373563289642334,
-0.6160121560096741,
0.11013957113027573,
-0.11963480710983276,
-0.6298252940177917,
-0.7062152028083801,
-0.9224777221679688,
0.3198482394218445,
-0.876598596572876,
0.5835831165313721,
0.4382413625717163,
0.6892712116241455,
0.30973565578460693,
-0.3629191219806671,
-0.9066946506500244,
-0.7945789694786072,
0.8873342871665955,
-0.3862926959991455,
0.5637064576148987,
0.2485325038433075,
0.4010559916496277,
-0.3725684881210327,
-0.5466882586479187,
-0.12560023367404938,
-0.37827619910240173,
-0.1442028284072876,
-0.04651249200105667,
-0.24347712099552155,
-0.048127274960279465,
0.6080253720283508,
0.23607014119625092,
-0.3654099404811859,
0.1238863617181778,
-0.4183769226074219,
-0.38725632429122925,
0.21604041755199432,
-0.12869170308113098,
0.6380900740623474,
-0.3502954840660095,
-0.2051425278186798,
-0.18435463309288025,
-0.8124346733093262,
0.11934157460927963,
0.52398681640625,
0.393466979265213,
0.4400710165500641,
0.3087838292121887,
0.09054451435804367,
0.27164366841316223,
0.5014756917953491,
-0.11243998259305954,
0.017853619530797005,
-0.16119907796382904,
-0.028072111308574677,
0.09847215563058853,
0.6200552582740784,
0.3291968107223511,
0.4342646598815918,
-0.4160463511943817,
0.10549584776163101,
-0.05934351682662964,
0.16256316006183624,
-0.9991869926452637,
0.03880055621266365,
-0.09640452265739441,
-0.4713059067726135,
-0.1356365978717804,
0.16460122168064117,
-1.1633127927780151,
-0.47071242332458496,
-0.35815560817718506,
-0.0676126778125763,
-0.60779869556427,
0.05102977901697159,
-0.18082769215106964,
-0.3822270929813385,
0.1980375200510025,
0.6019935607910156,
-0.7451890707015991,
0.29448121786117554,
0.5943781137466431,
0.8479558229446411,
-0.44687122106552124,
-0.01285816915333271,
-0.757032573223114,
-0.08102129399776459,
-0.0933801606297493,
0.7523230314254761,
-0.5874189138412476,
-0.5692393183708191,
0.14953172206878662,
0.36630013585090637,
-0.04092537611722946,
-0.6205947995185852,
1.3565185070037842,
-0.7741296887397766,
0.5337950587272644,
-0.3907250165939331,
-0.4580150544643402,
0.10379859060049057,
-0.042048946022987366,
-1.1371581554412842,
0.7516346573829651,
0.14350835978984833,
-0.8499312996864319,
0.23778852820396423,
-0.33534857630729675,
-0.23804301023483276,
-0.25407692790031433,
-0.22124798595905304,
-0.16475413739681244,
-0.01819087378680706,
0.682207465171814,
0.02274271473288536,
-0.6367191672325134,
0.6002714037895203,
-0.22343173623085022,
-0.07997594773769379,
0.027697421610355377,
-0.24331849813461304,
1.3090201616287231,
0.2737882435321808,
-0.21552710235118866,
0.0924646258354187,
-0.8153430223464966,
-0.8164196610450745,
-0.12883345782756805,
0.05964402109384537,
-0.7337805032730103,
0.021623192355036736,
-0.23609772324562073,
0.22625228762626648,
0.034717168658971786,
-0.554405689239502,
0.6038021445274353,
-0.4394122362136841,
0.17730529606342316,
0.7509015202522278,
0.303522527217865,
1.0494284629821777,
-0.1433286815881729,
0.6861298680305481,
-0.06596186757087708,
0.1594703495502472,
-0.5557007789611816,
-0.21286198496818542,
-0.5609451532363892,
-0.305513858795166,
0.1319398581981659,
0.7216942310333252,
-0.8296856880187988,
0.42934757471084595,
-0.5699198842048645,
-0.25353753566741943,
-0.343179315328598,
-0.09263678640127182,
-0.023264359682798386,
1.013960599899292,
0.37688612937927246,
0.07284429669380188,
-0.8384814858436584,
-0.7747248411178589,
-0.2871202826499939,
-0.12822896242141724,
-0.36123380064964294,
0.17032192647457123,
0.28562700748443604,
-0.07633315026760101,
1.2889838218688965,
-0.42515280842781067,
-0.15936137735843658,
0.2468060851097107,
0.20150643587112427,
0.44069281220436096,
0.4436074495315552,
0.8334051966667175,
-0.7601962089538574,
-0.05994461849331856,
0.09867065399885178,
-0.7441318035125732,
-0.27801769971847534,
-0.13738024234771729,
-0.5779998898506165,
-0.14877372980117798,
0.3954821228981018,
-0.453084796667099,
0.06633741408586502,
-0.002501193666830659,
-0.3467614948749542,
0.4652046263217926,
0.22604352235794067,
0.4683082401752472,
-1.097112774848938,
-0.18771164119243622,
0.09328767657279968,
-0.19663308560848236,
-0.660050630569458,
-0.07203056663274765,
0.3457227051258087,
-0.1520107090473175,
-0.5788704752922058,
0.716705858707428,
-0.6856741309165955,
0.3380739688873291,
0.026182865723967552,
-0.11866187304258347,
-0.09410683065652847,
0.27318432927131653,
0.3182699680328369,
0.831447422504425,
0.30103033781051636,
-0.5882096290588379,
0.29496896266937256,
0.6795927882194519,
0.14473362267017365,
0.8507469296455383,
-0.2865978181362152,
0.24425719678401947,
-0.4120766818523407,
0.07922062277793884,
-0.5702549815177917,
-0.039858803153038025,
0.2431756854057312,
-0.3519136607646942,
0.4077877402305603,
-0.3712952435016632,
-0.08831407129764557,
-0.25946542620658875,
-0.6292262077331543,
0.23118945956230164,
0.4583316445350647,
-0.6582364439964294,
0.7979176044464111,
0.23093989491462708,
-0.3893328607082367,
-0.6465297341346741,
-0.2752877175807953,
-0.08056773245334625,
-0.30041128396987915,
-0.7070969343185425,
0.18148016929626465,
-0.06352079659700394,
-0.44384053349494934,
-0.16569283604621887,
-0.3547857701778412,
-0.3039727509021759,
-0.07988355308771133,
0.2053358405828476,
0.47018101811408997,
-0.36672651767730713,
0.20829246938228607,
0.3410951793193817,
0.09311983734369278,
0.09007745236158371,
-0.05054834485054016,
0.37399038672447205,
0.430580735206604,
0.014821935445070267,
-0.3682691156864166,
0.35561826825141907,
0.6438197493553162,
-0.061515502631664276,
0.4773586690425873,
0.05172700807452202,
-0.43555712699890137,
-0.21849744021892548,
-0.7450398802757263,
-0.5341621041297913,
-0.4467707574367523,
0.061891354620456696,
-0.5246932506561279,
-0.7564024925231934,
0.7666831612586975,
-0.3049091398715973,
0.10200820863246918,
0.7632570862770081,
0.2294272631406784,
0.1486518383026123,
0.6477658748626709,
0.6031897664070129,
-0.17065902054309845,
0.69761723279953,
0.11523415893316269,
-0.16887496411800385,
-0.6097140908241272,
-0.28379419445991516,
-1.0959467887878418,
0.18528181314468384,
-0.6616086959838867,
-0.14390932023525238,
0.12066513299942017,
0.10158493369817734,
-0.20141743123531342,
0.5647338032722473,
-0.20988552272319794,
0.13181431591510773,
0.5325311422348022,
0.18260572850704193,
0.6414029002189636,
-0.02924526296555996,
0.46751242876052856,
-0.5854929089546204,
-0.3826442062854767,
-0.7321875691413879,
0.9656470417976379,
0.1747540980577469,
0.9118179082870483,
-0.0046447585336863995,
0.4569435715675354,
0.6291602253913879,
0.4870479702949524,
-0.8203958868980408,
0.08739452064037323,
0.06838677078485489,
-0.49463650584220886,
-0.06866319477558136,
-0.5295937657356262,
-1.0219029188156128,
0.10497894883155823,
-0.16059422492980957,
-0.556231677532196,
0.8738728761672974,
-0.12383046746253967,
-0.2523775100708008,
-0.08609765768051147,
-0.5619577169418335,
0.673460066318512,
-0.07667381316423416,
-0.3148312270641327,
0.3268060088157654,
-0.5379482507705688,
0.404483437538147,
0.04662613943219185,
0.37967708706855774,
0.03697028383612633,
-0.12979109585285187,
0.8741875886917114,
-0.31010887026786804,
0.5160284042358398,
0.09723615646362305,
-0.09809780865907669,
0.10890551656484604,
0.32767724990844727,
0.6114808917045593,
-0.0006032010423950851,
-0.6199168562889099,
-0.03237820416688919,
0.11731474101543427,
-0.3230610191822052,
-0.8017778992652893,
0.5321608781814575,
-0.8106585144996643,
-0.5587055683135986,
-0.40558379888534546,
-0.6448124647140503,
-0.17546169459819794,
0.21959038078784943,
0.3106306791305542,
0.4448796510696411,
-0.6944380402565002,
0.052694812417030334,
0.7286901473999023,
0.02516835369169712,
0.5515775084495544,
0.41262897849082947,
-0.005653695669025183,
-0.5813543200492859,
0.3470509350299835,
0.0664580687880516,
-0.14234070479869843,
0.5621383786201477,
0.17878782749176025,
-0.37046656012535095,
-0.13112947344779968,
-0.6746962666511536,
0.18830101191997528,
-0.6709001064300537,
-0.14400407671928406,
-0.8458894491195679,
0.17056694626808167,
-0.7614278197288513,
-0.13363955914974213,
-0.11861391365528107,
-0.40404266119003296,
-0.8296957015991211,
-0.07663334161043167,
0.21017397940158844,
0.3700481951236725,
0.46481963992118835,
0.42270925641059875,
-0.8441650867462158,
0.39851248264312744,
0.16468670964241028,
-0.3528774678707123,
-0.2375951111316681,
-0.7562639713287354,
0.3008913993835449,
-0.3550248444080353,
-0.16731829941272736,
-1.7084566354751587,
0.3833121061325073,
0.19443094730377197,
0.6373610496520996,
0.5617589354515076,
0.3839130997657776,
0.5060381293296814,
-0.6559797525405884,
0.3596333861351013,
-0.03258402645587921,
-0.8803666830062866,
0.8387508988380432,
-0.4052419066429138,
-0.051260605454444885,
0.6408621072769165,
0.7647138237953186,
-0.370843768119812,
-0.26023703813552856,
-0.5158219933509827,
-0.4710872769355774,
0.7854216694831848,
0.11582791805267334,
-0.03319447860121727,
-0.12905827164649963,
0.5082768201828003,
0.4780741035938263,
0.16548804938793182,
-0.49958470463752747,
0.058100517839193344,
-0.038541264832019806,
-0.34297263622283936,
0.33791396021842957,
-0.2707793712615967,
0.03146906942129135,
-0.13367025554180145,
0.5257799029350281,
0.023159673437476158,
0.0018211037386208773,
0.405426561832428,
-0.8009796142578125,
0.020217815414071083,
0.4202543795108795,
0.382146954536438,
0.9732469320297241,
-0.250815212726593,
0.1338263601064682,
-0.054139912128448486,
-0.5980636477470398,
0.1534671038389206,
0.38113638758659363,
-0.6991297602653503,
0.25104883313179016,
0.6007941961288452,
0.8502122759819031,
0.24322465062141418,
-0.48724836111068726,
0.56131911277771,
-0.1578388661146164,
0.2844092845916748,
0.0011476237559691072,
-0.15324150025844574,
-0.4314430058002472,
0.3172433078289032,
0.7534222602844238,
0.11279719322919846,
0.3758852183818817,
-0.8990264534950256,
0.21881240606307983,
0.19659501314163208,
-0.3250507116317749,
-0.46020635962486267,
0.6588967442512512,
0.3199886977672577,
-0.436694473028183,
0.3536261320114136,
-0.052254583686590195,
-0.5098878741264343,
0.5326149463653564,
0.6696791648864746,
0.7490667700767517,
-0.6488088965415955,
0.22178249061107635,
0.8144246935844421,
0.42546945810317993,
-0.28028756380081177,
-0.09775250405073166,
-0.16989420354366302,
-0.40309521555900574,
-0.49585676193237305,
-0.5939859747886658,
-0.4736135005950928,
-0.4552333950996399,
-0.7819125056266785,
0.576964259147644,
-0.19737608730793,
-0.10281501710414886,
-0.3392994999885559,
-0.1284375935792923,
-0.8045210838317871,
-0.15545408427715302,
-0.27842646837234497,
0.9732069373130798,
-1.0400103330612183,
0.5788946151733398,
0.1784936785697937,
-0.5764632821083069,
-0.32941552996635437,
-0.2383202463388443,
-0.11716213822364807,
-0.5821925401687622,
0.6031992435455322,
-0.017832424491643906,
0.06193269416689873,
0.08148285001516342,
-0.2550046443939209,
-0.6721157431602478,
0.9292197227478027,
0.7102974057197571,
-0.9801384210586548,
-0.33113542199134827,
-0.3264302909374237,
0.4039812982082367,
-0.29298052191734314,
0.6913126111030579,
0.7033911347389221,
0.4294838607311249,
0.059612125158309937,
-0.6038039326667786,
0.2730967700481415,
-0.1103445440530777,
-0.19802162051200867,
0.20872491598129272,
-0.08462359756231308,
0.7494317889213562,
0.2086760699748993,
-0.6112303733825684,
0.20967097580432892,
0.8494770526885986,
-0.028586944565176964,
0.3028152883052826,
0.2955625057220459,
0.10147994756698608,
1.2111331224441528,
-0.36185136437416077,
0.8660657405853271,
-0.15053746104240417,
0.11111194640398026,
1.2709685564041138,
-0.21491751074790955,
0.3828754425048828,
0.6092063188552856,
-0.1236579492688179,
0.5110173225402832,
0.6524434089660645,
0.06308774650096893,
0.4632735550403595,
-0.14421647787094116,
-0.05245910584926605,
0.3314841389656067,
-0.41895145177841187,
-0.40251678228378296,
-0.11612545698881149,
-0.024461306631565094,
-0.6481235027313232,
-0.2507380545139313,
0.23079168796539307,
0.3810948133468628,
0.2746959626674652,
-0.6343476176261902,
0.8078181147575378,
-0.18696936964988708,
-0.8402304649353027,
0.0888676792383194,
-0.4095748960971832,
0.6328485608100891,
-0.36223480105400085,
0.11478442698717117,
-0.3015156388282776,
-0.1389378309249878,
-0.016146572306752205,
-0.24900300800800323,
0.04686473309993744,
0.2925272285938263,
-0.42634421586990356,
-0.22656689584255219,
0.7555297017097473,
-0.2479257881641388,
-0.5822021961212158,
0.2048538327217102,
0.7410194873809814,
-0.19020229578018188,
-0.19906876981258392,
-0.04320306330919266,
-0.04390527307987213,
-0.07577479630708694,
-0.24957695603370667,
-0.04386312514543533,
0.6659608483314514,
-0.5470373630523682,
0.06828735023736954,
0.7273010611534119,
0.14712147414684296,
0.3201075792312622,
0.18344546854496002,
0.7702887654304504,
-0.8416481614112854,
-0.44949445128440857,
-1.033646821975708,
0.12054110318422318,
-0.3001662492752075,
-0.29108551144599915,
0.8640412092208862,
0.5987402200698853,
0.4313167631626129,
-0.18504340946674347,
0.543017566204071,
0.20652134716510773,
0.35844311118125916,
-0.402953177690506,
0.27653825283050537,
0.13074538111686707,
-0.17722855508327484,
-0.253292053937912,
-1.205899715423584,
-0.28889307379722595,
0.2160205841064453,
-0.4410940408706665,
-0.517398476600647,
0.8063614964485168,
0.597460150718689,
-0.08191166818141937,
0.26229730248451233,
-0.07595301419496536,
0.19504931569099426,
0.43622714281082153,
0.2364916056394577,
1.0194178819656372,
-0.18474037945270538,
0.6167293190956116,
-0.11813430488109589,
-0.46190327405929565,
0.0736258327960968,
-0.9231725335121155,
-0.9574598073959351,
-0.4129425287246704,
0.15142428874969482,
-0.13802725076675415,
0.27134624123573303,
0.9995172619819641,
0.47106873989105225,
-0.8630772233009338,
0.02178008109331131,
-0.024010008201003075,
0.3254212439060211,
0.14477813243865967,
-0.16677051782608032,
0.6506754755973816,
-0.28793609142303467,
-1.08260977268219,
0.3293747305870056,
0.11252442002296448,
-0.0029887384735047817,
-0.1207854300737381,
-0.03922383114695549,
0.015648506581783295,
-0.10249323397874832,
0.4022819399833679,
0.37696075439453125,
-0.5596096515655518,
-0.32926836609840393,
0.4132174551486969,
-0.014194239862263203,
0.45490291714668274,
1.1650176048278809,
-0.5922048687934875,
0.5688704252243042,
0.8981025218963623,
0.6834561824798584,
0.5031399726867676,
0.2855481803417206,
0.6231740713119507,
-0.3565793037414551,
0.517143726348877,
0.5525020956993103,
0.4371822774410248,
0.3464893400669098,
-0.4948779344558716,
0.45108479261398315,
0.35594409704208374,
-0.33655858039855957,
-0.6155799031257629,
0.18678511679172516,
-1.046871304512024,
-0.14352543652057648,
0.9468576312065125,
0.0662890151143074,
-0.6004037261009216,
-0.15527136623859406,
-0.6790956854820251,
0.5752885341644287,
-0.743794858455658,
0.5578354001045227,
0.6644800901412964,
0.07842198014259338,
-0.058769550174474716,
-0.6270399689674377,
0.34454798698425293,
0.08238986134529114,
-0.8320347666740417,
-0.2750868797302246,
0.7233178019523621,
0.07595578581094742,
0.34277909994125366,
0.6066052913665771,
-0.14374502003192902,
0.33183225989341736,
-0.35784581303596497,
0.171239972114563,
0.0007916259346529841,
-0.16054603457450867,
-0.37411433458328247,
0.4380524754524231,
-0.19048799574375153,
0.03794129565358162
] |
http://arxiv.org/abs/2406.03199v1
|
http://arxiv.org/pdf/2406.03199v1
|
Bayesian WeakS-to-Strong from Text Classification to Generation
| 2024-05-24T13:33:11 | 2024-05-24T13:33:11 |
Ziyun Cui, Ziyang Zhang, Wen Wu, Guangzhi Sun, Chao Zhang
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
Advances in large language models raise the question of how alignment
techniques will adapt as models become increasingly complex and humans will
only be able to supervise them weakly. Weak-to-Strong mimics such a scenario
where weak model supervision attempts to harness the full capabilities of a
much stronger model. This work extends Weak-to-Strong to WeakS-to-Strong by
exploring an ensemble of weak models which simulate the variability in human
opinions. Confidence scores are estimated using a Bayesian approach to guide
the WeakS-to-Strong generalization. Furthermore, we extend the application of
WeakS-to-Strong from text classification tasks to text generation tasks where
more advanced strategies are investigated for supervision. Moreover, direct
preference optimization is applied to advance the student model's preference
learning, beyond the basic learning framework of teacher forcing. Results
demonstrate the effectiveness of the proposed approach for the reliability of a
strong student model, showing potential for superalignment.
|
[
-0.06590461730957031,
-0.634977400302887,
0.7773709297180176,
0.028530193492770195,
-0.042191486805677414,
-0.2969614565372467,
-0.38603076338768005,
-0.1828538477420807,
-0.16301573812961578,
0.5552336573600769,
-0.333283931016922,
-0.4842974841594696,
-0.711750864982605,
-0.014776267111301422,
-0.2719491422176361,
1.4892544746398926,
0.10663694143295288,
0.14789274334907532,
-0.17910145223140717,
0.08456242084503174,
-0.48021385073661804,
-0.3726367652416229,
-0.35746049880981445,
-0.38133782148361206,
0.47072383761405945,
0.6343950033187866,
1.2315175533294678,
0.4685099422931671,
0.5946293473243713,
0.26574450731277466,
0.034624919295310974,
-0.10960293561220169,
-0.4458288550376892,
0.4471120238304138,
-0.7529127597808838,
-0.5985592007637024,
-0.46242284774780273,
-0.03682084381580353,
0.6868495345115662,
1.0767266750335693,
-0.11295618116855621,
-0.07708479464054108,
0.21484310925006866,
0.49177268147468567,
-0.6824464201927185,
-0.1297372579574585,
-0.6945528388023376,
-0.32149040699005127,
-0.0904538556933403,
0.24259619414806366,
-0.44701457023620605,
-0.20813968777656555,
0.4372465908527374,
-0.2590121626853943,
0.5480427145957947,
-0.057765595614910126,
0.965192437171936,
0.09149972349405289,
-0.7569595575332642,
-0.004072708077728748,
-0.7806264162063599,
1.0431181192398071,
-0.6644055247306824,
0.1698538064956665,
0.4278564155101776,
0.15742669999599457,
-0.4862675666809082,
-0.3671186864376068,
-0.47879981994628906,
-0.04453262686729431,
0.15717467665672302,
0.3100331723690033,
-0.009819967672228813,
0.1865563690662384,
-0.012058684602379799,
0.21525537967681885,
-0.41473838686943054,
0.21938404440879822,
-0.2410052865743637,
0.24671342968940735,
0.9011268019676208,
-0.07837558537721634,
0.24730347096920013,
-0.24145573377609253,
-0.32182809710502625,
-0.48191002011299133,
-0.3594876825809479,
-0.13660572469234467,
0.5698220729827881,
0.7377076148986816,
0.0284491628408432,
0.7759674787521362,
-0.16718073189258575,
0.49393460154533386,
0.38991639018058777,
-0.1308622509241104,
-0.01836024597287178,
-0.10634983330965042,
-0.20274068415164948,
0.058881379663944244,
0.9274614453315735,
0.3954397141933441,
0.14932285249233246,
-0.07983288913965225,
-0.2568383812904358,
0.5623687505722046,
0.5165612101554871,
-0.4233677387237549,
-0.26341143250465393,
0.13810670375823975,
-0.5088825821876526,
-0.5628394484519958,
0.15097591280937195,
-0.7810654044151306,
-0.4078795611858368,
-0.4463951885700226,
0.6728643774986267,
-0.3760956823825836,
-0.25840526819229126,
0.19725075364112854,
-0.023693576455116272,
0.00517349923029542,
0.30240383744239807,
-1.3017675876617432,
0.5087193250656128,
0.5700361728668213,
0.4388253390789032,
-0.24139036238193512,
-0.27370336651802063,
-0.10075800865888596,
0.23884224891662598,
-0.4814116656780243,
0.7169914841651917,
-0.4562046229839325,
-0.5118454098701477,
-0.080755315721035,
-0.033391185104846954,
0.07286988943815231,
-0.3017634451389313,
0.8511419892311096,
-0.13676659762859344,
0.43842869997024536,
0.026163583621382713,
-0.5963051915168762,
0.02090276964008808,
-0.041859693825244904,
-0.37547531723976135,
0.8951067924499512,
0.30080151557922363,
-0.7377327680587769,
0.49790239334106445,
0.061889536678791046,
-0.5518549084663391,
-0.2699633240699768,
-0.19128301739692688,
-0.9013804793357849,
0.4050338864326477,
0.16744452714920044,
0.819162905216217,
-0.365594744682312,
0.6485071182250977,
-0.6808390021324158,
-0.2193598598241806,
0.2457667589187622,
-0.430327445268631,
0.657568097114563,
0.02553621307015419,
-0.4635096788406372,
0.045414794236421585,
-0.679926872253418,
-0.0858844667673111,
0.09383859485387802,
-0.24791239202022552,
-0.48653629422187805,
0.3970315456390381,
-0.07594877481460571,
-0.0255422480404377,
0.1688423752784729,
-0.17034052312374115,
0.6034905910491943,
-0.5526653528213501,
0.022817466408014297,
0.832829475402832,
0.18095536530017853,
0.808044970035553,
-0.3762977421283722,
0.1909959316253662,
-0.06678353250026703,
-0.055531371384859085,
0.2501663267612457,
-0.5474917888641357,
-0.6305847764015198,
0.060638830065727234,
0.3747175633907318,
0.4293743968009949,
-0.4151938259601593,
0.4957674443721771,
-0.4500134289264679,
-0.5284922122955322,
-0.6098424792289734,
0.537771999835968,
0.46628084778785706,
0.26066723465919495,
0.4134194552898407,
-0.4249100387096405,
-0.2939795255661011,
-0.9049649238586426,
-0.2642676532268524,
-0.6154443025588989,
-0.1309579610824585,
-0.1059093177318573,
0.43230703473091125,
-0.43603819608688354,
0.8964098691940308,
-0.3467470705509186,
0.050133343786001205,
-0.38342103362083435,
0.2764979302883148,
0.2307799607515335,
0.7264429926872253,
0.3995436728000641,
-0.8574013710021973,
-0.11311608552932739,
-0.11039230972528458,
-0.5376667976379395,
-0.05051006004214287,
-0.2871217131614685,
-0.3611060380935669,
0.2005622386932373,
0.1919633448123932,
-0.6903462409973145,
0.2964641749858856,
0.40559494495391846,
-0.40385255217552185,
0.6508261561393738,
0.03602370247244835,
-0.16746386885643005,
-1.3894513845443726,
-0.19149662554264069,
0.42101189494132996,
0.03494253754615784,
-0.5152474641799927,
-0.07546745985746384,
-0.10137727111577988,
-0.09836480021476746,
0.04352578893303871,
0.3818827271461487,
-0.2118651270866394,
0.06784559041261673,
-0.177571102976799,
-0.16288751363754272,
-0.20108427107334137,
0.33188170194625854,
0.26543527841567993,
0.15622173249721527,
0.5640530586242676,
-0.5433232188224792,
0.18118126690387726,
0.277776837348938,
-0.09825747460126877,
0.6076631546020508,
-0.537050724029541,
-0.07929924130439758,
-0.24689288437366486,
0.11545021086931229,
-1.2571990489959717,
-0.6542490720748901,
0.030903736129403114,
-0.485291987657547,
0.6072280406951904,
-0.3147628903388977,
-0.34989961981773376,
-0.17076535522937775,
-0.22897116839885712,
0.15119150280952454,
0.3433980345726013,
-0.5354310870170593,
0.417881041765213,
0.2245338410139084,
-0.3860380947589874,
-0.4618450999259949,
-0.48113152384757996,
0.06682606041431427,
-0.2996216118335724,
-0.4644809365272522,
0.6447029113769531,
0.14824065566062927,
-0.5618411898612976,
-0.2039656788110733,
-0.1172102764248848,
-0.07761910557746887,
0.1399856060743332,
0.44368523359298706,
0.5023930668830872,
-0.13030914962291718,
0.3243540823459625,
0.3347458839416504,
-0.06359438598155975,
-0.011062881909310818,
-0.26096785068511963,
-0.11023619771003723,
0.02393471449613571,
-0.21243447065353394,
-0.3706575930118561,
0.5215601325035095,
0.6508428454399109,
0.12342123687267303,
0.6493862867355347,
0.16629454493522644,
-0.3174567222595215,
-0.5112793445587158,
-0.3600861728191376,
-0.4083130657672882,
-0.4364720582962036,
0.31642431020736694,
-0.2317655235528946,
-0.5901403427124023,
-0.10970176756381989,
-0.002074809744954109,
0.05974072590470314,
0.4612172842025757,
0.5250208377838135,
-0.2407263219356537,
1.655918002128601,
0.7492092847824097,
-0.35940131545066833,
0.4587475657463074,
0.1383407562971115,
0.04357392340898514,
-0.19490791857242584,
0.19565969705581665,
-0.6437614560127258,
-0.2620655596256256,
-0.903133749961853,
-0.08199773728847504,
0.04653529077768326,
0.47121742367744446,
-0.35223913192749023,
0.38399338722229004,
-0.5126739740371704,
0.18075314164161682,
0.6253272294998169,
0.2694014012813568,
-0.057504549622535706,
-0.04758385196328163,
0.062270790338516235,
-0.11193829774856567,
-0.7075028419494629,
-0.8059147000312805,
1.2347357273101807,
0.29675331711769104,
0.8909348845481873,
0.3461013436317444,
0.7691609263420105,
-0.0641474798321724,
0.4175645411014557,
-0.7923901081085205,
0.5636200308799744,
-0.24497297406196594,
-0.666050910949707,
-0.32731807231903076,
-0.5228373408317566,
-0.7618427872657776,
0.02893264777958393,
-0.7167255282402039,
-0.7406015396118164,
0.24210189282894135,
0.08722907304763794,
-0.29858630895614624,
0.2210814654827118,
-0.9130641222000122,
0.8996068835258484,
-0.2832554876804352,
-0.8501337766647339,
0.026952559128403664,
-0.9276745319366455,
0.38605034351348877,
0.026212841272354126,
0.015016354620456696,
0.1311521679162979,
0.1552720069885254,
0.5668053030967712,
-0.3386963903903961,
1.1788886785507202,
0.04445675387978554,
-0.2128600925207138,
0.33114713430404663,
0.14236892759799957,
0.4565046429634094,
0.14596717059612274,
-0.2997535169124603,
-0.21198517084121704,
-0.2868753969669342,
-0.5512223839759827,
-0.5731121301651001,
0.39709609746932983,
-1.0157415866851807,
-0.6610720157623291,
-0.334547221660614,
-0.4317764639854431,
-0.5328725576400757,
0.0927438959479332,
0.39064550399780273,
0.09878326952457428,
-0.09773174673318863,
0.20052039623260498,
0.616150975227356,
0.12725317478179932,
0.2125522941350937,
0.117733895778656,
-0.05271223932504654,
-0.3631061911582947,
0.9018703699111938,
0.11410945653915405,
0.2951413094997406,
0.42068612575531006,
0.37926676869392395,
-0.2338991016149521,
-0.586259663105011,
-0.17940068244934082,
0.17638003826141357,
-0.27242279052734375,
-0.2328798621892929,
-0.19175326824188232,
0.038505300879478455,
-0.8071289658546448,
-0.587653636932373,
-0.37984001636505127,
-0.5319527387619019,
-0.5100221633911133,
-0.2027195394039154,
-0.04799645021557808,
0.7087851166725159,
0.09236180782318115,
0.6645957827568054,
-0.569271445274353,
0.16917383670806885,
0.6784620881080627,
0.19505172967910767,
-0.29857006669044495,
-0.4756651818752289,
-0.07391855865716934,
-0.11712867021560669,
-0.7560767531394958,
-1.0303993225097656,
0.3340757489204407,
0.13544084131717682,
0.3481258749961853,
0.8096117973327637,
0.14378701150417328,
0.2619239389896393,
-0.2183455526828766,
0.6870211958885193,
0.42125678062438965,
-0.8771554827690125,
0.773379385471344,
-0.6794516444206238,
0.16743110120296478,
0.7211138606071472,
0.5963431596755981,
0.07659172266721725,
-0.6671352982521057,
-0.874828577041626,
-0.7622582912445068,
0.3244141936302185,
0.16746799647808075,
0.1412108689546585,
-0.043541070073843,
0.6081439852714539,
0.15726110339164734,
0.10344831645488739,
-0.7669665813446045,
0.21073094010353088,
-0.28300562500953674,
-0.7993924617767334,
-0.39280205965042114,
-0.22858260571956635,
0.21572867035865784,
-0.030649498105049133,
0.8849866986274719,
-0.22263602912425995,
-0.025259612128138542,
0.08003919571638107,
0.21508750319480896,
-0.1858186274766922,
0.5936896204948425,
0.18240121006965637,
0.36551523208618164,
-0.30822861194610596,
0.36412903666496277,
0.14824506640434265,
-0.32635536789894104,
0.22236646711826324,
0.07847389578819275,
-0.23824600875377655,
-0.0687398836016655,
0.3539083003997803,
0.717556893825531,
0.31927743554115295,
-0.30014336109161377,
0.6323819756507874,
0.15639644861221313,
-0.32778987288475037,
0.2592568099498749,
0.38473960757255554,
-0.10555706173181534,
0.1626417636871338,
0.2782299518585205,
0.16711974143981934,
-0.1336895227432251,
-0.7140857577323914,
0.21420003473758698,
0.33736899495124817,
-0.5019007325172424,
-0.5690426826477051,
0.6461015343666077,
0.05656281113624573,
-0.19559520483016968,
0.28775346279144287,
-0.028054622933268547,
-0.5101829767227173,
0.38965392112731934,
0.82998126745224,
0.7118710279464722,
-0.5788617730140686,
0.23614419996738434,
0.4416950047016144,
0.12965446710586548,
-0.7949118614196777,
0.16959969699382782,
0.10234961658716202,
-0.9125654697418213,
-0.2534860372543335,
-0.56474769115448,
-0.749747097492218,
-0.20085299015045166,
-0.7006263136863708,
0.5207704901695251,
-0.5303168296813965,
-0.6389546394348145,
0.04098508879542351,
0.13688988983631134,
-0.21835659444332123,
0.6608566641807556,
-0.012617910280823708,
0.1721743941307068,
-0.9611903429031372,
0.7539558410644531,
0.9176539778709412,
-0.4502694010734558,
-0.7937009930610657,
0.27737075090408325,
0.03397287428379059,
-0.16937203705310822,
0.43593430519104004,
0.06252000480890274,
0.010317225009202957,
-0.0937170684337616,
-0.9245968461036682,
-0.5220285654067993,
0.7357275485992432,
0.3389762341976166,
-0.6190232038497925,
-0.2972331941127777,
-0.1924581378698349,
0.5758622288703918,
-0.24204523861408234,
-0.05327137932181358,
0.23980987071990967,
0.14880017936229706,
-0.13032343983650208,
-0.5196378827095032,
-0.022154415026307106,
-0.058545954525470734,
0.05823269113898277,
0.25143012404441833,
-0.7225250005722046,
0.8511357307434082,
-0.37979695200920105,
-0.18779583275318146,
0.12335393577814102,
0.8871856927871704,
0.2678709924221039,
0.2020626813173294,
0.5133479833602905,
0.6339735388755798,
0.6706894040107727,
0.07489074021577835,
0.7726559638977051,
-0.125857874751091,
0.27690526843070984,
1.2566180229187012,
-0.31756889820098877,
1.1427234411239624,
0.5284850001335144,
-0.2397923618555069,
0.6544758677482605,
0.4876576364040375,
-0.025222739204764366,
0.37257012724876404,
0.10586176067590714,
-0.30657199025154114,
-0.5477024912834167,
-0.0996379405260086,
-0.1236346960067749,
0.4417877495288849,
0.2939220666885376,
-0.4220018982887268,
0.09924590587615967,
-0.2091427445411682,
-0.07748210430145264,
0.25318536162376404,
-0.44232723116874695,
0.7272966504096985,
0.13849249482154846,
-0.9831967949867249,
0.1515047699213028,
0.07698630541563034,
0.582274854183197,
-0.37449824810028076,
0.11520085483789444,
0.07289061695337296,
0.35808077454566956,
-0.18998467922210693,
-0.8269615173339844,
-0.04493650421500206,
-0.01554444245994091,
-0.4327089786529541,
-0.25312528014183044,
1.0286425352096558,
-0.40282589197158813,
-0.7428332567214966,
0.12141221761703491,
0.38568148016929626,
-0.10088194906711578,
0.28904464840888977,
-0.32394036650657654,
-0.4276965260505676,
-0.14585711061954498,
-0.30511948466300964,
0.4846637547016144,
0.46335068345069885,
-0.1313539296388626,
0.2769753634929657,
0.6221623420715332,
0.1838226318359375,
-0.2987944781780243,
-0.04152388498187065,
0.5476422309875488,
-0.5964818000793457,
-0.39431747794151306,
-0.8289337754249573,
0.37750503420829773,
0.013930912129580975,
-0.5128588676452637,
0.8112884163856506,
0.22036302089691162,
0.8386772274971008,
0.17729808390140533,
0.9529193043708801,
0.19998520612716675,
0.5354257225990295,
-0.33759745955467224,
0.4961525499820709,
-0.5620081424713135,
0.0719548836350441,
-0.8483883142471313,
-1.1111260652542114,
-0.44509458541870117,
0.6251267194747925,
-0.5618088841438293,
-0.1156676858663559,
0.3737228512763977,
0.6651434302330017,
-0.16313870251178741,
0.045157842338085175,
0.09266490489244461,
0.062260907143354416,
-0.010296559892594814,
0.6337892413139343,
0.8238648176193237,
-0.2726321518421173,
0.5373920798301697,
-0.21869823336601257,
-0.2867836356163025,
-0.24825419485569,
-0.6471794843673706,
-0.8552294969558716,
-0.45948171615600586,
-0.38608914613723755,
-0.6395720839500427,
0.12597481906414032,
0.9284681677818298,
0.5937132835388184,
-0.7094850540161133,
-0.3189798593521118,
-0.5093842148780823,
0.2042100876569748,
-0.24405376613140106,
-0.19347190856933594,
0.31319496035575867,
-0.48642733693122864,
-0.6947234869003296,
0.20602500438690186,
-0.12530378997325897,
0.5362285375595093,
-0.08065029233694077,
0.021379485726356506,
-0.05683772638440132,
0.20729877054691315,
0.2552185356616974,
0.19416633248329163,
-0.20071618258953094,
-0.31027716398239136,
-0.3157109022140503,
-0.479647159576416,
-0.14492304623126984,
0.5131775736808777,
-0.4415995180606842,
0.4128415584564209,
0.5256887078285217,
0.6465208530426025,
0.26436302065849304,
0.3747265040874481,
0.846950888633728,
-0.7914407849311829,
-0.16091220080852509,
0.2676687240600586,
0.300330251455307,
0.26932594180107117,
-0.16588857769966125,
0.3730575740337372,
0.4325013756752014,
-0.639502227306366,
-0.7785964012145996,
0.2693672776222229,
-1.0170236825942993,
-0.4982646405696869,
1.266857385635376,
-0.02134728617966175,
-0.2217850238084793,
-0.003634258173406124,
-0.35417357087135315,
0.38536781072616577,
-0.4139799177646637,
1.0260744094848633,
0.7989500164985657,
0.0024690674617886543,
0.16874077916145325,
-0.4019693434238434,
0.34353727102279663,
0.9637991189956665,
-0.5732114315032959,
0.06877469271421432,
0.5430544018745422,
0.05607489123940468,
0.2554304897785187,
0.26187047362327576,
0.24173866212368011,
0.18084941804409027,
0.09204920381307602,
-0.037439651787281036,
0.6770649552345276,
-0.46565142273902893,
-0.2723696231842041,
0.43859702348709106,
0.13242720067501068,
0.1694110482931137
] |
http://arxiv.org/abs/2405.15525v2
|
http://arxiv.org/pdf/2405.15525v2
|
Sparse Matrix in Large Language Model Fine-tuning
| 2024-05-24T13:12:14 | 2024-05-30T00:08:51 |
Haoze He, Juncheng Billy Li, Xuan Jiang, Heather Miller
|
cs.CL
|
cs.CL
|
LoRA and its variants have become popular parameter-efficient fine-tuning
(PEFT) methods due to their ability to avoid excessive computational costs.
However, an accuracy gap often exists between PEFT methods and full fine-tuning
(FT), and this gap has yet to be systematically studied. In this work, we
introduce a method for selecting sparse sub-matrices that aim to minimize the
performance gap between PEFT vs. full fine-tuning (FT) while also reducing both
fine-tuning computational cost and memory cost. Our Sparse Matrix Tuning (SMT)
method begins by identifying the most significant sub-matrices in the gradient
update, updating only these blocks during the fine-tuning process. In our
experiments, we demonstrate that SMT consistently surpasses other PEFT baseline
(e.g. LoRA and DoRA) in fine-tuning popular large language models such as LLaMA
across a broad spectrum of tasks, while reducing the GPU memory footprint by
67% compared to FT. We also examine how the performance of LoRA and DoRA tends
to plateau and decline as the number of trainable parameters increases, in
contrast, our SMT method does not suffer from such issue.
|
[
-0.6593462228775024,
-1.064770221710205,
0.4414369761943817,
0.16526800394058228,
-0.42032766342163086,
0.284035861492157,
-0.5739685893058777,
-0.22524499893188477,
0.2767030596733093,
0.20042701065540314,
-0.6579074263572693,
-0.3002889156341553,
-0.4639899730682373,
-0.12202150374650955,
-0.08562997728586197,
0.9365334510803223,
-0.09259067475795746,
-0.18017730116844177,
0.1003626137971878,
-0.10977692902088165,
-0.5740781426429749,
-0.15489836037158966,
-0.7826530337333679,
-0.27249079942703247,
0.641961395740509,
0.4433133006095886,
0.5574707388877869,
0.7577314376831055,
0.3490902781486511,
0.278435081243515,
-0.3187224268913269,
0.35392701625823975,
-0.8320738673210144,
0.0018822317942976952,
-0.1293582320213318,
-0.26855969429016113,
-0.6318086981773376,
-0.22587737441062927,
0.7803778648376465,
0.7423620223999023,
-0.2256714552640915,
0.5533676743507385,
0.46506592631340027,
0.7236083149909973,
-0.7691404223442078,
0.08369357883930206,
-0.949166476726532,
-0.0612197071313858,
-0.4921758472919464,
-0.18582989275455475,
-0.1460176706314087,
-0.13396674394607544,
-0.29066142439842224,
-0.6465282440185547,
0.3292582333087921,
-0.020230356603860855,
0.9002723693847656,
0.6583470106124878,
0.06289365142583847,
0.3839385509490967,
-0.6015989780426025,
1.0224398374557495,
-0.3463555574417114,
0.40965181589126587,
0.6858057975769043,
0.05717935040593147,
-0.23381061851978302,
-0.264973521232605,
-0.27659618854522705,
-0.22031380236148834,
0.2301243394613266,
-0.2651524245738983,
-0.47469958662986755,
0.1402064710855484,
0.37458109855651855,
0.3006867468357086,
-0.5953800082206726,
0.22431154549121857,
-0.31696757674217224,
0.009677765890955925,
0.24133116006851196,
0.07549773901700974,
-0.20420485734939575,
0.39069244265556335,
0.04605182260274887,
0.07099203765392303,
-1.1997504234313965,
-0.29089221358299255,
0.4062761962413788,
0.5253626704216003,
0.10991904884576797,
0.6041027307510376,
-0.07663363218307495,
0.44770097732543945,
0.44421443343162537,
-0.23515793681144714,
-0.007754558697342873,
-0.21723008155822754,
-0.5054876208305359,
-0.20440538227558136,
0.5372655391693115,
-0.06282808631658554,
0.46059542894363403,
0.05804874747991562,
-0.28736749291419983,
0.07519914954900742,
0.06888337433338165,
-0.6976715922355652,
-0.24556419253349304,
-0.23757784068584442,
-0.41164082288742065,
0.0007901911740191281,
-0.5155274868011475,
-0.6390727758407593,
-0.343586266040802,
-0.45744025707244873,
0.533805251121521,
-0.20850636065006256,
0.049501948058605194,
0.005156600847840309,
0.4749447703361511,
-0.14549925923347473,
0.5846549272537231,
-1.0555015802383423,
0.5616009831428528,
0.6236566305160522,
0.7674143314361572,
-0.0026717386208474636,
-0.295645147562027,
-0.9731363654136658,
0.018483947962522507,
-0.4016907215118408,
0.911436140537262,
-0.6256409287452698,
-0.12662693858146667,
-0.5164135694503784,
-0.15484818816184998,
-0.32981598377227783,
-0.7386894226074219,
0.23473826050758362,
-0.25255030393600464,
-0.2934919595718384,
-0.47326576709747314,
0.03421875834465027,
-0.009806244634091854,
-0.0672672912478447,
-0.7218131422996521,
1.3354052305221558,
0.20995211601257324,
-0.5759100317955017,
0.3671777546405792,
-0.32348737120628357,
-0.461529403924942,
-0.16440902650356293,
-0.045165885239839554,
-0.6731062531471252,
0.30467739701271057,
0.47423437237739563,
0.4774019122123718,
-0.4915839731693268,
-0.04773840680718422,
-0.24249804019927979,
-0.9380638599395752,
-0.0882074311375618,
-0.30291032791137695,
0.23443308472633362,
0.3207041323184967,
-0.4013499617576599,
0.07044117897748947,
-0.8109626770019531,
-0.2838154733181,
0.033909980207681656,
-0.49705517292022705,
-0.31027454137802124,
0.17745652794837952,
0.0036610679235309362,
-0.12013524770736694,
0.4443987309932709,
-0.5461046695709229,
0.30020222067832947,
-0.23708081245422363,
0.382254421710968,
0.9953676462173462,
-0.24493823945522308,
0.2871015965938568,
-0.3179265558719635,
0.6409087777137756,
-0.10024713724851608,
0.09899220615625381,
0.228116974234581,
-0.383100301027298,
-1.1321916580200195,
-0.5540608763694763,
0.754724383354187,
0.45317137241363525,
-0.2551303207874298,
0.24506640434265137,
-0.029631121084094048,
-0.24678270518779755,
-0.758428692817688,
0.5501147508621216,
0.24236167967319489,
0.2726013660430908,
0.4811502993106842,
0.0018786025466397405,
-0.6914410591125488,
-0.9093098044395447,
-0.01120397262275219,
0.006810878869146109,
0.18422149121761322,
0.3977607488632202,
0.2530723810195923,
-0.28837260603904724,
0.6737315654754639,
-0.5587522387504578,
-0.4111400842666626,
-0.20887768268585205,
0.031709786504507065,
0.1641678363084793,
0.663663923740387,
0.6381192207336426,
-0.3608146905899048,
-0.8692204356193542,
0.25327202677726746,
0.1699933260679245,
-0.26240402460098267,
-0.05644277483224869,
-0.023785313591361046,
0.34237614274024963,
0.4949585497379303,
-0.5535901188850403,
0.4153929352760315,
0.46134084463119507,
0.0630202367901802,
0.01694267801940441,
-0.3876633942127228,
-0.008234366774559021,
-0.7352462410926819,
0.25491249561309814,
0.11142551153898239,
-0.30981677770614624,
-0.17889387905597687,
-0.0942923054099083,
0.1083737164735794,
0.14523018896579742,
0.13995443284511566,
0.14797836542129517,
-0.4039458632469177,
-0.007116641383618116,
-0.12537327408790588,
-0.1648995578289032,
-0.26198968291282654,
0.7754600048065186,
-0.16434481739997864,
1.043981909751892,
0.42030981183052063,
-0.3553260564804077,
-0.18083226680755615,
-0.083686962723732,
-0.5160563588142395,
0.2597269117832184,
-0.7257077097892761,
0.14337904751300812,
-0.20378196239471436,
0.045572929084300995,
-1.0872586965560913,
0.247176855802536,
0.034417543560266495,
-0.11410503834486008,
0.5127993226051331,
-0.3524233102798462,
-0.6785492300987244,
0.06450718641281128,
-0.15992243587970734,
0.2786217927932739,
0.5752107501029968,
-0.4510926902294159,
0.3587352931499481,
0.49245527386665344,
-0.4049767851829529,
-0.8840291500091553,
-0.3869641125202179,
-0.09883254021406174,
-0.25810372829437256,
-0.29610475897789,
0.19537541270256042,
-0.21030813455581665,
-0.013990705832839012,
-0.2730722725391388,
-0.18615983426570892,
-0.026860324665904045,
0.30165043473243713,
0.12722769379615784,
0.027682539075613022,
-0.541692316532135,
-0.11051961034536362,
0.49993816018104553,
-0.3695925772190094,
-0.5830408930778503,
0.06686408072710037,
0.6901839375495911,
-0.20438818633556366,
-0.19687315821647644,
0.007487812079489231,
0.4676489233970642,
0.38904809951782227,
-0.533286452293396,
0.8438248634338379,
0.7807791829109192,
-0.34519585967063904,
-0.4009896218776703,
-0.7491037845611572,
0.12602511048316956,
-0.5031627416610718,
0.4863995611667633,
-0.5558818578720093,
-1.161734700202942,
0.5875730514526367,
-0.14494802057743073,
-0.0027642857749015093,
0.3845821022987366,
0.5961231589317322,
0.09909653663635254,
1.358144998550415,
0.9792279601097107,
-0.17500540614128113,
0.6697683334350586,
-0.18425574898719788,
0.17389103770256042,
-0.8438020944595337,
0.09692252427339554,
-0.7591614127159119,
-0.5169280767440796,
-0.4411681592464447,
-0.5220757722854614,
0.41960790753364563,
0.22981172800064087,
-0.33079108595848083,
0.47378045320510864,
-0.2888090908527374,
0.7958600521087646,
0.2981395125389099,
-0.03156508877873421,
0.26907864212989807,
0.3202570378780365,
-0.3125305771827698,
-0.1867983639240265,
-0.6134968996047974,
-0.12745043635368347,
0.8054254055023193,
0.39698904752731323,
1.0327712297439575,
0.12733258306980133,
0.3195207417011261,
-0.03409149497747421,
0.13191646337509155,
-0.43653446435928345,
0.5950430631637573,
-0.43909746408462524,
-0.1738147884607315,
-0.20138946175575256,
-0.4594714641571045,
-1.118914008140564,
0.3629513084888458,
-0.2654159367084503,
-0.8218681216239929,
0.2989392876625061,
0.1757996678352356,
-0.6061434745788574,
0.2525729238986969,
-0.5750569105148315,
0.6777793169021606,
0.39025765657424927,
-0.38573330640792847,
-0.5449605584144592,
-0.397600382566452,
0.0029485044069588184,
-0.5078339576721191,
-0.16925884783267975,
-0.21793513000011444,
-0.276545912027359,
0.4016956388950348,
-0.2986685335636139,
0.692681610584259,
0.10437162220478058,
-0.23428058624267578,
-0.08385386317968369,
0.28747430443763733,
0.703896164894104,
-0.027463087812066078,
0.0039328476414084435,
0.10584704577922821,
-0.007917499169707298,
-0.34624183177948,
-0.2444862723350525,
1.0537481307983398,
-0.7760457396507263,
-0.4544152021408081,
-0.19625520706176758,
-0.5770869255065918,
-0.4775397777557373,
0.06635838001966476,
0.14782269299030304,
0.18316972255706787,
-0.12205258011817932,
0.36793065071105957,
1.0186924934387207,
-0.3662700355052948,
0.1991599202156067,
0.5186617970466614,
0.022739000618457794,
-0.1855618953704834,
0.984287679195404,
0.4221184551715851,
0.031189581379294395,
0.5571842789649963,
0.16301213204860687,
-0.13219745457172394,
-0.805857241153717,
-0.4957978129386902,
0.4407459497451782,
-0.33858931064605713,
-0.3619094491004944,
-0.49056151509284973,
-0.019600750878453255,
-0.24382814764976501,
-0.1453654170036316,
-0.5252366662025452,
-0.3849461078643799,
-0.3859442174434662,
0.1221785694360733,
0.3589434027671814,
0.6605877876281738,
-0.19114017486572266,
0.3221278488636017,
-0.3689946234226227,
0.36135563254356384,
0.3042353391647339,
0.6555991768836975,
0.02675936184823513,
-0.4581870138645172,
-0.4438997507095337,
-0.010607306845486164,
-0.1466713845729828,
-0.3949663043022156,
0.25504663586616516,
0.4332241415977478,
0.45720499753952026,
0.23637112975120544,
-0.3341546356678009,
1.2778271436691284,
-0.5919867157936096,
0.47122955322265625,
-0.1657494306564331,
-0.9584504961967468,
0.446504145860672,
-0.645154595375061,
0.19903577864170074,
0.6744403839111328,
0.0029358018655329943,
-0.12251400202512741,
-0.10210699588060379,
-0.23850350081920624,
-0.6984331607818604,
0.6212690472602844,
0.14263969659805298,
-0.05804132670164108,
0.17719389498233795,
0.1897432655096054,
0.09010843932628632,
0.15038982033729553,
-0.5007440447807312,
-0.244232177734375,
0.23215913772583008,
-0.05654484033584595,
-0.39169058203697205,
-0.2142820507287979,
0.09936002641916275,
-0.5525659322738647,
0.7160346508026123,
-0.33008262515068054,
0.1247488260269165,
-0.2947175204753876,
-0.1656082272529602,
-0.9366983771324158,
0.1602441668510437,
0.7998330593109131,
0.7769568562507629,
-0.44439369440078735,
0.03112058900296688,
0.5677778720855713,
-0.7464115619659424,
-0.15478216111660004,
0.18596850335597992,
-0.07616749405860901,
-0.08571707457304001,
-0.24205632507801056,
0.7491451501846313,
0.3757483661174774,
-0.8190931081771851,
0.30561694502830505,
-0.14447732269763947,
-0.11811520159244537,
0.06611015647649765,
0.11884008347988129,
-0.00773264653980732,
0.31424349546432495,
0.22696737945079803,
0.2350916564464569,
-0.19919060170650482,
-0.18990136682987213,
-0.15695567429065704,
0.5715333223342896,
-0.18850965797901154,
-0.08688122034072876,
0.7025934457778931,
-0.25129449367523193,
0.05898312106728554,
0.2683757543563843,
0.13647158443927765,
-0.16749843955039978,
0.3866714835166931,
0.6368037462234497,
0.6285207271575928,
-0.20470847189426422,
0.02309390716254711,
0.3575040102005005,
0.5653279423713684,
-0.15568764507770538,
0.3486297130584717,
-0.21585746109485626,
-0.15716631710529327,
-0.8698911666870117,
-0.9682468175888062,
-0.11212179809808731,
0.5669466853141785,
-0.3772874176502228,
0.1993560642004013,
-0.6886224150657654,
-0.10300592333078384,
-0.05752401798963547,
0.45571497082710266,
-0.2333817183971405,
-0.1013854444026947,
0.23726972937583923,
0.7991853952407837,
-0.7070709466934204,
1.1518394947052002,
0.543394148349762,
-0.10369696468114853,
-0.7352824807167053,
-0.192221537232399,
-0.2872767150402069,
-0.6083906292915344,
0.3523823320865631,
-0.32490628957748413,
-0.25439581274986267,
0.00909674447029829,
-0.48590901494026184,
-1.237715721130371,
0.8357495069503784,
0.9578636884689331,
-0.7547772526741028,
0.242776021361351,
0.11559177935123444,
0.555523693561554,
-0.01168034877628088,
-0.18732184171676636,
0.6959729194641113,
0.3862740695476532,
0.16064846515655518,
-1.2618095874786377,
-0.04622066020965576,
-0.295240581035614,
0.11861243098974228,
0.8097922801971436,
-0.8841197490692139,
1.2861994504928589,
-0.0006054483237676322,
-0.0944657251238823,
0.5219855308532715,
0.5749651789665222,
0.35605916380882263,
-0.11860209703445435,
0.584865152835846,
0.6592516899108887,
0.8078011870384216,
0.014882237650454044,
0.49108871817588806,
-0.17723533511161804,
0.4381427466869354,
0.8981537818908691,
-0.25198179483413696,
0.9287315011024475,
0.41257444024086,
-0.2680426836013794,
0.2208891063928604,
0.7898678779602051,
0.022647147998213768,
0.5124887228012085,
0.2768659293651581,
-0.15543107688426971,
-0.6128836870193481,
0.06305554509162903,
-0.5326491594314575,
0.2973306179046631,
0.6481791138648987,
-0.12659145891666412,
-0.36208733916282654,
-0.19551654160022736,
0.1849534809589386,
-0.08240741491317749,
-0.647436261177063,
0.491620808839798,
0.07730213552713394,
-0.7289851307868958,
0.9010279178619385,
0.30399107933044434,
0.5555431246757507,
-0.6513767242431641,
-0.13692696392536163,
-0.38774606585502625,
0.476270854473114,
-0.02993902750313282,
-0.24972201883792877,
0.044415827840566635,
0.220433309674263,
-0.07029711455106735,
-0.15970607101917267,
0.7022092342376709,
-0.5693875551223755,
-0.3189893662929535,
-0.03302234783768654,
0.38325047492980957,
-0.0985003411769867,
-0.19630099833011627,
-0.7888677716255188,
0.20154054462909698,
-0.14623717963695526,
-0.10860826820135117,
0.7961077094078064,
0.23720835149288177,
-0.21041539311408997,
0.48629534244537354,
0.7930471301078796,
0.23263907432556152,
-0.004701334051787853,
-0.10375279933214188,
1.0103535652160645,
-0.3551744520664215,
-0.6215047240257263,
-0.7496052980422974,
0.007841255515813828,
0.32964015007019043,
-0.3762412667274475,
0.724284291267395,
0.7037091851234436,
0.5069271326065063,
0.06669836491346359,
0.47175395488739014,
0.12495206296443939,
0.6948537826538086,
-0.5958893895149231,
0.735958993434906,
-0.621624231338501,
0.41496652364730835,
-0.5654720067977905,
-1.2021876573562622,
-0.30195480585098267,
1.046974539756775,
-0.1727759689092636,
0.08264309912919998,
0.5188952684402466,
1.0540047883987427,
-0.5046168565750122,
-0.1642976552248001,
0.4059317409992218,
0.4317489266395569,
-0.18303494155406952,
0.7807925343513489,
0.7574352025985718,
-0.37860891222953796,
0.34888774156570435,
-0.12149935215711594,
-0.038882046937942505,
-0.2333413064479828,
-0.8439478874206543,
-1.1343951225280762,
-0.6079427003860474,
-0.2358420491218567,
-0.3601762652397156,
0.05855618789792061,
0.9447903633117676,
0.8472863435745239,
-0.8491002321243286,
-0.1679476648569107,
0.24571822583675385,
0.09017334133386612,
-0.38878628611564636,
-0.05958637222647667,
0.4941900670528412,
-0.14291661977767944,
-0.7245169878005981,
0.5449365377426147,
0.3321688771247864,
-0.022642508149147034,
-0.3156777322292328,
-0.011657871305942535,
-0.2303238958120346,
0.2947779893875122,
0.5331059694290161,
0.3867523968219757,
-0.4437077045440674,
-0.08334576338529587,
-0.003991145174950361,
0.0294403824955225,
0.23717175424098969,
0.7178792953491211,
-0.9322373867034912,
-0.13246053457260132,
0.43384814262390137,
0.6030649542808533,
0.7547842860221863,
-0.18432334065437317,
0.31076550483703613,
-0.8899182677268982,
0.13383527100086212,
-0.03682110086083412,
0.4989456832408905,
0.11091765761375427,
-0.24414902925491333,
0.5117313861846924,
0.14965584874153137,
-0.5901834964752197,
-1.0077279806137085,
-0.13589291274547577,
-1.2871376276016235,
-0.26358842849731445,
1.1617921590805054,
0.2128753811120987,
-0.2893298268318176,
-0.3420487344264984,
-0.5197042226791382,
-0.08988264203071594,
-0.34362611174583435,
0.5796176791191101,
0.3125024437904358,
0.059345219284296036,
-0.20672644674777985,
-0.475955992937088,
0.5846630930900574,
0.5978811979293823,
-0.3914825916290283,
0.15165717899799347,
0.4008006453514099,
0.3681411147117615,
-0.2048293650150299,
0.6394330859184265,
0.2569913864135742,
0.2707216143608093,
-0.12932293117046356,
-0.503153920173645,
-0.04749969020485878,
-0.5021477937698364,
-0.3608797788619995,
0.2180381417274475,
0.15015770494937897,
0.12404447048902512
] |
http://arxiv.org/abs/2405.15523v1
|
http://arxiv.org/pdf/2405.15523v1
|
Mosaic Memory: Fuzzy Duplication in Copyright Traps for Large Language Models
| 2024-05-24T13:05:05 | 2024-05-24T13:05:05 |
Igor Shilov, Matthieu Meeus, Yves-Alexandre de Montjoye
|
cs.CL
|
cs.CL, cs.LG
|
The immense datasets used to develop Large Language Models (LLMs) often
include copyright-protected content, typically without the content creator's
consent. Copyright traps have been proposed to be injected into the original
content, improving content detectability in newly released LLMs. Traps,
however, rely on the exact duplication of a unique text sequence, leaving them
vulnerable to commonly deployed data deduplication techniques. We here propose
the generation of fuzzy copyright traps, featuring slight modifications across
duplication. When injected in the fine-tuning data of a 1.3B LLM, we show fuzzy
trap sequences to be memorized nearly as well as exact duplicates.
Specifically, the Membership Inference Attack (MIA) ROC AUC only drops from
0.90 to 0.87 when 4 tokens are replaced across the fuzzy duplicates. We also
find that selecting replacement positions to minimize the exact overlap between
fuzzy duplicates leads to similar memorization, while making fuzzy duplicates
highly unlikely to be removed by any deduplication process. Lastly, we argue
that the fact that LLMs memorize across fuzzy duplicates challenges the study
of LLM memorization relying on naturally occurring duplicates. Indeed, we find
that the commonly used training dataset, The Pile, contains significant amounts
of fuzzy duplicates. This introduces a previously unexplored confounding factor
in post-hoc studies of LLM memorization, and questions the effectiveness of
(exact) data deduplication as a privacy protection technique.
|
[
-0.502980649471283,
-0.6665371656417847,
0.34861403703689575,
0.05311650410294533,
-0.48459750413894653,
-0.03210034593939781,
-0.07909613102674484,
-0.16853944957256317,
0.17156438529491425,
0.86201411485672,
-0.498352974653244,
-0.4974660873413086,
-0.7143361568450928,
0.11598203331232071,
-0.8407013416290283,
0.8855518102645874,
0.0843530222773552,
0.006986598484218121,
-0.2020489126443863,
-0.16885268688201904,
-0.42256370186805725,
-0.7530390620231628,
-0.3003050684928894,
-0.14904320240020752,
0.32430365681648254,
0.4486584961414337,
0.7321772575378418,
0.9527752995491028,
0.3545495271682739,
0.2912384867668152,
-0.38572901487350464,
0.10415681451559067,
-0.5687471628189087,
-0.10572043806314468,
-0.0672878548502922,
-0.5313057899475098,
-0.28999802470207214,
-0.038195155560970306,
0.936829686164856,
0.5728826522827148,
-0.4107879102230072,
-0.060746125876903534,
-0.0828433632850647,
0.8240099549293518,
-0.7669084072113037,
-0.10072271525859833,
-0.982291579246521,
0.230814129114151,
-0.3008522093296051,
-0.0394672155380249,
-0.3214757442474365,
-0.05342641845345497,
-0.38736215233802795,
-0.47236084938049316,
0.448459655046463,
-0.17835254967212677,
0.4639638662338257,
0.41428282856941223,
-0.25342825055122375,
-0.360856831073761,
-0.552015483379364,
0.7762269377708435,
-0.6190303564071655,
0.18480895459651947,
0.6138055324554443,
-0.13475486636161804,
-0.3606572151184082,
-0.2942439317703247,
-0.8212113380432129,
-0.05338277295231819,
0.09252730756998062,
-0.10155964642763138,
-0.10185601562261581,
-0.17986364662647247,
0.3429088592529297,
0.6395562887191772,
-0.5117316842079163,
0.05920839682221413,
-0.3637344539165497,
-0.14065587520599365,
0.7145354151725769,
0.3516656160354614,
0.2595113515853882,
-0.04953056201338768,
-0.4558548927307129,
0.05003178492188454,
-0.9009135365486145,
-0.46166127920150757,
0.3991380035877228,
0.18420788645744324,
-0.01367772463709116,
0.5442993640899658,
0.16245344281196594,
0.4996016323566437,
0.17314711213111877,
0.06812877953052521,
0.17044086754322052,
-0.1978197693824768,
-0.10739177465438843,
0.136351078748703,
0.6602196097373962,
-0.13572774827480316,
0.5358902812004089,
-0.10197050124406815,
-0.26005682349205017,
-0.34795716404914856,
0.34287381172180176,
-0.3633761703968048,
-0.3125234842300415,
0.06222676485776901,
-0.37473151087760925,
-0.012902876362204552,
0.4882224202156067,
-0.5050345659255981,
-0.48179900646209717,
-0.2723471224308014,
0.5169804692268372,
-0.4535652995109558,
-0.17658716440200806,
0.6050564646720886,
-0.14355458319187164,
0.2020939290523529,
-0.03905752673745155,
-0.8871633410453796,
0.39004653692245483,
1.1281917095184326,
0.7474590539932251,
-0.30277225375175476,
-0.6477342247962952,
-0.43543681502342224,
0.34324508905410767,
-0.3469058573246002,
0.6382414698600769,
-0.5920096635818481,
-0.588461697101593,
-0.0044408636167645454,
-0.11101115494966507,
-0.08816850930452347,
-0.6954854130744934,
-0.03561527281999588,
-0.6778697967529297,
0.3306262791156769,
-0.33373188972473145,
-0.5956776738166809,
-0.2005045861005783,
0.08218108862638474,
-0.9415042996406555,
0.7844894528388977,
0.23111040890216827,
-0.7637301683425903,
0.27773594856262207,
-0.12419232726097107,
-0.3844328820705414,
-0.17187590897083282,
-0.002981587778776884,
-0.6695557832717896,
0.160248801112175,
-0.16603848338127136,
0.2565239369869232,
-0.09906793385744095,
0.12307102233171463,
-0.12631258368492126,
-0.7099547982215881,
0.2661665678024292,
-0.2252969741821289,
0.7374089360237122,
0.3279723525047302,
-0.34546589851379395,
-0.3722239136695862,
-0.6202011704444885,
-0.24552209675312042,
0.11904773861169815,
-0.5091946721076965,
-0.433196097612381,
0.18371126055717468,
-0.4038032293319702,
0.04826631397008896,
0.11700771749019623,
-0.3299371898174286,
0.20275624096393585,
-0.13097310066223145,
0.21588940918445587,
0.7050143480300903,
0.12883177399635315,
0.43156740069389343,
-0.6714965105056763,
0.39420562982559204,
0.5092732906341553,
0.09782043099403381,
-0.2372501790523529,
-0.3284558951854706,
-0.6939325928688049,
-0.49921682476997375,
0.2029997855424881,
0.6617749929428101,
-0.6449982523918152,
0.47556281089782715,
-0.2689112424850464,
-0.35918018221855164,
-0.33212801814079285,
0.599892795085907,
0.6506422758102417,
-0.0740060955286026,
0.16910980641841888,
-0.8126233220100403,
-0.23338919878005981,
-0.9004931449890137,
-0.4312343895435333,
-0.022310538217425346,
0.00552603742107749,
0.34126701951026917,
0.5567147731781006,
-0.1739080250263214,
0.9271650910377502,
-0.4543437361717224,
-0.5026130676269531,
-0.13244247436523438,
0.07873673737049103,
0.27326953411102295,
0.7712844610214233,
0.6257896423339844,
-0.9660362601280212,
-0.38459470868110657,
-0.47540658712387085,
-0.28309425711631775,
-0.1400119811296463,
-0.4693046510219574,
-0.013111654669046402,
0.5771709680557251,
0.18691246211528778,
-0.8540279269218445,
0.29641300439834595,
0.2801951766014099,
-0.4518629312515259,
0.33655601739883423,
-0.2925105690956116,
0.10666681826114655,
-0.9947274923324585,
0.0187941025942564,
-0.4314749836921692,
-0.06647995859384537,
-0.4636457562446594,
0.09110313653945923,
0.03686627000570297,
0.2657475471496582,
-0.440914124250412,
0.23454461991786957,
-0.583396315574646,
0.07265983521938324,
-0.11852426081895828,
-0.02332260087132454,
-0.24382227659225464,
0.467752605676651,
-0.03610416501760483,
0.7562896013259888,
0.45399925112724304,
-0.5536764860153198,
0.15527890622615814,
0.630527138710022,
-0.6273227334022522,
0.3819721043109894,
-0.15257008373737335,
0.39305439591407776,
-0.3057892322540283,
0.0791105329990387,
-0.8438736796379089,
-0.028893204405903816,
0.3980550765991211,
-0.5086932182312012,
0.4953618049621582,
-0.06588026881217957,
-0.7160350680351257,
-0.014088463969528675,
-0.6042258739471436,
0.32260748744010925,
0.6089606881141663,
-0.5901867747306824,
0.27684611082077026,
0.47062259912490845,
-0.16340407729148865,
-0.861538290977478,
-0.9929202198982239,
0.273187518119812,
-0.34990832209587097,
-0.438385933637619,
0.10156436264514923,
-0.12128035724163055,
-0.15566299855709076,
0.03668917715549469,
-0.32303279638290405,
-0.2366725504398346,
0.36680203676223755,
0.24972788989543915,
-0.05127520114183426,
-0.2916550636291504,
0.11819402873516083,
-0.10072416812181473,
-0.1617612987756729,
0.09890609979629517,
-0.30574753880500793,
0.724317729473114,
0.11894286423921585,
-0.412428081035614,
-0.15953104197978973,
0.7718563675880432,
0.49958476424217224,
-0.048091333359479904,
0.9690888524055481,
0.1710774153470993,
-0.4861254394054413,
-0.45680156350135803,
-0.7710979580879211,
0.19037644565105438,
-0.49792757630348206,
0.33212703466415405,
-0.07686422765254974,
-0.8743814826011658,
0.6604323387145996,
0.34052929282188416,
-0.12409453839063644,
0.2587951123714447,
0.511393129825592,
0.028445987030863762,
0.6623462438583374,
0.4931270182132721,
-0.405418336391449,
0.6042711138725281,
-0.2932245135307312,
0.09539604187011719,
-0.5243868231773376,
-0.27405309677124023,
-0.5172747373580933,
-0.3443904221057892,
-0.3536435067653656,
-0.5265922546386719,
0.009059833362698555,
0.16003698110580444,
-0.4598239064216614,
0.4025826156139374,
-0.33274605870246887,
0.9909440279006958,
0.6306503415107727,
0.03862537443637848,
0.48080775141716003,
0.13269619643688202,
0.11425057053565979,
0.17689499258995056,
-0.6787406802177429,
-0.3799877464771271,
0.7598053216934204,
0.0005476310034282506,
0.8674643635749817,
0.11855804175138474,
1.0468218326568604,
0.3808039128780365,
0.17053887248039246,
-0.4508305788040161,
0.6060822606086731,
-0.42931443452835083,
-0.673136830329895,
-0.05936223268508911,
-0.5833223462104797,
-0.8002375364303589,
0.0751948282122612,
-0.22134526073932648,
-0.6922220587730408,
0.07928089052438736,
0.3585854470729828,
-0.24051503837108612,
0.7488160729408264,
-0.4594217836856842,
0.5527108907699585,
-0.15773387253284454,
-0.3773142993450165,
-0.37622371315956116,
-0.5828363299369812,
0.4323098063468933,
-0.5669537782669067,
0.15331389009952545,
0.055782217532396317,
-0.15077173709869385,
0.5516939759254456,
-0.30904528498649597,
0.8942065238952637,
0.035327497869729996,
-0.20096945762634277,
0.4371069073677063,
0.6124986410140991,
0.37110617756843567,
-0.12063121050596237,
-0.012617887929081917,
0.3914644122123718,
0.03561348840594292,
-0.2638629078865051,
-0.22935372591018677,
0.8041096329689026,
-0.5361395478248596,
-1.0452017784118652,
-0.45350751280784607,
-0.50560462474823,
0.034168217331171036,
0.14290960133075714,
0.13531072437763214,
-0.05597948282957077,
-0.044677045196294785,
0.22997638583183289,
0.7545502185821533,
-0.293002724647522,
0.35340961813926697,
0.6951491236686707,
0.379763662815094,
-0.4722302556037903,
0.9854643940925598,
0.06128629669547081,
0.37643522024154663,
0.2587767243385315,
0.06392821669578552,
0.17565594613552094,
-0.7448021173477173,
-0.24295027554035187,
0.38973698019981384,
-0.5892114639282227,
-0.44649213552474976,
-0.6136261820793152,
-0.2752056121826172,
-0.1938869059085846,
-0.26154839992523193,
-0.3775778114795685,
-0.6710659265518188,
-0.39261558651924133,
0.13936178386211395,
0.4487491250038147,
0.8677284717559814,
-0.5009334087371826,
0.42981383204460144,
-1.2787061929702759,
0.403049111366272,
0.14191538095474243,
0.6987782120704651,
0.08739102631807327,
-0.38544243574142456,
-0.2812548875808716,
0.26417213678359985,
-0.40126901865005493,
-0.756264328956604,
0.44971275329589844,
0.26804813742637634,
0.5169484615325928,
0.4387096166610718,
-0.07653538882732391,
0.5071702599525452,
-0.5224446058273315,
1.0355173349380493,
0.008380560204386711,
-1.1824229955673218,
-0.01674606464803219,
-0.36112749576568604,
0.16540157794952393,
0.49902382493019104,
0.3005434572696686,
-0.6157032251358032,
-0.4741594195365906,
-0.6972122192382812,
-0.6991447806358337,
0.9414556622505188,
0.05409807711839676,
0.5047286748886108,
-0.46037495136260986,
0.5097421407699585,
0.2622710168361664,
0.298869252204895,
-0.5312343835830688,
-0.16081328690052032,
0.05726982280611992,
-0.19582083821296692,
-0.08383464068174362,
-0.4376724064350128,
-0.02881910279393196,
-0.0438384935259819,
0.5870394706726074,
0.24798858165740967,
0.18429051339626312,
0.06419768184423447,
-0.22437581419944763,
-0.2815469801425934,
0.008678858168423176,
0.4966270327568054,
0.4173608422279358,
0.07839921116828918,
0.12151307612657547,
0.3622130751609802,
-0.7712871432304382,
-0.0870983824133873,
-0.27567651867866516,
-0.028223102912306786,
-0.024177029728889465,
0.24658341705799103,
0.1742614060640335,
0.2560117542743683,
-0.7134388089179993,
0.542701780796051,
0.2772843837738037,
-0.11791148036718369,
-0.6709874272346497,
0.47251829504966736,
0.1483311802148819,
0.13811500370502472,
0.11967355757951736,
-0.1919281929731369,
-0.022570690140128136,
-0.47057783603668213,
0.45231950283050537,
0.5834957361221313,
-0.17224331200122833,
-0.13309764862060547,
0.6210299134254456,
-0.22966277599334717,
-0.5599796772003174,
0.9444998502731323,
0.26445409655570984,
-0.8279814124107361,
0.8113586902618408,
0.6572997570037842,
0.8854201436042786,
-0.41049328446388245,
0.03479744493961334,
0.3268830180168152,
0.27696725726127625,
-0.4446588158607483,
0.3551611304283142,
-0.37543392181396484,
-0.650210440158844,
0.0005654029082506895,
-0.37523508071899414,
-0.24752327799797058,
0.012843537144362926,
-0.545651376247406,
0.27858901023864746,
-0.4440215826034546,
0.2387826293706894,
-0.41665375232696533,
-0.15685071051120758,
-0.2981107831001282,
-0.005218260455876589,
0.5071362853050232,
1.1093536615371704,
-0.6515056490898132,
0.7784674763679504,
0.03093758411705494,
-0.08517463505268097,
-0.37268590927124023,
-0.15797926485538483,
0.2633889615535736,
-0.7451240420341492,
0.27939489483833313,
-0.053954023867845535,
-0.20943477749824524,
-0.2650321125984192,
-0.9408676624298096,
-0.8271806836128235,
0.9049562811851501,
0.2468985617160797,
-0.33961787819862366,
0.1310489922761917,
0.6599879264831543,
0.40401411056518555,
-0.23332703113555908,
-0.48089686036109924,
0.8527687788009644,
0.35971614718437195,
0.25833603739738464,
-0.687762439250946,
0.043332889676094055,
-0.294710636138916,
-0.2215633988380432,
0.5465714335441589,
-0.6685957908630371,
1.118143081665039,
-0.44030487537384033,
-0.45088791847229004,
0.5045090317726135,
0.07355307042598724,
0.24807192385196686,
0.23974290490150452,
0.3933437764644623,
0.7355332374572754,
0.4892486333847046,
0.11928245425224304,
1.0633625984191895,
-0.15101712942123413,
0.4497663974761963,
1.112017035484314,
-0.25900402665138245,
0.7776830196380615,
0.5639296770095825,
0.19715820252895355,
0.11802290380001068,
0.23089270293712616,
-0.4257197976112366,
0.4883134365081787,
0.5028786659240723,
-0.26396578550338745,
-0.5128197073936462,
0.34673717617988586,
-0.38714152574539185,
0.44478529691696167,
0.43591904640197754,
-0.4580238461494446,
-0.12281162291765213,
-0.4375518262386322,
0.27493709325790405,
0.13974249362945557,
-0.14162057638168335,
1.0155549049377441,
0.3042919337749481,
-0.5874571800231934,
0.6632518172264099,
-0.1965028941631317,
0.579087495803833,
-0.774605929851532,
-0.2129877507686615,
-0.5349030494689941,
0.38836660981178284,
-0.1982872188091278,
-0.815825343132019,
0.3915373980998993,
0.11732441931962967,
-0.04062461107969284,
-0.26558277010917664,
0.2604638338088989,
-0.6783053874969482,
-0.17415852844715118,
0.17655639350414276,
0.24138833582401276,
0.1864345669746399,
-0.007035133894532919,
-0.3401455283164978,
-0.07434959709644318,
-0.036375775933265686,
-0.3682631850242615,
0.3536340594291687,
0.39802613854408264,
0.0429353192448616,
0.7451357841491699,
0.6347188949584961,
0.20396985113620758,
0.12549255788326263,
-0.4573626220226288,
0.9848542809486389,
-0.9640858173370361,
-0.4555847942829132,
-1.002700924873352,
0.32432249188423157,
0.09559538215398788,
-0.16320890188217163,
0.6327828168869019,
0.769476056098938,
1.0438278913497925,
-0.38983309268951416,
0.5445358157157898,
0.15312430262565613,
0.20752860605716705,
-0.7170957326889038,
1.2155810594558716,
-0.6662806868553162,
0.511496365070343,
-0.3323518633842468,
-0.9170687794685364,
-0.5747791528701782,
0.5616856217384338,
0.11280050128698349,
-0.07603573054075241,
0.5715906023979187,
0.9641953706741333,
-0.14041782915592194,
0.10428620874881744,
0.23104843497276306,
0.30787476897239685,
0.18118269741535187,
1.0596566200256348,
1.0406630039215088,
-0.22579239308834076,
0.4643940031528473,
-0.20042864978313446,
0.13313302397727966,
0.06451746076345444,
-0.9584456086158752,
-0.8456072807312012,
-0.7367035746574402,
-0.3249779939651489,
-0.3201541006565094,
-0.04020455852150917,
0.9310665726661682,
0.3389800190925598,
-0.8982275128364563,
-0.18114715814590454,
0.24010016024112701,
0.36896389722824097,
-0.065852090716362,
-0.14175069332122803,
0.2449975162744522,
0.02656685933470726,
-0.5558369755744934,
-0.04711080342531204,
0.12099135667085648,
0.3155740201473236,
0.054017528891563416,
0.02831360697746277,
-0.09690167009830475,
0.38356485962867737,
0.1312229037284851,
0.38714608550071716,
-0.49661803245544434,
-0.41013869643211365,
-0.22068224847316742,
-0.17677626013755798,
0.21038150787353516,
1.0353929996490479,
-0.7068758606910706,
0.26733431220054626,
0.5703743696212769,
0.4861011505126953,
0.3072449266910553,
0.02003660798072815,
0.39770564436912537,
-0.6104633212089539,
0.14923234283924103,
0.31050753593444824,
0.4435153305530548,
0.26943856477737427,
-0.40419802069664,
0.34497377276420593,
0.20921239256858826,
-0.33120277523994446,
-0.8112629652023315,
0.13560648262500763,
-1.0469424724578857,
-0.4112398028373718,
1.2456285953521729,
-0.1666395217180252,
-0.15054476261138916,
-0.037505850195884705,
-0.11184819787740707,
0.01738264225423336,
0.039454054087400436,
1.345583200454712,
0.8287871479988098,
0.3583117723464966,
0.08352551609277725,
-0.14139190316200256,
0.41901925206184387,
0.36980652809143066,
-0.28436338901519775,
0.3290860652923584,
0.656482994556427,
0.6263906359672546,
0.10488592833280563,
0.24260665476322174,
-0.38207417726516724,
0.45436567068099976,
0.04477568343281746,
-0.1191166341304779,
-0.49365881085395813,
-0.33542513847351074,
-0.6426965594291687,
0.05752599984407425,
-0.25055789947509766,
-0.151881143450737
] |
http://arxiv.org/abs/2405.15485v1
|
http://arxiv.org/pdf/2405.15485v1
|
Learning Beyond Pattern Matching? Assaying Mathematical Understanding in LLMs
| 2024-05-24T12:04:54 | 2024-05-24T12:04:54 |
Siyuan Guo, Aniket Didolkar, Nan Rosemary Ke, Anirudh Goyal, Ferenc Huszár, Bernhard Schölkopf
|
cs.AI
|
cs.AI, cs.CL, cs.LG
|
We are beginning to see progress in language model assisted scientific
discovery. Motivated by the use of LLMs as a general scientific assistant, this
paper assesses the domain knowledge of LLMs through its understanding of
different mathematical skills required to solve problems. In particular, we
look at not just what the pre-trained model already knows, but how it learned
to learn from information during in-context learning or instruction-tuning
through exploiting the complex knowledge structure within mathematics.
Motivated by the Neural Tangent Kernel (NTK), we propose \textit{NTKEval} to
assess changes in LLM's probability distribution via training on different
kinds of math data. Our systematic analysis finds evidence of domain
understanding during in-context learning. By contrast, certain
instruction-tuning leads to similar performance changes irrespective of
training on different data, suggesting a lack of domain understanding across
different skills.
|
[
-0.053865402936935425,
-0.6912399530410767,
0.6934400796890259,
0.26089608669281006,
-0.11332649737596512,
0.18209271132946014,
-0.023887978866696358,
-0.32541465759277344,
0.03434017673134804,
0.16925862431526184,
-0.7403243780136108,
-0.6051570177078247,
-0.6583728790283203,
0.213789701461792,
-0.3134993016719818,
0.6680772304534912,
-0.08411048352718353,
0.5642726421356201,
-0.8561434149742126,
0.08279939740896225,
-0.4345366358757019,
-0.4334988594055176,
-0.8528233170509338,
-0.5555684566497803,
0.45184582471847534,
0.24217230081558228,
0.12036807090044022,
0.5898587107658386,
0.5795499682426453,
0.29219236969947815,
-0.15771423280239105,
0.2910456359386444,
-0.45632022619247437,
0.09243834018707275,
-0.13330920040607452,
-1.1694695949554443,
-0.36453384160995483,
0.08890192210674286,
0.5852953195571899,
0.9688943028450012,
-0.024250539019703865,
0.0228575486689806,
0.1542116105556488,
0.7193689942359924,
-0.578315794467926,
0.41363564133644104,
-0.7822831273078918,
0.21171562373638153,
-0.16846485435962677,
-0.511406660079956,
-0.5082690715789795,
-0.3300248384475708,
0.2166701704263687,
-0.9035329818725586,
0.42866021394729614,
-0.23093131184577942,
0.6201048493385315,
0.42076292634010315,
-0.4629881978034973,
-0.4900074303150177,
-0.3968633711338043,
1.0637595653533936,
-0.48334553837776184,
0.43478813767433167,
0.6447895169258118,
0.42688217759132385,
-0.3680732548236847,
-0.536399781703949,
-0.26398134231567383,
-0.28782176971435547,
0.035326238721609116,
0.10646742582321167,
0.19101449847221375,
-0.10805590450763702,
0.24679915606975555,
0.24482567608356476,
-0.27775096893310547,
-0.10176631808280945,
-0.273703932762146,
-0.28365081548690796,
0.5035720467567444,
0.24032732844352722,
0.3048800528049469,
0.21563546359539032,
-0.1803528517484665,
-0.16434113681316376,
-0.9364035725593567,
0.12909376621246338,
0.2622404992580414,
0.1437922716140747,
-0.08729764819145203,
0.43092331290245056,
0.23797503113746643,
0.8648231029510498,
-0.25022828578948975,
-0.1808309108018875,
0.03254931420087814,
-0.20274779200553894,
-0.35652676224708557,
0.042164698243141174,
0.160384401679039,
-0.12765860557556152,
0.4244849681854248,
-0.06884685158729553,
-0.2655480206012726,
0.1139657199382782,
0.14339448511600494,
-0.5474979281425476,
-0.3784855008125305,
-0.28847551345825195,
-0.17160475254058838,
-0.4160333275794983,
0.06812340021133423,
-0.43989935517311096,
-0.19602854549884796,
-0.6492644548416138,
0.5082181692123413,
-0.5483500957489014,
-0.052524492144584656,
0.22751818597316742,
-0.10587707161903381,
0.219336599111557,
0.5934029221534729,
-0.7585115432739258,
0.26096612215042114,
0.9658358097076416,
0.940544605255127,
-0.1415431946516037,
-0.22670629620552063,
-0.5705024600028992,
-0.17892220616340637,
-0.656464159488678,
0.7422600984573364,
-0.6453248858451843,
-0.27828460931777954,
-0.17411842942237854,
-0.26122501492500305,
-0.16142494976520538,
-0.6973795294761658,
0.14611464738845825,
-0.9134090542793274,
0.07855870574712753,
-0.3232356309890747,
-0.7799514532089233,
-0.3500704765319824,
0.11838295310735703,
-0.4934912919998169,
0.9525813460350037,
0.3260918855667114,
-0.38478219509124756,
0.4648713171482086,
-0.8314282894134521,
-0.34073713421821594,
-0.0992734283208847,
-0.16704010963439941,
-0.4547617733478546,
0.45511394739151,
-0.08301510661840439,
0.31477853655815125,
-0.09587465971708298,
0.13595160841941833,
-0.5447791814804077,
-0.34668588638305664,
0.5440505146980286,
-0.2533372938632965,
0.7996788620948792,
0.04745485261082649,
-0.10060667991638184,
-0.03651406615972519,
-0.9531424045562744,
-0.05709797888994217,
0.11758546531200409,
-0.07536021620035172,
-0.5268467664718628,
0.07814616709947586,
-0.41964417695999146,
0.09650667011737823,
0.09863036125898361,
-0.4774605333805084,
0.08009591698646545,
-0.5095688104629517,
0.47381144762039185,
1.0710864067077637,
-0.00840467493981123,
0.370431125164032,
-0.3345414400100708,
0.5039574503898621,
0.12980087101459503,
-0.15393085777759552,
-0.1573697030544281,
-0.6021347045898438,
-0.7571571469306946,
-0.19401754438877106,
0.37942641973495483,
0.41903984546661377,
-0.5649503469467163,
-0.016342587769031525,
0.075177401304245,
-0.06113005802035332,
-0.41176483035087585,
0.27451974153518677,
0.4496428072452545,
0.8545728921890259,
0.44271788001060486,
-0.31506142020225525,
-0.49421849846839905,
-0.6319826245307922,
-0.2040322721004486,
0.2840889096260071,
-0.23778043687343597,
0.5034529566764832,
0.43184998631477356,
-0.13349220156669617,
0.9172681570053101,
-0.5620595216751099,
-0.2985193431377411,
0.146951362490654,
0.1038457527756691,
0.18474321067333221,
0.18466344475746155,
0.38663244247436523,
-0.6154794096946716,
-0.4767437279224396,
0.12983115017414093,
-1.0853127241134644,
-0.28280001878738403,
0.22295750677585602,
-0.17942389845848083,
0.13008980453014374,
0.7015834450721741,
-0.14687466621398926,
0.48667749762535095,
0.2976768910884857,
-0.2203557938337326,
0.519794762134552,
-0.2182900607585907,
-0.00418719882145524,
-0.8465924859046936,
-0.1923975944519043,
0.15549643337726593,
-0.14873123168945312,
-0.7457365989685059,
-0.03283434361219406,
0.1077093705534935,
0.1886136382818222,
-0.46600067615509033,
0.4925037622451782,
-0.5080991387367249,
-0.3433280885219574,
-0.4711426794528961,
0.09649066627025604,
-0.02125183306634426,
0.2460293173789978,
-0.004519307054579258,
1.0482525825500488,
0.8266037106513977,
-0.9306443333625793,
0.20294049382209778,
0.1038965955376625,
-0.598236620426178,
0.5834263563156128,
-0.6190803050994873,
0.2496369183063507,
-0.20860636234283447,
-0.14591024816036224,
-1.002211093902588,
-0.04842142388224602,
0.03435102477669716,
-0.5126091241836548,
0.3035266399383545,
-0.2588441073894501,
-0.4005609154701233,
0.03252420574426651,
-0.07377801835536957,
0.5254437923431396,
0.42276230454444885,
-0.4934266209602356,
0.7457858920097351,
0.17884735763072968,
0.02830810658633709,
-0.6440262198448181,
-0.5644745826721191,
-0.336609423160553,
-0.2854093909263611,
-0.7329931259155273,
0.25527942180633545,
-0.05241398140788078,
-0.506852388381958,
-0.08677738904953003,
-0.3698273003101349,
-0.2340170294046402,
0.44954320788383484,
0.024737760424613953,
0.28581109642982483,
-0.5586428046226501,
0.3013395667076111,
0.03479801118373871,
-0.27782943844795227,
0.452497661113739,
-0.40439751744270325,
0.5058088302612305,
0.17707979679107666,
-0.5448365807533264,
-0.333290696144104,
-0.01853106915950775,
0.1746465116739273,
-0.034698888659477234,
0.5096972584724426,
0.2617722749710083,
-0.37243664264678955,
-0.4338526129722595,
-0.17742539942264557,
-0.46515434980392456,
-0.533692479133606,
0.40968433022499084,
-0.6010759472846985,
-0.9153771996498108,
0.6870158910751343,
-0.21314145624637604,
-0.0995892658829689,
0.36868518590927124,
0.5152360796928406,
-0.3608054220676422,
0.7496234178543091,
0.9491836428642273,
0.21248239278793335,
0.5166351795196533,
-0.2844439148902893,
0.12402442842721939,
-0.8111429810523987,
-0.3758997619152069,
-0.30897653102874756,
-0.3948531746864319,
-0.3451785445213318,
-0.4771132469177246,
0.5180708765983582,
0.07031948864459991,
-0.09841082990169525,
0.038644637912511826,
-0.27627936005592346,
0.7412357926368713,
0.5940029621124268,
0.2920679450035095,
0.31001168489456177,
0.02620009332895279,
-0.24194864928722382,
-0.13076138496398926,
-0.604064404964447,
-0.24607835710048676,
1.5043723583221436,
0.07887572795152664,
0.7655602693557739,
-0.03341605141758919,
0.5955065488815308,
0.016836607828736305,
0.5227055549621582,
-0.7079369425773621,
0.4725608825683594,
0.016411924734711647,
-0.17762024700641632,
-0.21669498085975647,
-0.7053597569465637,
-0.9811667203903198,
0.14948058128356934,
0.09528400003910065,
-0.4672662019729614,
-0.06457756459712982,
0.3462182283401489,
-0.22222311794757843,
0.1947004199028015,
-0.6985412240028381,
0.5705251097679138,
-0.16773155331611633,
-0.12314546853303909,
-0.36770740151405334,
-0.5293813347816467,
0.5505368113517761,
-0.24102020263671875,
0.1358949989080429,
-0.04049547761678696,
-0.03895265981554985,
0.632786214351654,
-0.058478351682424545,
0.8740684986114502,
-0.0440991148352623,
-0.3256899416446686,
0.1358920782804489,
0.5668773651123047,
0.18315544724464417,
0.2813877463340759,
-0.06155327707529068,
0.12102256715297699,
0.0024704451207071543,
-0.4339101314544678,
-0.8996241688728333,
0.6914230585098267,
-0.8297507762908936,
-0.5931772589683533,
-0.42467716336250305,
-0.8404208421707153,
-0.32429468631744385,
-0.0877644270658493,
0.02482759766280651,
0.3697560131549835,
-0.0013239498948678374,
-0.1454366147518158,
1.226089358329773,
-0.09406296908855438,
0.2205476015806198,
0.4963423013687134,
-0.009954474866390228,
-0.05111274868249893,
1.0478789806365967,
-0.09698553383350372,
0.36330315470695496,
0.6627838015556335,
0.3300948143005371,
-0.35577648878097534,
-0.41153910756111145,
0.133888378739357,
0.24657851457595825,
-0.8413024544715881,
-0.3268202543258667,
-0.39440008997917175,
-0.22486631572246552,
-0.07172311097383499,
-0.18841877579689026,
-0.006782975513488054,
-0.2690064609050751,
-0.5919170379638672,
-0.0905560776591301,
0.6312389373779297,
1.0055723190307617,
-0.14671500027179718,
0.3270483613014221,
-0.4482089877128601,
0.09943830966949463,
0.43964916467666626,
0.4407358765602112,
-0.07499729096889496,
-0.7660447955131531,
-0.18961019814014435,
0.2715449035167694,
-0.2294137328863144,
-0.7390544414520264,
0.22293633222579956,
0.3684242069721222,
0.561984121799469,
0.40600311756134033,
-0.5363264083862305,
0.612079918384552,
-0.5445908904075623,
0.5202398300170898,
-0.06818845123052597,
-0.993035078048706,
0.5365647673606873,
0.014694797806441784,
-0.024154802784323692,
0.12370456755161285,
0.5239898562431335,
-0.40582841634750366,
-0.1335436999797821,
-0.5400418043136597,
-0.31808459758758545,
0.6886389255523682,
-0.007905857637524605,
0.012750972993671894,
0.2771815359592438,
0.7448946833610535,
0.17046302556991577,
0.2257937639951706,
-0.43592771887779236,
-0.3317283093929291,
-0.06418254971504211,
-0.32580432295799255,
-0.3722105026245117,
-0.1016291007399559,
-0.3742706775665283,
-0.416638046503067,
0.46106305718421936,
-0.2057536393404007,
0.5047721266746521,
0.03245336562395096,
-0.4495472013950348,
-0.1057453453540802,
-0.20331932604312897,
1.038492202758789,
1.103949785232544,
-0.20617370307445526,
0.21938538551330566,
0.07173015922307968,
-0.5936385989189148,
0.14462368190288544,
-0.13386288285255432,
0.03875096142292023,
-0.09267209470272064,
0.5875718593597412,
0.6278077960014343,
0.3051418662071228,
-0.45392292737960815,
0.24192310869693756,
0.0877685621380806,
-0.5058609247207642,
-0.06411118060350418,
0.4248046875,
0.025050222873687744,
0.024199455976486206,
0.4520684480667114,
0.1475546509027481,
-0.02019496262073517,
-0.4264543950557709,
0.6195457577705383,
0.678735613822937,
-0.27587807178497314,
-0.540647029876709,
0.3962865471839905,
-0.24525536596775055,
-0.45036154985427856,
0.4084591865539551,
-0.13767892122268677,
-0.5678992867469788,
0.9829550385475159,
0.6759845018386841,
0.6573961973190308,
-0.35199427604675293,
0.06335213035345078,
0.10409919172525406,
0.09751627594232559,
0.21412593126296997,
0.3849083483219147,
-0.21749824285507202,
-0.8531737923622131,
-0.6743131875991821,
-0.3790658116340637,
-0.3772697150707245,
0.09549880027770996,
-0.5429195761680603,
0.3050761818885803,
-0.6030953526496887,
0.23770354688167572,
0.1758151650428772,
-0.009015106596052647,
-0.7164242267608643,
0.016969194635748863,
-0.16282939910888672,
0.9415574073791504,
-0.9617735743522644,
0.8172789812088013,
0.624546468257904,
-0.0561663843691349,
-0.5058881044387817,
-0.18325012922286987,
0.16316385567188263,
-1.4535540342330933,
1.2195061445236206,
0.008064980618655682,
-0.1370028406381607,
0.22717821598052979,
-0.8087784051895142,
-0.9564468264579773,
1.1374719142913818,
0.46263235807418823,
-0.25387394428253174,
0.2818707227706909,
0.17470888793468475,
0.5615844130516052,
-0.4260318875312805,
0.4151378870010376,
0.3937245011329651,
0.152886301279068,
0.29048168659210205,
-0.6337504982948303,
-0.29709839820861816,
-0.06259644031524658,
-0.08678276091814041,
0.37715813517570496,
-0.15628939867019653,
0.945651113986969,
-0.3204828202724457,
-0.15031476318836212,
-0.22205750644207,
0.7055899500846863,
0.4311507046222687,
0.6066698431968689,
0.29041555523872375,
0.6700063347816467,
0.7409356236457825,
-0.173418790102005,
0.828455924987793,
-0.18739104270935059,
0.3965575098991394,
0.9165794849395752,
-0.13147050142288208,
0.5613573789596558,
0.5534664988517761,
-0.39970114827156067,
0.5560196042060852,
0.8782211542129517,
0.2237337976694107,
0.6626821160316467,
0.6823911666870117,
-0.3834460973739624,
-0.38051071763038635,
0.12522050738334656,
-0.4062995910644531,
0.12461920082569122,
0.7510120272636414,
-0.16919948160648346,
-0.4552878439426422,
-0.038829974830150604,
-0.4167821705341339,
0.169677734375,
-0.41175487637519836,
0.7783128619194031,
0.4848189949989319,
-0.29822808504104614,
0.5175895094871521,
-0.09894900768995285,
0.5352973341941833,
-0.7694804668426514,
-0.3969486653804779,
-0.2915070652961731,
0.11853373050689697,
-0.05910874903202057,
-0.8438100814819336,
0.36133602261543274,
-0.39477571845054626,
-0.15330742299556732,
-0.051880620419979095,
0.5148248076438904,
-0.373882532119751,
-0.5624194741249084,
0.09600581228733063,
0.5355123281478882,
0.16648028790950775,
0.03593357652425766,
-0.5883749723434448,
-0.1176086962223053,
-0.18575064837932587,
0.13972991704940796,
0.5178490281105042,
0.8046667575836182,
-0.019213689491152763,
0.9551822543144226,
0.9433212280273438,
0.057605575770139694,
0.2990949749946594,
0.06636569648981094,
0.6842126250267029,
-0.518954873085022,
-0.3596506416797638,
-1.014359474182129,
0.12378896772861481,
0.15546169877052307,
-0.32865437865257263,
0.6812663078308105,
0.3066827952861786,
1.0179754495620728,
-0.15190503001213074,
0.46233439445495605,
0.38758936524391174,
0.2559850811958313,
-0.7959409356117249,
0.3195980191230774,
-0.5776615142822266,
0.30134961009025574,
-0.10647179186344147,
-0.7118505239486694,
-0.595309317111969,
0.9256386756896973,
-0.44970110058784485,
-0.03158627077937126,
0.7713576555252075,
0.8042241334915161,
-0.4214400053024292,
0.05879301205277443,
0.41970208287239075,
0.0952959731221199,
0.2567363381385803,
0.7653778195381165,
0.9154967665672302,
-0.2516939342021942,
0.05195734649896622,
-0.17351152002811432,
-0.35185524821281433,
-0.16574092209339142,
-0.9035025238990784,
-1.1700618267059326,
-0.5795154571533203,
-0.2003851979970932,
-0.33973395824432373,
-0.004151675850152969,
0.8028130531311035,
0.49498429894447327,
-0.839312732219696,
-0.33993393182754517,
-0.4904283285140991,
0.4273974299430847,
-0.3758622407913208,
-0.21476833522319794,
0.5253909230232239,
-0.6885586977005005,
-0.5828067064285278,
0.5657758712768555,
0.3732350170612335,
0.23471783101558685,
-0.19165432453155518,
0.0629483088850975,
-0.08831183612346649,
-0.0019774818792939186,
0.642311155796051,
0.1517942100763321,
-0.5106917023658752,
0.05700298026204109,
0.48185986280441284,
0.006693016737699509,
0.24317124485969543,
1.1615136861801147,
-0.7236889004707336,
0.3480556011199951,
0.41211968660354614,
0.9571285247802734,
0.33058106899261475,
-0.37093600630760193,
0.7037609815597534,
-0.8050698637962341,
0.113834910094738,
0.21885466575622559,
0.26511743664741516,
0.09644210338592529,
-0.5999467968940735,
0.46867039799690247,
0.5318715572357178,
-0.37557023763656616,
-0.94361811876297,
0.3459210991859436,
-0.7105400562286377,
-0.09453462809324265,
0.9454876780509949,
-0.0944092646241188,
-0.394187331199646,
-0.0633075013756752,
0.22958865761756897,
0.1413535326719284,
-0.14418739080429077,
1.0080852508544922,
0.8374086618423462,
-0.26614806056022644,
-0.07269002497196198,
-0.7431485056877136,
0.7406800389289856,
0.7694039344787598,
-0.7197272181510925,
-0.274956077337265,
-0.03363509476184845,
0.49119532108306885,
0.09033716470003128,
0.3912123143672943,
0.029545607045292854,
0.4499502182006836,
-0.42839762568473816,
-0.2427593469619751,
-0.12785950303077698,
-0.4809461832046509,
-0.49931493401527405,
-0.12361273914575577,
-0.06938325613737106,
-0.23811671137809753
] |
http://arxiv.org/abs/2405.15471v1
|
http://arxiv.org/pdf/2405.15471v1
|
Emergence of a High-Dimensional Abstraction Phase in Language Transformers
| 2024-05-24T11:49:07 | 2024-05-24T11:49:07 |
Emily Cheng, Diego Doimo, Corentin Kervadec, Iuri Macocco, Jade Yu, Alessandro Laio, Marco Baroni
|
cs.CL
|
cs.CL
|
A language model (LM) is a mapping from a linguistic context to an output
token. However, much remains to be known about this mapping, including how its
geometric properties relate to its function. We take a high-level geometric
approach to its analysis, observing, across five pre-trained transformer-based
LMs and three input datasets, a distinct phase characterized by high intrinsic
dimensionality. During this phase, representations (1) correspond to the first
full linguistic abstraction of the input; (2) are the first to viably transfer
to downstream tasks; (3) predict each other across different LMs. Moreover, we
find that an earlier onset of the phase strongly predicts better language
modelling performance. In short, our results suggest that a central
high-dimensionality phase underlies core linguistic processing in many common
LM architectures.
|
[
-0.6428822875022888,
-0.8480616807937622,
0.7456063032150269,
0.22643186151981354,
0.13250169157981873,
0.11761313676834106,
-0.09169284254312515,
-0.4241099953651428,
-0.16361837089061737,
0.5112113952636719,
-0.4439762830734253,
-0.5662562251091003,
-1.0218396186828613,
-0.15316610038280487,
-0.7763395309448242,
0.6784666180610657,
-0.03105693683028221,
-0.42252373695373535,
-0.12672080099582672,
0.09568372368812561,
-0.3521703779697418,
-0.7987016439437866,
-0.6292406320571899,
-0.6956701874732971,
0.47947242856025696,
0.11795138567686081,
0.8591248989105225,
0.8195900321006775,
0.33858078718185425,
0.37371888756752014,
-0.14107827842235565,
-0.5101402997970581,
-0.568349301815033,
0.08166775852441788,
-0.08159378916025162,
-0.6026923656463623,
-0.4630095064640045,
0.04497914761304855,
0.6894248127937317,
1.1433576345443726,
-0.015183474868535995,
0.11987544596195221,
0.17783431708812714,
0.6299741864204407,
-0.4531111419200897,
0.5719560384750366,
-0.5344746708869934,
0.18014176189899445,
-0.2797687351703644,
-0.015911635011434555,
-0.47485703229904175,
-0.2514703869819641,
0.3606157898902893,
-0.566932737827301,
0.18170233070850372,
-0.19241739809513092,
0.8054437041282654,
0.2550105154514313,
-0.2781969904899597,
-0.21057842671871185,
-1.2929034233093262,
0.4980335831642151,
-0.4295291006565094,
0.5514436364173889,
0.17669399082660675,
0.35197439789772034,
-0.00646740198135376,
-0.6118802428245544,
-0.8116697072982788,
-0.011650997214019299,
-0.36553847789764404,
-0.09242404252290726,
-0.3537467122077942,
-0.0074300020933151245,
0.2664185166358948,
0.33486607670783997,
-0.26067301630973816,
0.2307225465774536,
-0.4893170893192291,
-0.09144915640354156,
0.16436249017715454,
0.08580032736063004,
0.4467909336090088,
-0.44661134481430054,
-0.25121474266052246,
0.07543487101793289,
-0.6382238864898682,
0.16230949759483337,
0.17715992033481598,
0.4968329071998596,
-0.40850117802619934,
0.5043500065803528,
-0.1270393431186676,
0.3854118585586548,
0.1787785291671753,
0.03303791955113411,
0.1116357296705246,
-0.2446250319480896,
-0.008843905292451382,
0.1202629953622818,
0.8608726859092712,
-0.31855064630508423,
0.4059968888759613,
-0.07928235828876495,
-0.28906920552253723,
0.06260722130537033,
0.32400596141815186,
-0.6047804355621338,
-0.16874493658542633,
0.28243768215179443,
-0.34271439909935,
-0.19527992606163025,
-0.06955178827047348,
-0.3449242413043976,
-0.4636923372745514,
-0.6596397757530212,
0.2895568609237671,
-0.3703480362892151,
-0.3797500431537628,
0.14715132117271423,
0.5000157356262207,
0.18241745233535767,
-0.0397585928440094,
-0.8912045955657959,
0.3841652274131775,
0.9572346210479736,
0.7959297895431519,
-0.3195575773715973,
-0.4341224431991577,
-0.27508053183555603,
0.08314704895019531,
-0.38614657521247864,
0.8789013028144836,
-0.7036871910095215,
-0.25895780324935913,
0.24870947003364563,
0.02346067875623703,
-0.050011489540338516,
-0.5867508053779602,
0.4460960328578949,
-0.3776662349700928,
0.11903141438961029,
-0.16702015697956085,
-0.1793438047170639,
-0.30215984582901,
-0.10193004459142685,
-0.7969663739204407,
1.2680635452270508,
0.20350494980812073,
-0.3840204179286957,
0.3707507848739624,
-0.6033375859260559,
-0.3476637899875641,
0.1900927871465683,
-0.35201266407966614,
-0.19811269640922546,
0.4728192687034607,
0.1464938372373581,
0.7129155397415161,
-0.2302585244178772,
0.05074106156826019,
0.011949805542826653,
-0.30866071581840515,
0.3043234348297119,
-0.07065004110336304,
0.4877677857875824,
-0.1817466914653778,
-0.321089506149292,
0.19331692159175873,
-0.7933768033981323,
-0.2122388631105423,
0.1406002789735794,
-0.2636743187904358,
-0.3144727051258087,
0.09055385738611221,
-0.3436514437198639,
0.5767025947570801,
0.2131740003824234,
-0.48252254724502563,
0.05341824144124985,
-0.27084121108055115,
0.3164748251438141,
0.7343084812164307,
-0.2314457893371582,
0.7652630805969238,
0.03692556545138359,
0.47897568345069885,
0.51850426197052,
0.021048162132501602,
-0.2820068895816803,
-0.38408344984054565,
-1.1255630254745483,
-0.20211082696914673,
-0.07325003296136856,
0.44375962018966675,
-0.403372198343277,
0.6203683614730835,
-0.5508317351341248,
-0.433199405670166,
-0.39181679487228394,
-0.0026735987048596144,
0.22347797453403473,
0.03470230847597122,
0.10913774371147156,
-0.20220206677913666,
-0.22240589559078217,
-1.1623265743255615,
0.010486031882464886,
-0.19743147492408752,
0.024300457909703255,
0.02344599924981594,
0.21639269590377808,
-0.05129003897309303,
0.912331223487854,
-0.32776787877082825,
-0.3583041727542877,
-0.6389248371124268,
0.2948806881904602,
0.4866645634174347,
0.219472274184227,
0.49744680523872375,
-0.1749843955039978,
-0.305011510848999,
0.278598427772522,
-0.7747350931167603,
-0.24308767914772034,
-0.12017615139484406,
-0.40716445446014404,
0.06733188033103943,
0.6304723024368286,
-0.667255699634552,
0.3513675034046173,
0.792779266834259,
-0.33641356229782104,
0.2906299829483032,
-0.1545085459947586,
-0.15460078418254852,
-1.0769704580307007,
-0.06274013966321945,
-0.0102546913549304,
-0.07502520084381104,
-0.9643176794052124,
0.026654869318008423,
-0.18687008321285248,
-0.2389366328716278,
-0.3741909861564636,
0.26281803846359253,
-0.40644508600234985,
-0.4805518090724945,
-0.3152626156806946,
0.36927151679992676,
-0.35459843277931213,
0.7526440620422363,
-0.14028558135032654,
0.6280656456947327,
0.7801430821418762,
-0.7417808175086975,
-0.021126285195350647,
0.030386686325073242,
-0.3674333095550537,
0.39207059144973755,
-0.8795482516288757,
0.19204722344875336,
-0.4665184020996094,
0.03706422820687294,
-0.9653054475784302,
0.10764691978693008,
-0.02015693672001362,
-0.19611120223999023,
0.24184373021125793,
-0.17565758526325226,
-0.5005362629890442,
-0.27374646067619324,
0.3607615828514099,
0.7149146199226379,
0.49191582202911377,
-0.2409653663635254,
0.8677433729171753,
0.5124301910400391,
-0.4613026976585388,
-0.07934276759624481,
-0.3426888883113861,
-0.26378461718559265,
0.06912587583065033,
-0.5170394778251648,
-0.00005965687887510285,
0.26202744245529175,
-0.054672788828611374,
-0.05151406675577164,
0.21373283863067627,
0.06388800591230392,
0.057426463812589645,
0.5755162239074707,
0.1951938271522522,
-0.3846045136451721,
-0.3112596869468689,
-0.06828242540359497,
-0.3631575107574463,
0.4544770419597626,
-0.1832730621099472,
1.1782664060592651,
-0.13170406222343445,
-0.4326867163181305,
-0.8605389595031738,
0.26644033193588257,
0.9566192626953125,
-0.3029835522174835,
0.7703537344932556,
0.4105646312236786,
-0.5867156386375427,
-0.14531368017196655,
-0.08912781625986099,
-0.009187562391161919,
-0.454121857881546,
0.7970587611198425,
-0.6116464734077454,
-0.5240267515182495,
0.7609075903892517,
0.12758465111255646,
0.11013611406087875,
0.5471677780151367,
0.7696666121482849,
0.09195265918970108,
1.0287537574768066,
0.8298748135566711,
-0.1412246823310852,
0.4246404469013214,
-0.46220770478248596,
0.6934687495231628,
-0.743170976638794,
-0.3715658187866211,
-0.6746224164962769,
-0.5521875023841858,
-0.4986579716205597,
-0.5574231743812561,
0.4166523218154907,
0.26523688435554504,
-0.28103503584861755,
0.28745198249816895,
-0.11236555129289627,
0.5684187412261963,
0.273164302110672,
-0.2989429235458374,
0.2796740233898163,
0.22517181932926178,
-0.1428707242012024,
-0.1143268495798111,
-0.5650374889373779,
-0.45977169275283813,
0.7163029909133911,
0.725502073764801,
0.45301374793052673,
0.009980092756450176,
0.5075064897537231,
-0.15605562925338745,
0.1363898515701294,
-0.965905487537384,
0.6501531004905701,
-0.34419873356819153,
-0.17156049609184265,
-0.36860591173171997,
-0.20579181611537933,
-0.952367901802063,
0.31789854168891907,
-0.325749933719635,
-0.7348946928977966,
0.2327430546283722,
-0.12235897779464722,
-0.26058632135391235,
0.34129399061203003,
-0.4505138099193573,
0.53052818775177,
0.02745571918785572,
0.022748159244656563,
-0.2378428876399994,
-0.10453605651855469,
0.45307376980781555,
-0.17632652819156647,
0.5200368165969849,
-0.37011826038360596,
0.2612385153770447,
0.5302425026893616,
0.05080942437052727,
0.6444579362869263,
-0.10199287533760071,
-0.5561941266059875,
0.027770791202783585,
0.6866469979286194,
0.31559163331985474,
-0.16202740371227264,
0.1942429542541504,
0.5018329620361328,
-0.13088205456733704,
-0.48090893030166626,
-0.6690590381622314,
0.7044805884361267,
-1.039734959602356,
-0.5080961585044861,
-0.3050231635570526,
-0.7748445272445679,
-0.2176845669746399,
0.278714120388031,
0.1313888132572174,
0.6904690861701965,
-0.028722506016492844,
0.10725618898868561,
0.613272488117218,
-0.3067011833190918,
0.545993983745575,
0.007934638299047947,
-0.739934504032135,
0.2210247963666916,
0.8218581676483154,
-0.0978129506111145,
0.5695279240608215,
0.244781494140625,
0.20319709181785583,
0.0018427794566377997,
-0.6075041890144348,
-0.20594988763332367,
0.3963077962398529,
-0.8602045774459839,
0.3462757468223572,
-0.696736752986908,
-0.7048165798187256,
-0.15455645322799683,
0.09302441775798798,
-0.747522234916687,
-0.4362620413303375,
0.08136515319347382,
-0.114222452044487,
-0.19120918214321136,
1.3245792388916016,
0.3198178708553314,
0.4572207033634186,
-0.9001449942588806,
0.25285136699676514,
0.24676324427127838,
0.3302977383136749,
0.2042207419872284,
-0.5644254088401794,
-0.43458130955696106,
0.007241728715598583,
-0.23468920588493347,
-0.37179315090179443,
0.14867088198661804,
0.2449498474597931,
0.6298893094062805,
0.5083855390548706,
-0.5433472394943237,
0.3911798894405365,
-0.6584715247154236,
0.900674045085907,
0.18362824618816376,
-0.936065673828125,
0.17088934779167175,
-0.34923258423805237,
0.8222277164459229,
0.03225034102797508,
0.4662826359272003,
-0.6671624779701233,
-0.6905942559242249,
-0.1960853487253189,
-0.7300211787223816,
0.6618812084197998,
0.28573182225227356,
0.4057667553424835,
0.11156561225652695,
0.3626268804073334,
0.2961028814315796,
-0.19629158079624176,
-0.7065168023109436,
-0.5119958519935608,
-0.013978978618979454,
0.041841354221105576,
-0.09528893232345581,
-0.30961909890174866,
-0.006567372940480709,
-0.2225196361541748,
0.1884220689535141,
-0.04357941076159477,
0.6032922267913818,
-0.38064631819725037,
-0.1803206205368042,
-0.22165429592132568,
0.25405171513557434,
0.5651533603668213,
0.8521516919136047,
0.2271948605775833,
0.29198819398880005,
-0.16919703781604767,
-0.49486759305000305,
0.04267941415309906,
-0.20938317477703094,
-0.05075812712311745,
-0.013918938115239143,
0.5900899171829224,
1.1034880876541138,
0.35353854298591614,
-0.0575217679142952,
0.36018669605255127,
0.04448254033923149,
-0.11132420599460602,
-0.24832572042942047,
-0.08792779594659805,
-0.009338727220892906,
0.17869830131530762,
0.5627949833869934,
-0.035198066383600235,
-0.10576020181179047,
-0.7344898581504822,
0.009034780785441399,
0.22986726462841034,
-0.47184690833091736,
-0.8924512267112732,
0.4117310643196106,
0.020796572789549828,
-0.2085607796907425,
0.5509375929832458,
0.09866659343242645,
-0.7276477813720703,
0.21723397076129913,
0.4101194441318512,
1.1525620222091675,
-0.27880221605300903,
0.24357032775878906,
0.4428069293498993,
0.34512075781822205,
0.2633751928806305,
0.17257457971572876,
0.30251094698905945,
-0.8123957514762878,
-0.6017807126045227,
-1.0671772956848145,
0.2860778868198395,
0.03785049915313721,
-0.644599199295044,
0.3029084801673889,
-0.4821571707725525,
-0.07078426331281662,
0.03254719823598862,
-0.6366742253303528,
-0.8603252172470093,
-0.028950342908501625,
0.5629284381866455,
0.3754483759403229,
-0.8951208591461182,
0.7852676510810852,
0.30740025639533997,
-0.12299478054046631,
-0.5872675776481628,
0.008079665713012218,
-0.09599966555833817,
-0.8876625895500183,
0.9646471738815308,
0.046845369040966034,
-0.22543257474899292,
-0.06747209280729294,
-0.11112536489963531,
-1.227647304534912,
0.8244205713272095,
0.2639252245426178,
-0.5282365083694458,
-0.48986998200416565,
0.9891876578330994,
0.5234881043434143,
-0.48614317178726196,
0.09682800620794296,
1.0563267469406128,
0.21801011264324188,
0.1397818624973297,
-1.0032670497894287,
0.12415613234043121,
0.08284278213977814,
0.337690532207489,
0.6251658201217651,
-0.09008963406085968,
1.053727149963379,
-0.03533086180686951,
-0.6417249441146851,
-0.0750492736697197,
0.7863086462020874,
0.037732627242803574,
-0.3855144679546356,
0.5240739583969116,
0.5688937902450562,
0.38792452216148376,
-0.519417941570282,
1.1635273694992065,
-0.7358459234237671,
0.20967034995555878,
0.863628089427948,
0.03887821361422539,
1.0725746154785156,
0.366060346364975,
-0.20608022809028625,
0.7203080654144287,
0.19552180171012878,
0.5950932502746582,
0.279094398021698,
0.25604894757270813,
0.024354582652449608,
-0.21506071090698242,
-0.052472859621047974,
-0.20899471640586853,
0.5515734553337097,
0.5279719233512878,
-0.22998598217964172,
-0.22470399737358093,
0.04359932243824005,
-0.03696294128894806,
0.08370628952980042,
-0.3604978024959564,
0.92027348279953,
0.0791911855340004,
-0.3714257478713989,
0.7444274425506592,
-0.3070404827594757,
0.32579168677330017,
-0.3852192163467407,
0.2125404328107834,
-0.3692580461502075,
0.19712702929973602,
-0.19177621603012085,
-0.9271600246429443,
0.35612037777900696,
-0.4299202859401703,
-0.36969614028930664,
-0.32444339990615845,
0.1237635686993599,
-0.4838743805885315,
-0.5078612565994263,
0.4193621873855591,
0.5595359802246094,
0.029014259576797485,
0.012978941202163696,
-0.46406105160713196,
0.1893727034330368,
-0.5468595623970032,
-0.19220192730426788,
0.23311357200145721,
0.7911492586135864,
-0.07914809137582779,
0.5714776515960693,
0.6138967871665955,
0.29469627141952515,
0.6594613194465637,
0.22982004284858704,
0.6414955258369446,
-0.5419248938560486,
-0.3748297691345215,
-0.6598479151725769,
0.5785318613052368,
0.21025925874710083,
-0.22052830457687378,
0.3969912827014923,
0.4098779857158661,
0.8911662697792053,
0.02759813703596592,
0.7555956840515137,
0.05729253962635994,
0.17083801329135895,
-0.6280222535133362,
0.7352594137191772,
-0.2564000189304352,
0.27260851860046387,
-0.22287124395370483,
-1.398085355758667,
-0.10098026692867279,
0.3449437916278839,
-0.2906162440776825,
-0.004095453303307295,
1.0715515613555908,
0.6844101548194885,
-0.2057289183139801,
-0.06550196558237076,
0.4614925682544708,
0.6744054555892944,
0.5422497987747192,
0.47421154379844666,
0.9386036396026611,
-0.31996065378189087,
0.21272140741348267,
-0.4602494239807129,
-0.13859447836875916,
0.17692714929580688,
-0.5163221955299377,
-0.859549343585968,
-0.9276430606842041,
-0.17578229308128357,
-0.31125408411026,
-0.49980613589286804,
0.6643109321594238,
0.7281044721603394,
-0.9356037974357605,
-0.7155594229698181,
0.009333518333733082,
-0.23691554367542267,
-0.0648430585861206,
-0.21712465584278107,
0.22972826659679413,
-0.39876577258110046,
-1.0410094261169434,
0.16429051756858826,
0.5398650765419006,
-0.006455782800912857,
-0.7527402639389038,
0.05833422392606735,
-0.06779447197914124,
0.2108401209115982,
0.9568207263946533,
-0.04106050357222557,
-0.8161689043045044,
-0.40182361006736755,
-0.057269733399152756,
-0.3119295835494995,
0.18538953363895416,
1.1936767101287842,
-0.6641178727149963,
0.21488212049007416,
0.5471643209457397,
0.5631606578826904,
0.2748696804046631,
-0.2912614941596985,
0.8666206002235413,
-0.5530316829681396,
0.3188311755657196,
-0.07353910803794861,
0.4853193759918213,
0.24353919923305511,
-0.2471996247768402,
-0.08629126846790314,
0.05960579216480255,
-0.3201838731765747,
-0.5794436931610107,
0.4496261477470398,
-0.9021647572517395,
-0.06364506483078003,
1.1059579849243164,
0.1961420178413391,
-0.3064434230327606,
-0.03904184699058533,
-0.009953956119716167,
0.1060391515493393,
-0.18642792105674744,
0.7948759198188782,
0.9304966926574707,
-0.026708925142884254,
-0.27385446429252625,
-0.5394284725189209,
0.4710969030857086,
0.2430855929851532,
-0.8216411471366882,
0.2944113612174988,
0.13316436111927032,
0.06625867635011673,
0.5117672085762024,
0.14826814830303192,
-0.2864059507846832,
-0.05481834337115288,
-0.38795799016952515,
-0.05900952219963074,
0.1511324942111969,
-0.6157691478729248,
-0.2989558279514313,
0.4077399969100952,
0.21472996473312378,
0.05325749143958092
] |
http://arxiv.org/abs/2405.15454v1
|
http://arxiv.org/pdf/2405.15454v1
|
Linearly Controlled Language Generation with Performative Guarantees
| 2024-05-24T11:30:44 | 2024-05-24T11:30:44 |
Emily Cheng, Marco Baroni, Carmen Amo Alonso
|
cs.CL
|
cs.CL, cs.SY, eess.SY
|
The increasing prevalence of Large Language Models (LMs) in critical
applications highlights the need for controlled language generation strategies
that are not only computationally efficient but that also enjoy performance
guarantees. To achieve this, we use a common model of concept semantics as
linearly represented in an LM's latent space. In particular, we take the view
that natural language generation traces a trajectory in this continuous
semantic space, realized by the language model's hidden activations. This view
permits a control-theoretic treatment of text generation in latent space, in
which we propose a lightweight, gradient-free intervention that dynamically
steers trajectories away from regions corresponding to undesired meanings.
Crucially, we show that this intervention, which we compute in closed form, is
guaranteed (in probability) to steer the output into the allowed region.
Finally, we demonstrate on a toxicity avoidance objective that the intervention
steers language away from undesired content while maintaining text quality.
|
[
0.053317032754421234,
-0.9855932593345642,
0.5983902812004089,
0.24534928798675537,
-0.20737391710281372,
0.1149291843175888,
-0.3377755582332611,
-0.08595088869333267,
0.31034988164901733,
0.7484725117683411,
-0.5274176001548767,
-0.42561858892440796,
-0.4159829914569855,
-0.4612553119659424,
-0.5377113223075867,
1.3430622816085815,
-0.37971368432044983,
-0.44174399971961975,
-0.21383821964263916,
0.011207465082406998,
-0.25424331426620483,
-0.4201950430870056,
-0.4948878288269043,
-0.5082278251647949,
0.9239519238471985,
0.1366616189479828,
1.066641926765442,
0.8154090046882629,
0.41665118932724,
0.1805335134267807,
-0.25008898973464966,
0.12339922785758972,
-0.6398980021476746,
0.4433603286743164,
-0.2193167805671692,
-0.3971411883831024,
-0.39459657669067383,
0.09911933541297913,
0.7918433547019958,
0.9631378054618835,
-0.31539446115493774,
-0.33226197957992554,
0.09412781894207001,
0.5360721349716187,
-0.6828192472457886,
-0.24164888262748718,
-0.8356481790542603,
0.09932945668697357,
-0.18911884725093842,
-0.32611143589019775,
-0.42163652181625366,
-0.5421140789985657,
-0.14513035118579865,
-0.5605324506759644,
-0.08431278169155121,
-0.2810598909854889,
0.872882068157196,
0.41570088267326355,
-0.32372891902923584,
-0.6543480753898621,
-1.1784982681274414,
1.0322861671447754,
-0.5422606468200684,
0.06552425771951675,
0.23654644191265106,
0.125049889087677,
-0.602153480052948,
-0.842079222202301,
-0.5952675342559814,
-0.3768344819545746,
0.08426094055175781,
0.1484510749578476,
-0.12393973767757416,
0.28410017490386963,
0.12833082675933838,
0.19389937818050385,
-0.4575989842414856,
0.23566219210624695,
-0.2629842162132263,
-0.3157995045185089,
0.48924052715301514,
0.294571191072464,
0.4117412865161896,
-0.05801435559988022,
-0.2419135868549347,
0.09844855219125748,
-0.9957666397094727,
0.13486889004707336,
0.4112757742404938,
0.25598275661468506,
-0.014360764063894749,
0.8379088044166565,
-0.17665712535381317,
0.49005627632141113,
-0.21231552958488464,
-0.053997915238142014,
-0.18185190856456757,
-0.5135079026222229,
-0.0337778739631176,
-0.17885442078113556,
0.8209478259086609,
0.2685283422470093,
0.1653323769569397,
-0.3543694019317627,
-0.5033891201019287,
0.6463131308555603,
0.31571298837661743,
-0.782802164554596,
-0.014472994022071362,
0.4269722104072571,
-0.18255199491977692,
-0.7114387154579163,
-0.3266064524650574,
-0.43179935216903687,
0.04351234808564186,
-0.050193432718515396,
0.17977604269981384,
-0.4197655916213989,
-0.2224767804145813,
0.12340529263019562,
0.19495809078216553,
-0.03762147203087807,
-0.019546635448932648,
-0.8723845481872559,
0.5107179284095764,
0.5156953930854797,
0.6459894180297852,
-0.40081876516342163,
0.17823171615600586,
-0.761287271976471,
0.5023296475410461,
-0.8650797605514526,
0.22415733337402344,
-0.726317286491394,
-0.2903706133365631,
0.20387613773345947,
-0.4789049029350281,
0.24971450865268707,
-0.3664502203464508,
0.4148699939250946,
-0.5799846649169922,
0.46284282207489014,
0.05864831805229187,
-0.5183925032615662,
0.2151651233434677,
-0.08822502940893173,
-0.3917580246925354,
0.9807155728340149,
-0.08367224037647247,
-0.7502071857452393,
0.3756517171859741,
-0.5888178944587708,
-0.5053325295448303,
-0.0451357401907444,
-0.38694798946380615,
-0.3907949924468994,
0.27427729964256287,
-0.40889236330986023,
0.301653116941452,
0.12131297588348389,
0.6330669522285461,
0.011274648830294609,
-0.0811258926987648,
0.3400483727455139,
-0.319857656955719,
0.1342373639345169,
0.3248254656791687,
-0.583478569984436,
0.3595963716506958,
-0.900109589099884,
0.3346554934978485,
0.008062656037509441,
-0.6181975603103638,
-0.41472023725509644,
0.3519502282142639,
0.040202848613262177,
0.4669291079044342,
0.31679069995880127,
-0.43392425775527954,
-0.0862298384308815,
-0.5739864706993103,
0.23668800294399261,
0.580999493598938,
0.16907404363155365,
0.7674826383590698,
-0.1013883575797081,
0.5469242334365845,
-0.04870093613862991,
-0.10572575777769089,
-0.08221795409917831,
-0.36095523834228516,
-0.9643328189849854,
-0.018097009509801865,
-0.00196630647405982,
0.2688709497451782,
-1.0841842889785767,
0.5160270929336548,
-0.03258058428764343,
-0.24269114434719086,
0.024711785838007927,
0.06939852237701416,
0.6928464770317078,
0.32874834537506104,
-0.019510241225361824,
-0.12204360216856003,
-0.056638993322849274,
-0.7662632465362549,
0.07108281552791595,
0.010097156278789043,
-0.153324693441391,
0.36735302209854126,
0.1324939876794815,
-0.0785994827747345,
0.9071452021598816,
-0.5637257695198059,
0.011150723323225975,
-0.19692213833332062,
0.29763439297676086,
0.21738706529140472,
0.6531211733818054,
0.5548921227455139,
-0.6585441827774048,
-0.12419513612985611,
-0.09695199131965637,
-0.7411682605743408,
-0.46393558382987976,
-0.3516662120819092,
-0.3078054189682007,
0.2787245213985443,
0.7420256733894348,
-0.44927966594696045,
0.457527220249176,
0.6671686768531799,
-0.3272501528263092,
0.15918220579624176,
-0.4961678385734558,
-0.4059143662452698,
-0.9271566271781921,
0.2801753878593445,
-0.37353017926216125,
-0.30953818559646606,
-0.7838257551193237,
0.1855064183473587,
-0.13855783641338348,
-0.18713442981243134,
-0.2946711480617523,
0.3527090847492218,
-0.18566156923770905,
0.17785851657390594,
-0.5677958726882935,
0.3772573471069336,
-0.1258350908756256,
0.37217584252357483,
0.2356295883655548,
0.5469565987586975,
0.3235320746898651,
-0.8580892086029053,
-0.10011249780654907,
0.04279843345284462,
0.09886125475168228,
0.15819832682609558,
-0.7576221823692322,
-0.013509741984307766,
-0.24169175326824188,
0.1785430908203125,
-0.6812142729759216,
-0.0838063657283783,
0.11431856453418732,
-0.30713650584220886,
0.27894362807273865,
0.4679359495639801,
-0.35956546664237976,
-0.18435552716255188,
-0.00426501827314496,
0.055520717054605484,
0.5196161270141602,
0.011922311037778854,
0.1788840889930725,
0.17976579070091248,
-0.14264217019081116,
-0.43148940801620483,
-0.6915326714515686,
-0.108830526471138,
-0.07906284183263779,
-0.4694271385669708,
0.16476209461688995,
-0.2904692590236664,
-0.3244555592536926,
0.05104968324303627,
0.09248863160610199,
-0.009285268373787403,
0.3921826183795929,
0.35247915983200073,
0.12514793872833252,
-0.11681501567363739,
0.24078640341758728,
0.6210085153579712,
-0.18799808621406555,
0.029935713857412338,
-0.5163503885269165,
0.5761978030204773,
0.4044073224067688,
-0.21748794615268707,
-0.0831652581691742,
0.4775474965572357,
0.44483697414398193,
-0.2522803843021393,
0.833909273147583,
0.35269901156425476,
-0.3718509376049042,
-0.4638165533542633,
0.11329121142625809,
-0.14910900592803955,
-0.4751186668872833,
0.3680356442928314,
-0.17912310361862183,
-0.8620933294296265,
0.438845694065094,
0.03771020472049713,
0.16663751006126404,
0.3280688226222992,
0.663838803768158,
0.17349188029766083,
0.8418664932250977,
0.7957243323326111,
0.27872392535209656,
0.45094209909439087,
-0.05692917853593826,
0.19973506033420563,
-0.38061684370040894,
-0.17244797945022583,
-0.4896288216114044,
-0.29130369424819946,
-0.8225721716880798,
-0.5113106369972229,
0.34603992104530334,
0.4571117162704468,
-0.09136868268251419,
0.05325215309858322,
-0.36336323618888855,
0.2992680072784424,
0.4434138238430023,
-0.08203748613595963,
0.039781711995601654,
0.06012391671538353,
-0.7046499848365784,
-0.34110304713249207,
-0.7857940196990967,
-0.7171893119812012,
0.8429336547851562,
0.4096366763114929,
0.8218807578086853,
0.22153282165527344,
0.8020610809326172,
0.10545825958251953,
0.17778380215168,
-0.4556529223918915,
0.5197246074676514,
-0.12602649629116058,
-0.5304421186447144,
-0.37592315673828125,
-0.4834378957748413,
-0.8833224773406982,
-0.11285161226987839,
-0.3095857799053192,
-0.8549266457557678,
-0.13236774504184723,
0.24084365367889404,
-0.20083177089691162,
0.10392053425312042,
-0.3762451410293579,
0.4452081620693207,
-0.1742037832736969,
-1.0374014377593994,
-0.37475839257240295,
-0.49823546409606934,
0.3404019773006439,
-0.4260258376598358,
0.07437784969806671,
-0.12958168983459473,
-0.2730337679386139,
0.43665260076522827,
-0.5095364451408386,
0.7319228649139404,
-0.25605759024620056,
-0.4248100221157074,
0.23261502385139465,
0.5641404390335083,
0.6369814276695251,
-0.0755583643913269,
0.10105626285076141,
-0.2723357677459717,
-0.4977037012577057,
-0.3821990489959717,
-0.3373471200466156,
0.812250018119812,
-0.4593226909637451,
-0.31139665842056274,
-0.0378243662416935,
-0.7173853516578674,
-0.10326800495386124,
0.5295117497444153,
0.43005532026290894,
0.40611034631729126,
-0.27154305577278137,
0.1279207020998001,
0.8262093663215637,
-0.7187320590019226,
0.5849815607070923,
0.1630968600511551,
-0.5506886839866638,
-0.054058946669101715,
0.9883540272712708,
-0.05680166557431221,
0.8464012742042542,
0.4642752408981323,
0.3587043881416321,
-0.25837790966033936,
-0.6943121552467346,
-0.13261377811431885,
0.00556344585493207,
-0.4837876558303833,
0.09261239320039749,
-0.5750800371170044,
-0.31225332617759705,
0.07785191386938095,
-0.4043647348880768,
-0.3405930995941162,
-0.6900650858879089,
-0.2672153115272522,
-0.03589428961277008,
0.03652653098106384,
1.030612826347351,
-0.1635057032108307,
0.5768943428993225,
-0.4383741617202759,
0.23990100622177124,
0.08278550952672958,
0.5478407144546509,
-0.16757385432720184,
-0.10809731483459473,
-0.14200322329998016,
-0.0056390012614429,
-0.4961450397968292,
-0.4123283326625824,
0.39557546377182007,
0.2350376695394516,
0.5389586091041565,
0.4132823646068573,
-0.011469253338873386,
-0.03857427462935448,
-0.7184553146362305,
0.8737077116966248,
0.4635424017906189,
-0.8612820506095886,
0.7775123715400696,
-0.7929364442825317,
0.17360170185565948,
0.0037494103889912367,
0.21212546527385712,
-0.48967838287353516,
-1.218021035194397,
-0.6255149245262146,
-0.9647976756095886,
0.5265718102455139,
0.6123795509338379,
0.4893340766429901,
-0.0448952354490757,
0.3661860525608063,
0.017550164833664894,
0.5215379595756531,
-0.7825090885162354,
-0.20570172369480133,
-0.3118475377559662,
-0.27665287256240845,
-0.018689589574933052,
-0.3535924255847931,
-0.18577949702739716,
0.4354993999004364,
0.47085535526275635,
-0.11623233556747437,
0.00681086303666234,
0.023023026064038277,
0.1582597941160202,
-0.435120165348053,
0.3270780146121979,
1.0060784816741943,
0.6383591890335083,
-0.05295698344707489,
0.21292537450790405,
-0.5566099882125854,
-0.36430057883262634,
0.09043512493371964,
-0.24786685407161713,
-0.702018678188324,
0.11053140461444855,
0.23304158449172974,
0.7908581495285034,
0.1698741614818573,
-0.40269237756729126,
0.4129733145236969,
0.16114486753940582,
-0.15162356197834015,
-0.1006677970290184,
0.31139427423477173,
0.11198355257511139,
-0.06279408186674118,
0.1347605586051941,
-0.1257956176996231,
-0.13403932750225067,
-0.15884217619895935,
0.4179982542991638,
0.41864779591560364,
-0.5772989392280579,
-0.26686593890190125,
1.2035988569259644,
0.20776863396167755,
-0.12254396080970764,
0.16846734285354614,
-0.21180333197116852,
-0.3526371419429779,
0.41082891821861267,
0.546187162399292,
0.7507195472717285,
-0.028403716161847115,
0.3242379426956177,
0.23795457184314728,
0.39718297123908997,
0.27855509519577026,
0.4341490566730499,
0.056348226964473724,
-0.9676884412765503,
-0.4539409577846527,
-0.8199120759963989,
-0.1906834989786148,
0.11373917758464813,
-0.40250346064567566,
-0.006571562960743904,
-0.7622639536857605,
-0.03955609351396561,
0.03780196234583855,
-0.12545561790466309,
-0.11833833903074265,
0.29045721888542175,
0.3535362482070923,
0.7571918368339539,
-0.8444154858589172,
0.9592826962471008,
0.25768807530403137,
-0.4731338620185852,
-0.9258322715759277,
0.1535576730966568,
-0.17465880513191223,
-0.39370080828666687,
0.7557889223098755,
-0.27100682258605957,
-0.30559274554252625,
-0.11798912286758423,
-0.7525060772895813,
-0.7028250694274902,
0.7446216940879822,
0.23427782952785492,
-0.46895632147789,
0.08457072079181671,
0.3549578785896301,
0.7649235129356384,
-0.3702464997768402,
-0.24602176249027252,
0.348624587059021,
0.18549224734306335,
0.21151980757713318,
-0.6859043836593628,
0.06195545569062233,
0.000746940728276968,
0.2822302281856537,
0.256449431180954,
-0.3879188299179077,
0.7321059703826904,
-0.14458692073822021,
-0.19904550909996033,
0.2608097493648529,
0.7520496845245361,
0.2677415609359741,
0.03054334968328476,
0.22952492535114288,
0.13828732073307037,
0.8151703476905823,
-0.15881623327732086,
1.1592395305633545,
-0.44851890206336975,
0.13548818230628967,
0.8695158362388611,
-0.26773732900619507,
0.7252218127250671,
0.544170618057251,
0.18186064064502716,
0.480232834815979,
0.2166268527507782,
0.6084036827087402,
0.6782194375991821,
0.4861052632331848,
-0.3311956524848938,
-0.1514539122581482,
-0.5725204348564148,
-0.026196341961622238,
0.4020526111125946,
0.536697268486023,
-0.44256794452667236,
-0.12224187701940536,
-0.17184150218963623,
0.2962382137775421,
0.7533526420593262,
-0.2814403772354126,
0.6299876570701599,
0.0269445963203907,
-0.7027668356895447,
0.5744825005531311,
-0.016889620572328568,
0.5745832324028015,
-0.8835488557815552,
0.05537739768624306,
-0.31900984048843384,
0.20677506923675537,
-0.10772720724344254,
-0.7108538150787354,
0.4447711706161499,
-0.11275067180395126,
-0.23693473637104034,
-0.41177988052368164,
0.8804131746292114,
-0.6622035503387451,
-0.39392194151878357,
0.3748474717140198,
0.514488160610199,
0.013161974959075451,
0.544542670249939,
-0.31244009733200073,
0.007947216741740704,
0.07743069529533386,
-0.22838956117630005,
0.09854360669851303,
0.5885712504386902,
-0.3084354102611542,
0.5632565021514893,
0.5913339257240295,
0.649477481842041,
0.35503074526786804,
-0.10124800354242325,
1.0374579429626465,
-0.47779446840286255,
-0.6959218382835388,
-0.4484269320964813,
0.44369184970855713,
0.01381045300513506,
-0.2407873123884201,
0.27440232038497925,
0.4243626296520233,
0.5792838931083679,
0.1792880892753601,
0.7828242182731628,
-0.14208155870437622,
0.40217143297195435,
-0.7948850393295288,
0.9118057489395142,
-0.6351047158241272,
0.1472259908914566,
-0.3529958724975586,
-0.8160524368286133,
-0.38335299491882324,
0.3649102449417114,
-0.07913143187761307,
-0.15022894740104675,
0.7507762908935547,
0.7696244120597839,
0.12301398813724518,
-0.5161882638931274,
0.5763261318206787,
0.14952576160430908,
0.542639434337616,
0.6268317103385925,
0.8487558960914612,
0.039552390575408936,
0.38855409622192383,
-0.05276445671916008,
-0.35097557306289673,
0.2524888813495636,
-1.0958023071289062,
-0.6059980392456055,
-0.37755945324897766,
-0.146937757730484,
-0.599210262298584,
-0.18692730367183685,
0.5330331325531006,
0.4101268947124481,
-0.7286955118179321,
-0.2519116997718811,
-0.5189153552055359,
0.19835165143013,
0.18575766682624817,
-0.19592176377773285,
0.19337746500968933,
-0.5634514689445496,
-0.7686824798583984,
0.21832558512687683,
0.42567527294158936,
0.05275365710258484,
-0.5162977576255798,
-0.3502214252948761,
0.10142814368009567,
0.37447652220726013,
0.411443293094635,
0.17268629372119904,
-0.5792693495750427,
-0.34407758712768555,
-0.035915907472372055,
-0.5794064998626709,
-0.1797764003276825,
1.1143698692321777,
-0.6135312914848328,
0.3641505539417267,
0.4163682460784912,
0.49960562586784363,
0.2757011353969574,
-0.42548009753227234,
0.9419436454772949,
-1.1915807723999023,
0.5715187191963196,
0.31196480989456177,
0.06443089246749878,
0.22134460508823395,
-0.25902658700942993,
0.2902259826660156,
0.14754019677639008,
-0.40668755769729614,
-0.5947839617729187,
0.5317209959030151,
-0.626248300075531,
-0.2711746096611023,
1.3351892232894897,
-0.13920123875141144,
-0.19062083959579468,
0.17431171238422394,
0.10057251900434494,
0.4874936640262604,
-0.38617610931396484,
0.39211171865463257,
0.4578193724155426,
-0.003970759455114603,
0.14909829199314117,
-0.5591168403625488,
0.729557991027832,
0.39224740862846375,
-0.7290178537368774,
0.1603516936302185,
0.7680470943450928,
-0.03142695501446724,
0.39783746004104614,
0.7611214518547058,
-0.20411759614944458,
-0.04789865016937256,
-0.07849584519863129,
0.14941304922103882,
0.2835363447666168,
-0.4415556490421295,
-0.22652482986450195,
0.10935734212398529,
0.23631125688552856,
-0.14895839989185333
] |
http://arxiv.org/abs/2405.15453v1
|
http://arxiv.org/pdf/2405.15453v1
|
Benchmarking Pre-trained Large Language Models' Potential Across Urdu NLP tasks
| 2024-05-24T11:30:37 | 2024-05-24T11:30:37 |
Munief Hassan Tahir, Sana Shams, Layba Fiaz, Farah Adeeba, Sarmad Hussain
|
cs.CL
|
cs.CL, cs.AI, I.2.7
|
Large Language Models (LLMs) pre-trained on multilingual data have
revolutionized natural language processing research, by transitioning from
languages and task specific model pipelines to a single model adapted on a
variety of tasks. However majority of existing multilingual NLP benchmarks for
LLMs provide evaluation data in only few languages with little linguistic
diversity. In addition these benchmarks lack quality assessment against the
respective state-of the art models. This study presents an in-depth examination
of prominent LLMs; GPT-3.5-turbo, Llama2-7B-Chat, Bloomz 7B1 and Bloomz 3B,
across 14 tasks using 15 Urdu datasets, in a zero-shot setting, and their
performance against state-of-the-art (SOTA) models, has been compared and
analysed. Our experiments show that SOTA models surpass all the encoder-decoder
pre-trained language models in all Urdu NLP tasks with zero-shot learning. Our
results further show that LLMs with fewer parameters, but more language
specific data in the base model perform better than larger computational
models, but low language data.
|
[
-0.3829900920391083,
-0.31365400552749634,
0.39563989639282227,
0.48056936264038086,
-0.12774689495563507,
0.142148956656456,
-0.32395440340042114,
-0.47437378764152527,
0.00521807698532939,
0.5999899506568909,
-0.47381478548049927,
-0.5845150947570801,
-0.8263157606124878,
0.6170620322227478,
-0.5127174854278564,
0.8253921270370483,
-0.15731653571128845,
0.1506621241569519,
0.25460800528526306,
-0.05693173035979271,
-0.26047033071517944,
-0.5605362057685852,
-0.3705404996871948,
-0.2648780941963196,
0.3907819986343384,
0.4750237762928009,
0.4947644770145416,
0.36986979842185974,
0.5914071798324585,
0.21613626182079315,
-0.10003191232681274,
0.0215606689453125,
-0.4776655435562134,
0.16444449126720428,
-0.055677276104688644,
-0.3771187663078308,
-0.3872089684009552,
-0.17194394767284393,
0.92244553565979,
0.6383081674575806,
-0.006261852569878101,
0.4312340319156647,
0.04975487291812897,
0.49980998039245605,
-0.9668826460838318,
-0.05379137769341469,
-0.6238340139389038,
0.16495200991630554,
-0.5165961384773254,
-0.025733230635523796,
-0.34870773553848267,
-0.20108306407928467,
-0.20981277525424957,
-0.07146609574556351,
-0.06808242946863174,
-0.19623762369155884,
0.7201053500175476,
0.13345539569854736,
-0.46314337849617004,
-0.050338055938482285,
-0.83366459608078,
0.8419296145439148,
-1.0707021951675415,
0.682121217250824,
0.2962922155857086,
0.35764241218566895,
-0.1859016865491867,
-0.46980172395706177,
-0.45373138785362244,
-0.31876251101493835,
0.08573814481496811,
0.04954754561185837,
-0.18474704027175903,
-0.12398551404476166,
0.35271841287612915,
0.4403781294822693,
-0.7199906706809998,
0.39600643515586853,
-0.16610181331634521,
-0.04216531291604042,
0.4677430987358093,
0.18056100606918335,
0.18992851674556732,
-0.10930618643760681,
-0.333488792181015,
-0.12097911536693573,
-1.0088964700698853,
-0.07480043917894363,
0.38044288754463196,
0.4409954249858856,
-0.12179294228553772,
0.6472293734550476,
-0.5980634689331055,
0.7013005018234253,
-0.15944170951843262,
-0.2608838975429535,
0.2585070729255676,
-0.5134665369987488,
-0.26838433742523193,
-0.032354842871427536,
1.0309147834777832,
-0.004487127065658569,
0.32350170612335205,
-0.21916626393795013,
-0.03151226043701172,
-0.1734221875667572,
-0.10599726438522339,
-0.9169695973396301,
0.18870507180690765,
0.004283031448721886,
-0.09037820994853973,
0.17429596185684204,
-0.26996952295303345,
-0.6912637948989868,
-0.17970429360866547,
0.04283296316862106,
0.27618280053138733,
-0.24543778598308563,
-0.485313355922699,
0.26557600498199463,
0.3743809163570404,
0.48838475346565247,
0.03192435950040817,
-0.9825010299682617,
0.4615408778190613,
0.5243328809738159,
0.856358528137207,
-0.4011358320713043,
-0.5070114731788635,
-0.465488076210022,
0.013958366587758064,
-0.5908772349357605,
1.0089164972305298,
-0.3863218426704407,
-0.09065176546573639,
0.001891440711915493,
-0.21572062373161316,
-0.10461485385894775,
-0.7614818215370178,
0.6244133114814758,
-0.5425363183021545,
-0.14572420716285706,
-0.23166202008724213,
-0.3290707767009735,
-0.07943090051412582,
0.5407114028930664,
-0.6024975180625916,
1.1921870708465576,
0.20094557106494904,
-0.6506512761116028,
0.46195289492607117,
-0.5507659912109375,
-0.34303948283195496,
0.10723143815994263,
-0.1455805003643036,
-0.21143144369125366,
0.07114607095718384,
0.2494979053735733,
0.6025593280792236,
-0.5963762998580933,
0.10925409942865372,
-0.27490702271461487,
-0.4369014799594879,
0.09536075592041016,
-0.380250483751297,
0.5290294885635376,
0.15979662537574768,
-0.26693961024284363,
0.15513497591018677,
-0.6687749624252319,
0.1959250569343567,
-0.028783539310097694,
-0.13798663020133972,
0.07733554393053055,
-0.26287713646888733,
0.21097545325756073,
0.5109272003173828,
0.05948375165462494,
-0.5709190368652344,
0.07449553906917572,
-0.7303351759910583,
0.22255398333072662,
0.292303204536438,
-0.2902614176273346,
0.13597962260246277,
-0.06663373857736588,
0.7205542922019958,
-0.05146725848317146,
-0.07138288021087646,
-0.12602746486663818,
-0.24573886394500732,
-0.6660444140434265,
-0.33590540289878845,
0.4032706916332245,
0.5382524728775024,
-0.3238983154296875,
0.10321205109357834,
-0.3411203622817993,
-0.6372238397598267,
-0.40549173951148987,
0.4249432682991028,
0.2756313681602478,
0.16691140830516815,
0.2944113612174988,
-0.29411810636520386,
-0.5066690444946289,
-0.9736124277114868,
-0.4393784999847412,
0.12728680670261383,
-0.143015056848526,
0.1241987943649292,
0.4918035864830017,
-0.24058690667152405,
0.7799351215362549,
-0.1331930160522461,
-0.3727072775363922,
-0.7804221510887146,
0.1511111557483673,
0.5258012413978577,
0.17032437026500702,
0.4562099575996399,
-0.7539657354354858,
-0.8710671663284302,
0.032221078872680664,
-0.536419689655304,
-0.2957903742790222,
0.11150741577148438,
0.10227245092391968,
0.29340147972106934,
0.27317818999290466,
-0.7660183310508728,
0.4299874007701874,
0.7716235518455505,
-0.10458286851644516,
0.8293249011039734,
0.08456636220216751,
0.36128589510917664,
-0.9955679774284363,
0.08612903207540512,
-0.1865609586238861,
-0.23181353509426117,
-0.8974342346191406,
0.17439618706703186,
-0.010614932514727116,
0.025345981121063232,
-0.7712403535842896,
0.6317145228385925,
-0.5300198793411255,
-0.4674359858036041,
-0.30982598662376404,
-0.08096431940793991,
-0.28852373361587524,
0.361672580242157,
0.20111313462257385,
0.9524621963500977,
0.565729558467865,
-0.3923107385635376,
0.15786834061145782,
0.08665993809700012,
-0.5584805011749268,
-0.02967180870473385,
-0.6582006812095642,
0.21100716292858124,
0.32410502433776855,
-0.009712888859212399,
-0.8895897269248962,
-0.1043139100074768,
0.05486656352877617,
-0.21995633840560913,
0.18361210823059082,
-0.128665030002594,
-0.9651071429252625,
-0.06197844818234444,
-0.30099916458129883,
0.6891201138496399,
0.3488765358924866,
-0.19733333587646484,
0.548632025718689,
0.09476839005947113,
-0.303888201713562,
-0.7464919686317444,
-0.5973133444786072,
0.25011155009269714,
-0.16369570791721344,
-0.2523336410522461,
0.3205912709236145,
0.12463942170143127,
-0.11314364522695541,
-0.3006974458694458,
-0.15952137112617493,
-0.19248929619789124,
0.05383791774511337,
0.1752861887216568,
0.023422248661518097,
-0.41776350140571594,
-0.1674690991640091,
-0.24823009967803955,
-0.1240760013461113,
-0.17399486899375916,
-0.007626221049576998,
1.0659245252609253,
-0.2957245707511902,
-0.573549747467041,
-0.2613057792186737,
0.34400978684425354,
0.3891444504261017,
-0.3370060920715332,
0.9784407019615173,
0.6657846570014954,
-0.3611803650856018,
0.09046918898820877,
-0.7968722581863403,
0.041279781609773636,
-0.4016890525817871,
0.5705592036247253,
-0.3738335371017456,
-0.9435070157051086,
0.5556351542472839,
-0.15827184915542603,
-0.04430198296904564,
0.5565322637557983,
0.8719254732131958,
0.25564995408058167,
0.8968586921691895,
0.7348743081092834,
-0.242074653506279,
0.18541690707206726,
-0.19111880660057068,
0.31969645619392395,
-0.657731831073761,
0.09558946639299393,
-0.4881667494773865,
0.05097367614507675,
-0.5598844289779663,
-0.4399135708808899,
0.29902586340904236,
0.39388272166252136,
-0.34673500061035156,
0.3723773956298828,
0.04257877171039581,
0.5575096607208252,
0.2720237970352173,
-0.2897453010082245,
0.37904268503189087,
-0.03671151027083397,
0.12135380506515503,
0.0016043977811932564,
-0.8022222518920898,
-0.6676620244979858,
1.3923426866531372,
0.1714615523815155,
0.5004001259803772,
0.16187310218811035,
0.6426689028739929,
0.06772816926240921,
0.3631007671356201,
-0.5046641826629639,
0.530327558517456,
-0.28357720375061035,
-0.5962055325508118,
-0.3328997790813446,
-0.39871564507484436,
-0.7611119151115417,
0.2647026479244232,
-0.2953142821788788,
-0.7720972299575806,
-0.09384211897850037,
-0.059942785650491714,
-0.3587028980255127,
0.35184943675994873,
-0.41246140003204346,
0.9886808395385742,
-0.31494247913360596,
-0.4280846416950226,
-0.1099419891834259,
-0.2722458839416504,
0.4668383002281189,
-0.33872804045677185,
0.09319474548101425,
-0.45597097277641296,
-0.0778520405292511,
0.707863986492157,
-0.07451263070106506,
0.46685028076171875,
0.1070103794336319,
-0.06039736419916153,
0.030307497829198837,
-0.0010550660081207752,
0.20036496222019196,
-0.054271548986434937,
-0.22311168909072876,
0.5646023750305176,
0.20136012136936188,
-0.4399053156375885,
-0.4245508015155792,
0.5798918604850769,
-0.7161982655525208,
-0.510890781879425,
-0.4656440317630768,
-0.4793925881385803,
-0.5150677561759949,
0.37159374356269836,
0.3612421751022339,
0.3650122880935669,
-0.17428073287010193,
0.3149743974208832,
0.3040677011013031,
-0.29083052277565,
0.35634347796440125,
0.625224232673645,
-0.3214496076107025,
-0.14156746864318848,
0.4487174153327942,
0.11006826162338257,
0.3417436480522156,
0.49701035022735596,
0.028515392914414406,
-0.3310594856739044,
-0.8528600335121155,
-0.511763870716095,
0.07425513118505478,
-0.6037499308586121,
-0.37887823581695557,
-0.7470393180847168,
-0.4517374038696289,
-0.6951800584793091,
0.1996518075466156,
-0.6842955946922302,
-0.1208801418542862,
0.06941792368888855,
0.19238172471523285,
0.14950798451900482,
0.7962760329246521,
0.10677482187747955,
0.41987141966819763,
-0.904746413230896,
0.43983086943626404,
0.081110380589962,
0.4852637052536011,
0.05011416971683502,
-0.6620338559150696,
-0.3088396191596985,
0.0238494835793972,
-0.24245251715183258,
-0.986418604850769,
0.6792275905609131,
0.3373836576938629,
0.529707670211792,
0.25155526399612427,
-0.1109168529510498,
0.624552845954895,
-0.6665740609169006,
0.7000030279159546,
0.07656329870223999,
-0.8008787035942078,
0.31378746032714844,
-0.4131909906864166,
0.605015218257904,
0.5989106297492981,
0.6576589345932007,
-0.49435701966285706,
-0.30336618423461914,
-0.15372276306152344,
-0.8993009924888611,
0.6637511253356934,
0.2705329358577728,
0.06276892870664597,
0.1015615165233612,
0.28400400280952454,
0.27949029207229614,
0.1992206871509552,
-0.93940269947052,
-0.039104051887989044,
-0.02247575670480728,
-0.20811553299427032,
-0.33733171224594116,
-0.4903500974178314,
0.2624511122703552,
-0.05314377322793007,
0.41564518213272095,
-0.032073572278022766,
0.12391919642686844,
-0.13511516153812408,
-0.3193393349647522,
0.07102662324905396,
0.6588650941848755,
0.6309270262718201,
0.7747769355773926,
-0.26949751377105713,
0.009568063542246819,
0.6025034189224243,
-0.5497117638587952,
0.3092246353626251,
0.06541256606578827,
0.02853282541036606,
-0.11485198140144348,
0.6470574140548706,
0.6117568016052246,
0.3898946940898895,
-0.9270274043083191,
0.4134119153022766,
0.03361484780907631,
-0.010560717433691025,
-0.28577280044555664,
0.018522832542657852,
0.10583439469337463,
0.17741592228412628,
0.4524303674697876,
-0.14598523080348969,
0.28218746185302734,
-0.5930827856063843,
0.023579860106110573,
0.4222240149974823,
-0.02817409299314022,
-0.36404886841773987,
0.26379701495170593,
-0.3358843922615051,
-0.30839139223098755,
0.3919403851032257,
-0.10973793268203735,
-0.6615669131278992,
0.4138573408126831,
0.6456758379936218,
0.7875217795372009,
-0.2494896948337555,
0.07593314349651337,
0.3802342712879181,
0.3089068830013275,
-0.3014672100543976,
0.17515884339809418,
-0.21842807531356812,
-0.8318347334861755,
-0.8797669410705566,
-0.9361668825149536,
-0.5166350603103638,
0.409737229347229,
-0.6836625337600708,
0.251524955034256,
-0.3047337234020233,
-0.15231962502002716,
-0.23374807834625244,
0.207073375582695,
-0.8378987908363342,
0.15711258351802826,
0.1774965226650238,
1.04185950756073,
-0.8965435028076172,
0.8796056509017944,
0.5604780912399292,
-0.10642928630113602,
-0.86993807554245,
0.08613310754299164,
-0.3581794202327728,
-0.6306543350219727,
1.0989007949829102,
0.31427279114723206,
-0.430742084980011,
0.04243570193648338,
-0.09805990010499954,
-1.0957142114639282,
0.6493366956710815,
0.6777798533439636,
-0.6304050087928772,
0.1386573612689972,
0.7006955742835999,
0.6440814137458801,
-0.3196808397769928,
0.583939790725708,
0.5857759118080139,
0.25245484709739685,
-0.05863191932439804,
-1.2428818941116333,
-0.26159197092056274,
-0.335214227437973,
-0.19601814448833466,
0.21545396745204926,
-0.4257189929485321,
0.8457295894622803,
0.12942028045654297,
-0.25813552737236023,
0.09671143442392349,
0.5488523840904236,
0.40632981061935425,
0.10896632820367813,
0.41553178429603577,
0.4652758836746216,
-0.003181770443916321,
0.009273991920053959,
0.8828327059745789,
-0.39330458641052246,
0.11277703195810318,
1.0821454524993896,
-0.7119877338409424,
1.406387209892273,
0.35042843222618103,
-0.3718235194683075,
0.23160608112812042,
0.635507345199585,
0.10965711623430252,
0.37488853931427,
0.05157581716775894,
-0.09460694342851639,
-0.34476470947265625,
-0.14466892182826996,
-0.4401402473449707,
0.8273941278457642,
0.09017593413591385,
0.05784637853503227,
-0.4065594971179962,
0.003589739091694355,
-0.23023270070552826,
0.05309676378965378,
-0.38601258397102356,
0.7443245649337769,
-0.0028366721235215664,
-0.5518952012062073,
0.812019944190979,
0.11107009649276733,
0.8693779110908508,
-0.829430103302002,
0.05168386176228523,
-0.2871149778366089,
0.15305368602275848,
-0.14912071824073792,
-0.626615047454834,
0.40684449672698975,
0.394437313079834,
0.009391137398779392,
-0.2592712938785553,
0.6713494062423706,
-0.35130545496940613,
-0.7323886752128601,
0.5204454064369202,
0.5658214688301086,
0.3214668035507202,
-0.23139575123786926,
-0.4983982443809509,
0.23886620998382568,
-0.3684186637401581,
-0.28923383355140686,
0.6650524735450745,
0.027472367510199547,
-0.007024228572845459,
0.7074000239372253,
0.5047272443771362,
0.5639373660087585,
0.24421022832393646,
0.12194216996431351,
0.6632647514343262,
-0.6721655130386353,
-0.285245418548584,
-1.0895390510559082,
0.016910037025809288,
0.12048878520727158,
-0.32921209931373596,
1.0899531841278076,
0.6711430549621582,
1.0159578323364258,
-0.013797882944345474,
0.37436148524284363,
0.3458234667778015,
0.70122230052948,
-0.6421576142311096,
0.7248552441596985,
-0.518316924571991,
0.1633836030960083,
-0.3016633093357086,
-1.148247480392456,
-0.381044864654541,
0.4987432062625885,
-0.535345196723938,
0.2905269265174866,
0.37499135732650757,
0.7049832344055176,
-0.049503229558467865,
-0.06737558543682098,
0.4970370829105377,
0.19931480288505554,
0.09763891249895096,
0.734670877456665,
1.0301705598831177,
-0.4462912976741791,
0.32590052485466003,
-0.19742603600025177,
-0.0745934545993805,
-0.09420088678598404,
-1.003684639930725,
-0.8665639758110046,
-0.37003064155578613,
-0.003543164813891053,
0.158097505569458,
0.06774736195802689,
0.9596853852272034,
0.8078491687774658,
-1.0325435400009155,
-0.6166263818740845,
0.15442794561386108,
-0.12389124929904938,
-0.14329245686531067,
-0.1021004393696785,
0.3398404121398926,
-0.23500469326972961,
-0.49564817547798157,
0.4643474817276001,
0.49995848536491394,
-0.16178853809833527,
-0.27549251914024353,
-0.034211136400699615,
-0.3706172704696655,
-0.013364957645535469,
0.6306341290473938,
0.3688443601131439,
-0.7465705871582031,
0.12605078518390656,
0.13361018896102905,
-0.07729453593492508,
0.1529751718044281,
0.5738665461540222,
-0.756205141544342,
-0.056329354643821716,
0.25125768780708313,
0.6150065660476685,
0.5825254917144775,
-0.2602948546409607,
0.5377659797668457,
-0.5631067156791687,
0.24761077761650085,
0.3866882920265198,
0.21811994910240173,
0.4190836250782013,
-0.0723266527056694,
0.38858941197395325,
-0.17466512322425842,
-0.41069889068603516,
-1.2458534240722656,
0.18696410953998566,
-0.6738385558128357,
-0.028019653633236885,
1.1407009363174438,
-0.1845538318157196,
0.006223591044545174,
-0.0002785394317470491,
0.1570175141096115,
0.22838540375232697,
0.12263084203004837,
0.6710935235023499,
0.7411738038063049,
-0.12683658301830292,
-0.2744779884815216,
-0.8747915029525757,
0.46873319149017334,
0.5966789722442627,
-0.8546828031539917,
0.10874353349208832,
-0.010423985309898853,
0.26619505882263184,
-0.05487386882305145,
0.8069045543670654,
-0.019940853118896484,
0.28988024592399597,
-0.14400982856750488,
-0.023819321766495705,
-0.051447559148073196,
-0.47785472869873047,
-0.35224848985671997,
0.28033334016799927,
0.2928088903427124,
0.21239769458770752
] |
http://arxiv.org/abs/2405.15452v2
|
http://arxiv.org/pdf/2405.15452v2
|
Leveraging Logical Rules in Knowledge Editing: A Cherry on the Top
| 2024-05-24T11:30:00 | 2024-05-27T11:24:59 |
Keyuan Cheng, Muhammad Asif Ali, Shu Yang, Gang Lin, Yuxuan Zhai, Haoyang Fei, Ke Xu, Lu Yu, Lijie Hu, Di Wang
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
Multi-hop Question Answering (MQA) under knowledge editing (KE) is a key
challenge in Large Language Models (LLMs). While best-performing solutions in
this domain use a plan and solve paradigm to split a question into
sub-questions followed by response generation, we claim that this approach is
sub-optimal as it fails for hard to decompose questions, and it does not
explicitly cater to correlated knowledge updates resulting as a consequence of
knowledge edits. This has a detrimental impact on the overall consistency of
the updated knowledge. To address these issues, in this paper, we propose a
novel framework named RULE-KE, i.e., RULE based Knowledge Editing, which is a
cherry on the top for augmenting the performance of all existing MQA methods
under KE. Specifically, RULE-KE leverages rule discovery to discover a set of
logical rules. Then, it uses these discovered rules to update knowledge about
facts highly correlated with the edit. Experimental evaluation using existing
and newly curated datasets (i.e., RKE-EVAL) shows that RULE-KE helps augment
both performances of parameter-based and memory-based solutions up to 92% and
112.9%, respectively.
|
[
-0.17813809216022491,
-1.144121766090393,
0.8531267642974854,
0.01663757674396038,
-0.21202203631401062,
0.03197389096021652,
-0.0492606982588768,
-0.2177974432706833,
0.3776187002658844,
0.7268033027648926,
-0.6843093037605286,
-0.4219740927219391,
-0.5169032216072083,
0.1073378250002861,
-0.15577277541160583,
0.839180588722229,
0.20083314180374146,
-0.17853368818759918,
-0.5211845636367798,
-0.009289205074310303,
-0.7731361389160156,
-0.5826265811920166,
-0.367413192987442,
-0.04513935744762421,
0.6367727518081665,
0.6676831245422363,
0.8066056370735168,
0.9489225745201111,
0.3911058306694031,
0.2824428081512451,
-0.46818050742149353,
0.6302496790885925,
-0.32368555665016174,
0.19293206930160522,
-0.24747785925865173,
-0.5713192820549011,
-0.6259477734565735,
-0.1207541823387146,
0.2678584158420563,
0.4934609532356262,
-0.19786643981933594,
-0.07595076411962509,
-0.22121426463127136,
0.7685694098472595,
-0.7791129350662231,
0.2227151244878769,
-0.7712940573692322,
-0.053687505424022675,
-0.12114504724740982,
-0.4314008951187134,
-0.3335377275943756,
-0.5141803026199341,
-0.06134257838129997,
-0.950093150138855,
-0.5100536346435547,
0.07458756864070892,
0.6786547899246216,
0.3915572166442871,
-0.43873822689056396,
-0.3091200888156891,
-0.4620688259601593,
0.5293723940849304,
-0.7749953866004944,
0.7131441831588745,
0.08200624585151672,
0.19987495243549347,
-0.5102273225784302,
-0.38603687286376953,
-0.6474782228469849,
0.1036350429058075,
-0.17809726297855377,
-0.03866906091570854,
-0.11552898585796356,
0.1577930748462677,
0.5345842242240906,
0.04013105109333992,
-0.09299807995557785,
-0.13879624009132385,
-0.20880936086177826,
-0.2951614260673523,
0.3855026066303253,
0.17582300305366516,
0.19993147253990173,
-0.30499476194381714,
-0.25119736790657043,
0.09494850039482117,
-0.718366265296936,
0.3369787335395813,
0.1287117898464203,
0.37674736976623535,
0.3553459644317627,
0.8813649415969849,
-0.6339740753173828,
0.7305383682250977,
0.08925192058086395,
-0.5985310673713684,
0.17556501924991608,
-0.5095876455307007,
-0.2747781574726105,
-0.04621662572026253,
0.5042111277580261,
0.48062583804130554,
0.45589151978492737,
-0.12838338315486908,
-0.10274074971675873,
-0.2564539313316345,
0.12279582768678665,
-0.7469801902770996,
-0.2002386897802353,
0.03639473393559456,
-0.21257300674915314,
-0.3619356155395508,
-0.26576149463653564,
-0.8772990703582764,
-0.5729014277458191,
-0.5150361061096191,
0.7532727718353271,
-0.43556860089302063,
-0.0004030661075375974,
0.2664651870727539,
-0.2593659460544586,
0.23005038499832153,
0.6017181277275085,
-0.5089370012283325,
0.11233694851398468,
0.8363191485404968,
0.4503394663333893,
0.4878416955471039,
-0.1487092673778534,
-0.8705630898475647,
0.2292861044406891,
-0.6396663188934326,
0.6394752860069275,
-0.6196278929710388,
-0.06325758993625641,
-0.13340197503566742,
-0.3761303424835205,
0.029579412192106247,
-0.33625340461730957,
0.7343584895133972,
-1.0370488166809082,
0.10313790291547775,
-0.7882668972015381,
-0.874560534954071,
-0.04190274700522423,
0.41775190830230713,
-0.44964227080345154,
0.7000159025192261,
-0.28516969084739685,
-0.7683244347572327,
0.5524270534515381,
-0.8188364505767822,
-0.40351301431655884,
-0.23837080597877502,
0.04136264696717262,
-0.26303592324256897,
-0.19056206941604614,
0.5125851035118103,
0.3122125267982483,
-0.10033918172121048,
0.3253965973854065,
-0.1575126051902771,
-0.17751666903495789,
0.0582050122320652,
0.07505679875612259,
0.7744866013526917,
0.1216590404510498,
-0.04831043630838394,
0.19123563170433044,
-0.6586926579475403,
0.10899954289197922,
-0.003882897784933448,
-0.5655975937843323,
-0.5231401920318604,
0.18423320353031158,
-0.5575153827667236,
0.4263237416744232,
0.07358574122190475,
-0.761590838432312,
0.3959900736808777,
-0.008721440099179745,
0.0928628146648407,
0.955247700214386,
0.27905982732772827,
0.19943667948246002,
-0.554534375667572,
0.2665310204029083,
0.07647152245044708,
0.26761332154273987,
-0.10390280932188034,
-0.6382817029953003,
-0.7090672254562378,
-0.35261252522468567,
0.44575804471969604,
0.8275218605995178,
-0.6878531575202942,
0.4301397502422333,
-0.268859326839447,
-0.49165233969688416,
-0.7273654937744141,
0.3575226962566376,
0.17130392789840698,
0.9082090854644775,
0.7009168267250061,
0.24266774952411652,
-0.41448619961738586,
-0.9643672108650208,
-0.62315434217453,
-0.16802099347114563,
0.36009564995765686,
0.4021230936050415,
0.23864851891994476,
-0.1423385739326477,
1.0866512060165405,
-0.5382044911384583,
-0.19572407007217407,
-0.13857035338878632,
-0.1781710535287857,
0.2620587944984436,
0.2713787853717804,
0.1632235050201416,
-0.6750190258026123,
-0.3437739908695221,
-0.13875989615917206,
-0.7700340151786804,
-0.4055449068546295,
-0.2094389796257019,
-0.46283093094825745,
0.02502729743719101,
0.8061259984970093,
-0.82002854347229,
0.29629257321357727,
0.07595918327569962,
-0.5228630900382996,
0.8513758778572083,
0.08445035666227341,
0.5325028896331787,
-0.8777473568916321,
-0.20880475640296936,
-0.23228059709072113,
-0.16578644514083862,
-0.7711365818977356,
0.16175143420696259,
0.24376368522644043,
0.28670045733451843,
-0.3616267442703247,
0.29691842198371887,
-0.0026300260797142982,
0.26352015137672424,
-0.10210081189870834,
0.09053845703601837,
0.0035170945338904858,
0.6056069135665894,
-0.1458117961883545,
0.6457547545433044,
0.3440384566783905,
-0.7011333107948303,
0.3171105980873108,
0.5697318315505981,
-0.39894744753837585,
0.4817640781402588,
-0.5022485256195068,
0.12251593917608261,
-0.2018103003501892,
0.0986979529261589,
-0.5883431434631348,
0.04053856432437897,
0.24131175875663757,
-0.20656177401542664,
0.10483890771865845,
-0.28042876720428467,
-0.6139498353004456,
0.08275511860847473,
-0.4287290871143341,
0.26931536197662354,
0.4810381233692169,
-0.5027832388877869,
0.7620687484741211,
0.2797982394695282,
-0.178089439868927,
-0.8878042697906494,
-0.4646110236644745,
0.08201518654823303,
-0.15504436194896698,
-0.902467668056488,
0.23994962871074677,
-0.15951183438301086,
-0.4612836241722107,
0.13842220604419708,
-0.2265608012676239,
0.16169309616088867,
0.041013699024915695,
-0.3365032970905304,
0.05706324800848961,
-0.07558634132146835,
0.1304926872253418,
0.24520787596702576,
0.030126793310046196,
0.2224893569946289,
-0.21361415088176727,
0.14859800040721893,
0.22479508817195892,
-0.17288725078105927,
-0.4960610270500183,
0.23083935678005219,
0.9926235675811768,
-0.49161073565483093,
0.7131549119949341,
-0.01813528873026371,
-0.25948795676231384,
-0.22822506725788116,
-0.6559972763061523,
-0.22099360823631287,
-0.4696168601512909,
0.28488487005233765,
-0.787260890007019,
-0.7741979360580444,
0.3585137128829956,
-0.21657434105873108,
0.2515552341938019,
0.32875126600265503,
0.2857646048069,
-0.23480036854743958,
0.6549970507621765,
0.5731512904167175,
0.04711277410387993,
0.28647005558013916,
0.2655060291290283,
0.3314286768436432,
-0.8556580543518066,
-0.3033781945705414,
-0.3688923716545105,
-0.25740593671798706,
-0.6493369936943054,
-0.3993270695209503,
0.6828484535217285,
0.28738754987716675,
-0.25486668944358826,
0.17504872381687164,
0.05473961681127548,
0.5944937467575073,
0.764921247959137,
0.35706138610839844,
0.5932249426841736,
-0.4217487573623657,
-0.6213268041610718,
-0.015932979062199593,
-0.9701849222183228,
-0.1530766636133194,
1.1391916275024414,
0.19245322048664093,
0.7179233431816101,
0.189027339220047,
0.6201522946357727,
0.3795259892940521,
-0.23759981989860535,
-0.7259202599525452,
0.698539137840271,
0.03240443393588066,
-0.46875566244125366,
-0.4757741093635559,
-0.6535544991493225,
-0.3980657458305359,
0.28017905354499817,
-0.6394367814064026,
-0.36575424671173096,
0.07873770594596863,
0.342509388923645,
-0.31944432854652405,
0.7175986766815186,
-0.5619301795959473,
0.774287223815918,
-0.13428841531276703,
-0.3859494626522064,
-0.2329287827014923,
-0.5766147375106812,
0.5128575563430786,
-0.21087726950645447,
0.5267578959465027,
0.14560945332050323,
0.09411578625440598,
0.8104807138442993,
-0.5934674143791199,
0.45654162764549255,
-0.4103739857673645,
-0.03501585125923157,
0.21134059131145477,
0.3175086975097656,
0.844714879989624,
-0.07018392533063889,
0.034854955971241,
-0.1930212676525116,
0.15327054262161255,
-0.35379883646965027,
-0.9265329241752625,
0.4121231436729431,
-0.5932171940803528,
-0.8488518595695496,
-0.22311587631702423,
-0.6254389882087708,
-0.5443949699401855,
0.1533471643924713,
-0.2909177243709564,
0.41528773307800293,
0.23859372735023499,
0.2790681719779968,
0.7513329982757568,
-0.2811824679374695,
0.03492370992898941,
0.3993077874183655,
-0.32895639538764954,
-0.38446715474128723,
0.5818135738372803,
0.19382525980472565,
0.3719497621059418,
0.597632110118866,
0.5681368112564087,
-0.33000147342681885,
-0.5600904822349548,
-0.5154016613960266,
0.13948854804039001,
-0.8176401257514954,
-0.25051766633987427,
-0.8657070398330688,
-0.24027739465236664,
-0.24545104801654816,
-0.126691997051239,
-0.20572175085544586,
-0.6355342864990234,
0.319375216960907,
-0.0751594603061676,
0.6060824990272522,
0.5158720016479492,
-0.23123814165592194,
0.028645390644669533,
-0.627232015132904,
0.49104824662208557,
0.6302679181098938,
0.38825416564941406,
-0.3121607303619385,
-0.4433858394622803,
-0.12111377716064453,
0.04124533757567406,
0.0703965425491333,
-0.9384362697601318,
-0.22511588037014008,
0.06833068281412125,
0.5096338987350464,
0.011504882015287876,
0.1567491739988327,
0.8510981202125549,
-0.5724838376045227,
0.33406269550323486,
-0.24989333748817444,
-0.9578043222427368,
0.5926902294158936,
-0.42230451107025146,
0.22577601671218872,
0.5893381834030151,
0.188937246799469,
-0.8879210352897644,
-0.44848012924194336,
-0.34359002113342285,
-0.6124463081359863,
0.5399423837661743,
0.11027156561613083,
-0.12948858737945557,
0.24467992782592773,
0.5152831673622131,
-0.006894412450492382,
0.4101092219352722,
-0.49327245354652405,
-0.16934649646282196,
0.04135676473379135,
-0.05306132882833481,
0.31901320815086365,
-0.28594452142715454,
-0.02090456895530224,
-0.39096271991729736,
0.9380539059638977,
-0.02846893109381199,
0.03761216625571251,
0.32904863357543945,
-0.20591068267822266,
-0.11037339270114899,
0.5884273648262024,
0.37152764201164246,
0.6405757665634155,
-0.263625830411911,
-0.13298487663269043,
0.2061891108751297,
-0.23134972155094147,
-0.0523802675306797,
-0.22240515053272247,
-0.5878197550773621,
-0.46853405237197876,
0.4661749303340912,
0.37173137068748474,
0.030444229021668434,
-0.6207073330879211,
0.40199989080429077,
0.06328786909580231,
-0.47746750712394714,
0.41638314723968506,
0.29043132066726685,
0.01728244498372078,
0.26009467244148254,
0.0746949091553688,
0.3320736885070801,
-0.029585646465420723,
-0.5222963690757751,
0.5620313286781311,
0.43498915433883667,
-0.028331924229860306,
0.1382105052471161,
0.4320431053638458,
0.15380994975566864,
-0.15536069869995117,
0.6578510403633118,
-0.0937131866812706,
-0.8791314363479614,
0.32490456104278564,
0.2635379433631897,
0.44153717160224915,
0.0813077837228775,
0.05766712501645088,
0.2530492842197418,
0.4759158492088318,
0.40391984581947327,
0.49193018674850464,
0.004057368263602257,
-0.9404211640357971,
-0.7708816528320312,
-0.5360361337661743,
-0.458377480506897,
0.1285540908575058,
-0.2856792211532593,
0.41745132207870483,
-0.48715025186538696,
0.38342738151550293,
0.014980524778366089,
-0.08129243552684784,
-0.4503766596317291,
0.30115944147109985,
-0.139376699924469,
1.2244313955307007,
-0.6887680888175964,
0.6231390833854675,
0.6309427618980408,
-0.1051412969827652,
-0.7764760851860046,
-0.074563167989254,
0.3159977197647095,
-0.5516773462295532,
0.28094884753227234,
-0.2237299084663391,
-0.14114215970039368,
-0.11519389599561691,
-0.36671239137649536,
-0.7802112102508545,
0.9537186026573181,
0.19728168845176697,
-0.44591304659843445,
0.06214025244116783,
0.17590183019638062,
0.24785231053829193,
-0.1537621170282364,
0.21846610307693481,
0.65303635597229,
0.755706787109375,
0.30675750970840454,
-0.8905415534973145,
0.043869707733392715,
-0.20117232203483582,
-0.6172943115234375,
0.4094111919403076,
-0.7101768255233765,
0.6391841769218445,
-0.359469473361969,
0.17421866953372955,
-0.21472090482711792,
0.4627037048339844,
0.24781814217567444,
0.035590603947639465,
0.7242264747619629,
0.8977928757667542,
0.8653393983840942,
-0.02302362769842148,
0.606660008430481,
-0.30908212065696716,
-0.023232819512486458,
1.0841271877288818,
-0.057414352893829346,
0.7854622006416321,
0.4588373601436615,
0.06642406433820724,
0.6634432673454285,
0.38796812295913696,
0.36036062240600586,
0.6650066375732422,
0.134110227227211,
-0.029193786904215813,
-0.5227634310722351,
-0.07587640732526779,
-0.10459396243095398,
0.7266790270805359,
0.0924292504787445,
-0.026660755276679993,
-0.22389166057109833,
-0.32213684916496277,
0.4123956263065338,
0.10964371263980865,
-0.4693041741847992,
0.9533693790435791,
-0.4094373285770416,
-0.6749270558357239,
0.21817424893379211,
0.14766082167625427,
0.46918871998786926,
-0.6128772497177124,
-0.2204061597585678,
-0.1252363920211792,
-0.06416989862918854,
-0.21347306668758392,
-0.8689831495285034,
0.24042443931102753,
0.10915149003267288,
-0.31425940990448,
-0.13305960595607758,
0.7272191047668457,
-0.44744953513145447,
-0.4352799654006958,
0.27123063802719116,
0.8807345628738403,
-0.34244009852409363,
-0.05364571511745453,
-0.561208963394165,
-0.17594701051712036,
0.05594348534941673,
-0.07566903531551361,
0.030418196693062782,
0.7375710606575012,
-0.1293853372335434,
0.8358603119850159,
0.8707059025764465,
0.07904664427042007,
0.3451424241065979,
-0.1745273470878601,
0.9964445233345032,
-0.6591158509254456,
-0.6390007138252258,
-0.8603124618530273,
0.7756407260894775,
-0.024998195469379425,
-0.1307172179222107,
0.5979692935943604,
0.6128823757171631,
0.7143141627311707,
0.09996368736028671,
0.7762060165405273,
-0.17572617530822754,
0.5640136003494263,
-0.7792783379554749,
0.4719277024269104,
-0.6249316930770874,
0.2616952359676361,
-0.5014307498931885,
-0.8143048286437988,
-0.3189317584037781,
0.1621108055114746,
-0.2626941204071045,
-0.04451604560017586,
0.6905466914176941,
0.956254243850708,
-0.04629593715071678,
0.12671305239200592,
0.3394056558609009,
0.4837348759174347,
0.46682727336883545,
0.44036197662353516,
0.7306013703346252,
-0.30254891514778137,
0.49107593297958374,
-0.46386653184890747,
-0.383290559053421,
0.048807986080646515,
-0.865078866481781,
-0.6911725401878357,
-0.3002532720565796,
-0.3465272784233093,
-0.09395160526037216,
0.30358773469924927,
1.1567972898483276,
0.6832118034362793,
-0.690856397151947,
-0.021983662620186806,
-0.05124562978744507,
0.4741049110889435,
-0.35347479581832886,
-0.201848566532135,
0.3898954391479492,
-0.6039565801620483,
-0.22981081902980804,
0.6028007864952087,
0.1658758670091629,
-0.41988712549209595,
0.327332079410553,
-0.011289961636066437,
-0.6177518963813782,
0.366786390542984,
0.7722817659378052,
-0.047439221292734146,
-0.4593324065208435,
-0.32086414098739624,
0.24080751836299896,
0.23232711851596832,
0.0439956970512867,
0.6428484320640564,
-0.7583993077278137,
0.6518281698226929,
0.4919406473636627,
1.1162549257278442,
0.16586685180664062,
0.3556962013244629,
0.39536476135253906,
-0.6173499226570129,
-0.5476071238517761,
0.02352658100426197,
0.27780866622924805,
0.0037654887419193983,
-0.38555264472961426,
0.2628774344921112,
0.40462613105773926,
-0.647712767124176,
-0.359824538230896,
0.18978089094161987,
-0.8546075224876404,
-0.1668619066476822,
1.1328649520874023,
0.14883358776569366,
-0.1412843018770218,
-0.04623229056596756,
-0.20905815064907074,
-0.08423679322004318,
-0.36439943313598633,
0.6199377775192261,
0.8308170437812805,
-0.40652555227279663,
-0.16449768841266632,
-0.6025499105453491,
0.7909721732139587,
0.42634424567222595,
-0.9158791899681091,
0.262468546628952,
0.7220460772514343,
0.3337893486022949,
0.05203540250658989,
0.38676589727401733,
-0.10170267522335052,
0.43012240529060364,
-0.2899866998195648,
-0.18091174960136414,
-0.31441694498062134,
-0.7671141624450684,
0.10499405115842819,
0.2175062745809555,
0.1002095565199852,
-0.03685186803340912
] |
http://arxiv.org/abs/2405.15374v1
|
http://arxiv.org/pdf/2405.15374v1
|
Leveraging Large Language Models for Semantic Query Processing in a Scholarly Knowledge Graph
| 2024-05-24T09:19:45 | 2024-05-24T09:19:45 |
Runsong Jia, Bowen Zhang, Sergio J. Rodríguez Méndez, Pouya G. Omran
|
cs.IR
|
cs.IR, cs.AI, cs.CL, H.3.3; I.2.4; I.7.5; I.2.7
|
The proposed research aims to develop an innovative semantic query processing
system that enables users to obtain comprehensive information about research
works produced by Computer Science (CS) researchers at the Australian National
University (ANU). The system integrates Large Language Models (LLMs) with the
ANU Scholarly Knowledge Graph (ASKG), a structured repository of all
research-related artifacts produced at ANU in the CS field. Each artifact and
its parts are represented as textual nodes stored in a Knowledge Graph (KG).
To address the limitations of traditional scholarly KG construction and
utilization methods, which often fail to capture fine-grained details, we
propose a novel framework that integrates the Deep Document Model (DDM) for
comprehensive document representation and the KG-enhanced Query Processing
(KGQP) for optimized complex query handling. DDM enables a fine-grained
representation of the hierarchical structure and semantic relationships within
academic papers, while KGQP leverages the KG structure to improve query
accuracy and efficiency with LLMs.
By combining the ASKG with LLMs, our approach enhances knowledge utilization
and natural language understanding capabilities. The proposed system employs an
automatic LLM-SPARQL fusion to retrieve relevant facts and textual nodes from
the ASKG. Initial experiments demonstrate that our framework is superior to
baseline methods in terms of accuracy retrieval and query efficiency.
We showcase the practical application of our framework in academic research
scenarios, highlighting its potential to revolutionize scholarly knowledge
management and discovery. This work empowers researchers to acquire and utilize
knowledge from documents more effectively and provides a foundation for
developing precise and reliable interactions with LLMs.
|
[
-0.38950610160827637,
-1.0270358324050903,
0.7741454243659973,
-0.21453340351581573,
0.03642512112855911,
0.18072538077831268,
-0.2450404167175293,
-0.6041455864906311,
0.320528119802475,
0.7876003384590149,
-0.43838679790496826,
-0.9731839895248413,
-0.5920036435127258,
0.17879873514175415,
-0.5473306179046631,
0.4646729528903961,
0.015325811691582203,
0.13981278240680695,
-0.32332614064216614,
-0.08917795121669769,
-0.18675467371940613,
-0.30737540125846863,
-0.5841056108474731,
-0.4831928610801697,
0.41993775963783264,
0.22419220209121704,
0.781012773513794,
0.47171929478645325,
0.5718348622322083,
0.3220874071121216,
-0.1318598836660385,
0.46766841411590576,
-0.47025278210639954,
0.44271421432495117,
-0.32999974489212036,
-0.40950271487236023,
-0.3807647228240967,
-0.22730961441993713,
0.7826042175292969,
0.9093019366264343,
0.012770239263772964,
-0.17765550315380096,
-0.029373129829764366,
0.5516889691352844,
-0.39835765957832336,
0.4801669716835022,
-0.6593718528747559,
-0.03000756911933422,
-0.27724799513816833,
-0.2145204097032547,
-0.4075230062007904,
-0.24331767857074738,
0.05407876893877983,
-0.9542359113693237,
0.09447604417800903,
0.1753070205450058,
0.7325939536094666,
0.013060446828603745,
-0.40574732422828674,
-0.45792633295059204,
-0.5389243364334106,
0.37488120794296265,
-0.7203971743583679,
0.4271182119846344,
0.3486865162849426,
0.3400396704673767,
-0.5468099117279053,
-1.070489525794983,
-0.6112642884254456,
-0.17821595072746277,
-0.29635974764823914,
-0.030498672276735306,
-0.14956220984458923,
0.15725652873516083,
-0.0019689949695020914,
0.324109822511673,
-0.7907607555389404,
0.18048618733882904,
-0.05309489369392395,
-0.15397077798843384,
0.4415416121482849,
0.41728031635284424,
0.3477306365966797,
-0.3710336685180664,
-0.2268606573343277,
0.011815076693892479,
-0.5181241035461426,
-0.28539666533470154,
0.11603675782680511,
0.4354587197303772,
0.47195327281951904,
0.7900508642196655,
-0.668356716632843,
0.9563543200492859,
-0.22767411172389984,
0.2508836090564728,
-0.12119192630052567,
-0.4609517753124237,
-0.08797816932201385,
-0.12153956294059753,
0.9007741212844849,
0.13475878536701202,
-0.02628585882484913,
-0.6009799242019653,
0.00823637843132019,
0.12905007600784302,
0.21724161505699158,
-0.793382465839386,
-0.13843408226966858,
-0.007502580992877483,
-0.20511047542095184,
0.009309344924986362,
-0.036519043147563934,
-0.5956885814666748,
-0.5226631164550781,
-0.5776365995407104,
0.2644023597240448,
-0.5655717253684998,
-0.32735347747802734,
0.43137839436531067,
-0.18671122193336487,
0.24977773427963257,
0.402127742767334,
-0.5535383224487305,
0.48148325085639954,
0.756392240524292,
0.6319504976272583,
-0.1577833741903305,
-0.19487755000591278,
-0.19155213236808777,
0.6167698502540588,
-0.2561708986759186,
0.6622557640075684,
-0.8507447242736816,
-0.4631573557853699,
0.1974889189004898,
0.05571566894650459,
-0.050458163022994995,
-0.4119471311569214,
0.8047677874565125,
-1.1418440341949463,
0.20071648061275482,
-0.28012415766716003,
-0.8678705096244812,
-0.23440639674663544,
0.5405339598655701,
-0.5539246797561646,
1.1338900327682495,
0.13593369722366333,
-0.9287910461425781,
0.2711077928543091,
-0.629734456539154,
-0.2624291181564331,
0.4820536971092224,
-0.11480359733104706,
0.12797242403030396,
-0.2948678731918335,
0.16378305852413177,
0.48250246047973633,
-0.5600782632827759,
0.42573830485343933,
-0.45062533020973206,
-0.27465543150901794,
-0.04349622502923012,
0.10287685692310333,
0.5490536689758301,
0.09873542934656143,
0.05431298911571503,
0.06025635451078415,
-0.7314020395278931,
0.07570227980613708,
0.2249980866909027,
-0.38322386145591736,
-0.7593071460723877,
-0.10411932319402695,
0.028397394344210625,
-0.06833158433437347,
0.406247615814209,
-0.5465207695960999,
0.5527420043945312,
-0.3756929934024811,
0.3678153157234192,
0.12908264994621277,
-0.11058337241411209,
0.636789083480835,
0.08338611572980881,
0.2724684476852417,
-0.3288283944129944,
-0.16206210851669312,
-0.04813368245959282,
-0.13518616557121277,
-0.6209871172904968,
-0.04436870291829109,
0.3246647119522095,
0.33784905076026917,
-0.908829391002655,
0.3061223328113556,
-0.468624085187912,
-0.3920682668685913,
-0.3854445219039917,
0.05982953682541847,
0.11054482311010361,
0.7618938088417053,
0.40960291028022766,
-0.12384945154190063,
-0.404693603515625,
-0.6068047881126404,
-0.33075371384620667,
-0.2504003047943115,
-0.14872142672538757,
0.4282461404800415,
0.4750896096229553,
-0.36584675312042236,
1.0141667127609253,
-0.782732367515564,
-0.5834169387817383,
-0.0647350624203682,
0.345852255821228,
0.09991862624883652,
0.17816925048828125,
0.156612366437912,
-1.0280297994613647,
-0.2708910405635834,
0.1533152163028717,
-0.9888327121734619,
-0.018820779398083687,
0.35071197152137756,
-0.612643301486969,
0.11059901118278503,
0.5455848574638367,
-0.954207181930542,
0.1218753382563591,
0.0015891249058768153,
-0.6214271783828735,
0.38870441913604736,
-0.09456801414489746,
0.3606710433959961,
-0.8980664610862732,
0.11289389431476593,
-0.0806717723608017,
-0.17250975966453552,
-0.4583151340484619,
0.34011396765708923,
0.1318378448486328,
-0.28094765543937683,
-0.04053882136940956,
0.7213311195373535,
-0.31648528575897217,
0.044050075113773346,
-0.37056708335876465,
0.3972814083099365,
0.43442627787590027,
0.1523592472076416,
0.25705188512802124,
0.47210684418678284,
0.3987196385860443,
-0.560283899307251,
0.29232317209243774,
0.523391842842102,
-0.25524115562438965,
0.3998548984527588,
-0.504082977771759,
-0.01584836095571518,
-0.0743776336312294,
0.32400238513946533,
-0.8505136966705322,
-0.4621264338493347,
0.08681892603635788,
-0.5175705552101135,
0.5306639671325684,
-0.2531614303588867,
-0.8459929823875427,
-0.3261221647262573,
-0.05887806415557861,
0.16365425288677216,
-0.010959161445498466,
-0.41800656914711,
0.8623369336128235,
0.5610330700874329,
-0.3488622307777405,
-0.5010738372802734,
-0.48039862513542175,
0.4872484505176544,
-0.028981704264879227,
-1.1721572875976562,
0.7424485683441162,
0.3814001977443695,
-0.17411184310913086,
0.5134748220443726,
0.08408832550048828,
-0.1568303108215332,
-0.09949285537004471,
-0.0505782887339592,
0.34590426087379456,
-0.2210637629032135,
0.3668622374534607,
0.0677998811006546,
-0.066354900598526,
0.13612526655197144,
-0.6139335036277771,
0.6706304550170898,
0.014659912325441837,
-0.28174418210983276,
-0.1071912944316864,
0.3564355969429016,
0.5233774781227112,
-0.32880452275276184,
0.7285495400428772,
0.6760401129722595,
-0.42465993762016296,
-0.17281010746955872,
-0.6638565063476562,
-0.29455840587615967,
-0.39794421195983887,
0.3463287949562073,
-0.21876521408557892,
-1.2213438749313354,
0.5303326845169067,
-0.26553067564964294,
-0.060264457017183304,
0.5748913288116455,
0.2531747817993164,
0.0714721605181694,
0.7976697087287903,
0.554711103439331,
-0.0673895999789238,
0.2556314766407013,
-0.3987307846546173,
0.07822857797145844,
-0.9487390518188477,
-0.3313736021518707,
-0.8693824410438538,
0.09033981710672379,
-0.3191159665584564,
-0.5422171950340271,
0.383465439081192,
0.1239517405629158,
-0.29531359672546387,
0.11323295533657074,
-0.48761993646621704,
0.2912030816078186,
0.33040547370910645,
-0.07738545536994934,
0.6322532892227173,
-0.07734021544456482,
-0.19910922646522522,
0.04299061372876167,
-0.6596725583076477,
-0.5840384364128113,
0.8392552137374878,
-0.02444632165133953,
0.9747712016105652,
-0.009222248569130898,
0.5344288945198059,
0.3503202795982361,
0.04181527718901634,
-0.7613073587417603,
0.657253086566925,
-0.1600419282913208,
-0.635657548904419,
-0.5829692482948303,
-0.5949110388755798,
-1.044355869293213,
0.5485867261886597,
-0.26939329504966736,
-0.590808629989624,
-0.030651327222585678,
-0.27268916368484497,
0.10532312095165253,
0.27072176337242126,
-0.4314407706260681,
0.7756714820861816,
-0.013349217362701893,
-0.5367129445075989,
-0.18723681569099426,
-0.46491318941116333,
0.356986939907074,
0.07422757893800735,
0.27766990661621094,
-0.051421236246824265,
0.02065248042345047,
0.6439726948738098,
-0.15450066328048706,
0.5819972157478333,
-0.1809370368719101,
0.11592619121074677,
0.3157772123813629,
0.36598455905914307,
0.6873124241828918,
0.09720949083566666,
-0.4720669388771057,
0.009832674637436867,
0.06421296298503876,
-0.2050277590751648,
-0.5311694741249084,
0.8287049531936646,
-0.5644652843475342,
-0.7110783457756042,
-0.36369699239730835,
-0.7351790070533752,
-0.23064543306827545,
0.45301541686058044,
-0.16397033631801605,
0.3853948712348938,
-0.2596420347690582,
0.23612503707408905,
0.5940088033676147,
-0.2112218290567398,
0.09700679033994675,
0.9080743193626404,
-0.37606340646743774,
-0.0789056196808815,
0.6516280770301819,
0.32912614941596985,
-0.09659705311059952,
0.6270747780799866,
0.11463837325572968,
-0.6318432688713074,
-0.7964545488357544,
-0.39279112219810486,
0.36909204721450806,
-0.808975875377655,
-0.31787440180778503,
-0.9797976613044739,
-0.14578518271446228,
-0.7596287727355957,
-0.04099705070257187,
-0.04679764434695244,
-0.37879231572151184,
-0.1795986443758011,
0.0029985590372234583,
0.37245941162109375,
0.5672685503959656,
0.40018269419670105,
0.049832407385110855,
-0.8450587391853333,
0.17781710624694824,
0.019179247319698334,
0.38085418939590454,
0.1023205816745758,
-0.3945600688457489,
-0.17983320355415344,
-0.2786467373371124,
-0.16233958303928375,
-0.6184535026550293,
0.4918810725212097,
0.03994200751185417,
0.5746411681175232,
-0.038155585527420044,
0.3561227321624756,
0.42451947927474976,
-0.35320737957954407,
0.6245419979095459,
-0.04906767979264259,
-0.5604751706123352,
0.4143942594528198,
-0.722456693649292,
0.32083529233932495,
0.7058501839637756,
0.5571926832199097,
-0.5844025015830994,
-0.38629719614982605,
-0.2519221901893616,
-1.1197503805160522,
0.7476313710212708,
-0.04000458866357803,
-0.017739664763212204,
-0.07163166254758835,
0.5321221947669983,
0.12469036877155304,
-0.020695986226201057,
-0.483024924993515,
-0.012556641362607479,
0.1530822217464447,
-0.157289057970047,
0.27302491664886475,
-0.25063982605934143,
-0.28796419501304626,
-0.07005088776350021,
0.8652175664901733,
-0.3284938931465149,
-0.1397218406200409,
0.22525176405906677,
-0.21754790842533112,
0.021688394248485565,
0.24042043089866638,
-0.2719559967517853,
0.7697372436523438,
-0.1471819132566452,
0.13004018366336823,
0.04457542672753334,
-0.2777516841888428,
-0.32441598176956177,
0.4816199243068695,
-0.4716480076313019,
-0.04332166165113449,
0.1724289208650589,
0.46993106603622437,
0.2723454535007477,
-0.591874897480011,
0.26779401302337646,
-0.29856744408607483,
-0.1970043182373047,
-0.25220170617103577,
0.020574724301695824,
0.4855646789073944,
0.28986886143684387,
0.4490336775779724,
-0.40811887383461,
0.4832530915737152,
-0.25226113200187683,
0.057212743908166885,
0.633438229560852,
-0.1916586309671402,
0.16787105798721313,
0.6500623822212219,
0.021196145564317703,
-0.051443058997392654,
0.6690828204154968,
0.0008485512807965279,
-0.32969406247138977,
0.3846092224121094,
0.4536755383014679,
0.28766340017318726,
0.2961382269859314,
0.336715430021286,
0.2008078545331955,
-0.11429045349359512,
-0.09299313277006149,
-0.015159341506659985,
-0.12089221179485321,
-0.58986496925354,
-0.559563398361206,
-1.1594630479812622,
-0.5400280356407166,
-0.04588281363248825,
-0.49941354990005493,
0.3618927597999573,
-0.1408287137746811,
-0.1360262781381607,
0.2989983856678009,
0.27009350061416626,
-0.5573998689651489,
0.14878031611442566,
0.000012724979569611605,
0.9941399097442627,
-0.45017749071121216,
0.7810662388801575,
0.7051177024841309,
-0.40968409180641174,
-0.7710160613059998,
-0.4571632146835327,
0.002895411103963852,
-0.6044949293136597,
0.7345504760742188,
-0.12735050916671753,
-0.23243770003318787,
0.00014693856064695865,
-0.25578638911247253,
-0.9234346151351929,
1.2019014358520508,
0.3060915470123291,
-0.3737160861492157,
-0.1364126056432724,
0.29900550842285156,
0.6396170854568481,
-0.18506373465061188,
0.19301488995552063,
0.5162521600723267,
0.589910089969635,
0.60726398229599,
-0.45343679189682007,
0.157558411359787,
-0.16308893263339996,
-0.18585509061813354,
0.5323846936225891,
-0.43782106041908264,
0.5369633436203003,
0.28108540177345276,
-0.19777965545654297,
0.015845676884055138,
0.6215369701385498,
0.17787973582744598,
0.4420652985572815,
0.08077443391084671,
0.8114765286445618,
0.956996500492096,
-0.15116025507450104,
1.1789497137069702,
-0.4439227283000946,
0.18265914916992188,
0.9200047254562378,
-0.3994407653808594,
0.6452395915985107,
0.27301040291786194,
-0.22134940326213837,
0.31383687257766724,
0.5029894709587097,
0.14869971573352814,
0.1978411227464676,
0.10271460562944412,
-0.45550522208213806,
-0.2737913727760315,
-0.3988771438598633,
-0.4438079297542572,
0.4737159013748169,
0.5946223735809326,
-0.31303736567497253,
-0.3934990167617798,
-0.2329765111207962,
0.16999027132987976,
0.24402226507663727,
-0.33245405554771423,
0.8300756812095642,
0.11275072395801544,
-0.6356452703475952,
0.26014822721481323,
0.18926528096199036,
0.4940356910228729,
-0.8748896718025208,
0.12399108707904816,
-0.11165623366832733,
-0.01651296392083168,
-0.2881375253200531,
-0.8636540770530701,
0.3005742132663727,
-0.09182527661323547,
-0.29228246212005615,
-0.09359700232744217,
1.2458624839782715,
-0.4306270182132721,
-0.5230504274368286,
0.6486580967903137,
0.5145390629768372,
0.06202379986643791,
-0.015291796065866947,
-0.4401991367340088,
0.0052851722575724125,
-0.4397924840450287,
-0.3922834098339081,
0.6319921016693115,
0.8100734353065491,
-0.046501364558935165,
0.5631765723228455,
0.7772938013076782,
0.2115299552679062,
0.08961238712072372,
0.28020885586738586,
1.1504877805709839,
-0.6019641757011414,
-0.3113448917865753,
-0.6404273509979248,
0.13290219008922577,
-0.24849599599838257,
0.01521542388945818,
0.6615179181098938,
0.5210312008857727,
0.8013731837272644,
0.23557184636592865,
0.8076677322387695,
-0.1033189594745636,
0.4760565757751465,
-0.5435726046562195,
0.8242233395576477,
-0.5197355151176453,
0.2894863784313202,
-0.20924019813537598,
-0.9454774260520935,
-0.5525869727134705,
0.286423921585083,
-0.5145407319068909,
-0.20055988430976868,
0.3350326120853424,
0.8209067583084106,
0.06874359399080276,
0.18816885352134705,
0.22795654833316803,
0.2217170000076294,
0.4605366885662079,
0.1257871687412262,
0.6633737683296204,
-0.08638516068458557,
0.5871978402137756,
0.12267743051052094,
0.006350055802613497,
-0.1446148157119751,
-0.6174381971359253,
-0.6469923257827759,
-0.3862900733947754,
-0.11814815551042557,
-0.4127780795097351,
0.11112724244594574,
0.6383184790611267,
0.469402939081192,
-0.43185389041900635,
-0.17424988746643066,
-0.07486542314291,
0.17609955370426178,
0.375449538230896,
-0.2773025333881378,
0.6296170353889465,
-0.6561199426651001,
-0.6340017318725586,
0.4066917896270752,
0.39012083411216736,
-0.33803126215934753,
-0.30242034792900085,
-0.16852758824825287,
-0.36016830801963806,
-0.15214988589286804,
0.6811520457267761,
0.16153490543365479,
-0.5252740383148193,
0.022069578990340233,
0.19167840480804443,
-0.2264588475227356,
-0.144883394241333,
0.7949928641319275,
-0.7732838988304138,
0.5343825221061707,
0.6548951268196106,
1.0036872625350952,
0.8996696472167969,
-0.07912453263998032,
0.3723415732383728,
-0.29884016513824463,
-0.15994477272033691,
0.4986953139305115,
0.36911740899086,
0.5018830299377441,
-0.5036113858222961,
0.7436511516571045,
0.14307233691215515,
-0.6342507600784302,
-0.5678563714027405,
0.07438860833644867,
-1.0007330179214478,
-0.6130033135414124,
1.2277278900146484,
-0.16357558965682983,
-0.15471933782100677,
-0.24731861054897308,
-0.2665146291255951,
0.3222048282623291,
-0.3735983371734619,
0.719528317451477,
0.7916659116744995,
-0.20926125347614288,
0.08479797095060349,
-0.5023380517959595,
0.21566380560398102,
0.24372121691703796,
-0.6544255614280701,
0.15609502792358398,
0.6260965466499329,
0.10407141596078873,
0.15012413263320923,
0.5754054188728333,
-0.49369901418685913,
-0.09549438208341599,
-0.07846861332654953,
0.04535139352083206,
-0.3184601068496704,
-0.11112099885940552,
0.10531005263328552,
0.6845117807388306,
0.10580981522798538,
0.44001343846321106
] |
http://arxiv.org/abs/2405.15370v1
|
http://arxiv.org/pdf/2405.15370v1
|
Large Language Models can Deliver Accurate and Interpretable Time Series Anomaly Detection
| 2024-05-24T09:07:02 | 2024-05-24T09:07:02 |
Jun Liu, Chaoyun Zhang, Jiaxu Qian, Minghua Ma, Si Qin, Chetan Bansal, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang
|
cs.CL
|
cs.CL
|
Time series anomaly detection (TSAD) plays a crucial role in various
industries by identifying atypical patterns that deviate from standard trends,
thereby maintaining system integrity and enabling prompt response measures.
Traditional TSAD models, which often rely on deep learning, require extensive
training data and operate as black boxes, lacking interpretability for detected
anomalies. To address these challenges, we propose LLMAD, a novel TSAD method
that employs Large Language Models (LLMs) to deliver accurate and interpretable
TSAD results. LLMAD innovatively applies LLMs for in-context anomaly detection
by retrieving both positive and negative similar time series segments,
significantly enhancing LLMs' effectiveness. Furthermore, LLMAD employs the
Anomaly Detection Chain-of-Thought (AnoCoT) approach to mimic expert logic for
its decision-making process. This method further enhances its performance and
enables LLMAD to provide explanations for their detections through versatile
perspectives, which are particularly important for user decision-making.
Experiments on three datasets indicate that our LLMAD achieves detection
performance comparable to state-of-the-art deep learning methods while offering
remarkable interpretability for detections. To the best of our knowledge, this
is the first work that directly employs LLMs for TSAD.
|
[
0.08575253188610077,
-0.8231849670410156,
0.6293839812278748,
0.0912410244345665,
-0.44763848185539246,
0.43273091316223145,
-0.10004846006631851,
-0.5010915398597717,
0.3160896301269531,
0.3225122094154358,
-0.754589319229126,
-0.7714883089065552,
-0.5395300388336182,
-0.06942518800497055,
-0.5996267199516296,
0.6899768710136414,
-0.1374318152666092,
-0.4156440496444702,
0.2816029191017151,
-0.13631783425807953,
-0.2762790620326996,
-0.34352296590805054,
-0.6341677904129028,
-0.3718958795070648,
0.14029577374458313,
0.3640352785587311,
0.4587077796459198,
0.5408055782318115,
0.36530500650405884,
0.23467370867729187,
0.0519397146999836,
0.6930376887321472,
-0.4139837920665741,
0.14904429018497467,
-0.08418507874011993,
-0.1637824922800064,
-0.7964077591896057,
-0.4142082631587982,
0.5474777221679688,
0.3888685703277588,
-0.38136065006256104,
0.2466983050107956,
-0.2571926712989807,
0.3467472493648529,
-0.25320330262184143,
0.06828124821186066,
-0.49609819054603577,
0.1858673095703125,
-0.5799509882926941,
-0.520092248916626,
-0.400989830493927,
-0.24619236588478088,
0.03024369105696678,
-0.36251774430274963,
0.29550954699516296,
0.1670093536376953,
0.7385804057121277,
0.3935667872428894,
-0.5891739130020142,
-0.22550445795059204,
-0.8105677366256714,
1.1024181842803955,
-1.0849312543869019,
0.2848120629787445,
0.04555395990610123,
0.560545027256012,
-0.27631813287734985,
-0.5813756585121155,
-0.638660192489624,
-0.021124128252267838,
0.10764892399311066,
-0.337260901927948,
-0.21774309873580933,
-0.3207266628742218,
0.15322500467300415,
0.2759535014629364,
-0.5637162327766418,
0.6659727692604065,
-0.10150934755802155,
-0.13277177512645721,
0.6798276305198669,
0.6035832762718201,
0.15024816989898682,
0.01778165064752102,
-0.3516370952129364,
0.43303248286247253,
-0.7023051977157593,
-0.19754767417907715,
0.34363651275634766,
0.25112587213516235,
-0.5381269454956055,
0.30334824323654175,
-0.21186812222003937,
0.5529086589813232,
-0.16030734777450562,
-0.14843761920928955,
0.21302925050258636,
0.07310091704130173,
-0.3321363031864166,
0.08790809661149979,
0.5334152579307556,
0.22047463059425354,
0.25859013199806213,
-0.21679304540157318,
-0.3700689971446991,
0.08602298051118851,
0.08509720116853714,
-0.779285192489624,
-0.13116204738616943,
0.35194507241249084,
-0.40381962060928345,
-0.6569873690605164,
-0.24305032193660736,
-0.897055447101593,
-0.833698034286499,
-0.2718676030635834,
0.2713505029678345,
-0.011106438934803009,
-0.6205115914344788,
0.34753257036209106,
0.08305102586746216,
0.21808290481567383,
0.383813738822937,
-0.5618382692337036,
0.10249830037355423,
0.6310147643089294,
0.8316242694854736,
-0.43351221084594727,
-0.21589252352714539,
-0.7575213313102722,
0.27812403440475464,
-0.32621023058891296,
0.8965492844581604,
-0.48325660824775696,
-0.3911653757095337,
-0.20844440162181854,
0.053933799266815186,
0.2417905181646347,
-0.33142775297164917,
0.1980445235967636,
-0.8369143605232239,
-0.267626017332077,
-0.08891846984624863,
-0.4231720566749573,
-0.30169257521629333,
0.4019807279109955,
-0.4332234561443329,
0.7912369966506958,
0.07791335135698318,
-0.522678554058075,
0.37673667073249817,
-0.837605357170105,
-0.3716781437397003,
0.03787829354405403,
-0.08528628945350647,
-0.6480502486228943,
-0.01983332633972168,
0.48290419578552246,
0.6823942065238953,
-0.4182271659374237,
0.4495879113674164,
-0.5668196678161621,
-0.1503118872642517,
0.4356708526611328,
-0.6168240904808044,
0.6895848512649536,
0.24648304283618927,
-0.300998330116272,
0.1457548588514328,
-0.6566654443740845,
-0.1059815064072609,
0.1824352890253067,
-0.05178952217102051,
-0.04934365302324295,
0.07838311791419983,
0.008002622053027153,
-0.007141570560634136,
0.1217111125588417,
-0.6536977291107178,
0.2793613076210022,
-0.05072136968374252,
0.6218297481536865,
0.9479253888130188,
0.2300088256597519,
-0.014784151688218117,
-0.09557435661554337,
0.769340455532074,
0.36176639795303345,
-0.13411782681941986,
-0.170070618391037,
-0.2877240478992462,
-0.4720827639102936,
-0.34635064005851746,
0.029086310416460037,
0.5681676268577576,
-0.6008549928665161,
0.2548101544380188,
-0.5415483713150024,
-0.40071380138397217,
-0.37307503819465637,
0.29836493730545044,
0.03413417190313339,
0.7786248326301575,
0.21818138659000397,
0.026764972135424614,
-0.665279746055603,
-0.574530303478241,
-0.45184585452079773,
0.12508882582187653,
0.19492241740226746,
-0.03175058215856552,
0.4317574203014374,
-0.7057547569274902,
0.9269173741340637,
-0.6751790642738342,
-0.17501862347126007,
-0.38769012689590454,
0.2436370551586151,
0.4868309199810028,
0.08421865850687027,
0.5190092325210571,
-0.4752591550350189,
-0.31064218282699585,
0.39270392060279846,
-1.0193591117858887,
-0.2083437591791153,
-0.19786512851715088,
0.27615657448768616,
0.2932888865470886,
0.568461000919342,
-0.2880554795265198,
0.5326177477836609,
0.4655909240245819,
-0.4872094690799713,
0.5453027486801147,
-0.10268308222293854,
-0.12905803322792053,
-1.1624095439910889,
-0.1252116560935974,
0.2320253700017929,
-0.4380767345428467,
-0.7665879130363464,
-0.16080236434936523,
0.2429295778274536,
-0.03107553720474243,
-0.3802546560764313,
0.8170527219772339,
-0.1047566682100296,
-0.18002736568450928,
-0.29816576838493347,
-0.07197912782430649,
0.1108693853020668,
0.3433937132358551,
-0.1961693912744522,
0.8735417723655701,
0.5831517577171326,
-0.6786267757415771,
0.5490761995315552,
-0.04294660687446594,
-0.7488529682159424,
0.309733510017395,
-0.42987123131752014,
0.1818372756242752,
-0.3034883141517639,
0.1763814091682434,
-0.9721890091896057,
-0.3830587863922119,
0.014189994893968105,
-0.2566432058811188,
0.40803512930870056,
0.04195685312151909,
-0.3839823007583618,
-0.2996600270271301,
-0.18628811836242676,
0.7132196426391602,
0.2045522928237915,
-0.8782925009727478,
0.6666049957275391,
0.24697816371917725,
0.14621472358703613,
-0.7728744745254517,
-0.8972994685173035,
0.19036637246608734,
-0.5896503925323486,
-0.49868059158325195,
-0.12049213796854019,
0.1694047451019287,
-0.3110581040382385,
-0.02085980959236622,
-0.32154345512390137,
-0.010836371220648289,
0.4289829432964325,
-0.09689952433109283,
0.3216691017150879,
-0.45735883712768555,
0.11961423605680466,
-0.19481852650642395,
-0.102574422955513,
0.04252485930919647,
-0.39708712697029114,
0.47818082571029663,
-0.3265587389469147,
-0.36272791028022766,
-0.7872132658958435,
0.16525258123874664,
0.8286327123641968,
-0.1752147078514099,
0.5197235345840454,
0.6817445755004883,
-0.30901676416397095,
-0.6330792307853699,
-0.5341987013816833,
0.06460116803646088,
-0.5498810410499573,
0.5459381937980652,
-0.1786820888519287,
-0.5952765345573425,
0.6031057238578796,
-0.023732159286737442,
-0.030139364302158356,
0.17984755337238312,
0.3920845091342926,
-0.11412853002548218,
0.8007875680923462,
0.5825703144073486,
-0.4121663272380829,
0.34393295645713806,
-0.41477933526039124,
0.670488178730011,
-0.8278012871742249,
-0.28993529081344604,
-0.08802010864019394,
-0.37804996967315674,
-0.46791860461235046,
-0.2513176500797272,
0.5510014891624451,
-0.5362905859947205,
-0.32418179512023926,
-0.017233511433005333,
-0.08456500619649887,
0.44468817114830017,
0.043468136340379715,
0.1606525480747223,
0.35592103004455566,
0.169488787651062,
0.40437254309654236,
-0.02150295302271843,
-0.26528966426849365,
-0.42077746987342834,
1.2247806787490845,
0.4464884400367737,
1.1121938228607178,
0.34997424483299255,
0.3938160240650177,
1.053993821144104,
0.3191586136817932,
-0.9235228896141052,
0.4196283519268036,
-0.043520934879779816,
-0.2607262134552002,
-0.4031788408756256,
-0.3302472233772278,
-0.7748428583145142,
0.07881857454776764,
0.0650423914194107,
-0.7981603145599365,
0.2962687611579895,
0.1290123164653778,
-0.43525320291519165,
0.7784125208854675,
-0.7561037540435791,
0.6593825221061707,
-0.39400550723075867,
-0.1519790142774582,
-0.2666389048099518,
-0.15930207073688507,
0.43599870800971985,
-0.18385492265224457,
0.19391174614429474,
-0.3618883192539215,
-0.29005423188209534,
0.42931389808654785,
-0.2643338143825531,
1.0279779434204102,
-0.1431209146976471,
-0.264869749546051,
0.10543245077133179,
0.25837090611457825,
0.8110364079475403,
0.07019226998090744,
-0.4352989196777344,
0.282326340675354,
-0.48387107253074646,
-0.5472925901412964,
-0.45769140124320984,
0.7882360219955444,
-0.6989750266075134,
-0.7759049534797668,
-0.5967730283737183,
-0.910851240158081,
-0.14697328209877014,
0.25338998436927795,
-0.07825975865125656,
0.8076639771461487,
-0.04603826254606247,
0.05699801817536354,
0.6684771776199341,
-0.19438527524471283,
0.5188011527061462,
0.6248756647109985,
-0.16513696312904358,
0.006569207645952702,
0.9527332186698914,
0.010172492824494839,
0.1475033313035965,
0.38382071256637573,
0.28897273540496826,
-0.272228479385376,
-0.8265150189399719,
-0.4074994623661041,
0.32817408442497253,
-0.6892989873886108,
-0.281546026468277,
-0.6336077451705933,
-0.15804614126682281,
-0.33487653732299805,
-0.0034754883963614702,
-0.1001737043261528,
-0.333913654088974,
-0.29891812801361084,
-0.27980899810791016,
0.5617560744285583,
0.8191268444061279,
0.24538308382034302,
0.5278602242469788,
-0.646979033946991,
0.44098740816116333,
0.3410448431968689,
0.3132307231426239,
0.25862905383110046,
-0.5936760902404785,
-0.23659394681453705,
-0.15546093881130219,
-0.4358411133289337,
-0.6771726608276367,
0.6662333607673645,
0.193675696849823,
0.4421972334384918,
0.8891584277153015,
0.07179906219244003,
0.6735028028488159,
-0.1969197690486908,
0.6683223843574524,
-0.2656858563423157,
-0.9447486400604248,
0.47924500703811646,
-0.562758207321167,
0.29838234186172485,
-0.1541193127632141,
0.009832547046244144,
-0.5383391380310059,
-0.16600550711154938,
-0.41398656368255615,
-0.6435732841491699,
0.9290207624435425,
-0.09705770015716553,
-0.21146374940872192,
0.1860852986574173,
0.10125545412302017,
0.19645489752292633,
0.48829713463783264,
-0.5664513111114502,
-0.18189984560012817,
0.0007587323780171573,
-0.10887504369020462,
-0.3081914186477661,
-0.24002714455127716,
0.009586979635059834,
0.07232441008090973,
0.5433368682861328,
0.06113969534635544,
0.10801319777965546,
-0.02908139117062092,
-0.19011837244033813,
-0.366389662027359,
0.364594966173172,
0.7522147297859192,
0.9078992605209351,
-0.2643216848373413,
-0.04031160846352577,
0.4245145320892334,
-0.4296317994594574,
0.12797175347805023,
-0.16139723360538483,
0.026088867336511612,
-0.02935265563428402,
0.49002766609191895,
0.7344187498092651,
-0.25071805715560913,
-0.7731234431266785,
0.3547291159629822,
0.18151015043258667,
0.2274327278137207,
-0.47820308804512024,
-0.013328870758414268,
-0.2206723839044571,
0.4343597888946533,
0.46234822273254395,
0.169199600815773,
0.10693139582872391,
-0.49524861574172974,
-0.11287856847047806,
0.4430985450744629,
0.0007332097156904638,
-0.42803120613098145,
0.5463559627532959,
0.141036719083786,
-0.3128863573074341,
0.6108763813972473,
-0.2753143310546875,
-0.6740464568138123,
1.1512420177459717,
0.5360828042030334,
1.0816802978515625,
-0.39775601029396057,
0.21036969125270844,
-0.20189207792282104,
0.5644193887710571,
-0.11246862262487411,
0.39615148305892944,
0.03207411617040634,
-0.680666983127594,
-0.46756064891815186,
-0.35490021109580994,
-0.307090163230896,
0.5705744624137878,
-0.5549808740615845,
0.45935094356536865,
-0.6029269695281982,
-0.005923018790781498,
-0.1122991144657135,
-0.181610569357872,
-0.720383882522583,
0.028513144701719284,
0.22505004703998566,
0.9559575915336609,
-1.11134672164917,
0.9792971611022949,
0.5687809586524963,
0.2950349748134613,
-0.5483670830726624,
0.17993853986263275,
0.24830418825149536,
-0.9591168165206909,
0.487533301115036,
0.3323040008544922,
-0.38184893131256104,
-0.11043817549943924,
-0.36265018582344055,
-0.8452282547950745,
1.2066783905029297,
0.25889459252357483,
-0.42201778292655945,
0.14247165620326996,
0.018152153119444847,
0.4348403811454773,
-0.41971510648727417,
-0.02911747619509697,
0.8915916681289673,
0.4069388508796692,
-0.1508556753396988,
-0.5795938968658447,
0.16142693161964417,
-0.13828347623348236,
-0.12629589438438416,
0.7295829653739929,
-0.7054372429847717,
0.6366443037986755,
-0.5091029405593872,
-0.15463481843471527,
-0.14707686007022858,
0.7268829941749573,
0.21161383390426636,
0.864517092704773,
0.37984684109687805,
0.47301656007766724,
1.1014575958251953,
0.09124527126550674,
0.9984486699104309,
0.05536649003624916,
0.21158155798912048,
1.0172600746154785,
-0.3351092040538788,
0.5595324039459229,
0.2382001131772995,
0.004063840489834547,
0.6407507061958313,
0.6435474157333374,
-0.039403703063726425,
0.5973284840583801,
-0.08854726701974869,
-0.2316286414861679,
-0.5497108697891235,
-0.13855595886707306,
-0.4005911350250244,
0.226260244846344,
0.9667892456054688,
-0.07414710521697998,
-0.41200321912765503,
0.0473947711288929,
0.041780464351177216,
-0.025958018377423286,
-0.4524330794811249,
0.11923541873693466,
0.15192323923110962,
-0.1688840687274933,
0.540863573551178,
-0.04531756415963173,
0.594401478767395,
-0.5734793543815613,
0.0763130709528923,
-0.30249059200286865,
0.2766847312450409,
-0.43656396865844727,
-0.6349290609359741,
0.1789340227842331,
0.248983234167099,
-0.0030642689671367407,
-0.09566421061754227,
0.4413944184780121,
-0.10430299490690231,
-0.601568341255188,
0.04674685373902321,
0.32825690507888794,
0.0687396377325058,
0.3403909206390381,
-0.19135180115699768,
0.017982518300414085,
-0.011406314559280872,
-0.06190798431634903,
-0.14210976660251617,
0.7940160632133484,
-0.3823651373386383,
1.1095539331436157,
0.39217808842658997,
0.33945271372795105,
-0.033604759722948074,
-0.04352208226919174,
0.7626194357872009,
-0.7170993089675903,
-0.8025336861610413,
-0.9561696648597717,
0.3456801474094391,
-0.21586544811725616,
-0.11860208958387375,
0.6646361947059631,
0.38894662261009216,
0.4578826427459717,
-0.1221768707036972,
0.8929519057273865,
0.23232384026050568,
0.601216197013855,
-0.6186718940734863,
0.45997363328933716,
-0.6359001398086548,
1.0455052852630615,
0.0790322944521904,
-0.5249546766281128,
-0.2700991928577423,
-0.03545498102903366,
-0.6364408731460571,
-0.12418553978204727,
0.6049852967262268,
0.8801878094673157,
-0.5314687490463257,
0.18708334863185883,
0.14485910534858704,
0.6095013618469238,
0.6467187404632568,
0.4834997355937958,
1.0451852083206177,
-0.23273080587387085,
0.5031276345252991,
0.13030779361724854,
-0.166605144739151,
-0.5101271867752075,
-1.2442758083343506,
-1.2716530561447144,
-0.053039394319057465,
-0.19456647336483002,
-0.294034868478775,
0.07246750593185425,
1.212081789970398,
0.4562060534954071,
-1.0356911420822144,
-0.3485998511314392,
0.19315123558044434,
0.28679680824279785,
-0.3757750988006592,
-0.21628376841545105,
0.6221091747283936,
-0.27249130606651306,
-0.557567298412323,
0.645725667476654,
0.16408458352088928,
0.1304112672805786,
-0.31292209029197693,
0.01320313848555088,
0.1782655119895935,
-0.032467108219861984,
0.5186139345169067,
0.3211195468902588,
-0.7304183840751648,
-0.09577115625143051,
-0.055889517068862915,
0.29942789673805237,
-0.054041896015405655,
0.8130597472190857,
-0.657263457775116,
0.4807784855365753,
0.43292754888534546,
0.8385652899742126,
0.5296599268913269,
-0.08989334851503372,
0.569851815700531,
-0.8075382113456726,
0.49848154187202454,
0.16128583252429962,
0.2704707086086273,
0.40261411666870117,
-0.7278755307197571,
0.2969663441181183,
0.01682794839143753,
-0.5049300193786621,
-1.2280278205871582,
0.3470635414123535,
-0.8126820921897888,
-0.14770852029323578,
1.1824876070022583,
0.08951578289270401,
-0.09216795861721039,
-0.38086947798728943,
0.19983676075935364,
0.09378330409526825,
-0.7778218388557434,
1.1237859725952148,
0.5797256231307983,
-0.15004877746105194,
0.1833873838186264,
-0.7352287173271179,
0.3423595130443573,
0.24756532907485962,
-0.6712758541107178,
0.1235337182879448,
0.12042410671710968,
0.2847992777824402,
-0.23354949057102203,
0.23980014026165009,
0.20801235735416412,
0.3543536365032196,
-0.5162367224693298,
-0.3672179579734802,
-0.49983322620391846,
-0.4197339415550232,
-0.5409421324729919,
-0.15799756348133087,
0.18466149270534515,
-0.37439602613449097
] |
http://arxiv.org/abs/2405.15362v3
|
http://arxiv.org/pdf/2405.15362v3
|
Pipeline Parallelism with Controllable Memory
| 2024-05-24T08:54:36 | 2024-06-10T11:24:06 |
Penghui Qi, Xinyi Wan, Nyamdavaa Amar, Min Lin
|
cs.LG
|
cs.LG, cs.CL, cs.DC
|
Pipeline parallelism has been widely explored, but most existing schedules
lack a systematic methodology. In this paper, we propose a framework to
decompose pipeline schedules as repeating a building block and we show that the
lifespan of the building block decides the peak activation memory of the
pipeline schedule. Guided by the observations, we find that almost all existing
pipeline schedules, to the best of our knowledge, are memory inefficient. To
address this, we introduce a family of memory efficient building blocks with
controllable activation memory, which can reduce the peak activation memory to
1/2 of 1F1B without sacrificing efficiency, and even to 1/3 with comparable
throughput. We can also achieve almost zero pipeline bubbles while maintaining
the same activation memory as 1F1B. Our evaluations demonstrate that in pure
pipeline parallelism settings, our methods outperform 1F1B by from 7% to 55% in
terms of throughput. When employing a grid search over hybrid parallelism
hyperparameters in practical scenarios, our proposed methods demonstrate a 16%
throughput improvement over the 1F1B baseline for large language models.
|
[
-0.17395751178264618,
-0.5355381965637207,
0.43113061785697937,
0.5629445314407349,
-0.14734534919261932,
0.286996066570282,
-0.07467176765203476,
-0.06195327639579773,
0.38904979825019836,
0.5853769779205322,
-0.26580092310905457,
-0.3458017110824585,
-0.63007652759552,
-0.5193888545036316,
-0.35500022768974304,
0.6174697279930115,
-0.4263887107372284,
-0.35889068245887756,
0.2045736014842987,
-0.2556520402431488,
-0.3612686097621918,
-0.4484732151031494,
-0.6419205665588379,
-0.5429818034172058,
0.5985206365585327,
0.2750535309314728,
0.7490453720092773,
1.2033501863479614,
0.24283163249492645,
0.15726399421691895,
-0.18329761922359467,
0.01963251642882824,
-0.7967372536659241,
0.19661590456962585,
-0.13215532898902893,
-0.23896880447864532,
-0.2763967514038086,
-0.2526017427444458,
1.0241388082504272,
0.7531324625015259,
-0.43540242314338684,
0.24281920492649078,
0.0702524483203888,
0.6363815665245056,
-1.103852391242981,
0.3630776107311249,
-0.8695366382598877,
0.27284958958625793,
-0.2938830554485321,
-0.3701203167438507,
-0.4550046920776367,
0.06534405052661896,
-0.34068968892097473,
-0.3085450232028961,
0.07424531877040863,
0.2654391825199127,
0.45731857419013977,
0.193773090839386,
0.10269283503293991,
0.1359875202178955,
-0.9289222359657288,
1.0040032863616943,
-0.4254748225212097,
0.5350914001464844,
0.12018842995166779,
0.13766740262508392,
-0.15979993343353271,
-0.9104551076889038,
-0.25195762515068054,
0.12680137157440186,
0.13209792971611023,
0.17484934628009796,
-0.12718163430690765,
0.21773329377174377,
0.5519431829452515,
0.5640294551849365,
-0.8688579797744751,
0.1557156890630722,
-0.29848456382751465,
-0.2960021197795868,
0.08481259644031525,
0.5309262871742249,
0.14353306591510773,
0.1406528800725937,
-0.6758211255073547,
0.3581104874610901,
-0.6775091886520386,
0.08983492106199265,
0.342219740152359,
0.17369577288627625,
0.4203474819660187,
0.472148060798645,
-0.33453211188316345,
0.5570967197418213,
-0.27429506182670593,
0.03898871690034866,
0.08115784078836441,
-0.23416195809841156,
-0.6191007494926453,
0.030409816652536392,
0.4669952094554901,
0.15181630849838257,
0.19923953711986542,
-0.5905362367630005,
-0.22738496959209442,
0.3202894628047943,
0.4054831266403198,
-1.1278316974639893,
-0.3991885483264923,
0.5274468064308167,
-0.45990118384361267,
-0.00949897151440382,
-0.35531577467918396,
-0.464277446269989,
0.005732252728193998,
-0.0503709577023983,
0.1881769448518753,
-0.2687012553215027,
-0.2134709358215332,
0.07186204940080643,
-0.26923176646232605,
-0.06905224919319153,
-0.1415782868862152,
-1.0238213539123535,
0.5280667543411255,
0.8164085745811462,
0.7900142073631287,
-0.40485385060310364,
-0.5255547165870667,
-0.9850332140922546,
0.4941859543323517,
-0.3686233162879944,
0.5695807337760925,
-0.7027199268341064,
-0.17445017397403717,
-0.26212629675865173,
-0.08297524601221085,
-0.23827841877937317,
-0.9289868474006653,
0.027740759775042534,
-0.7343534827232361,
-0.12470357120037079,
-0.20549534261226654,
-0.38488489389419556,
-0.045541536062955856,
0.14990167319774628,
-0.6227262020111084,
0.72999507188797,
0.05666843429207802,
-0.4558137357234955,
0.5788184404373169,
-0.47903501987457275,
-0.05477500334382057,
0.10450882464647293,
0.17119738459587097,
-0.28797128796577454,
-0.10826189070940018,
0.022005630657076836,
0.258635938167572,
-0.18800224363803864,
0.3056276738643646,
-0.0719335526227951,
-0.5413634777069092,
-0.3581458330154419,
-0.1676933318376541,
0.7582846283912659,
0.41426604986190796,
-0.45680585503578186,
0.07770242542028427,
-0.6250307559967041,
0.1634744554758072,
-0.32382676005363464,
-0.4053775370121002,
0.16617973148822784,
0.21539482474327087,
-0.11199931055307388,
0.19474183022975922,
0.15505751967430115,
-0.6311394572257996,
0.005197638645768166,
-0.17539265751838684,
0.36657631397247314,
0.7754616737365723,
0.08604837954044342,
0.4540720283985138,
-0.5758981704711914,
0.6459706425666809,
0.5535182356834412,
0.020605267956852913,
-0.5535666942596436,
-0.35782092809677124,
-0.7996821403503418,
-0.6605505347251892,
-0.07420685142278671,
0.5916872024536133,
-0.29339519143104553,
-0.07167019695043564,
-0.17099067568778992,
-0.43450304865837097,
-0.23594705760478973,
0.5639357566833496,
0.5970635414123535,
0.4956114590167999,
0.6190938949584961,
-0.7578525543212891,
-0.5653289556503296,
-0.9702272415161133,
-0.31333082914352417,
0.02447124570608139,
0.011047588661313057,
0.1281825453042984,
-0.09267169237136841,
0.10224571824073792,
0.4758751094341278,
-0.32411909103393555,
0.05314559489488602,
-0.07472289353609085,
0.2639750838279724,
0.4828880727291107,
0.6160057187080383,
0.28953468799591064,
-0.2424582690000534,
-0.44632309675216675,
-0.05256395787000656,
-0.5253397822380066,
0.0684971809387207,
-0.3870598375797272,
-0.16696511209011078,
0.15636104345321655,
0.4607912003993988,
-0.5819004774093628,
0.4276864230632782,
0.5025887489318848,
-0.17074523866176605,
0.4784657061100006,
-0.018419988453388214,
-0.24574124813079834,
-0.637701153755188,
0.2158462554216385,
-0.13625793159008026,
-0.337801992893219,
-0.3219129741191864,
0.09625102579593658,
0.029142387211322784,
-0.1803353726863861,
-0.6050771474838257,
0.5712894201278687,
-0.6659464240074158,
-0.06268935650587082,
-0.415743887424469,
-0.5907372236251831,
-0.17447099089622498,
0.7994744181632996,
-0.1830110102891922,
0.7418115139007568,
0.7276389002799988,
-0.5909239649772644,
0.19287458062171936,
-0.16214317083358765,
-0.3062182366847992,
0.1390254646539688,
-0.4801243841648102,
-0.047623150050640106,
-0.35677796602249146,
0.2275736927986145,
-0.7822999954223633,
0.21651117503643036,
0.08909005671739578,
0.04274332895874977,
0.37231752276420593,
-0.3739399015903473,
-0.6931058168411255,
-0.2509063184261322,
-0.13147775828838348,
0.28390002250671387,
0.9801819920539856,
-0.5571567416191101,
0.2861522436141968,
0.4052717685699463,
0.08815766125917435,
-0.7139742970466614,
-0.5248402953147888,
-0.15338654816150665,
-0.13271412253379822,
-0.3781725764274597,
0.46174106001853943,
0.05975363031029701,
-0.06491796672344208,
0.18070991337299347,
-0.41189321875572205,
-0.20012089610099792,
-0.22963504493236542,
0.24422623217105865,
0.04708908870816231,
-0.27634215354919434,
-0.10081617534160614,
0.09605509787797928,
-0.4526398479938507,
-0.02883116528391838,
-0.8092653751373291,
0.7785950899124146,
0.14100757241249084,
-0.1867944747209549,
-0.410245805978775,
0.6387778520584106,
0.9118624925613403,
-0.2849121391773224,
0.8953267335891724,
0.5027906894683838,
-0.42257535457611084,
-0.411438524723053,
-0.5700323581695557,
0.009785610251128674,
-0.5119080543518066,
0.06889494508504868,
-0.2928887903690338,
-0.8799119591712952,
0.8852733969688416,
-0.23342308402061462,
0.2492617964744568,
0.18264634907245636,
0.753385603427887,
-0.01388334110379219,
0.8356090784072876,
0.06023785471916199,
-0.0917213037610054,
0.4834831953048706,
-0.5913941860198975,
0.2517005205154419,
-0.896871030330658,
-0.036096230149269104,
-0.07164289057254791,
-0.8700181841850281,
-0.3457423448562622,
-0.4130171537399292,
0.27276211977005005,
0.12141838669776917,
-0.7137279510498047,
0.5930314064025879,
-0.5082914233207703,
0.7514750361442566,
0.5165975689888,
0.008899045176804066,
0.2826676666736603,
0.08243264257907867,
-0.39650434255599976,
0.034260012209415436,
-1.154750943183899,
-0.3520303964614868,
1.047242283821106,
0.22235800325870514,
0.5165577530860901,
-0.33399534225463867,
0.6871569156646729,
-0.06139810010790825,
0.34253111481666565,
-0.4023166000843048,
0.5596743226051331,
-0.06765178591012955,
-0.643083393573761,
-0.17268036305904388,
-0.2744801342487335,
-1.0477206707000732,
0.12284275144338608,
0.1315183937549591,
-1.0598504543304443,
0.3193299472332001,
0.3521033525466919,
-0.007948258891701698,
0.9921868443489075,
-0.8276788592338562,
0.7031382918357849,
0.3911314904689789,
-0.791096568107605,
-0.5055750608444214,
-0.41765734553337097,
0.25057461857795715,
0.19662486016750336,
-0.26376089453697205,
-0.18791745603084564,
-0.09319701045751572,
0.473694384098053,
-0.5898378491401672,
0.6207391023635864,
-0.3339914381504059,
0.547514021396637,
0.4141310453414917,
0.1763181984424591,
0.7456381320953369,
-0.0558907575905323,
-0.17887206375598907,
0.17016053199768066,
-0.26061227917671204,
-0.9454161524772644,
-0.573586642742157,
1.1378883123397827,
-0.31726914644241333,
-0.48005959391593933,
-0.19020330905914307,
-0.9313302636146545,
-0.02459169179201126,
0.23095488548278809,
-0.06037478521466255,
0.5730176568031311,
0.01818469911813736,
0.24829189479351044,
0.5947138667106628,
0.25740984082221985,
0.7877665758132935,
0.06215653941035271,
-0.06566690653562546,
-0.11271727085113525,
1.048229694366455,
0.6342551112174988,
0.3377392590045929,
0.360279381275177,
-0.10504904389381409,
-0.0638551265001297,
-0.9826200008392334,
-0.2518404722213745,
0.1645195037126541,
-0.27635011076927185,
-0.13873521983623505,
-0.9978584051132202,
-0.3595009446144104,
0.16216573119163513,
-0.2644188702106476,
-0.7008457183837891,
-0.5719089508056641,
-0.16552287340164185,
-0.11194887012243271,
0.10441484302282333,
0.08688060939311981,
-0.035053763538599014,
0.268045037984848,
-0.6481029391288757,
0.4461810290813446,
0.5895287990570068,
0.7582072019577026,
0.19000756740570068,
-0.09558387100696564,
-0.2900811731815338,
-0.21696317195892334,
-0.4957704246044159,
-0.40930643677711487,
0.5010508298873901,
-0.09566499292850494,
0.7217926979064941,
0.44953659176826477,
-0.11488650739192963,
0.673005223274231,
-0.5212487578392029,
0.6500831842422485,
0.2513412535190582,
-0.8027792572975159,
0.10930400341749191,
-0.5549582839012146,
0.5971478819847107,
0.3646986782550812,
0.5314486622810364,
-0.2191675752401352,
-0.5423715710639954,
-0.9138678908348083,
-0.902801513671875,
0.23739013075828552,
0.2936538755893707,
0.051883433014154434,
-0.09145914018154144,
0.04950723424553871,
0.0908937156200409,
0.2350606918334961,
-0.09590881317853928,
-0.26687994599342346,
-0.11804389953613281,
0.3111936151981354,
0.016430296003818512,
-0.39649051427841187,
-0.2634164094924927,
-0.2791149616241455,
0.2798404395580292,
0.08506230264902115,
0.3273804485797882,
-0.10987931489944458,
0.02401326783001423,
-0.20834271609783173,
0.15456221997737885,
0.13179466128349304,
1.2269717454910278,
-0.43842393159866333,
0.14782921969890594,
0.11890195310115814,
-0.5306989550590515,
0.11229078471660614,
-0.18792615830898285,
-0.25600793957710266,
0.0457027330994606,
-0.12806491553783417,
0.8522407412528992,
0.25097522139549255,
-0.579683780670166,
-0.011401454918086529,
0.496582955121994,
-0.08750876039266586,
-0.13830320537090302,
0.21118804812431335,
0.40113306045532227,
0.3801046311855316,
0.3555571138858795,
0.2361280918121338,
-0.002566884970292449,
-0.6378491520881653,
0.3084075450897217,
0.3842985928058624,
-0.42923495173454285,
-0.18878401815891266,
0.8351678848266602,
-0.12568800151348114,
-0.3704882562160492,
0.6651152968406677,
-0.33367061614990234,
-0.3249543011188507,
0.536586582660675,
0.7614060640335083,
1.1638929843902588,
-0.02744266204535961,
-0.011000499129295349,
0.6646583676338196,
0.4041064977645874,
-0.10077549517154694,
0.46002963185310364,
-0.08816703408956528,
-0.8647496104240417,
-0.5351916551589966,
-0.6294614672660828,
-0.4586434066295624,
-0.020274000242352486,
-0.4625021517276764,
0.12280914187431335,
-1.0875747203826904,
0.06315525621175766,
-0.21051859855651855,
-0.27194705605506897,
-0.7103084921836853,
0.17526286840438843,
0.05734015628695488,
0.8651147484779358,
-0.5675374269485474,
1.0162651538848877,
0.41898420453071594,
0.06627003848552704,
-0.6597729325294495,
-0.2729235887527466,
-0.07779835164546967,
-0.7375579476356506,
0.3557000756263733,
-0.06843048334121704,
-0.0050674425438046455,
0.38471493124961853,
-0.2708050310611725,
-0.6354596614837646,
1.1833689212799072,
0.4318119287490845,
-0.3870461583137512,
0.04359906539320946,
-0.2706049978733063,
0.3524211049079895,
-0.6240409016609192,
0.2913115620613098,
0.6144477128982544,
0.4941405653953552,
0.1599038541316986,
-0.932654857635498,
0.03582504764199257,
-0.4088241159915924,
0.23021773993968964,
0.5981419682502747,
-0.8537470698356628,
0.7344731092453003,
-0.16705889999866486,
-0.49214407801628113,
-0.4803602993488312,
0.45187506079673767,
0.47056207060813904,
0.3046891987323761,
0.3933046758174896,
1.028402328491211,
0.5179494619369507,
-0.0024441664572805166,
1.0280625820159912,
-0.3638063073158264,
0.0649181455373764,
0.9115779995918274,
-0.10555779188871384,
0.7215110659599304,
0.7628286480903625,
-0.1660107672214508,
0.5806017518043518,
0.1298670619726181,
0.2886873185634613,
0.4079923927783966,
0.4322499632835388,
-0.3330404460430145,
-0.3983084261417389,
-0.22260023653507233,
-0.2697213590145111,
0.13741648197174072,
0.35380592942237854,
-0.4279438257217407,
-0.4660651981830597,
-0.3036186695098877,
0.28187277913093567,
-0.02472853846848011,
-0.41073349118232727,
0.322122186422348,
-0.06264272332191467,
-0.6712852716445923,
0.950447142124176,
-0.3622570037841797,
0.4951534867286682,
-0.7062053084373474,
0.11345554888248444,
-0.23963481187820435,
0.22663766145706177,
-0.28285279870033264,
-0.5125537514686584,
0.7547162175178528,
-0.23021182417869568,
-0.46631231904029846,
-0.6874791383743286,
0.3146178126335144,
-0.44741421937942505,
-0.2464948147535324,
0.19225484132766724,
0.38552218675613403,
-0.09907182306051254,
-0.08917569369077682,
-0.3134979009628296,
0.1402389258146286,
-0.20262114703655243,
-0.32443201541900635,
0.5869265794754028,
0.05052812024950981,
-0.0019562242086976767,
0.8894827365875244,
0.809438943862915,
0.37286996841430664,
0.6750993132591248,
-0.515693724155426,
1.2991394996643066,
-0.7625457644462585,
-0.5109250545501709,
-0.48294419050216675,
0.5983962416648865,
-0.01685499958693981,
-0.12141197919845581,
0.47597092390060425,
0.9030847549438477,
0.95830237865448,
-0.06463194638490677,
0.5485221147537231,
0.10070458054542542,
0.4727458655834198,
-0.5064246654510498,
0.7063142657279968,
-0.2120998501777649,
0.40859514474868774,
0.045044783502817154,
-1.3235392570495605,
-0.34839197993278503,
0.04632493108510971,
-0.16958530247211456,
-0.36226576566696167,
1.0959479808807373,
1.0949305295944214,
-0.3909054696559906,
-0.15273654460906982,
0.34546053409576416,
0.17184880375862122,
0.30153968930244446,
0.9857900738716125,
0.43078485131263733,
-0.2719985842704773,
0.5018124580383301,
-0.3411463797092438,
-0.4119075536727905,
0.2420627772808075,
-0.8427252769470215,
-0.5931713581085205,
-0.31492939591407776,
-0.38896286487579346,
-0.27733635902404785,
0.2549586892127991,
0.5957019925117493,
0.742210328578949,
-0.9147366285324097,
-0.6355780959129333,
-0.37949028611183167,
0.2205132097005844,
-0.6674469113349915,
-0.17715775966644287,
0.07827258855104446,
-0.8073604106903076,
-0.8509663939476013,
0.6169150471687317,
0.8062715530395508,
-0.40028148889541626,
-0.362993448972702,
0.12150673568248749,
-0.14424005150794983,
0.05381130799651146,
0.4416409432888031,
0.8106158971786499,
-0.35191529989242554,
-0.15381383895874023,
0.02745017036795616,
0.006468922831118107,
0.2941422760486603,
1.1987721920013428,
-1.0041989088058472,
0.8635138273239136,
0.940737247467041,
0.6976227760314941,
1.0600024461746216,
-0.034404151141643524,
0.6845026612281799,
-0.35489049553871155,
0.6935652494430542,
0.5337702035903931,
0.2160951793193817,
-0.28992030024528503,
-0.11249735951423645,
0.27297765016555786,
0.4367806017398834,
-0.6089650988578796,
-0.6447789072990417,
0.35422223806381226,
-1.1960101127624512,
0.08125607669353485,
0.7671895027160645,
-0.18517360091209412,
-0.10256896167993546,
-0.25456610321998596,
0.17104971408843994,
-0.08976972103118896,
-0.286421000957489,
0.6178260445594788,
0.6017045974731445,
-0.19851629436016083,
-0.3611046075820923,
-0.3635960519313812,
0.3739309012889862,
0.4809141159057617,
-0.26566341519355774,
0.08501323312520981,
0.33876627683639526,
0.0735139548778534,
-0.07812875509262085,
0.8266841173171997,
-0.39325347542762756,
0.2306734323501587,
0.23069418966770172,
-0.164584681391716,
-0.3780547082424164,
-0.6907851696014404,
0.10769280791282654,
0.7283055186271667,
-0.25545015931129456,
-0.29530492424964905
] |
http://arxiv.org/abs/2405.15349v1
|
http://arxiv.org/pdf/2405.15349v1
|
UnKE: Unstructured Knowledge Editing in Large Language Models
| 2024-05-24T08:42:40 | 2024-05-24T08:42:40 |
Jingcheng Deng, Zihao Wei, Liang Pang, Hanxing Ding, Huawei Shen, Xueqi Cheng
|
cs.CL
|
cs.CL
|
Recent knowledge editing methods have primarily focused on modifying
structured knowledge in large language models, heavily relying on the
assumption that structured knowledge is stored as key-value pairs locally in
MLP layers or specific neurons. However, this task setting overlooks the fact
that a significant portion of real-world knowledge is stored in an unstructured
format, characterized by long-form content, noise, and a complex yet
comprehensive nature. The "knowledge locating" and "term-driven optimization"
techniques conducted from the assumption used in previous methods (e.g., MEMIT)
are ill-suited for unstructured knowledge. To address these challenges, we
propose a novel unstructured knowledge editing method, namely UnKE, which
extends previous assumptions in the layer dimension and token dimension.
Firstly, in the layer dimension, we discard the "knowledge locating" step and
treat first few layers as the key, which expand knowledge storage through
layers to break the "knowledge stored locally" assumption. Next, we replace
"term-driven optimization" with "cause-driven optimization" across all inputted
tokens in the token dimension, directly optimizing the last layer of the key
generator to perform editing to generate the required key vectors. By utilizing
key-value pairs at the layer level, UnKE effectively represents and edits
complex and comprehensive unstructured knowledge, leveraging the potential of
both the MLP and attention layers. Results on newly proposed unstructure
knowledge editing dataset (UnKEBench) and traditional structured datasets
demonstrate that UnKE achieves remarkable performance, surpassing strong
baselines.
|
[
0.09929332882165909,
-0.8605091571807861,
0.7101133465766907,
0.060562971979379654,
-0.07507366687059402,
0.5265301465988159,
-0.6078336834907532,
-0.15647825598716736,
0.09356685727834702,
0.6059938669204712,
-0.28331854939460754,
-0.8018630146980286,
-0.07942352443933487,
-0.29354849457740784,
-0.34368768334388733,
0.652495265007019,
-0.04739786684513092,
-0.2193857580423355,
-0.5543807148933411,
0.052372753620147705,
-0.24662812054157257,
-0.5277878046035767,
-0.4688696265220642,
-0.49248412251472473,
0.11323858797550201,
0.3418408930301666,
0.8342477083206177,
0.5874223709106445,
0.017771853134036064,
0.34230875968933105,
-0.6166943907737732,
0.40591344237327576,
-0.2356821447610855,
0.03968292102217674,
-0.3648744821548462,
-0.07242429256439209,
-0.39559510350227356,
-0.31179726123809814,
0.879494845867157,
1.1807276010513306,
-0.19047196209430695,
0.013270584866404533,
0.07852322608232498,
0.9498945474624634,
-0.6604722142219543,
0.023852946236729622,
-0.7405378818511963,
0.062285855412483215,
-0.3434617221355438,
-0.1787278950214386,
-0.3497167229652405,
0.25418075919151306,
-0.1657174825668335,
-1.0438638925552368,
-0.008064799942076206,
-0.0574374794960022,
0.3328128755092621,
0.28073203563690186,
-0.3498013913631439,
0.2271616905927658,
-0.7331594824790955,
0.5434084534645081,
-0.8501072525978088,
0.48416319489479065,
0.1506287157535553,
-0.11832676827907562,
-0.8856844305992126,
-0.78443843126297,
-0.5934513211250305,
0.3565152585506439,
0.0479281060397625,
0.09560303390026093,
-0.27464136481285095,
0.37852147221565247,
0.22261439263820648,
0.2299133688211441,
-0.26600876450538635,
0.274128794670105,
-0.43322309851646423,
-0.21907609701156616,
0.5537780523300171,
-0.08239064365625381,
0.28285837173461914,
-0.34224027395248413,
-0.19722670316696167,
0.11009868234395981,
-0.8008459210395813,
0.4247865676879883,
0.3517594039440155,
0.2864590287208557,
0.3660452961921692,
0.7298586964607239,
-0.7124207615852356,
0.8265677094459534,
-0.10105813294649124,
0.026544874534010887,
0.11977019906044006,
0.03709149733185768,
-0.468986451625824,
0.2595508098602295,
0.8368982076644897,
0.45782217383384705,
0.19483141601085663,
-0.5277094841003418,
-0.2775428295135498,
-0.3002450168132782,
0.25581106543540955,
-0.4785419702529907,
-0.42572328448295593,
0.3034256100654602,
-0.3971024751663208,
-0.6988863348960876,
0.03638395294547081,
-0.9094911217689514,
-0.5650373697280884,
-0.3297889828681946,
0.3509073555469513,
-0.24236498773097992,
-0.09038423746824265,
0.45441824197769165,
-0.1372932344675064,
-0.36668962240219116,
0.23487117886543274,
-0.7272902727127075,
0.07876268029212952,
0.42439645528793335,
0.600760817527771,
-0.019369935616850853,
-0.37730634212493896,
-0.29067716002464294,
0.5148214101791382,
-0.46363532543182373,
0.9029401540756226,
-0.8356834053993225,
-0.4319523572921753,
-0.0769205391407013,
-0.23249857127666473,
0.20431627333164215,
-0.31074267625808716,
0.2863391637802124,
-0.7392677664756775,
0.2378884106874466,
-0.28309279680252075,
-0.8475999236106873,
-0.2531661093235016,
-0.10683804750442505,
-0.4133908450603485,
1.3638954162597656,
0.3822159171104431,
-0.8156729936599731,
0.32674190402030945,
-1.2086458206176758,
-0.6520239114761353,
-0.12301187217235565,
0.11366762220859528,
-0.11367093771696091,
0.4368646442890167,
0.30296337604522705,
0.4484291076660156,
-0.3490687608718872,
0.48242315649986267,
-0.20815151929855347,
-0.055723026394844055,
0.4176342487335205,
-0.18189877271652222,
0.6443907022476196,
-0.011966113932430744,
-0.11995144933462143,
0.37019777297973633,
-1.064932107925415,
0.2458140254020691,
0.0907563716173172,
-0.5990942716598511,
-0.6204285025596619,
0.027864402160048485,
-0.017240237444639206,
0.25534385442733765,
0.3129867911338806,
-1.0155996084213257,
0.7275770902633667,
-0.42609691619873047,
0.7696897387504578,
0.8230023980140686,
0.26309895515441895,
0.6035593748092651,
0.28333860635757446,
0.21194548904895782,
0.1319752186536789,
0.3757067918777466,
0.27717432379722595,
-0.180712029337883,
-0.5004482269287109,
-0.047988858073949814,
0.6103981137275696,
0.2825832962989807,
-0.5897355675697327,
0.25699639320373535,
-0.13637737929821014,
-0.1863832026720047,
-0.5326087474822998,
0.44597727060317993,
0.3148508369922638,
0.7751018404960632,
0.5217844843864441,
-0.07728902995586395,
-0.5456858277320862,
-0.8071355819702148,
-0.35085630416870117,
0.1468907743692398,
-0.056288111954927444,
-0.01841803267598152,
0.30346670746803284,
-0.34401950240135193,
1.0273888111114502,
-0.7582058906555176,
-0.32481008768081665,
-0.13882891833782196,
0.19494198262691498,
0.02588905207812786,
0.4340410530567169,
0.08796554803848267,
-0.511073648929596,
-0.3059169054031372,
0.12894172966480255,
-0.6432501077651978,
-0.12296131998300552,
-0.2482801079750061,
-0.20446987450122833,
0.3251146674156189,
0.7872866988182068,
-0.7074512243270874,
0.4571511149406433,
0.2820422649383545,
-0.4667934477329254,
0.3408260643482208,
-0.5618797540664673,
0.04931855574250221,
-1.2167901992797852,
0.16110622882843018,
-0.5088204741477966,
-0.18382373452186584,
-0.49918606877326965,
-0.03355879709124565,
0.21358346939086914,
0.0008960074628703296,
-0.26020902395248413,
0.5086446404457092,
-0.6420189142227173,
-0.14084269106388092,
-0.20624861121177673,
0.12524186074733734,
0.1471213698387146,
0.7560035586357117,
-0.028630992397665977,
0.5606686472892761,
0.5974699854850769,
-0.29342421889305115,
0.489790678024292,
0.40980181097984314,
-0.6385894417762756,
0.25047051906585693,
-0.6727470755577087,
0.4440772533416748,
-0.14768895506858826,
-0.004358810838311911,
-0.6194095611572266,
-0.26764965057373047,
-0.3575575053691864,
-0.3016895353794098,
0.5076998472213745,
-0.20778538286685944,
-0.8818328380584717,
-0.1634136140346527,
-0.4171743094921112,
0.40073162317276,
0.3491501212120056,
-0.49096158146858215,
0.6395401358604431,
0.5438384413719177,
0.136713445186615,
-0.6366138458251953,
-0.4554187059402466,
0.15547394752502441,
-0.08000118285417557,
-0.6666111350059509,
0.41681477427482605,
0.07263187319040298,
-0.21591512858867645,
0.3420292139053345,
-0.35787874460220337,
-0.15660497546195984,
0.08164940774440765,
0.22513768076896667,
0.07496118545532227,
0.004485349636524916,
0.14936883747577667,
0.5210530757904053,
-0.23744907975196838,
-0.11904218792915344,
-0.6455771327018738,
0.27771827578544617,
0.23617400228977203,
-0.23084473609924316,
-0.06666789203882217,
0.40469902753829956,
0.8133792281150818,
-0.49694180488586426,
0.6072440147399902,
0.11427989602088928,
-0.5254007577896118,
-0.3837466239929199,
-0.40452852845191956,
0.18802621960639954,
-0.44723448157310486,
0.49726730585098267,
-0.25678691267967224,
-1.00210702419281,
0.5857558250427246,
-0.549811065196991,
0.2730811536312103,
0.5294686555862427,
0.2892724871635437,
-0.3001888692378998,
0.832565188407898,
0.5431627035140991,
-0.09777042269706726,
0.06451032310724258,
-0.07615460455417633,
0.3184111416339874,
-1.2385808229446411,
-0.4409859776496887,
-0.19535736739635468,
-0.5970652103424072,
-0.34438368678092957,
-0.5244464874267578,
0.5201795697212219,
0.44880640506744385,
-0.28964659571647644,
0.1213514506816864,
-0.5656929612159729,
0.94768887758255,
0.6196057200431824,
-0.11560475081205368,
0.465959757566452,
-0.18225997686386108,
-0.4437015950679779,
0.12272576242685318,
-0.7498418092727661,
-0.210142120718956,
1.2979174852371216,
0.03350702300667763,
0.7358349561691284,
0.08692025393247604,
0.39366841316223145,
0.23236319422721863,
-0.38729116320610046,
-0.43400633335113525,
0.4042881727218628,
-0.29131945967674255,
-0.4895637631416321,
-0.6753780245780945,
-0.3194948434829712,
-0.8463221788406372,
0.008619206957519054,
-0.3149581551551819,
-0.9147775173187256,
0.09899585694074631,
0.2872360050678253,
-0.5344757437705994,
0.8992137312889099,
-0.6222096681594849,
1.0632169246673584,
-0.1626715213060379,
-0.06619155406951904,
-0.150276780128479,
-0.8255631327629089,
0.0972093790769577,
-0.22832860052585602,
0.3731737434864044,
0.1491687148809433,
0.26139751076698303,
0.8303255438804626,
-0.37852662801742554,
0.704054594039917,
-0.2860048711299896,
0.12871624529361725,
0.16945955157279968,
0.44536080956459045,
0.6139313578605652,
0.1481095552444458,
0.18193456530570984,
0.1410055011510849,
0.20760931074619293,
-0.22443720698356628,
-1.048311471939087,
0.6974773406982422,
-0.7826135754585266,
-0.28279730677604675,
-0.026670020073652267,
-0.8566967844963074,
-0.5514320731163025,
0.3816528916358948,
0.2116357386112213,
0.6790221929550171,
-0.1326068639755249,
0.44750794768333435,
0.7330982089042664,
-0.27779674530029297,
0.4251497983932495,
0.4386528730392456,
-0.2924305200576782,
-0.16354122757911682,
0.7011797428131104,
0.21667715907096863,
0.16506806015968323,
0.8154525756835938,
0.4379604756832123,
-0.4519343674182892,
-0.5873762369155884,
-0.41070258617401123,
-0.17929190397262573,
-0.7544989585876465,
-0.42726901173591614,
-0.7124793529510498,
-0.1365433782339096,
-0.3721643388271332,
-0.4139477610588074,
-0.8208600878715515,
-0.8561815023422241,
0.03035271167755127,
-0.13176116347312927,
0.5137293934822083,
0.9416402578353882,
-0.35511115193367004,
0.24150975048542023,
-0.6054189205169678,
0.16036996245384216,
0.15413318574428558,
0.7196905016899109,
-0.10736099630594254,
-0.4243485927581787,
-0.2821469008922577,
-0.015866661444306374,
0.0793343186378479,
-0.7313981056213379,
-0.019376607611775398,
0.02298322692513466,
0.37299615144729614,
0.2699664235115051,
0.2102365493774414,
0.6629767417907715,
-0.33487141132354736,
0.42968010902404785,
-0.024303676560521126,
-1.040138602256775,
0.5006138682365417,
-0.38057053089141846,
0.3281443417072296,
0.6843588352203369,
-0.201413094997406,
-0.884727418422699,
-0.16601301729679108,
-0.7274113893508911,
-0.9890954494476318,
0.509914219379425,
-0.038410864770412445,
-0.006733568850904703,
0.3100697696208954,
0.5516557097434998,
-0.07129533588886261,
0.44944992661476135,
-0.4588737189769745,
-0.15372471511363983,
-0.1860533058643341,
-0.17358171939849854,
0.2702576816082001,
-0.579312801361084,
-0.013736207038164139,
-0.669944703578949,
0.7786945104598999,
0.026294702664017677,
0.11115604639053345,
0.17187154293060303,
-0.24128517508506775,
-0.28995880484580994,
0.4629266560077667,
0.4975268840789795,
0.7771524786949158,
-0.2609642446041107,
0.2862713932991028,
0.11446384340524673,
-0.24891802668571472,
-0.18103519082069397,
-0.19816145300865173,
-0.45806822180747986,
-0.28002962470054626,
0.3095642924308777,
0.6368805766105652,
0.6991175413131714,
-0.4944041967391968,
0.22244001924991608,
0.30876776576042175,
-0.19446726143360138,
-0.16064487397670746,
-0.06468713283538818,
0.16202707588672638,
0.2823088467121124,
-0.04960570111870766,
-0.027043262496590614,
-0.013645387254655361,
-0.34716561436653137,
0.13775987923145294,
0.35952094197273254,
-0.0637117251753807,
-0.2600443959236145,
0.7234178185462952,
0.08906436711549759,
-0.07879076898097992,
0.8521810173988342,
-0.23510384559631348,
-0.5777080655097961,
-0.038478244096040726,
0.431098610162735,
0.7567433714866638,
-0.1473201960325241,
0.28974807262420654,
0.18424025177955627,
0.32003042101860046,
0.04890071600675583,
0.12178412824869156,
-0.07606953382492065,
-0.809745192527771,
-0.591506838798523,
-0.811367928981781,
-0.06118573620915413,
0.40269023180007935,
-0.44661587476730347,
-0.07813636213541031,
-0.6820691823959351,
0.341196745634079,
0.16874176263809204,
0.010591897182166576,
-0.2894332706928253,
0.0927056297659874,
-0.4127086400985718,
0.9150487780570984,
-0.6976560354232788,
0.7929968237876892,
0.9995572566986084,
-0.2053193747997284,
-0.8631747364997864,
-0.3143445551395416,
0.1511378139257431,
-0.8199076056480408,
0.2616890072822571,
-0.33440932631492615,
0.13953734934329987,
0.14887650310993195,
-0.4355967342853546,
-0.8517603874206543,
0.9116694331169128,
0.3186386823654175,
-0.5190261006355286,
-0.1190645769238472,
0.2805999219417572,
0.3329993784427643,
-0.06601306051015854,
-0.36799728870391846,
0.5421151518821716,
0.635914146900177,
0.21569384634494781,
-0.6638433337211609,
0.0827103704214096,
-0.2501375079154968,
0.00015798733511473984,
0.5842487215995789,
-0.39750921726226807,
0.6646420359611511,
-0.2280154973268509,
0.04617537185549736,
-0.39334648847579956,
0.6285293698310852,
-0.4358893930912018,
-0.14538291096687317,
0.38378217816352844,
0.8788447380065918,
0.9665592312812805,
0.2020227164030075,
0.7916196584701538,
-0.2683012783527374,
0.3211106061935425,
1.2637887001037598,
-0.058288272470235825,
0.6472817063331604,
0.5194712281227112,
-0.07144162058830261,
0.45646920800209045,
0.5767180919647217,
0.0040625762194395065,
0.5918132662773132,
0.12183317542076111,
-0.19360364973545074,
-0.41121670603752136,
0.0442277193069458,
0.09654061496257782,
0.8133658766746521,
-0.10623697936534882,
-0.006045044865459204,
-0.36980685591697693,
-0.18978822231292725,
0.4476712644100189,
0.26555630564689636,
-0.27087679505348206,
0.8704735040664673,
-0.28989672660827637,
-0.39679986238479614,
0.05571737885475159,
0.5442066788673401,
0.2776830792427063,
-0.5007423162460327,
0.05463612079620361,
-0.20220454037189484,
0.10436368733644485,
-0.33249151706695557,
-1.038765788078308,
0.43210476636886597,
0.10447172075510025,
-0.38623788952827454,
-0.1784907579421997,
0.895122766494751,
-0.5320032238960266,
-0.6813868880271912,
0.19523556530475616,
0.34771090745925903,
-0.09972228854894638,
-0.5915616154670715,
-0.5762415528297424,
-0.19025930762290955,
0.045531079173088074,
-0.5923862457275391,
0.5664260983467102,
0.7991456389427185,
-0.29231712222099304,
0.3620130121707916,
1.037617564201355,
0.1586974561214447,
-0.17370471358299255,
0.09877841919660568,
1.0556327104568481,
-0.721879780292511,
-0.43709585070610046,
-0.7307370901107788,
0.7916465401649475,
-0.23230768740177155,
-0.3688310980796814,
0.3069762587547302,
0.7147078514099121,
0.8972213268280029,
0.13841308653354645,
0.7113285064697266,
-0.05696965008974075,
0.3784736692905426,
-0.7823449969291687,
1.0048915147781372,
-0.6362593770027161,
-0.017456233501434326,
-0.44349205493927,
-0.9187008738517761,
-0.3775612413883209,
0.5663365125656128,
0.06278660148382187,
-0.18181131780147552,
0.7277751564979553,
0.6689178943634033,
-0.061654675751924515,
-0.07863880693912506,
0.4417423903942108,
0.6180583834648132,
0.16264206171035767,
0.5266939401626587,
0.5044501423835754,
0.04793935641646385,
0.006786790210753679,
-0.5200158953666687,
-0.25041475892066956,
0.3213139474391937,
-0.9179115295410156,
-1.086751937866211,
-0.8051531314849854,
-0.19054697453975677,
0.00215031486004591,
-0.12382380664348602,
0.99009770154953,
0.3079078197479248,
-0.5507218241691589,
0.11846518516540527,
-0.011254927143454552,
0.12515392899513245,
-0.03087490238249302,
-0.1715334951877594,
0.7688676714897156,
-0.22384272515773773,
-0.18840903043746948,
0.7997525930404663,
0.6324639320373535,
-0.0731845498085022,
-0.08533881604671478,
0.22106435894966125,
-0.14900502562522888,
-0.02161668986082077,
0.7960110902786255,
0.3631281852722168,
-0.42329075932502747,
-0.3457392156124115,
0.049302153289318085,
0.380339115858078,
-0.11474956572055817,
1.0366781949996948,
-0.6978139877319336,
0.7028854489326477,
0.2713059186935425,
0.8110283017158508,
0.22865745425224304,
-0.0794636458158493,
0.5096696615219116,
-1.0964182615280151,
0.10473630577325821,
-0.1915775090456009,
0.48347732424736023,
0.3374120593070984,
-0.6501734256744385,
0.34756314754486084,
0.4207252860069275,
-0.4856724441051483,
-0.8705969452857971,
-0.05625637620687485,
-1.0418174266815186,
-0.5706416964530945,
1.2324973344802856,
0.1533069759607315,
-0.23522892594337463,
-0.15989911556243896,
-0.10243970900774002,
0.3767947852611542,
-0.30335408449172974,
0.9936668276786804,
0.6786369681358337,
-0.09059169888496399,
0.14489655196666718,
-0.557405948638916,
0.6068987846374512,
0.2773664891719818,
-0.7717836499214172,
0.6304177641868591,
0.5164791941642761,
0.22694392502307892,
-0.0944579467177391,
0.4399626851081848,
-0.3489944040775299,
0.08291003108024597,
-0.3333965837955475,
0.37473443150520325,
-0.7963123917579651,
-0.48995134234428406,
0.007509997114539146,
0.04166959226131439,
-0.06885204464197159,
0.035169556736946106
] |
http://arxiv.org/abs/2405.15346v1
|
http://arxiv.org/pdf/2405.15346v1
|
BiSup: Bidirectional Quantization Error Suppression for Large Language Models
| 2024-05-24T08:39:27 | 2024-05-24T08:39:27 |
Minghui Zou, Ronghui Guo, Sai Zhang, Xiaowang Zhang, Zhiyong Feng
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
As the size and context length of Large Language Models (LLMs) grow,
weight-activation quantization has emerged as a crucial technique for efficient
deployment of LLMs. Compared to weight-only quantization, weight-activation
quantization presents greater challenges due to the presence of outliers in
activations. Existing methods have made significant progress by exploring
mixed-precision quantization and outlier suppression. However, these methods
primarily focus on optimizing the results of single matrix multiplication,
neglecting the bidirectional propagation of quantization errors in LLMs.
Specifically, errors accumulate vertically within the same token through
layers, and diffuse horizontally across different tokens due to self-attention
mechanisms. To address this issue, we introduce BiSup, a Bidirectional
quantization error Suppression method. By constructing appropriate optimizable
parameter spaces, BiSup utilizes a small amount of data for quantization-aware
parameter-efficient fine-tuning to suppress the error vertical accumulation.
Besides, BiSup employs prompt mixed-precision quantization strategy, which
preserves high precision for the key-value cache of system prompts, to mitigate
the error horizontal diffusion. Extensive experiments on Llama and Qwen
families demonstrate that BiSup can improve performance over two
state-of-the-art methods (the average WikiText2 perplexity decreases from 13.26
to 9.41 for Atom and from 14.33 to 7.85 for QuaRot under the W3A3-g128
configuration), further facilitating the practical applications of low-bit
weight-activation quantization.
|
[
-0.22305193543434143,
-0.8046961426734924,
0.2729833126068115,
0.6211888194084167,
-0.466801255941391,
0.17886914312839508,
-0.27005690336227417,
-0.14843890070915222,
-0.06416898965835571,
0.18346057832241058,
-0.30818280577659607,
-0.5041798949241638,
-0.5625311732292175,
0.0815056711435318,
-0.3619838356971741,
0.8637840747833252,
-0.09194992482662201,
0.08744598925113678,
-0.4453490078449249,
-0.00744333490729332,
-0.25473150610923767,
-0.39689961075782776,
-0.7125528454780579,
-0.08061869442462921,
0.41581135988235474,
0.36983656883239746,
0.6992590427398682,
0.2882128953933716,
0.5185085535049438,
0.25545865297317505,
-0.3155692219734192,
0.19680246710777283,
-0.3305184841156006,
0.05063342675566673,
0.28204458951950073,
-0.30413517355918884,
-0.632815420627594,
-0.4644297957420349,
1.1914833784103394,
0.8807510137557983,
-0.4818655550479889,
-0.017610950395464897,
0.1742534041404724,
0.8279561400413513,
-0.8020638823509216,
0.06910239905118942,
-0.29550549387931824,
-0.09177597612142563,
-0.4274040460586548,
0.044670529663562775,
-0.2668713927268982,
-0.3607655465602875,
-0.3167555630207062,
-0.4127587378025055,
0.1039939597249031,
-0.052362918853759766,
0.7096310257911682,
0.3209436535835266,
-0.38342049717903137,
0.21934865415096283,
-0.6632930636405945,
0.8331285119056702,
-1.073582649230957,
0.2915821969509125,
0.18166595697402954,
-0.12709484994411469,
-0.2586378753185272,
-0.5003225207328796,
-0.6112936735153198,
0.11951294541358948,
-0.12068401277065277,
0.24629910290241241,
-0.37224236130714417,
0.352456659078598,
0.2699340879917145,
0.22427888214588165,
-0.779555082321167,
0.20808593928813934,
-0.3136208951473236,
-0.1677429974079132,
0.434170663356781,
-0.21219830214977264,
0.20511233806610107,
0.028353970497846603,
-0.4881131947040558,
0.0656139999628067,
-1.0653107166290283,
-0.09973479062318802,
0.48518091440200806,
0.1166561171412468,
-0.21597452461719513,
0.44952329993247986,
-0.4183017313480377,
0.5790808796882629,
0.09718591719865799,
0.24005913734436035,
0.10419971495866776,
-0.43428730964660645,
-0.39629659056663513,
0.13158991932868958,
0.8729169368743896,
0.035161569714546204,
0.0322391614317894,
-0.040061820298433304,
-0.2532550096511841,
-0.30024147033691406,
-0.01224175188690424,
-1.2274384498596191,
-0.12204917520284653,
0.25770121812820435,
-0.39792686700820923,
-0.11641011387109756,
-0.1749548316001892,
-0.8199973702430725,
-0.1937347948551178,
-0.03237525746226311,
0.5414747595787048,
-0.09555451571941376,
-0.2633531987667084,
0.32519471645355225,
0.11269132792949677,
0.09022709727287292,
0.22579693794250488,
-0.6860092282295227,
0.2332613319158554,
0.3805674612522125,
0.6651482582092285,
0.04928746819496155,
-0.28601208329200745,
-0.6792434453964233,
0.3257884383201599,
-0.45757296681404114,
0.5719031095504761,
-0.2734522223472595,
-0.32037845253944397,
-0.05453502759337425,
-0.26172447204589844,
0.069915272295475,
-0.5534893274307251,
0.3134043216705322,
-0.7889646291732788,
0.124981589615345,
-0.24986551702022552,
-0.2550736665725708,
-0.10962388664484024,
-0.12082906812429428,
-0.6336467266082764,
0.9861046075820923,
0.05654548108577728,
-0.7059217691421509,
0.1977708637714386,
-0.5143236517906189,
-0.6330318450927734,
0.12205081433057785,
0.08997073024511337,
-0.7440848350524902,
0.3902050852775574,
0.3356989026069641,
0.14989781379699707,
-0.4313427209854126,
0.10205747187137604,
-0.497319757938385,
-0.48985356092453003,
0.030516793951392174,
-0.48753121495246887,
0.8271353244781494,
-0.15827098488807678,
-0.3374190926551819,
0.193634033203125,
-0.7720195055007935,
-0.0225204024463892,
0.19312141835689545,
-0.45491206645965576,
-0.6284902095794678,
-0.03055071085691452,
-0.12400682270526886,
0.04270157963037491,
0.3246440589427948,
-0.38200002908706665,
0.1799139380455017,
-0.3337786793708801,
0.20721806585788727,
0.6319385766983032,
0.0282264593988657,
0.3002774119377136,
0.13875548541545868,
0.4896093010902405,
0.47000864148139954,
0.1152142658829689,
0.05155643820762634,
-0.3311224579811096,
-0.5864318609237671,
-0.6501374840736389,
0.5427203178405762,
0.34452807903289795,
-0.6816226840019226,
0.6132206320762634,
-0.32042258977890015,
-0.1450338065624237,
-0.40037500858306885,
0.642042875289917,
0.47161296010017395,
0.38507080078125,
0.3811589479446411,
-0.28617894649505615,
-0.4508904814720154,
-0.9980826377868652,
-0.05880628153681755,
-0.07916075736284256,
-0.14361001551151276,
-0.22276140749454498,
0.12244607508182526,
-0.4503537118434906,
0.8517676591873169,
-0.2744292616844177,
-0.09265381842851639,
-0.10341043025255203,
0.4852021634578705,
0.007186026778072119,
0.5324034094810486,
0.340243399143219,
-0.7593585848808289,
-0.4195951819419861,
-0.11186990141868591,
-0.3348519802093506,
-0.5288733243942261,
-0.06453339010477066,
-0.21919803321361542,
0.4341767430305481,
0.5593357086181641,
-0.7805027365684509,
0.5165488123893738,
0.7992163896560669,
-0.24438896775245667,
0.5593486428260803,
-0.27132120728492737,
-0.08589796721935272,
-1.0320037603378296,
0.08800651133060455,
-0.018145110458135605,
-0.266140878200531,
-0.5647972226142883,
-0.15899425745010376,
0.43586769700050354,
0.1498032659292221,
-0.1846868246793747,
0.20556789636611938,
-0.43692392110824585,
-0.05165150389075279,
-0.17975732684135437,
0.24232271313667297,
0.21873807907104492,
0.36341238021850586,
0.07217618077993393,
0.7754381895065308,
0.4403216540813446,
-0.4982617199420929,
0.3821659982204437,
-0.0018635110463947058,
-0.07579490542411804,
0.6003836989402771,
-0.8612110614776611,
0.07155991345643997,
-0.11659756302833557,
0.1402483433485031,
-1.438023567199707,
0.14166957139968872,
0.03470449149608612,
-0.26477113366127014,
0.5845361948013306,
-0.3439575135707855,
-0.702577531337738,
-0.18283012509346008,
-0.522014856338501,
0.8643684983253479,
0.3464486598968506,
-0.5846089720726013,
0.3774707317352295,
-0.034094419330358505,
-0.3514789938926697,
-0.6288635730743408,
-0.5622341632843018,
0.004260126035660505,
-0.13603575527668,
-0.5119225978851318,
0.18844959139823914,
-0.17674534022808075,
-0.14226678013801575,
-0.14206096529960632,
-0.21141858398914337,
0.1841656118631363,
-0.017450667917728424,
-0.030824994668364525,
0.3690600097179413,
-0.06956708431243896,
0.20869891345500946,
0.43269383907318115,
-0.2008267641067505,
0.10921401530504227,
-0.24988192319869995,
0.6059843897819519,
-0.20912979543209076,
-0.4282914698123932,
-0.32810279726982117,
0.28331461548805237,
0.6617141366004944,
-0.3285526931285858,
0.8087279796600342,
0.8251058459281921,
-0.37019863724708557,
-0.10961949825286865,
-0.3538571000099182,
-0.107085682451725,
-0.4804252088069916,
0.5408832430839539,
-0.3092207610607147,
-0.5214715003967285,
0.4226924479007721,
-0.11535194516181946,
0.07223778963088989,
0.15066851675510406,
0.7100218534469604,
-0.18098516762256622,
1.143444299697876,
0.36946889758110046,
-0.2601369023323059,
0.37653738260269165,
-0.20081014931201935,
0.45336559414863586,
-1.00324547290802,
0.15356828272342682,
-0.4657367467880249,
-0.3457372188568115,
-0.4836564064025879,
-0.5296798348426819,
0.4809364080429077,
0.33174818754196167,
-0.14356105029582977,
0.15258054435253143,
-0.18169152736663818,
0.24571217596530914,
0.6242198944091797,
-0.011782672256231308,
0.27168479561805725,
0.25078365206718445,
0.029473135247826576,
0.048800840973854065,
-0.6718359589576721,
0.08236213773488998,
0.9503029584884644,
0.16851159930229187,
0.9692411422729492,
0.3728853166103363,
0.7155216336250305,
0.26298388838768005,
0.10008576512336731,
-0.8174440264701843,
0.551120936870575,
0.04560011997818947,
-0.281064510345459,
-0.5031445622444153,
-0.8103004693984985,
-0.8547436594963074,
0.3250923752784729,
0.1739453226327896,
-0.22278881072998047,
0.3888230621814728,
0.18571367859840393,
-0.47381627559661865,
0.25932618975639343,
-0.7655328512191772,
0.6913244128227234,
-0.06624703854322433,
-0.5533504486083984,
-0.4743233025074005,
-0.5291261672973633,
0.2805057168006897,
-0.14038896560668945,
0.23538567125797272,
0.10764031857252121,
-0.2701014578342438,
0.7176405191421509,
-0.3282488286495209,
0.901838481426239,
-0.15264037251472473,
-0.49570217728614807,
0.12669482827186584,
0.39248308539390564,
0.8330265879631042,
-0.04059150442481041,
0.18202391266822815,
0.4617689847946167,
0.17517149448394775,
-0.7043289542198181,
-0.5478834509849548,
0.5473783016204834,
-0.6036380529403687,
-0.4866201877593994,
-0.1473129242658615,
-0.5653770565986633,
-0.26531875133514404,
0.28310561180114746,
0.05054672434926033,
0.5944413542747498,
0.2411354035139084,
0.5159494280815125,
0.6019403338432312,
-0.07505286484956741,
0.7026292085647583,
0.42129430174827576,
0.04453689232468605,
-0.5888917446136475,
0.7375556230545044,
-0.05892063304781914,
0.5598135590553284,
0.46195054054260254,
0.38335779309272766,
-0.35701632499694824,
-0.7309958338737488,
-0.4712565541267395,
0.4826241433620453,
-0.478217750787735,
-0.5015683770179749,
-0.2260608673095703,
-0.009747578762471676,
-0.45420414209365845,
0.09921017289161682,
-0.45850712060928345,
-0.43107661604881287,
-0.1370876431465149,
-0.05557335540652275,
0.12032687664031982,
0.33065029978752136,
-0.20073534548282623,
0.47935718297958374,
-0.7212884426116943,
0.3723103106021881,
0.4517607092857361,
0.4471350610256195,
-0.15170098841190338,
-0.6238731741905212,
-0.549005925655365,
0.09238818287849426,
-0.023392541334033012,
-0.7456619739532471,
0.2608909010887146,
0.1673450917005539,
0.17605043947696686,
0.6899603605270386,
0.08952219784259796,
0.9016686677932739,
-0.24511273205280304,
0.5032597184181213,
0.20656996965408325,
-1.231785774230957,
0.381031334400177,
-0.20397940278053284,
0.36275506019592285,
0.24921445548534393,
0.212466761469841,
-0.6615315675735474,
-0.1399802267551422,
-0.29638931155204773,
-1.0928518772125244,
0.7811309099197388,
0.16758568584918976,
0.04065979644656181,
0.13794037699699402,
0.3029240071773529,
-0.3050890266895294,
0.5343700647354126,
-0.7387812733650208,
-0.13155420124530792,
0.1589779406785965,
-0.3362159729003906,
0.07489872723817825,
-0.6328018307685852,
-0.2097247987985611,
-0.2261250615119934,
0.6942326426506042,
-0.2169405072927475,
0.12046946585178375,
0.05268128216266632,
-0.19249434769153595,
-0.5613659024238586,
0.19034361839294434,
0.5282847881317139,
0.7044271230697632,
-0.20671825110912323,
0.3510547876358032,
0.16911743581295013,
-0.5887786149978638,
-0.014920594170689583,
0.20138995349407196,
-0.390744149684906,
-0.12001901865005493,
0.18873906135559082,
0.49899789690971375,
0.37575313448905945,
-0.5934698581695557,
0.5308358073234558,
0.08853208273649216,
0.015799295157194138,
0.13877896964550018,
-0.3988739252090454,
-0.03805088624358177,
0.16970516741275787,
0.3457376956939697,
-0.28123387694358826,
0.2161075472831726,
-0.27209556102752686,
-0.07509511709213257,
0.7866238951683044,
-0.012849154882133007,
-0.347638338804245,
0.4498128890991211,
0.26694026589393616,
0.046102382242679596,
0.508783221244812,
-0.195807084441185,
-0.5811640620231628,
0.4593910276889801,
0.670977771282196,
1.025048851966858,
-0.27717363834381104,
0.021745411679148674,
0.22477395832538605,
0.4842774271965027,
0.16194549202919006,
0.13754881918430328,
-0.5070347785949707,
-0.6758882403373718,
-0.5234917998313904,
-0.639303982257843,
-0.3246932923793793,
0.08158457279205322,
-0.5727220177650452,
0.16915161907672882,
-0.4499412178993225,
0.10520023107528687,
-0.42120635509490967,
0.1448880434036255,
-0.2829054594039917,
0.07325433194637299,
0.25790074467658997,
0.551159143447876,
-0.7063241600990295,
0.797788679599762,
0.6241521239280701,
-0.07574482262134552,
-0.5535125136375427,
0.1970514953136444,
-0.2643561065196991,
-0.6694148778915405,
0.5115089416503906,
-0.13199102878570557,
-0.36135947704315186,
0.16340574622154236,
-0.40247300267219543,
-0.8375882506370544,
0.8664185404777527,
0.14758525788784027,
-0.7409383058547974,
-0.035976700484752655,
0.13888201117515564,
0.3958843946456909,
0.2095770388841629,
0.17677044868469238,
0.6495939493179321,
0.49270758032798767,
0.2433146834373474,
-0.6964706778526306,
0.31934699416160583,
-0.015363163314759731,
0.2668178379535675,
0.3740752339363098,
-0.8415508270263672,
0.5002712607383728,
-0.17911922931671143,
-0.20526231825351715,
-0.04702932760119438,
0.6615785360336304,
0.33270785212516785,
0.06401515752077103,
0.5469456315040588,
0.5831068158149719,
0.5917826294898987,
-0.1293666660785675,
0.7654035091400146,
-0.1790623664855957,
0.4075954854488373,
0.9016083478927612,
-0.2826797664165497,
0.7041184902191162,
0.7425177693367004,
-0.5020764470100403,
0.592742383480072,
0.562928318977356,
0.3513650894165039,
0.3991951048374176,
0.06901407986879349,
-0.3851794898509979,
-0.3651483356952667,
0.4504343867301941,
-0.20136407017707825,
0.2126694768667221,
0.371075838804245,
0.08482909947633743,
-0.32728761434555054,
-0.07231487333774567,
0.10324083268642426,
-0.3371296226978302,
-0.14327587187290192,
0.6409062147140503,
-0.04460103437304497,
-0.3541647493839264,
0.7731969356536865,
0.05200802534818649,
0.5408599376678467,
-0.6884047985076904,
0.07815411686897278,
-0.5748079419136047,
0.3147197961807251,
-0.17565995454788208,
-0.3665502071380615,
0.03965365141630173,
-0.3393055498600006,
-0.13214851915836334,
-0.10688378661870956,
0.522624135017395,
-0.7638274431228638,
-0.4879041016101837,
0.27512314915657043,
0.25468942523002625,
-0.15003204345703125,
-0.4018210470676422,
-0.4788329005241394,
0.18385525047779083,
-0.16169044375419617,
-0.533068835735321,
0.1933819204568863,
0.5334670543670654,
-0.13229094445705414,
0.5997185111045837,
0.7455395460128784,
0.4706551730632782,
0.09536874294281006,
0.28414201736450195,
0.6973475813865662,
-0.4339084029197693,
-0.46829119324684143,
-0.9427503943443298,
0.3864653408527374,
-0.032857201993465424,
0.17202366888523102,
0.8824107646942139,
0.5990697145462036,
0.6250672340393066,
0.053738974034786224,
0.5412507653236389,
0.04978203400969505,
0.23078979551792145,
-0.4611256718635559,
0.5079628229141235,
-0.7711597681045532,
0.40517479181289673,
-0.13956211507320404,
-0.8517928123474121,
-0.512688398361206,
0.2881583273410797,
-0.329551100730896,
0.25061339139938354,
0.49087822437286377,
0.8695976734161377,
-0.03081659786403179,
-0.38577309250831604,
0.4864695966243744,
0.34193286299705505,
0.36195632815361023,
0.49028098583221436,
0.6570413708686829,
-0.4548891484737396,
0.6325135231018066,
-0.33307144045829773,
-0.45028170943260193,
-0.6565141677856445,
-0.7104330062866211,
-0.7598467469215393,
-0.38106435537338257,
-0.529984712600708,
-0.40145343542099,
-0.04854004830121994,
0.745544970035553,
0.9007521271705627,
-0.8359103798866272,
-0.23749060928821564,
-0.22882388532161713,
0.38108864426612854,
-0.3794487416744232,
-0.2300257384777069,
0.5403146147727966,
-0.5823416113853455,
-0.8891931176185608,
0.27110689878463745,
0.5152896642684937,
0.25259822607040405,
-0.476081907749176,
-0.02100147120654583,
-0.06311356276273727,
0.3412306010723114,
0.6960041522979736,
0.2767847776412964,
-0.45089808106422424,
0.012117292732000351,
-0.32590973377227783,
-0.1278035044670105,
-0.004046001471579075,
0.7776952981948853,
-0.6354439854621887,
0.5705260038375854,
0.5693987011909485,
0.464066743850708,
0.46847254037857056,
0.36168181896209717,
0.44596537947654724,
-1.0616250038146973,
0.3089609146118164,
0.09510660916566849,
0.35381826758384705,
0.3037112355232239,
-0.4182465672492981,
0.24248477816581726,
0.5544803738594055,
-0.42874354124069214,
-1.0067412853240967,
-0.012843637727200985,
-0.9444512128829956,
-0.15553851425647736,
1.184881567955017,
0.11615869402885437,
-0.3610515296459198,
0.06234697625041008,
-0.14171552658081055,
0.2511039972305298,
-0.2718717157840729,
0.9502881765365601,
0.6051363945007324,
0.15775470435619354,
-0.30650806427001953,
-0.17890514433383942,
0.6510551571846008,
0.7620015144348145,
-0.911547839641571,
0.4471513330936432,
0.5499904155731201,
0.23117695748806,
0.08310514688491821,
0.20316538214683533,
-0.26145994663238525,
0.5175129175186157,
-0.13572347164154053,
0.44382601976394653,
-0.02913433499634266,
-0.42594289779663086,
-0.6318528652191162,
-0.159087136387825,
0.01863054186105728,
-0.4003767967224121
] |
http://arxiv.org/abs/2405.15334v1
|
http://arxiv.org/pdf/2405.15334v1
|
Detection and Positive Reconstruction of Cognitive Distortion sentences: Mandarin Dataset and Evaluation
| 2024-05-24T08:17:20 | 2024-05-24T08:17:20 |
Shuya Lin, Yuxiong Wang, Jonathan Dong, Shiguang Ni
|
cs.CL
|
cs.CL
|
This research introduces a Positive Reconstruction Framework based on
positive psychology theory. Overcoming negative thoughts can be challenging,
our objective is to address and reframe them through a positive
reinterpretation. To tackle this challenge, a two-fold approach is necessary:
identifying cognitive distortions and suggesting a positively reframed
alternative while preserving the original thought's meaning. Recent studies
have investigated the application of Natural Language Processing (NLP) models
in English for each stage of this process. In this study, we emphasize the
theoretical foundation for the Positive Reconstruction Framework, grounded in
broaden-and-build theory. We provide a shared corpus containing 4001 instances
for detecting cognitive distortions and 1900 instances for positive
reconstruction in Mandarin. Leveraging recent NLP techniques, including
transfer learning, fine-tuning pretrained networks, and prompt engineering, we
demonstrate the effectiveness of automated tools for both tasks. In summary,
our study contributes to multilingual positive reconstruction, highlighting the
effectiveness of NLP in cognitive distortion detection and positive
reconstruction.
|
[
-0.5252404808998108,
-0.8631864786148071,
0.23463617265224457,
0.37562066316604614,
-0.15700967609882355,
-0.4187319576740265,
-0.39272862672805786,
-0.7079170942306519,
0.2850627601146698,
0.7109726667404175,
-0.5427404642105103,
-0.012203686870634556,
-0.4472673535346985,
0.33336952328681946,
-0.564899742603302,
1.0197850465774536,
0.10231736302375793,
0.24666036665439606,
0.2381572723388672,
0.08352085202932358,
-1.0691871643066406,
-0.4203681945800781,
-0.917818009853363,
-0.2218763530254364,
-0.053927697241306305,
0.14140057563781738,
0.8220910429954529,
0.06812215596437454,
0.28541436791419983,
0.20227524638175964,
0.069401815533638,
-0.05323623865842819,
-0.45453405380249023,
0.19703227281570435,
-0.3856980502605438,
-0.5072565674781799,
-0.20393003523349762,
0.05936746299266815,
0.470720112323761,
0.39640891551971436,
-0.15754690766334534,
-0.009452104568481445,
0.15236510336399078,
0.468011736869812,
-0.49936264753341675,
0.09325796365737915,
-1.0117356777191162,
0.348294734954834,
0.06314390152692795,
-0.2163979411125183,
-0.43091335892677307,
-0.3743056654930115,
-0.10096761584281921,
-0.7873459458351135,
0.3774909973144531,
-0.16215594112873077,
1.0285178422927856,
0.16826000809669495,
-0.6166964769363403,
-0.415747731924057,
-0.7725398540496826,
0.9290223121643066,
-0.8288339376449585,
0.2646913528442383,
0.5270167589187622,
0.28576111793518066,
-0.2076902836561203,
-0.3343891501426697,
-0.661156952381134,
-0.24814032018184662,
-0.16478748619556427,
0.12685494124889374,
-0.03847435489296913,
-0.007241062354296446,
0.20177315175533295,
0.651808500289917,
-0.5538182258605957,
-0.17042148113250732,
-0.2510773837566376,
-0.7966479063034058,
0.5755963325500488,
-0.031702518463134766,
0.6031445860862732,
-0.438220739364624,
-0.25286638736724854,
-0.11640142649412155,
-0.4572802782058716,
-0.2783428132534027,
0.12908776104450226,
0.544417142868042,
0.06902377307415009,
0.611565351486206,
-0.20614901185035706,
0.558140218257904,
-0.12273164093494415,
-0.034887008368968964,
0.42783960700035095,
-0.8589891791343689,
-0.4869160056114197,
0.0832991749048233,
0.4661024510860443,
0.3215610086917877,
0.6977403163909912,
0.04709840193390846,
-0.3106236159801483,
0.6316209435462952,
0.6215576529502869,
-0.4622576832771301,
0.1541472226381302,
0.04265933483839035,
-0.22767360508441925,
-0.09762213379144669,
-0.08346888422966003,
-0.48572060465812683,
-0.5332557559013367,
-0.6701982021331787,
0.41881704330444336,
-0.7387555241584778,
-0.3014409840106964,
0.8484399318695068,
-0.11314205080270767,
0.49575185775756836,
0.35790562629699707,
-0.5476168990135193,
0.21346525847911835,
0.854835569858551,
0.5112084746360779,
0.08331737667322159,
-0.0904344767332077,
-0.2125033140182495,
-0.19919095933437347,
-0.3558292090892792,
0.7406682372093201,
0.09916050732135773,
-0.14736725389957428,
0.27473992109298706,
0.23421961069107056,
0.12932313978672028,
-0.5583124756813049,
1.138501524925232,
-0.24761758744716644,
0.6782324910163879,
-0.08134206384420395,
-0.4375617802143097,
-0.20038466155529022,
1.0286673307418823,
-0.7120887041091919,
0.8359200954437256,
0.06790546327829361,
-0.7931151390075684,
0.2607367932796478,
-0.17104806005954742,
-0.9059226512908936,
-0.29838696122169495,
-0.13835349678993225,
-0.46690070629119873,
0.15155324339866638,
0.5039088129997253,
0.44325706362724304,
-0.29174211621284485,
0.16807615756988525,
-0.042474936693906784,
-0.1323918104171753,
0.05843036249279976,
-0.5324507355690002,
1.2552731037139893,
0.07311510294675827,
-0.32856371998786926,
0.11682100594043732,
-0.6038585305213928,
-0.07369852811098099,
-0.04169987887144089,
-0.17037446796894073,
-0.3991325795650482,
-0.19873856008052826,
0.07445456832647324,
0.36072027683258057,
-0.048840444535017014,
-0.6046968698501587,
0.264163613319397,
-0.5780603885650635,
0.1633811742067337,
0.5650123357772827,
0.3145042359828949,
0.23618556559085846,
-0.37910574674606323,
0.6151834726333618,
0.055578768253326416,
0.19173458218574524,
-0.1789274513721466,
-0.39006900787353516,
-0.8384413719177246,
-0.08232877403497696,
-0.4231516718864441,
0.6535584926605225,
-1.0068550109863281,
0.21569766104221344,
-0.09911652654409409,
-0.2827357351779938,
-0.5454535484313965,
-0.07959181815385818,
0.24767209589481354,
0.7493796944618225,
0.687669038772583,
-0.44654449820518494,
-0.9287795424461365,
-0.9070318937301636,
-0.4973638653755188,
-0.17233224213123322,
-0.0653923824429512,
0.12985479831695557,
0.2922615110874176,
-0.2770378589630127,
0.41646164655685425,
-0.5528061389923096,
-0.7983419299125671,
-0.12690939009189606,
0.10032806545495987,
0.4522373378276825,
0.43001827597618103,
0.5779714584350586,
-0.8769180178642273,
-0.42726659774780273,
-0.2923995554447174,
-0.6530064940452576,
0.2839696705341339,
-0.7626288533210754,
-0.29975080490112305,
0.09825152158737183,
0.4260581135749817,
-0.6676272749900818,
0.4244976341724396,
0.18753500282764435,
-0.7045250535011292,
1.0574651956558228,
0.05975234881043434,
0.33468154072761536,
-1.0209342241287231,
-0.35579797625541687,
0.1754329651594162,
-0.2692396640777588,
-0.6650711894035339,
0.12151749432086945,
-0.05445542186498642,
0.11891181021928787,
-0.2986392378807068,
0.13713501393795013,
-0.5857045650482178,
0.1677091121673584,
-0.11857885122299194,
0.2200215756893158,
0.028011437505483627,
0.3827733099460602,
0.0522950105369091,
0.44830408692359924,
0.527091383934021,
-0.4623498022556305,
0.2785475552082062,
0.27042698860168457,
-0.5588067770004272,
0.5609375238418579,
-0.2980844974517822,
-0.17912983894348145,
-0.3898041844367981,
0.16501562297344208,
-1.0955381393432617,
0.07598799467086792,
0.32895180583000183,
-0.3673008680343628,
0.25216320157051086,
0.2435285747051239,
0.0021736575290560722,
-0.3310069143772125,
-0.6038658618927002,
0.4708109200000763,
0.2663644850254059,
-0.28266671299934387,
0.16191023588180542,
0.32758629322052,
0.06198743358254433,
-0.537996232509613,
-0.9989879131317139,
0.3015022575855255,
-0.1691940575838089,
-0.3328627049922943,
0.5065678954124451,
0.12821441888809204,
-0.21052224934101105,
-0.18632473051548004,
0.12893202900886536,
-0.12290101498365402,
0.22389939427375793,
-0.11114606261253357,
0.33758705854415894,
-0.4646264910697937,
0.06654729694128036,
-0.3866336941719055,
0.10188490152359009,
0.13554754853248596,
-0.17038872838020325,
0.5781977772712708,
-0.15270690619945526,
-0.18633446097373962,
-0.5284329056739807,
-0.07374994456768036,
0.3601112365722656,
-0.30595219135284424,
0.525411069393158,
0.8185389637947083,
-0.785548746585846,
0.005073951091617346,
-0.5484386086463928,
-0.20707941055297852,
-0.3841397762298584,
0.4825570285320282,
-0.10201595723628998,
-0.7147037982940674,
0.231349915266037,
0.532164990901947,
-0.12752945721149445,
0.43464982509613037,
0.5098481774330139,
0.10885457694530487,
0.6566358208656311,
0.5918389558792114,
-0.46204090118408203,
0.6893106698989868,
-0.22038470208644867,
0.21533288061618805,
-0.8608744144439697,
0.2011691778898239,
-0.5250254273414612,
-0.01876695267856121,
-0.3040493130683899,
-0.28640079498291016,
-0.03212452307343483,
0.16946463286876678,
-0.37302273511886597,
0.6661901473999023,
-0.7038907408714294,
0.26955646276474,
0.2563152015209198,
0.145440474152565,
0.4002920985221863,
-0.005417177453637123,
0.22215397655963898,
-0.19466404616832733,
-0.24546697735786438,
-0.4921071231365204,
0.8241841793060303,
0.04682256653904915,
0.3226066529750824,
0.16400237381458282,
0.5428413152694702,
0.3539331555366516,
0.711498498916626,
-1.0744357109069824,
0.5186814665794373,
0.07891668379306793,
-0.7194464206695557,
-0.43675705790519714,
-0.2944715619087219,
-0.958684504032135,
0.26460984349250793,
-0.4527210295200348,
-0.6920903921127319,
0.08118167519569397,
0.16448147594928741,
-0.2205871045589447,
0.1492345631122589,
-0.7043113112449646,
0.8646321296691895,
-0.1823132038116455,
-0.09839979559183121,
-0.5748461484909058,
-0.34931954741477966,
0.7821798920631409,
0.10852967202663422,
0.37370431423187256,
-0.006922659929841757,
0.5510435104370117,
0.25190475583076477,
0.04082963988184929,
0.7565819025039673,
-0.32412633299827576,
-0.3618702292442322,
0.44541507959365845,
0.39569759368896484,
0.18832401931285858,
0.17500323057174683,
-0.3330942690372467,
-0.11511754244565964,
0.026418307796120644,
-0.37311801314353943,
-0.5653332471847534,
0.25371578335762024,
-0.5371319055557251,
-0.5279238820075989,
-0.23904071748256683,
-0.404335081577301,
-0.213596910238266,
0.49076011776924133,
0.10637378692626953,
0.2521894574165344,
-0.5772289037704468,
-0.21170945465564728,
0.09295789897441864,
-0.532342791557312,
0.17511145770549774,
0.17827098071575165,
-0.49444207549095154,
-0.29989340901374817,
0.7813807129859924,
-0.026937734335660934,
0.1827046126127243,
0.5095590949058533,
-0.1236853301525116,
0.06133211776614189,
-0.5077084302902222,
0.030252275988459587,
0.3215736448764801,
-0.3942832350730896,
-0.33901849389076233,
0.09609583765268326,
-0.10899130254983902,
-0.6032094359397888,
0.037087976932525635,
-0.45162248611450195,
-0.6646699905395508,
-0.3207029104232788,
-0.29752615094184875,
-0.26671719551086426,
0.3640596866607666,
-0.00487256795167923,
-0.2852196991443634,
-0.4328804910182953,
0.7679128646850586,
-0.1205582320690155,
0.06239612400531769,
0.30403226613998413,
-0.443583607673645,
-0.3757418692111969,
0.46797996759414673,
-0.6150121688842773,
-0.8276166915893555,
0.6356959342956543,
0.16853779554367065,
0.2831636667251587,
0.4325500428676605,
0.1995972990989685,
0.6666144728660583,
-0.35563239455223083,
1.0540450811386108,
0.21943293511867523,
-0.8039796352386475,
0.5531432032585144,
0.040057938545942307,
0.3514111638069153,
0.4083322286605835,
0.4188310205936432,
-1.0880330801010132,
-0.443258136510849,
-0.3117528557777405,
-0.7894781231880188,
0.3130090534687042,
0.1952483355998993,
0.14293093979358673,
-0.4196760952472687,
0.6246230006217957,
-0.03582117334008217,
-0.060367099940776825,
-0.9129022359848022,
0.034731604158878326,
-0.7125940322875977,
-0.2676657736301422,
-0.47253116965293884,
0.023877650499343872,
-0.06180519983172417,
-0.3552905321121216,
0.9445440173149109,
-0.035235147923231125,
0.5465368628501892,
0.5741180777549744,
-0.4461158514022827,
0.228583425283432,
0.4795440435409546,
0.6494001150131226,
0.11134643107652664,
-0.2104506492614746,
0.2823343575000763,
0.030054740607738495,
-0.43862560391426086,
0.13537469506263733,
-0.10635004192590714,
-0.09446971118450165,
-0.1798335760831833,
0.7725927829742432,
0.4786137640476227,
-0.050417643040418625,
-0.5936144590377808,
0.6381973624229431,
-0.2787809371948242,
0.07742493599653244,
-0.5495882034301758,
-0.1086638942360878,
-0.02018837444484234,
0.02994403801858425,
0.2925092875957489,
0.2930178940296173,
0.2836134135723114,
-0.8037258982658386,
0.33199742436408997,
0.5009462237358093,
-0.5982732772827148,
-0.6528960466384888,
0.33602118492126465,
-0.19164913892745972,
-0.4691218435764313,
1.1056309938430786,
-0.3337620794773102,
-0.7702655792236328,
0.6532857418060303,
0.932106077671051,
0.8570803999900818,
-0.1354989856481552,
0.3959719240665436,
0.758337676525116,
0.5191089510917664,
-0.18517360091209412,
0.4021943211555481,
-0.014965753071010113,
-1.6319878101348877,
-0.6358004808425903,
-0.2358928769826889,
0.1303783357143402,
0.14826200902462006,
-1.1291024684906006,
0.19267019629478455,
-0.333994060754776,
-0.2653478980064392,
-0.1268317550420761,
-0.25232669711112976,
-0.65317302942276,
0.35862651467323303,
0.426822304725647,
0.879597008228302,
-0.7588199377059937,
0.7872284054756165,
0.501474916934967,
-0.5970014333724976,
-0.8029087781906128,
0.023506348952651024,
0.07716510444879532,
-0.8602539896965027,
0.25452208518981934,
0.35515838861465454,
-0.14749100804328918,
-0.25780153274536133,
-0.23410731554031372,
-0.41482415795326233,
0.8104299306869507,
0.5955532789230347,
-0.32467028498649597,
-0.1477733850479126,
0.2293534278869629,
0.8248761296272278,
0.024342495948076248,
0.07537785172462463,
0.5206737518310547,
0.48540517687797546,
-0.5415459275245667,
-0.9716596007347107,
0.3864276707172394,
-0.10440909117460251,
-0.2824132740497589,
0.14838340878486633,
-0.3639049232006073,
0.7583059072494507,
-0.05333755537867546,
-0.5709633231163025,
0.0717979446053505,
0.5384010672569275,
-0.26870760321617126,
-0.10122612863779068,
0.6216534376144409,
0.47641897201538086,
0.7640729546546936,
0.15126259624958038,
0.9961927533149719,
-0.2847823202610016,
0.4808880090713501,
1.067816972732544,
0.048962272703647614,
0.7997832894325256,
0.769977867603302,
-0.1416369527578354,
0.4777390658855438,
0.307340532541275,
0.09290006011724472,
0.44917476177215576,
0.10004404932260513,
-0.06657373905181885,
-0.10523740202188492,
-0.24372167885303497,
-0.2682580053806305,
0.33558112382888794,
0.4746035933494568,
-0.1988411247730255,
-0.15008966624736786,
0.22119289636611938,
-0.09638331830501556,
0.30034396052360535,
-0.49169400334358215,
0.4317268133163452,
0.21944211423397064,
-0.9288925528526306,
0.8326064348220825,
0.06168418377637863,
0.9408741593360901,
-0.29959750175476074,
-0.07664455473423004,
-0.20137521624565125,
0.45255711674690247,
-0.34552106261253357,
-0.7262277603149414,
0.8542142510414124,
-0.376647025346756,
0.031792525202035904,
-0.4997328221797943,
0.9548392295837402,
-0.39569634199142456,
-0.26390302181243896,
0.2684491276741028,
0.17961660027503967,
-0.10660245269536972,
-0.3226505517959595,
-0.7044290900230408,
-0.23608015477657318,
0.5857922434806824,
-0.21396076679229736,
0.017618266865611076,
0.31448137760162354,
-0.024857068434357643,
0.39747464656829834,
0.30788564682006836,
0.11610676348209381,
-0.05230414494872093,
0.28825119137763977,
0.47993430495262146,
-0.8834577202796936,
-0.2588658630847931,
-0.8117499947547913,
0.4648212492465973,
-0.03995398432016373,
-0.4377214014530182,
0.9427646398544312,
0.512322187423706,
1.2994619607925415,
-0.17103438079357147,
0.637941837310791,
0.17800569534301758,
0.25826987624168396,
-0.4374876320362091,
0.4274161458015442,
-0.2680690884590149,
0.1812048852443695,
-0.6337065696716309,
-0.7270691990852356,
-0.8261383175849915,
1.0692312717437744,
-0.37941738963127136,
-0.44696831703186035,
0.5273436307907104,
0.9671311378479004,
-0.10186892002820969,
0.286037802696228,
0.061966121196746826,
0.5762110352516174,
0.5266703963279724,
0.6148853302001953,
0.8953691124916077,
-0.644671618938446,
0.40270328521728516,
-0.22649651765823364,
-0.09234735369682312,
0.12450584769248962,
-0.8192493915557861,
-0.4276130497455597,
-0.5834481716156006,
-0.3017949163913727,
-0.516221821308136,
-0.15615937113761902,
0.756293535232544,
0.44930776953697205,
-0.901831865310669,
-0.2815198302268982,
-0.4367845952510834,
0.298306941986084,
-0.6240256428718567,
-0.39473482966423035,
0.3639831244945526,
-0.4114435911178589,
-0.3081722855567932,
0.27172330021858215,
0.08356480300426483,
-0.02745719626545906,
-0.29064857959747314,
-0.0030130213126540184,
-0.4177185893058777,
0.17970003187656403,
0.7722413539886475,
0.33712467551231384,
-0.3810323476791382,
-0.7184403538703918,
-0.11043524742126465,
-0.15320686995983124,
0.33060789108276367,
0.906112790107727,
-0.7760722041130066,
0.4721347689628601,
0.2804192900657654,
0.7640382647514343,
0.7821916341781616,
-0.12454904615879059,
0.7655872702598572,
-0.5646870136260986,
0.22058603167533875,
0.489606112241745,
0.605133593082428,
0.6647419333457947,
-0.3887830972671509,
0.5241560339927673,
0.22034557163715363,
-0.2872338593006134,
-0.8376912474632263,
0.6313315033912659,
-0.8477968573570251,
-0.5235767960548401,
0.9437901973724365,
0.014122839085757732,
0.08565964549779892,
-0.1479499191045761,
-0.6964606642723083,
0.48754626512527466,
0.08882374316453934,
1.136850357055664,
0.9767351746559143,
-0.4813849627971649,
0.24529658257961273,
-0.22416068613529205,
0.3591742217540741,
0.7289982438087463,
-0.6867856979370117,
-0.028120853006839752,
0.5412562489509583,
0.14130009710788727,
0.3600309491157532,
0.7198588252067566,
-0.13647714257240295,
0.05153597146272659,
-0.12439196556806564,
0.21822121739387512,
0.2771119177341461,
-0.0406348779797554,
-0.34035104513168335,
0.10704551637172699,
0.044539108872413635,
0.10811952501535416
] |
http://arxiv.org/abs/2406.00025v1
|
http://arxiv.org/pdf/2406.00025v1
|
SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Models
| 2024-05-24T08:16:22 | 2024-05-24T08:16:22 |
Jiaxing Li, Chi Xu, Feng Wang, Isaac M von Riedemann, Cong Zhang, Jiangchuan Liu
|
cs.CL
|
cs.CL, cs.AI
|
Large Language Models (LLMs) have become increasingly popular, transforming a
wide range of applications across various domains. However, the real-world
effectiveness of their query cache systems has not been thoroughly
investigated. In this work, we for the first time conducted an analysis on
real-world human-to-LLM interaction data, identifying key challenges in
existing caching solutions for LLM-based chat services. Our findings reveal
that current caching methods fail to leverage semantic connections, leading to
inefficient cache performance and extra token costs. To address these issues,
we propose SCALM, a new cache architecture that emphasizes semantic analysis
and identifies significant cache entries and patterns. We also detail the
implementations of the corresponding cache storage and eviction strategies. Our
evaluations show that SCALM increases cache hit ratios and reduces operational
costs for LLMChat services. Compared with other state-of-the-art solutions in
GPTCache, SCALM shows, on average, a relative increase of 63% in cache hit
ratio and a relative improvement of 77% in tokens savings.
|
[
-0.12350873649120331,
-0.7530187964439392,
0.42730146646499634,
0.37923213839530945,
-0.1416248232126236,
0.2625129818916321,
-0.4234159588813782,
-0.8725935220718384,
0.49290257692337036,
0.5886372327804565,
-0.512009859085083,
-0.5127976536750793,
-0.5064461827278137,
-0.18111467361450195,
-0.5460524559020996,
0.20992478728294373,
0.10481344908475876,
0.06410019844770432,
-0.36283379793167114,
0.09227762371301651,
-0.6438003182411194,
-0.5573220252990723,
-0.863974392414093,
-0.13655297458171844,
0.5998526811599731,
0.47813093662261963,
0.7183981537818909,
0.6542790532112122,
0.4856959283351898,
0.33895203471183777,
-0.03663667291402817,
0.3308059871196747,
-0.8111276030540466,
0.6400958895683289,
-0.15000981092453003,
-0.604590654373169,
-0.3916209638118744,
-0.2744768559932709,
0.5472251772880554,
0.46187373995780945,
-0.6116520762443542,
-0.2083008736371994,
-0.19652126729488373,
0.6294158697128296,
-0.9334302544593811,
0.3640814423561096,
-1.0092298984527588,
-0.14900855720043182,
-0.32859715819358826,
-0.4035226106643677,
-0.5087423920631409,
-0.14942890405654907,
0.3336530327796936,
-0.5199609398841858,
-0.00029339210595935583,
0.08752117305994034,
0.7334390878677368,
0.316648930311203,
-0.29845142364501953,
-0.6929494142532349,
-0.6631690859794617,
0.8700069189071655,
-0.8764374852180481,
0.2554902136325836,
0.5303341746330261,
0.3969312906265259,
-0.5487768054008484,
-0.8397167325019836,
-0.4851503074169159,
-0.024174770340323448,
0.184007927775383,
0.08355811983346939,
-0.33340510725975037,
-0.09456154704093933,
-0.2773089110851288,
0.26907333731651306,
-0.4527943730354309,
0.3495475947856903,
-0.3292802572250366,
-0.31467610597610474,
0.49844011664390564,
0.6836486458778381,
0.5245285630226135,
0.22238682210445404,
-0.49169012904167175,
-0.01865604892373085,
-0.8159440755844116,
-0.4095052182674408,
0.22978204488754272,
0.588681161403656,
-0.10770285874605179,
0.4080792963504791,
-0.4515560269355774,
0.3410806357860565,
-0.35543978214263916,
-0.06808535754680634,
-0.1390540450811386,
-0.1711239218711853,
-0.10184499621391296,
0.30503779649734497,
0.3495997488498688,
0.5704775452613831,
0.2136119306087494,
-0.374632328748703,
0.16722959280014038,
0.18522754311561584,
0.22700873017311096,
-1.0086480379104614,
-0.19054056704044342,
0.23707419633865356,
-0.2157181054353714,
-0.1748049110174179,
-0.03909797593951225,
-0.3194614052772522,
-0.4825833737850189,
-0.1144644245505333,
-0.009918986819684505,
-0.10935851186513901,
-0.2753749191761017,
0.48733285069465637,
0.16796095669269562,
0.3291579782962799,
0.5639836192131042,
-0.8179541230201721,
0.582200825214386,
0.6703082919120789,
0.8831211924552917,
-0.6009346842765808,
-0.00503200339153409,
-0.4962007999420166,
0.39396917819976807,
-0.26742658019065857,
0.9484319686889648,
-0.5972436666488647,
-0.5236045718193054,
0.2680639624595642,
0.15709494054317474,
-0.03609105944633484,
-0.491436243057251,
0.18247754871845245,
-0.8741026520729065,
-0.027007579803466797,
-0.334274560213089,
-0.706343948841095,
0.012229682877659798,
0.22910435497760773,
-0.5442634224891663,
1.14810311794281,
-0.2331155687570572,
-0.4936371445655823,
0.21428269147872925,
-0.35196346044540405,
-0.369869589805603,
0.3315991759300232,
-0.11742423474788666,
0.07145678251981735,
0.0070475023239851,
-0.10193129628896713,
0.3864889144897461,
-0.6678225994110107,
0.21316510438919067,
-0.2612674832344055,
-0.5959591269493103,
0.13436384499073029,
-0.32079780101776123,
0.24467705190181732,
0.46989935636520386,
-0.13386894762516022,
0.17120610177516937,
-0.44747334718704224,
0.2455284595489502,
0.12494095414876938,
-0.3832709491252899,
-0.20441818237304688,
0.42356231808662415,
0.0243727657943964,
0.2810279428958893,
0.3396209478378296,
-0.40173575282096863,
0.279551237821579,
-0.5097618699073792,
0.6012795567512512,
0.6850362420082092,
-0.1688331812620163,
0.6540507078170776,
-0.13661646842956543,
0.3945786952972412,
0.0023122273851186037,
0.07212844491004944,
-0.48787400126457214,
-0.32166925072669983,
-0.9174439311027527,
-0.2853846549987793,
-0.0563448891043663,
0.4161298871040344,
-0.31815531849861145,
0.1904095858335495,
-0.3090347349643707,
-0.5314667820930481,
-0.23397791385650635,
0.16279543936252594,
0.25854140520095825,
0.10449343174695969,
0.11874496191740036,
-0.6676285266876221,
-0.2935499846935272,
-0.8486288785934448,
-0.2667396068572998,
-0.2677133083343506,
0.14853334426879883,
0.5883652567863464,
0.10258156806230545,
-0.34525635838508606,
1.0460448265075684,
-0.4570620656013489,
-0.19708073139190674,
0.07071807235479355,
0.010752439498901367,
-0.3230232298374176,
0.3517626225948334,
0.07640847563743591,
-0.47458547353744507,
-0.4215554893016815,
-0.33967113494873047,
-0.42290636897087097,
-0.21428583562374115,
0.14555887877941132,
-0.1623927801847458,
0.5434426069259644,
0.7197700142860413,
-0.7788411974906921,
0.7962560653686523,
0.3599686622619629,
-0.01068860199302435,
0.40569132566452026,
-0.2503267228603363,
0.02602536976337433,
-0.673581600189209,
-0.05445759743452072,
-0.4900916516780853,
-0.15792015194892883,
-0.39513131976127625,
0.022810306400060654,
0.039531052112579346,
-0.12636275589466095,
-0.8926857113838196,
0.8721078634262085,
-0.3877899646759033,
-0.25577545166015625,
-0.5578727126121521,
0.5452545285224915,
-0.07329724729061127,
0.37663379311561584,
-0.19328249990940094,
0.7720470428466797,
0.2822296917438507,
-0.6591500043869019,
0.3500285744667053,
0.06819964200258255,
-0.070920929312706,
0.40103045105934143,
-0.7513378858566284,
0.4049931764602661,
0.3364228308200836,
0.7029586434364319,
-1.3010379076004028,
-0.24509809911251068,
0.16100117564201355,
-0.17451520264148712,
0.06426947563886642,
-0.32042011618614197,
-1.0051631927490234,
-0.07855917513370514,
-0.11769460886716843,
0.4201340973377228,
0.07151494175195694,
-0.410349577665329,
0.7191384434700012,
0.45303308963775635,
-0.048665665090084076,
-0.41486281156539917,
-0.6083147525787354,
0.5923368334770203,
-0.08031050115823746,
-1.0291681289672852,
0.41054996848106384,
0.03515477478504181,
-0.19133420288562775,
-0.14286701381206512,
-0.33510032296180725,
0.14469951391220093,
0.21060985326766968,
0.4618844985961914,
0.15810441970825195,
-0.1225002259016037,
0.250691682100296,
-0.29012390971183777,
-0.41096407175064087,
-0.1423628181219101,
-0.34247520565986633,
1.1619023084640503,
-0.3073204457759857,
-0.7300310134887695,
-0.7413638830184937,
0.3853221535682678,
0.48670414090156555,
-0.014517700299620628,
0.7465788722038269,
0.4220248758792877,
-0.3734201490879059,
0.16986216604709625,
-0.9530348777770996,
-0.23099738359451294,
-0.5466567873954773,
0.3817533850669861,
0.02973397821187973,
-1.0625687837600708,
0.9115623235702515,
-0.17093311250209808,
-0.027367588132619858,
0.07042083889245987,
0.7652921676635742,
-0.1369362622499466,
1.1422703266143799,
0.458119660615921,
-0.21794544160366058,
0.4414792060852051,
0.00532164704054594,
0.23825955390930176,
-0.3305531442165375,
-0.164178729057312,
-0.6177616715431213,
-0.3066359758377075,
-0.5362840294837952,
-0.5735951066017151,
0.026075752452015877,
0.07999468594789505,
-0.37774938344955444,
0.13881739974021912,
-0.07562166452407837,
0.42720872163772583,
0.2235020101070404,
-0.019478533416986465,
0.4612007439136505,
-0.06043919920921326,
0.019322577863931656,
-0.11684209108352661,
-0.7029787302017212,
-0.6706782579421997,
0.571993887424469,
0.03803488239645958,
1.1155798435211182,
0.0424911268055439,
0.3678518235683441,
0.23293809592723846,
0.11620938777923584,
-0.8229311108589172,
0.6732191443443298,
0.19948968291282654,
-0.6309983730316162,
-0.12429002672433853,
-0.29843899607658386,
-1.1770379543304443,
0.32571372389793396,
-0.02536880597472191,
-0.9715689420700073,
-0.13391046226024628,
-0.037916719913482666,
0.17041736841201782,
0.30959954857826233,
-0.6767676472663879,
0.5312215089797974,
-0.30801892280578613,
-0.539554238319397,
-0.6608921885490417,
-0.8035334944725037,
0.11154618114233017,
0.32284191250801086,
0.11642801016569138,
-0.3146339952945709,
-0.13322831690311432,
0.6197900772094727,
-0.5482466816902161,
1.0755045413970947,
-0.08543897420167923,
-0.23539187014102936,
0.2666243314743042,
0.3850078880786896,
0.8805594444274902,
-0.14073285460472107,
-0.0076978085562586784,
-0.024528076872229576,
0.2299068570137024,
-0.7896791696548462,
-0.7022207975387573,
1.082193374633789,
-0.5466230511665344,
-0.6073641777038574,
-0.4675074517726898,
-0.6891641616821289,
-0.295640230178833,
0.19606100022792816,
-0.4747737646102905,
0.38820680975914,
-0.14562971889972687,
0.34977805614471436,
0.4579911231994629,
-0.3553255796432495,
0.3048689663410187,
0.8594990372657776,
-0.3883048892021179,
0.052630141377449036,
0.5490336418151855,
-0.1359988898038864,
0.556230366230011,
-0.05126518756151199,
0.06903181970119476,
-0.08075632154941559,
-0.2664588987827301,
-0.22046004235744476,
0.26248812675476074,
-0.9225151538848877,
-0.22961978614330292,
-0.7299717664718628,
-0.023551223799586296,
-0.11608356237411499,
-0.2261212170124054,
-0.7242555022239685,
-0.271962970495224,
-0.16642387211322784,
0.14954127371311188,
0.5731367468833923,
0.33775007724761963,
0.2663179636001587,
0.763023316860199,
-0.7315495014190674,
-0.2833970785140991,
0.004782373085618019,
0.28582024574279785,
0.5835438370704651,
-0.1234503984451294,
-0.32085952162742615,
0.11672917008399963,
-0.2816801071166992,
-0.31782183051109314,
0.38827869296073914,
0.10257650911808014,
0.3688703179359436,
0.5883888006210327,
0.03393115848302841,
1.1040517091751099,
-0.25231221318244934,
0.925631046295166,
0.15064281225204468,
-0.538418173789978,
0.232377290725708,
-0.2140999138355255,
0.2251698076725006,
0.5259117484092712,
0.01913820207118988,
-0.9602715373039246,
-0.32591018080711365,
-0.6147463321685791,
-1.2938586473464966,
0.6639208793640137,
0.016405202448368073,
0.5685265064239502,
-0.48535922169685364,
0.43553581833839417,
-0.11259694397449493,
0.040195249021053314,
0.0559118427336216,
-0.24178840219974518,
0.2979111671447754,
0.062235694378614426,
0.33393654227256775,
-0.21492119133472443,
0.01044962927699089,
0.1130843237042427,
0.518787145614624,
-0.022016942501068115,
0.24950851500034332,
-0.1707422286272049,
-0.29836583137512207,
-0.2584405839443207,
0.0305376835167408,
0.40356025099754333,
0.7792772650718689,
-0.050408944487571716,
0.1847696751356125,
0.3415223956108093,
-0.36695975065231323,
-0.28162050247192383,
-0.45975014567375183,
0.3433516323566437,
-0.4508056640625,
0.0979112759232521,
0.4169132113456726,
0.9392145872116089,
-1.0307400226593018,
0.511577308177948,
-0.30059754848480225,
0.17319799959659576,
-0.2775309681892395,
0.35521504282951355,
0.7419324517250061,
0.22118520736694336,
0.5346832871437073,
-0.3814939260482788,
-0.28063833713531494,
-0.650024950504303,
0.09511248022317886,
0.5877637267112732,
-0.700194776058197,
-0.03657495602965355,
0.2890915870666504,
0.14266273379325867,
-0.30516692996025085,
0.7381117343902588,
0.18076574802398682,
-0.5064404606819153,
0.4562402367591858,
0.7195156216621399,
0.48859164118766785,
-0.0898064449429512,
-0.19180746376514435,
-0.07905873656272888,
0.007634976413100958,
-0.11869003623723984,
0.1313748061656952,
-0.2115941345691681,
-0.6141570806503296,
-0.38839906454086304,
-0.340078204870224,
-0.6952478885650635,
-0.21676139533519745,
-0.6419824957847595,
0.3697367310523987,
-0.15084414184093475,
0.03262604773044586,
-0.38557010889053345,
0.3276062607765198,
-0.7925369143486023,
-0.10644085705280304,
-0.220516175031662,
1.0735851526260376,
-0.45347875356674194,
0.8217800855636597,
0.20882533490657806,
-0.27406829595565796,
-0.4516116976737976,
-0.5170901417732239,
0.2124374955892563,
-1.2102806568145752,
0.7526565194129944,
0.05573020502924919,
-0.6128132343292236,
-0.0012118349550291896,
-0.6716737151145935,
-0.8299099206924438,
1.3758147954940796,
0.24728631973266602,
-0.5111019611358643,
-0.11737518757581711,
0.17270596325397491,
0.5305783152580261,
-0.47853246331214905,
0.40254539251327515,
0.43557316064834595,
0.40908166766166687,
0.4722691774368286,
-0.7338826060295105,
0.1244143471121788,
-0.1570637971162796,
0.16566826403141022,
0.13570892810821533,
-0.7306962609291077,
0.3308572769165039,
0.17594203352928162,
-0.529883623123169,
0.44419699907302856,
0.6776995658874512,
0.2747671902179718,
0.338093101978302,
0.437588632106781,
0.43198278546333313,
0.7386140823364258,
0.1162690669298172,
1.027471661567688,
-0.5789921879768372,
0.15995581448078156,
1.2209378480911255,
-0.6887708902359009,
0.9663072228431702,
0.7097600698471069,
-0.18380802869796753,
0.3015405535697937,
0.5623123645782471,
0.48288843035697937,
0.3622034192085266,
0.6111822724342346,
-0.34611383080482483,
-0.3717759847640991,
-0.16485916078090668,
-0.321918249130249,
0.39993929862976074,
0.6919177770614624,
0.038008395582437515,
-0.5085473656654358,
-0.24148014187812805,
0.29152712225914,
-0.11657661199569702,
0.11483033001422882,
0.8081961274147034,
0.19978544116020203,
-0.30664175748825073,
0.3210929036140442,
0.027529088780283928,
0.6416049599647522,
-0.7047618627548218,
0.05497835949063301,
-0.19368302822113037,
0.1558058261871338,
-0.16502222418785095,
-0.2430284023284912,
0.1710158735513687,
-0.16923488676548004,
0.06152625381946564,
-0.025337224826216698,
0.9653052687644958,
-0.2681334912776947,
0.06152451038360596,
0.6427591443061829,
0.5677986741065979,
0.3588365316390991,
-0.11229024082422256,
-0.5226138234138489,
0.4636637270450592,
-0.5562660694122314,
-0.13305923342704773,
0.7021644115447998,
0.2605855464935303,
-0.2578524053096771,
1.0661001205444336,
0.9087768197059631,
0.07842390984296799,
0.2181977480649948,
0.15095290541648865,
0.951744556427002,
-0.5875004529953003,
-0.5905508995056152,
-0.7711642384529114,
0.15801295638084412,
0.04932878166437149,
-0.1043829694390297,
0.7323148250579834,
0.5135701298713684,
0.5839987397193909,
0.4523269534111023,
0.39379727840423584,
0.26478806138038635,
0.1835550218820572,
-0.43193402886390686,
0.6925347447395325,
-0.3932717442512512,
0.5788919925689697,
-0.15329401195049286,
-0.7394856810569763,
-0.43812400102615356,
0.4570325016975403,
-0.2958456873893738,
-0.11005903035402298,
0.3980056941509247,
1.2016839981079102,
-0.16453497111797333,
0.49701833724975586,
0.1084032729268074,
0.09244693070650101,
0.7347395420074463,
0.22481665015220642,
1.0951225757598877,
-0.40771833062171936,
0.5679996013641357,
0.18504872918128967,
0.01740383356809616,
-0.7394729852676392,
-1.0652350187301636,
-0.5698058009147644,
-0.5407993197441101,
-0.009492220357060432,
-0.31131285429000854,
0.2470235526561737,
0.8937267065048218,
0.8846428990364075,
-0.5869345664978027,
-0.32504281401634216,
0.06299865245819092,
-0.05498168617486954,
0.1257857382297516,
-0.22048310935497284,
0.4452599883079529,
-0.7040975093841553,
-0.41339024901390076,
0.2952139675617218,
0.5835757255554199,
-0.2743399739265442,
-0.41264083981513977,
-0.28243592381477356,
-0.2668430507183075,
0.31439605355262756,
0.5336376428604126,
0.332344651222229,
-0.949154257774353,
-0.4619860053062439,
0.14258843660354614,
-0.44240912795066833,
0.1346721351146698,
1.0015922784805298,
-0.6143630743026733,
0.5394921898841858,
0.38280990719795227,
0.7963054776191711,
1.0549453496932983,
-0.25116968154907227,
0.423989862203598,
-0.4205593764781952,
0.16153383255004883,
-0.02184726484119892,
0.3145960867404938,
0.2787044048309326,
-0.12734989821910858,
0.379274845123291,
0.053036466240882874,
-0.5929211378097534,
-0.8374439477920532,
0.07002127170562744,
-1.2026286125183105,
-0.047462061047554016,
0.9971279501914978,
-0.09163327515125275,
-0.20046500861644745,
-0.4248061180114746,
-0.4046960175037384,
0.24733398854732513,
-0.4940158426761627,
0.8494526147842407,
0.8189315795898438,
-0.04728713631629944,
0.20774580538272858,
-0.6831670999526978,
0.10608386248350143,
0.46283337473869324,
-0.5801310539245605,
0.4449118971824646,
0.3014485239982605,
0.2644135653972626,
-0.1036502793431282,
0.7271263599395752,
-0.4482354521751404,
0.1530320793390274,
-0.3832121193408966,
-0.015059679746627808,
0.06284073740243912,
-0.07544408738613129,
0.15499959886074066,
-0.2994081974029541,
-0.15253464877605438,
0.21147006750106812
] |
http://arxiv.org/abs/2405.15329v2
|
http://arxiv.org/pdf/2405.15329v2
|
Decompose and Aggregate: A Step-by-Step Interpretable Evaluation Framework
| 2024-05-24T08:12:30 | 2024-06-14T08:32:19 |
Minzhi Li, Zhengyuan Liu, Shumin Deng, Shafiq Joty, Nancy F. Chen, Min-Yen Kan
|
cs.CL
|
cs.CL
|
The acceleration of Large Language Models (LLMs) research has opened up new
possibilities for evaluating generated texts. They serve as scalable and
economical evaluators, but the question of how reliable these evaluators are
has emerged as a crucial research question. Prior research efforts in the
meta-evaluation of LLMs as judges limit the prompting of an LLM to a single use
to obtain a final evaluation decision. They then compute the agreement between
LLMs' outputs and human labels. This lacks interpretability in understanding
the evaluation capability of LLMs. In light of this challenge, we propose
Decompose and Aggregate, which breaks down the evaluation process into
different stages based on pedagogical practices. Our experiments illustrate
that it not only provides a more interpretable window for how well LLMs
evaluate, but also leads to improvements up to 39.6% for different LLMs on a
variety of meta-evaluation benchmarks.
|
[
-0.10380811989307404,
-0.6843209862709045,
0.830009937286377,
0.16059467196464539,
-0.19777972996234894,
0.14768750965595245,
-0.5185906887054443,
-0.23268771171569824,
-0.11886890232563019,
0.4386179447174072,
-0.2229156643152237,
-0.49447035789489746,
-0.8627234697341919,
0.32282137870788574,
-0.7060983180999756,
0.97994464635849,
0.028579361736774445,
0.09212596714496613,
-0.5815865993499756,
-0.2008877694606781,
-0.19328489899635315,
-0.11829531192779541,
-0.5589307546615601,
-0.5438001751899719,
0.3532254695892334,
0.30891942977905273,
0.7869706153869629,
0.5460934638977051,
0.36087173223495483,
0.412379652261734,
-0.46668776869773865,
0.012174737639725208,
-0.6982249021530151,
0.007234819233417511,
-0.3941330313682556,
-0.27275022864341736,
-0.5385909676551819,
-0.018200501799583435,
0.7939271926879883,
0.9832485318183899,
-0.3524884581565857,
0.49356117844581604,
0.4195983111858368,
0.6159235835075378,
-0.6380304098129272,
0.3384276330471039,
-0.4947755038738251,
-0.18538594245910645,
0.06258437037467957,
-0.04917405545711517,
-0.6359347105026245,
-0.3865007758140564,
-0.0797363817691803,
-0.18369317054748535,
-0.04745833948254585,
-0.3969193994998932,
0.2910071313381195,
-0.010654184967279434,
-0.42898643016815186,
-0.3086017966270447,
-0.5080404877662659,
0.7347686886787415,
-0.65648353099823,
0.48989591002464294,
0.20194831490516663,
0.18632610142230988,
-0.19027432799339294,
-1.0231114625930786,
-0.36180275678634644,
-0.10604718327522278,
-0.17123103141784668,
-0.05870373547077179,
-0.0629238411784172,
-0.1040109395980835,
-0.09045841544866562,
0.6428530216217041,
-0.3688063621520996,
0.23530299961566925,
-0.31336188316345215,
-0.09239441156387329,
0.5233469605445862,
0.4724326729774475,
0.5360639095306396,
-0.2187362164258957,
-0.29261916875839233,
0.1021956279873848,
-0.5485634803771973,
-0.15835517644882202,
0.06004318594932556,
0.33799561858177185,
-0.11352985352277756,
0.6063872575759888,
0.14155840873718262,
0.7260016798973083,
-0.13093306124210358,
-0.32050129771232605,
0.2661767899990082,
-0.40450799465179443,
-0.3633120656013489,
-0.25693178176879883,
0.7717945575714111,
0.3659789562225342,
0.07468507438898087,
-0.3593086302280426,
-0.27037543058395386,
-0.019289476796984673,
0.26329272985458374,
-0.8536790013313293,
0.006748180836439133,
0.26173704862594604,
-0.7049534320831299,
-0.4478466212749481,
-0.1239125207066536,
-0.691799521446228,
-0.34458908438682556,
-0.4046999216079712,
0.46859225630760193,
-0.22527238726615906,
-0.28253692388534546,
0.26255398988723755,
0.03196939826011658,
0.17251962423324585,
0.4797537922859192,
-0.8181518912315369,
0.4905405342578888,
0.914941132068634,
0.7987270951271057,
-0.2652532458305359,
-0.4519587755203247,
-0.5838396549224854,
-0.1577947437763214,
-0.45587775111198425,
0.661151111125946,
-0.651316225528717,
-0.43943315744400024,
0.031841568648815155,
-0.03731424733996391,
-0.1761292666196823,
-0.5062902569770813,
0.8219006657600403,
-0.6131317019462585,
0.30709248781204224,
-0.12208439409732819,
-0.4903910756111145,
-0.12611152231693268,
0.36973392963409424,
-0.8168049454689026,
0.952184796333313,
0.30401599407196045,
-0.5909517407417297,
0.34277382493019104,
-0.6582459211349487,
-0.3876033127307892,
0.05819348618388176,
0.10178539901971817,
-0.13282062113285065,
0.44647714495658875,
0.2515048682689667,
0.4031943380832672,
-0.49168217182159424,
0.5782583355903625,
-0.20606248080730438,
-0.4518166482448578,
0.2055695503950119,
-0.611731767654419,
0.7723747491836548,
0.182267427444458,
-0.17335283756256104,
0.14505621790885925,
-0.9480332732200623,
-0.057772018015384674,
-0.04671880602836609,
-0.8695983290672302,
-0.2621684968471527,
0.2780303657054901,
-0.21557381749153137,
-0.1131802573800087,
0.1693207174539566,
-0.181479811668396,
0.05161997303366661,
-0.5689153671264648,
0.44637346267700195,
0.7628302574157715,
-0.10298077017068863,
0.7130431532859802,
0.11705228686332703,
0.6293675899505615,
-0.4006347954273224,
0.003945785574615002,
-0.551626980304718,
-0.12064613401889801,
-0.6405225396156311,
-0.20362554490566254,
0.3699449598789215,
0.037481047213077545,
-0.757265031337738,
0.21202616393566132,
-0.5428799986839294,
-0.5878503918647766,
-0.3645687401294708,
0.24298912286758423,
0.45335298776626587,
0.5078418850898743,
0.207406684756279,
-0.13517868518829346,
-0.42890650033950806,
-0.6522623896598816,
-0.561016321182251,
-0.25761061906814575,
-0.14442919194698334,
-0.0893077477812767,
0.5816075801849365,
-0.36963626742362976,
0.6262666583061218,
-0.2895711660385132,
0.20312617719173431,
-0.31973981857299805,
0.29980555176734924,
0.3633004128932953,
0.10519794374704361,
0.37946996092796326,
-0.4734209477901459,
-0.292397677898407,
-0.15114416182041168,
-0.5324066877365112,
-0.34712091088294983,
0.13601022958755493,
-0.009261708706617355,
-0.11831150203943253,
0.3633999526500702,
-0.44306546449661255,
0.12076190114021301,
0.7446591258049011,
-0.5030875205993652,
0.6183874607086182,
-0.02392737753689289,
0.252990186214447,
-0.7295150756835938,
0.00835542380809784,
-0.2966490089893341,
-0.4521971642971039,
-0.520248532295227,
0.3571494221687317,
-0.05579134821891785,
-0.09261120110750198,
-0.4289712607860565,
0.7189361453056335,
-0.6354209780693054,
-0.28980138897895813,
-0.265426903963089,
0.3641035556793213,
0.2182251214981079,
0.04734048619866371,
-0.11317329108715057,
0.6550920009613037,
0.495732843875885,
-0.7347826957702637,
0.061917055398225784,
0.14098502695560455,
-0.8723999261856079,
0.409168004989624,
-0.5746033787727356,
0.07508552074432373,
-0.2064216434955597,
0.33697497844696045,
-1.050041675567627,
-0.18590369820594788,
0.17095500230789185,
-0.241161048412323,
0.20931142568588257,
-0.10401374101638794,
-0.4050907492637634,
-0.09354716539382935,
-0.49146994948387146,
0.3766486346721649,
0.2687438130378723,
-0.7481272220611572,
0.9094840884208679,
0.2558877468109131,
-0.19987815618515015,
-0.5258407592773438,
-0.5767980217933655,
0.3239355981349945,
-0.15090592205524445,
-0.5450364947319031,
0.12117763608694077,
-0.10121864080429077,
-0.6735303997993469,
0.2029874324798584,
-0.15004977583885193,
0.09175889939069748,
0.43328583240509033,
0.15522703528404236,
-0.06305351108312607,
-0.19321182370185852,
0.2733645439147949,
0.11817583441734314,
-0.10233240574598312,
0.3412726819515228,
-0.0010171286994591355,
0.4983743131160736,
-0.06533237546682358,
-0.4186248481273651,
0.035734228789806366,
0.06001240760087967,
0.7725334167480469,
-0.21729271113872528,
0.8026597499847412,
0.456277996301651,
-0.21160709857940674,
-0.29459115862846375,
-0.278702974319458,
0.015681730583310127,
-0.43752408027648926,
0.4217936098575592,
-0.39033082127571106,
-0.8072773218154907,
0.33042383193969727,
-0.25758862495422363,
0.1752442568540573,
0.5785976648330688,
0.7989994287490845,
0.15762291848659515,
0.7761556506156921,
0.5322161912918091,
0.30819061398506165,
0.22334767878055573,
-0.10779630392789841,
-0.00839599035680294,
-0.8881357312202454,
-0.43157294392585754,
-0.567950427532196,
-0.20613761246204376,
-0.13051238656044006,
-0.7333223223686218,
0.36431175470352173,
0.20812156796455383,
0.04562564939260483,
0.07632339000701904,
-0.1981361210346222,
0.7541667819023132,
-0.08068352192640305,
0.1050836369395256,
0.4488864541053772,
-0.02560749277472496,
0.03637613356113434,
0.13345687091350555,
-0.5753942131996155,
-0.9092394709587097,
1.1144405603408813,
0.56470787525177,
0.6763186454772949,
0.20123101770877838,
0.67168128490448,
0.38936421275138855,
0.8940275311470032,
-0.9920260906219482,
0.6317266821861267,
-0.1733507215976715,
-0.4699622392654419,
-0.33652523159980774,
-0.4426324963569641,
-0.9659504890441895,
0.6977322101593018,
-0.1880345493555069,
-0.7662814259529114,
0.021290145814418793,
-0.12922346591949463,
0.06674576550722122,
0.1458865851163864,
-0.5660122632980347,
0.7603726387023926,
-0.2538272738456726,
-0.3736670911312103,
-0.346219539642334,
-0.36623573303222656,
0.6556435227394104,
-0.3316826820373535,
0.8210395574569702,
-0.09026823192834854,
-0.18169188499450684,
0.899936854839325,
-0.4348006248474121,
0.734641969203949,
0.006853530183434486,
-0.5145292282104492,
0.44115233421325684,
0.3428417146205902,
0.3276832699775696,
-0.10945238173007965,
-0.47153031826019287,
0.1993967741727829,
-0.14145112037658691,
-0.12399320304393768,
-0.8475751876831055,
0.5492715835571289,
-0.310545951128006,
-0.528474748134613,
-0.1980147510766983,
-0.34967902302742004,
-0.11758331954479218,
0.06810925900936127,
-0.16671814024448395,
0.4890822172164917,
-0.42847704887390137,
0.224092036485672,
0.29274308681488037,
-0.2756469249725342,
0.5514389276504517,
0.6481953263282776,
-0.5882383584976196,
-0.5454244017601013,
0.5609302520751953,
-0.13777078688144684,
0.19440241158008575,
0.3678096830844879,
0.522645115852356,
-0.4582585394382477,
-0.6348786950111389,
-0.33000653982162476,
0.14254270493984222,
-1.0148496627807617,
-0.13159170746803284,
-0.5137355923652649,
0.16794614493846893,
-0.2625991106033325,
-0.01790742389857769,
-0.3202294111251831,
-0.3763957917690277,
-0.29179319739341736,
-0.3964540958404541,
-0.2065165638923645,
0.9642842411994934,
-0.1480112075805664,
0.2554812431335449,
-1.0177946090698242,
0.29786452651023865,
0.32096540927886963,
0.37695571780204773,
0.15273073315620422,
-0.7826239466667175,
-0.5192939043045044,
-0.055826570838689804,
0.023790830746293068,
-0.8724676370620728,
0.10890903323888779,
0.2665940523147583,
0.6272197961807251,
0.45052406191825867,
-0.17845110595226288,
0.7900499701499939,
-0.5824474096298218,
0.8474549055099487,
0.19492925703525543,
-1.2129850387573242,
0.32446080446243286,
-0.10259411484003067,
0.21654391288757324,
0.5286431312561035,
0.21126313507556915,
-0.2084575742483139,
-0.3403140902519226,
-0.4083118438720703,
-1.0160439014434814,
0.8189623355865479,
0.09020376950502396,
0.4721399247646332,
0.02271289750933647,
0.2867622673511505,
0.3222319781780243,
0.15961648523807526,
-0.8802234530448914,
-0.0286173764616251,
0.28040361404418945,
-0.09949662536382675,
-0.4059666395187378,
-0.84975665807724,
-0.18133477866649628,
-0.24415820837020874,
0.4084709882736206,
0.028605513274669647,
-0.219098761677742,
-0.1883261650800705,
-0.4561775028705597,
0.0030551862437278032,
0.6026214957237244,
0.2590002715587616,
1.2170361280441284,
-0.026162581518292427,
0.4684044420719147,
0.19692890346050262,
-0.19905142486095428,
0.28982171416282654,
-0.2453627735376358,
-0.001140374457463622,
-0.01481609232723713,
0.8545263409614563,
0.6486808657646179,
0.6446467638015747,
-0.8584722876548767,
0.4053961932659149,
-0.09292873740196228,
-0.06801734864711761,
0.07374008744955063,
-0.04460565373301506,
0.24878306686878204,
0.24342097342014313,
0.29653501510620117,
-0.27148762345314026,
0.3097227215766907,
-0.8830417394638062,
0.21113763749599457,
0.07405950874090195,
-0.025447536259889603,
-0.39658793807029724,
0.5198962688446045,
0.3914102613925934,
-0.33965209126472473,
0.39773133397102356,
-0.09404979646205902,
-0.5582992434501648,
0.2784419059753418,
0.5416064262390137,
1.0206857919692993,
-0.3463212847709656,
0.39965879917144775,
0.37757349014282227,
0.47800755500793457,
-0.3622303009033203,
0.04917849600315094,
-0.21075600385665894,
-0.6652945876121521,
-0.8009082078933716,
-1.0381802320480347,
-0.3192529082298279,
0.1048041433095932,
-0.7386987209320068,
0.26348844170570374,
0.012979772873222828,
-0.0412893183529377,
-0.1364239752292633,
-0.31552109122276306,
-0.44394102692604065,
0.3064298629760742,
0.07116039842367172,
0.8606685400009155,
-1.1103471517562866,
0.3712383806705475,
0.9040385484695435,
-0.06966126710176468,
-0.6870343685150146,
0.04655202105641365,
-0.11539995670318604,
-0.6743839383125305,
0.7383080124855042,
0.07830855995416641,
-0.15643160045146942,
-0.249802827835083,
-0.34067681431770325,
-0.7902894020080566,
0.9439843893051147,
0.6317130923271179,
-0.5706846117973328,
0.1464937925338745,
-0.023939820006489754,
0.761323094367981,
-0.3079220950603485,
0.5533597469329834,
0.9329959154129028,
0.712974488735199,
0.02209601365029812,
-0.8513801693916321,
0.06748095899820328,
-0.09588274359703064,
-0.11011306196451187,
0.06772790849208832,
-0.340048223733902,
0.7630677819252014,
-0.1826096773147583,
-0.43010130524635315,
-0.1718948632478714,
0.42850613594055176,
0.02903697080910206,
0.4854547083377838,
0.520372748374939,
0.6242371797561646,
0.5569679141044617,
-0.030638573691248894,
1.1362330913543701,
-0.30111485719680786,
0.4473157525062561,
1.227240800857544,
-0.0008025558199733496,
0.7962231636047363,
0.2547719180583954,
-0.49856331944465637,
0.6253063082695007,
0.5078169703483582,
0.1652766764163971,
0.1504436731338501,
0.17566849291324615,
-0.22116735577583313,
-0.38787347078323364,
0.0757022276520729,
0.005793924443423748,
0.7659064531326294,
0.3057882487773895,
-0.6592584252357483,
-0.5378519296646118,
-0.1469694823026657,
0.1965499073266983,
0.3169671595096588,
-0.48549163341522217,
0.7204537391662598,
0.17778006196022034,
-0.6799601316452026,
0.43227243423461914,
0.29485711455345154,
0.17208991944789886,
-0.3468869626522064,
-0.12293107807636261,
-0.22456388175487518,
-0.07020038366317749,
-0.44055941700935364,
-0.8880366683006287,
0.41299811005592346,
0.318047434091568,
-0.10515110194683075,
-0.38558489084243774,
0.7900134325027466,
-0.3990766406059265,
-0.760362446308136,
0.3970352113246918,
0.6697458624839783,
0.363861620426178,
0.06078733131289482,
-0.4329233467578888,
0.5116975903511047,
-0.04097527638077736,
-0.5943866968154907,
0.24117544293403625,
0.3911556899547577,
0.07583031058311462,
0.7170990705490112,
0.3824922442436218,
-0.013513614423573017,
-0.18418820202350616,
0.2926476001739502,
0.8813376426696777,
-0.5254789590835571,
0.039787910878658295,
-1.2203866243362427,
0.843971848487854,
0.2258937656879425,
0.12544715404510498,
0.8164684772491455,
0.6431111097335815,
0.5392251014709473,
0.041631538420915604,
0.640735387802124,
-0.0863390639424324,
0.31232592463493347,
-0.6690495014190674,
0.5962744951248169,
-0.5294997096061707,
0.7096596360206604,
-0.3565019369125366,
-1.1897283792495728,
-0.100094735622406,
0.3290461003780365,
-0.22628146409988403,
0.18199898302555084,
0.6038668155670166,
0.29368314146995544,
0.001170956646092236,
-0.3692966103553772,
0.3979451358318329,
0.2940468490123749,
0.3125225007534027,
0.24507400393486023,
0.8943675756454468,
-0.35063353180885315,
0.6632534265518188,
0.0542510524392128,
-0.22485344111919403,
-0.0560891330242157,
-1.0715339183807373,
-0.816436231136322,
-0.16221940517425537,
-0.3385396897792816,
-0.27060791850090027,
-0.17523105442523956,
0.4706621766090393,
0.14471252262592316,
-0.40484726428985596,
-0.3846571743488312,
0.1408987194299698,
0.5497844815254211,
-0.13231146335601807,
-0.285836786031723,
0.5333236455917358,
-0.525789201259613,
-1.0351685285568237,
0.6330503821372986,
0.39062777161598206,
-0.34403976798057556,
-0.43719154596328735,
-0.20805568993091583,
0.21412718296051025,
0.1744472086429596,
1.064354419708252,
-0.2388199418783188,
-0.5724867582321167,
-0.13952204585075378,
-0.37689074873924255,
0.11040488630533218,
-0.09353043138980865,
0.7782391309738159,
-0.8172249794006348,
0.6332665085792542,
0.6111512184143066,
0.5420647859573364,
0.3645522892475128,
0.28098064661026,
0.5881087779998779,
-0.379060298204422,
-0.34775134921073914,
0.07292170077562332,
0.4089585244655609,
0.2313353270292282,
0.15722113847732544,
0.7450833320617676,
-0.06848634779453278,
-0.4350563883781433,
-1.1077299118041992,
0.0680282711982727,
-0.5875988602638245,
-0.42129620909690857,
1.282091498374939,
-0.36497291922569275,
-0.22920165956020355,
0.12037515640258789,
0.06738985329866409,
0.12661443650722504,
-0.020544923841953278,
0.701776385307312,
0.675318717956543,
0.00467684818431735,
-0.18718688189983368,
-0.025131411850452423,
0.13603992760181427,
0.17060795426368713,
-0.7890251874923706,
0.16849085688591003,
0.6050389409065247,
0.5256544947624207,
0.16262602806091309,
0.7084154486656189,
-0.47414880990982056,
-0.00852265115827322,
0.1586892008781433,
-0.06009223312139511,
-0.13004115223884583,
-0.29430320858955383,
-0.6523420810699463,
0.32204365730285645,
0.3558303713798523,
0.15507721900939941
] |
http://arxiv.org/abs/2405.15320v1
|
http://arxiv.org/pdf/2405.15320v1
|
Organic Data-Driven Approach for Turkish Grammatical Error Correction and LLMs
| 2024-05-24T08:00:24 | 2024-05-24T08:00:24 |
Asım Ersoy, Olcay Taner Yıldız
|
cs.CL
|
cs.CL, cs.AI
|
Grammatical Error Correction has seen significant progress with the recent
advancements in deep learning. As those methods require huge amounts of data,
synthetic datasets are being built to fill this gap. Unfortunately, synthetic
datasets are not organic enough in some cases and even require clean data to
start with. Furthermore, most of the work that has been done is focused mostly
on English. In this work, we introduce a new organic data-driven approach,
clean insertions, to build parallel Turkish Grammatical Error Correction
datasets from any organic data, and to clean the data used for training Large
Language Models. We achieve state-of-the-art results on two Turkish Grammatical
Error Correction test sets out of the three publicly available ones. We also
show the effectiveness of our method on the training losses of training
language models.
|
[
0.17942994832992554,
-1.0320035219192505,
0.5884836912155151,
0.1238410472869873,
-0.08907494693994522,
0.07834087312221527,
-0.5686971545219421,
-0.08877691626548767,
0.0736456885933876,
0.5795580744743347,
-0.5405920743942261,
-0.8070151209831238,
-0.5090941786766052,
0.5173326134681702,
-0.3441570997238159,
0.7845677137374878,
-0.3068596422672272,
0.6024636030197144,
-0.20914866030216217,
-0.14366355538368225,
-0.5478704571723938,
-0.42873015999794006,
-0.7204023599624634,
0.1575530618429184,
0.44910144805908203,
0.5150326490402222,
0.26308152079582214,
0.9506100416183472,
0.523472785949707,
0.3805345594882965,
-0.10905193537473679,
0.7952464818954468,
-0.31180205941200256,
0.1613749861717224,
-0.46923524141311646,
-0.5806838870048523,
-0.45614299178123474,
-0.20246544480323792,
0.9733495712280273,
0.8397061824798584,
-0.42548155784606934,
0.11167261749505997,
0.04355917125940323,
0.7793236374855042,
-0.5951531529426575,
0.23607675731182098,
-0.6754942536354065,
0.22475279867649078,
-0.49106302857398987,
0.01363477110862732,
-0.4157348573207855,
-0.6212850213050842,
-0.5296618342399597,
-0.734018862247467,
0.23684686422348022,
-0.02300391159951687,
0.6440673470497131,
0.12206634134054184,
-0.6672500371932983,
-0.24342942237854004,
-0.9473179578781128,
0.8374856114387512,
-0.9700420498847961,
0.4994659423828125,
0.2555016279220581,
0.025582382455468178,
-0.8031004071235657,
-0.6404219269752502,
-0.8194891810417175,
-0.06927696615457535,
0.0695156678557396,
-0.06172352656722069,
0.11334651708602905,
0.2661284804344177,
-0.04751350358128548,
0.6588321924209595,
-0.32859566807746887,
0.20829059183597565,
-0.5540204048156738,
-0.03014964424073696,
0.6790637373924255,
0.35749414563179016,
0.22997547686100006,
0.2664123475551605,
0.01981060393154621,
0.07971495389938354,
-0.9568445682525635,
0.04880879074335098,
0.6240336894989014,
0.8313999176025391,
0.23292651772499084,
0.9736320376396179,
-0.35263463854789734,
0.742164671421051,
0.14055877923965454,
-0.3012734651565552,
0.05880258232355118,
-0.5639423727989197,
-0.5279303789138794,
0.08103372901678085,
0.657902717590332,
0.17599646747112274,
0.27097129821777344,
0.06409193575382233,
-0.3329223096370697,
0.2102259397506714,
0.18869604170322418,
-0.21321411430835724,
-0.16352181136608124,
0.3971331715583801,
-0.07417851686477661,
-0.35440346598625183,
0.16196230053901672,
-0.4620586335659027,
-0.7641833424568176,
-0.6878582835197449,
0.21597762405872345,
-0.27458465099334717,
0.06638374924659729,
0.4286135137081146,
0.3986194431781769,
-0.14345896244049072,
0.559766948223114,
-0.9205605983734131,
0.7412172555923462,
0.8093781471252441,
0.45535311102867126,
0.00851538497954607,
-0.15683363378047943,
-0.6399967074394226,
0.1479169875383377,
-0.5861148238182068,
0.8655762672424316,
-0.2516530752182007,
-0.01582607440650463,
0.26795148849487305,
0.16857287287712097,
-0.3196179270744324,
-0.8386107087135315,
0.46988004446029663,
-0.21548770368099213,
0.5582297444343567,
-0.24992889165878296,
-0.9737798571586609,
-0.35784652829170227,
0.17941561341285706,
-0.6852201223373413,
1.2010458707809448,
0.11012734472751617,
-0.39992037415504456,
0.4755542278289795,
-0.45297378301620483,
-0.44582870602607727,
-0.10258671641349792,
-0.0036797034554183483,
-0.4724229872226715,
0.21718502044677734,
0.3045988380908966,
0.48609259724617004,
-0.004479050170630217,
0.5091870427131653,
-0.27470430731773376,
-0.32199370861053467,
0.05220647156238556,
-0.08041360229253769,
0.9939408898353577,
0.01756935566663742,
-0.4444331228733063,
0.14700156450271606,
-0.8657776117324829,
-0.16861504316329956,
0.0016353183891624212,
-0.7618426084518433,
-0.08699937909841537,
0.1585908830165863,
-0.003374385414645076,
0.12282802164554596,
-0.032167110592126846,
-0.8108578324317932,
0.560089647769928,
-0.22874239087104797,
0.07594490796327591,
1.0328396558761597,
-0.11708641797304153,
0.18056724965572357,
-0.4294161796569824,
0.37069186568260193,
0.1296589970588684,
0.010883163660764694,
0.001953234663233161,
-0.23743650317192078,
-1.0610052347183228,
-0.5392399430274963,
0.28399476408958435,
0.8798254132270813,
-0.5353688597679138,
0.669919490814209,
-0.1816115379333496,
-0.3871496319770813,
-0.610011875629425,
0.7519955635070801,
0.3704735040664673,
0.5355010628700256,
0.22819502651691437,
-0.013730974867939949,
-0.673845112323761,
-0.6619186997413635,
-0.5180817246437073,
-0.15688744187355042,
0.17380143702030182,
0.21887251734733582,
0.35053321719169617,
-0.106040358543396,
0.6019343137741089,
-0.2263563573360443,
-0.6753105521202087,
-0.2659960985183716,
-0.35609170794487,
0.33103281259536743,
0.6168469786643982,
0.16682614386081696,
-0.19816231727600098,
-0.4134328067302704,
0.20644640922546387,
-0.6129751801490784,
0.06227249652147293,
-0.05399205908179283,
0.14596222341060638,
0.6971195936203003,
0.46896570920944214,
-0.7217222452163696,
0.22223404049873352,
0.4708698093891144,
-0.6045370101928711,
0.6822554469108582,
-0.1559700220823288,
0.23177382349967957,
-1.1464338302612305,
-0.17979589104652405,
-0.0019792329985648394,
-0.4836117923259735,
-0.7338579297065735,
-0.05356500297784805,
-0.04871164262294769,
0.26643598079681396,
-0.8723360896110535,
0.4693278670310974,
-0.3450626730918884,
0.15568241477012634,
0.0942658931016922,
-0.3284786343574524,
-0.07548385858535767,
0.42958641052246094,
-0.32959309220314026,
0.6564490795135498,
0.4613400995731354,
-0.5379300117492676,
0.7364186644554138,
0.4130426049232483,
-0.3543260991573334,
0.5347524881362915,
-0.14018887281417847,
0.27513474225997925,
-0.10798326134681702,
0.35729265213012695,
-0.8846132755279541,
-0.39671874046325684,
0.6996660232543945,
-0.15127027034759521,
0.48179975152015686,
-0.17495040595531464,
-0.9003521800041199,
0.059783898293972015,
-0.333004891872406,
0.23977245390415192,
0.2460942566394806,
-0.7209585309028625,
0.4617927074432373,
0.16573099792003632,
-0.48936936259269714,
-0.5187641978263855,
-0.5983532667160034,
0.1711762249469757,
-0.2561405599117279,
-0.700530469417572,
-0.02926592528820038,
0.38414210081100464,
-0.4090877175331116,
0.11111871153116226,
-0.06685784459114075,
-0.15623748302459717,
0.013830933719873428,
-0.14813916385173798,
-0.0030576097778975964,
-0.4890725016593933,
0.23149944841861725,
0.12110345810651779,
0.2412472665309906,
0.017967261373996735,
-0.5972155928611755,
0.29687264561653137,
-0.2700742781162262,
-0.3477414548397064,
-0.9359429478645325,
0.23620635271072388,
0.39087510108947754,
-0.1984308809041977,
0.8372460007667542,
0.13603653013706207,
-0.7207682728767395,
-0.27676984667778015,
-0.720757246017456,
0.06472530961036682,
-0.5126214027404785,
0.3499758541584015,
0.17318353056907654,
-0.5774481892585754,
0.3583756685256958,
0.11632931232452393,
0.26959824562072754,
0.39496204257011414,
0.4628106653690338,
-0.7447748184204102,
0.6781018376350403,
0.4836210012435913,
0.13185717165470123,
0.37277549505233765,
-0.2423476129770279,
0.08787569403648376,
-0.3288433253765106,
-0.49134430289268494,
-0.4128560721874237,
-0.26548323035240173,
-0.5211782455444336,
-0.4337029457092285,
-0.17996037006378174,
-0.14349913597106934,
-0.30692580342292786,
0.04550667479634285,
0.09391763061285019,
0.3033137023448944,
0.772583544254303,
0.3249868154525757,
0.4308289587497711,
0.32780519127845764,
-0.14476905763149261,
-0.08171053230762482,
-0.6460155248641968,
-0.5964258909225464,
1.256247639656067,
0.07508641481399536,
0.738163948059082,
0.058456335216760635,
0.706898033618927,
0.20430420339107513,
0.09174580127000809,
-0.7307289838790894,
0.4839697480201721,
-0.5450602769851685,
-0.44693368673324585,
-0.3613881468772888,
-0.317269504070282,
-0.8101730942726135,
-0.05674462392926216,
-0.48798462748527527,
-0.4981173574924469,
0.1401240974664688,
0.5482005476951599,
-0.2085515260696411,
0.7972579002380371,
-0.5496975779533386,
0.7406889200210571,
-0.10756918787956238,
-0.39025163650512695,
0.050270725041627884,
-0.43604525923728943,
0.3869919180870056,
-0.045698463916778564,
0.15051788091659546,
0.09146369993686676,
-0.10734766721725464,
0.7302955985069275,
-0.844205379486084,
0.8053767681121826,
-0.28566774725914,
-0.2527977526187897,
0.3258836269378662,
0.039211101830005646,
0.8671703934669495,
-0.21337276697158813,
0.20388399064540863,
0.05964794382452965,
-0.33040720224380493,
-0.524598240852356,
-0.7274148464202881,
0.40838423371315,
-0.4450730085372925,
-0.49929603934288025,
-0.49098828434944153,
-0.6143901348114014,
-0.30339887738227844,
0.12047609686851501,
-0.09904883056879044,
0.34209945797920227,
-0.02244923822581768,
0.22945836186408997,
0.6684942841529846,
-0.08330196142196655,
0.09961512684822083,
0.3065381348133087,
-0.03824258968234062,
-0.5616759657859802,
0.7538987398147583,
0.0537886768579483,
0.037430595606565475,
0.1846674531698227,
0.09715545177459717,
-0.3390766382217407,
-0.9613125920295715,
-0.5076214671134949,
0.3946622312068939,
-0.6356677412986755,
-0.165577232837677,
-0.5429617762565613,
0.15985241532325745,
-0.5639222264289856,
-0.09920746088027954,
-0.6357904076576233,
-0.5956249833106995,
-0.3991606831550598,
-0.4715442359447479,
0.41482672095298767,
1.0097068548202515,
-0.009556842036545277,
0.516147792339325,
-0.9152372479438782,
0.2182362973690033,
-0.15956345200538635,
0.6366898417472839,
-0.6043419241905212,
-0.2683705687522888,
-0.3235500454902649,
0.23692630231380463,
-0.10937082022428513,
-0.8866759538650513,
0.4149995446205139,
0.42056846618652344,
0.42067986726760864,
0.28096362948417664,
-0.43328025937080383,
0.7948854565620422,
-0.5837510824203491,
0.6077315211296082,
-0.21427467465400696,
-0.8295069932937622,
0.5156180262565613,
-0.7049604058265686,
-0.032627787441015244,
0.9091184735298157,
-0.0528055801987648,
-0.7099654078483582,
-0.4961121082305908,
-0.5200290083885193,
-0.7117432951927185,
0.788496732711792,
0.24246113002300262,
0.0019171107560396194,
0.24092091619968414,
0.5229693055152893,
0.33798325061798096,
0.1953614056110382,
-0.5002570748329163,
-0.3145538866519928,
0.33668163418769836,
-0.75382000207901,
-0.222900390625,
-0.15444475412368774,
-0.1074293851852417,
-0.3279103636741638,
1.0616174936294556,
0.04664347693324089,
-0.030603433027863503,
0.1129211038351059,
-0.4553486108779907,
-0.16823406517505646,
0.24493572115898132,
0.5380363464355469,
0.5183296799659729,
-0.21168048679828644,
-0.02123471535742283,
0.1993740200996399,
-0.6901946067810059,
0.5693528652191162,
-0.017375046387314796,
-0.13125523924827576,
0.08119390904903412,
0.3779665529727936,
0.36203065514564514,
-0.1284550577402115,
-0.6615259647369385,
0.31739258766174316,
0.03635677322745323,
-0.2299114614725113,
-0.448699951171875,
-0.12260382622480392,
0.03418559581041336,
0.030038807541131973,
0.11806948482990265,
0.10961084812879562,
0.02988426573574543,
-0.4011862874031067,
0.29753202199935913,
0.05587345361709595,
-0.24102333188056946,
-0.24185332655906677,
0.4055267870426178,
0.2927088141441345,
-0.19492606818675995,
1.1132493019104004,
-0.024261612445116043,
-0.3105694651603699,
0.6330092549324036,
0.43229785561561584,
0.8356640934944153,
-0.42155691981315613,
0.15157361328601837,
0.25114285945892334,
0.38437047600746155,
-0.1466006487607956,
0.7266889810562134,
0.3672557771205902,
-0.5821897387504578,
-0.6388466954231262,
-0.3020918071269989,
-0.2532167434692383,
0.44976362586021423,
-0.47823789715766907,
0.5853186845779419,
-0.7703223824501038,
0.3240997791290283,
-0.31980863213539124,
0.18309585750102997,
-0.5354004502296448,
0.4445260763168335,
0.07954949140548706,
0.9504926204681396,
-1.0984920263290405,
0.5246537327766418,
1.0321072340011597,
0.09769850224256516,
-0.6654002666473389,
-0.4072383642196655,
0.36929380893707275,
-0.5524733662605286,
0.5293723344802856,
0.05498775839805603,
0.14695404469966888,
-0.1731429547071457,
-0.32606884837150574,
-0.8859673142433167,
0.9125152230262756,
0.6155136227607727,
-0.5923442840576172,
0.18097864091396332,
0.502157986164093,
0.5136814117431641,
-0.19393126666545868,
-0.33359387516975403,
0.5235723853111267,
0.5202688574790955,
-0.3477465808391571,
-0.6182492971420288,
0.0974741131067276,
-0.42607614398002625,
-0.19692789018154144,
0.2919207215309143,
-0.26275670528411865,
0.8102603554725647,
-0.04364881291985512,
-0.33300668001174927,
0.22865039110183716,
0.708514928817749,
0.39850208163261414,
0.1913103461265564,
0.4947880506515503,
0.8645871877670288,
0.995045006275177,
-0.2442382574081421,
0.9899620413780212,
0.09546985477209091,
0.2443009316921234,
1.248790979385376,
-0.14049245417118073,
0.6261157989501953,
0.7356539964675903,
-0.3003142476081848,
0.315592497587204,
0.9378575086593628,
-0.1305224895477295,
0.2789004147052765,
0.33643853664398193,
-0.44349512457847595,
-0.009935691021382809,
-0.08144063502550125,
0.004849974066019058,
0.505329430103302,
0.3561825454235077,
-0.30057084560394287,
-0.19174273312091827,
-0.22599932551383972,
0.3621084690093994,
0.2777934670448303,
-0.2151125967502594,
0.8035924434661865,
-0.2650415599346161,
-0.48969295620918274,
0.251696914434433,
0.1801283210515976,
0.38205379247665405,
-0.2599550485610962,
-0.34532174468040466,
-0.655523955821991,
0.5651606321334839,
-0.38529741764068604,
-0.3664902448654175,
0.3740291893482208,
0.11470675468444824,
-0.008177395910024643,
-0.23702295124530792,
0.4515194296836853,
-0.7288094758987427,
-0.989886462688446,
-0.23936130106449127,
0.4304965138435364,
-0.03386399522423744,
-0.0010393161792308092,
-0.3734374940395355,
-0.3019980192184448,
-0.12135807424783707,
-0.15704993903636932,
-0.1256088763475418,
0.09874831140041351,
-0.24578727781772614,
0.6313853859901428,
0.8690549731254578,
0.4225195050239563,
0.44021424651145935,
-0.2408827394247055,
0.7078214287757874,
-0.7563856840133667,
-0.4215656518936157,
-0.8537343740463257,
0.7558348178863525,
0.18920466303825378,
-0.2726120352745056,
0.7034561634063721,
0.7989973425865173,
1.1338229179382324,
-0.29490941762924194,
0.8188502192497253,
0.15919341146945953,
0.43119555711746216,
-0.8522261381149292,
0.47089684009552,
-0.42105022072792053,
0.273745596408844,
0.0640094205737114,
-1.0983864068984985,
-0.747612714767456,
0.27135366201400757,
0.19832830131053925,
-0.02018936723470688,
0.8235873579978943,
0.9828022122383118,
-0.15832555294036865,
-0.2180492877960205,
-0.026025736704468727,
0.4842623770236969,
0.3078034818172455,
0.4189442992210388,
0.9308764338493347,
-0.4841687083244324,
0.17974473536014557,
-0.5704944729804993,
-0.003399547189474106,
-0.21367022395133972,
-0.777647078037262,
-0.6074240207672119,
-0.3297288417816162,
-0.4373348355293274,
-0.36943769454956055,
0.6167517304420471,
1.175925850868225,
0.31214189529418945,
-1.3343193531036377,
-0.3365214169025421,
-0.4496501684188843,
0.1427396684885025,
-0.4490694999694824,
-0.13601674139499664,
0.5183404684066772,
-0.4744701683521271,
-0.9216948747634888,
0.5323730707168579,
0.06345704942941666,
0.08537783473730087,
-0.013467563316226006,
0.05488390475511551,
-0.5628034472465515,
-0.0410943441092968,
0.24708354473114014,
0.24765875935554504,
-0.842351496219635,
-0.24358609318733215,
0.18482427299022675,
-0.09960246831178665,
0.33043885231018066,
0.8328754901885986,
-0.6320733428001404,
0.5346001982688904,
0.5501636862754822,
0.7059744000434875,
0.10332220792770386,
-0.11523786187171936,
1.0580741167068481,
-0.8026127219200134,
0.04274940863251686,
0.18570762872695923,
0.6775942444801331,
0.6192092299461365,
-0.6346742510795593,
0.5636974573135376,
0.43807727098464966,
-0.1967349499464035,
-0.9025465250015259,
-0.18532270193099976,
-0.9355347752571106,
0.09839881956577301,
1.2942577600479126,
-0.33263516426086426,
-0.2346682995557785,
-0.12577548623085022,
-0.36611610651016235,
0.38612818717956543,
-0.16823463141918182,
0.7729827165603638,
0.7035111784934998,
0.08888591825962067,
0.1464643031358719,
-0.3102172017097473,
0.5003054141998291,
0.5410047769546509,
-1.0144065618515015,
0.14595133066177368,
0.7305234670639038,
0.4375220835208893,
-0.2960057258605957,
0.3330895006656647,
-0.2334439754486084,
0.4158114194869995,
-0.031161697581410408,
0.11722725629806519,
-0.4330289959907532,
-0.5123472213745117,
-0.7925694584846497,
-0.347856342792511,
-0.19862519204616547,
-0.3998580873012543
] |
http://arxiv.org/abs/2405.15319v1
|
http://arxiv.org/pdf/2405.15319v1
|
Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training
| 2024-05-24T08:00:00 | 2024-05-24T08:00:00 |
Wenyu Du, Tongxu Luo, Zihan Qiu, Zeyu Huang, Yikang Shen, Reynold Cheng, Yike Guo, Jie Fu
|
cs.CL
|
cs.CL, cs.AI
|
LLMs are computationally expensive to pre-train due to their large scale.
Model growth emerges as a promising approach by leveraging smaller models to
accelerate the training of larger ones. However, the viability of these model
growth methods in efficient LLM pre-training remains underexplored. This work
identifies three critical $\underline{\textit{O}}$bstacles: ($\textit{O}$1)
lack of comprehensive evaluation, ($\textit{O}$2) untested viability for
scaling, and ($\textit{O}$3) lack of empirical guidelines. To tackle
$\textit{O}$1, we summarize existing approaches into four atomic growth
operators and systematically evaluate them in a standardized LLM pre-training
setting. Our findings reveal that a depthwise stacking operator, called
$G_{\text{stack}}$, exhibits remarkable acceleration in training, leading to
decreased loss and improved overall performance on eight standard NLP
benchmarks compared to strong baselines. Motivated by these promising results,
we conduct extensive experiments to delve deeper into $G_{\text{stack}}$ to
address $\textit{O}$2 and $\textit{O}$3. For $\textit{O}$2 (untested
scalability), our study shows that $G_{\text{stack}}$ is scalable and
consistently performs well, with experiments up to 7B LLMs after growth and
pre-training LLMs with 750B tokens. For example, compared to a conventionally
trained 7B model using 300B tokens, our $G_{\text{stack}}$ model converges to
the same loss with 194B tokens, resulting in a 54.6\% speedup. We further
address $\textit{O}$3 (lack of empirical guidelines) by formalizing guidelines
to determine growth timing and growth factor for $G_{\text{stack}}$, making it
practical in general LLM pre-training. We also provide in-depth discussions and
comprehensive ablation studies of $G_{\text{stack}}$. Our code and pre-trained
model are available at
$\href{https://llm-stacking.github.io/}{https://llm-stacking.github.io/}$.
|
[
-0.5118133425712585,
-0.5863596796989441,
0.3019269108772278,
0.09749031066894531,
-0.22214581072330475,
0.4160907566547394,
0.14217349886894226,
-0.5838117599487305,
0.11760801821947098,
0.5708361268043518,
-0.3315872550010681,
-0.44493111968040466,
-0.7345609068870544,
0.025016868487000465,
-0.4316463768482208,
0.9447963833808899,
0.1709439605474472,
0.10171603411436081,
-0.1780298948287964,
0.12775354087352753,
-0.5673143863677979,
-0.5940662026405334,
-0.7405003309249878,
-0.33439457416534424,
0.4741423726081848,
0.3198043704032898,
0.6495431065559387,
0.9249604940414429,
0.809897780418396,
0.3902340531349182,
-0.3754289448261261,
0.1419660896062851,
-0.5553475618362427,
-0.08224077522754669,
0.3942139744758606,
-0.4191787838935852,
-0.773213267326355,
-0.09748977422714233,
0.7910221815109253,
0.8310357928276062,
-0.32840585708618164,
0.08124195784330368,
-0.3672102987766266,
0.5171692371368408,
-0.49549663066864014,
-0.30682647228240967,
-0.7295103073120117,
0.18485002219676971,
-0.17479939758777618,
-0.2406228929758072,
-0.3475736677646637,
-0.3807964026927948,
0.18080098927021027,
-0.21262139081954956,
0.2593671381473541,
0.21796868741512299,
0.7897801995277405,
0.2551407217979431,
-0.26727035641670227,
-0.23960615694522858,
-0.743194043636322,
0.6525194644927979,
-0.7897500395774841,
0.37931370735168457,
-0.08553676307201385,
0.2874407172203064,
0.13323518633842468,
-1.042657494544983,
-0.16537317633628845,
-0.3510560989379883,
-0.12897120416164398,
0.29223352670669556,
-0.2024867981672287,
0.20650272071361542,
0.6972895860671997,
0.9393516182899475,
-0.3481530249118805,
0.48113933205604553,
-0.720403790473938,
-0.07994017750024796,
0.41467249393463135,
0.1551744043827057,
0.13772590458393097,
0.16063274443149567,
-0.6862037181854248,
-0.30846038460731506,
-0.8971211314201355,
-0.13984717428684235,
0.7132599949836731,
0.10315302014350891,
-0.19298510253429413,
0.5663695931434631,
0.22035934031009674,
0.4824022054672241,
0.11207186430692673,
0.26722756028175354,
0.21686150133609772,
-0.3723413944244385,
-0.1306026428937912,
-0.07462954521179199,
0.4877551794052124,
0.23734626173973083,
0.31302571296691895,
-0.30644354224205017,
-0.16807056963443756,
0.24598151445388794,
0.8149033188819885,
-1.2629601955413818,
-0.11834508180618286,
0.1710885614156723,
-0.2159821093082428,
-0.2160584032535553,
-0.11920227110385895,
-0.278767853975296,
0.06738248467445374,
0.20719994604587555,
0.3579328954219818,
-0.20481055974960327,
-0.2262822538614273,
0.25694960355758667,
-0.1905032992362976,
0.28066375851631165,
0.06773071736097336,
-1.0302451848983765,
0.31542521715164185,
0.7051947116851807,
0.8916844725608826,
-0.18953178822994232,
-0.2058876007795334,
-0.30674266815185547,
-0.28639495372772217,
-0.6801711916923523,
0.7523103952407837,
-0.14892563223838806,
-0.6368147730827332,
0.1060134544968605,
-0.3529207110404968,
0.04370175674557686,
-0.8076782822608948,
0.365887314081192,
-0.9478093981742859,
0.1952180713415146,
0.04259362071752548,
-0.5231419801712036,
0.1008019968867302,
0.19882431626319885,
-0.4418908953666687,
0.9815016984939575,
0.14071348309516907,
-0.6228604316711426,
0.5671128034591675,
-0.6373806595802307,
-0.46363013982772827,
0.0013061156496405602,
0.058184463530778885,
-0.694222629070282,
0.38813111186027527,
0.1342078596353531,
0.4803023636341095,
-0.3352854549884796,
-0.0639035552740097,
-0.3240845799446106,
-0.4486648142337799,
-0.020465431734919548,
-0.14106746017932892,
0.5915472507476807,
0.12693367898464203,
-0.03926156833767891,
0.2475164532661438,
-0.6944603323936462,
0.11009141057729721,
-0.04126971215009689,
-0.2045327126979828,
-0.035638295114040375,
-0.09689851850271225,
-0.5641658902168274,
-0.0783815085887909,
0.17018119990825653,
-0.27115875482559204,
0.45624807476997375,
-0.8323251605033875,
0.4207545220851898,
0.7447546124458313,
0.04187292978167534,
0.5039372444152832,
-0.33887019753456116,
0.6614423990249634,
0.08523301035165787,
0.32939013838768005,
-0.3937069773674011,
-0.1473899483680725,
-0.6843495965003967,
-0.12475253641605377,
0.12974056601524353,
0.18035683035850525,
-0.38469967246055603,
0.589534342288971,
-0.23211583495140076,
-0.716484010219574,
-0.24892020225524902,
0.21950659155845642,
0.464318186044693,
0.7721449732780457,
0.7406201362609863,
-0.6644907593727112,
-0.6247010827064514,
-1.061827540397644,
-0.17483653128147125,
-0.2514319121837616,
-0.20839782059192657,
0.004400609526783228,
0.37700366973876953,
-0.5158246755599976,
0.7957878112792969,
-0.6078170537948608,
-0.0022120364010334015,
-0.0398416668176651,
0.3780592679977417,
0.6386312246322632,
0.5390297174453735,
0.5186278223991394,
-0.61232590675354,
-0.3492601215839386,
-0.14782392978668213,
-0.6090348362922668,
-0.1497683972120285,
0.15364353358745575,
-0.07920517772436142,
-0.1449807584285736,
0.6241064667701721,
-0.6083068251609802,
0.11363474279642105,
0.5376639366149902,
0.047373440116643906,
0.5871572494506836,
-0.2771521508693695,
-0.1955583095550537,
-1.151090383529663,
-0.15254956483840942,
-0.20870128273963928,
-0.15363873541355133,
-0.8144904375076294,
0.13334034383296967,
0.05987046658992767,
0.1399972289800644,
-0.8425835371017456,
0.3297064006328583,
-0.7026951909065247,
-0.4591713845729828,
-0.1731654554605484,
-0.006966291926801205,
-0.23811541497707367,
0.3781902492046356,
-0.14469441771507263,
1.0306452512741089,
0.5549895167350769,
-0.7374671101570129,
0.02001071721315384,
0.2553618848323822,
-0.332157164812088,
0.33017340302467346,
-0.8899529576301575,
0.23946058750152588,
0.18384763598442078,
0.17405082285404205,
-0.7356427907943726,
0.1935357004404068,
-0.05114410072565079,
-0.3981318771839142,
0.2809374928474426,
-0.01799451932311058,
-0.5939850211143494,
-0.7657319903373718,
-0.5104034543037415,
0.45926612615585327,
0.765573263168335,
-0.5756403803825378,
0.7817739248275757,
0.2682994604110718,
0.07395820319652557,
-0.8344572186470032,
-0.6251105070114136,
-0.2718181908130646,
-0.428031861782074,
-0.7531396746635437,
0.5455301403999329,
-0.3017157018184662,
-0.18501712381839752,
-0.16702613234519958,
-0.3640974760055542,
0.06397468596696854,
0.2726454734802246,
0.16974321007728577,
0.3019130229949951,
-0.40693917870521545,
0.009924562647938728,
-0.025706863030791283,
-0.26204484701156616,
0.26180773973464966,
-0.14052166044712067,
0.7709871530532837,
-0.5396738052368164,
-0.27509933710098267,
0.1052166149020195,
-0.1721230447292328,
0.442194402217865,
-0.020745763555169106,
0.48316168785095215,
0.789715051651001,
-0.12942765653133392,
-0.16949842870235443,
-0.8064286708831787,
-0.24992088973522186,
-0.5797998905181885,
0.48842155933380127,
-0.05543074756860733,
-1.0008810758590698,
0.6975293755531311,
-0.25760161876678467,
0.32520243525505066,
0.8017752766609192,
0.7833291888237,
-0.02760966308414936,
1.13304603099823,
0.7487659454345703,
0.19507285952568054,
0.5185540318489075,
-0.6900544762611389,
0.1781904548406601,
-1.2468514442443848,
0.018468057736754417,
-0.3706333041191101,
-0.31384918093681335,
-0.40905043482780457,
-0.591957151889801,
0.426551878452301,
0.48148202896118164,
-0.2979186177253723,
0.41909855604171753,
-0.4734390377998352,
0.6558685898780823,
0.3788420259952545,
-0.32143139839172363,
0.3026005029678345,
-0.029237767681479454,
0.019723964855074883,
0.15447179973125458,
-0.9026075601577759,
-0.242059126496315,
1.2169544696807861,
0.5052071213722229,
0.7778527736663818,
0.011420710012316704,
0.637614905834198,
0.2161581665277481,
0.7308585047721863,
-0.8081244230270386,
0.5227189660072327,
-0.1900946944952011,
-0.5686277151107788,
-0.243244931101799,
-0.6996271014213562,
-1.1003705263137817,
0.5271919965744019,
-0.41608768701553345,
-0.5135231018066406,
-0.17533379793167114,
0.46306145191192627,
-0.5013939738273621,
0.5358447432518005,
-0.9484772086143494,
0.6968063116073608,
-0.5853490829467773,
-0.234002485871315,
-0.282622367143631,
-0.7900393009185791,
0.40389660000801086,
-0.284682035446167,
-0.027628744021058083,
-0.03400788456201553,
-0.012597378343343735,
0.713149905204773,
-0.5717885494232178,
0.5743463039398193,
-0.02513594552874565,
-0.15501922369003296,
0.2443559467792511,
-0.3030422329902649,
0.2797757685184479,
-0.05924709513783455,
0.32127514481544495,
0.4894586503505707,
-0.40689173340797424,
-0.264655739068985,
-0.5284286737442017,
0.5517643094062805,
-0.8532419800758362,
-0.6779661178588867,
-0.18094217777252197,
-0.4847913384437561,
-0.3054707646369934,
0.44276636838912964,
0.31679341197013855,
0.3061020076274872,
0.022677434608340263,
0.5351301431655884,
0.4588399827480316,
-0.08491424471139908,
0.2683849334716797,
0.331157922744751,
-0.4477677047252655,
-0.48350071907043457,
0.5875769257545471,
0.20829401910305023,
0.5210898518562317,
0.34665459394454956,
0.4524189233779907,
-0.49639347195625305,
-0.8591552376747131,
-0.1898486167192459,
0.3936469852924347,
-0.46779221296310425,
-0.271124929189682,
-0.6922264695167542,
-0.3814433217048645,
-0.4531279504299164,
-0.2584128975868225,
-0.4631268382072449,
-0.1632506102323532,
-0.21167859435081482,
-0.2547609508037567,
0.10060402750968933,
0.730127215385437,
-0.09611944109201431,
0.9209479093551636,
-0.7840778827667236,
0.37829145789146423,
0.4722629189491272,
0.4095885753631592,
0.13501529395580292,
-0.4833013117313385,
-0.4483051896095276,
-0.11911389976739883,
-0.44628849625587463,
-0.5783800482749939,
0.2718580365180969,
-0.04235288128256798,
0.35546842217445374,
0.6257117390632629,
-0.21099121868610382,
0.8015270829200745,
-0.5138312578201294,
0.6110250353813171,
0.5121687054634094,
-0.8746289610862732,
0.2835780084133148,
-0.189706951379776,
0.39854368567466736,
0.3882480561733246,
0.6377136707305908,
-0.2271658033132553,
-0.2744923233985901,
-0.9418163299560547,
-1.3570001125335693,
0.5295506119728088,
0.1589908003807068,
0.25442442297935486,
-0.010298926383256912,
0.3485570549964905,
-0.14472047984600067,
0.49838268756866455,
-0.6705382466316223,
-0.2198609709739685,
0.04747143015265465,
0.4201810359954834,
-0.16360867023468018,
-0.4164120852947235,
-0.05313330516219139,
-0.1982681155204773,
0.4027855694293976,
-0.03328149393200874,
0.18536046147346497,
-0.09945033490657806,
-0.20755687355995178,
0.05131662264466286,
-0.005269957240670919,
0.4596715569496155,
0.5997632741928101,
-0.529583215713501,
0.07062140852212906,
0.5492629408836365,
-0.4489012658596039,
-0.08680189400911331,
-0.12736725807189941,
0.11079659312963486,
-0.4490874707698822,
0.6651711463928223,
0.8845829367637634,
0.5866369605064392,
-0.4849814176559448,
0.4118448793888092,
-0.06868505477905273,
-0.4752475917339325,
-0.43321913480758667,
0.10198754072189331,
0.02922486513853073,
0.3307766020298004,
0.4216563403606415,
0.16767500340938568,
-0.08597499132156372,
-0.5496600866317749,
0.19292877614498138,
0.4513181149959564,
-0.17632277309894562,
-0.31545931100845337,
0.6640210747718811,
0.197517991065979,
-0.38780802488327026,
0.7834649682044983,
0.1990978866815567,
-0.6193665266036987,
0.7425011992454529,
0.5857076644897461,
0.8868945837020874,
-0.157444030046463,
-0.15219223499298096,
0.26489707827568054,
0.4594772458076477,
-0.16941232979297638,
-0.2817082405090332,
-0.04944995790719986,
-0.9838026165962219,
-0.498247891664505,
-0.6260873675346375,
-0.5715901851654053,
-0.020523782819509506,
-0.6488306522369385,
0.2243412584066391,
-0.7250086665153503,
-0.45217472314834595,
-0.28587669134140015,
0.13798120617866516,
-0.7009252309799194,
0.1979164183139801,
-0.017041264101862907,
0.9677888751029968,
-0.7096156477928162,
0.37736332416534424,
0.3582133948802948,
-0.27843591570854187,
-0.7880677580833435,
-0.2422666698694229,
-0.4208506643772125,
-1.1762571334838867,
0.7397983074188232,
0.29977095127105713,
-0.4807165861129761,
0.1988268345594406,
-0.32913997769355774,
-0.9122779369354248,
1.2079710960388184,
0.26387372612953186,
-0.5060014128684998,
-0.3590080738067627,
-0.10292931646108627,
0.7903042435646057,
-0.4933840036392212,
0.7666696310043335,
0.3840906023979187,
0.33359313011169434,
0.3485170006752014,
-0.3715706765651703,
-0.15115733444690704,
-0.1571047604084015,
0.27186819911003113,
0.25356200337409973,
-0.7063230872154236,
1.2208430767059326,
-0.29348868131637573,
-0.46672341227531433,
0.05577763542532921,
0.6958874464035034,
0.10821525752544403,
-0.17776882648468018,
0.8073177933692932,
0.8547214269638062,
0.5230141878128052,
-0.04026132449507713,
1.1839350461959839,
-0.6050665378570557,
0.26500022411346436,
0.8108216524124146,
-0.15425416827201843,
0.7825299501419067,
0.30902552604675293,
-0.29359766840934753,
0.4731914699077606,
0.5066978335380554,
-0.3341710865497589,
0.2127252072095871,
0.49725398421287537,
0.3044177293777466,
-0.22619709372520447,
0.14274398982524872,
-0.8840420246124268,
0.08962755650281906,
0.1411019265651703,
-0.3126457631587982,
-0.1262165755033493,
-0.5197610259056091,
-0.006382959894835949,
-0.372340589761734,
-0.42282265424728394,
0.6204864382743835,
0.21790075302124023,
-0.3132622539997101,
0.5688454508781433,
-0.2949669063091278,
1.0205620527267456,
-1.037967562675476,
0.12157521396875381,
-0.17796103656291962,
0.2069801241159439,
-0.318029522895813,
-0.31181472539901733,
0.4906798005104065,
-0.15259875357151031,
0.03894354775547981,
-0.5999190211296082,
0.6502528786659241,
-0.246771439909935,
-0.4001116156578064,
0.6221088767051697,
0.46463310718536377,
0.05669717118144035,
0.21664290130138397,
-0.33479636907577515,
0.05368907377123833,
-0.4585888981819153,
-0.3784330189228058,
0.3294767141342163,
-0.013894020579755306,
0.21973629295825958,
0.6668531894683838,
0.9145874977111816,
0.39164280891418457,
0.17891211807727814,
0.10790403187274933,
1.0835535526275635,
-0.33316969871520996,
-0.36863917112350464,
-0.8458648324012756,
0.5244024991989136,
-0.11713001877069473,
-0.5566863417625427,
0.8629986643791199,
0.7601059079170227,
1.067283272743225,
-0.11918648332357407,
0.18802322447299957,
0.3868749737739563,
0.3247818350791931,
-0.7288145422935486,
0.5987861752510071,
-0.8159347772598267,
0.3783566355705261,
-0.2533861994743347,
-1.2652209997177124,
-0.4394060969352722,
0.5994684100151062,
-0.4750064015388489,
0.29968738555908203,
0.7595252394676208,
0.6595589518547058,
0.13726329803466797,
-0.2520819306373596,
0.3618130385875702,
0.6146368384361267,
0.4091015160083771,
0.17076997458934784,
0.941213846206665,
-0.28919485211372375,
0.45463013648986816,
-0.09015055745840073,
-0.054688382893800735,
-0.27906090021133423,
-0.8443118333816528,
-0.9043436646461487,
-0.10100328177213669,
-0.19472695887088776,
-0.12386143207550049,
-0.1582774519920349,
0.6374601125717163,
1.030663251876831,
-0.24377886950969696,
-0.4095224440097809,
-0.134296715259552,
0.13770131766796112,
-0.2146635353565216,
-0.17333047091960907,
0.09762075543403625,
-0.3482666015625,
-0.5091111660003662,
0.4427279233932495,
0.21677236258983612,
0.1606503278017044,
-0.49607205390930176,
0.007740125525742769,
0.07461757212877274,
0.05761530622839928,
0.6988590359687805,
0.27173909544944763,
-0.405094712972641,
-0.22822721302509308,
-0.0823335126042366,
0.18749642372131348,
0.17917273938655853,
0.944358229637146,
-0.5786877274513245,
0.228982076048851,
0.32581275701522827,
0.8708353042602539,
0.9078599810600281,
0.21880318224430084,
0.6561034321784973,
-0.8621594905853271,
-0.04139232635498047,
0.43034520745277405,
0.17960724234580994,
0.1819760501384735,
-0.23801101744174957,
0.6323463916778564,
0.15722344815731049,
-0.525090754032135,
-1.0191857814788818,
0.46513473987579346,
-0.8703308701515198,
0.008176244795322418,
0.5128559470176697,
0.07507123798131943,
-0.16842301189899445,
0.4437563121318817,
0.13571399450302124,
0.1391301304101944,
-0.0802917405962944,
0.7965231537818909,
0.45844215154647827,
-0.1680513471364975,
0.03182908892631531,
-0.19756299257278442,
0.31776222586631775,
0.6530911326408386,
-0.8491848707199097,
-0.07428193092346191,
0.2851312756538391,
-0.0747857391834259,
0.5195202827453613,
0.8432110548019409,
-0.059309426695108414,
-0.09031056612730026,
0.08263251930475235,
0.03413669019937515,
-0.3248150050640106,
-0.5832093358039856,
-0.34032562375068665,
0.21862149238586426,
0.024466339498758316,
0.044027768075466156
] |
http://arxiv.org/abs/2405.15318v1
|
http://arxiv.org/pdf/2405.15318v1
|
Are Long-LLMs A Necessity For Long-Context Tasks?
| 2024-05-24T07:59:30 | 2024-05-24T07:59:30 |
Hongjin Qian, Zheng Liu, Peitian Zhang, Kelong Mao, Yujia Zhou, Xu Chen, Zhicheng Dou
|
cs.CL
|
cs.CL, cs.AI
|
The learning and deployment of long-LLMs remains a challenging problem
despite recent progresses. In this work, we argue that the long-LLMs are not a
necessity to solve long-context tasks, as common long-context tasks are
short-context solvable, i.e. they can be solved by purely working with oracle
short-contexts within the long-context tasks' inputs. On top of this argument,
we propose a framework called LC-Boost (Long-Context Bootstrapper), which
enables a short-LLM to address the long-context tasks in a bootstrapping
manner. In our framework, the short-LLM prompts itself to reason for two
critical decisions: 1) how to access to the appropriate part of context within
the input, 2) how to make effective use of the accessed context. By adaptively
accessing and utilizing the context based on the presented tasks, LC-Boost can
serve as a general framework to handle diversified long-context processing
problems. We comprehensively evaluate different types of tasks from popular
long-context benchmarks, where LC-Boost is able to achieve a substantially
improved performance with a much smaller consumption of resource.
|
[
-0.491934210062027,
-0.6475887894630432,
0.828510582447052,
0.5909233093261719,
-0.31751760840415955,
0.0436539351940155,
-0.6299843192100525,
-0.9745206832885742,
0.3446885347366333,
0.2940129339694977,
-0.8178025484085083,
-0.15994365513324738,
-0.1576240360736847,
0.3291895091533661,
-0.5200644731521606,
0.9696442484855652,
-0.1256297081708908,
-0.34035173058509827,
-0.5264050960540771,
-0.1764434278011322,
-0.637769341468811,
-0.38920989632606506,
-0.5031243562698364,
-0.26329129934310913,
0.8755252957344055,
0.5514735579490662,
0.36328592896461487,
0.4117717444896698,
0.12453270703554153,
0.24960553646087646,
-0.269005686044693,
0.15684282779693604,
-0.42511093616485596,
0.33186817169189453,
-0.4950063228607178,
-0.43369531631469727,
-0.6130919456481934,
-0.3141748905181885,
0.5296016931533813,
0.7934410572052002,
0.12288044393062592,
0.32672858238220215,
0.411380410194397,
1.18667733669281,
-0.8373721241950989,
-0.08535375446081161,
-0.3905579745769501,
-0.09432586282491684,
-0.2659377157688141,
-0.3499068021774292,
-0.23141130805015564,
0.27017873525619507,
-0.11326675117015839,
-0.6994373202323914,
0.03161681070923805,
0.19616065919399261,
0.17921282351016998,
0.4395902156829834,
-0.5034875869750977,
-0.40411487221717834,
-0.8490080833435059,
1.0370354652404785,
-0.081590935587883,
0.14017942547798157,
0.17140565812587738,
0.517011821269989,
-0.15732215344905853,
-0.6239134669303894,
-0.09424655884504318,
0.15897150337696075,
-0.0749688521027565,
-0.09588313847780228,
0.1698567122220993,
0.15276621282100677,
0.19231967628002167,
0.2250249832868576,
-0.008688895031809807,
0.6496143341064453,
-0.517501711845398,
-0.10596730560064316,
0.2315669059753418,
0.31060922145843506,
-0.07412523031234741,
-0.08446674793958664,
-1.0288220643997192,
0.35727545619010925,
-1.0568675994873047,
0.2922278642654419,
-0.19263562560081482,
0.606143593788147,
-0.1761082112789154,
0.3466619551181793,
-0.328157901763916,
0.785610020160675,
0.00039876875234767795,
-0.2084122598171234,
0.051973044872283936,
-0.41654881834983826,
-0.44217005372047424,
0.055483829230070114,
0.2725425958633423,
0.3719601631164551,
-0.0469481498003006,
-0.22174379229545593,
-0.5727266073226929,
-0.27155134081840515,
0.24610264599323273,
-0.7631127238273621,
0.4308801293373108,
0.5364678502082825,
-0.1553519368171692,
-0.1606759876012802,
-0.40382668375968933,
-0.9169948101043701,
-0.29227137565612793,
-0.4645181894302368,
0.35186314582824707,
-0.15822039544582367,
0.024078689515590668,
-0.08558794111013412,
-0.009835929609835148,
0.3596988022327423,
0.745654284954071,
-0.856201171875,
0.29772835969924927,
0.9936666488647461,
0.9228549003601074,
-0.8662497997283936,
-0.2981896996498108,
-0.7645261287689209,
0.19509001076221466,
-0.2975515127182007,
0.4485345482826233,
-0.12625457346439362,
-0.42637670040130615,
0.4114333987236023,
0.5488366484642029,
0.08916336297988892,
-0.6973626017570496,
0.6186448931694031,
-0.5528168678283691,
0.10156355798244476,
-0.7988348603248596,
-0.6271427869796753,
0.13567358255386353,
0.34881922602653503,
-0.6617798805236816,
1.1497914791107178,
0.27422675490379333,
-0.5079728364944458,
0.6650398969650269,
-0.8133701682090759,
-0.6366681456565857,
0.36683642864227295,
-0.21386973559856415,
-0.19715315103530884,
0.07312633097171783,
0.23135800659656525,
0.6379050612449646,
-0.49950072169303894,
0.07083790004253387,
-0.12263918668031693,
-0.8455421328544617,
-0.14754188060760498,
0.12724891304969788,
0.7022794485092163,
0.030776027590036392,
-0.6668089032173157,
0.17083095014095306,
-0.6293232440948486,
-0.05932716280221939,
-0.10292722284793854,
-0.6767633557319641,
-0.3086596131324768,
0.29025131464004517,
0.27223634719848633,
0.13288600742816925,
0.2946528494358063,
-0.30423739552497864,
0.2091580331325531,
-0.25177082419395447,
0.49358484148979187,
0.981115996837616,
-0.31192290782928467,
0.8316733837127686,
-0.3117177486419678,
0.455981969833374,
0.13370013236999512,
-0.13956764340400696,
-0.17395031452178955,
-0.10862038284540176,
-0.9245540499687195,
-0.5959241986274719,
-0.12737970054149628,
0.42853686213493347,
-0.8524595499038696,
0.45084455609321594,
-0.2413790374994278,
-0.1043589860200882,
-0.018117817118763924,
0.4563264846801758,
0.10690540820360184,
0.6898995637893677,
0.8415641784667969,
0.09794274717569351,
-0.4864036738872528,
-1.0183683633804321,
-0.14540815353393555,
0.13531546294689178,
-0.08052997291088104,
0.401523619890213,
0.6751673817634583,
-0.3504325747489929,
1.1961698532104492,
-0.10234729200601578,
-0.47267651557922363,
-0.3559493124485016,
-0.18992480635643005,
0.3184548616409302,
0.5043565034866333,
0.6760149598121643,
-0.7218719124794006,
-0.2416595071554184,
-0.24532051384449005,
-0.7136944532394409,
-0.1008203998208046,
-0.3498001992702484,
0.14555221796035767,
0.3345106244087219,
0.7664592862129211,
-0.6869932413101196,
0.1084173247218132,
0.4045688807964325,
-0.04430859908461571,
0.6804852485656738,
-0.05663960054516792,
-0.17689712345600128,
-0.971099317073822,
0.1844875067472458,
-0.12033217400312424,
-0.6092708110809326,
-0.6757028102874756,
0.2620222568511963,
0.44061243534088135,
0.026464156806468964,
-0.9400405287742615,
0.6405377984046936,
-0.5967910289764404,
-0.34898027777671814,
-0.6326683163642883,
0.0037721768021583557,
-0.020639043301343918,
0.33693644404411316,
0.15658767521381378,
1.1489850282669067,
0.7357205748558044,
-0.950374960899353,
0.5765535235404968,
-0.5768954157829285,
-0.5340803861618042,
0.6744284629821777,
-0.5902376770973206,
-0.018147805705666542,
-0.05237257480621338,
0.4624345004558563,
-0.4965492784976959,
-0.16232354938983917,
0.19273582100868225,
0.4027126133441925,
0.36996468901634216,
-0.15126533806324005,
-0.5094251036643982,
-0.40538832545280457,
-0.3462754189968109,
0.7349799871444702,
0.5788095593452454,
-0.96498042345047,
0.37909215688705444,
-0.11599127948284149,
0.19157521426677704,
-0.8206477165222168,
-0.6829448342323303,
0.0030309301801025867,
-0.6634644269943237,
-0.5557669997215271,
0.7265308499336243,
-0.014677957631647587,
0.02819357067346573,
-0.3998241722583771,
-0.30888256430625916,
0.12844184041023254,
0.3475135862827301,
0.4593593180179596,
0.08304056525230408,
-0.30258673429489136,
0.34294745326042175,
-0.061701126396656036,
-0.10164704918861389,
0.24486815929412842,
-0.19687633216381073,
0.3240719735622406,
-0.25987082719802856,
-0.3959290087223053,
-0.046519577503204346,
0.4137573838233948,
0.6271687746047974,
0.1778697520494461,
0.5266250371932983,
0.5868326425552368,
-0.28064438700675964,
-0.606877326965332,
-0.5967770218849182,
-0.19019615650177002,
-0.5773237943649292,
0.4629397690296173,
0.06103719770908356,
-1.11001718044281,
0.33787208795547485,
-0.4730882942676544,
-0.028493031859397888,
0.043662622570991516,
0.6662362813949585,
-0.6428092122077942,
0.17970997095108032,
0.8420666456222534,
-0.42342203855514526,
0.4076089560985565,
0.026611171662807465,
-0.05812559649348259,
-0.8912541270256042,
-0.08121021836996078,
-0.24159212410449982,
-0.5430955290794373,
-0.3509138822555542,
-0.7919556498527527,
0.5018459558486938,
0.1488344967365265,
-0.16938722133636475,
0.22283518314361572,
-0.4238244593143463,
0.6197794675827026,
0.37981417775154114,
0.06092824786901474,
0.04430156573653221,
-0.13359425961971283,
0.23766633868217468,
0.18938986957073212,
-0.568744421005249,
-0.1643390953540802,
0.5470621585845947,
0.28197288513183594,
0.7798191905021667,
-0.1102435439825058,
0.8392932415008545,
0.28199100494384766,
0.0705813392996788,
-0.9736530780792236,
0.7479490041732788,
0.28064456582069397,
-0.7211940288543701,
-0.35141292214393616,
-0.10265347361564636,
-1.1274687051773071,
0.13120487332344055,
-0.0800335556268692,
-0.712862491607666,
0.3349563777446747,
0.22939200699329376,
-0.39546942710876465,
0.23329424858093262,
-0.3621959388256073,
0.6449859142303467,
-0.5035776495933533,
-0.7831433415412903,
-0.24114178121089935,
-0.8100385069847107,
0.20222385227680206,
-0.1683083325624466,
0.41787534952163696,
-0.18663164973258972,
-0.4371166229248047,
0.7164530754089355,
-0.34615787863731384,
1.0564428567886353,
-0.17520861327648163,
-0.06077797710895538,
0.3844052851200104,
-0.06764432787895203,
0.6333777904510498,
0.13940058648586273,
0.12509199976921082,
-0.38597068190574646,
0.1590317040681839,
-0.5997000932693481,
-0.5066915154457092,
0.6947503685951233,
-0.48329877853393555,
-0.7777508497238159,
-0.6346898674964905,
-0.304513156414032,
-0.13169018924236298,
0.2508363723754883,
0.19992253184318542,
-0.00481747929006815,
-0.19041116535663605,
0.4980526864528656,
0.272149920463562,
-0.030234046280384064,
0.7990434169769287,
0.23168015480041504,
-0.3379378318786621,
0.14343154430389404,
0.6759598851203918,
-0.19242103397846222,
0.42104384303092957,
0.35786160826683044,
-0.05889162793755531,
0.04353742673993111,
-0.44211074709892273,
-0.3710279166698456,
0.0043463679030537605,
-0.8445983529090881,
-0.24682922661304474,
0.1395358294248581,
0.059905122965574265,
0.4651653468608856,
-0.5117117762565613,
-0.5370084643363953,
-0.21425499022006989,
-0.6829492449760437,
0.13338106870651245,
0.19006696343421936,
0.2118365466594696,
-0.032740265130996704,
0.06426458805799484,
-0.5257748961448669,
0.3068889379501343,
0.6271052360534668,
0.23520636558532715,
-0.08727844804525375,
-0.011521825566887856,
-0.659400224685669,
0.04240768402814865,
-0.10553993284702301,
-0.7050465941429138,
0.036836881190538406,
0.2161267250776291,
0.2637939751148224,
0.08710042387247086,
0.10563965886831284,
0.7135471105575562,
-0.44610050320625305,
0.9802567362785339,
0.20591358840465546,
-0.8072319030761719,
0.5031077861785889,
-0.2980441153049469,
0.3328786790370941,
0.6802921295166016,
0.5040672421455383,
-0.34272414445877075,
0.127377450466156,
0.0638640820980072,
-1.2134630680084229,
0.6848624348640442,
0.07307671010494232,
0.043042171746492386,
-0.007096384651958942,
0.3957018554210663,
0.02521592006087303,
0.289391428232193,
-0.9261366724967957,
-0.19632838666439056,
0.01847650296986103,
0.5613569021224976,
-0.12856072187423706,
-0.44094911217689514,
-0.4665515124797821,
-0.2576977014541626,
0.26550742983818054,
-0.3346909284591675,
0.14823563396930695,
0.2064100205898285,
-0.4677011966705322,
-0.024782445281744003,
0.735418438911438,
0.4772251546382904,
0.9527600407600403,
-0.36397019028663635,
0.19522131979465485,
0.4755197763442993,
-0.07203937321901321,
0.18674802780151367,
-0.30167222023010254,
-0.07820676267147064,
-0.29712775349617004,
0.24441829323768616,
0.5481054782867432,
0.5794128775596619,
-0.7230010032653809,
0.6617932915687561,
0.49862590432167053,
-0.015640029683709145,
-0.4291885793209076,
0.004715513903647661,
0.30809667706489563,
0.35451963543891907,
0.6911002397537231,
0.008535034954547882,
-0.1151576116681099,
-0.6579443216323853,
-0.052479859441518784,
0.5337972640991211,
-0.2842213213443756,
-0.18296678364276886,
0.21287314593791962,
0.44233882427215576,
-0.1906328797340393,
0.5737274885177612,
0.06291113793849945,
-0.3272833526134491,
0.7054262161254883,
0.7958317995071411,
0.6770459413528442,
0.2790898382663727,
-0.16666251420974731,
0.0067799706012010574,
0.11752870678901672,
-0.19604510068893433,
-0.003850762965157628,
-0.5242325663566589,
-0.32085615396499634,
-0.7060757279396057,
-0.6209791898727417,
-0.3443875312805176,
0.126620352268219,
-0.7317825555801392,
0.49756667017936707,
-0.311137318611145,
-0.16303527355194092,
-0.4062439203262329,
-0.334460586309433,
-0.8123695850372314,
0.2954930365085602,
0.18540264666080475,
1.1862623691558838,
-0.45583483576774597,
0.9301424026489258,
0.40379220247268677,
0.2171790897846222,
-0.10655096173286438,
-0.22582021355628967,
-0.0603618249297142,
-0.7850512862205505,
0.872708261013031,
0.3360501825809479,
-0.22769132256507874,
-0.5869387984275818,
-0.37577223777770996,
-0.8200079202651978,
1.4508496522903442,
0.3209463059902191,
-0.7416523694992065,
-0.5167133212089539,
0.17163361608982086,
0.4978918433189392,
-0.4586539566516876,
-0.18348351120948792,
0.38168054819107056,
0.4377899467945099,
-0.12108708918094635,
-1.029763102531433,
0.2841099798679352,
0.2066662758588791,
-0.15102988481521606,
0.233568474650383,
-0.6247197985649109,
0.7363015413284302,
-0.18898111581802368,
-0.30259087681770325,
0.17066246271133423,
0.6577112674713135,
0.39663276076316833,
0.3761284649372101,
0.7537010312080383,
0.01410295907407999,
0.4404992461204529,
0.08329537510871887,
0.8429439067840576,
-0.4336080253124237,
0.3359541594982147,
1.083830714225769,
-0.11156317591667175,
0.9562346339225769,
0.9939699172973633,
-0.260006844997406,
0.39080294966697693,
0.6218969225883484,
0.17563806474208832,
0.43764743208885193,
0.1551489531993866,
-0.36169373989105225,
-0.4870718717575073,
0.2773742079734802,
-0.5776735544204712,
0.27763187885284424,
0.5301136374473572,
-0.3438176214694977,
-0.4041065573692322,
-0.1501566618680954,
-0.12164299190044403,
-0.28279587626457214,
-0.5686869621276855,
0.38850072026252747,
0.39806821942329407,
-0.778174638748169,
0.8147510290145874,
-0.014445146545767784,
0.9986129999160767,
-0.4764123558998108,
0.3913733959197998,
0.1312960833311081,
-0.046376731246709824,
-0.4962121248245239,
-0.6902273893356323,
0.2698211967945099,
-0.1720687747001648,
-0.17288705706596375,
-0.5168561935424805,
0.8545475006103516,
-0.14025871455669403,
-0.3909371793270111,
0.5717756152153015,
0.77655428647995,
-0.17050601541996002,
-0.07456998527050018,
-0.4433019459247589,
0.010993181727826595,
-0.44798505306243896,
-0.3042709231376648,
0.858909010887146,
0.05047234520316124,
0.046160899102687836,
0.6654589176177979,
0.4454849660396576,
0.01947084814310074,
-0.15007705986499786,
-0.2678930163383484,
1.0669444799423218,
-0.8083354234695435,
-0.5910748243331909,
-0.9994140863418579,
0.46121227741241455,
0.03297809138894081,
-0.015275124460458755,
0.47852078080177307,
0.5817053914070129,
0.4688168466091156,
-0.07084178179502487,
0.44179460406303406,
-0.0267043299973011,
0.48945415019989014,
-0.6706870794296265,
0.31237080693244934,
-0.8943358063697815,
0.6191195845603943,
-0.12852463126182556,
-1.2171132564544678,
-0.08072046935558319,
0.21847596764564514,
-0.2985537648200989,
0.11082902550697327,
0.6208357214927673,
0.531558632850647,
-0.3073999583721161,
-0.18975090980529785,
0.08261455595493317,
-0.18650567531585693,
0.28884485363960266,
0.8775860071182251,
0.8219904899597168,
0.05065126344561577,
0.35194310545921326,
-0.2633906304836273,
-0.08229031413793564,
-0.524958610534668,
-1.3829103708267212,
-0.7365995049476624,
-0.6142994165420532,
0.04304303228855133,
-0.2652067542076111,
0.24325184524059296,
1.1254277229309082,
0.868735671043396,
-0.47161126136779785,
-0.5150676965713501,
-0.037719085812568665,
0.3387628197669983,
-0.27461954951286316,
-0.18907366693019867,
0.29055535793304443,
-0.7445766925811768,
-0.5343613028526306,
0.962436854839325,
0.5386754870414734,
-0.06095389649271965,
-0.19947458803653717,
-0.09039131551980972,
0.22076617181301117,
-0.39309385418891907,
0.8408489227294922,
0.6910309791564941,
-0.7195553779602051,
-0.41379714012145996,
-0.06423447281122208,
-0.0450725182890892,
0.4019041657447815,
0.9891155958175659,
-1.2804580926895142,
0.2623668313026428,
0.2499142736196518,
0.6924193501472473,
0.7916948795318604,
-0.06225151941180229,
0.408204585313797,
-0.990805983543396,
0.38168904185295105,
0.37664493918418884,
0.5709249377250671,
0.2775421440601349,
-0.20020870864391327,
0.3570379614830017,
0.12927907705307007,
-0.7534033060073853,
-1.0115835666656494,
0.4176487624645233,
-1.3494151830673218,
-0.4073428511619568,
1.2935795783996582,
0.11335498094558716,
-0.3694925606250763,
-0.08174935728311539,
0.14106231927871704,
-0.3288533389568329,
-0.30572670698165894,
0.5363535284996033,
0.46413400769233704,
-0.33695870637893677,
-0.0615159273147583,
-0.34071215987205505,
0.8715518116950989,
0.5950897932052612,
-0.7449012994766235,
0.15087145566940308,
0.2750758230686188,
0.40240976214408875,
0.3189232051372528,
0.595776379108429,
0.2637806236743927,
0.48687049746513367,
-0.6138957142829895,
-0.4807884991168976,
-0.13131357729434967,
-0.44508934020996094,
-0.07673802226781845,
0.35385483503341675,
0.09553535282611847,
-0.027828453108668327
] |
http://arxiv.org/abs/2405.15307v1
|
http://arxiv.org/pdf/2405.15307v1
|
Before Generation, Align it! A Novel and Effective Strategy for Mitigating Hallucinations in Text-to-SQL Generation
| 2024-05-24T07:51:08 | 2024-05-24T07:51:08 |
Ge Qu, Jinyang Li, Bowen Li, Bowen Qin, Nan Huo, Chenhao Ma, Reynold Cheng
|
cs.CL
|
cs.CL
|
Large Language Models (LLMs) driven by In-Context Learning (ICL) have
significantly improved the performance of text-to-SQL. Previous methods
generally employ a two-stage reasoning framework, namely 1) schema linking and
2) logical synthesis, making the framework not only effective but also
interpretable. Despite these advancements, the inherent bad nature of the
generalization of LLMs often results in hallucinations, which limits the full
potential of LLMs. In this work, we first identify and categorize the common
types of hallucinations at each stage in text-to-SQL. We then introduce a novel
strategy, Task Alignment (TA), designed to mitigate hallucinations at each
stage. TA encourages LLMs to take advantage of experiences from similar tasks
rather than starting the tasks from scratch. This can help LLMs reduce the
burden of generalization, thereby mitigating hallucinations effectively. We
further propose TA-SQL, a text-to-SQL framework based on this strategy. The
experimental results and comprehensive analysis demonstrate the effectiveness
and robustness of our framework. Specifically, it enhances the performance of
the GPT-4 baseline by 21.23% relatively on BIRD dev and it yields significant
improvements across six models and four mainstream, complex text-to-SQL
benchmarks.
|
[
-0.2203267216682434,
-0.7352705001831055,
0.6039040088653564,
0.153476282954216,
-0.3862556517124176,
0.06320776045322418,
-0.26432913541793823,
-0.39977607131004333,
-0.007905030623078346,
0.5895491242408752,
-0.8215720653533936,
-0.6100770831108093,
-0.33054080605506897,
0.2317529171705246,
-0.4675878584384918,
1.040587306022644,
0.2539495825767517,
-0.10116895288228989,
-0.3013317286968231,
0.26428741216659546,
-0.7630046010017395,
-0.573469340801239,
-0.41618043184280396,
-0.24162819981575012,
0.39378055930137634,
0.25433549284935,
0.7354090809822083,
0.5997916460037231,
0.6451935172080994,
0.1949327141046524,
0.2868858575820923,
0.3786624073982239,
-0.48792627453804016,
0.49557262659072876,
-0.29348933696746826,
-0.16015039384365082,
-0.3026156723499298,
-0.4745138883590698,
0.3974531590938568,
0.596203088760376,
-0.34410953521728516,
-0.13324737548828125,
0.3051436245441437,
0.7323322296142578,
-0.6398590803146362,
-0.1651550531387329,
-1.0910117626190186,
0.23096540570259094,
-0.29466336965560913,
-0.49722105264663696,
-0.6646531224250793,
-0.10513801872730255,
-0.034585561603307724,
-0.8011230230331421,
0.13458633422851562,
0.13944248855113983,
0.7361856698989868,
0.5556576251983643,
-0.3199866712093353,
-0.25869020819664,
-0.6247943639755249,
0.7129126191139221,
-0.5399294495582581,
0.42202943563461304,
-0.04303281754255295,
0.2614090144634247,
-0.5769607424736023,
-0.5863462090492249,
-0.6337630748748779,
0.039810460060834885,
-0.0942993015050888,
-0.18856185674667358,
0.12132808566093445,
0.07388639450073242,
0.2716626822948456,
0.1334490329027176,
-0.828892707824707,
0.10042863339185715,
-0.061358191072940826,
-0.31820178031921387,
0.4588890075683594,
0.16464120149612427,
0.2773209512233734,
-0.003412256482988596,
-0.4582788050174713,
0.09750786423683167,
-0.8820942640304565,
-0.5140455365180969,
0.165859192609787,
0.7600056529045105,
0.41271981596946716,
0.7550824284553528,
0.04742567241191864,
0.8328447937965393,
0.36324623227119446,
-0.025590477511286736,
0.008921253494918346,
-0.47673216462135315,
-0.3356439471244812,
0.45208045840263367,
0.6731403470039368,
0.379286527633667,
0.15420696139335632,
-0.5200713276863098,
-0.2814214527606964,
0.2864491045475006,
0.6483862996101379,
-0.6494156122207642,
-0.01989763043820858,
0.2797119617462158,
-0.29524657130241394,
-0.3398590683937073,
-0.17203973233699799,
-0.9735551476478577,
-0.799058735370636,
-0.457751989364624,
0.6522476673126221,
-0.4845370054244995,
-0.30453330278396606,
-0.12857547402381897,
0.16784682869911194,
0.4372510612010956,
0.19835424423217773,
-1.1102588176727295,
0.3981415331363678,
0.9709727168083191,
0.77890545129776,
-0.6949489116668701,
-0.21464179456233978,
-0.5673071146011353,
0.4991728663444519,
-0.48444533348083496,
0.8081607818603516,
-0.3121735453605652,
-0.23936082422733307,
0.1178210899233818,
-0.18658463656902313,
0.02172493003308773,
-0.493943452835083,
0.32162752747535706,
-0.24374593794345856,
0.5156728029251099,
-0.36112791299819946,
-0.5241622924804688,
0.04885511100292206,
0.20856671035289764,
-0.3712213933467865,
1.012528657913208,
0.05451720207929611,
-0.7001063227653503,
0.6299616098403931,
-0.4842821955680847,
-0.7145457863807678,
0.07122518122196198,
-0.4828508794307709,
-0.44426679611206055,
0.23976753652095795,
0.3555484712123871,
0.3357396423816681,
-0.4329233467578888,
0.4285450279712677,
0.005551342852413654,
-0.6487061381340027,
-0.05930330976843834,
0.04967933148145676,
0.7017647624015808,
0.3146318793296814,
-0.7571272253990173,
0.3082132935523987,
-0.555977463722229,
0.12217714637517929,
0.013244949281215668,
0.1656828671693802,
-0.2060830146074295,
0.11067403852939606,
-0.13382336497306824,
0.15831252932548523,
0.08290231972932816,
-0.1884419023990631,
0.19599762558937073,
-0.6102845668792725,
0.26194748282432556,
0.6429703831672668,
-0.05443975329399109,
0.49141836166381836,
-0.314517617225647,
0.4282151162624359,
0.2078881561756134,
0.058262258768081665,
0.004956363700330257,
-0.18127816915512085,
-0.6410550475120544,
0.0027077719569206238,
-0.18158923089504242,
0.5111725926399231,
-0.7089798450469971,
0.9169434905052185,
-0.18900007009506226,
-0.3088136911392212,
-0.3425982892513275,
-0.023215359076857567,
0.25001201033592224,
0.6342900991439819,
0.5364710688591003,
-0.046539049595594406,
-0.7807493805885315,
-0.6425159573554993,
-0.4337122440338135,
-0.034957971423864365,
0.15452782809734344,
-0.21675479412078857,
0.2904600501060486,
-0.09219949692487717,
0.7949567437171936,
-0.2922001779079437,
-0.703876793384552,
-0.16193100810050964,
-0.1637306809425354,
-0.08014329522848129,
0.7062610983848572,
0.27561265230178833,
-0.6078404784202576,
-0.26055628061294556,
0.1433974802494049,
-0.8183239698410034,
-0.024613067507743835,
-0.4601573944091797,
-0.512660801410675,
0.7415338158607483,
0.579273521900177,
-0.7102751731872559,
0.3073633313179016,
0.2402297407388687,
-0.49218103289604187,
0.4183630049228668,
0.02128736861050129,
0.11789059638977051,
-1.3524798154830933,
-0.040277037769556046,
-0.2136230766773224,
0.0950474664568901,
-0.5509648323059082,
-0.12301746010780334,
-0.06382465362548828,
-0.1209011822938919,
-0.0866970643401146,
0.2622368633747101,
-0.6500962376594543,
-0.1317015290260315,
-0.16690918803215027,
0.25182196497917175,
-0.08770193159580231,
0.28235670924186707,
-0.09853874891996384,
1.0707117319107056,
0.5221300721168518,
-0.3889532685279846,
-0.07521399855613708,
0.35792824625968933,
-0.42692726850509644,
0.7663516402244568,
-0.14990076422691345,
0.3519189953804016,
-0.10970950126647949,
0.04359077662229538,
-0.896793782711029,
-0.15664277970790863,
0.22753652930259705,
-0.3807980418205261,
0.4679155647754669,
0.2910518944263458,
-0.4281010925769806,
-0.17518651485443115,
-0.12784503400325775,
0.17357268929481506,
0.5011745691299438,
-0.6992308497428894,
0.8570201992988586,
0.349090576171875,
0.08677796274423599,
-0.8346717953681946,
-0.8670735359191895,
0.36284708976745605,
-0.4751896262168884,
-0.5509791374206543,
0.8127850890159607,
0.047035545110702515,
-0.25108227133750916,
-0.09689199924468994,
-0.2951318025588989,
0.0011894096387550235,
-0.14515778422355652,
0.06385920941829681,
0.26687341928482056,
-0.28260794281959534,
0.3229581117630005,
0.2056291103363037,
0.003024039790034294,
0.05899898707866669,
-0.5432552695274353,
0.652590811252594,
0.2162587195634842,
-0.16085615754127502,
-0.4325399696826935,
0.4531461000442505,
0.4356541037559509,
-0.026968618854880333,
0.7759908437728882,
0.3323677182197571,
-0.5609947443008423,
-0.5148719549179077,
-0.773080587387085,
-0.389755517244339,
-0.47552400827407837,
0.42696693539619446,
-0.40889179706573486,
-0.686498761177063,
0.3367191255092621,
0.08025171607732773,
0.002284256974235177,
0.4280993640422821,
0.49929478764533997,
0.06986018270254135,
1.061510443687439,
0.7751259207725525,
0.2604641318321228,
0.4640459418296814,
0.16120101511478424,
0.562458336353302,
-0.6450815200805664,
-0.49146026372909546,
-0.454971045255661,
-0.060305655002593994,
-0.2771664261817932,
-0.32252728939056396,
0.05159958824515343,
0.07762360572814941,
-0.4576888382434845,
0.228387251496315,
-1.1247586011886597,
0.7031728625297546,
0.08214767277240753,
0.061388060450553894,
0.32820385694503784,
0.33144357800483704,
-0.016227519139647484,
-0.234653040766716,
-0.5165495872497559,
-0.5122349858283997,
1.124784231185913,
-0.15707626938819885,
0.42622140049934387,
0.0021012097131460905,
0.9092310070991516,
0.16035789251327515,
0.23836763203144073,
-0.525801420211792,
0.7168631553649902,
-0.22240662574768066,
-0.4975022077560425,
-0.32119041681289673,
-0.29752057790756226,
-0.7597246766090393,
0.32987046241760254,
-0.3286433517932892,
-0.9020894765853882,
-0.02804512158036232,
0.009842109866440296,
-0.38602516055107117,
0.19603851437568665,
-0.741165041923523,
0.9274566173553467,
-0.3337530791759491,
-0.532870352268219,
-0.10946319252252579,
-0.5584455132484436,
0.4862293303012848,
-0.32974523305892944,
-0.02013586089015007,
0.09702441841363907,
-0.16182342171669006,
0.6170949935913086,
-0.502642810344696,
0.5944650173187256,
-0.24023424088954926,
-0.14957158267498016,
0.24807694554328918,
0.11275812238454819,
0.5270050168037415,
-0.31703808903694153,
-0.23796790838241577,
-0.07060738652944565,
-0.08635234832763672,
-0.18559911847114563,
-0.7619239687919617,
0.9205250144004822,
-0.4879967272281647,
-0.8258453607559204,
-0.5187642574310303,
-0.8295692205429077,
-0.3383314609527588,
0.21124443411827087,
0.4952602982521057,
0.18293441832065582,
-0.1623878926038742,
0.18882787227630615,
0.6396756768226624,
-0.09843983501195908,
0.2733220160007477,
0.06094960495829582,
-0.3515421450138092,
-0.5079118609428406,
0.7171647548675537,
0.14284110069274902,
0.179458886384964,
0.35432928800582886,
0.04102863743901253,
-0.5427224636077881,
-0.7376728653907776,
-0.25407662987709045,
0.15469728410243988,
-0.7026651501655579,
-0.4217018187046051,
-0.7664671540260315,
-0.16557976603507996,
-0.621415376663208,
-0.34248778223991394,
-0.07668796926736832,
-0.24938426911830902,
-0.3592199385166168,
-0.016959775239229202,
0.2240888625383377,
0.519482433795929,
0.2531317174434662,
0.31782853603363037,
-0.36505764722824097,
0.17505747079849243,
-0.07948047667741776,
0.16273640096187592,
0.025113467127084732,
-0.39101487398147583,
0.07908045500516891,
-0.17368194460868835,
-0.4224591851234436,
-0.9398378729820251,
0.28897207975387573,
0.18498700857162476,
0.4858333170413971,
0.20479805767536163,
0.19729001820087433,
1.0106010437011719,
-0.30946454405784607,
0.8620355129241943,
0.29843270778656006,
-1.1465779542922974,
0.569975733757019,
-0.3041064143180847,
0.019170237705111504,
0.6663346886634827,
0.1676045060157776,
-0.14951789379119873,
-0.430868536233902,
-0.27296799421310425,
-0.8204829096794128,
0.4602903723716736,
0.32085463404655457,
-0.15598604083061218,
-0.0324188731610775,
0.47235313057899475,
0.33872169256210327,
0.33664339780807495,
-0.9028355479240417,
0.16993780434131622,
-0.18173350393772125,
-0.5132287740707397,
0.03438322991132736,
-0.07166415452957153,
-0.13116364181041718,
-0.43776029348373413,
0.6303389668464661,
-0.18802843987941742,
0.2547433078289032,
0.16432121396064758,
-0.15950877964496613,
-0.2544700503349304,
0.018703117966651917,
0.6337706446647644,
0.7398643493652344,
-0.006514229346066713,
0.159860298037529,
0.08085829019546509,
-0.41187041997909546,
0.11922388523817062,
-0.040264394134283066,
-0.0688648372888565,
-0.22121644020080566,
0.23921474814414978,
0.6082697510719299,
-0.04029698297381401,
-0.4656248986721039,
0.3786774277687073,
0.18503360450267792,
-0.25745904445648193,
-0.24057060480117798,
0.09187467396259308,
-0.004809274338185787,
0.19701321423053741,
0.4046624004840851,
-0.0149724455550313,
-0.0559939369559288,
-0.4844001829624176,
0.31508058309555054,
0.5871254205703735,
-0.22996780276298523,
-0.09152842313051224,
0.8516263961791992,
0.04642220586538315,
-0.5334473252296448,
0.6908015608787537,
-0.1171339675784111,
-0.3828200399875641,
0.5041685700416565,
1.0033557415008545,
1.2016887664794922,
-0.2886729836463928,
0.036433134227991104,
0.3790923058986664,
0.37350529432296753,
-0.16787947714328766,
0.44462788105010986,
-0.06262832134962082,
-0.683277428150177,
-0.4075733721256256,
-0.5020641684532166,
-0.031221529468894005,
0.0028519080951809883,
-0.43753233551979065,
0.3918546140193939,
-0.3387943506240845,
-0.12201600521802902,
-0.06395172327756882,
0.058548226952552795,
-0.32954171299934387,
0.12874191999435425,
-0.018967725336551666,
0.581575334072113,
-0.7163927555084229,
1.0024449825286865,
0.3005743622779846,
-0.43502935767173767,
-0.7659264802932739,
0.4237816631793976,
0.05174398049712181,
-0.5619242787361145,
0.316397100687027,
0.4973512887954712,
-0.09943545609712601,
0.23855771124362946,
-0.42450016736984253,
-0.7332400679588318,
1.0956422090530396,
0.3785771429538727,
-0.7928712368011475,
-0.20689687132835388,
0.25393667817115784,
0.5568390488624573,
-0.7344272136688232,
-0.19876860082149506,
0.8052932024002075,
0.4350178837776184,
0.17688220739364624,
-0.5508930683135986,
0.42679062485694885,
-0.08241184055805206,
0.08345911651849747,
0.5415467619895935,
-0.03639644384384155,
0.5037623643875122,
-0.4372371733188629,
-0.44705861806869507,
0.1274244636297226,
0.6056863069534302,
0.3773130178451538,
0.26782670617103577,
0.6605310440063477,
0.44256892800331116,
0.9583052396774292,
-0.33450695872306824,
0.720649242401123,
-0.38153454661369324,
-0.11177291721105576,
1.2328033447265625,
-0.6473449468612671,
0.7247326970100403,
0.9580940008163452,
0.020562278106808662,
0.45673316717147827,
0.4867784380912781,
-0.061836253851652145,
0.6394772529602051,
0.2842719256877899,
-0.06154357269406319,
-0.21801023185253143,
-0.155866339802742,
-0.532728374004364,
0.1920694261789322,
0.36341139674186707,
-0.11017065495252609,
-0.09049070626497269,
0.18522891402244568,
-0.06843789666891098,
0.4806254208087921,
0.0004321914748288691,
1.0323439836502075,
-0.11617983877658844,
-0.9685248732566833,
0.6547932028770447,
-0.6984074711799622,
0.7249236702919006,
-0.5019456744194031,
0.012649999000132084,
-0.13828644156455994,
0.30961012840270996,
-0.4631091058254242,
-0.6394790410995483,
0.6611764430999756,
-0.07289409637451172,
-0.12811093032360077,
-0.11923455446958542,
0.5791445970535278,
-0.6535490155220032,
-0.34149184823036194,
0.34473350644111633,
0.24781545996665955,
-0.0706569105386734,
-0.2776230275630951,
-0.45040667057037354,
0.2793196737766266,
0.11724931001663208,
0.0039832391776144505,
0.4068971276283264,
0.6621906757354736,
-0.14685039222240448,
0.32119259238243103,
0.5130749940872192,
0.05155058205127716,
-0.037698034197092056,
-0.02289387583732605,
0.821217954158783,
-0.7607583999633789,
-0.4524555802345276,
-0.9265478849411011,
0.5233649611473083,
-0.243433877825737,
-0.31333163380622864,
0.5687112808227539,
0.7240491509437561,
0.6446860432624817,
0.05920200049877167,
0.5308251976966858,
-0.014614852145314217,
0.3643815517425537,
-0.5310598611831665,
0.7878813743591309,
-0.8371231555938721,
0.34144601225852966,
-0.512490451335907,
-1.2894471883773804,
-0.6597018241882324,
0.5674383640289307,
-0.11881505697965622,
-0.07002174854278564,
1.139297366142273,
1.1176221370697021,
0.3697165846824646,
0.16991010308265686,
0.25265413522720337,
0.0786551758646965,
0.46604475378990173,
0.5825814604759216,
0.8878172636032104,
-0.37969979643821716,
0.6809162497520447,
-0.22246456146240234,
-0.027368856593966484,
0.0015185812953859568,
-1.0437246561050415,
-0.8746982216835022,
-0.7933398485183716,
-0.35679537057876587,
-0.5695351362228394,
0.30310478806495667,
1.0415329933166504,
0.5311841368675232,
-0.811928391456604,
-0.29167428612709045,
-0.5124218463897705,
0.015847228467464447,
-0.37468221783638,
-0.23441097140312195,
0.4160463511943817,
-0.7844704985618591,
-0.43614915013313293,
0.33736151456832886,
0.43470117449760437,
0.1256580799818039,
-0.1450546830892563,
-0.0293412022292614,
-0.12531642615795135,
0.051732197403907776,
0.5270897150039673,
-0.1399112045764923,
-1.028258204460144,
-0.25621506571769714,
0.0762963742017746,
-0.31013524532318115,
0.2456447035074234,
0.9076613783836365,
-0.8117662668228149,
0.4370286762714386,
0.36832255125045776,
0.6896383166313171,
0.21476730704307556,
0.08072537183761597,
0.8066473007202148,
-0.48488929867744446,
0.33557382225990295,
0.46645814180374146,
0.04292606562376022,
0.38705915212631226,
-0.7983517050743103,
0.4884242117404938,
0.027649633586406708,
-0.5984647870063782,
-1.184000849723816,
0.04315841570496559,
-1.0378514528274536,
-0.45616668462753296,
0.8825274109840393,
0.41548389196395874,
-0.09369105100631714,
-0.06842983514070511,
-0.3343052268028259,
0.34770965576171875,
-0.11516959220170975,
1.1595749855041504,
0.609072744846344,
-0.006358683109283447,
0.07345900684595108,
-0.08835490792989731,
0.8926113247871399,
0.7316742539405823,
-1.0922157764434814,
0.3030072748661041,
0.44787514209747314,
-0.10504784435033798,
0.04691757634282112,
0.46997949481010437,
-0.2489965856075287,
0.05719229578971863,
0.020196419209241867,
0.018152523785829544,
0.04897688329219818,
-0.5503971576690674,
-0.25569361448287964,
0.29130035638809204,
-0.14425116777420044,
-0.11963622272014618
] |
http://arxiv.org/abs/2405.15306v2
|
http://arxiv.org/pdf/2405.15306v2
|
DeTikZify: Synthesizing Graphics Programs for Scientific Figures and Sketches with TikZ
| 2024-05-24T07:48:35 | 2024-05-28T06:48:58 |
Jonas Belouadi, Simone Paolo Ponzetto, Steffen Eger
|
cs.CL
|
cs.CL, cs.CV
|
Creating high-quality scientific figures can be time-consuming and
challenging, even though sketching ideas on paper is relatively easy.
Furthermore, recreating existing figures that are not stored in formats
preserving semantic information is equally complex. To tackle this problem, we
introduce DeTikZify, a novel multimodal language model that automatically
synthesizes scientific figures as semantics-preserving TikZ graphics programs
based on sketches and existing figures. To achieve this, we create three new
datasets: DaTikZv2, the largest TikZ dataset to date, containing over 360k
human-created TikZ graphics; SketchFig, a dataset that pairs hand-drawn
sketches with their corresponding scientific figures; and SciCap++, a
collection of diverse scientific figures and associated metadata. We train
DeTikZify on SciCap++ and DaTikZv2, along with synthetically generated sketches
learned from SketchFig. We also introduce an MCTS-based inference algorithm
that enables DeTikZify to iteratively refine its outputs without the need for
additional training. Through both automatic and human evaluation, we
demonstrate that DeTikZify outperforms commercial Claude 3 and GPT-4V in
synthesizing TikZ programs, with the MCTS algorithm effectively boosting its
performance. We make our code, models, and datasets publicly available.
|
[
-0.3607722520828247,
-0.4125012755393982,
0.5394297242164612,
0.24708281457424164,
-0.24890607595443726,
0.3319167494773865,
-0.06755773723125458,
-0.5995222926139832,
0.4835340678691864,
0.40416261553764343,
-0.8861184120178223,
-0.4892881214618683,
-0.4430675506591797,
0.3852180242538452,
-0.1001855731010437,
0.8568677306175232,
0.1238226443529129,
0.05124138668179512,
-0.2275274246931076,
0.20830142498016357,
0.09215430170297623,
0.20934750139713287,
-0.44943541288375854,
-0.35517752170562744,
0.49411526322364807,
0.3116498589515686,
0.7402669191360474,
0.41860201954841614,
0.32650214433670044,
0.34306156635284424,
0.32145965099334717,
0.3631589710712433,
-0.2732045352458954,
0.24843589961528778,
-0.04289001226425171,
-0.2824814021587372,
-0.10236837714910507,
0.14852021634578705,
0.45349931716918945,
0.5356398820877075,
0.1368967741727829,
0.15885192155838013,
-0.44942763447761536,
0.7389945387840271,
-0.4761797785758972,
0.4011698365211487,
-0.3784809410572052,
0.21410134434700012,
-0.06235317885875702,
-0.2050706148147583,
-0.5298449397087097,
-0.606390655040741,
-0.230378195643425,
-0.9027892351150513,
0.5468649864196777,
-0.2512179911136627,
0.7675492763519287,
0.4918220341205597,
-0.29947197437286377,
0.1494094282388687,
-0.4355728328227997,
0.6248866319656372,
-0.6908729076385498,
0.5467203855514526,
0.2520894408226013,
0.404985636472702,
-0.47363582253456116,
-1.0023193359375,
-0.7191326022148132,
-0.5783557295799255,
0.22158725559711456,
0.3488345444202423,
0.097750723361969,
0.059790000319480896,
0.43518581986427307,
-0.16171389818191528,
-0.512159526348114,
-0.27220022678375244,
-0.7701857089996338,
-0.274311363697052,
0.7055044174194336,
-0.06224196404218674,
0.7506352663040161,
-0.46744948625564575,
-0.38863515853881836,
-0.5073636174201965,
-0.9129101634025574,
-0.22859476506710052,
0.5323653221130371,
0.16151806712150574,
0.05443717911839485,
0.8433653712272644,
-0.01943902112543583,
0.3732954263687134,
0.09075995534658432,
0.18405194580554962,
0.22852888703346252,
-0.19043174386024475,
0.011817647144198418,
0.0005873715272173285,
0.8437443971633911,
0.2917393743991852,
0.2374485433101654,
-0.0753716230392456,
0.2727561891078949,
0.003939293324947357,
0.44125640392303467,
-0.8575747609138489,
-0.8827573657035828,
0.2279682606458664,
-0.04959945008158684,
-0.21257878839969635,
0.02890215441584587,
-0.6596053838729858,
-0.4339297413825989,
-0.3660111427307129,
0.2919631600379944,
-0.3907512426376343,
-0.2989735007286072,
-0.09881293773651123,
-0.2998310327529907,
-0.5614145398139954,
0.7511551380157471,
-0.6690626740455627,
-0.2103150635957718,
0.4191671907901764,
0.9216926097869873,
0.18842920660972595,
-0.3723064363002777,
-0.47736459970474243,
0.3573247790336609,
-0.7777463793754578,
0.912556529045105,
-0.46003323793411255,
-0.2125302106142044,
-0.5172489881515503,
-0.010347223840653896,
0.1732892245054245,
-0.3646780848503113,
0.42335018515586853,
-0.13360069692134857,
-0.16075797379016876,
-0.24071680009365082,
-0.11181773245334625,
-0.2281254529953003,
-0.08874871581792831,
-1.1594747304916382,
1.1231379508972168,
0.2840684652328491,
-0.8963730931282043,
0.5567213892936707,
-0.6991649270057678,
-0.10475022345781326,
0.357588529586792,
-0.23794405162334442,
-0.28975462913513184,
0.18667186796665192,
0.18630041182041168,
0.38242918252944946,
-0.1442686915397644,
0.3452475965023041,
-0.5717804431915283,
-0.019521649926900864,
0.23265305161476135,
0.03966924920678139,
0.7108016014099121,
0.21060766279697418,
0.08136774599552155,
0.33547893166542053,
-0.6885934472084045,
0.28022196888923645,
-0.05404364690184593,
-0.21362504363059998,
-0.23025889694690704,
0.16627603769302368,
0.3229856789112091,
0.5164840221405029,
-0.25346487760543823,
-1.023281216621399,
0.30743852257728577,
-0.3075709640979767,
0.6859179735183716,
0.5736533999443054,
-0.19696247577667236,
0.157097727060318,
-0.14028340578079224,
0.30008918046951294,
0.004352828953415155,
-0.031736064702272415,
-0.04403243586421013,
-0.5905466675758362,
-0.4757916033267975,
-0.5441647171974182,
0.1428418606519699,
0.08757581561803818,
-1.1973317861557007,
-0.03794991597533226,
-0.4992620348930359,
-0.5651646256446838,
-0.3277389705181122,
0.0005643907352350652,
-0.20784717798233032,
0.45436960458755493,
0.17709657549858093,
-0.18442131578922272,
-0.4385594129562378,
-1.1519861221313477,
0.10649731755256653,
-0.08909665793180466,
-0.28861284255981445,
-0.1390390545129776,
0.7272564768791199,
-0.0678684189915657,
0.967415452003479,
-0.43553346395492554,
0.16830340027809143,
-0.2645191252231598,
0.3287835419178009,
-0.08579529076814651,
0.5584484934806824,
0.7753508687019348,
-0.6149037480354309,
-0.5718491077423096,
-0.03597434610128403,
-0.5455251932144165,
-0.14179755747318268,
-0.08207719773054123,
-0.14876383543014526,
-0.13928012549877167,
0.28179049491882324,
-1.0222984552383423,
0.3696490228176117,
0.562946081161499,
-0.2551538944244385,
0.8619167804718018,
-0.28972938656806946,
0.5118306875228882,
-0.838797390460968,
0.2654666304588318,
-0.05552130565047264,
-0.2848791480064392,
-0.6894500851631165,
0.06199667230248451,
0.2219230979681015,
-0.5281155705451965,
-0.5429078936576843,
0.5450983047485352,
-0.37997132539749146,
0.10134897381067276,
-0.09211773425340652,
-0.10256033390760422,
0.07979319244623184,
0.32143455743789673,
0.22232432663440704,
0.7957349419593811,
0.5327742695808411,
-0.2973850667476654,
0.6008694767951965,
0.2956298887729645,
-0.4796254634857178,
0.25916537642478943,
-0.77623051404953,
0.2176591008901596,
-0.3488125801086426,
0.5407958030700684,
-0.9035796523094177,
-0.633618950843811,
0.41931334137916565,
-0.3177754878997803,
0.3600805997848511,
-0.26170802116394043,
-0.5951614379882812,
-0.5684062838554382,
-0.5984532237052917,
0.03943425416946411,
0.1666858047246933,
-0.6482524871826172,
0.6406335830688477,
0.11927277594804764,
-0.381655216217041,
-0.5718439221382141,
-0.5987496972084045,
0.22391024231910706,
0.19185441732406616,
-0.8600518703460693,
0.261808842420578,
-0.3971533477306366,
0.014456843957304955,
0.13770408928394318,
-0.2265142947435379,
-0.10537157207727432,
-0.24040763080120087,
0.7017280459403992,
0.22697463631629944,
0.18043290078639984,
0.085969477891922,
0.34711697697639465,
-0.24817019701004028,
-0.05438154190778732,
-0.17670635879039764,
0.277008980512619,
0.029203884303569794,
-0.6098422408103943,
-0.4878455400466919,
0.29979291558265686,
0.7301888465881348,
0.11446834355592728,
0.3123546838760376,
0.8043057322502136,
-0.28788095712661743,
-0.4553748369216919,
-0.2981714606285095,
-0.3180922865867615,
-0.4709697663784027,
0.35888054966926575,
-0.4762602150440216,
-0.5941063165664673,
0.31078797578811646,
-0.32989269495010376,
0.19661983847618103,
0.5051460266113281,
0.45459699630737305,
-0.09568242728710175,
1.0460190773010254,
0.5416273474693298,
0.6136116981506348,
0.34277740120887756,
-0.2962796688079834,
0.19888681173324585,
-0.6042632460594177,
-0.3484269678592682,
-0.5296309590339661,
-0.28470078110694885,
-0.4259801208972931,
-0.5436712503433228,
0.3502478003501892,
-0.1270122081041336,
-0.11111526191234589,
0.3597244322299957,
-0.6127333641052246,
0.7487216591835022,
0.6464320421218872,
0.33524802327156067,
0.044793032109737396,
0.38406869769096375,
-0.058856114745140076,
-0.23809382319450378,
-0.6304962038993835,
-0.472333163022995,
1.0669264793395996,
-0.00016380059241782874,
0.8635955452919006,
-0.002291229087859392,
0.5443137884140015,
0.265339195728302,
0.3708876669406891,
-0.5304343700408936,
0.5118066668510437,
-0.3517327904701233,
-0.6155836582183838,
-0.07013633847236633,
-0.5446975231170654,
-0.6272730231285095,
0.05620831251144409,
-0.3752017617225647,
-0.8045874238014221,
0.15784290432929993,
0.10784096270799637,
-0.16350801289081573,
0.37657174468040466,
-0.9408919811248779,
0.7699042558670044,
0.06012355163693428,
-0.5725372433662415,
-0.27206072211265564,
-0.6309072375297546,
0.5555858016014099,
-0.1743895262479782,
0.02578073926270008,
-0.5166078209877014,
0.27849677205085754,
0.563224196434021,
-0.268414705991745,
0.7259740829467773,
-0.052336324006319046,
0.005540120881050825,
0.41490352153778076,
0.44497546553611755,
0.29455921053886414,
0.2418632060289383,
0.047157518565654755,
0.22966453433036804,
0.5297428369522095,
-0.24243728816509247,
-0.7132542729377747,
0.9315289855003357,
-0.6753641366958618,
-0.3347664177417755,
-0.21782967448234558,
-0.7938489317893982,
-0.018765518441796303,
0.13175654411315918,
0.006963317282497883,
0.36742180585861206,
-0.029989948496222496,
0.10798954963684082,
0.2559770345687866,
-0.44177332520484924,
0.2974550127983093,
0.11060640960931778,
-0.008732980117201805,
-0.45012035965919495,
0.7089138627052307,
-0.055984996259212494,
0.24580715596675873,
0.16610176861286163,
0.22504079341888428,
-0.40861567854881287,
-0.2956017553806305,
-0.7788759469985962,
0.3264319896697998,
-0.8413012623786926,
-0.19144970178604126,
-0.508355438709259,
-0.11303841322660446,
-0.3495751917362213,
-0.07853567600250244,
-0.611551821231842,
-1.0162581205368042,
0.03454306721687317,
0.04511791840195656,
0.4601900577545166,
0.7578821778297424,
-0.4973609447479248,
-0.14701397716999054,
-0.7789890766143799,
0.5825850963592529,
0.1445738524198532,
0.3676151633262634,
-0.32982203364372253,
0.14111082255840302,
0.007031120825558901,
0.24020256102085114,
-0.12043505907058716,
-0.86204993724823,
0.4696348011493683,
0.3770820200443268,
0.4974941611289978,
0.1882692277431488,
0.005598446354269981,
0.6347153186798096,
-0.6986451148986816,
0.8602125644683838,
0.4828537106513977,
-0.6475134491920471,
0.5315319895744324,
-0.3094049394130707,
0.20738959312438965,
0.4669051766395569,
0.40877509117126465,
-0.37863507866859436,
-0.4889475405216217,
-0.5217656493186951,
-0.5351433157920837,
0.8413864374160767,
0.28150445222854614,
0.1293020248413086,
-0.07429587841033936,
0.34618106484413147,
0.31637290120124817,
0.16283372044563293,
-0.5133442282676697,
0.0613577663898468,
-0.6962674260139465,
-0.5825719833374023,
-0.07022221386432648,
-0.005266154650598764,
-0.4045681953430176,
-0.2915002405643463,
0.611529529094696,
-0.11106302589178085,
0.39406341314315796,
-0.02324550785124302,
-0.07585505396127701,
-0.25228220224380493,
0.0013324295869097114,
0.748916506767273,
0.7897350788116455,
-0.25677329301834106,
0.5472029447555542,
-0.559408962726593,
-1.0164144039154053,
0.11812597513198853,
0.15269480645656586,
-0.43083131313323975,
0.20498491823673248,
0.036214858293533325,
0.6079216003417969,
-0.0601985789835453,
-0.9694691896438599,
-0.03443482518196106,
-0.001852264511398971,
-0.19314780831336975,
0.0011754488805308938,
0.2518479526042938,
0.10372227430343628,
0.34270423650741577,
0.2820150554180145,
0.313076913356781,
0.0722212865948677,
-0.11307710409164429,
0.161175936460495,
0.3160732090473175,
0.12902860343456268,
-0.6834540367126465,
1.0035505294799805,
0.02103267051279545,
0.07634108513593674,
0.761910617351532,
-0.14022313058376312,
-0.3531155586242676,
0.7500361800193787,
0.5614046454429626,
0.7485452890396118,
-0.15726184844970703,
0.7343785762786865,
0.822778046131134,
0.36113226413726807,
-0.03335161134600639,
0.18732303380966187,
-0.13411206007003784,
-0.367144376039505,
-0.5721768736839294,
-0.4761783182621002,
-0.46394068002700806,
0.029346510767936707,
-0.011241399683058262,
0.2136666178703308,
-0.6114826202392578,
-0.35207393765449524,
0.4533659517765045,
-0.00001225236974278232,
-0.6106632351875305,
-0.0026696643326431513,
-0.043822381645441055,
0.5474892258644104,
-0.9124627709388733,
0.740990400314331,
0.7383766174316406,
-0.6447328925132751,
-0.5784502625465393,
-0.5916785597801208,
0.20827528834342957,
-0.36549103260040283,
1.3127611875534058,
0.06880572438240051,
-0.2593437135219574,
0.10102111846208572,
-0.9875085949897766,
-0.9863545298576355,
0.8429570198059082,
0.7355102896690369,
-0.17446176707744598,
0.2603199779987335,
0.13689768314361572,
0.24869221448898315,
0.05966204032301903,
0.3395136296749115,
-0.004456091672182083,
0.5421775579452515,
0.4985102415084839,
-0.7147255539894104,
0.0364459864795208,
-0.7466450333595276,
-0.11943774670362473,
0.2403276264667511,
-0.23176361620426178,
0.8249619007110596,
-0.531701385974884,
-0.545994222164154,
-0.012280663475394249,
0.5623018145561218,
0.3707520663738251,
0.05619942024350166,
0.1592869609594345,
0.4557805359363556,
0.47033387422561646,
-0.36989060044288635,
0.7244359850883484,
-0.22521604597568512,
0.3269404470920563,
1.0766286849975586,
-0.21685470640659332,
0.4601396322250366,
0.4808684289455414,
-0.14362037181854248,
0.45181334018707275,
0.7056341171264648,
-0.3757783770561218,
0.4385546147823334,
0.023792076855897903,
-0.28243497014045715,
-0.38049331307411194,
-0.015384183265268803,
-0.2527908682823181,
0.18512679636478424,
0.4094635844230652,
-0.06052440032362938,
-0.5941777229309082,
0.16331928968429565,
-0.12233183532953262,
-0.3251435458660126,
0.17818443477153778,
0.03392229974269867,
-0.14359702169895172,
-0.3636905252933502,
0.3902701437473297,
0.10067614167928696,
0.11928989738225937,
-0.8776177167892456,
-0.41838496923446655,
-0.15411147475242615,
0.11140862107276917,
-0.18688178062438965,
-0.9364742040634155,
0.3677392601966858,
-0.23411530256271362,
0.0615985132753849,
-0.07552434504032135,
0.6280373334884644,
-0.4904839098453522,
-0.5565152764320374,
-0.41742295026779175,
0.15291434526443481,
0.4008414149284363,
0.17164745926856995,
-0.6749516129493713,
0.017101554200053215,
-0.162650004029274,
-0.26525577902793884,
0.1742231845855713,
0.2970808744430542,
-0.15672419965267181,
1.1091675758361816,
1.0078712701797485,
0.2215946614742279,
0.16821503639221191,
0.30535975098609924,
0.7198614478111267,
-0.22631153464317322,
-0.4195842444896698,
-0.29166334867477417,
0.4943072199821472,
-0.08542054891586304,
0.11307205259799957,
0.887352705001831,
0.422040194272995,
0.6396158337593079,
-0.6539865136146545,
0.6736173033714294,
-0.2709541320800781,
0.030979424715042114,
-0.5001577138900757,
0.9995589256286621,
-0.29169562458992004,
-0.2985379993915558,
-0.32726114988327026,
-0.7696380615234375,
-0.5152135491371155,
0.7073936462402344,
0.00516727939248085,
0.004627598449587822,
0.4530649185180664,
0.7886051535606384,
-0.29817864298820496,
-0.0023063397966325283,
0.10941214859485626,
0.05099087208509445,
0.5338671803474426,
0.41122522950172424,
0.8167027235031128,
-0.07353456318378448,
0.07214222848415375,
-0.4593272805213928,
0.03551061823964119,
0.14942796528339386,
-1.1042956113815308,
-1.0433363914489746,
-0.7208677530288696,
-0.721014678478241,
-0.09579832851886749,
-0.23878324031829834,
0.9830816388130188,
0.903796911239624,
-0.5653061866760254,
0.07831303030252457,
-0.004859652370214462,
0.010685987770557404,
-0.2785797417163849,
-0.17596003413200378,
0.6866089105606079,
-0.08461565524339676,
-0.9495581388473511,
0.48941540718078613,
0.46851715445518494,
0.21425536274909973,
-0.24744392931461334,
0.0038826800882816315,
-0.010656408034265041,
-0.001995926257222891,
0.6997242569923401,
0.36813586950302124,
-0.6324062347412109,
-0.26192882657051086,
-0.16740202903747559,
0.24134159088134766,
0.08860156685113907,
0.7500001788139343,
-0.8398897647857666,
0.94608074426651,
0.7107978463172913,
0.25959596037864685,
0.7601821422576904,
0.02040029689669609,
0.08608212321996689,
-0.7172536253929138,
0.31762996315956116,
0.06969773769378662,
0.19714568555355072,
0.49427494406700134,
-0.08499955385923386,
0.5817341804504395,
0.20708967745304108,
-0.15189456939697266,
-0.8272256255149841,
0.3038407266139984,
-1.1775367259979248,
-0.4574577510356903,
0.7378849387168884,
0.04548823833465576,
-0.29851290583610535,
-0.022195609286427498,
-0.23678433895111084,
0.22290219366550446,
-0.15578776597976685,
0.9262645244598389,
0.5102537870407104,
-0.1748782843351364,
-0.44010689854621887,
-0.924827516078949,
0.6181953549385071,
-0.3774396777153015,
-0.9708669185638428,
0.15463551878929138,
0.9004006385803223,
0.6706371903419495,
0.4042913615703583,
0.37666380405426025,
-0.20240308344364166,
0.34881967306137085,
0.41073116660118103,
0.41084882616996765,
-0.737858235836029,
-0.5596849918365479,
0.3744770884513855,
0.11852080374956131,
-0.23082327842712402,
0.13265910744667053
] |
http://arxiv.org/abs/2405.15302v1
|
http://arxiv.org/pdf/2405.15302v1
|
Towards Understanding How Transformer Perform Multi-step Reasoning with Matching Operation
| 2024-05-24T07:41:26 | 2024-05-24T07:41:26 |
Zhiwei Wang, Yunji Wang, Zhongwang Zhang, Zhangchen Zhou, Hui Jin, Tianyang Hu, Jiacheng Sun, Zhenguo Li, Yaoyu Zhang, Zhi-Qin John Xu
|
cs.AI
|
cs.AI, cs.CL, cs.LG
|
Large language models have consistently struggled with complex reasoning
tasks, such as mathematical problem-solving. Investigating the internal
reasoning mechanisms of these models can help us design better model
architectures and training strategies, ultimately enhancing their reasoning
capabilities. In this study, we examine the matching mechanism employed by
Transformer for multi-step reasoning on a constructed dataset. We investigate
factors that influence the model's matching mechanism and discover that small
initialization and post-LayerNorm can facilitate the formation of the matching
mechanism, thereby enhancing the model's reasoning ability. Moreover, we
propose a method to improve the model's reasoning capability by adding
orthogonal noise. Finally, we investigate the parallel reasoning mechanism of
Transformers and propose a conjecture on the upper bound of the model's
reasoning ability based on this phenomenon. These insights contribute to a
deeper understanding of the reasoning processes in large language models and
guide designing more effective reasoning architectures and training strategies.
|
[
-0.5348519682884216,
-0.2695602774620056,
0.9661794900894165,
-0.016689082607626915,
-0.09786678850650787,
-0.23866647481918335,
-0.14193876087665558,
-0.3581995368003845,
-0.5848845839500427,
0.7341899871826172,
-0.7000296115875244,
0.12628981471061707,
-0.5038270950317383,
0.06143464148044586,
-0.3860551714897156,
0.6619431376457214,
-0.15667995810508728,
0.11607792973518372,
-0.1654169261455536,
-0.07718223333358765,
-0.5620872974395752,
-0.38714733719825745,
-0.732477605342865,
-0.7894080877304077,
0.41627228260040283,
0.42650312185287476,
0.9035852551460266,
0.7122663855552673,
0.7284550666809082,
0.4829370379447937,
-0.11329661309719086,
0.1785144954919815,
-0.3899227976799011,
0.4045059382915497,
-0.21756932139396667,
-1.1862884759902954,
0.022582652047276497,
-0.3313755393028259,
0.6023551821708679,
0.4774274230003357,
-0.04974707216024399,
0.10874991863965988,
0.056817542761564255,
0.6016464829444885,
-0.27809736132621765,
0.2788093090057373,
-0.7412598133087158,
-0.021748272702097893,
-0.3572762608528137,
-0.2527633309364319,
-0.5778900980949402,
-0.008057926781475544,
-0.07369556277990341,
-0.3020297586917877,
0.5371738076210022,
0.14699077606201172,
0.7156980037689209,
0.5408524870872498,
-0.300200879573822,
-0.19981400668621063,
-0.9060643315315247,
0.719566822052002,
-0.5741748213768005,
0.6375866532325745,
0.1732829213142395,
0.6110617518424988,
0.037758246064186096,
-0.4863632023334503,
-0.7470545172691345,
-0.10564294457435608,
-0.6053854823112488,
-0.37450021505355835,
0.05153784155845642,
0.0030037069227546453,
0.9456424117088318,
0.33902600407600403,
-0.3699842095375061,
-0.010123945772647858,
-0.3580244779586792,
-0.12140708416700363,
0.31309202313423157,
0.25960710644721985,
0.09803254157304764,
-0.20737428963184357,
-0.22752967476844788,
-0.34960877895355225,
-0.28110218048095703,
0.15271823108196259,
0.4567645490169525,
0.3738776743412018,
-0.048076529055833817,
0.5174662470817566,
0.028588950634002686,
0.6715750098228455,
-0.001443860586732626,
0.015142262913286686,
0.18170645833015442,
-0.5289550423622131,
-0.11595305055379868,
0.17482522130012512,
0.501825749874115,
0.01862342096865177,
0.5562971234321594,
-0.07288213819265366,
-0.33766505122184753,
0.18936511874198914,
0.5011035203933716,
-0.7658219933509827,
-0.08789573609828949,
0.2002003937959671,
-0.560530424118042,
-0.03061830997467041,
0.09414356201887131,
-0.48218658566474915,
-0.057991668581962585,
-0.7747247219085693,
0.717279314994812,
-0.4009917676448822,
-0.26569023728370667,
0.36834436655044556,
-0.23346097767353058,
0.6578297019004822,
0.2949250340461731,
-0.7229478359222412,
0.20735621452331543,
1.1133469343185425,
0.6300450563430786,
0.2618568539619446,
-0.39803504943847656,
-0.43357548117637634,
0.010160415433347225,
-0.24607188999652863,
1.0359255075454712,
-0.5412951111793518,
0.1574564278125763,
-0.1682748794555664,
-0.017382143065333366,
-0.35431668162345886,
-0.5523554086685181,
0.8699759244918823,
-0.6706714630126953,
0.16128167510032654,
-0.35629454255104065,
-0.34946900606155396,
-0.3230728209018707,
-0.013630155473947525,
-0.6800089478492737,
1.0109554529190063,
-0.15198643505573273,
-0.5951038599014282,
0.2918701171875,
-0.8897976279258728,
-0.5431932210922241,
-0.17918166518211365,
0.04289248585700989,
-0.5583027005195618,
0.25123223662376404,
0.4797579348087311,
0.3837846517562866,
-0.5619904398918152,
-0.031911883503198624,
-0.33928489685058594,
-0.4981836974620819,
0.19168983399868011,
-0.2894744873046875,
0.906243622303009,
0.09362571686506271,
-0.3435590863227844,
0.20304059982299805,
-0.5903071761131287,
-0.170876607298851,
0.2508920431137085,
0.13010689616203308,
-0.2618360221385956,
0.0640321746468544,
-0.5081689953804016,
0.5114400386810303,
-0.2151941955089569,
-0.3048807978630066,
0.13582105934619904,
-0.2323790043592453,
0.5463608503341675,
0.675034761428833,
-0.12164448201656342,
0.537090003490448,
-0.4456533193588257,
0.31594371795654297,
0.15072645246982574,
0.19163961708545685,
-0.6151279807090759,
-0.6444962024688721,
-1.04459810256958,
-0.025471359491348267,
0.08722329884767532,
0.5486680865287781,
-0.4604267179965973,
0.1457064002752304,
-0.10239309072494507,
-0.5028724670410156,
-0.7937536239624023,
-0.01785052940249443,
0.3644907474517822,
0.46212780475616455,
0.5234361290931702,
0.33538660407066345,
-0.6184650659561157,
-1.0179228782653809,
-0.28521427512168884,
0.1837799996137619,
-0.18999038636684418,
0.2728067636489868,
0.5002778768539429,
-0.09309785068035126,
0.4306712746620178,
-0.45550423860549927,
-0.3114908039569855,
-0.1361842006444931,
0.093159981071949,
0.5817233920097351,
0.3287697434425354,
0.38176628947257996,
-0.589648962020874,
-0.4342906177043915,
0.009752478450536728,
-0.8896501064300537,
-0.24908573925495148,
-0.30246591567993164,
-0.49613192677497864,
-0.3004865050315857,
0.9777624011039734,
-0.9002307653427124,
0.22748401761054993,
0.2693738639354706,
-0.10432572662830353,
0.4252142906188965,
-0.17787908017635345,
0.35355088114738464,
-0.8067715167999268,
-0.40145593881607056,
0.11700871586799622,
0.1749154031276703,
-0.697199285030365,
0.45009857416152954,
0.10006418824195862,
-0.1814209520816803,
-0.21447141468524933,
0.1476641446352005,
-0.6318337321281433,
0.015027102082967758,
-0.38120412826538086,
0.10158524662256241,
0.03956126049160957,
0.3640023469924927,
-0.17949232459068298,
0.7483790516853333,
1.0749868154525757,
-0.6926609873771667,
0.28564125299453735,
0.3121265769004822,
-0.3310694396495819,
0.766127347946167,
-0.7429413199424744,
0.26472213864326477,
-0.34985578060150146,
0.2215045839548111,
-1.0223387479782104,
0.08536026626825333,
-0.05197012424468994,
-0.21310482919216156,
0.04379035532474518,
-0.23675861954689026,
-0.6621130704879761,
-0.5598068833351135,
0.09196576476097107,
0.5547438859939575,
0.4143008589744568,
-0.8278440237045288,
1.1368498802185059,
-0.13833525776863098,
0.21260124444961548,
-0.24353660643100739,
-0.3633643686771393,
-0.11283180862665176,
-0.27266448736190796,
-1.049644947052002,
0.3490651845932007,
-0.0122111476957798,
-0.42181771993637085,
-0.20057068765163422,
-0.12205346673727036,
0.09280690550804138,
-0.155875101685524,
0.004167076200246811,
0.12535148859024048,
-0.5642524361610413,
-0.035420455038547516,
0.06317287683486938,
-0.4352336823940277,
0.3958756923675537,
-0.17839466035366058,
0.5955308079719543,
0.002406191546469927,
-0.6254212856292725,
-0.5851088166236877,
0.28581535816192627,
0.8369945883750916,
-0.38411644101142883,
0.862926721572876,
0.6151681542396545,
-0.31161895394325256,
-0.38962775468826294,
-0.7379770874977112,
-0.5158682465553284,
-0.5322859287261963,
0.049875617027282715,
-1.0268433094024658,
-0.49502283334732056,
0.6743484139442444,
0.038778942078351974,
-0.14656154811382294,
0.5591362118721008,
0.5968800187110901,
0.03557049483060837,
1.1980464458465576,
0.0847402811050415,
0.21715755760669708,
0.05377182736992836,
0.04517266899347305,
0.5282493829727173,
-0.9227491021156311,
-0.46503156423568726,
-0.9627076983451843,
-0.47114452719688416,
-0.4442080557346344,
-0.7574370503425598,
0.250846266746521,
0.1532689779996872,
-0.3554544150829315,
0.7012979984283447,
-0.5593737363815308,
0.4576675295829773,
0.7177976369857788,
0.06131913885474205,
0.36647966504096985,
-0.2757287621498108,
-0.3862825334072113,
0.08647782355546951,
-0.5514446496963501,
-0.10614477097988129,
0.6066770553588867,
0.4435606300830841,
0.875007688999176,
0.1737741380929947,
0.3607073426246643,
-0.19898848235607147,
-0.11445757001638412,
-0.6062076091766357,
0.5697563886642456,
0.08711099624633789,
-0.3190590441226959,
-0.21019668877124786,
-0.6277270913124084,
-0.8317807912826538,
0.5347979068756104,
-0.22743043303489685,
-0.4311240613460541,
0.12435895204544067,
-0.07630601525306702,
0.07178512960672379,
0.4305456280708313,
-0.6728615164756775,
0.5640166401863098,
-0.24828754365444183,
-0.026068203151226044,
-0.3843645751476288,
-0.5381603240966797,
0.40495947003364563,
-0.051810767501592636,
0.302059531211853,
0.20967482030391693,
0.4862211346626282,
0.3606432378292084,
-0.33693933486938477,
0.2408122718334198,
-0.14345240592956543,
-0.4240119457244873,
0.09417331963777542,
0.3789723813533783,
0.5981560945510864,
-0.19330082833766937,
-0.10121435672044754,
0.3974684476852417,
-0.45845139026641846,
-0.17441637814044952,
-0.7895776033401489,
0.5156328082084656,
-0.4280572533607483,
-0.9414167404174805,
-0.2850496768951416,
-0.8580037355422974,
-0.08770638704299927,
0.05738402158021927,
0.09856126457452774,
0.20412784814834595,
0.6900262236595154,
0.43255314230918884,
0.7664653658866882,
0.19160917401313782,
0.4223769009113312,
0.43938517570495605,
-0.13388729095458984,
0.030248405411839485,
0.39878392219543457,
-0.19617518782615662,
0.38071340322494507,
0.5924304723739624,
0.4003671407699585,
-0.36774125695228577,
-0.43436193466186523,
-0.5073089599609375,
0.3098779618740082,
-0.7138066291809082,
-0.17237387597560883,
-0.6083715558052063,
-0.4511639475822449,
-0.19353950023651123,
0.08865602314472198,
-0.19101329147815704,
-0.10150798410177231,
0.1397055983543396,
0.04073271155357361,
0.14796417951583862,
0.622947096824646,
0.1104450598359108,
0.14038656651973724,
-0.7862752079963684,
0.7368208169937134,
0.6611084938049316,
0.5871880054473877,
0.387020081281662,
-0.7388216853141785,
-0.05112413689494133,
-0.10826332867145538,
0.0074378689751029015,
-0.5817356109619141,
-0.3759641945362091,
-0.03296409919857979,
0.828472912311554,
0.4230128526687622,
-0.27851125597953796,
0.695848286151886,
-0.805981457233429,
0.3483487665653229,
-0.17792744934558868,
-1.0950610637664795,
0.5230271816253662,
-0.1996038854122162,
0.37965887784957886,
-0.01268558856099844,
0.31983840465545654,
-0.15882164239883423,
-0.36846452951431274,
-0.3710370659828186,
-0.3975098729133606,
0.9643124341964722,
0.4948175847530365,
0.013242700137197971,
0.3054446578025818,
0.3312763571739197,
-0.13331004977226257,
-0.1462661176919937,
-0.4811846911907196,
-0.23391087353229523,
-0.1378466784954071,
0.015486456453800201,
0.16284358501434326,
0.02545935846865177,
-0.13713639974594116,
-0.37341904640197754,
0.6218200325965881,
-0.17478270828723907,
0.40791162848472595,
-0.09392128884792328,
-0.17055606842041016,
-0.25990912318229675,
0.1113509088754654,
0.7585113048553467,
0.450878769159317,
0.19353243708610535,
-0.0020152556244283915,
0.04173629358410835,
-0.004868417978286743,
0.027348749339580536,
0.3565833568572998,
-0.08554372936487198,
-0.16189885139465332,
0.6160409450531006,
1.1449813842773438,
0.30423974990844727,
-0.34938132762908936,
0.4296300709247589,
-0.13423678278923035,
-0.4558030366897583,
-0.08394625037908554,
0.36485663056373596,
0.18250107765197754,
0.6425424218177795,
0.40709590911865234,
0.3776054084300995,
0.04122452065348625,
-0.36377909779548645,
0.3359335958957672,
0.5817978978157043,
-0.15514107048511505,
-0.14830562472343445,
0.8358067870140076,
-0.3174152970314026,
-0.8270307779312134,
0.8542183637619019,
0.05487227439880371,
-0.699273943901062,
0.5081115961074829,
0.5901708006858826,
0.6352863311767578,
-0.4367174804210663,
0.09216420352458954,
0.4412032663822174,
0.5343205332756042,
-0.42903590202331543,
-0.029544373974204063,
-0.13839349150657654,
-0.9951827526092529,
-0.788191556930542,
-0.6718951463699341,
-0.2090909779071808,
-0.04063699394464493,
-0.7312576770782471,
0.5415859222412109,
-0.022405028343200684,
0.19185148179531097,
0.4104515314102173,
-0.7098844051361084,
-0.950815737247467,
0.028511982411146164,
0.25981587171554565,
0.7848078608512878,
-0.8146865367889404,
0.5923231840133667,
0.2324017733335495,
-0.39537572860717773,
-1.0051730871200562,
0.15379050374031067,
-0.08571510761976242,
-1.0524702072143555,
0.5662429928779602,
0.31263041496276855,
-0.16489599645137787,
-0.3049182593822479,
-0.18390680849552155,
-0.8611566424369812,
0.6046573519706726,
0.5677424073219299,
-0.6299280524253845,
-0.12521052360534668,
0.3542976677417755,
0.6354185938835144,
-0.31921401619911194,
0.49345290660858154,
0.72782963514328,
0.7639481425285339,
0.2194530963897705,
-1.1223481893539429,
0.2474125325679779,
-0.12066835165023804,
-0.14305181801319122,
0.6610313057899475,
-0.4366176128387451,
1.1660665273666382,
-0.3396197557449341,
-0.016152171418070793,
-0.12605056166648865,
0.37608614563941956,
0.20523402094841003,
-0.029755862429738045,
0.8502891063690186,
0.9928327798843384,
0.4519529640674591,
-0.2737913727760315,
0.8874401450157166,
-0.2736622095108032,
0.36181312799453735,
0.9997791647911072,
-0.42363855242729187,
0.53019779920578,
0.2158140242099762,
-0.34893807768821716,
1.069431185722351,
-0.04302452877163887,
-0.28601813316345215,
0.2180066704750061,
0.27082645893096924,
-0.06662625819444656,
-0.49149367213249207,
0.1680012047290802,
-0.2759650945663452,
0.6473978757858276,
0.22550754249095917,
-0.4976988136768341,
-0.4214707911014557,
0.11665940284729004,
-0.29522863030433655,
0.15146102011203766,
-0.47384876012802124,
0.8758395910263062,
-0.002027879934757948,
-0.8681986927986145,
0.44229820370674133,
-0.13132935762405396,
0.2748514711856842,
-0.48545101284980774,
-0.2500949203968048,
0.19106440246105194,
0.3896481990814209,
-0.15747129917144775,
-1.034031629562378,
0.47050684690475464,
-0.555057168006897,
-0.27348801493644714,
-0.28220313787460327,
0.5722227096557617,
-0.37771233916282654,
-0.44526585936546326,
0.6187300682067871,
0.4323013126850128,
-0.08388519287109375,
-0.377966970205307,
-0.7747771739959717,
0.14615540206432343,
-0.200645312666893,
0.05049411207437515,
0.18219603598117828,
0.8756521940231323,
-0.05238628387451172,
0.629310131072998,
0.8696841597557068,
-0.13280966877937317,
-0.03770113363862038,
0.7383276224136353,
0.6094927191734314,
-0.5990651249885559,
-0.347305566072464,
-0.9336935877799988,
0.5616602897644043,
-0.0360092893242836,
0.01824253425002098,
0.731102705001831,
0.4805217683315277,
0.8386550545692444,
-0.160110741853714,
0.3664623200893402,
0.2756726145744324,
0.48765286803245544,
-0.5248465538024902,
0.30975326895713806,
-0.261919766664505,
0.3403427004814148,
-0.1727985292673111,
-1.281656265258789,
-0.2167336344718933,
0.6603990793228149,
-0.06466418504714966,
0.1766732633113861,
1.1306414604187012,
1.0348247289657593,
-0.5050675272941589,
0.3789207935333252,
0.16256222128868103,
0.4589913487434387,
0.2702651619911194,
0.408473938703537,
0.658075213432312,
-0.5722144842147827,
0.8178350329399109,
-0.3708146810531616,
-0.11027907580137253,
0.1668122112751007,
-0.8688757419586182,
-1.085585355758667,
-0.5740610361099243,
-0.043527498841285706,
-0.507527232170105,
-0.389527291059494,
0.4976332485675812,
0.6786315441131592,
-0.8330066204071045,
-0.12514628469944,
-0.39051181077957153,
0.18361380696296692,
-0.6727292537689209,
-0.3080046474933624,
0.20328742265701294,
-0.4753206670284271,
-0.5856224298477173,
0.37049537897109985,
0.20848476886749268,
-0.5413169860839844,
-0.2879334092140198,
0.1540357917547226,
-0.06262379139661789,
0.33825141191482544,
0.6158125996589661,
-0.1875697672367096,
-0.8049907088279724,
-0.4497222900390625,
-0.012906230986118317,
0.28693315386772156,
0.3214842677116394,
1.401787281036377,
-0.5495254397392273,
0.3971693813800812,
0.5848226547241211,
0.6029185652732849,
0.7471094727516174,
-0.1756843775510788,
0.5068767666816711,
-0.4279353618621826,
-0.014867397956550121,
-0.032419051975011826,
0.6268022060394287,
0.2943846583366394,
-0.4794483482837677,
0.28079184889793396,
0.06090933829545975,
-0.6751677989959717,
-0.7380462288856506,
0.3636724352836609,
-0.7454870343208313,
-0.14920157194137573,
0.9052703976631165,
0.2786944508552551,
0.04267735406756401,
-0.18173901736736298,
-0.3628748059272766,
0.20933033525943756,
-0.11389034986495972,
0.6773421764373779,
0.7759373784065247,
-0.4133723974227905,
-0.6262665390968323,
-0.36730509996414185,
0.3791324496269226,
0.22259165346622467,
-0.7153247594833374,
-0.029609283432364464,
-0.037046946585178375,
0.14178696274757385,
0.4308185577392578,
0.140829935669899,
-0.01853562891483307,
0.2089443802833557,
0.17689567804336548,
-0.392687052488327,
-0.03243967145681381,
-0.4258542060852051,
-0.15709610283374786,
0.38833117485046387,
-0.22643378376960754,
0.07900037616491318
] |
http://arxiv.org/abs/2405.20770v1
|
http://arxiv.org/pdf/2405.20770v1
|
Large Language Model Sentinel: Advancing Adversarial Robustness by LLM Agent
| 2024-05-24T07:23:56 | 2024-05-24T07:23:56 |
Guang Lin, Qibin Zhao
|
cs.CL
|
cs.CL, cs.AI, cs.CR
|
Over the past two years, the use of large language models (LLMs) has advanced
rapidly. While these LLMs offer considerable convenience, they also raise
security concerns, as LLMs are vulnerable to adversarial attacks by some
well-designed textual perturbations. In this paper, we introduce a novel
defense technique named Large LAnguage MOdel Sentinel (LLAMOS), which is
designed to enhance the adversarial robustness of LLMs by purifying the
adversarial textual examples before feeding them into the target LLM. Our
method comprises two main components: a) Agent instruction, which can simulate
a new agent for adversarial defense, altering minimal characters to maintain
the original meaning of the sentence while defending against attacks; b)
Defense guidance, which provides strategies for modifying clean or adversarial
examples to ensure effective defense and accurate outputs from the target LLMs.
Remarkably, the defense agent demonstrates robust defensive capabilities even
without learning from adversarial examples. Additionally, we conduct an
intriguing adversarial experiment where we develop two agents, one for defense
and one for defense, and engage them in mutual confrontation. During the
adversarial interactions, neither agent completely beat the other. Extensive
experiments on both open-source and closed-source LLMs demonstrate that our
method effectively defends against adversarial attacks, thereby enhancing
adversarial robustness.
|
[
-0.1342344582080841,
-1.1966675519943237,
0.5355629324913025,
-0.11904237419366837,
-0.33005934953689575,
0.36578917503356934,
-0.23652169108390808,
-0.24383801221847534,
0.15256543457508087,
0.6897735595703125,
-0.3823634088039398,
-0.5789901614189148,
-0.8337130546569824,
-0.02125450409948826,
-0.5979673862457275,
1.0612854957580566,
0.4625580310821533,
0.0010383701883256435,
-0.13169236481189728,
0.0906374529004097,
-0.23773515224456787,
-0.7193966507911682,
-0.9841782450675964,
-0.28911885619163513,
0.6627234816551208,
-0.04524674639105797,
0.9528300762176514,
0.55032879114151,
0.6446042060852051,
0.4427618682384491,
-0.4338965117931366,
0.3847891688346863,
-0.612644374370575,
0.5519263744354248,
-0.33520644903182983,
-0.7495112419128418,
-0.5107496380805969,
-0.2468835860490799,
0.654921293258667,
0.09383003413677216,
0.2120741754770279,
-0.17417079210281372,
0.13109305500984192,
0.4755862355232239,
-0.7483464479446411,
-0.005969238933175802,
-0.9814825654029846,
-0.04576946049928665,
-0.48204246163368225,
-0.1506940871477127,
-0.6451749801635742,
-0.07569883018732071,
-0.18930192291736603,
-0.33735430240631104,
-0.11004583537578583,
-0.2453446090221405,
0.808354914188385,
0.2960928976535797,
-0.4827655553817749,
-0.14198727905750275,
-0.6438032984733582,
0.7686036825180054,
-0.6784493327140808,
-0.27846717834472656,
0.27403998374938965,
0.29233014583587646,
-0.5206959247589111,
-0.6630763411521912,
-0.3299378454685211,
-0.5513376593589783,
0.2617250382900238,
0.17548194527626038,
-0.6181880235671997,
0.08611945062875748,
0.04850567504763603,
0.15014483034610748,
-0.485939085483551,
0.3033476769924164,
-0.12812641263008118,
-0.3239595890045166,
0.5798851847648621,
0.18041734397411346,
0.257201611995697,
0.13752752542495728,
-0.40107956528663635,
-0.31245794892311096,
-0.9124209880828857,
-0.3519264757633209,
0.42424407601356506,
0.384787380695343,
0.17686069011688232,
0.7025695443153381,
0.12011096626520157,
0.523229718208313,
-0.027260422706604004,
-0.2963384687900543,
-0.11279258877038956,
0.0935247614979744,
-0.047696303576231,
-0.10738743096590042,
0.9205358624458313,
0.025264861062169075,
0.1140928789973259,
-0.15011094510555267,
-0.4599715769290924,
0.320706307888031,
0.47759145498275757,
-0.6583266854286194,
0.08445025980472565,
0.10950728505849838,
-0.37053388357162476,
-0.8185878396034241,
-0.10070820897817612,
-0.6661363244056702,
-0.8055207133293152,
0.13260965049266815,
0.42251697182655334,
-0.5962960720062256,
0.01801062561571598,
-0.09144706279039383,
0.09049184620380402,
0.19543761014938354,
0.1850842535495758,
-0.6707442402839661,
0.29029348492622375,
1.0433671474456787,
0.7679815888404846,
-0.02851095236837864,
-0.40532436966896057,
-0.7777655720710754,
0.24563029408454895,
-0.453682541847229,
0.7425808906555176,
-0.28422459959983826,
-0.38193774223327637,
0.1518763154745102,
-0.24239906668663025,
0.07450725138187408,
-0.4447074830532074,
0.6314465403556824,
-0.8530923128128052,
0.13804486393928528,
0.24352961778640747,
-0.47545096278190613,
-0.15494677424430847,
0.5951517224311829,
-0.7163430452346802,
0.627809464931488,
-0.14092841744422913,
-0.7912697792053223,
-0.3953518867492676,
-0.5309128761291504,
-0.5243682265281677,
-0.019770661368966103,
-0.04673532396554947,
-0.4370012879371643,
0.21094322204589844,
0.3917485475540161,
0.3790035843849182,
-0.3704630732536316,
0.03339669480919838,
-0.600611686706543,
-0.13794353604316711,
0.44634637236595154,
-0.6669132113456726,
0.9726682901382446,
0.5287522673606873,
-0.01851492188870907,
0.38551124930381775,
-0.32992610335350037,
-0.11010441929101944,
0.47979485988616943,
-0.12067816406488419,
-0.2908220589160919,
0.01616356335580349,
-0.4075673818588257,
-0.223598450422287,
0.6424320936203003,
-0.3196263909339905,
0.14051726460456848,
-0.4431684911251068,
0.45867595076560974,
0.8860234618186951,
0.0327720083296299,
0.2927345335483551,
-0.4839451313018799,
0.7104008197784424,
-0.27376240491867065,
0.3497608006000519,
-0.34593257308006287,
-0.37340545654296875,
-0.6088111996650696,
-0.6073996424674988,
0.2627028524875641,
0.5817796587944031,
-0.9822906851768494,
0.4611175060272217,
-0.06641203910112381,
-0.46665483713150024,
-0.42372873425483704,
0.2666328549385071,
0.5803202390670776,
0.08130397647619247,
0.07026895880699158,
-0.0031915910076349974,
-0.5299713015556335,
-0.764263927936554,
-0.18608029186725616,
-0.366243451833725,
-0.07968837022781372,
-0.15767014026641846,
0.49092403054237366,
-0.40138065814971924,
0.5947944521903992,
-0.5224776268005371,
-0.17979511618614197,
-0.3168087601661682,
-0.1493981033563614,
-0.0323021337389946,
0.09922076761722565,
0.6391303539276123,
-0.5797873139381409,
-0.18186447024345398,
-0.21083500981330872,
-0.8709652423858643,
-0.1523571014404297,
0.06497424840927124,
-0.15536126494407654,
0.05644407868385315,
0.7572339773178101,
-0.6959366202354431,
0.15787263214588165,
0.5246301889419556,
-0.3325309157371521,
0.4123391807079315,
-0.20175369083881378,
-0.2466205358505249,
-1.2850642204284668,
-0.25549033284187317,
-0.20423707365989685,
-0.551291286945343,
-0.737409770488739,
0.9308227896690369,
-0.11259718984365463,
-0.24096690118312836,
-0.6864079236984253,
0.6629585027694702,
-0.1582140326499939,
0.21436761319637299,
-0.6545621752738953,
0.16696996986865997,
0.11565716564655304,
0.11261007934808731,
-0.262593150138855,
0.6785330176353455,
0.6074260473251343,
-0.4449496567249298,
0.5430873036384583,
0.0425550751388073,
-0.1073470339179039,
0.5824317932128906,
-0.7330983877182007,
0.3162483274936676,
-0.12820860743522644,
0.2944094240665436,
-0.6586498022079468,
0.09474806487560272,
0.3555185794830322,
-0.5058311223983765,
0.43395936489105225,
-0.033907704055309296,
-0.6674600839614868,
-0.24750299751758575,
-0.4286864995956421,
0.085268035531044,
0.4481464624404907,
-0.5866420865058899,
0.7118294835090637,
0.28256964683532715,
-0.13446810841560364,
-0.596229076385498,
-0.6972870826721191,
0.608735203742981,
-0.5531975626945496,
-0.6861476302146912,
0.20958714187145233,
-0.06947078555822372,
-0.5486981272697449,
-0.14123491942882538,
0.3313511312007904,
0.04087453708052635,
0.5356217622756958,
0.13378894329071045,
0.30554482340812683,
-0.28719162940979004,
0.05846822261810303,
-0.20367860794067383,
-0.08479353040456772,
0.22383283078670502,
-0.30436691641807556,
0.6495038866996765,
-0.2574411928653717,
-0.5988128185272217,
-0.43864068388938904,
0.2725745141506195,
0.7278003096580505,
-0.3168197274208069,
0.9350336194038391,
0.5321747064590454,
-0.2640094459056854,
-0.15895408391952515,
-0.4405437707901001,
-0.3088192641735077,
-0.5442757606506348,
0.6304313540458679,
-0.4072698652744293,
-0.8351816534996033,
0.3022027015686035,
0.007434749510139227,
-0.0010507138213142753,
0.4141380488872528,
0.5413397550582886,
0.08963064104318619,
0.945134699344635,
0.35137683153152466,
-0.5265069007873535,
0.5501881837844849,
-0.27990132570266724,
-0.05129328742623329,
-0.7181113958358765,
0.0014631309313699603,
-0.5916270613670349,
-0.04180941358208656,
-0.3222309947013855,
-0.35915064811706543,
0.17240910232067108,
-0.11205166578292847,
-0.49187806248664856,
0.30427947640419006,
-0.250830739736557,
0.45071566104888916,
0.6289145946502686,
0.2675580084323883,
0.1581026166677475,
-0.00692208344116807,
-0.10497938096523285,
0.08695211261510849,
-0.5123497843742371,
-0.7594550848007202,
1.2910001277923584,
0.6850511431694031,
0.9712377786636353,
0.5596309304237366,
0.8166633248329163,
0.5062664151191711,
0.2751379609107971,
-0.7206501364707947,
0.7778260111808777,
-0.4141654074192047,
-0.4793770909309387,
-0.10919066518545151,
-0.4031713902950287,
-1.0901662111282349,
0.44628584384918213,
-0.24004128575325012,
-0.5723300576210022,
-0.35653331875801086,
-0.04693089798092842,
-0.17167770862579346,
0.4403095841407776,
-0.45277315378189087,
0.41346117854118347,
-0.5272994041442871,
-0.38694602251052856,
-0.23622919619083405,
-0.33085477352142334,
0.4418683350086212,
-0.2665592133998871,
0.11888529360294342,
0.2455640584230423,
-0.24766068160533905,
0.5039772987365723,
-0.3200133442878723,
0.9760915040969849,
0.03056795336306095,
-0.38597315549850464,
0.4445101022720337,
0.1990615278482437,
0.7116983532905579,
0.00021441045100800693,
-0.1798686683177948,
-0.175142303109169,
-0.425581693649292,
-0.5624925494194031,
-0.6139885783195496,
0.7462183237075806,
-0.7960512042045593,
-1.1194815635681152,
-0.5730684399604797,
-0.5611329674720764,
0.06319186836481094,
0.34504958987236023,
0.05969564616680145,
0.16143065690994263,
-0.5947692394256592,
0.27928975224494934,
0.9160411953926086,
-0.2580198347568512,
0.41769465804100037,
0.6197327375411987,
-0.17503781616687775,
-0.678216278553009,
0.7194574475288391,
-0.4486171305179596,
0.4888991713523865,
0.7354810237884521,
0.25280532240867615,
-0.28897902369499207,
-0.7436845898628235,
-0.10356022417545319,
0.1373966634273529,
-0.5972322821617126,
-0.477987140417099,
-0.3242073059082031,
-0.3848700225353241,
-0.5169273018836975,
-0.09718453139066696,
-0.38508641719818115,
-0.25758862495422363,
-0.24026742577552795,
0.1014682725071907,
0.3694787919521332,
0.7585923075675964,
0.16352899372577667,
0.5349611639976501,
-0.6505231261253357,
0.14252431690692902,
0.4292909801006317,
-0.37205255031585693,
-0.03897075355052948,
-0.7812300324440002,
-0.16249507665634155,
0.29140225052833557,
-0.7130948901176453,
-0.8356926441192627,
0.5358535051345825,
-0.011988825164735317,
0.46087682247161865,
0.8534114360809326,
0.21110956370830536,
0.31470584869384766,
-0.24874301254749298,
0.7369236350059509,
-0.03145359829068184,
-0.7616385221481323,
0.5188923478126526,
-0.5106394290924072,
0.5260788798332214,
0.29086655378341675,
-0.20456546545028687,
-0.0019380183657631278,
-0.8622761964797974,
-0.5624234676361084,
-0.5635905265808105,
0.3334349989891052,
0.2989698052406311,
0.19824106991291046,
-0.0227349866181612,
0.18759222328662872,
-0.39519402384757996,
0.0498117059469223,
-0.7263974547386169,
-0.027127977460622787,
-0.2015472948551178,
-0.24759280681610107,
-0.3722487688064575,
-0.2697603702545166,
-0.5878371000289917,
0.4047369062900543,
0.7679032683372498,
0.01965974271297455,
0.13143682479858398,
-0.017737889662384987,
-0.2344122678041458,
0.3100149631500244,
0.35253334045410156,
0.7093594074249268,
0.02501751482486725,
-0.028490781784057617,
0.4146903157234192,
0.3183480203151703,
-0.47759708762168884,
0.3212219178676605,
0.17506559193134308,
-0.28835538029670715,
-0.3838548958301544,
0.7525836825370789,
0.5422046184539795,
-0.08394374698400497,
-0.6497527956962585,
0.6091213226318359,
-0.23106347024440765,
-0.0514439158141613,
-0.43618518114089966,
0.09617655724287033,
0.02886059693992138,
0.4514662027359009,
0.2546347975730896,
-0.1079726591706276,
-0.2677765488624573,
-0.5593510866165161,
0.06287264823913574,
0.784976065158844,
-0.1351223587989807,
-0.009320083074271679,
0.5846943855285645,
0.025558575987815857,
-0.524384081363678,
0.21570509672164917,
-0.237743079662323,
-0.7497108578681946,
0.7085576057434082,
0.8165438771247864,
0.9219514727592468,
-0.37832754850387573,
0.07328666001558304,
-0.19972622394561768,
0.7095843553543091,
-0.05638162046670914,
-0.13984256982803345,
0.37898388504981995,
-0.5458595752716064,
-0.13137267529964447,
-0.28154483437538147,
-0.33581387996673584,
0.4577496647834778,
-0.4089045226573944,
0.1679314523935318,
-0.6924753189086914,
-0.2782658040523529,
-0.18891796469688416,
0.175210103392601,
-0.20236115157604218,
0.01723669469356537,
0.3644249737262726,
0.98492431640625,
-0.6046612858772278,
0.7559175491333008,
0.7402290105819702,
-0.2679939270019531,
-0.3145875334739685,
0.11972818523645401,
0.4493555724620819,
-0.7197181582450867,
0.3700129985809326,
-0.10270681232213974,
-0.3836383819580078,
-0.4343913793563843,
-0.5323514342308044,
-0.8396260142326355,
1.0329314470291138,
0.7303354144096375,
-0.32708504796028137,
0.21305648982524872,
0.018598798662424088,
0.7312261462211609,
-0.5158540606498718,
0.2083357572555542,
0.1595088243484497,
0.29548415541648865,
0.013425536453723907,
-0.2568928599357605,
0.19815479218959808,
-0.29958993196487427,
0.11757402867078781,
0.09084182232618332,
-1.0118831396102905,
0.7925167083740234,
-0.1428096443414688,
-0.029379675164818764,
0.6696435213088989,
0.9567041993141174,
0.422807902097702,
0.1952088326215744,
0.4603290557861328,
0.7484119534492493,
0.6951903104782104,
0.11249469220638275,
1.0975676774978638,
-0.2851159870624542,
-0.022592805325984955,
1.169034481048584,
-0.4015074670314789,
0.8687968850135803,
0.17158138751983643,
0.020399004220962524,
0.30338555574417114,
0.3269146680831909,
-0.1899051070213318,
0.4698185622692108,
0.2496112585067749,
-0.5757979154586792,
-0.06869149208068848,
0.011346124112606049,
-0.38413217663764954,
0.6722472906112671,
0.4384777545928955,
-0.5175965428352356,
-0.17489741742610931,
0.1989109218120575,
0.46083053946495056,
0.5741913318634033,
-0.3097875416278839,
0.7214116454124451,
0.020259955897927284,
-0.6610504984855652,
0.7698512077331543,
0.2584976553916931,
0.5361584424972534,
-0.8183603882789612,
0.37430131435394287,
-0.2514626979827881,
0.6519170999526978,
0.03514300659298897,
-0.4702996611595154,
0.21726982295513153,
0.22626858949661255,
-0.11816241592168808,
0.06758911907672882,
0.7960838675498962,
-0.16559766232967377,
-0.4428008198738098,
0.49338555335998535,
0.16495536267757416,
-0.01200963370501995,
-0.1125064492225647,
-0.6563308835029602,
0.1659206598997116,
-0.0564611442387104,
-0.08983323723077774,
0.5482298135757446,
0.34388962388038635,
0.023452771827578545,
0.9940800070762634,
0.5361486077308655,
0.31483736634254456,
-0.2114773839712143,
0.1180434599518776,
1.0020421743392944,
-0.31721246242523193,
-0.30983996391296387,
-1.1413878202438354,
0.0433136485517025,
-0.28936854004859924,
0.08064248412847519,
0.8875908851623535,
0.523731529712677,
0.4831230640411377,
0.157473623752594,
0.7949054837226868,
0.3124205768108368,
0.3869374990463257,
-0.5032537579536438,
0.8118888735771179,
-0.26230621337890625,
0.6576019525527954,
-0.12522926926612854,
-0.8205188512802124,
-0.3312261998653412,
0.35797497630119324,
-0.15669722855091095,
-0.07423701882362366,
0.8099284172058105,
1.127037763595581,
0.20801232755184174,
-0.23696686327457428,
0.3722403645515442,
0.4633084833621979,
0.6460277438163757,
0.6861104369163513,
1.0016611814498901,
-0.3108772337436676,
0.8930544853210449,
-0.007091740146279335,
-0.41875413060188293,
-0.018259668722748756,
-0.8608646392822266,
-1.340606451034546,
-0.08444038033485413,
-0.13697488605976105,
-0.696262538433075,
0.6227830648422241,
0.7111605405807495,
0.5243224501609802,
-0.6522720456123352,
-0.19665057957172394,
0.0919882133603096,
0.21696634590625763,
-0.15390954911708832,
-0.18807300925254822,
0.27262213826179504,
-0.2844768166542053,
-0.7186242938041687,
0.7606201767921448,
-0.039139438420534134,
0.1650172472000122,
-0.5547687411308289,
-0.09467083215713501,
-0.1791704297065735,
0.3514922857284546,
0.547894299030304,
0.30838361382484436,
-0.8166574835777283,
-0.02514003776013851,
-0.31299349665641785,
-0.35959160327911377,
-0.4766273498535156,
0.37123817205429077,
-0.5936660170555115,
0.27206575870513916,
0.20946089923381805,
0.8934233784675598,
0.08004464209079742,
-0.08192454278469086,
0.6121055483818054,
-0.5345650315284729,
0.3925727903842926,
0.2917632460594177,
0.41977906227111816,
0.3389437198638916,
-0.4153445363044739,
0.33510899543762207,
-0.06173526495695114,
-0.5255546569824219,
-0.8364377021789551,
0.5101741552352905,
-0.7040320038795471,
-0.488384485244751,
1.3499698638916016,
-0.42852503061294556,
-0.41272076964378357,
0.2532188296318054,
-0.3034876883029938,
0.17518289387226105,
-0.47059521079063416,
1.021376609802246,
0.48541635274887085,
0.5617623329162598,
0.05815748870372772,
-0.06690806150436401,
0.16771763563156128,
0.37310218811035156,
-0.8480725288391113,
-0.12494092434644699,
0.19384969770908356,
-0.03688601404428482,
0.1676519364118576,
0.16602925956249237,
-0.26415756344795227,
0.13748276233673096,
0.10025250166654587,
-0.3189445436000824,
-0.3853206932544708,
-0.2798335552215576,
-0.576766848564148,
0.2657688558101654,
0.2787089943885803,
-0.3908809721469879
] |
http://arxiv.org/abs/2406.00024v1
|
http://arxiv.org/pdf/2406.00024v1
|
Embedding-Aligned Language Models
| 2024-05-24T06:11:17 | 2024-05-24T06:11:17 |
Guy Tennenholtz, Yinlam Chow, Chih-Wei Hsu, Lior Shani, Ethan Liang, Craig Boutilier
|
cs.CL
|
cs.CL, cs.AI, cs.ET, cs.LG
|
We propose a novel approach for training large language models (LLMs) to
adhere to objectives defined within a latent embedding space. Our method
leverages reinforcement learning (RL), treating a pre-trained LLM as an
environment. Our embedding-aligned guided language (EAGLE) agent is trained to
iteratively steer the LLM's generation towards optimal regions of the latent
embedding space, w.r.t. some predefined criterion. We demonstrate the
effectiveness of the EAGLE agent using the MovieLens 25M dataset to surface
content gaps that satisfy latent user demand. We also demonstrate the benefit
of using an optimal design of a state-dependent action set to improve EAGLE's
efficiency. Our work paves the way for controlled and grounded text generation
using LLMs, ensuring consistency with domain-specific knowledge and data
representations.
|
[
-0.015049764886498451,
-0.9864352345466614,
0.6108207106590271,
0.2599353790283203,
-0.11857736855745316,
0.41381165385246277,
-0.2559758722782135,
0.0295844916254282,
0.1959548443555832,
0.6970716714859009,
-0.5557782053947449,
-0.6656166911125183,
-0.35338807106018066,
-0.18536460399627686,
-0.18773368000984192,
0.7381810545921326,
-0.3007519543170929,
-0.15569555759429932,
0.011704775504767895,
0.015892650932073593,
-0.38308626413345337,
-0.35642462968826294,
-0.7487614750862122,
-0.5426239967346191,
0.5481923818588257,
0.3184594213962555,
0.9119398593902588,
1.1099570989608765,
0.2353629618883133,
0.28064119815826416,
0.1307191401720047,
0.40846410393714905,
-0.4126947522163391,
0.31831738352775574,
-0.2073569893836975,
-0.15875448286533356,
-0.29857757687568665,
-0.09117496013641357,
0.7924232482910156,
0.6269730925559998,
-0.34506726264953613,
-0.23382200300693512,
-0.052930016070604324,
0.313674658536911,
-0.5872412323951721,
0.11444496363401413,
-0.46715736389160156,
0.337983101606369,
0.0636063814163208,
-0.41059210896492004,
-0.5020191669464111,
-0.18205413222312927,
-0.015346277505159378,
-0.7750002145767212,
-0.2924787402153015,
0.19354157149791718,
0.888903021812439,
0.5024113655090332,
-0.5382468104362488,
-0.4296031594276428,
-0.6414032578468323,
0.9921208024024963,
-0.5379469394683838,
0.6360657811164856,
0.35205143690109253,
0.15334677696228027,
-0.39730462431907654,
-0.5563543438911438,
-0.4823414087295532,
-0.27819204330444336,
0.20783878862857819,
-0.01195537205785513,
0.1416633278131485,
-0.05290612205862999,
-0.1041591614484787,
0.1684608906507492,
-0.5039483308792114,
0.5193027853965759,
-0.05932913348078728,
-0.06632719933986664,
0.7103104591369629,
0.1646241694688797,
0.30205702781677246,
0.17220833897590637,
-0.39702388644218445,
-0.2634827196598053,
-0.9334807395935059,
0.2010093331336975,
0.4978218674659729,
0.7013641595840454,
0.17571218311786652,
0.81526118516922,
0.1019410640001297,
0.6447376012802124,
0.360068678855896,
-0.08775892853736877,
0.15559163689613342,
0.11654484272003174,
-0.1350843757390976,
0.3272053301334381,
0.6715148687362671,
0.033756617456674576,
0.20672255754470825,
-0.10663365572690964,
-0.6956301927566528,
-0.06066793203353882,
0.4072142541408539,
-0.6497782468795776,
0.2691977322101593,
0.231212317943573,
-0.09272372722625732,
-0.3955940306186676,
-0.06312929093837738,
-0.24647939205169678,
-0.320781409740448,
-0.3250356912612915,
0.3367259204387665,
-0.28011566400527954,
-0.36619889736175537,
-0.0006639427738264203,
0.28985360264778137,
0.4120945334434509,
0.08452951163053513,
-1.057176113128662,
0.3460622727870941,
0.7049854397773743,
0.5509146451950073,
-0.036994222551584244,
-0.3616317808628082,
-0.9900015592575073,
0.7020780444145203,
-0.8325805068016052,
0.6468555331230164,
-0.870299220085144,
-0.05295281112194061,
0.6857905387878418,
-0.08543362468481064,
0.034388381987810135,
-0.37548407912254333,
0.26897233724594116,
-0.8513014316558838,
0.10139676928520203,
-0.0914568305015564,
-0.7539219856262207,
-0.08500982075929642,
0.39288845658302307,
-0.5666838884353638,
0.9354090094566345,
0.07275137305259705,
-0.3255966305732727,
0.3941374719142914,
-0.4619031250476837,
-0.35872527956962585,
-0.12700843811035156,
-0.5663546919822693,
-0.478847861289978,
-0.14055757224559784,
0.34196367859840393,
0.5344810485839844,
0.12498616427183151,
0.36586788296699524,
-0.16232259571552277,
-0.28619295358657837,
0.26143500208854675,
-0.10159914195537567,
0.242961585521698,
0.3617023825645447,
-0.29587018489837646,
0.24881117045879364,
-0.2946602702140808,
0.056388672441244125,
0.03720356151461601,
-0.7643707990646362,
-0.2410093992948532,
0.19721069931983948,
0.09132391959428787,
0.15841154754161835,
0.41143476963043213,
-0.4634673595428467,
0.31093111634254456,
-0.4006432890892029,
0.19786998629570007,
0.8690682053565979,
0.031532883644104004,
0.5584595203399658,
-0.260132372379303,
0.645737886428833,
0.03517873212695122,
-0.18833723664283752,
-0.04246917739510536,
0.13894177973270416,
-0.6975032091140747,
-0.20577600598335266,
0.05948653444647789,
0.5165318250656128,
-0.8139147758483887,
0.6268255114555359,
-0.11475156247615814,
-0.1891520470380783,
-0.3234982490539551,
0.3650456964969635,
0.5637108683586121,
0.07321614772081375,
0.028190454468131065,
-0.06053617596626282,
-0.32516711950302124,
-0.7524512410163879,
-0.09267599135637283,
-0.040430810302495956,
0.35507306456565857,
0.3647618889808655,
0.11161670833826065,
-0.3790079653263092,
0.7986905574798584,
-0.39140084385871887,
-0.35064420104026794,
-0.23120960593223572,
-0.10545248538255692,
-0.08943188190460205,
0.4825286865234375,
0.23932020366191864,
-0.814703106880188,
-0.6080294847488403,
0.12027188390493393,
-0.9284148812294006,
-0.039906300604343414,
-0.1990644931793213,
-0.027432981878519058,
0.41386809945106506,
0.9761689901351929,
-0.2963002026081085,
0.130796879529953,
0.6565220952033997,
-0.34286341071128845,
-0.06205624341964722,
-0.31073325872421265,
-0.02770734392106533,
-1.1281377077102661,
-0.2591850757598877,
0.004344372544437647,
-0.5320051908493042,
-0.4848569929599762,
-0.06159135699272156,
-0.23571357131004333,
-0.2994745969772339,
-0.42090368270874023,
0.7476168274879456,
-0.6524144411087036,
-0.3114856481552124,
-0.5623732209205627,
0.3476274311542511,
-0.19198037683963776,
0.5794878005981445,
0.4238978922367096,
0.7848392724990845,
0.48431432247161865,
-0.6860433220863342,
0.1928672343492508,
0.49748221039772034,
-0.1657424122095108,
0.31174802780151367,
-0.5465853214263916,
0.1275104582309723,
-0.047218210995197296,
0.18255683779716492,
-0.4921542704105377,
-0.017691034823656082,
0.2820295989513397,
-0.15788233280181885,
0.45171090960502625,
0.18821649253368378,
-0.44154471158981323,
0.17994076013565063,
-0.15737412869930267,
0.18454097211360931,
0.4371175169944763,
-0.6066915392875671,
0.7227036952972412,
0.40191078186035156,
-0.21907061338424683,
-0.7879329323768616,
-0.5607323050498962,
-0.1289767473936081,
-0.2927230894565582,
-0.47309985756874084,
0.40710359811782837,
0.11531659215688705,
-0.2068212628364563,
0.42243683338165283,
0.23602893948554993,
-0.0579366534948349,
-0.02366180717945099,
0.28631043434143066,
-0.31256964802742004,
-0.3616783916950226,
0.35415250062942505,
0.15109598636627197,
0.01215036865323782,
-0.2874943017959595,
-0.4049430787563324,
0.5356765389442444,
-0.25650691986083984,
-0.5361666083335876,
-0.18162497878074646,
0.46506568789482117,
0.04845201224088669,
-0.3753238916397095,
0.7894400358200073,
0.45673689246177673,
-0.30234095454216003,
-0.5008625388145447,
-0.23996388912200928,
-0.05302685126662254,
-0.49295395612716675,
0.5148554444313049,
-0.4446912407875061,
-1.1125893592834473,
0.3431045413017273,
-0.17443017661571503,
0.3326689898967743,
0.1983400583267212,
0.5384214520454407,
0.027138743549585342,
1.1553425788879395,
1.0832552909851074,
0.20894743502140045,
0.8313748240470886,
-0.09871090203523636,
0.25496599078178406,
-0.7795920372009277,
-0.06845658272504807,
-0.06071031093597412,
-0.07756178081035614,
-0.4866527318954468,
-0.32301196455955505,
-0.04186677187681198,
0.26618966460227966,
-0.6088569164276123,
0.07976177334785461,
-0.2701837420463562,
0.37004750967025757,
0.2682957053184509,
-0.019017037004232407,
0.004422356840223074,
0.17808179557323456,
-0.2299414873123169,
0.08061627298593521,
-0.8599959015846252,
-0.9895276427268982,
1.0357701778411865,
0.5429474115371704,
0.8577938079833984,
0.42530640959739685,
0.8793323636054993,
0.4739393889904022,
0.28353679180145264,
-0.5400186777114868,
0.39243951439857483,
-0.15355023741722107,
-0.38784778118133545,
-0.5745847821235657,
-0.07034868746995926,
-1.0878891944885254,
0.08330683410167694,
-0.2550353705883026,
-0.6012331247329712,
-0.1642993986606598,
0.1247980147600174,
-0.20794275403022766,
0.12407372146844864,
-0.35162079334259033,
0.678027868270874,
-0.47036993503570557,
-0.6173580288887024,
-0.20225201547145844,
-0.20581156015396118,
0.13949382305145264,
-0.26223334670066833,
-0.013157309964299202,
0.018943386152386665,
-0.4877496659755707,
0.6741762757301331,
-0.4318927526473999,
0.92030268907547,
-0.271549791097641,
-0.3642463982105255,
0.38151413202285767,
-0.07571039348840714,
0.6716036796569824,
-0.09491176903247833,
-0.026189235970377922,
-0.469406396150589,
-0.3926141858100891,
-0.4454007148742676,
-0.6261987686157227,
0.7158086895942688,
-0.9851721525192261,
-0.6447870135307312,
-0.5762518048286438,
-0.5573391914367676,
-0.2579830586910248,
0.06456565111875534,
-0.18960122764110565,
0.37094083428382874,
-0.4147183895111084,
0.10648149996995926,
0.7629934549331665,
-0.46681249141693115,
0.44382837414741516,
0.8380035758018494,
-0.5354479551315308,
-0.37422916293144226,
0.9180696606636047,
-0.08955550938844681,
0.11442949622869492,
0.641870379447937,
0.02458127774298191,
-0.5210651755332947,
-0.48854315280914307,
-0.2935614585876465,
0.27148979902267456,
-0.7220518589019775,
0.07179959863424301,
-0.45156800746917725,
-0.38722649216651917,
-0.35137906670570374,
-0.4854417145252228,
-0.48256903886795044,
0.10115700215101242,
-0.4248584508895874,
-0.11753233522176743,
0.25509658455848694,
1.01792573928833,
-0.23584064841270447,
0.722923219203949,
-0.6985375285148621,
-0.04586603119969368,
0.2475760132074356,
0.23144900798797607,
-0.1558721661567688,
-0.4649079740047455,
-0.38577988743782043,
-0.1536100208759308,
-0.40133219957351685,
-0.6093873977661133,
0.42024460434913635,
0.3869824707508087,
0.8801016211509705,
0.5534525513648987,
-0.07171182334423065,
0.32154497504234314,
-0.6535429954528809,
0.6591099500656128,
-0.006763473618775606,
-0.8378610610961914,
0.571976900100708,
-0.5393727421760559,
0.03659266605973244,
0.289018839597702,
0.31094545125961304,
-0.41643914580345154,
-0.5176650881767273,
-0.6495147347450256,
-0.6974830627441406,
0.5150319337844849,
0.023837076500058174,
0.19431988894939423,
-0.06028543785214424,
0.2929442226886749,
-0.02583414502441883,
0.3582022488117218,
-0.7637866139411926,
0.12181523442268372,
-0.08084838837385178,
-0.44067925214767456,
-0.3525426983833313,
-0.1910635381937027,
-0.15222424268722534,
0.334262490272522,
0.9962889552116394,
-0.3012339770793915,
0.1089552789926529,
0.03250527381896973,
-0.3409292995929718,
-0.2672378718852997,
0.1538291722536087,
0.8668500185012817,
0.7317330241203308,
-0.1238323524594307,
0.0964919775724411,
-0.2503110468387604,
-0.1448880136013031,
0.3677487373352051,
0.05390770360827446,
-0.06013810634613037,
-0.31396278738975525,
0.5417622327804565,
0.9125275611877441,
0.1646803766489029,
-0.754288911819458,
0.5540494918823242,
0.035152748227119446,
-0.17616119980812073,
-0.5673038363456726,
0.08149411529302597,
0.07371080666780472,
0.6208239793777466,
0.23536249995231628,
-0.6319090127944946,
-0.5158254504203796,
-0.4705300033092499,
0.48071107268333435,
0.3980655074119568,
-0.4859227240085602,
-0.0651252493262291,
0.4289841949939728,
0.3549920916557312,
-0.6064197421073914,
0.6403493285179138,
-0.16385452449321747,
-0.5443280935287476,
0.3592270016670227,
0.649776816368103,
0.7753817439079285,
-0.23550772666931152,
0.3973827064037323,
0.034591708332300186,
0.360748291015625,
0.07844159752130508,
0.4118577241897583,
0.1256648302078247,
-0.9831146597862244,
-0.5461576581001282,
-0.7069824934005737,
-0.3249741196632385,
0.2610664665699005,
-0.3854825794696808,
0.13141299784183502,
-0.6934319734573364,
0.04569964483380318,
-0.24229374527931213,
0.2965974807739258,
-0.5133751630783081,
0.16110645234584808,
0.150318443775177,
0.7203564643859863,
-1.142452597618103,
0.7736477851867676,
0.8903403878211975,
-0.6465685963630676,
-1.2206757068634033,
0.04269959032535553,
-0.17488457262516022,
-0.8900092244148254,
0.8030365109443665,
0.060751184821128845,
-0.1460486799478531,
0.16492857038974762,
-0.593567967414856,
-0.8914775252342224,
1.0433157682418823,
0.3072230815887451,
-0.4797353148460388,
0.22671964764595032,
0.1457083821296692,
0.5054433941841125,
-0.9197343587875366,
-0.16134385764598846,
0.13791708648204803,
0.4127446711063385,
-0.00509734358638525,
-0.49575167894363403,
-0.04292750358581543,
-0.08124518394470215,
0.07907035201787949,
0.19466336071491241,
-0.7188253998756409,
0.7682240605354309,
-0.07005193829536438,
-0.1420488804578781,
-0.05191506817936897,
0.9996192455291748,
0.5723517537117004,
0.03906786069273949,
0.6057330965995789,
0.6113187670707703,
0.8127027750015259,
0.25349414348602295,
0.8365933895111084,
-0.24064618349075317,
0.033535368740558624,
0.9331166744232178,
-0.5352379083633423,
1.0106300115585327,
0.6273812651634216,
0.30249324440956116,
0.5996102094650269,
0.875176727771759,
0.1017187088727951,
0.8290361166000366,
0.3413340747356415,
-0.3075205981731415,
-0.48844268918037415,
-0.44617295265197754,
-0.23274077475070953,
0.5253970623016357,
0.340823769569397,
-0.43145379424095154,
-0.16072943806648254,
0.10870403051376343,
-0.11787953227758408,
0.5824448466300964,
-0.17036902904510498,
0.8539483547210693,
0.08985240757465363,
-0.7346376180648804,
0.4519359767436981,
0.1298033595085144,
0.39925840497016907,
-0.7190645337104797,
-0.20040735602378845,
-0.24053290486335754,
0.3582307994365692,
-0.12257023900747299,
-0.6879041790962219,
0.07185986638069153,
-0.013891912996768951,
-0.1439186930656433,
-0.45104333758354187,
0.43401938676834106,
-0.816684365272522,
-0.45150360465049744,
0.13727030158042908,
0.4945869743824005,
0.3322080671787262,
0.3863820731639862,
-0.5968026518821716,
0.2836003005504608,
-0.06624600291252136,
-0.4434760808944702,
0.22320617735385895,
0.6216242909431458,
-0.3197937309741974,
0.7527951002120972,
0.46627604961395264,
0.22676126658916473,
0.13300837576389313,
0.024036195129156113,
0.8120900392532349,
-0.6688569784164429,
-0.8152262568473816,
-0.47365954518318176,
0.3439043164253235,
0.08592580258846283,
-0.07541325688362122,
0.5445888042449951,
0.6041222810745239,
0.6383360624313354,
0.1317584067583084,
0.729016900062561,
0.15971095860004425,
0.3485657274723053,
-0.9103562831878662,
0.4515444338321686,
-0.7286238074302673,
0.29865530133247375,
-0.011004311963915825,
-1.1399142742156982,
0.046496789902448654,
0.7692356705665588,
-0.2839123606681824,
0.18493196368217468,
0.6485666632652283,
0.9191362261772156,
-0.03667937219142914,
-0.44497957825660706,
0.3005926311016083,
-0.15817105770111084,
0.6626168489456177,
0.7328864336013794,
1.1503111124038696,
-0.24749332666397095,
0.3396121561527252,
0.19394972920417786,
-0.12607300281524658,
-0.08899844437837601,
-1.0584323406219482,
-1.0031204223632812,
-0.524235725402832,
-0.48316070437431335,
-0.1446107178926468,
0.260483056306839,
0.9626366496086121,
0.6197515726089478,
-0.4313836991786957,
-0.3463997542858124,
-0.16348052024841309,
0.04973854497075081,
-0.14611858129501343,
-0.1268841028213501,
0.5097239017486572,
-0.4818252623081207,
-0.81582111120224,
0.5309150218963623,
0.12045945227146149,
0.12270183861255646,
-0.6072324514389038,
-0.6953862309455872,
-0.5054926872253418,
0.22025275230407715,
0.31262320280075073,
0.4645661413669586,
-0.837016761302948,
-0.3945571184158325,
-0.04969336465001106,
-0.4075165092945099,
-0.15839965641498566,
0.7417493462562561,
-0.5496931672096252,
0.07666417956352234,
0.01950962468981743,
1.1470155715942383,
0.3888823091983795,
0.014428469352424145,
0.9196987152099609,
-1.1193791627883911,
0.22862443327903748,
0.2647927403450012,
0.0015964997000992298,
0.5553733110427856,
-0.35999366641044617,
0.1997758001089096,
-0.3947892487049103,
-0.5833241939544678,
-0.7149262428283691,
0.29618245363235474,
-0.699731707572937,
-0.29214391112327576,
1.3457130193710327,
-0.11151823401451111,
-0.30494794249534607,
0.20001357793807983,
0.034251682460308075,
0.359580397605896,
-0.5248767733573914,
0.3733338713645935,
0.5523693561553955,
-0.12950751185417175,
-0.31279006600379944,
-0.17903892695903778,
0.5273659229278564,
0.4522879123687744,
-0.6907487511634827,
-0.08260492235422134,
0.5403786897659302,
0.08292542397975922,
0.10716383904218674,
0.7145729660987854,
0.2759469151496887,
-0.05737420916557312,
-0.004776434972882271,
0.07719346880912781,
-0.3985878825187683,
-0.4363420605659485,
-0.4261816143989563,
0.01313071046024561,
0.4297073185443878,
-0.3192349076271057
] |
http://arxiv.org/abs/2405.15232v2
|
http://arxiv.org/pdf/2405.15232v2
|
DEEM: Diffusion Models Serve as the Eyes of Large Language Models for Image Perception
| 2024-05-24T05:46:04 | 2024-07-03T17:30:53 |
Run Luo, Yunshui Li, Longze Chen, Wanwei He, Ting-En Lin, Ziqiang Liu, Lei Zhang, Zikai Song, Xiaobo Xia, Tongliang Liu, Min Yang, Binyuan Hui
|
cs.CV
|
cs.CV, cs.CL
|
The development of large language models (LLMs) has significantly advanced
the emergence of large multimodal models (LMMs). While LMMs have achieved
tremendous success by promoting the synergy between multimodal comprehension
and creation, they often face challenges when confronted with
out-of-distribution data. This is primarily due to their reliance on image
encoders trained to encode images into task-relevant features, which may lead
them to disregard irrelevant details. Delving into the modeling capabilities of
diffusion models for images naturally prompts the question: Can diffusion
models serve as the eyes of large language models for image perception? In this
paper, we propose DEEM, a simple and effective approach that utilizes the
generative feedback of diffusion models to align the semantic distributions of
the image encoder. This addresses the drawbacks of previous methods that solely
relied on image encoders like ViT, thereby enhancing the model's resilience
against out-of-distribution samples and reducing visual hallucinations.
Importantly, this is achieved without requiring additional training modules and
with fewer training parameters. We extensively evaluated DEEM on both our newly
constructed RobustVQA benchmark and another well-known benchmark, POPE, for
object hallucination. Compared to the state-of-the-art interleaved content
generation models, DEEM exhibits enhanced robustness and a superior capacity to
alleviate model hallucinations while utilizing fewer trainable parameters, less
pre-training data (10%), and a smaller base model size.
|
[
-0.5921576023101807,
-0.7066570520401001,
0.7304691672325134,
0.16186285018920898,
-0.33210450410842896,
-0.5030338764190674,
-0.3108559250831604,
-0.2273148000240326,
-0.12708526849746704,
0.6191183924674988,
-0.39643511176109314,
-0.4818063974380493,
-0.9188209772109985,
-0.018805870786309242,
-0.50032639503479,
0.6185084581375122,
0.15997037291526794,
0.2169942408800125,
-0.3866681754589081,
-0.06822764128446579,
-0.3398607075214386,
-0.0807921439409256,
-0.6034800410270691,
-0.1786012053489685,
0.2125878781080246,
-0.19504237174987793,
0.712882936000824,
0.30873584747314453,
0.5692915916442871,
0.28858482837677,
-0.19681301712989807,
0.19570714235305786,
-0.3808133602142334,
0.22642269730567932,
-0.25197479128837585,
-0.3278616964817047,
-0.20014187693595886,
-0.16602854430675507,
0.6255393028259277,
0.7521999478340149,
-0.25520819425582886,
-0.16933932900428772,
0.1432877779006958,
1.0099705457687378,
-0.7380347847938538,
0.07034579664468765,
-0.6856841444969177,
0.04592945799231529,
-0.020405886694788933,
-0.17209959030151367,
-0.6793252825737,
-0.26116934418678284,
0.2178974747657776,
-0.42195484042167664,
0.19555282592773438,
-0.2477003037929535,
0.5137101411819458,
0.7835620641708374,
-0.4940166473388672,
-0.09703080356121063,
-0.8139306902885437,
0.5866535902023315,
-0.6862940192222595,
0.6929370760917664,
0.33162346482276917,
0.10222113877534866,
-0.2187947928905487,
-0.44425255060195923,
-0.7303308248519897,
-0.04865729808807373,
0.24669070541858673,
0.31100672483444214,
-0.17327968776226044,
-0.2015642672777176,
0.11058759689331055,
0.26479706168174744,
-0.3158245086669922,
-0.01355263963341713,
-0.18739283084869385,
0.10971763730049133,
0.23980988562107086,
0.08197237551212311,
0.22923731803894043,
-0.0062705050222575665,
-0.6062312722206116,
-0.039140038192272186,
-0.5846545696258545,
-0.39075398445129395,
0.1413307785987854,
-0.08347754925489426,
-0.11469868570566177,
0.554556667804718,
-0.11710955947637558,
0.8653857707977295,
0.3763899803161621,
-0.08654842525720596,
0.1729532927274704,
-0.10723244398832321,
-0.18415391445159912,
-0.254036009311676,
0.7066632509231567,
0.6356793642044067,
-0.02055751346051693,
-0.2325354814529419,
-0.34100326895713806,
0.26925304532051086,
0.4796723425388336,
-0.9473235011100769,
-0.593705952167511,
0.07483813911676407,
-0.5332365036010742,
-0.17587533593177795,
-0.1547698676586151,
-1.0218617916107178,
-0.8058218955993652,
-0.33082565665245056,
0.6546088457107544,
-0.5684131383895874,
-0.49801626801490784,
0.2990460991859436,
-0.22448281943798065,
0.22176240384578705,
0.6579283475875854,
-0.6821965575218201,
0.1562938690185547,
0.2990613281726837,
1.0430080890655518,
-0.40727153420448303,
0.008866960182785988,
-0.4943593740463257,
0.19060303270816803,
-0.4856126010417938,
0.946231484413147,
-0.6557170152664185,
-0.25732749700546265,
-0.09727083891630173,
0.03011156991124153,
0.03892974928021431,
-0.8872438073158264,
0.12388050556182861,
-0.7138127684593201,
-0.08713089674711227,
-0.0010941911023110151,
-0.549140214920044,
-0.4452052712440491,
0.31429243087768555,
-0.6267518401145935,
0.6890869140625,
0.24421127140522003,
-0.8486419320106506,
0.4237218201160431,
-0.5771254897117615,
-0.08100755512714386,
0.13019129633903503,
-0.004673429764807224,
-0.39130792021751404,
0.2675638496875763,
0.29609447717666626,
0.5130846500396729,
-0.09848440438508987,
0.1500484049320221,
-0.457550972700119,
-0.0660453662276268,
0.30964213609695435,
-0.6336827874183655,
0.42651012539863586,
0.1262647658586502,
-0.4067922830581665,
0.05505204200744629,
-0.7042405009269714,
-0.18198947608470917,
0.01254759170114994,
-0.3753759562969208,
-0.4691377580165863,
0.13028760254383087,
0.022799087688326836,
0.2742474675178528,
0.007747772615402937,
-0.30837181210517883,
-0.14354075491428375,
-0.4064806401729584,
0.3431716561317444,
0.818236768245697,
-0.02737671509385109,
0.7914032936096191,
-0.10358233004808426,
0.5221022963523865,
0.6006231904029846,
0.10497269779443741,
-0.2012222707271576,
-0.4917892813682556,
-0.8206661343574524,
-0.7249322533607483,
0.11993744224309921,
0.32208672165870667,
-0.7541577219963074,
0.3803502321243286,
-0.2634910047054291,
-0.30237486958503723,
-0.6105586290359497,
0.15854720771312714,
0.03770074620842934,
0.5092259049415588,
0.3276597559452057,
-0.5757792592048645,
-0.11984425783157349,
-0.7418270707130432,
0.3770573139190674,
0.09685248881578445,
0.14578813314437866,
0.06747553497552872,
0.40114039182662964,
-0.7370328307151794,
0.826266348361969,
-0.5030602216720581,
-0.39757415652275085,
0.055477842688560486,
-0.15851891040802002,
-0.2145409733057022,
0.27601996064186096,
0.3410901129245758,
-0.9250422716140747,
-0.32522740960121155,
-0.020920399576425552,
-0.7023801803588867,
-0.0184484776109457,
0.1238492876291275,
-0.35122767090797424,
0.2464432269334793,
0.4149009883403778,
-0.570740282535553,
0.509419322013855,
0.6694246530532837,
-0.2619602680206299,
0.4292677342891693,
-0.3626984655857086,
0.11208920925855637,
-0.9874864220619202,
-0.20283381640911102,
0.15102162957191467,
-0.33279088139533997,
-0.47124791145324707,
0.12812797725200653,
0.20555803179740906,
0.07920297235250473,
-0.5067193508148193,
0.6249711513519287,
-0.583253026008606,
0.03570716455578804,
-0.41570425033569336,
0.15708863735198975,
0.15982724726200104,
0.18028031289577484,
0.4014015197753906,
0.5666778087615967,
1.0996285676956177,
-0.9503002166748047,
0.28159475326538086,
0.3003787398338318,
-0.6124824285507202,
1.1389325857162476,
-0.4393710792064667,
0.02070239745080471,
-0.5838578939437866,
0.12611016631126404,
-1.1364892721176147,
-0.09619507193565369,
0.31996896862983704,
-0.01990061067044735,
0.43797457218170166,
-0.13198798894882202,
-0.3893592953681946,
-0.16269312798976898,
-0.1720970720052719,
0.4181566536426544,
0.713854193687439,
-0.8870831727981567,
0.6191554069519043,
0.41661033034324646,
0.05260951817035675,
-0.17231512069702148,
-0.5720801949501038,
0.004440517630428076,
-0.49748584628105164,
-0.654358983039856,
0.11243933439254761,
-0.38920652866363525,
-0.2246612161397934,
-0.06107332184910774,
0.1699090152978897,
-0.008202672004699707,
-0.06046631187200546,
0.5240614414215088,
0.07090862840414047,
-0.06022035703063011,
0.25143033266067505,
-0.11962909251451492,
-0.09682708233594894,
0.02296912483870983,
-0.4177876114845276,
0.46102675795555115,
0.18673570454120636,
-0.5124708414077759,
-0.31083065271377563,
0.2547041177749634,
0.5629509687423706,
-0.33425161242485046,
0.7197545170783997,
0.6014796495437622,
-0.1714850217103958,
-0.4473802149295807,
-0.4433450996875763,
-0.13317513465881348,
-0.4794301688671112,
0.4043835401535034,
-0.3364930748939514,
-0.5265145897865295,
0.35529059171676636,
-0.41545557975769043,
-0.24382905662059784,
0.24247626960277557,
0.7519891858100891,
-0.048375606536865234,
1.1059623956680298,
0.625731885433197,
0.30995625257492065,
0.46618786454200745,
-0.37968945503234863,
0.1169029250741005,
-1.1588438749313354,
-0.19022749364376068,
-0.025056447833776474,
-0.2628452479839325,
-0.1191498413681984,
-0.7303099036216736,
0.49027422070503235,
0.14656564593315125,
0.06814989447593689,
-0.18847940862178802,
-0.6963655948638916,
0.39361071586608887,
0.3707004487514496,
0.44162219762802124,
0.27570638060569763,
0.12639592587947845,
0.10697440057992935,
-0.0545407198369503,
-0.46996212005615234,
-0.5380690693855286,
0.9384317398071289,
0.27447548508644104,
1.1243131160736084,
0.23438288271427155,
0.5883734226226807,
0.28558793663978577,
0.337797075510025,
-0.8093630075454712,
0.6530237793922424,
-0.2644353210926056,
-0.14848336577415466,
-0.13843099772930145,
-0.1881803274154663,
-0.8597062826156616,
0.5462535619735718,
-0.0190591923892498,
-0.39071616530418396,
0.3885083794593811,
0.033891692757606506,
-0.19679032266139984,
0.3854599893093109,
-0.614921510219574,
0.8748746514320374,
0.13035999238491058,
-0.19538722932338715,
-0.09090491384267807,
-0.27352944016456604,
0.5561788082122803,
-0.3449452817440033,
0.3073389232158661,
0.0072601912543177605,
-0.16299082338809967,
0.47587692737579346,
-0.38844960927963257,
0.9657215476036072,
-0.1750527173280716,
-0.505594789981842,
0.2152693122625351,
0.255067378282547,
0.390156090259552,
-0.08735815435647964,
-0.008225896395742893,
0.10915757715702057,
-0.09878106415271759,
-0.0273254606872797,
-0.49696359038352966,
0.8211268782615662,
-0.6224654316902161,
-0.5466710329055786,
-0.06441868841648102,
-0.5852859020233154,
-0.009110068902373314,
-0.03264271840453148,
0.4729422926902771,
0.4591977298259735,
-0.13436944782733917,
-0.04796189069747925,
0.9480065107345581,
-0.20671346783638,
0.4518788158893585,
0.395628958940506,
-0.36449798941612244,
-0.4451834261417389,
0.7814537882804871,
-0.008893195539712906,
0.5453228950500488,
0.2655949592590332,
0.05933701619505882,
-0.4896623194217682,
-0.6699063777923584,
-0.4308720827102661,
0.1943286806344986,
-1.0904508829116821,
-0.13170453906059265,
-1.0265482664108276,
-0.05460747331380844,
-0.21534126996994019,
-0.07436266541481018,
-0.4128091335296631,
-0.08557041734457016,
-0.45701491832733154,
0.0428851842880249,
0.3797207772731781,
0.7585709095001221,
-0.14121083915233612,
0.3134584128856659,
-0.5260354280471802,
0.5067196488380432,
0.4048019051551819,
0.37116241455078125,
0.18200474977493286,
-0.7503257989883423,
-0.22338075935840607,
0.1341734528541565,
-0.30775296688079834,
-0.8881747126579285,
0.5311750769615173,
0.23396408557891846,
0.34262949228286743,
0.6894262433052063,
0.059872351586818695,
0.6946764588356018,
-0.56798255443573,
0.8054850697517395,
0.3475126326084137,
-0.6719330549240112,
0.5434725880622864,
-0.06557590514421463,
0.39129191637039185,
0.083924300968647,
0.19320344924926758,
-0.1919020116329193,
-0.6999237537384033,
-0.42566049098968506,
-0.6050332188606262,
0.491632878780365,
-0.12242541462182999,
0.2644940912723541,
-0.4933242201805115,
0.011250266805291176,
0.36368852853775024,
-0.01260253507643938,
-0.6657835841178894,
0.11349351704120636,
-0.18035326898097992,
-0.2090604603290558,
-0.06958277523517609,
-0.2460165023803711,
-0.0877365916967392,
-0.1470194309949875,
0.5684400796890259,
-0.05781557410955429,
0.10143265128135681,
0.13312038779258728,
-0.3049093782901764,
-0.09577999264001846,
0.12109705060720444,
0.4615997076034546,
0.5145944356918335,
-0.026760198175907135,
0.5453372001647949,
-0.20093552768230438,
-0.4352603256702423,
0.2671690881252289,
-0.24312900006771088,
-0.4866270124912262,
0.05812036991119385,
-0.054683465510606766,
0.8112698793411255,
-0.06842958927154541,
-0.6174232363700867,
0.6368725299835205,
0.015387462452054024,
-0.23572199046611786,
-0.21134252846240997,
0.09475883841514587,
0.21934060752391815,
0.5893416404724121,
-0.0078091868199408054,
0.3561580181121826,
0.17116983234882355,
-0.26328912377357483,
0.15349389612674713,
0.7451550960540771,
-0.4766637086868286,
-0.37731897830963135,
0.9484384655952454,
-0.014213912189006805,
-0.008823957294225693,
0.5781360268592834,
-0.26473069190979004,
-0.29978951811790466,
0.5067226886749268,
0.6393913626670837,
0.9449212551116943,
-0.08836393803358078,
0.37922897934913635,
0.24874247610569,
0.178940549492836,
-0.5572024583816528,
0.0554809495806694,
-0.05217653140425682,
-0.9136136770248413,
-0.16044163703918457,
-0.7834413051605225,
0.12051321566104889,
-0.0009963038610294461,
-0.5393086671829224,
0.12958712875843048,
-0.29433295130729675,
-0.4201640486717224,
0.025615191087126732,
-0.7766395807266235,
-0.7078499794006348,
0.2577458918094635,
0.39676639437675476,
0.5137306451797485,
-0.7592220306396484,
0.7130486965179443,
0.5365843176841736,
-0.3426734507083893,
-0.2749565839767456,
0.09018643945455551,
-0.26940810680389404,
-0.5579469799995422,
0.8321987986564636,
0.21902643144130707,
-0.13250315189361572,
0.1846875697374344,
-0.5379160642623901,
-0.697448194026947,
0.7536033391952515,
0.33834993839263916,
-0.4549526870250702,
0.32972031831741333,
-0.2009028196334839,
0.3094682991504669,
-0.4440231919288635,
0.1719760298728943,
0.30867546796798706,
0.4300673305988312,
0.3161643147468567,
-0.5118709802627563,
0.09541090577840805,
-0.046561919152736664,
0.42193683981895447,
0.37228870391845703,
-0.47739553451538086,
0.6895832419395447,
-0.6076605319976807,
-0.3503074645996094,
0.00019312050426378846,
0.46489065885543823,
0.09165980666875839,
0.08756746351718903,
0.6515663266181946,
0.9264277219772339,
0.5551894903182983,
-0.004876249935477972,
0.8667958974838257,
0.010819245129823685,
0.06369338929653168,
0.9550601840019226,
-0.45501038432121277,
0.918795645236969,
0.6688869595527649,
-0.1401231288909912,
0.36706796288490295,
0.5093749761581421,
0.04037077724933624,
1.1289957761764526,
0.1561591923236847,
-0.41073721647262573,
-0.4398297071456909,
-0.009318825788795948,
-0.3673999011516571,
0.19371573626995087,
0.34716108441352844,
-0.3034973442554474,
-0.24258549511432648,
0.4800204634666443,
-0.4409584701061249,
0.07869267463684082,
-0.36560922861099243,
0.9774072170257568,
0.14438308775424957,
-0.5067849159240723,
0.6386851072311401,
-0.16917447745800018,
0.8509073257446289,
-0.30663394927978516,
-0.06784596294164658,
-0.24193696677684784,
0.42336365580558777,
-0.19023481011390686,
-0.8211928606033325,
0.3800628185272217,
-0.2263205349445343,
-0.4748384356498718,
-0.11774731427431107,
0.4842675030231476,
-0.6108344197273254,
-0.5382816195487976,
0.3577011823654175,
0.31251412630081177,
0.2572289705276489,
-0.3267804682254791,
-0.4053897261619568,
0.07548603415489197,
-0.22000551223754883,
-0.23805414140224457,
0.30682018399238586,
0.6565017700195312,
-0.026926705613732338,
0.7757365107536316,
0.518661618232727,
0.1517970860004425,
0.5200148820877075,
0.2839350402355194,
0.6472685933113098,
-0.4602532684803009,
-0.4394012689590454,
-0.9631578326225281,
0.5868866443634033,
0.19090920686721802,
0.1187879666686058,
0.5787546634674072,
0.3029021620750427,
0.6800956726074219,
-0.45879337191581726,
0.6913272738456726,
0.09280235320329666,
0.17233505845069885,
-0.6109263300895691,
0.6273871660232544,
-0.777310848236084,
0.21205921471118927,
-0.2077365666627884,
-1.0687578916549683,
-0.16772155463695526,
0.6074167490005493,
-0.25098830461502075,
0.06523965299129486,
0.5553604960441589,
1.0838701725006104,
-0.12936639785766602,
-0.3566597104072571,
0.5907897353172302,
0.21676796674728394,
0.20390035212039948,
0.46314147114753723,
1.2363543510437012,
-0.29099297523498535,
0.22877779603004456,
-0.10983452200889587,
-0.10556235909461975,
-0.020384879782795906,
-0.7330224514007568,
-0.8862136602401733,
-0.6875330209732056,
-0.8126116394996643,
-0.29431697726249695,
-0.3043607771396637,
0.25953373312950134,
0.8560370802879333,
-0.4279745817184448,
0.20795543491840363,
-0.09621760994195938,
-0.012810529209673405,
-0.2224673181772232,
-0.21932142972946167,
0.27617987990379333,
-0.29161861538887024,
-0.8484165072441101,
0.24075181782245636,
0.7257289886474609,
0.35114121437072754,
-0.6012815833091736,
-0.2978990972042084,
0.030118761584162712,
0.20103001594543457,
0.7621139883995056,
-0.3060263991355896,
-0.9543921947479248,
-0.07893874496221542,
-0.18964111804962158,
-0.1738550066947937,
0.13448137044906616,
0.21639342606067657,
-0.8110765814781189,
0.7951406240463257,
0.37052279710769653,
0.3989841938018799,
0.4883125126361847,
-0.05740691348910332,
0.34266719222068787,
-0.4100590646266937,
0.37161412835121155,
-0.09667675942182541,
0.38718312978744507,
0.6112532019615173,
-0.2568737268447876,
0.4139419198036194,
0.09367866069078445,
-0.37297123670578003,
-0.7134627103805542,
0.23565030097961426,
-1.0039554834365845,
-0.3189483880996704,
1.274298906326294,
0.12338180840015411,
-0.3553617000579834,
0.018576323986053467,
-0.36883968114852905,
-0.044287122786045074,
-0.02933255210518837,
0.8393147587776184,
0.6389498710632324,
0.34499889612197876,
-0.5562646985054016,
-0.4688109755516052,
0.37769511342048645,
0.24703069031238556,
-0.7422823905944824,
0.059675008058547974,
0.7048448324203491,
0.4329959452152252,
0.05740177258849144,
0.8688892126083374,
-0.23066015541553497,
0.08248314261436462,
-0.049385491758584976,
0.0728001669049263,
0.2837795913219452,
-0.32697242498397827,
-0.43880632519721985,
0.09741061925888062,
0.10503184795379639,
-0.3187822699546814
] |
http://arxiv.org/abs/2405.15216v1
|
http://arxiv.org/pdf/2405.15216v1
|
Denoising LM: Pushing the Limits of Error Correction Models for Speech Recognition
| 2024-05-24T05:05:12 | 2024-05-24T05:05:12 |
Zijin Gu, Tatiana Likhomanenko, He Bai, Erik McDermott, Ronan Collobert, Navdeep Jaitly
|
cs.LG
|
cs.LG, cs.CL, cs.SD, eess.AS
|
Language models (LMs) have long been used to improve results of automatic
speech recognition (ASR) systems, but they are unaware of the errors that ASR
systems make. Error correction models are designed to fix ASR errors, however,
they showed little improvement over traditional LMs mainly due to the lack of
supervised training data. In this paper, we present Denoising LM (DLM), which
is a $\textit{scaled}$ error correction model trained with vast amounts of
synthetic data, significantly exceeding prior attempts meanwhile achieving new
state-of-the-art ASR performance. We use text-to-speech (TTS) systems to
synthesize audio, which is fed into an ASR system to produce noisy hypotheses,
which are then paired with the original texts to train the DLM. DLM has several
$\textit{key ingredients}$: (i) up-scaled model and data; (ii) usage of
multi-speaker TTS systems; (iii) combination of multiple noise augmentation
strategies; and (iv) new decoding techniques. With a Transformer-CTC ASR, DLM
achieves 1.5% word error rate (WER) on $\textit{test-clean}$ and 3.3% WER on
$\textit{test-other}$ on Librispeech, which to our knowledge are the best
reported numbers in the setting where no external audio data are used and even
match self-supervised methods which use external audio data. Furthermore, a
single DLM is applicable to different ASRs, and greatly surpassing the
performance of conventional LM based beam-search rescoring. These results
indicate that properly investigated error correction models have the potential
to replace conventional LMs, holding the key to a new level of accuracy in ASR
systems.
|
[
-0.32878348231315613,
-0.6226530075073242,
0.1053379625082016,
0.15100665390491486,
-0.06856177002191544,
0.1615467369556427,
-0.25643783807754517,
-0.4199942946434021,
-0.042110126465559006,
0.6324716210365295,
-0.5271404385566711,
-0.45327767729759216,
-0.6048749685287476,
0.3428179919719696,
-0.8581491112709045,
0.6033786535263062,
0.09092129021883011,
0.21938593685626984,
-0.058634668588638306,
-0.19914807379245758,
-0.5385307669639587,
-0.63499516248703,
-0.9163113832473755,
-0.3778643310070038,
0.2875720262527466,
0.15411314368247986,
0.4502713084220886,
0.7111241221427917,
0.3706701397895813,
0.24288098514080048,
-0.35113149881362915,
0.329222708940506,
-0.44779902696609497,
0.048560164868831635,
0.27438703179359436,
-0.38314947485923767,
-0.6535161733627319,
-0.18627993762493134,
0.9860823154449463,
0.7805869579315186,
-0.14403285086154938,
-0.07759454101324081,
-0.030982060357928276,
0.8005725741386414,
-0.43367043137550354,
0.22417283058166504,
-0.5107196569442749,
0.10923285037279129,
0.11481201648712158,
-0.10076776891946793,
-0.5718458294868469,
-0.3699962794780731,
-0.07642203569412231,
-0.3887762427330017,
0.3122946619987488,
-0.17324501276016235,
0.5374858975410461,
0.4840151369571686,
-0.20440234243869781,
-0.23005907237529755,
-1.2895535230636597,
0.7386218309402466,
-0.962451159954071,
0.8142076134681702,
0.3198140561580658,
0.11693884432315826,
-0.10352366417646408,
-0.669471025466919,
-0.5117115378379822,
-0.17121580243110657,
0.05770173296332359,
0.14596588909626007,
-0.33596569299697876,
0.28590333461761475,
0.4303191900253296,
0.3614441156387329,
-0.3435681462287903,
0.28017693758010864,
-0.5409328937530518,
-0.062165919691324234,
0.6067894101142883,
-0.004313549492508173,
0.166276752948761,
0.2627452611923218,
-0.07340805232524872,
-0.2615015506744385,
-0.6769911646842957,
-0.16683532297611237,
0.08104079216718674,
0.5301915407180786,
0.1227453425526619,
0.37708643078804016,
-0.11564435064792633,
0.708807110786438,
0.08436667174100876,
-0.06999649852514267,
0.0302753709256649,
-0.31312423944473267,
-0.23219743371009827,
0.19941404461860657,
0.5418792366981506,
0.4244811534881592,
0.16369915008544922,
-0.1440538465976715,
-0.6205105185508728,
0.23742546141147614,
0.1432219296693802,
-0.7623261213302612,
-0.18727119266986847,
0.07756239175796509,
-0.34068572521209717,
-0.12096530199050903,
-0.06990272551774979,
-0.6075031161308289,
-0.5989410877227783,
-0.4224931299686432,
0.6903988122940063,
-0.25188520550727844,
-0.21426060795783997,
0.32347214221954346,
-0.034423910081386566,
0.010677043348550797,
0.41766563057899475,
-0.7247742414474487,
0.5913360714912415,
0.20850883424282074,
0.7899274826049805,
-0.07104340940713882,
-0.11031318455934525,
-0.6114222407341003,
-0.003384428797289729,
-0.5950798392295837,
0.6141965985298157,
-0.09354087710380554,
-0.738835334777832,
-0.07148898392915726,
-0.2737034857273102,
-0.09959530830383301,
-0.7975647449493408,
0.5733273029327393,
-0.4801149070262909,
-0.0839352235198021,
-0.04216667637228966,
-0.8730090856552124,
-0.11515441536903381,
-0.08055808395147324,
-0.8545445799827576,
0.9147525429725647,
-0.23663803935050964,
-0.2377212792634964,
0.15527783334255219,
-0.8804216384887695,
-0.4454886317253113,
-0.15596456825733185,
0.14143145084381104,
-0.5258548259735107,
0.19409088790416718,
0.24114637076854706,
0.11169194430112839,
-0.28544244170188904,
0.06610465049743652,
-0.009387552738189697,
-0.568263053894043,
0.2655196785926819,
-0.7414509654045105,
0.543668806552887,
0.3109820485115051,
-0.2974632978439331,
0.08686401695013046,
-0.9508500099182129,
-0.0458986759185791,
0.0008241525501944125,
-0.5468255281448364,
-0.1434885710477829,
0.09971081465482712,
-0.0009984009666368365,
-0.11589354276657104,
0.0896553099155426,
-0.5865323543548584,
-0.17379149794578552,
-0.6729598045349121,
0.542130172252655,
0.5327854156494141,
-0.24264080822467804,
0.5351892709732056,
-0.5216431617736816,
0.3570348620414734,
-0.07992258667945862,
0.04382750391960144,
-0.26752227544784546,
-0.13833048939704895,
-0.9271947741508484,
-0.2073899507522583,
0.3562472462654114,
0.432533860206604,
-0.2741869390010834,
0.48514416813850403,
-0.3403466045856476,
-0.5138503313064575,
-0.6042760610580444,
0.07301278412342072,
0.17784938216209412,
0.49412718415260315,
0.5060643553733826,
-0.23360253870487213,
-0.7780387997627258,
-0.48304834961891174,
-0.35608068108558655,
-0.14141951501369476,
-0.1346701979637146,
0.01094477903097868,
0.010525671765208244,
-0.5343036651611328,
1.0658859014511108,
-0.30710792541503906,
-0.6313884854316711,
-0.23798853158950806,
0.00829042587429285,
0.13087287545204163,
0.5101752877235413,
0.07612274587154388,
-0.6974071860313416,
-0.3249197006225586,
-0.18662887811660767,
-0.4558713138103485,
-0.26573148369789124,
0.0014536012895405293,
0.8609349727630615,
0.5660645365715027,
0.80130535364151,
-0.42461633682250977,
0.6114669442176819,
0.6566373109817505,
0.07686036825180054,
0.3760782778263092,
-0.5055637359619141,
-0.1041034460067749,
-0.8254295587539673,
-0.043877359479665756,
-0.009613302536308765,
-0.21231834590435028,
-1.1179438829421997,
-0.04936700314283371,
-0.04616434499621391,
-0.14827951788902283,
-0.17382493615150452,
0.4803602695465088,
-0.5718086361885071,
-0.017688224092125893,
-0.4086897075176239,
0.22060541808605194,
-0.02045227400958538,
0.08333053439855576,
0.012672346085309982,
0.593824565410614,
0.45962321758270264,
-0.5550407767295837,
0.49178051948547363,
0.1531781554222107,
0.042700979858636856,
0.20433896780014038,
-0.621782660484314,
0.2360115945339203,
-0.2887793481349945,
0.32567018270492554,
-1.1659150123596191,
0.11642511188983917,
-0.1687195599079132,
-0.42076626420021057,
0.42571550607681274,
-0.10253740847110748,
-0.615980863571167,
-0.41516727209091187,
-0.28122082352638245,
0.3455256223678589,
0.5503283739089966,
-0.6144669055938721,
0.6825377941131592,
0.443548321723938,
-0.05388703942298889,
-0.4051233232021332,
-0.7004392743110657,
0.2032686173915863,
-0.16115279495716095,
-0.3452024757862091,
0.21244986355304718,
-0.2316001057624817,
-0.1194385290145874,
-0.3532974123954773,
-0.3005755841732025,
-0.3312786817550659,
-0.017578326165676117,
0.325454443693161,
0.26999327540397644,
-0.1337052881717682,
0.3844930827617645,
-0.2017238438129425,
-0.14360888302326202,
-0.021458270028233528,
-0.1976446658372879,
0.5171244144439697,
-0.164474219083786,
-0.3468489646911621,
-0.5371026396751404,
0.1764346957206726,
0.6726925373077393,
-0.04957759007811546,
0.34292009472846985,
0.6670005321502686,
-0.5919378995895386,
-0.23105981945991516,
-0.7277423739433289,
-0.5547102689743042,
-0.4727989733219147,
0.45311516523361206,
-0.2854650318622589,
-0.8746465444564819,
0.43601447343826294,
-0.1665509194135666,
0.12528666853904724,
0.34142959117889404,
0.1573464572429657,
0.03334377333521843,
1.0220381021499634,
0.5972581505775452,
-0.2619289755821228,
0.421773225069046,
-0.28843119740486145,
0.3732215464115143,
-0.578534722328186,
-0.024277064949274063,
-0.517921507358551,
-0.1356024146080017,
-0.6266611814498901,
-0.5514465570449829,
0.45619669556617737,
0.0370439849793911,
0.011068897321820259,
0.32254377007484436,
-0.5159661769866943,
0.3283008933067322,
0.7465530037879944,
0.20220321416854858,
0.5893645286560059,
0.19993431866168976,
0.23997309803962708,
-0.11446648091077805,
-0.8593969941139221,
-0.22423739731311798,
1.1066488027572632,
0.5198013782501221,
1.0275050401687622,
-0.16887250542640686,
0.6031572818756104,
0.4124584197998047,
0.024919260293245316,
-0.8271551132202148,
0.5249021649360657,
-0.5907774567604065,
-0.4258587956428528,
-0.7319991588592529,
-0.4415891766548157,
-0.7565491795539856,
-0.0036974723916500807,
-0.2006278783082962,
-0.29100438952445984,
0.14428414404392242,
0.3111053705215454,
-0.5736246705055237,
0.5975636839866638,
-0.6165108680725098,
0.45096203684806824,
0.19194188714027405,
0.011813481338322163,
-0.36805784702301025,
-0.6341791749000549,
0.0009626245009712875,
-0.3036980628967285,
0.28851860761642456,
0.10966277867555618,
0.16013120114803314,
0.8042580485343933,
-0.2059434950351715,
1.0552961826324463,
-0.314080148935318,
-0.3310816287994385,
0.3236609995365143,
0.10624248534440994,
0.63320392370224,
-0.4172603189945221,
-0.11387728154659271,
0.23399510979652405,
0.19739316403865814,
0.09815815836191177,
-0.4531964361667633,
0.5652693510055542,
-0.7472886443138123,
-0.39577409625053406,
-0.13721640408039093,
-0.7807217240333557,
-0.1349969059228897,
0.1426858901977539,
0.1508386880159378,
0.8478351831436157,
-0.07883693277835846,
0.28509220480918884,
0.8005043864250183,
-0.13958300650119781,
0.5140488147735596,
0.49784383177757263,
-0.2680971026420593,
-0.360418438911438,
1.0437448024749756,
0.3823019862174988,
0.34278246760368347,
0.3152354657649994,
0.1885293424129486,
-0.5941838622093201,
-0.7739408612251282,
-0.258423775434494,
0.2046879380941391,
-0.7516101598739624,
-0.1860426366329193,
-0.6254047751426697,
-0.6769228577613831,
-0.47013914585113525,
0.04747673124074936,
-0.7027602195739746,
-0.48470503091812134,
-0.5107709765434265,
0.06360550224781036,
0.35863009095191956,
0.8091883063316345,
-0.4333174228668213,
0.4637748897075653,
-0.9188334941864014,
0.40372878313064575,
0.2511991560459137,
0.38180166482925415,
-0.22574637830257416,
-0.8172627091407776,
-0.22879713773727417,
0.34090155363082886,
-0.02099692076444626,
-0.5136988759040833,
0.6030135154724121,
0.25659412145614624,
0.2004213035106659,
0.07966895401477814,
0.27921199798583984,
0.8143659234046936,
-0.41513946652412415,
0.4997859597206116,
0.16257184743881226,
-0.9743096828460693,
0.49425452947616577,
-0.049210354685783386,
0.2924855649471283,
0.1929970681667328,
-0.1623605638742447,
-0.7290175557136536,
-0.47745516896247864,
-0.47803160548210144,
-0.7871118187904358,
0.6868647336959839,
0.0732557401061058,
0.08712998777627945,
0.3223462700843811,
0.4409302771091461,
-0.1403137892484665,
0.08013299107551575,
-0.731391191482544,
-0.3470941483974457,
-0.10298828780651093,
-0.3148697018623352,
-0.20188850164413452,
-0.3474659323692322,
0.04539243131875992,
-0.26041415333747864,
0.6361240148544312,
-0.016121599823236465,
0.1049831286072731,
0.3868722915649414,
-0.23722119629383087,
-0.4531543552875519,
0.30608323216438293,
0.8389392495155334,
0.4535561800003052,
-0.2913476824760437,
0.23163796961307526,
0.5466022491455078,
-0.43227025866508484,
0.18179719150066376,
0.25401026010513306,
-0.25288936495780945,
0.22867630422115326,
0.028025789186358452,
0.7963000535964966,
-0.029740873724222183,
-0.6961289644241333,
0.25885912775993347,
0.0031694641802459955,
-0.09798165410757065,
-0.49976596236228943,
-0.01668952777981758,
-0.01773129589855671,
0.18989910185337067,
0.5574676394462585,
0.27732527256011963,
0.1598779261112213,
-0.16579373180866241,
0.2990940511226654,
0.39395973086357117,
-0.6070743203163147,
-0.3070598542690277,
0.6746780872344971,
0.12559714913368225,
-0.3770297169685364,
0.2886352241039276,
0.11764620989561081,
-0.39000052213668823,
0.46739622950553894,
0.6129147410392761,
0.810584545135498,
-0.5197967886924744,
-0.06528034806251526,
0.40408584475517273,
0.47497034072875977,
-0.3941541910171509,
-0.04952416568994522,
0.1407618224620819,
-0.8549361228942871,
-0.54236900806427,
-0.6039121150970459,
-0.5200890898704529,
0.3251265287399292,
-0.568199872970581,
0.32131707668304443,
-0.3889920711517334,
-0.15943706035614014,
-0.22692258656024933,
-0.14736582338809967,
-0.14431241154670715,
0.45860549807548523,
0.12278206646442413,
0.7986782789230347,
-0.6435314416885376,
0.8173283934593201,
0.4181259274482727,
0.046886272728443146,
-0.7079001665115356,
-0.16260524094104767,
-0.06462876498699188,
-0.6164472699165344,
0.639636754989624,
0.036536604166030884,
-0.47821947932243347,
0.3575374186038971,
-0.21033808588981628,
-0.6894915103912354,
0.8044931888580322,
0.37708598375320435,
-0.7831255197525024,
-0.09325121343135834,
0.4047880470752716,
0.6080299019813538,
-0.2620120346546173,
-0.07451233267784119,
0.7496052384376526,
0.3427879810333252,
0.07104577869176865,
-1.1267180442810059,
-0.06005432456731796,
0.1393875628709793,
0.020639732480049133,
0.04545580968260765,
-0.34742599725723267,
0.7438029646873474,
-0.3425365388393402,
-0.13027037680149078,
0.1641792505979538,
0.30251702666282654,
0.21298004686832428,
0.20874150097370148,
0.7276828289031982,
0.3978605568408966,
0.6101537346839905,
-0.059676866978406906,
0.6378290057182312,
-0.04084460437297821,
0.4228752553462982,
1.158066987991333,
-0.256087988615036,
0.7495492100715637,
0.4163460433483124,
-0.21378861367702484,
-0.02075786516070366,
0.3146804869174957,
-0.038734354078769684,
0.2864830195903778,
0.24375160038471222,
-0.35259902477264404,
-0.09184019267559052,
-0.0395965538918972,
-0.16132387518882751,
0.42316120862960815,
0.2706480026245117,
-0.21882645785808563,
-0.12363354116678238,
0.14010776579380035,
-0.11079375445842743,
0.21835994720458984,
-0.3613104224205017,
0.8422982096672058,
0.06592392921447754,
-0.010878355242311954,
0.8297214508056641,
-0.08774364739656448,
0.715464174747467,
-0.4343189597129822,
-0.0008502623531967402,
-0.31782960891723633,
0.4755469858646393,
-0.05673016235232353,
-0.34421321749687195,
0.45638328790664673,
-0.046415723860263824,
-0.32749229669570923,
-0.33376049995422363,
0.9581816792488098,
-0.6302971243858337,
-0.45201486349105835,
0.4052334427833557,
0.36539268493652344,
0.11341771483421326,
-0.29774466156959534,
-0.262615442276001,
0.35003164410591125,
-0.022006765007972717,
0.13730835914611816,
0.02219514176249504,
0.16961607336997986,
0.20719002187252045,
0.8606144785881042,
0.6481289863586426,
0.5109386444091797,
0.327617883682251,
0.25466611981391907,
0.6822851300239563,
-0.6423436999320984,
-0.22888559103012085,
-0.801622211933136,
0.30324849486351013,
0.08793193846940994,
0.22498778998851776,
0.647950291633606,
0.46005526185035706,
0.7455469965934753,
-0.049738697707653046,
0.7047019600868225,
0.3135990798473358,
0.8328745365142822,
-0.31803902983665466,
0.7536455392837524,
-0.4084536135196686,
0.5410678386688232,
-0.21012552082538605,
-0.6862694025039673,
-0.6462677121162415,
0.5415582060813904,
0.0585680715739727,
0.1515040099620819,
0.3100540041923523,
0.9454300403594971,
0.25524869561195374,
0.17359763383865356,
0.7851744890213013,
0.5335754156112671,
0.3673167824745178,
0.2671002745628357,
0.8283356428146362,
-0.8906210660934448,
0.8667343854904175,
-0.3109259009361267,
-0.1294020414352417,
-0.2242712676525116,
-0.49329498410224915,
-0.6601912975311279,
-0.46178168058395386,
-0.4158034026622772,
-0.29370614886283875,
0.1565452665090561,
0.895129919052124,
0.6239970326423645,
-1.0145928859710693,
-0.6035228967666626,
-0.36795303225517273,
0.022869214415550232,
-0.258198082447052,
-0.1853131651878357,
0.2580914795398712,
-0.39204922318458557,
-0.9256802797317505,
0.738501250743866,
0.15710248053073883,
0.35015907883644104,
-0.1307692676782608,
-0.21184448897838593,
0.11231275647878647,
0.08118186146020889,
0.6454800963401794,
0.2438785284757614,
-0.7675063610076904,
-0.3571687638759613,
0.08372700959444046,
0.011329954490065575,
0.13431404531002045,
0.5214583277702332,
-0.7342029213905334,
0.7803016901016235,
0.14853017032146454,
0.5969974398612976,
0.5654447078704834,
-0.13019365072250366,
0.6467374563217163,
-0.7563389539718628,
-0.08246927708387375,
0.2979814410209656,
0.18636929988861084,
0.37668439745903015,
0.011805123649537563,
0.4806536138057709,
0.3677455484867096,
-0.5658383965492249,
-1.1652112007141113,
-0.020323041826486588,
-0.7430442571640015,
-0.11853835731744766,
1.103714108467102,
0.03539099544286728,
0.12802594900131226,
-0.0012899773428216577,
-0.2941523790359497,
0.5803844332695007,
-0.3194405436515808,
0.8525736927986145,
0.4115050137042999,
0.004074001684784889,
-0.3393126428127289,
-0.36782777309417725,
0.6433216333389282,
0.4712085723876953,
-0.5914050936698914,
0.44242236018180847,
0.5683420896530151,
0.30768612027168274,
0.30254125595092773,
0.4520646929740906,
-0.053971756249666214,
0.31162554025650024,
0.041953157633543015,
0.2111823856830597,
-0.018906576558947563,
-0.4193631410598755,
-0.8952256441116333,
0.06873276829719543,
0.19341637194156647,
-0.25978922843933105
] |
http://arxiv.org/abs/2405.17475v1
|
http://arxiv.org/pdf/2405.17475v1
|
How Culturally Aware are Vision-Language Models?
| 2024-05-24T04:45:14 | 2024-05-24T04:45:14 |
Olena Burda-Lassen, Aman Chadha, Shashank Goswami, Vinija Jain
|
cs.CV
|
cs.CV, cs.AI, cs.CL, cs.LG
|
An image is often said to be worth a thousand words, and certain images can
tell rich and insightful stories. Can these stories be told via image
captioning? Images from folklore genres, such as mythology, folk dance,
cultural signs, and symbols, are vital to every culture. Our research compares
the performance of four popular vision-language models (GPT-4V, Gemini Pro
Vision, LLaVA, and OpenFlamingo) in identifying culturally specific information
in such images and creating accurate and culturally sensitive image captions.
We also propose a new evaluation metric, Cultural Awareness Score (CAS),
dedicated to measuring the degree of cultural awareness in image captions. We
provide a dataset MOSAIC-1.5k, labeled with ground truth for images containing
cultural background and context, as well as a labeled dataset with assigned
Cultural Awareness Scores that can be used with unseen data. Creating
culturally appropriate image captions is valuable for scientific research and
can be beneficial for many practical applications. We envision that our work
will promote a deeper integration of cultural sensitivity in AI applications
worldwide. By making the dataset and Cultural Awareness Score available to the
public, we aim to facilitate further research in this area, encouraging the
development of more culturally aware AI systems that respect and celebrate
global diversity.
|
[
-0.41593819856643677,
-0.002007112605497241,
0.1500738561153412,
0.4702233672142029,
-0.38349372148513794,
0.08437452465295792,
-0.258863240480423,
-0.965057373046875,
0.21000757813453674,
0.38067033886909485,
-0.08481375873088837,
-0.4663703739643097,
-0.3739853501319885,
0.11082332581281662,
-0.18583576381206512,
0.7389795184135437,
-0.13022860884666443,
0.3303449749946594,
-0.48830804228782654,
-0.4898848235607147,
-0.4556428790092468,
-0.34195512533187866,
-0.32005074620246887,
0.17561161518096924,
0.3031708896160126,
0.23729060590267181,
0.589279294013977,
0.7192133069038391,
0.8894987106323242,
0.23052357137203217,
0.150530144572258,
0.09714240580797195,
-0.3193278908729553,
-0.1310478299856186,
-0.07936763763427734,
-0.6030177474021912,
-0.3715441823005676,
0.2091401368379593,
0.44938185811042786,
0.45281875133514404,
0.29923081398010254,
0.517471194267273,
-0.14913855493068695,
0.6322669386863708,
-0.6434010863304138,
0.5104711055755615,
-0.5760889649391174,
0.35869327187538147,
-0.1673421859741211,
-0.052226901054382324,
-0.22433869540691376,
-0.32174772024154663,
0.3682396113872528,
-0.7920985221862793,
0.028671354055404663,
0.19199474155902863,
0.6254815459251404,
0.4246940016746521,
-0.34589895606040955,
-0.19042418897151947,
-0.6475096940994263,
0.7321261763572693,
-0.039590369910001755,
0.15786194801330566,
0.29586663842201233,
0.3673698306083679,
0.346887469291687,
-0.501947820186615,
-0.4957626760005951,
-0.31796154379844666,
0.12099242955446243,
0.5487293004989624,
-0.254642128944397,
-0.3523521423339844,
0.29124006628990173,
0.43384599685668945,
-0.6279784440994263,
-0.08734938502311707,
-0.5701878070831299,
-0.5701051950454712,
0.684554934501648,
0.2981330156326294,
0.49611401557922363,
0.1649443507194519,
-0.38466036319732666,
-0.013205043040215969,
-0.7171958088874817,
0.11399361491203308,
0.14339815080165863,
-0.12166199833154678,
-0.3110271692276001,
0.4722288250923157,
-0.29035788774490356,
0.6278234720230103,
-0.4073367714881897,
-0.06750964373350143,
0.15748831629753113,
-0.22266344726085663,
-0.01937059871852398,
0.003202153602614999,
0.49770471453666687,
0.9299241304397583,
0.9794177412986755,
-0.06100558117032051,
0.08770252764225006,
0.47139450907707214,
0.1655317097902298,
-0.5873541235923767,
-0.27041029930114746,
-0.2887851893901825,
-0.5972840785980225,
-0.29588645696640015,
0.12060713022947311,
-0.6953415870666504,
-0.7409923076629639,
-0.12136538326740265,
0.2590610384941101,
-0.3277480900287628,
-0.2019767314195633,
-0.08306637406349182,
-0.2075163573026657,
0.571074366569519,
0.3904121518135071,
-0.6000741720199585,
0.02580075152218342,
0.23253558576107025,
0.8113331198692322,
-0.1958581805229187,
-0.3160231411457062,
-0.007452936843037605,
0.2064540833234787,
-0.695915699005127,
0.48153597116470337,
-0.5860550999641418,
-0.25507545471191406,
-0.12855012714862823,
-0.15125904977321625,
0.061882998794317245,
-0.38076719641685486,
0.5211690664291382,
-0.6238145232200623,
0.091452457010746,
-0.686254620552063,
-0.10888127982616425,
-0.40504494309425354,
0.25870445370674133,
-0.8521259427070618,
0.39139050245285034,
-0.06369439512491226,
-0.6516920328140259,
0.5742030143737793,
-0.7147302627563477,
-0.4694674611091614,
0.401018351316452,
-0.15944603085517883,
-0.041224826127290726,
0.039672695100307465,
0.4086188077926636,
0.14587529003620148,
-0.10154008120298386,
-0.10256555676460266,
-0.123648501932621,
-0.6091424822807312,
0.34665581583976746,
-0.5902932286262512,
0.635172963142395,
0.5259351134300232,
-0.40036341547966003,
-0.1254757195711136,
-0.3998959958553314,
-0.19232666492462158,
0.32361099123954773,
-0.11638487875461578,
-0.2670567035675049,
-0.10850968211889267,
0.011170083656907082,
0.0029306872747838497,
0.3020322620868683,
-0.45981961488723755,
-0.06211593374609947,
-0.11641405522823334,
0.20511431992053986,
0.6352563500404358,
-0.32510653138160706,
0.3644188344478607,
-0.29908737540245056,
0.7001698613166809,
0.24951256811618805,
0.2680714726448059,
-0.46010351181030273,
-0.7107949256896973,
-0.6929284334182739,
-0.3552345335483551,
0.05051080510020256,
0.6189603805541992,
-0.8502245545387268,
0.07163456082344055,
-0.37458595633506775,
-0.7096420526504517,
-0.6171470880508423,
-0.11843758076429367,
0.3035019338130951,
0.6939772963523865,
0.12121663987636566,
-0.8094006180763245,
-0.3262796700000763,
-0.9405280351638794,
-0.3095647096633911,
-0.3566182255744934,
0.10661710798740387,
0.5490639805793762,
0.4437096416950226,
0.26463595032691956,
0.8615451455116272,
-0.5837363600730896,
-0.37065330147743225,
-0.06583274155855179,
0.04818952456116676,
-0.14442099630832672,
0.381546288728714,
0.9373733401298523,
-0.9040092825889587,
-0.6150712370872498,
0.1024785041809082,
-1.036523461341858,
0.2367839813232422,
0.11990733444690704,
-0.022569412365555763,
0.5231882929801941,
0.043937187641859055,
-0.21069930493831635,
0.5564407706260681,
0.566429615020752,
-0.09045080840587616,
0.4930504262447357,
-0.11853823810815811,
0.6263389587402344,
-0.7565191984176636,
0.14758756756782532,
0.10102690756320953,
0.10082858055830002,
-0.6192018985748291,
0.045778751373291016,
0.11697886139154434,
-0.20409968495368958,
-0.593732476234436,
0.44662895798683167,
-0.6065031886100769,
-0.31052276492118835,
-0.07450474053621292,
-0.2265056073665619,
-0.047117818146944046,
0.22517172992229462,
0.5837031006813049,
0.812120795249939,
1.0345510244369507,
-0.21930058300495148,
0.5490124821662903,
0.14577199518680573,
-1.0454986095428467,
0.7544053196907043,
-0.41439440846443176,
-0.011707774363458157,
-0.3034784197807312,
0.34875816106796265,
-0.823468029499054,
-0.35367125272750854,
0.40768375992774963,
-0.48772016167640686,
0.06561873108148575,
-0.04165657237172127,
-0.3167533874511719,
-0.5918716788291931,
-0.019745685160160065,
0.7310823798179626,
0.5469136238098145,
-0.5049840211868286,
0.42675021290779114,
0.35549700260162354,
-0.008307385258376598,
-0.7782450318336487,
-0.7375973463058472,
0.38904356956481934,
-0.6281856298446655,
-0.803749680519104,
-0.11546781659126282,
-0.05574362352490425,
-0.11080356687307358,
-0.3096601366996765,
-0.050926074385643005,
-0.09727725386619568,
0.24656136333942413,
0.29543089866638184,
0.2932121157646179,
-0.17077523469924927,
0.13628877699375153,
-0.5307271480560303,
0.09489511698484421,
0.17646557092666626,
-0.3135431408882141,
0.30378082394599915,
-0.6512416005134583,
-0.3511956036090851,
-0.46673813462257385,
0.29655763506889343,
0.8355826735496521,
-0.8474068641662598,
0.5667750239372253,
0.8927851319313049,
-0.5103026628494263,
0.42568692564964294,
-0.4753056466579437,
-0.07768873125314713,
-0.37656906247138977,
0.4092501103878021,
-0.3246864974498749,
-0.7093380093574524,
0.7021195888519287,
0.21618711948394775,
-0.32372379302978516,
0.35211485624313354,
0.36338096857070923,
-0.32897651195526123,
0.9158068299293518,
0.6356151103973389,
-0.32858094573020935,
0.27153369784355164,
-0.08380025625228882,
0.08351936936378479,
-0.40984266996383667,
-0.13835857808589935,
-0.2790132462978363,
-0.41905492544174194,
-0.6310703754425049,
-0.4159122705459595,
0.5741446018218994,
-0.4742865264415741,
-0.11255783587694168,
-0.08069787919521332,
-0.47110921144485474,
0.6737839579582214,
0.6265382766723633,
-0.03479427844285965,
0.21833005547523499,
0.1828491985797882,
0.12515263259410858,
-0.1786031574010849,
-0.49189645051956177,
-0.580346941947937,
0.9800892472267151,
0.380755215883255,
0.8032492399215698,
0.061313699930906296,
0.20003840327262878,
0.34829267859458923,
0.5341638922691345,
-0.5803878903388977,
0.4488687217235565,
-0.32748129963874817,
-0.7060947418212891,
-0.03568350151181221,
-0.1643201857805252,
-0.5075251460075378,
-0.0879155695438385,
-0.20992067456245422,
-0.754898190498352,
0.10965242981910706,
0.30696380138397217,
-0.30357271432876587,
0.30647891759872437,
-0.6456412076950073,
0.9174535274505615,
-0.47897058725357056,
0.0009617840405553579,
-0.11128320544958115,
-0.8843191862106323,
0.43156054615974426,
-0.1083630844950676,
0.26366475224494934,
-0.208560973405838,
0.10071711987257004,
0.6583881974220276,
0.37328705191612244,
1.0275537967681885,
-0.14949952065944672,
0.09304320067167282,
0.42717626690864563,
0.18536046147346497,
0.01269291341304779,
-0.300401896238327,
0.1208074539899826,
0.534319281578064,
0.1095164567232132,
-0.30029720067977905,
-0.2195339947938919,
0.5552597641944885,
-0.811858594417572,
-0.6076425909996033,
-0.4152200222015381,
-0.8325454592704773,
-0.015379470773041248,
-0.09997475892305374,
0.19524002075195312,
0.2597777545452118,
-0.17716848850250244,
0.17607231438159943,
0.4572679400444031,
-0.46956756711006165,
0.323981910943985,
0.48391082882881165,
0.1120525524020195,
-0.2640671133995056,
0.9402379989624023,
0.2336234450340271,
0.06245556101202965,
0.338558554649353,
0.08942824602127075,
-0.08345559239387512,
-0.2887411415576935,
-0.44985929131507874,
-0.0028398644644767046,
-0.8615934252738953,
-0.04545789957046509,
-0.2725047171115875,
-0.0546259768307209,
-0.3754199743270874,
-0.28453370928764343,
-0.13542293012142181,
-0.47687509655952454,
-0.08277314901351929,
-0.037051063030958176,
0.38294070959091187,
0.4284970462322235,
-0.07186929881572723,
0.21884286403656006,
-0.5981191992759705,
0.06208864599466324,
0.11409584432840347,
0.6144689321517944,
-0.06727542728185654,
-0.3064633309841156,
-0.3543179929256439,
0.05764589458703995,
-0.023294761776924133,
-0.8359774947166443,
0.354880154132843,
0.24321575462818146,
0.5898913741111755,
0.622905969619751,
0.12544883787631989,
0.5618907809257507,
-0.2700461447238922,
1.0035090446472168,
0.09437799453735352,
-0.833347737789154,
0.5696566700935364,
-0.2495475858449936,
0.44650760293006897,
0.2064000517129898,
0.43709883093833923,
-0.735347330570221,
-0.5730829834938049,
-0.20856304466724396,
-0.46947863698005676,
0.5388821959495544,
0.01736871339380741,
0.5018558502197266,
-0.06480181217193604,
0.10273046791553497,
0.17130421102046967,
0.07756725698709488,
-0.8420625329017639,
-0.14270970225334167,
-0.6440824270248413,
-0.31104230880737305,
-0.016639787703752518,
-0.007218044251203537,
-0.4366552531719208,
-0.2133791595697403,
0.3032298982143402,
-0.373835027217865,
0.12953348457813263,
0.09226899594068527,
-0.4048343896865845,
-0.07629416882991791,
-0.04788695648312569,
0.652667760848999,
0.7121505737304688,
-0.08393330127000809,
0.04564956575632095,
0.16698463261127472,
-0.7317699193954468,
-0.13324719667434692,
-0.2141955941915512,
-0.17856569588184357,
-0.38286763429641724,
0.3740500211715698,
0.7806187272071838,
-0.3419170081615448,
-0.6721388697624207,
0.3962140381336212,
-0.22137190401554108,
0.0752958282828331,
-0.5512722134590149,
-0.03316471725702286,
-0.08218725025653839,
0.20795908570289612,
0.3326525092124939,
0.25914275646209717,
0.15229061245918274,
-0.4544351100921631,
-0.16265003383159637,
0.5323108434677124,
-0.637494683265686,
-0.08471578359603882,
0.7978224158287048,
0.3843851089477539,
0.2583194673061371,
0.8219720721244812,
0.24325665831565857,
-0.5612320899963379,
0.9782024621963501,
0.4251626431941986,
0.6010376811027527,
-0.09052939713001251,
0.37075796723365784,
0.32268863916397095,
0.6152572631835938,
0.16359807550907135,
0.21158252656459808,
0.0082535520195961,
-1.1168580055236816,
-0.21955426037311554,
-0.5753874182701111,
-0.3222324550151825,
-0.3568519651889801,
-0.7048999071121216,
-0.13832049071788788,
-0.22633612155914307,
-0.1461961269378662,
-0.05779614672064781,
-0.23197248578071594,
-0.8791965842247009,
0.5779427289962769,
0.5332394242286682,
1.042170763015747,
-1.1735072135925293,
0.6735007166862488,
0.9564956426620483,
-0.5393979549407959,
-0.47027868032455444,
-0.05524083226919174,
0.05561333894729614,
-1.0529457330703735,
0.7457073926925659,
0.4695631265640259,
0.028830958530306816,
-0.1886368691921234,
-0.7524964213371277,
-0.9071879386901855,
1.2033404111862183,
0.3122882843017578,
-0.15510503947734833,
0.4753227233886719,
0.30698835849761963,
0.7222593426704407,
-0.7849532961845398,
0.2199903130531311,
0.5746158957481384,
0.6074944138526917,
0.31522899866104126,
-0.6375857591629028,
-0.18363350629806519,
-0.2259792983531952,
0.12903665006160736,
-0.345537930727005,
-0.7547493577003479,
0.30650728940963745,
-0.5178211331367493,
-0.17336402833461761,
0.34830552339553833,
0.7655119299888611,
0.25510692596435547,
0.54316645860672,
0.5252591967582703,
0.22127985954284668,
0.6071887612342834,
-0.5058914422988892,
1.1216785907745361,
-0.38584014773368835,
-0.11477333307266235,
0.7575222849845886,
-0.3861415982246399,
0.4420386254787445,
0.2969411611557007,
0.014282610267400742,
0.20878461003303528,
0.7817454934120178,
-0.4265289902687073,
0.4721035361289978,
0.2630020081996918,
-0.3105960190296173,
-0.2793140709400177,
-0.5640078186988831,
-0.3070869445800781,
1.0371919870376587,
0.2504640519618988,
-0.5309473872184753,
0.2659594714641571,
0.1616942137479782,
-0.1804894059896469,
0.1312848925590515,
-0.5036168694496155,
0.6321829557418823,
-0.11095872521400452,
-0.7090850472450256,
0.20100535452365875,
-0.22790981829166412,
0.4213780462741852,
-0.4116172790527344,
0.13946905732154846,
-0.4786148965358734,
-0.07170768827199936,
-0.06111202761530876,
-1.0070326328277588,
0.2743496000766754,
0.24438270926475525,
-0.28161484003067017,
0.04200918972492218,
0.5463542342185974,
-0.3110552132129669,
-0.621620774269104,
-0.053904980421066284,
0.22311900556087494,
0.6164754033088684,
0.04951208829879761,
-0.2615686357021332,
0.0853322446346283,
0.10474829375743866,
0.19982846081256866,
0.0652477890253067,
-0.04340612515807152,
-0.6271087527275085,
0.6682331562042236,
0.3364064693450928,
0.0748664140701294,
0.0064926487393677235,
0.26788586378097534,
0.3188979923725128,
-0.4933975636959076,
-0.33199194073677063,
-0.5741053223609924,
0.6052916049957275,
-0.09853477030992508,
-0.18140238523483276,
0.38888755440711975,
0.3834347128868103,
0.7257145643234253,
-0.5197592973709106,
0.9858389496803284,
-0.016097471117973328,
-0.16575047373771667,
-0.2460005134344101,
1.014547348022461,
-0.44925785064697266,
0.02821117639541626,
-0.2279125303030014,
-0.9975188374519348,
-0.5281586647033691,
0.4509109556674957,
-0.347728431224823,
0.14548049867153168,
0.3338834047317505,
0.7099153995513916,
0.25991272926330566,
0.30285751819610596,
0.45926347374916077,
0.10518109053373337,
0.1476314514875412,
0.4630761444568634,
1.014651894569397,
-0.02279350534081459,
0.6471326351165771,
-0.32522067427635193,
-0.45844048261642456,
0.17620772123336792,
-1.1185424327850342,
-0.49379298090934753,
-0.6630461812019348,
-0.4617767632007599,
0.19105984270572662,
0.08793339133262634,
0.42474666237831116,
0.5104454755783081,
-0.7505226731300354,
-0.12292646616697311,
0.6027784943580627,
-0.10331417620182037,
-0.412403404712677,
-0.19232231378555298,
0.355238139629364,
0.19050903618335724,
-0.7015277147293091,
-0.02273273840546608,
0.4867244064807892,
0.20670194923877716,
-0.33823439478874207,
-0.17449145019054413,
0.4267311096191406,
0.03368133679032326,
0.44562840461730957,
0.30543142557144165,
-0.8506808876991272,
-0.4747486114501953,
0.0002638475561980158,
-0.020090144127607346,
-0.046951472759246826,
0.4728729724884033,
-0.5428259372711182,
0.8204872608184814,
0.32567253708839417,
0.27816328406333923,
0.25831711292266846,
0.041087884455919266,
0.6933136582374573,
-0.5915772318840027,
0.06542853266000748,
0.13907690346240997,
0.5738630890846252,
0.7004560828208923,
-0.292644202709198,
0.6429381370544434,
0.2647225856781006,
-0.367219477891922,
-0.29503074288368225,
0.2876758575439453,
-1.0948153734207153,
0.07119666039943695,
0.7952761054039001,
-0.46238937973976135,
-0.034254033118486404,
0.27466946840286255,
-0.2720983624458313,
0.08627397567033768,
0.012538759037852287,
0.8579034805297852,
0.8284823298454285,
0.1296009123325348,
-0.34514227509498596,
-0.3715561628341675,
0.28268522024154663,
0.1703604906797409,
-0.6458286643028259,
-0.09029347449541092,
0.7067562937736511,
0.30423471331596375,
0.30059751868247986,
0.34066835045814514,
-0.3459304869174957,
0.5724401473999023,
-0.18267543613910675,
0.34682199358940125,
-0.06250124424695969,
-0.35268452763557434,
-0.21640248596668243,
0.002229515463113785,
0.024863576516509056,
-0.3646698296070099
] |
http://arxiv.org/abs/2405.15208v1
|
http://arxiv.org/pdf/2405.15208v1
|
Decoding at the Speed of Thought: Harnessing Parallel Decoding of Lexical Units for LLMs
| 2024-05-24T04:35:13 | 2024-05-24T04:35:13 |
Chenxi Sun, Hongzhi Zhang, Zijia Lin, Jingyuan Zhang, Fuzheng Zhang, Zhongyuan Wang, Bin Chen, Chengru Song, Di Zhang, Kun Gai, Deyi Xiong
|
cs.CL
|
cs.CL, cs.AI
|
Large language models have demonstrated exceptional capability in natural
language understanding and generation. However, their generation speed is
limited by the inherently sequential nature of their decoding process, posing
challenges for real-time applications. This paper introduces Lexical Unit
Decoding (LUD), a novel decoding methodology implemented in a data-driven
manner, accelerating the decoding process without sacrificing output quality.
The core of our approach is the observation that a pre-trained language model
can confidently predict multiple contiguous tokens, forming the basis for a
\textit{lexical unit}, in which these contiguous tokens could be decoded in
parallel. Extensive experiments validate that our method substantially reduces
decoding time while maintaining generation quality, i.e., 33\% speed up on
natural language generation with no quality loss, and 30\% speed up on code
generation with a negligible quality loss of 3\%. Distinctively, LUD requires
no auxiliary models and does not require changes to existing architectures. It
can also be integrated with other decoding acceleration methods, thus achieving
an even more pronounced inference efficiency boost. We posit that the
foundational principles of LUD could define a new decoding paradigm for future
language models, enhancing their applicability for a broader spectrum of
applications. All codes are be publicly available at
https://github.com/tjunlp-lab/Lexical-Unit-Decoding-LUD-. Keywords: Parallel
Decoding, Lexical Unit Decoding, Large Language Model
|
[
-0.11704221367835999,
-0.9189558625221252,
0.6768621206283569,
0.46025872230529785,
-0.49561944603919983,
0.34564054012298584,
-0.15842290222644806,
-0.3557143211364746,
0.20675508677959442,
0.4727881848812103,
-0.3294637203216553,
-0.5434832572937012,
-0.36578938364982605,
0.06047101691365242,
-0.4488829970359802,
0.4251205027103424,
0.031870778650045395,
0.1755276471376419,
-0.14887461066246033,
-0.14854472875595093,
-0.2407059371471405,
-0.7208347320556641,
-0.6214497685432434,
-0.40316104888916016,
0.3543185293674469,
0.3224993348121643,
0.7603246569633484,
0.8284152150154114,
0.530115008354187,
0.1875087171792984,
-0.06134902685880661,
0.36711686849594116,
-0.7239454984664917,
0.05202851444482803,
0.09825456887483597,
-0.39990487694740295,
-0.813361644744873,
-0.3309914171695709,
0.8388413786888123,
0.9065492749214172,
-0.22111013531684875,
0.06375938653945923,
-0.10518380254507065,
0.8353434801101685,
-0.717046856880188,
0.22271324694156647,
-0.6040714979171753,
0.012426646426320076,
-0.37166932225227356,
-0.2676572799682617,
-0.5922811031341553,
-0.4718888998031616,
-0.20588801801204681,
-0.6190104484558105,
0.1622266173362732,
0.2024763822555542,
0.44753891229629517,
0.18833640217781067,
0.037666358053684235,
-0.14211896061897278,
-0.7199152112007141,
0.6105555295944214,
-0.6796467900276184,
0.6830031871795654,
0.0681377723813057,
0.028037872165441513,
0.060900699347257614,
-0.9407526850700378,
-0.5969659686088562,
0.038990505039691925,
0.21250303089618683,
-0.04133302718400955,
-0.07135959714651108,
0.29160037636756897,
0.468977153301239,
0.6129481196403503,
-0.5366842150688171,
-0.12814675271511078,
0.07119790464639664,
-0.1367691308259964,
0.5053845643997192,
0.4522651433944702,
0.20134669542312622,
0.042845357209444046,
-0.24681183695793152,
-0.10079868882894516,
-0.7189046740531921,
-0.03214320167899132,
0.052342839539051056,
0.07224005460739136,
-0.03703866899013519,
0.3940231204032898,
-0.380015105009079,
0.47325149178504944,
-0.2388717085123062,
-0.27875083684921265,
0.24415016174316406,
-0.5847800970077515,
-0.19119292497634888,
0.43756893277168274,
0.5656030774116516,
0.29229679703712463,
0.20868396759033203,
-0.47667643427848816,
-0.41807329654693604,
0.6013360619544983,
0.011986322700977325,
-1.032961130142212,
-0.019558407366275787,
0.028675908222794533,
-0.41122904419898987,
-0.1119394451379776,
-0.040345292538404465,
-0.5011294484138489,
-0.030003288760781288,
-0.4209690988063812,
0.1622268557548523,
-0.6535852551460266,
-0.28598126769065857,
0.775052011013031,
0.20804092288017273,
0.22939498722553253,
0.05013756453990936,
-0.943578839302063,
0.49825650453567505,
0.9065598249435425,
0.8417118787765503,
-0.16390521824359894,
-0.2488984763622284,
-0.6522595882415771,
-0.0023915739730000496,
-0.6826339960098267,
0.6218791007995605,
-0.47482404112815857,
-0.4086863100528717,
-0.0702703669667244,
-0.2876676917076111,
0.07484176009893417,
-0.378614604473114,
0.6252613663673401,
-0.8659629821777344,
-0.643953800201416,
-0.4581674039363861,
-0.8138226270675659,
0.1062401607632637,
-0.17139579355716705,
-0.6118727922439575,
0.8089046478271484,
-0.018321774899959564,
-0.7662989497184753,
0.2501877546310425,
-0.6615055799484253,
-0.6231745481491089,
0.27621403336524963,
-0.023404650390148163,
0.0072253430262207985,
0.6168904304504395,
0.45624029636383057,
0.335282564163208,
-0.4366019666194916,
0.33521074056625366,
-0.1603882908821106,
-0.3693636357784271,
0.01649235002696514,
-0.4009045958518982,
0.5580971240997314,
0.6100033521652222,
0.06848560273647308,
-0.047639112919569016,
-0.7499796748161316,
0.20639918744564056,
0.16546665132045746,
-0.32767993211746216,
-0.26395300030708313,
0.1478683203458786,
-0.018116826191544533,
-0.2849017083644867,
0.2939293682575226,
-0.72742760181427,
0.1288498044013977,
-0.49687081575393677,
0.27424177527427673,
0.5809065699577332,
-0.17048338055610657,
0.6186607480049133,
0.011753948405385017,
0.3774210214614868,
-0.01984528638422489,
-0.06519334018230438,
-0.4600958526134491,
-0.1849917471408844,
-0.907854437828064,
-0.0669747069478035,
0.24456894397735596,
0.31484097242355347,
-1.0953837633132935,
0.3637976050376892,
-0.6507840752601624,
-0.25325292348861694,
-0.8927551507949829,
0.0959424301981926,
0.4630088210105896,
0.45999327301979065,
0.2575351297855377,
-0.24683339893817902,
-0.42686885595321655,
-0.45303797721862793,
-0.30559325218200684,
-0.1349068433046341,
0.1782456487417221,
0.04300631582736969,
0.06806813925504684,
-0.2976943552494049,
0.8346303105354309,
-0.6130093336105347,
0.16472139954566956,
-0.5987942814826965,
0.12290918081998825,
0.22677651047706604,
0.3386527895927429,
0.12214264273643494,
-0.3030170202255249,
-0.18582695722579956,
0.003726060502231121,
-1.0955641269683838,
-0.31778788566589355,
-0.04019840434193611,
-0.3013162612915039,
0.21821844577789307,
0.9627729058265686,
-0.4848480224609375,
0.3559560775756836,
0.3825063109397888,
-0.3561490476131439,
0.4495287835597992,
-0.5738523006439209,
-0.19101263582706451,
-0.9221262335777283,
-0.15745660662651062,
-0.4509658217430115,
-0.18490014970302582,
-0.8252540826797485,
0.5029707551002502,
0.38281986117362976,
-0.0020475699566304684,
-0.45213422179222107,
0.21335606276988983,
-0.6284598708152771,
-0.32669326663017273,
-0.49123990535736084,
-0.07475360482931137,
-0.005854154471307993,
0.16013601422309875,
0.07363449037075043,
0.9778751134872437,
0.5737043023109436,
-0.6224498748779297,
0.40757614374160767,
-0.16192404925823212,
-0.597545862197876,
0.16847480833530426,
-0.5686026215553284,
0.3634316027164459,
-0.3282806873321533,
0.17347510159015656,
-0.3460519313812256,
0.02555215358734131,
-0.46013855934143066,
-0.10440491139888763,
-0.024524791166186333,
0.3640141189098358,
-0.9288472533226013,
-0.41159334778785706,
-0.18920528888702393,
0.9833337664604187,
0.6701046824455261,
-0.6941131949424744,
0.43645158410072327,
0.3403988480567932,
0.2771050035953522,
-0.38497769832611084,
-0.5818875432014465,
0.21876464784145355,
0.14107415080070496,
-0.8657371997833252,
0.46760573983192444,
-0.2468775063753128,
-0.37534040212631226,
-0.06184052303433418,
-0.0408618338406086,
0.22238023579120636,
0.1042587086558342,
-0.03256241977214813,
0.04889341816306114,
-0.47870391607284546,
0.24468594789505005,
-0.14694125950336456,
-0.36330583691596985,
0.09780870378017426,
-0.5579881072044373,
0.9060207605361938,
-0.32519814372062683,
-0.24149738252162933,
-0.561786949634552,
0.3911227285861969,
0.7487162351608276,
-0.35979732871055603,
0.6446261405944824,
0.7915233373641968,
-0.3832452893257141,
-0.298239141702652,
-0.41957369446754456,
-0.20507533848285675,
-0.4976889193058014,
0.3260544538497925,
-0.5335047841072083,
-0.7607103586196899,
0.4437408447265625,
-0.02021842822432518,
-0.07090871036052704,
-0.0017267834628000855,
0.5322788953781128,
0.24774229526519775,
0.7527649402618408,
1.0071414709091187,
-0.45060834288597107,
0.32060447335243225,
-0.3577097952365875,
0.46760696172714233,
-0.6684881448745728,
-0.13622500002384186,
-0.050327450037002563,
-0.1677786260843277,
-0.20200785994529724,
-0.7249724268913269,
0.24890582263469696,
0.3374900221824646,
0.05348552018404007,
0.15834683179855347,
-0.20926816761493683,
0.7113978266716003,
0.37968894839286804,
0.08507613837718964,
0.6011207103729248,
0.08597477525472641,
-0.3759249150753021,
-0.06092993542551994,
-0.7768065333366394,
-0.25667673349380493,
1.070945382118225,
0.3492608964443207,
1.115293264389038,
-0.042671818286180496,
0.706927478313446,
0.3237975537776947,
-0.01444987766444683,
-0.9612957835197449,
0.8176725506782532,
-0.22432023286819458,
-0.0196603462100029,
-0.04934323579072952,
-0.4587915539741516,
-0.7721744775772095,
0.14093364775180817,
-0.06735895574092865,
-0.40539830923080444,
-0.02910621464252472,
-0.07713738083839417,
-0.4596799314022064,
0.5842289924621582,
-0.6125562191009521,
0.5146599411964417,
-0.10843576490879059,
-0.4421177804470062,
-0.5168505311012268,
-0.2750416100025177,
0.4881022870540619,
-0.23278050124645233,
0.1417110711336136,
-0.3208121657371521,
-0.033171359449625015,
0.6428171992301941,
-0.6791637539863586,
0.1401633471250534,
-0.08839624375104904,
-0.27512624859809875,
0.17978988587856293,
0.06732392311096191,
0.4317843019962311,
0.2751043736934662,
-0.24886994063854218,
0.03023681230843067,
-0.3513610363006592,
-0.5339103937149048,
-0.37405118346214294,
0.8198769688606262,
-0.5986903309822083,
-0.3817080557346344,
-0.08086106926202774,
-0.9560668468475342,
-0.09238932281732559,
0.032622966915369034,
0.2644357979297638,
0.777235746383667,
-0.17900414764881134,
-0.05583491176366806,
0.831082820892334,
-0.08104409277439117,
0.9090874195098877,
0.32455581426620483,
-0.31134477257728577,
-0.235044926404953,
1.0622613430023193,
-0.13041071593761444,
0.4366261065006256,
0.5430132746696472,
-0.17075888812541962,
-0.3891456723213196,
-0.6363735198974609,
-0.2433006912469864,
0.3570777177810669,
-0.6345663666725159,
-0.19288097321987152,
-0.6122671961784363,
-0.22583234310150146,
-0.39535433053970337,
-0.28769737482070923,
-0.6456558704376221,
-0.06065231189131737,
-0.24940979480743408,
-0.1255420595407486,
0.31091076135635376,
0.7855391502380371,
0.09726528823375702,
0.48482635617256165,
-0.7700637578964233,
0.7222242951393127,
0.284348726272583,
0.26627135276794434,
0.09586562216281891,
-0.2421197146177292,
-0.3285166323184967,
-0.1724565476179123,
0.20666004717350006,
-0.5128889083862305,
0.6834271550178528,
0.11060654371976852,
0.25341689586639404,
0.49087759852409363,
0.2941674292087555,
0.8182792663574219,
-0.6341867446899414,
0.5299944877624512,
0.1617182046175003,
-1.139145851135254,
0.33570238947868347,
0.06374792009592056,
0.6453959941864014,
0.3574580252170563,
-0.07696548849344254,
-0.5506482720375061,
-0.12178894132375717,
-0.3510110378265381,
-0.8666015863418579,
0.8761804699897766,
0.1306273341178894,
0.051284462213516235,
-0.1781708151102066,
0.28644561767578125,
0.0310992281883955,
-0.06341675668954849,
-0.33297497034072876,
-0.2831884026527405,
0.002927036490291357,
-0.2273648977279663,
-0.27937716245651245,
-0.5777434706687927,
0.2933875620365143,
-0.34516003727912903,
0.2538594603538513,
-0.12056756019592285,
0.45574715733528137,
0.3687170445919037,
-0.6529607176780701,
0.03355037793517113,
0.21718861162662506,
0.45770201086997986,
0.5889720916748047,
-0.3010750710964203,
0.312233567237854,
0.20851628482341766,
-0.6392499208450317,
0.24930426478385925,
-0.13091954588890076,
0.01132357306778431,
0.21865996718406677,
0.33359941840171814,
0.9740418195724487,
0.1793457567691803,
-0.48426002264022827,
0.3843229413032532,
-0.28739750385284424,
-0.1811215728521347,
-0.03657297044992447,
-0.19451506435871124,
0.15138009190559387,
0.18464058637619019,
0.44147899746894836,
-0.1380264014005661,
-0.005437200888991356,
-0.39573904871940613,
0.2080879509449005,
0.285401314496994,
0.06040523201227188,
-0.5686207413673401,
0.7774742841720581,
0.34553128480911255,
-0.11536914110183716,
0.6878336071968079,
-0.48958486318588257,
-0.27353280782699585,
0.47154611349105835,
0.6720427870750427,
1.0288357734680176,
0.0025150661822408438,
-0.061664167791604996,
0.33441612124443054,
0.20016831159591675,
-0.26443541049957275,
0.5218152403831482,
-0.11142464727163315,
-0.9995667338371277,
-0.5363982915878296,
-1.2395384311676025,
-0.06055372580885887,
0.07268775999546051,
-0.6177735328674316,
-0.08534479141235352,
-0.6491785645484924,
-0.0940607562661171,
-0.13484081625938416,
-0.15095359086990356,
-0.5737755298614502,
-0.18365399539470673,
0.6911718249320984,
1.1912394762039185,
-0.437386691570282,
1.3895800113677979,
0.41785958409309387,
0.15596620738506317,
-0.6969338059425354,
0.0880301371216774,
-0.25683796405792236,
-0.9292699694633484,
0.5842732787132263,
0.25120970606803894,
-0.4858321249485016,
0.41327711939811707,
-0.19212234020233154,
-0.7702690958976746,
1.1096665859222412,
0.4748048782348633,
-0.6789292097091675,
-0.19170010089874268,
0.3192802965641022,
0.3507036566734314,
-0.722065269947052,
0.08650212734937668,
1.0352786779403687,
0.12044407427310944,
-0.20434215664863586,
-0.7735181450843811,
0.14668996632099152,
-0.04117748141288757,
0.4287174344062805,
0.12544740736484528,
-0.29251447319984436,
0.9671381115913391,
-0.4795735776424408,
-0.45724713802337646,
0.2976776659488678,
0.869703471660614,
0.1166253313422203,
0.28750738501548767,
0.32447361946105957,
0.9473242163658142,
0.7581965923309326,
-0.11824674904346466,
1.1721506118774414,
-0.7229668498039246,
0.28709784150123596,
0.5881760716438293,
-0.2799396514892578,
0.832273006439209,
0.30059778690338135,
-0.17841537296772003,
0.26631245017051697,
0.2119780331850052,
0.4940667748451233,
0.6428232789039612,
0.026074182242155075,
-0.7823444604873657,
-0.41409116983413696,
-0.23437508940696716,
-0.4805207848548889,
0.2755585312843323,
0.7080698609352112,
-0.2530938684940338,
-0.4150043725967407,
0.09648340940475464,
-0.08087325841188431,
0.22555620968341827,
-0.6447604298591614,
0.5607212781906128,
0.08024158328771591,
-0.4643746316432953,
0.9957703948020935,
0.072486512362957,
0.9235754609107971,
-0.45939144492149353,
0.2753959000110626,
-0.48690342903137207,
0.4825466573238373,
0.00003239867146476172,
-0.5298295021057129,
0.0704222097992897,
-0.0888138860464096,
-0.1794022172689438,
-0.47298499941825867,
0.6104055643081665,
-0.41739246249198914,
-0.5894270539283752,
0.524534285068512,
0.688778281211853,
0.21653534471988678,
-0.17443206906318665,
-0.49325937032699585,
0.4712304472923279,
-0.0027907739859074354,
0.16012227535247803,
0.017787059769034386,
0.5009016990661621,
0.06325173377990723,
0.6405017971992493,
0.7763024568557739,
-0.009024592116475105,
0.2497100532054901,
0.4671672284603119,
0.9959293603897095,
-0.9393277168273926,
-0.37164759635925293,
-0.9627940058708191,
-0.03483589366078377,
0.28723084926605225,
0.06925970315933228,
0.6526963114738464,
0.5687053203582764,
0.8164404630661011,
-0.04122317582368851,
0.35157665610313416,
0.21134433150291443,
0.13275407254695892,
-0.78118497133255,
0.7117120623588562,
-0.31188756227493286,
0.47095462679862976,
-0.07595990598201752,
-0.8337924480438232,
-0.2364387959241867,
0.21749341487884521,
0.019334759563207626,
-0.3815973401069641,
0.9625827074050903,
0.9105663299560547,
0.061751559376716614,
0.13078673183918,
0.5483947396278381,
0.16155889630317688,
0.2996279299259186,
0.7416825294494629,
0.6517152190208435,
-0.3900739252567291,
0.4431612491607666,
-0.3816371560096741,
-0.10063789039850235,
-0.23418642580509186,
-0.6317662000656128,
-0.6996352672576904,
-0.23762944340705872,
-0.09269779175519943,
-0.08930440992116928,
0.22336319088935852,
0.7479562163352966,
0.6965316534042358,
-0.4772891402244568,
-0.4486057162284851,
-0.6981841325759888,
0.07168067991733551,
-0.043062981218099594,
-0.206504225730896,
0.15867288410663605,
-0.9483224749565125,
-0.7953044176101685,
0.5435853004455566,
0.36315682530403137,
-0.09888067841529846,
-0.05488888919353485,
-0.33351460099220276,
0.03358898311853409,
0.056230466812849045,
0.9564822316169739,
0.07183130830526352,
-0.8386494517326355,
0.2715322971343994,
0.12839187681674957,
-0.32362601161003113,
0.11287784576416016,
1.049522876739502,
-1.1740036010742188,
0.44026923179626465,
0.595321536064148,
0.8127241730690002,
0.5286135077476501,
0.05632612854242325,
0.5898554921150208,
-0.6342371702194214,
0.42166587710380554,
0.13957682251930237,
0.4410325884819031,
0.2476520985364914,
-0.24816882610321045,
0.33262813091278076,
0.5438616871833801,
-0.2717870771884918,
-0.7440312504768372,
0.2211371809244156,
-1.0396537780761719,
-0.2527715861797333,
1.08433997631073,
-0.1357783079147339,
-0.4710438549518585,
0.06860549002885818,
0.006458069663494825,
0.12618252635002136,
-0.620113730430603,
0.24083951115608215,
0.3718738555908203,
0.02136572077870369,
-0.08177730441093445,
-0.489504873752594,
0.506188690662384,
0.6312003135681152,
-0.6785555481910706,
0.5586308240890503,
0.44021075963974,
-0.06759968400001526,
-0.009702636860311031,
0.750366747379303,
-0.17688772082328796,
0.29410794377326965,
0.27202317118644714,
0.1345279961824417,
-0.006390182767063379,
-0.39477479457855225,
-0.43486127257347107,
0.16814132034778595,
0.07355459034442902,
-0.21139533817768097
] |
http://arxiv.org/abs/2405.15202v1
|
http://arxiv.org/pdf/2405.15202v1
|
Cross-Task Defense: Instruction-Tuning LLMs for Content Safety
| 2024-05-24T04:14:32 | 2024-05-24T04:14:32 |
Yu Fu, Wen Xiao, Jia Chen, Jiachen Li, Evangelos Papalexakis, Aichi Chien, Yue Dong
|
cs.CL
|
cs.CL, cs.CR
|
Recent studies reveal that Large Language Models (LLMs) face challenges in
balancing safety with utility, particularly when processing long texts for NLP
tasks like summarization and translation. Despite defenses against malicious
short questions, the ability of LLMs to safely handle dangerous long content,
such as manuals teaching illicit activities, remains unclear. Our work aims to
develop robust defenses for LLMs in processing malicious documents alongside
benign NLP task queries. We introduce a defense dataset comprised of
safety-related examples and propose single-task and mixed-task losses for
instruction tuning. Our empirical results demonstrate that LLMs can
significantly enhance their capacity to safely manage dangerous content with
appropriate instruction tuning. Additionally, strengthening the defenses of
tasks most susceptible to misuse is effective in protecting LLMs against
processing harmful information. We also observe that trade-offs between utility
and safety exist in defense strategies, where Llama2, utilizing our proposed
approach, displays a significantly better balance compared to Llama1.
|
[
0.025919582694768906,
-0.9072688221931458,
0.3014705777168274,
-0.07182882726192474,
-0.27724093198776245,
0.14565710723400116,
-0.3203607499599457,
-0.5488837361335754,
-0.21175377070903778,
1.0328608751296997,
-0.5392748117446899,
-0.6687976717948914,
-0.9014052152633667,
-0.1736459583044052,
-0.539596676826477,
1.3636075258255005,
0.04659892991185188,
-0.16201765835285187,
-0.3782534897327423,
0.043706879019737244,
-0.7768337726593018,
-0.7572627067565918,
-0.9735157489776611,
-0.12590427696704865,
0.6017347574234009,
0.38872048258781433,
0.5959374904632568,
0.6095682978630066,
0.7052116394042969,
0.28348782658576965,
0.26282963156700134,
0.20844729244709015,
-0.5969312787055969,
0.671048104763031,
-0.4880141019821167,
-0.583289384841919,
-0.6223117113113403,
-0.28915461897850037,
0.3308369815349579,
0.4081234335899353,
-0.05688737705349922,
-0.1441156268119812,
0.27050676941871643,
0.5992544889450073,
-0.8476558327674866,
-0.4159209728240967,
-0.8449072241783142,
0.13112683594226837,
-0.4705071449279785,
-0.6708824038505554,
-0.7165560722351074,
0.0023503315169364214,
-0.02263392135500908,
-0.491583913564682,
0.07355198264122009,
0.269343763589859,
0.5841253995895386,
0.5167146921157837,
-0.5083811283111572,
-0.3068360388278961,
-0.5105621218681335,
0.9579157829284668,
-0.42250216007232666,
0.07194627821445465,
0.7564751505851746,
0.06351369619369507,
-0.2981565296649933,
-0.5135157108306885,
-0.08461680263280869,
-0.10276921838521957,
0.07306916266679764,
0.18487423658370972,
-0.43553426861763,
0.38050270080566406,
0.25193801522254944,
0.08002810180187225,
-0.6772492527961731,
0.5425171256065369,
-0.17970986664295197,
-0.3705505132675171,
0.7228790521621704,
0.48988616466522217,
0.5477631092071533,
0.08135053515434265,
-0.5137016177177429,
-0.19935248792171478,
-1.0528346300125122,
0.12021821737289429,
0.5899608731269836,
0.17477621138095856,
0.08477368950843811,
0.6649085879325867,
0.06476094573736191,
0.5117486715316772,
-0.025987913832068443,
-0.3975265920162201,
-0.3264148235321045,
-0.31381604075431824,
-0.24218662083148956,
0.19582025706768036,
0.7288974523544312,
0.7043769955635071,
0.12440820038318634,
-0.4220183193683624,
-0.24299423396587372,
-0.055951476097106934,
0.8755903244018555,
-0.6526730060577393,
-0.019618811085820198,
0.0857095792889595,
-0.3205450475215912,
-0.4382660388946533,
-0.2108200341463089,
-0.6675893664360046,
-0.518224835395813,
0.003984344191849232,
0.42833200097084045,
-0.48844754695892334,
0.09421143680810928,
0.33310452103614807,
0.000290957948891446,
-0.04815421998500824,
0.12333262711763382,
-1.076016902923584,
0.5578832030296326,
0.8833093643188477,
0.5975034236907959,
-0.6228563785552979,
-0.17664006352424622,
-0.7336826920509338,
0.5490661263465881,
-0.2908475697040558,
0.6645013689994812,
-0.3176361620426178,
-0.6362085342407227,
0.11193279922008514,
0.19431838393211365,
-0.11657215654850006,
-0.49987712502479553,
0.8441064953804016,
-0.5961890816688538,
-0.12259253859519958,
-0.20598620176315308,
-0.4136016368865967,
-0.12938424944877625,
0.33419251441955566,
-0.6327052712440491,
0.8733510375022888,
-0.18086041510105133,
-0.9349346160888672,
0.12761342525482178,
-0.26436513662338257,
-1.1047176122665405,
-0.14263786375522614,
0.15332536399364471,
-0.44830307364463806,
-0.13040223717689514,
0.07893303781747818,
0.5690474510192871,
-0.2519323229789734,
-0.04919064790010452,
-0.19941480457782745,
-0.2595846652984619,
0.09471527487039566,
-0.5818588733673096,
0.6376763582229614,
0.0548732616007328,
-0.4037318229675293,
0.3097105324268341,
-0.43352919816970825,
-0.06431863456964493,
0.0867447480559349,
-0.45597097277641296,
-0.7532497644424438,
0.28702738881111145,
-0.3831856846809387,
-0.12295247614383698,
0.29584938287734985,
-0.4641493260860443,
-0.06516377627849579,
-0.32782936096191406,
0.009174101054668427,
0.7995075583457947,
0.05397118255496025,
0.34768444299697876,
-0.6030595302581787,
0.697318971157074,
0.006848405115306377,
0.32958054542541504,
-0.08861452341079712,
-0.5382828116416931,
-0.662447452545166,
0.04213711619377136,
-0.11356920003890991,
0.9622682929039001,
-1.0657037496566772,
0.34090909361839294,
-0.013332860544323921,
-0.2524089217185974,
-0.1697043776512146,
0.362230122089386,
0.7730163335800171,
0.4567677676677704,
0.4722697138786316,
-0.12175330519676208,
-0.4733266532421112,
-0.6939249038696289,
-0.4672788381576538,
0.11181136220693588,
0.00456771207973361,
0.13732047379016876,
0.15983040630817413,
0.042312636971473694,
0.2811858654022217,
-0.31622952222824097,
-0.2455243170261383,
-0.2665775418281555,
-0.04546777531504631,
-0.0984295904636383,
0.6225709319114685,
0.5852743983268738,
-0.6170653104782104,
-0.48495179414749146,
-0.11854565143585205,
-0.6369181871414185,
-0.19726738333702087,
-0.22418859601020813,
-0.3233600854873657,
0.3299514949321747,
0.603600025177002,
-0.5258037447929382,
0.25913599133491516,
0.36853787302970886,
-0.41022947430610657,
0.3448246717453003,
-0.07584225386381149,
0.12365201115608215,
-0.9316830039024353,
-0.28097501397132874,
0.0048868656158447266,
-0.48280876874923706,
-0.7315581440925598,
0.33110544085502625,
-0.09859961271286011,
0.10801850259304047,
-0.6214978098869324,
0.19301731884479523,
-0.16081520915031433,
0.2977496385574341,
-0.48121365904808044,
-0.016740066930651665,
-0.04264381527900696,
0.26540422439575195,
0.011691735126078129,
0.8009982109069824,
0.7193407416343689,
-0.7299540042877197,
0.3893914520740509,
-0.10991767793893814,
-0.2994174361228943,
0.766670286655426,
-0.7395191788673401,
0.27506473660469055,
0.09060080349445343,
-0.0065612634643912315,
-0.47838538885116577,
-0.026333710178732872,
0.5033708810806274,
-0.05520719662308693,
0.773006796836853,
-0.20310620963573456,
-0.4869793653488159,
-0.1608186662197113,
-0.48103317618370056,
0.3493553400039673,
0.3812621831893921,
-0.31749749183654785,
0.42801880836486816,
0.6284048557281494,
-0.43240293860435486,
-1.089166522026062,
-0.7306958436965942,
0.29376670718193054,
-0.512606680393219,
-0.6355975270271301,
0.6210371851921082,
-0.1551528424024582,
-0.19515392184257507,
-0.05120183527469635,
-0.3852316439151764,
0.03437985107302666,
0.5081180334091187,
0.5937904715538025,
0.26075294613838196,
-0.06422353535890579,
0.05347072333097458,
0.29410213232040405,
-0.10571862012147903,
0.4197275936603546,
-0.16697528958320618,
0.2895478308200836,
0.2607511281967163,
-0.6412131786346436,
-0.06973776966333389,
0.6880046725273132,
0.22857621312141418,
0.04383748769760132,
0.7543494701385498,
0.4436067044734955,
-0.310914546251297,
-0.47995102405548096,
-0.45248138904571533,
-0.19014482200145721,
-0.50900799036026,
0.4399074912071228,
-0.043101705610752106,
-1.1109868288040161,
0.19783172011375427,
0.1763124167919159,
0.3485841155052185,
0.36078089475631714,
0.5857086181640625,
-0.15625900030136108,
0.8794350028038025,
0.5684692859649658,
-0.1454126536846161,
0.3959525227546692,
0.04631134122610092,
0.05909457057714462,
-0.5475758910179138,
-0.29682454466819763,
-0.48499056696891785,
-0.27255287766456604,
-0.36751309037208557,
-0.3846321403980255,
0.4635463058948517,
-0.11656554788351059,
-0.06534438580274582,
0.426218718290329,
-0.45265039801597595,
0.7727409601211548,
0.5963821411132812,
0.3402042090892792,
0.24515721201896667,
-0.11843001842498779,
0.08960358798503876,
0.01999242976307869,
-0.692009687423706,
-0.6477928757667542,
1.2735711336135864,
0.4935833811759949,
1.224294662475586,
0.13646453619003296,
0.6715542078018188,
0.5488194823265076,
0.04674873873591423,
-0.5378152132034302,
0.706295907497406,
-0.5699698328971863,
-0.7391564249992371,
-0.39895880222320557,
-0.4042433202266693,
-1.0647391080856323,
0.19532933831214905,
-0.23233823478221893,
-0.6968703269958496,
-0.3817111551761627,
0.07531588524580002,
-0.41265833377838135,
0.550700306892395,
-0.4364791810512543,
0.7820388078689575,
-0.6699615120887756,
-0.5688171982765198,
-0.4248523414134979,
-0.6605637073516846,
0.5345250964164734,
-0.1659385710954666,
0.007359465584158897,
-0.08934543281793594,
-0.19179506599903107,
0.856286346912384,
0.028458254411816597,
1.1906615495681763,
0.09661894291639328,
-0.4479856789112091,
0.22272858023643494,
0.21865996718406677,
0.4429316818714142,
0.06078511103987694,
0.001837749034166336,
0.03267670050263405,
0.1407415270805359,
-0.3944770097732544,
-0.3176184892654419,
0.8415068984031677,
-0.44550979137420654,
-1.2273966073989868,
-0.30313095450401306,
-0.9037377834320068,
-0.07822959125041962,
0.3510059118270874,
0.3851108253002167,
0.20261381566524506,
-0.06552142649888992,
0.3583666980266571,
1.2790780067443848,
-0.32237789034843445,
0.6159437894821167,
0.5621418952941895,
0.3882701098918915,
-0.07751822471618652,
0.9762746691703796,
-0.008876068517565727,
0.4613516926765442,
0.6221531629562378,
-0.023289574310183525,
-0.20702841877937317,
-0.9899893403053284,
-0.35420331358909607,
-0.36898577213287354,
-0.8456916809082031,
-0.5839220881462097,
-0.616213321685791,
-0.11958121508359909,
-0.22615815699100494,
-0.0930560976266861,
-0.23111075162887573,
-0.34482672810554504,
-0.288653165102005,
-0.1153717041015625,
0.17085593938827515,
0.6561034321784973,
0.10852868854999542,
0.16453860700130463,
-0.8759146332740784,
0.24828222393989563,
0.2875671684741974,
0.27521640062332153,
-0.15541575849056244,
-0.5533913373947144,
-0.46179795265197754,
-0.05199806019663811,
-0.6294607520103455,
-0.8061370849609375,
0.26990607380867004,
-0.025571569800376892,
0.7115705609321594,
0.30873262882232666,
0.5642973184585571,
0.1356629580259323,
-0.5094630122184753,
0.7383595705032349,
-0.011217423714697361,
-0.6883758902549744,
0.43125537037849426,
-0.3173462450504303,
0.004394985269755125,
0.37848252058029175,
0.5019811987876892,
-0.16597653925418854,
-0.5256925225257874,
-0.13573071360588074,
-0.879178524017334,
0.7192361354827881,
0.07999458909034729,
0.4005591571331024,
-0.03515050187706947,
0.057188041508197784,
0.17635932564735413,
0.06246890500187874,
-0.7939585447311401,
-0.16518060863018036,
-0.17079295217990875,
-0.10172085464000702,
0.14634990692138672,
-0.3045412302017212,
-0.7193160057067871,
0.07220015674829483,
0.8095354437828064,
-0.034848928451538086,
0.025628354400396347,
-0.16219669580459595,
-0.2616778314113617,
-0.22521960735321045,
0.39729681611061096,
0.7655911445617676,
0.1180620789527893,
0.05337163433432579,
0.46002474427223206,
0.4581187069416046,
-0.5684740543365479,
0.27937865257263184,
-0.03302299231290817,
-0.0700736865401268,
-0.42496106028556824,
0.6459957361221313,
0.7207996249198914,
0.47044163942337036,
-0.7256214022636414,
0.423615038394928,
-0.013892066664993763,
-0.058748409152030945,
0.08771485090255737,
0.6292386651039124,
-0.06617718935012817,
0.14352916181087494,
0.10940463840961456,
-0.0822233259677887,
-0.026008648797869682,
-0.3761255443096161,
0.13831064105033875,
0.6037795543670654,
-0.09850601106882095,
-0.007094495464116335,
0.5681843757629395,
0.1399202197790146,
-0.29124170541763306,
0.1314786970615387,
0.09166594594717026,
-0.5007296204566956,
0.8097009658813477,
0.7625584006309509,
0.9087997078895569,
-0.21671026945114136,
-0.16894792020320892,
-0.05596756935119629,
0.7032788395881653,
0.07450991123914719,
0.20228798687458038,
0.012912187725305557,
-0.47298645973205566,
-0.2527717053890228,
-0.38832730054855347,
-0.499644011259079,
0.19570040702819824,
-0.599258542060852,
-0.03570841997861862,
-0.5380232930183411,
-0.21968351304531097,
-0.19592884182929993,
-0.2467506229877472,
-0.29127082228660583,
0.149446040391922,
0.1405172049999237,
0.7602002620697021,
-0.5090826153755188,
0.8230196833610535,
0.5318948030471802,
-0.05334024131298065,
-0.38092249631881714,
0.10019084811210632,
0.04911487177014351,
-0.5764058828353882,
0.43763330578804016,
0.012356899678707123,
-0.4103182256221771,
-0.41926732659339905,
-0.28212034702301025,
-0.6996245384216309,
0.883084237575531,
0.4228343367576599,
-0.7514992952346802,
-0.15215939283370972,
0.4331263303756714,
0.4453900158405304,
-0.028708994388580322,
-0.31161344051361084,
0.3403099775314331,
0.29068809747695923,
-0.3098599910736084,
-0.6809840202331543,
0.2971082031726837,
-0.07263652235269547,
-0.2946936786174774,
0.36052072048187256,
-0.5112819075584412,
0.6373226642608643,
-0.17092055082321167,
-0.29703450202941895,
-0.003952923696488142,
0.48050656914711,
0.026314979419112206,
0.605257511138916,
0.5328499674797058,
0.7035920023918152,
0.43477895855903625,
-0.10313940048217773,
1.222542405128479,
-0.35822850465774536,
-0.22970294952392578,
1.126851201057434,
-0.13242945075035095,
0.6491440534591675,
0.3438468277454376,
0.03564360365271568,
0.27120891213417053,
0.48887598514556885,
0.12501895427703857,
0.6361640095710754,
0.14669635891914368,
-0.4170726537704468,
-0.35855743288993835,
-0.13594511151313782,
-0.3692696988582611,
0.303142249584198,
0.44153741002082825,
-0.3407796621322632,
-0.07850850373506546,
0.07916173338890076,
0.2813956141471863,
0.122121162712574,
-0.3966867923736572,
0.8210553526878357,
0.2215750813484192,
-0.8973957896232605,
0.4569377303123474,
0.150871142745018,
0.7283067107200623,
-0.6451483368873596,
0.24672654271125793,
0.04242194816470146,
0.14045120775699615,
-0.2290615439414978,
-1.054748296737671,
0.5270857810974121,
0.16521918773651123,
-0.26867884397506714,
-0.24423626065254211,
1.0346744060516357,
-0.43809813261032104,
-0.07708143442869186,
0.38560572266578674,
0.08353565633296967,
-0.2864425480365753,
0.128962904214859,
-0.6054869294166565,
0.01368983369320631,
-0.39232900738716125,
-0.24886400997638702,
0.8265143036842346,
0.29720646142959595,
-0.2427935153245926,
0.774945855140686,
0.6179286241531372,
-0.014458778314292431,
0.27217748761177063,
0.0267386082559824,
0.918663501739502,
-0.3686648905277252,
-0.45603737235069275,
-0.9679504036903381,
0.2899630665779114,
-0.06875936686992645,
-0.02123871073126793,
0.8977426886558533,
0.3627403974533081,
0.9687902331352234,
0.010407737456262112,
0.6551885604858398,
0.25438034534454346,
0.3730202615261078,
-0.9098057746887207,
0.896154522895813,
-0.42020183801651,
0.4207453429698944,
-0.12372990697622299,
-0.5254259705543518,
-0.1540299504995346,
0.12719222903251648,
-0.060392312705516815,
-0.0966925173997879,
0.7450456023216248,
0.7816252708435059,
0.02462717704474926,
-0.047941356897354126,
0.4037364721298218,
-0.21060357987880707,
0.34713467955589294,
0.8903592824935913,
0.7915359139442444,
-0.24723008275032043,
0.7617132067680359,
-0.5324005484580994,
0.05678709223866463,
0.0019494789885357022,
-1.0940582752227783,
-1.3506250381469727,
-0.2173355668783188,
-0.17302218079566956,
-0.4399489164352417,
0.509392499923706,
0.5640150308609009,
0.7863459587097168,
-0.8851521611213684,
-0.1885940432548523,
0.21911630034446716,
0.33644500374794006,
-0.2249385416507721,
-0.13962210714817047,
0.10419753938913345,
-0.42903751134872437,
-0.552895724773407,
0.8002727627754211,
0.39297372102737427,
0.07838818430900574,
-0.2215794175863266,
-0.15176211297512054,
-0.033229026943445206,
0.28052225708961487,
0.5534497499465942,
0.30551251769065857,
-0.7292186617851257,
-0.3444088101387024,
-0.09679082781076431,
-0.44989436864852905,
-0.3978474736213684,
0.9041126370429993,
-0.13897483050823212,
0.2757772207260132,
0.4346567392349243,
1.0796881914138794,
0.04838046431541443,
-0.21442903578281403,
0.5888611674308777,
-0.9979991316795349,
0.03472872078418732,
0.3410179316997528,
0.36967381834983826,
0.25041815638542175,
-0.8112720847129822,
0.4692799746990204,
0.11086216568946838,
-0.6288145780563354,
-0.9403024315834045,
0.26963016390800476,
-1.0590591430664062,
-0.36100682616233826,
1.0874706506729126,
-0.4261302947998047,
-0.08569476008415222,
-0.2632707357406616,
-0.21086564660072327,
0.3380511403083801,
-0.2577167749404907,
0.9235293865203857,
0.5918765068054199,
0.16119197010993958,
-0.1510828137397766,
-0.7220034599304199,
0.6368710398674011,
0.722012460231781,
-1.1672855615615845,
0.09919795393943787,
0.17318029701709747,
0.2472573071718216,
-0.05354268476366997,
0.07474338263273239,
0.0427662618458271,
0.5359309315681458,
-0.22171129286289215,
-0.363364040851593,
-0.36214593052864075,
-0.6111749410629272,
-0.01131061464548111,
0.33265548944473267,
-0.1108977422118187,
-0.2281334102153778
] |
http://arxiv.org/abs/2405.15198v1
|
http://arxiv.org/pdf/2405.15198v1
|
RAEE: A Training-Free Retrieval-Augmented Early Exiting Framework for Efficient Inference
| 2024-05-24T04:01:24 | 2024-05-24T04:01:24 |
Lianming Huang, Shangyu Wu, Yufei Cui, Ying Xiong, Xue Liu, Tei-Wei Kuo, Nan Guan, Chun Jason Xue
|
cs.CL
|
cs.CL
|
Deploying large language model inference remains challenging due to their
high computational overhead. Early exiting accelerates model inference by
adaptively reducing the number of inference layers. Existing methods require
training internal classifiers to determine whether to exit at each intermediate
layer. However, such classifier-based early exiting frameworks require
significant effort to design and train the classifiers. To address these
limitations, this paper proposes RAEE, a training-free Retrieval-Augmented
Early Exiting framework for efficient inference. First, this paper demonstrates
that the early exiting problem can be modeled as a distribution prediction
problem, where the distribution is approximated using similar data's existing
information. Next, the paper details the process of collecting existing
information to build the retrieval database. Finally, based on the pre-built
retrieval database, RAEE leverages the retrieved similar data's exiting
information to guide the backbone model to exit at the layer, which is
predicted by the approximated distribution. Experimental results demonstrate
that the proposed RAEE can significantly accelerate inference. RAEE also
achieves state-of-the-art zero-shot performance on 8 classification tasks.
|
[
-0.292986661195755,
-0.500997006893158,
0.4040752053260803,
0.02325035072863102,
-0.047756489366292953,
-0.1647605299949646,
-0.20399317145347595,
-0.4145042896270752,
-0.018862076103687286,
0.33534476161003113,
-0.5481814742088318,
-0.2894951105117798,
-0.5936440229415894,
-0.35674190521240234,
-0.6526724100112915,
0.5935462117195129,
0.23873041570186615,
-0.22302977740764618,
0.22294242680072784,
0.06393449008464813,
-0.0974155142903328,
-0.19236892461776733,
-0.9023891091346741,
-0.31567350029945374,
0.6375677585601807,
0.3091161549091339,
0.47895416617393494,
0.8431575894355774,
0.2679506242275238,
0.18289417028427124,
-0.027365177869796753,
-0.22286942601203918,
-0.7445464730262756,
0.048440974205732346,
-0.25566792488098145,
-0.5257598757743835,
-0.10612858831882477,
-0.13803856074810028,
0.4365929961204529,
0.8134720921516418,
-0.39603033661842346,
0.09789957851171494,
-0.013612637296319008,
0.6670928001403809,
-1.0589184761047363,
0.1028209701180458,
-0.5194016695022583,
0.052619818598032,
-0.18395690619945526,
0.06375651061534882,
-1.0677845478057861,
-0.1840168684720993,
0.09646730124950409,
-0.6329103112220764,
0.1455661505460739,
0.11717965453863144,
0.9269914031028748,
0.05334436893463135,
-0.22399058938026428,
0.14600251615047455,
-0.6443341970443726,
1.029293179512024,
-0.553967297077179,
0.7516999244689941,
0.08717240393161774,
0.5785765647888184,
-0.10317226499319077,
-0.6843833923339844,
-0.5875545740127563,
-0.06990234553813934,
0.21319347620010376,
-0.013035396113991737,
-0.18703283369541168,
0.16264861822128296,
0.022496739402413368,
0.2786111533641815,
-0.3110544979572296,
0.28591442108154297,
-0.0778253898024559,
0.20244358479976654,
0.42925041913986206,
-0.46015965938568115,
0.2022036463022232,
-0.3124051094055176,
-0.4016839861869812,
-0.31426337361335754,
-0.5874474048614502,
-0.3027471899986267,
0.09628802537918091,
0.3062450885772705,
-0.010657267645001411,
0.5609758496284485,
-0.3953983187675476,
0.5255936980247498,
-0.07259149849414825,
0.27168533205986023,
0.2636946439743042,
0.2275843471288681,
-0.5026809573173523,
-0.10135828703641891,
0.6590211987495422,
0.2306460738182068,
0.3365996181964874,
-0.5115585327148438,
-0.41521868109703064,
0.05264005437493324,
-0.08160576969385147,
-0.8902417421340942,
-0.40174439549446106,
0.2460228055715561,
-0.3444930911064148,
-0.3082301616668701,
-0.042963337153196335,
-0.7939208745956421,
-0.19335173070430756,
-0.022813649848103523,
0.5397855043411255,
-0.6197636127471924,
-0.4753228724002838,
0.30655142664909363,
-0.11954408884048462,
0.30826836824417114,
0.2845099866390228,
-0.6653956770896912,
0.4108180105686188,
0.4904547929763794,
0.8020975589752197,
-0.07150612026453018,
0.16528430581092834,
-1.1622270345687866,
0.24166619777679443,
-0.3597351014614105,
0.7735536694526672,
-0.43156588077545166,
-0.14232860505580902,
-0.3272477686405182,
-0.06639568507671356,
-0.17153580486774445,
-0.4468506872653961,
0.5960056781768799,
-0.9782236218452454,
0.2273004949092865,
0.36372652649879456,
-0.6400756239891052,
-0.2962363660335541,
0.009318463504314423,
-0.7524794936180115,
0.982134997844696,
0.16284073889255524,
-0.7849341630935669,
0.3751481771469116,
-0.8297943472862244,
0.0670892521739006,
0.18098194897174835,
-0.05881606042385101,
-0.05919270217418671,
0.2004621922969818,
0.31506264209747314,
0.5134679675102234,
-0.5601860284805298,
0.15217676758766174,
-0.3822031617164612,
-0.4162853956222534,
-0.3997964560985565,
-0.11884745210409164,
0.9420896768569946,
0.36510446667671204,
-0.3375896215438843,
-0.33170831203460693,
-0.7675557732582092,
0.4700261354446411,
0.035055216401815414,
-0.034046173095703125,
-0.6574747562408447,
-0.08321263641119003,
-0.060501545667648315,
0.024869974702596664,
-0.0894785225391388,
-0.7540922164916992,
0.12110815942287445,
-0.6308884620666504,
-0.24356220662593842,
0.6587731838226318,
0.2066863477230072,
0.9090584516525269,
-0.17655594646930695,
0.7343047261238098,
0.11270632594823837,
0.02860591560602188,
-0.012081286869943142,
-0.41294392943382263,
-0.5212604403495789,
-0.5571562051773071,
0.5943175554275513,
0.8265480995178223,
-0.9150551557540894,
0.1575661450624466,
-0.38650262355804443,
-0.4204465448856354,
-0.4681347608566284,
0.170216366648674,
0.5619123578071594,
0.2300732433795929,
0.37559038400650024,
-0.16224971413612366,
-0.6995372772216797,
-0.6355993747711182,
-0.27596187591552734,
-0.30543118715286255,
-0.14608830213546753,
0.11289411783218384,
0.4057787358760834,
-0.1758202463388443,
0.9949902892112732,
-0.5714776515960693,
-0.06268998980522156,
-0.3681749105453491,
0.16410066187381744,
0.48733118176460266,
0.604901909828186,
0.387451171875,
-0.5626605749130249,
-0.2697961926460266,
0.19044499099254608,
-0.8965198397636414,
-0.15752190351486206,
-0.17115631699562073,
-0.5912908315658569,
-0.2595052719116211,
0.35644111037254333,
-0.47132882475852966,
0.38167810440063477,
0.39305540919303894,
0.0709269642829895,
0.430509477853775,
0.1222110316157341,
0.035123471170663834,
-0.9612674713134766,
-0.13779231905937195,
0.09349532425403595,
0.09464863687753677,
-0.5597403645515442,
0.13440579175949097,
0.13446445763111115,
-0.1252116560935974,
-0.4955238699913025,
1.0396554470062256,
-0.6645947098731995,
0.08317822962999344,
0.032763514667749405,
0.3047263026237488,
0.15646447241306305,
0.15806861221790314,
0.24167375266551971,
0.7242085933685303,
0.5156927108764648,
-0.6977822184562683,
-0.06663590669631958,
0.25129130482673645,
-0.5556296706199646,
0.10373492538928986,
-0.4516429305076599,
0.003458726219832897,
-0.6246553659439087,
-0.09495261311531067,
-0.6692020297050476,
-0.20887984335422516,
0.04717219993472099,
-0.3858570456504822,
0.36823150515556335,
-0.5801419615745544,
-0.21455621719360352,
-0.24918779730796814,
-0.24903206527233124,
0.33943623304367065,
0.5014967322349548,
-0.6721150279045105,
0.6572108268737793,
0.052649252116680145,
0.03388933464884758,
-0.9901823997497559,
-0.932468831539154,
0.004806783515959978,
-0.1099899411201477,
-0.695511519908905,
0.10630051791667938,
0.15555794537067413,
-0.36728623509407043,
0.13634665310382843,
0.25623100996017456,
-0.3614749610424042,
0.030539555475115776,
-0.14783689379692078,
0.084612637758255,
-0.5102531313896179,
0.10768665373325348,
0.18468505144119263,
-0.16244663298130035,
0.030425729230046272,
-0.27531805634498596,
0.24665479362010956,
0.20316869020462036,
-0.3939281105995178,
-0.47125375270843506,
0.4199727475643158,
0.11680556833744049,
-0.26565253734588623,
1.1374036073684692,
0.2568807601928711,
-0.5617101788520813,
-0.5635248422622681,
-0.6580102443695068,
-0.3907262682914734,
-0.420927494764328,
0.4174363911151886,
-0.5521096587181091,
-0.21507255733013153,
0.42318159341812134,
-0.1200210377573967,
0.2344430685043335,
0.24354024231433868,
-0.032907884567976,
0.03630834445357323,
0.7651812434196472,
0.736946702003479,
0.30538490414619446,
0.6760373115539551,
-0.7469844818115234,
0.3888293206691742,
-0.7705110311508179,
-0.3060150742530823,
-0.4300946891307831,
0.012038449756801128,
0.01198344212025404,
-0.5828599333763123,
0.18713220953941345,
0.6115232110023499,
-0.14715145528316498,
0.22213104367256165,
-0.1708878129720688,
0.7833598852157593,
0.2789391875267029,
0.10430274158716202,
0.2751733362674713,
0.06807483732700348,
-0.21091221272945404,
-0.07279356569051743,
-0.8576900959014893,
-0.3523558974266052,
1.0061405897140503,
0.10646987706422806,
0.963137686252594,
0.43993207812309265,
1.1304411888122559,
0.21340209245681763,
0.7479956150054932,
-0.8388684988021851,
0.6055201888084412,
-0.15459370613098145,
-0.6327604651451111,
-0.0978139340877533,
-0.7231666445732117,
-0.6746172904968262,
0.2940237820148468,
-0.1717408299446106,
-0.8111974596977234,
0.6447129249572754,
0.0625503733754158,
-0.2881430983543396,
0.48046836256980896,
-1.0250452756881714,
0.9529591202735901,
-0.024389047175645828,
-0.5623399019241333,
0.006505216937512159,
-0.5504363775253296,
0.9166697859764099,
-0.05380307510495186,
0.2704908847808838,
-0.08286511898040771,
0.044666219502687454,
0.7425993084907532,
-0.3565860092639923,
0.6172382235527039,
-0.6705402135848999,
0.20815469324588776,
0.3372163474559784,
0.37380746006965637,
0.416154146194458,
-0.09500779956579208,
-0.6694154739379883,
-0.24992945790290833,
-0.08500373363494873,
-0.4235154688358307,
-0.8494846224784851,
0.47794660925865173,
-0.5695828199386597,
-0.09302458167076111,
-0.46087121963500977,
-0.23379598557949066,
-0.2796494662761688,
0.24203060567378998,
0.12713785469532013,
0.6354435086250305,
-0.15349657833576202,
0.29402127861976624,
0.7965605854988098,
-0.2682779133319855,
0.3897175192832947,
0.2670058608055115,
-0.4930165410041809,
-0.26666271686553955,
0.6602172255516052,
0.007593644317239523,
0.3859880268573761,
0.5977692604064941,
0.2473369687795639,
-0.7873561382293701,
-0.6185360550880432,
-0.7640431523323059,
0.4139639139175415,
-0.815871000289917,
-0.3658696115016937,
-0.7129656672477722,
-0.27905380725860596,
-0.29902833700180054,
-0.2440398931503296,
-0.32270368933677673,
-0.4751679003238678,
-0.2307809442281723,
-0.1693875640630722,
0.3307214379310608,
0.5811310410499573,
-0.22762198746204376,
0.6727204918861389,
-0.8615198135375977,
0.21216873824596405,
-0.13466329872608185,
0.35847240686416626,
0.28112077713012695,
-0.6752145886421204,
-0.24878954887390137,
-0.06760254502296448,
0.010970517992973328,
-0.8765753507614136,
0.2774503231048584,
0.7099952697753906,
0.6651302576065063,
0.7318503856658936,
0.34898141026496887,
0.7167050838470459,
-0.23563694953918457,
0.4224783480167389,
0.3756347894668579,
-0.5885929465293884,
0.413525253534317,
-0.19255825877189636,
0.018101384863257408,
0.5690492987632751,
0.4021860659122467,
-0.3620101511478424,
-0.03828115016222,
-0.4683639109134674,
-0.8828453421592712,
0.527203381061554,
0.01274180505424738,
-0.1501064896583557,
-0.5285342931747437,
0.5944311618804932,
-0.0754794105887413,
0.08093687146902084,
-0.6700795292854309,
-0.048935238271951675,
0.08716632425785065,
-0.24858900904655457,
0.12125664204359055,
-0.19464893639087677,
0.32083451747894287,
-0.13342785835266113,
0.8569138646125793,
-0.1313532292842865,
0.23001864552497864,
-0.17989304661750793,
-0.4382823407649994,
0.08758983016014099,
0.3282517194747925,
-0.29684099555015564,
0.32493510842323303,
-0.3957086205482483,
-0.18294759094715118,
0.012179299257695675,
-0.0923827737569809,
0.46472084522247314,
0.0835278108716011,
-0.3659636378288269,
-0.034428052604198456,
0.12640202045440674,
0.5786880850791931,
0.5410804152488708,
-0.7466565370559692,
0.7383676767349243,
-0.06047821789979935,
-0.11593052744865417,
-0.36131805181503296,
0.07605798542499542,
-0.06994229555130005,
0.04684324562549591,
0.5134952664375305,
-0.15361982583999634,
0.23283694684505463,
-0.3337024450302124,
0.7004253268241882,
0.42177799344062805,
-0.11780305206775665,
-0.018793899565935135,
1.0192559957504272,
0.05078410729765892,
0.16183649003505707,
0.6600930094718933,
-0.39885514974594116,
0.02030934765934944,
0.2190268486738205,
0.42328694462776184,
0.961595892906189,
-0.3982851505279541,
0.3481588065624237,
0.44535237550735474,
0.21321362257003784,
-0.2913634181022644,
0.4958253800868988,
0.0063149104826152325,
-0.8311297297477722,
-1.0658317804336548,
-1.0060433149337769,
-0.2092561572790146,
-0.2327442467212677,
-0.9650496244430542,
0.3058905005455017,
-0.4373526871204376,
-0.015269500203430653,
-0.3765144944190979,
0.011351003311574459,
-0.5925174951553345,
0.41126322746276855,
-0.027344387024641037,
1.4279239177703857,
-0.8063757419586182,
0.6965242624282837,
0.40949615836143494,
-0.24392008781433105,
-0.6319484114646912,
-0.3777523338794708,
0.029529741033911705,
-0.5356627702713013,
0.8631561994552612,
0.1873057633638382,
-0.6106705069541931,
0.29590967297554016,
-0.2821049988269806,
-0.7006415128707886,
0.8345879316329956,
0.5529353618621826,
-0.455637127161026,
-0.4124409556388855,
-0.40306687355041504,
0.16659173369407654,
-0.48892319202423096,
0.6526637673377991,
0.42760777473449707,
0.2612064480781555,
0.2745359539985657,
-0.48652517795562744,
-0.2790689468383789,
-0.2786123752593994,
0.13876749575138092,
0.327548623085022,
-0.1859026700258255,
0.6832091212272644,
-0.5442808866500854,
-0.5128961205482483,
0.27101629972457886,
0.9461367726325989,
-0.11632263660430908,
0.12849880754947662,
0.7778523564338684,
0.7862759828567505,
0.7328680157661438,
0.05677955225110054,
1.0531573295593262,
-0.24279603362083435,
0.23040713369846344,
1.2288827896118164,
-0.30554893612861633,
1.3031096458435059,
0.18782582879066467,
0.23413196206092834,
0.7367052435874939,
0.40809690952301025,
0.5683349370956421,
0.7193557024002075,
0.07642140239477158,
-0.7847051620483398,
-0.21127285063266754,
0.006114696152508259,
-0.2788854241371155,
0.4517562687397003,
0.3518446385860443,
-0.2711590528488159,
-0.5728405117988586,
0.11281213909387589,
-0.18124650418758392,
0.01774667575955391,
-0.11527866125106812,
0.6978020071983337,
0.07913358509540558,
-0.32611551880836487,
0.6438056230545044,
0.062318067997694016,
0.3983244299888611,
-0.6741986274719238,
0.027853304520249367,
-0.19692711532115936,
0.3709685206413269,
-0.26567399501800537,
-0.3706066906452179,
0.25695815682411194,
-0.10233642905950546,
-0.04141774773597717,
-0.17594756186008453,
0.4349965751171112,
-0.3278299570083618,
-0.3851967751979828,
0.5856624245643616,
0.9841302633285522,
0.36184221506118774,
-0.06747369468212128,
-0.6174359917640686,
0.013605691492557526,
-0.10415437072515488,
-0.6614513397216797,
0.3379731774330139,
0.6475427150726318,
-0.0559011846780777,
0.8530412912368774,
0.7634103298187256,
0.18939267098903656,
0.5109940767288208,
0.13821250200271606,
0.7849766612052917,
-0.6941365599632263,
-0.49031808972358704,
-0.4197363257408142,
0.49787554144859314,
-0.16116154193878174,
0.05469473451375961,
0.4890711009502411,
0.5991237759590149,
0.5703006982803345,
-0.009624127298593521,
0.7058053016662598,
-0.26344507932662964,
0.9089721441268921,
-0.6318845748901367,
0.5674857497215271,
-0.6384873390197754,
0.3075271248817444,
-0.11297165602445602,
-1.0720921754837036,
-0.4198119640350342,
0.9105942249298096,
-0.31172487139701843,
0.2964004874229431,
0.7865176796913147,
0.9544610977172852,
-0.5107111930847168,
0.04937121644616127,
0.31398603320121765,
0.37577491998672485,
0.38901570439338684,
0.5265249013900757,
0.3437386751174927,
-0.4529440701007843,
0.370800644159317,
-0.4564489424228668,
-0.5114806294441223,
-0.06420018523931503,
-1.0483626127243042,
-0.5162193775177002,
-0.1992337554693222,
-0.2302018702030182,
-0.38874393701553345,
0.22968530654907227,
0.9853528738021851,
0.9674071669578552,
-0.7613030672073364,
-0.13859540224075317,
0.07538699358701706,
-0.18192438781261444,
-0.27337735891342163,
-0.28483739495277405,
0.21130794286727905,
-0.3411578834056854,
-0.6883428692817688,
0.7061222791671753,
0.06369054317474365,
-0.07192353904247284,
-0.18865633010864258,
0.0006443013553507626,
-0.4850412905216217,
-0.006193089764565229,
0.6436343193054199,
0.4692479074001312,
-0.38302287459373474,
-0.3213983476161957,
-0.08325876295566559,
0.22488181293010712,
-0.020611243322491646,
0.5930408835411072,
-1.007697582244873,
0.4554220139980316,
0.2651500701904297,
1.1284891366958618,
0.6745544075965881,
0.09768456965684891,
0.68858802318573,
-0.7885804772377014,
0.4062950611114502,
0.35042473673820496,
0.2820192277431488,
0.21314089000225067,
-0.1595495194196701,
0.6430890560150146,
0.08028879016637802,
-0.27771955728530884,
-1.0285660028457642,
0.27674540877342224,
-0.8009403944015503,
0.19414226710796356,
0.8752702474594116,
-0.2184293121099472,
-0.7778934240341187,
-0.26087138056755066,
0.16245795786380768,
-0.009782613255083561,
-0.3983752727508545,
0.351175993680954,
0.5088632106781006,
-0.0896877646446228,
-0.7332169413566589,
-0.899306058883667,
0.22273841500282288,
0.4842585325241089,
-0.7299351692199707,
0.20912322402000427,
0.5239171981811523,
0.16415537893772125,
-0.12538278102874756,
0.8520141243934631,
0.011768743395805359,
0.2563314735889435,
0.1102510541677475,
0.28332534432411194,
0.14313340187072754,
-0.5199277997016907,
-0.0995962992310524,
0.3303878903388977,
0.1877443492412567,
-0.2284860461950302
] |
http://arxiv.org/abs/2405.15189v1
|
http://arxiv.org/pdf/2405.15189v1
|
SOAP: Enhancing Efficiency of Generated Code via Self-Optimization
| 2024-05-24T03:48:15 | 2024-05-24T03:48:15 |
Dong Huang, Jianbo Dai, Han Weng, Puzhen Wu, Yuhao Qing, Jie M. Zhang, Heming Cui, Zhijiang Guo
|
cs.SE
|
cs.SE, cs.CL
|
Large language models (LLMs) have shown remarkable progress in code
generation, but their generated code often suffers from inefficiency, resulting
in longer execution times and higher memory consumption. To address this issue,
we propose Self Optimization based on OverheAd Profile (SOAP), a
self-optimization framework that utilizes execution overhead profiles to
improve the efficiency of LLM-generated code. SOAP first generates code using
an LLM, then executes it locally to capture execution time and memory usage
profiles. These profiles are fed back to the LLM, which then revises the code
to reduce overhead. To evaluate the effectiveness of SOAP, we conduct extensive
experiments on the EffiBench, HumanEval, and MBPP with 16 open-source and 6
closed-source models. Our evaluation results demonstrate that through iterative
self-optimization, SOAP significantly enhances the efficiency of LLM-generated
code. For example, the execution time (ET) of StarCoder2-15B for the EffiBench
decreases from 0.93 (s) to 0.12 (s) which reduces 87.1% execution time
requirement compared with the initial code. The total memory usage (TMU) of
StarCoder2-15B also decreases from 22.02 (Mb*s) to 2.03 (Mb*s), which decreases
90.8% total memory consumption during the execution process. The source code of
SOAP was released in https://github.com/huangd1999/SOAP.
|
[
-0.19872713088989258,
-0.3901978135108948,
0.46548590064048767,
0.4727572500705719,
-0.177709698677063,
-0.024495800957083702,
-0.19239507615566254,
-0.3320000171661377,
-0.06464478373527527,
0.9480460286140442,
-0.461911141872406,
-0.4977734386920929,
-0.2641501724720001,
0.05310926213860512,
0.02036718837916851,
0.981899082660675,
0.06049948185682297,
0.03086201101541519,
-0.12052161991596222,
-0.015517686493694782,
-0.14722473919391632,
-0.3151950538158417,
-0.8548405170440674,
0.20357157289981842,
0.18201324343681335,
0.44479596614837646,
0.3580678105354309,
1.288619875907898,
0.6699500679969788,
0.3575262725353241,
0.2812291085720062,
0.37291690707206726,
-0.840631902217865,
0.35157808661460876,
-0.04687358811497688,
-0.03951714187860489,
-0.41970476508140564,
-0.3141646385192871,
0.5255692601203918,
0.3570621907711029,
-0.09073969721794128,
0.79161536693573,
0.2568364143371582,
0.8550034165382385,
-0.9928085207939148,
0.011762136593461037,
-0.14343123137950897,
-0.21368719637393951,
-0.0949472114443779,
-0.5162481665611267,
-0.10144612193107605,
-0.30262187123298645,
-0.41984349489212036,
-0.196379154920578,
0.04772181436419487,
0.18040941655635834,
0.3268197476863861,
0.6466423273086548,
-0.1346147358417511,
-0.6448680758476257,
-0.9199405908584595,
0.8906510472297668,
-1.0310389995574951,
0.32706016302108765,
-0.00921704713255167,
0.1740695834159851,
-0.08165806531906128,
-0.8186324238777161,
-0.1435016691684723,
-0.35686689615249634,
-0.002462613396346569,
0.10900866985321045,
-0.3285008370876312,
0.04478421434760094,
0.3610900342464447,
0.45282360911369324,
-0.5534637570381165,
0.16964296996593475,
-0.38490140438079834,
-0.2607754170894623,
0.5760272145271301,
0.4996291697025299,
0.2885957956314087,
-0.08697400242090225,
-0.3385206162929535,
0.18363825976848602,
-0.6314703226089478,
0.14773453772068024,
0.40977954864501953,
0.20472939312458038,
-0.03723593428730965,
0.44344791769981384,
-0.07937547564506531,
0.5220264196395874,
-0.004472441505640745,
-0.5198809504508972,
0.058826103806495667,
-0.3639204204082489,
-0.210920050740242,
0.0019357624696567655,
0.573716402053833,
0.5179665684700012,
-0.0834549143910408,
0.13079996407032013,
-0.6088880896568298,
-0.10521849244832993,
0.4356346130371094,
-1.445915699005127,
-0.1513558030128479,
0.47092410922050476,
-0.7408025860786438,
-0.32876044511795044,
-0.25101715326309204,
-0.46787774562835693,
-0.04174128547310829,
-0.05079985037446022,
0.022563131526112556,
-0.3326590955257416,
-0.15300272405147552,
-0.10635795444250107,
-0.09827279299497604,
-0.09540753811597824,
0.07372445613145828,
-0.8123046159744263,
0.3465822637081146,
0.679222822189331,
0.8656783699989319,
-0.1810394525527954,
0.03971882909536362,
-0.7108467221260071,
0.5541977882385254,
-0.43104231357574463,
0.4405817985534668,
-0.36344996094703674,
-0.6427485942840576,
-0.30183354020118713,
-0.45221012830734253,
0.27998995780944824,
-0.748469889163971,
0.2264854460954666,
-0.29685601592063904,
-0.14051268994808197,
-0.025750769302248955,
-0.9061596989631653,
0.3813849687576294,
-0.4034176170825958,
-0.6503005027770996,
1.291853666305542,
0.29839029908180237,
-0.48465868830680847,
0.00493696378543973,
-0.8292431831359863,
-0.4321458041667938,
0.3514383137226105,
-0.30842721462249756,
-0.6553054451942444,
0.4296283423900604,
0.08761623501777649,
0.41971009969711304,
-0.3890782296657562,
0.017202891409397125,
-0.22570838034152985,
-0.6818922162055969,
-0.08626671880483627,
-0.10109388083219528,
0.8015106320381165,
0.8656553626060486,
-0.6125210523605347,
0.09501390904188156,
-0.7844579815864563,
0.380618155002594,
0.05627297982573509,
-0.42880722880363464,
-0.2580210566520691,
-0.17634239792823792,
-0.04501963034272194,
-0.03278827667236328,
0.5738078355789185,
-0.44171828031539917,
0.112391896545887,
-0.34717321395874023,
0.24938346445560455,
0.8579870462417603,
0.20162349939346313,
0.3537084758281708,
-0.1433556079864502,
0.5097053050994873,
-0.3832989037036896,
0.4940372705459595,
-0.1840106099843979,
-0.1060195192694664,
-0.7328993082046509,
-0.5386453866958618,
-0.22156937420368195,
0.2970161736011505,
-0.30221062898635864,
0.39217260479927063,
0.04805921018123627,
-0.5433141589164734,
-0.48972904682159424,
0.8213342428207397,
0.7985067963600159,
0.42923757433891296,
0.12415996193885803,
-0.1986975222826004,
-0.5532813668251038,
-1.0466939210891724,
-0.3740699589252472,
-0.09868417680263519,
0.12186741083860397,
0.6264259815216064,
0.2597922086715698,
-0.3663993775844574,
0.7194905281066895,
-0.6841009259223938,
-0.09439703822135925,
-0.2734962999820709,
-0.0951041728258133,
0.37160348892211914,
0.7710544466972351,
0.6660212278366089,
-0.4082149267196655,
-0.6463971734046936,
-0.19733768701553345,
-0.5288602709770203,
-0.6246493458747864,
-0.304018497467041,
-0.23928025364875793,
0.5257394313812256,
0.5659879446029663,
-0.14062127470970154,
0.22007156908512115,
0.5562183856964111,
-0.16630594432353973,
0.8121764063835144,
-0.5292304158210754,
0.0642576813697815,
-0.8289657831192017,
0.260435551404953,
-0.1577998846769333,
-0.2767459452152252,
-0.3963943421840668,
0.3163030743598938,
0.3568711280822754,
-0.33996614813804626,
-0.17377907037734985,
0.5421735644340515,
-0.735973596572876,
-0.2770838141441345,
-0.49964073300361633,
-0.19752036035060883,
-0.008987043052911758,
0.505559504032135,
-0.373666912317276,
1.473371148109436,
0.3653900921344757,
-0.8561217188835144,
0.004616369027644396,
-0.46634146571159363,
-0.3944838345050812,
0.0024334255140274763,
-0.5088953375816345,
0.2925294041633606,
0.12138532102108002,
-0.11522595584392548,
-0.8067041039466858,
0.16810178756713867,
0.14748859405517578,
-0.021280793473124504,
0.29234686493873596,
0.05625482276082039,
-0.46527448296546936,
-0.46895450353622437,
-0.30246809124946594,
0.18058963119983673,
0.8062897324562073,
-0.6660904288291931,
0.5237951278686523,
0.23166649043560028,
0.03290554881095886,
-0.6557190418243408,
-0.39018744230270386,
-0.08066164702177048,
-0.13153985142707825,
-0.22205260396003723,
0.3095138967037201,
-0.34825757145881653,
-0.25952622294425964,
-0.004485233686864376,
-0.5734103918075562,
0.1927146464586258,
0.13653983175754547,
0.15921826660633087,
0.0959879606962204,
-0.2635655701160431,
0.061826303601264954,
0.11853917688131332,
-0.1882338672876358,
0.14988768100738525,
-0.5799891352653503,
0.5671207308769226,
-0.2471834272146225,
-0.2904259264469147,
-0.6503321528434753,
0.3229776918888092,
0.26885172724723816,
-0.13356763124465942,
0.49158844351768494,
0.6303408741950989,
0.1366240680217743,
-0.5169084072113037,
-0.863447904586792,
-0.06981944292783737,
-0.5996134281158447,
0.41512107849121094,
-0.5615962743759155,
-0.9633817672729492,
0.4462168216705322,
-0.47755053639411926,
0.23831172287464142,
0.3483790457248688,
0.730577290058136,
-0.1598711609840393,
0.9365708827972412,
0.8503416180610657,
-0.09273765236139297,
0.5232889652252197,
-0.29934754967689514,
0.14738048613071442,
-0.8413381576538086,
0.19522778689861298,
-0.4105447232723236,
0.12227356433868408,
-0.6770752668380737,
-0.5524756908416748,
0.370750367641449,
0.43721890449523926,
-0.57778400182724,
0.3744986951351166,
-0.6755781173706055,
0.6041357517242432,
0.5893221497535706,
-0.0957115963101387,
0.14193902909755707,
-0.05695169419050217,
-0.0690552294254303,
0.06278198957443237,
-0.7375061511993408,
-0.5542351603507996,
1.1215051412582397,
0.3516489565372467,
0.9798168540000916,
0.3477756083011627,
1.1844236850738525,
0.46785762906074524,
0.39089542627334595,
-0.14141447842121124,
0.5264400243759155,
-0.20460331439971924,
-0.46094605326652527,
-0.22480891644954681,
-0.8349816203117371,
-0.5979809165000916,
0.009134916588664055,
0.3178127408027649,
-0.6882240176200867,
-0.1482340544462204,
0.4616287350654602,
-0.40197667479515076,
0.16966959834098816,
-0.6942554712295532,
0.8210034370422363,
-0.6534542441368103,
-0.6900176405906677,
-0.40714725852012634,
-0.2520328164100647,
0.17884960770606995,
-0.18946465849876404,
0.14339078962802887,
-0.1540955752134323,
-0.3511156439781189,
0.49965786933898926,
-0.8249809145927429,
0.8054851293563843,
-0.3110724687576294,
-0.38672390580177307,
0.38576382398605347,
0.2525496482849121,
0.6064037680625916,
-0.015420698560774326,
-0.2703338861465454,
0.21451565623283386,
-0.09005314856767654,
-0.513977587223053,
-0.9535360932350159,
0.8359881639480591,
-0.601368248462677,
-0.8253564238548279,
0.0521668940782547,
-0.46695542335510254,
0.16866852343082428,
0.3960627019405365,
0.17107398808002472,
0.6602312922477722,
0.034086309373378754,
-0.02964841201901436,
0.26287245750427246,
-0.40749886631965637,
0.5692328214645386,
0.6307794451713562,
-0.41043463349342346,
-0.4955495297908783,
0.9448371529579163,
-0.1377343088388443,
0.5615714192390442,
0.03651322051882744,
0.3909629285335541,
-0.2785811722278595,
-0.6166215538978577,
-0.7069839835166931,
0.2621512711048126,
-0.8391607403755188,
-0.35367023944854736,
-0.5361472964286804,
-0.0835123062133789,
-0.6855254173278809,
-0.2360931783914566,
-0.7319396138191223,
-0.2737092077732086,
-0.12378671020269394,
0.39747917652130127,
0.13535979390144348,
0.7033805847167969,
-0.20686179399490356,
0.4208211600780487,
-0.6307641863822937,
0.044420745223760605,
-0.2139730304479599,
0.5000894069671631,
0.03076721727848053,
-0.3569934666156769,
-0.7495648860931396,
-0.30260804295539856,
-0.226057231426239,
-0.4571620225906372,
0.44822266697883606,
0.18461553752422333,
0.6678202152252197,
0.7676308751106262,
0.2054302990436554,
0.9479665160179138,
-0.4418482482433319,
0.46720078587532043,
0.17072728276252747,
-1.0698062181472778,
0.4645092785358429,
-0.10721363872289658,
0.44616901874542236,
0.3953883945941925,
0.18581844866275787,
-0.11716420948505402,
-0.7768475413322449,
-0.3156692087650299,
-0.7535462975502014,
0.3961537480354309,
0.4397507309913635,
0.26180046796798706,
-0.030476901680231094,
0.7045730948448181,
0.03210654854774475,
0.23313184082508087,
-0.46918630599975586,
-0.6602764129638672,
-0.055782295763492584,
-0.06697618216276169,
0.0034567476250231266,
-0.5710596442222595,
0.029955687001347542,
-0.12162785232067108,
0.6669991612434387,
-0.24884212017059326,
0.3435504138469696,
0.17500002682209015,
-0.04131565988063812,
-0.21114245057106018,
-0.05404580384492874,
0.5209465622901917,
0.8044794797897339,
-0.3971213698387146,
0.15098817646503448,
0.17688314616680145,
-0.4177994728088379,
-0.07290465384721756,
-0.31717634201049805,
0.04813358932733536,
-0.39401084184646606,
0.44468948245048523,
0.54380863904953,
0.19091327488422394,
-0.8088806867599487,
0.2671516239643097,
0.0634041577577591,
0.2749733030796051,
-0.517991840839386,
0.5140154361724854,
0.16711276769638062,
0.45373430848121643,
0.31391000747680664,
-0.20103293657302856,
0.589178740978241,
-0.1875390261411667,
0.2580926716327667,
0.4772280156612396,
0.24088537693023682,
0.43514716625213623,
0.6471779942512512,
0.2717273533344269,
-0.3110029399394989,
0.5752514004707336,
-0.34441179037094116,
-0.32849082350730896,
0.75200355052948,
1.1818585395812988,
0.8205490112304688,
-0.30598124861717224,
-0.20919956266880035,
0.40373125672340393,
0.21105864644050598,
0.34508559107780457,
0.23374103009700775,
-0.2631039023399353,
-0.5109848380088806,
-0.4564041793346405,
-0.8653243184089661,
-0.2852853536605835,
0.020155809819698334,
-0.5747206211090088,
0.16438442468643188,
-0.8080580234527588,
-0.13346798717975616,
-0.1973460614681244,
0.27940481901168823,
-0.5570564270019531,
0.0018917532870545983,
0.08982161432504654,
0.8682408928871155,
-0.22702817618846893,
0.7891315817832947,
0.41474172472953796,
-0.32861846685409546,
-0.8321822285652161,
-0.018505139276385307,
0.0030409928876906633,
-0.8318650722503662,
0.838839590549469,
0.47336673736572266,
-0.7661353349685669,
0.3622509837150574,
-0.28455278277397156,
-1.1133774518966675,
1.0956284999847412,
0.43019112944602966,
-0.8105694651603699,
0.30163830518722534,
0.07547099888324738,
0.5131607055664062,
-0.797743558883667,
0.3492754399776459,
0.4909529685974121,
0.20456832647323608,
-0.08527517318725586,
-0.6874825358390808,
0.27362060546875,
-0.4440704584121704,
0.5136200189590454,
0.16265705227851868,
-0.6353145837783813,
0.7509525418281555,
-0.5263151526451111,
-0.3536663353443146,
0.119987852871418,
0.7079814076423645,
0.2970406115055084,
0.07897339761257172,
0.3984287977218628,
0.33833014965057373,
0.6185362935066223,
0.607626736164093,
1.2831532955169678,
-1.0990493297576904,
0.5227174758911133,
0.9480220675468445,
-0.32122868299484253,
0.4741442799568176,
0.3138221204280853,
-0.09652219712734222,
0.5852556228637695,
0.45732325315475464,
-0.1874910145998001,
0.39754417538642883,
0.3350147008895874,
-0.28898629546165466,
-0.25630778074264526,
0.08609490841627121,
-0.24362945556640625,
0.3899153172969818,
0.013820978812873363,
-0.4658917486667633,
-0.3349316418170929,
-0.10172019153833389,
0.3097807765007019,
-0.08202067762613297,
-0.3102814853191376,
0.6821851134300232,
0.08197671920061111,
-0.4717506468296051,
0.8261704444885254,
0.2078477144241333,
0.5479838848114014,
-0.5761844515800476,
0.017726337537169456,
-0.3149612843990326,
0.47561946511268616,
-0.060634419322013855,
-0.2703680396080017,
0.37093430757522583,
0.08401726186275482,
-0.016273027285933495,
-0.39255234599113464,
0.9129239916801453,
-0.09704933315515518,
-0.5556601285934448,
0.5495544672012329,
0.6322842240333557,
0.513157069683075,
-0.003678037552163005,
-1.0154151916503906,
0.2234029918909073,
0.1771332174539566,
-0.47400397062301636,
0.293438196182251,
0.12388435006141663,
0.2544960677623749,
0.8979430794715881,
0.8003489971160889,
0.21247892081737518,
-0.20688575506210327,
0.17808981239795685,
1.0464667081832886,
-0.702388346195221,
-0.7234333157539368,
-1.234285831451416,
0.02124200202524662,
-0.26407867670059204,
-0.2292274683713913,
0.989759624004364,
1.1671949625015259,
0.7791203856468201,
-0.14097614586353302,
0.6334270238876343,
0.06174106523394585,
0.3789821267127991,
-0.5680431723594666,
0.7757143974304199,
-0.7390763759613037,
0.5876718759536743,
-0.3575569689273834,
-0.9929478168487549,
0.0819571316242218,
0.5940580368041992,
-0.14704500138759613,
0.23595783114433289,
0.5612766146659851,
1.0893967151641846,
0.11929567903280258,
-0.19465160369873047,
0.34756726026535034,
-0.09799174219369888,
0.337426096200943,
0.460897296667099,
0.38289880752563477,
0.07847365736961365,
0.44703245162963867,
-0.7374706864356995,
-0.41484755277633667,
-0.27101871371269226,
-1.0104666948318481,
-0.8538915514945984,
-0.4039932191371918,
-0.22120071947574615,
-0.4693271815776825,
0.1453651785850525,
1.0827044248580933,
0.7838146090507507,
-0.6547861099243164,
-0.8296358585357666,
-0.13748455047607422,
-0.3427245318889618,
-0.3732914328575134,
-0.20627062022686005,
0.4526522159576416,
-0.9371517300605774,
-0.6978458762168884,
0.30849865078926086,
0.48115718364715576,
-0.1071348637342453,
-0.5220398902893066,
-0.2925986051559448,
0.36240389943122864,
0.1368713080883026,
0.49254944920539856,
0.10184080898761749,
-0.5299275517463684,
-0.08775149285793304,
-0.11742544919252396,
-0.47054964303970337,
-0.11135248839855194,
1.1350468397140503,
-0.36578312516212463,
0.20702297985553741,
-0.09160971641540527,
0.6925497055053711,
0.574547290802002,
0.19389253854751587,
0.5652893781661987,
-0.7002150416374207,
-0.15643370151519775,
0.09746167063713074,
0.21751455962657928,
-0.04265227168798447,
-0.9510044455528259,
0.5870082974433899,
0.059501782059669495,
-0.5799771547317505,
-0.8166279196739197,
0.3235267102718353,
-0.5417447090148926,
-0.6606726050376892,
1.050091028213501,
-0.23440225422382355,
-0.438542902469635,
0.06796866655349731,
-0.062598817050457,
0.24596232175827026,
-0.5454599857330322,
0.7821715474128723,
0.29837092757225037,
-0.7933276891708374,
-0.2481982558965683,
-0.6155444383621216,
0.7899631261825562,
0.5556955337524414,
-0.8609029650688171,
0.3112823963165283,
0.5840439200401306,
0.6195330619812012,
0.14099076390266418,
1.0542174577713013,
-0.021478254348039627,
0.22738628089427948,
0.09282353520393372,
0.501456081867218,
-0.4906219244003296,
-0.1638057678937912,
-0.07435633987188339,
-0.06532670557498932,
0.0425199493765831,
0.047567907720804214
] |
http://arxiv.org/abs/2405.15185v1
|
http://arxiv.org/pdf/2405.15185v1
|
An Evaluation of Estimative Uncertainty in Large Language Models
| 2024-05-24T03:39:31 | 2024-05-24T03:39:31 |
Zhisheng Tang, Ke Shen, Mayank Kejriwal
|
cs.CL
|
cs.CL, cs.AI, cs.HC
|
Words of estimative probability (WEPs), such as ''maybe'' or ''probably not''
are ubiquitous in natural language for communicating estimative uncertainty,
compared with direct statements involving numerical probability. Human
estimative uncertainty, and its calibration with numerical estimates, has long
been an area of study -- including by intelligence agencies like the CIA. This
study compares estimative uncertainty in commonly used large language models
(LLMs) like GPT-4 and ERNIE-4 to that of humans, and to each other. Here we
show that LLMs like GPT-3.5 and GPT-4 align with human estimates for some, but
not all, WEPs presented in English. Divergence is also observed when the LLM is
presented with gendered roles and Chinese contexts. Further study shows that an
advanced LLM like GPT-4 can consistently map between statistical and estimative
uncertainty, but a significant performance gap remains. The results contribute
to a growing body of research on human-LLM alignment.
|
[
-0.11567462235689163,
-0.5092175006866455,
0.7173305749893188,
0.054856643080711365,
0.12161131948232651,
0.10266245156526566,
-0.48734360933303833,
-0.8014984726905823,
-0.3394142985343933,
0.010267172940075397,
-0.5155351758003235,
-0.43645501136779785,
-0.6258832812309265,
0.22208386659622192,
-0.11899390816688538,
0.4786388576030731,
0.0020920280367136,
0.24070526659488678,
-0.09724798798561096,
0.21937774121761322,
-0.25824809074401855,
-0.34052008390426636,
-0.49840301275253296,
-0.3874650001525879,
0.5836451053619385,
0.00563915865495801,
1.194965124130249,
0.3638196289539337,
0.8691075444221497,
0.32390516996383667,
0.25434714555740356,
-0.18475189805030823,
-0.032447800040245056,
0.049625419080257416,
-0.20016397535800934,
-0.4896979033946991,
-0.3148103654384613,
0.16918958723545074,
0.6010448932647705,
0.8821109533309937,
-0.2833161950111389,
-0.06290151178836823,
-0.212372824549675,
0.601496160030365,
-0.6074765920639038,
0.1183788850903511,
-0.6326461434364319,
0.06376826763153076,
-0.2017585039138794,
0.21227888762950897,
-0.1028437465429306,
-0.4047612249851227,
0.7038654088973999,
-0.5285134315490723,
-0.050623878836631775,
0.2503862977027893,
1.0147126913070679,
0.4875955879688263,
-0.4145684838294983,
-0.2612829804420471,
-0.6968772411346436,
0.9293763041496277,
-1.0698130130767822,
0.6064860820770264,
0.5264503359794617,
0.22144775092601776,
-0.3497048020362854,
-0.32111653685569763,
-0.6466160416603088,
-0.36170142889022827,
0.2777268886566162,
-0.027486788108944893,
-0.1402709037065506,
0.22480736672878265,
0.17978058755397797,
0.15353924036026,
-0.601292610168457,
0.4971480071544647,
-0.2965940535068512,
-0.42539966106414795,
0.8720638751983643,
-0.04926638677716255,
0.3736427128314972,
0.10946871340274811,
-0.46189141273498535,
-0.05687464401125908,
-0.7602861523628235,
-0.1326695680618286,
0.7155544757843018,
0.34268805384635925,
-0.05287180468440056,
0.5358994603157043,
0.06610269844532013,
0.8354337215423584,
-0.17835795879364014,
-0.2799617648124695,
0.17363804578781128,
-0.10500072687864304,
-0.1352103352546692,
-0.002996766706928611,
0.9218814373016357,
0.43545687198638916,
0.32763317227363586,
-0.15505234897136688,
-0.27561888098716736,
0.14325648546218872,
0.03181227296590805,
-0.39256551861763,
-0.053095363080501556,
0.08612392097711563,
-0.049318596720695496,
0.1360815316438675,
0.25409719347953796,
-0.44224628806114197,
-0.2976546585559845,
-0.12216506153345108,
0.4735856354236603,
-0.3734781742095947,
-0.16099795699119568,
0.12233395129442215,
-0.17683768272399902,
0.5322988033294678,
0.20488232374191284,
-1.1171542406082153,
0.3464265763759613,
0.8805376291275024,
0.5405731797218323,
-0.2435295730829239,
-0.43040287494659424,
0.17266595363616943,
0.12232889980077744,
-0.7592767477035522,
0.5544421076774597,
-0.36299625039100647,
-0.08567366749048233,
0.12179415673017502,
-0.35372185707092285,
0.09127319604158401,
-0.24312688410282135,
0.8186472654342651,
-0.45038604736328125,
0.273184597492218,
-0.43058446049690247,
-0.6668959259986877,
-0.14038491249084473,
0.33665719628334045,
-0.5500661134719849,
0.779861569404602,
0.023570654913783073,
-0.739478349685669,
0.6035089492797852,
-0.23732870817184448,
-0.059986717998981476,
-0.1466861367225647,
-0.5380113124847412,
-0.3588982820510864,
-0.007383579853922129,
0.08508231490850449,
0.3180130124092102,
-0.7392643094062805,
0.26579904556274414,
-0.5104978084564209,
-0.42616140842437744,
0.7559307217597961,
-0.8795149922370911,
0.6690776944160461,
0.25423282384872437,
-0.18639400601387024,
-0.14896026253700256,
-0.29792922735214233,
0.1336197555065155,
-0.20799604058265686,
-0.20725399255752563,
-0.3646014928817749,
0.2801188826560974,
-0.36092644929885864,
0.21595925092697144,
0.5862253904342651,
-0.38260823488235474,
0.3621799647808075,
-0.36435720324516296,
0.474943608045578,
0.8238112926483154,
-0.2977564036846161,
0.49507954716682434,
-0.36500751972198486,
0.5048679113388062,
-0.29362785816192627,
-0.05821730196475983,
0.27284345030784607,
-0.7737512588500977,
-0.2652099132537842,
-0.24559888243675232,
0.47557350993156433,
0.715292751789093,
-0.26426512002944946,
0.4455021619796753,
-0.42273446917533875,
-0.4234194755554199,
-0.27064159512519836,
-0.058501891791820526,
0.23486272990703583,
0.2950291931629181,
-0.07832600176334381,
0.10578715801239014,
-0.5336161851882935,
-1.0623540878295898,
-0.3480064570903778,
-0.5435928702354431,
-0.44899171590805054,
-0.038297392427921295,
0.4089268743991852,
-0.2602296769618988,
0.8961084485054016,
-0.4762916564941406,
-0.023517336696386337,
0.10960827022790909,
0.33281275629997253,
0.1325281411409378,
0.33108365535736084,
0.4475240111351013,
-0.6635250449180603,
-0.45243895053863525,
-0.027185138314962387,
-0.38970091938972473,
-0.10880018770694733,
0.07465097308158875,
-0.25870537757873535,
0.431173712015152,
0.11713741719722748,
-0.7876992225646973,
0.36261820793151855,
0.7752431035041809,
-0.10643952339887619,
0.29114043712615967,
-0.3354335129261017,
0.22145356237888336,
-0.8333515524864197,
-0.28196078538894653,
0.19987158477306366,
-0.1102505549788475,
-0.48867252469062805,
-0.01764749176800251,
0.24331529438495636,
0.28758326172828674,
-0.23465439677238464,
0.3743845820426941,
-0.7567445039749146,
-0.5995013117790222,
0.238234743475914,
0.38567304611206055,
-0.251827597618103,
0.11206275224685669,
0.12829744815826416,
0.8510183095932007,
0.5371005535125732,
-0.3020957410335541,
0.18417422473430634,
0.05032341927289963,
-0.4149823784828186,
0.4716149568557739,
-0.4406853914260864,
0.1492965966463089,
0.028799887746572495,
0.24079705774784088,
-0.9618337750434875,
-0.4347129762172699,
-0.06853974610567093,
-0.3921130299568176,
0.58467036485672,
0.2605249583721161,
-0.33541080355644226,
-0.5253949165344238,
-0.5804857015609741,
0.22168731689453125,
0.49595990777015686,
-0.18607565760612488,
0.1557273268699646,
0.4361320436000824,
-0.1740778535604477,
-0.8653777241706848,
-0.8232038021087646,
0.22691424190998077,
-0.3471784293651581,
-0.8335314989089966,
0.3732176721096039,
-0.07164721190929413,
-0.5138350129127502,
-0.1854480654001236,
-0.10825733840465546,
-0.4115765690803528,
0.14004698395729065,
0.1257718801498413,
0.5297653675079346,
-0.2596513628959656,
0.2718821167945862,
-0.3223586976528168,
0.2034742385149002,
-0.030132994055747986,
-0.2310059368610382,
0.2570692002773285,
-0.05802008882164955,
-0.6427776217460632,
-0.27680572867393494,
0.20469123125076294,
0.23277020454406738,
0.18168118596076965,
0.4615611433982849,
0.4214736521244049,
-0.8167173266410828,
0.26196008920669556,
-0.6490500569343567,
-0.04806631803512573,
-0.4344789683818817,
0.464200884103775,
-0.2562423050403595,
-0.7285941243171692,
0.6210706233978271,
0.3095023036003113,
0.01812082715332508,
0.6577765941619873,
0.5832253098487854,
-0.19496402144432068,
1.350278377532959,
0.5235188603401184,
-0.3510954678058624,
0.3044176697731018,
0.14631639420986176,
0.2689845860004425,
-0.7297112941741943,
0.19764922559261322,
-0.854026734828949,
-0.3131069242954254,
-0.8259241580963135,
-0.41190800070762634,
0.029625028371810913,
-0.016368262469768524,
-0.592118501663208,
0.11768761277198792,
-0.23889292776584625,
0.23605917394161224,
0.41095170378685,
-0.3518867492675781,
0.1330571174621582,
-0.31542739272117615,
0.220146045088768,
-0.33746442198753357,
-0.47888246178627014,
-0.6997156739234924,
0.9571121335029602,
0.4600403904914856,
1.135363221168518,
0.5933800935745239,
0.5643085837364197,
0.22978715598583221,
0.38011786341667175,
-0.4960630238056183,
0.08710432052612305,
-0.10787322372198105,
-0.884880781173706,
-0.6321897506713867,
-0.4618006944656372,
-0.9097228050231934,
0.06288182735443115,
-0.21727491915225983,
-1.3081004619598389,
0.1303023099899292,
-0.012735078111290932,
-0.5412336587905884,
0.1265784054994583,
-0.7324931621551514,
0.6157086491584778,
-0.36549699306488037,
-0.03679480403661728,
0.30271095037460327,
-0.7038461565971375,
0.49911749362945557,
-0.24524076282978058,
0.26010969281196594,
-0.45367857813835144,
-0.4799204170703888,
0.5257021188735962,
-0.2386069893836975,
0.7299418449401855,
0.21189749240875244,
-0.5081561207771301,
0.36366117000579834,
-0.2580045759677887,
0.5687035918235779,
-0.026994137093424797,
-0.4215550124645233,
0.4803254306316376,
0.1627105474472046,
-0.28068894147872925,
-0.3229730725288391,
0.6611018776893616,
-1.0316410064697266,
-0.7369153499603271,
-0.6725303530693054,
-0.8380937576293945,
-0.19423522055149078,
0.009388270787894726,
0.5208667516708374,
-0.00885563064366579,
-0.29442471265792847,
-0.0973590537905693,
0.4165581166744232,
-0.33051732182502747,
0.47872889041900635,
0.27872464060783386,
-0.007263180334120989,
-0.11691141128540039,
0.49924802780151367,
0.24182827770709991,
0.5194992423057556,
0.5829586386680603,
0.228271484375,
-0.6274698376655579,
-0.4046856462955475,
-0.34178099036216736,
0.13567644357681274,
-0.441739946603775,
-0.23126491904258728,
-0.08179910480976105,
-0.1858224868774414,
-0.6690583229064941,
-0.26112252473831177,
-0.18671467900276184,
-0.38956549763679504,
-0.17992866039276123,
-0.17107263207435608,
0.23879247903823853,
0.6996090412139893,
-0.16045483946800232,
0.09469044208526611,
-0.6884298920631409,
0.03436193987727165,
0.33087992668151855,
0.25416985154151917,
-0.43496716022491455,
-0.629510223865509,
-0.030978770926594734,
0.38595160841941833,
-0.14187727868556976,
-1.1673213243484497,
0.39195534586906433,
0.46626171469688416,
0.6890812516212463,
0.5768482685089111,
0.0891827940940857,
0.6342456936836243,
-0.5600723624229431,
1.0164058208465576,
0.1600184589624405,
-0.9428959488868713,
-0.13107678294181824,
-0.5135441422462463,
0.21900032460689545,
0.477373331785202,
0.42252033948898315,
-0.5035489797592163,
-0.3768174946308136,
-0.4157733619213104,
-0.6787270903587341,
0.4606218934059143,
0.05450047552585602,
0.27022531628608704,
-0.14802464842796326,
0.35929831862449646,
-0.08590022474527359,
0.32289940118789673,
-0.5727550983428955,
-0.10589925199747086,
0.2951571047306061,
-0.47513285279273987,
-0.11497735977172852,
-0.25134897232055664,
-0.07251644879579544,
0.0965036153793335,
0.4965229034423828,
0.004080286715179682,
0.43037524819374084,
0.041988126933574677,
0.02631240524351597,
-0.34857434034347534,
0.39608606696128845,
1.0372939109802246,
0.9366281032562256,
-0.4343563914299011,
0.34982332587242126,
0.2807874083518982,
-0.46091166138648987,
0.11376110464334488,
0.1870078593492508,
-0.01792863942682743,
-0.3190813660621643,
0.6028902530670166,
0.5315525531768799,
0.27733951807022095,
-0.7037279605865479,
0.5722065567970276,
-0.1529705971479416,
-0.042344242334365845,
-0.6621077656745911,
-0.0780736580491066,
0.28358593583106995,
0.2470843642950058,
0.517527163028717,
-0.16726669669151306,
0.05679691582918167,
-0.670954167842865,
0.057340800762176514,
0.7089172005653381,
-0.1927649974822998,
-0.33872461318969727,
0.6408079862594604,
0.04105868563055992,
-0.3995268940925598,
0.48914462327957153,
-0.412225604057312,
-0.7543866634368896,
0.5450088381767273,
0.5617229342460632,
0.7302996516227722,
-0.3752121031284332,
-0.1395541876554489,
0.17473642528057098,
0.5877950191497803,
-0.4020625650882721,
0.3106882870197296,
0.3237912952899933,
-1.0089869499206543,
-0.6781993508338928,
-0.3979668915271759,
-0.4424474835395813,
-0.23650120198726654,
-0.568977952003479,
0.1451980322599411,
-0.125135138630867,
-0.3966091275215149,
-0.0652167871594429,
0.07221349328756332,
-0.7510895133018494,
0.05925320088863373,
0.2843829095363617,
0.6546435356140137,
-0.8441686034202576,
0.6013376116752625,
0.5771081447601318,
-0.33755385875701904,
-1.1854451894760132,
0.3120375871658325,
0.14797410368919373,
-0.6787912249565125,
0.7002687454223633,
0.014902092516422272,
0.05310991406440735,
-0.23051343858242035,
-0.5018563270568848,
-1.2456833124160767,
1.1808786392211914,
0.558601438999176,
-0.6950355768203735,
-0.19345173239707947,
0.2050018608570099,
0.605285108089447,
-0.15343764424324036,
0.3735284209251404,
0.6897103190422058,
0.6190120577812195,
-0.05869477242231369,
-0.9976071715354919,
-0.18048331141471863,
0.33496055006980896,
0.09996931254863739,
0.42238959670066833,
-0.4321884214878082,
1.1655535697937012,
-0.3787384629249573,
-0.26592257618904114,
0.2927122414112091,
0.7586772441864014,
0.18553635478019714,
0.13249589502811432,
0.5345561504364014,
0.37584757804870605,
0.9517664909362793,
-0.21908430755138397,
1.073564887046814,
-0.26986265182495117,
0.36597126722335815,
0.8987289667129517,
-0.4804404675960541,
0.983180046081543,
0.4936271905899048,
-0.9012401700019836,
0.27206501364707947,
0.9767059087753296,
0.3467814326286316,
0.26480215787887573,
0.4313145875930786,
-0.3112237751483917,
-0.2052731215953827,
0.31117191910743713,
-0.2578178942203522,
0.44116631150245667,
0.5637527704238892,
-0.03059949167072773,
0.009905624203383923,
-0.5610817074775696,
0.10554245114326477,
-0.13672900199890137,
-0.05267373472452164,
0.47608986496925354,
0.22701984643936157,
-0.8290291428565979,
0.4083075523376465,
0.06337146461009979,
0.7882842421531677,
-0.5171871185302734,
-0.025137202814221382,
0.05479520931839943,
-0.0691356435418129,
-0.0991983711719513,
-0.8949224352836609,
0.09510450065135956,
-0.009945044293999672,
0.07984506338834763,
0.32365038990974426,
0.5249788761138916,
-0.5892894864082336,
-0.5916259288787842,
0.0015637929318472743,
0.23969002068042755,
0.41355589032173157,
0.17136691510677338,
-0.5630724430084229,
-0.006525652017444372,
0.1181260421872139,
-0.31202831864356995,
0.21485057473182678,
0.45409005880355835,
-0.341415673494339,
0.6980568170547485,
0.4633235037326813,
0.20749609172344208,
0.24349461495876312,
0.025852248072624207,
0.1313745230436325,
-0.42906540632247925,
-0.23355017602443695,
-0.9236575365066528,
0.20512156188488007,
-0.0036564678885042667,
-0.4027060270309448,
0.6198510527610779,
0.1803644299507141,
0.5914753675460815,
0.15823620557785034,
0.7403323650360107,
-0.0122318584471941,
0.28287816047668457,
-0.5028995275497437,
0.48291119933128357,
-0.16711251437664032,
0.49288100004196167,
-0.5232805013656616,
-1.1501498222351074,
-0.3939257264137268,
0.9184865951538086,
-0.4627609848976135,
0.2773781716823578,
0.46974313259124756,
0.6106502413749695,
0.22623471915721893,
-0.20116306841373444,
0.6976695656776428,
0.22918929159641266,
0.24142077565193176,
0.4623028039932251,
0.8312371373176575,
-0.1864735335111618,
0.2278764247894287,
-0.19542604684829712,
-0.13028250634670258,
0.01677032560110092,
-1.2762812376022339,
-0.4830659031867981,
-0.5960887670516968,
-0.1257222443819046,
0.18375247716903687,
0.03708793222904205,
1.1563973426818848,
0.4834374189376831,
-0.4197758734226227,
-0.11148051917552948,
0.14203833043575287,
0.1386422961950302,
-0.06537379324436188,
-0.12934325635433197,
0.47984635829925537,
-0.08075681328773499,
-0.9421654343605042,
0.02251160517334938,
0.16744549572467804,
0.22639614343643188,
-0.6557065844535828,
-0.1919161081314087,
-0.2712220251560211,
0.3477238118648529,
0.04037946090102196,
0.29211702942848206,
-0.9699558019638062,
-0.8406792283058167,
0.006163512356579304,
-0.4618387818336487,
-0.15143640339374542,
0.20288360118865967,
-0.28799089789390564,
0.19895058870315552,
0.45733892917633057,
0.6331336498260498,
0.09930963069200516,
0.10884740948677063,
0.9535630941390991,
-0.821380078792572,
0.17560425400733948,
0.07254477590322495,
0.5506349802017212,
0.6808507442474365,
-0.43405839800834656,
0.553260087966919,
-0.3110170066356659,
-0.9663537740707397,
-0.7363666892051697,
0.2973829209804535,
-0.7329662442207336,
0.019664162769913673,
1.0029898881912231,
-0.33453282713890076,
-0.0812307670712471,
-0.04435526579618454,
-0.04330015182495117,
0.10671252012252808,
-0.5371893644332886,
0.807137668132782,
1.1305345296859741,
-0.1400318294763565,
0.13328386843204498,
-0.8886053562164307,
0.39715203642845154,
0.17362593114376068,
-0.7390251755714417,
-0.13360804319381714,
0.4884963929653168,
0.2107686698436737,
0.23758870363235474,
0.5343930721282959,
0.2221699208021164,
0.10947295278310776,
-0.03463710844516754,
0.2784070670604706,
0.5938470363616943,
0.2750442922115326,
-0.16844072937965393,
-0.5184981226921082,
0.5657641887664795,
0.02389264851808548
] |
http://arxiv.org/abs/2405.15179v2
|
http://arxiv.org/pdf/2405.15179v2
|
VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector Banks
| 2024-05-24T03:24:34 | 2024-05-27T18:51:57 |
Yang Li, Shaobo Han, Shihao Ji
|
cs.CL
|
cs.CL
|
As the adoption of large language models increases and the need for per-user
or per-task model customization grows, the parameter-efficient fine-tuning
(PEFT) methods, such as low-rank adaptation (LoRA) and its variants, incur
substantial storage and transmission costs. To further reduce stored
parameters, we introduce a "divide-and-share" paradigm that breaks the barriers
of low-rank decomposition across matrix dimensions, modules and layers by
sharing parameters globally via a vector bank. As an instantiation of the
paradigm to LoRA, our proposed VB-LoRA composites all the low-rank matrices of
LoRA from a shared vector bank with a differentiable top-$k$ admixture module.
VB-LoRA achieves extreme parameter efficiency while maintaining comparable or
better performance compared to state-of-the-art PEFT methods. Extensive
experiments demonstrate the effectiveness of VB-LoRA on natural language
understanding, natural language generation, and instruction tuning tasks. When
fine-tuning the Llama2-13B model, VB-LoRA only uses 0.4% of LoRA's stored
parameters, yet achieves superior results. Our source code is available at
https://github.com/leo-yangli/VB-LoRA.
|
[
-0.6056095361709595,
-1.2093077898025513,
0.28580158948898315,
0.4243479371070862,
-0.4228731095790863,
0.2179945409297943,
-0.007977688685059547,
-0.5226593613624573,
0.23971791565418243,
0.6389756798744202,
-0.12039606273174286,
-0.4741801619529724,
-0.2689704895019531,
-0.4294198751449585,
-0.318392813205719,
0.8091356754302979,
-0.10078148543834686,
-0.2165832817554474,
0.03816711902618408,
-0.39279747009277344,
-0.3239460587501526,
-0.4760706424713135,
-0.5073655247688293,
-0.2150077372789383,
0.6448942422866821,
0.5303301215171814,
0.6586577296257019,
0.9629599452018738,
0.38137227296829224,
0.32603925466537476,
-0.4179496765136719,
0.46435582637786865,
-0.6600029468536377,
0.04878419637680054,
-0.3169576823711395,
-0.350722074508667,
-0.8475713729858398,
-0.29243096709251404,
0.6562990546226501,
0.6159780621528625,
-0.26129212975502014,
0.3598465025424957,
0.09706863015890121,
0.8321923613548279,
-0.7005603909492493,
-0.05476700887084007,
-0.6063221096992493,
-0.12464379519224167,
-0.032782286405563354,
-0.37057316303253174,
-0.14846043288707733,
-0.44027966260910034,
-0.20343996584415436,
-0.47781404852867126,
0.06953683495521545,
0.17480605840682983,
0.9314855933189392,
0.21350914239883423,
-0.3315047025680542,
0.2748262882232666,
-0.8252466917037964,
0.6663140058517456,
-0.44704052805900574,
0.13966216146945953,
0.30993661284446716,
0.3478878438472748,
-0.08274812251329422,
-0.3283352851867676,
-0.4949451982975006,
0.15151631832122803,
0.3624984323978424,
-0.0006286408170126379,
-0.41424110531806946,
0.15529614686965942,
0.07304294407367706,
0.425944447517395,
-0.2440062165260315,
0.49164435267448425,
-0.6270403265953064,
-0.05440330505371094,
0.34255093336105347,
0.1674240529537201,
-0.09627007693052292,
-0.19735121726989746,
-0.4265161454677582,
-0.23545695841312408,
-0.731086254119873,
0.15419051051139832,
0.6183541417121887,
0.4070223271846771,
0.02579100802540779,
0.5595189332962036,
-0.34209761023521423,
0.7826516628265381,
0.006136301904916763,
0.12488776445388794,
0.08692489564418793,
-0.27921855449676514,
-0.4387355148792267,
-0.08633489161729813,
0.36991235613822937,
0.2307547628879547,
-0.16814552247524261,
0.18322350084781647,
-0.22411003708839417,
0.08647337555885315,
0.18752232193946838,
-0.8802627325057983,
-0.10364612936973572,
-0.01468595303595066,
-0.6928246021270752,
-0.5060388445854187,
-0.2689787745475769,
-0.6424443125724792,
-0.4577596187591553,
-0.5875450372695923,
0.929468035697937,
-0.3467167317867279,
-0.039763193577528,
0.2994055151939392,
-0.0689164325594902,
0.6175528764724731,
0.3898402452468872,
-0.857831597328186,
0.5138112902641296,
0.7928072214126587,
0.7135676741600037,
-0.23120184242725372,
-0.10846278816461563,
-0.8255770206451416,
0.20805346965789795,
-0.02829180471599102,
1.1979156732559204,
-0.5386978387832642,
-0.41293665766716003,
-0.2274896502494812,
-0.3632023334503174,
0.143747016787529,
-0.7856078743934631,
0.5588199496269226,
-0.3340854048728943,
-0.15709127485752106,
-0.20319421589374542,
-0.22287218272686005,
-0.11212106049060822,
0.012504399754106998,
-0.5692402124404907,
1.1104342937469482,
0.12669573724269867,
-0.3934655785560608,
0.0979665145277977,
-0.6289119720458984,
-0.3992910087108612,
-0.10410083830356598,
-0.043707482516765594,
-0.4897010028362274,
0.5422682762145996,
0.1920020431280136,
0.44420552253723145,
-0.47637036442756653,
-0.1996746063232422,
-0.40555766224861145,
-0.5704185366630554,
-0.004017681814730167,
-0.5178327560424805,
0.4286878705024719,
0.11465425044298172,
0.06836821138858795,
0.14484144747257233,
-1.0798898935317993,
0.06871147453784943,
0.017929963767528534,
-0.5862197875976562,
-0.5834540724754333,
-0.12202105671167374,
0.09950380027294159,
-0.06625360995531082,
0.5799432992935181,
-0.3291630148887634,
0.4774751663208008,
-0.35027843713760376,
0.40827712416648865,
1.1295799016952515,
-0.11366880685091019,
0.38270509243011475,
-0.281063050031662,
0.32614579796791077,
0.02559203840792179,
0.5677918791770935,
0.10082706809043884,
-0.2715679407119751,
-0.9464836716651917,
-0.4311222434043884,
0.26395365595817566,
0.40031561255455017,
-0.3057261109352112,
0.5280685424804688,
0.11487212777137756,
-0.702314555644989,
-0.3662237226963043,
0.3447531759738922,
0.3074894845485687,
0.453809529542923,
0.473623126745224,
-0.38589712977409363,
-0.5199972987174988,
-1.1592795848846436,
-0.05273352563381195,
-0.19873708486557007,
0.11513646692037582,
0.2990489602088928,
0.2511512041091919,
-0.2989557981491089,
0.808142900466919,
-0.7040955424308777,
-0.33745184540748596,
-0.30423787236213684,
0.04344469681382179,
0.4163931906223297,
0.5552757978439331,
0.5437272191047668,
-0.5743150115013123,
-0.5644020438194275,
0.13543084263801575,
-0.17267991602420807,
-0.07000056654214859,
0.2603413164615631,
-0.6482674479484558,
0.21283887326717377,
0.5409134030342102,
-0.32540151476860046,
0.3362122178077698,
0.8839778900146484,
-0.42928433418273926,
0.27153486013412476,
-0.8193495273590088,
-0.23308467864990234,
-1.3000391721725464,
0.0705779567360878,
-0.18996398150920868,
-0.37620100378990173,
-0.31187939643859863,
-0.09721489250659943,
0.02431681752204895,
0.047828540205955505,
-0.13031725585460663,
0.3355509638786316,
-0.21661211550235748,
-0.045325007289648056,
-0.33198148012161255,
0.07561279088258743,
0.010933318175375462,
0.6058509349822998,
-0.36476975679397583,
0.6012126207351685,
0.5793421864509583,
-0.726936936378479,
0.2463856339454651,
0.403967022895813,
-0.30069243907928467,
0.7591749429702759,
-0.8090899586677551,
0.09913437068462372,
-0.12302497029304504,
-0.03108404017984867,
-0.860008716583252,
0.009553221054375172,
0.06355039775371552,
-0.06994345784187317,
0.1519756317138672,
-0.13555951416492462,
-0.40079066157341003,
-0.0003017598355654627,
-0.4991585314273834,
0.19666627049446106,
0.7597566843032837,
-0.7606728672981262,
0.8687151074409485,
0.44990575313568115,
-0.14130300283432007,
-0.5216782093048096,
-0.41405951976776123,
-0.18360362946987152,
-0.22589834034442902,
-0.4219456613063812,
0.4923180341720581,
-0.4784902036190033,
-0.07484986633062363,
0.08494109660387039,
-0.48400768637657166,
-0.23701976239681244,
0.2527501881122589,
0.3173305094242096,
0.3258754014968872,
-0.4667304754257202,
-0.15141423046588898,
0.5164122581481934,
-0.22217623889446259,
-0.4336377680301666,
-0.18490810692310333,
0.48882946372032166,
-0.19031408429145813,
-0.16944237053394318,
-0.12474365532398224,
0.5121858716011047,
0.4049904942512512,
-0.24528399109840393,
1.0536965131759644,
0.5272042155265808,
-0.1698116660118103,
-0.5755506753921509,
-0.5193449258804321,
0.2899989187717438,
-0.5561180710792542,
0.40350964665412903,
-0.4424348473548889,
-0.9060813784599304,
0.6437883377075195,
-0.2807471752166748,
0.13770374655723572,
0.26627373695373535,
0.46232056617736816,
-0.1964832991361618,
0.7983574271202087,
1.1634248495101929,
0.011305699124932289,
0.88799649477005,
-0.19163066148757935,
0.23434461653232574,
-0.6270807981491089,
-0.014043540693819523,
-0.6650344133377075,
-0.5516809821128845,
-0.6580910086631775,
-0.6750708818435669,
0.380086749792099,
0.4371359050273895,
-0.3317141532897949,
0.5349343419075012,
-0.4280981123447418,
0.8501721024513245,
0.7436919212341309,
0.2010137438774109,
0.45712706446647644,
0.30907776951789856,
0.026099374517798424,
0.2953068017959595,
-0.5131284594535828,
-0.36214637756347656,
0.9052122831344604,
0.0924343541264534,
0.8134846687316895,
0.18565060198307037,
0.8696020841598511,
0.3730055093765259,
-0.030856233090162277,
-0.6985798478126526,
0.6625603437423706,
-0.33857131004333496,
-0.27132371068000793,
-0.29586663842201233,
-0.3599710464477539,
-0.849098801612854,
0.4314954876899719,
-0.11971264332532883,
-0.8390382528305054,
0.32010602951049805,
0.35273849964141846,
-0.6568332314491272,
0.21674364805221558,
-0.9120512008666992,
0.7928110361099243,
-0.03490002453327179,
-0.42729452252388,
-0.6499254703521729,
-0.30974888801574707,
-0.015972383320331573,
-0.2706356942653656,
-0.19192783534526825,
-0.12626200914382935,
-0.18667447566986084,
0.6436209082603455,
-0.3787304162979126,
0.6839882731437683,
-0.18269449472427368,
-0.27477434277534485,
0.1285080909729004,
-0.03236382082104683,
0.6324503421783447,
0.08052555471658707,
-0.11794518679380417,
0.10795873403549194,
0.004916837904602289,
-0.6385489106178284,
-0.5130553841590881,
0.795855700969696,
-1.0892525911331177,
-0.4540382921695709,
-0.10577961802482605,
-0.3614305853843689,
-0.36842241883277893,
0.12262914329767227,
-0.11884892731904984,
0.43079477548599243,
-0.28561460971832275,
0.5319192409515381,
0.8891829252243042,
-0.5256499648094177,
0.29026252031326294,
0.7150802612304688,
-0.14918369054794312,
-0.22413715720176697,
1.1438300609588623,
-0.001139781204983592,
0.2381807416677475,
0.7275294661521912,
0.3173992335796356,
0.1213073581457138,
-0.646851658821106,
0.07011958956718445,
0.23265068233013153,
-0.647979736328125,
-0.31810513138771057,
-0.38648077845573425,
-0.22356441617012024,
0.03567543253302574,
-0.3173173666000366,
-0.8201478123664856,
-0.47707071900367737,
-0.20833507180213928,
-0.21176563203334808,
0.5118548274040222,
0.8526328802108765,
-0.38599830865859985,
0.4596095681190491,
-0.6696735620498657,
0.6622604131698608,
0.33776724338531494,
0.5801637172698975,
-0.19359642267227173,
-0.6508973836898804,
-0.5144808888435364,
-0.368017315864563,
-0.2947728633880615,
-0.39919745922088623,
0.20924802124500275,
0.25025656819343567,
0.5221666693687439,
0.14409898221492767,
0.07834650576114655,
0.884193480014801,
-0.2842612862586975,
0.351494699716568,
-0.08259646594524384,
-1.125136375427246,
0.24298951029777527,
-0.3247395157814026,
0.14890693128108978,
0.5120479464530945,
0.03034491278231144,
-0.37421947717666626,
-0.07551735639572144,
-0.29748767614364624,
-1.2922676801681519,
0.6966313123703003,
0.04993114247918129,
0.28451472520828247,
0.6243922710418701,
0.16534355282783508,
0.49925971031188965,
-0.02182753197848797,
-0.4249662160873413,
-0.35496237874031067,
-0.03923375532031059,
-0.16288873553276062,
0.0779028832912445,
-0.5740166902542114,
-0.0314628928899765,
-0.36357346177101135,
0.6886315941810608,
-0.29653045535087585,
0.4387071430683136,
-0.18209517002105713,
0.014524642378091812,
-0.11626236140727997,
0.2034541219472885,
0.5292887687683105,
0.6472787857055664,
-0.401407927274704,
0.010766351595520973,
0.18785810470581055,
-0.3170478045940399,
-0.11952251940965652,
0.23935946822166443,
-0.0348983108997345,
-0.32105910778045654,
-0.05384597182273865,
1.0005905628204346,
0.13432741165161133,
-0.5854470133781433,
0.19346268475055695,
-0.2244601845741272,
-0.19228574633598328,
-0.07615070044994354,
0.29255297780036926,
0.1799628734588623,
0.6410033106803894,
0.2540090084075928,
0.2317245453596115,
-0.20935635268688202,
-0.39946460723876953,
-0.09537414461374283,
0.13335232436656952,
-0.13180546462535858,
-0.33013808727264404,
0.4788762032985687,
0.36634525656700134,
-0.20087680220603943,
0.1935950070619583,
0.04285376891493797,
-0.042296990752220154,
0.3169141709804535,
0.3485332429409027,
0.725212037563324,
-0.14615100622177124,
0.3142644762992859,
0.009542431682348251,
0.20559382438659668,
-0.022294875234365463,
0.5294072031974792,
-0.32143914699554443,
-0.5152256488800049,
-0.40841275453567505,
-1.0418294668197632,
-0.720680832862854,
0.13535375893115997,
-0.6291666626930237,
0.40979981422424316,
-0.6783652305603027,
0.10649050772190094,
0.0253708828240633,
-0.07620310038328171,
-0.46735820174217224,
-0.22875285148620605,
0.2275196611881256,
0.8545632362365723,
-0.7060561776161194,
0.9410257935523987,
0.5949881672859192,
-0.3440552055835724,
-0.605923593044281,
-0.176498144865036,
-0.3841054439544678,
-0.8779087066650391,
0.5522391200065613,
-0.08854173868894577,
-0.1976677030324936,
-0.11167649924755096,
-0.43031543493270874,
-0.9221510291099548,
0.9725803136825562,
0.738837480545044,
-0.5723625421524048,
-0.14693179726600647,
0.16405025124549866,
0.5675261616706848,
0.16833588480949402,
-0.12466446310281754,
0.5848236083984375,
0.39146241545677185,
-0.009225099347531796,
-0.8834781050682068,
-0.07963605225086212,
-0.16516374051570892,
0.05452350899577141,
0.20605610311031342,
-0.9353641867637634,
0.902089536190033,
0.06912000477313995,
0.235725536942482,
0.21241529285907745,
0.8072404265403748,
0.1307152807712555,
-0.0930192694067955,
0.43142756819725037,
0.2885291576385498,
0.8256468176841736,
0.1949251890182495,
0.71001797914505,
-0.27767711877822876,
0.2962920367717743,
0.8858630061149597,
-0.22270646691322327,
1.0414100885391235,
0.5688356161117554,
-0.028935039415955544,
0.40912115573883057,
0.18398959934711456,
0.21377241611480713,
0.4189833700656891,
0.1393464207649231,
-0.14843124151229858,
-0.43870043754577637,
-0.275539755821228,
-0.3016297519207001,
0.6187821626663208,
0.22860342264175415,
-0.15588733553886414,
-0.14517517387866974,
-0.1113610491156578,
-0.14768867194652557,
0.07772492617368698,
-0.36670318245887756,
0.5380375385284424,
0.17335382103919983,
-0.2710866928100586,
0.777848482131958,
0.15566927194595337,
0.6776695847511292,
-0.826212465763092,
0.025084368884563446,
-0.5178104639053345,
0.6532958149909973,
-0.022669903934001923,
-0.46222811937332153,
0.12648937106132507,
0.1313570737838745,
-0.2716746926307678,
-0.4697209298610687,
0.6095079183578491,
-0.20178943872451782,
-0.308688759803772,
0.3445442318916321,
0.4519267976284027,
-0.1905384063720703,
-0.12684723734855652,
-0.4886382222175598,
0.2544519007205963,
-0.14031003415584564,
-0.5044628977775574,
0.6392176151275635,
0.32678326964378357,
-0.059519220143556595,
0.4544108808040619,
0.5620920062065125,
0.16343820095062256,
-0.030829930678009987,
-0.0647202879190445,
1.0407049655914307,
-0.8959818482398987,
-0.5392693281173706,
-0.71210777759552,
0.20366327464580536,
-0.07673075050115585,
-0.3402297794818878,
0.6048368811607361,
0.6465003490447998,
0.8128526210784912,
0.08321510255336761,
0.6504159569740295,
0.009951210580766201,
0.3454659581184387,
-0.4648732542991638,
0.6249867677688599,
-0.741407573223114,
0.020039964467287064,
-0.3381388783454895,
-1.1717976331710815,
-0.12425555288791656,
0.5698508620262146,
0.08747608214616776,
-0.21944211423397064,
0.5460239052772522,
0.7824729681015015,
-0.29968225955963135,
-0.20126192271709442,
0.4939541220664978,
0.42518433928489685,
0.3635912239551544,
0.5997782349586487,
0.531440258026123,
-0.37179723381996155,
0.8441687822341919,
-0.09342245757579803,
-0.11734459549188614,
-0.5111711621284485,
-0.8961809277534485,
-0.86077481508255,
-0.4014504551887512,
-0.282583087682724,
-0.10564523935317993,
0.06584898382425308,
0.9984554052352905,
0.6860389113426208,
-0.7516226768493652,
-0.3039160668849945,
-0.02464126981794834,
0.07544627785682678,
-0.21583329141139984,
-0.08451906591653824,
0.489834189414978,
0.12392901629209518,
-0.6966867446899414,
0.6465583443641663,
0.5201931595802307,
0.013561875559389591,
-0.2846384048461914,
-0.06125974655151367,
0.19241777062416077,
0.5123751163482666,
0.7579415440559387,
0.4315267503261566,
-0.20740926265716553,
-0.24966996908187866,
-0.13384246826171875,
-0.11339026689529419,
0.21885107457637787,
0.5707491636276245,
-0.7376391291618347,
0.122177854180336,
0.7807231545448303,
0.7760051488876343,
0.610925018787384,
0.10332350432872772,
0.5420687794685364,
-0.5247436165809631,
0.090772844851017,
-0.13846662640571594,
0.34461483359336853,
0.10919147729873657,
-0.03618348762392998,
0.26586291193962097,
0.2022981494665146,
-0.34850120544433594,
-0.9522554874420166,
0.1546081155538559,
-1.477113962173462,
-0.33688464760780334,
0.9733120203018188,
0.2738887667655945,
-0.5674481987953186,
0.1300949603319168,
-0.7081059217453003,
0.20979230105876923,
-0.5435956120491028,
0.7682080864906311,
0.22515356540679932,
-0.15072126686573029,
0.21891391277313232,
-0.3847838044166565,
0.1812753975391388,
0.5104271173477173,
-0.7505132555961609,
0.21560552716255188,
0.2577323913574219,
0.07975591719150543,
-0.15433399379253387,
0.39660319685935974,
0.175268292427063,
0.005755072459578514,
-0.060507822781801224,
0.05947092920541763,
-0.3818495571613312,
-0.23236674070358276,
-0.23395483195781708,
0.31362974643707275,
0.2485087364912033,
-0.05146532878279686
] |
http://arxiv.org/abs/2405.17470v1
|
http://arxiv.org/pdf/2405.17470v1
|
Athena: Efficient Block-Wise Post-Training Quantization for Large Language Models Using Second-Order Matrix Derivative Information
| 2024-05-24T03:14:29 | 2024-05-24T03:14:29 |
Yanshu Wang, Wenyang He, Tong Yang
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
Large Language Models (LLMs) have significantly advanced natural language
processing tasks such as machine translation, text generation, and sentiment
analysis. However, their large size, often consisting of billions of
parameters, poses challenges for storage, computation, and deployment,
particularly in resource-constrained environments like mobile devices and edge
computing platforms. Effective compression and quantization techniques are
crucial for addressing these issues, reducing memory footprint and
computational requirements without significantly compromising performance.
Traditional methods that uniformly map parameters to compressed spaces fail to
account for the uneven distribution of parameters, leading to substantial
accuracy loss. In this work, we propose Athena, a novel algorithm for efficient
block-wise post-training quantization of LLMs. Athena leverages Second-Order
Matrix Derivative Information to guide the quantization process using the
curvature information of the loss landscape. By grouping parameters by columns
or rows and iteratively optimizing the quantization process, Athena updates the
model parameters and Hessian matrix to achieve significant compression while
maintaining high accuracy. This makes Athena a practical solution for deploying
LLMs in various settings.
|
[
-0.39323753118515015,
-0.6269394755363464,
0.6696340441703796,
0.01083843782544136,
-0.8463319540023804,
0.0679149404168129,
-0.1149030327796936,
-0.12694714963436127,
0.1949225217103958,
0.5226893424987793,
-0.511488676071167,
-0.7158787846565247,
-0.8739438652992249,
-0.28883615136146545,
-0.2155621349811554,
0.8188266158103943,
-0.16604848206043243,
0.2865579426288605,
0.060431189835071564,
-0.3996182978153229,
-0.28784871101379395,
-0.517643928527832,
-0.9591053128242493,
0.24146947264671326,
0.2762968838214874,
0.09776408225297928,
0.47337403893470764,
0.7833635210990906,
0.3968338370323181,
0.2880985140800476,
-0.09127458930015564,
0.2813381254673004,
-0.4215356707572937,
0.2657635807991028,
0.10284902900457382,
-0.28208112716674805,
-0.5687333345413208,
-0.31429505348205566,
1.0297843217849731,
0.7212823629379272,
-0.3517296612262726,
0.5954287052154541,
0.14747247099876404,
0.7079228758811951,
-0.728748619556427,
0.06940174847841263,
-0.5193611979484558,
0.11689962446689606,
-0.13285349309444427,
-0.27286896109580994,
-0.21324676275253296,
-0.7178144454956055,
-0.038127392530441284,
-0.8130473494529724,
-0.25933727622032166,
0.18000254034996033,
0.6701828241348267,
0.4849338233470917,
-0.29406601190567017,
0.119827501475811,
-0.6209251880645752,
1.1067460775375366,
-0.6659665703773499,
0.5045821666717529,
0.529161274433136,
0.15442349016666412,
-0.21576352417469025,
-0.691496729850769,
-0.4070245325565338,
0.1718825250864029,
0.2727714776992798,
-0.27386409044265747,
-0.25340011715888977,
0.05493495985865593,
0.00193747878074646,
0.38017019629478455,
-0.4110513925552368,
0.16377873718738556,
-0.25348979234695435,
-0.2517491281032562,
0.34600692987442017,
0.17070607841014862,
0.01712375320494175,
0.2614538073539734,
-0.1095072403550148,
-0.32145828008651733,
-0.8346847295761108,
-0.04603089392185211,
0.5089315176010132,
0.26664939522743225,
-0.026348987594246864,
0.6040598154067993,
-0.23180751502513885,
0.7746433019638062,
0.06376949697732925,
-0.2365826517343521,
-0.1674278974533081,
0.07198046147823334,
-0.1677442044019699,
0.09599405527114868,
0.7096391916275024,
0.08820083737373352,
-0.1959041804075241,
0.10076354444026947,
-0.1875523179769516,
-0.16652531921863556,
0.24287311732769012,
-1.126452088356018,
0.11083991825580597,
0.13354596495628357,
-0.4912152588367462,
-0.17232398688793182,
-0.23625938594341278,
-0.6481978893280029,
-0.4522804617881775,
-0.41572216153144836,
0.6608121395111084,
-0.3849182426929474,
-0.1483214944601059,
0.13128966093063354,
0.37587180733680725,
0.12769639492034912,
0.20870958268642426,
-0.9577776193618774,
0.5405594110488892,
0.8811542987823486,
0.956235408782959,
0.16898877918720245,
0.13607408106327057,
-1.0541714429855347,
0.06625613570213318,
-0.5013082027435303,
0.44484278559684753,
-0.5461252927780151,
-0.3178061544895172,
-0.01892758347094059,
-0.4416756331920624,
0.32877278327941895,
-0.44049718976020813,
0.5069699883460999,
-0.6630399227142334,
0.13365580141544342,
-0.16679324209690094,
-0.4072391986846924,
-0.1918240487575531,
0.12257007509469986,
-0.44394686818122864,
1.2096402645111084,
0.07246337831020355,
-0.7515429854393005,
0.16401320695877075,
-0.3116873502731323,
-0.2998383939266205,
0.023830164223909378,
0.031102385371923447,
-0.7970454096794128,
0.623993456363678,
0.20666174590587616,
0.5389269590377808,
-0.37309566140174866,
0.08133142441511154,
-0.3671254515647888,
-0.36560937762260437,
0.11771366745233536,
-0.11790391057729721,
0.31090477108955383,
0.22472336888313293,
-0.2952762544155121,
0.1939416378736496,
-0.7686012983322144,
0.1892346739768982,
-0.05779026076197624,
-0.488870233297348,
-0.7349839210510254,
0.031008994206786156,
0.11493708938360214,
0.09146938472986221,
0.35202711820602417,
-0.35516050457954407,
0.4433407783508301,
-0.33691146969795227,
0.3106997013092041,
0.7658787965774536,
-0.25362274050712585,
0.45607954263687134,
0.05934042111039162,
0.5210002064704895,
-0.4141911566257477,
0.1994091123342514,
0.24427160620689392,
-0.3345814347267151,
-0.8558436036109924,
-0.4722428321838379,
0.3418629467487335,
0.35094520449638367,
-0.46382632851600647,
0.4707975685596466,
-0.44630467891693115,
-0.44099557399749756,
-0.676342248916626,
-0.0037870220839977264,
0.4528447091579437,
0.3432106375694275,
0.35348838567733765,
-0.3098585903644562,
-0.6513600945472717,
-0.7547940015792847,
-0.11383440345525742,
-0.0497521311044693,
-0.08734260499477386,
0.010994025506079197,
0.2840292155742645,
-0.16253191232681274,
0.715805172920227,
-0.5624875426292419,
-0.1385299563407898,
-0.20304615795612335,
0.5232111811637878,
-0.030304105952382088,
0.5718643069267273,
0.017534488812088966,
-0.4149361550807953,
-0.22434578835964203,
0.07808003574609756,
-0.340545117855072,
-0.16869628429412842,
0.14650321006774902,
-0.2947353422641754,
0.37417349219322205,
0.3944048583507538,
-0.5348076224327087,
0.33840271830558777,
0.8767539858818054,
-0.2817710041999817,
0.6001195311546326,
-0.40357840061187744,
0.05702291429042816,
-1.509379506111145,
0.1941882073879242,
-0.059039901942014694,
-0.49880561232566833,
-0.4153401553630829,
0.023265236988663673,
-0.16695071756839752,
-0.2024320811033249,
-0.24758432805538177,
0.47402745485305786,
-0.4154631495475769,
-0.44696667790412903,
-0.4341064393520355,
-0.21117739379405975,
0.001524950610473752,
0.49574750661849976,
0.21029385924339294,
0.682198703289032,
0.5794007778167725,
-0.7034957408905029,
0.16628426313400269,
0.0785408467054367,
-0.4255548119544983,
0.7516058087348938,
-0.5288137793540955,
0.20139312744140625,
-0.09139713644981384,
0.32690319418907166,
-0.6498770713806152,
0.09252750873565674,
0.2179916501045227,
-0.20850984752178192,
0.3177780508995056,
-0.3431929051876068,
-0.7062253355979919,
-0.028382673859596252,
-0.5303672552108765,
0.7972472906112671,
0.5920465588569641,
-0.2978433072566986,
0.5964947938919067,
0.4958125650882721,
-0.382671594619751,
-0.6546469926834106,
-0.5618796348571777,
-0.004891994874924421,
-0.5430713295936584,
-0.31318792700767517,
0.42305833101272583,
-0.025069747120141983,
-0.15448565781116486,
-0.16391772031784058,
-0.13633622229099274,
-0.23382160067558289,
0.009362928569316864,
0.17643310129642487,
0.10614067316055298,
-0.12452687323093414,
0.16210223734378815,
0.38567060232162476,
-0.3723798096179962,
-0.18564721941947937,
-0.9467026591300964,
0.8929601311683655,
-0.1595114767551422,
-0.05118611454963684,
-0.9174857139587402,
0.41905325651168823,
0.6685218214988708,
-0.2867140471935272,
1.0141783952713013,
0.8109039664268494,
-0.4987136721611023,
-0.25277280807495117,
-0.5396433472633362,
-0.26455527544021606,
-0.4662908613681793,
0.574764609336853,
-0.352920264005661,
-1.0284051895141602,
0.5156884789466858,
-0.2809397876262665,
0.057338882237672806,
0.24898837506771088,
0.5179217457771301,
-0.006666809786111116,
1.0767496824264526,
0.8775227665901184,
-0.2509705424308777,
0.47715306282043457,
-0.43497350811958313,
0.3652387857437134,
-0.9041164517402649,
-0.15822704136371613,
-0.4758346974849701,
-0.320567786693573,
-0.3315908908843994,
-0.5220298767089844,
0.5946153402328491,
0.18504485487937927,
-0.41109126806259155,
0.2507088780403137,
-0.3302430808544159,
0.28027233481407166,
0.6315636038780212,
-0.04733088240027428,
0.3545854091644287,
0.30265000462532043,
-0.057835210114717484,
-0.11137945204973221,
-0.3507259488105774,
-0.32822659611701965,
1.0882720947265625,
0.3392598032951355,
0.6336832642555237,
0.2688531279563904,
0.5890058279037476,
0.16321799159049988,
0.09972796589136124,
-0.8795658349990845,
0.6411753296852112,
-0.09148423373699188,
-0.13178297877311707,
-0.40155234932899475,
-0.6075248718261719,
-0.8059287071228027,
0.29089000821113586,
-0.24343110620975494,
-0.6944413781166077,
-0.16686058044433594,
0.14484655857086182,
-0.6524343490600586,
0.5133983492851257,
-0.2643454074859619,
0.7049860954284668,
0.051744408905506134,
-0.40467020869255066,
-0.6351457238197327,
-0.45224353671073914,
0.21124422550201416,
-0.2795151472091675,
0.30724161863327026,
0.014812489971518517,
-0.36907416582107544,
0.8823999166488647,
-1.1469343900680542,
0.48707062005996704,
-0.19827045500278473,
-0.22212259471416473,
0.21664893627166748,
0.3410581350326538,
0.7781617641448975,
0.07719828188419342,
0.06280721724033356,
0.06720440834760666,
-0.04439660534262657,
-0.39861342310905457,
-0.6365048289299011,
0.5627393126487732,
-0.6878339648246765,
-0.2891450822353363,
-0.2658374011516571,
-0.5405438542366028,
-0.3263739347457886,
0.01588263362646103,
0.2754623591899872,
0.7822450399398804,
0.23906058073043823,
0.04666401818394661,
0.6959555745124817,
-0.35572299361228943,
0.39592039585113525,
0.36581993103027344,
-0.12947478890419006,
-0.659140944480896,
0.901848554611206,
-0.02016580104827881,
0.11873235553503036,
0.4564363658428192,
0.1725957840681076,
-0.5520455241203308,
-1.0452675819396973,
-0.5391003489494324,
0.2826031446456909,
-0.44559136033058167,
-0.3782165050506592,
-0.3683776259422302,
0.22846972942352295,
-0.2092592418193817,
-0.12936148047447205,
-0.7837186455726624,
-0.6298227906227112,
-0.2102917730808258,
-0.04552746191620827,
0.4727199077606201,
0.588802695274353,
-0.07113586366176605,
0.6972689628601074,
-0.7826935052871704,
0.03585730120539665,
0.4256172776222229,
0.536870539188385,
-0.23476780951023102,
-0.7078574299812317,
-0.5110349059104919,
-0.01050364039838314,
-0.2412509024143219,
-0.655036211013794,
0.4746215343475342,
0.13585220277309418,
-0.009138941764831543,
0.6387360095977783,
-0.1264948546886444,
0.862006425857544,
-0.4060400128364563,
0.5602666735649109,
0.208647221326828,
-1.2065367698669434,
0.3863232135772705,
-0.3376861810684204,
0.16106253862380981,
0.647502064704895,
0.2396816611289978,
-0.6190051436424255,
-0.24384315311908722,
-0.2566860318183899,
-0.9882871508598328,
0.7963191270828247,
0.04274914041161537,
0.2646431028842926,
0.5410526394844055,
0.5062072277069092,
0.07277384400367737,
0.3124888241291046,
-0.7520690560340881,
-0.20870187878608704,
0.12283330410718918,
-0.4613187313079834,
0.20915299654006958,
-0.43918418884277344,
0.06509684026241302,
-0.26850125193595886,
0.9419817328453064,
-0.08729706704616547,
0.0946049913764,
-0.1382942795753479,
-0.14348435401916504,
-0.1242217868566513,
0.27099841833114624,
0.5935360789299011,
0.4426596760749817,
-0.08155122399330139,
0.2722001075744629,
0.413629949092865,
-0.5352330803871155,
0.22435587644577026,
0.2962346374988556,
0.06550222635269165,
-0.2456524819135666,
0.06330711394548416,
0.7264909148216248,
0.14611880481243134,
-0.7535173892974854,
0.45980125665664673,
-0.1151784285902977,
0.05977534130215645,
-0.2087801694869995,
-0.43968725204467773,
-0.18522153794765472,
0.2655700743198395,
0.4832489490509033,
-0.09121299535036087,
0.28495195508003235,
-0.3551027476787567,
-0.025304598733782768,
0.4925649166107178,
-0.34128618240356445,
-0.35348841547966003,
0.6981059312820435,
-0.22107884287834167,
-0.023414231836795807,
0.5296485424041748,
-0.2104220688343048,
-0.32533517479896545,
0.1573399007320404,
0.2932847738265991,
0.9660071730613708,
-0.49509838223457336,
0.2379385381937027,
0.26995569467544556,
0.12674680352210999,
-0.23231655359268188,
0.22009626030921936,
-0.20328550040721893,
-0.33836477994918823,
-0.7816653847694397,
-1.0644872188568115,
-0.16798211634159088,
0.26984262466430664,
-0.5231065154075623,
0.28974229097366333,
-0.8069900274276733,
-0.36976727843284607,
-0.46598026156425476,
0.06767848134040833,
-0.2775548994541168,
0.1293777972459793,
0.3892045319080353,
0.4769080877304077,
-0.5018609762191772,
0.95160311460495,
0.5866722464561462,
0.025543484836816788,
-0.8443744778633118,
-0.3095283806324005,
-0.11654786020517349,
-0.5246557593345642,
0.49733009934425354,
0.05573640018701553,
-0.3599284887313843,
0.10973873734474182,
-0.22505228221416473,
-1.0974581241607666,
0.9174991250038147,
0.6015849709510803,
-0.5283142328262329,
0.3492905795574188,
0.4275558590888977,
0.48106178641319275,
-0.1851416826248169,
0.19448231160640717,
0.3202674686908722,
0.4366855323314667,
0.2032867670059204,
-0.7407708764076233,
0.15759313106536865,
-0.21154312789440155,
0.31810641288757324,
0.4388977289199829,
-0.4456227719783783,
0.6158397793769836,
-0.07633773982524872,
-0.12521755695343018,
0.36799004673957825,
0.7718806266784668,
0.4607792794704437,
0.03408312797546387,
0.40483030676841736,
0.9693814516067505,
0.7662286758422852,
0.006336267571896315,
0.932639479637146,
-0.35027608275413513,
0.3870263397693634,
0.6814395189285278,
0.07981748878955841,
1.133172869682312,
0.5120251774787903,
-0.1899232566356659,
0.5659496188163757,
0.8878470659255981,
0.39429086446762085,
0.7122859358787537,
0.5286985635757446,
-0.5286695957183838,
-0.16551338136196136,
-0.17132455110549927,
-0.37638115882873535,
0.16764511168003082,
0.2581908702850342,
-0.13863219320774078,
0.023143870756030083,
0.053195931017398834,
0.5078644752502441,
-0.15963385999202728,
-0.5384492874145508,
0.6508939862251282,
0.11006495356559753,
-0.5222716331481934,
0.8162551522254944,
0.5003014802932739,
0.583949089050293,
-0.6511572599411011,
0.18084023892879486,
-0.30190879106521606,
0.24841740727424622,
-0.011063806712627411,
-0.0869002714753151,
0.46992093324661255,
0.003482274478301406,
0.05325173959136009,
-0.38535478711128235,
0.10641836374998093,
-0.4553127884864807,
-0.8246414661407471,
-0.07616621255874634,
0.08851782232522964,
0.0657874047756195,
-0.36364659667015076,
-0.3899443745613098,
0.259274959564209,
-0.3760804533958435,
-0.3706428110599518,
0.2882675528526306,
0.15360699594020844,
-0.02476225420832634,
0.6801669001579285,
0.5213995575904846,
0.1334136426448822,
0.15316037833690643,
-0.19291460514068604,
0.8032561540603638,
-0.3356689512729645,
-0.6306537389755249,
-0.9095584154129028,
0.5486735105514526,
0.14910472929477692,
-0.3606817424297333,
0.484830379486084,
0.7656134963035583,
0.29081669449806213,
0.08301753550767899,
0.6027961373329163,
0.33524689078330994,
0.23254504799842834,
-0.6974485516548157,
0.5996707081794739,
-0.7915328145027161,
0.41889655590057373,
-0.2046973556280136,
-1.2743960618972778,
-0.6560437083244324,
0.5653544664382935,
-0.3814537227153778,
-0.09012127667665482,
0.6650299429893494,
0.7682844400405884,
-0.17368727922439575,
-0.2479848563671112,
0.07820969820022583,
0.17438238859176636,
0.15802989900112152,
0.6163074374198914,
0.7012889981269836,
-0.4197871685028076,
0.6310461163520813,
-0.014857525937259197,
-0.15157894790172577,
-0.22701454162597656,
-0.6207754611968994,
-0.6677336692810059,
-0.8586114645004272,
-0.4973335266113281,
-0.30887341499328613,
0.15177977085113525,
0.9376388192176819,
1.102620244026184,
-0.6932584643363953,
-0.2161070704460144,
-0.3552563190460205,
-0.050684500485658646,
-0.03582732379436493,
-0.15708854794502258,
0.881942868232727,
-0.12168419361114502,
-0.8213195204734802,
0.2575620710849762,
0.3958640992641449,
0.08977732062339783,
-0.40894970297813416,
-0.34948456287384033,
0.3485296964645386,
0.1397208869457245,
0.570885956287384,
0.1104264184832573,
-0.5848151445388794,
-0.11988352239131927,
-0.3436634838581085,
-0.05716273933649063,
-0.18966440856456757,
0.7728508710861206,
-0.7705379128456116,
0.2375432252883911,
0.4169016182422638,
0.762337863445282,
0.688611626625061,
-0.04235616698861122,
0.5689091086387634,
-0.7381922006607056,
0.329929381608963,
0.11543916910886765,
0.3343704640865326,
0.46494901180267334,
-0.1784651130437851,
0.1702326536178589,
0.23487341403961182,
-0.2175261378288269,
-0.8399565815925598,
0.20607346296310425,
-1.047115683555603,
-0.25864148139953613,
1.0439012050628662,
-0.05916841700673103,
-0.19797873497009277,
0.13102984428405762,
-0.23295888304710388,
0.33923351764678955,
-0.3125642240047455,
1.0128612518310547,
0.42006462812423706,
0.29369470477104187,
-0.3300054371356964,
-0.3742232918739319,
0.6379280686378479,
0.6133068203926086,
-0.914393961429596,
-0.07701899111270905,
0.5024594664573669,
0.12125000357627869,
-0.22063830494880676,
0.5290985107421875,
-0.13120092451572418,
0.007989692501723766,
-0.3456958532333374,
0.197901651263237,
-0.04407624900341034,
-0.1540389209985733,
-0.5159894227981567,
0.26034584641456604,
0.17839127779006958,
-0.3923547565937042
] |
http://arxiv.org/abs/2406.00023v1
|
http://arxiv.org/pdf/2406.00023v1
|
LocMoE+: Enhanced Router with Token Feature Awareness for Efficient LLM Pre-Training
| 2024-05-24T02:50:44 | 2024-05-24T02:50:44 |
Jing Li, Zhijie Sun, Dachao Lin, Xuan He, Yi Lin, Binfan Zheng, Li Zeng, Rongqian Zhao, Xin Chen
|
cs.CL
|
cs.CL
|
Mixture-of-Experts (MoE) architectures have recently gained increasing
popularity within the domain of large language models (LLMs) due to their
ability to significantly reduce training and inference overhead. However, MoE
architectures face challenges, such as significant disparities in the number of
tokens assigned to each expert and a tendency toward homogenization among
experts, which adversely affects the model's semantic generation capabilities.
In this paper, we introduce LocMoE+, a refined version of the low-overhead
LocMoE, incorporating the following enhancements: (1) Quantification and
definition of the affinity between experts and tokens. (2) Implementation of a
global-level adaptive routing strategy to rearrange tokens based on their
affinity scores. (3) Reestimation of the lower bound for expert capacity, which
has been shown to progressively decrease as the token feature distribution
evolves. Experimental results demonstrate that, without compromising model
convergence or efficacy, the number of tokens each expert processes can be
reduced by over 60%. Combined with communication optimizations, this leads to
an average improvement in training efficiency ranging from 5.4% to 46.6%. After
fine-tuning, LocMoE+ exhibits a performance improvement of 9.7% to 14.1% across
the GDAD, C-Eval, and TeleQnA datasets.
|
[
-0.7672759294509888,
-0.6417626142501831,
0.1734859198331833,
-0.0900152325630188,
-0.3429289162158966,
0.07572775334119797,
-0.3540436327457428,
-0.7483189105987549,
0.5826970338821411,
0.4764910042285919,
-0.36133095622062683,
-0.47571179270744324,
-0.8115840554237366,
-0.06769029051065445,
-0.19058126211166382,
0.5137489438056946,
0.2271694540977478,
0.04523240774869919,
-0.10375994443893433,
-0.21336109936237335,
-0.4594089388847351,
-0.49238842725753784,
-0.6989590525627136,
-0.2538049817085266,
0.6350371241569519,
0.46590492129325867,
0.6511638164520264,
0.6271506547927856,
0.42749518156051636,
0.41407930850982666,
-0.27715566754341125,
0.4619857668876648,
-0.45939454436302185,
-0.02355160191655159,
-0.15012617409229279,
-0.5197810530662537,
-1.1498565673828125,
-0.3860935866832733,
0.48485898971557617,
0.787931501865387,
-0.14850196242332458,
-0.009621033445000648,
-0.14400307834148407,
0.7389407753944397,
-0.7634264230728149,
-0.32792025804519653,
-1.3184480667114258,
0.0018174428259953856,
-0.15343526005744934,
-0.13746076822280884,
-0.2140204757452011,
0.13401919603347778,
0.3267178237438202,
-0.7468473315238953,
0.03200310096144676,
0.168701171875,
0.5715723037719727,
0.3340000510215759,
-0.4622873365879059,
-0.16147883236408234,
-0.2441686987876892,
0.8890178203582764,
-0.7960186004638672,
0.5376585125923157,
0.16235797107219696,
0.20772305130958557,
-0.2519873082637787,
-0.4677053987979889,
-0.5133257508277893,
0.017363443970680237,
0.1869172751903534,
0.10389198362827301,
0.017996681854128838,
0.09612137079238892,
0.020737159997224808,
0.28609344363212585,
-0.03246046602725983,
0.6301422119140625,
-0.26966392993927,
-0.5017480850219727,
0.5183491110801697,
0.004791458137333393,
-0.08064883947372437,
0.15047714114189148,
-0.4292723834514618,
0.40949609875679016,
-0.6606768369674683,
-0.2298944741487503,
0.47012680768966675,
0.13674411177635193,
-0.007913480512797832,
0.44548532366752625,
-0.3449134826660156,
0.6485190987586975,
0.12942418456077576,
-0.17525531351566315,
0.6384785175323486,
0.059295643121004105,
0.03129081428050995,
0.3166838586330414,
0.7195728421211243,
0.18600401282310486,
0.09696450084447861,
-0.03171628713607788,
-0.2507602572441101,
-0.17553062736988068,
0.2222006767988205,
-0.7673277258872986,
-0.11473169177770615,
0.20600678026676178,
-0.26712852716445923,
-0.2877732515335083,
0.06952618062496185,
-0.5978781580924988,
-0.347607284784317,
-0.26821672916412354,
0.327341765165329,
-0.3889785706996918,
-0.3866581320762634,
0.3535088896751404,
-0.0294649675488472,
0.22347357869148254,
0.662807285785675,
-0.7552180290222168,
0.29243072867393494,
0.9159994125366211,
0.6116359829902649,
-0.5235214233398438,
-0.2633374035358429,
-0.8529978394508362,
0.14104868471622467,
-0.19157074391841888,
0.7377353310585022,
-0.5918667912483215,
-0.5133402347564697,
-0.13894738256931305,
-0.43684694170951843,
-0.049115438014268875,
-0.7228849530220032,
0.41880810260772705,
-0.7996984720230103,
0.2782086730003357,
-0.02364325150847435,
-0.5960882902145386,
-0.06599031388759613,
0.49976417422294617,
-0.42611774802207947,
1.0467298030853271,
-0.01355817075818777,
-0.8283745050430298,
0.3257546126842499,
-0.8697300553321838,
-0.4403272569179535,
-0.06726712733507156,
-0.11390463262796402,
-0.20202749967575073,
0.22941479086875916,
0.313629150390625,
0.3629654347896576,
-0.11975780129432678,
0.1140652522444725,
-0.230685293674469,
-0.3803882598876953,
0.010277260094881058,
-0.4169231057167053,
0.48210063576698303,
0.20946358144283295,
-0.3526068329811096,
0.40128153562545776,
-1.2165138721466064,
0.038420021533966064,
-0.15181989967823029,
-0.5501447319984436,
-0.4525182843208313,
-0.030454954132437706,
-0.4277209937572479,
0.07432296127080917,
0.5475624799728394,
-0.42900773882865906,
0.16664442420005798,
-0.47934550046920776,
0.1706051379442215,
1.0240514278411865,
-0.13046479225158691,
0.4954706132411957,
-0.10993346571922302,
0.24200814962387085,
0.4178752303123474,
0.26944416761398315,
-0.0269010029733181,
-0.649071991443634,
-1.2549879550933838,
-0.5728117227554321,
0.13554364442825317,
0.5137767791748047,
-0.8407613635063171,
1.0207992792129517,
-0.5489144921302795,
-0.43831169605255127,
-0.6777098178863525,
0.5044784545898438,
0.3669792413711548,
0.6829907298088074,
0.4125009775161743,
-0.48390182852745056,
-0.35462623834609985,
-0.7599061131477356,
-0.11590247601270676,
0.0007562499376945198,
0.016973912715911865,
0.42039480805397034,
0.02749285288155079,
-0.5846624374389648,
0.8460530042648315,
-0.44590386748313904,
-0.020396923646330833,
-0.27998366951942444,
-0.11483888328075409,
0.14678505063056946,
0.5357167720794678,
0.4141296148300171,
-0.7339773774147034,
-0.4308330714702606,
0.3422318398952484,
-0.4096936881542206,
-0.08097775280475616,
0.2843623161315918,
-0.4574293792247772,
0.19898702204227448,
0.4256291687488556,
-0.49141982197761536,
0.1372944861650467,
0.6262881755828857,
-0.2351517379283905,
0.2185353934764862,
-0.22976486384868622,
-0.08371888101100922,
-1.2316012382507324,
-0.1930442899465561,
-0.32200711965560913,
-0.3285106420516968,
-0.6237945556640625,
-0.04473312571644783,
-0.25405359268188477,
0.06343551725149155,
-0.5819693803787231,
0.6479867100715637,
-0.32662633061408997,
-0.018910113722085953,
-0.21827858686447144,
0.4973999559879303,
0.019390584900975227,
0.6534186005592346,
0.05417490005493164,
0.5741374492645264,
0.7799217104911804,
-0.8279772400856018,
0.31716635823249817,
0.09377646446228027,
-0.2755418121814728,
0.5314382314682007,
-0.4641357958316803,
0.3971855044364929,
0.01971275359392166,
-0.14454379677772522,
-0.6516843438148499,
-0.15267488360404968,
0.24137936532497406,
-0.2728021442890167,
0.27166104316711426,
0.055323466658592224,
-0.31670501828193665,
-0.2175799310207367,
-0.45792356133461,
0.4265806972980499,
0.5900909900665283,
-0.43295639753341675,
0.9534744620323181,
0.29124847054481506,
0.003031334141269326,
-0.5634552836418152,
-0.48242324590682983,
0.036201734095811844,
-0.16063597798347473,
-0.6420146822929382,
0.0957842767238617,
-0.004473880399018526,
-0.11548095941543579,
-0.1889311969280243,
-0.1102566346526146,
0.061445947736501694,
0.33007901906967163,
0.033044397830963135,
0.12046068906784058,
-0.2698667645454407,
0.20700305700302124,
0.2324780970811844,
-0.2172204703092575,
-0.11362515389919281,
-0.5329766273498535,
0.7946206331253052,
-0.004383419174700975,
-0.7338160276412964,
-0.48544853925704956,
0.19810491800308228,
0.5215680003166199,
-0.4089365303516388,
0.8195484280586243,
0.8032969236373901,
-0.09764903783798218,
0.0018776273354887962,
-0.8497041463851929,
-0.028161007910966873,
-0.5988940596580505,
0.6873491406440735,
-0.3936276137828827,
-1.0198898315429688,
0.6262763738632202,
-0.23456233739852905,
0.11216355860233307,
0.46567946672439575,
0.42994293570518494,
0.2082234025001526,
0.6565128564834595,
0.4625066816806793,
-0.4434797465801239,
0.6918907165527344,
-0.09010107070207596,
0.041775915771722794,
-0.9955403208732605,
-0.31755244731903076,
-0.3538684844970703,
-0.3933945894241333,
-0.64799565076828,
-0.5547730326652527,
0.5127397775650024,
0.09548809379339218,
-0.24199099838733673,
0.025820685550570488,
-0.2921774983406067,
0.32653650641441345,
0.6434668898582458,
0.22487133741378784,
0.4552464783191681,
0.09372017532587051,
-0.051327046006917953,
0.3788206875324249,
-1.0893508195877075,
-0.3558676838874817,
1.0443453788757324,
0.42863214015960693,
0.5157152414321899,
0.15968984365463257,
0.8123188018798828,
0.18388745188713074,
0.36521294713020325,
-0.7377004027366638,
0.8126375079154968,
-0.1502857506275177,
-0.3773380219936371,
-0.308287113904953,
-0.6133311986923218,
-0.6634737253189087,
0.3326697051525116,
-0.4412637948989868,
-0.6279136538505554,
0.23659366369247437,
0.46981510519981384,
-0.025187555700540543,
0.5141133666038513,
-0.7330917119979858,
0.4303380846977234,
-0.3803112208843231,
-0.27817657589912415,
-0.4193640947341919,
-0.4796326458454132,
0.2303594946861267,
-0.3233950734138489,
0.23052328824996948,
-0.19515323638916016,
-0.5223594307899475,
0.5746825337409973,
-0.6979119777679443,
0.694311261177063,
-0.32713061571121216,
-0.30970627069473267,
0.4340321719646454,
-0.2254980355501175,
0.8622732758522034,
-0.2729882597923279,
-0.6131301522254944,
0.363890141248703,
-0.7080305814743042,
-0.5220354795455933,
-0.4740181565284729,
0.7184375524520874,
-0.9266961812973022,
-0.7142770886421204,
0.3667196035385132,
-0.3653453588485718,
-0.4731798768043518,
0.38403141498565674,
0.31883183121681213,
0.4402170777320862,
0.1295752376317978,
0.18441002070903778,
0.8959916830062866,
-0.31165611743927,
0.10768468677997589,
0.3490200340747833,
-0.22410766780376434,
-0.6295042634010315,
0.9110428690910339,
-0.04339960590004921,
0.6117708086967468,
0.45810556411743164,
0.22722139954566956,
0.0876588523387909,
-0.8417890071868896,
-0.28398460149765015,
-0.07966667413711548,
-0.7766334414482117,
-0.19568268954753876,
-0.8034602403640747,
-0.11803757399320602,
-0.24777501821517944,
-0.2776286005973816,
-0.5913178324699402,
-0.4981074929237366,
-0.40165552496910095,
-0.02385810576379299,
0.4526161849498749,
0.36703717708587646,
0.35281556844711304,
0.8273099660873413,
-0.7915492057800293,
0.20145416259765625,
0.4173069894313812,
0.4874998927116394,
0.23433521389961243,
-0.666329562664032,
-0.42329245805740356,
-0.06772589683532715,
-0.11634846776723862,
-0.19817011058330536,
-0.11388758569955826,
0.29821935296058655,
0.6740198135375977,
0.842165470123291,
-0.049009062349796295,
0.744568943977356,
-0.5838937163352966,
0.6647423505783081,
0.34934356808662415,
-0.9636225700378418,
0.3539866805076599,
-0.3419593870639801,
0.1937662661075592,
0.4893876314163208,
0.10155149549245834,
-0.10367275029420853,
-0.45549458265304565,
-0.5533342957496643,
-0.9632667303085327,
0.35005149245262146,
-0.02055628038942814,
0.40724265575408936,
-0.1459612399339676,
0.3302880823612213,
0.2483895868062973,
0.3728737235069275,
-0.30553919076919556,
-0.13229775428771973,
-0.19355088472366333,
-0.29593127965927124,
0.19550101459026337,
-0.3656211197376251,
-0.02711399644613266,
-0.17948687076568604,
0.6402927041053772,
-0.08246801793575287,
0.11809156090021133,
0.04558797553181648,
-0.07845470309257507,
0.08708322048187256,
0.3402525782585144,
0.5375074148178101,
0.6468555927276611,
-0.12492463737726212,
0.10400378704071045,
0.5918338298797607,
-0.48044779896736145,
-0.09259692579507828,
-0.07409067451953888,
0.06333481520414352,
0.020595446228981018,
0.6267958283424377,
0.9119537472724915,
0.1941748708486557,
-0.6479550004005432,
0.4242088794708252,
0.20986361801624298,
-0.19675453007221222,
-0.0007850659312680364,
0.6724283695220947,
0.03670134022831917,
0.12472429871559143,
0.2973158657550812,
0.2271450012922287,
0.04692690819501877,
-0.3377942740917206,
-0.06826479732990265,
0.5199731588363647,
-0.23945078253746033,
-0.18084166944026947,
0.40583544969558716,
0.8642576932907104,
-0.27200764417648315,
0.43392741680145264,
-0.07096189260482788,
-0.6178104281425476,
0.3939753472805023,
0.22291240096092224,
0.7056426405906677,
-0.08682198077440262,
-0.404798299074173,
-0.053571730852127075,
0.09474123269319534,
0.25520458817481995,
0.22814425826072693,
-0.1260906606912613,
-1.0162639617919922,
-0.25072959065437317,
-0.4827224612236023,
-0.32011178135871887,
-0.3069453835487366,
-0.6329054832458496,
0.31987735629081726,
-0.5006418228149414,
-0.3143560290336609,
-0.3477313220500946,
-0.17630819976329803,
-0.7347225546836853,
0.03868037834763527,
0.0203534048050642,
1.2173799276351929,
-0.2540229558944702,
0.9052680134773254,
0.7804018259048462,
0.3462536633014679,
-0.5631784796714783,
-0.07836557179689407,
-0.3367993235588074,
-1.0326098203659058,
0.6087764501571655,
0.08915931731462479,
-0.5123177766799927,
0.15719354152679443,
-0.2433219701051712,
-0.6662618517875671,
1.2088028192520142,
0.29902219772338867,
-0.8676109910011292,
0.27006542682647705,
0.13156375288963318,
0.4084702432155609,
-0.4981451630592346,
0.10014018416404724,
0.09012395888566971,
0.34659501910209656,
0.2784130573272705,
-0.9169755578041077,
-0.31535324454307556,
-0.05303417518734932,
-0.0016047490062192082,
0.23967239260673523,
-0.8184760212898254,
0.6078868508338928,
-0.1667684018611908,
0.23564442992210388,
0.01634814962744713,
0.8767260909080505,
0.20377764105796814,
0.1855037361383438,
0.8618911504745483,
0.5458263754844666,
1.0398308038711548,
0.1672298163175583,
0.7795447707176208,
-0.5457448959350586,
0.004112008959054947,
1.1261000633239746,
-0.33923235535621643,
0.9408931136131287,
0.5805344581604004,
0.06530288606882095,
0.5001299381256104,
0.35407254099845886,
0.44456204771995544,
0.4656713604927063,
0.06687040627002716,
-0.4181579053401947,
-0.48143523931503296,
-0.11812678724527359,
-0.4907642602920532,
0.3713746666908264,
0.17149558663368225,
-0.3133346438407898,
0.03195422142744064,
-0.03622709959745407,
0.1286180019378662,
-0.12682168185710907,
-0.8533174395561218,
0.9700270295143127,
-0.04778916761279106,
-0.34051352739334106,
0.4633568525314331,
-0.0403197817504406,
1.028913140296936,
-0.8249505758285522,
0.2900187075138092,
-0.29668375849723816,
0.2876570522785187,
-0.2642553746700287,
-0.3793562650680542,
-0.08377880603075027,
0.038435377180576324,
0.011392072774469852,
0.13116955757141113,
0.7468540668487549,
-0.37634333968162537,
-0.6204254627227783,
0.32513362169265747,
0.5605807900428772,
0.06739989668130875,
0.039365313947200775,
-0.44703689217567444,
0.2719382345676422,
-0.02377355471253395,
-0.3918793499469757,
0.39298832416534424,
0.8774498701095581,
0.026259100064635277,
0.8564922213554382,
0.5444434881210327,
0.28668129444122314,
0.4067192077636719,
0.17619945108890533,
1.253070592880249,
-0.31706738471984863,
-0.36981847882270813,
-0.6433199048042297,
0.6348170638084412,
-0.2400529384613037,
-0.3129439949989319,
0.585409939289093,
0.5700083374977112,
0.9489075541496277,
-0.011205111630260944,
0.5678495168685913,
0.24295303225517273,
0.2735058665275574,
-0.8202630877494812,
0.38640326261520386,
-0.599395751953125,
0.6693152785301208,
-0.10601191967725754,
-0.8627476692199707,
-0.1481814682483673,
0.3657052218914032,
-0.3500518500804901,
0.1769939363002777,
0.15139666199684143,
0.6820759177207947,
-0.24123097956180573,
-0.3404200077056885,
0.4104960858821869,
0.14027254283428192,
0.44224029779434204,
0.3295760452747345,
0.6496123671531677,
-0.2207231968641281,
0.35805782675743103,
-0.01651034690439701,
-0.1451057493686676,
-0.4509967863559723,
-0.9756922721862793,
-1.0557483434677124,
0.07064938545227051,
-0.36329570412635803,
0.10556632280349731,
0.1059495285153389,
1.2916769981384277,
0.7915646433830261,
-0.6808609366416931,
0.014910792000591755,
0.010163442231714725,
0.33183717727661133,
0.1426089107990265,
-0.12585507333278656,
0.30040955543518066,
-0.5128245949745178,
-0.6122854948043823,
0.15222236514091492,
0.32458892464637756,
-0.031600434333086014,
-0.22968387603759766,
-0.4215158522129059,
0.056408949196338654,
0.16111963987350464,
0.7460224032402039,
-0.14611776173114777,
-0.5591717958450317,
-0.3620219826698303,
-0.2102101445198059,
0.09204868972301483,
0.16681331396102905,
0.6756352782249451,
-0.6824559569358826,
0.4699834883213043,
0.31564661860466003,
0.7901746034622192,
-0.015705276280641556,
0.12363975495100021,
0.4290061295032501,
-0.7708912491798401,
0.5247443914413452,
0.04452032968401909,
0.4725092053413391,
0.22775225341320038,
-0.3953399658203125,
0.18136444687843323,
0.26719793677330017,
-0.23746946454048157,
-0.6051183342933655,
0.2704438865184784,
-0.9928866624832153,
-0.04519259184598923,
1.0252515077590942,
-0.18680809438228607,
-0.13926365971565247,
0.06901198625564575,
-0.30502715706825256,
-0.04710584878921509,
-0.5324328541755676,
0.6676484942436218,
0.4487014710903168,
-0.11940217763185501,
-0.0394185446202755,
-0.2967756688594818,
0.051823992282152176,
0.41422101855278015,
-0.9804046154022217,
-0.13423199951648712,
0.37659525871276855,
0.20464526116847992,
0.12677541375160217,
0.5863731503486633,
0.08789178729057312,
-0.07919327169656754,
-0.19136865437030792,
0.07633756101131439,
-0.42691683769226074,
-0.33088475465774536,
0.056972112506628036,
0.020333843305706978,
0.4129229784011841,
-0.29449450969696045
] |
http://arxiv.org/abs/2405.15165v1
|
http://arxiv.org/pdf/2405.15165v1
|
A Solution-based LLM API-using Methodology for Academic Information Seeking
| 2024-05-24T02:44:14 | 2024-05-24T02:44:14 |
Yuanchun Wang, Jifan Yu, Zijun Yao, Jing Zhang, Yuyang Xie, Shangqing Tu, Yiyang Fu, Youhe Feng, Jinkai Zhang, Jingyao Zhang, Bowen Huang, Yuanyao Li, Huihui Yuan, Lei Hou, Juanzi Li, Jie Tang
|
cs.CL
|
cs.CL, cs.AI, cs.SE
|
Applying large language models (LLMs) for academic API usage shows promise in
reducing researchers' academic information seeking efforts. However, current
LLM API-using methods struggle with complex API coupling commonly encountered
in academic queries. To address this, we introduce SoAy, a solution-based LLM
API-using methodology for academic information seeking. It uses code with a
solution as the reasoning method, where a solution is a pre-constructed API
calling sequence. The addition of the solution reduces the difficulty for the
model to understand the complex relationships between APIs. Code improves the
efficiency of reasoning.
To evaluate SoAy, we introduce SoAyBench, an evaluation benchmark accompanied
by SoAyEval, built upon a cloned environment of APIs from AMiner. Experimental
results demonstrate a 34.58-75.99\% performance improvement compared to
state-of-the-art LLM API-based baselines. All datasets, codes, tuned models,
and deployed online services are publicly accessible at
https://github.com/RUCKBReasoning/SoAy.
|
[
-0.04529350623488426,
-0.4101635217666626,
0.9007261991500854,
0.1998935043811798,
-0.006289320532232523,
0.2846374213695526,
-0.1860993206501007,
-0.5205510854721069,
0.18868328630924225,
0.4907134175300598,
-0.7901715040206909,
-0.6844975352287292,
-0.17123059928417206,
0.25945451855659485,
-0.3021858036518097,
0.703828752040863,
-0.09419187158346176,
0.3483964800834656,
-0.48834025859832764,
-0.04984273016452789,
-0.008236877620220184,
-0.1535542905330658,
-0.6217793822288513,
-0.3292964994907379,
0.41698360443115234,
0.5106021761894226,
0.2453884482383728,
0.8585135340690613,
0.8524614572525024,
0.15094922482967377,
0.06318642944097519,
0.1006031185388565,
-0.7762189507484436,
0.1761590987443924,
-0.392657071352005,
-0.8959836363792419,
-0.15462137758731842,
-0.06121797114610672,
0.26024267077445984,
0.5063052773475647,
-0.1116030216217041,
0.6469418406486511,
-0.19661079347133636,
0.5746073126792908,
-0.7040887475013733,
0.07230974733829498,
-0.46325236558914185,
-0.21044927835464478,
-0.5240766406059265,
-0.47414430975914,
-0.34145388007164,
-0.6022831201553345,
0.5323312878608704,
-0.6884127855300903,
-0.103078193962574,
0.2951558828353882,
0.6783570051193237,
0.20532502233982086,
0.07814214378595352,
-0.6755269765853882,
-0.45109450817108154,
1.010061502456665,
-0.7782524824142456,
0.4797789454460144,
0.44213467836380005,
0.33567699790000916,
-0.26422950625419617,
-0.7274793982505798,
-0.5345972776412964,
-0.29176342487335205,
0.22702518105506897,
0.20562392473220825,
0.18452110886573792,
-0.15351133048534393,
-0.03745964914560318,
0.2183765470981598,
-0.4491252601146698,
-0.21427223086357117,
-0.4333557188510895,
0.09746851772069931,
0.6026784777641296,
-0.09548602998256683,
0.24730154871940613,
-0.1141149178147316,
-0.5873280763626099,
0.05022186413407326,
-0.8364163637161255,
-0.04476398974657059,
0.44831472635269165,
0.35970455408096313,
0.3018130362033844,
0.5806611180305481,
0.08641672879457474,
0.26197484135627747,
-0.38420870900154114,
-0.22799065709114075,
0.14964106678962708,
-0.212937593460083,
0.04368993267416954,
0.0017993197543546557,
0.4600893259048462,
0.5439574718475342,
0.117945097386837,
-0.2520606815814972,
-0.3242220878601074,
-0.035955023020505905,
0.0760989859700203,
-0.6894665360450745,
-0.0016976316692307591,
0.5657228827476501,
-0.5350564122200012,
0.24155527353286743,
-0.12211786210536957,
-0.7634410858154297,
-0.38687288761138916,
-0.5148142576217651,
0.27941539883613586,
-0.5990889668464661,
-0.15613965690135956,
-0.08252115547657013,
-0.0517522357404232,
0.3173990547657013,
0.2679350972175598,
-0.43977317214012146,
0.2726373076438904,
0.8059621453285217,
0.984116792678833,
-0.4656809866428375,
-0.24759632349014282,
-0.4787265658378601,
0.07378876954317093,
-0.18253855407238007,
1.0205286741256714,
-0.6898361444473267,
-0.39418163895606995,
0.22645343840122223,
-0.26655951142311096,
0.27897587418556213,
-1.0198725461959839,
0.6612042188644409,
-0.810314416885376,
-0.3964037001132965,
-0.19851769506931305,
-0.7947177886962891,
0.13588525354862213,
0.13568899035453796,
-0.6039931774139404,
1.2013294696807861,
0.0006830667261965573,
-0.3019847571849823,
0.08662834018468857,
-0.7475902438163757,
-0.10454047471284866,
0.3886212110519409,
-0.3745298981666565,
-0.1489606499671936,
0.04735983535647392,
-0.25940337777137756,
0.07951755076646805,
-0.5440633893013,
0.10397330671548843,
-0.16723929345607758,
-0.6096128225326538,
0.05460358411073685,
0.2989925444126129,
0.659941554069519,
0.43686825037002563,
-0.2409183382987976,
-0.017648106440901756,
-1.1124125719070435,
0.06992313265800476,
0.18359942734241486,
-0.5090919733047485,
-0.7028266787528992,
-0.08749352395534515,
0.3208131790161133,
-0.37738803029060364,
0.5881925821304321,
-0.6721139550209045,
0.26664450764656067,
-0.30609551072120667,
0.36283454298973083,
0.7002665400505066,
-0.48021355271339417,
0.37019431591033936,
-0.18805868923664093,
0.42145827412605286,
-0.6673387289047241,
-0.12351275235414505,
-0.15691356360912323,
-0.154611736536026,
-0.4012942314147949,
-0.4146699607372284,
0.2955010235309601,
0.6250717639923096,
-0.6887021660804749,
-0.17515890300273895,
0.02921721711754799,
-0.44797953963279724,
-0.8718236088752747,
0.18623603880405426,
0.5779803395271301,
0.24911703169345856,
0.5635917782783508,
0.3268031179904938,
-0.7995324730873108,
-0.5438951849937439,
-0.5708300471305847,
-0.15839029848575592,
-0.28888842463493347,
0.5541699528694153,
0.43432897329330444,
-0.4651692509651184,
1.009979248046875,
-0.4956884980201721,
-0.21274465322494507,
-0.17722024023532867,
0.2936815917491913,
0.3627752959728241,
0.09286996722221375,
0.42721468210220337,
-0.7441361546516418,
-0.5177739858627319,
-0.06845460832118988,
-0.9458198547363281,
-0.6419661045074463,
0.04273547604680061,
-0.3736240565776825,
0.03738326206803322,
0.5944789052009583,
-0.32401031255722046,
0.42953363060951233,
0.33649224042892456,
-0.10934999585151672,
0.7909594178199768,
0.10144386440515518,
0.14676757156848907,
-0.7144933938980103,
0.16263923048973083,
0.09138376265764236,
-0.15130488574504852,
-0.44198042154312134,
0.6755838990211487,
0.20894603431224823,
-0.06066269055008888,
-0.42670705914497375,
0.6251697540283203,
-0.475627601146698,
0.016247203573584557,
-0.4657857120037079,
0.4064996838569641,
-0.06178610771894455,
-0.010219900868833065,
-0.23182030022144318,
1.295291543006897,
0.49673718214035034,
-0.6041209697723389,
0.3072283864021301,
0.2231522500514984,
-0.2067534476518631,
0.8206349015235901,
-0.551710307598114,
0.12114565074443817,
-0.20062975585460663,
-0.03919832035899162,
-0.7918704748153687,
-0.12631337344646454,
-0.23251648247241974,
-0.10640005767345428,
0.04455167427659035,
-0.1855781078338623,
-0.3750028610229492,
-0.19271917641162872,
-0.6082668900489807,
0.6672226190567017,
0.12255458533763885,
-0.9652363061904907,
0.6884313821792603,
0.28876352310180664,
-0.4725038409233093,
-0.4595133364200592,
-0.5635029077529907,
0.12003398686647415,
-0.12538409233093262,
-0.5526970624923706,
0.6338672637939453,
-0.26872536540031433,
-0.39370813965797424,
-0.02245408296585083,
-0.5001370906829834,
0.017396951094269753,
-0.1577123999595642,
-0.0010445634834468365,
0.7059153914451599,
-0.2281959503889084,
0.19133326411247253,
-0.386297345161438,
-0.1405235230922699,
0.10342176258563995,
-0.5913794636726379,
0.6066558361053467,
-0.06528247147798538,
-0.3603087067604065,
-0.43249034881591797,
0.3091958463191986,
0.4759519696235657,
-0.22370952367782593,
0.595386803150177,
-0.04480786994099617,
-0.21701127290725708,
-0.28048408031463623,
-0.7228214144706726,
-0.3362118899822235,
-0.44027063250541687,
0.19370228052139282,
-0.3319527506828308,
-0.8459561467170715,
0.5877063870429993,
-0.6165755987167358,
0.17045755684375763,
-0.01984599232673645,
0.2102639377117157,
-0.342560350894928,
0.45620501041412354,
0.5087502002716064,
0.15155629813671112,
0.45707449316978455,
-0.471838116645813,
0.3952770233154297,
-0.7092905044555664,
-0.2866726517677307,
-0.6848682165145874,
-0.2458573430776596,
-0.2826034724712372,
-0.3207097053527832,
0.2155393660068512,
0.19165799021720886,
0.06688687205314636,
0.25315728783607483,
-0.31893306970596313,
0.5815324187278748,
0.7680324912071228,
-0.12524479627609253,
0.6675027012825012,
-0.07275965809822083,
-0.055192358791828156,
-0.11834456771612167,
-0.24113111197948456,
-0.7806122303009033,
1.4203553199768066,
0.09507478028535843,
1.0273727178573608,
0.2704830467700958,
0.8484666347503662,
-0.017579220235347748,
0.22394594550132751,
-0.7219372391700745,
0.6911385655403137,
-0.08977454155683517,
-0.4651544690132141,
-0.22423483431339264,
-0.6958330273628235,
-0.7792247533798218,
-0.1057981476187706,
-0.08925890922546387,
-0.9360141754150391,
0.0218255165964365,
-0.11261875182390213,
-0.3238537609577179,
0.059506628662347794,
-0.5157803297042847,
0.38975054025650024,
-0.319367378950119,
-0.7517224550247192,
-0.041161660104990005,
-0.38493314385414124,
0.05305866897106171,
-0.10525551438331604,
0.4712223410606384,
-0.19725333154201508,
0.06591733545064926,
0.6171839237213135,
-0.43326660990715027,
0.17301474511623383,
-0.057358767837285995,
-0.04448854178190231,
0.42358893156051636,
0.005555387120693922,
0.5098339319229126,
0.25733664631843567,
-0.3840327858924866,
0.2090451419353485,
0.29222571849823,
-0.3736230731010437,
-0.4207271933555603,
0.9589026570320129,
-0.6612395644187927,
-0.534014880657196,
-0.3808298110961914,
-0.6590355634689331,
0.0534229502081871,
0.44216546416282654,
0.08355014771223068,
0.33923354744911194,
0.2381538450717926,
0.28753894567489624,
0.7903340458869934,
-0.058333978056907654,
0.2740508019924164,
0.7971920371055603,
-0.6654810309410095,
0.11165132373571396,
0.8220119476318359,
0.3735390305519104,
0.0007898807525634766,
0.3224968910217285,
0.1450599581003189,
-0.6173749566078186,
-0.6472656726837158,
-0.37881433963775635,
0.30546531081199646,
-0.40447840094566345,
-0.3377443552017212,
-0.48926842212677,
-0.09984472393989563,
-0.3396005928516388,
-0.05678071826696396,
-0.577714204788208,
-0.0011091431370005012,
-0.12889470160007477,
0.04953395947813988,
0.4478364586830139,
0.3413764238357544,
0.15792261064052582,
0.27630671858787537,
-0.5754820704460144,
0.35758891701698303,
0.1426444947719574,
0.7434922456741333,
-0.14696557819843292,
-0.33057111501693726,
-0.2526852786540985,
-0.25356823205947876,
-0.08373232930898666,
-0.7446371912956238,
0.03369170054793358,
0.28752419352531433,
0.6460167765617371,
0.13532589375972748,
0.35300037264823914,
0.6201094388961792,
-0.47305721044540405,
0.29749825596809387,
-0.20145708322525024,
-0.6618809103965759,
0.7547957301139832,
-0.27589496970176697,
0.24471721053123474,
0.9860495924949646,
0.6023009419441223,
-0.008567922748625278,
-0.4679516553878784,
-0.11029971390962601,
-1.17006254196167,
0.5741614103317261,
0.09976868331432343,
-0.12698762118816376,
0.07581330835819244,
0.6334103345870972,
0.20630811154842377,
0.2330745905637741,
-0.5182487964630127,
-0.4744639992713928,
0.2876157760620117,
-0.3779032528400421,
0.5170108079910278,
-0.23742733895778656,
-0.21416319906711578,
0.16684263944625854,
0.8037098050117493,
-0.11892149597406387,
-0.09113828837871552,
0.24671444296836853,
-0.11681338399648666,
-0.0424899198114872,
0.2991800308227539,
-0.08778809010982513,
0.9878613948822021,
-0.597169041633606,
0.13438519835472107,
-0.10166811943054199,
-0.5925896167755127,
0.019687039777636528,
0.29322460293769836,
-0.4428875148296356,
-0.00763101177290082,
0.07716596871614456,
0.1505882889032364,
0.18483537435531616,
-1.5248910188674927,
0.380802184343338,
-0.1814497411251068,
-0.137388214468956,
-0.22161073982715607,
0.08391805738210678,
0.29334861040115356,
0.6288332343101501,
0.8900234699249268,
-0.1664881855249405,
0.6413602232933044,
-0.7266612648963928,
0.13117901980876923,
0.26976051926612854,
-0.07810802012681961,
0.04167329519987106,
0.5905358791351318,
-0.023925920948386192,
-0.6148874759674072,
0.3680896759033203,
-0.2011847198009491,
-0.16618035733699799,
0.34983691573143005,
0.888995349407196,
0.3243420422077179,
-0.15372590720653534,
0.10071800649166107,
0.06550850719213486,
-0.2584710717201233,
-0.3988848924636841,
0.7256678342819214,
0.2051362544298172,
-0.31492117047309875,
-0.5806701183319092,
-0.83183354139328,
-0.6223291158676147,
0.1759042888879776,
-0.7323958873748779,
0.3441588580608368,
-0.6125058531761169,
-0.15898562967777252,
-0.07094654440879822,
-0.08795758336782455,
-0.43754497170448303,
-0.09756187349557877,
-0.2484707534313202,
1.2054107189178467,
-0.36469215154647827,
0.3344815969467163,
1.1978669166564941,
-0.24601584672927856,
-0.8152433633804321,
-0.019900353625416756,
0.21188472211360931,
-0.7371522188186646,
0.4103129506111145,
0.27970096468925476,
-0.4936460256576538,
0.13102537393569946,
-0.680297315120697,
-0.8634719252586365,
1.0768343210220337,
0.5076339840888977,
-0.8410303592681885,
0.37030279636383057,
0.046190764755010605,
0.5577068328857422,
-0.31722477078437805,
0.40072953701019287,
0.9469713568687439,
0.2782273292541504,
0.4462246298789978,
-0.6377347707748413,
-0.2647669017314911,
-0.4443279802799225,
-0.19223536550998688,
0.11267764866352081,
-0.6416686773300171,
0.6330951452255249,
-0.02826261706650257,
-0.3103848099708557,
0.2523497939109802,
0.48735764622688293,
0.8985987901687622,
0.8864886164665222,
0.08830771595239639,
0.5718212127685547,
1.0850785970687866,
0.12177331000566483,
0.7136352062225342,
-0.4071149528026581,
0.43920010328292847,
1.1752878427505493,
-0.5229799747467041,
1.1489540338516235,
0.7713470458984375,
-0.37092339992523193,
0.4033697545528412,
0.3705194294452667,
0.07035019993782043,
0.6513283848762512,
0.4478168785572052,
-0.3642982244491577,
0.19783051311969757,
-0.4682551622390747,
-0.3867173492908478,
0.30231043696403503,
0.1288248598575592,
0.08648223429918289,
-0.12194766104221344,
0.04111814871430397,
0.0237977746874094,
0.6373311281204224,
-0.44968822598457336,
0.5797489881515503,
0.07329607009887695,
-0.4808376431465149,
0.2343122661113739,
-0.004555908963084221,
0.6794543862342834,
-0.3265016973018646,
-0.038888197392225266,
-0.369565486907959,
0.16435323655605316,
-0.31742042303085327,
-0.5137451887130737,
0.17481832206249237,
0.2562064826488495,
-0.22926995158195496,
-0.04016614705324173,
0.6270296573638916,
-0.25092461705207825,
-0.45283010601997375,
0.6522070169448853,
0.48101624846458435,
0.3309763967990875,
0.10759288817644119,
-0.3960687518119812,
0.19707909226417542,
-0.08781801164150238,
-0.03640129044651985,
0.2972012162208557,
0.5125457048416138,
-0.017366068437695503,
0.7901081442832947,
0.7925378084182739,
0.25938212871551514,
0.1514938920736313,
0.30407634377479553,
0.894307017326355,
-0.4649496078491211,
-0.3844291567802429,
-0.8287147283554077,
0.07455042004585266,
-0.054607097059488297,
-0.11802026629447937,
0.589801549911499,
0.900380551815033,
0.9711321592330933,
0.10221833735704422,
0.9062281250953674,
0.11182129383087158,
0.9080173969268799,
-0.5161288976669312,
0.444841593503952,
-0.7316268086433411,
0.8751879334449768,
-0.09628646820783615,
-1.2267378568649292,
-0.3358100354671478,
0.852784276008606,
-0.5054755806922913,
-0.23067046701908112,
0.5804951786994934,
0.9184036254882812,
-0.03874954208731651,
0.2932332158088684,
-0.15658354759216309,
0.14288993179798126,
0.2524908781051636,
0.11907266825437546,
1.0599974393844604,
-0.3245493173599243,
0.6480991244316101,
0.3121032118797302,
-0.7617794275283813,
-0.759365439414978,
-0.7101561427116394,
-0.8324767351150513,
0.025347506627440453,
-0.045027781277894974,
-0.2878754436969757,
0.429841548204422,
1.2197610139846802,
0.5838802456855774,
-0.8903303146362305,
-0.4368557631969452,
-0.184707373380661,
-0.05906568095088005,
-0.03362298756837845,
-0.22056575119495392,
0.22682391107082367,
-0.49825769662857056,
-0.7500835657119751,
0.5226647853851318,
0.511282205581665,
-0.45325011014938354,
-0.23617567121982574,
-0.05129154026508331,
-0.46914660930633545,
0.24959857761859894,
0.16729722917079926,
0.347385972738266,
-0.4473491311073303,
-0.0864359587430954,
0.4144327938556671,
-0.27509352564811707,
0.050821177661418915,
0.760657012462616,
-0.5023110508918762,
0.46450453996658325,
0.304293692111969,
1.044433355331421,
0.6936421990394592,
0.0746409147977829,
0.35494887828826904,
-0.5630572438240051,
-0.16013795137405396,
0.2406987100839615,
0.12803372740745544,
0.10634199529886246,
-0.43150222301483154,
0.7801433205604553,
0.015043152496218681,
-0.7222798466682434,
-0.8701256513595581,
0.0005026410217396915,
-0.7336103916168213,
-0.2532420754432678,
0.8250257968902588,
-0.3919120728969574,
-0.38736867904663086,
-0.21071113646030426,
-0.4002474844455719,
0.007153576705604792,
-0.6573044061660767,
1.024558424949646,
0.47316327691078186,
-0.2843364477157593,
-0.16159017384052277,
-0.8647072315216064,
0.13537779450416565,
0.4119229316711426,
-0.7808468341827393,
-0.16681347787380219,
0.09882102906703949,
0.07471008598804474,
0.565804123878479,
0.5612037181854248,
0.00741582689806819,
0.14627361297607422,
-0.1200583204627037,
0.10494008660316467,
0.05089189484715462,
-0.5162017345428467,
0.38514941930770874,
0.1799415946006775,
0.1274859458208084,
0.0799131840467453
] |
http://arxiv.org/abs/2405.15152v1
|
http://arxiv.org/pdf/2405.15152v1
|
Machine Unlearning in Large Language Models
| 2024-05-24T02:12:51 | 2024-05-24T02:12:51 |
Saaketh Koundinya Gundavarapu, Shreya Agarwal, Arushi Arora, Chandana Thimmalapura Jagadeeshaiah
|
cs.CL
|
cs.CL, cs.AI
|
Machine unlearning, a novel area within artificial intelligence, focuses on
addressing the challenge of selectively forgetting or reducing undesirable
knowledge or behaviors in machine learning models, particularly in the context
of large language models (LLMs). This paper introduces a methodology to align
LLMs, such as Open Pre-trained Transformer Language Models, with ethical,
privacy, and safety standards by leveraging the gradient ascent algorithm for
knowledge unlearning. Our approach aims to selectively erase or modify learned
information in LLMs, targeting harmful responses and copyrighted content. This
paper presents a dual-pronged approach to enhance the ethical and safe behavior
of large language models (LLMs) by addressing the issues of harmful responses
and copyrighted content. To mitigate harmful responses, we applied gradient
ascent on the PKU dataset, achieving a 75\% reduction in harmful responses for
Open Pre-trained Transformer Language Models (OPT1.3b and OPT2.7b)
\citet{zhang2022opt} while retaining previous knowledge using the TruthfulQA
dataset \citet{DBLP:journals/corr/abs-2109-07958}. For handling copyrighted
content, we constructed a custom dataset based on the Lord of the Rings corpus
and aligned LLMs (OPT1.3b and OPT2.7b) \citet{zhang2022opt} through LoRA:
Low-Rank Adaptation of Large Language Models
\citet{DBLP:journals/corr/abs-2106-09685} finetuning. Subsequently, we employed
gradient ascent to unlearn the Lord of the Rings content, resulting in a
remarkable reduction in the presence of copyrighted material. To maintain a
diverse knowledge base, we utilized the Book Corpus dataset. Additionally, we
propose a new evaluation technique for assessing the effectiveness of harmful
unlearning.
|
[
-0.16464246809482574,
-0.5431471467018127,
-0.16334858536720276,
-0.33755671977996826,
-0.2945805490016937,
0.28378036618232727,
-0.4085373282432556,
-0.05381263792514801,
-0.4205014705657959,
1.0330820083618164,
-0.36492639780044556,
-0.4516586363315582,
-0.6006104350090027,
-0.4189981520175934,
-0.31713634729385376,
1.47501540184021,
0.04697088897228241,
0.15523363649845123,
-0.1366340070962906,
-0.29286155104637146,
-0.30358412861824036,
-0.430563360452652,
-0.6608890295028687,
-0.48551902174949646,
0.5249145030975342,
0.22731442749500275,
0.7433524131774902,
0.7550845742225647,
0.6800116300582886,
0.2735580801963806,
-0.26561641693115234,
0.14523643255233765,
-1.0423249006271362,
0.1802072525024414,
-0.37934988737106323,
-0.35268211364746094,
-0.27880704402923584,
-0.0683244988322258,
0.797919750213623,
0.4939285218715668,
-0.3222227394580841,
0.4193732440471649,
0.41891562938690186,
1.1076198816299438,
-0.7973572015762329,
-0.11251568049192429,
-0.7544112801551819,
0.24691841006278992,
-0.045445073395967484,
-0.37564605474472046,
-0.46376970410346985,
-0.26875433325767517,
-0.13840867578983307,
-0.7065013647079468,
0.05756380036473274,
0.044438932090997696,
0.5466599464416504,
0.6050939559936523,
-0.1449173092842102,
-0.3609508275985718,
-0.909045934677124,
1.2149094343185425,
-0.6670681238174438,
0.4228495955467224,
0.2598625719547272,
0.1793901026248932,
-0.22650448977947235,
-0.6350553631782532,
-0.638581395149231,
0.07801453769207001,
0.021479947492480278,
0.17493070662021637,
-0.45325785875320435,
-0.13305242359638214,
0.31338778138160706,
0.37723347544670105,
-0.4703919589519501,
0.5556260347366333,
-0.6466213464736938,
-0.22135597467422485,
0.6310019493103027,
-0.04760371521115303,
0.31475797295570374,
-0.08324973285198212,
-0.4409489333629608,
-0.17653633654117584,
-1.0364474058151245,
0.1265917718410492,
0.8230996131896973,
0.22577716410160065,
0.1437717080116272,
0.7561759352684021,
0.14090362191200256,
0.2954951822757721,
0.05222386121749878,
-0.2539612352848053,
0.4520605206489563,
-0.035563282668590546,
-0.29228532314300537,
0.09322963654994965,
0.7942476272583008,
0.491324782371521,
0.5387376546859741,
-0.3402103781700134,
-0.2505178451538086,
-0.18316181004047394,
0.5494581460952759,
-0.8255537152290344,
-0.00241536321118474,
0.1177404522895813,
-0.5982686877250671,
-0.20538483560085297,
-0.01598457060754299,
-1.0031908750534058,
-0.7035847306251526,
-0.5153788328170776,
0.47909653186798096,
-0.39574944972991943,
-0.27002617716789246,
0.11365966498851776,
-0.02644459158182144,
0.23173503577709198,
0.04556762054562569,
-0.7221802473068237,
0.09014184027910233,
0.7446929812431335,
0.437421590089798,
-0.19720523059368134,
-0.2601906955242157,
-0.7431673407554626,
0.47589460015296936,
-0.1776604950428009,
0.0665823370218277,
-0.4877658784389496,
-0.31096014380455017,
0.1027059406042099,
0.08952188491821289,
0.12352454662322998,
-0.6981692314147949,
0.727912425994873,
-1.050653100013733,
0.43741273880004883,
-0.009864633902907372,
-0.5559969544410706,
-0.46068018674850464,
0.025702817365527153,
-0.5603967905044556,
0.7386241555213928,
-0.06139397993683815,
-0.8925263285636902,
0.1332249790430069,
-0.7436149716377258,
-0.31140610575675964,
-0.10944925248622894,
-0.0012970877578482032,
-0.594307541847229,
-0.18309374153614044,
0.10334724932909012,
0.3922882080078125,
-0.19111113250255585,
0.5062406063079834,
-0.015095148235559464,
-0.3399125635623932,
0.1540302038192749,
-0.5561445355415344,
1.1388370990753174,
0.40138718485832214,
-0.39919930696487427,
0.1264246553182602,
-0.6487074494361877,
0.009236873127520084,
0.19618342816829681,
-0.3748127222061157,
-0.4772689938545227,
0.042960621416568756,
-0.22092488408088684,
0.17689307034015656,
0.2844306230545044,
-0.4823267459869385,
0.02012660913169384,
-0.28487616777420044,
0.3285972774028778,
0.9949008226394653,
-0.03750479966402054,
0.7087959051132202,
-0.5765975117683411,
0.6224414706230164,
0.1730158030986786,
0.14161455631256104,
0.008511960506439209,
-0.18017573654651642,
-0.6978723406791687,
-0.18603204190731049,
0.21089942753314972,
0.749519944190979,
-0.605242133140564,
0.767200231552124,
-0.4241619110107422,
-0.45840463042259216,
-0.7649782299995422,
0.5923260450363159,
0.7120094299316406,
0.5615575313568115,
0.4058974087238312,
-0.24139411747455597,
-0.4861801266670227,
-0.7295221090316772,
-0.4774000346660614,
-0.07265643030405045,
-0.2651252746582031,
0.09965288639068604,
0.3479737937450409,
-0.33114758133888245,
0.6764231324195862,
-0.17608308792114258,
-0.4793948531150818,
0.03079923242330551,
0.08744941651821136,
0.03052905946969986,
0.7867212295532227,
0.12944355607032776,
-0.9159339666366577,
-0.2570096552371979,
0.044074200093746185,
-0.9601220488548279,
0.11474774777889252,
0.10968344658613205,
-0.19184963405132294,
0.2396395057439804,
0.5893645286560059,
-0.2905055284500122,
0.4043888747692108,
0.487054705619812,
0.1526540070772171,
0.2113884687423706,
-0.2659309208393097,
0.03380788862705231,
-1.10628342628479,
0.24282704293727875,
-0.29604825377464294,
0.09293299168348312,
-0.5752273797988892,
0.1313861757516861,
-0.1466398537158966,
0.08659473061561584,
-0.5629614591598511,
0.42336970567703247,
-0.501792311668396,
0.06700237840414047,
-0.2950586974620819,
0.15087835490703583,
-0.0751747414469719,
0.6361090540885925,
-0.12707644701004028,
0.6719270944595337,
0.4987916052341461,
-0.6243350505828857,
0.1503598541021347,
0.3913786709308624,
-0.4049801528453827,
0.42406603693962097,
-0.43779903650283813,
0.33387643098831177,
-0.6134487390518188,
0.019752584397792816,
-0.6512243151664734,
0.23161521553993225,
0.39232373237609863,
-0.43654748797416687,
0.34950560331344604,
-0.3052697777748108,
-0.46990007162094116,
-0.09692253917455673,
-0.4293278157711029,
0.44667452573776245,
0.9980462789535522,
-0.6043928265571594,
0.664790153503418,
0.5639293193817139,
-0.20476213097572327,
-1.2066699266433716,
-0.575293242931366,
-0.15760613977909088,
-0.5832022428512573,
-0.350360244512558,
0.3431766927242279,
-0.2565574049949646,
-0.2488257884979248,
0.09110621362924576,
0.0463634617626667,
0.11257847398519516,
-0.035294339060783386,
0.2840369939804077,
0.16888557374477386,
-0.2233690321445465,
-0.03498481214046478,
0.01603027805685997,
-0.15126365423202515,
0.007115928456187248,
-0.34160104393959045,
0.5425918102264404,
0.05142780393362045,
-0.33347803354263306,
-0.3941895067691803,
0.14314338564872742,
0.5282167792320251,
-0.38792067766189575,
0.8136594891548157,
0.81053626537323,
-0.4885011613368988,
-0.24978387355804443,
-0.3859626352787018,
-0.01834966242313385,
-0.49648258090019226,
0.3317016363143921,
0.17497186362743378,
-1.1070283651351929,
0.5797187685966492,
-0.06826461851596832,
0.39626967906951904,
0.4130278527736664,
0.6476274132728577,
-0.020200129598379135,
0.8123742938041687,
0.743280827999115,
-0.27132105827331543,
0.535865843296051,
-0.3169197738170624,
0.5308186411857605,
-1.1445027589797974,
-0.3669906556606293,
-0.534895658493042,
-0.4633091688156128,
-0.7601560354232788,
-0.3545234501361847,
0.23996229469776154,
0.5557786226272583,
-0.6965512037277222,
0.12379802763462067,
-0.5141803622245789,
0.7347206473350525,
0.6318955421447754,
0.012852799147367477,
0.5926992893218994,
0.3672740161418915,
-0.007354907691478729,
0.1132192462682724,
-0.5383179783821106,
-0.8062247037887573,
1.2696235179901123,
0.3718363344669342,
0.8972421288490295,
0.3339466452598572,
0.5302934646606445,
0.3036588132381439,
0.40475666522979736,
-0.6297963261604309,
0.36725935339927673,
-0.3975786864757538,
-0.6734256148338318,
-0.5506864190101624,
-0.6646742224693298,
-1.057132363319397,
0.08261015266180038,
-0.02252642624080181,
-0.812656819820404,
-0.06202321499586105,
0.03253532201051712,
-0.26856422424316406,
0.729835033416748,
-0.5083089470863342,
0.6663298606872559,
-0.17038001120090485,
-0.3849726915359497,
-0.256303995847702,
-0.7058442234992981,
0.33591726422309875,
-0.4375772476196289,
0.36019670963287354,
0.25000372529029846,
0.03202939033508301,
1.180357813835144,
0.00008660880848765373,
0.9714579582214355,
-0.23417295515537262,
-0.3362763822078705,
0.27766153216362,
0.1247297003865242,
0.5186601877212524,
-0.1881958693265915,
-0.14763188362121582,
0.21782788634300232,
-0.11678078025579453,
-0.2742804288864136,
-0.4787582457065582,
0.6837584376335144,
-0.9617111682891846,
-0.6144512891769409,
-0.15254567563533783,
-0.6483370065689087,
-0.27442699670791626,
0.42769312858581543,
0.3205418288707733,
0.07570703327655792,
-0.17256121337413788,
0.3468594551086426,
0.8673722147941589,
-0.5531728267669678,
0.41493257880210876,
0.8575272560119629,
-0.20405571162700653,
-0.4912915825843811,
1.0676231384277344,
0.05240698158740997,
0.27338993549346924,
0.3940980136394501,
0.2717609703540802,
-0.4129551351070404,
-0.790436327457428,
-0.4854055643081665,
0.22167065739631653,
-0.803165853023529,
-0.3268243074417114,
-0.5710049867630005,
-0.45010268688201904,
-0.33131659030914307,
-0.07508253306150436,
-0.1579650193452835,
-0.07085482776165009,
-0.3365268111228943,
-0.08881329745054245,
0.22972042858600616,
0.7260600328445435,
-0.052208226174116135,
0.5237148404121399,
-1.0058696269989014,
0.17314819991588593,
-0.012536321766674519,
0.40560245513916016,
0.25190654397010803,
-1.0466581583023071,
-0.034561265259981155,
0.285447895526886,
-0.41578227281570435,
-0.16850095987319946,
0.31168267130851746,
0.01904386281967163,
0.6786782741546631,
0.6188084483146667,
0.2735510766506195,
0.4539390206336975,
-0.6214117407798767,
0.6076174378395081,
0.3606985807418823,
-0.7422856688499451,
0.12462320178747177,
-0.36906516551971436,
-0.06281728297472,
0.6107510924339294,
0.631885290145874,
-0.6264445185661316,
-0.22760677337646484,
-0.6493701338768005,
-0.7049893140792847,
0.5930354595184326,
0.040198132395744324,
0.3760713040828705,
0.3989839255809784,
0.24025897681713104,
0.38397303223609924,
0.46549782156944275,
-0.7549649477005005,
-0.23653031885623932,
0.03287949785590172,
-0.3453560471534729,
-0.3040970265865326,
-0.11450834572315216,
-0.4186215400695801,
-0.2196923941373825,
0.9001622796058655,
0.08280541747808456,
-0.012494703754782677,
-0.3344530463218689,
-0.34184375405311584,
-0.48569202423095703,
0.33146801590919495,
0.2861354351043701,
0.6858255863189697,
-0.0141472602263093,
0.06781993806362152,
-0.0853056088089943,
-0.5503063797950745,
0.08277229964733124,
-0.06592284888029099,
-0.4451137185096741,
-0.5658001899719238,
0.2227601408958435,
0.47975361347198486,
-0.19485542178153992,
-0.7684834599494934,
0.5418623089790344,
0.26742497086524963,
-0.05453752726316452,
-0.3257196843624115,
0.08809440582990646,
-0.001977029023692012,
0.11015412956476212,
0.15948577225208282,
0.07985392957925797,
-0.1956476867198944,
-0.3582709729671478,
0.2522982656955719,
0.5388816595077515,
-0.3885000944137573,
-0.16042791306972504,
0.5483373999595642,
0.03879869356751442,
-0.3693937659263611,
0.7443565726280212,
-0.12968792021274567,
-0.5015485882759094,
0.3572250008583069,
0.5688050985336304,
0.6009362936019897,
-0.32613423466682434,
0.17446599900722504,
0.2317771315574646,
0.4562273919582367,
-0.07404085248708725,
-0.027247058227658272,
0.2017761468887329,
-0.9898553490638733,
-0.4804854393005371,
-0.7324596643447876,
-0.1542062908411026,
0.46556857228279114,
-0.6687091588973999,
0.028621051460504532,
-0.5589683651924133,
0.32727617025375366,
-0.1789134442806244,
-0.031623803079128265,
-0.4724663496017456,
0.0482313446700573,
-0.07040324807167053,
0.4415220320224762,
-0.6204409003257751,
0.6940640211105347,
0.4550856351852417,
-0.5566022396087646,
-0.6677917242050171,
0.07471979409456253,
0.05364684388041496,
-1.1330232620239258,
0.594555139541626,
-0.014857243746519089,
-0.2677229344844818,
0.24129784107208252,
-0.46371573209762573,
-0.6144347190856934,
0.8863353729248047,
0.5509796738624573,
-0.6489848494529724,
0.14742495119571686,
0.25389155745506287,
0.44392216205596924,
-0.10682321339845657,
-0.19576066732406616,
0.36822500824928284,
0.3677248954772949,
0.11156393587589264,
-0.6583767533302307,
0.05978759005665779,
-0.2085103690624237,
-0.28783538937568665,
0.425678014755249,
-0.4642201066017151,
0.5036971569061279,
-0.30656832456588745,
-0.24330534040927887,
0.06279411166906357,
0.49351751804351807,
0.00551357539370656,
0.22318428754806519,
0.6404851078987122,
0.7167016863822937,
1.170931339263916,
0.3071878254413605,
0.5659859776496887,
-0.264370322227478,
0.22333867847919464,
0.8163122534751892,
-0.2940271496772766,
0.7477502226829529,
0.5452328324317932,
-0.06307564675807953,
0.3357504904270172,
0.27207285165786743,
-0.10726917535066605,
0.534534215927124,
0.6053630709648132,
-0.27079540491104126,
-0.021186012774705887,
-0.23225213587284088,
-0.3751645088195801,
0.3481200933456421,
0.10456221550703049,
-0.4486054480075836,
-0.09364502876996994,
0.03202102333307266,
0.3241623342037201,
0.12493918091058731,
-0.4454774856567383,
0.8729961514472961,
0.04275970160961151,
-0.6586281061172485,
0.6763850450515747,
0.06807786971330643,
0.7779521346092224,
-0.5031300783157349,
0.11441009491682053,
-0.06641077250242233,
0.459361732006073,
-0.32784923911094666,
-0.6286891102790833,
0.25307610630989075,
0.27164125442504883,
-0.31297340989112854,
-0.21291464567184448,
0.4880571961402893,
-0.5661051869392395,
-0.41814154386520386,
0.41783660650253296,
0.5717611312866211,
0.20697875320911407,
0.06959664821624756,
-0.775313138961792,
-0.1062360554933548,
0.0798998773097992,
-0.15738621354103088,
0.6874090433120728,
0.45181888341903687,
-0.16039179265499115,
0.6794434189796448,
0.8973089456558228,
-0.08176342397928238,
-0.06355909258127213,
0.2530844807624817,
0.9881693720817566,
-0.43940621614456177,
-0.4045187830924988,
-0.7615558505058289,
0.4607504606246948,
0.11900153011083603,
-0.18570667505264282,
0.7097910642623901,
0.6548691987991333,
1.0463780164718628,
0.11470863968133926,
0.8058834075927734,
0.2133345752954483,
0.5093212127685547,
-0.7399555444717407,
0.9570866823196411,
-0.5569178462028503,
0.47151777148246765,
-0.2538624405860901,
-0.9854303002357483,
-0.368055135011673,
0.3920593559741974,
-0.24869507551193237,
0.26123714447021484,
0.5831434726715088,
1.0110951662063599,
-0.07391287386417389,
0.10487257689237595,
0.21958953142166138,
0.1911739557981491,
0.24200540781021118,
0.37210461497306824,
1.0238873958587646,
-0.20544980466365814,
0.7263305187225342,
-0.1841588020324707,
-0.254922479391098,
0.2214609980583191,
-1.0736852884292603,
-0.9276806116104126,
-0.4694114327430725,
-0.23045876622200012,
-0.3841714560985565,
0.120224229991436,
0.6495833992958069,
0.31859806180000305,
-0.8479448556900024,
-0.22985444962978363,
0.07021967321634293,
0.157993346452713,
-0.21532383561134338,
-0.1784665286540985,
0.53571617603302,
-0.14485736191272736,
-0.6428722143173218,
0.34176307916641235,
-0.010132286697626114,
0.007556102704256773,
-0.3697834312915802,
-0.3635530471801758,
0.10435768961906433,
-0.16211450099945068,
0.44371601939201355,
0.25954169034957886,
-0.5621646046638489,
-0.17365051805973053,
-0.10346033424139023,
0.1413697600364685,
0.11134285479784012,
0.9246312975883484,
-0.5329698920249939,
0.07720138132572174,
0.26160645484924316,
0.9519135355949402,
0.12885618209838867,
0.167922705411911,
0.3904068171977997,
-0.6620720028877258,
-0.006240313407033682,
0.4033283591270447,
0.2730754315853119,
0.5059120655059814,
-0.4516143500804901,
0.32147565484046936,
0.08183081448078156,
-0.7042796015739441,
-0.8821213841438293,
0.24621836841106415,
-0.9042097330093384,
-0.32986772060394287,
1.2609686851501465,
-0.1500764787197113,
-0.23074188828468323,
-0.11153817921876907,
-0.10270971804857254,
0.4425923228263855,
-0.2771301865577698,
0.7990201115608215,
0.4712430238723755,
0.312236487865448,
0.03133513778448105,
-0.5651674866676331,
0.47308075428009033,
0.4332483410835266,
-0.5604902505874634,
0.5151792764663696,
0.4846031963825226,
0.3257400095462799,
0.21100398898124695,
0.2955867648124695,
-0.40460872650146484,
-0.09690742194652557,
-0.5114622116088867,
0.16270503401756287,
-0.29321539402008057,
-0.2971803545951843,
-0.609349250793457,
0.2082747220993042,
-0.1482953429222107,
-0.1589341014623642
] |
http://arxiv.org/abs/2405.15145v1
|
http://arxiv.org/pdf/2405.15145v1
|
CulturePark: Boosting Cross-cultural Understanding in Large Language Models
| 2024-05-24T01:49:02 | 2024-05-24T01:49:02 |
Cheng Li, Damien Teney, Linyi Yang, Qingsong Wen, Xing Xie, Jindong Wang
|
cs.AI
|
cs.AI, cs.CL, cs.MA
|
Cultural bias is pervasive in many large language models (LLMs), largely due
to the deficiency of data representative of different cultures. Typically,
cultural datasets and benchmarks are constructed either by extracting subsets
of existing datasets or by aggregating from platforms such as Wikipedia and
social media. However, these approaches are highly dependent on real-world data
and human annotations, making them costly and difficult to scale. Inspired by
cognitive theories on social communication, this paper introduces CulturePark,
an LLM-powered multi-agent communication framework for cultural data
collection. CulturePark simulates cross-cultural human communication with
LLM-based agents playing roles in different cultures. It generates high-quality
cross-cultural dialogues encapsulating human beliefs, norms, and customs. Using
CulturePark, we generated 41,000 cultural samples to fine-tune eight
culture-specific LLMs. We evaluated these models across three downstream tasks:
content moderation, cultural alignment, and cultural education. Results show
that for content moderation, our GPT-3.5-based models either match or
outperform GPT-4 on datasets. Regarding cultural alignment, our models surpass
GPT-4 on Hofstede's VSM 13 framework. Furthermore, for cultural education of
human participants, our models demonstrate superior outcomes in both learning
efficacy and user experience compared to GPT-4. CulturePark proves an important
step in addressing cultural bias and advancing the democratization of AI,
highlighting the critical role of culturally inclusive data in model training.
|
[
-0.5190887451171875,
-0.37606656551361084,
0.1609746217727661,
0.3654089570045471,
-0.09174107760190964,
0.27839380502700806,
-0.6301651000976562,
-0.5175952315330505,
0.28144383430480957,
0.3994646668434143,
-0.7280104756355286,
-0.6197090148925781,
-0.40051329135894775,
-0.003184352768585086,
-0.09096675366163254,
0.8318741917610168,
-0.1482541710138321,
0.1539487987756729,
-0.35427311062812805,
-0.4586406350135803,
-0.5178519487380981,
-0.4899801015853882,
-0.5391762852668762,
-0.5771899819374084,
0.3956487476825714,
0.5714392066001892,
0.6438316106796265,
0.7209904193878174,
0.2660115957260132,
0.2335153967142105,
-0.0017400130163878202,
0.32519134879112244,
-0.8177786469459534,
0.363634318113327,
-0.2770705223083496,
-0.4695805013179779,
-0.2908010482788086,
0.23876847326755524,
0.3380168080329895,
0.5030272006988525,
0.05451633036136627,
0.3647448718547821,
-0.0413898304104805,
0.3820952773094177,
-0.625828206539154,
0.6258780360221863,
-0.5004953742027283,
0.21389704942703247,
-0.14530052244663239,
-0.15946918725967407,
-0.1980934888124466,
-0.05277354270219803,
-0.18795719742774963,
-0.7126784920692444,
0.18128083646297455,
0.00005773727025371045,
0.5353100895881653,
0.13632087409496307,
-0.654655933380127,
-0.11461694538593292,
-0.9063535332679749,
0.8394351601600647,
-0.21924398839473724,
0.31687599420547485,
0.6354263424873352,
0.5274731516838074,
-0.15758016705513,
-0.3903672397136688,
-0.6005026698112488,
0.07423094660043716,
0.14243780076503754,
0.09149175137281418,
0.1671968400478363,
-0.30129560828208923,
0.16834673285484314,
0.2039487212896347,
-0.5113402009010315,
0.30244794487953186,
-0.15268009901046753,
-0.2589743137359619,
0.684077799320221,
0.3105628788471222,
0.30291813611984253,
-0.07616525888442993,
-0.18403364717960358,
-0.33462780714035034,
-0.8509072661399841,
0.11857065558433533,
0.1768731325864792,
0.36963069438934326,
-0.32815486192703247,
0.16111183166503906,
-0.5176842212677002,
0.36354589462280273,
-0.023057501763105392,
-0.2828153669834137,
0.1934899240732193,
-0.35937583446502686,
0.026324287056922913,
-0.019741268828511238,
0.614081084728241,
0.5821134448051453,
0.6465463638305664,
-0.31837198138237,
0.08771853148937225,
0.09674195945262909,
-0.13215717673301697,
-1.0262192487716675,
-0.11983586102724075,
0.2726916968822479,
-0.5061600208282471,
-0.3207100033760071,
-0.08521465212106705,
-0.46121564507484436,
-0.7259745001792908,
-0.2954357862472534,
-0.13230115175247192,
-0.22124728560447693,
-0.556123673915863,
-0.05230943113565445,
0.04001531004905701,
0.3616851568222046,
0.38955235481262207,
-0.922118067741394,
-0.16847670078277588,
0.8249698281288147,
0.7618587017059326,
-0.10146471112966537,
-0.41839471459388733,
-0.3516954183578491,
0.3049517273902893,
-0.4211159944534302,
0.6035921573638916,
-0.5720327496528625,
-0.25562337040901184,
0.16857115924358368,
0.11287721991539001,
0.16883599758148193,
-0.39298713207244873,
0.5386411547660828,
-0.49927735328674316,
0.17727030813694,
-0.5869035124778748,
-0.3001837134361267,
-0.20753788948059082,
0.4662553668022156,
-0.6303544640541077,
0.5327984094619751,
-0.12128030508756638,
-0.5756083726882935,
0.7093002200126648,
-0.5589025020599365,
-0.5233110189437866,
0.34490469098091125,
-0.420907586812973,
-0.10300792753696442,
-0.10641108453273773,
0.4511803388595581,
0.5229879021644592,
-0.4372314214706421,
0.2831469178199768,
-0.6324348449707031,
-0.4562986493110657,
0.015791883692145348,
-0.37618497014045715,
1.010532021522522,
0.5144341588020325,
-0.3630030155181885,
0.1277133971452713,
-0.5043519139289856,
-0.13833583891391754,
0.19925515353679657,
-0.1817818433046341,
-0.32286903262138367,
0.06009068712592125,
0.2908097803592682,
0.6356795430183411,
-0.010015517473220825,
-0.4486202895641327,
0.05676675960421562,
0.09598588198423386,
0.5968554615974426,
0.6728111505508423,
-0.3871166706085205,
0.6391203999519348,
-0.43585333228111267,
0.7439703345298767,
0.08483358472585678,
0.10831256955862045,
-0.17788439989089966,
-0.3129882216453552,
-0.3631344735622406,
-0.40137240290641785,
-0.010392670519649982,
0.4989968538284302,
-0.896449089050293,
0.2392047792673111,
-0.6075195670127869,
-0.665679395198822,
-0.67304927110672,
0.38084059953689575,
-0.0037292034830898046,
0.4162450432777405,
0.028240948915481567,
-0.30324381589889526,
-0.30844834446907043,
-0.593550443649292,
-0.22599545121192932,
-0.27493858337402344,
-0.10782331228256226,
0.3726774752140045,
0.29346853494644165,
-0.1692168265581131,
1.0226333141326904,
0.0284596998244524,
-0.48884350061416626,
-0.4037703573703766,
0.008463805541396141,
0.05497545376420021,
0.3976443111896515,
0.4771983325481415,
-0.7354678511619568,
-0.6604915857315063,
0.1528967171907425,
-0.9336978197097778,
-0.05357310175895691,
0.04298827424645424,
-0.23003502190113068,
0.2913770079612732,
0.27528253197669983,
-0.6536174416542053,
0.228592649102211,
0.7104561924934387,
-0.3972069323062897,
0.15526162087917328,
0.10456474870443344,
0.4129922688007355,
-1.236265778541565,
-0.092441126704216,
-0.08319626748561859,
-0.19081570208072662,
-0.5021499395370483,
-0.032204024493694305,
0.05784955248236656,
-0.1371169090270996,
-0.42720597982406616,
0.6945101022720337,
-0.3738880157470703,
0.027781911194324493,
-0.328570693731308,
0.028083736076951027,
0.21454067528247833,
0.32495659589767456,
0.37811243534088135,
0.6998174786567688,
0.44283774495124817,
-0.06752318888902664,
0.45244720578193665,
0.24512623250484467,
-0.5179523825645447,
0.8483713865280151,
-0.29973354935646057,
0.2546689510345459,
-0.28792256116867065,
0.8266409039497375,
-0.6491258144378662,
-0.2510133385658264,
0.1344207227230072,
-0.2674611806869507,
-0.1141454353928566,
-0.4393133819103241,
-0.5829067826271057,
-0.10161509364843369,
-0.17040735483169556,
0.4336930215358734,
0.3635707497596741,
-0.6127275228500366,
0.66456538438797,
0.49470025300979614,
-0.045138727873563766,
-0.6397809982299805,
-0.6028298139572144,
0.1684848815202713,
-0.60957932472229,
-1.107048749923706,
0.14619064331054688,
0.02011379413306713,
-0.3328573703765869,
-0.2614443004131317,
0.11121779680252075,
0.023770958185195923,
0.28183457255363464,
0.24006563425064087,
-0.09090195596218109,
-0.24492403864860535,
0.21996252238750458,
-0.17820806801319122,
0.13523255288600922,
0.10467458516359329,
-0.45123299956321716,
0.695522665977478,
-0.1794474720954895,
-0.3947639763355255,
-0.259532630443573,
0.5623673796653748,
0.6597503423690796,
-0.4064611494541168,
0.9545392394065857,
0.9789778590202332,
-0.30546629428863525,
-0.1124696359038353,
-0.5467630624771118,
-0.40846481919288635,
-0.41064563393592834,
0.3145450949668884,
-0.48500144481658936,
-1.1225746870040894,
0.8331473469734192,
0.04330671206116676,
0.11187362670898438,
0.1559893786907196,
0.653139054775238,
-0.1378198266029358,
1.146000862121582,
0.6398924589157104,
-0.2552887797355652,
0.5489473342895508,
-0.17527401447296143,
0.18470941483974457,
-0.2830601632595062,
-0.1615365594625473,
-0.4814644157886505,
-0.3540266752243042,
-0.7953081130981445,
-0.5630562901496887,
0.23634932935237885,
-0.10261068493127823,
-0.2763000428676605,
-0.024899156764149666,
-0.020828600972890854,
0.6356131434440613,
0.5089389681816101,
-0.2894550859928131,
0.4357316195964813,
0.2345961183309555,
0.14776267111301422,
-0.07926668226718903,
-0.82275390625,
-0.4682101011276245,
0.8682162165641785,
0.46194714307785034,
0.8569536805152893,
0.27891671657562256,
0.46969541907310486,
0.21385101974010468,
0.5881972312927246,
-0.6343026757240295,
0.19509068131446838,
-0.10299590975046158,
-0.7397152781486511,
-0.24501366913318634,
-0.4538993537425995,
-0.6829438805580139,
0.4453011155128479,
-0.34293660521507263,
-0.5170605778694153,
0.20202217996120453,
0.07583525776863098,
-0.09969177097082138,
0.18105465173721313,
-0.6826725006103516,
0.9708262085914612,
-0.14153797924518585,
-0.5316683650016785,
-0.3186376094818115,
-0.4696429967880249,
0.382398784160614,
-0.102727971971035,
0.5223408937454224,
-0.3390500545501709,
0.3824317753314972,
0.6086369752883911,
-0.160633847117424,
0.9263715147972107,
-0.16656897962093353,
-0.025109708309173584,
0.15874668955802917,
0.2100113332271576,
0.49532341957092285,
0.18454357981681824,
-0.0031291525810956955,
0.4515814781188965,
0.06774531304836273,
-0.5630032420158386,
-0.5305440425872803,
0.8196731209754944,
-1.0913050174713135,
-0.5354804396629333,
-0.1871873140335083,
-0.8491697311401367,
-0.3269536793231964,
-0.020598415285348892,
-0.0015924640465527773,
0.19645361602306366,
-0.0935288742184639,
0.38081952929496765,
0.3920435607433319,
-0.23337936401367188,
0.1888016313314438,
0.799497663974762,
-0.09311060607433319,
-0.10181134939193726,
0.8087916374206543,
-0.024217959493398666,
0.20106913149356842,
0.08350664377212524,
0.045205261558294296,
-0.2844436466693878,
-0.16721194982528687,
-0.4889625012874603,
0.10523834824562073,
-0.9452739357948303,
-0.01739918626844883,
-0.6189061999320984,
-0.025471167638897896,
-0.7495290040969849,
-0.14170894026756287,
-0.2707566022872925,
-0.28495272994041443,
0.11173003911972046,
-0.24651679396629333,
0.43166953325271606,
0.5844999551773071,
-0.2551802098751068,
0.4471765458583832,
-0.5075646638870239,
-0.13505499064922333,
0.11541957408189774,
0.33025091886520386,
-0.07500813156366348,
-0.3729839622974396,
-0.441306471824646,
0.0657845288515091,
-0.0192720964550972,
-0.542526364326477,
0.3822772204875946,
0.04021260142326355,
0.4447941482067108,
0.5112159848213196,
-0.002337321639060974,
0.7061389684677124,
-0.3277245759963989,
0.5513606667518616,
-0.03227244317531586,
-0.6014914512634277,
0.296530157327652,
-0.4507773518562317,
0.3745498061180115,
0.5435263514518738,
0.31902945041656494,
-1.0865323543548584,
-0.46586060523986816,
-0.43215203285217285,
-0.8014447093009949,
0.7641456723213196,
-0.17124782502651215,
0.2996844947338104,
-0.0625038892030716,
-0.06052299216389656,
0.06478361040353775,
0.11081349849700928,
-0.7220609784126282,
-0.04187165945768356,
-0.459809809923172,
-0.2100634127855301,
-0.3714825510978699,
-0.005206297617405653,
-0.4181911051273346,
-0.1664816290140152,
0.5282093286514282,
-0.356344074010849,
-0.22990557551383972,
-0.15643787384033203,
-0.35937413573265076,
-0.23879888653755188,
0.10017799586057663,
0.421114444732666,
0.802968442440033,
-0.19873981177806854,
0.11099757999181747,
0.0017161683645099401,
-0.3414551019668579,
0.03357711806893349,
0.06942417472600937,
-0.09932537376880646,
-0.45863813161849976,
0.4454566240310669,
0.6893898248672485,
-0.35718443989753723,
-0.5156448483467102,
0.37319955229759216,
-0.4714500308036804,
0.24546827375888824,
-0.3905065357685089,
-0.026481784880161285,
0.26508376002311707,
0.3092532753944397,
0.2582745850086212,
-0.278180330991745,
-0.16655395925045013,
-0.4589119255542755,
0.14740097522735596,
0.5129840970039368,
-0.40871161222457886,
-0.1592549830675125,
0.6382717490196228,
0.48920586705207825,
-0.09430593252182007,
0.8389310836791992,
0.09389154613018036,
-0.3777872323989868,
0.6114094257354736,
0.338107168674469,
0.7697887420654297,
-0.014572041109204292,
0.38034966588020325,
0.06383789330720901,
0.3072909414768219,
0.0839819461107254,
-0.049771931022405624,
-0.24790287017822266,
-1.0318273305892944,
-0.8531518578529358,
-0.6116757988929749,
-0.38572967052459717,
0.11655475944280624,
-0.44336503744125366,
0.1949264109134674,
-0.1583118587732315,
0.0198624636977911,
-0.26036664843559265,
0.255957692861557,
-0.9712855219841003,
-0.014771916903555393,
0.3423357605934143,
1.0507172346115112,
-1.403459906578064,
1.0384024381637573,
0.6645624041557312,
-0.3930612802505493,
-0.7601514458656311,
-0.012009706348180771,
0.1844000518321991,
-0.8357303738594055,
0.670615553855896,
0.27513977885246277,
0.010568864643573761,
-0.12822182476520538,
-0.46518921852111816,
-0.694072425365448,
1.220621943473816,
0.33549103140830994,
-0.23999907076358795,
0.3767642676830292,
0.3328744173049927,
0.5740478038787842,
-0.7554602026939392,
0.46600839495658875,
0.4689488708972931,
0.3104597330093384,
0.19880898296833038,
-0.8066174983978271,
0.044350240379571915,
-0.2191396951675415,
0.049705807119607925,
-0.351650208234787,
-0.798101007938385,
0.692104697227478,
0.06430833786725998,
-0.05167168006300926,
-0.325484037399292,
0.877541184425354,
0.5401331782341003,
0.18693408370018005,
0.6653150320053101,
0.13896259665489197,
0.7470106482505798,
0.012601972557604313,
1.019181489944458,
-0.5378175377845764,
0.1539561003446579,
0.8563045859336853,
-0.5598379969596863,
0.41097351908683777,
0.44340744614601135,
0.19549334049224854,
0.3336074650287628,
0.826845645904541,
0.28599056601524353,
0.2947199046611786,
0.2416805624961853,
-0.26540595293045044,
-0.5901598930358887,
-0.6027520895004272,
-0.38247498869895935,
0.7385174632072449,
0.3293631076812744,
-0.025679240003228188,
-0.23479126393795013,
-0.022280896082520485,
0.40652206540107727,
0.06770976632833481,
-0.14695259928703308,
0.4491085112094879,
0.026502251625061035,
-0.772474467754364,
0.40696725249290466,
0.05628543719649315,
0.6412245035171509,
-0.40192198753356934,
-0.03095167689025402,
-0.746993362903595,
0.1766941100358963,
-0.057594556361436844,
-0.6041880249977112,
0.0740712583065033,
-0.08558034151792526,
-0.35736748576164246,
-0.5395499467849731,
0.6510558724403381,
-0.6476910710334778,
-0.3752099871635437,
0.4094124138355255,
0.5796188712120056,
0.11013808846473694,
-0.099861279129982,
-0.498212069272995,
0.3858892619609833,
-0.18549662828445435,
-0.08475543558597565,
0.4623987376689911,
0.44333428144454956,
-0.6706628799438477,
0.7094624042510986,
0.6109098792076111,
0.10856661200523376,
-0.219559445977211,
0.3345695436000824,
0.4851192533969879,
-0.37948983907699585,
-0.5484806299209595,
-0.5936694145202637,
0.21446865797042847,
-0.20561522245407104,
-0.05691243335604668,
0.6467047929763794,
0.24948391318321228,
1.088146686553955,
0.10328157246112823,
0.925590455532074,
-0.05286887288093567,
0.22864417731761932,
-0.13574878871440887,
1.036974310874939,
-0.4221152067184448,
0.23614917695522308,
0.05300142616033554,
-0.7958440780639648,
-0.07600551098585129,
0.5545567870140076,
-0.41479095816612244,
0.206074059009552,
0.27428022027015686,
0.810743510723114,
-0.1892050802707672,
0.20303088426589966,
0.23286771774291992,
0.19436782598495483,
0.6822417974472046,
0.5460692644119263,
1.0156867504119873,
0.20737706124782562,
0.6250786781311035,
-0.43610459566116333,
-0.3853960633277893,
-0.08877439051866531,
-0.8736215829849243,
-1.0047088861465454,
-0.5859988927841187,
-0.17471309006214142,
-0.421479731798172,
0.02226649597287178,
1.1207135915756226,
1.0219454765319824,
-0.8153331875801086,
-0.471565306186676,
0.5040693283081055,
0.21877288818359375,
-0.2175091952085495,
-0.2520809471607208,
0.2457665503025055,
-0.1906837671995163,
-0.8410490155220032,
0.2566817104816437,
0.06839299201965332,
-0.22577925026416779,
-0.5829684138298035,
-0.20901080965995789,
0.23963485658168793,
-0.19927087426185608,
0.5892190337181091,
0.26495909690856934,
-0.5422360301017761,
-0.323286771774292,
-0.020184598863124847,
-0.1719515323638916,
-0.15677405893802643,
0.8074886202812195,
-0.6690824031829834,
0.27481165528297424,
0.5018487572669983,
0.675996720790863,
0.5300147533416748,
-0.1032896563410759,
0.8179003596305847,
-0.6778688430786133,
0.4250085651874542,
0.028832200914621353,
0.2326236367225647,
0.6660138964653015,
-0.27066025137901306,
0.39921045303344727,
0.3081481158733368,
-0.4484769105911255,
-0.58430415391922,
0.23571017384529114,
-0.6391779184341431,
-0.2245228886604309,
1.242942452430725,
-0.17716480791568756,
-0.21846111118793488,
-0.1597864329814911,
0.16112388670444489,
0.1242445558309555,
-0.2890138328075409,
0.9243888854980469,
0.924278199672699,
0.16693255305290222,
-0.15374930202960968,
-0.6541491746902466,
0.5380105376243591,
0.5488795042037964,
-0.584071934223175,
0.1774228811264038,
0.657225489616394,
0.3998357951641083,
0.024494154378771782,
0.6969713568687439,
0.05054705590009689,
0.09854025393724442,
-0.3146902322769165,
0.21338264644145966,
-0.11308766156435013,
-0.22578802704811096,
-0.24634872376918793,
0.18228664994239807,
0.10666193813085556,
0.04119173064827919
] |
http://arxiv.org/abs/2405.15143v2
|
http://arxiv.org/pdf/2405.15143v2
|
Intelligent Go-Explore: Standing on the Shoulders of Giant Foundation Models
| 2024-05-24T01:45:27 | 2024-05-30T06:48:44 |
Cong Lu, Shengran Hu, Jeff Clune
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
Go-Explore is a powerful family of algorithms designed to solve
hard-exploration problems, built on the principle of archiving discovered
states, and iteratively returning to and exploring from the most promising
states. This approach has led to superhuman performance across a wide variety
of challenging problems including Atari games and robotic control, but requires
manually designing heuristics to guide exploration, which is time-consuming and
infeasible in general. To resolve this, we propose Intelligent Go-Explore (IGE)
which greatly extends the scope of the original Go-Explore by replacing these
heuristics with the intelligence and internalized human notions of
interestingness captured by giant foundation models (FMs). This provides IGE
with a human-like ability to instinctively identify how interesting or
promising any new state is (e.g. discovering new objects, locations, or
behaviors), even in complex environments where heuristics are hard to define.
Moreover, IGE offers the exciting and previously impossible opportunity to
recognize and capitalize on serendipitous discoveries that cannot be predicted
ahead of time. We evaluate IGE on a range of language-based tasks that require
search and exploration. In Game of 24, a multistep mathematical reasoning
problem, IGE reaches 100% success rate 70.8% faster than the best classic graph
search baseline. Next, in BabyAI-Text, a challenging partially observable
gridworld, IGE exceeds the previous SOTA with orders of magnitude fewer online
samples. Finally, in TextWorld, we show the unique ability of IGE to succeed in
settings requiring long-horizon exploration where prior SOTA FM agents like
Reflexion completely fail. Overall, IGE combines the tremendous strengths of
FMs and the powerful Go-Explore algorithm, opening up a new frontier of
research into creating more generally capable agents with impressive
exploration capabilities.
|
[
-0.48753076791763306,
-0.5553037524223328,
0.7962865233421326,
0.16063907742500305,
0.25682541728019714,
0.36398759484291077,
-0.3259587287902832,
-0.6719611287117004,
0.45391786098480225,
0.23351790010929108,
-0.9065269827842712,
-0.3109549582004547,
-0.7670041918754578,
-0.20299702882766724,
-0.4257054328918457,
0.8607776165008545,
0.09672769904136658,
-0.4183087944984436,
-0.0013315434334799647,
-0.24246133863925934,
-0.09391285479068756,
-0.04414215683937073,
-0.48333239555358887,
-0.5404806733131409,
0.3176584541797638,
0.38692548871040344,
1.0951991081237793,
0.38194286823272705,
0.832187831401825,
0.24578452110290527,
-0.36119621992111206,
0.15804293751716614,
-0.7162165641784668,
-0.03920396417379379,
-0.6855995059013367,
-0.2948753237724304,
-0.2524148225784302,
-0.06895140558481216,
0.3380597233772278,
0.5216307640075684,
-0.10668003559112549,
0.03526008129119873,
-0.39219930768013,
0.9452536702156067,
-0.4114471673965454,
0.46688273549079895,
-0.28425583243370056,
0.06615784764289856,
-0.14065000414848328,
-0.24345475435256958,
-0.1383565068244934,
-0.052392423152923584,
0.748363733291626,
-0.8553812503814697,
0.018823981285095215,
0.06301805377006531,
0.8680634498596191,
0.18307185173034668,
-0.15506097674369812,
-0.38375499844551086,
-0.96430504322052,
0.5911614298820496,
-0.3010442554950714,
0.172536700963974,
0.06998647749423981,
0.7083427309989929,
-0.721216082572937,
-0.8445060849189758,
-0.5537949204444885,
-0.4187261760234833,
0.17410220205783844,
0.07145293056964874,
-0.2646946310997009,
-0.04630041494965553,
0.18379883468151093,
0.3736574649810791,
-0.5297272205352783,
-0.00024397883680649102,
-0.2206209897994995,
-0.03870498761534691,
0.8999963998794556,
0.008391053415834904,
0.6306021809577942,
0.23688063025474548,
-0.3688943386077881,
-0.20112526416778564,
-0.7761490345001221,
0.6426815986633301,
0.2513989806175232,
-0.019295401871204376,
0.23814727365970612,
0.6206803321838379,
-0.5852457284927368,
0.5869613289833069,
-0.2532840967178345,
0.16449731588363647,
0.021051723510026932,
-0.23386339843273163,
0.13525334000587463,
-0.09135816246271133,
0.6504837870597839,
0.0387578047811985,
0.356342077255249,
-0.5651230812072754,
-0.3900260031223297,
-0.17750079929828644,
0.41134291887283325,
-0.7325059771537781,
-0.2593051791191101,
0.18527518212795258,
-0.5247461795806885,
-0.251308411359787,
0.18665750324726105,
-0.693877100944519,
-0.4579765498638153,
-0.0816774070262909,
0.8175376057624817,
-0.6614002585411072,
-0.5629438161849976,
0.48840227723121643,
-0.3792741000652313,
0.16879048943519592,
0.22781096398830414,
-0.9419483542442322,
0.3440777659416199,
0.7147504687309265,
0.5590081214904785,
-0.10032987594604492,
-0.3645731806755066,
-0.48964422941207886,
0.08526734262704849,
-0.5647911429405212,
0.9224761724472046,
-0.8188067674636841,
-0.4617754817008972,
-0.2324150949716568,
-0.1926068514585495,
-0.00027309145662002265,
-0.5496357679367065,
0.3276462256908417,
-0.7461199164390564,
0.12764570116996765,
-0.18921376764774323,
-0.3463232219219208,
-0.8036259412765503,
0.5292114019393921,
-0.7836264967918396,
0.8974428772926331,
0.3068681061267853,
-0.38011980056762695,
0.33111581206321716,
-1.378207802772522,
-0.08941635489463806,
0.3552967309951782,
-0.26196974515914917,
0.009819203056395054,
0.3117772042751312,
0.24093657732009888,
0.18807370960712433,
-0.6751437783241272,
0.4731460213661194,
-0.11786031723022461,
-0.7594995498657227,
0.04940895736217499,
0.0014022443210706115,
0.6455321311950684,
-0.09967585653066635,
-0.9914249777793884,
0.19689491391181946,
-0.5397120714187622,
0.2743277847766876,
0.4611276090145111,
-0.21903221309185028,
-0.3074016273021698,
0.5042035579681396,
-0.3687266409397125,
0.09808605909347534,
0.31050512194633484,
-0.2400929182767868,
0.37929850816726685,
-0.48639360070228577,
0.4706210792064667,
0.5386977791786194,
-0.15710201859474182,
0.5169110298156738,
-0.3844510316848755,
0.5686708688735962,
-0.17831720411777496,
0.11089839786291122,
-0.36304348707199097,
-0.47006756067276,
-0.5670577883720398,
-0.2905811667442322,
0.22449885308742523,
0.6163322329521179,
-0.681434154510498,
0.4490133821964264,
-0.6316058039665222,
-0.6941579580307007,
-0.1801603138446808,
-0.16264088451862335,
0.04026413336396217,
0.4109365940093994,
0.4693126380443573,
-0.0748925432562828,
0.0757262259721756,
-0.7730743288993835,
-0.3500535786151886,
-0.18731795251369476,
0.09458113461732864,
0.7169262766838074,
0.601637065410614,
-0.6509345173835754,
0.8943224549293518,
-0.350786417722702,
-0.2504335939884186,
-0.19445648789405823,
0.09092747420072556,
0.42328694462776184,
0.4566009044647217,
0.6567092537879944,
-1.1282387971878052,
-0.2001820206642151,
0.08390725404024124,
-1.002546787261963,
0.5376952290534973,
0.07954966276884079,
-0.3306558132171631,
-0.48123419284820557,
0.48922640085220337,
-0.8412163257598877,
0.44785985350608826,
0.07241719216108322,
-0.4419407844543457,
0.38009652495384216,
-0.2956661880016327,
0.18876533210277557,
-0.34280574321746826,
0.2438516467809677,
-0.16093885898590088,
0.0936003103852272,
-0.35614606738090515,
0.8180641531944275,
0.001013141474686563,
-0.18808791041374207,
-0.18702928721904755,
0.6370196342468262,
-0.49635204672813416,
-0.09786396473646164,
0.07033103704452515,
0.10531432926654816,
-0.27498096227645874,
0.44602784514427185,
-0.2293519377708435,
0.8074791431427002,
0.8852093815803528,
-0.6105989217758179,
0.42929860949516296,
0.09792090207338333,
-0.44711241126060486,
0.3469938635826111,
-0.2967403829097748,
0.2684101462364197,
-0.40491166710853577,
0.4552730619907379,
-1.0740407705307007,
-0.26518481969833374,
0.07032054662704468,
-0.5140014290809631,
0.32984939217567444,
0.3328412175178528,
-0.3667396903038025,
-0.6392078995704651,
-0.4613679349422455,
0.17338237166404724,
0.4405774772167206,
-0.9516041278839111,
1.0807033777236938,
0.20169475674629211,
-0.17716358602046967,
-0.7815658450126648,
-0.34988364577293396,
0.44977980852127075,
-0.2201905995607376,
-0.8098344802856445,
0.521539568901062,
-0.43920648097991943,
-0.2044321596622467,
0.32523274421691895,
-0.2430441975593567,
0.029996346682310104,
0.4004882872104645,
-0.13111574947834015,
0.15545053780078888,
-0.3056618571281433,
-0.08907923102378845,
-0.022363005205988884,
-0.2570784389972687,
0.21293425559997559,
-0.7217304706573486,
0.46211716532707214,
-0.503125786781311,
-0.1548728346824646,
-0.05718155950307846,
0.3831254243850708,
0.7040100693702698,
-0.3912934958934784,
0.2305520474910736,
0.38169464468955994,
-0.7158070206642151,
-0.0680178627371788,
-0.37515056133270264,
-0.06915493309497833,
-0.49402010440826416,
0.4969114065170288,
-0.5337193608283997,
-0.7978665232658386,
0.4740985035896301,
-0.491016149520874,
0.4652305245399475,
0.5628848075866699,
0.10213395208120346,
-0.2395361363887787,
1.1546927690505981,
0.9854323863983154,
0.05529944226145744,
0.1870524138212204,
-0.713908314704895,
0.3475039303302765,
-0.6611002087593079,
-0.5346371531486511,
-0.4168109595775604,
-0.8328468799591064,
-0.32064566016197205,
-0.2854282855987549,
0.5096385478973389,
-0.06834062933921814,
-0.09526622295379639,
0.2464141994714737,
-0.6279525756835938,
0.6930542588233948,
0.5111483931541443,
0.00976529624313116,
0.13783036172389984,
-0.003096733707934618,
-0.032719410955905914,
-0.06663897633552551,
-0.8099919557571411,
-0.17661631107330322,
1.0776432752609253,
0.22337937355041504,
0.643909752368927,
0.4531257152557373,
0.7401989698410034,
0.27562692761421204,
0.4846809506416321,
-0.9357075691223145,
0.8087596297264099,
-0.12414000183343887,
-0.6810882091522217,
-0.5123119950294495,
-0.16200684010982513,
-0.8305861949920654,
-0.11624764651060104,
-0.19760413467884064,
-0.9798179268836975,
0.20428423583507538,
0.15437880158424377,
-0.6465016007423401,
0.34765106439590454,
-0.592483639717102,
0.6722655892372131,
-0.30708956718444824,
-0.3234784007072449,
-0.5177709460258484,
-0.7221362590789795,
0.420209676027298,
0.07591447234153748,
0.10242787003517151,
0.23566977679729462,
-0.16175520420074463,
0.7036285400390625,
-0.011647871695458889,
0.01408290397375822,
-0.1855447143316269,
0.2042919248342514,
0.5966553092002869,
0.4547017812728882,
0.7978302836418152,
0.05273812264204025,
0.10996735095977783,
-0.03320428729057312,
-0.45516857504844666,
-0.3182816803455353,
-0.8069087266921997,
0.806837260723114,
-0.5090810656547546,
-0.821025013923645,
-0.4079454243183136,
-0.4323301911354065,
-0.29747456312179565,
0.33237600326538086,
0.27431046962738037,
0.25201305747032166,
-0.26522424817085266,
0.3030954897403717,
1.158759593963623,
0.03847504034638405,
0.6371464729309082,
0.4243418276309967,
-0.2557778060436249,
-0.010447259061038494,
1.3559861183166504,
0.30266931653022766,
-0.07591922581195831,
0.5537753701210022,
0.4781736135482788,
-0.4449457824230194,
-0.6398617029190063,
-0.7742553949356079,
0.06217631697654724,
-0.5262255668640137,
0.1410350352525711,
-0.9037757515907288,
-0.21001006662845612,
0.17823997139930725,
-0.34536242485046387,
-0.3086446523666382,
-0.34436845779418945,
-0.1659698486328125,
-0.12317170202732086,
0.17020580172538757,
0.6005429625511169,
-0.19572842121124268,
0.29136285185813904,
-0.6429743766784668,
0.2949705421924591,
0.4851200580596924,
0.2661692500114441,
-0.10937319695949554,
-0.13767358660697937,
-0.047291021794080734,
-0.17667803168296814,
0.09175838530063629,
-0.6472764015197754,
0.046202149242162704,
0.029113048687577248,
0.7577065229415894,
0.5142882466316223,
-0.2236444503068924,
0.484151691198349,
-0.25487470626831055,
0.6971951127052307,
0.02992512658238411,
-0.5337740778923035,
0.21198436617851257,
-0.6020944714546204,
0.12238862365484238,
0.695402204990387,
0.6397629380226135,
-0.12161989510059357,
0.18759773671627045,
-1.0617146492004395,
-0.9879666566848755,
0.6989771127700806,
-0.03008335456252098,
-0.04064818471670151,
0.18990173935890198,
0.391545832157135,
0.0912005677819252,
0.42097723484039307,
-0.5935681462287903,
0.1861380785703659,
-0.053755078464746475,
-0.03866152837872505,
-0.07663631439208984,
-0.15674450993537903,
-0.4263036251068115,
0.10046745091676712,
0.76864093542099,
-0.3371413052082062,
0.5248908400535583,
0.12405458837747574,
0.03173249959945679,
-0.19922992587089539,
-0.03383069485425949,
0.2673512101173401,
0.651125431060791,
-0.25824809074401855,
0.03953628987073898,
-0.19202309846878052,
-0.573290228843689,
0.18103712797164917,
0.5483869314193726,
-0.2542489469051361,
-0.3406312167644501,
0.10329939424991608,
0.6032449007034302,
0.11563345789909363,
-1.2351033687591553,
0.468774676322937,
-0.1651405245065689,
-0.09202064573764801,
-0.47509264945983887,
0.6772071123123169,
0.21257831156253815,
0.4810934364795685,
0.5115916132926941,
0.3297378420829773,
0.49674054980278015,
-0.6301792860031128,
0.024055631831288338,
0.5098468065261841,
-0.6208568215370178,
-0.2004193663597107,
0.7266019582748413,
0.09947087615728378,
-0.6496856808662415,
0.6549478769302368,
-0.5912967324256897,
-0.4418894052505493,
1.0174686908721924,
0.262350469827652,
0.9807637333869934,
0.040817417204380035,
0.18574309349060059,
0.11360518634319305,
0.6319549083709717,
-0.4345308542251587,
0.3463454842567444,
-0.09361907094717026,
-0.42605942487716675,
-0.3998088538646698,
-0.05749949812889099,
-0.43578532338142395,
0.3793105185031891,
-0.2273188680410385,
0.2982935309410095,
-0.5706917643547058,
0.24875973165035248,
-0.16811345517635345,
0.036801777780056,
-0.8041228652000427,
0.4331876039505005,
0.02877325378358364,
1.4163898229599,
-0.21783174574375153,
0.05439427122473717,
0.9398483037948608,
-0.00519553991034627,
-0.6945862174034119,
0.22759971022605896,
0.024081842973828316,
-0.7905517816543579,
0.36443251371383667,
0.5758076310157776,
-0.2915177643299103,
0.4237295687198639,
-0.754096269607544,
-1.307607889175415,
1.3798269033432007,
0.029635358601808548,
-0.5022481679916382,
-0.3251005709171295,
-0.5901305675506592,
0.2703792452812195,
-0.47620007395744324,
0.377672404050827,
0.7279241681098938,
0.623436689376831,
0.06818133592605591,
-0.4046435058116913,
-0.1631583720445633,
-0.3647567331790924,
-0.3674986958503723,
0.23301470279693604,
-0.9279162287712097,
0.5934290885925293,
-0.7872316241264343,
-0.11715248972177505,
0.1189069077372551,
0.7406298518180847,
0.2987353801727295,
0.3835337162017822,
0.8508509397506714,
0.5052739381790161,
0.6721298694610596,
-0.22856852412223816,
0.9912492632865906,
-0.22588147222995758,
0.18325206637382507,
0.538261353969574,
-0.2728464603424072,
0.352774053812027,
0.01966726966202259,
0.09654710441827774,
0.4598475992679596,
0.6307159662246704,
0.3820708990097046,
0.7188679575920105,
0.17631371319293976,
-0.4062141180038452,
-0.2026648223400116,
0.0969206690788269,
-0.16892117261886597,
0.5766697525978088,
0.7418999075889587,
0.13870978355407715,
-0.4865133762359619,
-0.027269968762993813,
0.21680064499378204,
0.0805332139134407,
-0.20540690422058105,
0.39350995421409607,
-0.397228479385376,
-1.0790081024169922,
0.1270272135734558,
0.022579362615942955,
0.5788893699645996,
-1.0992125272750854,
-0.30217820405960083,
-0.1544966697692871,
0.06351622194051743,
0.03079528734087944,
-0.6594588756561279,
-0.03358018770813942,
-0.27529260516166687,
0.0057732961140573025,
0.011826813220977783,
0.8453839421272278,
0.06420397013425827,
-0.10733223706483841,
0.5053500533103943,
0.5723528861999512,
0.061585839837789536,
-0.11843317747116089,
-0.7155623435974121,
-0.32863709330558777,
0.10857414454221725,
-0.8636263012886047,
0.41763195395469666,
0.5036829710006714,
-0.29693201184272766,
0.9822807908058167,
0.8252692818641663,
-0.24521076679229736,
-0.2140333205461502,
-0.5697680711746216,
1.0439919233322144,
-1.0423277616500854,
-0.8942896723747253,
-0.6926238536834717,
0.4906020760536194,
-0.07260268926620483,
-0.27182260155677795,
-0.10252393782138824,
0.5146777033805847,
0.5201964378356934,
0.19568704068660736,
0.9113863110542297,
-0.42872291803359985,
0.3354351222515106,
-0.3385475277900696,
0.7194966673851013,
-0.6440624594688416,
-0.052467457950115204,
-0.11953002214431763,
-0.9707872867584229,
-0.08438725024461746,
0.6510385274887085,
-0.07451599836349487,
-0.13764286041259766,
0.5397089123725891,
0.6140780448913574,
-0.23734797537326813,
0.26603248715400696,
0.019725022837519646,
0.1443677842617035,
0.8171033263206482,
0.8281240463256836,
0.9064794778823853,
-0.035581909120082855,
0.4754472076892853,
-0.11709274351596832,
-0.9190033078193665,
-0.32471150159835815,
-0.9773922562599182,
-0.6959700584411621,
-0.24376684427261353,
-0.05253328010439873,
-0.30263617634773254,
0.11140113323926926,
0.9077423214912415,
0.5420015454292297,
-0.2849460244178772,
-0.0772126168012619,
-0.26150861382484436,
0.06782934069633484,
-0.7016779780387878,
-0.18578755855560303,
0.28906142711639404,
-0.1193920150399208,
-0.7506827712059021,
1.154067873954773,
0.5944722890853882,
0.007947685196995735,
-0.6187098026275635,
-0.002453947439789772,
-0.2481434941291809,
0.21397045254707336,
0.3455589711666107,
0.7632375359535217,
-0.17158344388008118,
-0.2391132414340973,
0.6024805307388306,
0.10255298018455505,
-0.13819767534732819,
0.7617141604423523,
-1.1952612400054932,
0.7648472785949707,
0.40272051095962524,
1.0794880390167236,
0.5480395555496216,
-0.443926066160202,
0.3342704474925995,
0.11409962922334671,
0.20799820125102997,
0.4306275248527527,
0.25515496730804443,
0.06077645719051361,
-0.6428712606430054,
1.0937204360961914,
0.31016403436660767,
-0.36577633023262024,
-0.7424404621124268,
0.1389511227607727,
-0.8138803839683533,
-0.06513815373182297,
0.7131050229072571,
-0.17384286224842072,
-0.29767027497291565,
0.31538960337638855,
-0.20415133237838745,
-0.4260713756084442,
-0.2337689846754074,
1.0711350440979004,
0.9526896476745605,
-0.5430446267127991,
0.4231875538825989,
-0.747918426990509,
0.25572025775909424,
0.5063852071762085,
-0.7489883303642273,
-0.325849711894989,
0.2056196928024292,
0.09600244462490082,
0.6806960105895996,
0.8077181577682495,
-0.23812289535999298,
0.5055956840515137,
-0.2476760745048523,
-0.2784488797187805,
-0.2588901221752167,
-0.8936825394630432,
0.010693362914025784,
0.2925339341163635,
-0.2304975688457489,
-0.05607207119464874
] |
http://arxiv.org/abs/2405.15134v2
|
http://arxiv.org/pdf/2405.15134v2
|
Efficient Biomedical Entity Linking: Clinical Text Standardization with Low-Resource Techniques
| 2024-05-24T01:14:33 | 2024-05-27T01:36:38 |
Akshit Achara, Sanand Sasidharan, Gagan N
|
cs.CL
|
cs.CL
|
Clinical text is rich in information, with mentions of treatment, medication
and anatomy among many other clinical terms. Multiple terms can refer to the
same core concepts which can be referred as a clinical entity. Ontologies like
the Unified Medical Language System (UMLS) are developed and maintained to
store millions of clinical entities including the definitions, relations and
other corresponding information. These ontologies are used for standardization
of clinical text by normalizing varying surface forms of a clinical term
through Biomedical entity linking. With the introduction of transformer-based
language models, there has been significant progress in Biomedical entity
linking. In this work, we focus on learning through synonym pairs associated
with the entities. As compared to the existing approaches, our approach
significantly reduces the training data and resource consumption. Moreover, we
propose a suite of context-based and context-less reranking techniques for
performing the entity disambiguation. Overall, we achieve similar performance
to the state-of-the-art zero-shot and distant supervised entity linking
techniques on the Medmentions dataset, the largest annotated dataset on UMLS,
without any domain-based training. Finally, we show that retrieval performance
alone might not be sufficient as an evaluation metric and introduce an article
level quantitative and qualitative analysis to reveal further insights on the
performance of entity linking methods.
|
[
-0.1261364370584488,
-0.5977200269699097,
0.7073159217834473,
-0.15837642550468445,
-0.4020707905292511,
0.06230981647968292,
-0.20265094935894012,
-0.6124671697616577,
0.42934954166412354,
0.40837523341178894,
-0.154110386967659,
-0.6762850284576416,
-0.5103936791419983,
0.4523278772830963,
-0.0649557113647461,
0.8952401280403137,
-0.07269266992807388,
0.3807606101036072,
-0.4360804557800293,
-0.7934818267822266,
-0.13649746775627136,
-0.24044625461101532,
-0.7017462253570557,
-0.43034934997558594,
0.9141398668289185,
0.2074280083179474,
0.6591951251029968,
1.046305775642395,
0.920131504535675,
0.3121405243873596,
-0.0931536853313446,
0.12353099137544632,
-0.4614318609237671,
0.23892609775066376,
-0.3329642117023468,
-0.3700781464576721,
-0.49828895926475525,
-0.32364600896835327,
0.5924906134605408,
1.1244313716888428,
-0.1397438496351242,
0.11881818622350693,
-0.027512552216649055,
0.75786954164505,
-0.5574697852134705,
-0.010943838395178318,
-0.7725380659103394,
-0.0003473964461591095,
-0.41584375500679016,
-0.26225945353507996,
-0.19023384153842926,
-0.1123661994934082,
0.21451088786125183,
-0.735896646976471,
0.3594741225242615,
0.2498006373643875,
0.8047892451286316,
0.27912065386772156,
-0.56248939037323,
-0.35800132155418396,
-0.19160225987434387,
0.8167551755905151,
-0.36938586831092834,
0.8481042385101318,
0.12980708479881287,
0.1762036681175232,
0.12242677062749863,
-0.9286082983016968,
-0.3721473217010498,
-0.29141873121261597,
-0.35275229811668396,
0.003158062230795622,
-0.26651057600975037,
0.33415165543556213,
0.18091347813606262,
0.18451018631458282,
-0.4900320768356323,
0.15526355803012848,
-0.2850387990474701,
-0.19410888850688934,
0.47916939854621887,
0.3661063611507416,
0.2878435552120209,
-0.3807918429374695,
-0.5164850950241089,
0.14382478594779968,
-1.0226020812988281,
-0.4206920862197876,
-0.3214789628982544,
0.32355621457099915,
0.08595342189073563,
0.666725218296051,
-0.09360555559396744,
0.39763689041137695,
0.009727714583277702,
-0.43047237396240234,
0.4905886650085449,
-0.5071389675140381,
-0.1905268281698227,
0.1377318650484085,
0.8010033369064331,
0.3768208622932434,
-0.394529789686203,
-0.7819476127624512,
0.014682751148939133,
0.10127616673707962,
0.43207135796546936,
-0.7509299516677856,
-0.13574029505252838,
0.1501067727804184,
-0.6358370780944824,
-0.10516799986362457,
-0.3702569901943207,
-0.662371039390564,
-0.11668742448091507,
-0.3378135859966278,
0.5540551543235779,
-0.7203226089477539,
0.35749146342277527,
-0.0983201116323471,
0.025478938594460487,
-0.12515540421009064,
0.2713797688484192,
-0.6881310939788818,
0.3824175000190735,
0.3866450786590576,
0.7882289290428162,
-0.2804214358329773,
-0.015150312334299088,
-0.20415353775024414,
0.5344672799110413,
-0.09889467805624008,
0.7234467267990112,
-0.3557925820350647,
-0.5817869901657104,
-0.014174315147101879,
0.14111007750034332,
-0.016546322032809258,
-0.6799377202987671,
0.5100366473197937,
-0.4212351143360138,
-0.05045868828892708,
-0.2649897634983063,
-0.7591517567634583,
0.07818560302257538,
0.05322052538394928,
-0.7692703604698181,
0.7801162600517273,
-0.015339690260589123,
-0.6760087609291077,
0.5711519718170166,
-0.5798049569129944,
-0.6703277826309204,
0.26379188895225525,
-0.4057742655277252,
-0.38684722781181335,
-0.05754229053854942,
-0.128821462392807,
0.4119696319103241,
-0.5144996047019958,
0.13275285065174103,
-0.21192380785942078,
-0.150417760014534,
-0.1236477941274643,
0.1014162227511406,
0.4519825875759125,
0.20551533997058868,
-0.26845791935920715,
-0.029030628502368927,
-0.7318317890167236,
-0.14842070639133453,
0.08674359321594238,
-0.19800156354904175,
-0.9016933441162109,
-0.21343395113945007,
-0.05178797245025635,
-0.02959992177784443,
0.09095680713653564,
-0.6320385336875916,
0.2334795892238617,
-0.3457408547401428,
0.27255409955978394,
0.13475488126277924,
0.15481945872306824,
0.5236506462097168,
-0.28213968873023987,
0.11039064079523087,
0.23633059859275818,
0.08585672080516815,
0.03589306399226189,
-0.46636319160461426,
-0.6814429759979248,
-0.3703141212463379,
0.48859116435050964,
0.31998708844184875,
-0.9939430356025696,
0.36236658692359924,
-0.40377891063690186,
-0.6487442255020142,
-0.8906673192977905,
0.1277173012495041,
0.7146864533424377,
0.9184155464172363,
0.8857970833778381,
-0.2880638837814331,
-0.3952447175979614,
-0.8834562301635742,
-0.18826740980148315,
-0.0475485697388649,
-0.23995734751224518,
0.5952295064926147,
0.3535343110561371,
-0.5011076331138611,
0.5889790654182434,
-0.5792672634124756,
-0.6443452835083008,
-0.06524286419153214,
-0.06526342034339905,
-0.14542388916015625,
0.35151273012161255,
0.4692681133747101,
-0.7867927551269531,
-0.40929141640663147,
-0.04206482693552971,
-0.7921752333641052,
-0.0002500515547581017,
0.06484121829271317,
-0.20274591445922852,
0.23213744163513184,
0.5638206601142883,
-0.355762779712677,
0.30536043643951416,
0.21504071354866028,
-0.04721853882074356,
0.026488550007343292,
-0.4390648305416107,
0.21785832941532135,
-1.1103565692901611,
0.5325371026992798,
0.11424893140792847,
-0.15616260468959808,
-0.5264867544174194,
-0.039176538586616516,
0.08861545473337173,
0.1705847829580307,
-0.33514782786369324,
0.6448899507522583,
-0.5544543862342834,
0.3286798894405365,
0.20872575044631958,
0.48669734597206116,
0.058914266526699066,
0.14001639187335968,
0.11679314821958542,
0.4236128330230713,
0.5073153376579285,
-0.5580836534500122,
0.33264049887657166,
0.6045104265213013,
0.25504326820373535,
0.8100247383117676,
-0.6877174973487854,
-0.2272694855928421,
-0.1908174306154251,
0.10732842981815338,
-0.5085384845733643,
0.10109350830316544,
0.04157165810465813,
-0.19167625904083252,
0.404403418302536,
0.003775126999244094,
-0.5031388998031616,
-0.11429201066493988,
-0.3441896438598633,
0.45822659134864807,
0.317165732383728,
-0.42142486572265625,
0.10329968482255936,
0.648929238319397,
0.01014462299644947,
-0.37929707765579224,
-0.6139034032821655,
0.06172677129507065,
-0.20774251222610474,
-0.2785218060016632,
0.8562527894973755,
0.1895868331193924,
-0.05117036774754524,
0.27108314633369446,
-0.044185929000377655,
-0.19981931149959564,
-0.14447514712810516,
0.24498552083969116,
0.5078867673873901,
-0.35266968607902527,
0.7481806874275208,
0.2284301370382309,
-0.18981218338012695,
-0.13217675685882568,
-0.01152360811829567,
0.01950739324092865,
0.09117069095373154,
-0.3796684145927429,
-0.32939693331718445,
0.46646472811698914,
0.22935090959072113,
0.04585053399205208,
1.0298216342926025,
0.39503079652786255,
-0.657014012336731,
0.24089786410331726,
-0.6246479153633118,
-0.3658301830291748,
-0.329977810382843,
0.30735281109809875,
-0.24335041642189026,
-0.947682797908783,
0.3883054554462433,
-0.2300097495317459,
-0.19726382195949554,
0.5422335863113403,
0.5509650707244873,
-0.016094332560896873,
0.5461429953575134,
0.6020653247833252,
0.17481201887130737,
-0.02737436443567276,
-0.0664675161242485,
0.24209246039390564,
-0.8813470602035522,
-0.6312556266784668,
-0.6208437085151672,
-0.164730966091156,
-0.8220516443252563,
-0.47607335448265076,
0.6653945446014404,
0.13658612966537476,
-0.11089999973773956,
0.5464589595794678,
-0.4897371828556061,
0.11992121487855911,
0.3071935474872589,
0.3945614695549011,
0.6840328574180603,
0.07001636177301407,
-0.48117733001708984,
-0.20072749257087708,
-0.725257933139801,
-0.5964707732200623,
1.37050461769104,
0.18088428676128387,
0.6309836506843567,
0.2124880701303482,
0.8485730886459351,
-0.06081533432006836,
0.5478475689888,
-0.780019998550415,
0.4037001132965088,
-0.22871001064777374,
-0.42378300428390503,
-0.38194283843040466,
-0.41507816314697266,
-1.4019197225570679,
0.13765904307365417,
-0.6318636536598206,
-0.5440417528152466,
-0.012084289453923702,
-0.04424932599067688,
-0.387472003698349,
0.25842800736427307,
-0.34394586086273193,
0.8277052640914917,
0.13366267085075378,
-0.4181983172893524,
-0.25633618235588074,
-0.8916342258453369,
-0.13287904858589172,
-0.23872549831867218,
-0.16764318943023682,
0.026127586141228676,
-0.6242599487304688,
0.6348816752433777,
-0.4022160768508911,
0.3700186014175415,
0.3240499496459961,
0.17783744633197784,
0.0669500082731247,
-0.22032886743545532,
-0.12850694358348846,
0.25987914204597473,
0.0981769934296608,
0.5360711216926575,
0.3226878345012665,
-0.42636480927467346,
-0.46309924125671387,
0.837372362613678,
-0.5251343250274658,
-0.07349671423435211,
-0.21745158731937408,
-0.13818730413913727,
-0.4253447949886322,
0.32759326696395874,
0.36402422189712524,
0.6578022837638855,
-0.4026666581630707,
0.2340768426656723,
0.7282168865203857,
-0.05113431438803673,
0.10435402393341064,
0.6413597464561462,
0.2119217813014984,
-0.21839667856693268,
0.5907166600227356,
0.10789930075407028,
0.10412601381540298,
0.6417022943496704,
-0.2128162980079651,
-0.5781828761100769,
-0.4615755081176758,
-0.36561107635498047,
0.5713700652122498,
-0.4922618567943573,
-0.5479519963264465,
-0.8033325672149658,
0.009794861078262329,
-0.49783506989479065,
-0.23743978142738342,
-0.2579609453678131,
-0.23332087695598602,
-0.21469129621982574,
0.1922456920146942,
0.3779587149620056,
0.3830049932003021,
0.040540892630815506,
-0.02846870943903923,
-1.0267819166183472,
0.44852912425994873,
-0.1034187600016594,
0.66575688123703,
-0.043068017810583115,
-0.09500790387392044,
-0.19935134053230286,
-0.2005690187215805,
-0.3703143000602722,
-1.039528489112854,
0.043556708842515945,
0.20974907279014587,
0.7253130078315735,
0.5310491919517517,
0.1319202482700348,
0.7725324034690857,
-0.8892325162887573,
0.3825742304325104,
0.42069321870803833,
-0.6926497220993042,
0.6234179139137268,
0.045278847217559814,
-0.26211535930633545,
0.8083096146583557,
0.883481502532959,
-0.5948061943054199,
-0.09891673177480698,
-0.8707214593887329,
-0.8935668468475342,
0.17361095547676086,
0.1574767827987671,
-0.06692507863044739,
-0.2875276803970337,
0.5658033490180969,
0.10403090715408325,
0.30796658992767334,
-0.16441069543361664,
-0.7377557754516602,
0.4054620862007141,
-0.27962586283683777,
-0.1450357735157013,
-0.07059819996356964,
-0.45652785897254944,
-0.3153185248374939,
0.7070576548576355,
-0.18729287385940552,
0.3547637164592743,
0.5624939203262329,
-0.34288182854652405,
-0.015565539710223675,
0.35395118594169617,
0.10371927171945572,
0.311087042093277,
-0.04508427530527115,
0.08180636912584305,
0.3018888831138611,
-0.5701144933700562,
0.14063070714473724,
0.10623832792043686,
-0.00399102782830596,
0.3919813334941864,
0.29517555236816406,
0.4536043107509613,
0.6744744777679443,
-0.823298454284668,
0.5015161633491516,
0.24297580122947693,
-0.04480705410242081,
0.028217460960149765,
-0.15635305643081665,
0.08553531020879745,
0.1157996654510498,
-0.10258637368679047,
-0.15251843631267548,
0.3777005672454834,
-0.3484193980693817,
0.5188407301902771,
0.38341498374938965,
-0.6543541550636292,
-0.18267610669136047,
0.6701619625091553,
0.3029170036315918,
0.07722370326519012,
0.5180451273918152,
-0.1922212839126587,
0.1265391856431961,
0.14576998353004456,
0.5170857906341553,
0.47881096601486206,
-0.08100555092096329,
0.10122580826282501,
0.37196141481399536,
-0.002350154099985957,
-0.0036549365613609552,
0.021358754485845566,
0.07478747516870499,
-0.5022078156471252,
-0.2063944935798645,
-0.5073399543762207,
-0.3725968301296234,
-0.062462229281663895,
-0.8208383917808533,
0.4316803216934204,
-0.1789143681526184,
-0.2547636032104492,
0.31470805406570435,
-0.02179425209760666,
-0.6828843951225281,
0.16659747064113617,
-0.10104333609342575,
0.9545522332191467,
-0.5753787159919739,
0.8155698180198669,
1.160223364830017,
-0.6921066641807556,
-0.7122277021408081,
-0.316225528717041,
0.14396274089813232,
-0.6192240118980408,
0.5710979104042053,
-0.12390352785587311,
0.20751115679740906,
0.023758448660373688,
-0.011858699843287468,
-0.48339006304740906,
1.3575016260147095,
0.1126144602894783,
-0.41246694326400757,
-0.3653165400028229,
0.2257150411605835,
0.8396651744842529,
-0.365185409784317,
0.242843359708786,
0.4761069416999817,
0.11818807572126389,
0.08620516210794449,
-1.1657854318618774,
0.4138478636741638,
-0.017656560987234116,
0.07845622301101685,
0.4141698181629181,
-0.36647069454193115,
0.3711755573749542,
-0.3876948058605194,
-0.16597986221313477,
0.25834208726882935,
0.2927922308444977,
0.05711318925023079,
0.520954430103302,
0.2536570131778717,
0.7125541567802429,
0.6794748306274414,
-0.10560087859630585,
0.7142892479896545,
-0.42300236225128174,
0.6259899735450745,
0.6143548488616943,
-0.4395047724246979,
0.9345462322235107,
0.6844073534011841,
-0.3213518559932709,
0.4239483177661896,
0.25795117020606995,
-0.0888604149222374,
0.3899581730365753,
0.1335913985967636,
-0.506625771522522,
-0.2045772820711136,
-0.44958215951919556,
-0.4637852609157562,
0.3198050558567047,
0.24096599221229553,
-0.5070654153823853,
-0.4795280694961548,
0.055327583104372025,
0.07859402149915695,
0.19953356683254242,
-0.19939935207366943,
1.0278120040893555,
0.23227551579475403,
-0.2913294732570648,
0.44736602902412415,
-0.08380256593227386,
0.4417356550693512,
-0.503169596195221,
-0.05095101147890091,
-0.06923190504312515,
0.11717657744884491,
-0.1270734965801239,
-0.40017470717430115,
0.38730472326278687,
-0.18451574444770813,
-0.14645394682884216,
0.13357172906398773,
0.6244474649429321,
-0.4831295311450958,
-0.2995368242263794,
0.293446809053421,
0.7447574138641357,
0.14969632029533386,
0.20465441048145294,
-0.8141164183616638,
-0.21969500184059143,
-0.4040956497192383,
0.14880895614624023,
0.5023704767227173,
0.5549427270889282,
-0.07163098454475403,
0.6863347887992859,
0.4869285225868225,
0.24493300914764404,
-0.3396783769130707,
-0.012157897464931011,
0.9017890691757202,
-0.73292076587677,
-0.23101478815078735,
-0.625609815120697,
0.1299404352903366,
-0.1654239296913147,
-0.24818210303783417,
0.49404820799827576,
0.7560626268386841,
0.7779127359390259,
0.07545758038759232,
0.35520488023757935,
0.05889991298317909,
0.7126932740211487,
-0.4510396420955658,
0.8454603552818298,
-0.7813146114349365,
0.1706060916185379,
-0.4057040512561798,
-0.7035830020904541,
-0.6352441906929016,
0.41736099123954773,
0.0379309356212616,
-0.12721869349479675,
0.9216035604476929,
0.7318427562713623,
-0.09940793365240097,
-0.13477382063865662,
0.4021853804588318,
0.12751612067222595,
-0.1011538952589035,
0.5822098851203918,
0.10957004874944687,
-0.610393226146698,
0.36632102727890015,
-0.27627959847450256,
-0.2596419155597687,
-0.40305107831954956,
-0.7831183671951294,
-0.7406790256500244,
-0.6389485001564026,
-0.592070996761322,
-0.525912880897522,
0.22166356444358826,
1.0429086685180664,
0.5769268274307251,
-0.6317288279533386,
0.21828413009643555,
0.2706143260002136,
0.042567603290081024,
-0.0656294897198677,
-0.11392725259065628,
0.644632875919342,
-0.5071224570274353,
-0.5381883978843689,
0.1286110281944275,
0.5427505970001221,
-0.07695391774177551,
-0.0803699865937233,
0.05322961136698723,
-0.1744365394115448,
-0.1655168980360031,
0.5977870225906372,
0.21913766860961914,
-0.7077836394309998,
-0.005941784009337425,
0.009290829300880432,
-0.6103901267051697,
0.12011343985795975,
0.8144553899765015,
-0.863334596157074,
0.28425338864326477,
0.197872132062912,
0.7212516069412231,
0.0012596829328686,
-0.1521635800600052,
0.03212003782391548,
-0.46246176958084106,
0.04239519312977791,
0.3147295117378235,
0.3927103877067566,
0.25947362184524536,
-0.24284382164478302,
0.5368163585662842,
0.49894052743911743,
-0.436797171831131,
-0.6017593741416931,
0.12808047235012054,
-1.068271517753601,
-0.12886051833629608,
0.9873706698417664,
-0.1518188714981079,
-0.0813698023557663,
-0.25921157002449036,
-0.08666935563087463,
0.4737817347049713,
-0.1665056198835373,
0.8408100008964539,
0.04325646907091141,
-0.4227655827999115,
0.32350844144821167,
-0.4077484905719757,
0.6321868896484375,
0.3607490360736847,
-0.826221227645874,
-0.47397157549858093,
0.38554656505584717,
0.4052685797214508,
0.3387296497821808,
0.7078102827072144,
-0.3817306160926819,
0.06882337480783463,
-0.09439186751842499,
0.1461733877658844,
0.24685879051685333,
0.02386166714131832,
-0.138897106051445,
-0.07861878722906113,
-0.1842772662639618,
-0.1656952053308487
] |
http://arxiv.org/abs/2405.15130v1
|
http://arxiv.org/pdf/2405.15130v1
|
OptLLM: Optimal Assignment of Queries to Large Language Models
| 2024-05-24T01:05:37 | 2024-05-24T01:05:37 |
Yueyue Liu, Hongyu Zhang, Yuantian Miao, Van-Hoang Le, Zhiqiang Li
|
cs.SE
|
cs.SE, cs.CL, cs.LG
|
Large Language Models (LLMs) have garnered considerable attention owing to
their remarkable capabilities, leading to an increasing number of companies
offering LLMs as services. Different LLMs achieve different performance at
different costs. A challenge for users lies in choosing the LLMs that best fit
their needs, balancing cost and performance. In this paper, we propose a
framework for addressing the cost-effective query allocation problem for LLMs.
Given a set of input queries and candidate LLMs, our framework, named OptLLM,
provides users with a range of optimal solutions to choose from, aligning with
their budget constraints and performance preferences, including options for
maximizing accuracy and minimizing cost. OptLLM predicts the performance of
candidate LLMs on each query using a multi-label classification model with
uncertainty estimation and then iteratively generates a set of non-dominated
solutions by destructing and reconstructing the current solution. To evaluate
the effectiveness of OptLLM, we conduct extensive experiments on various types
of tasks, including text classification, question answering, sentiment
analysis, reasoning, and log parsing. Our experimental results demonstrate that
OptLLM substantially reduces costs by 2.40% to 49.18% while achieving the same
accuracy as the best LLM. Compared to other multi-objective optimization
algorithms, OptLLM improves accuracy by 2.94% to 69.05% at the same cost or
saves costs by 8.79% and 95.87% while maintaining the highest attainable
accuracy.
|
[
-0.2842915654182434,
-0.7814731001853943,
0.6017711758613586,
0.28852564096450806,
-0.10658925771713257,
0.13631987571716309,
-0.349141925573349,
-0.33970749378204346,
-0.022596213966608047,
0.8677461743354797,
-0.3867877125740051,
-0.3382350206375122,
-0.28822576999664307,
-0.07246285676956177,
-0.16806086897850037,
0.3912724554538727,
-0.1474817991256714,
0.046769335865974426,
-0.4538026452064514,
-0.0862283930182457,
-0.233230322599411,
-0.5358667969703674,
-0.870193600654602,
-0.23604504764080048,
0.49966931343078613,
0.467667818069458,
0.7386090755462646,
0.638839602470398,
0.6659752726554871,
0.28043198585510254,
-0.21163798868656158,
0.4588751494884491,
-0.7323369383811951,
0.13430297374725342,
-0.16166652739048004,
-0.768525242805481,
-0.2884838879108429,
-0.32388362288475037,
0.6084328293800354,
0.7414049506187439,
-0.4122796356678009,
0.15643396973609924,
-0.23369258642196655,
0.6352942585945129,
-0.8337522745132446,
-0.14385733008384705,
-0.9809582829475403,
-0.19191884994506836,
-0.06703013926744461,
-0.3436160981655121,
-0.5486528873443604,
-0.6457999348640442,
0.020621666684746742,
-0.45937228202819824,
-0.1558430939912796,
0.5106723308563232,
0.6560028791427612,
0.5894433856010437,
-0.32593217492103577,
-0.3713100254535675,
-0.5047383904457092,
1.0556888580322266,
-0.7069656848907471,
0.36970794200897217,
0.33225178718566895,
0.07067719101905823,
-0.2031284123659134,
-0.22220943868160248,
-0.09204570204019547,
-0.033596936613321304,
0.031979016959667206,
0.058742932975292206,
0.002676834352314472,
0.12928150594234467,
-0.035416096448898315,
0.12617261707782745,
-0.7369381189346313,
0.47840774059295654,
-0.14878754317760468,
-0.26135003566741943,
0.6624833941459656,
0.20181749761104584,
0.1519082635641098,
0.3044631779193878,
-0.43883058428764343,
0.3157605230808258,
-0.6416741609573364,
-0.3746778964996338,
0.3581957221031189,
0.425121545791626,
0.40810537338256836,
0.8155523538589478,
-0.24317258596420288,
1.0464107990264893,
-0.013433260843157768,
-0.5074496269226074,
-0.03621067851781845,
-0.12413407862186432,
-0.2678873836994171,
0.20897310972213745,
0.6813133358955383,
0.6115192770957947,
0.2371683269739151,
-0.1323171854019165,
-0.25406956672668457,
-0.28855815529823303,
0.24882566928863525,
-0.7957566380500793,
0.079808808863163,
0.2443971335887909,
-0.1442253738641739,
-0.1635429412126541,
-0.5395181179046631,
-0.6872668862342834,
-0.32140305638313293,
-0.3790678381919861,
0.46749207377433777,
-0.18840791285037994,
-0.036783359944820404,
0.28461602330207825,
0.4140005111694336,
0.23680567741394043,
0.24345248937606812,
-0.8208767175674438,
0.20721213519573212,
0.4459090232849121,
0.7650905847549438,
-0.4807349443435669,
0.10563825815916061,
-0.288978636264801,
0.38841912150382996,
-0.5593975782394409,
0.6232880353927612,
-0.5194907188415527,
-0.1373254358768463,
0.05027677118778229,
-0.2539782226085663,
-0.37697353959083557,
-0.7660080790519714,
0.6792587637901306,
-0.870746910572052,
0.10225751996040344,
-0.022119611501693726,
-0.9199791550636292,
0.11926867812871933,
0.09924733638763428,
-0.6250636577606201,
1.0419323444366455,
-0.04624681919813156,
-0.5582305192947388,
0.035705480724573135,
-0.5766505599021912,
-0.3394372761249542,
0.18228226900100708,
0.29261186718940735,
-0.4338949918746948,
0.06254203617572784,
0.3387201130390167,
0.31987661123275757,
-0.5382248759269714,
0.43360164761543274,
-0.22538267076015472,
-0.1718328297138214,
0.27783358097076416,
-0.0567333921790123,
0.6121068596839905,
0.6529479622840881,
-0.08184809982776642,
0.21977300941944122,
-0.40430328249931335,
0.22937218844890594,
0.15280774235725403,
-0.5777305364608765,
-0.4265803396701813,
0.19968059659004211,
0.04108341038227081,
-0.25545623898506165,
0.33305492997169495,
-0.36663538217544556,
0.047395970672369,
-0.6286432147026062,
0.28520727157592773,
0.781513512134552,
-0.34927716851234436,
0.6781134605407715,
-0.18149718642234802,
0.6614567041397095,
-0.42771410942077637,
0.2544698715209961,
0.3625752925872803,
-0.09112857282161713,
-0.8905617594718933,
-0.28962603211402893,
0.08301577717065811,
0.6088489890098572,
-0.5291150212287903,
0.20835813879966736,
-0.0591481551527977,
-0.3297504186630249,
-0.39040496945381165,
0.24915367364883423,
0.21683667600154877,
0.36926668882369995,
0.31332409381866455,
0.37348881363868713,
-0.22356927394866943,
-1.043457269668579,
-0.29993295669555664,
-0.2545934319496155,
0.27858904004096985,
0.560500979423523,
-0.012707903049886227,
-0.09938301146030426,
0.9280431270599365,
-0.903691828250885,
-0.36708366870880127,
-0.15971659123897552,
-0.23355302214622498,
0.2446560561656952,
0.24711613357067108,
0.4973573386669159,
-0.9384640455245972,
-0.6046273112297058,
-0.04643644392490387,
-0.30733516812324524,
-0.4662485718727112,
-0.11714690178632736,
-0.4847872257232666,
0.44259095191955566,
0.451517254114151,
-0.5064980983734131,
-0.19720034301280975,
0.4572581648826599,
0.12278823554515839,
0.5838596820831299,
-0.15552043914794922,
-0.18957042694091797,
-1.0189077854156494,
-0.13800227642059326,
-0.006571142468601465,
-0.3978206515312195,
-0.26609763503074646,
0.09200645238161087,
0.10789056867361069,
-0.04104122519493103,
-0.39919862151145935,
0.6832483410835266,
-0.5727013349533081,
0.027524499222636223,
-0.3230002224445343,
0.30786728858947754,
-0.08268039673566818,
0.3534223735332489,
0.016346020624041557,
0.9288620948791504,
0.48079097270965576,
-0.5256715416908264,
0.4635225534439087,
0.07421586662530899,
-0.4510451853275299,
0.6112316250801086,
-0.4581460654735565,
0.1201675608754158,
-0.14308232069015503,
-0.13632643222808838,
-0.9488732218742371,
-0.124683678150177,
0.09504573792219162,
-0.1931997835636139,
0.3688012361526489,
0.0907379686832428,
-0.3544449210166931,
-0.36284998059272766,
-0.14833572506904602,
0.20423674583435059,
0.354526549577713,
-0.6649705767631531,
0.6658331751823425,
0.7537404298782349,
-0.3073093295097351,
-0.7592775225639343,
-0.36391082406044006,
0.10206901282072067,
-0.3833136558532715,
-0.2974343001842499,
0.460567831993103,
-0.30967381596565247,
-0.19714172184467316,
0.18198160827159882,
-0.2267155647277832,
-0.24499507248401642,
0.0915292426943779,
-0.04490264505147934,
0.17278993129730225,
-0.22835928201675415,
0.3211064636707306,
0.06822053343057632,
0.009240463376045227,
0.019369767978787422,
-0.5564572215080261,
0.438253790140152,
0.016191095113754272,
-0.49264222383499146,
0.09078596532344818,
0.2931898832321167,
0.6593636870384216,
-0.2728131115436554,
0.7508508563041687,
0.3220441937446594,
-0.3670678436756134,
-0.44760262966156006,
-0.9259690046310425,
0.18202948570251465,
-0.45669975876808167,
0.7692496180534363,
-0.31323060393333435,
-0.8910859227180481,
0.265608012676239,
-0.2138165533542633,
0.12904013693332672,
0.1698359102010727,
0.7247267961502075,
0.013701517134904861,
1.0407637357711792,
0.3863164782524109,
-0.4062100350856781,
0.24933898448944092,
0.11164222657680511,
0.32852450013160706,
-0.6961503624916077,
-0.2673528492450714,
-0.710311770439148,
-0.1714327484369278,
-0.11219169199466705,
-0.6377014517784119,
0.1197480857372284,
0.2927892506122589,
-0.08327122777700424,
0.016473084688186646,
-0.6200218200683594,
0.7280541062355042,
0.6955422759056091,
0.10646892338991165,
0.20121975243091583,
0.03105420246720314,
-0.18783847987651825,
0.08528289198875427,
-0.924480140209198,
-0.46683692932128906,
1.0925019979476929,
0.026740964502096176,
1.2220544815063477,
0.3723986744880676,
0.5025849342346191,
0.013387373648583889,
0.3063165545463562,
-0.9312751889228821,
0.6512863039970398,
-0.12314704060554504,
-0.6133549213409424,
-0.468628853559494,
-0.7210152745246887,
-0.8361169695854187,
0.36177530884742737,
-0.12711188197135925,
-0.7994074821472168,
-0.12332744151353836,
0.16155055165290833,
-0.1829260289669037,
0.46207472681999207,
-0.6360889673233032,
0.6792243719100952,
-0.9448908567428589,
-0.6151549220085144,
0.010885297320783138,
-0.36921003460884094,
0.2576310932636261,
-0.471422016620636,
0.21505174040794373,
-0.32434558868408203,
-0.30576542019844055,
0.6692606210708618,
-0.20507778227329254,
0.44843655824661255,
-0.001968396594747901,
-0.10141253471374512,
0.22722798585891724,
-0.10766799747943878,
0.5650734305381775,
0.014099091291427612,
-0.47933754324913025,
-0.3312164545059204,
0.09946472942829132,
-0.2126518338918686,
-0.33828598260879517,
0.9225914478302002,
-0.6775259375572205,
-0.6593170762062073,
-0.24492286145687103,
-0.8593761324882507,
-0.2367497831583023,
0.4052903950214386,
0.008830212987959385,
0.21859221160411835,
-0.10263681411743164,
0.31907474994659424,
0.6544454097747803,
-0.6541111469268799,
0.2771119177341461,
0.6243264675140381,
-0.5284987092018127,
-0.36598312854766846,
0.8700931072235107,
0.019466927275061607,
0.4962958097457886,
0.5704120397567749,
0.3675543963909149,
-0.8398376703262329,
-1.0274860858917236,
-0.25968942046165466,
0.2407754808664322,
-0.7115049362182617,
-0.3677203953266144,
-0.7536924481391907,
-0.024373607710003853,
-0.15363956987857819,
-0.19223177433013916,
-0.47894027829170227,
-0.04139057174324989,
-0.3960399031639099,
-0.04237416014075279,
0.22753170132637024,
-0.0913400948047638,
0.16278640925884247,
0.39497604966163635,
-0.3335256278514862,
0.15988945960998535,
0.31242111325263977,
0.4131240248680115,
-0.26763850450515747,
-0.3408215641975403,
-0.1773296296596527,
-0.13978362083435059,
-0.15326283872127533,
-0.6148490309715271,
0.46345168352127075,
0.4376884996891022,
0.8121988773345947,
0.311223566532135,
0.5889153480529785,
0.7059958577156067,
-0.3936464190483093,
0.3792915344238281,
0.20189088582992554,
-0.733922004699707,
0.38929039239883423,
-0.26675945520401,
0.3950204849243164,
0.6934956908226013,
0.5404734015464783,
-0.1686619222164154,
-0.4797671437263489,
-0.0477588064968586,
-1.140919804573059,
0.855622410774231,
0.04121296480298042,
0.16958560049533844,
0.023570893332362175,
0.5746711492538452,
-0.21459467709064484,
0.0906975269317627,
-0.7093359231948853,
-0.38443636894226074,
0.5691822171211243,
-0.3660525381565094,
-0.03145186975598335,
-0.5698804259300232,
0.04169813543558121,
-0.09304432570934296,
0.9770166277885437,
-0.42993345856666565,
0.09381955862045288,
-0.13770604133605957,
-0.33796823024749756,
-0.23115812242031097,
0.2114853411912918,
0.4658398926258087,
1.0377062559127808,
-0.38398218154907227,
0.2666846513748169,
0.3259883224964142,
0.042299896478652954,
0.166888028383255,
-0.029760140925645828,
-0.33295750617980957,
-0.10911264270544052,
0.012023212388157845,
0.954697847366333,
0.09249494969844818,
-0.971555233001709,
0.2257605642080307,
0.09319113940000534,
-0.18164747953414917,
-0.12370967864990234,
0.08210522681474686,
0.6760554313659668,
0.2893719971179962,
0.36150068044662476,
-0.30024054646492004,
0.05463145300745964,
-0.010058990679681301,
0.032892856746912,
0.756515622138977,
-0.2528954744338989,
0.36629754304885864,
0.8779337406158447,
0.09838835895061493,
-0.497415155172348,
0.3904402554035187,
0.0931222066283226,
-0.703272819519043,
0.6048099994659424,
0.7122558951377869,
0.6715090870857239,
-0.480001837015152,
0.2585974335670471,
0.2685959041118622,
0.39423900842666626,
-0.19902214407920837,
0.1106717586517334,
0.4913649559020996,
-0.9003586769104004,
-0.4931947588920593,
-1.127419114112854,
-0.5376814603805542,
0.14052563905715942,
-0.5738925933837891,
0.20153705775737762,
-0.11949465423822403,
-0.33103251457214355,
0.05746736004948616,
-0.09047511219978333,
-0.33264467120170593,
0.06123070418834686,
0.07285250723361969,
0.6436751484870911,
-0.380921334028244,
0.5493835806846619,
0.6521527767181396,
0.02726798504590988,
-0.7942003607749939,
-0.455779105424881,
0.012305949814617634,
-0.8304908275604248,
0.47343483567237854,
0.01093097310513258,
-0.23979605734348297,
0.2809651494026184,
-0.2806715965270996,
-1.0863630771636963,
0.606377899646759,
0.7870551347732544,
-0.8377228379249573,
0.1874508261680603,
0.17667558789253235,
0.11372236907482147,
-0.28306081891059875,
0.2955140769481659,
0.27745720744132996,
0.4994105398654938,
0.39718231558799744,
-0.8169001340866089,
0.006524925120174885,
0.3056221604347229,
-0.048494547605514526,
0.4680471420288086,
-0.6928555965423584,
0.5664905309677124,
-0.3888469636440277,
-0.08408363163471222,
0.15814998745918274,
0.16659455001354218,
0.0922781378030777,
0.19673091173171997,
0.5299265384674072,
0.3636871576309204,
0.9181860089302063,
0.007087241392582655,
0.9212170839309692,
-0.2603432834148407,
0.6285256743431091,
1.1012719869613647,
-0.5741118788719177,
0.7834792137145996,
0.574900209903717,
-0.5333273410797119,
-0.36336007714271545,
1.0122005939483643,
0.11765741556882858,
0.5608028769493103,
0.48807254433631897,
-0.2475716918706894,
-0.3941917419433594,
-0.24446524679660797,
-0.2263011336326599,
0.17819619178771973,
0.18606334924697876,
-0.3203985095024109,
-0.14429257810115814,
-0.021777572110295296,
0.055301930755376816,
-0.00914857815951109,
-0.23726911842823029,
0.955938994884491,
-0.005537845194339752,
-0.6791191101074219,
0.699863076210022,
0.086785227060318,
0.5059720277786255,
-0.5784979462623596,
0.5536034107208252,
-0.33551570773124695,
0.5193120241165161,
-0.17166565358638763,
-0.4463980495929718,
0.18418186902999878,
-0.26022833585739136,
-0.08427585661411285,
-0.26575660705566406,
0.7267919778823853,
-0.6909166574478149,
-0.9245014190673828,
0.46186310052871704,
0.3646004796028137,
0.19759152829647064,
-0.22715705633163452,
-0.8930906653404236,
0.08523651212453842,
0.16295433044433594,
-0.2760520875453949,
0.33868953585624695,
0.10614624619483948,
-0.07857425510883331,
0.8250963687896729,
0.6717017889022827,
0.39340484142303467,
0.27576112747192383,
0.09407340735197067,
0.6861326694488525,
-0.301461398601532,
-0.1883038878440857,
-0.9658418893814087,
-0.038826342672109604,
-0.08592842519283295,
0.05312247574329376,
0.6458598971366882,
0.8491556644439697,
0.6024203896522522,
0.011335212737321854,
0.6276673674583435,
0.2874681353569031,
0.27677762508392334,
-0.70051509141922,
0.5960167646408081,
-0.9298893809318542,
0.39684832096099854,
-0.3499513268470764,
-1.2841846942901611,
-0.5622159838676453,
0.6526967883110046,
-0.2669528126716614,
-0.07892251759767532,
0.4737861752510071,
1.1819250583648682,
0.136894091963768,
-0.21310988068580627,
0.2310880720615387,
-0.02079349383711815,
0.3003510534763336,
0.806455135345459,
0.9492266178131104,
0.12630333006381989,
0.5367794632911682,
-0.10539636760950089,
-0.2902598977088928,
-0.48740407824516296,
-0.709503173828125,
-0.7812094688415527,
-0.05823003128170967,
-0.6204068660736084,
0.1372842639684677,
0.20830997824668884,
0.9537296891212463,
0.7919611930847168,
-0.6711587309837341,
-0.4968424439430237,
0.19208723306655884,
0.4248892664909363,
-0.06560749560594559,
-0.19677338004112244,
0.5013559460639954,
-0.5312357544898987,
-0.9545870423316956,
0.2693328559398651,
0.380293071269989,
-0.33220165967941284,
0.08866949379444122,
-0.11694149672985077,
-0.5939508080482483,
0.1637379229068756,
0.7778387069702148,
-0.01109956856817007,
-0.9146830439567566,
-0.15163475275039673,
0.2487087845802307,
-0.13625933229923248,
-0.10674922168254852,
0.4755966365337372,
-0.11793109774589539,
0.5343873500823975,
0.27937090396881104,
1.1904933452606201,
0.6753425002098083,
0.23692670464515686,
0.3971184492111206,
-0.5507478713989258,
-0.03340386226773262,
0.3597412705421448,
0.22822792828083038,
0.06124339997768402,
-0.45905613899230957,
0.6034919619560242,
-0.1401042342185974,
-0.6671838164329529,
-1.0177925825119019,
0.10275161266326904,
-1.0136899948120117,
-0.4873771667480469,
1.3609118461608887,
0.1668887436389923,
-0.11560708284378052,
0.013266274705529213,
-0.48097214102745056,
-0.087352454662323,
-0.17893384397029877,
0.3539981245994568,
0.6670886278152466,
-0.33850204944610596,
-0.4074910283088684,
-0.5561091303825378,
0.2608254551887512,
0.7786744832992554,
-0.8590703010559082,
0.0754871815443039,
0.7653816342353821,
0.24532465636730194,
-0.01977531611919403,
0.5205252170562744,
-0.000006805083103245124,
-0.3995700776576996,
-0.6364901065826416,
-0.03629819303750992,
-0.0822509229183197,
-0.16004110872745514,
0.13727901875972748,
0.49912047386169434,
0.3379797041416168,
-0.25250762701034546
] |
http://arxiv.org/abs/2405.15122v1
|
http://arxiv.org/pdf/2405.15122v1
|
Generalizable and Scalable Multistage Biomedical Concept Normalization Leveraging Large Language Models
| 2024-05-24T00:31:04 | 2024-05-24T00:31:04 |
Nicholas J Dobbins
|
cs.CL
|
cs.CL
|
Background: Biomedical entity normalization is critical to biomedical
research because the richness of free-text clinical data, such as progress
notes, can often be fully leveraged only after translating words and phrases
into structured and coded representations suitable for analysis. Large Language
Models (LLMs), in turn, have shown great potential and high performance in a
variety of natural language processing (NLP) tasks, but their application for
normalization remains understudied.
Methods: We applied both proprietary and open-source LLMs in combination with
several rule-based normalization systems commonly used in biomedical research.
We used a two-step LLM integration approach, (1) using an LLM to generate
alternative phrasings of a source utterance, and (2) to prune candidate UMLS
concepts, using a variety of prompting methods. We measure results by
$F_{\beta}$, where we favor recall over precision, and F1.
Results: We evaluated a total of 5,523 concept terms and text contexts from a
publicly available dataset of human-annotated biomedical abstracts.
Incorporating GPT-3.5-turbo increased overall $F_{\beta}$ and F1 in
normalization systems +9.5 and +7.3 (MetaMapLite), +13.9 and +10.9 (QuickUMLS),
and +10.5 and +10.3 (BM25), while the open-source Vicuna model achieved +10.8
and +12.2 (MetaMapLite), +14.7 and +15 (QuickUMLS), and +15.6 and +18.7 (BM25).
Conclusions: Existing general-purpose LLMs, both propriety and open-source,
can be leveraged at scale to greatly improve normalization performance using
existing tools, with no fine-tuning.
|
[
-0.1504639834165573,
-0.7800226211547852,
0.5887843370437622,
0.2176535427570343,
-0.5548998713493347,
-0.23681491613388062,
-0.49436211585998535,
-0.47007498145103455,
0.4059530794620514,
0.41668596863746643,
-0.1562870591878891,
-0.8827528357505798,
-0.5885199904441833,
0.17186906933784485,
-0.15035036206245422,
1.1472222805023193,
0.02922406606376171,
0.21329441666603088,
-0.03948644548654556,
-0.3196277916431427,
-0.4920727610588074,
-0.28829243779182434,
-0.47419020533561707,
-0.4066360294818878,
0.5995327234268188,
0.26450392603874207,
0.5000056624412537,
0.7269798517227173,
0.9504120945930481,
0.21309097111225128,
-0.37376266717910767,
0.15080790221691132,
-0.3676600754261017,
0.08801576495170593,
-0.158913254737854,
-0.3915850818157196,
-0.8214602470397949,
-0.120887890458107,
0.7567249536514282,
1.068771243095398,
-0.40115341544151306,
0.19137421250343323,
0.015827808529138565,
0.6662382483482361,
-0.49852535128593445,
0.3095288872718811,
-0.6372541785240173,
-0.04703768715262413,
-0.110118567943573,
-0.15823349356651306,
-0.1611713021993637,
-0.34374985098838806,
0.2805842161178589,
-0.6951124668121338,
0.26041385531425476,
-0.209093376994133,
0.7495923638343811,
0.22787638008594513,
-0.2986854910850525,
-0.3591420352458954,
-0.6511149406433105,
0.7673099040985107,
-0.9560211300849915,
0.3967408537864685,
0.039390917867422104,
0.06016287952661514,
-0.042210232466459274,
-0.8644186854362488,
-0.27912604808807373,
-0.15326620638370514,
-0.1193200871348381,
0.18186016380786896,
-0.40686121582984924,
0.39779990911483765,
0.3451143205165863,
0.29992371797561646,
-0.54229736328125,
0.2207871824502945,
-0.43027931451797485,
-0.25561627745628357,
0.4732961356639862,
0.29641658067703247,
0.036836352199316025,
-0.07605665922164917,
-0.32512927055358887,
0.04178881645202637,
-0.7385213375091553,
-0.0195316094905138,
-0.2981054186820984,
0.4448828101158142,
-0.14100494980812073,
0.7881605625152588,
-0.3334980905056,
0.5624606013298035,
-0.17202326655387878,
-0.3237577974796295,
0.5711047053337097,
-0.5524191856384277,
-0.41296327114105225,
-0.20217594504356384,
0.8817863464355469,
0.5650025010108948,
0.0658707544207573,
-0.34479671716690063,
0.06113647297024727,
-0.006120265927165747,
0.2164987474679947,
-1.1853376626968384,
-0.052195917814970016,
0.4464323818683624,
-0.5956673622131348,
-0.11327298730611801,
0.020776141434907913,
-0.6546906232833862,
-0.3613206148147583,
-0.33896270394325256,
0.30809885263442993,
-0.6106008291244507,
-0.10319358110427856,
0.399602472782135,
-0.09534790366888046,
0.16066236793994904,
0.5344545245170593,
-0.6254311203956604,
0.22002579271793365,
0.4007575213909149,
1.1427029371261597,
-0.30186811089515686,
-0.02256428450345993,
-0.3526407480239868,
0.3942803740501404,
-0.4781908392906189,
0.685859739780426,
-0.40318337082862854,
-0.7799646854400635,
-0.1500827819108963,
0.05517878755927086,
-0.1441682130098343,
-0.5579383969306946,
0.7132405042648315,
-0.31251829862594604,
-0.013072820380330086,
-0.18436577916145325,
-0.6843891739845276,
-0.026785578578710556,
0.188664972782135,
-0.49914950132369995,
0.6307893395423889,
-0.20562423765659332,
-0.7294058203697205,
0.41531020402908325,
-0.8746761083602905,
-0.4688378572463989,
0.12135395407676697,
-0.420831561088562,
-0.47755977511405945,
0.36876726150512695,
0.10205743461847305,
0.6852570176124573,
-0.3992439806461334,
0.5394965410232544,
-0.35669592022895813,
-0.374176025390625,
0.128248929977417,
-0.11746935546398163,
0.5278971791267395,
0.14554110169410706,
-0.30691584944725037,
0.38098639249801636,
-0.8681679368019104,
-0.18645592033863068,
-0.029103025794029236,
-0.3898661434650421,
-0.46691957116127014,
-0.17795106768608093,
-0.04986102133989334,
0.2273384928703308,
0.11724670976400375,
-0.7802140712738037,
0.28474894165992737,
-0.5950654745101929,
0.4126417934894562,
0.3434946835041046,
0.11053378880023956,
0.3571256697177887,
-0.2864557206630707,
0.3543303310871124,
0.18510642647743225,
-0.06754148751497269,
-0.11023459583520889,
-0.6587503552436829,
-0.3790722191333771,
-0.6685606837272644,
0.23064444959163666,
0.44739747047424316,
-0.22636106610298157,
0.44258320331573486,
-0.5561753511428833,
-0.46404823660850525,
-0.6520746350288391,
-0.11217662692070007,
0.3091132640838623,
0.7582100033760071,
0.8215266466140747,
-0.27729448676109314,
-0.34543541073799133,
-1.1349737644195557,
-0.04128342121839523,
-0.0280999056994915,
-0.6007233262062073,
0.2522391974925995,
0.4777241051197052,
-0.7081915140151978,
0.9683330655097961,
-0.7413476705551147,
-0.6206127405166626,
0.09944456070661545,
0.1997174620628357,
0.18556873500347137,
0.43881693482398987,
0.26617902517318726,
-0.5360768437385559,
-0.12430644780397415,
0.1300756335258484,
-0.6318405866622925,
-0.00824371725320816,
0.06487523764371872,
0.13723470270633698,
-0.0012178608449175954,
0.6105736494064331,
-0.6768730878829956,
0.5250557661056519,
0.3074488937854767,
-0.17762109637260437,
0.47816529870033264,
-0.5597109794616699,
0.07033806294202805,
-1.24924898147583,
0.4567631781101227,
0.09232044965028763,
0.012007731944322586,
-0.7947351932525635,
-0.03609040379524231,
0.3454491198062897,
0.1267443597316742,
-0.21169674396514893,
0.6064572334289551,
-0.45123082399368286,
0.1575157642364502,
-0.29379692673683167,
-0.05475040525197983,
-0.0067139980383217335,
0.1627916395664215,
0.11320661753416061,
0.6406051516532898,
0.33215004205703735,
-0.6376487016677856,
-0.06764280796051025,
0.26229462027549744,
0.02272908389568329,
0.3748416602611542,
-0.8558687567710876,
-0.14136561751365662,
-0.21044966578483582,
0.3674386739730835,
-0.9540578722953796,
-0.19572025537490845,
0.07948645204305649,
-0.33252832293510437,
0.2849593758583069,
0.09851362556219101,
-0.45616888999938965,
-0.25005897879600525,
-0.43283650279045105,
0.181312695145607,
0.38280439376831055,
-0.01262570172548294,
0.4979687035083771,
0.37243419885635376,
-0.35189908742904663,
-0.3231034278869629,
-0.7921392321586609,
0.13578912615776062,
-0.25988537073135376,
-0.44948887825012207,
0.6370548009872437,
-0.21629215776920319,
-0.20532555878162384,
-0.11505048722028732,
-0.1441763937473297,
-0.0033110028598457575,
0.10062440484762192,
0.11311867088079453,
0.34426042437553406,
-0.2595277726650238,
0.5645645260810852,
0.32613256573677063,
0.15668100118637085,
0.061702147126197815,
-0.17620718479156494,
0.31654560565948486,
-0.22164742648601532,
-0.15609432756900787,
-0.5237814784049988,
0.27487972378730774,
0.645816445350647,
-0.3024395704269409,
0.8335493206977844,
0.794573962688446,
-0.6723524928092957,
0.20507894456386566,
-0.4864806830883026,
-0.2456655353307724,
-0.32527321577072144,
0.5000883936882019,
-0.23303349316120148,
-1.2807754278182983,
0.6467469930648804,
-0.014369946904480457,
0.3037044405937195,
0.6334496140480042,
0.9852380752563477,
-0.050385940819978714,
0.8421546816825867,
0.6300873756408691,
0.1663937270641327,
0.20753052830696106,
-0.19658567011356354,
0.025917137041687965,
-0.9727105498313904,
-0.2687811255455017,
-0.5765897035598755,
-0.14214062690734863,
-0.6682839393615723,
-0.8236421942710876,
0.5460976958274841,
0.04829587787389755,
-0.04075605422258377,
-0.09500372409820557,
-0.4433514177799225,
0.1752122938632965,
0.12677578628063202,
0.2575147747993469,
0.49534958600997925,
0.039645109325647354,
-0.23241204023361206,
-0.09972630441188812,
-0.465810090303421,
-0.5104414224624634,
1.64171302318573,
0.5667478442192078,
0.6434260606765747,
0.15737995505332947,
0.7589287161827087,
-0.02922205440700054,
0.7143373489379883,
-0.9673292636871338,
0.39589422941207886,
-0.3263821601867676,
-0.5949628949165344,
-0.5343166589736938,
-0.515253484249115,
-1.1338733434677124,
0.3873717486858368,
-0.23644571006298065,
-0.7816202640533447,
0.4031527638435364,
0.09592321515083313,
-0.716241180896759,
0.21044249832630157,
-0.5870428085327148,
0.5589579939842224,
0.1444724202156067,
-0.18881945312023163,
-0.19556061923503876,
-0.8006573915481567,
0.4511551260948181,
-0.35183221101760864,
0.4123430550098419,
-0.15162867307662964,
-0.5061467289924622,
0.6916984915733337,
-0.3735348582267761,
0.8665328025817871,
-0.05072737857699394,
-0.25589150190353394,
-0.029733922332525253,
-0.20439817011356354,
0.2723383903503418,
0.22764761745929718,
0.09352871030569077,
0.3822919428348541,
0.11682034283876419,
-0.3991246819496155,
-0.37856948375701904,
0.6365606784820557,
-0.6227840185165405,
-0.4232001304626465,
-0.19338835775852203,
-0.7344397902488708,
-0.36369794607162476,
0.2623129189014435,
0.2839585542678833,
0.34276115894317627,
-0.34212562441825867,
0.5293297171592712,
0.9349409937858582,
-0.17046186327934265,
0.16105128824710846,
0.5660021305084229,
-0.035027675330638885,
-0.5474396347999573,
0.667387068271637,
0.15133073925971985,
0.2392777055501938,
0.3763199746608734,
0.3570705056190491,
-0.2934679090976715,
-0.9316772222518921,
-0.19817782938480377,
0.4345877468585968,
-0.403471440076828,
-0.32268697023391724,
-0.919177770614624,
0.11564791202545166,
-0.5904327034950256,
0.14085334539413452,
-0.30278703570365906,
-0.45968860387802124,
-0.36353370547294617,
-0.006601053290069103,
0.14849480986595154,
0.3374224007129669,
-0.16644287109375,
0.19971692562103271,
-0.930601954460144,
0.4712088406085968,
0.04691583663225174,
0.463958203792572,
-0.24223576486110687,
-0.6070806980133057,
-0.4173826575279236,
0.09588402509689331,
-0.11833319067955017,
-0.8903547525405884,
0.3108294606208801,
0.3673361837863922,
0.44384002685546875,
0.45627331733703613,
-0.2446458488702774,
0.7044046521186829,
-0.5884078741073608,
0.36052000522613525,
0.41363662481307983,
-0.5609641075134277,
0.534437358379364,
-0.5260550379753113,
0.4653257131576538,
0.550477921962738,
0.2988831102848053,
-0.6070110201835632,
-0.36432868242263794,
-0.5881062746047974,
-1.031459093093872,
0.3959001302719116,
0.2657451331615448,
-0.11894959956407547,
-0.0850476622581482,
0.47260719537734985,
0.001557887764647603,
0.4485618770122528,
-0.3909514844417572,
-0.3266286253929138,
-0.0037529468536376953,
-0.22550201416015625,
-0.40975242853164673,
-0.13196736574172974,
-0.583223819732666,
-0.3138636350631714,
0.3161312937736511,
-0.4246844947338104,
0.3956442177295685,
0.47698500752449036,
-0.1392672061920166,
-0.06368757039308548,
0.5610485672950745,
0.7120135426521301,
0.6196942329406738,
-0.44381049275398254,
-0.22932876646518707,
0.11593074351549149,
-0.7272689938545227,
0.011581874452531338,
0.46280109882354736,
-0.32408198714256287,
0.0773703008890152,
0.30242300033569336,
0.6237190961837769,
0.19794131815433502,
-0.6000001430511475,
0.30120614171028137,
-0.17125891149044037,
-0.44608399271965027,
0.1553179919719696,
-0.11381824314594269,
0.35167884826660156,
0.1735539585351944,
0.2187855839729309,
-0.02930254116654396,
0.3068498373031616,
-0.3167754113674164,
0.13574843108654022,
0.49211204051971436,
-0.3382575809955597,
-0.36199456453323364,
0.604254961013794,
0.02873811312019825,
0.17490290105342865,
0.24378615617752075,
0.04690999910235405,
0.197590634226799,
0.4181210398674011,
0.45664674043655396,
0.9222599864006042,
-0.09026014804840088,
0.2192358672618866,
0.5132774114608765,
0.34930408000946045,
-0.1463124305009842,
0.20975132286548615,
0.19580940902233124,
-0.8271432518959045,
-0.6525617837905884,
-0.7936270236968994,
-0.45163193345069885,
0.26201584935188293,
-0.7741208672523499,
0.09351615607738495,
-0.48399174213409424,
-0.38665860891342163,
0.1966351866722107,
-0.05963733047246933,
-0.754575252532959,
0.24627745151519775,
0.10832749307155609,
0.9396709203720093,
-0.6746761202812195,
1.0097891092300415,
1.213577389717102,
-0.5431001782417297,
-0.792441725730896,
0.03447488695383072,
0.06221387907862663,
-0.33214545249938965,
0.37988895177841187,
0.10242372751235962,
0.051122669130563736,
0.025991659611463547,
-0.3093908131122589,
-0.8602324724197388,
1.3581057786941528,
0.30351340770721436,
-0.836207389831543,
-0.39542949199676514,
0.09783788025379181,
0.9206238389015198,
-0.4700199067592621,
0.17173516750335693,
0.8335741758346558,
0.29153960943222046,
0.11472965776920319,
-1.0477731227874756,
0.08344175666570663,
-0.06847498565912247,
0.10843904316425323,
0.23403549194335938,
-0.502843976020813,
0.6981335282325745,
-0.2514451742172241,
-0.04200979694724083,
-0.05552862584590912,
0.4624563455581665,
0.5127661228179932,
0.333466500043869,
0.2081906497478485,
0.6792965531349182,
0.9971196055412292,
0.07968004792928696,
0.663626492023468,
-0.2842065691947937,
0.3751838505268097,
0.9038154482841492,
-0.32960423827171326,
0.6336243748664856,
0.6569910049438477,
-0.3047448694705963,
0.3153274357318878,
0.4844770133495331,
0.2595205008983612,
0.14820998907089233,
0.17251946032047272,
-0.11063322424888611,
-0.07969478517770767,
-0.042162396013736725,
-0.5053116083145142,
0.2238825112581253,
0.5616985559463501,
-0.4015975594520569,
-0.19706951081752777,
0.04884658753871918,
0.24078693985939026,
-0.13588623702526093,
-0.35679492354393005,
0.9365683197975159,
0.09605570137500763,
-0.2493412047624588,
0.6438130140304565,
0.13089992105960846,
0.7315844893455505,
-0.74554443359375,
0.09953194856643677,
-0.33454617857933044,
0.20147155225276947,
-0.21392923593521118,
-0.40069326758384705,
0.3583660125732422,
0.003310609143227339,
-0.18948480486869812,
0.10627684742212296,
0.6685406565666199,
-0.5302432775497437,
-0.585578978061676,
0.2816695272922516,
0.6382966637611389,
0.021093901246786118,
-0.050227388739585876,
-0.6553000807762146,
-0.1022896096110344,
-0.008322073146700859,
-0.45365262031555176,
0.4692322313785553,
0.5396718382835388,
-0.29502740502357483,
0.6321209073066711,
0.6334837079048157,
0.5600513219833374,
-0.14321646094322205,
0.24630509316921234,
1.0471388101577759,
-0.7533879280090332,
-0.31333646178245544,
-0.7616379857063293,
0.4783867597579956,
0.028827205300331116,
-0.3421553671360016,
0.5454849004745483,
0.6478294134140015,
0.6900722980499268,
-0.0012146865483373404,
0.6084498167037964,
0.23516879975795746,
0.7367219924926758,
-0.5093525052070618,
0.6151633858680725,
-0.6328480243682861,
0.26840677857398987,
-0.5483595728874207,
-0.786678671836853,
-0.8312059044837952,
0.40173807740211487,
-0.26147422194480896,
-0.1694985181093216,
0.739338755607605,
0.7143363952636719,
0.08515138924121857,
-0.11187882721424103,
0.3497549295425415,
0.2778606414794922,
0.5760012865066528,
0.20546944439411163,
0.12540499866008759,
-0.08184191584587097,
0.42136454582214355,
-0.0498451292514801,
-0.536304235458374,
-0.2753979563713074,
-0.7348783612251282,
-0.5836507678031921,
-0.2042262852191925,
-0.33186542987823486,
-0.2511504888534546,
0.01276180800050497,
0.9914932250976562,
0.48484793305397034,
-0.8904207944869995,
-0.32201269268989563,
0.08732496201992035,
-0.24914248287677765,
-0.17831206321716309,
-0.07715052366256714,
0.505007266998291,
-0.4295938014984131,
-0.4106050431728363,
0.35953378677368164,
0.539913535118103,
0.096822589635849,
-0.07621020078659058,
-0.023844288662075996,
-0.20241984724998474,
-0.008098349906504154,
0.7739560008049011,
0.1724705547094345,
-0.7156727910041809,
-0.09943387657403946,
0.019067570567131042,
-0.2899352014064789,
0.2293662428855896,
0.8487755060195923,
-0.5521653890609741,
0.4933868944644928,
0.3756774067878723,
0.6755253076553345,
0.4289926290512085,
0.0043247165158391,
0.4606773853302002,
-0.5670419335365295,
0.11793874949216843,
0.47713372111320496,
0.4185258448123932,
0.25153282284736633,
-0.0837319865822792,
0.482644259929657,
0.4143017828464508,
-0.5006723403930664,
-0.788387656211853,
0.17663398385047913,
-0.7923926711082458,
-0.34085965156555176,
1.166935682296753,
-0.10219243168830872,
-0.039322398602962494,
-0.0227248203009367,
-0.20823894441127777,
0.33871662616729736,
-0.41013243794441223,
0.6686018109321594,
0.5181810855865479,
-0.268657922744751,
0.19396758079528809,
-0.5815165042877197,
0.5071069598197937,
0.27908769249916077,
-0.9230626225471497,
0.12261922657489777,
0.7076152563095093,
0.35892680287361145,
0.2388155162334442,
0.9136918783187866,
-0.44557541608810425,
0.26387548446655273,
-0.6347665190696716,
0.40825846791267395,
0.09660324454307556,
-0.22790904343128204,
-0.7071473598480225,
0.15903085470199585,
-0.0015203976072371006,
-0.013944443315267563
] |
http://arxiv.org/abs/2405.15115v1
|
http://arxiv.org/pdf/2405.15115v1
|
Towards Better Understanding of In-Context Learning Ability from In-Context Uncertainty Quantification
| 2024-05-24T00:08:55 | 2024-05-24T00:08:55 |
Shang Liu, Zhongze Cai, Guanting Chen, Xiaocheng Li
|
cs.LG
|
cs.LG, cs.CL, stat.ML
|
Predicting simple function classes has been widely used as a testbed for
developing theory and understanding of the trained Transformer's in-context
learning (ICL) ability. In this paper, we revisit the training of Transformers
on linear regression tasks, and different from all the existing literature, we
consider a bi-objective prediction task of predicting both the conditional
expectation $\mathbb{E}[Y|X]$ and the conditional variance Var$(Y|X)$. This
additional uncertainty quantification objective provides a handle to (i) better
design out-of-distribution experiments to distinguish ICL from in-weight
learning (IWL) and (ii) make a better separation between the algorithms with
and without using the prior information of the training distribution.
Theoretically, we show that the trained Transformer reaches near Bayes-optimum,
suggesting the usage of the information of the training distribution. Our
method can be extended to other cases. Specifically, with the Transformer's
context window $S$, we prove a generalization bound of
$\tilde{\mathcal{O}}(\sqrt{\min\{S, T\}/(n T)})$ on $n$ tasks with sequences of
length $T$, providing sharper analysis compared to previous results of
$\tilde{\mathcal{O}}(\sqrt{1/n})$. Empirically, we illustrate that while the
trained Transformer behaves as the Bayes-optimal solution as a natural
consequence of supervised training in distribution, it does not necessarily
perform a Bayesian inference when facing task shifts, in contrast to the
\textit{equivalence} between these two proposed in many existing literature. We
also demonstrate the trained Transformer's ICL ability over covariates shift
and prompt-length shift and interpret them as a generalization over a meta
distribution.
|
[
-0.4559287428855896,
-0.2431180328130722,
0.502897322177887,
0.029472729191184044,
0.07410435378551483,
-0.1923677623271942,
-0.2878873944282532,
-0.24967841804027557,
-0.49761104583740234,
0.15992453694343567,
-0.7568008899688721,
-0.05590595304965973,
-0.7126305103302002,
-0.054517608135938644,
-0.46433132886886597,
1.0991876125335693,
0.027090199291706085,
0.004323345143347979,
-0.1546834409236908,
0.06512631475925446,
-0.46406835317611694,
-0.12461213767528534,
-0.3873441517353058,
-0.3760490417480469,
0.32556796073913574,
0.26058587431907654,
0.486894816160202,
0.06288424879312515,
0.6443234086036682,
0.25386929512023926,
0.159463033080101,
-0.149220809340477,
-0.5008730888366699,
-0.19342999160289764,
-0.19153346121311188,
-0.7653642296791077,
0.030103452503681183,
-0.11546625941991806,
0.5138503909111023,
0.7921222448348999,
0.08214545994997025,
0.3198082447052002,
0.47331514954566956,
0.3987405598163605,
-0.857330858707428,
0.24157534539699554,
-0.6971848011016846,
0.28623420000076294,
0.11590386182069778,
-0.05916949361562729,
-0.863957941532135,
0.056640610098838806,
0.2887457311153412,
-0.5847485065460205,
0.44749996066093445,
-0.0022449332755059004,
0.9656371474266052,
0.7103083729743958,
-0.7345661520957947,
-0.08004359900951385,
-1.099536657333374,
0.9132115840911865,
-0.324348509311676,
0.6785061359405518,
0.3194592595100403,
0.7108043432235718,
0.10214783996343613,
-0.7919018268585205,
-0.3613247275352478,
-0.024610020220279694,
-0.32406195998191833,
0.337613046169281,
-0.2414388209581375,
0.32006126642227173,
0.6024455428123474,
0.06047499552369118,
-0.22591513395309448,
-0.09894568473100662,
-0.3523762822151184,
-0.058089155703783035,
0.46720820665359497,
-0.047703035175800323,
-0.23761612176895142,
0.011496374383568764,
-0.5754368901252747,
-0.32182776927948,
-0.3526507019996643,
0.6934588551521301,
0.15082120895385742,
0.13455969095230103,
-0.21566236019134521,
0.2241755574941635,
-0.00902407057583332,
0.5694036483764648,
0.38402315974235535,
-0.38243693113327026,
0.23636850714683533,
-0.0680183619260788,
-0.3536889851093292,
-0.2547864615917206,
0.3884579539299011,
0.04041534662246704,
0.10886768251657486,
-0.36650022864341736,
-0.21924535930156708,
-0.18201060593128204,
0.5744614601135254,
-0.6306053996086121,
0.021495090797543526,
-0.19427073001861572,
-0.520399808883667,
0.12931382656097412,
0.4236241579055786,
-0.4854314625263214,
0.20134131610393524,
-0.570096492767334,
0.7255190014839172,
-0.3936474323272705,
0.1672554314136505,
-0.06823039799928665,
-0.198905810713768,
0.2283107042312622,
0.24925249814987183,
-0.8442409634590149,
0.29079627990722656,
0.4450523257255554,
0.505916953086853,
0.0023128241300582886,
-0.20033644139766693,
-0.511901319026947,
0.1395399272441864,
-0.02664731815457344,
0.2945011258125305,
-0.18014061450958252,
-0.19062753021717072,
0.06893635541200638,
-0.01847936399281025,
-0.40615925192832947,
-0.34777817130088806,
0.48077768087387085,
-0.53652024269104,
0.033279404044151306,
-0.16122908890247345,
-0.3623725175857544,
-0.029246052727103233,
-0.07276254147291183,
-0.25028136372566223,
0.97456955909729,
0.49094393849372864,
-0.5920612812042236,
0.9163210391998291,
-0.41356712579727173,
-0.27586638927459717,
-0.09826111793518066,
-0.0044928002171218395,
-0.4471949338912964,
0.28800615668296814,
0.14125755429267883,
0.5390909314155579,
-0.18229025602340698,
0.46026521921157837,
-0.27995994687080383,
-0.625566303730011,
0.3467627465724945,
-0.6402048468589783,
0.6771964430809021,
0.20261156558990479,
-0.6568067073822021,
-0.22324825823307037,
-0.5262459516525269,
-0.07674799114465714,
-0.3912656605243683,
-0.1407165229320526,
-0.3364393413066864,
0.030735015869140625,
-0.2033071517944336,
0.21228721737861633,
-0.017237991094589233,
-0.6133905649185181,
0.06105424836277962,
-0.4773346781730652,
0.1678859144449234,
0.6687436103820801,
-0.13729767501354218,
0.8019961714744568,
-0.10106833279132843,
0.4300481677055359,
-0.1281348168849945,
0.6515167355537415,
0.23468796908855438,
-0.2831480801105499,
-0.5870002508163452,
-0.28711697459220886,
0.11428535729646683,
0.5486947298049927,
-0.8271074891090393,
0.4130570590496063,
-0.32965776324272156,
-0.30548784136772156,
-0.4172380566596985,
-0.08353987336158752,
0.4727364182472229,
0.7551100850105286,
0.7045644521713257,
0.27838248014450073,
-0.36778950691223145,
-0.9700677394866943,
-0.2153632938861847,
-0.038061708211898804,
-0.4332236349582672,
0.1028905138373375,
0.5221103429794312,
-0.45950183272361755,
1.3620020151138306,
-0.4028013050556183,
-0.22296059131622314,
-0.19382090866565704,
0.20646557211875916,
0.37156420946121216,
0.360848993062973,
0.6036743521690369,
-1.0610260963439941,
-0.7849193215370178,
-0.0519382581114769,
-0.7017680406570435,
-0.06307285279035568,
-0.2686200439929962,
-0.15306265652179718,
-0.029135987162590027,
0.482923299074173,
-0.34237948060035706,
0.8959557414054871,
0.26865166425704956,
-0.140960693359375,
0.18411694467067719,
-0.1679457128047943,
-0.18524716794490814,
-0.9386054277420044,
-0.13610941171646118,
0.2765902876853943,
-0.08827316015958786,
-0.7640865445137024,
-0.1488904058933258,
0.42751193046569824,
0.1667579710483551,
-0.19396273791790009,
0.371410071849823,
-0.09375486522912979,
-0.09829314798116684,
-0.27607670426368713,
-0.17319104075431824,
-0.1916298121213913,
0.5458602905273438,
0.016380956396460533,
0.6111711263656616,
0.5036306977272034,
-0.618457555770874,
-0.19176992774009705,
0.25071051716804504,
-0.2815229892730713,
0.7394115328788757,
-0.4477376639842987,
-0.24055872857570648,
-0.4204654395580292,
0.1890711933374405,
-1.0505324602127075,
0.058187130838632584,
0.2540789842605591,
-0.33345508575439453,
0.44445371627807617,
-0.2224758416414261,
-0.16122916340827942,
-0.5497503280639648,
0.18858683109283447,
0.343085378408432,
0.6753737330436707,
-0.7554547190666199,
0.5788614749908447,
-0.01172961201518774,
0.39818906784057617,
-0.9692977070808411,
-0.7948066592216492,
-0.37707874178886414,
-0.4091567099094391,
-0.42706841230392456,
0.6906290650367737,
-0.19932839274406433,
-0.2829083204269409,
-0.07747156172990799,
-0.3679526448249817,
-0.21570654213428497,
0.14648723602294922,
0.27349093556404114,
0.1566411852836609,
0.021418599411845207,
0.3435380458831787,
0.33052366971969604,
-0.3409675061702728,
0.23647215962409973,
-0.06822428107261658,
0.12394824624061584,
-0.22634264826774597,
-0.5741773247718811,
-0.20756910741329193,
-0.005760724190622568,
-0.029659977182745934,
0.13776850700378418,
0.590074896812439,
0.909564197063446,
-0.27965810894966125,
-0.4808662235736847,
-0.4620535969734192,
-0.32510462403297424,
-0.5313992500305176,
0.3680824041366577,
-0.3780493438243866,
-0.624006986618042,
0.27213728427886963,
0.020798955112695694,
-0.021923692896962166,
0.5194470286369324,
0.12677671015262604,
-0.4930550456047058,
0.8458426594734192,
0.7644014954566956,
0.04043053090572357,
0.5698124170303345,
-0.7227036356925964,
0.3369534909725189,
-0.7759020924568176,
-0.24079278111457825,
-0.2824863791465759,
-0.5847547650337219,
-0.2999263405799866,
-0.18346433341503143,
0.7638610601425171,
0.013759664259850979,
-0.38533833622932434,
0.29363903403282166,
-0.4643929600715637,
0.10946532338857651,
0.5988802313804626,
0.3426194489002228,
-0.0992739200592041,
-0.10614852607250214,
0.14236024022102356,
-0.07422062009572983,
-0.6681927442550659,
-0.12327800691127777,
0.9758290648460388,
0.3337007164955139,
0.7399229407310486,
-0.1574658304452896,
0.616644024848938,
0.1698777675628662,
0.5390340089797974,
-0.6413814425468445,
0.2705342769622803,
-0.07652606815099716,
-0.4997764527797699,
-0.49104756116867065,
-0.40952956676483154,
-0.9788371324539185,
0.34366151690483093,
-0.08954570442438126,
-0.7689955830574036,
0.5698195099830627,
0.19770191609859467,
-0.29499077796936035,
0.2710568606853485,
-0.6694426536560059,
0.7317265272140503,
-0.13560712337493896,
-0.11861907690763474,
-0.026493970304727554,
-1.0783320665359497,
0.13233208656311035,
0.024536393582820892,
0.3360728323459625,
0.0827743411064148,
0.013773228973150253,
0.37975946068763733,
-0.40568020939826965,
0.9276159405708313,
-0.4565183222293854,
0.18000568449497223,
0.29610586166381836,
-0.37958377599716187,
0.43487945199012756,
0.28532087802886963,
-0.054345741868019104,
-0.019302617758512497,
0.03210564702749252,
-0.3122195303440094,
-0.7473899722099304,
-0.04894845932722092,
-0.7505617141723633,
-0.41026172041893005,
-0.2953968942165375,
-0.8200477361679077,
-0.4612051844596863,
-0.21025724709033966,
0.8687617182731628,
0.4935120940208435,
0.12186235934495926,
0.4915703237056732,
0.7860456109046936,
0.14235270023345947,
0.726357102394104,
0.3128368854522705,
0.2999570667743683,
-0.041229497641325,
0.5701651573181152,
0.1507410854101181,
0.4510032534599304,
0.9436255097389221,
0.2612011134624481,
-0.2344009429216385,
-0.4019166827201843,
-0.14295357465744019,
-0.15080969035625458,
-0.7531841993331909,
-0.3346095681190491,
-0.31519007682800293,
-0.2839391529560089,
-0.11887416988611221,
-0.45439979434013367,
0.06858091056346893,
0.0610969252884388,
-0.3291015326976776,
-0.15469135344028473,
0.06168217211961746,
0.5940514206886292,
-0.06784184277057648,
0.749031126499176,
-0.5308396220207214,
0.08261310309171677,
0.4732465445995331,
0.03205712512135506,
-0.06489495933055878,
-0.8046936988830566,
-0.6112580299377441,
0.31383123993873596,
-0.3921337425708771,
-0.794765055179596,
0.28873705863952637,
0.3785627484321594,
0.8176630735397339,
0.5528160333633423,
0.16790786385536194,
0.7149183750152588,
-0.18768280744552612,
0.5008196234703064,
0.12034054845571518,
-1.04147207736969,
0.3408127427101135,
-0.05379551649093628,
0.20982375741004944,
0.7471988797187805,
0.5579048991203308,
-0.24941562116146088,
-0.3738971948623657,
-0.6959472298622131,
-0.6644737124443054,
0.8154919147491455,
0.3008005619049072,
0.17431873083114624,
0.15095151960849762,
0.5941770076751709,
0.3628060221672058,
0.26944974064826965,
-0.9106270670890808,
-0.28791043162345886,
-0.2138456106185913,
-0.3353779911994934,
-0.23603768646717072,
-0.03627932071685791,
0.09098535031080246,
-0.5528131127357483,
0.5641236305236816,
-0.3905589282512665,
0.6051994562149048,
0.1395048201084137,
-0.41669154167175293,
-0.11146536469459534,
0.1560058444738388,
0.21973301470279694,
0.6568183898925781,
-0.37733256816864014,
0.15619300305843353,
0.5884685516357422,
-0.3857436180114746,
0.23837435245513916,
0.24525651335716248,
-0.1983388364315033,
-0.10303652286529541,
0.5594720840454102,
1.0146201848983765,
0.4409065842628479,
-0.624651312828064,
0.7908984422683716,
0.001026943325996399,
-0.2626299262046814,
-0.4544622302055359,
0.09754324704408646,
-0.4006706476211548,
0.6123993396759033,
0.7503795623779297,
0.4863663911819458,
0.36709561944007874,
-0.3189733326435089,
0.22705252468585968,
0.518347442150116,
-0.6267785429954529,
-0.4667716324329376,
0.6612042188644409,
-0.18515630066394806,
-0.18916472792625427,
0.5832939147949219,
-0.3869760036468506,
-0.31879308819770813,
0.626257061958313,
0.5795751214027405,
0.8238118886947632,
-0.11696004867553711,
0.2842519283294678,
0.28670233488082886,
0.2475586235523224,
-0.04278469458222389,
0.0984414666891098,
-0.3100087642669678,
-0.783949613571167,
-0.38310685753822327,
-0.4573458135128021,
-0.15627449750900269,
-0.1974872350692749,
-0.9300774931907654,
0.19093649089336395,
0.05453880876302719,
-0.3114742636680603,
-0.35355523228645325,
-0.353040874004364,
-1.1371166706085205,
0.3645820617675781,
0.0013812390388920903,
0.6865076422691345,
-0.8552704453468323,
0.801773190498352,
0.43860945105552673,
-0.13328233361244202,
-0.8116623759269714,
0.25760167837142944,
-0.3643658459186554,
-0.7399603724479675,
1.0229626893997192,
0.1753755658864975,
0.09430937469005585,
-0.17127880454063416,
-0.36461564898490906,
-1.1335504055023193,
1.3755890130996704,
0.5687850117683411,
-0.4461592435836792,
-0.3079218566417694,
0.31791141629219055,
0.5282928347587585,
-0.2716846168041229,
0.47397810220718384,
0.41900619864463806,
0.34994247555732727,
0.045516353100538254,
-0.8435304164886475,
-0.24776597321033478,
0.016873514279723167,
0.08848213404417038,
0.35795560479164124,
-0.4434480369091034,
0.8740414381027222,
-0.14180365204811096,
0.030944062396883965,
-0.19020086526870728,
0.6913187503814697,
-0.288204163312912,
0.5545626878738403,
0.7474054098129272,
0.3408486843109131,
0.5126968622207642,
-0.24856457114219666,
1.2642545700073242,
-0.02594791166484356,
0.6133614778518677,
0.8743054866790771,
0.20384645462036133,
0.5742508769035339,
0.47202691435813904,
-0.4550779163837433,
0.4647555649280548,
0.49103397130966187,
0.08543510735034943,
0.7984475493431091,
0.1002190038561821,
-0.11077101528644562,
-0.16277122497558594,
0.2977028787136078,
-0.14619824290275574,
0.2423151135444641,
0.3194430470466614,
-0.4100843667984009,
-0.18080689013004303,
0.642861008644104,
-0.26480746269226074,
-0.027844002470374107,
-0.3122361898422241,
0.6485556364059448,
0.049315132200717926,
-0.629237949848175,
0.4006498456001282,
-0.3162974417209625,
0.6492127776145935,
-0.6116747260093689,
0.2956237494945526,
0.0828608050942421,
0.35340452194213867,
-0.024306973442435265,
-0.6626982688903809,
0.3641546666622162,
-0.5137457847595215,
-0.16540640592575073,
-0.5168299078941345,
0.7211870551109314,
-0.27449679374694824,
-0.38935086131095886,
0.3504554033279419,
0.26923197507858276,
-0.24345235526561737,
-0.14858107268810272,
-0.43053653836250305,
-0.31550800800323486,
-0.018874898552894592,
-0.25612422823905945,
0.43509629368782043,
0.3646858036518097,
0.08534279465675354,
0.6329935193061829,
-0.03406504914164543,
-0.4477373957633972,
0.24347566068172455,
-0.23358941078186035,
0.3918994963169098,
-0.16792187094688416,
-0.41746124625205994,
-0.714012622833252,
0.7593508958816528,
0.08653342723846436,
-0.5196760296821594,
0.6093921661376953,
0.41843464970588684,
1.1836612224578857,
-0.41250336170196533,
0.8261108994483948,
-0.28077414631843567,
0.24028772115707397,
-0.46654748916625977,
0.009743841364979744,
-0.6318437457084656,
-0.037662405520677567,
-0.32370975613594055,
-0.9390230774879456,
-0.046789634972810745,
0.6556650400161743,
-0.5848363637924194,
0.13556918501853943,
0.7318504452705383,
0.4514756500720978,
-0.3007793128490448,
-0.01681121438741684,
0.3795822262763977,
-0.18861225247383118,
0.13322459161281586,
0.6436993479728699,
0.738601803779602,
-0.5492144823074341,
0.6894087195396423,
-0.8643580079078674,
-0.2127748727798462,
-0.2806231677532196,
-0.5992790460586548,
-0.9385542869567871,
-1.028630018234253,
0.038452669978141785,
-0.07085275650024414,
-0.08505341410636902,
0.9030159711837769,
0.9745187163352966,
-0.6629083156585693,
-0.3206430673599243,
-0.15346641838550568,
-0.05756344646215439,
-0.8107314705848694,
-0.2126334309577942,
0.22047631442546844,
-0.7106817364692688,
-0.7338734865188599,
0.27635934948921204,
0.04832505062222481,
-0.00025430083042010665,
0.06569851189851761,
-0.2446535974740982,
0.08522996306419373,
-0.11984435468912125,
0.7712122797966003,
0.02890297770500183,
-0.6451365947723389,
-0.6760397553443909,
0.05442463606595993,
0.14967882633209229,
0.0966571494936943,
0.6851418614387512,
-0.7554407119750977,
0.32843217253685,
0.3427828252315521,
0.5036765336990356,
0.8709383010864258,
-0.042681317776441574,
0.4665795862674713,
-0.9737968444824219,
0.18459297716617584,
0.23438017070293427,
0.5636194348335266,
-0.16680656373500824,
-0.5582931041717529,
0.6504173278808594,
0.07283113151788712,
-0.6452073454856873,
-0.692634105682373,
0.27569034695625305,
-0.8791617751121521,
-0.16252775490283966,
1.0426369905471802,
-0.10351976007223129,
-0.019604727625846863,
-0.11812610179185867,
-0.20679204165935516,
0.37699222564697266,
-0.3368206322193146,
0.7836039662361145,
0.29022490978240967,
-0.30931827425956726,
-0.1391766518354416,
-0.542364239692688,
0.49602511525154114,
0.3472205102443695,
-0.6775223612785339,
-0.37295737862586975,
0.016030430793762207,
0.1387832909822464,
0.14266784489154816,
0.17526201903820038,
0.5644755363464355,
0.1799052655696869,
-0.3132892847061157,
-0.03489520773291588,
0.20583024621009827,
-0.4743633270263672,
-0.19399115443229675,
0.21256619691848755,
-0.1819307506084442,
-0.18365317583084106
] |
http://arxiv.org/abs/2405.15110v1
|
http://arxiv.org/pdf/2405.15110v1
|
CHARP: Conversation History AwaReness Probing for Knowledge-grounded Dialogue Systems
| 2024-05-24T00:00:30 | 2024-05-24T00:00:30 |
Abbas Ghaddar, David Alfonso-Hermelo, Philippe Langlais, Mehdi Rezagholizadeh, Boxing Chen, Prasanna Parthasarathi
|
cs.CL
|
cs.CL
|
In this work, we dive deep into one of the popular knowledge-grounded
dialogue benchmarks that focus on faithfulness, FaithDial. We show that a
significant portion of the FaithDial data contains annotation artifacts, which
may bias models towards completely ignoring the conversation history. We
therefore introduce CHARP, a diagnostic test set, designed for an improved
evaluation of hallucinations in conversational model. CHARP not only measures
hallucination but also the compliance of the models to the conversation task.
Our extensive analysis reveals that models primarily exhibit poor performance
on CHARP due to their inability to effectively attend to and reason over the
conversation history. Furthermore, the evaluation methods of FaithDial fail to
capture these shortcomings, neglecting the conversational history. Our findings
indicate that there is substantial room for contribution in both dataset
creation and hallucination evaluation for knowledge-grounded dialogue, and that
CHARP can serve as a tool for monitoring the progress in this particular
research area. CHARP is publicly available at
https://huggingface.co/datasets/huawei-noah/CHARP
|
[
-0.4898497462272644,
-0.4706847667694092,
0.5507728457450867,
0.14768379926681519,
-0.058932047337293625,
-0.02264726534485817,
0.18301323056221008,
-0.49326369166374207,
0.2359761744737625,
0.737107515335083,
-0.6207887530326843,
-0.4920407235622406,
-0.21618206799030304,
-0.3402244448661804,
-0.374917596578598,
0.7556908130645752,
0.19463922083377838,
0.22333359718322754,
-0.3137827217578888,
-0.2768166661262512,
-0.7745664119720459,
-0.6771459579467773,
-0.3552616536617279,
-0.4945574104785919,
-0.06236742064356804,
0.21944154798984528,
0.7880968451499939,
0.15955010056495667,
0.3932686448097229,
0.07495605200529099,
-0.08352743089199066,
0.3470533788204193,
-0.6588560938835144,
0.3429291546344757,
-0.048659417778253555,
-0.01938760094344616,
-0.4435182511806488,
-0.0517461933195591,
0.4754704535007477,
0.9214709997177124,
0.049459852278232574,
-0.0019482894567772746,
0.1925736665725708,
0.4503142833709717,
-0.5096334218978882,
0.1862664669752121,
-0.7210488319396973,
0.2489413321018219,
0.38583695888519287,
-0.46846869587898254,
-0.420085608959198,
-0.6670772433280945,
0.45767056941986084,
-0.2650735080242157,
0.5260635018348694,
0.35317230224609375,
0.7265896201133728,
0.375153124332428,
-0.35600584745407104,
-0.29469677805900574,
-0.7598664164543152,
0.6600673794746399,
-0.6545635461807251,
0.710122287273407,
0.7373692989349365,
0.31054192781448364,
-0.30330491065979004,
-0.5431289672851562,
-0.5220448970794678,
-0.32523396611213684,
-0.06847919523715973,
0.052933331578969955,
0.21692867577075958,
0.2836052477359772,
0.44640734791755676,
0.5898282527923584,
-0.388152539730072,
-0.5041993856430054,
-0.09927240759134293,
-0.7385631799697876,
0.33596932888031006,
0.24009130895137787,
0.32768067717552185,
-0.22989968955516815,
-0.35002005100250244,
-0.12460118532180786,
-0.6890202760696411,
-0.05903569236397743,
0.08993137627840042,
-0.0005720467888750136,
0.17108070850372314,
0.5520140528678894,
-0.18535783886909485,
0.3978027403354645,
-0.007262819912284613,
0.06478972733020782,
-0.028968093916773796,
-0.4398540258407593,
-0.37249401211738586,
0.37680089473724365,
0.601835310459137,
0.5628055334091187,
0.10625051707029343,
-0.05729134380817413,
0.28629258275032043,
-0.13098357617855072,
0.4596937596797943,
-1.0194292068481445,
-0.4236604571342468,
0.21442672610282898,
-0.5985051989555359,
-0.19656239449977875,
-0.19922198355197906,
-0.8332655429840088,
-0.8050616383552551,
0.014445936307311058,
0.07858683913946152,
-0.7965268492698669,
-0.21749074757099152,
0.24368196725845337,
-0.24859744310379028,
0.47194722294807434,
0.47829362750053406,
-1.0700256824493408,
0.28684133291244507,
0.7073234915733337,
0.7533900737762451,
0.036933619529008865,
-0.10078210383653641,
-0.3697184920310974,
-0.19423216581344604,
-0.46606603264808655,
0.5268088579177856,
-0.6344082355499268,
-0.8286934494972229,
0.08553760498762131,
-0.020365510135889053,
-0.2255614846944809,
-0.5156444907188416,
1.1251087188720703,
-0.34226876497268677,
0.11366551369428635,
-0.9231594204902649,
-0.7913762927055359,
-0.441343754529953,
0.21440353989601135,
-0.3384695053100586,
0.9181831479072571,
0.3247750401496887,
-0.867592453956604,
0.576124906539917,
-0.2662898898124695,
-0.04222281649708748,
0.14265629649162292,
-0.49055546522140503,
-0.14643970131874084,
0.11443182826042175,
-0.0035494957119226456,
0.21544110774993896,
-0.15822097659111023,
0.5984870791435242,
-0.6452919840812683,
-0.5563773512840271,
-0.05018594488501549,
-0.49898195266723633,
0.7122321128845215,
0.1377624124288559,
-0.45023566484451294,
-0.2949562072753906,
-0.662980854511261,
0.2937317490577698,
-0.21001173555850983,
0.2547464370727539,
-0.3837648928165436,
0.21029764413833618,
-0.23456454277038574,
0.03929319977760315,
-0.03955821320414543,
-0.39990442991256714,
0.17858636379241943,
-0.3560667932033539,
0.12005177140235901,
0.5857701897621155,
0.3195151388645172,
-0.06464896351099014,
-0.5615906119346619,
0.26280415058135986,
0.011672933585941792,
0.25473615527153015,
-0.4363657832145691,
-0.5604234337806702,
-1.0879266262054443,
0.11628243327140808,
-0.06817681342363358,
0.4079766869544983,
-0.44888731837272644,
0.6339148283004761,
-0.19902774691581726,
-0.45388972759246826,
-0.26521727442741394,
-0.1505783647298813,
0.4412512481212616,
0.747705340385437,
0.3159100115299225,
-0.6554428935050964,
-0.5604522824287415,
-0.8773707151412964,
-0.2476392537355423,
-0.8119457364082336,
-0.019868919625878334,
0.6821001172065735,
0.4000924825668335,
-0.3294994831085205,
0.797538161277771,
-0.2675931751728058,
-0.15640977025032043,
0.17465005815029144,
0.2687545716762543,
-0.038699060678482056,
0.4955393373966217,
0.5366263389587402,
-0.47416386008262634,
-0.056694675236940384,
0.07821632921695709,
-0.7960272431373596,
-0.0653100237250328,
-0.06041934713721275,
-0.03477061912417412,
0.0027193448040634394,
0.17818431556224823,
-0.5165548324584961,
0.6557164192199707,
0.5474348664283752,
-0.7048083543777466,
0.8874896764755249,
0.2926173806190491,
0.7354066371917725,
-0.8131434321403503,
0.031571656465530396,
-0.46404969692230225,
-0.16250009834766388,
-0.7225795984268188,
-0.4286130964756012,
0.04487761855125427,
-0.2083313912153244,
-0.20761530101299286,
0.269602507352829,
0.043892890214920044,
-0.18363556265830994,
-0.10157139599323273,
-0.08457965403795242,
0.15729129314422607,
0.538621187210083,
0.3775566518306732,
0.7517948746681213,
0.3004383146762848,
-0.534755289554596,
0.3088408410549164,
0.6766794919967651,
-0.38684338331222534,
0.43597909808158875,
-0.6319733262062073,
0.36026638746261597,
0.3687469959259033,
0.08684205263853073,
-1.0415942668914795,
-0.21757401525974274,
0.3962542712688446,
-0.4320746064186096,
-0.06578462570905685,
-0.11325233429670334,
-0.2761830687522888,
-0.06950794905424118,
-0.06123021990060806,
0.6383895874023438,
0.4786602258682251,
-0.5859659910202026,
0.5954673886299133,
0.05665348097681999,
-0.0714823305606842,
-0.3492398262023926,
-0.1317456215620041,
-0.03222859650850296,
-0.14620165526866913,
-0.8089943528175354,
0.15793561935424805,
-0.20916621387004852,
-0.2753128111362457,
-0.6140774488449097,
-0.4314279854297638,
-0.2524453103542328,
0.006862862966954708,
0.6097621321678162,
0.17396220564842224,
-0.2702462673187256,
0.3008792996406555,
-0.06192957982420921,
0.15734738111495972,
0.49236351251602173,
-0.024099625647068024,
0.9204490780830383,
-0.5189395546913147,
-0.8401693105697632,
-0.7130538821220398,
0.10242614895105362,
0.6582061648368835,
0.28679150342941284,
0.330102801322937,
0.19671012461185455,
-0.323734313249588,
0.1339954435825348,
-0.8930585980415344,
-0.4736543297767639,
-0.42211630940437317,
-0.007388337980955839,
-0.32847124338150024,
-0.8293886184692383,
0.689934253692627,
-0.08206891268491745,
0.1299639493227005,
0.37726205587387085,
0.313693642616272,
-0.08080626279115677,
0.823287308216095,
0.3408399522304535,
-0.16680192947387695,
0.09469330310821533,
0.18958447873592377,
0.4442494511604309,
-0.7077521085739136,
-0.276487797498703,
-0.6457949280738831,
0.21559828519821167,
-0.4626582860946655,
-0.3723819851875305,
0.21662387251853943,
0.1380196064710617,
-0.12103434652090073,
0.18671059608459473,
-0.3277108073234558,
0.05555502697825432,
0.40815305709838867,
0.1904628872871399,
0.5570000410079956,
-0.3226715624332428,
-0.03539897873997688,
-0.5534691214561462,
-0.5028168559074402,
-0.7168150544166565,
0.9057254791259766,
0.484709769487381,
0.5433558821678162,
-0.34974953532218933,
0.3841904401779175,
0.5710576772689819,
-0.23303279280662537,
-0.7937411665916443,
0.5437806844711304,
0.5799908638000488,
-0.40405580401420593,
-0.24078050255775452,
-0.2221088707447052,
-0.44609591364860535,
0.1893731951713562,
0.1765103042125702,
-0.7815043330192566,
0.5975847840309143,
0.2576807737350464,
-0.547537088394165,
0.09724156558513641,
-0.5728638768196106,
0.7774741649627686,
-0.0881701335310936,
-0.22690026462078094,
-0.1716405749320984,
-0.3960418999195099,
0.6178114414215088,
0.04920297488570213,
-0.2098563015460968,
0.004436009097844362,
0.7923508286476135,
0.6326277256011963,
-0.36704060435295105,
0.8552330136299133,
-0.13246946036815643,
-0.2637811303138733,
0.2013111263513565,
0.4398161768913269,
0.5329796075820923,
0.31070131063461304,
0.15126562118530273,
0.26868635416030884,
0.2925289571285248,
-0.1709204912185669,
-0.5900321006774902,
0.45573288202285767,
-0.40721216797828674,
-0.7586808800697327,
-0.37816792726516724,
-0.5537760257720947,
-0.48698052763938904,
0.07263977080583572,
0.12550762295722961,
0.41554298996925354,
-0.7277685403823853,
0.4201778769493103,
1.2371467351913452,
-0.5655150413513184,
0.024243561550974846,
0.3225022554397583,
-0.48566341400146484,
-0.008601430803537369,
0.540782630443573,
-0.2954278290271759,
0.31695032119750977,
-0.07338225841522217,
0.07915369421243668,
-0.015529336407780647,
-0.4498595595359802,
-0.11332482099533081,
0.028902562335133553,
-0.5926246047019958,
0.1425497829914093,
-0.8213531970977783,
-0.5732719302177429,
-0.7397193312644958,
0.10674978047609329,
-0.6587183475494385,
-0.4613449275493622,
-0.18547992408275604,
-0.02283119037747383,
0.028238361701369286,
0.2796247601509094,
0.3174575865268707,
-0.05180254206061363,
-0.5446867942810059,
0.38121312856674194,
0.38702720403671265,
0.2971248924732208,
-0.16063930094242096,
-0.6843528151512146,
0.14210093021392822,
0.4250440299510956,
-0.6628876328468323,
-0.810249924659729,
0.3370068669319153,
0.13672791421413422,
0.37603506445884705,
0.9763882160186768,
0.3176279366016388,
0.9330277442932129,
-0.2807324528694153,
0.9943268895149231,
0.07776539027690887,
-1.13311767578125,
0.8227101564407349,
-0.43478816747665405,
0.057843830436468124,
0.6705657839775085,
0.27653926610946655,
-0.8652112483978271,
-0.6522267460823059,
-0.8738100528717041,
-0.14975903928279877,
0.3893860876560211,
0.29982560873031616,
0.0070806932635605335,
-0.012762865051627159,
0.2944619357585907,
0.24865759909152985,
0.21804577112197876,
-0.3388138711452484,
-0.20163027942180634,
-0.609458327293396,
0.27951592206954956,
0.23417802155017853,
-0.679898202419281,
-0.39499425888061523,
-0.3260498642921448,
0.5394092202186584,
-0.14984215795993805,
0.40891602635383606,
0.5223970413208008,
-0.04402424022555351,
0.00017747358651831746,
0.15041059255599976,
0.7498607039451599,
0.9194852709770203,
-0.501771092414856,
-0.0693531185388565,
0.13325004279613495,
-0.6411703824996948,
-0.16065813601016998,
-0.15527209639549255,
-0.1488766074180603,
0.23211148381233215,
0.4499891400337219,
0.75972980260849,
0.3284072279930115,
-0.6725517511367798,
0.5725900530815125,
-0.2087271362543106,
-0.3073650896549225,
-0.6643215417861938,
0.23952612280845642,
-0.3257580101490021,
0.2411963790655136,
0.36831361055374146,
0.08452644944190979,
0.4105815291404724,
-0.7089486718177795,
0.3661399781703949,
0.5006436705589294,
-0.9786723852157593,
-0.2427651733160019,
0.5347076654434204,
0.1772727519273758,
-0.2592049837112427,
0.9458942413330078,
0.031315162777900696,
-0.8050265908241272,
0.4115917384624481,
0.1954217255115509,
0.9068737030029297,
-0.38950908184051514,
0.5087080001831055,
0.3697925806045532,
0.45196714997291565,
-0.03569544106721878,
0.29774758219718933,
-0.37144193053245544,
-1.1210426092147827,
-0.05415547266602516,
-0.3461821973323822,
-0.658135175704956,
0.26218661665916443,
-0.9717380404472351,
0.15827243030071259,
-0.44001486897468567,
-0.10102443397045135,
-0.20648790895938873,
0.14361727237701416,
-0.60774165391922,
0.05713355168700218,
-0.27862057089805603,
0.905758798122406,
-0.779207706451416,
0.6789924502372742,
-0.13492006063461304,
-0.07019834220409393,
-0.28141072392463684,
0.0784643292427063,
0.019892429932951927,
-0.9613276720046997,
0.5990064144134521,
0.2722596824169159,
-0.05693690851330757,
-0.2251172810792923,
-0.47309139370918274,
-0.420116662979126,
1.0087757110595703,
0.20269274711608887,
-0.6298998594284058,
0.050142802298069,
0.1531866043806076,
0.60967618227005,
-0.3088824152946472,
0.34610462188720703,
0.8174159526824951,
0.5350139141082764,
0.13045531511306763,
-1.0377060174942017,
0.13534285128116608,
-0.08090352267026901,
-0.2464858889579773,
0.005472459830343723,
-0.7192022204399109,
0.13070882856845856,
-0.04112469032406807,
-0.4413721561431885,
0.2125394344329834,
0.5089014768600464,
0.41457968950271606,
0.666437029838562,
0.4444892406463623,
0.4601508677005768,
0.857710599899292,
-0.37589430809020996,
0.7914091944694519,
-0.175810307264328,
0.14160557091236115,
1.2868024110794067,
-0.5730716586112976,
0.3454534709453583,
0.5601378083229065,
-0.031968969851732254,
0.3453104794025421,
0.5766797065734863,
-0.06805650144815445,
0.38171759247779846,
0.003543080296367407,
-0.26876387000083923,
-0.44697460532188416,
-0.4570510685443878,
-0.7672679424285889,
0.42273440957069397,
0.3751513361930847,
-0.5573883056640625,
0.01924009807407856,
-0.16497980058193207,
-0.07008495926856995,
-0.16857555508613586,
0.08701504021883011,
0.7645365595817566,
0.011299841105937958,
-0.6790876388549805,
0.7348377108573914,
-0.6238706111907959,
-0.029984792694449425,
-0.5678817629814148,
-0.3480241298675537,
-0.5025987029075623,
-0.22837264835834503,
0.008956773206591606,
-0.311207115650177,
0.3041014075279236,
-0.5422136783599854,
-0.15757817029953003,
-0.33995291590690613,
0.9236698746681213,
-0.17810668051242828,
-0.08663555234670639,
0.224233478307724,
0.33272430300712585,
0.39010533690452576,
-0.2434568554162979,
-0.3818218410015106,
0.21612367033958435,
0.2871148884296417,
0.03670812025666237,
0.08233962208032608,
0.39812126755714417,
-0.036482036113739014,
0.8743575215339661,
0.3288741111755371,
-0.06531079858541489,
-0.05033194646239281,
0.38725540041923523,
0.827010452747345,
-0.8564317226409912,
-0.026015982031822205,
-0.6047080755233765,
0.22501008212566376,
-0.3023708164691925,
-0.44912976026535034,
0.8695439696311951,
0.6840100884437561,
0.6300154328346252,
0.27405470609664917,
0.8236131072044373,
0.05855724960565567,
0.5159803032875061,
-0.5353116393089294,
0.7701795101165771,
-0.10184472054243088,
0.45286640524864197,
-0.45105987787246704,
-0.8780210614204407,
0.17000539600849152,
0.5066846609115601,
-0.0010545554105192423,
-0.07719012349843979,
0.99369877576828,
0.7421509623527527,
0.11344998329877853,
0.9122119545936584,
0.6693383455276489,
0.2881960868835449,
0.32953011989593506,
0.525553286075592,
1.2086015939712524,
-0.6584643721580505,
0.23958799242973328,
-0.32131415605545044,
-0.17026688158512115,
-0.36981621384620667,
-0.836148202419281,
-1.2438597679138184,
-0.8296687006950378,
-0.24336327612400055,
-0.5043397545814514,
0.18105162680149078,
0.5711838603019714,
0.5930507779121399,
-0.9742946028709412,
-0.05055345222353935,
-0.2964861989021301,
0.11793611943721771,
-0.3950898349285126,
-0.27689704298973083,
0.2737312912940979,
-0.4825208783149719,
-0.4545547664165497,
0.49885788559913635,
0.28603190183639526,
0.16242246329784393,
-0.33328911662101746,
-0.008918062783777714,
0.3125564754009247,
-0.13927768170833588,
0.4598151743412018,
0.32746806740760803,
-0.8016864061355591,
-0.738365650177002,
0.02515098638832569,
0.23002412915229797,
0.013175050728023052,
1.2979413270950317,
-0.5525721311569214,
0.8723968863487244,
0.38859203457832336,
0.6418358683586121,
0.4851556122303009,
0.2050269991159439,
0.969965934753418,
-0.33444246649742126,
0.0355021171271801,
0.5073868036270142,
0.36517930030822754,
0.0430472157895565,
-0.46213993430137634,
0.417205274105072,
0.37172356247901917,
-0.8623077869415283,
-0.9145015478134155,
0.2701478600502014,
-1.045496940612793,
0.12696249783039093,
0.9688089489936829,
-0.19215844571590424,
0.29297322034835815,
-0.6068080067634583,
-0.3306697905063629,
0.011430954560637474,
-0.3658042848110199,
1.2618236541748047,
1.1562795639038086,
-0.08102306723594666,
-0.25631871819496155,
-0.8295961618423462,
0.8776509165763855,
0.6902357935905457,
-0.5875288248062134,
0.31207260489463806,
0.8126444816589355,
-0.1725052297115326,
0.24286146461963654,
0.7889724373817444,
-0.19482019543647766,
0.47347816824913025,
0.14585119485855103,
0.009243123233318329,
0.3530397117137909,
-0.3887057602405548,
0.10679508745670319,
0.11034341156482697,
-0.10120967775583267,
0.010721984319388866
] |
http://arxiv.org/abs/2405.15097v1
|
http://arxiv.org/pdf/2405.15097v1
|
Contrastive and Consistency Learning for Neural Noisy-Channel Model in Spoken Language Understanding
| 2024-05-23T23:10:23 | 2024-05-23T23:10:23 |
Suyoung Kim, Jiyeon Hwang, Ho-Young Jung
|
cs.CL
|
cs.CL, cs.AI
|
Recently, deep end-to-end learning has been studied for intent classification
in Spoken Language Understanding (SLU). However, end-to-end models require a
large amount of speech data with intent labels, and highly optimized models are
generally sensitive to the inconsistency between the training and evaluation
conditions. Therefore, a natural language understanding approach based on
Automatic Speech Recognition (ASR) remains attractive because it can utilize a
pre-trained general language model and adapt to the mismatch of the speech
input environment. Using this module-based approach, we improve a noisy-channel
model to handle transcription inconsistencies caused by ASR errors. We propose
a two-stage method, Contrastive and Consistency Learning (CCL), that correlates
error patterns between clean and noisy ASR transcripts and emphasizes the
consistency of the latent features of the two transcripts. Experiments on four
benchmark datasets show that CCL outperforms existing methods and improves the
ASR robustness in various noisy environments. Code is available at
https://github.com/syoung7388/CCL.
|
[
0.07362142950296402,
-0.6542860865592957,
0.40564510226249695,
0.22299760580062866,
-0.3318159878253937,
0.022702844813466072,
-0.6120017170906067,
-0.32611730694770813,
-0.2167923003435135,
0.4593397378921509,
-0.4869927167892456,
-0.6033169627189636,
-0.6665390729904175,
-0.16864192485809326,
-0.4078393280506134,
0.8403648734092712,
-0.0035240338183939457,
0.4424687325954437,
-0.048072487115859985,
-0.3055669665336609,
-0.5282412767410278,
-0.2596684992313385,
-1.0476435422897339,
-0.5541167259216309,
0.2612993121147156,
0.29733484983444214,
0.4779873788356781,
0.5149672031402588,
0.20187190175056458,
0.3369957208633423,
-0.3771407902240753,
0.20890747010707855,
-0.43233299255371094,
0.28486019372940063,
-0.04653863608837128,
-0.20085330307483673,
-0.07739078998565674,
-0.19270996749401093,
0.6939579844474792,
0.8720355033874512,
-0.20612871646881104,
-0.1674148291349411,
0.49799609184265137,
0.4278411865234375,
-0.574084460735321,
0.40329980850219727,
-0.6577702760696411,
-0.1588515043258667,
0.319317102432251,
0.024766448885202408,
-0.5264177918434143,
-0.1202620193362236,
0.30571314692497253,
-0.6400417685508728,
0.2761114239692688,
-0.40751057863235474,
0.9517384171485901,
0.44845855236053467,
-0.15179888904094696,
-0.4987093210220337,
-0.7634342312812805,
0.8199665546417236,
-0.8718155026435852,
0.8764960765838623,
0.5834130048751831,
0.11440839618444443,
-0.06286963075399399,
-0.6444249153137207,
-0.47928711771965027,
-0.40306994318962097,
-0.17249652743339539,
0.268597811460495,
-0.19150371849536896,
0.18984735012054443,
-0.07546664029359818,
0.15632863342761993,
-0.6582919359207153,
0.32095518708229065,
-0.2245253622531891,
-0.44964516162872314,
0.3708619475364685,
-0.13737069070339203,
0.13038145005702972,
0.26582029461860657,
-0.13802242279052734,
-0.08172126859426498,
-0.3548493981361389,
0.2778121531009674,
0.37483689188957214,
0.49544599652290344,
-0.3771269619464874,
0.15808923542499542,
-0.15742133557796478,
0.666307270526886,
0.35691842436790466,
0.13319134712219238,
0.30575165152549744,
-0.3090301752090454,
-0.2072647213935852,
0.19558310508728027,
0.6355875730514526,
-0.19202062487602234,
0.04755711182951927,
-0.2653144598007202,
-0.47379449009895325,
0.06900949031114578,
0.25973930954933167,
-0.5480883121490479,
-0.4998633563518524,
0.2640080153942108,
-0.36999276280403137,
-0.13121438026428223,
0.12621282041072845,
-0.22099600732326508,
-0.1333405077457428,
-0.8114721179008484,
0.8545910716056824,
-0.5455624461174011,
-0.07789838314056396,
0.18704962730407715,
0.39649054408073425,
0.21403057873249054,
0.5398910045623779,
-0.7850925922393799,
0.6619826555252075,
0.65864497423172,
0.7111786007881165,
-0.19873546063899994,
-0.19361823797225952,
-0.8501836061477661,
-0.05472448840737343,
-0.20170311629772186,
0.4927453100681305,
-0.21472524106502533,
-0.12079095840454102,
-0.013054711744189262,
-0.19290359318256378,
-0.19992566108703613,
-0.7379840016365051,
0.4864194691181183,
-0.5471752285957336,
0.1867828369140625,
0.019446417689323425,
-0.48761072754859924,
-0.2583886682987213,
0.17005141079425812,
-0.5244207382202148,
0.666014552116394,
-0.1001143828034401,
-0.4213786721229553,
0.15022146701812744,
-0.45228487253189087,
-0.3978464603424072,
-0.2520912289619446,
-0.31579408049583435,
-0.7392707467079163,
0.11892344802618027,
-0.05956927314400673,
0.2006569504737854,
0.3215038776397705,
0.5732295513153076,
0.07769302278757095,
-0.4682541489601135,
0.48845237493515015,
-0.6710160970687866,
0.8783073425292969,
0.3707667887210846,
-0.34690847992897034,
0.30614134669303894,
-0.8615133762359619,
-0.013617955148220062,
-0.26247841119766235,
-0.5133418440818787,
-0.04522687569260597,
0.19653131067752838,
-0.018601946532726288,
0.10721693187952042,
0.3026122450828552,
-0.41581857204437256,
-0.32861465215682983,
-0.24758949875831604,
0.3512657582759857,
0.617431640625,
-0.07134135812520981,
0.3484909236431122,
-0.2692435383796692,
-0.07049243152141571,
0.437338262796402,
0.09569428116083145,
-0.113499216735363,
-0.24204005300998688,
-1.0974972248077393,
0.0019949183333665133,
0.2926851511001587,
0.35579001903533936,
-0.361756294965744,
0.5317088961601257,
-0.20842203497886658,
-0.05244904384016991,
-0.6046587824821472,
0.4446520507335663,
0.8078522086143494,
0.5978230834007263,
0.6021045446395874,
-0.5887387990951538,
-0.6534215211868286,
-0.49706199765205383,
-0.09815359860658646,
-0.23064613342285156,
-0.06452266871929169,
0.5007723569869995,
0.12153764069080353,
-0.4594480097293854,
0.733671247959137,
-0.19909021258354187,
-0.22121542692184448,
-0.12006814032793045,
0.41384443640708923,
0.2904355525970459,
0.7193531394004822,
-0.16943678259849548,
-0.8812441229820251,
-0.580933153629303,
0.1155761107802391,
-0.33382394909858704,
-0.2405826896429062,
-0.21511630713939667,
0.12179366499185562,
0.07897649705410004,
0.758521318435669,
-0.27361881732940674,
0.2359980046749115,
0.5865919589996338,
-0.2043384611606598,
0.5450948476791382,
-0.30002909898757935,
0.07432974874973297,
-0.9015424251556396,
-0.05440838262438774,
-0.09276734292507172,
-0.2381945699453354,
-1.0758655071258545,
-0.306155264377594,
0.13023467361927032,
0.14710064232349396,
-0.2344876229763031,
0.1785736382007599,
-0.406382292509079,
-0.06315555423498154,
-0.15908749401569366,
0.15741851925849915,
0.09745125472545624,
0.42297664284706116,
0.3727545142173767,
0.6004151701927185,
0.5214855670928955,
-0.6519637107849121,
0.048245035111904144,
0.26839563250541687,
-0.13539372384548187,
0.08355939388275146,
-0.6792173981666565,
0.3832876682281494,
-0.15098948776721954,
0.005561972502619028,
-1.2813844680786133,
-0.1410129815340042,
0.273540735244751,
-0.7854647040367126,
0.7929416298866272,
-0.26068612933158875,
0.037357527762651443,
0.37112686038017273,
0.10917986929416656,
0.39346328377723694,
0.6014154553413391,
-0.6603646874427795,
0.535500705242157,
0.0653296411037445,
-0.10060638189315796,
-0.7317911982536316,
-0.8151013851165771,
-0.24400672316551208,
0.10997072607278824,
-0.38281235098838806,
0.27882370352745056,
-0.17612427473068237,
-0.2624152600765228,
-0.043823033571243286,
-0.35485202074050903,
-0.5993793606758118,
-0.054374005645513535,
0.19416049122810364,
0.09015460312366486,
-0.5104842782020569,
0.12936802208423615,
-0.292858749628067,
-0.1976807564496994,
-0.018430309370160103,
-0.5255738496780396,
0.5606164336204529,
-0.07626166194677353,
-0.33885279297828674,
-0.684201717376709,
0.15159572660923004,
0.28214022517204285,
-0.08315250277519226,
0.48139482736587524,
0.6512249708175659,
-0.34487536549568176,
-0.18789806962013245,
-0.6437157392501831,
-0.19614344835281372,
-0.46022480726242065,
0.4599069356918335,
-0.17176207900047302,
-0.7886360287666321,
0.6224567294120789,
0.2603057324886322,
0.012706714682281017,
0.0880156010389328,
0.30123674869537354,
-0.18626360595226288,
0.6578465104103088,
0.5647900700569153,
-0.18672023713588715,
0.6141870617866516,
-0.10765785723924637,
0.12120771408081055,
-0.7038813233375549,
-0.366664320230484,
-0.5337804555892944,
-0.0807349905371666,
-0.2611454129219055,
-0.4933271110057831,
-0.0717652291059494,
0.32540711760520935,
-0.2585185766220093,
0.2666984498500824,
-0.15929082036018372,
0.36066940426826477,
0.3306562602519989,
0.429182231426239,
0.3880680799484253,
0.06696542352437973,
-0.09295843541622162,
-0.08117345720529556,
-0.4971078336238861,
-0.22272437810897827,
0.6855632066726685,
0.16067659854888916,
0.8961730003356934,
0.30153870582580566,
0.7501020431518555,
0.007505894638597965,
0.08421120047569275,
-0.7347396612167358,
0.14956219494342804,
-0.4799779951572418,
-0.020557478070259094,
-0.35806676745414734,
-0.573951780796051,
-0.9981499910354614,
0.10932871699333191,
-0.08862008154392242,
-0.7673475742340088,
0.3677176833152771,
0.4770340621471405,
-0.3090132176876068,
-0.022992081940174103,
-0.6873462796211243,
0.7401853799819946,
-0.1650806963443756,
-0.36119765043258667,
-0.214944526553154,
-0.8729630708694458,
0.07054688781499863,
0.02898314781486988,
0.07925509661436081,
0.23985731601715088,
0.08554336428642273,
0.5119587182998657,
-0.15738575160503387,
0.888935923576355,
-0.09180055558681488,
0.0020908319856971502,
0.13146419823169708,
-0.06637781113386154,
0.49054765701293945,
0.0066198669373989105,
-0.05200975388288498,
0.12402011454105377,
-0.5531941056251526,
-0.2140316665172577,
-0.5847024917602539,
0.6267765164375305,
-1.076887607574463,
-0.1341986060142517,
-0.026254048570990562,
-0.5277323722839355,
-0.1624712347984314,
0.004232367966324091,
0.48199906945228577,
0.7405837774276733,
-0.12315879017114639,
0.19236403703689575,
1.250161051750183,
-0.1389528065919876,
0.31008270382881165,
0.6961588263511658,
0.15773282945156097,
-0.2760879397392273,
1.0533418655395508,
0.07494719326496124,
0.5849032402038574,
0.5038049221038818,
0.14239899814128876,
-0.3859410285949707,
-1.055212140083313,
0.009170993231236935,
-0.11932848393917084,
-0.7157305479049683,
-0.14267094433307648,
-0.713313639163971,
-0.6493716835975647,
-0.48778218030929565,
-0.14537183940410614,
-0.5339721441268921,
-0.013763467781245708,
-0.6319145560264587,
0.302368700504303,
0.05823158472776413,
0.7115522623062134,
-0.21540114283561707,
0.40345922112464905,
-0.5420857667922974,
0.5008337497711182,
0.36220425367355347,
0.5343667268753052,
-0.19315563142299652,
-1.0812009572982788,
-0.29962360858917236,
0.14696449041366577,
-0.16890676319599152,
-0.8130611777305603,
0.445974737405777,
0.5407743453979492,
0.6360318064689636,
0.5303040742874146,
-0.15676487982273102,
0.7906140089035034,
-0.31040963530540466,
0.4500921368598938,
0.15933291614055634,
-1.1647629737854004,
0.5438524484634399,
-0.19801069796085358,
0.462164044380188,
0.8363927006721497,
0.19436290860176086,
-0.6825001835823059,
-0.42624303698539734,
-0.6554864645004272,
-0.7460415363311768,
0.6157421469688416,
0.2468356192111969,
-0.09878856688737869,
0.18398834764957428,
0.24833393096923828,
0.1965322196483612,
0.012524856254458427,
-0.9071900844573975,
-0.23137088119983673,
-0.3232336640357971,
-0.5506463050842285,
-0.34179845452308655,
-0.2204655259847641,
0.21103286743164062,
-0.04113498702645302,
0.7585083246231079,
-0.012446797452867031,
0.09258320182561874,
0.2882583737373352,
-0.5430111289024353,
-0.06359059363603592,
0.4720968008041382,
0.596889078617096,
0.37336865067481995,
-0.24131621420383453,
0.40071901679039,
0.2279958575963974,
-0.745689868927002,
0.15418261289596558,
0.23529839515686035,
-0.23064006865024567,
0.07846926152706146,
0.27039697766304016,
0.6885450482368469,
0.4379536211490631,
-0.5181708335876465,
0.6058489084243774,
-0.1419726461172104,
-0.30056971311569214,
-0.29807958006858826,
0.08619408309459686,
0.15464481711387634,
0.17653968930244446,
-0.011946747079491615,
0.32313498854637146,
0.35308218002319336,
-0.40302321314811707,
0.35800227522850037,
0.2370220124721527,
-0.8963256478309631,
-0.21568380296230316,
0.3431769609451294,
0.0621352456510067,
-0.3918672204017639,
0.7851641774177551,
-0.37541720271110535,
-0.46581247448921204,
0.544913113117218,
0.6754234433174133,
0.9482020735740662,
-0.5151238441467285,
-0.037775252014398575,
0.357564777135849,
0.053983308374881744,
-0.14195045828819275,
0.2818238437175751,
-0.23414424061775208,
-0.9756776690483093,
-0.5772737860679626,
-0.529040515422821,
-0.5002208352088928,
0.46487605571746826,
-0.8437082767486572,
0.34035414457321167,
-0.47996944189071655,
0.35450559854507446,
-0.034607209265232086,
0.0276156235486269,
-0.5102686285972595,
0.234237402677536,
0.2017740160226822,
0.41350939869880676,
-0.8928960561752319,
1.1266536712646484,
0.5239951610565186,
-0.21128515899181366,
-0.9906989336013794,
0.17725643515586853,
0.12997692823410034,
-0.5665724277496338,
0.5130894780158997,
0.2199142426252365,
-0.2976941466331482,
-0.061580054461956024,
-0.5625256299972534,
-0.8179752230644226,
0.8618799448013306,
0.33366766571998596,
-0.8099761009216309,
0.543296217918396,
-0.1442231982946396,
0.48708680272102356,
-0.42024093866348267,
0.07153581827878952,
0.38918250799179077,
0.10316011309623718,
0.1926114708185196,
-0.7103523015975952,
-0.20699423551559448,
-0.25190499424934387,
-0.2853683829307556,
0.05701451003551483,
-0.3841865062713623,
0.7955265641212463,
-0.2624698877334595,
-0.21674564480781555,
0.2557103931903839,
0.7793892621994019,
0.2555197477340698,
0.43400102853775024,
0.6134275197982788,
0.38458335399627686,
0.7531733512878418,
-0.19599731266498566,
0.3710380494594574,
0.0925641879439354,
0.3859347403049469,
1.6854968070983887,
-0.01980988122522831,
0.9506013989448547,
0.40273982286453247,
-0.02510712668299675,
0.36227625608444214,
0.4772647023200989,
0.07451674342155457,
0.6484543085098267,
0.24229495227336884,
-0.49666261672973633,
-0.2801954746246338,
-0.0029404726810753345,
-0.052212897688150406,
0.48706862330436707,
0.5678610801696777,
-0.2539243996143341,
-0.1036401093006134,
-0.21240589022636414,
-0.2638641893863678,
0.2785480320453644,
-0.2934631407260895,
1.1086782217025757,
0.005936376750469208,
-0.4022994041442871,
0.4500289857387543,
-0.3775481879711151,
0.6104549169540405,
-0.7284420132637024,
-0.16378428041934967,
-0.12868019938468933,
0.25801193714141846,
-0.24127720296382904,
-0.5492407083511353,
0.340283066034317,
-0.128045454621315,
-0.2751547396183014,
-0.05322272330522537,
0.8238163590431213,
-0.9847881197929382,
-0.05272716283798218,
0.31569263339042664,
0.25722259283065796,
0.16117295622825623,
0.16733835637569427,
-0.7472988963127136,
0.1916465163230896,
0.06060748174786568,
0.1614774912595749,
0.2234303504228592,
0.32280129194259644,
0.30679851770401,
0.47556936740875244,
0.6060832142829895,
-0.05140552669763565,
-0.029038969427347183,
0.42729270458221436,
0.6745537519454956,
-0.3007475733757019,
-0.48050862550735474,
-0.7801581621170044,
0.5701663494110107,
-0.06915724277496338,
-0.2714882791042328,
0.4073147773742676,
0.49754539132118225,
0.8610115051269531,
0.09121733158826828,
0.5520421862602234,
0.2870742678642273,
0.3722009062767029,
-0.7510377764701843,
0.6248586177825928,
-0.18031291663646698,
0.5163983106613159,
-0.041084203869104385,
-0.6104289293289185,
-0.45644304156303406,
0.9345263838768005,
-0.060807861387729645,
0.09769287705421448,
0.5643795728683472,
0.8748670220375061,
-0.25597912073135376,
0.037952668964862823,
0.4468720853328705,
0.6610491275787354,
0.08466018736362457,
0.5730012655258179,
0.9038184881210327,
-0.378399133682251,
0.5229313969612122,
-0.20360054075717926,
-0.08641815185546875,
-0.07871057093143463,
-0.6117058992385864,
-0.6244649291038513,
-0.4907139241695404,
-0.5794565081596375,
-0.5408956408500671,
0.49056074023246765,
0.936408519744873,
0.7647498846054077,
-1.2160124778747559,
-0.34978532791137695,
-0.5054118037223816,
0.165826216340065,
-0.28380918502807617,
-0.16194316744804382,
0.31746745109558105,
-0.8492472171783447,
-0.5533475279808044,
0.45463457703590393,
0.2909308969974518,
0.16749617457389832,
0.059530097991228104,
-0.488140732049942,
-0.07432685792446136,
-0.10157911479473114,
0.16120772063732147,
0.3417209982872009,
-0.7568577527999878,
-0.3678136169910431,
-0.13996413350105286,
-0.1747015416622162,
0.2794807255268097,
0.680063784122467,
-0.656836986541748,
0.5976743698120117,
0.33551186323165894,
0.6940498352050781,
0.527503490447998,
-0.10218449681997299,
0.5316641926765442,
-0.9233566522598267,
-0.05700523033738136,
0.26968637108802795,
0.36781057715415955,
0.488060861825943,
-0.40123122930526733,
0.1909504234790802,
-0.03283008188009262,
-0.687166690826416,
-0.40545853972435,
0.27212581038475037,
-1.3449831008911133,
-0.22903797030448914,
1.2219643592834473,
-0.40723979473114014,
0.1118389442563057,
-0.6801746487617493,
-0.1409701704978943,
0.6093166470527649,
-0.401685893535614,
0.7150174975395203,
0.4620627760887146,
-0.10728946328163147,
-0.18349716067314148,
-0.4257744550704956,
0.584567129611969,
0.6299412846565247,
-0.5380750894546509,
0.14270368218421936,
0.3677031695842743,
0.40733495354652405,
0.08396092802286148,
0.5302139520645142,
0.004042508080601692,
0.41045504808425903,
0.03517427295446396,
-0.21808530390262604,
0.08335135132074356,
-0.2903743088245392,
-0.9026381969451904,
-0.26580893993377686,
0.2073150873184204,
-0.28547170758247375
] |
http://arxiv.org/abs/2405.15092v1
|
http://arxiv.org/pdf/2405.15092v1
|
Dissociation of Faithful and Unfaithful Reasoning in LLMs
| 2024-05-23T22:38:58 | 2024-05-23T22:38:58 |
Evelyn Yee, Alice Li, Chenyu Tang, Yeon Ho Jung, Ramamohan Paturi, Leon Bergen
|
cs.AI
|
cs.AI, cs.CL
|
Large language models (LLMs) improve their performance in downstream tasks
when they generate Chain of Thought reasoning text before producing an answer.
Our research investigates how LLMs recover from errors in Chain of Thought,
reaching the correct final answer despite mistakes in the reasoning text.
Through analysis of these error recovery behaviors, we find evidence for
unfaithfulness in Chain of Thought, but we also identify many clear examples of
faithful error recovery behaviors. We identify factors that shift LLM recovery
behavior: LLMs recover more frequently from obvious errors and in contexts that
provide more evidence for the correct answer. However, unfaithful recoveries
show the opposite behavior, occurring more frequently for more difficult error
positions. Our results indicate that there are distinct mechanisms driving
faithful and unfaithful error recoveries. Our results challenge the view that
LLM reasoning is a uniform, coherent process.
|
[
-0.057477764785289764,
-1.0039712190628052,
0.9369692206382751,
-0.08483600616455078,
-0.1678083837032318,
0.3530943989753723,
-0.09173694252967834,
-0.24309806525707245,
-0.13000641763210297,
0.7111279964447021,
-0.615765392780304,
0.06681106239557266,
-0.7177768349647522,
0.3680724799633026,
-0.5429701805114746,
1.1495243310928345,
-0.22396337985992432,
0.31396883726119995,
-0.1305643916130066,
-0.0754735916852951,
-0.24443529546260834,
-0.7116565108299255,
-0.601707398891449,
-0.607039213180542,
0.37406855821609497,
0.14910277724266052,
0.5377452969551086,
0.45730385184288025,
0.6082045435905457,
0.40547189116477966,
0.0534936897456646,
0.38112181425094604,
-0.669662356376648,
0.3894973695278168,
-0.6176860928535461,
-0.4872506856918335,
-0.37449488043785095,
0.15254929661750793,
0.6141648292541504,
0.5761736035346985,
-0.5609980225563049,
-0.07126113027334213,
0.271025687456131,
0.9126664996147156,
-0.6206264495849609,
-0.0876537337899208,
-0.8465676307678223,
-0.2977759838104248,
-0.17646466195583344,
-0.19230543076992035,
-0.7356320023536682,
-0.39022794365882874,
0.07351930439472198,
-0.3344370126724243,
0.04127543047070503,
-0.05711408331990242,
0.6348228454589844,
0.31190764904022217,
-0.4972016215324402,
-0.6488673090934753,
-1.0156038999557495,
0.8472967743873596,
-0.7405571341514587,
0.2987701892852783,
0.3352890908718109,
-0.27710264921188354,
-0.7185555100440979,
-0.5178054571151733,
-0.5461592078208923,
0.07416081428527832,
0.09413561224937439,
0.11517035961151123,
-0.20787714421749115,
0.0834202840924263,
0.45172935724258423,
0.5091108083724976,
-0.02391199767589569,
-0.12623509764671326,
0.08266016095876694,
-0.14490948617458344,
0.5818702578544617,
0.3309479057788849,
0.2056860327720642,
0.1407082974910736,
-0.20722225308418274,
-0.019475288689136505,
-0.7711397409439087,
-0.04287935420870781,
0.22466705739498138,
-0.050491172820329666,
0.30787307024002075,
0.4657435715198517,
0.14226360619068146,
0.34882333874702454,
0.1985253393650055,
-0.4881269335746765,
-0.03740673512220383,
-0.23890987038612366,
-0.4677996039390564,
0.1968202292919159,
0.6945272088050842,
0.12432390451431274,
0.35949093103408813,
-0.1991242915391922,
-0.5604504942893982,
0.21158427000045776,
0.4849948585033417,
-0.4387017786502838,
-0.18876324594020844,
0.0810081958770752,
-0.428921103477478,
-0.16058695316314697,
0.10957621783018112,
-0.44808289408683777,
-0.4011973440647125,
-0.15312835574150085,
0.20809131860733032,
-0.3213515281677246,
-0.42849501967430115,
0.3508457839488983,
-0.33789950609207153,
0.19191685318946838,
0.557575523853302,
-0.550506055355072,
0.4534563422203064,
0.8528638482093811,
0.5044270157814026,
-0.26323214173316956,
-0.4094124734401703,
-0.615542471408844,
0.14799998700618744,
-0.5715956091880798,
0.469664990901947,
-0.3144870698451996,
-0.25094112753868103,
0.09055866301059723,
0.31036004424095154,
-0.06307031214237213,
-0.7160321474075317,
0.5632808208465576,
-0.7843091487884521,
-0.0931905061006546,
-0.7973362803459167,
-0.7836413979530334,
-0.3968416750431061,
0.29432910680770874,
-0.5441606640815735,
0.7444039583206177,
-0.3172434866428375,
-0.9259093403816223,
0.0012685097754001617,
-0.2698323428630829,
-0.17784720659255981,
-0.36484968662261963,
-0.0531478188931942,
-0.25314295291900635,
0.6316748261451721,
-0.4475463032722473,
0.24569493532180786,
-0.22918260097503662,
-0.051617540419101715,
-0.6825782656669617,
-0.40041905641555786,
0.7992324829101562,
-0.5899792909622192,
0.8081938624382019,
-0.042908716946840286,
-0.37935301661491394,
-0.27523893117904663,
-0.6259506940841675,
-0.09683050215244293,
0.3777039051055908,
-0.6499013304710388,
-0.7840569615364075,
0.36641499400138855,
-0.6327518820762634,
0.27324584126472473,
0.0476662702858448,
-0.7865064740180969,
0.31911319494247437,
-0.15785716474056244,
0.26826098561286926,
1.0243524312973022,
0.304379940032959,
0.3025384545326233,
-0.311190664768219,
-0.01829417794942856,
0.3965316116809845,
-0.1190318763256073,
0.25834745168685913,
-0.2969244420528412,
-1.0671226978302002,
0.18239402770996094,
-0.18930664658546448,
0.42445024847984314,
-0.848842203617096,
-0.10406535118818283,
-0.016880042850971222,
-0.09759939461946487,
-0.37613561749458313,
0.44966375827789307,
0.9692135453224182,
0.41520828008651733,
0.19411468505859375,
-0.2204599827528,
-0.5402494072914124,
-0.806562066078186,
-0.3480144739151001,
-0.4112794101238251,
0.19236285984516144,
-0.07688683271408081,
0.6229981780052185,
-0.4215649664402008,
0.7129976749420166,
-0.4610540270805359,
-0.04332662746310234,
-0.08166835457086563,
0.2518655061721802,
0.23810143768787384,
0.3801569938659668,
0.01915966346859932,
-0.6381816864013672,
-0.09504436701536179,
-0.17416000366210938,
-0.9903687834739685,
0.09729749709367752,
-0.1789628267288208,
-0.2957710921764374,
0.5434645414352417,
0.3872528076171875,
-0.6952033042907715,
0.38599005341529846,
0.31336510181427,
-0.42801931500434875,
0.7458488941192627,
-0.25660720467567444,
0.18532104790210724,
-0.7676293849945068,
-0.37319475412368774,
-0.27723944187164307,
-0.21057072281837463,
-0.5584728717803955,
-0.05522097647190094,
-0.05453511327505112,
1.0715298652648926,
-0.1970117837190628,
-0.16651533544063568,
-0.6755805611610413,
-0.2504833936691284,
-0.39446479082107544,
0.17584459483623505,
-0.03327107056975365,
0.3588210642337799,
0.08025568723678589,
0.5424568057060242,
0.4049363434314728,
-0.8430606126785278,
0.37789544463157654,
0.24233464896678925,
0.06278020143508911,
0.2648996412754059,
-0.5176675319671631,
0.4715428948402405,
-0.20877587795257568,
0.11273951083421707,
-1.1155844926834106,
-0.2972438633441925,
0.058229416608810425,
-0.05584165081381798,
0.19481167197227478,
-0.0005091686034575105,
-0.5804590582847595,
-0.18692506849765778,
-0.2985611855983734,
0.20443862676620483,
0.5796633958816528,
-0.5932497382164001,
0.48234596848487854,
0.3710564374923706,
0.1423047035932541,
-0.8143911957740784,
-0.8910911083221436,
-0.32931840419769287,
0.018726877868175507,
-0.154521644115448,
-0.005727446638047695,
-0.17159098386764526,
-1.0486549139022827,
0.009745016694068909,
-0.3478408455848694,
-0.04500136151909828,
0.08327130973339081,
0.3483978807926178,
0.3825969099998474,
0.10685328394174576,
0.24437694251537323,
-0.0102011039853096,
0.26459258794784546,
0.5636789202690125,
-0.06726596504449844,
0.4239124357700348,
-0.41085198521614075,
-0.46991485357284546,
-0.011027379892766476,
0.3390098512172699,
0.5949254631996155,
-0.009539004415273666,
0.8099234104156494,
0.021037515252828598,
-0.37765082716941833,
-0.17189298570156097,
-0.7814925909042358,
-0.09440616518259048,
-0.494851291179657,
0.12130162864923477,
-0.30817922949790955,
-0.7732015252113342,
0.6440415978431702,
-0.09790186583995819,
0.38006842136383057,
0.33142319321632385,
0.6191191673278809,
-0.34289786219596863,
0.9517817497253418,
0.42970508337020874,
0.18135938048362732,
0.07510888576507568,
-0.21783679723739624,
0.05850294977426529,
-0.9552669525146484,
-0.18259212374687195,
-0.23758526146411896,
-0.024887461215257645,
-0.5831448435783386,
-0.33607086539268494,
0.014363582246005535,
0.5785301327705383,
-0.3844880759716034,
-0.0862775593996048,
-0.263226181268692,
0.3938409388065338,
0.28629380464553833,
0.16055241227149963,
0.6860721111297607,
-0.17002855241298676,
-0.2794094383716583,
-0.12368740141391754,
-0.36993539333343506,
-0.7195835113525391,
0.8707002997398376,
0.3596358597278595,
0.9660971164703369,
0.39428818225860596,
0.9343032240867615,
0.003667059587314725,
0.4869396388530731,
-0.583367645740509,
0.5455300211906433,
-0.1384691745042801,
-0.5953752994537354,
-0.2183201164007187,
-0.530266284942627,
-0.7799320220947266,
0.1455945521593094,
0.05264357849955559,
-0.8542523980140686,
0.1357063502073288,
0.10721318423748016,
0.040415115654468536,
0.5358778238296509,
-0.33051154017448425,
0.17372404038906097,
-0.07602217048406601,
-0.5142636895179749,
-0.10776878148317337,
-0.5375184416770935,
0.7606704831123352,
-0.29827162623405457,
0.19198395311832428,
0.1691303253173828,
0.10377363860607147,
0.818742036819458,
-0.4083710014820099,
0.7111037373542786,
-0.020459795370697975,
-0.5187025666236877,
0.4644719958305359,
0.6007975339889526,
0.8184190988540649,
0.046274587512016296,
0.017547111958265305,
0.09107840806245804,
-0.11891448497772217,
-0.11539659649133682,
-0.7683352828025818,
0.658405065536499,
-0.6870385408401489,
-0.8616825938224792,
-0.4869840145111084,
-0.5754489302635193,
-0.36243048310279846,
0.14370599389076233,
0.30471545457839966,
0.2633439302444458,
-0.12434516847133636,
-0.005136658437550068,
1.2554521560668945,
-0.015629293397068977,
0.9895632266998291,
0.9255012273788452,
-0.44982975721359253,
-0.3522321283817291,
0.473528653383255,
0.1680866777896881,
0.6189906597137451,
0.04015989229083061,
-0.10096342116594315,
-0.3632947504520416,
-0.6088806986808777,
-0.15739434957504272,
0.35762834548950195,
-0.8212881088256836,
-0.15366925299167633,
-0.4845934808254242,
-0.18507611751556396,
-0.017153127118945122,
0.12941718101501465,
-0.7791117429733276,
-0.1818876713514328,
-0.09495965391397476,
-0.32735490798950195,
0.2585981488227844,
1.115571141242981,
-0.037040382623672485,
-0.17428120970726013,
-1.0291990041732788,
0.02101813815534115,
0.3801323473453522,
0.20814231038093567,
0.17384135723114014,
-0.4772813022136688,
-0.029344435781240463,
0.37213560938835144,
-0.4104359745979309,
-1.1267825365066528,
0.19293159246444702,
-0.031400565057992935,
0.49882543087005615,
0.4149039387702942,
0.11607763171195984,
0.8662925958633423,
-0.4987892806529999,
0.6695106625556946,
0.3887547552585602,
-1.0683066844940186,
0.5182983875274658,
-0.2575441002845764,
0.2346130758523941,
0.33950385451316833,
0.3583042025566101,
-0.4327854812145233,
-0.574320912361145,
-0.6016049385070801,
-0.4352434277534485,
0.5275988578796387,
0.2000151127576828,
0.1048743799328804,
-0.43335843086242676,
0.6941854357719421,
0.2503085434436798,
0.11519452184438705,
-0.987661600112915,
-0.29922717809677124,
0.15214672684669495,
0.2791197597980499,
0.07319776713848114,
-0.5216066241264343,
-0.559121310710907,
-0.21547001600265503,
0.7263178825378418,
-0.1468667834997177,
0.43441978096961975,
0.5346665978431702,
-0.27598875761032104,
-0.49667876958847046,
0.23563818633556366,
0.6243658065795898,
0.6986125707626343,
-0.022664502263069153,
0.47192710638046265,
0.17763791978359222,
-0.4950377345085144,
0.4425223767757416,
-0.5545265078544617,
0.05952638387680054,
-0.05286969989538193,
0.49592918157577515,
0.3980230689048767,
0.0186998900026083,
-0.5711702704429626,
0.5898418426513672,
-0.28402888774871826,
-0.24099776148796082,
-0.4932372272014618,
0.22842289507389069,
0.1270252913236618,
0.446044385433197,
0.40962880849838257,
0.20225486159324646,
0.11126220971345901,
-0.9009376764297485,
0.27878934144973755,
0.4901818037033081,
-0.04060007259249687,
-0.22791695594787598,
0.5210081338882446,
-0.1076381504535675,
-0.40419724583625793,
1.123786449432373,
-0.3584628999233246,
-0.5605238080024719,
0.12643495202064514,
0.7687188982963562,
1.0450445413589478,
-0.21349942684173584,
0.2126387357711792,
0.09870775043964386,
0.09012198448181152,
-0.4605187177658081,
0.4285425543785095,
0.18449512124061584,
-1.0915464162826538,
-0.6109644174575806,
-0.499507337808609,
-0.15765860676765442,
-0.06926368176937103,
-0.939125120639801,
-0.29666683077812195,
-0.6057524681091309,
-0.18006296455860138,
-0.39101675152778625,
-0.28127923607826233,
-0.1747300624847412,
0.07479819655418396,
0.07472658157348633,
0.6297673583030701,
-0.4561972916126251,
0.9334231615066528,
0.5523056983947754,
-0.3489702343940735,
-0.9830960035324097,
0.3011171519756317,
0.19105404615402222,
-0.7348225712776184,
0.7428265810012817,
-0.08569157123565674,
-0.5367327928543091,
-0.18636274337768555,
-0.7077888250350952,
-0.8392989039421082,
0.9706039428710938,
0.6245677471160889,
-0.8835243582725525,
0.11132270097732544,
0.2684442102909088,
0.6162943243980408,
-0.26865020394325256,
0.06530921161174774,
0.6544189453125,
0.12541015446186066,
0.18317249417304993,
-1.000090479850769,
0.3776181936264038,
0.037303101271390915,
0.02031119167804718,
0.5560120344161987,
-0.6190311908721924,
0.8599503636360168,
-0.3846348524093628,
-0.20757076144218445,
-0.10721411556005478,
0.32968512177467346,
0.45105433464050293,
0.2325919270515442,
0.4466610252857208,
0.7729550004005432,
0.8571432828903198,
-0.2900713086128235,
1.0204699039459229,
0.22629067301750183,
0.3879748582839966,
1.1926411390304565,
-0.2813580632209778,
1.034255862236023,
0.867889404296875,
-0.08186405152082443,
0.8408821225166321,
0.44026249647140503,
0.2747034430503845,
0.575626790523529,
0.05023853853344917,
-0.19344866275787354,
-0.579655110836029,
0.12857992947101593,
-0.044510792940855026,
0.5270508527755737,
0.37355944514274597,
-0.5915008187294006,
-0.033311888575553894,
-0.11650770157575607,
0.3843531012535095,
-0.1514662802219391,
-0.45975759625434875,
0.9529997110366821,
0.3198987543582916,
-1.0704776048660278,
0.7137203216552734,
-0.1641712784767151,
0.2552933990955353,
-0.22395099699497223,
-0.35625872015953064,
-0.23509500920772552,
0.5535560846328735,
-0.41495004296302795,
-1.0342849493026733,
0.4592324495315552,
-0.09395495802164078,
-0.43692758679389954,
-0.2694835662841797,
0.9200493097305298,
-0.3148376941680908,
-0.05759738013148308,
0.6358138918876648,
0.545468270778656,
0.1488671749830246,
0.017610732465982437,
-0.6739426255226135,
0.3158244788646698,
0.22452481091022491,
-0.37574538588523865,
0.3401968777179718,
0.5637782216072083,
0.0678664892911911,
0.8044833540916443,
0.6250607371330261,
-0.0746261402964592,
0.2748832404613495,
-0.014765463769435883,
0.950158953666687,
-0.6181414127349854,
0.026002060621976852,
-1.3492897748947144,
0.7271882891654968,
-0.09052826464176178,
-0.08849259465932846,
0.9520329236984253,
0.25421983003616333,
0.8899896144866943,
-0.026290329173207283,
0.43384653329849243,
0.23939138650894165,
0.4324910342693329,
-0.7186142802238464,
0.3305998742580414,
-0.4466444253921509,
0.5705141425132751,
-0.5749863982200623,
-0.835395097732544,
0.2195558100938797,
0.3750334084033966,
-0.23660193383693695,
-0.11893070489168167,
1.0768872499465942,
0.5170029997825623,
0.26856520771980286,
0.20131857693195343,
0.24274209141731262,
0.5966647267341614,
0.25700077414512634,
0.7219573855400085,
1.2099285125732422,
-0.44792234897613525,
0.36836859583854675,
-0.07932760566473007,
-0.22689518332481384,
0.20875030755996704,
-0.7806581258773804,
-0.6050845384597778,
-0.34100398421287537,
-0.4704674184322357,
-0.793752908706665,
0.07581142336130142,
0.7000337839126587,
0.16000810265541077,
-0.5742287039756775,
-0.22473347187042236,
-0.7335354685783386,
0.3237333297729492,
-0.32266950607299805,
-0.24149692058563232,
-0.17439980804920197,
-0.3302707374095917,
-0.42177069187164307,
0.1605197638273239,
0.5394968390464783,
0.022551404312253,
-0.16117869317531586,
-0.5094707012176514,
-0.28687623143196106,
0.3604355752468109,
0.4514719247817993,
0.036370858550071716,
-0.9027886390686035,
-0.2872067093849182,
-0.0338265635073185,
-0.22424454987049103,
0.0005298062460497022,
0.8691388368606567,
-0.336708128452301,
0.32839709520339966,
0.4458484947681427,
0.47907012701034546,
0.16631750762462616,
-0.09253166615962982,
0.6917469501495361,
-0.4719737768173218,
-0.34221211075782776,
0.1893918514251709,
0.6234214901924133,
0.00749554019421339,
-0.3941727578639984,
0.5174749493598938,
0.4879973828792572,
-0.9481993913650513,
-1.0350290536880493,
0.38255229592323303,
-0.7297192215919495,
-0.4445921778678894,
1.2962250709533691,
-0.6132578253746033,
-0.2438454031944275,
-0.15595506131649017,
-0.011514733545482159,
0.36316439509391785,
-0.11120862513780594,
0.8851880431175232,
1.2515747547149658,
-0.6269624829292297,
-0.11089302599430084,
-0.3017553687095642,
0.6087887287139893,
0.4405824840068817,
-0.5927298069000244,
0.381714791059494,
0.6301302313804626,
0.5064018368721008,
0.35778355598449707,
0.5915389060974121,
-0.3131532371044159,
0.3539573550224304,
0.055031757801771164,
-0.4316331148147583,
0.24729023873806,
-0.1862068921327591,
-0.2215331792831421,
-0.02778179943561554,
0.29882994294166565,
-0.14928212761878967
] |
http://arxiv.org/abs/2405.15077v2
|
http://arxiv.org/pdf/2405.15077v2
|
Eliciting Informative Text Evaluations with Large Language Models
| 2024-05-23T21:56:12 | 2024-05-28T17:55:40 |
Yuxuan Lu, Shengwei Xu, Yichi Zhang, Yuqing Kong, Grant Schoenebeck
|
cs.CL
|
cs.CL, cs.AI, cs.GT
|
Peer prediction mechanisms motivate high-quality feedback with provable
guarantees. However, current methods only apply to rather simple reports, like
multiple-choice or scalar numbers. We aim to broaden these techniques to the
larger domain of text-based reports, drawing on the recent developments in
large language models. This vastly increases the applicability of peer
prediction mechanisms as textual feedback is the norm in a large variety of
feedback channels: peer reviews, e-commerce customer reviews, and comments on
social media.
We introduce two mechanisms, the Generative Peer Prediction Mechanism (GPPM)
and the Generative Synopsis Peer Prediction Mechanism (GSPPM). These mechanisms
utilize LLMs as predictors, mapping from one agent's report to a prediction of
her peer's report. Theoretically, we show that when the LLM prediction is
sufficiently accurate, our mechanisms can incentivize high effort and
truth-telling as an (approximate) Bayesian Nash equilibrium. Empirically, we
confirm the efficacy of our mechanisms through experiments conducted on two
real datasets: the Yelp review dataset and the ICLR OpenReview dataset. We
highlight the results that on the ICLR dataset, our mechanisms can
differentiate three quality levels -- human-written reviews, GPT-4-generated
reviews, and GPT-3.5-generated reviews in terms of expected scores.
Additionally, GSPPM penalizes LLM-generated reviews more effectively than GPPM.
|
[
-0.11141644418239594,
-0.5605654120445251,
0.9485993385314941,
0.3415448069572449,
-0.23848024010658264,
-0.16198253631591797,
-0.3124128580093384,
-0.4684508442878723,
0.1487870216369629,
0.34454023838043213,
-0.3678443431854248,
-0.4726511836051941,
-0.5569972395896912,
0.061483193188905716,
-0.44549986720085144,
1.5866072177886963,
0.05842021107673645,
0.3310237228870392,
-0.191457599401474,
0.27334511280059814,
-0.05146181583404541,
-0.5168314576148987,
-0.4330606162548065,
-0.5877780914306641,
0.7190826535224915,
0.23905980587005615,
0.6483424305915833,
-0.010210832580924034,
0.6605987548828125,
0.21351099014282227,
0.07573284953832626,
0.10277105122804642,
-0.6162952184677124,
0.2061089128255844,
-0.1917232871055603,
-0.6578037142753601,
-0.2794864773750305,
0.3665287494659424,
0.5786489248275757,
0.5446367263793945,
-0.3718093931674957,
0.12931129336357117,
0.46448445320129395,
0.8369098901748657,
-0.5026898980140686,
0.2602008283138275,
-0.6383258104324341,
0.10444146394729614,
0.05235394835472107,
-0.2902376651763916,
-0.7540815472602844,
-0.6563889980316162,
0.23262883722782135,
-0.3866618573665619,
0.15606264770030975,
0.12991218268871307,
0.7313839793205261,
-0.22385017573833466,
-0.056591544300317764,
-0.49755534529685974,
-0.9099352359771729,
0.6053532958030701,
-0.645779550075531,
0.01901405118405819,
0.48292556405067444,
0.3120303153991699,
0.0257367305457592,
-0.5806239247322083,
-0.5495607852935791,
-0.5535357594490051,
-0.19729430973529816,
0.4656347632408142,
-0.17099294066429138,
-0.00971132144331932,
0.18018703162670135,
0.44308555126190186,
-0.20492136478424072,
0.07368486374616623,
-0.3692176938056946,
0.05241277441382408,
0.528181791305542,
0.12954998016357422,
-0.026500556617975235,
-0.26881423592567444,
-0.4001564085483551,
-0.023529205471277237,
-0.9162209033966064,
0.20437802374362946,
0.5017446279525757,
0.2796880006790161,
-0.23778386414051056,
0.711655855178833,
-0.35426005721092224,
0.4467114508152008,
0.1652277261018753,
-0.11535529047250748,
0.24763022363185883,
-0.43246951699256897,
0.013093979097902775,
0.03139393776655197,
1.006593942642212,
0.8145753145217896,
0.1547413468360901,
-0.12015759199857712,
-0.7242459654808044,
0.21631163358688354,
0.17741386592388153,
-0.7837253212928772,
-0.14299039542675018,
0.10009165108203888,
-0.791616678237915,
-0.6360530257225037,
0.4706285893917084,
-0.8791013360023499,
-0.5902919173240662,
-0.13076145946979523,
0.6487541198730469,
-0.06389299035072327,
-0.11694370210170746,
0.016368607059121132,
-0.17295482754707336,
0.06015900894999504,
0.5715930461883545,
-0.6618098616600037,
0.4606013298034668,
0.6376686096191406,
0.9170190095901489,
-0.10525073111057281,
-0.2930629849433899,
-0.831569492816925,
0.29378771781921387,
-0.42793160676956177,
0.9410740733146667,
-0.7203457951545715,
-0.2424943745136261,
0.2973584830760956,
0.010312162339687347,
0.3169754445552826,
-0.393020361661911,
0.6327502131462097,
-0.49219605326652527,
0.4367927014827728,
-0.29241248965263367,
-0.49330973625183105,
-0.13793647289276123,
0.2548585534095764,
-0.7731271386146545,
0.688239336013794,
-0.006834964267909527,
-0.818228542804718,
0.5205667018890381,
-0.4721982777118683,
-0.3631631135940552,
0.010059483349323273,
0.22372779250144958,
-0.4547411799430847,
0.35674017667770386,
0.3853716552257538,
0.6239933371543884,
-0.5465462803840637,
0.20540276169776917,
-0.44460010528564453,
-0.38442355394363403,
0.4507290720939636,
-0.5106749534606934,
0.1919841766357422,
0.12861892580986023,
-0.4275568127632141,
0.24400825798511505,
-0.25068119168281555,
-0.01639452390372753,
0.10592606663703918,
-0.4150347411632538,
-0.0016466174274682999,
0.20650972425937653,
-0.06703216582536697,
0.020591896027326584,
-0.09105630218982697,
-0.588090717792511,
0.04705194756388664,
-0.38036370277404785,
0.5057188868522644,
0.779771625995636,
0.25364282727241516,
0.44254395365715027,
-0.6417936086654663,
0.6634637713432312,
-0.2949834167957306,
0.12627623975276947,
-0.4483698606491089,
-0.4474915862083435,
-0.39893919229507446,
0.2145843505859375,
0.3791106343269348,
0.14303423464298248,
-0.7657818794250488,
0.03673335164785385,
-0.31639987230300903,
-0.6298784613609314,
-0.5006217956542969,
-0.11579772084951401,
0.4985150992870331,
0.06569180637598038,
-0.014666933566331863,
-0.3621191382408142,
-0.06366974860429764,
-0.48322999477386475,
-0.3633064031600952,
-0.6969087719917297,
-0.11450711637735367,
0.055882107466459274,
0.1730838268995285,
0.18294666707515717,
0.5729633569717407,
-0.2912816107273102,
-0.45707786083221436,
-0.4536300003528595,
0.3347098231315613,
0.425362229347229,
0.028421888127923012,
0.41748371720314026,
-0.6117973327636719,
-0.6308333277702332,
-0.19175733625888824,
-0.3390759527683258,
-0.2827766239643097,
-0.16179583966732025,
0.2847755551338196,
0.12013968825340271,
0.29345595836639404,
-0.4385170042514801,
0.29160240292549133,
0.7831460237503052,
-0.20844650268554688,
0.6657925844192505,
-0.1000387892127037,
0.37387093901634216,
-0.6378113627433777,
-0.3429737389087677,
0.4171541631221771,
-0.16608330607414246,
-0.3184460699558258,
-0.08022835105657578,
-0.11782973259687424,
-0.05811770260334015,
-0.037206828594207764,
0.33450600504875183,
-0.4111948311328888,
0.005979228299111128,
-0.19709928333759308,
0.1790371686220169,
0.07297735661268234,
0.31592923402786255,
0.008449208922684193,
0.6276031136512756,
0.26219356060028076,
-0.34544891119003296,
0.1658894270658493,
0.007808632217347622,
-0.7647889852523804,
0.4505792260169983,
-0.8932085037231445,
0.07790557295084,
-0.26743409037590027,
0.5426641702651978,
-1.3308029174804688,
-0.226059690117836,
0.28481969237327576,
-0.6994601488113403,
0.05180198699235916,
-0.24912327527999878,
-0.7969934940338135,
-0.24368779361248016,
-0.6178156137466431,
-0.16338428854942322,
0.3419122099876404,
-0.6087062954902649,
0.37234896421432495,
0.42242202162742615,
-0.5115699768066406,
-0.29232385754585266,
-0.5857869386672974,
0.17401015758514404,
0.0974540188908577,
-0.32588788866996765,
0.30009809136390686,
-0.08894721418619156,
-0.292745977640152,
0.13549961149692535,
0.1742725670337677,
0.2704198658466339,
-0.2115376740694046,
0.4257606565952301,
0.3873451352119446,
0.12061161547899246,
0.3052038848400116,
0.04108011722564697,
-0.09915829449892044,
0.2992624044418335,
-0.2396748960018158,
0.45432695746421814,
-0.22372327744960785,
-0.4425225853919983,
-0.23141586780548096,
0.1591317504644394,
0.47389107942581177,
-0.1911483108997345,
0.4078039228916168,
0.4621501863002777,
0.019865406677126884,
-0.44943052530288696,
-0.6430045962333679,
-0.47597065567970276,
-0.413047730922699,
0.31249797344207764,
-0.17333991825580597,
-0.8826550245285034,
0.10330212116241455,
0.036570750176906586,
-0.03673156723380089,
0.3263130486011505,
0.8341548442840576,
0.0527365505695343,
1.297662377357483,
0.4788845181465149,
-0.12614744901657104,
0.3260340988636017,
-0.0486970879137516,
0.38454559445381165,
-0.5064094662666321,
-0.32288455963134766,
-0.6467142701148987,
-0.16754962503910065,
-0.5754501223564148,
-0.320098340511322,
0.5629766583442688,
0.08145314455032349,
0.2707718312740326,
0.012777619995176792,
-0.4796241223812103,
0.528777539730072,
0.5371494889259338,
0.1125907376408577,
0.4718097150325775,
0.2384912222623825,
-0.2888859212398529,
-0.09654425829648972,
-0.5774396061897278,
-0.5757490992546082,
1.2033047676086426,
0.5331166982650757,
1.086205005645752,
-0.08988837152719498,
0.4483537971973419,
0.4924890697002411,
1.0200532674789429,
-0.8881624341011047,
0.5194876790046692,
-0.06673119217157364,
-0.37199562788009644,
-0.26175376772880554,
-0.4201194643974304,
-0.4674440622329712,
0.17160813510417938,
-0.42003732919692993,
-0.3830232322216034,
-0.04801375791430473,
-0.09387490153312683,
-0.13323301076889038,
0.29378125071525574,
-0.6359950304031372,
0.21358084678649902,
-0.019879957661032677,
-0.5701950788497925,
-0.466775119304657,
-0.3907758295536041,
0.04702746495604515,
-0.05493161454796791,
0.29308733344078064,
-0.22512081265449524,
0.07352878898382187,
0.6336303949356079,
-0.38331326842308044,
0.8858915567398071,
-0.3591502606868744,
-0.23366203904151917,
0.4233260452747345,
0.13367609679698944,
0.8019471168518066,
0.19322410225868225,
-0.21974624693393707,
0.09866916388273239,
-0.206699401140213,
0.04584643617272377,
-0.5544816255569458,
0.50762540102005,
-0.6539672613143921,
-0.5488772988319397,
-0.300910085439682,
-0.20846056938171387,
-0.3876902759075165,
-0.11136319488286972,
0.4533107280731201,
0.45575496554374695,
-0.12834425270557404,
0.27362510561943054,
0.15778864920139313,
-0.008616374805569649,
0.45692697167396545,
0.7057235836982727,
-0.389133483171463,
-0.7579336762428284,
0.7801862359046936,
-0.11944476515054703,
0.2564099431037903,
0.4780968427658081,
0.3258720338344574,
-0.4518544375896454,
-0.6560408473014832,
-0.2773137092590332,
0.18896496295928955,
-0.5727798342704773,
-0.33354368805885315,
-0.522443413734436,
-0.06872665137052536,
-0.12543578445911407,
0.08639589697122574,
0.035135459154844284,
-0.3441694676876068,
0.21744461357593536,
-0.41593417525291443,
0.025149011984467506,
1.143187403678894,
-0.13197283446788788,
0.2263064980506897,
-0.8159613013267517,
0.025027964264154434,
0.3514041304588318,
0.5236381888389587,
0.30721017718315125,
-0.4041321277618408,
-0.36720672249794006,
-0.10015833377838135,
-0.33529695868492126,
-0.9175496697425842,
0.26151227951049805,
0.09150826930999756,
0.3323497772216797,
0.4719558656215668,
-0.013635866343975067,
0.10946844518184662,
-0.6053852438926697,
0.7972742319107056,
0.45389625430107117,
-0.8382397294044495,
0.5523014664649963,
-0.5595836043357849,
0.001918373629450798,
0.44131892919540405,
0.5625576376914978,
-0.5149595737457275,
-0.7048190236091614,
-0.11244307458400726,
-0.5380054712295532,
0.4920387864112854,
0.1441347897052765,
0.4298132061958313,
-0.04538709670305252,
0.2788905203342438,
0.440115749835968,
0.45376479625701904,
-1.1305623054504395,
0.22349441051483154,
-0.028622299432754517,
0.0638674721121788,
-0.07062473893165588,
-0.6591898202896118,
-0.07337536662817001,
0.06734858453273773,
0.6613964438438416,
-0.22434501349925995,
0.2685868442058563,
0.39129000902175903,
0.2373666912317276,
-0.6295985579490662,
0.3869580924510956,
0.18436554074287415,
0.9085434675216675,
-0.1287955641746521,
-0.07009433209896088,
-0.3318006694316864,
-0.21050092577934265,
0.23131969571113586,
-0.005883412901312113,
-0.40695273876190186,
0.19583040475845337,
0.46049830317497253,
0.6861571073532104,
-0.058525655418634415,
-0.4767758846282959,
0.8270533084869385,
-0.09883871674537659,
-0.39020171761512756,
-0.19144602119922638,
-0.1506774127483368,
-0.05070967227220535,
0.19947990775108337,
0.3708506226539612,
-0.17812813818454742,
0.34445175528526306,
-0.6693729758262634,
0.15380673110485077,
0.4269333481788635,
-0.7922683954238892,
-0.4918670058250427,
0.6450773477554321,
0.2928926944732666,
-0.01570863649249077,
0.31392887234687805,
-0.21081724762916565,
-0.4410140812397003,
0.34478673338890076,
0.4964127242565155,
0.9771047234535217,
-0.06960532069206238,
0.7325044870376587,
0.4286496043205261,
0.4126312732696533,
-0.32222169637680054,
0.12431491911411285,
0.06053788587450981,
-0.6311526894569397,
-0.8342053890228271,
-0.7560941576957703,
-0.6600876450538635,
0.06573599576950073,
-0.6207479238510132,
0.2093123346567154,
-0.4946262240409851,
-0.28959372639656067,
0.20312081277370453,
-0.05148147791624069,
-0.16295713186264038,
0.016123207286000252,
0.17219069600105286,
0.6934725046157837,
-0.867165744304657,
0.5263369083404541,
0.5672864317893982,
-0.4630657136440277,
-0.7998974323272705,
0.4754520058631897,
0.05180107429623604,
-0.6422373652458191,
0.6287837028503418,
0.3782917261123657,
-0.16481804847717285,
-0.45208418369293213,
-0.7999745011329651,
-0.41652247309684753,
0.5567730665206909,
0.155882328748703,
-0.8099713921546936,
-0.028230661526322365,
-0.01066698506474495,
0.5720025300979614,
-0.4973520040512085,
0.404501348733902,
0.009480630047619343,
0.4919133186340332,
-0.11877232789993286,
-0.8166616559028625,
0.17591600120067596,
-0.4543280005455017,
0.11028062552213669,
0.2136451154947281,
-0.5806301832199097,
0.6147322654724121,
-0.6003333330154419,
-0.21191100776195526,
0.20051969587802887,
0.5473520755767822,
0.2149452120065689,
0.34001532196998596,
0.8288939595222473,
0.5139815211296082,
0.453759104013443,
-0.17869193851947784,
1.4130209684371948,
-0.3657897710800171,
0.305169939994812,
1.0620472431182861,
-0.4043276011943817,
0.95356684923172,
0.3419431149959564,
-0.3276819586753845,
0.8609210848808289,
0.5022565126419067,
-0.3473542630672455,
0.6804171800613403,
0.29674115777015686,
-0.14418242871761322,
-0.055435363203287125,
-0.4266318082809448,
-0.27424001693725586,
0.14293435215950012,
0.16811123490333557,
-0.4593397080898285,
-0.10214060544967651,
-0.13761305809020996,
-0.08732511103153229,
0.15607841312885284,
-0.40618300437927246,
0.988561749458313,
0.11838691681623459,
-0.9751237034797668,
0.10668430477380753,
0.17208412289619446,
0.5593999624252319,
-0.6595715284347534,
-0.3959699869155884,
0.06379091739654541,
-0.08225283026695251,
-0.1986905038356781,
-1.0478404760360718,
-0.11877622455358505,
-0.024833863601088524,
-0.42264997959136963,
-0.41040730476379395,
0.8361076712608337,
-0.41923239827156067,
-0.43277862668037415,
0.34828197956085205,
0.5311906933784485,
-0.21540485322475433,
-0.24471509456634521,
-0.4752814471721649,
-0.08095407485961914,
-0.06033045053482056,
-0.24438853561878204,
0.31769710779190063,
0.5199630260467529,
0.2037385106086731,
0.45461001992225647,
0.8748413920402527,
0.3570624887943268,
-0.5248650908470154,
0.39585497975349426,
0.8229176998138428,
-0.36796221137046814,
-0.7962874174118042,
-0.8221868276596069,
0.26394009590148926,
-0.02827153541147709,
0.015949605032801628,
0.7941082715988159,
0.3909980058670044,
0.786454439163208,
-0.06596339493989944,
0.9300529360771179,
0.26615044474601746,
0.7466219663619995,
-0.699291467666626,
0.683285653591156,
-0.3380261957645416,
0.5069336891174316,
-0.4650651514530182,
-1.2624051570892334,
0.11397922784090042,
0.19832831621170044,
-0.4917621910572052,
0.13738684356212616,
0.786434531211853,
0.6428391337394714,
0.45043253898620605,
0.18316341936588287,
0.01811632700264454,
0.37987813353538513,
0.20068027079105377,
0.3169672191143036,
1.3316009044647217,
0.09059236943721771,
0.6863726377487183,
-0.27121973037719727,
-0.3343602418899536,
-0.15783801674842834,
-0.8889266848564148,
-0.8704630136489868,
-0.5338041186332703,
-0.14310087263584137,
-0.7316043972969055,
0.15370924770832062,
0.5531464219093323,
0.6770377159118652,
-0.6412139534950256,
-0.28865841031074524,
-0.11157136410474777,
0.08186338096857071,
-0.1100226491689682,
-0.29967403411865234,
0.17459991574287415,
-0.5715574622154236,
-0.5817675590515137,
0.021209407597780228,
0.5696591138839722,
-0.1609419733285904,
-0.43793296813964844,
-0.12168096750974655,
0.5381041169166565,
-0.022681724280118942,
0.5950384736061096,
-0.4725582003593445,
-0.6558994650840759,
-0.02954663522541523,
-0.18364772200584412,
-0.13291506469249725,
0.0413883775472641,
1.0322918891906738,
-0.6980637311935425,
0.4177871644496918,
0.636461079120636,
0.3361770808696747,
0.44939035177230835,
-0.026966074481606483,
0.7793737053871155,
-0.3588425815105438,
-0.28319865465164185,
0.2459694892168045,
0.25571611523628235,
0.39762887358665466,
-0.36184224486351013,
0.6749443411827087,
0.02814962901175022,
-0.5327171683311462,
-0.6516133546829224,
0.07231315970420837,
-0.5583190321922302,
-0.20088811218738556,
1.1714897155761719,
-0.280876100063324,
-0.08176938444375992,
0.31471771001815796,
-0.20835815370082855,
-0.4455597996711731,
-0.6183763146400452,
1.0627062320709229,
0.9134814739227295,
0.2081204503774643,
-0.11251796782016754,
-0.49188557267189026,
0.540633499622345,
0.4176028370857239,
-0.9508734941482544,
0.08159198611974716,
0.5933414101600647,
0.05642760917544365,
0.09023567289113998,
0.8177492022514343,
-0.4402974247932434,
0.4147745668888092,
-0.20893412828445435,
-0.26385095715522766,
0.19830988347530365,
-0.4585834741592407,
-0.36784476041793823,
0.4626598060131073,
0.2660748362541199,
0.40746840834617615
] |
http://arxiv.org/abs/2405.15071v2
|
http://arxiv.org/pdf/2405.15071v2
|
Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization
| 2024-05-23T21:42:19 | 2024-05-27T03:55:35 |
Boshi Wang, Xiang Yue, Yu Su, Huan Sun
|
cs.CL
|
cs.CL
|
We study whether transformers can learn to implicitly reason over parametric
knowledge, a skill that even the most capable language models struggle with.
Focusing on two representative reasoning types, composition and comparison, we
consistently find that transformers can learn implicit reasoning, but only
through grokking, i.e., extended training far beyond overfitting. The levels of
generalization also vary across reasoning types: when faced with
out-of-distribution examples, transformers fail to systematically generalize
for composition but succeed for comparison. We delve into the model's internals
throughout training, conducting analytical experiments that reveal: 1) the
mechanism behind grokking, such as the formation of the generalizing circuit
and its relation to the relative efficiency of generalizing and memorizing
circuits, and 2) the connection between systematicity and the configuration of
the generalizing circuit. Our findings guide data and training setup to better
induce implicit reasoning and suggest potential improvements to the transformer
architecture, such as encouraging cross-layer knowledge sharing. Furthermore,
we demonstrate that for a challenging reasoning task with a large search space,
GPT-4-Turbo and Gemini-1.5-Pro based on non-parametric memory fail badly
regardless of prompting styles or retrieval augmentation, while a fully grokked
transformer can achieve near-perfect accuracy, showcasing the power of
parametric memory for complex reasoning.
|
[
-0.5888062715530396,
-0.5060104727745056,
0.8169517517089844,
0.02801608480513096,
-0.12480145692825317,
0.03410325571894646,
-0.2523512840270996,
-0.17251412570476532,
-0.29124465584754944,
0.3968111276626587,
-0.6206190586090088,
-0.5059832334518433,
-0.7423800826072693,
-0.10851973295211792,
-0.6286442875862122,
1.2587635517120361,
-0.16626985371112823,
-0.21195149421691895,
-0.21622267365455627,
-0.14496906101703644,
-0.29530835151672363,
-0.2948648929595947,
-0.6176434755325317,
-0.6753660440444946,
0.45468640327453613,
0.32847484946250916,
0.7273174524307251,
0.2650623619556427,
0.27705737948417664,
0.3012657165527344,
0.05342497304081917,
-0.05327591672539711,
-0.3248831331729889,
0.2713845372200012,
-0.5427631139755249,
-0.7727327346801758,
0.17418570816516876,
0.15973876416683197,
0.23582209646701813,
0.47921910881996155,
-0.19483590126037598,
0.12182623893022537,
-0.1882692128419876,
0.8037952780723572,
-0.4914507269859314,
0.3459954857826233,
-0.7297645211219788,
0.04189486801624298,
0.17489519715309143,
-0.3014392554759979,
-0.5397736430168152,
-0.3076225817203522,
0.16530005633831024,
-0.7508248686790466,
0.8088279962539673,
-0.16712650656700134,
0.7726466059684753,
0.6157083511352539,
-0.5257130265235901,
-0.6289175152778625,
-1.199830174446106,
0.6855050325393677,
-0.3391259014606476,
0.578004777431488,
0.28429946303367615,
0.8516501784324646,
-0.1083158478140831,
-1.00786292552948,
-0.3716990351676941,
-0.2528209388256073,
-0.41315197944641113,
0.39460813999176025,
-0.10387946665287018,
0.2902892827987671,
0.6231800317764282,
0.22569449245929718,
-0.6089228987693787,
-0.6726648807525635,
-0.6380500197410583,
0.06297373026609421,
0.2645167112350464,
0.12183420360088348,
0.3292725682258606,
0.000255426304647699,
-0.1750192791223526,
-0.31151866912841797,
-0.30581894516944885,
0.317985475063324,
0.7629834413528442,
-0.09812188893556595,
0.1971643716096878,
0.31697574257850647,
-0.33491814136505127,
0.37019333243370056,
0.4641139507293701,
0.06223255395889282,
-0.0643966868519783,
0.10842712968587875,
-0.10188654810190201,
0.008536169305443764,
0.3880722224712372,
0.23634348809719086,
0.5526331067085266,
-0.5878384709358215,
-0.14684081077575684,
0.02977660484611988,
0.6877208948135376,
-0.4459661841392517,
-0.6187728643417358,
0.14688093960285187,
-0.16316772997379303,
0.08458243310451508,
0.21420592069625854,
-0.5413624048233032,
-0.08985348790884018,
-0.5490140318870544,
0.30845028162002563,
-0.49707141518592834,
-0.20418457686901093,
0.48007121682167053,
-0.7005294561386108,
0.4314226806163788,
0.19389420747756958,
-1.3835798501968384,
0.2875739336013794,
0.9586268663406372,
0.6103236079216003,
0.4056457579135895,
-0.4323410987854004,
0.040419917553663254,
0.590797483921051,
-0.35496050119400024,
1.0047074556350708,
-0.7975099086761475,
-0.28257474303245544,
-0.058539729565382004,
0.18632178008556366,
-0.29445943236351013,
-0.5127491354942322,
0.7684760093688965,
-0.36376336216926575,
0.21469749510288239,
-0.404006689786911,
-0.2485036700963974,
-0.3376010060310364,
0.11232153326272964,
-0.5562511086463928,
1.2370871305465698,
0.22414758801460266,
-0.7853342890739441,
0.8273224234580994,
-0.4768874943256378,
-0.5467298030853271,
0.05632297694683075,
-0.4746042490005493,
-0.06069760024547577,
0.4924139380455017,
0.23139287531375885,
0.47660836577415466,
-0.27350714802742004,
0.3775610327720642,
-0.1075882539153099,
-0.5405320525169373,
-0.3332294523715973,
-0.17841129004955292,
0.3215474784374237,
-0.15313631296157837,
-0.6694167852401733,
0.03403468430042267,
-0.4330534040927887,
-0.1389547437429428,
0.20669063925743103,
-0.31203532218933105,
-0.33122992515563965,
0.05592206120491028,
-0.647987961769104,
0.28547370433807373,
-0.1368076354265213,
-0.5559751391410828,
0.3260475993156433,
-0.2244586944580078,
0.5379462838172913,
0.8263546824455261,
-0.03943260759115219,
0.8270073533058167,
-0.2045477330684662,
0.5171273946762085,
-0.31053397059440613,
0.522222101688385,
-0.0583789236843586,
-0.585815966129303,
-0.9934164881706238,
0.0587710365653038,
-0.08143562823534012,
0.29913902282714844,
-0.8433759212493896,
0.11607346683740616,
-0.29857170581817627,
-0.6127476692199707,
-0.32353541254997253,
-0.12759354710578918,
0.10152176022529602,
0.668623149394989,
0.6746885776519775,
0.5054309964179993,
-0.22137585282325745,
-1.1815087795257568,
-0.6266859173774719,
-0.16154469549655914,
-0.39326542615890503,
0.25298890471458435,
0.45553529262542725,
-0.37335672974586487,
0.8629748821258545,
-0.3574567139148712,
-0.07938102632761002,
-0.42696505784988403,
0.3995297849178314,
0.34993883967399597,
0.38936030864715576,
0.47019848227500916,
-0.5791600942611694,
-0.5553185343742371,
0.4148098826408386,
-0.777122437953949,
-0.03795698657631874,
-0.29672589898109436,
-0.15184932947158813,
-0.009710886515676975,
0.7155256271362305,
-0.9794550538063049,
0.2198219895362854,
0.23754477500915527,
-0.22373636066913605,
0.7173454165458679,
-0.2711212933063507,
0.03636237606406212,
-0.3556458353996277,
0.03625938668847084,
-0.08227528631687164,
0.0001923816162161529,
-0.5722953081130981,
-0.010136647149920464,
-0.035541120916604996,
0.1197274699807167,
-0.17151986062526703,
0.5587427616119385,
-0.3213937282562256,
0.19257906079292297,
-0.15385466814041138,
-0.38675862550735474,
0.010340706445276737,
0.7498341202735901,
-0.21964459121227264,
0.7107176780700684,
0.5213140249252319,
-0.5960568189620972,
0.4643484354019165,
0.16147762537002563,
-0.20405924320220947,
0.40934067964553833,
-0.7944369316101074,
0.2353384792804718,
-0.4589866101741791,
0.47598448395729065,
-0.9449821710586548,
-0.42289450764656067,
0.33884334564208984,
-0.34229353070259094,
0.24081765115261078,
-0.5483891367912292,
-0.4418090581893921,
-0.5203127861022949,
-0.024547602981328964,
0.31162428855895996,
0.9469837546348572,
-0.8430439829826355,
1.2696382999420166,
-0.20229090750217438,
-0.22738589346408844,
-0.647437334060669,
-0.47896718978881836,
-0.3002319633960724,
-0.2742096781730652,
-0.8859150409698486,
0.1335056871175766,
0.3389442563056946,
-0.11100520938634872,
0.07068755477666855,
-0.7423260807991028,
0.1281578689813614,
-0.26968151330947876,
0.18324439227581024,
-0.19997648894786835,
0.003539731027558446,
0.3686176538467407,
0.47920799255371094,
-0.7075325846672058,
0.40081673860549927,
-0.41642075777053833,
0.6352115273475647,
-0.3448210656642914,
-0.6203360557556152,
-0.04668872058391571,
0.24731729924678802,
0.536794900894165,
0.08538010716438293,
0.5291804671287537,
0.6535966992378235,
-0.04921984672546387,
-0.4839750826358795,
-0.7742552161216736,
-0.4109486937522888,
-0.5680591464042664,
0.14022958278656006,
-0.5429004430770874,
-0.8202770352363586,
0.6213082075119019,
-0.22156701982021332,
0.11327488720417023,
0.6106690168380737,
0.3467458486557007,
-0.17306376993656158,
1.234966516494751,
0.4258064925670624,
0.31659674644470215,
0.16084975004196167,
-0.3040333688259125,
0.37882205843925476,
-0.5796064734458923,
-0.5336915254592896,
-0.36224091053009033,
-0.5331829190254211,
-0.39956238865852356,
-0.14999599754810333,
0.28874218463897705,
-0.08986489474773407,
-0.42579030990600586,
0.15032191574573517,
-0.6402112245559692,
0.9131714105606079,
0.7501745820045471,
0.016182417050004005,
0.14504790306091309,
0.04912114515900612,
-0.30265292525291443,
0.2032986432313919,
-0.6160628795623779,
-0.44697216153144836,
0.9435694217681885,
0.3870658278465271,
0.9707251191139221,
-0.34864693880081177,
0.41721850633621216,
-0.024438712745904922,
0.12428250908851624,
-0.5526523590087891,
0.511703372001648,
-0.26378029584884644,
-0.7284197807312012,
-0.2410658448934555,
-0.3634033799171448,
-0.6032590270042419,
0.19043540954589844,
0.19831877946853638,
-0.47077876329421997,
0.07548222690820694,
0.22150832414627075,
0.03713670000433922,
0.38375258445739746,
-0.9384671449661255,
0.7366402745246887,
-0.14726336300373077,
0.007351697888225317,
-0.08581648021936417,
-0.7922951579093933,
0.413811594247818,
0.31642165780067444,
-0.22607757151126862,
0.06264226138591766,
0.31497612595558167,
0.5355563163757324,
-0.0771346166729927,
0.5658361911773682,
-0.4994543194770813,
-0.0547034814953804,
0.24340592324733734,
0.05975845083594322,
0.7232818007469177,
0.10315936803817749,
0.41285136342048645,
0.061628539115190506,
-0.2856617569923401,
-0.5875508785247803,
-1.3283069133758545,
0.36357808113098145,
-0.6528120040893555,
-0.9952458739280701,
-0.10500197857618332,
-0.5656394362449646,
-0.26818737387657166,
-0.02346719056367874,
0.6143225431442261,
0.2403355836868286,
0.23074720799922943,
0.28213831782341003,
0.8635287284851074,
-0.009430368430912495,
0.17664697766304016,
0.17962798476219177,
-0.027121204882860184,
-0.13016030192375183,
0.9508218765258789,
0.06780503690242767,
0.33932146430015564,
0.2555782198905945,
0.36674007773399353,
-0.49166232347488403,
-0.34917017817497253,
-0.21956273913383484,
0.3046281337738037,
-1.222556471824646,
0.3346419930458069,
-1.0782241821289062,
-0.1462637037038803,
-0.09745447337627411,
-0.408111572265625,
-0.33443593978881836,
-0.4232170879840851,
0.4238600432872772,
-0.4622875154018402,
0.1416746824979782,
0.930888831615448,
0.13944248855113983,
0.386961430311203,
-0.5952438116073608,
0.3793039917945862,
0.9252339601516724,
0.4695453941822052,
-0.01645328290760517,
-0.408978134393692,
-0.13760027289390564,
-0.1752021312713623,
-0.1598709672689438,
-0.44552505016326904,
-0.17135362327098846,
-0.08244921267032623,
0.9398007988929749,
0.5466353297233582,
-0.07085824012756348,
0.45386406779289246,
-0.5213729739189148,
0.5337724685668945,
0.002652829745784402,
-0.8049637675285339,
0.233194038271904,
-0.5828904509544373,
0.2352214753627777,
0.5485709309577942,
0.364337682723999,
-0.7117993235588074,
-0.6214572787284851,
-0.835985541343689,
-0.8513448238372803,
0.6590107083320618,
0.252174973487854,
0.3240717351436615,
0.06848934292793274,
0.4832490384578705,
0.5269132852554321,
0.1122213825583458,
-0.7415479421615601,
-0.16707578301429749,
-0.6399142146110535,
-0.15845102071762085,
-0.11122199892997742,
-0.1538948118686676,
-0.3124118447303772,
-0.5070697069168091,
0.7115174531936646,
-0.2337922304868698,
0.4614962041378021,
0.08265535533428192,
-0.17957782745361328,
-0.02110474742949009,
0.3337942361831665,
0.792213499546051,
0.5267582535743713,
-0.14506758749485016,
0.4649711549282074,
0.10182634741067886,
-0.40460026264190674,
0.38521355390548706,
-0.18714050948619843,
0.037168681621551514,
0.06035152077674866,
0.44291606545448303,
0.852495551109314,
0.08964178711175919,
-0.3311443030834198,
0.3473411500453949,
-0.19797757267951965,
-0.6539780497550964,
-0.11137215048074722,
0.3833560347557068,
0.2236899882555008,
0.4359738230705261,
0.5400289297103882,
0.1320173293352127,
0.1456814855337143,
-0.1671755164861679,
0.15565642714500427,
0.44335779547691345,
-0.2586994171142578,
-0.6139029860496521,
0.5892266035079956,
0.062292829155921936,
0.007685940247029066,
0.6576523780822754,
-0.2138715535402298,
-0.622175931930542,
0.5517871975898743,
0.3178144097328186,
1.1977813243865967,
-0.2223992645740509,
0.4101634919643402,
0.24543675780296326,
0.7683831453323364,
-0.2933875620365143,
-0.16330714523792267,
-0.3402148485183716,
-0.5614122152328491,
-0.39131173491477966,
-0.22685624659061432,
-0.3900044560432434,
0.09791377186775208,
-0.5121273994445801,
0.2512018084526062,
-0.6586065292358398,
0.16046923398971558,
-0.3340221047401428,
-0.6333145499229431,
-0.5902958512306213,
0.15286394953727722,
-0.23932987451553345,
0.8023074865341187,
-1.1687678098678589,
0.3396179974079132,
0.7305401563644409,
-0.2951103746891022,
-0.7529094815254211,
0.21541395783424377,
-0.5760442018508911,
-0.8648350834846497,
0.7616950869560242,
0.46901461482048035,
-0.14428938925266266,
-0.01250453945249319,
-0.6292906403541565,
-0.5800500512123108,
1.0319924354553223,
0.5731003284454346,
-0.23357130587100983,
-0.40568822622299194,
0.34844377636909485,
0.6318740844726562,
0.017610915005207062,
0.5956980586051941,
0.8949992656707764,
0.7988280057907104,
0.33750271797180176,
-0.5508233904838562,
0.028854908421635628,
-0.33252063393592834,
-0.4711723029613495,
0.6309719085693359,
-0.4862004816532135,
1.067033052444458,
0.10234199464321136,
-0.4043634533882141,
-0.449851393699646,
0.30503547191619873,
-0.043144796043634415,
0.37153205275535583,
0.3658996522426605,
0.8305537104606628,
0.40424221754074097,
-0.24074991047382355,
1.1254985332489014,
0.01316761877387762,
0.37722036242485046,
0.8307902216911316,
0.09621836245059967,
-0.04266204312443733,
0.44501057267189026,
-0.11908134073019028,
0.703404426574707,
0.17359012365341187,
-0.02484171651303768,
0.601028323173523,
-0.09448036551475525,
-0.18758125603199005,
-0.5399600863456726,
0.34960946440696716,
-0.455758273601532,
0.1047399491071701,
0.26384222507476807,
-0.20233218371868134,
-0.6513605117797852,
-0.03260624408721924,
-0.3427821695804596,
-0.25060251355171204,
-0.16994495689868927,
0.7574698328971863,
-0.03349742293357849,
-0.6687867641448975,
0.5978321433067322,
-0.24212762713432312,
0.32731518149375916,
-0.6378507614135742,
-0.04298901930451393,
-0.132256880402565,
0.08318933099508286,
-0.3589034378528595,
-0.7858238816261292,
0.45442134141921997,
-0.4562866687774658,
-0.33096566796302795,
-0.13423492014408112,
0.8953384160995483,
-0.16095508635044098,
-0.26291242241859436,
0.35633042454719543,
0.32126015424728394,
-0.06441164761781693,
-0.39690908789634705,
-0.5579695105552673,
-0.5816279053688049,
-0.05008423700928688,
-0.44399070739746094,
0.11707409471273422,
0.5823150277137756,
-0.042651012539863586,
1.014757752418518,
0.5978861451148987,
-0.27741289138793945,
0.5823842287063599,
0.18354664742946625,
0.9269101023674011,
-0.7297224402427673,
-0.6267203688621521,
-0.8351839780807495,
0.7068376541137695,
0.1361502707004547,
-0.10431581735610962,
0.5655620694160461,
0.26331228017807007,
0.9296072125434875,
-0.48617979884147644,
1.0059094429016113,
0.26239773631095886,
0.3372749984264374,
-0.6485896706581116,
0.32104331254959106,
-0.26172569394111633,
-0.17582429945468903,
-0.13757020235061646,
-1.1297354698181152,
-0.026272259652614594,
0.5778075456619263,
-0.6683096289634705,
0.20555520057678223,
0.9548181891441345,
0.4156140089035034,
-0.40240299701690674,
0.27687111496925354,
0.43595150113105774,
-0.006004283670336008,
0.6319777965545654,
0.5985140800476074,
1.3728331327438354,
-0.16782937943935394,
0.7027729749679565,
-0.1514056921005249,
-0.10905992984771729,
0.024214478209614754,
-0.5310084223747253,
-1.327118992805481,
-0.5710030794143677,
0.18600322306156158,
0.09793161600828171,
-0.007220043335109949,
0.4244614839553833,
0.4409763813018799,
-0.4678145945072174,
0.20444726943969727,
-0.8533989191055298,
0.13390685617923737,
-0.10306922346353531,
-0.22714956104755402,
-0.036243736743927,
-0.72948157787323,
-0.6197564601898193,
0.1859796941280365,
0.39522072672843933,
0.04930785670876503,
-0.11004216969013214,
-0.16251124441623688,
0.2699936628341675,
0.10308042913675308,
0.2928694784641266,
0.27546682953834534,
-0.7183918952941895,
-0.44509705901145935,
0.11780672520399094,
0.2511085569858551,
0.00048519211122766137,
1.2173643112182617,
-0.6537497639656067,
0.289293497800827,
0.6908703446388245,
0.5683403611183167,
0.5438786745071411,
0.16887691617012024,
0.6025398969650269,
-0.7125649452209473,
0.2619403302669525,
0.1317736953496933,
0.21381714940071106,
-0.07652351260185242,
-0.30813947319984436,
0.5590492486953735,
0.2173520028591156,
-0.8022468090057373,
-0.5426110029220581,
0.49175354838371277,
-0.5991082191467285,
-0.21668575704097748,
1.1997888088226318,
0.10602632910013199,
0.029734548181295395,
-0.4590543210506439,
-0.2944338321685791,
0.15396031737327576,
-0.44946709275245667,
0.8786755800247192,
0.9070367813110352,
-0.23772817850112915,
-0.06144261732697487,
-0.5872923731803894,
0.6714390516281128,
0.491651326417923,
-0.5372164249420166,
0.03602716326713562,
-0.015011698938906193,
0.3060905337333679,
0.3102574646472931,
0.2194320112466812,
0.16013722121715546,
0.4518451392650604,
0.045499175786972046,
0.09697818756103516,
-0.24110831320285797,
-0.8177132606506348,
-0.1475408673286438,
0.17956742644309998,
-0.24244798719882965,
0.08173905313014984
] |
http://arxiv.org/abs/2405.15070v1
|
http://arxiv.org/pdf/2405.15070v1
|
Optimizing example selection for retrieval-augmented machine translation with translation memories
| 2024-05-23T21:42:03 | 2024-05-23T21:42:03 |
Maxime Bouthors, Josep Crego, François Yvon
|
cs.CL
|
cs.CL
|
Retrieval-augmented machine translation leverages examples from a translation
memory by retrieving similar instances. These examples are used to condition
the predictions of a neural decoder. We aim to improve the upstream retrieval
step and consider a fixed downstream edit-based model: the multi-Levenshtein
Transformer. The task consists of finding a set of examples that maximizes the
overall coverage of the source sentence. To this end, we rely on the theory of
submodular functions and explore new algorithms to optimize this coverage. We
evaluate the resulting performance gains for the machine translation task.
|
[
-0.4641970992088318,
-0.7288221716880798,
0.656984806060791,
-0.18717142939567566,
-0.4730192720890045,
-0.2590476870536804,
0.1646123230457306,
-0.18563848733901978,
0.0940224826335907,
0.6276490092277527,
-0.3784370720386505,
-0.0004647111054509878,
-0.5997431874275208,
0.37901049852371216,
-0.4489721655845642,
0.9568285942077637,
-0.12709464132785797,
0.12139398604631424,
0.0025908558163791895,
-0.1566585898399353,
-0.4576728343963623,
-0.39106622338294983,
-0.6521722078323364,
-0.5448911190032959,
0.49289917945861816,
0.4791091978549957,
0.6321771740913391,
0.6766728758811951,
0.5516709685325623,
0.3411194384098053,
-0.2559462785720825,
0.2020360678434372,
-0.3778502345085144,
0.27925387024879456,
-0.18447667360305786,
-0.6693195104598999,
-0.22023029625415802,
-0.16527673602104187,
0.7258189916610718,
0.42669811844825745,
-0.06793922185897827,
-0.01760009489953518,
-0.3570426404476166,
0.5846737623214722,
-0.6173170208930969,
-0.18868714570999146,
-0.6377612352371216,
0.2181188315153122,
0.06404189765453339,
-0.27418872714042664,
-0.5332269668579102,
-0.2557801902294159,
0.23533356189727783,
-0.37548717856407166,
0.4805850386619568,
0.2925281822681427,
0.5186208486557007,
0.1151929497718811,
-0.5761829614639282,
-0.19813597202301025,
-0.5265547633171082,
0.9409265518188477,
-0.7298235893249512,
0.481240451335907,
0.5117756724357605,
0.2769620418548584,
-0.19819773733615875,
-0.7092494964599609,
-0.4524921178817749,
-0.15028217434883118,
-0.35659635066986084,
0.18019933998584747,
-0.1133897602558136,
0.2805793583393097,
0.3392201066017151,
0.6152026653289795,
-0.5104289054870605,
-0.1389072984457016,
-0.6717380881309509,
-0.22915954887866974,
0.34025394916534424,
-0.020337434485554695,
0.3372689485549927,
-0.34086161851882935,
-0.10464267432689667,
-0.0512673445045948,
-0.5827622413635254,
-0.12577348947525024,
0.345756471157074,
0.06747990846633911,
0.44427183270454407,
0.8953526616096497,
-0.20319922268390656,
0.642916202545166,
0.11848707497119904,
0.11196718364953995,
0.4321419298648834,
-0.47057080268859863,
-0.3253564238548279,
0.15460540354251862,
0.22858861088752747,
0.2906804084777832,
0.21219877898693085,
-0.11537927389144897,
-0.49367159605026245,
-0.38396963477134705,
0.6490275263786316,
-0.8971969485282898,
-0.23426248133182526,
0.267976850271225,
-0.6845008134841919,
-0.09474378079175949,
-0.141560897231102,
-0.7716790437698364,
-0.004231792874634266,
-0.31953585147857666,
0.5332132577896118,
-0.6722742319107056,
0.01489048171788454,
-0.1965138465166092,
-0.5657641887664795,
-0.047205716371536255,
-0.014991335570812225,
-1.0040892362594604,
0.31374162435531616,
0.2918142080307007,
0.7783920168876648,
-0.14522691071033478,
-0.32962697744369507,
-0.8305137753486633,
0.08381253480911255,
-0.2728709280490875,
0.8525524139404297,
-0.5029399991035461,
-0.6316664814949036,
0.10807911306619644,
0.15541484951972961,
-0.19799689948558807,
-0.5808080434799194,
0.6427042484283447,
-0.7257822751998901,
0.12688282132148743,
-0.18910571932792664,
-0.6644522547721863,
-0.42977505922317505,
0.16448140144348145,
-0.8602918982505798,
0.8958860039710999,
0.4448385238647461,
-0.3227523863315582,
0.18202698230743408,
-0.658475399017334,
-0.6538747549057007,
-0.10289376229047775,
0.17216408252716064,
-0.532917857170105,
0.5360043048858643,
0.4052541255950928,
0.17955827713012695,
0.012337476015090942,
-0.20578418672084808,
0.2929627001285553,
-0.47819003462791443,
0.14287292957305908,
-0.15870174765586853,
0.4397869110107422,
0.3327586352825165,
-0.07993126660585403,
0.3442825973033905,
-0.3076131343841553,
0.0794285386800766,
-0.08130165189504623,
-0.6364408135414124,
-0.5502350926399231,
0.00747408764436841,
0.1371031403541565,
0.0834108516573906,
0.010173351503908634,
-0.410398930311203,
0.2587302327156067,
-0.3501989543437958,
0.4235110878944397,
0.6126636266708374,
0.21106921136379242,
0.6501072645187378,
-0.32352203130722046,
0.6794703602790833,
0.3187626302242279,
0.14562763273715973,
-0.5943784117698669,
-0.36953112483024597,
-0.7178114652633667,
-0.05505470186471939,
0.5521253347396851,
0.6319327354431152,
-1.0009161233901978,
0.16669027507305145,
-0.22313039004802704,
-0.19681908190250397,
-0.8070797920227051,
0.3818610608577728,
0.5685324668884277,
0.4981023073196411,
0.8643667697906494,
-0.04141559079289436,
-0.5773209929466248,
-1.2794777154922485,
-0.3939860463142395,
0.1287906914949417,
0.10089622437953949,
0.06906665116548538,
0.5030993223190308,
-0.3085009753704071,
0.40255314111709595,
-0.3432576656341553,
-0.07249218970537186,
-0.5529665946960449,
0.18242578208446503,
0.33705204725265503,
0.5348908305168152,
0.430759459733963,
-1.283270001411438,
-0.24711742997169495,
0.004120900295674801,
-0.2564137578010559,
0.0272444486618042,
-0.276580810546875,
-0.21797364950180054,
0.11532791703939438,
0.5962284803390503,
-0.6474630832672119,
0.36188772320747375,
0.35794076323509216,
-0.14989376068115234,
0.26528307795524597,
-0.5210925340652466,
0.533121645450592,
-1.1234116554260254,
-0.23364770412445068,
-0.06581317633390427,
-0.3803114891052246,
-0.6201179623603821,
0.12424278259277344,
0.3647474944591522,
0.2643788158893585,
-0.5349336266517639,
0.21844372153282166,
-0.6901929974555969,
-0.11794362217187881,
-0.33704403042793274,
0.13053809106349945,
-0.15231990814208984,
0.32000407576560974,
-0.1222388744354248,
0.9128022193908691,
0.18494820594787598,
-0.48925158381462097,
0.06125682219862938,
0.18016046285629272,
-0.424093633890152,
0.32858791947364807,
-0.7153290510177612,
0.22283223271369934,
-0.2658658027648926,
-0.03969771787524223,
-0.9443173408508301,
-0.03233957663178444,
-0.1795065999031067,
-0.17520904541015625,
0.45864683389663696,
-0.2965586483478546,
-0.4872784912586212,
-0.3667565584182739,
-0.17128954827785492,
0.427219420671463,
0.7087405920028687,
-0.5873327851295471,
0.7359589338302612,
0.21531343460083008,
-0.12297265976667404,
-0.46329542994499207,
-0.9120687246322632,
-0.15085852146148682,
-0.12472829967737198,
-0.09207814186811447,
0.5796511769294739,
0.05228976160287857,
-0.03178637847304344,
0.20454080402851105,
-0.24111896753311157,
0.0022783002350479364,
-0.07562507688999176,
-0.1472320556640625,
0.16691270470619202,
-0.20797739923000336,
0.03168609365820885,
0.5994934439659119,
-0.09615526348352432,
-0.37353581190109253,
-0.2521034777164459,
0.5346411466598511,
-0.07675398886203766,
-0.29060429334640503,
-0.12602001428604126,
0.6983046531677246,
0.41833922266960144,
-0.24607762694358826,
0.5896402597427368,
0.5211428999900818,
-0.34897997975349426,
-0.21535542607307434,
-0.5149022340774536,
-0.2677266597747803,
-0.4409179985523224,
0.616992175579071,
-0.7087144255638123,
-0.698167622089386,
0.4153749644756317,
0.11572934687137604,
-0.07855772227048874,
0.5215041041374207,
0.4885825514793396,
0.04092636704444885,
1.0863591432571411,
0.5176128149032593,
0.05549769103527069,
0.6471066474914551,
-0.28532248735427856,
0.19822238385677338,
-1.309186577796936,
0.03278453275561333,
-0.33515942096710205,
-0.594775915145874,
-0.5742868185043335,
-0.40026581287384033,
0.22613082826137543,
0.36691808700561523,
0.0020196279510855675,
0.8484252095222473,
-0.48110270500183105,
0.666106104850769,
0.8615858554840088,
0.12129107862710953,
0.36362820863723755,
-0.020237810909748077,
-0.5908180475234985,
0.03756789118051529,
-0.6922106742858887,
-0.40028896927833557,
0.9773223996162415,
-0.00591879291459918,
0.3547237813472748,
0.17427273094654083,
0.6311079859733582,
0.31504949927330017,
0.36006760597229004,
-0.8894140124320984,
0.36781755089759827,
-0.2707735598087311,
-0.6476515531539917,
-0.13888169825077057,
-0.3775993287563324,
-0.969332754611969,
0.47487717866897583,
0.00943850725889206,
-0.4583249092102051,
0.16907848417758942,
0.23155832290649414,
-0.013432087376713753,
0.2125094085931778,
-0.890510082244873,
0.7915434241294861,
-0.08893458545207977,
0.19777095317840576,
-0.3505685031414032,
-0.6072946786880493,
0.23609520494937897,
-0.10010676831007004,
0.0019218390807509422,
0.36772385239601135,
-0.03594242036342621,
0.3709731996059418,
-0.07854288816452026,
0.21521760523319244,
0.03944714367389679,
0.20937691628932953,
0.22448407113552094,
0.10184317082166672,
0.3515583574771881,
-0.22352947294712067,
-0.4290268123149872,
-0.07506047934293747,
0.0397830605506897,
-0.4257989823818207,
-0.6279759407043457,
0.5515925884246826,
-0.3779248297214508,
-0.5283951759338379,
-0.10391223430633545,
-0.6600005030632019,
-0.07944939285516739,
0.4549790620803833,
0.5078705549240112,
0.2714599370956421,
0.03448064625263214,
0.48873767256736755,
0.5774896740913391,
-0.0667848140001297,
0.6546038389205933,
0.27417346835136414,
-0.2722553610801697,
-0.5711557269096375,
0.5203831195831299,
0.22388263046741486,
0.4120030403137207,
0.7478166222572327,
0.11603723466396332,
-0.3130873739719391,
-0.8386806845664978,
-0.676797091960907,
0.02088998630642891,
-0.8727814555168152,
-0.20465369522571564,
-0.5544095039367676,
-0.12543851137161255,
-0.2880571782588959,
-0.015932366251945496,
-0.08738163858652115,
-0.47193723917007446,
-0.17865362763404846,
-0.32907435297966003,
0.23934252560138702,
0.5665348768234253,
-0.010899905115365982,
0.39176374673843384,
-0.9883719086647034,
0.6816301941871643,
0.14251431822776794,
0.0703434944152832,
-0.09846845269203186,
-0.6318283677101135,
-0.42934492230415344,
0.1334429234266281,
-0.45987561345100403,
-0.9979894161224365,
0.5329546928405762,
0.2551113963127136,
1.0686376094818115,
0.07241559028625488,
-0.22424039244651794,
0.5703811049461365,
-0.8993659019470215,
0.645331621170044,
0.010015173815190792,
-0.9028331637382507,
0.8580226898193359,
-0.04198653995990753,
0.25866958498954773,
0.5131921768188477,
0.4217050075531006,
-0.47096073627471924,
-0.1954747885465622,
-0.3408946394920349,
-0.8615918159484863,
0.47442448139190674,
0.34611013531684875,
0.1873376965522766,
-0.2807874381542206,
0.5541470646858215,
0.031350474804639816,
0.17282620072364807,
-0.3660251498222351,
-0.3143092691898346,
-0.17981462180614471,
-0.11292494088411331,
-0.3053629398345947,
-0.3527151942253113,
0.1567223221063614,
-0.36826789379119873,
0.7496851682662964,
-0.15645065903663635,
0.30879300832748413,
0.5049108266830444,
-0.3690468966960907,
-0.3368339538574219,
0.41494259238243103,
0.7313414216041565,
0.5406058430671692,
-0.16442401707172394,
0.2721746563911438,
0.4134262204170227,
-0.6116577386856079,
0.012027770280838013,
0.059255585074424744,
-0.3871796727180481,
0.22764185070991516,
0.17578445374965668,
0.7268964052200317,
0.12841053307056427,
-0.7194238901138306,
0.11657916754484177,
0.15772897005081177,
-0.12113197892904282,
-0.07523316890001297,
0.07191096991300583,
0.06955450773239136,
0.4587392210960388,
0.6598584055900574,
0.17401236295700073,
0.5068958401679993,
-0.5504894256591797,
0.46318352222442627,
0.221292644739151,
-0.32343819737434387,
-0.15330913662910461,
0.3983308672904968,
-0.23680426180362701,
-0.6223379969596863,
0.9485740661621094,
-0.15497496724128723,
-0.8166536092758179,
0.6224372386932373,
0.6226941347122192,
0.9801573157310486,
-0.376045286655426,
-0.13159239292144775,
0.16487336158752441,
0.4368535578250885,
-0.33943885564804077,
0.32328271865844727,
0.07019855082035065,
-0.6523700952529907,
-0.5956802368164062,
-0.5855731964111328,
-0.23079954087734222,
-0.11580567806959152,
-0.813613772392273,
0.21860645711421967,
0.09715524315834045,
-0.1901901215314865,
-0.047735851258039474,
-0.2514553666114807,
-0.4466087818145752,
0.32895877957344055,
-0.2687317430973053,
0.91325443983078,
-0.5694761872291565,
1.1059882640838623,
0.660094678401947,
-0.6078188419342041,
-0.4680236279964447,
-0.1361008584499359,
-0.3421127498149872,
-0.5907191634178162,
0.7738925218582153,
0.052183520048856735,
-0.005220556166023016,
0.10057371109724045,
-0.18072311580181122,
-0.6302711367607117,
1.0649744272232056,
0.23877325654029846,
-0.39800214767456055,
-0.06421111524105072,
-0.25987592339515686,
0.4781953692436218,
-0.36388662457466125,
0.2842670977115631,
0.5537264347076416,
0.3942134380340576,
-0.15797513723373413,
-0.8366478085517883,
-0.07086607068777084,
-0.4292621612548828,
0.33640745282173157,
0.48776277899742126,
-0.29104775190353394,
0.9957444667816162,
-0.23115114867687225,
0.2671639323234558,
0.1607537716627121,
0.5309125781059265,
0.18484675884246826,
0.028272783383727074,
0.44342195987701416,
0.6434988379478455,
0.31939148902893066,
0.15292927622795105,
1.4821206331253052,
0.02910204604268074,
0.28251224756240845,
1.1117675304412842,
0.2876507341861725,
1.1697181463241577,
0.8577628135681152,
-0.03100382164120674,
0.48207080364227295,
0.6542068123817444,
-0.2117823213338852,
0.774055004119873,
0.17135585844516754,
-0.06330513954162598,
-0.16982130706310272,
0.09652315825223923,
-0.2241908460855484,
0.18181370198726654,
0.31513920426368713,
-0.9391441345214844,
-0.11629703640937805,
0.10734708607196808,
-0.3742235004901886,
-0.06699113547801971,
-0.390153169631958,
0.6407103538513184,
0.09214093536138535,
-0.8698402643203735,
0.45141908526420593,
0.11509574949741364,
0.4790632724761963,
-0.24617131054401398,
-0.28597426414489746,
-0.2434249222278595,
0.28983694314956665,
-0.12701104581356049,
-0.5220828056335449,
0.48286858201026917,
-0.38651782274246216,
-0.4384971261024475,
-0.4268219769001007,
0.7140847444534302,
-0.5025919675827026,
-0.6334373950958252,
0.22508105635643005,
0.49199143052101135,
0.20856209099292755,
-0.10633215308189392,
-0.48830509185791016,
-0.17729651927947998,
-0.07179035991430283,
-0.5702614784240723,
0.35975322127342224,
0.34178897738456726,
0.08008181303739548,
0.45807260274887085,
0.6631239056587219,
0.05750351771712303,
0.2758575677871704,
-0.009460145607590675,
0.7411227822303772,
-0.6369175314903259,
-0.19873933494091034,
-0.8751984238624573,
0.5739641189575195,
-0.10205795615911484,
-0.2930346727371216,
0.8387827277183533,
0.8203355073928833,
0.8059040904045105,
-0.4423094689846039,
0.6455883979797363,
0.10591261088848114,
0.4327913522720337,
-0.6855087280273438,
0.5748324394226074,
-0.648849606513977,
0.12178217619657516,
-0.14390601217746735,
-1.0600076913833618,
-0.2154252976179123,
0.7791252136230469,
-0.3008396625518799,
0.11758016049861908,
0.9348228573799133,
0.7154148817062378,
-0.27099892497062683,
-0.014379017055034637,
0.4926445782184601,
-0.0901426374912262,
0.17794597148895264,
0.46318793296813965,
0.5959107875823975,
-0.8914203643798828,
0.6410490274429321,
-0.4432348310947418,
0.1443532407283783,
-0.2640155255794525,
-1.0193098783493042,
-0.8897454738616943,
-0.7055975794792175,
-0.19387683272361755,
-0.25992974638938904,
-0.04085126146674156,
0.8151423931121826,
0.8159778118133545,
-1.0383718013763428,
-0.03467067703604698,
-0.3457755744457245,
0.3861970901489258,
-0.39915069937705994,
-0.18221884965896606,
0.2289537489414215,
-0.5773091316223145,
-0.9823080897331238,
0.5668059587478638,
0.16383758187294006,
0.19043651223182678,
0.10245194286108017,
0.08077625930309296,
-0.5767648816108704,
0.01874152012169361,
0.7189955711364746,
0.01432703621685505,
-0.6762900352478027,
-0.18016590178012848,
0.19943611323833466,
0.11723428219556808,
0.1513122320175171,
1.054644227027893,
-0.5880143642425537,
0.40290555357933044,
0.6279881596565247,
0.9441342949867249,
0.7583361268043518,
0.1806706041097641,
0.5970831513404846,
-0.5025827288627625,
0.0035523842088878155,
0.23534831404685974,
0.6069914102554321,
0.2627513110637665,
-0.3998729884624481,
0.4108550250530243,
0.12146028131246567,
-0.5706526637077332,
-0.6554838418960571,
0.30154287815093994,
-0.8188765048980713,
-0.4477504789829254,
1.147813081741333,
-0.16968736052513123,
-0.15973523259162903,
-0.12414617836475372,
-0.34040015935897827,
0.3397092819213867,
-0.3272746503353119,
0.5766453146934509,
0.6985440254211426,
-0.2429429441690445,
-0.48400986194610596,
-0.860602855682373,
0.3323400914669037,
0.6025604009628296,
-0.5429149866104126,
-0.35562440752983093,
0.41892707347869873,
0.1844010055065155,
0.33557647466659546,
0.244765505194664,
-0.0908195823431015,
0.32449105381965637,
0.09936131536960602,
-0.17151544988155365,
-0.07566554099321365,
-0.264200359582901,
-0.3736664056777954,
0.03606075048446655,
-0.21467427909374237,
-0.30846190452575684
] |
http://arxiv.org/abs/2405.15067v2
|
http://arxiv.org/pdf/2405.15067v2
|
Promoting Constructive Deliberation: Reframing for Receptiveness
| 2024-05-23T21:35:22 | 2024-06-21T21:03:27 |
Gauri Kambhatla, Matthew Lease, Ashwin Rajadesingan
|
cs.CL
|
cs.CL
|
To promote constructive discussion of controversial topics online, we propose
automatic reframing of disagreeing responses to signal receptiveness to a
preceding comment. Drawing on research from psychology, communications, and
linguistics, we identify six strategies for reframing. We automatically reframe
replies to comments according to each strategy, using a Reddit dataset. Through
human-centered experiments, we find that the replies generated with our
framework are perceived to be significantly more receptive than the original
replies and a generic receptiveness baseline. We illustrate how transforming
receptiveness, a particular social science construct, into a computational
framework, can make LLM generations more aligned with human perceptions. We
analyze and discuss the implications of our results, and highlight how a tool
based on our framework might be used for more teachable and creative content
moderation.
|
[
-0.8170177936553955,
-0.7338607907295227,
0.6083076596260071,
0.3383004069328308,
-0.48200294375419617,
0.0686306282877922,
-0.45891788601875305,
-0.450799822807312,
0.41412222385406494,
0.23798628151416779,
-0.6954415440559387,
-0.141050323843956,
-0.6458799242973328,
0.3557484447956085,
-0.4774443209171295,
0.929949939250946,
0.1808435469865799,
0.021577397361397743,
-0.2839072048664093,
-0.11114759743213654,
-0.3557754456996918,
-0.23940709233283997,
-0.5091962814331055,
-0.6207860708236694,
0.802674412727356,
0.42219072580337524,
0.5501281023025513,
0.23061557114124298,
0.3585309088230133,
0.3652910590171814,
-0.04124385118484497,
-0.045816294848918915,
-0.9237036108970642,
0.41021066904067993,
-0.735605001449585,
-0.7795515656471252,
0.14220252633094788,
0.27694547176361084,
0.20226937532424927,
0.6286736130714417,
-0.3002552390098572,
0.17612473666667938,
0.13529731333255768,
0.7886624932289124,
-0.5395189523696899,
0.02809688076376915,
-0.9254236817359924,
0.4294493496417999,
0.2531234622001648,
-0.43498197197914124,
-0.5510857701301575,
-0.6456494331359863,
0.033010032027959824,
-0.7794474363327026,
0.5580296516418457,
-0.26875513792037964,
0.504033088684082,
0.25848788022994995,
-0.4945793151855469,
-0.20229490101337433,
-0.825667679309845,
0.812821626663208,
-0.49020764231681824,
0.46155959367752075,
0.3076370060443878,
0.15512938797473907,
-0.1708165854215622,
-0.8423332571983337,
-0.8005536198616028,
0.07559731602668762,
0.03791789710521698,
0.23667509853839874,
-0.4343767762184143,
-0.21771414577960968,
0.30321285128593445,
0.43169939517974854,
-0.08857609331607819,
-0.49251461029052734,
-0.2979310154914856,
-0.028219332918524742,
0.659393310546875,
0.16831177473068237,
-0.06769455224275589,
0.06604000926017761,
-0.18882720172405243,
0.08197029680013657,
-0.34727075695991516,
-0.08710364252328873,
0.3555932939052582,
0.12754786014556885,
0.20091983675956726,
0.3784787654876709,
-0.30013999342918396,
0.6217443346977234,
0.8289104700088501,
0.21770447492599487,
0.28155529499053955,
-0.38013407588005066,
-0.037987738847732544,
-0.37587296962738037,
0.2169705331325531,
0.9011756181716919,
0.19020713865756989,
-0.14401036500930786,
-0.002370115602388978,
0.5804991722106934,
0.9448785185813904,
-0.7806124687194824,
-0.2125580757856369,
-0.11742455512285233,
-0.7910243272781372,
-0.49952688813209534,
0.0597061961889267,
-0.8216109871864319,
-0.800784707069397,
-0.6373375058174133,
-0.15716548264026642,
0.176428884267807,
-0.5064788460731506,
0.18340426683425903,
-0.2567032277584076,
0.38265755772590637,
0.6978955864906311,
-0.7885465621948242,
0.3416270911693573,
0.732525110244751,
0.43560680747032166,
-0.23538605868816376,
0.1264348030090332,
-0.08520451933145523,
0.0845561996102333,
-0.22876420617103577,
1.0382932424545288,
-0.719336986541748,
-0.45582911372184753,
0.0914696529507637,
0.29432544112205505,
0.40899449586868286,
-0.674109160900116,
0.9476408362388611,
-0.6037344336509705,
0.5285409092903137,
-0.5498254299163818,
-0.2991432845592499,
-0.5005311369895935,
0.8029882311820984,
-0.7866681218147278,
0.4826241731643677,
0.0839846134185791,
-0.9459443688392639,
0.4494282603263855,
-0.4556760787963867,
-0.3384142816066742,
0.04760672524571419,
-0.4406515657901764,
-0.16615064442157745,
0.33020099997520447,
-0.08456200361251831,
0.11177601665258408,
-0.20802272856235504,
0.14321643114089966,
-0.35344499349594116,
-0.2581806778907776,
0.8283489346504211,
-0.5217516422271729,
0.5866177082061768,
0.5480871200561523,
-0.5253559350967407,
0.30459344387054443,
-0.2586953043937683,
0.15936250984668732,
0.07983794063329697,
-0.7092260122299194,
-0.04301514849066734,
0.1965257227420807,
0.06899548321962357,
0.1303027719259262,
-0.13877008855342865,
-0.6225541830062866,
0.12185708433389664,
-0.6685241460800171,
1.0072333812713623,
0.7138892412185669,
-0.013839511200785637,
0.5036137104034424,
-0.9629372954368591,
0.3716766834259033,
0.1338752955198288,
0.1407666951417923,
0.05609876662492752,
-0.3613138794898987,
-0.8162517547607422,
0.3171139061450958,
-0.29284077882766724,
0.2313399463891983,
-0.7438991069793701,
-0.039525698870420456,
-0.16699741780757904,
-0.2939217984676361,
-0.8019810914993286,
0.25217923521995544,
0.08337828516960144,
0.4062962234020233,
0.24219611287117004,
-0.6245208382606506,
-0.6894355416297913,
-0.9951666593551636,
-0.3733053207397461,
-0.24215202033519745,
-0.07946605235338211,
0.1950906217098236,
0.14837601780891418,
-0.31337377429008484,
0.5284558534622192,
-0.6238595843315125,
0.0340973399579525,
-0.11051150411367416,
0.30892491340637207,
-0.0557233989238739,
0.2073904573917389,
0.1445024013519287,
-1.0334841012954712,
-0.5817301273345947,
-0.26640549302101135,
-0.4875235855579376,
-0.14476914703845978,
-0.22956521809101105,
-0.22674448788166046,
0.11387702077627182,
0.5902579426765442,
-0.4467521011829376,
0.4499199688434601,
0.11193105578422546,
-0.22536547482013702,
0.09914655983448029,
0.36138805747032166,
0.5440813302993774,
-0.8955478668212891,
0.0017007360002025962,
0.05101805925369263,
-0.34274405241012573,
-0.5072740316390991,
0.31528037786483765,
-0.5002703070640564,
0.10397858917713165,
-0.47658804059028625,
0.004297581966966391,
-0.2971022129058838,
0.4354434609413147,
-0.48085132241249084,
0.5318686962127686,
0.10158265382051468,
0.3534812033176422,
0.1458316594362259,
0.4452475607395172,
-0.27469518780708313,
-0.2867615520954132,
0.5761842131614685,
0.23310011625289917,
-0.4774673283100128,
0.7853280305862427,
-0.5485554337501526,
0.3985273241996765,
-0.5854333639144897,
0.4587695002555847,
-1.217652678489685,
-0.11485934257507324,
0.3378066122531891,
-0.5369637608528137,
-0.016221556812524796,
0.023658622056245804,
0.09691917151212692,
-0.4016411602497101,
-0.9033757448196411,
0.7349590063095093,
0.27704501152038574,
-0.14337629079818726,
0.5933971405029297,
0.5783945918083191,
-0.3115294873714447,
-0.36307257413864136,
-1.1496740579605103,
0.0038462516386061907,
-0.12192386388778687,
-0.5518749952316284,
0.6450744271278381,
-0.4355682134628296,
-0.46672141551971436,
0.18520766496658325,
0.19062505662441254,
0.18389150500297546,
-0.07139473408460617,
0.3059837818145752,
-0.09294699877500534,
0.05619686841964722,
0.040432173758745193,
-0.3063620626926422,
-0.09968852996826172,
0.2914639711380005,
0.06841415166854858,
0.6021430492401123,
-0.08735653758049011,
-0.38738685846328735,
-0.4024726152420044,
0.5660353899002075,
0.4973587095737457,
0.27086204290390015,
0.24211686849594116,
0.2759726345539093,
-0.23363903164863586,
-0.3365585207939148,
-0.838941216468811,
-0.516825258731842,
-0.4761407971382141,
0.14083082973957062,
0.19461151957511902,
-1.1401194334030151,
0.38256555795669556,
-0.08002430200576782,
0.2714734673500061,
-0.0348895825445652,
0.9580265283584595,
0.07407441735267639,
0.9571701884269714,
0.6439269185066223,
0.2793024480342865,
0.7651969790458679,
-0.0797833651304245,
0.33241063356399536,
-0.7520875334739685,
-0.447833776473999,
-0.3561888337135315,
-0.7970220446586609,
-0.46662652492523193,
-0.4823162853717804,
-0.2124166637659073,
-0.4103548526763916,
-0.3186744749546051,
-0.007548958528786898,
-1.03714120388031,
0.5736861228942871,
0.32229188084602356,
0.30093032121658325,
0.3834892213344574,
0.18577520549297333,
0.20099015533924103,
-0.5717217326164246,
-0.4441462457180023,
-0.4165172278881073,
0.6744822263717651,
0.38562729954719543,
1.0367388725280762,
0.32665520906448364,
0.3862491548061371,
0.4936557710170746,
1.133854627609253,
-1.0543993711471558,
0.7107766270637512,
0.18727880716323853,
-0.7637444138526917,
0.0744568258523941,
-0.4745621383190155,
-0.8847971558570862,
0.18142886459827423,
-0.4725554287433624,
-0.20610618591308594,
0.2907722294330597,
0.030949413776397705,
-0.21924138069152832,
0.23705069720745087,
-0.6192227602005005,
0.34814029932022095,
0.11409271508455276,
-0.6517692804336548,
-0.5507937073707581,
-0.49059709906578064,
0.2823835611343384,
0.20379863679409027,
0.337367981672287,
0.0694071352481842,
0.046046167612075806,
0.6386325359344482,
0.17992639541625977,
1.2330225706100464,
-0.1783500760793686,
-0.11305270344018936,
0.566365659236908,
0.37111738324165344,
0.008672085590660572,
-0.020626436918973923,
-0.0803893506526947,
-0.21192967891693115,
-0.10065120458602905,
-0.1401672512292862,
-0.767488420009613,
0.828899621963501,
-0.7117695212364197,
-1.1999592781066895,
-0.14457309246063232,
-0.29212498664855957,
-0.007830261252820492,
0.15729111433029175,
-0.005367699544876814,
-0.16616074740886688,
-0.5179325342178345,
0.37437301874160767,
0.6953815221786499,
0.17536820471286774,
0.05561046674847603,
0.5717421770095825,
-0.2701685130596161,
-0.5872290134429932,
0.5240039229393005,
-0.04830452799797058,
0.3684487044811249,
0.20997254550457,
0.08999244123697281,
-0.3054497539997101,
-0.33087217807769775,
0.08156410604715347,
0.07114171236753464,
-0.9408590197563171,
-0.4844032824039459,
-0.09248609095811844,
0.014907319098711014,
-0.3240506649017334,
-0.5564383864402771,
0.030528441071510315,
-0.6009418964385986,
-0.1851910799741745,
-0.40398749709129333,
0.005953350104391575,
0.92240971326828,
-0.11512172967195511,
0.01617581769824028,
-0.3604904115200043,
0.11335641890764236,
0.477949321269989,
0.3750854432582855,
0.41323181986808777,
-0.6715015172958374,
0.17627204954624176,
0.24635975062847137,
-0.844578742980957,
-0.8425010442733765,
0.05008019506931305,
-0.11118283122777939,
0.4971020519733429,
0.6046817302703857,
0.232079416513443,
0.5142853260040283,
-0.246373251080513,
0.7688460946083069,
0.30777743458747864,
-0.6423273086547852,
0.5579849481582642,
-0.05664503201842308,
0.19399148225784302,
0.8522132039070129,
0.45882144570350647,
-0.7497195601463318,
-0.47678929567337036,
-0.38376331329345703,
-0.6784433126449585,
0.32262176275253296,
-0.1395098865032196,
0.7300856709480286,
-0.2533983588218689,
0.6334933638572693,
0.15628032386302948,
0.4140126705169678,
-1.0875089168548584,
0.052880093455314636,
-0.5534998774528503,
-0.10682061314582825,
0.29994064569473267,
-0.5141672492027283,
-0.9116049408912659,
-0.37028130888938904,
0.3640698790550232,
-0.116384357213974,
0.1791834831237793,
0.3649149537086487,
0.3133822977542877,
-0.6841928362846375,
0.4867944121360779,
0.6613659858703613,
0.5806546807289124,
0.17477408051490784,
0.5050946474075317,
0.15020175278186798,
-0.4676417112350464,
0.3321283459663391,
-0.2998538911342621,
-0.4871046841144562,
-0.37837374210357666,
0.4301998019218445,
0.11689650267362595,
0.3520948886871338,
-0.26947635412216187,
0.3383895754814148,
-0.2663140892982483,
-0.43104854226112366,
-0.11936022341251373,
0.1583513468503952,
0.28980642557144165,
0.3448983132839203,
0.007724687457084656,
0.054431453347206116,
0.06493178755044937,
-1.0244206190109253,
0.4214170277118683,
0.42806780338287354,
-0.37140095233917236,
-0.22748048603534698,
0.6183932423591614,
0.637516438961029,
-0.4341844916343689,
0.6036884188652039,
-0.0062737478874623775,
-0.6370653510093689,
0.1639920324087143,
0.6236252784729004,
0.9278172850608826,
-0.09172070771455765,
0.3579600751399994,
0.29336389899253845,
0.12173974514007568,
0.005506191402673721,
0.37920424342155457,
-0.44439148902893066,
-1.0817067623138428,
-0.4292823076248169,
-0.37749263644218445,
-0.3117658197879791,
-0.08371478319168091,
-0.6561997532844543,
0.025754746049642563,
-0.8122050762176514,
-0.7778996229171753,
0.20184363424777985,
0.10694800317287445,
-0.27586129307746887,
-0.2210562527179718,
0.12558944523334503,
0.9943328499794006,
-0.7913824319839478,
0.2501719295978546,
0.8969032168388367,
-0.5472727417945862,
-0.184161975979805,
0.1411050707101822,
0.15905441343784332,
-0.6972028017044067,
0.6781736612319946,
0.03713931143283844,
-0.5778713226318359,
-0.30419641733169556,
-1.177290916442871,
-0.3553261458873749,
0.9034749865531921,
0.4097844660282135,
-0.45049211382865906,
0.1183474212884903,
0.030578285455703735,
0.5191804766654968,
-0.38636812567710876,
0.10002453625202179,
0.30998557806015015,
0.49531877040863037,
0.33217930793762207,
-0.4725128710269928,
0.4493533968925476,
-0.47452452778816223,
0.00681409751996398,
0.041215311735868454,
-0.8282922506332397,
0.538512110710144,
-0.1649782955646515,
-0.6083809733390808,
-0.12218993902206421,
0.6460824608802795,
0.0343288816511631,
0.5036126971244812,
0.6217215061187744,
0.6771966218948364,
0.4601956903934479,
-0.16115839779376984,
0.4907762408256531,
-0.3143388032913208,
0.23309938609600067,
0.957541823387146,
-0.17987295985221863,
0.8150433301925659,
0.7987038493156433,
-0.19161085784435272,
0.8401530385017395,
0.31568750739097595,
0.03530117869377136,
0.634177565574646,
0.5909788608551025,
-0.817635178565979,
-0.37608182430267334,
-0.42586928606033325,
-0.32015082240104675,
-0.09449170529842377,
0.39784324169158936,
-0.29377448558807373,
-0.34940803050994873,
-0.14856530725955963,
-0.04847230389714241,
0.8889021873474121,
-0.34324049949645996,
0.8855720162391663,
0.3037319779396057,
-0.8554345369338989,
0.4516650140285492,
0.11039602011442184,
0.707537055015564,
-0.3199096620082855,
-0.3386334776878357,
-0.24377001821994781,
0.20647621154785156,
-0.7171334624290466,
-1.2116327285766602,
0.6776801943778992,
-0.11585532128810883,
-0.5244056582450867,
-0.4168398082256317,
0.7968758344650269,
-0.35141196846961975,
-0.09408213198184967,
0.18455056846141815,
0.24464364349842072,
-0.24998164176940918,
0.22982394695281982,
-0.9053794741630554,
0.6561891436576843,
0.34954777359962463,
-0.17811083793640137,
0.10365591943264008,
0.6715142726898193,
0.12063127011060715,
0.8351069092750549,
0.7027329802513123,
-0.1710694134235382,
-0.4083343744277954,
0.09946627914905548,
1.432276964187622,
-0.7496131658554077,
-0.25336402654647827,
-0.5972427725791931,
0.4524590075016022,
-0.24222947657108307,
-0.05225984379649162,
0.6070561408996582,
0.24737218022346497,
1.2607067823410034,
-0.013320964761078358,
0.7002077698707581,
-0.05715648829936981,
0.45546218752861023,
-0.132321298122406,
0.5152018070220947,
-0.24604174494743347,
0.16031919419765472,
-0.015866024419665337,
-0.7951586246490479,
-0.3279517590999603,
1.1633237600326538,
-0.5150755643844604,
0.13099248707294464,
0.35120970010757446,
0.915196418762207,
0.13175281882286072,
0.4550754725933075,
0.12659895420074463,
0.4137541949748993,
0.40400683879852295,
0.5876542329788208,
1.139272928237915,
0.19947026669979095,
0.4160884916782379,
-0.22209109365940094,
-0.37337526679039,
-0.19588010013103485,
-0.8664101362228394,
-0.8462907671928406,
-0.5196207165718079,
-0.2774694859981537,
-0.6512866020202637,
-0.2332715094089508,
0.9372024536132812,
0.5520291328430176,
-0.6237888932228088,
-0.16877295076847076,
-0.2129667103290558,
0.1616308093070984,
0.14040891826152802,
-0.3396819531917572,
-0.3930166959762573,
-0.1698613464832306,
-0.4937717318534851,
0.0007386640063486993,
0.17313456535339355,
-0.1247757151722908,
-0.6856736540794373,
0.1611509919166565,
-0.02870248258113861,
0.4567152261734009,
0.8685953617095947,
0.4298045337200165,
-0.6652611494064331,
-0.6418741345405579,
-0.1412334144115448,
-0.03410619869828224,
0.03721693530678749,
1.1799616813659668,
-0.8216142654418945,
0.5908894538879395,
0.6352176666259766,
0.5863308906555176,
0.5364047288894653,
0.4372483193874359,
0.5690896511077881,
-0.16316406428813934,
0.18113800883293152,
0.5371586084365845,
-0.11170694231987,
0.5258757472038269,
-0.1530679613351822,
0.4265805780887604,
0.5317140817642212,
-0.6626904010772705,
-0.6065184473991394,
0.8058690428733826,
-0.9095606803894043,
-0.3986279368400574,
0.8038919568061829,
0.08324431627988815,
-0.1422242522239685,
-0.2757316529750824,
-0.5113651156425476,
-0.09639375656843185,
-0.4267168939113617,
1.404415488243103,
0.9491617679595947,
-0.40586531162261963,
-0.08949077874422073,
-0.252421110868454,
0.5352464318275452,
0.49219584465026855,
-0.6007347702980042,
0.2744320333003998,
0.5602627992630005,
0.36809417605400085,
0.2952016592025757,
0.8336294889450073,
-0.31653591990470886,
0.23402222990989685,
-0.018871260806918144,
-0.21014980971813202,
0.11441710591316223,
-0.008120935410261154,
-0.24520769715309143,
0.22194355726242065,
0.30604881048202515,
0.48003432154655457
] |
http://arxiv.org/abs/2405.15064v1
|
http://arxiv.org/pdf/2405.15064v1
|
Reframing Spatial Reasoning Evaluation in Language Models: A Real-World Simulation Benchmark for Qualitative Reasoning
| 2024-05-23T21:22:00 | 2024-05-23T21:22:00 |
Fangjun Li, David C. Hogg, Anthony G. Cohn
|
cs.CL
|
cs.CL, cs.AI, cs.DB
|
Spatial reasoning plays a vital role in both human cognition and machine
intelligence, prompting new research into language models' (LMs) capabilities
in this regard. However, existing benchmarks reveal shortcomings in evaluating
qualitative spatial reasoning (QSR). These benchmarks typically present
oversimplified scenarios or unclear natural language descriptions, hindering
effective evaluation. We present a novel benchmark for assessing QSR in LMs,
which is grounded in realistic 3D simulation data, offering a series of diverse
room layouts with various objects and their spatial relationships. This
approach provides a more detailed and context-rich narrative for spatial
reasoning evaluation, diverging from traditional, toy-task-oriented scenarios.
Our benchmark encompasses a broad spectrum of qualitative spatial
relationships, including topological, directional, and distance relations.
These are presented with different viewing points, varied granularities, and
density of relation constraints to mimic real-world complexities. A key
contribution is our logic-based consistency-checking tool, which enables the
assessment of multiple plausible solutions, aligning with real-world scenarios
where spatial relationships are often open to interpretation. Our benchmark
evaluation of advanced LMs reveals their strengths and limitations in spatial
reasoning. They face difficulties with multi-hop spatial reasoning and
interpreting a mix of different view descriptions, pointing to areas for future
improvement.
|
[
-0.3930080235004425,
-0.7924102544784546,
1.0075126886367798,
0.21147827804088593,
0.037857990711927414,
-0.08911066502332687,
-0.17913372814655304,
-0.3241383731365204,
-0.33215880393981934,
0.25431302189826965,
-0.45218920707702637,
-0.5151159763336182,
-0.11769144237041473,
0.025142520666122437,
-0.24926739931106567,
0.14465050399303436,
-0.22889477014541626,
0.07924008369445801,
-0.5617380738258362,
-0.3837289810180664,
-0.6580272316932678,
-0.4669943153858185,
-0.24850456416606903,
-0.2645936906337738,
0.2582584023475647,
0.33592310547828674,
1.152547836303711,
0.38096415996551514,
0.5392416715621948,
0.3236946165561676,
-0.07584688812494278,
0.2874176800251007,
-0.28623512387275696,
0.07858278602361679,
-0.24632586538791656,
0.0063477749936282635,
-0.14802218973636627,
-0.050596773624420166,
0.9031412601470947,
0.8850942254066467,
-0.3231019079685211,
-0.07625938206911087,
-0.22721827030181885,
0.5510998964309692,
-0.69382643699646,
0.19911029934883118,
-0.39315977692604065,
0.30187681317329407,
0.27495279908180237,
0.19092446565628052,
-0.24126151204109192,
-0.6864531636238098,
0.2905181050300598,
-0.8031322360038757,
0.060800325125455856,
0.29481568932533264,
0.9466328620910645,
0.1064683049917221,
-0.3242553472518921,
0.2761383652687073,
-0.9762465953826904,
0.6839411854743958,
-0.708320677280426,
0.7705188393592834,
0.3509497344493866,
0.9864610433578491,
-0.2679985761642456,
-0.7081519961357117,
-0.686920166015625,
-0.4379453659057617,
0.02141118235886097,
0.06406799703836441,
-0.08796612173318863,
-0.32808583974838257,
0.4484952986240387,
-0.08916454017162323,
-0.7766614556312561,
-0.33239424228668213,
-0.31959065794944763,
0.02263956144452095,
0.5769360661506653,
0.40779727697372437,
0.17295686900615692,
0.0048367236740887165,
-0.526398241519928,
-0.22850513458251953,
-0.6186558604240417,
-0.03080092929303646,
-0.01817920245230198,
0.2633706033229828,
-0.10505570471286774,
0.4300883412361145,
-0.40467655658721924,
0.5650553703308105,
-0.28560730814933777,
0.06433448195457458,
0.2534233629703522,
-0.5344300866127014,
0.03525529056787491,
-0.30901533365249634,
0.5844295620918274,
0.6870220303535461,
0.3596981167793274,
-0.17649000883102417,
-0.08662073314189911,
0.047048527747392654,
0.4480942487716675,
-0.5083178281784058,
-0.41148942708969116,
0.22328150272369385,
-0.235661581158638,
0.3206680119037628,
-0.025998786091804504,
-0.71558678150177,
-0.5349711775779724,
-0.29185909032821655,
0.17260149121284485,
-0.5483757257461548,
-0.4832388758659363,
0.5699225664138794,
-0.07214615494012833,
0.33848050236701965,
0.4494280517101288,
-0.3717658221721649,
0.42659205198287964,
0.8352713584899902,
0.6273294687271118,
-0.07107289880514145,
-0.8012211918830872,
-0.18964079022407532,
0.16831405460834503,
-0.21306511759757996,
1.1948515176773071,
-0.6153099536895752,
-0.3947465419769287,
0.04537099599838257,
-0.30645883083343506,
-0.020100336521863937,
-0.8541942238807678,
0.5402945280075073,
-0.27093008160591125,
0.10085480660200119,
-0.4304161071777344,
-0.4059390425682068,
-0.09787406772375107,
0.6423304677009583,
-0.6565375924110413,
1.171478509902954,
0.41327548027038574,
-0.5546572208404541,
0.6104021072387695,
-0.27375102043151855,
-0.16322413086891174,
0.2032478004693985,
-0.528834342956543,
-0.3853035569190979,
-0.08772290498018265,
0.11727603524923325,
-0.01453165989369154,
-0.2610180079936981,
0.6632420420646667,
-0.6429402232170105,
-0.5334795713424683,
0.432216614484787,
-0.14209498465061188,
0.40129345655441284,
0.2108684778213501,
-0.23763173818588257,
0.3007522225379944,
-0.7385696172714233,
0.402772456407547,
0.20804253220558167,
-0.02973446436226368,
-0.09849810600280762,
0.20993952453136444,
-0.0687711164355278,
0.36141565442085266,
0.11447998881340027,
-0.4686707854270935,
0.14987453818321228,
-0.08733420073986053,
0.19347630441188812,
0.14695820212364197,
-0.027363887056708336,
0.6980075836181641,
-0.3731987774372101,
0.5872300863265991,
0.15198659896850586,
0.360617458820343,
0.07842103391885757,
-0.500474750995636,
-0.21822968125343323,
-0.22934266924858093,
-0.05452900007367134,
0.48391270637512207,
-0.7535222172737122,
0.26978859305381775,
-0.4462857246398926,
-0.6289734244346619,
-0.3065185248851776,
-0.3497712314128876,
0.35692912340164185,
0.4230526387691498,
0.3142228126525879,
-0.018601495772600174,
-0.6202327013015747,
-0.9038551449775696,
-0.46360066533088684,
-0.26251325011253357,
0.010000634007155895,
0.34681645035743713,
0.5564721822738647,
-0.15059225261211395,
1.1365723609924316,
-0.46006864309310913,
0.004918098449707031,
-0.36916235089302063,
-0.09571690112352371,
-0.042228084057569504,
0.44818928837776184,
0.5244260430335999,
-0.6860435009002686,
-0.06256307661533356,
-0.14469248056411743,
-0.7584360837936401,
-0.12143609672784805,
-0.21297235786914825,
-0.3418315052986145,
-0.2581462562084198,
0.3785943388938904,
-0.7192941308021545,
0.6395459771156311,
0.2627134621143341,
-0.8209395408630371,
0.9428350329399109,
-0.21943381428718567,
0.20523542165756226,
-0.4322959780693054,
-0.042842574417591095,
0.12351228296756744,
0.04493158683180809,
-0.4997623562812805,
0.3951369524002075,
0.019840827211737633,
-0.31494253873825073,
-0.5327938795089722,
0.9188933372497559,
-0.3866928219795227,
-0.4388164281845093,
0.06649390608072281,
0.5723130702972412,
0.4033294916152954,
0.4285596013069153,
0.3635345995426178,
0.5513134598731995,
0.1649884432554245,
-0.2609510123729706,
0.2733718156814575,
0.17715461552143097,
-0.7859371900558472,
0.49443674087524414,
-0.6518983840942383,
-0.06668190658092499,
0.06325525790452957,
0.4019055664539337,
-0.960961639881134,
0.1854993999004364,
0.2499665468931198,
-0.20540578663349152,
-0.38147643208503723,
-0.03496364504098892,
-0.8735931515693665,
-0.21398191154003143,
-0.1478498876094818,
0.7791288495063782,
0.17539288103580475,
-0.44608601927757263,
0.711803138256073,
0.2764756977558136,
0.20267289876937866,
-0.06221017241477966,
-0.39875537157058716,
0.02955319546163082,
-0.20173056423664093,
-0.5116629600524902,
0.043649569153785706,
-0.05488498508930206,
-0.6469165682792664,
0.19300292432308197,
-0.22713424265384674,
-0.473725825548172,
0.2366475760936737,
0.14196543395519257,
0.0804891511797905,
-0.22502537071704865,
-0.22251226007938385,
-0.17983733117580414,
-0.05390185862779617,
0.4182879626750946,
-0.14260463416576385,
0.22058449685573578,
-0.4815347194671631,
-0.7277153134346008,
-0.3080522418022156,
0.37970811128616333,
0.5345396399497986,
-0.1327739953994751,
0.579695463180542,
0.4840197265148163,
-0.7357673048973083,
0.0010545013938099146,
-0.484752357006073,
-0.1245357021689415,
-0.39441096782684326,
0.5008341670036316,
-0.7195172309875488,
-0.7084764242172241,
0.5910854339599609,
-0.24304230511188507,
0.1010807678103447,
0.004624838940799236,
0.1228351816534996,
-0.14936396479606628,
0.990031361579895,
0.10029426217079163,
0.3661002218723297,
0.11269278079271317,
-0.06285463273525238,
0.5521332025527954,
-0.8599156737327576,
-0.671779990196228,
-0.6869346499443054,
-0.3289417326450348,
-0.10487496107816696,
-0.8768382668495178,
0.28881222009658813,
0.28916797041893005,
-0.6107569932937622,
0.2043120265007019,
-0.2546160817146301,
0.5904484391212463,
0.37716320157051086,
-0.2522049844264984,
0.27024078369140625,
0.01027186494320631,
-0.42215242981910706,
-0.3567011058330536,
-0.8023995757102966,
-0.6819011569023132,
0.3153666853904724,
0.3466564118862152,
0.4868205189704895,
0.3334314823150635,
0.3465307354927063,
0.09508883208036423,
0.140144482254982,
-0.4706571400165558,
0.8938071727752686,
0.35218122601509094,
-0.44537296891212463,
-0.3581548035144806,
-0.5729054808616638,
-0.9000868201255798,
0.7884038090705872,
-0.3817509710788727,
-0.6228099465370178,
0.22141903638839722,
-0.026050450280308723,
-0.46584081649780273,
0.38367369771003723,
-0.7253695726394653,
1.0048322677612305,
-0.43767544627189636,
-0.6170300245285034,
-0.0711272582411766,
-0.21531976759433746,
0.3035663068294525,
0.3383500277996063,
0.36990416049957275,
-0.4327789545059204,
0.10635121166706085,
0.11158031225204468,
-0.3288659155368805,
0.6401229500770569,
-0.44277989864349365,
-0.12886957824230194,
0.24737486243247986,
0.5913447141647339,
-0.014513634145259857,
0.18473367393016815,
-0.1515151411294937,
0.41114526987075806,
0.31632816791534424,
-0.4167996048927307,
-0.9390664100646973,
0.6458083391189575,
-0.6759161353111267,
-0.4144515097141266,
-0.46677201986312866,
-0.7918134331703186,
-0.6189846992492676,
0.15440256893634796,
-0.24501949548721313,
0.41340696811676025,
-0.35166335105895996,
-0.128450408577919,
0.37867283821105957,
-0.3330209255218506,
-0.18133775889873505,
0.48097673058509827,
-0.6709145903587341,
-0.2978757619857788,
0.5611119270324707,
-0.21332716941833496,
-0.09032218903303146,
0.27056482434272766,
0.2734287977218628,
-0.7351658344268799,
-0.5603181719779968,
-0.4816664755344391,
0.15233877301216125,
-0.6083177924156189,
-0.10093322396278381,
-0.2958682179450989,
-0.14885017275810242,
-0.25037652254104614,
-0.22617654502391815,
-0.32040321826934814,
-0.5153652429580688,
0.3257920742034912,
-0.055577315390110016,
-0.06934168189764023,
0.7618635296821594,
0.23422400653362274,
-0.06915396451950073,
-0.8619808554649353,
0.3289884924888611,
0.038878899067640305,
0.651069700717926,
0.24060764908790588,
-0.39400002360343933,
-0.34236669540405273,
0.18951351940631866,
-0.03259648010134697,
-0.6878041625022888,
0.15444844961166382,
-0.1816926747560501,
0.8192270398139954,
0.19955068826675415,
-0.06174246221780777,
0.9748175740242004,
-0.7386569976806641,
0.7233923077583313,
0.052569933235645294,
-0.5904121398925781,
0.43699800968170166,
-0.41024935245513916,
0.7779939770698547,
0.6256386041641235,
-0.07124953716993332,
-0.4058435559272766,
-0.32934215664863586,
-0.6065019369125366,
-0.8922244906425476,
0.2574271857738495,
0.08527129143476486,
-0.3383089601993561,
-0.20147040486335754,
0.4844363033771515,
-0.07815270870923996,
-0.07396011799573898,
-0.7180116176605225,
0.1602725237607956,
-0.2395743429660797,
-0.070081427693367,
0.11982180178165436,
-0.33733266592025757,
-0.08511772751808167,
-0.45784011483192444,
0.21615232527256012,
0.1121431440114975,
0.14313071966171265,
0.180092915892601,
-0.11884427815675735,
0.0729871541261673,
0.23864780366420746,
0.7904717922210693,
0.9201735258102417,
-0.1821332573890686,
0.19727347791194916,
0.2947106957435608,
-0.15997187793254852,
0.02749609388411045,
0.002670474350452423,
-0.06273337453603745,
0.011164900846779346,
0.46897590160369873,
0.5031969547271729,
0.7849547863006592,
-0.9946150779724121,
0.34713876247406006,
-0.44875702261924744,
-0.3233604431152344,
-0.4097670614719391,
-0.15760761499404907,
0.265223890542984,
0.528678297996521,
0.12796367704868317,
-0.021684380248188972,
0.23728333413600922,
-0.41413354873657227,
0.16025042533874512,
0.23200197517871857,
-0.2735044062137604,
-0.24926908314228058,
0.654754638671875,
0.09147480130195618,
-0.24028505384922028,
0.8624983429908752,
-0.49966171383857727,
-0.40523022413253784,
0.5788469314575195,
0.4591570794582367,
0.8346775770187378,
0.08298154920339584,
0.07063902169466019,
0.7005495429039001,
0.3556755483150482,
-0.0898585245013237,
0.5214163661003113,
-0.1454683244228363,
-0.971161425113678,
-0.19512374699115753,
-0.47132301330566406,
-0.5658706426620483,
-0.1524992734193802,
-0.76738440990448,
-0.23107878863811493,
-0.48290854692459106,
-0.1932263821363449,
-0.6011204123497009,
0.039531487971544266,
-0.45748698711395264,
0.06422166526317596,
0.22749565541744232,
1.1189305782318115,
-0.7763451933860779,
0.7826516628265381,
1.1592330932617188,
-0.017645906656980515,
-0.5946428179740906,
-0.05802663415670395,
-0.07372327148914337,
-0.453875869512558,
0.5341023802757263,
-0.01091295201331377,
-0.5122243165969849,
-0.601796567440033,
-0.18196265399456024,
-0.6926183104515076,
0.9567890763282776,
0.22615525126457214,
-0.8187923431396484,
0.10651735216379166,
0.349224716424942,
0.8580250144004822,
-0.3541255295276642,
0.1538412719964981,
0.7569329142570496,
0.5534709692001343,
-0.0018793568015098572,
-0.7743739485740662,
0.12059183418750763,
-0.4114497900009155,
0.28118187189102173,
0.05086289346218109,
-0.31374064087867737,
0.5246831178665161,
-0.43030470609664917,
-0.24801664054393768,
0.16601859033107758,
0.8419196605682373,
1.0463050603866577,
0.5288428664207458,
0.5937260389328003,
0.7827863693237305,
0.5649768114089966,
-0.3518310785293579,
1.0667107105255127,
-0.16270750761032104,
0.0862923413515091,
1.5385425090789795,
-0.935156524181366,
1.1130213737487793,
0.38343238830566406,
-0.1937350183725357,
0.682811975479126,
0.36668890714645386,
0.12733706831932068,
0.5482299327850342,
0.5121700167655945,
-0.026629773899912834,
-0.31542250514030457,
0.014030341058969498,
-0.41000470519065857,
0.357101172208786,
0.3456977307796478,
0.48914819955825806,
-0.3870009481906891,
-0.38470393419265747,
-0.26691195368766785,
0.8128759264945984,
-0.021649854257702827,
0.47233930230140686,
-0.041538454592227936,
-0.5308111310005188,
0.3697430193424225,
-0.15460045635700226,
0.14055444300174713,
-0.34022483229637146,
-0.3684479594230652,
-0.37516486644744873,
0.24594436585903168,
-0.04701445251703262,
-1.0566285848617554,
0.4193249046802521,
-0.09520518034696579,
-0.11014683544635773,
-0.29827308654785156,
0.4912627935409546,
-0.5394470691680908,
-0.22046393156051636,
0.3111848831176758,
0.644513726234436,
0.11565754562616348,
0.013254650868475437,
-0.9072027206420898,
0.40765395760536194,
-0.3180147111415863,
0.020888566970825195,
0.3474786579608917,
0.8312206864356995,
-0.25158044695854187,
1.0037727355957031,
0.4589175581932068,
0.11856994032859802,
-0.026539074257016182,
0.5729269981384277,
0.592829704284668,
-0.8801562190055847,
-0.4539870023727417,
-0.5269630551338196,
0.33341115713119507,
-0.11396944522857666,
-0.3385995924472809,
0.8170081377029419,
0.8526149392127991,
0.9629197716712952,
0.05328767001628876,
0.40129512548446655,
0.3639187514781952,
0.4737775921821594,
-0.374472439289093,
0.554199755191803,
-0.32092535495758057,
0.5195918679237366,
-0.1179119125008583,
-0.9091384410858154,
-0.43832167983055115,
1.0568698644638062,
-0.5696621537208557,
0.275394082069397,
0.8552834391593933,
0.44645145535469055,
0.0047745550982654095,
0.09742826968431473,
0.48998892307281494,
0.08445483446121216,
0.17457787692546844,
0.5546481013298035,
1.5641206502914429,
-0.2594752013683319,
0.46290457248687744,
-0.4129602909088135,
0.07285769283771515,
0.047810256481170654,
-0.9113495349884033,
-0.6508470177650452,
-0.5654168128967285,
-0.42970678210258484,
-0.26768118143081665,
0.07091989368200302,
0.5512514114379883,
0.6543886065483093,
-0.5838044881820679,
-0.45448818802833557,
0.21394065022468567,
0.06645151227712631,
-0.5000490546226501,
-0.297622948884964,
0.09780111163854599,
0.0999375432729721,
-0.4471014142036438,
0.3810356855392456,
0.4875839948654175,
-0.16663134098052979,
-0.36168092489242554,
-0.20197775959968567,
-0.1307087540626526,
-0.15397407114505768,
0.6925846934318542,
0.27046433091163635,
-0.8881281018257141,
-0.47526681423187256,
-0.12589316070079803,
-0.20616087317466736,
0.029995078220963478,
0.8502821922302246,
-1.0310369729995728,
0.2121555656194687,
0.3563517928123474,
0.4507465660572052,
0.207834854722023,
0.0860917791724205,
0.5662634968757629,
-0.4778187870979309,
0.17174841463565826,
0.4614834189414978,
0.6510897278785706,
0.42615267634391785,
0.06767004728317261,
0.49944713711738586,
-0.07606209814548492,
-0.37831416726112366,
-0.8540563583374023,
0.3333544135093689,
-0.9366278052330017,
-0.3470837473869324,
1.172134518623352,
-0.25076302886009216,
-0.18943890929222107,
-0.2844710648059845,
-0.1927575320005417,
-0.24551014602184296,
-0.2595978081226349,
0.9349441528320312,
0.6132961511611938,
-0.09850344806909561,
-0.3178994357585907,
-0.4755060374736786,
0.24988876283168793,
0.5244305729866028,
-0.8126742243766785,
0.21480849385261536,
0.9786813259124756,
0.1370217651128769,
-0.0677473396062851,
0.5658838152885437,
-0.3367738425731659,
0.5334112644195557,
0.1319928765296936,
0.07288176566362381,
-0.05106889456510544,
-0.5019177198410034,
-0.3961924612522125,
0.11568228155374527,
0.29145190119743347,
0.09303610771894455
] |
http://arxiv.org/abs/2406.00022v2
|
http://arxiv.org/pdf/2406.00022v2
|
Multilingual Prosody Transfer: Comparing Supervised & Transfer Learning
| 2024-05-23T20:43:24 | 2024-06-18T05:14:21 |
Arnav Goel, Medha Hira, Anubha Gupta
|
cs.CL
|
cs.CL, cs.SD, eess.AS
|
The field of prosody transfer in speech synthesis systems is rapidly
advancing. This research is focused on evaluating learning methods for adapting
pre-trained monolingual text-to-speech (TTS) models to multilingual conditions,
i.e., Supervised Fine-Tuning (SFT) and Transfer Learning (TL). This comparison
utilizes three distinct metrics: Mean Opinion Score (MOS), Recognition Accuracy
(RA), and Mel Cepstral Distortion (MCD). Results demonstrate that, in
comparison to SFT, TL leads to significantly enhanced performance, with an
average MOS higher by 1.53 points, a 37.5% increase in RA, and approximately a
7.8-point improvement in MCD. These findings are instrumental in helping build
TTS models for low-resource languages.
|
[
-0.39151516556739807,
-0.6238996982574463,
0.413255512714386,
0.4648663401603699,
-0.25860410928726196,
0.32471421360969543,
-0.4798339009284973,
-0.49493807554244995,
0.0963473990559578,
0.20459333062171936,
-0.5148995518684387,
-0.6041504144668579,
-0.6028404235839844,
0.27753394842147827,
-0.2912525534629822,
1.107947587966919,
0.0006020954460836947,
0.3034980893135071,
0.15800009667873383,
0.01431561540812254,
-0.32887619733810425,
-0.6881065368652344,
-0.932567834854126,
-0.005660765804350376,
0.23098008334636688,
0.3229915201663971,
0.5832840204238892,
0.016137097030878067,
0.7496810555458069,
0.34381046891212463,
-0.03241090103983879,
0.2370772659778595,
-0.22540132701396942,
0.017960069701075554,
-0.3372437059879303,
-0.3274141550064087,
-0.7096560001373291,
-0.009417220950126648,
0.7203633189201355,
0.7383749485015869,
0.10163059085607529,
0.27555108070373535,
0.36799848079681396,
0.7965455055236816,
-0.6519995331764221,
0.22300474345684052,
-0.32189300656318665,
0.2202540785074234,
-0.19774825870990753,
-0.42286306619644165,
-0.6621588468551636,
-0.687039315700531,
0.5069018006324768,
-0.7236961722373962,
0.3950730562210083,
-0.25798070430755615,
0.20557616651058197,
0.18386539816856384,
-0.5365260243415833,
-0.2973434329032898,
-0.7989690899848938,
0.8608032464981079,
-0.5781583786010742,
0.9125564694404602,
0.26291975378990173,
0.25741812586784363,
0.1699298769235611,
-0.6129387617111206,
-0.3238951861858368,
-0.33205726742744446,
-0.07513120770454407,
0.3237749934196472,
-0.03616191819310188,
0.16623738408088684,
0.06379643082618713,
0.21690687537193298,
-0.6135040521621704,
-0.09563614428043365,
-0.7200153470039368,
-0.3744962513446808,
0.753169596195221,
-0.16451223194599152,
-0.039067499339580536,
-0.012176983058452606,
-0.3565364480018616,
-0.2657155692577362,
-0.4673878848552704,
0.19166216254234314,
0.22916057705879211,
0.6883668303489685,
-0.35357797145843506,
0.3240260183811188,
0.03078031726181507,
0.9342977404594421,
0.09057415276765823,
-0.40785300731658936,
0.6218346357345581,
-0.753728449344635,
-0.24166232347488403,
0.12746860086917877,
0.9315622448921204,
0.4554763436317444,
0.6330326199531555,
-0.12796398997306824,
-0.006076728459447622,
-0.05197975039482117,
0.1257113516330719,
-0.5226263403892517,
-0.12144680321216583,
-0.26855120062828064,
-0.44980859756469727,
-0.140618696808815,
0.34929347038269043,
-0.7095521092414856,
-0.1731530874967575,
-0.7247320413589478,
0.4394984543323517,
-0.47645890712738037,
-0.41950523853302,
0.004768095910549164,
-0.09885645657777786,
-0.3139137327671051,
0.23475281894207,
-0.9614906311035156,
0.3525245785713196,
0.2860298454761505,
1.0558396577835083,
-0.5781201720237732,
-0.49866583943367004,
-0.5361624956130981,
0.015994872897863388,
-0.5980271697044373,
0.7254315614700317,
-0.29574570059776306,
-0.6850486397743225,
-0.013690757565200329,
0.21024589240550995,
-0.4202146828174591,
-0.7577180862426758,
0.4478915333747864,
-0.06129983440041542,
0.032246749848127365,
-0.23755885660648346,
-0.2375120371580124,
-0.011106349527835846,
-0.12130813300609589,
-0.44717204570770264,
1.0302232503890991,
0.36987465620040894,
-0.4019012749195099,
0.27954211831092834,
-0.7733553647994995,
-0.7084488272666931,
-0.3910020589828491,
0.3745529055595398,
-0.05748314782977104,
0.211463063955307,
0.1574810892343521,
0.40858694911003113,
0.035007037222385406,
0.15353448688983917,
-0.2740502953529358,
-0.25253427028656006,
0.421176940202713,
-0.6177119612693787,
0.682241678237915,
0.4300854206085205,
0.046342670917510986,
0.2877521216869354,
-0.9467678666114807,
0.10008635371923447,
-0.34050512313842773,
-0.4999551773071289,
-0.24509310722351074,
-0.24381336569786072,
0.14708402752876282,
0.2821589410305023,
0.05899748578667641,
-0.4664846360683441,
-0.007002982776612043,
-0.45607540011405945,
0.6450389623641968,
0.6344337463378906,
0.02223864383995533,
0.5691791772842407,
-0.15544727444648743,
0.5427977442741394,
0.04165561869740486,
0.26580700278282166,
0.13410022854804993,
-0.26831305027008057,
-0.6998415589332581,
-0.024378657341003418,
0.5154872536659241,
0.587184488773346,
-0.9388024210929871,
0.1374100297689438,
-0.16099897027015686,
-0.4570060670375824,
-0.9838807582855225,
0.005302916746586561,
0.5822351574897766,
0.48729804158210754,
0.7516472935676575,
-0.2793230712413788,
-0.552409291267395,
-0.7960861325263977,
-0.29580020904541016,
-0.3154105842113495,
-0.16659249365329742,
-0.12392126768827438,
0.01853058859705925,
0.20555438101291656,
0.4802230894565582,
-0.07237976789474487,
-0.5430667400360107,
-0.10364631563425064,
0.16023311018943787,
-0.0799289122223854,
0.5881178379058838,
0.8324722051620483,
-0.4525478780269623,
-0.8297308683395386,
0.19444093108177185,
-0.45991238951683044,
-0.1648053377866745,
0.17195020616054535,
0.16634513437747955,
0.42737632989883423,
0.6634679436683655,
-0.34520456194877625,
0.2829859256744385,
0.8843690752983093,
-0.3629663288593292,
0.7941755056381226,
-0.33960044384002686,
0.5922335386276245,
-1.0911431312561035,
-0.1411852389574051,
0.16555896401405334,
-0.4447089433670044,
-0.7677377462387085,
-0.25269201397895813,
0.06650076061487198,
-0.017567042261362076,
-0.9489648938179016,
0.25563621520996094,
-0.3148009777069092,
-0.3935646116733551,
-0.08809416741132736,
0.17727231979370117,
-0.2743719518184662,
0.3748292326927185,
0.08221938461065292,
1.2468714714050293,
0.5678773522377014,
-0.7307270765304565,
0.3285163640975952,
-0.00877458043396473,
-0.385159969329834,
0.8095437288284302,
-0.4754812717437744,
0.16329166293144226,
0.18156744539737701,
0.02651297114789486,
-0.9005921483039856,
0.18559779226779938,
-0.04100856930017471,
-0.5191743969917297,
0.3419649600982666,
-0.05616382881999016,
-0.23348289728164673,
-0.15011939406394958,
-0.07817217707633972,
0.48753681778907776,
0.4080130457878113,
-0.3750417232513428,
0.34692278504371643,
0.20760264992713928,
-0.5557499527931213,
-0.39321136474609375,
-0.6859807372093201,
-0.12769457697868347,
-0.11581577360630035,
-0.12949392199516296,
0.6295789480209351,
-0.1683216542005539,
-0.2913268506526947,
-0.08859124779701233,
-0.041401442140340805,
0.03269213065505028,
-0.034441106021404266,
-0.17883563041687012,
0.0322721004486084,
-0.334903746843338,
0.14004145562648773,
0.1670355349779129,
-0.35103464126586914,
-0.05055198818445206,
-0.28549760580062866,
0.45148950815200806,
-0.28243550658226013,
-0.2202892005443573,
-0.8052806258201599,
0.12024849653244019,
0.7311926484107971,
-0.24883726239204407,
0.5539966821670532,
0.7092037796974182,
-0.00900691095739603,
0.0221980269998312,
-0.15234848856925964,
-0.08661764860153198,
-0.46168187260627747,
0.5505046248435974,
-0.7635474801063538,
-0.7916955947875977,
0.2596855163574219,
0.013673258945345879,
-0.09211793541908264,
0.5218368768692017,
0.5861483812332153,
-0.2196941077709198,
1.1774451732635498,
0.5717602968215942,
0.0355122871696949,
0.7617653608322144,
-0.07041490077972412,
-0.02248082123696804,
-0.728320837020874,
-0.1285112500190735,
-0.6864138245582581,
-0.23540987074375153,
-0.8498659729957581,
-0.2933955788612366,
0.47829970717430115,
0.16233518719673157,
-0.3006819486618042,
0.3957338035106659,
-0.3034170866012573,
0.42176443338394165,
0.6506105661392212,
0.15461596846580505,
0.31761354207992554,
0.05520953610539436,
-0.1721629798412323,
-0.22603242099285126,
-0.5142022371292114,
-0.31955263018608093,
1.2469383478164673,
0.1908690184354782,
0.40064704418182373,
0.35595187544822693,
0.3668864369392395,
0.3761427104473114,
0.28947022557258606,
-0.697338342666626,
0.46480733156204224,
-0.7740039825439453,
-0.17777468264102936,
-0.34026026725769043,
-0.2670539915561676,
-0.7720919251441956,
0.2575727105140686,
-0.5257321000099182,
-0.5943399667739868,
0.09179474413394928,
0.17313708364963531,
-0.2729743421077728,
0.1991053968667984,
-0.9596499800682068,
0.6907204985618591,
-0.20049098134040833,
-0.19868667423725128,
-0.3095080256462097,
-0.6178422570228577,
0.01492119487375021,
-0.1929231584072113,
0.36047083139419556,
0.08203200995922089,
0.2823505997657776,
0.8442196249961853,
-0.06618531048297882,
0.5703734755516052,
-0.3826952278614044,
-0.114739328622818,
0.12357058376073837,
0.253946453332901,
0.04365776851773262,
-0.18712255358695984,
-0.2627040445804596,
0.3330205976963043,
0.39416709542274475,
-0.14507709443569183,
-0.5825207829475403,
0.5311223864555359,
-0.8670098185539246,
-0.3394007384777069,
-0.05763700231909752,
-0.7299454808235168,
-0.5157331824302673,
0.0954374447464943,
0.22901321947574615,
0.3576246500015259,
-0.300971120595932,
0.38257279992103577,
0.47016626596450806,
-0.15411803126335144,
0.42471742630004883,
0.5743192434310913,
-0.3843127191066742,
-0.4321436285972595,
0.9540558457374573,
0.32275107502937317,
0.6883869767189026,
0.3753054141998291,
0.11942266672849655,
-0.47864434123039246,
-0.675636887550354,
-0.5166090726852417,
0.154831662774086,
-0.5256482362747192,
-0.07322119921445847,
-0.28762292861938477,
-0.36928534507751465,
-0.805047333240509,
-0.027921238914132118,
-0.6415029764175415,
-0.5774429440498352,
-0.3631037473678589,
-0.32412874698638916,
0.11557109653949738,
0.6110433340072632,
-0.11431929469108582,
0.47650468349456787,
-0.9221705794334412,
0.2504197359085083,
0.1478225439786911,
0.30906063318252563,
-0.4024756848812103,
-0.8543187379837036,
-0.16406285762786865,
0.10599536448717117,
-0.4209575057029724,
-1.125596284866333,
0.34760308265686035,
0.43674150109291077,
0.481201171875,
0.30052101612091064,
0.017425933852791786,
0.8273970484733582,
-0.4818098247051239,
0.8631843328475952,
0.3604222536087036,
-1.2728251218795776,
0.7478066682815552,
0.024121984839439392,
0.1465798318386078,
0.5461443066596985,
0.41895973682403564,
-0.38588404655456543,
-0.4021971821784973,
-0.4211845099925995,
-0.3784291744232178,
0.6015750169754028,
0.0012498018331825733,
-0.20668675005435944,
0.1584620326757431,
0.24060191214084625,
0.25548475980758667,
0.038697950541973114,
-0.5055578947067261,
-0.24171723425388336,
-0.10940296202898026,
-0.4775918424129486,
-0.6725814938545227,
-0.10104842483997345,
0.10777189582586288,
-0.5363231301307678,
0.7228795886039734,
-0.24195408821105957,
0.2821570932865143,
0.20852546393871307,
-0.2358459234237671,
-0.0057349056005477905,
0.47818809747695923,
0.8366037607192993,
0.7888970375061035,
-0.22798296809196472,
0.30566608905792236,
0.388963907957077,
-0.5678450465202332,
0.3858909010887146,
0.038883812725543976,
0.11060705780982971,
0.08574752509593964,
0.5319952964782715,
1.0956672430038452,
0.1985270082950592,
-0.29580312967300415,
0.40314602851867676,
0.09335438162088394,
-0.7297275066375732,
0.11040658503770828,
0.07753173261880875,
-0.05902344360947609,
0.24680973589420319,
0.18059836328029633,
0.324247807264328,
0.08965495228767395,
-0.554405689239502,
-0.06841297447681427,
0.19464313983917236,
-0.6685937643051147,
-0.638541579246521,
0.5203756093978882,
0.2531799077987671,
-0.5826264023780823,
0.4982597529888153,
0.15914681553840637,
-0.31630977988243103,
0.40755173563957214,
0.8291187882423401,
0.7377293705940247,
-0.7989811301231384,
0.28010883927345276,
0.5312122702598572,
0.34251928329467773,
-0.06108022481203079,
0.3206188678741455,
-0.18328185379505157,
-0.5660013556480408,
-0.5189908742904663,
-0.6399027109146118,
-0.3627912700176239,
-0.1095053181052208,
-0.9579569101333618,
0.35451173782348633,
-0.15378311276435852,
-0.5151993036270142,
0.3118818998336792,
-0.22031332552433014,
-0.6569868326187134,
0.2612713873386383,
-0.13820409774780273,
0.7787003517150879,
-1.110317349433899,
1.1316708326339722,
0.8568981885910034,
-0.1482234001159668,
-0.5429940819740295,
-0.0481206551194191,
-0.007576397154480219,
-0.48684313893318176,
0.6703425049781799,
-0.13276687264442444,
-0.35335496068000793,
0.282167911529541,
-0.049597132951021194,
-0.8759088516235352,
0.8455989360809326,
0.663489818572998,
-0.8083882331848145,
0.26077648997306824,
0.29300928115844727,
0.8243012428283691,
-0.22604256868362427,
0.18007171154022217,
0.9435766339302063,
0.35561299324035645,
-0.07982248067855835,
-1.6886075735092163,
-0.37357935309410095,
0.037662651389837265,
-0.10416541993618011,
0.06976427882909775,
-0.45003432035446167,
0.7199339866638184,
-0.24897189438343048,
-0.2111569195985794,
-0.17548318207263947,
0.5803712010383606,
0.27996742725372314,
0.4377915561199188,
0.5176383256912231,
0.21487323939800262,
0.7244256138801575,
-0.1977240890264511,
0.6960998773574829,
-0.3728119730949402,
0.34390854835510254,
0.9044836759567261,
-0.06879089772701263,
1.0113475322723389,
0.6706624031066895,
-0.7611058950424194,
0.27794697880744934,
0.6807283759117126,
0.47612497210502625,
0.7571285963058472,
-0.08407829701900482,
-0.18629427254199982,
-0.1048784926533699,
-0.1015007421374321,
-0.5886372923851013,
0.3408629894256592,
0.44891855120658875,
-0.4283190667629242,
0.15611624717712402,
0.5637209415435791,
-0.33498480916023254,
0.12588566541671753,
-0.33674535155296326,
0.9933410882949829,
0.09223400801420212,
-0.7926161289215088,
0.6271435022354126,
-0.10318402200937271,
0.6472708582878113,
-0.4777907133102417,
0.13466458022594452,
-0.14059193432331085,
0.31227028369903564,
-0.21354959905147552,
-0.8697850704193115,
0.6025246977806091,
-0.004128528293222189,
-0.28686070442199707,
-0.42582157254219055,
0.5366451740264893,
-0.562414288520813,
-0.5012277364730835,
0.44338470697402954,
0.6319231986999512,
0.3264144957065582,
0.15653176605701447,
-0.7244459986686707,
-0.05462456867098808,
0.1882026493549347,
-0.0690259113907814,
0.38309428095817566,
0.15764220058918,
-0.17052993178367615,
0.5339770913124084,
0.6922126412391663,
0.42484617233276367,
0.09110112488269806,
0.5319838523864746,
0.29642558097839355,
-0.4729051887989044,
-0.5785105228424072,
-0.7155428528785706,
0.19812311232089996,
0.2754197120666504,
-0.2544141709804535,
0.7262441515922546,
0.44866445660591125,
1.1980562210083008,
-0.3445093631744385,
0.8445559144020081,
0.24692687392234802,
0.7648399472236633,
-0.886783242225647,
0.3939511775970459,
-0.44689175486564636,
0.03568723425269127,
-0.4782913327217102,
-1.1247276067733765,
-0.4142568111419678,
0.7234421372413635,
-0.27668336033821106,
-0.005732692778110504,
0.9357913732528687,
0.6533179879188538,
-0.026411883533000946,
0.10193497687578201,
0.3284623920917511,
0.06442349404096603,
0.17500481009483337,
0.5856037735939026,
0.8928493857383728,
-0.3891626298427582,
0.3824687600135803,
-0.3238469660282135,
-0.2624889016151428,
0.0054716262966394424,
-0.7143056392669678,
-0.5727722644805908,
-0.7013177871704102,
-0.4370957314968109,
-0.3464919924736023,
0.37588104605674744,
0.9950091242790222,
0.8855008482933044,
-1.0976812839508057,
-0.41077834367752075,
-0.00194763601757586,
-0.12895303964614868,
-0.698249876499176,
-0.2310369610786438,
0.5851929783821106,
-0.440875381231308,
-1.0193159580230713,
0.7318399548530579,
0.09730077534914017,
0.35244420170783997,
-0.1440916806459427,
-0.2787854075431824,
0.04154805466532707,
-0.2815462052822113,
0.8565768599510193,
-0.02056044153869152,
-0.6240035891532898,
-0.25488317012786865,
0.010156532749533653,
0.1958855539560318,
0.012884887866675854,
0.834354043006897,
-0.6227797865867615,
0.5266223549842834,
0.5016827583312988,
0.30653125047683716,
0.48516136407852173,
-0.00581849180161953,
0.46582716703414917,
-0.9915318489074707,
0.35377973318099976,
-0.08943589776754379,
0.11239733546972275,
0.3171462118625641,
0.02654125541448593,
0.5351080894470215,
0.3633454144001007,
-0.4611630141735077,
-0.6794804334640503,
0.012231571599841118,
-1.0271620750427246,
-0.2708788216114044,
1.1347240209579468,
-0.09334591031074524,
0.1809055209159851,
-0.08743095397949219,
-0.31585559248924255,
0.43563583493232727,
-0.1909591406583786,
0.50473552942276,
0.6945399045944214,
-0.3486109673976898,
-0.1370231658220291,
-0.745252788066864,
0.6853551268577576,
0.3128526210784912,
-0.6456864476203918,
-0.025176383554935455,
0.4702671468257904,
0.32861778140068054,
0.20465682446956635,
0.7440780401229858,
-0.2472897469997406,
0.27680695056915283,
-0.27713245153427124,
0.008023470640182495,
-0.055060215294361115,
-0.6340566873550415,
-0.4297483265399933,
0.21936975419521332,
0.042136624455451965,
-0.38947761058807373
] |
http://arxiv.org/abs/2405.15039v1
|
http://arxiv.org/pdf/2405.15039v1
|
CEEBERT: Cross-Domain Inference in Early Exit BERT
| 2024-05-23T20:36:10 | 2024-05-23T20:36:10 |
Divya Jyoti Bajpai, Manjesh Kumar Hanawal
|
cs.CL
|
cs.CL, cs.LG
|
Pre-trained Language Models (PLMs), like BERT, with self-supervision
objectives exhibit remarkable performance and generalization across various
tasks. However, they suffer in inference latency due to their large size. To
address this issue, side branches are attached at intermediate layers, enabling
early inference of samples without requiring them to pass through all layers.
However, the challenge is to decide which layer to infer and exit each sample
so that the accuracy and latency are balanced. Moreover, the distribution of
the samples to be inferred may differ from that used for training necessitating
cross-domain adaptation. We propose an online learning algorithm named
Cross-Domain Inference in Early Exit BERT (CeeBERT) that dynamically determines
early exits of samples based on the level of confidence at each exit point.
CeeBERT learns optimal thresholds from domain-specific confidence observed at
intermediate layers on the fly, eliminating the need for labeled data.
Experimental results on five distinct datasets with BERT and ALBERT models
demonstrate CeeBERT's ability to improve latency by reducing unnecessary
computations with minimal drop in performance. By adapting to the threshold
values, CeeBERT can speed up the BERT/ALBERT models by $2\times$ - $3.5\times$
with minimal drop in accuracy.
|
[
-0.6024213433265686,
-0.9621219635009766,
0.7007721662521362,
0.4939911365509033,
-0.07825511693954468,
0.2549809217453003,
-0.36106085777282715,
-0.5059472918510437,
-0.13300086557865143,
0.35800275206565857,
-0.7934925556182861,
-0.4577978849411011,
-0.560812771320343,
-0.4414539039134979,
-0.31400564312934875,
0.8283916115760803,
-0.05699075385928154,
0.09436719864606857,
-0.3008546829223633,
0.32265305519104004,
-0.06723910570144653,
-0.5562324523925781,
-0.8931499719619751,
-0.29224666953086853,
0.44317707419395447,
0.17281782627105713,
0.535700798034668,
0.27810558676719666,
0.22139137983322144,
0.22935301065444946,
0.04625624418258667,
0.001936054788529873,
-0.41992342472076416,
-0.010419555939733982,
-0.23645851016044617,
-0.3861759901046753,
-0.32795533537864685,
-0.2696061432361603,
0.371882826089859,
1.0539741516113281,
-0.19219456613063812,
-0.06699249893426895,
0.35586801171302795,
0.49783429503440857,
-0.56452876329422,
0.0636761412024498,
-0.562614917755127,
0.036514900624752045,
-0.2336769998073578,
-0.22311769425868988,
-0.7653710842132568,
-0.23552636802196503,
0.680607795715332,
-0.6184988021850586,
0.39919158816337585,
-0.10583293437957764,
0.9414302706718445,
0.1411498636007309,
-0.0514550618827343,
-0.21837204694747925,
-0.6357740759849548,
1.0817582607269287,
-0.698329508304596,
0.8045962452888489,
0.32430708408355713,
0.30704447627067566,
-0.1914888620376587,
-0.7892385125160217,
-0.31652507185935974,
-0.09470977634191513,
0.07499837130308151,
0.12016644328832626,
-0.06453464180231094,
0.054522208869457245,
-0.023005647584795952,
-0.23843784630298615,
-0.5212446451187134,
0.07743839919567108,
-0.06772077083587646,
-0.18316522240638733,
0.26244768500328064,
-0.3027588725090027,
0.051540497690439224,
0.23157688975334167,
-0.5230118036270142,
-0.16797368228435516,
-0.6848646998405457,
0.218936949968338,
0.3704748749732971,
0.4010540544986725,
-0.18968552350997925,
-0.03782040998339653,
-0.08261266350746155,
0.5038479566574097,
0.3254554271697998,
0.18772609531879425,
0.288495272397995,
0.14022792875766754,
-0.11175210773944855,
0.03827974945306778,
0.34316113591194153,
-0.0038522568065673113,
0.131649449467659,
-0.2045205980539322,
-0.27924928069114685,
-0.26299306750297546,
0.14349615573883057,
-0.7672320008277893,
-0.6226398348808289,
0.3542082607746124,
-0.6382156014442444,
0.18090614676475525,
-0.16583576798439026,
-0.5676307082176208,
0.09866513311862946,
-0.37820225954055786,
0.6365099549293518,
-0.6348214745521545,
-0.04482099041342735,
-0.23828202486038208,
0.27002084255218506,
0.17368720471858978,
0.4909393787384033,
-0.6124526858329773,
0.6884496808052063,
0.4369867146015167,
0.8610559105873108,
-0.44648683071136475,
-0.2881467938423157,
-0.7739788889884949,
-0.0329563282430172,
-0.06580865383148193,
0.8125352263450623,
-0.4937085807323456,
-0.13286945223808289,
-0.1996656209230423,
0.06133244186639786,
-0.23224610090255737,
-0.36010023951530457,
0.4884274899959564,
-1.0095441341400146,
0.2015376091003418,
0.07742591202259064,
-0.6884968280792236,
-0.2776871919631958,
-0.1298738569021225,
-0.5367639660835266,
0.966724693775177,
0.08536552637815475,
-0.6401326060295105,
0.30814582109451294,
-0.7160981297492981,
-0.531166136264801,
-0.047870613634586334,
-0.043538667261600494,
-0.6989825963973999,
0.07571991533041,
0.6070217490196228,
0.6038097143173218,
-0.08026085793972015,
0.08859071135520935,
-0.6522806286811829,
-0.22627373039722443,
-0.12707902491092682,
-0.14304937422275543,
1.1661888360977173,
0.1651666760444641,
-0.4350771903991699,
-0.3290022015571594,
-0.7624678611755371,
0.3975907564163208,
0.04545286297798157,
-0.12218012660741806,
-0.6512834429740906,
0.23368829488754272,
0.02607143297791481,
0.18510152399539948,
0.2142886072397232,
-0.5444496273994446,
-0.24050955474376678,
-0.243639275431633,
-0.03659401834011078,
0.9303313493728638,
0.089243583381176,
0.409140020608902,
-0.29086315631866455,
0.3365737199783325,
0.1311851143836975,
0.35105282068252563,
0.16301167011260986,
-0.6965531706809998,
-0.7299408912658691,
-0.3690716326236725,
0.8470973968505859,
0.5148592591285706,
-0.8435095548629761,
0.5026431679725647,
-0.06507186591625214,
-0.5400142073631287,
-0.422494113445282,
0.19592826068401337,
0.4764876961708069,
0.29429253935813904,
0.5643320083618164,
-0.7017077803611755,
-0.41168132424354553,
-0.6823623776435852,
-0.25476905703544617,
-0.09926234930753708,
-0.12734296917915344,
0.3098226487636566,
0.3697931170463562,
-0.0337546207010746,
1.1499582529067993,
-0.35154208540916443,
-0.16077959537506104,
-0.04424768313765526,
0.4227209687232971,
0.32886794209480286,
0.4859027564525604,
0.45151716470718384,
-0.8182741403579712,
-0.9039199948310852,
-0.191541388630867,
-0.41839438676834106,
-0.5597259998321533,
-0.4190700948238373,
-0.3504427969455719,
0.08698248118162155,
0.20179420709609985,
-0.2314077615737915,
0.24901774525642395,
0.8081063032150269,
-0.021262742578983307,
0.1544407457113266,
-0.17661282420158386,
-0.14372801780700684,
-0.5459346771240234,
-0.36170366406440735,
0.0838969349861145,
-0.21535082161426544,
-0.712238609790802,
-0.4582187533378601,
0.2281026393175125,
0.26276037096977234,
-0.678005576133728,
0.5325939655303955,
-0.6906695365905762,
-0.27856236696243286,
0.008431056514382362,
0.029649512842297554,
0.18905669450759888,
0.7371002435684204,
0.595596969127655,
0.5867147445678711,
0.6019601821899414,
-0.7278839349746704,
-0.22962108254432678,
0.2789926826953888,
-0.3657667636871338,
0.31360602378845215,
-0.40655937790870667,
0.2158782035112381,
0.1597817987203598,
0.3513721525669098,
-0.7953587770462036,
0.12329665571451187,
0.08785095065832138,
-0.6290358901023865,
0.2298155128955841,
-0.3584911525249481,
-0.18925105035305023,
-0.06790658831596375,
-0.11890340596437454,
0.3188813030719757,
0.5669492483139038,
-0.8359209299087524,
0.793279230594635,
0.2915836572647095,
-0.46753376722335815,
-0.502947211265564,
-0.6568772196769714,
-0.25584933161735535,
0.23014192283153534,
-0.6791372895240784,
0.5821895003318787,
-0.23862925171852112,
-0.03476467728614807,
0.10821408033370972,
0.11663384735584259,
-0.44160768389701843,
-0.06563136726617813,
0.1493208110332489,
0.20234434306621552,
-0.23229140043258667,
-0.09428145736455917,
0.5586517453193665,
0.1927059441804886,
0.28223538398742676,
-0.39841559529304504,
0.43318846821784973,
-0.03010326251387596,
-0.5895336866378784,
-0.2621818482875824,
0.3970383405685425,
0.04821660369634628,
-0.12461207807064056,
0.9003291726112366,
0.6109256744384766,
-0.4548262059688568,
-0.8098556995391846,
-0.4784184396266937,
-0.3761480450630188,
-0.43682006001472473,
0.15415021777153015,
-0.6625415086746216,
-0.40803423523902893,
0.5922529697418213,
-0.026616113260388374,
0.0008527299505658448,
0.2802230715751648,
0.7195864319801331,
-0.2592608630657196,
0.8432654142379761,
0.6717861294746399,
0.4492643177509308,
0.637405276298523,
-0.3311244249343872,
0.29213181138038635,
-0.6819463968276978,
-0.1717946082353592,
-0.18261514604091644,
0.0033118759747594595,
-0.3063197731971741,
-0.425462543964386,
0.3260796070098877,
0.11900114268064499,
0.01681828312575817,
0.3661487102508545,
-0.24106116592884064,
0.49959927797317505,
0.8037919402122498,
0.5072100162506104,
0.11493490636348724,
0.12327025830745697,
-0.42962542176246643,
-0.12218964844942093,
-0.8378559350967407,
-0.11864503473043442,
1.0233988761901855,
0.5332732200622559,
0.9208954572677612,
0.11175636947154999,
0.8933200836181641,
0.6265668272972107,
0.572952151298523,
-0.33146387338638306,
0.40544652938842773,
-0.12837667763233185,
-0.7680426836013794,
-0.30404168367385864,
-0.42668184638023376,
-0.6242980360984802,
0.2830199897289276,
0.08061075955629349,
-0.6310797333717346,
0.5908101797103882,
0.2249089628458023,
-0.6325122714042664,
0.3293725550174713,
-0.9061359167098999,
0.8310898542404175,
-0.5200932621955872,
-0.6873689293861389,
0.07529100775718689,
-0.9691917300224304,
0.32550764083862305,
-0.6103120446205139,
0.14794562757015228,
-0.20405730605125427,
0.04417913407087326,
0.8927133083343506,
-0.38206997513771057,
1.1337471008300781,
-0.5789850354194641,
-0.05379393696784973,
0.5138693451881409,
0.2040347009897232,
0.5474526286125183,
-0.13234733045101166,
-0.004397655837237835,
0.5259065628051758,
-0.010793290100991726,
-0.5207836031913757,
-0.30977141857147217,
0.5655681490898132,
-0.9262030124664307,
-0.10217519849538803,
-0.2952328622341156,
-0.2263762205839157,
-0.569286584854126,
0.1501709222793579,
0.19978295266628265,
0.24827565252780914,
-0.019888445734977722,
0.11464180052280426,
0.738481879234314,
-0.4076627790927887,
0.4994695484638214,
0.5772611498832703,
0.013887734152376652,
-0.2935894727706909,
0.8565810918807983,
0.03840358182787895,
0.5855175852775574,
0.4582274854183197,
0.050981637090444565,
-0.6892766356468201,
-0.7194918394088745,
-0.3719846308231354,
0.18021371960639954,
-0.8747217059135437,
-0.03887566924095154,
-0.7302230596542358,
-0.338649719953537,
-0.371406614780426,
-0.31728270649909973,
-0.4906749427318573,
-0.21764856576919556,
-0.19701145589351654,
0.4140302538871765,
-0.05300028249621391,
0.3190740942955017,
-0.30614107847213745,
0.7552089095115662,
-1.00693941116333,
0.06398458033800125,
0.14494717121124268,
0.3967599868774414,
-0.005881897639483213,
-0.7757506370544434,
-0.49661514163017273,
-0.1646394431591034,
-0.4344707429409027,
-0.618340253829956,
0.41053682565689087,
0.5231197476387024,
0.7845768332481384,
0.4440690875053406,
0.19401997327804565,
0.5375471711158752,
-0.5092599391937256,
0.6147084832191467,
0.18603941798210144,
-1.2614022493362427,
0.3156242072582245,
-0.11070546507835388,
-0.048549145460128784,
0.3427078127861023,
0.6762558817863464,
-0.1846827119588852,
-0.324140727519989,
-0.6588298082351685,
-0.8152217864990234,
0.7495644688606262,
0.37581679224967957,
-0.31111380457878113,
0.11347071081399918,
-0.12092766910791397,
0.41599875688552856,
0.054872047156095505,
-0.6820478439331055,
-0.0231152456253767,
-0.04595917463302612,
-0.07350631058216095,
0.1632215976715088,
0.11497936397790909,
0.07660730183124542,
-0.08261583000421524,
0.7986689805984497,
-0.20058153569698334,
0.5193688273429871,
0.2335718721151352,
-0.4421781599521637,
-0.284103661775589,
0.03889621049165726,
0.17530161142349243,
0.9663074612617493,
-0.49698886275291443,
-0.00483693927526474,
0.43894463777542114,
-0.15817581117153168,
0.11817705631256104,
0.291243314743042,
-0.10837779194116592,
0.1559094488620758,
0.5152702331542969,
0.5087007880210876,
0.13290826976299286,
-0.547748863697052,
0.7932460904121399,
-0.13820905983448029,
-0.23216454684734344,
-0.408023864030838,
-0.23455028235912323,
-0.07593132555484772,
0.4877374768257141,
0.4465709328651428,
-0.10068479925394058,
0.04762333631515503,
-0.18812716007232666,
0.655411958694458,
0.374295711517334,
-0.12240202724933624,
-0.29119282960891724,
0.7728817462921143,
0.37595805525779724,
-0.008954709395766258,
0.3863085210323334,
0.05503394454717636,
-0.5561370849609375,
0.5089238882064819,
0.3927970230579376,
1.0668540000915527,
-0.41863206028938293,
0.1585739105939865,
-0.12475480884313583,
0.16464513540267944,
0.12977397441864014,
0.20258617401123047,
-0.14324693381786346,
-0.8192262649536133,
-0.8294429779052734,
-0.7913392782211304,
-0.8411300778388977,
0.008016208186745644,
-0.6111282110214233,
0.12661314010620117,
-0.3889968693256378,
-0.24030371010303497,
-0.08774884045124054,
-0.008386373519897461,
-0.7663703560829163,
0.5090628862380981,
0.516655445098877,
0.8847665786743164,
-0.9588114619255066,
1.045273780822754,
0.28358328342437744,
-0.07837726920843124,
-0.3212870657444,
0.17789995670318604,
-0.236626997590065,
-0.7644582390785217,
0.8895030617713928,
-0.021283738315105438,
-0.32534247636795044,
0.042833611369132996,
-0.469282329082489,
-0.6775039434432983,
0.8153151869773865,
0.17259791493415833,
-0.5930664539337158,
-0.21314814686775208,
0.024793876335024834,
0.41494330763816833,
-0.569765567779541,
0.4709364175796509,
0.47116678953170776,
0.3576018214225769,
-0.11371682584285736,
-0.7829598784446716,
-0.15724101662635803,
0.10246653854846954,
-0.045793239027261734,
0.16644583642482758,
-0.5265164375305176,
1.119634747505188,
-0.22390568256378174,
-0.15402230620384216,
-0.09477392584085464,
0.8061472773551941,
0.001282342942431569,
0.3760721981525421,
1.038909673690796,
0.4416135251522064,
0.38708820939064026,
-0.04561908543109894,
0.6834926605224609,
-0.5533515214920044,
0.5411609411239624,
1.3181257247924805,
-0.3299504220485687,
0.9510345458984375,
0.54805588722229,
-0.3556174039840698,
0.6581587791442871,
1.110465168952942,
0.13857704401016235,
1.0473062992095947,
-0.0681522786617279,
-0.37614381313323975,
-0.46060672402381897,
0.23986440896987915,
-0.39934587478637695,
0.11700638383626938,
0.5301745533943176,
-0.45948779582977295,
-0.3085712790489197,
-0.112045519053936,
-0.2506588101387024,
-0.2951280474662781,
0.028995279222726822,
0.47127223014831543,
0.11495836079120636,
-0.6020160913467407,
0.5975164771080017,
-0.0677063837647438,
0.2687841057777405,
-0.7445093393325806,
-0.06070287525653839,
-0.20521745085716248,
0.44118404388427734,
-0.0729239359498024,
-0.6125282645225525,
0.04438631609082222,
-0.2725546360015869,
0.1754363477230072,
-0.4344640374183655,
0.6341739892959595,
-0.4826034903526306,
-0.3511343002319336,
0.9247695803642273,
0.9491759538650513,
0.17933106422424316,
-0.11367920786142349,
-0.9405349493026733,
0.1302969604730606,
-0.09603282809257507,
-0.6611204743385315,
0.17779412865638733,
0.4928557872772217,
-0.07217365503311157,
0.5018923878669739,
0.9050330519676208,
0.2372206747531891,
0.47815367579460144,
0.057384341955184937,
0.9862545132637024,
-0.3854770362377167,
-0.652280867099762,
-0.6091870665550232,
0.42635440826416016,
-0.14477196335792542,
-0.09319622814655304,
0.5557585954666138,
0.4610186219215393,
1.2089582681655884,
-0.14055024087429047,
0.9788802862167358,
-0.2127164751291275,
0.908268928527832,
-0.6266933679580688,
0.5093212127685547,
-0.5610105395317078,
0.3341134488582611,
-0.19968417286872864,
-1.0576608180999756,
-0.26638278365135193,
0.48114073276519775,
-0.5910435318946838,
0.2543579041957855,
0.8942695260047913,
0.7679646611213684,
-0.48550277948379517,
-0.12715578079223633,
0.36059385538101196,
0.15113615989685059,
0.382013201713562,
0.7635396718978882,
0.6534307599067688,
-0.16665735840797424,
0.5665846467018127,
-0.6736202239990234,
-0.4445147216320038,
-0.361458420753479,
-0.9473246932029724,
-1.104316234588623,
-0.3673776686191559,
-0.17165187001228333,
-0.375750333070755,
0.3397454619407654,
0.9592705368995667,
1.0717521905899048,
-1.1547424793243408,
-0.14153613150119781,
0.11513137072324753,
-0.14528796076774597,
-0.3550940752029419,
-0.2088547646999359,
0.584905207157135,
-0.42521706223487854,
-0.798339307308197,
0.324023574590683,
-0.045023009181022644,
-0.02462138421833515,
-0.27918872237205505,
-0.2289700210094452,
-0.29854682087898254,
0.34931957721710205,
0.5314608216285706,
0.22814443707466125,
-0.7264293432235718,
-0.3290657699108124,
-0.21503973007202148,
0.07257470488548279,
0.20871266722679138,
0.7470424175262451,
-0.6828768849372864,
0.36610013246536255,
0.38632678985595703,
1.1416250467300415,
0.7410508394241333,
0.09702415764331818,
0.5010019540786743,
-0.8001931309700012,
-0.21215319633483887,
0.2825399339199066,
0.28403663635253906,
0.2120010405778885,
-0.16376054286956787,
0.4351249039173126,
0.37703660130500793,
-0.5539246797561646,
-0.7062391638755798,
-0.07064028829336166,
-0.8741222620010376,
-0.18482565879821777,
0.7119678258895874,
-0.5427705645561218,
-0.5610770583152771,
-0.32471153140068054,
0.09957313537597656,
0.25913065671920776,
-0.47174879908561707,
0.7299675941467285,
0.8072015643119812,
-0.5662918090820312,
-0.3144044876098633,
-0.6312006115913391,
0.4393543601036072,
0.7008236050605774,
-0.9640526175498962,
-0.053261272609233856,
0.01730927638709545,
0.29432162642478943,
0.05175604298710823,
0.5461211800575256,
0.2702387273311615,
0.15241318941116333,
0.021397611126303673,
0.2498849481344223,
0.35207560658454895,
-0.6096416711807251,
0.02629445306956768,
0.23840700089931488,
-0.12270127236843109,
-0.43893489241600037
] |
http://arxiv.org/abs/2406.00021v2
|
http://arxiv.org/pdf/2406.00021v2
|
CrossVoice: Crosslingual Prosody Preserving Cascade-S2ST using Transfer Learning
| 2024-05-23T20:30:54 | 2024-06-18T05:26:48 |
Medha Hira, Arnav Goel, Anubha Gupta
|
cs.CL
|
cs.CL, cs.SD, eess.AS
|
This paper presents CrossVoice, a novel cascade-based Speech-to-Speech
Translation (S2ST) system employing advanced ASR, MT, and TTS technologies with
cross-lingual prosody preservation through transfer learning. We conducted
comprehensive experiments comparing CrossVoice with direct-S2ST systems,
showing improved BLEU scores on tasks such as Fisher Es-En, VoxPopuli Fr-En and
prosody preservation on benchmark datasets CVSS-T and IndicTTS. With an average
mean opinion score of 3.75 out of 4, speech synthesized by CrossVoice closely
rivals human speech on the benchmark, highlighting the efficacy of
cascade-based systems and transfer learning in multilingual S2ST with prosody
transfer.
|
[
0.024642204865813255,
-0.4114820063114166,
-0.19322820007801056,
0.5729452967643738,
-0.47340312600135803,
0.2581881880760193,
-0.208245187997818,
-0.15931758284568787,
0.11994258314371109,
0.3481530547142029,
-0.4910106062889099,
-0.45615872740745544,
-0.4914003312587738,
-0.048133734613657,
-0.35562610626220703,
0.9984006881713867,
0.09808891266584396,
0.5330857038497925,
0.10736257582902908,
-0.05774069204926491,
-0.5297136902809143,
-0.20260289311408997,
-1.0155633687973022,
-0.19962260127067566,
0.16566483676433563,
0.43193668127059937,
0.5582655072212219,
0.09637776017189026,
0.1219983845949173,
0.14600372314453125,
0.03898607939481735,
-0.10107452422380447,
-0.22240416705608368,
0.3858046233654022,
-0.5502417087554932,
-0.422549843788147,
-0.3942946195602417,
-0.19562193751335144,
0.8839795589447021,
0.3826872706413269,
-0.08673251420259476,
-0.033796388655900955,
0.33323025703430176,
0.5749974250793457,
-0.5703469514846802,
0.05686590448021889,
-0.4396774470806122,
0.1296570748090744,
-0.32693615555763245,
-0.6092705726623535,
-0.600254476070404,
-0.32938000559806824,
0.09441357851028442,
-0.3634369671344757,
0.02247030846774578,
-0.16516874730587006,
0.41219109296798706,
0.345341295003891,
-0.5109973549842834,
-0.11467236280441284,
-0.8309468626976013,
0.8031474351882935,
-0.253997266292572,
0.9032609462738037,
0.12903042137622833,
0.5850159525871277,
0.0570998415350914,
-0.81584632396698,
-0.13135257363319397,
-0.03569310903549194,
0.215519517660141,
0.5837481021881104,
-0.441074937582016,
-0.2953096330165863,
-0.23044417798519135,
0.10466445237398148,
-0.8307655453681946,
0.06544831395149231,
-0.22758643329143524,
-0.4015754163265228,
0.6831907033920288,
-0.04186427965760231,
0.2171465903520584,
-0.17191900312900543,
-0.6075279116630554,
-0.06688768416643143,
-0.8418349623680115,
0.32794061303138733,
-0.010238795541226864,
0.5538836121559143,
0.030924370512366295,
0.3565739691257477,
-0.011387553997337818,
0.1159953847527504,
0.15411031246185303,
0.06655166298151016,
0.43174415826797485,
-0.49683645367622375,
-0.3153861165046692,
0.4169296324253082,
0.8394034504890442,
0.1280311495065689,
0.3385384678840637,
-0.22814515233039856,
-0.08544662594795227,
-0.20451481640338898,
0.022040966898202896,
-0.40094301104545593,
0.22544445097446442,
-0.028641927987337112,
-0.44556230306625366,
-0.03490503877401352,
-0.20221024751663208,
-0.41616901755332947,
0.019405940547585487,
-0.32307636737823486,
0.4143650531768799,
-0.5094130635261536,
-0.39558836817741394,
-0.22565165162086487,
-0.02096458151936531,
-0.043483633548021317,
0.5150429606437683,
-0.6177948713302612,
0.49894049763679504,
0.513947069644928,
0.9312445521354675,
-0.5150966048240662,
-0.5344011187553406,
-0.9692419171333313,
0.26693055033683777,
-0.3794432580471039,
0.853544294834137,
-0.24420806765556335,
-0.826897919178009,
0.0809246227145195,
0.08891253173351288,
0.11210464686155319,
-0.8053390979766846,
0.5566645264625549,
-0.23432281613349915,
-0.043887414038181305,
-0.4471947252750397,
-0.3625437319278717,
0.2274460792541504,
-0.1412390172481537,
-0.2818504571914673,
1.0033725500106812,
-0.061712928116321564,
-0.5759071111679077,
0.10023706406354904,
-0.04333682730793953,
-0.6703883409500122,
0.0852167159318924,
0.10500773042440414,
-0.18715448677539825,
0.08108218759298325,
0.12383272498846054,
0.12893398106098175,
-0.43503373861312866,
0.0003201182698830962,
0.1781398355960846,
-0.16184808313846588,
-0.04530390724539757,
-0.4267253279685974,
0.862659752368927,
0.2809979319572449,
-0.23934799432754517,
0.11879336833953857,
-0.5691701769828796,
-0.23471485078334808,
-0.21885131299495697,
-0.2845935821533203,
-0.35953956842422485,
-0.39292415976524353,
0.21981172263622284,
0.3673912584781647,
0.0835965946316719,
-0.7749343514442444,
0.12557582557201385,
-0.09680580347776413,
0.36149200797080994,
0.5014885067939758,
-0.004685837775468826,
0.37558087706565857,
-0.11315923184156418,
0.6027509570121765,
0.17847417294979095,
0.13106215000152588,
0.3090560734272003,
-0.7778051495552063,
-0.47080522775650024,
-0.016437454149127007,
0.4424985647201538,
0.9769906997680664,
-1.0723316669464111,
0.13571445643901825,
-0.3893624544143677,
-0.4787270128726959,
-0.6407200694084167,
-0.18533757328987122,
0.5169675350189209,
0.5345386266708374,
0.6701464653015137,
-0.20742450654506683,
-0.3739118278026581,
-0.9959113001823425,
-0.5639257431030273,
0.0490637831389904,
-0.21911849081516266,
-0.05360976979136467,
0.07820289582014084,
-0.0053225355222821236,
0.6241118311882019,
0.027449360117316246,
-0.6225528120994568,
-0.19211909174919128,
0.46807941794395447,
-0.245232954621315,
0.6700018644332886,
0.2583359181880951,
-0.3891277015209198,
-0.7002418637275696,
0.21580654382705688,
-0.41417521238327026,
-0.32734566926956177,
-0.05676048621535301,
-0.006705760955810547,
0.3589549660682678,
0.5453295111656189,
-0.5819230675697327,
0.437065452337265,
0.6120558977127075,
-0.07304937392473221,
0.626550555229187,
-0.2732236087322235,
0.2640281319618225,
-1.3772250413894653,
0.07590783387422562,
0.06795858591794968,
-0.5079906582832336,
-0.6117702126502991,
-0.5405972599983215,
0.23740647733211517,
-0.18499700725078583,
-0.7841668725013733,
0.4300958514213562,
-0.5191373229026794,
-0.5279232263565063,
-0.3793471157550812,
0.09345253556966782,
-0.18709918856620789,
0.1875373274087906,
0.4002835154533386,
0.9615342020988464,
0.6609471440315247,
-0.24533621966838837,
0.42765459418296814,
0.4618532359600067,
-0.09991974383592606,
1.097551941871643,
-0.5417288541793823,
0.2353675812482834,
0.24068832397460938,
0.6054810285568237,
-0.8653326034545898,
0.5690585970878601,
0.10313986986875534,
-0.8388285636901855,
0.45566853880882263,
-0.36880695819854736,
-0.25116896629333496,
0.21875405311584473,
-0.05351565405726433,
0.49511170387268066,
0.44349566102027893,
-0.3366820216178894,
0.4665320813655853,
0.17374280095100403,
-0.7457756996154785,
-0.7920244932174683,
-0.9447050094604492,
0.29527047276496887,
0.3389585614204407,
-0.5271251797676086,
0.5366120934486389,
0.3269360065460205,
0.18237155675888062,
0.10649988055229187,
-0.06142091378569603,
0.2526710331439972,
-0.6901423931121826,
-0.11677149683237076,
-0.10820520669221878,
-0.011045671068131924,
0.2780824601650238,
0.5701318979263306,
-0.40307191014289856,
-0.11162389814853668,
-0.5443878769874573,
0.39943885803222656,
0.18942414224147797,
-0.15070989727973938,
-0.8263283371925354,
0.6738499402999878,
0.3135700225830078,
-0.11128970235586166,
0.13076837360858917,
0.6209081411361694,
-0.3427979350090027,
-0.4468991160392761,
-0.13138778507709503,
0.027295755222439766,
-0.38868358731269836,
0.421836256980896,
-0.7508614659309387,
-0.5484002232551575,
0.3484004735946655,
-0.3421860933303833,
-0.22993671894073486,
0.3552219867706299,
0.587199866771698,
-0.02601243555545807,
0.8396012187004089,
0.11975611001253128,
-0.030425604432821274,
0.6498780846595764,
-0.39098885655403137,
-0.11347267031669617,
-0.8182029128074646,
-0.34457141160964966,
-0.6537391543388367,
-0.2803758978843689,
-0.5209689736366272,
-0.49414217472076416,
0.29595935344696045,
-0.04235376417636871,
-0.1636141985654831,
0.38673245906829834,
-0.29757198691368103,
-0.1094263419508934,
0.6803675293922424,
-0.018788836896419525,
0.27034130692481995,
0.12481626123189926,
-0.25434914231300354,
-0.26850950717926025,
-0.6119412779808044,
-0.07234848290681839,
0.8103959560394287,
0.16335183382034302,
0.7622509598731995,
0.04308423027396202,
0.7975493669509888,
0.6047507524490356,
-0.031884126365184784,
-0.8181642889976501,
0.49539676308631897,
-0.536738932132721,
-0.2120227962732315,
-0.5172896385192871,
-0.5405982732772827,
-1.129286766052246,
0.04805965721607208,
-0.06636395305395126,
-0.6252047419548035,
0.42565539479255676,
0.16460557281970978,
-0.14409521222114563,
0.1449081003665924,
-0.37140780687332153,
0.66587233543396,
-0.2219449281692505,
-0.6783621907234192,
-0.347005158662796,
-0.811988115310669,
0.019169744104146957,
0.3251070976257324,
0.12916326522827148,
0.2897898852825165,
-0.0748252272605896,
0.7688283920288086,
-0.35127556324005127,
0.5430600643157959,
-0.40491801500320435,
-0.2641655504703522,
0.15558259189128876,
0.5319899916648865,
0.6299076080322266,
-0.021665504202246666,
0.03793107718229294,
0.3021124303340912,
-0.06780505925416946,
-0.25626781582832336,
-0.8864948153495789,
0.983646035194397,
-0.7630355358123779,
-0.44953155517578125,
-0.31634780764579773,
-0.5540072917938232,
-0.25386136770248413,
0.012177394703030586,
0.4839015603065491,
0.41394296288490295,
-0.2686489522457123,
0.12494295090436935,
0.5179608464241028,
-0.18587222695350647,
0.3431943356990814,
0.22649027407169342,
-0.034190647304058075,
-1.0858694314956665,
1.2214014530181885,
0.47844672203063965,
0.5485765337944031,
0.6279858946800232,
0.3633892834186554,
-0.7060849666595459,
-0.42107006907463074,
-0.5966769456863403,
0.2082781344652176,
-0.6793068051338196,
-0.24173951148986816,
-0.5614064931869507,
-0.22858352959156036,
-0.9538228511810303,
-0.12897178530693054,
-0.7355890274047852,
-0.7062094807624817,
-0.12778760492801666,
0.11313287913799286,
0.032358814030885696,
0.7608311176300049,
-0.500532865524292,
0.003585231490433216,
-0.971910834312439,
0.33538636565208435,
0.37973248958587646,
0.05782756581902504,
-0.2595536410808563,
-0.7361679673194885,
-0.2008264809846878,
-0.030404670163989067,
-0.21719984710216522,
-0.8925650715827942,
0.5405688881874084,
0.16464757919311523,
0.5190261602401733,
0.08229529857635498,
0.22531503438949585,
0.48807087540626526,
-0.5330962538719177,
0.9023347496986389,
0.4694528877735138,
-1.504164218902588,
0.9217656850814819,
-0.057827334851026535,
0.4795514941215515,
0.3571978807449341,
0.4969612956047058,
-0.8275576233863831,
-0.14216704666614532,
-0.5728187561035156,
-0.7282629609107971,
0.7606368064880371,
0.4168289005756378,
-0.47811850905418396,
0.4324162006378174,
0.058047011494636536,
0.40346696972846985,
0.004855873994529247,
-0.26894980669021606,
-0.1447034776210785,
-0.624780535697937,
-0.36614513397216797,
-0.37471476197242737,
0.17885452508926392,
-0.1089610606431961,
-0.2743949592113495,
0.7243891954421997,
0.01757402904331684,
0.3360964357852936,
0.3592682182788849,
-0.1870381236076355,
-0.09074139595031738,
0.29454877972602844,
0.8716184496879578,
0.03320559114217758,
-0.03635202720761299,
0.23015625774860382,
0.25573277473449707,
-0.7392541170120239,
0.48104366660118103,
0.14806899428367615,
-0.25910383462905884,
0.09341713041067123,
0.19446782767772675,
0.9370203018188477,
0.12950851023197174,
0.011357622221112251,
0.6526246666908264,
-0.02748367376625538,
-0.3757554292678833,
-0.0012433100491762161,
-0.41834279894828796,
0.20261827111244202,
0.45273783802986145,
0.4460773468017578,
0.2121768295764923,
0.2993433177471161,
-0.6420353055000305,
0.13917168974876404,
0.3107925057411194,
-0.6247445940971375,
-0.548076331615448,
0.7590718269348145,
0.5038851499557495,
-0.9158705472946167,
0.18225747346878052,
0.2783030867576599,
-0.17623423039913177,
0.019058290868997574,
0.7009610533714294,
1.2860918045043945,
-0.7626476883888245,
0.2584702670574188,
0.14065061509609222,
0.17612363398075104,
-0.027144884690642357,
0.5460385084152222,
-0.48076683282852173,
-0.36976733803749084,
-0.14215882122516632,
-0.30421432852745056,
-0.5972859859466553,
-0.26476508378982544,
-0.6635906100273132,
0.47005602717399597,
-0.22883595526218414,
-0.2049160897731781,
-0.03744713217020035,
-0.16688783466815948,
-0.35406583547592163,
0.5352386832237244,
0.15001489222049713,
0.9984844326972961,
-0.9509043097496033,
1.2396372556686401,
0.7135648131370544,
-0.4505520761013031,
-0.46060386300086975,
0.2067726105451584,
-0.09655658155679703,
-0.5050861239433289,
1.0882341861724854,
-0.3919883072376251,
-0.638663113117218,
0.2965833842754364,
-0.048762958496809006,
-0.9736383557319641,
1.0640841722488403,
0.6321364641189575,
-0.6542450785636902,
0.2589758336544037,
0.43937787413597107,
0.5146881341934204,
-0.2816280424594879,
0.14466696977615356,
0.5481843948364258,
0.2813238501548767,
0.3372133672237396,
-1.3402354717254639,
0.15274716913700104,
-0.2912167012691498,
0.13238869607448578,
-0.05838507041335106,
-0.727357029914856,
0.441052109003067,
0.10002682358026505,
-0.2891920208930969,
-0.1206277385354042,
0.6617913842201233,
0.27892473340034485,
0.4688316881656647,
0.44576457142829895,
0.46527448296546936,
0.29895541071891785,
-0.009563436731696129,
0.6778289079666138,
-0.10083844512701035,
0.22635026276111603,
1.054018259048462,
-0.45306557416915894,
1.1441576480865479,
0.6178499460220337,
-0.11216729879379272,
0.23621876537799835,
0.5266780257225037,
0.6032397747039795,
0.7705987691879272,
0.1415162831544876,
-0.22911256551742554,
-0.2748693823814392,
-0.12892760336399078,
-0.6099373698234558,
0.48204174637794495,
0.2362939417362213,
-0.13330836594104767,
-0.06729396432638168,
0.30574890971183777,
-0.30658265948295593,
-0.20306727290153503,
-0.2584601044654846,
0.7951227426528931,
0.25264406204223633,
-0.7286865711212158,
0.7707731127738953,
-0.5009669661521912,
0.43753811717033386,
-0.5954164862632751,
0.011366917751729488,
-0.33556509017944336,
0.18931944668293,
-0.2617207169532776,
-0.8483510613441467,
0.36049842834472656,
-0.28967541456222534,
0.09632250666618347,
-0.35315659642219543,
0.6680757999420166,
-0.6035520434379578,
-0.4064233601093292,
0.5975084900856018,
0.48297566175460815,
0.25222542881965637,
0.10444056242704391,
-0.5306386947631836,
-0.07543712109327316,
-0.12945227324962616,
-0.11351864784955978,
0.15263213217258453,
0.575171172618866,
-0.2612003982067108,
0.6131634712219238,
0.38333559036254883,
0.5139870047569275,
0.19567565619945526,
0.5661923885345459,
0.49375012516975403,
-0.6917368173599243,
-0.5993090271949768,
-0.2087399661540985,
0.5085412263870239,
-0.062403853982686996,
-0.5678467750549316,
0.7913377285003662,
0.6843096613883972,
0.8926944732666016,
-0.13433480262756348,
1.092481255531311,
0.45447543263435364,
0.6760775446891785,
-0.4968273937702179,
0.46532726287841797,
-0.5698205232620239,
-0.15105512738227844,
-0.4075515866279602,
-0.9206510782241821,
-0.3448791205883026,
0.11456528306007385,
-0.24036647379398346,
-0.14555978775024414,
0.8938161134719849,
0.6393044590950012,
-0.017770715057849884,
0.16171495616436005,
0.6635672450065613,
-0.056294869631528854,
0.09014890342950821,
0.45640501379966736,
0.9389734268188477,
-0.7596311569213867,
0.7069666981697083,
-0.05317464470863342,
-0.4276989698410034,
-0.33085793256759644,
-0.3174041509628296,
-0.2929031252861023,
-0.5903728008270264,
-0.5098714232444763,
-0.3387213945388794,
0.5000790953636169,
0.6549503207206726,
0.6962738633155823,
-0.9532431960105896,
-0.5993677377700806,
-0.14572328329086304,
-0.24020130932331085,
-0.7071635723114014,
-0.16839435696601868,
0.37233594059944153,
-0.40473610162734985,
-0.8876274228096008,
0.6949719786643982,
0.4450753927230835,
0.10299070179462433,
-0.2748852074146271,
-0.40839579701423645,
-0.3111723065376282,
0.08707346022129059,
0.5982956290245056,
0.21987394988536835,
-0.5466163158416748,
-0.22122323513031006,
0.02550424076616764,
0.09542879462242126,
0.056129809468984604,
1.16568922996521,
-0.6874837875366211,
0.2838307321071625,
0.9370338320732117,
0.5420900583267212,
0.9217576384544373,
-0.1413028985261917,
0.7430853247642517,
-0.804145336151123,
0.10978630930185318,
0.29274189472198486,
0.3456214666366577,
0.4266621172428131,
-0.3220600187778473,
0.22540724277496338,
0.5917523503303528,
-0.6366302371025085,
-0.5781624913215637,
0.31691625714302063,
-1.1497938632965088,
-0.1528262495994568,
1.1776337623596191,
-0.23582452535629272,
-0.04468662291765213,
-0.2617015540599823,
-0.3551498055458069,
0.7623915672302246,
-0.5795590877532959,
0.32340893149375916,
0.11887911707162857,
-0.31755656003952026,
-0.4998266398906708,
-0.17078667879104614,
0.5683427453041077,
0.550297200679779,
-0.5019538998603821,
0.12752754986286163,
0.19647975265979767,
0.4020947515964508,
0.15533210337162018,
0.4652385115623474,
-0.0855289027094841,
0.418362557888031,
0.2838715612888336,
0.24038057029247284,
0.061516035348176956,
-0.4725135266780853,
-0.415966272354126,
0.1888914406299591,
-0.3414340913295746,
-0.6146504282951355
] |
http://arxiv.org/abs/2405.15032v2
|
http://arxiv.org/pdf/2405.15032v2
|
Aya 23: Open Weight Releases to Further Multilingual Progress
| 2024-05-23T20:10:38 | 2024-05-31T14:47:55 |
Viraat Aryabumi, John Dang, Dwarak Talupuru, Saurabh Dash, David Cairuz, Hangyu Lin, Bharat Venkitesh, Madeline Smith, Jon Ander Campos, Yi Chern Tan, Kelly Marchisio, Max Bartolo, Sebastian Ruder, Acyr Locatelli, Julia Kreutzer, Nick Frosst, Aidan Gomez, Phil Blunsom, Marzieh Fadaee, Ahmet Üstün, Sara Hooker
|
cs.CL
|
cs.CL
|
This technical report introduces Aya 23, a family of multilingual language
models. Aya 23 builds on the recent release of the Aya model (\"Ust\"un et al.,
2024), focusing on pairing a highly performant pre-trained model with the
recently released Aya collection (Singh et al., 2024). The result is a powerful
multilingual large language model serving 23 languages, expanding state-of-art
language modeling capabilities to approximately half of the world's population.
The Aya model covered 101 languages whereas Aya 23 is an experiment in depth vs
breadth, exploring the impact of allocating more capacity to fewer languages
that are included during pre-training. Aya 23 outperforms both previous
massively multilingual models like Aya 101 for the languages it covers, as well
as widely used models like Gemma, Mistral and Mixtral on an extensive range of
discriminative and generative tasks. We release the open weights for both the
8B and 35B models as part of our continued commitment for expanding access to
multilingual progress.
|
[
-0.2562629282474518,
-0.360733300447464,
0.06811670958995819,
0.5805861949920654,
0.04650649055838585,
0.13886314630508423,
-0.4329770505428314,
-0.8889275193214417,
0.23517586290836334,
0.583429217338562,
-0.6829626560211182,
-0.1858399212360382,
-0.5653263330459595,
0.00966381561011076,
-0.4795128405094147,
0.8431736826896667,
-0.18496371805667877,
0.48455381393432617,
0.22445853054523468,
-0.4879237413406372,
-0.45618727803230286,
-0.40815627574920654,
-0.513218879699707,
-0.19242821633815765,
0.5825484991073608,
0.49658048152923584,
0.6110753417015076,
0.7948378920555115,
0.9128172993659973,
0.27699580788612366,
0.10155972093343735,
-0.17703165113925934,
-0.2124616950750351,
0.0973106324672699,
0.33766353130340576,
-0.8822104334831238,
-0.6509196162223816,
-0.03585047274827957,
0.8701788783073425,
0.8913158774375916,
-0.39498233795166016,
0.5841933488845825,
-0.3571052849292755,
0.6403424143791199,
-0.7597106099128723,
0.21219469606876373,
-0.44651269912719727,
0.060710981488227844,
-0.7246584296226501,
0.23493535816669464,
-0.4493628442287445,
-0.045097287744283676,
0.06448698043823242,
-0.94688880443573,
-0.12726140022277832,
0.009368635714054108,
0.932295024394989,
0.17698468267917633,
-0.4424399435520172,
-0.4788695275783539,
-0.739115297794342,
0.8582867980003357,
-0.664949357509613,
0.7323784828186035,
0.3894502520561218,
0.6603683233261108,
0.4693915545940399,
-0.575242280960083,
-0.2912885248661041,
-0.3102022707462311,
0.2461378127336502,
-0.03569351136684418,
-0.2595672011375427,
-0.03489530086517334,
0.1035812497138977,
0.5985743999481201,
-0.5061746835708618,
0.19476068019866943,
-0.8788872957229614,
-0.02738172933459282,
0.8356176018714905,
0.009847335517406464,
0.45344018936157227,
0.08117584884166718,
-0.1102101057767868,
-0.18604309856891632,
-0.9354150295257568,
-0.24171142280101776,
0.7848823666572571,
0.35994359850883484,
-0.4265328347682953,
0.832610547542572,
-0.22715863585472107,
0.6046355366706848,
-0.13116414844989777,
-0.11636155843734741,
0.43616917729377747,
-0.4618827700614929,
-0.049360401928424835,
0.14606395363807678,
0.8841226100921631,
0.06637171655893326,
0.5427684187889099,
0.0005691265105269849,
0.05713694915175438,
0.007611225359141827,
0.21888764202594757,
-0.8451822400093079,
-0.16070598363876343,
-0.08762884885072708,
-0.8647333979606628,
-0.12789948284626007,
0.05656319111585617,
-0.7394384145736694,
-0.48967263102531433,
-0.07400878518819809,
0.469677209854126,
-0.23462073504924774,
-0.7438567876815796,
0.25779983401298523,
0.07845097780227661,
0.005171255674213171,
0.5033713579177856,
-1.0137417316436768,
0.3745209872722626,
0.1986984759569168,
0.6712684035301208,
-0.1609993726015091,
-0.6137441396713257,
-0.26569995284080505,
0.06640136241912842,
-0.550722599029541,
0.16644270718097687,
-0.5376480221748352,
-0.36275947093963623,
0.17940707504749298,
0.05038680508732796,
-0.05004969611763954,
-0.7105878591537476,
0.17639531195163727,
-0.49210667610168457,
0.21751844882965088,
-0.6594969034194946,
0.17087416350841522,
-0.4051312208175659,
-0.011409645900130272,
-0.8774622082710266,
0.9978017210960388,
-0.05837626755237579,
-0.6665647029876709,
0.4577147364616394,
-0.7353036999702454,
-0.10079383105039597,
0.18040616810321808,
0.010319728404283524,
-0.2050849050283432,
0.09169558435678482,
-0.07788114994764328,
0.01627284288406372,
-0.3775460720062256,
0.15037763118743896,
-0.477133184671402,
-0.32571184635162354,
0.08125749975442886,
-0.47560104727745056,
0.8889346718788147,
0.44250059127807617,
-0.1157257929444313,
0.44416701793670654,
-0.7002558708190918,
-0.3928520679473877,
0.3174176812171936,
-0.5103458166122437,
-0.14227357506752014,
-0.2838510274887085,
0.11959678679704666,
0.37269794940948486,
0.6683480143547058,
-0.8991829752922058,
0.27080756425857544,
-0.19319269061088562,
0.27833616733551025,
0.3370652198791504,
-0.2823256552219391,
0.5040397047996521,
-0.20790596306324005,
0.9455252885818481,
-0.012320084497332573,
0.14742833375930786,
-0.44057121872901917,
-0.7171655893325806,
-0.9476537704467773,
-0.2703084349632263,
0.3833332657814026,
0.6078662276268005,
-0.45727935433387756,
0.04596380144357681,
-0.11967446655035019,
-0.5419086813926697,
-1.2207801342010498,
0.20914138853549957,
0.5338677763938904,
-0.03158721327781677,
0.3193679749965668,
-0.4311780333518982,
-0.7162566184997559,
-0.931622326374054,
-0.2096468210220337,
-0.4038277864456177,
0.2269611805677414,
0.03536267206072807,
0.4464552104473114,
0.04495224729180336,
0.3660573959350586,
-0.497083455324173,
-0.1551472544670105,
-0.3657788932323456,
0.04876362904906273,
-0.17106300592422485,
0.3262488543987274,
0.8493837714195251,
-0.6568928956985474,
-0.5119944214820862,
0.13612957298755646,
-1.0277769565582275,
0.2564471960067749,
0.2162202149629593,
-0.3195476830005646,
0.05781763792037964,
0.32451868057250977,
-0.6667013764381409,
0.5801874995231628,
0.6472070217132568,
-0.18889382481575012,
0.6072425246238708,
-0.20449113845825195,
0.14673520624637604,
-1.0419448614120483,
0.2787225842475891,
-0.1112418845295906,
0.1943264603614807,
-0.5484431385993958,
0.4316729009151459,
0.31880927085876465,
-0.4476998746395111,
-0.5138304829597473,
0.6784060597419739,
-0.6298261880874634,
-0.26525062322616577,
-0.13571570813655853,
-0.3068913221359253,
-0.022415392100811005,
0.3036157786846161,
-0.1064213365316391,
0.6427361369132996,
0.8251840472221375,
-0.5509815812110901,
0.4364241659641266,
0.38068604469299316,
-0.18226365745067596,
0.0759592279791832,
-0.49164608120918274,
-0.40811243653297424,
-0.19446468353271484,
0.4089035987854004,
-0.8583340644836426,
-0.29887986183166504,
0.21481554210186005,
-0.5089517831802368,
0.32934215664863586,
0.1366872638463974,
-0.31101465225219727,
-0.6204122304916382,
-0.2646162509918213,
0.6081891655921936,
-0.0007721456931903958,
-0.5271819829940796,
0.43901562690734863,
0.4008915424346924,
-0.16775940358638763,
-0.8394836783409119,
-1.335799217224121,
0.05661751702427864,
-0.4166332185268402,
-0.4064176678657532,
0.11846686899662018,
-0.33004456758499146,
-0.43270227313041687,
0.20483143627643585,
0.02318752557039261,
0.008319101296365261,
0.05751586705446243,
-0.0011550526833161712,
0.04272635281085968,
-0.4473104476928711,
0.12816402316093445,
-0.2378074675798416,
0.15822391211986542,
0.12108339369297028,
-0.07737448811531067,
0.7411749362945557,
-0.21623177826404572,
-0.4244776964187622,
-0.32463890314102173,
0.477433443069458,
0.639036238193512,
-1.0498387813568115,
1.1596962213516235,
0.7986910343170166,
-0.7221898436546326,
0.2027113437652588,
-0.44716212153434753,
0.20208224654197693,
-0.4465857744216919,
0.5608954429626465,
-0.53912353515625,
-0.5937001705169678,
0.9576231837272644,
0.45187830924987793,
0.20796313881874084,
0.7836412787437439,
0.6887914538383484,
0.44238045811653137,
1.2609591484069824,
0.771023154258728,
-0.06113990768790245,
0.7550058960914612,
-0.34722843766212463,
0.26319050788879395,
-0.6535797715187073,
-0.6466816663742065,
-0.7082680463790894,
-0.12067048996686935,
-0.6916682720184326,
-0.14229309558868408,
0.07688173651695251,
0.2720984220504761,
-0.28929439187049866,
0.49122509360313416,
-0.15479135513305664,
0.007854779250919819,
0.5959514379501343,
-0.1393168717622757,
0.49973195791244507,
-0.15128417313098907,
-0.03970438241958618,
-0.0513480044901371,
-0.3536515533924103,
-0.0395161435008049,
1.4694383144378662,
0.4150662422180176,
0.7120680212974548,
0.5565900206565857,
0.5533050298690796,
-0.10005766153335571,
0.47956612706184387,
-0.8884779214859009,
0.4118553102016449,
-0.21594665944576263,
-1.1322101354599,
-0.1886962652206421,
-0.5893268585205078,
-1.0478041172027588,
0.28402116894721985,
-0.04096527397632599,
-0.9694581627845764,
0.046286944299936295,
-0.16144123673439026,
0.1463935673236847,
0.3290492296218872,
-0.6653547883033752,
0.8376115560531616,
-0.2148670256137848,
0.1435990184545517,
-0.5928047299385071,
-0.5153514742851257,
0.8682519793510437,
-0.13139620423316956,
0.2015894651412964,
-0.404869943857193,
-0.05314631015062332,
0.8987845182418823,
-0.2269294261932373,
0.4358597993850708,
-0.30321863293647766,
-0.24436542391777039,
0.30030980706214905,
-0.032448455691337585,
-0.13338786363601685,
-0.04263521358370781,
-0.2785220742225647,
0.09561982750892639,
-0.13578467071056366,
-0.5214427709579468,
-0.3321364223957062,
0.7429381608963013,
-0.9046873450279236,
-0.2780708968639374,
-0.24472452700138092,
-0.6966575384140015,
-0.13250766694545746,
0.3795718848705292,
0.33719831705093384,
0.7252234816551208,
-0.17668569087982178,
0.3537766635417938,
0.42480531334877014,
-0.5254954695701599,
0.8056074976921082,
0.7862929105758667,
-0.7649104595184326,
-0.4884704649448395,
1.002219796180725,
0.4252181053161621,
0.19315862655639648,
0.5731323957443237,
0.13227452337741852,
-0.2901172637939453,
-0.5514826774597168,
-0.8855379223823547,
0.3472420573234558,
-0.5512488484382629,
-0.07455998659133911,
-0.7968218922615051,
-0.18733422458171844,
-0.41217634081840515,
0.32752054929733276,
-0.6848992705345154,
-0.6620256900787354,
0.22067199647426605,
0.02829092927277088,
0.2856821119785309,
1.2911049127578735,
0.023928379639983177,
0.5101407170295715,
-0.8178815841674805,
0.3481222987174988,
-0.027402270585298538,
0.3797329366207123,
0.2824532091617584,
-0.3101532757282257,
-0.6579434871673584,
0.1478041708469391,
-0.46065181493759155,
-1.1533010005950928,
0.29812201857566833,
0.24544911086559296,
0.7208240032196045,
0.36262238025665283,
-0.3153376281261444,
0.5103293657302856,
-0.2471480369567871,
0.7011063694953918,
0.39904308319091797,
-0.8188062906265259,
0.43251967430114746,
-0.7526907324790955,
0.7372363805770874,
0.6365096569061279,
0.6206145286560059,
-0.6010667085647583,
-0.2296910136938095,
-0.6063114404678345,
-0.6657933592796326,
0.6799651384353638,
-0.19344116747379303,
-0.044313717633485794,
0.21746236085891724,
-0.055883169174194336,
0.2355067878961563,
0.6313198804855347,
-0.7522403597831726,
-0.3698893189430237,
-0.11997305601835251,
-0.3788949251174927,
-0.18034186959266663,
0.2405633181333542,
0.10866965353488922,
-0.254423052072525,
0.4225626289844513,
-0.14015640318393707,
0.1964433491230011,
-0.4636416733264923,
-0.18799512088298798,
-0.48259538412094116,
0.030396824702620506,
0.3798065483570099,
0.8047067523002625,
-0.2114480584859848,
-0.27955058217048645,
0.13297662138938904,
-0.7998601794242859,
-0.10868299007415771,
0.45804837346076965,
-0.13221114873886108,
-0.25323590636253357,
0.5131655931472778,
0.9427666068077087,
0.12098050117492676,
-0.7242428660392761,
0.37416303157806396,
-0.1638542115688324,
-0.1983136534690857,
-0.008407266810536385,
-0.35178858041763306,
0.11902101337909698,
-0.1715424507856369,
0.6539671421051025,
0.13486845791339874,
0.3352610170841217,
-0.8597750663757324,
0.05003242939710617,
0.21315951645374298,
-0.3410601317882538,
-0.47794094681739807,
0.7245071530342102,
0.202178955078125,
-0.049987826496362686,
0.5042858719825745,
-0.3129545748233795,
-0.36201995611190796,
0.47397303581237793,
0.43364617228507996,
0.5391654372215271,
-0.5741426348686218,
0.19443029165267944,
0.5388821959495544,
0.4275505244731903,
-0.13762255012989044,
0.46201664209365845,
0.18122822046279907,
-0.6665657758712769,
-0.5210016965866089,
-0.8395764231681824,
-0.5412114858627319,
0.25315120816230774,
-1.0829007625579834,
0.17581872642040253,
-0.18012161552906036,
0.06694543361663818,
-0.17749476432800293,
0.7331990003585815,
-0.6369006037712097,
0.49790704250335693,
0.15450885891914368,
0.9432396292686462,
-0.9290403723716736,
0.7095050811767578,
1.0247069597244263,
-0.6467956900596619,
-0.8622481822967529,
0.08659370988607407,
0.1222655177116394,
-0.8214835524559021,
0.03613715246319771,
0.3831566870212555,
0.26280850172042847,
-0.12705399096012115,
-0.11758755147457123,
-1.3570338487625122,
0.9141733646392822,
0.7586566209793091,
-0.3565414547920227,
-0.2820992171764374,
0.0297104362398386,
0.3928094208240509,
-0.3224671483039856,
0.3076220154762268,
0.31067389249801636,
0.7046849131584167,
0.0319032184779644,
-1.2009263038635254,
0.01156366616487503,
-0.5802812576293945,
-0.46302053332328796,
0.42193496227264404,
-0.9382638335227966,
0.8935260772705078,
-0.36797529458999634,
0.04059164598584175,
0.384064257144928,
0.8371103405952454,
0.5276021361351013,
0.1469048112630844,
0.3311328589916229,
0.4878915250301361,
0.9181641340255737,
0.00015922448073979467,
1.0501633882522583,
-0.4422002136707306,
-0.09561508148908615,
0.8199422359466553,
-0.13428513705730438,
1.081125259399414,
0.09912367910146713,
-0.24887412786483765,
0.3789944648742676,
0.7361301779747009,
0.15254002809524536,
0.43380051851272583,
0.32371780276298523,
-0.20423366129398346,
0.007765401620417833,
-0.6952077150344849,
-0.8844524025917053,
0.9250794053077698,
0.33782845735549927,
0.034078702330589294,
-0.22473052144050598,
0.14646181464195251,
0.23872290551662445,
-0.0950385108590126,
-0.40326687693595886,
0.354496568441391,
0.1337602436542511,
-0.9424936175346375,
0.3793141841888428,
0.44141310453414917,
0.7388911247253418,
-0.8136005401611328,
0.12224826961755753,
0.08697327971458435,
0.4333634674549103,
-0.1949564516544342,
-0.5557814836502075,
0.4079846441745758,
-0.030367277562618256,
0.04817827418446541,
-0.32144832611083984,
0.6773800253868103,
-0.7944689989089966,
-0.5746299624443054,
0.6149695515632629,
0.7825820446014404,
-0.04078451544046402,
-0.02948661893606186,
-0.599626898765564,
0.4399608075618744,
-0.16517701745033264,
-0.36093369126319885,
0.42683687806129456,
0.22453726828098297,
-0.22336071729660034,
0.6084327101707458,
0.46027567982673645,
0.03306884318590164,
0.4331737458705902,
0.2095344066619873,
0.6838939785957336,
-0.30551430583000183,
-0.44638901948928833,
-0.2811391353607178,
0.3467074930667877,
0.23635682463645935,
-0.8519465923309326,
1.0403870344161987,
0.7835336327552795,
0.8228235244750977,
0.09149222075939178,
0.7413352727890015,
-0.044126879423856735,
0.12204603850841522,
-0.2775406837463379,
0.840715765953064,
-0.8056485652923584,
-0.222932368516922,
-0.016149671748280525,
-1.0503160953521729,
-0.0946042463183403,
0.2602842450141907,
-0.16216982901096344,
0.4339433014392853,
0.781700849533081,
0.35691705346107483,
0.1411735564470291,
0.19648820161819458,
-0.02438727766275406,
0.11675932258367538,
0.1299532800912857,
0.48915013670921326,
0.737524151802063,
-0.5576780438423157,
0.7997180223464966,
-0.2993088662624359,
-0.19121664762496948,
-0.025338539853692055,
-0.42548486590385437,
-0.786502480506897,
-0.4915817975997925,
-0.04853589087724686,
-0.11997519433498383,
0.06128738448023796,
0.41619354486465454,
0.9671623706817627,
-0.8022900223731995,
-0.6096590757369995,
-0.053640492260456085,
-0.4612795412540436,
-0.12210143357515335,
-0.16607829928398132,
-0.014812031760811806,
-0.004558736924082041,
-0.7173486948013306,
0.8095691800117493,
-0.016661707311868668,
-0.1269933581352234,
-0.7225030064582825,
-0.33049729466438293,
-0.5306580066680908,
0.08473602682352066,
-0.013772877864539623,
0.36567452549934387,
-0.4487462043762207,
0.09545297920703888,
0.15597254037857056,
-0.10219348967075348,
-0.11247645318508148,
0.5464492440223694,
-0.27446338534355164,
0.3943706452846527,
0.6714898347854614,
0.4039056897163391,
1.0819240808486938,
-0.30452224612236023,
1.0422192811965942,
-0.7466915845870972,
0.2665967643260956,
-0.09067495912313461,
0.3813749849796295,
0.5815489292144775,
-0.09054870903491974,
0.5556972026824951,
0.005666257813572884,
-0.12203989923000336,
-1.0103833675384521,
0.3011685013771057,
-0.7797382473945618,
-0.0919324979186058,
0.852668285369873,
-0.2511596977710724,
-0.01002993993461132,
0.3760550916194916,
0.013805005699396133,
0.5760062336921692,
-0.28542035818099976,
0.2671416997909546,
1.0165623426437378,
0.4171028435230255,
-0.1443212777376175,
-0.9792922139167786,
0.28749561309814453,
0.5268006324768066,
-0.9582914113998413,
-0.03888297080993652,
0.1024974137544632,
-0.0940280333161354,
0.3588365614414215,
0.7281942963600159,
-0.3165642321109772,
0.41669368743896484,
0.1674840897321701,
0.3003879487514496,
0.0752091035246849,
-1.0752458572387695,
-0.3308270275592804,
0.18387509882450104,
0.27256181836128235,
-0.3352527916431427
] |
http://arxiv.org/abs/2405.15028v1
|
http://arxiv.org/pdf/2405.15028v1
|
AGRaME: Any-Granularity Ranking with Multi-Vector Embeddings
| 2024-05-23T20:04:54 | 2024-05-23T20:04:54 |
Revanth Gangi Reddy, Omar Attia, Yunyao Li, Heng Ji, Saloni Potdar
|
cs.CL
|
cs.CL, cs.IR
|
Ranking is a fundamental and popular problem in search. However, existing
ranking algorithms usually restrict the granularity of ranking to full passages
or require a specific dense index for each desired level of granularity. Such
lack of flexibility in granularity negatively affects many applications that
can benefit from more granular ranking, such as sentence-level ranking for
open-domain question-answering, or proposition-level ranking for attribution.
In this work, we introduce the idea of any-granularity ranking, which leverages
multi-vector embeddings to rank at varying levels of granularity while
maintaining encoding at a single (coarser) level of granularity. We propose a
multi-granular contrastive loss for training multi-vector approaches, and
validate its utility with both sentences and propositions as ranking units.
Finally, we demonstrate the application of proposition-level ranking to
post-hoc citation addition in retrieval-augmented generation, surpassing the
performance of prompt-driven citation generation.
|
[
-0.4510691165924072,
-0.8227834105491638,
0.5147582292556763,
0.18147122859954834,
-0.12354298681020737,
-0.24455416202545166,
0.10185064375400543,
-0.0944187343120575,
0.4768546223640442,
0.04773211106657982,
0.08448018878698349,
-0.6881638765335083,
-0.6004665493965149,
-0.16937902569770813,
-0.38723528385162354,
0.9798393845558167,
0.2442810833454132,
-0.0654536783695221,
-0.7510496973991394,
-0.24737808108329773,
-0.19867335259914398,
-0.9450755715370178,
-0.36083102226257324,
-0.2516116797924042,
0.8150478601455688,
0.33532533049583435,
0.8363244533538818,
0.7956333160400391,
0.4534345865249634,
0.23051492869853973,
-0.1946483999490738,
0.16118955612182617,
-0.6599621176719666,
0.12650056183338165,
-0.3230029344558716,
-0.28367334604263306,
-0.47546836733818054,
0.2268749326467514,
1.0127094984054565,
0.8496655225753784,
-0.15360887348651886,
-0.18257655203342438,
-0.1911613643169403,
0.5530903339385986,
-1.029439926147461,
-0.21713663637638092,
-0.728401780128479,
0.29288598895072937,
-0.36047565937042236,
-0.6379525661468506,
-0.1873580664396286,
-0.41520988941192627,
0.08478759974241257,
-0.5862429738044739,
0.1061515286564827,
0.29482412338256836,
0.8366542458534241,
0.12678790092468262,
-0.5444300770759583,
-0.26607081294059753,
-0.38432401418685913,
0.962704062461853,
0.024786051362752914,
0.351061075925827,
0.32717224955558777,
0.02459447644650936,
0.3492279052734375,
-0.497728168964386,
-0.062373872846364975,
-0.18824511766433716,
0.030037183314561844,
0.20325207710266113,
0.08490113914012909,
0.017785876989364624,
-0.11427712440490723,
0.5088562369346619,
-0.4478725492954254,
-0.17305877804756165,
-0.2221199870109558,
-0.17601662874221802,
0.2921257019042969,
-0.056941695511341095,
-0.13432948291301727,
-0.3199790120124817,
-0.6666790246963501,
-0.22366654872894287,
-0.4891674220561981,
0.16497327387332916,
0.29482579231262207,
0.5224123001098633,
0.46346336603164673,
0.6152106523513794,
-0.13646648824214935,
0.5029104948043823,
-0.11133924126625061,
-0.030810043215751648,
0.3026759624481201,
-0.6846585869789124,
0.2043996900320053,
-0.03852821886539459,
0.44804689288139343,
-0.04961412400007248,
-0.20972761511802673,
-0.42919453978538513,
-0.22092673182487488,
-0.17157861590385437,
0.6647506356239319,
-0.9496243596076965,
-0.22421523928642273,
0.24470531940460205,
-0.5816389918327332,
-0.5682464838027954,
0.6667560338973999,
-0.5375268459320068,
-0.33440008759498596,
-0.07183495163917542,
0.7770001292228699,
-0.7131739854812622,
0.03644828498363495,
0.1449379175901413,
-0.33963313698768616,
0.3480980098247528,
0.22853589057922363,
-0.48839882016181946,
0.2725742757320404,
0.654951810836792,
0.9227477312088013,
-0.1313517838716507,
-0.7446935772895813,
-0.9594258069992065,
0.17664161324501038,
-0.4771764278411865,
1.2629648447036743,
-1.1947556734085083,
-0.6587693095207214,
0.1301487386226654,
-0.6425185203552246,
-0.2897356450557709,
-0.6426398754119873,
0.882278323173523,
-0.23390525579452515,
-0.10600455850362778,
-0.4377703070640564,
-0.5172266364097595,
0.011753585189580917,
0.4089999496936798,
-0.2529621720314026,
1.2347441911697388,
-0.08935229480266571,
-0.7821932435035706,
0.31339311599731445,
-0.8206453919410706,
-0.3359379172325134,
-0.04387572407722473,
-0.44511714577674866,
-0.5388096570968628,
0.31330403685569763,
0.2309499979019165,
0.3932858109474182,
0.20331406593322754,
-0.1357114315032959,
-0.2278802990913391,
-0.43783730268478394,
0.015043523162603378,
-0.27944591641426086,
0.1674354523420334,
0.013105805031955242,
0.2057604193687439,
0.15670256316661835,
-0.4202130436897278,
0.13376377522945404,
-0.038905397057533264,
-0.5766468644142151,
-0.5132174491882324,
0.0035103296395391226,
-0.052721451967954636,
0.33646711707115173,
0.2785243093967438,
-0.4679105281829834,
0.5033720135688782,
0.05588587000966072,
0.2145243138074875,
0.6321420669555664,
-0.0045830667950212955,
0.8680927157402039,
-0.6013816595077515,
0.5320667624473572,
0.21642227470874786,
0.05761130154132843,
-0.08941430598497391,
-0.40872734785079956,
-0.7164356112480164,
-0.39553818106651306,
0.5085183382034302,
0.5681133270263672,
-0.7698458433151245,
0.35258999466896057,
-0.7324689030647278,
-0.4145732522010803,
-0.4921349287033081,
-0.05724615603685379,
0.4548107981681824,
0.2380840927362442,
0.33419638872146606,
-0.22407206892967224,
-0.22656366229057312,
-0.6794148087501526,
-0.36174917221069336,
0.08963797241449356,
-0.07294104248285294,
0.8749819397926331,
0.6193259954452515,
-0.20713312923908234,
0.9037789702415466,
-0.6466795802116394,
-0.683906078338623,
0.026553748175501823,
0.35677993297576904,
-0.1516757309436798,
0.5135415196418762,
0.4374883472919464,
-1.0161223411560059,
0.05978882685303688,
-0.0755201131105423,
-0.5222063064575195,
0.14781704545021057,
0.14880812168121338,
-0.4279566705226898,
-0.32262709736824036,
0.6458476781845093,
-0.18704555928707123,
0.40715253353118896,
0.1829398274421692,
-0.25483202934265137,
0.5113909244537354,
-0.4837508797645569,
0.37997037172317505,
-0.855052649974823,
0.1452292650938034,
-0.1666593849658966,
-0.39434611797332764,
-0.42728888988494873,
0.12114287167787552,
-0.0636272206902504,
-0.5601035952568054,
-0.5290683507919312,
0.41533833742141724,
0.08490388095378876,
-0.10567370057106018,
0.16267043352127075,
0.5351872444152832,
0.2704140841960907,
0.3067413866519928,
-0.05939382314682007,
0.9286145567893982,
0.6561374068260193,
-0.851030170917511,
-0.14225080609321594,
0.7032069563865662,
0.11211182177066803,
0.9537718296051025,
-0.6665239930152893,
0.04283561185002327,
-0.41507017612457275,
0.3610551655292511,
-0.7168768048286438,
0.026440704241394997,
-0.439181387424469,
-0.5286498069763184,
0.13848991692066193,
-0.1274462789297104,
-0.16198889911174774,
0.16753414273262024,
-1.2424647808074951,
0.8085897564888,
-0.09872528165578842,
-0.6267945766448975,
0.5535057783126831,
0.3204849064350128,
-0.18472863733768463,
-0.633258044719696,
-0.4140082001686096,
0.06221192330121994,
-0.06457966566085815,
-0.707983136177063,
0.9878366589546204,
-0.21364308893680573,
0.2026526927947998,
0.0009903048630803823,
-0.15498408675193787,
-0.014094855636358261,
-0.18699254095554352,
0.03352326154708862,
-0.2140720635652542,
0.05563114956021309,
0.4898258149623871,
-0.0335591584444046,
-0.21587741374969482,
-0.3783179521560669,
-0.3051987290382385,
0.5858091711997986,
-0.47820377349853516,
-0.2817402184009552,
0.029918456450104713,
0.7326394319534302,
0.3054298162460327,
-0.4834737777709961,
0.7118158936500549,
0.7381376624107361,
-0.21764573454856873,
-0.1412627249956131,
-0.321572870016098,
0.29777029156684875,
-0.40752947330474854,
0.10557729005813599,
-0.5973263382911682,
-0.8397648334503174,
0.540258526802063,
-0.2265370786190033,
-0.16386032104492188,
0.6279230713844299,
0.2944779694080353,
-0.13230349123477936,
0.958684504032135,
0.47199276089668274,
0.048846159130334854,
0.7425777912139893,
-0.4145897626876831,
0.2780504822731018,
-0.967039942741394,
-0.4937458336353302,
-0.8641710877418518,
-0.40513360500335693,
-0.6433491110801697,
-0.5076743960380554,
0.6429263353347778,
0.25491347908973694,
-0.21868208050727844,
-0.015346161089837551,
-0.6895472407341003,
0.6635686755180359,
0.5618301033973694,
0.18933632969856262,
0.14025644958019257,
-0.019089573994278908,
-0.2806479334831238,
0.28755220770835876,
-0.7921369671821594,
-0.3176421821117401,
0.9228623509407043,
-0.1342969685792923,
0.6602768898010254,
0.2878289520740509,
0.9238852262496948,
0.5714852213859558,
-0.36696258187294006,
-0.8799677491188049,
0.26913923025131226,
-0.35988864302635193,
-0.3995359241962433,
-0.3982839584350586,
-0.7677054405212402,
-1.075941801071167,
0.8218708038330078,
-0.4658734202384949,
-0.429851233959198,
0.4049520790576935,
-0.10253871232271194,
-0.2961031198501587,
0.24089308083057404,
-0.3106093406677246,
0.8750028014183044,
0.17862161993980408,
-0.06513865292072296,
0.1010742038488388,
-0.30772650241851807,
0.09843578189611435,
0.2663477063179016,
0.2696093022823334,
0.11416526138782501,
-0.40239307284355164,
0.669658362865448,
-0.28606539964675903,
0.0944301187992096,
0.048516616225242615,
0.13345597684383392,
-0.061587799340486526,
-0.08705633878707886,
0.38386163115501404,
0.6260251402854919,
-0.18145012855529785,
0.07178086042404175,
0.147402822971344,
-0.882391095161438,
-0.42256295680999756,
1.040899395942688,
-0.6630842089653015,
-0.21424564719200134,
-0.6289783120155334,
-0.44158515334129333,
0.07320982962846756,
0.20901760458946228,
0.5298312306404114,
0.777935802936554,
-0.18521012365818024,
0.3895407021045685,
1.2263517379760742,
-0.09678304195404053,
0.25437965989112854,
-0.16541562974452972,
-0.14850345253944397,
-0.6719093918800354,
1.6134133338928223,
0.2194851189851761,
-0.13097472488880157,
0.6304551362991333,
0.44686686992645264,
-0.2776232063770294,
-0.6740856170654297,
-0.010974359698593616,
0.10497671365737915,
-0.8689936995506287,
-0.19418185949325562,
-0.7395732402801514,
-0.2768324315547943,
-0.4915119409561157,
-0.4628719985485077,
-0.45136693120002747,
-0.6984208226203918,
-0.10823900997638702,
0.11398938298225403,
-0.04159902408719063,
0.6647849082946777,
-0.09785870462656021,
0.009226850233972073,
-0.6497727036476135,
0.3989989161491394,
0.4914363622665405,
0.5868008732795715,
-0.1620456427335739,
-0.423575222492218,
-0.23341429233551025,
-0.38227611780166626,
-0.6366966366767883,
-0.20595115423202515,
-0.050600312650203705,
0.7049259543418884,
0.5740278959274292,
0.5542942881584167,
-0.026661934331059456,
0.8146900534629822,
-0.6955800652503967,
0.896089494228363,
-0.15714889764785767,
-0.9215913414955139,
0.6045176386833191,
-0.42251789569854736,
0.1793328821659088,
0.8584864735603333,
0.31661829352378845,
-0.31906333565711975,
0.11306698620319366,
-0.5926557779312134,
-0.9666104912757874,
0.5221986770629883,
0.5178178548812866,
0.20533610880374908,
-0.19691957533359528,
0.29237282276153564,
0.17688986659049988,
0.36013633012771606,
-0.5708333849906921,
-0.5263649225234985,
-0.47478580474853516,
0.291418194770813,
0.20801877975463867,
-0.2535414695739746,
-0.23173783719539642,
-0.35737451910972595,
0.684382438659668,
0.041303690522909164,
0.5344594120979309,
0.40385952591896057,
-0.12829381227493286,
0.5106786489486694,
0.46093013882637024,
0.5980768203735352,
0.6638343334197998,
-0.33207035064697266,
0.3533421754837036,
-0.004041541367769241,
-0.3391507863998413,
-0.11547980457544327,
0.08008628338575363,
-0.1008240357041359,
0.21714459359645844,
0.153714120388031,
0.33629271388053894,
0.28187769651412964,
-0.2808164358139038,
0.8081843852996826,
-0.04865245148539543,
-0.28115546703338623,
-0.1243850588798523,
-0.14823764562606812,
-0.2757119834423065,
-0.1250147819519043,
0.32914140820503235,
0.23466897010803223,
0.43105658888816833,
-0.5660825371742249,
0.1996016949415207,
0.6336366534233093,
-0.3950161337852478,
0.016771525144577026,
0.5948716402053833,
0.43274950981140137,
-0.30345746874809265,
0.2613958716392517,
-0.41835787892341614,
-0.3597145080566406,
0.043431006371974945,
0.09379977732896805,
0.5483310222625732,
-0.21819058060646057,
0.4421672523021698,
0.12475109100341797,
-0.05030687153339386,
-0.16823552548885345,
0.2980966567993164,
-0.27654534578323364,
-0.5386432409286499,
-0.007787151727825403,
-0.7461398839950562,
-0.7770767211914062,
-0.24019885063171387,
-0.641908586025238,
0.07105988264083862,
-0.26409482955932617,
-0.19896458089351654,
0.24290770292282104,
-0.15051300823688507,
-0.6023517847061157,
0.13575182855129242,
-0.024511883035302162,
0.6220954656600952,
-0.48725777864456177,
0.30157798528671265,
0.9455225467681885,
-0.7278352379798889,
0.2061721235513687,
-0.11767088621854782,
-0.3709397315979004,
-0.31509697437286377,
0.0886983796954155,
0.2591044008731842,
-0.3617379367351532,
-0.19012442231178284,
-0.4721604883670807,
-1.0185171365737915,
1.149046778678894,
0.17181067168712616,
0.416486531496048,
-0.08397544920444489,
0.1085190698504448,
-0.014229211956262589,
-0.5052807927131653,
0.25699204206466675,
0.40606489777565,
0.2996499836444855,
0.09627863019704819,
-0.48940739035606384,
-0.25108277797698975,
-0.32415419816970825,
0.5804713368415833,
0.3013628125190735,
-0.5486540198326111,
1.0625158548355103,
0.09264112263917923,
-0.03660297393798828,
0.029335608705878258,
0.564917802810669,
0.20111337304115295,
0.31110507249832153,
0.21268230676651,
0.6020752787590027,
1.0084400177001953,
-0.31084245443344116,
1.4578183889389038,
-0.136150524020195,
0.414590984582901,
0.7271828055381775,
0.29340696334838867,
0.9761804938316345,
0.281894326210022,
-0.07702425122261047,
0.5271997451782227,
0.4655199348926544,
0.3088330328464508,
0.5144391059875488,
0.2887265980243683,
-0.1466808021068573,
-0.40302279591560364,
-0.5966545939445496,
-0.46927034854888916,
0.49717074632644653,
0.2348601073026657,
-0.08785256743431091,
-0.35131919384002686,
0.05569106712937355,
-0.14017724990844727,
0.16535167396068573,
-0.4365750551223755,
0.6364288926124573,
-0.09200897812843323,
-0.060651130974292755,
0.906766414642334,
-0.01489134319126606,
0.9064384698867798,
-0.6202214956283569,
0.0026423425879329443,
-0.11721575260162354,
-0.037837814539670944,
-0.4681564271450043,
-0.4298880398273468,
0.11879517883062363,
-0.4403355121612549,
-0.5836873650550842,
-0.34614402055740356,
0.5266451239585876,
-0.44573330879211426,
-0.691718578338623,
-0.0012022053124383092,
0.6045154929161072,
0.3455072343349457,
-0.47016817331314087,
-0.552766740322113,
-0.11638418585062027,
-0.5479670166969299,
-0.30925577878952026,
0.6250653862953186,
0.6764771938323975,
0.1672222912311554,
0.6773179769515991,
0.49894416332244873,
-0.08967341482639313,
0.025956038385629654,
0.28902360796928406,
1.0898876190185547,
-0.7383029460906982,
-0.5207861661911011,
-0.4128496050834656,
0.13935568928718567,
-0.29545819759368896,
-0.5071468353271484,
0.6174346208572388,
0.665425181388855,
0.8502729535102844,
0.2731536328792572,
0.6682606339454651,
0.14930520951747894,
0.005612980108708143,
-0.39647799730300903,
0.43876194953918457,
-0.7750700116157532,
0.07554423063993454,
-0.3032305836677551,
-1.1266230344772339,
-0.46382200717926025,
0.6167234182357788,
-0.006167722400277853,
0.3079468309879303,
0.8363569378852844,
0.4872962236404419,
-0.16598792374134064,
-0.49163398146629333,
0.5978386402130127,
-0.06529129296541214,
0.36954328417778015,
0.2093498855829239,
0.507821798324585,
-0.3936481177806854,
1.0246055126190186,
-0.10677500814199448,
-0.18293751776218414,
-0.1638176441192627,
-0.8098615407943726,
-0.8570959568023682,
-0.3834339380264282,
-0.22837595641613007,
-0.09150197356939316,
-0.21806791424751282,
0.6596936583518982,
0.5757638812065125,
-0.6172812581062317,
0.09682659059762955,
0.20852670073509216,
0.19282564520835876,
-0.36901426315307617,
-0.20655490458011627,
0.6238089799880981,
-0.6938257217407227,
-0.6585584878921509,
0.5551292896270752,
0.47794604301452637,
-0.3005993068218231,
-0.14482766389846802,
0.13740061223506927,
-0.43443208932876587,
0.5112011432647705,
0.9802283644676208,
-0.06820788979530334,
-0.6131274700164795,
-0.41938337683677673,
-0.12160316109657288,
0.15641480684280396,
0.462109237909317,
0.9088466763496399,
-0.7658568620681763,
0.3820827007293701,
0.5726335048675537,
0.6248297691345215,
0.38018909096717834,
0.6117722988128662,
0.04904893413186073,
-1.2867546081542969,
-0.11181088536977768,
0.33961889147758484,
0.3108164072036743,
0.38454490900039673,
-0.20319072902202606,
0.498168408870697,
-0.07512889057397842,
-0.7934824228286743,
-0.534605860710144,
0.33124423027038574,
-1.0109977722167969,
-0.24457380175590515,
1.2403572797775269,
0.060603246092796326,
0.07825244218111038,
-0.10686981678009033,
-0.3636370599269867,
-0.2412247508764267,
-0.7116658091545105,
0.7645424604415894,
0.6966972947120667,
-0.36867663264274597,
0.31911611557006836,
-0.30645522475242615,
0.4359140396118164,
0.39068496227264404,
-0.6295357942581177,
-0.10397245734930038,
0.13170066475868225,
-0.17785006761550903,
0.5458081364631653,
0.5035520195960999,
-0.23622527718544006,
0.09994757175445557,
0.18365611135959625,
-0.224848210811615,
-0.3648416996002197,
-0.44696804881095886,
-0.4619903564453125,
0.6066230535507202,
0.018607500940561295,
-0.2913675010204315
] |
http://arxiv.org/abs/2405.15025v1
|
http://arxiv.org/pdf/2405.15025v1
|
OAC: Output-adaptive Calibration for Accurate Post-training Quantization
| 2024-05-23T20:01:17 | 2024-05-23T20:01:17 |
Ali Edalati, Alireza Ghaffari, Masoud Asgharian, Lu Hou, Boxing Chen, Vahid Partovi Nia
|
cs.LG
|
cs.LG, cs.CL
|
Deployment of Large Language Models (LLMs) has major computational costs, due
to their rapidly expanding size. Compression of LLMs reduces the memory
footprint, latency, and energy required for their inference. Post-training
Quantization (PTQ) techniques have been developed to compress LLMs while
avoiding expensive re-training. Most PTQ approaches formulate the quantization
error based on a layer-wise $\ell_2$ loss, ignoring the model output. Then,
each layer is calibrated using its layer-wise Hessian to update the weights
towards minimizing the $\ell_2$ quantization error. The Hessian is also used
for detecting the most salient weights to quantization. Such PTQ approaches are
prone to accuracy drop in low-precision quantization. We propose
Output-adaptive Calibration (OAC) to incorporate the model output in the
calibration process. We formulate the quantization error based on the
distortion of the output cross-entropy loss. OAC approximates the
output-adaptive Hessian for each layer under reasonable assumptions to reduce
the computational complexity. The output-adaptive Hessians are used to update
the weight matrices and detect the salient weights towards maintaining the
model output. Our proposed method outperforms the state-of-the-art baselines
such as SpQR and BiLLM, especially, at extreme low-precision (2-bit and binary)
quantization.
|
[
-0.1631542146205902,
-0.5112440586090088,
0.5939381718635559,
-0.13273513317108154,
-0.283945769071579,
0.16036295890808105,
-0.3180021047592163,
-0.0212808046489954,
-0.02327941730618477,
0.4890037178993225,
-0.21782222390174866,
-0.4879501461982727,
-0.6048479676246643,
-0.22881938517093658,
0.05931684374809265,
0.823508620262146,
-0.303882360458374,
0.1515752375125885,
-0.17342384159564972,
-0.2845454812049866,
-0.3642861247062683,
-0.5183140635490417,
-0.8041200637817383,
-0.13234926760196686,
0.39949944615364075,
0.24403898417949677,
0.4710034728050232,
0.5312963128089905,
0.22387687861919403,
0.298036128282547,
0.0037728941533714533,
0.33048009872436523,
-0.6719541549682617,
-0.0957782194018364,
0.11290005594491959,
-0.72148197889328,
-0.6867547035217285,
-0.41152530908584595,
1.0999350547790527,
0.5564329624176025,
-0.4072030186653137,
0.27779632806777954,
0.04606999084353447,
0.8640049695968628,
-1.175432801246643,
0.08167944848537445,
-0.6008861660957336,
0.001406115829013288,
-0.029067030176520348,
-0.34478968381881714,
-0.4827381372451782,
-0.4614645540714264,
-0.1983110010623932,
-0.7076026201248169,
-0.06444458663463593,
-0.14143142104148865,
0.651351273059845,
0.44083741307258606,
-0.35719963908195496,
0.10406701266765594,
-0.8163301348686218,
1.0131856203079224,
-1.0415440797805786,
0.352947860956192,
0.3963257968425751,
0.35299426317214966,
0.15086032450199127,
-0.5548210144042969,
-0.4198080599308014,
0.060147225856781006,
0.13476085662841797,
0.27406230568885803,
-0.03168623894453049,
0.1361606866121292,
0.3018157482147217,
0.4311287999153137,
-0.5356969237327576,
0.12160508334636688,
-0.1850656121969223,
-0.10449991375207901,
0.47313371300697327,
0.11390314996242523,
-0.006121528800576925,
0.4662448465824127,
-0.09961093962192535,
-0.4387103319168091,
-0.7337273359298706,
-0.10815674066543579,
0.47840481996536255,
0.15271854400634766,
-0.2080567181110382,
0.2665945887565613,
-0.20249271392822266,
0.6357508897781372,
0.14840345084667206,
-0.10110200196504593,
0.24272556602954865,
-0.23386375606060028,
-0.42489510774612427,
0.3679049015045166,
0.74336177110672,
0.1247507780790329,
0.025615526363253593,
0.22931137681007385,
-0.2691659927368164,
-0.06386154890060425,
0.23718996345996857,
-0.9370363354682922,
-0.31062084436416626,
0.1150122582912445,
-0.20345133543014526,
-0.16076351702213287,
0.030159352347254753,
-0.5829171538352966,
-0.27757254242897034,
-0.124970443546772,
0.6769396662712097,
-0.23351022601127625,
0.012754665687680244,
0.16468241810798645,
0.1798686385154724,
0.11626821756362915,
0.4234405755996704,
-0.8099024891853333,
0.467718243598938,
0.4695623219013214,
0.7880575656890869,
0.11248620599508286,
-0.05813673138618469,
-0.9971562027931213,
0.10482682287693024,
-0.48457375168800354,
0.4045453667640686,
-0.11165010929107666,
-0.06335832178592682,
0.06160696968436241,
-0.32366639375686646,
0.03392831236124039,
-0.46984001994132996,
0.42558369040489197,
-0.828898012638092,
0.04839760437607765,
-0.2446269392967224,
-0.2835749387741089,
-0.08809692412614822,
-0.0276161041110754,
-0.5469520092010498,
1.2081698179244995,
0.28890302777290344,
-0.6334683299064636,
0.2019382268190384,
-0.34245505928993225,
-0.14407283067703247,
-0.125136137008667,
0.08130181580781937,
-0.6865769624710083,
0.4057805836200714,
0.37137120962142944,
0.06392814964056015,
-0.43695518374443054,
0.1471594274044037,
-0.3248318135738373,
-0.553708016872406,
0.25329893827438354,
-0.4541606903076172,
0.6506413221359253,
0.02339180000126362,
-0.40290364623069763,
0.14850950241088867,
-1.0310317277908325,
0.23452147841453552,
-0.07842390984296799,
-0.43690216541290283,
-0.3743104636669159,
0.06489597260951996,
-0.1426955759525299,
-0.050493672490119934,
0.24210096895694733,
-0.41841718554496765,
0.03642529249191284,
-0.45059260725975037,
0.3748301565647125,
0.7659011483192444,
-0.29170507192611694,
0.5354290008544922,
-0.27261045575141907,
0.4914756417274475,
-0.09568113833665848,
-0.09280802309513092,
-0.07273884117603302,
-0.08340152353048325,
-0.9484260678291321,
-0.2897428572177887,
0.5851683020591736,
0.5311892032623291,
-0.8787244558334351,
0.6329852938652039,
-0.4700701832771301,
-0.7438580989837646,
-0.4098413586616516,
0.009734435006976128,
0.49682867527008057,
0.3582320511341095,
0.20067492127418518,
-0.6834527850151062,
-0.5726043581962585,
-0.4102437198162079,
-0.28859812021255493,
-0.4174575209617615,
-0.30036747455596924,
0.10526803880929947,
0.2056378424167633,
0.156236469745636,
0.7400136590003967,
-0.48330971598625183,
-0.4332892894744873,
0.24792605638504028,
0.3871403932571411,
0.17408157885074615,
0.5048856735229492,
0.4477883577346802,
-0.2142396718263626,
-0.49363458156585693,
0.07341922074556351,
-0.36626172065734863,
-0.3790625035762787,
-0.04777456820011139,
-0.24768126010894775,
0.4393019676208496,
0.29246029257774353,
-0.3673621118068695,
0.3689649999141693,
0.8236845135688782,
-0.10616470873355865,
0.4948190748691559,
-0.3067317008972168,
0.19750630855560303,
-0.9013892412185669,
0.11612023413181305,
-0.05338678136467934,
-0.49095419049263,
-0.4878270924091339,
0.04714087396860123,
0.15778855979442596,
0.06353102624416351,
-0.45423775911331177,
0.33085253834724426,
-0.36877378821372986,
-0.35438668727874756,
-0.2852485179901123,
-0.030053120106458664,
0.33139491081237793,
0.47600555419921875,
0.18813592195510864,
0.7909913659095764,
0.4802488386631012,
-0.5431629419326782,
0.36201271414756775,
-0.11127463728189468,
-0.35601621866226196,
0.5791311264038086,
-0.6473550200462341,
0.1695554554462433,
-0.09654038399457932,
0.4258725643157959,
-0.9856581687927246,
0.03613349795341492,
0.2687140107154846,
-0.25864148139953613,
0.33272984623908997,
-0.0320616140961647,
-0.5263429880142212,
0.05948348715901375,
-0.5386682152748108,
0.8793622255325317,
0.5493627786636353,
-0.42208635807037354,
0.8398072719573975,
0.2408589869737625,
-0.10068319737911224,
-0.46635597944259644,
-0.9270097017288208,
-0.3240419328212738,
-0.04925580322742462,
-0.25539731979370117,
0.4987756609916687,
-0.03351506590843201,
0.13858762383460999,
-0.3054976761341095,
-0.14082232117652893,
-0.06202906370162964,
-0.028643673285841942,
0.10297803580760956,
0.18747685849666595,
-0.514729917049408,
-0.005339182447642088,
0.17431756854057312,
0.11404082179069519,
0.22169125080108643,
-0.3697444498538971,
0.5715929865837097,
-0.05050036683678627,
-0.367266446352005,
-0.5364546179771423,
0.006644487380981445,
0.5278962254524231,
-0.22596107423305511,
0.9066449999809265,
0.8668524622917175,
-0.5634182691574097,
-0.11398060619831085,
-0.508725643157959,
-0.19716648757457733,
-0.4749126434326172,
0.6765191555023193,
-0.2419179081916809,
-0.6773185729980469,
0.5525314807891846,
0.03216712549328804,
0.10498864203691483,
0.41760677099227905,
0.6448513865470886,
0.052631959319114685,
1.04513680934906,
0.4338493049144745,
0.10724218189716339,
0.6608594059944153,
-0.20031099021434784,
0.2518647611141205,
-0.969172477722168,
0.16014930605888367,
-0.5009954571723938,
-0.3442855179309845,
-0.3251887857913971,
-0.556718647480011,
0.5054501295089722,
0.2591676414012909,
-0.5027599930763245,
0.2039942741394043,
-0.31741294264793396,
0.28359800577163696,
0.8580572605133057,
0.17107293009757996,
0.1323198825120926,
0.26346147060394287,
0.23654165863990784,
-0.07702309638261795,
-0.7097313404083252,
-0.3944774568080902,
1.0518087148666382,
0.3585229218006134,
0.9715917110443115,
0.2591859996318817,
0.5596455931663513,
0.24058575928211212,
0.33429500460624695,
-0.8604421615600586,
0.4091627597808838,
-0.19629181921482086,
0.014787229709327221,
-0.36542898416519165,
-0.8419287800788879,
-0.5322068929672241,
0.08788502961397171,
-0.021326085552573204,
-0.798809289932251,
0.2822689414024353,
0.5829830765724182,
-0.6576511859893799,
0.5159695744514465,
-0.5334507822990417,
0.8695400953292847,
-0.155079647898674,
-0.3491552472114563,
-0.1577075719833374,
-0.4341903626918793,
0.37558379769325256,
-0.2783992290496826,
0.08211345225572586,
0.1956682652235031,
-0.2137993574142456,
0.9873612523078918,
-0.6444395780563354,
0.83855801820755,
-0.20709538459777832,
-0.451139360666275,
0.3762173652648926,
0.06887534260749817,
0.7290495038032532,
-0.08069828152656555,
-0.2394680231809616,
0.1997845321893692,
0.307177871465683,
-0.40392735600471497,
-0.6744880676269531,
0.6488360166549683,
-1.004064679145813,
-0.36385998129844666,
-0.546039342880249,
-0.5597606897354126,
-0.27637001872062683,
-0.06932667642831802,
0.08420191705226898,
0.39807379245758057,
-0.11059905588626862,
0.025999123230576515,
0.44482913613319397,
-0.3861752450466156,
0.2712942659854889,
0.5423665046691895,
-0.01772645302116871,
-0.9167810082435608,
1.131286382675171,
0.08517520874738693,
0.553230881690979,
0.6685196757316589,
0.1931077539920807,
-0.30654916167259216,
-0.6141126751899719,
-0.5379941463470459,
0.23638735711574554,
-0.6832630634307861,
-0.6046273112297058,
-0.2857322096824646,
-0.13330450654029846,
-0.522594690322876,
-0.043465159833431244,
-0.47102871537208557,
-0.4517775774002075,
-0.5411790013313293,
0.265683650970459,
0.34981322288513184,
0.20390576124191284,
-0.04617102071642876,
0.7985531091690063,
-0.9458721280097961,
0.175055131316185,
0.38868480920791626,
0.2549342215061188,
-0.05935511365532875,
-1.0306633710861206,
-0.554377555847168,
0.2532385587692261,
-0.4868861734867096,
-0.6513996124267578,
0.4477607309818268,
0.6522219181060791,
-0.09852831065654755,
0.44378572702407837,
0.2565996050834656,
0.8703554272651672,
-0.29114389419555664,
0.7740744948387146,
0.21951213479042053,
-1.3589668273925781,
0.3640710711479187,
0.08737300336360931,
0.5628568530082703,
0.5206859707832336,
0.11785805970430374,
-0.34524089097976685,
-0.17910364270210266,
-0.2640041708946228,
-0.8022511005401611,
1.018381118774414,
-0.09539803862571716,
0.1129961684346199,
0.3504445552825928,
0.36887043714523315,
-0.27277496457099915,
0.27939432859420776,
-0.6421834826469421,
-0.1338692605495453,
-0.13183993101119995,
-0.38040679693222046,
-0.05938849225640297,
-0.35248804092407227,
-0.01114423107355833,
0.040330998599529266,
1.1131727695465088,
-0.5015366077423096,
0.1857946664094925,
-0.01695188879966736,
-0.1821841597557068,
-0.6457668542861938,
0.11918395757675171,
0.559960126876831,
0.7160857915878296,
-0.4297265112400055,
0.30854085087776184,
0.37408336997032166,
-0.43022772669792175,
0.22020263969898224,
0.058075543493032455,
-0.29101717472076416,
-0.07414065301418304,
0.22062116861343384,
1.1370879411697388,
0.07038024067878723,
-0.8508368134498596,
0.5763629674911499,
-0.08361957967281342,
-0.17723095417022705,
-0.3097882568836212,
-0.04804702475667,
-0.23071947693824768,
0.10396198183298111,
0.4236423075199127,
0.23817197978496552,
0.011291863396763802,
-0.4878009259700775,
-0.023181205615401268,
0.4986394941806793,
-0.4264785051345825,
-0.3802179992198944,
0.6520222425460815,
-0.15890146791934967,
-0.02791851945221424,
0.37615808844566345,
-0.017281241714954376,
-0.5296728014945984,
0.5325191617012024,
0.4212265908718109,
0.6872650980949402,
-0.4856633245944977,
0.0700705498456955,
0.4737308919429779,
0.2735651135444641,
-0.03640532121062279,
0.35659918189048767,
-0.018738476559519768,
-0.7048015594482422,
-0.749369204044342,
-0.807278573513031,
-0.395143985748291,
0.20670777559280396,
-0.8417937755584717,
0.3040434420108795,
-0.5716250538825989,
-0.2567500174045563,
-0.25588420033454895,
0.005912651773542166,
-0.4877607822418213,
0.4383477568626404,
0.15661218762397766,
0.6517709493637085,
-0.9109553098678589,
0.856823205947876,
0.6544299125671387,
-0.021554697304964066,
-0.7010157704353333,
-0.1647471785545349,
-0.22499413788318634,
-0.7191792130470276,
0.4758699834346771,
-0.15763959288597107,
-0.07499098032712936,
0.1521005779504776,
-0.08260177820920944,
-1.0649083852767944,
1.165022373199463,
0.8902771472930908,
-0.7380622029304504,
-0.036780811846256256,
0.3231324851512909,
0.45605912804603577,
-0.2252185195684433,
0.5638960599899292,
0.5344253778457642,
0.28995993733406067,
0.1225225180387497,
-0.9228012561798096,
0.20539923012256622,
-0.026185162365436554,
0.33019739389419556,
0.3132311999797821,
-0.4649471640586853,
0.8434567451477051,
-0.043100807815790176,
-0.30192726850509644,
0.3493003845214844,
0.8719125986099243,
0.48784035444259644,
0.08446992933750153,
0.6226099133491516,
0.6361473798751831,
0.5416598320007324,
-0.12232137471437454,
0.7975767254829407,
-0.3238840103149414,
0.45493677258491516,
1.26563560962677,
-0.40587231516838074,
1.1101740598678589,
0.7189866900444031,
-0.4773808419704437,
0.33623915910720825,
0.5861480236053467,
0.2065442055463791,
0.5459204912185669,
0.5100854635238647,
-0.3513793349266052,
-0.09124838560819626,
-0.14437665045261383,
-0.35528048872947693,
0.18221674859523773,
0.26306453347206116,
-0.44086721539497375,
0.09959948062896729,
-0.0691070705652237,
-0.24843572080135345,
-0.12001258134841919,
-0.4253357946872711,
0.7741038799285889,
0.05111096054315567,
-0.6866037845611572,
1.0834007263183594,
0.20085328817367554,
0.4495742917060852,
-0.5318678617477417,
-0.06717472523450851,
0.0016250269254669547,
0.31338563561439514,
-0.13246437907218933,
-0.2130482792854309,
0.3289513885974884,
-0.2013154774904251,
-0.05028567835688591,
-0.13514843583106995,
0.5160819292068481,
-0.6939060091972351,
-0.6522979140281677,
0.07821249216794968,
0.3071874976158142,
-0.052672334015369415,
-0.3702665865421295,
-0.4139990508556366,
0.5615603923797607,
-0.23666685819625854,
-0.1798543483018875,
0.3666706383228302,
0.33840131759643555,
0.18613691627979279,
0.09004592895507812,
0.4755386412143707,
0.3450874090194702,
0.20090579986572266,
0.1267876774072647,
0.8297106623649597,
-0.20815803110599518,
-0.4828764498233795,
-0.6555457711219788,
0.433893620967865,
0.26005470752716064,
-0.07481876015663147,
0.2974471151828766,
0.48013749718666077,
0.8847944140434265,
-0.12700195610523224,
0.5406095385551453,
0.14904047548770905,
0.18704041838645935,
-0.7687676548957825,
0.5738387703895569,
-0.7474954724311829,
0.40285709500312805,
-0.24259229004383087,
-1.1743119955062866,
-0.4596441090106964,
0.6570784449577332,
-0.3630458116531372,
0.16005373001098633,
0.6495958566665649,
0.9843543171882629,
-0.17355868220329285,
-0.3534422814846039,
0.42600926756858826,
0.27078720927238464,
0.047633055597543716,
0.8680071234703064,
0.5268908739089966,
-1.0462387800216675,
0.5448107123374939,
-0.2810782790184021,
-0.32907095551490784,
-0.2115633487701416,
-0.8613999485969543,
-0.5873798131942749,
-0.4236805737018585,
-0.8135652542114258,
-0.4494887590408325,
0.1383405476808548,
0.6603847742080688,
0.8991401791572571,
-1.1202616691589355,
-0.4113066792488098,
-0.2439393252134323,
-0.16916930675506592,
-0.48196941614151,
-0.2962508201599121,
0.686256468296051,
-0.0168509129434824,
-0.9081692099571228,
0.13293586671352386,
0.15652742981910706,
-0.012009953148663044,
-0.4119113087654114,
-0.3131067454814911,
-0.002205872442573309,
0.19384078681468964,
0.5478354096412659,
0.1631018966436386,
-0.8189610838890076,
-0.2582642436027527,
-0.4070252478122711,
-0.07213480025529861,
0.2504846453666687,
0.6961324214935303,
-0.951734185218811,
0.5076695680618286,
0.6015080213546753,
0.8541748523712158,
0.5421587228775024,
-0.14479294419288635,
0.7075096964836121,
-1.0032473802566528,
-0.028596913442015648,
0.1208060160279274,
0.3423766493797302,
0.4138672649860382,
-0.21930481493473053,
0.2397303581237793,
0.12307921797037125,
-0.47977617383003235,
-1.0377049446105957,
0.08510545641183853,
-1.016144037246704,
0.23429785668849945,
0.7280848622322083,
-0.45876190066337585,
-0.5512468814849854,
0.3741810619831085,
-0.26053786277770996,
0.5816962718963623,
-0.5266569256782532,
0.7983533143997192,
0.352260947227478,
0.43120115995407104,
-0.64231938123703,
-0.17543436586856842,
0.42535150051116943,
0.709190309047699,
-0.9386278390884399,
0.03640246391296387,
0.35905689001083374,
-0.07669146358966827,
0.26268070936203003,
0.47079819440841675,
0.11266932636499405,
0.4644108712673187,
-0.21283933520317078,
0.22924266755580902,
0.10602844506502151,
0.055426981300115585,
-0.5570592284202576,
0.07668644189834595,
0.2706097364425659,
-0.3306536376476288
] |
http://arxiv.org/abs/2405.15012v1
|
http://arxiv.org/pdf/2405.15012v1
|
Extracting Prompts by Inverting LLM Outputs
| 2024-05-23T19:35:03 | 2024-05-23T19:35:03 |
Collin Zhang, John X. Morris, Vitaly Shmatikov
|
cs.CL
|
cs.CL, cs.LG
|
We consider the problem of language model inversion: given outputs of a
language model, we seek to extract the prompt that generated these outputs. We
develop a new black-box method, output2prompt, that learns to extract prompts
without access to the model's logits and without adversarial or jailbreaking
queries. In contrast to previous work, output2prompt only needs outputs of
normal user queries. To improve memory efficiency, output2prompt employs a new
sparse encoding techique. We measure the efficacy of output2prompt on a variety
of user and system prompts and demonstrate zero-shot transferability across
different LLMs.
|
[
-0.04422352463006973,
-0.7987155914306641,
0.7099603414535522,
0.06236818805336952,
-0.228951096534729,
-0.15953250229358673,
-0.1299593150615692,
-0.11823885887861252,
0.1533149778842926,
0.6187667846679688,
-0.8811452984809875,
-0.17956705391407013,
-0.6014792919158936,
-0.042795419692993164,
-0.40711095929145813,
1.0640323162078857,
0.22595888376235962,
0.012168368324637413,
-0.2624693810939789,
0.17573057115077972,
-0.5603893399238586,
-0.6244544982910156,
-0.9739580750465393,
-0.46571964025497437,
0.4956686496734619,
0.6415950059890747,
0.36476367712020874,
0.2678171396255493,
-0.0029940782114863396,
0.08926521241664886,
0.31014227867126465,
0.03152218088507652,
-0.8779614567756653,
0.25266486406326294,
-0.1052679643034935,
-0.6026241779327393,
-0.09997476637363434,
-0.03854889050126076,
0.5806221961975098,
0.4897681772708893,
0.09243354946374893,
0.14986151456832886,
0.35892486572265625,
0.441209614276886,
-0.5650776624679565,
0.0740162804722786,
-0.6296926736831665,
-0.05379596725106239,
0.0672789141535759,
-0.5330207943916321,
-0.9199700355529785,
-0.41251635551452637,
-0.39664316177368164,
-0.5012698769569397,
0.1656743437051773,
-0.004896435420960188,
0.8785411715507507,
0.1677657812833786,
-0.20619508624076843,
-0.19513127207756042,
-0.7328793406486511,
0.6717697381973267,
-0.6104701161384583,
0.17886510491371155,
0.3013266921043396,
0.5774840116500854,
-0.3375178277492523,
-0.7402709126472473,
-0.551264226436615,
-0.29038920998573303,
-0.10846875607967377,
0.30875101685523987,
-0.5123494863510132,
-0.16789183020591736,
0.4022940993309021,
0.002819394925609231,
-0.5493367314338684,
0.31028661131858826,
-0.4620719850063324,
-0.38372522592544556,
0.4765836000442505,
0.21846169233322144,
0.3497416079044342,
-0.24244233965873718,
-0.5136329531669617,
-0.26753053069114685,
-1.1848695278167725,
0.18460293114185333,
0.48136457800865173,
0.3527179956436157,
-0.0000055380314734065905,
0.5516546368598938,
0.05950310081243515,
0.48883020877838135,
0.13331712782382965,
-0.11175589263439178,
-0.11226247996091843,
-0.1525402069091797,
-0.18747007846832275,
-0.05162976682186127,
0.6758358478546143,
0.321513831615448,
0.13978439569473267,
-0.39700454473495483,
-0.46809908747673035,
-0.17404994368553162,
0.03806015104055405,
-0.8797032833099365,
-0.19817054271697998,
0.019293593242764473,
-0.2633052468299866,
-0.024895163252949715,
0.09059090167284012,
-0.974216103553772,
-0.7510335445404053,
-0.10310698300600052,
0.6939966678619385,
-0.24873130023479462,
-0.14539918303489685,
-0.2485898733139038,
-0.3278069496154785,
0.23888975381851196,
0.48952075839042664,
-0.9299888014793396,
0.598116397857666,
0.6402318477630615,
0.7419290542602539,
-0.44966503977775574,
0.055283308029174805,
-0.9248113632202148,
-0.06250413507223129,
-0.1973155438899994,
0.6252222657203674,
-0.40779414772987366,
-0.3608569800853729,
0.048742033541202545,
0.17092609405517578,
0.1379276067018509,
-0.7111197113990784,
0.3152965307235718,
-0.4871329069137573,
0.49879518151283264,
-0.24612604081630707,
-0.4392526149749756,
-0.12509296834468842,
-0.12770211696624756,
-0.5962316393852234,
1.0349284410476685,
0.31686097383499146,
-0.33696767687797546,
-0.14573243260383606,
-0.4750930964946747,
-0.18695448338985443,
0.018944552168250084,
-0.2232864499092102,
0.011873985640704632,
0.27849239110946655,
0.2242051213979721,
0.34296831488609314,
-0.35139384865760803,
-0.024549132212996483,
-0.21142391860485077,
-0.5402413010597229,
0.22262395918369293,
-0.5763227939605713,
1.1572728157043457,
0.23446477949619293,
-0.27787211537361145,
-0.13222864270210266,
-0.7281445264816284,
-0.25559818744659424,
0.3142571449279785,
-0.1731039583683014,
-0.2459256947040558,
-0.19084466993808746,
-0.3076626658439636,
0.06567351520061493,
0.31977200508117676,
-0.6422451734542847,
0.49531933665275574,
-0.4629347026348114,
0.1984928697347641,
0.7784566283226013,
0.16658219695091248,
0.6389496922492981,
-0.011686897836625576,
0.8508922457695007,
-0.006292480509728193,
-0.1819399893283844,
-0.33093148469924927,
-0.5619556307792664,
-0.6906532645225525,
-0.2702067196369171,
0.09363262355327606,
0.7910334467887878,
-0.8826208114624023,
0.11652008444070816,
0.08051832020282745,
-0.2584179937839508,
-0.6284069418907166,
0.20974372327327728,
0.33330291509628296,
0.9376562833786011,
0.006598669569939375,
-0.09190124273300171,
-0.5555926561355591,
-0.8147779703140259,
-0.24393780529499054,
-0.3571053445339203,
-0.3300688564777374,
0.37068837881088257,
0.0929505005478859,
0.08574633300304413,
0.654564619064331,
-0.587024986743927,
0.22332438826560974,
-0.4511214792728424,
0.1921491026878357,
0.6727243065834045,
0.3582512140274048,
0.4890396296977997,
-0.2617380619049072,
-0.13938426971435547,
-0.3240432143211365,
-0.7249931693077087,
-0.644926905632019,
-0.4452708661556244,
-0.1510699838399887,
0.2987673580646515,
0.651325523853302,
-0.6799136400222778,
0.2978406548500061,
0.34267157316207886,
-0.6098445653915405,
0.6924495100975037,
-0.10417591780424118,
-0.13137733936309814,
-1.032211184501648,
0.028504598885774612,
-0.16007791459560394,
-0.4591718912124634,
-0.6466214060783386,
0.013715281151235104,
0.25136810541152954,
-0.34922564029693604,
-0.3289873003959656,
0.9950203895568848,
-0.6432533264160156,
-0.3826428949832916,
-0.3413729667663574,
0.2157757431268692,
0.2424265444278717,
0.498309850692749,
-0.2688893973827362,
1.095622181892395,
0.5298117399215698,
-0.5567960143089294,
0.4694906771183014,
-0.044332291930913925,
-0.022454343736171722,
0.4044542610645294,
-0.5155648589134216,
0.4199492633342743,
-0.4375176727771759,
0.026770057156682014,
-1.5235366821289062,
-0.004769834689795971,
0.6792173981666565,
-0.7000267505645752,
0.5842329859733582,
-0.1676744818687439,
-0.5228425860404968,
-0.11574853956699371,
-0.4523378014564514,
0.1482643485069275,
1.0628317594528198,
-0.6385761499404907,
0.2402428537607193,
-0.06237876042723656,
-0.27866193652153015,
-0.6139003038406372,
-0.4914033114910126,
0.09889008104801178,
-0.29889631271362305,
-0.03315791115164757,
0.0245111882686615,
-0.09670655429363251,
-0.1842271238565445,
-0.07288504391908646,
0.1652049869298935,
0.0855020135641098,
0.4493905305862427,
0.29552504420280457,
0.4539840519428253,
-0.465753436088562,
-0.0043312800116837025,
0.15690171718597412,
-0.10452824831008911,
0.2978965640068054,
-0.2755630314350128,
0.5277340412139893,
0.2617592513561249,
-0.29375800490379333,
-0.5714821219444275,
0.4061448276042938,
0.19873805344104767,
0.171148419380188,
0.5539296269416809,
0.34409382939338684,
-0.42030107975006104,
-0.3229611814022064,
-0.20195212960243225,
-0.5927501916885376,
-0.46831268072128296,
0.39213669300079346,
-0.21682977676391602,
-0.651764452457428,
0.5262565016746521,
-0.111526720225811,
-0.012616322375833988,
0.32401588559150696,
0.5997210144996643,
-0.13028788566589355,
1.1034440994262695,
0.7667706608772278,
0.21196165680885315,
0.5025608539581299,
-0.08126373589038849,
0.17228476703166962,
-0.796973466873169,
-0.21983152627944946,
-0.5216335654258728,
-0.22685427963733673,
-0.08380638808012009,
-0.19109991192817688,
0.4572458565235138,
0.45057085156440735,
-0.1315702348947525,
0.4877912700176239,
-0.24378859996795654,
0.5112242102622986,
0.6214677095413208,
0.15210065245628357,
0.13604620099067688,
0.27701911330223083,
0.020189207047224045,
-0.18338949978351593,
-0.7665932774543762,
-0.5818619728088379,
0.9690921306610107,
0.23044835031032562,
0.6959965825080872,
0.18642951548099518,
0.7923292517662048,
0.3213859498500824,
0.3478146493434906,
-0.8671833872795105,
0.596434473991394,
0.051324836909770966,
-0.3827821910381317,
-0.29121971130371094,
-0.24732069671154022,
-1.0114344358444214,
0.16518662869930267,
-0.02093655616044998,
-1.307989239692688,
0.12799794971942902,
0.16886134445667267,
-0.5511148571968079,
0.17111988365650177,
-0.9802438616752625,
0.6321454644203186,
-0.00036698218900710344,
-0.5822094678878784,
0.142161563038826,
-0.4125135838985443,
0.651336669921875,
0.05537031963467598,
0.11914952099323273,
-0.07738291472196579,
-0.15411989390850067,
0.6061926484107971,
-0.13918191194534302,
1.10800039768219,
-0.39353570342063904,
-0.2538469433784485,
0.1408863216638565,
0.5891296863555908,
0.6520707011222839,
0.10637498646974564,
-0.24913007020950317,
-0.1381138414144516,
-0.14195074141025543,
-0.361850768327713,
-0.9470682740211487,
0.8115776181221008,
-0.7399364113807678,
-0.9645447134971619,
-0.19049766659736633,
-0.6418642401695251,
0.012078437022864819,
0.21807701885700226,
0.33436933159828186,
0.5402466654777527,
-0.10430135577917099,
-0.35310012102127075,
0.5131296515464783,
-0.42730680108070374,
0.5565508604049683,
0.5075991153717041,
-0.34165722131729126,
-0.23968534171581268,
0.8984240889549255,
0.08478470891714096,
0.39495280385017395,
0.3254202902317047,
0.2342095822095871,
-0.5363022685050964,
-0.37461385130882263,
-0.8282672166824341,
0.2989884614944458,
-0.9910464882850647,
-0.39879870414733887,
-0.3098978102207184,
-0.302498996257782,
-0.5542376637458801,
-0.13280807435512543,
0.01965879276394844,
-0.8875070810317993,
-0.8384956121444702,
-0.022285303100943565,
0.24963393807411194,
0.8035488724708557,
-0.024425681680440903,
0.5010302066802979,
-0.6320554614067078,
0.3878689706325531,
0.31368330121040344,
-0.053194303065538406,
0.015089502558112144,
-0.9698818922042847,
0.16169162094593048,
-0.12079190462827682,
-0.4513697922229767,
-1.3356564044952393,
0.551218569278717,
0.12929551303386688,
0.654979407787323,
0.6845310926437378,
0.2425173819065094,
0.4503069519996643,
-0.38485655188560486,
1.0868556499481201,
0.28521084785461426,
-0.8086647987365723,
0.5189316272735596,
-0.025632191449403763,
0.154218390583992,
0.2928954064846039,
0.3638674020767212,
-0.41467055678367615,
-0.29412201046943665,
-0.6272516250610352,
-0.5741223692893982,
0.9199537038803101,
0.006436965428292751,
0.3077934980392456,
0.023769428953528404,
0.610098659992218,
0.4720824062824249,
-0.008131376467645168,
-0.6892572641372681,
-0.336194783449173,
-0.26703768968582153,
-0.23758608102798462,
-0.22583693265914917,
-0.5666495561599731,
-0.14628006517887115,
-0.1324695199728012,
0.3574663996696472,
-0.09081012010574341,
0.48419681191444397,
0.1524309515953064,
-0.28238579630851746,
-0.17385870218276978,
0.1820261925458908,
0.49030348658561707,
0.6453760266304016,
-0.16157904267311096,
0.7122045159339905,
0.1337060034275055,
0.035525087267160416,
0.3280840516090393,
-0.16625665128231049,
-0.5957345366477966,
0.03875533491373062,
0.5630870461463928,
0.9228136539459229,
0.05953054130077362,
-0.5294058918952942,
0.627291202545166,
0.03471545875072479,
-0.1948276311159134,
-0.19801795482635498,
0.26065942645072937,
-0.058837588876485825,
0.3383762836456299,
0.4131602644920349,
-0.2608385980129242,
0.27756258845329285,
-0.654262900352478,
0.16330359876155853,
0.5840821862220764,
-0.37340137362480164,
-0.6270412802696228,
0.8573576807975769,
-0.004500532988458872,
-0.6650080680847168,
0.6518242359161377,
-0.25769707560539246,
-0.18072563409805298,
0.5918363928794861,
1.275847315788269,
0.8743101954460144,
-0.16711507737636566,
0.2735269069671631,
0.5350176692008972,
0.2866142988204956,
0.1823732703924179,
0.42099979519844055,
-0.12517423927783966,
-0.5851365923881531,
-0.3705984652042389,
-0.2750067412853241,
-0.38786816596984863,
0.23253168165683746,
-0.726661741733551,
0.39462876319885254,
-0.5503636598587036,
0.21591660380363464,
-0.07821981608867645,
-0.12852787971496582,
-0.3503613770008087,
-0.42262154817581177,
0.35960888862609863,
0.9430056810379028,
-1.113613486289978,
0.9336231350898743,
0.5246440172195435,
-0.4231502413749695,
-0.42204466462135315,
-0.13575483858585358,
0.10370209813117981,
-1.1857986450195312,
0.6363738179206848,
0.1956755816936493,
-0.0836879163980484,
0.1833115816116333,
-1.0476771593093872,
-0.631592333316803,
0.9608942866325378,
1.011067509651184,
-0.3627067804336548,
0.22412505745887756,
-0.12281002849340439,
0.1815262734889984,
-0.420791357755661,
0.38363346457481384,
0.7151401042938232,
0.5051121115684509,
0.06037374213337898,
-0.45355674624443054,
0.40715277194976807,
-0.18307264149188995,
-0.23895320296287537,
0.019729133695364,
-0.2301296442747116,
0.8047839999198914,
-0.45482441782951355,
-0.6175625324249268,
0.14711502194404602,
0.6717045307159424,
0.4137611389160156,
0.2774268686771393,
0.2919004559516907,
0.19434809684753418,
0.8343779444694519,
0.09680754691362381,
1.245375156402588,
0.004037328064441681,
0.05600492283701897,
1.0269434452056885,
-0.4039863348007202,
0.6637457013130188,
0.837570071220398,
0.004125562962144613,
0.546097993850708,
0.41827723383903503,
0.14641086757183075,
0.585191011428833,
0.2286413013935089,
-0.09768237918615341,
-0.270569384098053,
-0.16237039864063263,
-0.12474798411130905,
0.03161563351750374,
0.34988293051719666,
-0.08522075414657593,
-0.5027214884757996,
-0.1170092299580574,
0.3897383213043213,
0.2085658758878708,
-0.12293428927659988,
0.9182823300361633,
0.14970925450325012,
-0.8961166143417358,
1.1697739362716675,
-0.10604148358106613,
0.4087908864021301,
-0.5314932465553284,
-0.47660669684410095,
-0.5993376970291138,
0.08597571402788162,
-0.08168129622936249,
-0.6277605891227722,
0.2521169185638428,
0.055345747619867325,
-0.03980188071727753,
-0.42174258828163147,
0.8316805362701416,
-0.4250466525554657,
-0.5022810101509094,
0.30258360505104065,
0.616179883480072,
0.5673566460609436,
0.010672558099031448,
-0.46099382638931274,
-0.224127396941185,
0.08635756373405457,
-0.31136128306388855,
0.40842121839523315,
0.49559369683265686,
-0.039305947721004486,
0.4557572305202484,
0.5070851445198059,
0.2528407573699951,
0.13782019913196564,
-0.026955867186188698,
0.9598395824432373,
-0.622677206993103,
-0.143741175532341,
-1.0807112455368042,
0.27656129002571106,
-0.021367188543081284,
-0.1185033768415451,
0.9170554876327515,
0.4781251847743988,
0.4954698383808136,
-0.0906304121017456,
0.8288536071777344,
0.14088670909404755,
0.45814499258995056,
-0.7087697386741638,
0.39290645718574524,
-0.5296566486358643,
0.479390025138855,
0.01566976122558117,
-0.7095934748649597,
-0.24558094143867493,
0.2378925383090973,
-0.05401131883263588,
-0.46642354130744934,
0.5976582765579224,
1.2580589056015015,
-0.16076315939426422,
-0.30988240242004395,
0.45005279779434204,
0.23148223757743835,
0.23406001925468445,
0.7661879658699036,
1.1081080436706543,
-0.3466080129146576,
0.5495062470436096,
-0.11014086753129959,
-0.42171621322631836,
-0.35288184881210327,
-1.0137912034988403,
-0.7951125502586365,
-0.4670752286911011,
-0.014904556795954704,
-0.5540485978126526,
0.1713438183069229,
0.8572296500205994,
0.44290459156036377,
-0.9336760640144348,
-0.420856773853302,
0.11782446503639221,
0.3208253085613251,
-0.3992713391780853,
-0.23175258934497833,
0.3910212516784668,
-0.42882928252220154,
-0.6405357122421265,
0.6782562136650085,
0.11281876266002655,
0.18629767000675201,
-0.44823625683784485,
-0.2538500726222992,
0.19289670884609222,
0.222930908203125,
0.4837053120136261,
0.4143587350845337,
-0.6873431205749512,
-0.36877769231796265,
0.039015963673591614,
-0.002754869172349572,
0.15192919969558716,
0.8827583193778992,
-0.9401994943618774,
0.16512203216552734,
0.6691973805427551,
0.6437208652496338,
0.44284236431121826,
0.08760599046945572,
0.7747765779495239,
-0.9644113779067993,
0.46634310483932495,
0.05862952768802643,
0.31412842869758606,
0.300700306892395,
-0.5799070000648499,
0.1513591706752777,
0.22042176127433777,
-0.1745983064174652,
-0.9470118284225464,
0.39210861921310425,
-0.8983685970306396,
-0.510064423084259,
1.5360519886016846,
-0.2439749836921692,
-0.3961259126663208,
0.02625320851802826,
-0.4446627199649811,
0.33825233578681946,
-0.5767298340797424,
0.6540313363075256,
0.47706684470176697,
-0.22216108441352844,
-0.5782732367515564,
-0.7499560713768005,
0.41498133540153503,
0.41960588097572327,
-0.6436780095100403,
0.24754835665225983,
0.5286092162132263,
0.13310524821281433,
-0.1334991753101349,
0.7632110118865967,
-0.14883442223072052,
0.1678350865840912,
-0.08867816627025604,
0.2359403371810913,
-0.25690796971321106,
-0.5066388249397278,
-0.9720473289489746,
0.26732176542282104,
0.25321778655052185,
-0.23500142991542816
] |
http://arxiv.org/abs/2405.15007v1
|
http://arxiv.org/pdf/2405.15007v1
|
RE-Adapt: Reverse Engineered Adaptation of Large Language Models
| 2024-05-23T19:23:40 | 2024-05-23T19:23:40 |
William Fleshman, Benjamin Van Durme
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
We introduce RE-Adapt, an approach to fine-tuning large language models on
new domains without degrading any pre-existing instruction-tuning. We reverse
engineer an adapter which isolates what an instruction-tuned model has learned
beyond its corresponding pretrained base model. Importantly, this requires no
additional data or training. We can then fine-tune the base model on a new
domain and readapt it to instruction following with the reverse engineered
adapter. RE-Adapt and our low-rank variant LoRE-Adapt both outperform other
methods of fine-tuning, across multiple popular LLMs and datasets, even when
the models are used in conjunction with retrieval-augmented generation.
|
[
-0.19580204784870148,
-0.778462827205658,
0.2608143091201782,
-0.15632064640522003,
-0.13685165345668793,
0.1964261829853058,
-0.3058154881000519,
-0.3870282471179962,
0.18318238854408264,
0.9717243909835815,
-0.890659749507904,
-0.3284529149532318,
-0.5519533157348633,
-0.018642308190464973,
-0.3149479925632477,
0.9946369528770447,
-0.01363526750355959,
-0.1568423956632614,
-0.04274514690041542,
0.02677455171942711,
-0.6798834800720215,
-0.4017670750617981,
-0.7059538960456848,
-0.26255980134010315,
0.3251289129257202,
0.7948842644691467,
0.5696460604667664,
0.562715470790863,
0.42768973112106323,
0.2962004840373993,
0.15227286517620087,
0.27806758880615234,
-1.0381920337677002,
0.14965805411338806,
-0.6073629856109619,
-0.631301760673523,
-0.7168647050857544,
-0.006820234004408121,
0.668056070804596,
0.7134875655174255,
0.062310103327035904,
0.40819254517555237,
-0.1296454817056656,
0.888439953327179,
-0.7706684470176697,
-0.2084362953901291,
-1.0483719110488892,
-0.272916316986084,
0.24172857403755188,
-0.46803009510040283,
-0.6995127201080322,
-0.4962801933288574,
0.20591960847377777,
-0.8425998687744141,
0.4911176562309265,
0.2548697888851166,
0.5927181243896484,
0.26878979802131653,
-0.08494280278682709,
0.18779049813747406,
-0.9411329627037048,
1.2170512676239014,
-0.7957680225372314,
0.7939454913139343,
0.19936713576316833,
0.4242268204689026,
-0.5154330134391785,
-0.9422929286956787,
-0.45746421813964844,
0.015122600831091404,
0.1987176090478897,
0.0050186035223305225,
-0.39233294129371643,
-0.20875461399555206,
0.18126055598258972,
0.43561697006225586,
-0.3640657365322113,
0.2540050148963928,
-0.4024676978588104,
0.012931974604725838,
0.6935039758682251,
0.11591634154319763,
0.4095138609409332,
0.3963770866394043,
-0.12695245444774628,
-0.07392867654561996,
-1.185874342918396,
-0.5318465232849121,
0.14379629492759705,
0.5145499110221863,
0.16610290110111237,
0.3053598701953888,
-0.23507897555828094,
0.9337659478187561,
0.47685927152633667,
-0.08616134524345398,
0.20988336205482483,
-0.16940708458423615,
-0.5958042144775391,
0.14680294692516327,
0.1771436184644699,
0.27905920147895813,
0.5126159191131592,
-0.4021844267845154,
-0.26326075196266174,
-0.5434633493423462,
0.4796978235244751,
-0.8758183717727661,
-0.2965831160545349,
-0.1827259361743927,
-0.7176933884620667,
-0.1461709588766098,
-0.23918358981609344,
-0.7863945364952087,
-0.35625237226486206,
-0.612084686756134,
0.581669270992279,
-0.22259736061096191,
-0.25570768117904663,
0.3388739824295044,
-0.2550560235977173,
0.4891616702079773,
0.5533153414726257,
-1.1494977474212646,
0.3613875210285187,
0.8933895826339722,
0.624994695186615,
-0.24652045965194702,
-0.6438472270965576,
-0.5044291019439697,
0.15781286358833313,
-0.40531283617019653,
0.996125340461731,
-0.7833391427993774,
-0.42958202958106995,
-0.13305561244487762,
0.660898745059967,
-0.18501970171928406,
-0.7997781038284302,
0.6117556691169739,
-0.8204934000968933,
0.07821442186832428,
-0.16731476783752441,
-0.6684250235557556,
-0.39350277185440063,
0.19678400456905365,
-0.6421915888786316,
0.4677727520465851,
0.37400054931640625,
-0.42490407824516296,
0.4096871614456177,
-0.5269641876220703,
-0.48211467266082764,
-0.3850773572921753,
0.4802103340625763,
-0.34250059723854065,
0.5589644908905029,
0.23407939076423645,
0.044909682124853134,
-0.5674619674682617,
-0.24143755435943604,
-0.48714756965637207,
-0.4343358278274536,
0.007031653076410294,
-0.47762349247932434,
0.6015931963920593,
0.1501147598028183,
0.11036323010921478,
0.19703015685081482,
-1.0248106718063354,
0.13469870388507843,
0.011738010682165623,
-0.5728927850723267,
-0.4790555536746979,
0.18246832489967346,
-0.06799308955669403,
-0.07121594250202179,
0.22812585532665253,
-0.4921320676803589,
0.6519315838813782,
-0.8012911677360535,
0.5270302891731262,
0.6741278171539307,
0.09866105020046234,
0.6450101733207703,
-0.3433898389339447,
0.5344111919403076,
-0.2711527943611145,
-0.004115473944693804,
-0.05266614258289337,
-0.1706799864768982,
-0.858267605304718,
-0.15309081971645355,
0.36940985918045044,
0.685845136642456,
-0.5226580500602722,
0.1882108449935913,
-0.5851501226425171,
-0.5902116894721985,
-0.8831014037132263,
0.31684520840644836,
0.24951598048210144,
0.40863341093063354,
0.5784068703651428,
-0.2128710299730301,
-0.7410634756088257,
-0.9022269248962402,
-0.5841604471206665,
0.10969234257936478,
-0.01787533052265644,
0.18623381853103638,
0.3233705163002014,
-0.5641039609909058,
0.6076180338859558,
-0.707885205745697,
0.052575498819351196,
-0.2649036943912506,
0.0655173733830452,
0.11337415874004364,
0.6267883777618408,
0.5976248979568481,
-0.49355119466781616,
-0.35996013879776,
0.17396150529384613,
-0.40257227420806885,
-0.09811365604400635,
-0.08295653015375137,
-0.18136803805828094,
0.10345126688480377,
0.7808224558830261,
-0.2843264043331146,
0.24864883720874786,
0.5951305627822876,
-0.19139522314071655,
0.4432099461555481,
-0.39839935302734375,
0.27360808849334717,
-1.240436315536499,
0.022719623520970345,
-0.49778980016708374,
-0.24690759181976318,
-0.6906746625900269,
0.240900918841362,
-0.008619752712547779,
-0.13624583184719086,
-0.3378239572048187,
0.5657275915145874,
-0.5652670860290527,
-0.2740571200847626,
-0.6706269979476929,
0.01779864728450775,
0.08776763826608658,
0.17007887363433838,
-0.038098402321338654,
0.9531372785568237,
0.5010176301002502,
-0.5597823858261108,
0.36396273970603943,
0.251984566450119,
-0.4649011492729187,
0.2630152106285095,
-0.6956401467323303,
0.4123854339122772,
-0.03692014515399933,
0.04902723804116249,
-1.1072195768356323,
-0.13425235450267792,
0.0660715401172638,
-0.23866736888885498,
0.5590121150016785,
-0.408180832862854,
-0.0014913527993485332,
-0.05527026951313019,
-0.2547488808631897,
0.5083464980125427,
0.6377043724060059,
-0.8760484457015991,
0.8074532747268677,
0.24969112873077393,
-0.24438585340976715,
-0.5302995443344116,
-0.6406489014625549,
-0.004900109488517046,
-0.23237746953964233,
-0.4732591211795807,
0.43138226866722107,
-0.15365785360336304,
-0.15473251044750214,
-0.14852182567119598,
-0.03603985533118248,
-0.23640529811382294,
0.3703022301197052,
0.135746031999588,
0.08355513215065002,
-0.8285037875175476,
-0.19215019047260284,
0.42542755603790283,
-0.11896181106567383,
-0.21826602518558502,
-0.37549903988838196,
0.40733274817466736,
0.16621075570583344,
-0.30092933773994446,
-0.48642218112945557,
0.24332477152347565,
0.9813516139984131,
-0.07095585763454437,
0.602573812007904,
0.26907411217689514,
-0.4003373384475708,
-0.2771483063697815,
-0.4919290840625763,
-0.23441371321678162,
-0.5065503716468811,
0.571779191493988,
-0.3940645456314087,
-0.7693222761154175,
0.3199022710323334,
-0.6113169193267822,
0.41364237666130066,
0.3766416311264038,
0.5075260996818542,
0.10740803182125092,
0.826106607913971,
1.000592589378357,
-0.23620235919952393,
0.6249976754188538,
0.16433700919151306,
0.23500823974609375,
-0.9243151545524597,
0.23018646240234375,
-0.5547453761100769,
-0.6429101824760437,
-0.5585935115814209,
-0.13887733221054077,
-0.34438425302505493,
0.33822086453437805,
-0.2451423704624176,
0.5844788551330566,
-0.33115842938423157,
0.6550875902175903,
0.555819034576416,
0.016658514738082886,
0.3815601170063019,
0.036395881325006485,
0.44539785385131836,
0.04468313604593277,
-0.5041943192481995,
-0.27134767174720764,
1.1888809204101562,
0.19757822155952454,
1.1519588232040405,
0.33920925855636597,
0.7125536799430847,
0.17894165217876434,
0.5478305816650391,
-0.9302307367324829,
0.2757726311683655,
-0.6346896886825562,
-0.449662446975708,
-0.2322639524936676,
-0.19679012894630432,
-1.108954906463623,
0.02678806520998478,
-0.4402530789375305,
-0.6484963893890381,
0.586463987827301,
0.3620341122150421,
-0.3809192180633545,
0.23399338126182556,
-1.044466257095337,
0.8512046337127686,
-0.11926297843456268,
0.012532006949186325,
-0.5112400650978088,
-0.13902533054351807,
0.30063772201538086,
-0.3780537247657776,
0.10711322724819183,
0.2865275740623474,
0.10348229110240936,
0.7246010303497314,
-0.1283647119998932,
1.028742790222168,
-0.0356399305164814,
-0.28197017312049866,
0.041147127747535706,
0.42840978503227234,
0.5886339545249939,
-0.07127231359481812,
-0.09482010453939438,
-0.11307644844055176,
0.08661086857318878,
-0.25827696919441223,
-0.8896219730377197,
0.9928166270256042,
-1.042585849761963,
-0.9992142915725708,
0.2811758518218994,
-0.6079730987548828,
-0.26739707589149475,
0.459642618894577,
0.07993386685848236,
0.2605985105037689,
-0.46390411257743835,
0.2128654420375824,
0.6176804304122925,
-0.5854464173316956,
-0.035214390605688095,
0.971743106842041,
-0.28906843066215515,
-0.42367252707481384,
0.9836635589599609,
-0.10085050016641617,
0.5903457403182983,
0.6347213387489319,
0.10206759721040726,
0.01860637776553631,
-0.6407516598701477,
-0.47040945291519165,
0.1416451781988144,
-0.6301555633544922,
-0.13766270875930786,
-0.35360610485076904,
-0.17117875814437866,
-0.5299672484397888,
-0.28962066769599915,
-0.5669463276863098,
-0.6081058979034424,
-0.3713803291320801,
0.0029772603884339333,
0.5002338290214539,
0.6431295275688171,
0.052084751427173615,
0.4884794056415558,
-0.8905919194221497,
0.4473907947540283,
0.4766419529914856,
0.267537921667099,
-0.19690042734146118,
-1.32187819480896,
-0.15111206471920013,
0.11687513440847397,
-0.1612870842218399,
-0.5165213346481323,
0.42790162563323975,
0.6344234943389893,
0.5474158525466919,
0.147179514169693,
-0.0925215631723404,
0.9403911828994751,
-0.932026207447052,
0.5441141128540039,
-0.2198559194803238,
-0.844916582107544,
0.5499988198280334,
-0.05467560514807701,
0.2898554503917694,
0.597882866859436,
0.2232494056224823,
-0.3640119433403015,
0.03131537884473801,
-0.29828211665153503,
-0.6813061237335205,
0.5481253862380981,
-0.539088785648346,
0.34042638540267944,
0.1337411105632782,
0.9402009844779968,
0.4449867010116577,
-0.03077392652630806,
-0.20669053494930267,
-0.07796850800514221,
-0.2903406322002411,
-0.06101324036717415,
-0.2521666884422302,
-0.3728467524051666,
-0.006146094296127558,
-0.3439237177371979,
0.7178235650062561,
-0.061277057975530624,
0.1737479865550995,
-0.026113547384738922,
-0.41319727897644043,
-0.3386947512626648,
0.32161659002304077,
0.7655451893806458,
0.8012546300888062,
-0.387006014585495,
-0.004708387888967991,
0.4545435309410095,
-0.6516622304916382,
-0.012295808643102646,
-0.08200306445360184,
-0.1694105714559555,
-0.2526327967643738,
0.5701079964637756,
0.9208777546882629,
0.5190719366073608,
-0.4913654029369354,
-0.04322564974427223,
-0.11592981964349747,
-0.2819855809211731,
-0.04573981836438179,
0.34996265172958374,
0.103301040828228,
0.3735264241695404,
0.028560755774378777,
0.18591906130313873,
0.062265727669000626,
-0.8019992709159851,
0.43874186277389526,
0.334438294172287,
-0.39431267976760864,
-0.5156193375587463,
0.4104650020599365,
0.19437624514102936,
-0.6131397485733032,
0.7904760241508484,
0.31180301308631897,
-0.28330811858177185,
0.4830750524997711,
1.1342501640319824,
1.1496596336364746,
-0.3747707009315491,
-0.15137355029582977,
0.33654677867889404,
0.4137078523635864,
-0.20825180411338806,
0.18541161715984344,
0.4800257384777069,
-0.9210450053215027,
-0.7619296908378601,
-0.47797128558158875,
-0.2614592909812927,
0.19087748229503632,
-0.8409057855606079,
0.2990225553512573,
-0.640963077545166,
0.06384704262018204,
0.03530170023441315,
-0.3193654716014862,
-0.5676392316818237,
0.2373262643814087,
-0.11570176482200623,
1.3084423542022705,
-0.8951293230056763,
1.0695565938949585,
0.707629919052124,
-0.016771912574768066,
-0.43547141551971436,
0.2358066439628601,
-0.22360078990459442,
-1.1867940425872803,
0.7322444915771484,
-0.25603196024894714,
-0.3144093155860901,
0.4080931544303894,
-0.6008627414703369,
-1.1088026762008667,
1.133962869644165,
0.6296534538269043,
-0.704308807849884,
0.14201606810092926,
-0.32956257462501526,
0.5143750309944153,
-0.3924088478088379,
-0.056222084909677505,
0.9499718546867371,
0.2856816053390503,
-0.08119239658117294,
-0.810810923576355,
0.08999168127775192,
-0.004642069805413485,
-0.136188343167305,
0.26845887303352356,
-0.4729071855545044,
0.7117579579353333,
-0.3735242784023285,
-0.21426798403263092,
0.28298357129096985,
0.6979334950447083,
-0.04213457554578781,
-0.07722997665405273,
0.43382805585861206,
0.525177538394928,
0.776957631111145,
0.10865094512701035,
0.8671412467956543,
-0.35562166571617126,
0.4397484064102173,
1.4065638780593872,
-0.23082397878170013,
1.1378989219665527,
0.4394164979457855,
0.032770391553640366,
0.5336329340934753,
0.43515288829803467,
0.008038024418056011,
0.7367815375328064,
0.10581530630588531,
0.03861004859209061,
-0.5896281599998474,
0.22199665009975433,
-0.4972299337387085,
0.42797577381134033,
0.38728728890419006,
-0.4455225169658661,
-0.16294917464256287,
-0.10128521919250488,
-0.3863244950771332,
-0.08376087993383408,
-0.5002682209014893,
0.7978136539459229,
0.06322374939918518,
-0.6176987290382385,
0.9697843194007874,
0.17847003042697906,
0.43088841438293457,
-0.37405359745025635,
-0.29364338517189026,
-0.2761191725730896,
0.5006572008132935,
-0.21558232605457306,
-0.5873797535896301,
0.524554967880249,
-0.2025505155324936,
-0.6171839833259583,
0.048625946044921875,
0.9686371684074402,
-0.23793599009513855,
-0.5196627974510193,
0.2766222655773163,
0.41282305121421814,
0.02163277380168438,
0.09696845710277557,
-0.7212955355644226,
0.03813420608639717,
0.16544663906097412,
-0.3812140226364136,
0.47683095932006836,
0.5967123508453369,
-0.08664979785680771,
0.7715320587158203,
0.702055037021637,
-0.05988053232431412,
0.02136143296957016,
0.20245833694934845,
0.9234480261802673,
-0.8331140279769897,
-0.05992399528622627,
-0.8117647767066956,
0.21141275763511658,
0.29403743147850037,
-0.3140321671962738,
0.6248570680618286,
0.4505288302898407,
0.7917545437812805,
-0.4502897262573242,
0.8448474407196045,
0.31231993436813354,
0.6523848176002502,
-0.6229857206344604,
0.6791952252388,
-0.7754480838775635,
0.246040940284729,
-0.2304510772228241,
-0.9149272441864014,
-0.40861985087394714,
0.5605571269989014,
-0.5281955599784851,
-0.13795411586761475,
0.28174570202827454,
0.9579436182975769,
-0.3798975646495819,
-0.0453609898686409,
0.37801453471183777,
0.5157322287559509,
0.2104426920413971,
0.5174698233604431,
0.7621686458587646,
-0.5829857587814331,
0.32834509015083313,
0.32846981287002563,
-0.32208728790283203,
-0.29828429222106934,
-0.8884357213973999,
-0.8674865961074829,
-0.16989871859550476,
-0.24940460920333862,
-0.2344208061695099,
0.28649938106536865,
0.7673431634902954,
0.6024448275566101,
-1.1242655515670776,
0.015338640660047531,
-0.0040400405414402485,
0.1984710395336151,
-0.4204311668872833,
-0.19569480419158936,
0.3016623854637146,
-0.23768320679664612,
-0.803810715675354,
0.7238112092018127,
0.2539323568344116,
-0.10941804200410843,
0.02200750820338726,
-0.04500121250748634,
-0.006077892612665892,
0.23628903925418854,
0.6879628300666809,
0.597331166267395,
-0.6024075150489807,
-0.7300040125846863,
0.06173790991306305,
0.3352387845516205,
-0.04916580021381378,
1.0067083835601807,
-0.7099820375442505,
0.3228280544281006,
0.5624927878379822,
1.1584786176681519,
0.29617801308631897,
0.04170893877744675,
0.9466785192489624,
-0.5636423230171204,
0.08972298353910446,
-0.2802354395389557,
0.3800130784511566,
0.18949700891971588,
-0.23211194574832916,
0.21545395255088806,
0.21027711033821106,
-0.7023625373840332,
-0.7157757878303528,
0.5324395298957825,
-0.8694051504135132,
-0.4840029180049896,
1.0955101251602173,
-0.10668973624706268,
-0.2821095883846283,
-0.2688733637332916,
-0.360228031873703,
0.24675486981868744,
0.10190743207931519,
0.8996024131774902,
0.3995528519153595,
0.09916464984416962,
-0.29058292508125305,
-0.4409042000770569,
0.31097349524497986,
0.27221009135246277,
-0.6919716000556946,
0.5141676664352417,
0.314918577671051,
0.8102971315383911,
0.1123783215880394,
0.2493194341659546,
-0.004793813917785883,
0.26254576444625854,
-0.14010070264339447,
-0.0065335966646671295,
0.005964994430541992,
-0.41855672001838684,
-0.29438337683677673,
-0.21739736199378967,
0.46227794885635376,
-0.15817295014858246
] |
http://arxiv.org/abs/2405.14992v1
|
http://arxiv.org/pdf/2405.14992v1
|
Linking In-context Learning in Transformers to Human Episodic Memory
| 2024-05-23T18:51:47 | 2024-05-23T18:51:47 |
Li Ji-An, Corey Y. Zhou, Marcus K. Benna, Marcelo G. Mattar
|
cs.CL
|
cs.CL, cs.LG
|
Understanding the connections between artificial and biological intelligent
systems can reveal fundamental principles underlying general intelligence.
While many artificial intelligence (AI) models have a neuroscience counterpart,
such connections are largely missing in Transformer models and the
self-attention mechanism. Here, we examine the relationship between attention
heads and human episodic memory. We focus on the induction heads, which
contribute to the in-context learning capabilities of Transformer-based large
language models (LLMs). We demonstrate that induction heads are behaviorally,
functionally, and mechanistically similar to the contextual maintenance and
retrieval (CMR) model of human episodic memory. Our analyses of LLMs
pre-trained on extensive text data show that CMR-like heads often emerge in the
intermediate model layers and that their behavior qualitatively mirrors the
memory biases seen in humans. Our findings uncover a parallel between the
computational mechanisms of LLMs and human memory, offering valuable insights
into both research fields.
|
[
-0.3339662253856659,
-0.5164543986320496,
0.74690181016922,
-0.18768955767154694,
0.20531024038791656,
-0.24336770176887512,
-0.5731449127197266,
-0.2571159899234772,
0.0327550508081913,
0.42378896474838257,
-0.6834054589271545,
0.07002116739749908,
-0.3685423731803894,
0.2120853215456009,
-0.39003393054008484,
0.725511372089386,
0.18038929998874664,
-0.16146472096443176,
-0.6826680302619934,
-0.19710330665111542,
-0.35271981358528137,
-0.6365023851394653,
-0.6001526713371277,
-0.8292301893234253,
0.6409686207771301,
0.09777943044900894,
0.435122549533844,
0.9816206693649292,
0.4426506757736206,
0.27059516310691833,
0.07478662580251694,
-0.12078589200973511,
-0.550190806388855,
0.19401566684246063,
-0.5685657858848572,
-0.5437779426574707,
0.007167256902903318,
-0.21630868315696716,
0.40480878949165344,
0.7932973504066467,
-0.14489898085594177,
-0.016151439398527145,
0.1993727833032608,
0.577039361000061,
-0.5491818785667419,
0.24788738787174225,
-0.7987523078918457,
0.144941046833992,
0.09349886327981949,
-0.6320468783378601,
-0.6138623356819153,
0.18196633458137512,
0.4681551456451416,
-0.4104011058807373,
0.35524076223373413,
0.1293438971042633,
0.6417213082313538,
0.6616804599761963,
-0.16981343924999237,
-0.3357015550136566,
-0.9232672452926636,
0.870428740978241,
-0.1154145672917366,
0.4735651910305023,
0.4541608393192291,
0.18081435561180115,
-0.04367037117481232,
-0.8369767069816589,
-0.6331129670143127,
-0.10648567974567413,
-0.46959587931632996,
0.006486026104539633,
-0.11104527860879898,
-0.0006894196849316359,
0.2870543301105499,
0.16315513849258423,
-0.31461101770401,
-0.04551728069782257,
-0.42291924357414246,
-0.06498634070158005,
0.17547298967838287,
0.30831897258758545,
0.4680023193359375,
0.16909755766391754,
-0.21827200055122375,
-0.09790033102035522,
-0.9308876395225525,
-0.016983436420559883,
-0.22562044858932495,
0.2529761791229248,
-0.11376907676458359,
0.33949989080429077,
0.07124128192663193,
0.8320325613021851,
0.46575549244880676,
-0.19007989764213562,
0.09713168442249298,
-0.1530284583568573,
-0.04907163605093956,
0.2287030816078186,
0.5987455248832703,
0.1329093873500824,
0.4881986677646637,
-0.8788503408432007,
0.02072889916598797,
0.08807481825351715,
0.70919269323349,
-0.5923861861228943,
-0.13429124653339386,
0.008849058300256729,
-0.4152701795101166,
0.11548854410648346,
0.05621931701898575,
-0.2194283902645111,
-0.17119242250919342,
-0.6478957533836365,
0.6772252917289734,
-0.5127263069152832,
-0.06667830795049667,
-0.1845938116312027,
-0.17540453374385834,
0.7411674857139587,
-0.06562744081020355,
-1.2857224941253662,
0.22313466668128967,
0.7374080419540405,
0.5560593008995056,
-0.35720348358154297,
-0.749487042427063,
-0.2089768946170807,
0.5151467323303223,
0.003253952832892537,
0.8692551255226135,
-0.673642635345459,
-0.04487084597349167,
0.060475751757621765,
0.21690383553504944,
-0.2553345263004303,
-0.8797888159751892,
0.20606106519699097,
-0.5438675880432129,
0.1112329363822937,
-0.4793159067630768,
-0.41764524579048157,
-0.168674036860466,
0.06648939102888107,
-0.5469895005226135,
0.6304569840431213,
0.3213309645652771,
-0.6848875880241394,
0.14256414771080017,
-0.5493271350860596,
-0.5889343619346619,
-0.030879652127623558,
-0.4890635311603546,
-0.372684121131897,
0.10013816505670547,
0.005511429160833359,
0.6331023573875427,
-0.48894596099853516,
0.14961670339107513,
0.015117254108190536,
-0.5456176400184631,
0.2586451768875122,
-0.051849380135536194,
0.7955251336097717,
-0.11065175384283066,
-0.40396207571029663,
0.08741267025470734,
-0.3149412274360657,
-0.3857659697532654,
0.21326421201229095,
-0.2212989628314972,
-0.4972391128540039,
0.19566597044467926,
-0.4242000877857208,
0.4972562789916992,
-0.06602869927883148,
-0.3775885999202728,
-0.09889817237854004,
-0.3225369453430176,
0.963284969329834,
0.4845605194568634,
0.13816073536872864,
0.6796318292617798,
-0.4234856069087982,
-0.06343390792608261,
0.4725640118122101,
-0.3175220191478729,
-0.750385582447052,
-0.3084184229373932,
-0.8354448080062866,
0.005009147804230452,
-0.12296637892723083,
0.3938887417316437,
-0.3839501440525055,
0.5968796014785767,
-0.38025811314582825,
-0.038734305649995804,
-0.3702663481235504,
0.042911890894174576,
0.27666088938713074,
0.6799835562705994,
0.3699186146259308,
-0.22927847504615784,
-0.3465658724308014,
-1.0206438302993774,
-0.36558210849761963,
0.17562665045261383,
-0.5361115336418152,
0.4710511565208435,
0.5026190280914307,
-0.46048256754875183,
1.3844236135482788,
-0.18107393383979797,
-0.36517399549484253,
-0.21687527000904083,
-0.1329827457666397,
-0.09589438140392303,
0.3037737011909485,
0.5995743870735168,
-0.6190637350082397,
-0.2368333786725998,
-0.12079379707574844,
-0.9758660197257996,
0.257440447807312,
-0.333296537399292,
-0.01927998848259449,
-0.11910261958837509,
0.6074499487876892,
-0.8344013094902039,
0.2405622899532318,
0.06312553584575653,
-0.425381600856781,
0.19953303039073944,
-0.13392896950244904,
-0.11097415536642075,
-0.9469007849693298,
-0.011316459625959396,
0.11487266421318054,
-0.04933770000934601,
-0.7312864065170288,
-0.07463362067937851,
0.2511264979839325,
0.008570290170609951,
-0.5452563166618347,
0.4562498927116394,
-0.5190855860710144,
-0.3811355531215668,
-0.22499629855155945,
0.07767868787050247,
-0.060428086668252945,
0.9316748976707458,
0.157682403922081,
0.928050696849823,
0.5583316087722778,
-1.0034962892532349,
0.05897032096982002,
0.4367251396179199,
-0.08618316799402237,
0.6856902837753296,
-0.6777123808860779,
0.39998331665992737,
-0.46450522541999817,
0.12291558086872101,
-0.7478220462799072,
-0.2889958918094635,
0.04918098822236061,
-0.40429583191871643,
0.4963553547859192,
0.4162895977497101,
-0.18475857377052307,
-0.11737696081399918,
-0.09892654418945312,
0.3688608705997467,
0.5808249115943909,
-0.7416427135467529,
0.9461930394172668,
0.44227468967437744,
-0.11270004510879517,
-0.2785234749317169,
-0.6989105939865112,
-0.09591127932071686,
-0.26919957995414734,
-0.3643317222595215,
0.875162661075592,
0.11550437659025192,
-0.4473985433578491,
0.19273819029331207,
0.11354229599237442,
-0.10283083468675613,
-0.11250204592943192,
0.17228825390338898,
0.045621760189533234,
-0.27247872948646545,
0.08880449831485748,
-0.07175921648740768,
-0.04926280304789543,
0.41116705536842346,
-0.30990976095199585,
0.7798076272010803,
0.020438706502318382,
-0.14495183527469635,
-0.5503179430961609,
0.15016551315784454,
0.9372836947441101,
-0.16093960404396057,
1.059901475906372,
0.19778019189834595,
-0.47961288690567017,
-0.11893593519926071,
-0.4267560839653015,
-0.7340189814567566,
-0.4580431282520294,
0.5279871225357056,
-0.3914324641227722,
-0.7275304794311523,
0.5336441993713379,
-0.043966300785541534,
-0.1880275458097458,
0.5557852387428284,
0.9107391238212585,
-0.18633200228214264,
0.6914446353912354,
0.6629583239555359,
-0.27790698409080505,
0.4226323962211609,
-0.2922654449939728,
0.23372375965118408,
-1.2846946716308594,
-0.3121963441371918,
-0.23641043901443481,
-0.394566148519516,
-0.2954953908920288,
-0.04214963689446449,
0.30642902851104736,
-0.2618003785610199,
-0.7105518579483032,
0.29733771085739136,
-0.522053062915802,
0.6915554404258728,
0.60258948802948,
0.2615882456302643,
0.0586073063313961,
0.030517494305968285,
-0.03626493364572525,
0.008645693771541119,
-0.6509251594543457,
-0.2759913504123688,
1.1296412944793701,
0.2765634059906006,
0.5677857398986816,
-0.34150752425193787,
0.206746906042099,
0.19187141954898834,
0.13679786026477814,
-0.7869086861610413,
0.2991662621498108,
0.2309248000383377,
-0.4249182641506195,
-0.3340572714805603,
-0.01912241242825985,
-0.9397972226142883,
0.06734707951545715,
0.051289454102516174,
-0.8017283082008362,
0.05787799134850502,
0.02232508361339569,
-0.6501165628433228,
0.31869053840637207,
-0.4357893168926239,
0.7734469175338745,
-0.06831125915050507,
-0.5059467554092407,
-0.3955272436141968,
-0.7938592433929443,
0.19424311816692352,
0.09216737747192383,
-0.31259557604789734,
0.29159411787986755,
0.05218987539410591,
0.7210991382598877,
0.028319403529167175,
0.8253375887870789,
0.10121195763349533,
0.1875881403684616,
0.2961897552013397,
-0.24095487594604492,
0.4246842861175537,
-0.15523289144039154,
0.3001597225666046,
0.34792885184288025,
-0.5952185988426208,
-0.10149308294057846,
-0.4593164026737213,
0.7538236379623413,
-1.1923198699951172,
-0.6721089482307434,
-0.40367773175239563,
-0.759465217590332,
-0.20378141105175018,
-0.06550084054470062,
0.3399794399738312,
0.42063042521476746,
-0.012559439055621624,
0.43653953075408936,
1.2082645893096924,
-0.19678369164466858,
0.5870761871337891,
0.2870168089866638,
0.1389911025762558,
0.08714708685874939,
0.7368801832199097,
-0.0035413617733865976,
0.29844510555267334,
0.6001682877540588,
0.05993764474987984,
0.006769475061446428,
-0.18839652836322784,
-0.2422158122062683,
0.5016215443611145,
-0.6015499234199524,
-0.08200539648532867,
-0.9786658883094788,
-0.4937904179096222,
-0.12457045167684555,
-0.2736642360687256,
-0.25788864493370056,
-0.11956597119569778,
-0.3084714412689209,
-0.05191849172115326,
0.2899143099784851,
0.6395764350891113,
0.3200988173484802,
0.424528032541275,
-0.5250619053840637,
0.50278240442276,
0.653654932975769,
0.2899123728275299,
0.4457574188709259,
-0.6816694140434265,
-0.37827587127685547,
0.029821055009961128,
-0.5515499114990234,
-0.5652409195899963,
0.3790068030357361,
0.39416781067848206,
0.6523559093475342,
0.7810885906219482,
-0.22209475934505463,
0.4173281192779541,
-0.9379896521568298,
0.5978914499282837,
-0.04940057545900345,
-0.5079346895217896,
0.17676545679569244,
-0.46326491236686707,
0.45924797654151917,
0.30632221698760986,
0.6160145998001099,
-0.641405463218689,
-0.2753971219062805,
-0.412350594997406,
-0.6865792870521545,
0.8323907256126404,
0.030148154124617577,
0.09254654496908188,
-0.23455239832401276,
0.5757983922958374,
0.21545782685279846,
0.09346255660057068,
-0.43185698986053467,
-0.4405243396759033,
-0.16156098246574402,
-0.17121021449565887,
-0.052735913544893265,
-0.21327456831932068,
-0.06214798614382744,
-0.4228692054748535,
0.23025710880756378,
0.028953326866030693,
0.9073444604873657,
0.19821253418922424,
-0.4628680646419525,
-0.16095004975795746,
0.02677220106124878,
0.6721205711364746,
0.8759524822235107,
-0.18869280815124512,
-0.018422367051243782,
0.2142515331506729,
-0.5584389567375183,
0.1642797440290451,
-0.5049766302108765,
-0.3116433620452881,
-0.33424586057662964,
0.25490275025367737,
0.7112070918083191,
0.5450182557106018,
-0.5256336331367493,
0.30342406034469604,
-0.14886710047721863,
0.12221511453390121,
-0.9513468742370605,
0.07932765036821365,
0.43556708097457886,
0.18928445875644684,
0.8545057773590088,
0.19828273355960846,
-0.07868487387895584,
-0.9312533736228943,
0.5106157660484314,
0.38480934500694275,
-0.6586028337478638,
-0.7092030048370361,
0.7851605415344238,
0.1270102858543396,
-0.7277390360832214,
0.9057567119598389,
0.03830605000257492,
-0.5430352687835693,
0.6285898089408875,
1.005938172340393,
1.0618358850479126,
-0.37746039032936096,
-0.32371339201927185,
0.39019981026649475,
0.17834223806858063,
-0.03605038672685623,
-0.18549412488937378,
-0.13043184578418732,
-0.9364054799079895,
-0.2856970727443695,
-0.5322083830833435,
-0.3289840817451477,
0.24754387140274048,
-0.6426823139190674,
0.17311717569828033,
-0.3906005322933197,
0.1237688809633255,
-0.14438751339912415,
-0.5140929818153381,
-1.020196795463562,
0.13064047694206238,
0.43543070554733276,
0.48101943731307983,
-0.7111325860023499,
0.9246082901954651,
0.45027902722358704,
-0.26078394055366516,
-0.44207707047462463,
0.26141345500946045,
-0.17347319424152374,
-0.643893301486969,
0.756916880607605,
0.6331257820129395,
-0.17101934552192688,
0.2781541049480438,
-0.2935589551925659,
-1.0048333406448364,
1.3384621143341064,
0.18124909698963165,
-0.41174569725990295,
-0.409132182598114,
0.1704355776309967,
0.4096375107765198,
-0.8034887313842773,
0.5610007047653198,
0.9040136337280273,
0.05001603811979294,
-0.06989562511444092,
-0.6717925667762756,
-0.05891570821404457,
0.08208315819501877,
0.0171634741127491,
0.14314039051532745,
-0.7296133637428284,
0.9812783598899841,
-0.2964946925640106,
-0.30163609981536865,
-0.37330418825149536,
0.8638380169868469,
0.12485131621360779,
0.07811183482408524,
0.18339776992797852,
0.6808720231056213,
0.30330991744995117,
-0.022573549300432205,
1.0782254934310913,
-0.6571888327598572,
0.10967599600553513,
0.8271281719207764,
-0.4130123555660248,
0.6542317867279053,
0.6639896631240845,
-0.14069615304470062,
0.7409820556640625,
0.28936126828193665,
0.34262898564338684,
0.8224595189094543,
-0.16779296100139618,
0.04833849519491196,
-0.06579476594924927,
-0.04023662582039833,
-0.10248459875583649,
0.4296586215496063,
0.5780925154685974,
-0.48207929730415344,
0.0036195528227835894,
0.19411276280879974,
-0.09711626172065735,
-0.026864882558584213,
-0.5645355582237244,
0.9241664409637451,
0.12031912058591843,
-0.780764102935791,
0.36498305201530457,
-0.2150840014219284,
0.8523207306861877,
-0.43370333313941956,
0.033062610775232315,
-0.049881771206855774,
0.4293360412120819,
0.036196209490299225,
-0.39687299728393555,
0.6137815117835999,
-0.38993731141090393,
-0.5471060872077942,
-0.09305308759212494,
0.6692317128181458,
-0.4263208508491516,
-0.05994237959384918,
0.4732004404067993,
0.34607329964637756,
-0.1445738822221756,
-0.24182526767253876,
-0.2850801348686218,
-0.2645443379878998,
-0.1858850121498108,
-0.516541600227356,
0.6907961964607239,
0.1538870632648468,
-0.05311558395624161,
0.7451381087303162,
0.34648290276527405,
-0.25474703311920166,
0.07751303166151047,
-0.17017757892608643,
0.8251139521598816,
-1.0667777061462402,
-0.42097756266593933,
-1.2100495100021362,
0.28843382000923157,
0.06880820542573929,
-0.11155638843774796,
0.5540543794631958,
0.39775338768959045,
1.0847535133361816,
-0.43971723318099976,
0.8574821949005127,
0.05756942182779312,
0.5878825783729553,
-0.16636507213115692,
0.9434118270874023,
-0.1733357459306717,
-0.14777472615242004,
0.1918800324201584,
-1.1756619215011597,
-0.14520883560180664,
0.6099690198898315,
-0.35135841369628906,
-0.16852308809757233,
1.004366397857666,
0.6340029835700989,
-0.20255042612552643,
-0.04341237619519234,
0.4470292627811432,
0.2716313898563385,
0.019151488319039345,
0.7872230410575867,
0.6943840384483337,
-0.29141825437545776,
0.2776748239994049,
-0.18384797871112823,
-0.06613501161336899,
-0.18909649550914764,
-0.41917794942855835,
-1.2477993965148926,
-0.773361086845398,
-0.02762451209127903,
0.04896679148077965,
-0.0463094487786293,
1.2500747442245483,
0.33485907316207886,
-0.8050058484077454,
-0.3104051351547241,
-0.13171261548995972,
-0.1939445436000824,
-0.42273691296577454,
-0.22909361124038696,
0.36527591943740845,
-0.5264835357666016,
-0.5937649607658386,
0.2603434920310974,
0.638058602809906,
-0.26974549889564514,
-0.5502244234085083,
-0.11409728974103928,
-0.10822852700948715,
0.1992950588464737,
0.6336794495582581,
0.399531751871109,
-0.8747426867485046,
-0.3156309723854065,
0.19671714305877686,
-0.2629368007183075,
0.4977625012397766,
0.9601151943206787,
-1.22244131565094,
0.09072697162628174,
0.2678813934326172,
0.8973206281661987,
0.2937299609184265,
-0.08322618156671524,
0.6593111753463745,
-0.441082626581192,
0.38148584961891174,
0.2699025273323059,
0.47962573170661926,
0.44055771827697754,
-0.5139091610908508,
0.26389801502227783,
0.1639622300863266,
-0.7865644693374634,
-0.516147792339325,
0.22064754366874695,
-0.6270480155944824,
-0.07815516740083694,
0.873081386089325,
-0.04813652113080025,
-0.7374491691589355,
-0.1983104944229126,
0.18543174862861633,
0.29185783863067627,
-0.000054503645515069366,
1.0584007501602173,
0.6495604515075684,
-0.299719899892807,
-0.22991296648979187,
-0.46476006507873535,
0.555965006351471,
0.18596044182777405,
-0.4431014358997345,
0.041851382702589035,
0.013847901485860348,
0.21653062105178833,
0.333568811416626,
0.29503247141838074,
0.1602756232023239,
0.3571314215660095,
-0.06748013198375702,
0.12977424263954163,
0.04600119963288307,
-0.73430997133255,
-0.24883024394512177,
0.11200553178787231,
-0.2651822865009308,
0.05884042754769325
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.