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/2404.01015v1
http://arxiv.org/pdf/2404.01015v1
PairEval: Open-domain Dialogue Evaluation with Pairwise Comparison
2024-04-01T09:35:06
2024-04-01T09:35:06
ChaeHun Park, Minseok Choi, Dohyun Lee, Jaegul Choo
cs.CL
cs.CL
Building a reliable and automated evaluation metric is a necessary but challenging problem for open-domain dialogue systems. Recent studies proposed evaluation metrics that assess generated responses by considering their relevance to previous dialogue histories. Although effective, these metrics evaluate individual responses directly rather than considering their relative quality compared to other responses. To handle this, we propose PairEval, a novel dialogue evaluation metric for assessing responses by comparing their quality against responses in different conversations. PairEval is built on top of open-sourced and moderate-size language models, and we make them specialized in pairwise comparison between dialogue responses. Extensive experiments on multiple benchmarks demonstrate that our metric exhibits a higher correlation with human judgments than baseline metrics. We also find that the proposed comparative metric is more robust in detecting common failures from open-domain dialogue systems, including repetition and speaker insensitivity.
[ -0.38768884539604187, -0.5926782488822937, 0.13469021022319794, 0.2419634908437729, -0.09357471019029617, 0.5187991857528687, -0.25978681445121765, -0.17168700695037842, 0.18833978474140167, 0.3249492645263672, -0.0804043859243393, -0.4061453938484192, -0.2639957070350647, -0.16458402574062347, -0.21804343163967133, 1.0082135200500488, 0.012870262376964092, 0.33525195717811584, -0.6425411701202393, -0.725105881690979, -0.5155848264694214, -0.4534582197666168, -0.6544110178947449, -0.19854113459587097, -0.031454864889383316, 0.27227064967155457, 0.8700417280197144, -0.3297117352485657, 0.785163402557373, 0.327364444732666, 0.20823867619037628, 0.23052950203418732, -0.6629457473754883, 0.2571179270744324, -0.004761916119605303, 0.044054578989744186, -0.6215694546699524, 0.18788395822048187, 0.6506571173667908, 0.902435302734375, -0.20386523008346558, 0.21585692465305328, 0.2651996910572052, 0.5012510418891907, -0.37905818223953247, -0.1682746708393097, -0.5380486249923706, -0.16313539445400238, 0.1658208668231964, -0.3734956383705139, -0.3516373038291931, -0.6426752209663391, 0.3526709973812103, -0.279487669467926, 0.18014168739318848, 0.3990491032600403, 0.5269178748130798, 0.03460021689534187, -0.08985622227191925, -0.05057011917233467, -0.6159452795982361, 0.7291327118873596, -0.9128173589706421, 0.4681592881679535, 0.4398290812969208, 0.44090595841407776, -0.05988739803433418, -0.5892821550369263, -0.5204256176948547, -0.6005753874778748, -0.18211562931537628, 0.24221783876419067, -0.21416792273521423, -0.05636173114180565, -0.13415668904781342, 0.5866398215293884, -0.7620986104011536, -0.0964895486831665, -0.20141777396202087, -0.24410371482372284, 0.5347753763198853, 0.37518706917762756, 0.3833453059196472, -0.08592534810304642, -0.4280237555503845, -0.06737206131219864, -0.5356444716453552, 0.1394871324300766, 0.4228774905204773, 0.2572459280490875, -0.07375216484069824, 0.20862285792827606, -0.10735756158828735, 0.66237473487854, 0.017057955265045166, 0.1229168102145195, 0.10550525039434433, -0.6473681926727295, -0.19398565590381622, -0.10576051473617554, 0.9385780096054077, 0.8647710680961609, -0.012478640303015709, -0.4623889625072479, -0.21455785632133484, 0.09822307527065277, 0.4176494777202606, -0.7344439029693604, -0.42520880699157715, 0.23464591801166534, -0.7645488381385803, -0.32195886969566345, 0.14905774593353271, -0.6103236079216003, -0.34918463230133057, -0.051567383110523224, 0.5317155718803406, -0.1812313348054886, -0.38557323813438416, -0.08726318925619125, -0.010172678157687187, -0.08412729948759079, 0.22082901000976562, -0.6033580303192139, 0.6813686490058899, 0.9530127644538879, 0.991571843624115, -0.5282151103019714, -0.15360213816165924, -1.0581656694412231, -0.4125072658061981, -0.41457152366638184, 0.826267659664154, -0.6281927227973938, -0.6907302141189575, 0.10879635065793991, -0.27130934596061707, 0.08386383950710297, -0.7256975173950195, 0.757622480392456, -0.6725842356681824, 0.417583703994751, 0.03711167722940445, -0.42249107360839844, 0.2127683460712433, 0.14948421716690063, -0.3399236500263214, 0.9158937335014343, 0.3303583264350891, -0.9680676460266113, 0.576075553894043, -0.4894694983959198, -0.3706625699996948, 0.5308994650840759, -0.17764875292778015, -0.2924267649650574, -0.0584443174302578, -0.08036139607429504, 0.06038829684257507, -0.5507399439811707, 0.2669278383255005, -0.6089404821395874, -0.22576208412647247, 0.2228168547153473, -0.3339090943336487, 0.6238852739334106, 0.017601169645786285, -0.0518018938601017, 0.4640980064868927, -0.5164060592651367, 0.31718307733535767, -0.01266728900372982, -0.058199457824230194, -0.815737783908844, -0.05527867004275322, -0.17002461850643158, -0.03254441171884537, 0.1636868268251419, -0.7349184155464172, -0.15974870324134827, -0.6754387021064758, 0.2610219419002533, 0.648726224899292, 0.12702155113220215, 0.4227030277252197, -0.4813169836997986, 0.36608055233955383, -0.09238273650407791, 0.19404484331607819, 0.0675300657749176, -0.5346361398696899, -0.760048508644104, 0.05875653028488159, 0.33609819412231445, 0.5195005536079407, -0.5424307584762573, 0.6230863332748413, -0.3000548481941223, -0.5454800128936768, -0.8051844835281372, 0.237269788980484, 0.7733632326126099, 0.668328583240509, 0.23466305434703827, -0.846591055393219, -0.3915746212005615, -0.7833946943283081, -0.32899293303489685, -0.6361163258552551, -0.12465962767601013, 0.5262084603309631, 0.2269229292869568, 0.24281640350818634, 0.9229238629341125, -0.3162412941455841, -0.08470883965492249, 0.013431149534881115, 0.28386127948760986, 0.044381074607372284, 0.2516881227493286, 0.4415339529514313, -0.6347430348396301, -0.5752623677253723, 0.09102573990821838, -0.6685670614242554, -0.12585905194282532, 0.12799112498760223, -0.2450307011604309, 0.07455265522003174, 0.1312551349401474, -0.06006758287549019, 0.4495287537574768, 0.5843726396560669, -0.5057932138442993, 0.4658087491989136, -0.1674165576696396, 0.6316617131233215, -1.1485507488250732, 0.00037981412606313825, -0.14268918335437775, -0.17367210984230042, -0.519912838935852, -0.11080516874790192, -0.15825001895427704, 0.060961682349443436, -0.3268239200115204, 0.6623004078865051, -0.05020182207226753, -0.4368012547492981, 0.1422523558139801, 0.48978930711746216, -0.09981841593980789, 0.2608318030834198, -0.05274390056729317, 1.1481575965881348, 0.1460696905851364, -0.2574019432067871, 0.8017167448997498, 0.7555103898048401, -0.6512383222579956, 1.0573580265045166, -0.9102184176445007, 0.5897179245948792, 0.4748847186565399, 0.26434773206710815, -1.2457858324050903, -0.08441299200057983, 0.11160565167665482, -0.6650217175483704, -0.06841602176427841, -0.0896332710981369, -0.16914412379264832, -0.4646027386188507, -0.5540419816970825, 0.5871579647064209, 0.424990177154541, -0.8060740232467651, -0.043172530829906464, 0.3362933099269867, -0.4704800546169281, -0.2225998044013977, -0.22838714718818665, 0.19086918234825134, -0.14882662892341614, -1.0363229513168335, 0.204102024435997, -0.48472246527671814, -0.6980983018875122, -0.10239401459693909, -0.23340338468551636, -0.021862536668777466, -0.004789236932992935, 0.2755226790904999, 0.4184696078300476, -0.576471745967865, -0.03400276601314545, -0.10880334675312042, -0.11866389214992523, 0.08256860077381134, -0.31066349148750305, 0.4789482355117798, -0.48294326663017273, -0.44839975237846375, -0.4267668128013611, 0.5050007104873657, 0.4528944492340088, -0.252666711807251, 0.5511565804481506, 0.21155759692192078, -0.08980923146009445, 0.10642664134502411, -0.6791501641273499, -0.24694941937923431, -0.44521477818489075, 0.016132216900587082, -0.27004989981651306, -0.8254735469818115, 0.23298224806785583, 0.17516960203647614, 0.15323923528194427, 0.1457371860742569, 0.6579166650772095, 0.08484810590744019, 1.1305358409881592, 0.09214440733194351, -0.10203361511230469, 0.2491917908191681, 0.062722347676754, 0.35261648893356323, -0.8976978659629822, -0.161423459649086, -0.5978277921676636, -0.13761703670024872, -0.1483069658279419, -0.2918883264064789, 0.5642301440238953, 0.08882669359445572, -0.11721757799386978, 0.357622891664505, -0.31847116351127625, 0.4316047430038452, 0.6011410355567932, -0.11375310271978378, 0.5344258546829224, -0.09585032612085342, -0.103477843105793, -0.08877145498991013, -0.3442119359970093, -0.798029899597168, 1.2628525495529175, 0.062170445919036865, 0.48625046014785767, 0.367688924074173, 0.6947596669197083, 0.5641043782234192, 0.3524155616760254, -0.6539486050605774, 0.4949898421764374, -0.004577166400849819, -0.05888504534959793, -0.27262264490127563, -0.6313962936401367, -0.8409021496772766, 0.25028660893440247, -0.1824636310338974, -0.929595947265625, -0.32606804370880127, 0.004409341141581535, -0.7999423146247864, 0.21298335492610931, -0.6190471053123474, 0.8863041400909424, -0.23065921664237976, -0.3713647127151489, -0.3664831221103668, -0.7202960252761841, 0.18827764689922333, 0.05075651407241821, -0.05256463587284088, 0.024479271844029427, 0.1440470814704895, 1.0163600444793701, -0.7440720200538635, 0.4389365315437317, -0.10766744613647461, 0.08059085160493851, 0.2903187870979309, 0.37637826800346375, 0.007511367090046406, 0.34369269013404846, -0.022466836497187614, 0.09771975129842758, 0.29133036732673645, -0.38155052065849304, -0.7781746983528137, 1.070629358291626, -0.8473052978515625, -0.4799173176288605, -0.04159047454595566, -0.24360133707523346, -0.6531416177749634, -0.07754866778850555, 0.05538012087345123, 0.8944381475448608, -0.856696367263794, 0.16413861513137817, 0.2808782160282135, -0.15487425029277802, 0.3272037208080292, 0.5212849378585815, -0.249752938747406, -0.7044439315795898, 0.8148801922798157, -0.441717267036438, 0.5461605191230774, 0.29729849100112915, 0.1904279589653015, -0.33010515570640564, -0.5516188740730286, -0.49002763628959656, -0.0894160270690918, -0.38513922691345215, -0.3983756899833679, -0.5049484968185425, -0.07446765154600143, -0.5166141986846924, -0.047217197716236115, -0.0860259085893631, -0.6376869082450867, 0.2335515171289444, 0.08859584480524063, 0.08365421742200851, 0.6372111439704895, 0.02502003125846386, 0.009364744648337364, -0.8462094068527222, 0.24827677011489868, 0.5811333656311035, 0.38131481409072876, -0.06182378903031349, -0.6826469898223877, 0.0866866186261177, 0.020042601972818375, -0.36880889534950256, -0.5904159545898438, 0.28668278455734253, 0.2873160243034363, 0.6028639078140259, 0.3706859052181244, 0.3271094858646393, 0.35637781023979187, -0.27349671721458435, 1.0811885595321655, 0.3329593241214752, -0.8181091547012329, 0.6493752002716064, -0.31305739283561707, 0.03521030768752098, 0.7913592457771301, 0.11256150156259537, -0.6619762778282166, -0.42605167627334595, -0.7437054514884949, -0.49846336245536804, 0.6181125640869141, 0.34632986783981323, 0.06169000640511513, -0.006262288428843021, -0.16274164617061615, 0.23389248549938202, 0.170924112200737, -0.06568602472543716, 0.07238968461751938, -0.11428177356719971, -0.008475515060126781, -0.3357924818992615, -0.042883001267910004, -0.45612838864326477, -0.186689093708992, 0.5454716086387634, -0.11856665462255478, 0.3027161657810211, 0.022954806685447693, -0.2694792151451111, -0.29603761434555054, 0.25615689158439636, 0.5089115500450134, 0.3963293433189392, -0.4125387370586395, -0.1308061182498932, 0.2702878415584564, -0.10087573528289795, -0.09532881528139114, -0.1168237030506134, 0.2844752073287964, -0.09327679127454758, 0.38114646077156067, 0.7612671256065369, 0.29833391308784485, -0.5979924201965332, 1.06405770778656, -0.34498706459999084, 0.03195476904511452, -0.147329643368721, -0.2623145282268524, -0.21327556669712067, 0.18270492553710938, 0.04013744369149208, 0.30163711309432983, 0.33116960525512695, -0.5092732906341553, 0.259576678276062, 0.5605950951576233, -0.5886262655258179, -0.3501560091972351, 0.4283677041530609, 0.8455850481987, -0.8677206039428711, 0.665600061416626, -0.34212154150009155, -0.48043665289878845, 0.33787229657173157, 0.43431371450424194, 1.084243893623352, -0.333005428314209, 0.23665370047092438, 0.35681846737861633, -0.04910425469279289, 0.3344246447086334, 0.06447425484657288, -0.38371893763542175, -0.735361635684967, 0.01042352244257927, -0.7050067186355591, -0.6893995404243469, -0.14910589158535004, -0.9016706347465515, -0.01766667701303959, -0.5797858834266663, -0.07240547239780426, -0.07690414786338806, -0.07766378670930862, -0.48902592062950134, -0.1973952054977417, -0.16807779669761658, 0.7988430857658386, -0.7335265874862671, 0.5069223642349243, 0.6170400381088257, -0.540681004524231, -0.32981550693511963, 0.1407567858695984, 0.19014392793178558, -0.9217560291290283, 0.5748825073242188, 0.009600608609616756, -0.5499200820922852, -0.3387000262737274, -0.08824964612722397, -0.07786776125431061, 0.7776502966880798, -0.04600772634148598, -0.2705269157886505, 0.17270883917808533, -0.10881039500236511, 0.6553253531455994, -0.382533997297287, 0.6975218653678894, 0.8143978714942932, 0.1363576352596283, -0.005964743439108133, -1.460103988647461, -0.09640920162200928, -0.46990057826042175, -0.04343400150537491, 0.6035808324813843, -0.7802565693855286, 0.2825762927532196, -0.2234547734260559, -0.10783427953720093, 0.6558635830879211, 0.5818295478820801, -0.12928007543087006, 0.6711502075195312, 0.6451179385185242, 0.4147947132587433, 0.682258129119873, -0.1510879099369049, 0.8316921591758728, -0.3738104999065399, 0.33719733357429504, 1.2947142124176025, -0.427564412355423, 1.184253215789795, 0.2113979011774063, -0.40728840231895447, 0.49445971846580505, 0.3989809453487396, 0.3287164866924286, 0.5202571749687195, 0.10607965290546417, -0.6462271213531494, -0.5193811655044556, -0.1964174062013626, -0.39408445358276367, 0.30208301544189453, 0.32906806468963623, -0.019447462633252144, -0.03407043218612671, -0.18071989715099335, -0.2705414295196533, 0.459446519613266, -0.02768942341208458, 0.9585389494895935, 0.17198659479618073, -0.9223201870918274, 0.6822895407676697, -0.35904163122177124, 0.5991689562797546, -0.28958818316459656, 0.06818042695522308, -0.4540616273880005, 0.1907299906015396, -0.2562674880027771, -0.7031243443489075, 0.3019595742225647, -0.04236855357885361, 0.14476166665554047, -0.21001793444156647, 0.5399467945098877, -0.498532235622406, 0.030061116442084312, 0.4752658009529114, 0.46960681676864624, 0.11716186255216599, 0.025080274790525436, -0.5787631273269653, -0.10809474438428879, -0.1773506999015808, 0.24379877746105194, 0.21834278106689453, -0.16943319141864777, -0.14164449274539948, 0.4967969059944153, 0.5526913404464722, -0.038308002054691315, -0.202382430434227, 0.3305550515651703, 0.6392368674278259, -0.32467561960220337, -0.44215989112854004, -0.4535004198551178, 0.2282547801733017, -0.6274712681770325, -0.5471340417861938, 0.6497477293014526, 0.6925683617591858, 0.755423903465271, 0.287935346364975, 0.6807152628898621, 0.19587406516075134, 0.8761745095252991, -0.2789158225059509, 0.7307847142219543, -0.3021276891231537, 0.23884965479373932, -0.5431161522865295, -0.9731453657150269, -0.26265203952789307, 0.593605637550354, -0.44310322403907776, -0.05021824315190315, 0.8504018783569336, 1.011928677558899, -0.20586344599723816, 0.5394237041473389, 0.43302953243255615, 0.1914372742176056, 0.2323056310415268, 0.5859667658805847, 1.3372858762741089, -0.2772251069545746, 0.6709151268005371, 0.08488592505455017, -0.6098126173019409, -0.2916368246078491, -0.5100055932998657, -1.0737954378128052, -0.7513610124588013, -0.3904799222946167, -0.6235447525978088, 0.3162829577922821, 1.0424234867095947, 0.6760086417198181, -1.0657283067703247, -0.45138663053512573, 0.2009548395872116, -0.07658421993255615, -0.11074358224868774, -0.218698650598526, 0.2261177897453308, -0.3238012194633484, -0.4406093955039978, 0.7913253307342529, 0.6060252785682678, -0.1474168598651886, -0.29502278566360474, -0.43993231654167175, 0.3804611563682556, 0.2211141586303711, 0.5138471126556396, 0.2747552692890167, -0.8942879438400269, -0.5956450700759888, -0.34164565801620483, -0.12308895587921143, 0.11680623143911362, 1.0504871606826782, -0.827933132648468, 0.8232372403144836, 0.6814066171646118, 0.616310715675354, 0.14473921060562134, -0.036212749779224396, 0.8804081678390503, -0.6559942364692688, -0.06713604182004929, 0.31682470440864563, 0.3357025980949402, 0.5575486421585083, 0.26539677381515503, 0.5187106132507324, 0.191441610455513, -0.6996803879737854, -0.8633313179016113, 0.2775561511516571, -1.143181562423706, 0.2569607198238373, 1.0253844261169434, -0.364413857460022, 0.35895949602127075, -0.18175917863845825, -0.45684435963630676, -0.1514541208744049, -0.6048485040664673, 0.6122869253158569, 0.6457587480545044, -0.1307389885187149, 0.39355072379112244, -0.12197645008563995, 0.3713015615940094, 0.5801350474357605, -0.7708378434181213, 0.0009408859768882394, 0.4717419445514679, 0.14331164956092834, 0.24466626346111298, 0.6821860671043396, -0.04828597605228424, 0.3584720194339752, 0.11485233902931213, -0.5020322203636169, 0.2997914254665375, -0.1251101940870285, -0.21560242772102356, 0.11579462140798569, 0.294746071100235, -0.247393399477005 ]
http://arxiv.org/abs/2404.01012v2
http://arxiv.org/pdf/2404.01012v2
Query Performance Prediction using Relevance Judgments Generated by Large Language Models
2024-04-01T09:33:05
2024-06-17T11:23:20
Chuan Meng, Negar Arabzadeh, Arian Askari, Mohammad Aliannejadi, Maarten de Rijke
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG, H.3.3
Query performance prediction (QPP) aims to estimate the retrieval quality of a search system for a query without human relevance judgments. Previous QPP methods typically return a single scalar value and do not require the predicted values to approximate a specific information retrieval (IR) evaluation measure, leading to certain drawbacks: (i) a single scalar is insufficient to accurately represent different IR evaluation measures, especially when metrics do not highly correlate, and (ii) a single scalar limits the interpretability of QPP methods because solely using a scalar is insufficient to explain QPP results. To address these issues, we propose a QPP framework using automatically generated relevance judgments (QPP-GenRE), which decomposes QPP into independent subtasks of predicting the relevance of each item in a ranked list to a given query. This allows us to predict any IR evaluation measure using the generated relevance judgments as pseudo-labels. This also allows us to interpret predicted IR evaluation measures, and identify, track and rectify errors in generated relevance judgments to improve QPP quality. We predict an item's relevance by using open-source large language models (LLMs) to ensure scientific reproducibility. We face two main challenges: (i) excessive computational costs of judging an entire corpus for predicting a metric considering recall, and (ii) limited performance in prompting open-source LLMs in a zero-/few-shot manner. To solve the challenges, we devise an approximation strategy to predict an IR measure considering recall and propose to fine-tune open-source LLMs using human-labeled relevance judgments. Experiments on the TREC 2019-2022 deep learning tracks show that QPP-GenRE achieves state-of-the-art QPP quality for both lexical and neural rankers.
[ -0.3223162293434143, -0.2899702787399292, 0.5620443820953369, -0.09196653217077255, -0.12068521231412888, 0.020696675404906273, -0.10399699956178665, -0.46383795142173767, 0.3897126317024231, 0.543312668800354, -0.44673195481300354, -0.4774581491947174, -0.33390098810195923, -0.12184236198663712, -0.31605347990989685, 0.8289600014686584, 0.5426635146141052, -0.0837119072675705, -0.3078019320964813, 0.04521029070019722, -0.36852413415908813, -0.5844123959541321, -0.217133566737175, -0.22280293703079224, 0.3702976405620575, 0.3765684962272644, 0.6512766480445862, 0.42747458815574646, 0.6084886193275452, 0.19621878862380981, -0.051881447434425354, 0.06745902448892593, -0.6969724297523499, 0.1951911896467209, -0.20015792548656464, -0.5540250539779663, -0.3380935788154602, 0.050820089876651764, 0.8955419659614563, 0.5158702731132507, -0.22240033745765686, 0.2236003279685974, 0.10294211655855179, 0.6245243549346924, -0.6823638081550598, 0.10222575813531876, -0.9906724095344543, 0.06708208471536636, -0.08848410099744797, -0.4584757685661316, -0.5139511227607727, -0.4364648461341858, 0.07929813861846924, -0.48192909359931946, 0.3458099365234375, 0.37786099314689636, 0.6749168038368225, 0.1853330135345459, -0.13481630384922028, -0.07671333849430084, -0.6614519357681274, 0.7704084515571594, -0.7183419466018677, 0.3942390978336334, 0.6283097863197327, 0.6606655716896057, -0.3962063491344452, -0.7454884052276611, -0.4168355166912079, -0.3767050504684448, -0.04635250195860863, 0.18762633204460144, 0.06569348275661469, 0.05395762622356415, 0.13649892807006836, 0.434239000082016, -0.6385188698768616, 0.14547748863697052, -0.2734087407588959, -0.09441754966974258, 0.4473910629749298, 0.36797574162483215, -0.07858020067214966, -0.2069980651140213, -0.2568108141422272, -0.024256519973278046, -0.6432816386222839, 0.29393598437309265, 0.04666552320122719, 0.3565824329853058, 0.36988288164138794, 0.6956416368484497, -0.4353303611278534, 0.6073281764984131, 0.026247691363096237, -0.21609479188919067, 0.07696640491485596, -0.4527461528778076, 0.03811682015657425, -0.12272042781114578, 0.9138857126235962, 0.4053090512752533, -0.057651620358228683, -0.31891363859176636, -0.2129358947277069, -0.2314470410346985, 0.4122951626777649, -0.6882685422897339, -0.19262266159057617, 0.2316911369562149, -0.357834130525589, -0.10743608325719833, 0.11774831265211105, -0.850413978099823, -0.390739768743515, -0.03347889706492424, 0.5548921823501587, -0.6145768165588379, 0.03417324274778366, -0.019091319292783737, -0.025006163865327835, -0.07722706347703934, 0.2615100145339966, -0.6317310333251953, 0.2050912082195282, 0.6706855297088623, 0.8132028579711914, -0.04675160348415375, -0.28023144602775574, -0.7470547556877136, 0.060349274426698685, -0.2806614637374878, 0.876342236995697, -0.62834632396698, -0.38946452736854553, -0.1457839012145996, -0.23835159838199615, 0.02096588723361492, -0.4716576933860779, 0.626724123954773, -0.8233450651168823, 0.16354086995124817, -0.19162419438362122, -0.7595341801643372, 0.07649938017129898, 0.11181394010782242, -0.7264045476913452, 0.9743455052375793, 0.14759406447410583, -0.777625560760498, 0.603325605392456, -0.550468385219574, -0.16146306693553925, 0.31785130500793457, 0.09384242445230484, -0.3207196295261383, 0.14185211062431335, 0.05636097863316536, 0.18833154439926147, -0.5473916530609131, 0.3049783706665039, -0.4906240403652191, -0.6408411860466003, 0.2607480585575104, -0.021215194836258888, 0.15456067025661469, 0.2418118566274643, -0.19161073863506317, 0.17006641626358032, -0.5968744158744812, 0.42392799258232117, -0.14234782755374908, -0.1989055573940277, -0.17252877354621887, 0.3554275631904602, -0.2029774934053421, 0.2820519804954529, 0.1018841564655304, -0.4670405387878418, 0.14681167900562286, -0.6546481251716614, 0.19817717373371124, 0.5469812154769897, -0.055976856499910355, 0.4973638355731964, -0.26164063811302185, 0.7795112729072571, -0.3504877984523773, 0.08591791242361069, -0.14444027841091156, -0.581063449382782, -0.3843456208705902, -0.15943142771720886, 0.5318759679794312, 0.41435137391090393, -0.5955842733383179, 0.4886598289012909, -0.514712393283844, -0.773434579372406, -0.5672006011009216, -0.051286548376083374, 0.3762369155883789, 0.6066310405731201, 0.42258650064468384, -0.2927926778793335, -0.45103466510772705, -0.71697598695755, -0.5491328835487366, -0.4835074245929718, -0.2885192930698395, 0.4006914496421814, 0.30946311354637146, 0.2155631184577942, 1.005654215812683, -0.5410654544830322, -0.5377100706100464, 0.026152225211262703, 0.20817068219184875, 0.33766403794288635, 0.32428282499313354, 0.31119197607040405, -0.7786762714385986, -0.31787413358688354, -0.35259681940078735, -0.4225366711616516, -0.002825625240802765, 0.24398183822631836, 0.06093943864107132, 0.005672439932823181, 0.27548959851264954, -0.3331020474433899, 0.22346143424510956, 0.28341925144195557, -0.3700157105922699, 0.7421430349349976, -0.013925863429903984, 0.3520165681838989, -0.7048931121826172, 0.11316966265439987, 0.13803550601005554, 0.014172163791954517, -0.23322729766368866, 0.027882801368832588, 0.10376715660095215, -0.24375104904174805, -0.4567897915840149, 0.7716314792633057, -0.04609440267086029, -0.25022652745246887, -0.1437891572713852, -0.0825333520770073, 0.0930677205324173, 0.09133539348840714, 0.11461625248193741, 1.0040111541748047, 0.22659516334533691, -0.6178796887397766, -0.021771598607301712, -0.09665831178426743, -0.624822735786438, 0.24443523585796356, -0.5797242522239685, -0.06637866050004959, -0.026901043951511383, 0.2683371603488922, -1.029984712600708, -0.1377488225698471, -0.13418905436992645, -0.7238529920578003, 0.154396191239357, -0.31211596727371216, -0.6838823556900024, -0.505504310131073, -0.2720574140548706, 0.27315592765808105, 0.5854166746139526, -0.36167338490486145, 0.3510025143623352, 0.42216187715530396, -0.018678275868296623, -0.6661867499351501, -0.3970146179199219, 0.0732048824429512, -0.17779292166233063, -0.3613341450691223, 0.44600263237953186, -0.01433047279715538, 0.1062210202217102, 0.023757101967930794, -0.022592034190893173, -0.09301396459341049, 0.08809993416070938, 0.23512545228004456, 0.11872458457946777, -0.27992987632751465, 0.3179628849029541, -0.022442085668444633, 0.036435097455978394, -0.04886265844106674, -0.4118952751159668, 0.37035509943962097, -0.2736699879169464, -0.33238863945007324, -0.3055804669857025, 0.05338572338223457, 0.5837993025779724, -0.40710538625717163, 0.792646050453186, 0.49274271726608276, -0.2016235738992691, 0.010975310578942299, -0.6978256106376648, -0.20065942406654358, -0.43080881237983704, 0.36634713411331177, -0.5646051168441772, -0.8892070651054382, 0.378836065530777, -0.012338743545114994, -0.13538095355033875, 0.5312601923942566, 0.3731505572795868, -0.31432726979255676, 1.096193790435791, 0.46803411841392517, 0.05872161686420441, 0.4630708396434784, -0.26565849781036377, 0.052304547280073166, -0.7273336052894592, -0.3783293068408966, -0.672677218914032, -0.20030477643013, -0.7581905126571655, -0.5257810354232788, 0.5350708961486816, 0.2971078157424927, -0.14108656346797943, 0.24138203263282776, -0.3701063394546509, 0.4389289319515228, 0.8194688558578491, -0.016122711822390556, 0.40435919165611267, 0.144972026348114, -0.09216456860303879, -0.3143179714679718, -0.6443948149681091, -0.4972416162490845, 1.295246958732605, 0.19462017714977264, 0.6762658357620239, 0.11233430355787277, 0.7101681232452393, 0.47819116711616516, 0.2154885083436966, -0.8202142119407654, 0.45497652888298035, -0.16613343358039856, -0.5589638948440552, -0.32773610949516296, -0.6256900429725647, -0.8422438502311707, 0.4631992280483246, -0.3803776800632477, -0.8289087414741516, 0.10827764868736267, 0.12392520159482956, -0.348586767911911, 0.1817813515663147, -0.515956699848175, 0.6753681302070618, -0.14549620449543, -0.4996715486049652, -0.2689913511276245, -0.5761175155639648, 0.3231949508190155, -0.09082303941249847, 0.13731715083122253, -0.19574344158172607, -0.1428934931755066, 0.7695896625518799, -0.13085494935512543, 0.4877212643623352, -0.191875159740448, 0.28665077686309814, 0.4092656075954437, 0.32056522369384766, 0.2494867891073227, 0.07994260638952255, -0.6725868582725525, 0.05081417039036751, 0.3012867867946625, -0.39861243963241577, -0.6039227843284607, 0.7382221221923828, -0.4780580997467041, -0.5894217491149902, -0.4090694189071655, -0.36502689123153687, -0.37535348534584045, 0.43518105149269104, 0.38197198510169983, 0.27724194526672363, -0.3345741927623749, 0.27063223719596863, 0.3719971776008606, -0.23212338984012604, 0.141761913895607, 0.6949812173843384, -0.16959786415100098, -0.4332389831542969, 0.9294837713241577, 0.2042974978685379, 0.005766216199845076, 0.5572868585586548, 0.22549772262573242, -0.655457079410553, -0.6623069047927856, -0.27136296033859253, 0.13617022335529327, -0.5085136890411377, -0.37271353602409363, -0.6177349090576172, 0.09564900398254395, -0.545232892036438, 0.1476861536502838, -0.3732328712940216, -0.41862449049949646, -0.15611505508422852, 0.2801932394504547, 0.0930415540933609, 0.41101154685020447, 0.1454756259918213, 0.11577929556369781, -0.8923853635787964, 0.2964072525501251, 0.0029952186159789562, 0.7129365801811218, -0.08223779499530792, -0.7888903021812439, -0.41475552320480347, 0.03794439136981964, -0.4027201533317566, -0.546728253364563, 0.6117563843727112, 0.5049225687980652, 0.5314865112304688, 0.15195481479167938, 0.417611300945282, 0.527726948261261, -0.5318883657455444, 0.8124940395355225, 0.11539794504642487, -0.6044939160346985, 0.9430622458457947, -0.3065987229347229, 0.22812530398368835, 0.8281932473182678, 0.5318480134010315, -0.1199207678437233, -0.4959143102169037, -0.4968748390674591, -0.7860547304153442, 0.7552171945571899, -0.0023290885146707296, -0.14507922530174255, -0.18259480595588684, 0.4179351031780243, 0.13898727297782898, 0.3252471089363098, -0.48159509897232056, -0.05070122703909874, -0.17673099040985107, 0.010397660546004772, -0.3605533540248871, -0.35008999705314636, 0.20845498144626617, -0.20229680836200714, 0.5672923922538757, -0.2347477227449417, 0.2763317823410034, 0.12693554162979126, 0.1120939776301384, -0.297340452671051, 0.3254120349884033, 0.28530067205429077, 0.9123716950416565, -0.6827108263969421, -0.13990047574043274, -0.23377737402915955, -0.2732085585594177, 0.17305988073349, 0.04153994098305702, -0.17867916822433472, 0.026583177968859673, 0.1285150796175003, 0.5445412993431091, 0.10135837644338608, -0.87445068359375, 0.40001824498176575, -0.13175633549690247, 0.17049558460712433, -0.38689643144607544, 0.07279752939939499, -0.01775101199746132, 0.23623661696910858, 0.6241220831871033, -0.13159149885177612, 0.5235671997070312, -0.5965046286582947, 0.3368326425552368, 0.48017486929893494, -0.528234601020813, -0.2471536099910736, 0.8163975477218628, -0.010711558163166046, -0.23183710873126984, 0.5714690089225769, -0.22683455049991608, -0.5071707963943481, 0.5454435348510742, 0.4700664281845093, 0.6470863223075867, -0.2834995985031128, 0.07333043962717056, 0.6454391479492188, 0.15263324975967407, -0.24998128414154053, 0.04421013221144676, 0.06768812239170074, -0.4451446235179901, -0.6357279419898987, -0.956367552280426, -0.5484184622764587, 0.2142305225133896, -0.6348935961723328, 0.22858387231826782, -0.3600757122039795, -0.38282108306884766, 0.05774311348795891, 0.2603346109390259, -0.538587212562561, 0.3458014726638794, -0.06831830739974976, 0.8354594707489014, -0.5527586936950684, 0.9759836196899414, 0.7342182993888855, -0.5574769973754883, -0.5294786691665649, 0.22897103428840637, -0.13157536089420319, -0.4969779849052429, 0.6894491314888, 0.03707848861813545, -0.12961213290691376, -0.007888306863605976, -0.061586905270814896, -0.9997336268424988, 0.9271510243415833, 0.470268577337265, -0.5149034261703491, -0.07076440751552582, -0.03543218970298767, 0.6558045744895935, -0.2674087882041931, 0.437507301568985, 0.32791197299957275, 0.21615970134735107, 0.22031663358211517, -1.1146469116210938, -0.017781496047973633, -0.16592368483543396, -0.014299573376774788, 0.2512531578540802, -0.4423360824584961, 0.6202023029327393, -0.3325989842414856, -0.05407828465104103, 0.19588442146778107, 0.7725443243980408, 0.39097437262535095, 0.541667640209198, 0.21387435495853424, 0.4991452991962433, 0.6685241460800171, -0.01785205490887165, 1.2835766077041626, -0.3847787082195282, 0.5190848112106323, 1.194045901298523, -0.27074164152145386, 1.1759529113769531, 0.25240641832351685, -0.4719325006008148, 0.3014674484729767, 0.6399319171905518, 0.05790315568447113, 0.6373912692070007, 0.10089388489723206, -0.08544263243675232, -0.2705918252468109, -0.22780026495456696, -0.5063732862472534, 0.5933890342712402, 0.3612474203109741, -0.41192278265953064, 0.032831910997629166, -0.22782596945762634, -0.5332314372062683, 0.12981818616390228, -0.29139259457588196, 0.7980737686157227, -0.08097013831138611, -0.9339966773986816, 0.7603713274002075, -0.05713646486401558, 0.6392314434051514, -0.4263286292552948, -0.1873154640197754, -0.14924423396587372, 0.08377291262149811, -0.04277896508574486, -0.8875609040260315, 0.07676476985216141, -0.3749496340751648, -0.3400367796421051, 0.1080411747097969, 0.8174071311950684, -0.28724032640457153, -0.4518950581550598, 0.34657368063926697, 0.4134630262851715, 0.18198367953300476, -0.2998381555080414, -0.6635801792144775, -0.23342850804328918, -0.21692945063114166, -0.21213246881961823, 0.7962974905967712, 0.2710154950618744, 0.09614482522010803, 0.9166818857192993, 0.40037745237350464, 0.3051242232322693, -0.022402271628379822, -0.1103491336107254, 0.7036495208740234, -0.7538942694664001, -0.6366803050041199, -0.5221018195152283, 0.17302265763282776, 0.1860404908657074, 0.061461590230464935, 0.45654159784317017, 0.6573706269264221, 0.6558066010475159, -0.00231342576444149, 0.6179534792900085, 0.12028462439775467, 0.7603193521499634, -0.5030386447906494, 0.7104535698890686, -0.8418359160423279, 0.4248265326023102, -0.3217613101005554, -0.9781304001808167, -0.08807323127985, 0.24212445318698883, -0.3704153001308441, 0.0929611474275589, 0.5106114149093628, 0.6977524757385254, -0.03482111915946007, -0.0832151249051094, 0.54139244556427, 0.08970437198877335, 0.10945406556129456, 0.4630558490753174, 0.6681262850761414, -0.34075674414634705, 0.6160356402397156, -0.444942831993103, -0.130180224776268, -0.542774498462677, -0.7713984251022339, -0.3634551167488098, -0.6774907112121582, -0.12012959271669388, -0.42468294501304626, 0.16101358830928802, 0.6519190073013306, 0.6583829522132874, -0.7843647003173828, -0.2652985155582428, 0.08315670490264893, 0.12322884798049927, -0.12911055982112885, -0.30679526925086975, 0.4066182076931, -0.47239670157432556, -0.5287011861801147, 0.5506110191345215, 0.12914662063121796, -0.4090321958065033, -0.08634735643863678, -0.011311177164316177, -0.19703927636146545, -0.24831317365169525, 0.630858838558197, 0.34777891635894775, -0.9709084630012512, -0.13968214392662048, 0.05896500125527382, 0.000564351852517575, 0.08604449033737183, 0.7036166787147522, -1.1777770519256592, 0.6566827297210693, 0.5247055292129517, 0.5309357643127441, 0.5312662720680237, 0.25557538866996765, 0.5283018946647644, -0.5840445160865784, -0.15050704777240753, 0.7351548075675964, 0.15826177597045898, 0.08039592206478119, -0.4485548436641693, 0.6074679493904114, 0.06989461928606033, -0.5988919734954834, -0.8539907336235046, 0.12464161962270737, -0.6626016497612, -0.2005322128534317, 0.8839985132217407, -0.27718546986579895, -0.17866569757461548, 0.0228826142847538, 0.07581397891044617, 0.10026617348194122, -0.6352912187576294, 0.7885753512382507, 0.3126794397830963, -0.3816159665584564, -0.18800416588783264, -0.6968533992767334, 0.39789408445358276, 0.5071417093276978, -0.2982027232646942, -0.00815507210791111, 0.6185166835784912, 0.27259743213653564, 0.20329983532428741, 0.6046404242515564, -0.27863961458206177, 0.45125243067741394, -0.15938645601272583, 0.13095776736736298, 0.008916792459785938, -0.2467004805803299, -0.13010697066783905, 0.5228971242904663, 0.5447949171066284, 0.04845866188406944 ]
http://arxiv.org/abs/2404.01009v1
http://arxiv.org/pdf/2404.01009v1
Constructing and Expanding Low-Resource and Underrepresented Parallel Datasets for Indonesian Local Languages
2024-04-01T09:24:06
2024-04-01T09:24:06
Joanito Agili Lopo, Radius Tanone
cs.CL
cs.CL
In Indonesia, local languages play an integral role in the culture. However, the available Indonesian language resources still fall into the category of limited data in the Natural Language Processing (NLP) field. This is become problematic when build NLP model for these languages. To address this gap, we introduce Bhinneka Korpus, a multilingual parallel corpus featuring five Indonesian local languages. Our goal is to enhance access and utilization of these resources, extending their reach within the country. We explained in a detail the dataset collection process and associated challenges. Additionally, we experimented with translation task using the IBM Model 1 due to data constraints. The result showed that the performance of each language already shows good indications for further development. Challenges such as lexical variation, smoothing effects, and cross-linguistic variability are discussed. We intend to evaluate the corpus using advanced NLP techniques for low-resource languages, paving the way for multilingual translation models.
[ -0.4412404000759125, -0.4262014627456665, 0.22301839292049408, 0.09305565059185028, -0.20592962205410004, 0.11482017487287521, -0.7211247682571411, -0.6987668871879578, 0.16657818853855133, 0.9469925165176392, -0.38143080472946167, -0.3383808135986328, -0.7559669613838196, 0.7141978144645691, 0.07069040089845657, 0.9286242723464966, -0.1487257331609726, -0.275788277387619, -0.14790493249893188, -0.8475017547607422, -0.6532617211341858, -0.4444120228290558, -0.30731201171875, -0.023547079414129257, 0.49751198291778564, 0.9759359359741211, 0.7086249589920044, 0.4688291847705841, 0.69366455078125, 0.32140493392944336, -0.08964508771896362, 0.07013344019651413, -0.1140032485127449, 0.3220711350440979, -0.4288423955440521, -0.7728008031845093, -0.04424028843641281, -0.33184194564819336, 0.890788733959198, 1.1948062181472778, -0.06424970179796219, 0.4855339825153351, -0.07934845238924026, 0.8068847060203552, -0.7373083829879761, 0.33581945300102234, -0.3570276200771332, -0.013523497618734837, -0.8871303200721741, 0.3447723388671875, -0.03897152468562126, -0.25111716985702515, 0.21479903161525726, -0.46338802576065063, 0.14246703684329987, -0.08286396414041519, 0.576272189617157, 0.19264096021652222, -0.34586867690086365, -0.3669084310531616, -0.7982191443443298, 1.120824933052063, -0.5704801082611084, 0.274615615606308, 0.4879244267940521, 0.4839901328086853, -0.12570194900035858, -0.4034769833087921, -0.4126582145690918, 0.017546257004141808, -0.302476167678833, -0.1897333413362503, -0.17570587992668152, -0.14511963725090027, 0.37550562620162964, 0.5782279968261719, -0.48488596081733704, 0.12101975083351135, -0.8462150692939758, 0.12201035022735596, 0.32631492614746094, 0.1486540287733078, 0.3464117646217346, -0.5602726340293884, 0.11520746350288391, -0.2371358722448349, -0.42293161153793335, -0.025082621723413467, 0.6184147000312805, 0.9029970169067383, -0.20605216920375824, 0.9696030020713806, -0.5344120860099792, 0.7817541360855103, -0.5691405534744263, -0.14229771494865417, 0.327913373708725, -0.4056479334831238, -0.10743346065282822, 0.32554516196250916, 0.5464427471160889, -0.16832304000854492, 0.0910947173833847, 0.07804856449365616, 0.19514626264572144, 0.34656742215156555, 0.016466591507196426, -0.5939561724662781, 0.08804381638765335, 0.28501489758491516, -0.5763316750526428, -0.18730428814888, -0.3942485749721527, -0.9555301666259766, -0.15820619463920593, -0.3689030408859253, -0.23081685602664948, -0.3073722720146179, -0.8231552243232727, 0.08562400192022324, 0.06350084394216537, -0.2618236839771271, -0.06259287148714066, -0.8626872301101685, 0.438555508852005, 0.43912360072135925, 0.8992645740509033, -0.11598844826221466, -0.1899530291557312, -0.18090581893920898, 0.1501389592885971, -0.34259048104286194, 0.6153932809829712, -0.8716090321540833, -0.3146792948246002, 0.10561303794384003, 0.21664485335350037, -0.0407872274518013, -0.7602915167808533, 0.826460599899292, 0.03545890003442764, 0.08970087021589279, -0.3271544873714447, -0.4385985732078552, -0.2906460165977478, 0.07817070186138153, -0.8109440803527832, 0.9479143023490906, 0.20670008659362793, -1.1274677515029907, 0.10594112426042557, -0.7102089524269104, -0.34623268246650696, 0.21203017234802246, -0.3189983069896698, -0.16837485134601593, 0.5063250660896301, 0.48852962255477905, 0.29886385798454285, -0.24013029038906097, 0.04157988727092743, -0.38965359330177307, -0.20883163809776306, -0.04953819513320923, -0.1872880905866623, 0.879074215888977, 0.5440768003463745, 0.14683888852596283, -0.17342835664749146, -0.8626827001571655, -0.296757310628891, -0.014188376255333424, -0.30856338143348694, -0.862062394618988, -0.20091114938259125, 0.11471084505319595, 0.08827116340398788, 0.338820219039917, -0.8561765551567078, 0.42950668931007385, -0.41436007618904114, -0.039034534245729446, 0.1835828423500061, -0.22357220947742462, 0.5448430180549622, -0.1816249042749405, 0.6389176845550537, 0.049120496958494186, -0.16213348507881165, -0.4671415686607361, -0.661482572555542, -0.513811469078064, -0.22484393417835236, 0.31490957736968994, 0.6027606129646301, -0.8429694175720215, -0.02033492736518383, -0.4214901924133301, -0.5401982069015503, -0.9130785465240479, 0.3116004168987274, 0.14258603751659393, 0.3095960021018982, 0.2513960301876068, -0.32167336344718933, -0.8119063377380371, -0.8935717344284058, -0.18643935024738312, 0.19023941457271576, -0.21677441895008087, 0.3133998513221741, 0.25631028413772583, 0.030305152758955956, 0.7078821659088135, -0.22895033657550812, -0.5415606498718262, -0.667155385017395, 0.1850719004869461, 0.8177259564399719, 0.6392829418182373, 0.36028486490249634, -0.4385334849357605, -0.5860023498535156, 0.47313907742500305, -0.9533993601799011, 0.09366235882043839, 0.1952655017375946, -0.017997531220316887, 0.4900496006011963, 0.40664181113243103, -0.8843991756439209, 0.29105836153030396, 0.7673435807228088, 0.0053849308751523495, 0.4039608836174011, -0.4110359251499176, 0.14490270614624023, -1.1309096813201904, 0.32790035009384155, -0.14910799264907837, -0.029229843989014626, -0.4658103585243225, 0.2405383288860321, -0.20752482116222382, -0.5996734499931335, -0.35789167881011963, 0.5923926830291748, -0.35963279008865356, -0.4854045808315277, -0.3940395712852478, -0.056560009717941284, -0.39487046003341675, 0.3424036502838135, 0.3599236011505127, 0.43906617164611816, 0.5310832262039185, -0.265437513589859, 0.2941950857639313, 0.2838068902492523, -0.7193376421928406, 0.603024959564209, -0.32589998841285706, -0.018545320257544518, -0.241251602768898, 0.03903178498148918, -0.4538043737411499, -0.3870314359664917, 0.32054319977760315, -0.0758420005440712, 0.2375352829694748, -0.6795410513877869, -0.7567635178565979, -0.3789460361003876, 0.30389639735221863, 0.6981154084205627, 0.45814454555511475, -0.43755701184272766, 0.24966831505298615, 0.31999117136001587, -0.6629618406295776, -0.5029478669166565, -0.6122689247131348, 0.038683608174324036, -0.33603957295417786, -0.6197416186332703, 0.10661916434764862, 0.3697754740715027, -0.3245973289012909, 0.1823776513338089, -0.010849780403077602, -0.08229970186948776, -0.45224109292030334, -0.045827362686395645, -0.08201680332422256, -0.46136242151260376, 0.08399790525436401, 0.14383594691753387, -0.027555275708436966, -0.22170215845108032, -0.3760946989059448, 0.4420943260192871, -0.1290893852710724, -0.09643439948558807, -0.5170485377311707, 0.5461814999580383, 0.3501041531562805, -0.34678560495376587, 0.4542517364025116, 0.5429081916809082, -0.4488818645477295, 0.16758699715137482, -0.45033779740333557, 0.03839430958032608, -0.39793747663497925, 0.2717565596103668, -0.532181978225708, -0.6830118894577026, 0.5418887734413147, -0.3040520250797272, -0.029506772756576538, 0.338623583316803, 0.4756369888782501, 0.09523662179708481, 0.7058362364768982, 0.8707169890403748, -0.2645166516304016, 0.3083638548851013, -0.18497256934642792, 0.09645888209342957, -0.5948415994644165, 0.2136244922876358, -0.7742154002189636, -0.298919141292572, -1.144586443901062, -0.57566237449646, 0.02718254365026951, 0.25970757007598877, 0.19237543642520905, 0.5653685331344604, -0.5101115703582764, 0.45248597860336304, 0.5788400173187256, -0.1927124410867691, 0.43928125500679016, 0.3462126553058624, -0.06327781081199646, -0.40658533573150635, -0.9024621248245239, -0.388480007648468, 1.3392679691314697, 0.2823311388492584, 0.4244534373283386, 0.07942818105220795, 0.8451677560806274, -0.0816473737359047, -0.03480682149529457, -0.070307657122612, 0.21453362703323364, -0.5350724458694458, -0.7636623382568359, -0.45575717091560364, -0.3665030002593994, -1.0750436782836914, 0.25147297978401184, 0.04062226414680481, -0.7884155511856079, 0.35673093795776367, -0.13182243704795837, -0.2451862096786499, 0.45219388604164124, -0.5606385469436646, 1.0807905197143555, 0.11530326306819916, -0.29495474696159363, -0.596743643283844, -0.3771539628505707, 0.4017195403575897, 0.10265398770570755, 0.36585596203804016, -0.43693235516548157, 0.11491920053958893, 0.5795459151268005, -0.41359058022499084, 0.676191508769989, -0.2309739887714386, 0.2073758840560913, 0.46790611743927, 0.06493084132671356, 0.4999355971813202, 0.14872924983501434, -0.16777440905570984, 0.4643876552581787, 0.23257334530353546, -0.9227822422981262, -0.41235795617103577, 0.7708176970481873, -0.5631699562072754, -0.22524182498455048, -0.5294128060340881, -0.665012776851654, -0.10061132162809372, 0.24076007306575775, -0.13015002012252808, 0.0035533036570996046, 0.11905022710561752, 0.20439250767230988, 0.29956182837486267, -0.5400297045707703, 0.39322179555892944, 0.38318777084350586, -0.3654445707798004, -0.31795206665992737, 1.1557486057281494, 0.2838805615901947, -0.052337538450956345, 0.08294261991977692, 0.3241550326347351, -0.14611005783081055, -0.3812495470046997, -0.62535560131073, 0.16691988706588745, -0.5203510522842407, 0.04990259185433388, -0.3786473572254181, 0.08833067864179611, -0.3350012004375458, 0.11842332780361176, -0.6761816143989563, -0.6240174770355225, 0.15386556088924408, 0.08110051602125168, 0.3501715064048767, 0.6535340547561646, -0.15812349319458008, 0.20224027335643768, -0.7851888537406921, 0.20068220794200897, -0.07739553600549698, 0.3914243280887604, -0.23777832090854645, -0.04863564297556877, -0.34057244658470154, -0.09354262799024582, 0.14304570853710175, -0.6658567786216736, 0.5742025375366211, -0.2152750939130783, 0.3297131061553955, 0.04564368724822998, 0.16038323938846588, 0.5923787951469421, -0.21207304298877716, 0.42831262946128845, -0.03204922005534172, -0.3183758556842804, 0.7816421985626221, -0.6433473229408264, 0.6703712344169617, 0.668351411819458, 0.4416634142398834, -0.6279760599136353, -0.5564164519309998, -0.7171808481216431, -0.8151436448097229, 0.8483114242553711, 0.6314574480056763, 0.07285024225711823, 0.043071139603853226, 0.3279517590999603, 0.38211143016815186, 0.34489890933036804, -0.5048426389694214, -0.06319622695446014, -0.11107791215181351, -0.11573876440525055, -0.1579613983631134, -0.16967344284057617, 0.18079936504364014, -0.32361435890197754, 0.354534775018692, -0.10650806874036789, -0.04775603488087654, 0.15013369917869568, -0.06622356176376343, -0.22831642627716064, 0.2438812106847763, 0.4253942370414734, 0.4073360562324524, -0.394422322511673, -0.06583531945943832, 0.2561814785003662, -0.3346436321735382, -0.27058902382850647, 0.2782229781150818, -0.1546982377767563, 0.4033423066139221, 0.3056681752204895, 0.7386693358421326, 0.15971729159355164, -0.6258609294891357, 0.051087453961372375, -0.008698349818587303, 0.3423636853694916, -0.4354797601699829, -0.3710872232913971, -0.003316350746899843, 0.14824159443378448, 0.1552748680114746, 0.14722268283367157, -0.08279096335172653, -0.43979412317276, 0.07856988906860352, -0.08773934096097946, -0.09200235456228256, -0.2292078286409378, 0.38363832235336304, 0.18274810910224915, -0.06445511430501938, 0.8635754585266113, -0.18385648727416992, -0.0043577649630606174, 0.5972819924354553, 0.3634347915649414, 0.5750457048416138, -0.2836671471595764, 0.14264953136444092, 0.7857739329338074, 0.31070542335510254, -0.05882953852415085, 0.4378963112831116, -0.19143792986869812, -0.4258589744567871, -0.6410602927207947, -0.847122311592102, -0.45096948742866516, 0.11505898833274841, -0.613200306892395, 0.39632561802864075, -0.22829021513462067, 0.04902873560786247, -0.0709180161356926, 0.3382456302642822, -0.7983134984970093, -0.10520973801612854, 0.01943875104188919, 0.7308857440948486, -0.8701429963111877, 1.2391409873962402, 0.576000988483429, -0.5520698428153992, -0.16321460902690887, -0.2700801491737366, -0.2868086099624634, -0.5081157684326172, 0.7240592837333679, 0.3112887144088745, 0.5278255939483643, -0.26511627435684204, -0.06448691338300705, -1.1103190183639526, 0.5037078261375427, 0.5879834890365601, -0.695615291595459, -0.017827056348323822, 0.6798939108848572, 0.6648371815681458, -0.37059539556503296, 0.028778662905097008, 0.5973508954048157, 0.6365689039230347, -0.29791393876075745, -0.9546146392822266, -0.0799499899148941, -0.15607434511184692, 0.15863144397735596, 0.10794128477573395, -0.3339015543460846, 0.7263102531433105, 0.05353230983018875, -0.19375166296958923, 0.307828813791275, 0.7705940008163452, 0.237295001745224, -0.023483002558350563, 0.3296123147010803, 0.6356275081634521, 0.567703902721405, 0.07886131852865219, 1.2913799285888672, -0.2543465793132782, 0.03722941875457764, 1.2859265804290771, -0.10708137601613998, 1.051385521888733, 0.7080896496772766, -0.250270813703537, 0.41207244992256165, 0.5252594351768494, -0.013904361054301262, 0.3179768919944763, 0.17207737267017365, -0.37134411931037903, -0.23908786475658417, -0.5807369947433472, -0.3555232286453247, 0.5281665921211243, 0.48601341247558594, 0.0794411227107048, -0.5046708583831787, 0.2891865372657776, -0.11846520006656647, 0.31694960594177246, -0.1818787008523941, 0.30142322182655334, 0.08601385354995728, -0.6987049579620361, 0.2969166040420532, 0.07502380013465881, 0.5642737746238708, -0.4255785644054413, -0.05066265910863876, -0.4909907877445221, 0.33854779601097107, -0.12085992842912674, -0.5828444957733154, 0.8981916308403015, -0.07563099265098572, -0.13403412699699402, -0.07019353657960892, 0.6831675171852112, -0.5026335120201111, -1.0346205234527588, 0.303687185049057, 0.3538583815097809, 0.3240060806274414, -0.028335535898804665, -0.41385531425476074, 0.24155734479427338, -0.30302950739860535, 0.06970787048339844, 0.32753199338912964, 0.5108512043952942, -0.3602222204208374, 0.5011862516403198, 0.693191647529602, 0.3232969045639038, 0.28804507851600647, 0.018369518220424652, 0.290800541639328, -0.52908855676651, -0.43448805809020996, -0.3789871037006378, 0.26602354645729065, -0.17516493797302246, -0.36624032258987427, 0.660561740398407, 0.7278682589530945, 1.2649555206298828, -0.08793094754219055, 0.9562214612960815, -0.19307026267051697, 0.9103997349739075, -0.14451763033866882, 0.5373267531394958, -0.4140303432941437, 0.09169632196426392, -0.34813109040260315, -0.8620898723602295, -0.3829396963119507, 0.47760581970214844, -0.17338673770427704, -0.43466371297836304, 0.4548569321632385, 0.39181265234947205, -0.27094173431396484, 0.05048888549208641, 0.2981955409049988, 0.1903410702943802, -0.03693127632141113, 0.5160794258117676, 0.4525495767593384, -0.42418405413627625, 0.7718307375907898, -0.8845416903495789, -0.04058424010872841, 0.13140185177326202, -0.6711095571517944, -0.9414031505584717, -0.4200512766838074, -0.26691314578056335, -0.017382701858878136, 0.10443273931741714, 0.8208665251731873, 0.40627309679985046, -1.0176167488098145, -0.7580356001853943, -0.38356730341911316, 0.31875357031822205, -0.36119210720062256, -0.14775273203849792, 0.4073149859905243, -0.7378382682800293, -1.0510241985321045, 0.5502944588661194, 0.2492627650499344, -0.10432222485542297, -0.31983911991119385, -0.025507746264338493, -0.25234362483024597, -0.3615152835845947, 0.36548182368278503, 0.7660948634147644, -0.6443977355957031, -0.011012406088411808, -0.204448401927948, 0.15840448439121246, 0.09462503343820572, 0.839323878288269, -0.7585157155990601, 0.7900575399398804, 0.48872965574264526, 0.703616738319397, 0.7211426496505737, -0.5680440068244934, 0.8245409727096558, -0.9292765855789185, 0.8286328911781311, 0.05499415844678879, 0.40420782566070557, 0.48402637243270874, -0.05071255564689636, 0.608396053314209, 0.35405802726745605, -0.23062044382095337, -1.009214997291565, 0.25275811553001404, -0.6395107507705688, -0.34438538551330566, 0.7531006932258606, -0.10930991917848587, -0.21210218966007233, -0.2232344001531601, -0.21673887968063354, 0.2902136445045471, -0.09662118554115295, 0.7842047810554504, 0.797713041305542, -0.13228364288806915, -0.18735963106155396, -0.922322154045105, 0.6070390939712524, 0.5197846293449402, -0.5187897682189941, 0.2484617531299591, 0.17353439331054688, 0.08796105533838272, 0.4170089364051819, 0.6776257157325745, -0.1830596625804901, 0.14545701444149017, 0.2703762948513031, 0.0297906044870615, 0.22678735852241516, -0.30547034740448, -0.31883683800697327, 0.3543817698955536, -0.023377565667033195, -0.3066004812717438 ]
http://arxiv.org/abs/2404.00999v1
http://arxiv.org/pdf/2404.00999v1
What Causes the Failure of Explicit to Implicit Discourse Relation Recognition?
2024-04-01T09:08:53
2024-04-01T09:08:53
Wei Liu, Stephen Wan, Michael Strube
cs.CL
cs.CL
We consider an unanswered question in the discourse processing community: why do relation classifiers trained on explicit examples (with connectives removed) perform poorly in real implicit scenarios? Prior work claimed this is due to linguistic dissimilarity between explicit and implicit examples but provided no empirical evidence. In this study, we show that one cause for such failure is a label shift after connectives are eliminated. Specifically, we find that the discourse relations expressed by some explicit instances will change when connectives disappear. Unlike previous work manually analyzing a few examples, we present empirical evidence at the corpus level to prove the existence of such shift. Then, we analyze why label shift occurs by considering factors such as the syntactic role played by connectives, ambiguity of connectives, and more. Finally, we investigate two strategies to mitigate the label shift: filtering out noisy data and joint learning with connectives. Experiments on PDTB 2.0, PDTB 3.0, and the GUM dataset demonstrate that classifiers trained with our strategies outperform strong baselines.
[ -0.24079880118370056, -0.6070839166641235, 0.8123018741607666, 0.0009518636506982148, -0.06409940868616104, 0.0916215181350708, 0.10312885791063309, -0.7286955714225769, -0.4530490040779114, 0.23286698758602142, -0.398906946182251, -0.14383262395858765, -0.6795041561126709, 0.13467085361480713, -0.26961538195610046, 1.3181694746017456, -0.157113179564476, -0.23438599705696106, -0.3090737462043762, -0.37440356612205505, -0.2815413177013397, -0.3977985680103302, -0.8542671203613281, -0.5611634850502014, 0.593545138835907, 0.2780730426311493, 0.749338686466217, 0.764680027961731, 0.38230660557746887, 0.2895333170890808, -0.41123923659324646, 0.0595792718231678, -0.6404542922973633, 0.22406098246574402, -0.02496933750808239, -0.632255494594574, -0.18995335698127747, -0.03215192258358002, 0.9129570722579956, 1.170699954032898, 0.15545910596847534, -0.05219333618879318, -0.03362154960632324, 0.5994709134101868, -0.8133804798126221, 0.48534512519836426, -0.718061089515686, -0.08094809949398041, -0.27101320028305054, 0.37933260202407837, -0.587726891040802, -0.48831868171691895, 0.3325779139995575, -0.6413144469261169, 0.26750412583351135, 0.10280115157365799, 1.1238763332366943, 0.09324678778648376, -0.7301607728004456, -0.21919257938861847, -1.123663067817688, 0.3667846620082855, -0.2984522879123688, 0.41170093417167664, 0.417507529258728, -0.00492579210549593, -0.2996785640716553, -0.8628994822502136, -0.45143431425094604, 0.1222810223698616, -0.36626091599464417, 0.18896549940109253, -0.18864229321479797, 0.11331357061862946, 0.6295526623725891, 0.15819048881530762, -0.1358993947505951, 0.07159063965082169, -0.5543333292007446, -0.14732825756072998, 0.17843957245349884, -0.12449515610933304, 0.06124905124306679, 0.15787948668003082, -0.4802623689174652, 0.03561883419752121, -1.0943810939788818, 0.3604266047477722, 0.3625487983226776, 0.10426020622253418, 0.19998960196971893, 0.1797640174627304, 0.4024930000305176, 0.4514818787574768, 0.23897568881511688, -0.11598643660545349, 0.04453271999955177, -0.07019095867872238, -0.10024498403072357, 0.368840754032135, 0.6945236325263977, 0.0017542849527671933, 0.21085260808467865, 0.028489811345934868, -0.14080987870693207, 0.1387293040752411, -0.10796112567186356, -0.4000396728515625, -0.42070645093917847, -0.14124856889247894, -0.29139241576194763, 0.037297070026397705, -0.07512784004211426, -0.08436566591262817, -0.3161335587501526, -0.3319796323776245, -0.09343384951353073, -0.401572048664093, -0.5108834505081177, -0.16142240166664124, -0.21955586969852448, 0.4555477201938629, 0.4489336609840393, -0.8754625916481018, 0.821088969707489, 0.7005175948143005, 0.4472604990005493, -0.059708282351493835, -0.08228042721748352, -0.2922336459159851, 0.44444242119789124, -0.2964126169681549, 0.9400988817214966, -0.333021342754364, -0.35696738958358765, 0.008667158894240856, 0.12389809638261795, -0.4701504707336426, -0.6636981964111328, 0.5891349911689758, -0.39891088008880615, 0.24252524971961975, -0.5732855200767517, -0.7133246660232544, -0.20231543481349945, -0.22489455342292786, -0.6798561811447144, 0.8791634440422058, 0.003400874324142933, -0.8163885474205017, 0.36704128980636597, -0.18438059091567993, -0.595425009727478, -0.11770620197057724, -0.02014436386525631, -0.7757627367973328, 0.16045020520687103, -0.19358588755130768, 0.11671064794063568, -0.06556232273578644, 0.2740715444087982, -0.16583900153636932, -0.7630161643028259, 0.4779945909976959, -0.266633003950119, 0.9733185768127441, -0.14287815988063812, -0.31426212191581726, -0.12824104726314545, -0.7057028412818909, -0.48662590980529785, -0.04829090088605881, -0.02982414700090885, -0.8593631982803345, 0.13959388434886932, -0.21890336275100708, 0.30454471707344055, -0.20524784922599792, -0.518047034740448, 0.04269729554653168, -0.5509481430053711, 0.260699987411499, 0.9169396758079529, 0.11837542802095413, 0.5575274229049683, -0.11893919855356216, 0.2578035593032837, 0.439947247505188, -0.1819344311952591, 0.08967086672782898, -0.5712758302688599, -1.0272220373153687, 0.04930298030376434, 0.492514431476593, 0.45731982588768005, -0.6424843668937683, -0.05090569704771042, -0.3527141213417053, -0.17172060906887054, -0.5787790417671204, -0.010216829366981983, 0.7151316404342651, 0.8100100755691528, 0.22987890243530273, 0.08644983917474747, -0.43360838294029236, -1.286471962928772, -0.15465989708900452, -0.5608270764350891, 0.11907753348350525, 0.025171132758259773, 0.32186245918273926, 0.11927864700555801, 0.9163452982902527, -0.6729922890663147, -0.1334441900253296, 0.035214170813560486, 0.4251803159713745, -0.08739365637302399, 0.34613534808158875, 0.41850873827934265, -0.9147243499755859, -0.16904936730861664, -0.1484207659959793, -0.6409708261489868, -0.1429220587015152, -0.11814653873443604, -0.052147090435028076, 0.44645416736602783, 0.7461581230163574, -0.448411226272583, 0.45365002751350403, 0.16715548932552338, -0.2765941023826599, 0.49737614393234253, -0.06383155286312103, -0.43263211846351624, -0.7917425632476807, -0.013519247993826866, 0.10438261181116104, -0.3641180396080017, -0.5335301756858826, -0.4793627858161926, 0.08567459881305695, 0.14382433891296387, -0.7314937114715576, 0.41738682985305786, -0.6789470314979553, -0.20759978890419006, 0.14864203333854675, 0.12363585829734802, -0.008141008205711842, 0.634304940700531, 0.1610998511314392, 0.562823474407196, 0.2077832669019699, -0.9095332622528076, -0.11007954925298691, 0.41986191272735596, 0.20155544579029083, 0.7500226497650146, -0.40472355484962463, 0.21653056144714355, -0.36433401703834534, 0.2780667543411255, -1.4535572528839111, 0.09117807447910309, 0.7330025434494019, 0.12878663837909698, 0.6628822088241577, -0.42002004384994507, -0.29338574409484863, -0.0882088840007782, -0.20676875114440918, 0.46860742568969727, 0.43985795974731445, -0.5656054019927979, 0.17081892490386963, 0.4474640190601349, -0.16364547610282898, -0.35259222984313965, -0.5798978805541992, -0.24872057139873505, -0.1264282464981079, -0.11182961612939835, 0.27945682406425476, 0.11723742634057999, -0.3570181727409363, 0.2090081423521042, -0.5008125305175781, -0.3731056749820709, 0.15545673668384552, 0.639978289604187, 0.21695132553577423, -0.019124075770378113, 0.5659816265106201, 0.41119328141212463, -0.1262570172548294, 0.6058265566825867, 0.2024819552898407, -0.1883949190378189, -0.2075398713350296, -0.002800540765747428, -0.16415779292583466, 0.07001668959856033, 0.20042966306209564, 0.16675172746181488, 0.7161176204681396, 0.4054945409297943, -0.35399115085601807, 0.11068388819694519, -0.3227368891239166, 0.016247736290097237, -0.41958487033843994, 0.07750462740659714, -0.5884060263633728, -0.7086477875709534, 0.534404993057251, -0.5409325957298279, -0.029145387932658195, 0.45718568563461304, -0.181492418050766, -0.34453874826431274, 0.8113908767700195, 0.2604656517505646, 0.3548775613307953, 0.28793540596961975, -0.05881037563085556, 0.21169644594192505, -1.1072967052459717, -0.24279920756816864, -0.5213119983673096, -0.1580091118812561, -0.9708720445632935, 0.2422046810388565, 0.2795872688293457, -0.06274191290140152, -0.09554744511842728, 0.284359335899353, -0.24112723767757416, 0.3944450616836548, 0.22665074467658997, 0.12189540266990662, 0.39681315422058105, -0.06948986649513245, -0.0326918289065361, -0.4870608150959015, -0.6209545135498047, -0.3482358157634735, 0.5544037818908691, 0.2778503894805908, 0.44509226083755493, 0.1615767776966095, 0.6084524393081665, -0.04353843256831169, 0.6034809947013855, -0.6082196831703186, 0.8003512620925903, -0.07440552115440369, -0.368398517370224, -0.17958761751651764, -0.5069588422775269, -1.2925773859024048, 0.25555333495140076, -0.17108049988746643, -0.5256452560424805, 0.4517713785171509, 0.01630929484963417, 0.18576626479625702, 0.17948953807353973, -0.6579126119613647, 0.723670482635498, 0.22255465388298035, -0.8097991347312927, 0.4082827866077423, -0.9451414346694946, 0.6299264430999756, 0.1316014528274536, 0.2608737349510193, -0.3008076846599579, -0.008118431083858013, 0.8295806050300598, -0.299134224653244, 0.8697713017463684, -0.2146749645471573, -0.3459970951080322, 0.21855665743350983, 0.1802980750799179, 0.26929450035095215, -0.09075567871332169, 0.0851028636097908, 0.11788450926542282, -0.28665581345558167, -0.15049782395362854, -0.6291536688804626, 0.6303495764732361, -0.679879367351532, -0.576422929763794, -0.7162806987762451, -0.34219494462013245, -0.17922858893871307, 0.06520675122737885, 0.24822703003883362, 0.2120048850774765, -0.37146449089050293, -0.21588784456253052, 0.756592869758606, 0.1261473447084427, 0.589448094367981, 0.42533668875694275, -0.16699372231960297, -0.11091802269220352, 0.9139322638511658, 0.26640769839286804, 0.18093636631965637, 0.20323148369789124, 0.027707591652870178, -0.4772714078426361, -0.3309918940067291, -0.1236877515912056, 0.5260231494903564, -0.7969138622283936, -0.138330340385437, -0.5316735506057739, -0.3498334288597107, -0.4440978169441223, 0.09639406204223633, -0.1395045816898346, -0.6693834066390991, -0.3519653379917145, -0.2502657473087311, 0.056063905358314514, 0.8395744562149048, 0.12745317816734314, 0.18288876116275787, -0.551949143409729, 0.2588519752025604, 0.39402228593826294, 0.18009507656097412, -0.2958678603172302, -0.5100859999656677, 0.14841328561306, -0.12849190831184387, -0.302695631980896, -0.9472701549530029, 0.0596952922642231, 0.36798977851867676, 0.31643617153167725, 0.3767572045326233, 0.16647988557815552, 0.7143927216529846, -0.4245525300502777, 0.3333759903907776, -0.03892374411225319, -1.0350961685180664, 0.5214864611625671, -0.42512547969818115, 0.657524824142456, 0.5458282828330994, 0.741573691368103, -0.24554544687271118, -0.6244129538536072, -0.7484757304191589, -1.0096653699874878, 0.7324044704437256, 0.40322473645210266, -0.26560646295547485, -0.030752675607800484, 0.6751521825790405, 0.28522789478302, 0.2513900697231293, -1.0170953273773193, -0.6571599841117859, 0.2649501860141754, 0.14602871239185333, 0.23003298044204712, -0.44406917691230774, 0.08838348090648651, -0.4622945189476013, 0.6138116121292114, 0.07709812372922897, 0.16085119545459747, 0.16672708094120026, -0.20384840667247772, -0.16053509712219238, 0.30520936846733093, 0.6038888692855835, 0.6976901292800903, -0.21636922657489777, 0.2505377531051636, -0.05111577361822128, -0.3580830991268158, 0.4218369424343109, 0.3403646647930145, -0.630476713180542, 0.2844964861869812, 0.33650487661361694, 1.0682035684585571, 0.8964095115661621, -0.17717570066452026, 0.395964115858078, -0.20389971137046814, -0.17164228856563568, -0.37283721566200256, -0.10692562162876129, 0.13375723361968994, -0.41884100437164307, 0.17966175079345703, 0.37505337595939636, 0.3851951062679291, -0.5776464939117432, 0.003222342813387513, 0.09533414244651794, -0.4944920539855957, -0.5352007150650024, 0.6107937693595886, 0.04987124726176262, -0.03717916086316109, 0.7276909351348877, -0.3586181104183197, -0.573965311050415, 0.38734903931617737, 0.6354725956916809, 0.6905790567398071, -0.5312096476554871, 0.44298169016838074, 0.37414294481277466, 0.16429901123046875, -0.05873618274927139, -0.19357439875602722, -0.12749221920967102, -0.7382429838180542, -0.20184992253780365, -0.15870317816734314, -0.5939691066741943, -0.03409440442919731, -0.7038729190826416, 0.2704800069332123, -0.5075944662094116, -0.1924186646938324, 0.08947387337684631, -0.37701302766799927, -0.5661643147468567, 0.06533441692590714, 0.12798775732517242, 0.16096185147762299, -1.107610821723938, 0.5733645558357239, 0.8410994410514832, -0.1792120486497879, -0.6728460788726807, 0.00247937417589128, 0.0046689207665622234, -0.21151389181613922, 0.904472291469574, 0.1654822677373886, -0.2084808498620987, -0.06645119190216064, -0.44429346919059753, -0.6974155306816101, 0.5572848320007324, 0.7263345122337341, -0.5809639096260071, -0.07462279498577118, 0.1830015480518341, 0.7384806871414185, 0.05820618197321892, 0.2878769338130951, 0.5741745233535767, 0.5264151692390442, 0.2772214412689209, -0.8288001418113708, 0.36112576723098755, 0.13929684460163116, 0.075482077896595, 0.56498783826828, -0.5379948019981384, 0.9267153739929199, -0.08471912145614624, -0.5056557059288025, -0.39112403988838196, 0.6424691081047058, 0.08086854964494705, 0.6590445637702942, 0.5495143532752991, 0.5097774863243103, 0.7384582161903381, -0.5088145732879639, 0.987654983997345, 0.4421563446521759, -0.026980310678482056, 1.4025996923446655, -0.7138733267784119, 0.8085505366325378, 0.46915921568870544, -0.22790706157684326, 0.8801332116127014, 0.5276673436164856, 0.242107093334198, 0.4393407702445984, 0.1765904426574707, -0.43219760060310364, -0.0002886670990847051, -0.24895648658275604, -0.27376842498779297, 0.5824472308158875, 0.652795672416687, -0.28078439831733704, -0.2703593969345093, 0.027849245816469193, 0.19432513415813446, 0.11164126545190811, -0.2942849099636078, 1.093368411064148, 0.20494207739830017, -0.8606142997741699, 0.6838598251342773, -0.5328829288482666, 0.05957677960395813, -0.39278027415275574, -0.3086821138858795, -0.17228008806705475, 0.17339277267456055, -0.29470184445381165, -0.7311367392539978, 0.3277518153190613, -0.7510454058647156, -0.15096580982208252, -0.34390586614608765, 1.0389069318771362, -0.5565090179443359, -0.31956666707992554, 0.3723909556865692, 0.6012343764305115, 0.1741955280303955, 0.34513527154922485, -0.49055027961730957, 0.17090345919132233, -0.16508933901786804, -0.07650099694728851, 0.40775638818740845, 0.7299425005912781, -0.2635796070098877, 0.34177520871162415, 0.4300614595413208, 0.18578392267227173, -0.13456951081752777, -0.18291544914245605, 0.8605279326438904, -0.45466774702072144, -0.23866355419158936, -0.6475281119346619, 0.15993382036685944, -0.18030044436454773, -0.23227229714393616, 0.7329291105270386, 0.5828453898429871, 0.7305353879928589, -0.1230170875787735, 0.5702606439590454, 0.23575055599212646, 0.4315972328186035, -0.5201275944709778, 0.40209197998046875, -0.0001664796145632863, 0.4657142162322998, -0.38574138283729553, -1.0631691217422485, -0.3479393422603607, 0.4132080674171448, -0.38139981031417847, -0.12950989603996277, 0.9990441799163818, 0.251844584941864, -0.02316269278526306, 0.05506006255745888, 0.22540642321109772, 0.5481526255607605, 0.21216948330402374, 0.7382245659828186, 0.8185761570930481, -0.7657907009124756, 0.7458761930465698, -0.15582431852817535, 0.09158144146203995, 0.11473973840475082, -0.8137530088424683, -0.7628487348556519, -0.8556167483329773, -0.8878533840179443, -0.4786592125892639, 0.5973252654075623, 0.3642725944519043, 0.45041990280151367, -0.5355499386787415, -0.20146533846855164, -0.3291029930114746, 0.5923098921775818, -0.24365781247615814, -0.30197587609291077, 0.3754696846008301, -0.15775619447231293, -0.691159725189209, 0.11678783595561981, 0.1737397313117981, 0.2874469459056854, 0.16481588780879974, 0.26562607288360596, -0.5234462022781372, -0.41390490531921387, 0.41513270139694214, 0.7741944789886475, -0.4893423020839691, -0.36221975088119507, -0.4782334566116333, -0.15315914154052734, 0.3058130443096161, 0.8066005706787109, -1.0724146366119385, 0.16235189139842987, 0.33240580558776855, 0.25499504804611206, 0.6172839403152466, -0.07338020205497742, 0.7635867595672607, -1.1167999505996704, 0.2403372973203659, 0.117019884288311, 0.3038857579231262, 0.4266005754470825, -0.2899826467037201, 0.6674715876579285, 0.4428586959838867, -0.5643707513809204, -0.7981939911842346, 0.2690332531929016, -0.8344409465789795, -0.24611325562000275, 1.0895005464553833, -0.32626816630363464, -0.3875342309474945, -0.6123890280723572, -0.36029183864593506, 0.31409528851509094, -0.4733709990978241, 0.6204964518547058, 0.7010810375213623, -0.446544885635376, -0.28979039192199707, -0.16042500734329224, 0.8524608016014099, 0.28926095366477966, -0.5879207253456116, 0.03467784821987152, 0.642540454864502, 0.18941573798656464, 0.3127232491970062, 0.7129940986633301, 0.21966873109340668, 0.33702895045280457, -0.153716579079628, -0.3323056995868683, 0.09493888914585114, -0.17195633053779602, -0.33388930559158325, 0.29868924617767334, 0.15380430221557617, -0.11144809424877167 ]
http://arxiv.org/abs/2404.00998v1
http://arxiv.org/pdf/2404.00998v1
LLM-RadJudge: Achieving Radiologist-Level Evaluation for X-Ray Report Generation
2024-04-01T09:02:12
2024-04-01T09:02:12
Zilong Wang, Xufang Luo, Xinyang Jiang, Dongsheng Li, Lili Qiu
cs.CL
cs.CL, cs.AI
Evaluating generated radiology reports is crucial for the development of radiology AI, but existing metrics fail to reflect the task's clinical requirements. This study proposes a novel evaluation framework using large language models (LLMs) to compare radiology reports for assessment. We compare the performance of various LLMs and demonstrate that, when using GPT-4, our proposed metric achieves evaluation consistency close to that of radiologists. Furthermore, to reduce costs and improve accessibility, making this method practical, we construct a dataset using LLM evaluation results and perform knowledge distillation to train a smaller model. The distilled model achieves evaluation capabilities comparable to GPT-4. Our framework and distilled model offer an accessible and efficient evaluation method for radiology report generation, facilitating the development of more clinically relevant models. The model will be further open-sourced and accessible.
[ 0.023066505789756775, -0.19864247739315033, 0.853330671787262, -0.06683797389268875, -0.2507234513759613, 0.15833818912506104, -0.11957910656929016, -0.5852513313293457, -0.11283837258815765, 0.21019548177719116, -0.30398958921432495, -0.6411438584327698, -0.8799818754196167, 0.2116248905658722, -0.36473432183265686, 0.8581239581108093, -0.008090779185295105, 0.3725093603134155, -0.4241100251674652, 0.058274123817682266, -0.6004478931427002, -0.03181879222393036, -0.44505342841148376, -0.721806526184082, 0.3314484655857086, 0.2574252486228943, 0.9810053706169128, 0.7062216997146606, 1.0416698455810547, 0.25234928727149963, 0.07417265325784683, 0.01175763737410307, -0.4209975302219391, 0.16693739593029022, -0.24527183175086975, -0.17692197859287262, -0.6918245553970337, 0.1631714403629303, 0.3803545832633972, 0.6038670539855957, -0.27368786931037903, 0.15255048871040344, -0.3591340482234955, 0.6324456930160522, -0.5762335658073425, 0.3040197491645813, -0.3605574369430542, 0.13897019624710083, -0.038728468120098114, -0.35274577140808105, -0.41217362880706787, -0.5196896195411682, 0.09471862018108368, -0.3194670081138611, 0.061740443110466, -0.06681615114212036, 0.8578156232833862, 0.09908746182918549, -0.25463932752609253, -0.7625075578689575, -0.7396864891052246, 0.6106371283531189, -0.5962451696395874, 0.14283040165901184, 0.2672789692878723, 0.6715323328971863, 0.2762005925178528, -1.0980594158172607, -0.21636554598808289, -0.6718353033065796, -0.052701711654663086, 0.28446489572525024, -0.4389868974685669, 0.07292252033948898, 0.19314874708652496, 0.7419466972351074, -0.6906703114509583, 0.12362319976091385, -0.30189239978790283, 0.09618917852640152, 0.7276344299316406, 0.5639325976371765, 0.19547922909259796, -0.4516433775424957, -0.4426061511039734, -0.06675741821527481, -0.6783410310745239, -0.62181556224823, -0.1391821801662445, 0.12651003897190094, 0.04303731024265289, 0.5749204754829407, -0.3547968566417694, 0.4239712953567505, 0.0056458208709955215, -0.5477598309516907, 0.46238386631011963, -0.3297382891178131, -0.24296103417873383, -0.04153312370181084, 0.6229081749916077, 0.4318312406539917, -0.15047597885131836, -0.012338126078248024, -0.4568672776222229, 0.17008163034915924, 0.21111896634101868, -0.936362624168396, -0.3155483603477478, 0.17190171778202057, -0.6707004308700562, -0.7249247431755066, -0.06585969775915146, -0.4900691509246826, -0.6092655062675476, -0.06253214925527573, 0.6061697602272034, -0.3267715573310852, -0.5025702118873596, 0.4805700182914734, 0.09557754546403885, 0.11092554032802582, 0.4004085063934326, -0.4983491599559784, 0.1837255358695984, 0.5042842030525208, 0.823772668838501, -0.03707003593444824, 0.17152848839759827, -0.5791604518890381, 0.04936196282505989, -0.28484174609184265, 0.7850397825241089, -0.6356967091560364, -0.5491400957107544, -0.17812268435955048, -0.45914456248283386, 0.1420115828514099, -0.7062912583351135, 0.45722001791000366, -0.4983161687850952, 0.27797770500183105, 0.10018029808998108, -0.47823280096054077, -0.07230833917856216, 0.3790077567100525, -0.5549716949462891, 0.7732597589492798, 0.5912243127822876, -0.8105656504631042, 0.711999237537384, -0.7306108474731445, -0.31791362166404724, 0.6234241127967834, -0.5923700928688049, -0.5297471284866333, 0.19978877902030945, 0.2736130356788635, 0.49725428223609924, -1.0121097564697266, 0.34161531925201416, 0.12171896547079086, -0.18519903719425201, 0.07020512968301773, -0.2317420095205307, 0.5125025510787964, 0.48145127296447754, -0.22014018893241882, 0.18640755116939545, -0.7280811071395874, 0.3044416904449463, 0.20985087752342224, -0.35647648572921753, -0.16489195823669434, -0.27296480536460876, -0.2933984398841858, 0.25473248958587646, 0.10986968874931335, -0.5546646118164062, 0.08675078302621841, -0.12100028991699219, 0.30210819840431213, 0.3725460171699524, 0.04149753600358963, 0.06874813139438629, -0.5903858542442322, 1.1100375652313232, -0.15759025514125824, 0.1527053713798523, -0.11812785267829895, -0.2874372899532318, -0.3537088632583618, -0.5694802403450012, 0.3433493971824646, 0.2046811878681183, -0.639536440372467, 0.16545243561267853, -0.7205376029014587, -0.9036272168159485, -0.5555320978164673, -0.07998740673065186, 0.6644828915596008, 0.4902544915676117, 0.023132720962166786, -0.34648895263671875, -0.2693374752998352, -0.6695171594619751, 0.16541631519794464, -0.14426816999912262, -0.06627363711595535, 0.22542046010494232, 0.3550752103328705, -0.24429230391979218, 0.5903444886207581, -0.6169905066490173, -0.6050073504447937, -0.6358435750007629, 0.20360438525676727, 0.27108970284461975, 0.07206761837005615, 0.4668525457382202, -0.38782933354377747, -0.4512975215911865, 0.30227547883987427, -1.0750701427459717, -0.09106166660785675, 0.100815050303936, 0.28656524419784546, -0.032266709953546524, 0.5585451722145081, -0.3656635284423828, 0.49943310022354126, 0.4884321689605713, -0.10067784786224365, 0.32070687413215637, -0.39192283153533936, 0.4395865499973297, -0.8012703061103821, 0.08958817273378372, -0.08296667039394379, -0.5183220505714417, -0.293783962726593, 0.14044655859470367, 0.07409001886844635, -0.29154592752456665, -0.4057944416999817, 0.3240914046764374, -0.7792041897773743, -0.34168726205825806, -0.22010760009288788, 0.34644654393196106, 0.16103719174861908, -0.21134234964847565, 0.0031375268008559942, 0.48814624547958374, 0.5395838618278503, -0.17351041734218597, 0.43851223587989807, 0.20712615549564362, -0.8114293813705444, 0.369100958108902, -0.632060706615448, 0.2814808785915375, 0.15804779529571533, 0.07490605860948563, -0.8791006803512573, -0.22024402022361755, -0.10007241368293762, -0.4183034598827362, 0.5547020435333252, -0.21117109060287476, -0.35951387882232666, -0.5781152248382568, -0.3704327344894409, 0.40794774889945984, 0.7531604766845703, -0.4085215926170349, 0.5683175325393677, 0.36821192502975464, -0.257147878408432, -0.45207253098487854, -0.5742449760437012, 0.21515706181526184, -0.25873684883117676, -0.9411035180091858, 0.1687096506357193, -0.021136440336704254, -0.3938887119293213, 0.017721213400363922, -0.007204074878245592, -0.005199868697673082, 0.018714116886258125, 0.25775793194770813, 0.23610471189022064, -0.47553393244743347, -0.3073101043701172, -0.14244961738586426, -0.28278306126594543, 0.25810694694519043, 0.17134980857372284, 0.43373772501945496, -0.1667206585407257, -0.571390688419342, -0.43835213780403137, 0.03813249617815018, 0.44624659419059753, -0.0675877183675766, 0.18431203067302704, 0.2932054400444031, -0.19628402590751648, -0.07173117995262146, -0.4446188807487488, -0.030201349407434464, -0.4359394609928131, 0.6360853314399719, -0.5417187213897705, -0.7558488845825195, 0.18339866399765015, -0.1874345988035202, -0.07069410383701324, 0.3885098397731781, 0.9621134996414185, 0.25664132833480835, 0.9819356203079224, 0.42375487089157104, 0.3377099633216858, -0.05851951614022255, -0.11341612040996552, 0.24835821986198425, -0.5902603268623352, -0.25302714109420776, -0.4692952036857605, 0.10427585989236832, -0.20701731741428375, -0.31431645154953003, 0.6230410933494568, -0.34836769104003906, 0.18610474467277527, -0.13898815214633942, -0.6415697336196899, 0.5932710766792297, -0.000060240428865654394, -0.012995677068829536, 0.7442524433135986, 0.04057224094867706, 0.10242348909378052, -0.09531155228614807, -0.7705155611038208, -0.6030987501144409, 1.2843049764633179, 0.5582966208457947, 0.9349115490913391, 0.2411929816007614, 0.7883560657501221, 0.5100874900817871, 0.6887722015380859, -0.7328254580497742, 0.40856069326400757, -0.2538093030452728, -0.616840660572052, -0.22492702305316925, -0.30480802059173584, -0.8314597010612488, 0.36601728200912476, -0.1785622388124466, -0.19397962093353271, -0.2725840210914612, -0.16663533449172974, -0.5447236895561218, -0.026828715577721596, -0.42728883028030396, 0.6328527927398682, -0.1962386518716812, -0.14359505474567413, -0.4375915825366974, -0.41207727789878845, 0.6227253675460815, -0.3566605746746063, 0.3648723363876343, -0.49730461835861206, 0.06843417137861252, 0.5279178619384766, -0.5641441345214844, 0.5228664875030518, -0.32641905546188354, -0.14132951200008392, 0.20966887474060059, 0.2585037052631378, 0.07202094793319702, 0.3202785551548004, -0.19612932205200195, 0.13751597702503204, 0.07569078356027603, 0.003877773182466626, -0.5435239672660828, 0.6662730574607849, -0.8392519354820251, -0.6240401864051819, -0.7023523449897766, -0.7172841429710388, -0.13123001158237457, 0.14969377219676971, 0.2594870626926422, 0.6613947749137878, -0.33936408162117004, 0.0055651310831308365, 0.28248342871665955, -0.37520697712898254, -0.03717706352472305, 0.6561291217803955, -0.5482823848724365, -0.34975099563598633, 0.6369346976280212, -0.006703714840114117, 0.3766137957572937, 0.24056456983089447, 0.4449174702167511, -0.2015296369791031, -0.9388863444328308, -0.34355562925338745, 0.24227018654346466, -0.9551730751991272, -0.6872454881668091, -0.32660993933677673, -0.46031421422958374, -0.2727448046207428, -0.07100579887628555, -0.37226808071136475, -0.2623383402824402, 0.10868886113166809, -0.0669485330581665, 0.37383463978767395, 1.3381719589233398, -0.25461235642433167, 0.2090355008840561, -0.6057046055793762, 0.08771660178899765, -0.00728576211258769, 0.14613506197929382, -0.07875470072031021, -0.8588725328445435, -0.437775194644928, -0.26753902435302734, -0.3912023901939392, -0.3750230073928833, 0.5188282132148743, -0.014897024258971214, 0.4308641254901886, 0.1946505457162857, 0.06514335423707962, 0.4904959499835968, -0.2847077548503876, 0.5131145119667053, 0.5435618162155151, -0.8856275677680969, 0.5250029563903809, -0.47812619805336, 0.3059106171131134, 0.558708667755127, 0.2664896249771118, -0.09005523473024368, -0.3552813231945038, -0.45538344979286194, -0.8801325559616089, 0.5691044926643372, 0.07435428351163864, -0.0005598198622465134, -0.3484251797199249, 0.35299354791641235, 0.18974235653877258, -0.09247542917728424, -0.7704415321350098, 0.13524092733860016, 0.14308355748653412, -0.16119740903377533, 0.23099373281002045, -0.5263401865959167, -0.3024877607822418, -0.09332247078418732, 0.5247548818588257, 0.0288521908223629, 0.17410700023174286, 0.14633305370807648, -0.3185959756374359, -0.06048797443509102, 0.08419288694858551, 0.5570553541183472, 1.298178791999817, -0.4199312627315521, 0.053541142493486404, 0.04922161251306534, -0.6283478140830994, 0.2712700366973877, -0.2079140543937683, 0.2101941704750061, 0.16628429293632507, 0.57106614112854, 0.41935020685195923, 0.17608138918876648, -0.5070595741271973, 0.9606117010116577, -0.3457506000995636, -0.5822985768318176, -0.46010810136795044, 0.05208594724535942, 0.2038850486278534, 0.23105669021606445, 0.3014170825481415, -0.22928695380687714, 0.04215119406580925, -0.1656787097454071, 0.3151237666606903, 0.18888461589813232, -0.3436691164970398, -0.03349052369594574, 0.6443859338760376, 0.20157794654369354, 0.2031484693288803, 0.7815632224082947, -0.18553157150745392, 0.15978093445301056, 0.5901176929473877, 0.44484686851501465, 0.7852178812026978, -0.26734331250190735, 0.155269593000412, 0.3815349340438843, 0.15934491157531738, -0.11201968789100647, 0.2812248170375824, 0.49867451190948486, -0.5057125091552734, -0.5531641840934753, -0.38049769401550293, -0.3009721040725708, 0.11785084754228592, -1.0424689054489136, 0.5756852030754089, -0.7189037799835205, -0.24683797359466553, 0.17407363653182983, 0.023823536932468414, -0.6093106865882874, 0.3234553039073944, 0.11794827878475189, 0.9500331878662109, -0.6881963014602661, 0.9061508774757385, 0.3779370188713074, -0.7788480520248413, -0.7911766171455383, -0.2597413659095764, -0.038658082485198975, -1.1888667345046997, 0.9616661071777344, 0.12326875329017639, -0.2176552712917328, -0.3046870529651642, -0.03838520497083664, -0.905498206615448, 1.6347800493240356, 0.4492321014404297, -0.6531208753585815, 0.02076864056289196, 0.12409869581460953, 0.4918411374092102, -0.6719626188278198, 0.6040085554122925, 0.621904194355011, 0.3474636971950531, 0.28254008293151855, -1.0560871362686157, 0.2384653091430664, -0.04895555600523949, 0.046282678842544556, -0.032610613852739334, -0.3087802231311798, 0.6503280997276306, -0.5006157159805298, -0.3107795715332031, 0.23671117424964905, 0.690125048160553, 0.29299086332321167, 0.33510875701904297, 0.3714216351509094, 0.4675898253917694, 0.73183673620224, 0.04690941795706749, 1.3135781288146973, -0.2903977334499359, 0.3809775710105896, 1.1396965980529785, -0.711273729801178, 0.5697758197784424, 0.04214080050587654, -0.1726834625005722, 0.33636781573295593, 0.2198335826396942, -0.21802055835723877, 0.5902547836303711, 0.3996564447879791, -0.2576574683189392, -0.1350409835577011, -0.10682161152362823, -0.4762502610683441, 0.6440831422805786, 0.16360057890415192, -0.525971531867981, -0.4527011215686798, 0.07637451589107513, 0.1974778175354004, 0.09466204792261124, -0.41525936126708984, 0.7009842991828918, 0.21531595289707184, -0.3291603922843933, 0.8369316458702087, 0.08062901347875595, 0.38037165999412537, -0.6548598408699036, 0.18713746964931488, -0.279024600982666, 0.4104176163673401, -0.54622882604599, -0.686747133731842, 0.5245612263679504, 0.24875202775001526, -0.18968570232391357, -0.04879431799054146, 0.44601866602897644, -0.009261111728847027, -0.49497362971305847, 0.35935699939727783, 0.5817606449127197, 0.3915700614452362, 0.20882265269756317, -0.6010251641273499, 0.31138625741004944, 0.14331987500190735, -0.24072253704071045, 0.5190131068229675, 0.39634159207344055, -0.11957317590713501, 0.7178472876548767, 0.18065699934959412, 0.2183905839920044, -0.30684027075767517, 0.5118740797042847, 1.015228509902954, -0.42315560579299927, -0.11927852034568787, -0.7519239187240601, 0.3603745698928833, 0.12417817860841751, -0.2767024040222168, 0.5698371529579163, 0.6787465214729309, 0.5296315550804138, 0.08652017265558243, 0.9588421583175659, -0.13483959436416626, 0.6504039168357849, -0.6433308124542236, 0.7799256443977356, -0.41362789273262024, 0.6502385139465332, -0.39919513463974, -0.7160922288894653, -0.4890393614768982, 0.6734620928764343, -0.4734351933002472, 0.30947208404541016, 0.8485226035118103, 0.7709825038909912, -0.05192599073052406, -0.0983612984418869, 0.8343874216079712, 0.22950336337089539, 0.4390137791633606, 0.5376182198524475, 1.1094858646392822, -0.282601535320282, 0.6449254155158997, 0.00039295770693570375, -0.43756163120269775, 0.030225269496440887, -1.010923981666565, -0.792320966720581, -0.32106706500053406, -0.6999897360801697, -0.5167629718780518, 0.1579446792602539, 0.6401362419128418, 0.6112847924232483, -0.28783538937568665, -0.2957518994808197, 0.43888160586357117, -0.416157990694046, 0.12135948240756989, -0.17922723293304443, 0.5333635807037354, -0.2505054473876953, -0.33005422353744507, 0.426396906375885, 0.4422997534275055, -0.2996455132961273, -0.41274452209472656, -0.147477388381958, 0.25225144624710083, -0.13072092831134796, 0.4744691252708435, -0.1657530814409256, -0.5246855616569519, -0.24014082551002502, -0.2513524293899536, -0.30376866459846497, 0.3332393765449524, 0.6015884876251221, -0.6896644830703735, 0.39948686957359314, 0.23824171721935272, 0.46295565366744995, 0.6403815150260925, -0.18122616410255432, 0.6210452914237976, -0.35282382369041443, 0.021134182810783386, 0.3134498596191406, 0.29727602005004883, 0.5143339037895203, -0.37995392084121704, 0.642155110836029, -0.13816837966442108, -0.6694275140762329, -0.8138266205787659, 0.16479112207889557, -0.8868452906608582, -0.2382061779499054, 1.2323309183120728, -0.4009658396244049, 0.02859942987561226, -0.06295175850391388, 0.020572178065776825, -0.17609447240829468, -0.15889745950698853, 0.6655769944190979, 0.32504698634147644, -0.33023297786712646, -0.05468028038740158, -0.5156537890434265, 0.49332937598228455, 0.14142000675201416, -0.7438738346099854, 0.03975564241409302, 0.638213574886322, 0.6925299167633057, -0.02887328714132309, 1.0040204524993896, -0.7335416078567505, 0.41366538405418396, 0.054026100784540176, 0.22506164014339447, -0.3321700096130371, -0.14236833155155182, -0.5235851407051086, 0.1819988638162613, 0.7228451371192932, 0.14931337535381317 ]
http://arxiv.org/abs/2404.00990v1
http://arxiv.org/pdf/2404.00990v1
Exploring the Nexus of Large Language Models and Legal Systems: A Short Survey
2024-04-01T08:35:56
2024-04-01T08:35:56
Weicong Qin, Zhongxiang Sun
cs.CL
cs.CL
With the advancement of Artificial Intelligence (AI) and Large Language Models (LLMs), there is a profound transformation occurring in the realm of natural language processing tasks within the legal domain. The capabilities of LLMs are increasingly demonstrating unique roles in the legal sector, bringing both distinctive benefits and various challenges. This survey delves into the synergy between LLMs and the legal system, such as their applications in tasks like legal text comprehension, case retrieval, and analysis. Furthermore, this survey highlights key challenges faced by LLMs in the legal domain, including bias, interpretability, and ethical considerations, as well as how researchers are addressing these issues. The survey showcases the latest advancements in fine-tuned legal LLMs tailored for various legal systems, along with legal datasets available for fine-tuning LLMs in various languages. Additionally, it proposes directions for future research and development.
[ -0.2338036447763443, -0.7927656173706055, 0.8582053184509277, -0.190864697098732, -0.17294621467590332, 0.20699135959148407, -0.4411559998989105, -0.7174296379089355, 0.21983326971530914, 0.8595388531684875, -0.43938055634498596, -0.27783188223838806, -0.7960585951805115, 0.1468474268913269, -0.6584651470184326, 0.7604416608810425, 0.17996574938297272, 0.4729616940021515, -0.37703198194503784, -0.47223272919654846, -0.587508499622345, -0.7726790308952332, -0.6405567526817322, -0.3969716429710388, 0.38773730397224426, 0.07547010481357574, 0.7187812924385071, 0.3324234187602997, 0.624788224697113, 0.37561482191085815, -0.2827039957046509, -0.10467688739299774, -0.29444393515586853, 0.22032606601715088, -0.30633237957954407, -0.676216185092926, -0.44052937626838684, -0.0901370495557785, 0.6309113502502441, 0.6644163131713867, -0.23908312618732452, 0.1613350659608841, -0.3079516589641571, 0.6447405219078064, -0.5774737000465393, 0.03314846009016037, -0.6270744204521179, 0.055326834321022034, -0.4934101998806, -0.1015637069940567, -0.19621410965919495, -0.1881411224603653, 0.09785965085029602, -0.28591620922088623, -0.03673689067363739, 0.5436902642250061, 0.4251224100589752, 0.5163905024528503, -0.6906935572624207, -0.5169347524642944, -0.758499801158905, 0.7348662614822388, -0.8036246299743652, 0.4702812731266022, 0.1244744136929512, 0.3986876308917999, -0.2836143672466278, -0.8116499781608582, -0.7305508852005005, -0.4453204572200775, -0.002067448804154992, -0.11850569397211075, -0.27519530057907104, 0.13781847059726715, 0.18777526915073395, 0.22739127278327942, -0.4992680251598358, 0.8513677716255188, -0.24351999163627625, -0.31331729888916016, 0.9708340167999268, 0.5017465949058533, 0.6229982376098633, 0.0035530903842300177, 0.38745009899139404, 0.11087284982204437, -0.9011878371238708, -0.0276960376650095, 0.4227825403213501, 0.3119758069515228, 0.010227605700492859, 0.8626453876495361, 0.05463085323572159, 0.8412578105926514, -0.4268210828304291, -0.11881411075592041, -0.0581740103662014, -0.4354002773761749, -0.3757202625274658, 0.18788406252861023, 1.0691081285476685, 0.13875119388103485, 0.13870424032211304, 0.09934385120868683, -0.4051804542541504, -0.32644373178482056, -0.023841602727770805, -0.5416240692138672, 0.28426530957221985, 0.20808711647987366, -0.6457436680793762, 0.007360246963799, -0.059533894062042236, -0.6004137396812439, -0.8482627272605896, -0.6567660570144653, -0.03419651463627815, 0.007542036939412355, -0.10693912953138351, 0.37245941162109375, -0.03359300270676613, 0.3766880929470062, 0.3014228940010071, -0.7609754204750061, 0.40689361095428467, 0.9097984433174133, 0.5278132557868958, 0.19689054787158966, 0.0793655514717102, -0.598154604434967, 0.07418427616357803, -0.30439814925193787, 0.4313293993473053, -0.587460458278656, -0.32256269454956055, 0.34339889883995056, -0.009353052824735641, 0.06426437199115753, -0.7478331923484802, 0.6284332871437073, -0.6975821256637573, -0.11081422120332718, -0.17035318911075592, -0.5886869430541992, 0.04953991621732712, 0.4714859127998352, -0.7870372533798218, 0.568891704082489, -0.10303398966789246, -0.4675990641117096, 0.3539268970489502, -0.833795428276062, -0.6112266182899475, 0.360310822725296, -0.5495370626449585, -0.4461787939071655, 0.1938709020614624, -0.005075610242784023, 0.5107517838478088, -0.8261551260948181, 0.47389766573905945, -0.2781125605106354, -0.20382794737815857, 0.2826177179813385, -0.11762593686580658, 0.9303314089775085, 0.342644602060318, -0.12759652733802795, 0.3548799157142639, -0.6419671177864075, -0.22698858380317688, 0.3427717387676239, -0.29014715552330017, -0.3398929834365845, 0.40543848276138306, -0.08758942782878876, 0.22763589024543762, 0.47066596150398254, -0.4771617352962494, 0.2818281650543213, -0.24424993991851807, 0.8127776980400085, 0.5169378519058228, -0.17240722477436066, 0.4676509201526642, -0.20359200239181519, 0.6202226877212524, -0.2292569875717163, -0.08937608450651169, 0.2713855803012848, -0.4710409939289093, -0.6103163361549377, 0.025178546085953712, 0.43441295623779297, 0.6032354831695557, -0.4669300317764282, 0.39117422699928284, -0.5359372496604919, -0.30865713953971863, -0.753123939037323, 0.26761284470558167, 0.022431213408708572, -0.12471811473369598, 0.12003006786108017, 0.19133228063583374, -0.5250579714775085, -1.0010935068130493, -0.47989022731781006, -0.3166452944278717, 0.0529036782681942, 0.6224513053894043, 0.5737761855125427, -0.4424152970314026, 0.9484506249427795, -0.04795829579234123, -0.3698800504207611, -0.5830354690551758, -0.05812791362404823, 0.277719646692276, 0.11169642210006714, 0.624436616897583, -1.0541353225708008, -0.39683014154434204, 0.2827526330947876, -0.627358615398407, -0.22188985347747803, -0.015077914111316204, 0.29968300461769104, -0.001034880056977272, 0.8802198171615601, -0.7883482575416565, 0.1721920520067215, 0.12774838507175446, -0.5728451609611511, 0.6293182969093323, -0.2238086462020874, 0.1132102757692337, -0.8102882504463196, -0.0305433738976717, -0.10384317487478256, -0.2208336740732193, -0.7110393643379211, 0.34484705328941345, -0.07856933027505875, 0.14094778895378113, -0.4881628453731537, 0.6291921734809875, -0.6694297194480896, -0.32104119658470154, -0.41429880261421204, 0.0719786211848259, -0.3713538646697998, -0.15743687748908997, -0.35908445715904236, 0.7600390315055847, 0.5428687930107117, -0.5065473318099976, 0.7094433307647705, 0.23344163596630096, -0.3684169352054596, 0.6006859540939331, -0.5417081117630005, -0.023044632747769356, -0.21449832618236542, 0.06626507639884949, -0.2938288748264313, -0.4914223253726959, 0.24876944720745087, -0.026590287685394287, 0.22416625916957855, -0.09949897229671478, -1.0791263580322266, -0.5820658802986145, -0.056548453867435455, 0.5529838800430298, 0.5971163511276245, -0.058046773076057434, 0.8389981389045715, 0.7527424097061157, -0.38423478603363037, -0.46313807368278503, -0.7542737126350403, 0.5380780100822449, -0.33844679594039917, -0.49979737401008606, 0.1367298811674118, 0.06703875958919525, -0.9071271419525146, 0.08721240609884262, 0.3692324161529541, 0.02298162318766117, 0.19186019897460938, 0.16762204468250275, -0.03211311995983124, -0.30085837841033936, 0.13043737411499023, 0.06465143710374832, 0.4308781623840332, 0.5335462093353271, -0.1405748426914215, 0.5654711127281189, -0.030491523444652557, -0.4646971821784973, -0.3257807195186615, 0.30043962597846985, 0.7943571209907532, -0.336422860622406, 0.6519062519073486, 0.09785166382789612, -0.3529552221298218, -0.18325860798358917, -0.6198604106903076, 0.11256718635559082, -0.4244252145290375, 0.365291953086853, -0.2615561783313751, -1.421602725982666, 0.6145029067993164, -0.013992124237120152, 0.051616329699754715, 0.6805729269981384, 0.8867078423500061, 0.18551500141620636, 0.8191745281219482, 0.7795798778533936, -0.5329452753067017, 0.3903075158596039, 0.07132802903652191, 0.5624910593032837, -0.5726975798606873, -0.2828659117221832, -0.7424159646034241, -0.1963043212890625, -0.6723204851150513, -0.12892690300941467, 0.35464805364608765, -0.20300649106502533, -0.05932972952723503, 0.18102651834487915, -0.1477961540222168, 0.42056509852409363, 0.5864840745925903, -0.23935335874557495, 0.3986903429031372, -0.44071197509765625, -0.08415784686803818, 0.3244815170764923, -0.6575995087623596, -0.5864977836608887, 0.9428659081459045, 0.3250598609447479, 0.5726091861724854, 0.2585810720920563, 0.5974101424217224, 0.4052077531814575, -0.11714658886194229, -0.8921462297439575, 0.8605908155441284, -0.25322049856185913, -0.7124788165092468, -0.4290824830532074, -0.4272095263004303, -1.0519094467163086, 0.17147482931613922, -0.3663671314716339, -0.7138711214065552, -0.10183971375226974, -0.25222963094711304, -0.5425204038619995, 0.4228183627128601, -0.3217199146747589, 0.5298175811767578, -0.4023747742176056, -0.3988872468471527, -0.4009164571762085, -0.7437949180603027, 0.332248330116272, -0.27085214853286743, 0.35071277618408203, -0.2821027934551239, 0.10014691948890686, 0.8040335178375244, -0.5684522390365601, 0.5224530100822449, 0.09380484372377396, -0.3159986734390259, 0.5623046159744263, -0.09022001177072525, 0.512892484664917, 0.08252931386232376, -0.12779968976974487, -0.08652061969041824, 0.19832539558410645, -0.19760453701019287, -0.4080115258693695, 0.7318562865257263, -0.5380035042762756, -0.8149057030677795, -0.47323188185691833, -0.9212013483047485, -0.22543089091777802, 0.38934075832366943, -0.11357543617486954, -0.07769136130809784, -0.1976824551820755, 0.12490139156579971, 0.4041914939880371, -0.2169347107410431, 0.5472936034202576, 0.6614668369293213, -0.15339837968349457, 0.039729043841362, 0.7683907747268677, 0.11393534392118454, -0.21616105735301971, 0.17288993299007416, 0.11798027902841568, -0.46495842933654785, -0.977741539478302, -0.1863529533147812, 0.35719484090805054, -0.5517426133155823, -0.06574651598930359, -0.5139216184616089, -0.3745540380477905, -0.5932530760765076, -0.03057745471596718, -0.13595455884933472, -0.1372768133878708, -0.4530474543571472, 0.14295253157615662, 0.21941626071929932, 1.1174386739730835, 0.3469603955745697, 0.11716268211603165, -0.8262789249420166, 0.2570914924144745, 0.27776581048965454, 0.4276673495769501, -0.27767032384872437, -0.4008829593658447, 0.015995696187019348, -0.020493024960160255, 0.11717630922794342, -0.46805351972579956, 0.26635321974754333, -0.08286408334970474, 0.6157291531562805, 0.22403359413146973, -0.09433092176914215, 0.4966200590133667, -0.8636819124221802, 0.8965920805931091, 0.06824696063995361, -0.6859284043312073, 0.3064690828323364, -0.4035075604915619, 0.016422787681221962, 0.5543149709701538, 0.162825807929039, -0.5267395377159119, -0.4375896155834198, -0.29476913809776306, -0.6512750387191772, 0.5518648028373718, 0.15661922097206116, 0.26391729712486267, 0.43177327513694763, 0.45002734661102295, -0.08623506873846054, 0.2523234188556671, -0.6022295355796814, 0.15125229954719543, 0.5602673888206482, -0.29125458002090454, -0.05313672870397568, -0.1541159600019455, -0.0821276530623436, -0.35081785917282104, 0.5118725299835205, 0.011304528452455997, -0.0030483726877719164, -0.19450101256370544, -0.28823280334472656, 0.00753176212310791, 0.5456429123878479, 0.6671713590621948, 0.6473119854927063, 0.14800700545310974, -0.06636037677526474, 0.18276084959506989, -0.212599977850914, 0.19148336350917816, 0.11335662752389908, -0.11482103168964386, -0.09261687099933624, 0.4600864350795746, 0.7154207229614258, -0.10908102989196777, -1.0385080575942993, 0.513328492641449, -0.05875664949417114, -0.4592697322368622, -0.4215506315231323, 0.057680532336235046, 0.1755996197462082, 0.5645337104797363, 0.39652228355407715, -0.32402902841567993, 0.301093727350235, -0.6636507511138916, -0.12511874735355377, 0.7371757626533508, -0.18003542721271515, -0.07288637012243271, 0.762695848941803, 0.10858461260795593, -0.48716872930526733, 0.4437476396560669, -0.06150694936513901, -0.3587818741798401, 0.621155321598053, 0.2885076403617859, 0.7097213864326477, 0.3438965976238251, -0.24879586696624756, -0.1779140830039978, 0.24995797872543335, -0.3615604341030121, 0.15379615128040314, 0.10668662935495377, -0.5641731023788452, -0.37121763825416565, -0.6626145839691162, -0.42686256766319275, 0.28367143869400024, -0.3880337178707123, 0.2975943982601166, -0.3697222173213959, -0.16716255247592926, 0.0562131330370903, 0.0702781230211258, -0.6336709856987, -0.036281827837228775, 0.3716738224029541, 0.8435277938842773, -0.46369442343711853, 0.8496411442756653, 0.7789698243141174, -0.24276556074619293, -0.327802449464798, -0.19691680371761322, 0.1681385487318039, -0.6500738263130188, 0.5034365057945251, -0.057694897055625916, -0.15049120783805847, -0.07288134098052979, -0.7333329319953918, -0.3555698096752167, 0.9789087176322937, 0.4401315450668335, -0.9091981053352356, -0.22365324199199677, 0.7666290402412415, 0.8236297369003296, -0.32389822602272034, -0.07392120361328125, 1.1307448148727417, 0.4982212483882904, -0.29237809777259827, -1.0501943826675415, -0.005127319600433111, -0.24137258529663086, 0.031241102144122124, 0.38680213689804077, -0.535243034362793, 0.713437020778656, -0.027062809094786644, -0.17228740453720093, 0.26660582423210144, 0.5381648540496826, 0.14806151390075684, 0.3500615656375885, 0.3645995259284973, 0.6341613531112671, 0.6635046601295471, -0.15777797996997833, 1.059238314628601, -0.4421808421611786, 0.1604420244693756, 0.9492958188056946, -0.6855238080024719, 0.6173327565193176, 0.6881484985351562, -0.26927438378334045, 0.29994553327560425, 0.4683450162410736, -0.2395971268415451, -0.07371395081281662, 0.5639877915382385, -0.33434340357780457, -0.2753998339176178, -0.3556452989578247, -0.09467139840126038, 0.410093754529953, 0.43758082389831543, -0.31066712737083435, -0.15909869968891144, 0.05582898110151291, -0.24187421798706055, 0.2865946590900421, -0.6209555268287659, 0.8842557668685913, 0.15918120741844177, -0.5626517534255981, -0.132546529173851, 0.2957225441932678, 0.7422999143600464, -0.4279765188694, 0.05299528315663338, -0.0212858933955431, -0.021408798173069954, -0.13500113785266876, -1.052893042564392, 0.204335018992424, 0.1423036754131317, -0.01405610702931881, -0.24828505516052246, 0.7481772303581238, -0.23691147565841675, -0.38974297046661377, 0.44755804538726807, 0.6146953105926514, 0.1253156065940857, 0.07513744384050369, -0.7567057609558105, 0.19078266620635986, -0.48242950439453125, -0.024596966803073883, 0.34430205821990967, 0.5790791511535645, -0.3545680344104767, 0.9094277620315552, 0.4646078646183014, 0.3319758474826813, 0.3997451961040497, 0.2652877867221832, 0.7697394490242004, -0.933813750743866, -0.4226313829421997, -0.9939050078392029, 0.24768614768981934, -0.08598103374242783, -0.13801927864551544, 0.4948592185974121, 0.5221954584121704, 0.6956506371498108, 0.031116439029574394, 0.7432655096054077, -0.22422511875629425, 0.4237730801105499, -0.6916372776031494, 0.9577196836471558, -0.5488972067832947, 0.3119519054889679, 0.057662852108478546, -0.7620999813079834, -0.41694125533103943, 0.01963893696665764, -0.38177305459976196, -0.1668110340833664, 0.3884069323539734, 0.6644720435142517, -0.09741219133138657, -0.24036334455013275, 0.5217968821525574, 0.04617059975862503, 0.3770027160644531, 0.4429696500301361, 0.8964282870292664, -0.2841029465198517, 0.2943315804004669, 0.32052817940711975, 0.3874652087688446, -0.4588223397731781, -0.5330604910850525, -0.887217104434967, -0.373104989528656, -0.0074487728998064995, 0.010193070396780968, -0.05383089557290077, 0.8587360382080078, 0.3863493502140045, -0.9129235744476318, -0.506472110748291, -0.17289315164089203, 0.10855209827423096, 0.5072877407073975, -0.13533423840999603, -0.08520011603832245, -0.39278894662857056, -0.8710283637046814, 0.4622154235839844, 0.2710680365562439, 0.13126233220100403, -0.24737916886806488, -0.2679755687713623, -0.38069120049476624, 0.2504851818084717, 0.7111481428146362, 0.4805058240890503, -0.980114758014679, -0.22595004737377167, -0.2570514976978302, -0.34881889820098877, -0.03859686106443405, 1.159143328666687, -0.3303154706954956, 0.21040357649326324, 0.5737928152084351, 1.035575270652771, 0.15585291385650635, -0.3341037333011627, 0.6373891830444336, -0.27148234844207764, 0.220064178109169, 0.49641576409339905, 0.8235584497451782, 0.1325606107711792, -0.3013093173503876, 0.45149701833724976, -0.016296204179525375, -0.6880861520767212, -0.903822660446167, 0.23635907471179962, -0.8613682389259338, -0.4986564517021179, 1.1035195589065552, 0.26162397861480713, -0.16125212609767914, -0.19041849672794342, -0.10898518562316895, 0.12163418531417847, 0.014833396300673485, 0.4006791114807129, 0.9092700481414795, -0.1363660842180252, -0.06329980492591858, -0.7460787296295166, 0.41686657071113586, 0.4228345453739166, -0.8383113145828247, -0.11835630983114243, 0.6779571771621704, 0.24311017990112305, 0.09907205402851105, 0.5244816541671753, -0.14455771446228027, 0.09197400510311127, -0.36581408977508545, -0.1190769150853157, 0.03907787427306175, -0.22827184200286865, -0.7185978889465332, 0.136398583650589, 0.2762869596481323, 0.37952721118927 ]
http://arxiv.org/abs/2404.00978v1
http://arxiv.org/pdf/2404.00978v1
Prior Constraints-based Reward Model Training for Aligning Large Language Models
2024-04-01T07:49:11
2024-04-01T07:49:11
Hang Zhou, Chenglong Wang, Yimin Hu, Tong Xiao, Chunliang Zhang, Jingbo Zhu
cs.CL
cs.CL
Reinforcement learning with human feedback for aligning large language models (LLMs) trains a reward model typically using ranking loss with comparison pairs.However, the training procedure suffers from an inherent problem: the uncontrolled scaling of reward scores during reinforcement learning due to the lack of constraints while training the reward model.This paper proposes a Prior Constraints-based Reward Model (namely PCRM) training method to mitigate this problem. PCRM incorporates prior constraints, specifically, length ratio and cosine similarity between outputs of each comparison pair, during reward model training to regulate optimization magnitude and control score margins. We comprehensively evaluate PCRM by examining its rank correlation with human preferences and its effectiveness in aligning LLMs via RL. Experimental results demonstrate that PCRM significantly improves alignment performance by effectively constraining reward score scaling. As another bonus, our method is easily integrated into arbitrary rank-based alignment methods, such as direct preference optimization, and can yield consistent improvement.
[ -0.15076559782028198, -0.2335076779127121, 0.6218129396438599, 0.00415722094476223, -0.2403663843870163, -0.011460314504802227, -0.6461180448532104, 0.0913182869553566, -0.06070098280906677, 0.6386426687240601, -0.6874492168426514, -0.258800208568573, -0.45337748527526855, -0.09465386718511581, 0.45956459641456604, 1.0322149991989136, -0.2819378674030304, 0.1288207620382309, -0.6330546736717224, -0.012277661822736263, -0.6643607020378113, -1.043028712272644, -0.536670982837677, -0.6127451658248901, 0.71467125415802, 0.41105037927627563, 0.504952609539032, 0.8218321204185486, 0.882308840751648, 0.2128162980079651, 0.019766053184866905, 0.38536539673805237, -0.8537356853485107, 0.03203641623258591, -0.33633503317832947, -0.37813881039619446, -0.3390192687511444, 0.2372475415468216, 0.5843014121055603, 0.5452080965042114, -0.4676628112792969, -0.06326071172952652, 0.18785537779331207, 0.5493518114089966, -0.832617998123169, 0.02083486132323742, -0.46500498056411743, 0.1263715922832489, -0.037226852029561996, -0.5455718040466309, -0.5827880501747131, -0.6217512488365173, 0.013474836014211178, -0.5886204242706299, -0.12304748594760895, 0.1221507117152214, 0.8883518576622009, 0.7047014236450195, -0.4700917601585388, 0.05869261547923088, -0.6608836054801941, 1.0568172931671143, -0.7140820622444153, 0.2939261198043823, 0.3436020612716675, 0.24698324501514435, -0.29790741205215454, -0.15387988090515137, -0.4156450927257538, -0.34832245111465454, -0.17273396253585815, -0.08525615930557251, 0.4241572916507721, 0.03139785677194595, 0.14447210729122162, 0.3383471965789795, -0.6101284027099609, 0.38492074608802795, -0.02545505203306675, -0.1990671306848526, 0.5824690461158752, 0.344785213470459, -0.153805211186409, 0.0631197914481163, -0.7186593413352966, -0.6474416255950928, -0.7993711233139038, 0.3910404443740845, 0.30112892389297485, 0.6870551109313965, -0.056393858045339584, 0.5212597846984863, -0.029514802619814873, 0.7629562616348267, 0.36614611744880676, -0.35615187883377075, 0.19099873304367065, -0.05309725180268288, -0.028315389528870583, 0.32464414834976196, 0.7083806991577148, 0.5081409811973572, 0.17848561704158783, -0.05884547904133797, -0.1525089591741562, 0.21506276726722717, 0.3605085015296936, -0.7987040281295776, -0.02646963857114315, -0.1670534759759903, -0.3076145350933075, -0.21471311151981354, 0.3165653645992279, -0.22195661067962646, -0.47022998332977295, -0.6605618000030518, 0.37177592515945435, -0.09533108025789261, -0.14839287102222443, 0.18150289356708527, -0.040117960423231125, 0.4025610387325287, 0.2991328537464142, -1.1161701679229736, 0.39540040493011475, 0.9597823619842529, 0.7169708013534546, -0.41340339183807373, -0.3003631830215454, -0.9202565550804138, 0.2882266342639923, -0.08996780216693878, 0.5452389121055603, -0.6538344621658325, -0.33062484860420227, -0.17157776653766632, -0.03407813981175423, -0.1953548938035965, -0.6252418160438538, 0.5157918930053711, -0.5026360750198364, 0.1551356315612793, -0.3593667149543762, -0.779807984828949, 0.2123401165008545, 0.42995524406433105, -0.3288637399673462, 0.9005600810050964, 0.1272624284029007, -0.7864499092102051, 0.26192110776901245, -0.22123350203037262, -0.26756736636161804, -0.08719352632761002, -0.3517933785915375, -0.5060412883758545, 0.056211259216070175, 0.20354074239730835, 0.21716812252998352, -0.19658362865447998, 0.3324487507343292, -0.4386760890483856, -0.37181538343429565, 0.26935631036758423, -0.07181616127490997, 0.4124666154384613, 0.15521398186683655, -0.21091413497924805, 0.42935267090797424, -0.31073182821273804, 0.32273250818252563, -0.09406104683876038, -0.4588630199432373, -0.41998985409736633, 0.03618379682302475, -0.21254421770572662, 0.2817046642303467, 0.5385951995849609, -0.27591148018836975, 0.5714823007583618, -0.2282947301864624, 0.31904616951942444, 1.060088872909546, -0.10289984196424484, 0.5199939608573914, -0.40225911140441895, 0.6268871426582336, -0.30721205472946167, 0.2569717764854431, 0.3685145378112793, 0.18729811906814575, -0.3958466351032257, -0.22733242809772491, 0.47362664341926575, 0.6395442485809326, -0.14136390388011932, 0.8594158887863159, -0.39963313937187195, -0.29918575286865234, -0.30862000584602356, 0.1077282577753067, 0.4407859742641449, 0.5717645883560181, 0.3828077018260956, -0.6083073616027832, -0.5567463636398315, -0.8052285313606262, -0.08709699660539627, -0.13174022734165192, -0.1714901328086853, 0.4086426794528961, 0.21861183643341064, 0.02902691625058651, 1.0398472547531128, -0.5964746475219727, -0.3911634087562561, -0.11617477238178253, 0.1649879664182663, 0.17991231381893158, 0.8806084990501404, 0.04117504134774208, -0.6916691660881042, -0.4084245264530182, 0.11419134587049484, -0.23184004426002502, -0.11189106851816177, -0.12080370634794235, -0.15165215730667114, 0.019898701459169388, 0.62181556224823, -0.22375236451625824, 0.16905629634857178, 0.6664472222328186, -0.13937486708164215, 0.4560092091560364, -0.4683217704296112, 0.15618962049484253, -0.653082013130188, 0.10963957011699677, -0.016210801899433136, -0.3588353097438812, -0.16096404194831848, -0.19028274714946747, 0.2804747223854065, -0.0012763384729623795, -0.2054785043001175, 0.4361668825149536, -0.24155199527740479, 0.04521125927567482, -0.299065500497818, -0.074863962829113, -0.15303517878055573, 0.767901599407196, 0.5366796851158142, 0.5126248598098755, -0.002426362596452236, -0.517052173614502, 0.149616077542305, 0.27215468883514404, -0.26894062757492065, 0.6970084309577942, -0.5362644195556641, 0.33765357732772827, 0.12072020024061203, 0.25531819462776184, -0.7679572105407715, 0.11637524515390396, 0.07094642519950867, -0.23372651636600494, 0.4423883855342865, -0.153043732047081, -0.25918927788734436, -0.23682774603366852, -0.33460503816604614, 0.4987277686595917, 0.3794877827167511, -0.5414614081382751, 0.020334335044026375, 0.15459924936294556, -0.18134014308452606, -0.5632755160331726, -0.34819716215133667, -0.369074285030365, -0.3207949995994568, -0.19552628695964813, 0.8157546520233154, -0.3085844814777374, -0.040504977107048035, -0.16751645505428314, -0.29352349042892456, 0.09360137581825256, -0.04338987171649933, 0.21577222645282745, 0.2972375154495239, -0.04279274865984917, -0.003873454872518778, -0.14007510244846344, -0.13835540413856506, -0.14828382432460785, -0.19137907028198242, 0.779009997844696, -0.057170599699020386, -0.3011985719203949, -0.4376744329929352, 0.14280936121940613, 0.3234896659851074, -0.4445880651473999, 0.7005602717399597, 0.17396803200244904, 0.11240126937627792, 0.06305424124002457, -0.6020867228507996, -0.3829444944858551, -0.4621850550174713, 0.42083510756492615, -0.22607646882534027, -1.1984590291976929, 0.16962012648582458, -0.24319729208946228, -0.314940869808197, 0.1603788137435913, 0.4872330129146576, 0.1439288705587387, 1.2074376344680786, 0.8929269909858704, -0.30569353699684143, 0.642382025718689, 0.24957813322544098, -0.054154254496097565, -1.0255036354064941, -0.26519545912742615, -0.5888793468475342, -0.5168225169181824, -0.5291751027107239, -0.4850832521915436, 0.28723785281181335, 0.22403459250926971, -0.7053973078727722, 0.16236263513565063, -0.4560071527957916, 0.6143884062767029, 0.7021729946136475, 0.2665514647960663, -0.06182708591222763, -0.20474767684936523, -0.3623359203338623, -0.28326544165611267, -0.6003337502479553, -0.2906401455402374, 1.0407180786132812, 0.225607231259346, 0.9175372123718262, -0.006055060308426619, 0.7040920257568359, 0.07947850972414017, 0.321247398853302, -0.5409151911735535, 0.09035326540470123, -0.05883944779634476, -0.23446977138519287, -0.604293704032898, -0.7868961095809937, -0.6885364055633545, 0.22401314973831177, -0.06631454825401306, -0.7621580362319946, 0.17459692060947418, 0.3271768093109131, -0.4785650670528412, 0.09393543750047684, -0.3920906186103821, 1.1520403623580933, -0.8278865814208984, -0.5540158748626709, -0.22078917920589447, -0.9005792737007141, 0.07144618034362793, 0.23074878752231598, 0.03400229662656784, 0.021782882511615753, 0.0028228748124092817, 0.5813549757003784, -0.7964794635772705, 0.6831496357917786, -0.1857198029756546, 0.01111769862473011, -0.35355275869369507, -0.1157500222325325, 0.7926278114318848, -0.027470232918858528, 0.09928619116544724, -0.3847000002861023, -0.12426458299160004, -0.49359360337257385, -0.6584035158157349, 0.7460910677909851, -0.9162617325782776, -0.7194855213165283, -0.5114333033561707, -0.7376202344894409, -0.4075912535190582, 0.09692166745662689, 0.07879427820444107, 0.02426820993423462, -0.15259864926338196, 0.1932678073644638, 0.7781885266304016, -0.2758789360523224, 0.058123715221881866, 0.5068398714065552, -0.04235825687646866, -0.6259815692901611, 0.7228850722312927, -0.3916749954223633, 0.3248767554759979, 0.8962281942367554, 0.42305105924606323, -0.5124363899230957, -0.3213500380516052, 0.03558078408241272, 0.3037787079811096, -0.2404649406671524, -0.3312014043331146, 0.03470860421657562, -0.07333309203386307, -0.46837589144706726, -0.33490657806396484, -0.4175899624824524, -0.21678145229816437, -0.09664924442768097, 0.15835510194301605, 0.16665153205394745, 0.43413349986076355, -0.05680282413959503, 0.44119009375572205, -0.3383527398109436, -0.08894144743680954, 0.43175721168518066, 0.654252827167511, -0.12278802692890167, -0.6246596574783325, -0.27393296360969543, -0.07603880763053894, -0.3748246729373932, -0.5803833603858948, 0.39624354243278503, -0.1006336361169815, 0.6209543347358704, 0.525052547454834, 0.2141096442937851, 0.7166469097137451, -0.5095688104629517, 0.4678170680999756, 0.3696247935295105, -0.8540258407592773, 0.4699256122112274, -0.21740415692329407, 0.4978579878807068, 0.7732213139533997, 0.4648883044719696, -0.6381052732467651, -0.1385394185781479, -0.3312794268131256, -0.6807665824890137, 0.6750919222831726, -0.2237064689397812, -0.15846335887908936, 0.17320051789283752, 0.4492422640323639, 0.012689332477748394, 0.3643331527709961, -0.9568714499473572, -0.10006146132946014, -0.17212456464767456, -0.19566872715950012, -0.5492681860923767, -0.2496900111436844, -0.0719546526670456, -0.4207935035228729, 0.8141939640045166, -0.026107393205165863, -0.1953955888748169, 0.16472342610359192, -0.2677645981311798, -0.2567860782146454, 0.25773271918296814, 0.9435890316963196, 0.5614827871322632, -0.6975026726722717, 0.08875225484371185, -0.0896773710846901, -0.012935561127960682, 0.3542577028274536, 0.0129713648930192, 0.22377121448516846, -0.5724468231201172, 0.041468266397714615, 0.907909095287323, 0.2509755492210388, -0.6395822167396545, 0.5248294472694397, -0.1287030428647995, -0.2570347487926483, -0.10062765330076218, 0.0073417797684669495, 0.05134144797921181, 0.17959891259670258, 0.058306530117988586, -0.17808368802070618, -0.4029161036014557, -0.24176090955734253, 0.08382517844438553, 0.7007260918617249, -0.7603920102119446, 0.08571641892194748, 0.6011302471160889, -0.013408671133220196, -0.17768925428390503, 0.8426055908203125, -0.06402142345905304, -0.7901728749275208, 0.4315580129623413, 0.6341100931167603, 0.37469229102134705, -0.6264440417289734, 0.13352034986019135, 0.3884550929069519, 0.3193770945072174, -0.33763647079467773, 0.0219250675290823, -0.240956649184227, -0.6447699666023254, -0.6762174367904663, -0.5773866772651672, -0.594054102897644, 0.14978013932704926, -0.8484514951705933, 0.40216711163520813, -0.5223639607429504, 0.034970901906490326, -0.24211516976356506, 0.1295761615037918, -0.4659003019332886, 0.002243894850835204, 0.23495805263519287, 0.49819228053092957, -0.7666492462158203, 0.9326426982879639, 0.621593177318573, -0.3485832214355469, -1.0636719465255737, -0.2538774907588959, 0.047263141721487045, -0.5395400524139404, 0.7984253168106079, 0.10984109342098236, -0.06843326985836029, -0.06525079905986786, -0.32266321778297424, -0.9369652271270752, 0.8776214122772217, 0.5782298445701599, -0.7573003172874451, 0.011179394088685513, 0.20942622423171997, 0.5200411677360535, -0.5528335571289062, 0.188664048910141, 0.36973685026168823, 0.5000715851783752, 0.14289242029190063, -1.011716604232788, 0.11987065523862839, -0.10271139442920685, 0.026649923995137215, 0.6467564702033997, -0.6652474403381348, 0.9261019825935364, 0.008104189299046993, 0.16855138540267944, 0.14233723282814026, 0.43526431918144226, 0.4134499728679657, -0.18555103242397308, 0.6270865797996521, 0.8421720266342163, 0.8995274305343628, 0.13162457942962646, 0.8942198157310486, 0.07497062534093857, 0.5506637096405029, 1.481101393699646, -0.65088951587677, 1.000219464302063, 0.6881651878356934, -0.1872463822364807, 0.637162983417511, 0.8744734525680542, -0.04213540628552437, 0.8807397484779358, 0.8011879920959473, 0.08339603990316391, -0.579333484172821, -0.13931068778038025, -0.6214872598648071, 0.30785679817199707, 0.06248113885521889, -0.292348176240921, -0.002576244529336691, -0.23241879045963287, -0.11822011321783066, 0.42230159044265747, -0.5075511932373047, 0.7695144414901733, -0.14493121206760406, -0.8269301056861877, 0.7590675950050354, -0.071012482047081, 0.7935882806777954, -0.6422675848007202, 0.03093479387462139, -0.28305917978286743, 0.47103962302207947, -0.0571068674325943, -0.038622934371232986, -0.20654428005218506, -0.24131788313388824, -0.429798424243927, -0.405205100774765, 0.18078191578388214, -0.6214286684989929, -0.2863079607486725, -0.04216165468096733, 0.09674785286188126, -0.1723805069923401, -0.17094437777996063, -0.4989560842514038, 0.05588415637612343, -0.062253016978502274, -0.03387676551938057, 0.6325815916061401, 0.1465621441602707, -0.24297946691513062, 0.4506044387817383, 0.4090844690799713, 0.30678606033325195, -0.2823959290981293, -0.11109970510005951, 0.6481502056121826, -0.6368485689163208, -0.8110421895980835, -0.8247902393341064, 0.11979816854000092, -0.12389253824949265, -0.15532532334327698, 0.4802141487598419, 0.7507423162460327, 1.0574544668197632, -0.034641727805137634, 0.4406440258026123, 0.29884713888168335, 0.5953114628791809, -0.569811999797821, 0.4155406355857849, -0.4819757342338562, 0.25446832180023193, -0.2770873010158539, -0.907303512096405, -0.36165496706962585, 0.6188557744026184, -0.6621693968772888, -0.04867574945092201, 0.802424430847168, 0.7996701002120972, -0.023337261751294136, -0.4462627172470093, 0.07097414880990982, -0.19149020314216614, 0.07585322856903076, 0.9570262432098389, 0.9855242967605591, 0.23095348477363586, 0.4294760227203369, -0.3523837625980377, -0.2264196276664734, -0.3213195502758026, -1.165565013885498, -0.8527671694755554, -0.35493507981300354, -0.34300702810287476, -0.10614059120416641, 0.14038017392158508, 1.1671195030212402, 0.8091859817504883, -0.8873632550239563, -0.6113797426223755, -0.04535047337412834, 0.23972003161907196, -0.6060262322425842, -0.1968231201171875, 0.513791561126709, -0.43906837701797485, -0.47090330719947815, 0.21920953691005707, 0.18014952540397644, -0.02090967632830143, -0.049359485507011414, -0.629814088344574, -0.24997343122959137, -0.2294338196516037, 0.1410619169473648, 0.4589666724205017, -0.7310680747032166, -0.4657787084579468, -0.06934001296758652, -0.17699114978313446, 0.26369693875312805, 1.2961676120758057, -0.7670265436172485, 0.21645675599575043, 0.197981059551239, 0.8054967522621155, 0.48229774832725525, 0.3391590416431427, 0.9541464447975159, -1.0134556293487549, 0.3047711253166199, 0.15355220437049866, 0.2094414085149765, 0.38922056555747986, -0.4350360929965973, 0.24830442667007446, -0.1484609842300415, -0.7583742141723633, -0.9228043556213379, 0.26192063093185425, -1.1803520917892456, -0.2749323546886444, 0.9089130163192749, -0.08619163185358047, -0.10607051104307175, 0.4574548602104187, -0.20306432247161865, 0.2193950116634369, -0.3489059507846832, 0.8544152975082397, 0.6551307439804077, -0.10546036064624786, -0.24230097234249115, 0.018813444301486015, 0.7409399747848511, 0.785620927810669, -0.6750535368919373, 0.22095979750156403, 0.5181187391281128, 0.01814449205994606, -0.11259948462247849, 0.3887847661972046, -0.02960979752242565, 0.2788008451461792, -0.5866075158119202, 0.2866927981376648, -0.09944498538970947, -0.056341663002967834, -0.5094550251960754, 0.1569734811782837, 0.558636486530304, -0.056274671107530594 ]
http://arxiv.org/abs/2404.01353v1
http://arxiv.org/pdf/2404.01353v1
Efficiently Distilling LLMs for Edge Applications
2024-04-01T07:35:15
2024-04-01T07:35:15
Achintya Kundu, Fabian Lim, Aaron Chew, Laura Wynter, Penny Chong, Rhui Dih Lee
cs.LG
cs.LG, cs.AI, cs.CL
Supernet training of LLMs is of great interest in industrial applications as it confers the ability to produce a palette of smaller models at constant cost, regardless of the number of models (of different size / latency) produced. We propose a new method called Multistage Low-rank Fine-tuning of Super-transformers (MLFS) for parameter-efficient supernet training. We show that it is possible to obtain high-quality encoder models that are suitable for commercial edge applications, and that while decoder-only models are resistant to a comparable degree of compression, decoders can be effectively sliced for a significant reduction in training time.
[ -0.8010987043380737, -0.4226010739803314, 0.17601342499256134, -0.2607073485851288, -0.28415241837501526, 0.0832747146487236, 0.08886110782623291, -0.40855535864830017, 0.11936140060424805, 0.5674028992652893, -0.9506177306175232, -0.2681989371776581, -0.5912853479385376, 0.2454952895641327, -0.7089866995811462, 0.8865957260131836, 0.11580754071474075, 0.319592148065567, -0.0033354591578245163, -0.13132695853710175, 0.2330956608057022, -0.6297279596328735, -1.0199288129806519, -0.6033861637115479, 0.5521561503410339, 0.4110605716705322, 0.7378044128417969, 0.8285762071609497, 0.8892869353294373, 0.2992728054523468, -0.3934391736984253, 0.6726409196853638, -0.7200223207473755, 0.17382851243019104, -0.0970076471567154, -0.6231452822685242, -0.5717456340789795, -0.0979464203119278, 0.5379915833473206, 0.624208390712738, 0.13990290462970734, 0.2849224805831909, 0.29674044251441956, 0.9616592526435852, -0.5196148753166199, -0.38478174805641174, -0.7962616086006165, 0.4037383794784546, -0.015153072774410248, -0.4273054301738739, -0.27796024084091187, -0.2892347574234009, -0.23880252242088318, -0.37686803936958313, 0.34394755959510803, -0.10001657158136368, 1.008413553237915, 0.5222949981689453, -0.32724088430404663, 0.21043488383293152, -0.8645404577255249, 0.6959958672523499, -0.656938374042511, 0.6930841207504272, -0.029458926990628242, 0.5949024558067322, -0.18254008889198303, -1.081113576889038, -0.20099027454853058, 0.14410610496997833, 0.17784558236598969, 0.12286621332168579, -0.006728620734065771, 0.4141310453414917, 0.3529743254184723, 0.5519439578056335, -0.192531555891037, 0.44823381304740906, -0.3208152651786804, -0.13889959454536438, 0.5208899974822998, 0.4177992641925812, -0.1137353852391243, 0.3295114040374756, -0.3917178213596344, 0.0698937252163887, -1.0973163843154907, -0.023389745503664017, 0.680053174495697, 0.27655765414237976, 0.2807965576648712, 0.32346582412719727, -0.3043125867843628, 0.6141791343688965, 0.21747010946273804, -0.43216559290885925, -0.06049859896302223, -0.22131136059761047, -0.2571023106575012, -0.13896095752716064, 0.36346396803855896, 0.5747314095497131, 0.23383371531963348, -0.04516053944826126, -0.396853506565094, -0.07880537956953049, 0.20387381315231323, -1.2477502822875977, -0.37087205052375793, 0.28108760714530945, -0.6950588822364807, -0.23254317045211792, -0.5176140069961548, -0.39021748304367065, -0.3617691695690155, -0.4121818244457245, 0.36649540066719055, -0.16961923241615295, -0.09749453514814377, 0.0057961707934737206, -0.5665192604064941, 0.23155052959918976, 0.2292773425579071, -1.074864149093628, 0.26029956340789795, 0.6084174513816833, 0.9791198968887329, 0.12042722851037979, -0.20568932592868805, -0.6493953466415405, 0.0409795343875885, -0.4310314953327179, 0.7083578109741211, -0.3769568204879761, -0.46890589594841003, -0.2025308907032013, 0.030044328421354294, 0.17131361365318298, -0.8741502165794373, 0.3977277874946594, -0.5748263597488403, -0.7506300210952759, -0.040602341294288635, -0.3227806091308594, 0.02218606509268284, 0.3698510527610779, -0.5761775374412537, 1.0745553970336914, -0.01700238324701786, -0.6607764363288879, 0.31209248304367065, -0.4997828006744385, -0.5067447423934937, -0.134261816740036, -0.14161866903305054, -0.4485771954059601, 0.20534195005893707, 0.48685798048973083, 0.8724361658096313, -0.3141615092754364, -0.09510541707277298, -0.29125648736953735, -0.47142669558525085, 0.1484806090593338, -0.7540690898895264, 0.46724769473075867, 0.3768012225627899, -0.14768412709236145, -0.030209440737962723, -0.8872801661491394, -0.24087174236774445, -0.03495318815112114, -0.48270726203918457, -0.15218736231327057, -0.07658100873231888, -0.08699212968349457, 0.27190640568733215, 0.12346567958593369, -0.606198251247406, 0.2492673099040985, -0.46206018328666687, 0.8889688849449158, 0.9179933071136475, -0.06453720480203629, 0.230842724442482, -0.2896016240119934, 0.13477127254009247, -0.045611146837472916, 0.5692319869995117, 0.05038498342037201, -0.08819057792425156, -1.2268410921096802, -0.3423140347003937, 0.46604493260383606, 0.11911289393901825, -0.9259259700775146, 0.25323474407196045, -0.3077366352081299, -0.6770371198654175, -0.4936710298061371, 0.28811556100845337, 0.15283654630184174, 0.2866586446762085, 0.5089876651763916, -0.009113667532801628, -0.5005016326904297, -1.2395726442337036, -0.1586795449256897, 0.5610907077789307, -0.11977536231279373, 0.14509503543376923, 0.4241032004356384, -0.2213246375322342, 0.9288823008537292, -0.4364944398403168, -0.13435997068881989, -0.5868067145347595, 0.058460548520088196, 0.46533337235450745, 0.4874047636985779, 0.4154722988605499, -0.7108626961708069, -0.6422662138938904, 0.004729495849460363, -0.5905629396438599, 0.14577679336071014, 0.10893554985523224, -0.11562484502792358, -0.22143037617206573, 1.000425934791565, -0.4292260408401489, 0.1855858415365219, 0.6355060935020447, 0.40293005108833313, 0.3596251606941223, -0.2521260380744934, -0.0639122948050499, -1.0976942777633667, -0.21702472865581512, 0.2818104326725006, -0.46154314279556274, -0.8769922852516174, 0.11683276295661926, -0.026558998972177505, -0.20519256591796875, -0.9634341597557068, 0.02367904968559742, -0.5996001362800598, -0.06950506567955017, -0.4020076394081116, -0.1918218582868576, 0.06859825551509857, 0.5811639428138733, -0.1553020179271698, 0.8038821816444397, 0.549269437789917, -0.9112095236778259, 0.341904878616333, -0.1781357079744339, -0.07344668358564377, 0.8475815653800964, -0.7104650139808655, 0.13622036576271057, -0.28591540455818176, 0.27323171496391296, -0.8119478225708008, 0.1631179004907608, -0.01498010940849781, 0.10882934182882309, 0.33655333518981934, -0.7916868329048157, -0.3338196873664856, -0.2826753854751587, -0.33803892135620117, 0.032912351191043854, 0.4185979664325714, -0.9454618692398071, 0.6167445182800293, 0.4811386466026306, 0.08270730823278427, -0.4914981722831726, -1.0856600999832153, -0.04586782678961754, -0.5458117127418518, -0.5620623826980591, 0.5897755026817322, -0.140435129404068, 0.25853076577186584, -0.2946336567401886, -0.40657028555870056, -0.01744641177356243, 0.25901123881340027, 0.21275828778743744, -0.00009787666203919798, -0.018475288525223732, -0.16516004502773285, 0.3632412552833557, -0.5570001602172852, -0.157240092754364, -0.5019986629486084, 0.5201705694198608, 0.006517400499433279, -0.41456711292266846, -0.6189528107643127, 0.29220202565193176, 0.7097647786140442, -0.03182629868388176, 0.6507964730262756, 0.8388697504997253, -0.45335206389427185, -0.54979407787323, -0.41604629158973694, -0.3872082531452179, -0.6907890439033508, 0.4415780305862427, -0.6931658983230591, -0.9245527386665344, 0.4701831638813019, -0.723639726638794, 0.39168235659599304, 0.5045787692070007, 0.2532297968864441, -0.18422921001911163, 1.397219181060791, 0.5391126275062561, -0.006686691660434008, 0.45447397232055664, -1.012298345565796, 0.1597214639186859, -0.949516773223877, 0.08049804717302322, -0.5297664403915405, -0.8583524227142334, -0.5517110228538513, -0.12070834636688232, 0.7985804080963135, 0.24631598591804504, -0.1755005568265915, 0.3425631821155548, -0.6865951418876648, 0.7705172300338745, 0.615703821182251, 0.2132025808095932, 0.2558899223804474, 0.21145862340927124, -0.10462065786123276, 0.14901718497276306, -0.992752730846405, -0.4520080089569092, 0.9492197036743164, 0.6318460702896118, 0.8447443246841431, -0.08488505333662033, 0.853681743144989, 0.2702445685863495, -0.03920769691467285, -0.6849194765090942, 0.6426305770874023, -0.7481939196586609, -0.5430752038955688, -0.4606463611125946, -0.3954165577888489, -0.7552873492240906, 0.3183780312538147, -0.18037128448486328, -0.643963634967804, 0.3542521893978119, 0.28208962082862854, -0.6180785894393921, 0.7335604429244995, -0.3733121454715729, 0.45775267481803894, -0.17233717441558838, -0.11897224187850952, -0.15867529809474945, -0.4938577115535736, -0.02118968963623047, 0.22333644330501556, 0.03851873055100441, -0.47792673110961914, 0.19055584073066711, 0.6734362244606018, -0.8355695009231567, 0.6870077848434448, -0.28806036710739136, -0.003003769088536501, 0.3750883638858795, -0.014740291982889175, 0.7022666931152344, 0.09404625743627548, -0.1555836945772171, 0.464926540851593, -0.12472039461135864, -0.1283934861421585, -0.6282074451446533, 0.5765590071678162, -0.9343481659889221, -0.27565082907676697, 0.14178112149238586, -0.441592276096344, -0.18796655535697937, 0.05542248114943504, 0.627921462059021, 1.0043067932128906, 0.19466792047023773, 0.4132959544658661, 0.7969918251037598, 0.3513261079788208, 0.7667524814605713, 0.010985339060425758, 0.15212702751159668, -0.336191326379776, 1.089329481124878, 0.6233333349227905, 0.3930167853832245, 0.4691372811794281, 0.1106739342212677, -0.2796877920627594, -1.13325834274292, -0.6368481516838074, -0.2971254885196686, -0.9608822464942932, -0.3945111036300659, -0.5296568274497986, -0.7003552913665771, 0.11880629509687424, -0.355638325214386, -1.0628422498703003, -0.495365172624588, -0.5146119594573975, -0.06762611865997314, 0.5620125532150269, 0.6023197174072266, -0.3334522545337677, 0.7746331095695496, -0.9468648433685303, 0.34660980105400085, 0.50253826379776, 0.3376752734184265, 0.019342266023159027, -0.56165611743927, -0.6290273070335388, 0.22881516814231873, -0.23692409694194794, -0.39895567297935486, 0.27015233039855957, 0.4577826261520386, 0.757046639919281, 0.45009148120880127, 0.02710091508924961, 0.6922294497489929, -0.4715626835823059, 0.735009491443634, 0.36364084482192993, -0.7452831268310547, 0.2614710032939911, -0.02917897328734398, 0.13692227005958557, 0.7514254450798035, 0.7139610052108765, -0.29664546251296997, -0.06758645921945572, -0.24298709630966187, -1.1510719060897827, 0.41382652521133423, -0.04092196002602577, 0.2173408418893814, 0.26585638523101807, 0.5135284662246704, 0.22332505881786346, -0.15423491597175598, -0.4335465729236603, -0.611698567867279, -0.03197915479540825, -0.1296202391386032, 0.027666455134749413, -0.3248434364795685, -0.337234765291214, -0.31264692544937134, 0.7931304574012756, -0.36657652258872986, 0.14120618999004364, 0.22255069017410278, -0.27788442373275757, 0.26921162009239197, -0.011033888906240463, 0.3087759017944336, 0.5404012203216553, -0.2297300100326538, 0.5228139162063599, 0.7310858368873596, -0.5075277090072632, 0.5872425436973572, -0.15927688777446747, -0.16079583764076233, -0.09631490707397461, -0.016543157398700714, 0.7446681261062622, -0.029989268630743027, -0.057522326707839966, 0.17397429049015045, -0.058045193552970886, -0.475742369890213, 0.020965799689292908, 0.34286725521087646, 0.22437120974063873, 0.5752109289169312, 0.5842877626419067, 0.051236480474472046, 0.40726348757743835, 0.04447467625141144, 0.17400693893432617, 0.28141313791275024, -0.6126683354377747, 0.12327273935079575, 0.4351082146167755, 0.5299320816993713, -0.3247646987438202, 0.5841649770736694, -0.23905111849308014, -0.25898033380508423, 0.5210824012756348, 0.2938673496246338, 0.9563987255096436, 0.17294172942638397, -0.22263586521148682, -0.0013416096335276961, 0.4884701669216156, -0.025701288133859634, 0.12799422442913055, 0.3015078902244568, -0.6680956482887268, -0.3582805395126343, -0.7287031412124634, -0.5278287529945374, 0.2269851565361023, -0.40787965059280396, 0.2968995273113251, -0.6529038548469543, -0.6878179907798767, 0.027686726301908493, -0.3331185281276703, -0.7386561632156372, 0.3153327703475952, 0.20517165958881378, 0.9915960431098938, -0.7467789053916931, 0.7030102014541626, 0.3864509165287018, -0.03661932423710823, -0.4974842071533203, -0.28787118196487427, -0.18336163461208344, -0.5220268368721008, 0.5666191577911377, 0.21881680190563202, -0.5751765966415405, 0.3327684998512268, -0.43391868472099304, -0.9992761015892029, 1.2011210918426514, 0.641027569770813, -0.7547328472137451, 0.2049223780632019, 0.4265078902244568, 0.22658927738666534, -0.29185160994529724, 0.6604616641998291, 0.737676739692688, 0.22094973921775818, -0.016610121354460716, -0.6853355169296265, -0.31233835220336914, -0.21932607889175415, 0.3496038019657135, 0.10679280757904053, -0.8952091336250305, 0.9301795959472656, 0.3107367157936096, -0.2167801558971405, -0.406266987323761, 0.8280943036079407, 0.026553915813565254, -0.0858410969376564, 0.5990728735923767, 0.5231676697731018, 0.5316662192344666, -0.04638179391622543, 0.48082220554351807, -0.6667287945747375, 0.30035942792892456, 0.6635527610778809, 0.047144610434770584, 0.6011746525764465, 0.553130567073822, -0.12566643953323364, 0.3235428035259247, 0.8697819113731384, 0.12212330847978592, 0.6378316283226013, 0.3845537304878235, 0.07202304154634476, -0.383661687374115, -0.1452137529850006, -0.5612215399742126, 0.3395792841911316, 0.26594632863998413, -0.2813182473182678, -0.327730268239975, -0.048384614288806915, -0.08772296458482742, -0.3930067718029022, -0.7493674755096436, 0.48130932450294495, 0.2342454344034195, -0.09470998495817184, 1.0086411237716675, 0.23329560458660126, 1.0626524686813354, -0.5756814479827881, 0.06911963224411011, -0.4495897591114044, 0.21039511263370514, -0.42074716091156006, -0.47454550862312317, 0.4213375747203827, -0.1084727942943573, -0.13306882977485657, -0.3213871717453003, 0.9274175763130188, -0.06895751506090164, -0.5784200429916382, 0.1202254369854927, 0.2904265224933624, 0.38024625182151794, -0.03342490643262863, -0.6246852278709412, 0.18731558322906494, -0.323511004447937, -0.36764559149742126, 0.49762699007987976, 0.08096043020486832, 0.44297319650650024, 0.8987483382225037, 0.8101353049278259, -0.12002548575401306, 0.2503648102283478, 0.17080557346343994, 1.0683488845825195, -0.44125258922576904, -0.47428375482559204, -1.038217306137085, 0.667232096195221, -0.12045882642269135, -0.26346060633659363, 0.4944453835487366, 0.5731077790260315, 0.8292779326438904, 0.041784219443798065, 0.9102137684822083, 0.5065709352493286, 0.10302630811929703, -0.7918419241905212, 0.5939728021621704, -0.6876062750816345, 0.2616085708141327, 0.035053007304668427, -1.0297927856445312, -0.09689265489578247, 0.4636026620864868, 0.0948774442076683, -0.01310054399073124, 0.35339027643203735, 0.9889109134674072, -0.3273800313472748, -0.00984908826649189, 0.41405540704727173, -0.20803508162498474, 0.31561604142189026, 0.5059147477149963, 0.8964680433273315, -0.4966111183166504, 0.7574246525764465, -0.437637060880661, -0.11502519249916077, -0.49958598613739014, -1.0510351657867432, -0.9946047067642212, -0.0891575962305069, -0.2958947420120239, -0.12361639738082886, 0.06910357624292374, 0.8744471669197083, 1.2496001720428467, -0.547412097454071, -0.33072930574417114, -0.2530119717121124, 0.049913082271814346, -0.5459108948707581, -0.07447678595781326, 0.19088655710220337, -0.2382735162973404, -0.816783607006073, 0.7559058666229248, 0.43128466606140137, 0.06502564996480942, -0.77517169713974, -0.07790671288967133, 0.03384072706103325, 0.26789504289627075, 0.6174173355102539, -0.14269396662712097, -0.3289993703365326, -0.4610632061958313, -0.0459330715239048, -0.07691539078950882, 0.18773873150348663, 0.6447461247444153, -0.2980562150478363, -0.0031543178483843803, 0.5606775879859924, 0.6892895102500916, 0.894849419593811, -0.12921303510665894, 0.39884164929389954, -0.9125324487686157, -0.03112092986702919, -0.01754850521683693, 0.47279471158981323, 0.2809903919696808, -0.3806435167789459, 0.5916719436645508, 0.1942480355501175, -0.4279904067516327, -0.804844319820404, 0.37017104029655457, -0.47887569665908813, -0.3347848057746887, 1.0196399688720703, -0.04327816143631935, -0.09784365445375443, -0.04986971244215965, 0.015303698368370533, 0.4468735456466675, -0.015247918665409088, 0.27915170788764954, 0.15320265293121338, -0.4050457775592804, -0.09248016029596329, -0.4612191617488861, 0.4303281605243683, 0.1712489128112793, -0.5409367680549622, -0.14479900896549225, -0.05462898686528206, 0.2739025950431824, 0.0936620905995369, 0.3437310755252838, 0.23574241995811462, -0.19142919778823853, 0.3697345554828644, 0.16666355729103088, -0.576458752155304, -0.9097946286201477, -0.33225902915000916, 0.3624144494533539, 0.23268842697143555, -0.41610243916511536 ]
http://arxiv.org/abs/2404.03683v1
http://arxiv.org/pdf/2404.03683v1
Stream of Search (SoS): Learning to Search in Language
2024-04-01T06:50:52
2024-04-01T06:50:52
Kanishk Gandhi, Denise Lee, Gabriel Grand, Muxin Liu, Winson Cheng, Archit Sharma, Noah D. Goodman
cs.LG
cs.LG, cs.AI, cs.CL
Language models are rarely shown fruitful mistakes while training. They then struggle to look beyond the next token, suffering from a snowballing of errors and struggling to predict the consequence of their actions several steps ahead. In this paper, we show how language models can be taught to search by representing the process of search in language, as a flattened string -- a stream of search (SoS). We propose a unified language for search that captures an array of different symbolic search strategies. We demonstrate our approach using the simple yet difficult game of Countdown, where the goal is to combine input numbers with arithmetic operations to reach a target number. We pretrain a transformer-based language model from scratch on a dataset of streams of search generated by heuristic solvers. We find that SoS pretraining increases search accuracy by 25% over models trained to predict only the optimal search trajectory. We further finetune this model with two policy improvement methods: Advantage-Induced Policy Alignment (APA) and Self-Taught Reasoner (STaR). The finetuned SoS models solve 36% of previously unsolved problems, including problems that cannot be solved by any of the heuristic solvers. Our results indicate that language models can learn to solve problems via search, self-improve to flexibly use different search strategies, and potentially discover new ones.
[ 0.08554068207740784, -0.3546990156173706, 0.7884989976882935, 0.06750459223985672, -0.19763940572738647, 0.20103536546230316, -0.20542845129966736, 0.046183761209249496, 0.14493751525878906, 0.5655379295349121, -0.9466890096664429, -0.06311860680580139, -0.6095463037490845, 0.23632407188415527, -0.38834312558174133, 0.8896424770355225, -0.16195788979530334, 0.179957777261734, 0.2569032609462738, 0.3084726929664612, -0.292127788066864, -0.40996599197387695, -0.8234735131263733, -0.3385885953903198, 0.26645758748054504, 0.35780471563339233, 0.5765471458435059, 0.5922485589981079, 0.5768078565597534, 0.34444892406463623, -0.07684652507305145, -0.2098497599363327, -0.7827382683753967, 0.2647826373577118, -0.2917647659778595, -0.6483118534088135, 0.2715197503566742, 0.07251234352588654, 0.4710640013217926, 0.4130876958370209, -0.5102955102920532, 0.27890074253082275, -0.15716338157653809, 0.6946979761123657, -0.6419102549552917, 0.4128847122192383, -0.7455153465270996, -0.12366984784603119, -0.45623597502708435, -0.3624058961868286, -0.3760618567466736, -0.4753861129283905, 0.3240717649459839, -0.7561989426612854, 0.06906790286302567, -0.24199724197387695, 0.8370437622070312, 0.4524966776371002, -0.13731922209262848, -0.6756252646446228, -0.931710422039032, 0.7228654026985168, -0.7485342621803284, 0.44559937715530396, 0.19272534549236298, 0.5211349129676819, -0.2472972571849823, -0.7441626191139221, -0.41658124327659607, 0.0019785671029239893, 0.11897742748260498, 0.012991287745535374, 0.016770480200648308, -0.1749698519706726, 0.03764430060982704, 0.0749928429722786, -0.498627245426178, 0.006597910542041063, -0.6276084780693054, 0.014880574308335781, 0.8041613101959229, 0.023411614820361137, 0.27396681904792786, -0.005302563309669495, -0.28681790828704834, -0.23565368354320526, -0.7465021014213562, 0.43067315220832825, 0.29304811358451843, 0.6392844319343567, 0.3064180016517639, 0.2392546534538269, -0.1443241536617279, 0.5552505850791931, -0.23354752361774445, -0.11322831362485886, -0.2907087504863739, 0.054733358323574066, 0.13249102234840393, 0.07234971970319748, 0.5027321577072144, -0.2516273558139801, 0.4166164696216583, -0.09779086709022522, -0.5270204544067383, 0.36847633123397827, 0.4763111472129822, -0.6819297075271606, -0.11018035560846329, -0.15961389243602753, -0.2761344313621521, -0.17975272238254547, 0.050391074270009995, -0.31800535321235657, 0.03816743567585945, -0.35857975482940674, 0.4942350387573242, -0.5043843984603882, -0.014267903752624989, 0.5828596353530884, -0.15034686028957367, 0.008828534744679928, 0.09088566899299622, -0.9703158140182495, 0.5280497074127197, 0.40939462184906006, 0.32508790493011475, 0.2826599180698395, -0.3210221827030182, -0.431768000125885, -0.12897871434688568, -0.3953733444213867, 0.8796220421791077, -0.9886650443077087, -0.40307310223579407, 0.11842063069343567, -0.2801663875579834, -0.2794483006000519, -0.2672630846500397, 0.4659215211868286, -0.7210968732833862, 0.1699012815952301, -0.20108440518379211, -0.6830494403839111, -0.1605408489704132, -0.08387177437543869, -0.5409052968025208, 1.2145246267318726, 0.04439743235707283, -0.3255038261413574, -0.041306376457214355, -0.9022294282913208, -0.34047600626945496, 0.30732256174087524, -0.3306964933872223, -0.336877703666687, 0.4444352686405182, 0.18963976204395294, 0.2903432548046112, -0.36852818727493286, 0.3916318416595459, 0.0055915736593306065, -0.6815171241760254, -0.05497726798057556, 0.004383868537843227, 0.5456392765045166, 0.376746267080307, -0.441880464553833, -0.017165256664156914, -0.3630063831806183, 0.027663197368383408, 0.7037910223007202, -0.4850452244281769, -0.44197332859039307, 0.3983076512813568, -0.19067224860191345, 0.08940005302429199, 0.19445204734802246, -0.4182506203651428, 0.37195149064064026, -0.4260854721069336, 0.7121230959892273, 0.8082752227783203, -0.5598201751708984, 0.3372066915035248, 0.18534742295742035, 0.5232845544815063, -0.32565784454345703, 0.3517637848854065, -0.5400742888450623, -0.1307203322649002, -0.6644369959831238, 0.20865611732006073, 0.34884485602378845, 0.23685622215270996, -0.6767686009407043, 0.22124932706356049, -0.3474021852016449, -0.4619894027709961, -0.6056939959526062, 0.06024559214711189, 0.40530872344970703, 0.12173905968666077, 0.3533720374107361, -0.1942296028137207, -0.725143551826477, -0.18609096109867096, -0.41848355531692505, -0.08977752178907394, 0.0344277061522007, 0.2100996971130371, 0.27273932099342346, -0.2722804844379425, 0.7677015066146851, -0.6387213468551636, -0.42387115955352783, -0.3078151345252991, 0.1559913605451584, 0.0190171729773283, 0.13226595520973206, 0.19483263790607452, -0.788453221321106, -0.4329911470413208, -0.38716766238212585, -0.7488300204277039, 0.06016329675912857, 0.24897217750549316, 0.3130300045013428, -0.00864507257938385, 0.8501792550086975, -0.22096873819828033, 0.4828346371650696, 0.5004416108131409, -0.4101337492465973, 0.45408573746681213, -0.11515875905752182, -0.3947748839855194, -0.5438560247421265, -0.13472627103328705, -0.15481452643871307, -0.07501987367868423, -0.5827097296714783, 0.6102576851844788, -0.13115240633487701, -0.32148605585098267, -0.5060172080993652, 0.5290448665618896, -0.437889039516449, 0.10608872771263123, -0.36843636631965637, 0.13875405490398407, -0.140435591340065, 0.2560279667377472, 0.18902720510959625, 0.840507447719574, 0.7194210290908813, -0.6696703433990479, 0.0778288021683693, 0.12171873450279236, -0.17924515902996063, -0.053969692438840866, -0.6103373169898987, 0.18551139533519745, -0.3898032605648041, 0.4183512330055237, -0.7809577584266663, 0.29064303636550903, -0.5371755361557007, -0.05818348005414009, 0.31911054253578186, -0.01488360483199358, -0.2306259423494339, -0.7153037786483765, 0.030505266040563583, 0.501836359500885, 0.5467498302459717, -0.5051532983779907, 0.6271306872367859, 0.3894954323768616, -0.21220210194587708, -0.47065699100494385, 0.020301640033721924, -0.20690996944904327, 0.13970376551151276, -0.401001513004303, 0.23130761086940765, 0.09657277911901474, 0.2628680169582367, -0.09686044603586197, -0.5994629263877869, 0.05662037059664726, 0.32872235774993896, -0.10634966939687729, 0.37639594078063965, -0.2651437520980835, 0.08450987935066223, -0.5116875767707825, -0.37636247277259827, -0.03531019762158394, -0.7723497748374939, 1.0477900505065918, -0.2903454303741455, -0.43450039625167847, -0.06652464717626572, 0.18966913223266602, 0.13244077563285828, -0.4601125419139862, 0.18411028385162354, 0.12136144191026688, -0.19074566662311554, -0.011402497999370098, -0.6067765951156616, -0.6209070086479187, -0.5249210596084595, 0.16238200664520264, -0.597287118434906, -1.074726939201355, 0.42696836590766907, -0.3518454432487488, -0.015470671467483044, 0.48713696002960205, 0.11050578206777573, -0.4833126962184906, 1.1518027782440186, 1.0578423738479614, 0.10773369669914246, 0.5244587659835815, -0.5657621026039124, 0.4798261523246765, -0.3783435523509979, -0.2007136195898056, -0.7235870957374573, -0.1658090204000473, -0.6272754073143005, -0.24735787510871887, 0.38836124539375305, 0.26207849383354187, -0.32638561725616455, 0.6048493981361389, -0.5720427632331848, 0.6835364103317261, 0.6775209903717041, -0.017552873119711876, 0.0753246322274208, -0.1475002020597458, -0.3302253782749176, -0.23758956789970398, -0.891427755355835, -0.5288630723953247, 0.9773144721984863, 0.19613327085971832, 1.1394435167312622, -0.14299078285694122, 1.1190028190612793, -0.09923490881919861, 0.1456315815448761, -0.6388908624649048, 0.4234560430049896, -0.49419450759887695, -0.6573110818862915, -0.8773237466812134, -0.3468840718269348, -1.1921920776367188, -0.1735290139913559, 0.13213543593883514, -0.7893269062042236, -0.102359339594841, -0.03695732355117798, -0.5704811215400696, 0.1786329299211502, -0.3953528106212616, 0.841425359249115, -0.4802079498767853, 0.08180467039346695, -0.2097829133272171, -0.5495510697364807, 0.07563377916812897, 0.18010187149047852, 0.29612067341804504, -0.17258162796497345, 0.5118128657341003, 0.8166217803955078, -0.45098960399627686, 0.5365318059921265, -0.04706832394003868, 0.030589906498789787, 0.3217405080795288, 0.2862585783004761, 0.7851898670196533, -0.2921289801597595, 0.23463714122772217, 0.06540057808160782, 0.24706579744815826, -0.5166389346122742, -0.7011204361915588, 0.26213714480400085, -0.5894896388053894, -0.7809998989105225, -0.5097975134849548, -0.2889638841152191, 0.155727356672287, 0.4282483160495758, 0.25860780477523804, 0.16798242926597595, -0.2949152886867523, -0.07695388793945312, 0.7891378402709961, 0.16293177008628845, 0.6236851215362549, 0.8456676602363586, -0.5934694409370422, 0.34905192255973816, 0.9906393885612488, 0.18175984919071198, -0.0302512738853693, 0.36949342489242554, 0.6022299528121948, -0.6591382622718811, 0.0038540298119187355, -0.08297186344861984, 0.18576659262180328, -0.48482680320739746, -0.271035373210907, -0.42029666900634766, -0.6503769159317017, -0.4898519515991211, -0.22224661707878113, -0.6998885273933411, -0.03884131833910942, -0.13980229198932648, 0.07318023592233658, 0.20021645724773407, 0.804122269153595, 0.14009413123130798, 0.5945687890052795, -0.6924814581871033, 0.2784838080406189, 0.5752098560333252, 0.5217840671539307, -0.2659156620502472, -0.4691314697265625, -0.08942429721355438, 0.07578779011964798, -0.44176363945007324, -0.792445957660675, 0.23624378442764282, 0.15616795420646667, 0.47310203313827515, 0.40574803948402405, 0.00659904582425952, 0.7077327966690063, -0.8358476161956787, 0.5843669176101685, 0.26346614956855774, -1.1277912855148315, 0.651991069316864, -0.05356931686401367, 0.3718174397945404, 0.52388995885849, 0.4810694754123688, -0.6540703773498535, -0.148003950715065, -0.819086492061615, -0.5975315570831299, 0.8379019498825073, 0.1872478574514389, 0.21915395557880402, 0.12305150926113129, 0.1687169224023819, 0.029077209532260895, 0.07276634871959686, -0.5989542603492737, -0.17994557321071625, -0.31987565755844116, 0.055561039596796036, -0.26774734258651733, -0.2842884659767151, 0.0754840075969696, -0.14260976016521454, 0.6501547694206238, -0.36262789368629456, 0.11493422836065292, 0.016073090955615044, 0.03850599005818367, -0.27863872051239014, 0.3830994963645935, 0.383984237909317, 0.3959701657295227, -0.04040409252047539, 0.3112425208091736, -0.16435733437538147, -0.35145506262779236, 0.3633001744747162, 0.25171634554862976, -0.4425354599952698, 0.06351719796657562, -0.020327093079686165, 0.9865737557411194, 0.610846221446991, -0.7765800952911377, 0.38152173161506653, -0.044469207525253296, 0.004480558913201094, -0.14557598531246185, 0.13961052894592285, 0.3040272295475006, 0.13111639022827148, 0.619195818901062, -0.012017984874546528, 0.3362460732460022, -0.7181699275970459, 0.10964693129062653, 0.5095009803771973, -0.6048802137374878, -0.44555047154426575, 0.607164740562439, 0.15674537420272827, -0.7288230657577515, 0.4978586435317993, -0.35841047763824463, -1.0124192237854004, 0.22621452808380127, 0.7365369200706482, 0.741833508014679, -0.7764564156532288, 0.451144814491272, 0.0047863018698990345, 0.393730491399765, -0.5873003602027893, 0.7472800612449646, 0.0452071949839592, -0.7295336127281189, -0.516789972782135, -0.7004628777503967, -0.11037015169858932, 0.3093521296977997, -0.4906863868236542, 0.36965227127075195, -0.22979392111301422, -0.025640355423092842, 0.14141245186328888, 0.04344766587018967, -0.9756607413291931, 0.23184671998023987, 0.06981360912322998, 1.014726996421814, -0.8581586480140686, 0.5269041657447815, 0.7227242588996887, -0.48001736402511597, -1.0801433324813843, -0.13547880947589874, -0.21734490990638733, -1.0068527460098267, 0.7150264978408813, 0.13681980967521667, -0.1009691134095192, 0.3188716769218445, -0.7005570530891418, -1.3897557258605957, 0.5676977038383484, 0.6119868159294128, -0.6083393096923828, -0.5488585233688354, 0.07705076783895493, 0.5785720348358154, -0.318486750125885, 0.41119956970214844, 0.7211557030677795, 0.2813662886619568, 0.24065077304840088, -0.8907757997512817, -0.1624414324760437, -0.006127616390585899, 0.26699957251548767, 0.17598941922187805, -0.656012237071991, 0.7379094958305359, -0.2606607675552368, -0.5638806819915771, -0.23618029057979584, 0.4673633277416229, 0.394407719373703, 0.3628665804862976, 0.46803346276283264, 0.5174431800842285, 0.4707585275173187, -0.26377996802330017, 0.9287259578704834, -0.09605283290147781, 0.44260266423225403, 0.9844470024108887, -0.41162294149398804, 0.9133808612823486, 0.4088810980319977, -0.26763978600502014, 0.5990944504737854, 0.5940904021263123, 0.48424503207206726, 0.7321915626525879, 0.5028519034385681, 0.09753976762294769, -0.5080286860466003, -0.04382243752479553, -0.11633992195129395, 0.6986374258995056, 0.2850494980812073, -0.023511940613389015, -0.65652996301651, -0.09683971107006073, -0.12694481015205383, 0.5695855021476746, -0.11919675767421722, 0.8301059007644653, 0.16666661202907562, -0.7613298892974854, 0.567216694355011, -0.08111267536878586, 0.47506004571914673, -0.6825694441795349, -0.03584077209234238, -0.12828779220581055, 0.20715561509132385, 0.15344694256782532, -0.5155215263366699, 0.1840451955795288, -0.2723499536514282, -0.14678019285202026, -0.259519100189209, 0.5266515016555786, -0.3325018286705017, -0.659876823425293, 0.3339886963367462, 0.3787105679512024, 0.34415143728256226, -0.11912321299314499, -0.8215935826301575, 0.17882072925567627, -0.11358602344989777, -0.11813881248235703, 0.09341058135032654, 0.2652493119239807, -0.3369673490524292, 0.8477490544319153, 0.6967228651046753, 0.17768152058124542, 0.3084593415260315, 0.0650753527879715, 0.8137345910072327, -0.5326361656188965, -0.8191185593605042, -0.6452741026878357, 0.25747057795524597, 0.24020881950855255, 0.05813147872686386, 0.3698028028011322, 0.46148163080215454, 1.096825361251831, -0.04191998019814491, 0.7324702143669128, 0.2303687334060669, 0.6393378376960754, -0.5167686939239502, 0.37848255038261414, -0.43127909302711487, 0.20823656022548676, 0.08386775106191635, -0.9509329795837402, 0.11304203420877457, 0.767998993396759, -0.3440512418746948, 0.02468661405146122, 0.6788555979728699, 0.5787315964698792, -0.2713662385940552, 0.2384830117225647, 0.27593106031417847, -0.06040995195508003, 0.19065313041210175, 0.3239800035953522, 0.8575793504714966, -0.673356294631958, 0.45764195919036865, 0.10111769288778305, -0.11322803050279617, -0.4882242977619171, -0.5291808843612671, -0.6778766512870789, -0.7573179602622986, -0.017927786335349083, -0.03124396502971649, 0.32487568259239197, 0.6598647832870483, 0.8593209385871887, -0.8153960704803467, -0.4796748161315918, -0.28634095191955566, 0.12484798580408096, -0.5167952179908752, -0.18649421632289886, 0.18568140268325806, -0.8975444436073303, -0.5303016304969788, 0.6131919622421265, 0.3819098472595215, -0.14668968319892883, -0.45979613065719604, -0.2239810973405838, -0.38157206773757935, 0.4367836117744446, 0.2454126924276352, 0.5510077476501465, -0.8218819499015808, -0.013534284196794033, 0.5191672444343567, -0.21858830749988556, -0.13983191549777985, 1.3306844234466553, -0.7794826626777649, 0.7405032515525818, 0.19470283389091492, 0.6037020683288574, 0.86638343334198, -0.3215545415878296, 0.5060040950775146, -0.5993976593017578, -0.08782098442316055, 0.20490577816963196, 0.2696734070777893, 0.12892314791679382, -0.26597335934638977, 0.4959433972835541, 0.051350004971027374, -0.402538925409317, -0.8620068430900574, 0.3901384770870209, -0.08929520100355148, -0.38807055354118347, 0.8159568309783936, -0.16856245696544647, -0.22736206650733948, 0.043069224804639816, -0.0594351701438427, 0.4208330512046814, -0.31779158115386963, 1.1865229606628418, 0.34464359283447266, 0.2052222490310669, -0.029012683779001236, -0.1276114284992218, 0.7983489632606506, 0.5964507460594177, -0.2972859740257263, -0.07256786525249481, -0.1301085203886032, 0.15723580121994019, 0.549344003200531, 0.7052786350250244, 0.07567828893661499, 0.1246594712138176, -0.30073580145835876, 0.21468180418014526, 0.20039336383342743, -0.6516476273536682, -0.20596027374267578, -0.18152815103530884, -0.16139620542526245, -0.019250545650720596 ]
http://arxiv.org/abs/2404.00950v1
http://arxiv.org/pdf/2404.00950v1
AISPACE at SemEval-2024 task 8: A Class-balanced Soft-voting System for Detecting Multi-generator Machine-generated Text
2024-04-01T06:25:47
2024-04-01T06:25:47
Renhua Gu, Xiangfeng Meng
cs.CL
cs.CL
SemEval-2024 Task 8 provides a challenge to detect human-written and machine-generated text. There are 3 subtasks for different detection scenarios. This paper proposes a system that mainly deals with Subtask B. It aims to detect if given full text is written by human or is generated by a specific Large Language Model (LLM), which is actually a multi-class text classification task. Our team AISPACE conducted a systematic study of fine-tuning transformer-based models, including encoderonly, decoder-only and encoder-decoder models. We compared their performance on this task and identified that encoder-only models performed exceptionally well. We also applied a weighted Cross Entropy loss function to address the issue of data imbalance of different class samples. Additionally, we employed softvoting strategy over multi-models ensemble to enhance the reliability of our predictions. Our system ranked top 1 in Subtask B, which sets a state-of-the-art benchmark for this new challenge.
[ -0.2655225694179535, -0.4869970977306366, 0.5102795958518982, 0.1024826392531395, -0.37039172649383545, 0.23643606901168823, -0.20339636504650116, -0.34111297130584717, -0.008371333591639996, 0.6066248416900635, -0.6142467260360718, -0.4429141879081726, -0.7399724125862122, 0.5095961689949036, -0.5331897139549255, 0.9558632373809814, -0.08866984397172928, -0.12880240380764008, -0.3908015787601471, -0.2665043771266937, -0.6176655292510986, -0.6095110774040222, -0.5503844618797302, -0.6195685863494873, 0.34452593326568604, 0.47245776653289795, 0.3936788737773895, 0.21778491139411926, 0.3523496687412262, 0.44333261251449585, 0.04436267912387848, 0.3645887076854706, -0.2187652438879013, 0.321889191865921, -0.2109861522912979, -0.351472944021225, -0.5625658631324768, -0.0412936769425869, 0.4874904751777649, 0.15403559803962708, -0.06200340390205383, 0.2672424018383026, 0.29524603486061096, 0.23193298280239105, -0.6328547596931458, -0.10583540052175522, -0.6405681371688843, -0.011799097061157227, -0.4011938273906708, -0.2206006944179535, -0.6879293918609619, 0.12536968290805817, -0.3758957087993622, -0.13385000824928284, 0.45021477341651917, 0.16714315116405487, 0.7520087361335754, 0.4617513418197632, -0.5461047291755676, -0.19950835406780243, -0.5189834833145142, 0.9155117273330688, -0.6999757885932922, 0.3713427484035492, 0.012095899321138859, -0.13301554322242737, 0.11942502856254578, -0.42912712693214417, -0.8006501793861389, 0.07537475228309631, 0.04263461008667946, 0.37386414408683777, -0.11135337501764297, -0.026831552386283875, 0.13370440900325775, 0.11591290682554245, -0.6799617409706116, 0.22547860443592072, -0.29175081849098206, -0.4041535556316376, 0.6442854404449463, 0.35577133297920227, 0.24656838178634644, -0.27671143412590027, -0.31228339672088623, 0.07379098236560822, -0.41349664330482483, -0.16808682680130005, 0.6385173201560974, 0.14642570912837982, -0.024424687027931213, 0.6381061673164368, 0.02894415706396103, 0.3576931059360504, 0.13000421226024628, 0.15919217467308044, 0.45595380663871765, -0.40725165605545044, -0.10955805331468582, 0.06508152931928635, 0.7608219385147095, 0.13119910657405853, 0.05743452534079552, -0.016653304919600487, -0.5010552406311035, 0.38161543011665344, 0.401838093996048, -0.7920733094215393, -0.15260976552963257, 0.09729509800672531, -0.5664854049682617, -0.4842066764831543, -0.08465710282325745, -0.5658136606216431, -0.5904422402381897, -0.37750422954559326, 0.6463242769241333, -0.17439600825309753, -0.3255821168422699, 0.08748944103717804, -0.19249407947063446, 0.05690869316458702, 0.49436327815055847, -0.6826664805412292, 0.0737345814704895, 0.6721441149711609, 0.6591412425041199, -0.4097382724285126, -0.5017129778862, -0.3738427758216858, -0.09077136963605881, -0.05084291845560074, 0.9707128405570984, -0.35377365350723267, 0.0074089402332901955, -0.19094014167785645, 0.4220902621746063, -0.03306642174720764, -0.45375412702560425, 0.6639463901519775, -0.30635902285575867, 0.11436816304922104, 0.0033672749996185303, -0.6241911053657532, -0.030649950727820396, 0.39366865158081055, -0.5556898713111877, 0.8869367241859436, -0.02237224578857422, -0.730927586555481, 0.4737979471683502, -0.179050013422966, -0.487545907497406, 0.43109750747680664, -0.061687126755714417, -0.9407193660736084, 0.0017896443605422974, 0.1875881552696228, 0.6379576921463013, -0.3110204041004181, 0.3561078608036041, -0.2700483798980713, -0.4954471290111542, 0.1266755610704422, -0.6643688082695007, 0.5797321200370789, 0.11923776566982269, -0.7093071937561035, 0.2603790760040283, -0.5390451550483704, -0.045400045812129974, 0.021823866292834282, -0.6479843854904175, -0.16336630284786224, 0.05737485736608505, 0.2604786455631256, 0.03180266544222832, 0.37525612115859985, -0.8633295297622681, 0.20530283451080322, -0.2269429862499237, 0.23730307817459106, 0.8506800532341003, -0.16147230565547943, 0.36648327112197876, -0.26370516419410706, 0.5796040892601013, 0.1431346833705902, -0.092844158411026, -0.36372020840644836, -0.4862484335899353, -0.9293487668037415, -0.13052675127983093, 0.4364711046218872, 0.7607485055923462, -0.6817590594291687, 0.4965282678604126, -0.11671429127454758, -0.5749698877334595, -0.5413719415664673, 0.13577015697956085, 0.2739972174167633, 0.05778438225388527, 0.4113990068435669, -0.17850951850414276, -0.5203425288200378, -0.7529313564300537, -0.335524320602417, -0.02197195589542389, 0.04233596846461296, 0.10816460847854614, 0.7066181898117065, -0.6760642528533936, 0.25414082407951355, -0.21533489227294922, -0.35286664962768555, -0.5064683556556702, 0.4118480682373047, 0.16918975114822388, 0.4463140070438385, 0.3507756292819977, -0.6393745541572571, -0.3579660952091217, -0.030015159398317337, -0.7590609788894653, -0.3957623243331909, 0.057451482862234116, 0.10144969820976257, 0.5394411683082581, 0.581490695476532, -0.4393502175807953, 0.4148499369621277, 0.45920267701148987, -0.5202310085296631, 0.2617357671260834, -0.07169406116008759, 0.4608018696308136, -0.9926683306694031, -0.01863686740398407, -0.13563133776187897, -0.3826550245285034, -0.435357928276062, 0.0507698580622673, 0.27909478545188904, -0.2585146427154541, -0.1883162409067154, 0.48656654357910156, -0.17382366955280304, 0.15214775502681732, -0.547410786151886, -0.4623034596443176, -0.013561958447098732, 0.4649295210838318, 0.045616257935762405, 0.6016067266464233, 0.04559304192662239, -0.3328118920326233, 0.3573943078517914, 0.06449410319328308, -0.2839314639568329, 0.5344928503036499, -0.5253413915634155, 0.47736459970474243, -0.3587469458580017, 0.2724369466304779, -1.0005980730056763, -0.10676652938127518, -0.08554497361183167, -0.6444228291511536, 0.10538442432880402, -0.1222287118434906, -0.5373267531394958, -0.3630734384059906, -0.13461504876613617, 0.3102269172668457, 0.17715658247470856, -0.3561684787273407, 0.7801542282104492, 0.5771780014038086, -0.29453185200691223, -0.5515981316566467, -0.4255976378917694, 0.17663924396038055, -0.13142262399196625, -0.7051694393157959, 0.31911736726760864, 0.10841459035873413, 0.185169517993927, 0.15234097838401794, 0.11579448729753494, 0.08612745255231857, 0.08976569771766663, 0.31331464648246765, 0.15661267936229706, -0.13870850205421448, -0.027614599093794823, 0.10418619960546494, -0.2411915808916092, -0.1093151643872261, -0.33356213569641113, 0.606361448764801, -0.2241160273551941, -0.29561418294906616, -0.1306542307138443, 0.4859994649887085, 0.8070488572120667, -0.247031569480896, 0.6255446672439575, 0.9093842506408691, -0.5637652277946472, -0.5414225459098816, -0.5854897499084473, -0.17983877658843994, -0.4919432997703552, 0.40217483043670654, -0.24852930009365082, -0.9665290117263794, 0.3403853178024292, -0.08076279610395432, 0.20210106670856476, 0.5667335987091064, 0.8917366862297058, -0.10403282940387726, 1.4644283056259155, 0.5772416591644287, -0.17374062538146973, 0.19573254883289337, -0.22518710792064667, 0.24292972683906555, -0.465911865234375, -0.35657697916030884, -0.6548944115638733, -0.5863174200057983, -0.5414464473724365, -0.310327410697937, 0.569925844669342, -0.4439680278301239, -0.38614439964294434, 0.4443351924419403, -0.7328991889953613, 0.3489689230918884, 0.7208887934684753, 0.002935664029791951, 0.13861408829689026, -0.0854441300034523, -0.07596826553344727, 0.03448297083377838, -0.46244943141937256, -0.4551254212856293, 0.8972857594490051, 0.21422187983989716, 0.7565128803253174, 0.01498977281153202, 0.813022255897522, 0.6319774985313416, 0.2195102572441101, -0.6402763724327087, 0.6704851388931274, -0.6888260245323181, -0.562787652015686, -0.37968456745147705, -0.29586517810821533, -0.9714357256889343, 0.3306839168071747, -0.24213267862796783, -0.1258554309606552, 0.030916282907128334, 0.16791117191314697, -0.21499668061733246, 0.3210756480693817, -0.5853629112243652, 1.069094181060791, -0.16803939640522003, -0.4739331305027008, -0.24689272046089172, -0.33517390489578247, -0.008120790123939514, -0.0384599044919014, 0.2322191298007965, -0.10126587748527527, 0.10690246522426605, 0.6402736902236938, -0.3290165960788727, 0.6664533615112305, -0.3563385605812073, -0.01322300173342228, 0.5259499549865723, -0.03314819186925888, 0.5287932753562927, -0.07464863359928131, -0.25093427300453186, 0.14806628227233887, -0.07647358626127243, -0.22149178385734558, -0.12364012002944946, 0.4984714388847351, -0.8037360906600952, -0.23033788800239563, -0.602308452129364, -0.10155407339334488, 0.06912662088871002, 0.30393722653388977, 0.7324541211128235, 0.4345315396785736, 0.08032798022031784, 0.6194864511489868, 0.509928286075592, -0.28754574060440063, 0.33896663784980774, 0.5490497350692749, 0.20324978232383728, -0.39838799834251404, 1.053107500076294, 0.013965538702905178, -0.2558639645576477, 0.33932939171791077, 0.2359798401594162, -0.2666778862476349, -0.49956339597702026, -0.8227890133857727, -0.1927414834499359, -0.5953637361526489, -0.6443213224411011, -0.8155484795570374, -0.4283699691295624, -0.4732152223587036, -0.21607264876365662, -0.3797576129436493, -0.09738384187221527, -0.2845887243747711, 0.051025547087192535, -0.12912175059318542, 0.7459291815757751, 0.19264331459999084, 0.12343458086252213, -0.802121102809906, 0.23965540528297424, 0.26026758551597595, 0.03515670448541641, -0.17650002241134644, -0.6345665454864502, -0.20113526284694672, -0.35517486929893494, -0.49564120173454285, -0.8256089687347412, 0.510056734085083, 0.02544037252664566, 0.3804803788661957, -0.06184690073132515, -0.12268664687871933, 0.31700316071510315, -0.5756977796554565, 0.6941986680030823, 0.018740102648735046, -1.0525591373443604, 0.5592533349990845, -0.38089218735694885, 0.7070874571800232, 0.6395857334136963, -0.0867653638124466, -0.4786311388015747, -0.7271712422370911, -0.5101454257965088, -0.9397175312042236, 0.7651922106742859, 0.22744840383529663, 0.2690325379371643, 0.20656733214855194, 0.1717233806848526, 0.19000795483589172, 0.4058525562286377, -0.9924600124359131, 0.14351825416088104, -0.32929691672325134, -0.7694798111915588, -0.014258576557040215, -0.15625034272670746, 0.5023396611213684, -0.07542707771062851, 0.8757026791572571, -0.23185084760189056, 0.27563950419425964, -0.1147700846195221, -0.22711196541786194, -0.3942742943763733, 0.5497058629989624, 0.42830583453178406, 0.1269867867231369, 0.09152970463037491, 0.3961995542049408, 0.42086103558540344, -0.59334397315979, 0.36172839999198914, 0.06790918856859207, -0.4724636971950531, -0.09624374657869339, 0.6350023150444031, 0.7782971858978271, 0.10993080586194992, -0.5550902485847473, 0.6820907592773438, -0.015188327059149742, -0.273414671421051, -0.3180328607559204, 0.18081475794315338, -0.12701067328453064, 0.31921738386154175, 0.31830549240112305, 0.4223765730857849, 0.367946058511734, -0.3789694011211395, 0.21147951483726501, 0.3915461003780365, -0.28760090470314026, -0.5416988730430603, 0.7007042765617371, 0.4836774468421936, -0.2959591746330261, 0.47290757298469543, -0.49171173572540283, -0.9618669748306274, 0.8343691229820251, 0.4794619083404541, 0.9326326251029968, -0.36704733967781067, 0.07097449153661728, 0.46393391489982605, 0.6696639657020569, -0.07580184936523438, 0.5836274027824402, 0.11187108606100082, -0.8869573473930359, -0.2922370135784149, -0.8267305493354797, -0.40748530626296997, 0.5652565360069275, -0.1809411346912384, 0.6274463534355164, -0.1856173574924469, -0.18621060252189636, 0.12949487566947937, 0.14563409984111786, -0.7959640026092529, 0.2193741649389267, 0.34602978825569153, 0.3749408721923828, -1.063971996307373, 0.44747641682624817, 1.0009061098098755, 0.1081441268324852, -0.7275933623313904, -0.15756501257419586, 0.18967407941818237, -0.40270867943763733, 0.35320356488227844, 0.5020278096199036, -0.21506403386592865, 0.0412214919924736, -0.6026361584663391, -0.5679143667221069, 0.9088736176490784, 0.2413763850927353, -0.6932916641235352, 0.10648401081562042, -0.007347294595092535, 0.42739441990852356, -0.032337311655282974, 0.11173784732818604, 0.21407359838485718, 0.5185965895652771, -0.1745530366897583, -0.9557064771652222, -0.04408382251858711, -0.39423567056655884, -0.5847992300987244, 0.5081382989883423, -0.7408102750778198, 1.0251030921936035, 0.20046930015087128, -0.10354555398225784, 0.039657607674598694, 0.6593952775001526, 0.2580980062484741, 0.6869099736213684, 0.8836889266967773, 0.72232586145401, 0.5843585729598999, 0.003488146932795644, 0.5725570917129517, -0.08472103625535965, 0.34619566798210144, 0.7670428156852722, -0.4418671727180481, 0.630795955657959, 0.00340009736828506, -0.05452036112546921, 0.49636775255203247, 0.33328086137771606, -0.24589036405086517, 0.42334893345832825, 0.1439163237810135, -0.3239847421646118, -0.7195240259170532, -0.03785856068134308, -0.02941308729350567, 0.7346408367156982, 0.300577849149704, -0.087620310485363, -0.0028489213436841965, 0.23176679015159607, -0.26948025822639465, -0.015063442289829254, -0.384411484003067, 0.8676759004592896, 0.057152364403009415, -1.130450963973999, -0.0008087411988526583, 0.5808032751083374, 1.0161821842193604, -0.24961158633232117, -0.04739777371287346, -0.00978764146566391, 0.655927300453186, -0.18349261581897736, -0.7755464315414429, 0.22127404808998108, 0.18623070418834686, -0.23366610705852509, -0.3941011130809784, 1.3936396837234497, -0.6153002381324768, -0.6903336048126221, 0.1487659364938736, 0.3830558657646179, -0.11910483986139297, -0.017696060240268707, -0.47758248448371887, 0.16016298532485962, -0.0843634158372879, -0.0721975564956665, 0.10121969878673553, 0.5630152821540833, -0.21052046120166779, 0.2839457094669342, 0.43892112374305725, -0.10432498902082443, 0.02261846885085106, 0.25086361169815063, 0.47045189142227173, -0.4453679323196411, -0.6599940657615662, -0.8606932163238525, 0.3312816023826599, 0.033705152571201324, -0.2611510753631592, 0.6224164366722107, 0.6583784222602844, 0.6139532327651978, -0.15906678140163422, 0.9383952617645264, 0.0649116262793541, 0.6161107420921326, -0.34877607226371765, 0.6232907772064209, -0.7692906856536865, 0.08568181842565536, -0.33628976345062256, -0.7818589806556702, 0.05156038701534271, 0.46503588557243347, 0.1474291980266571, -0.05228304862976074, 0.5207241773605347, 0.6444103121757507, -0.2037525475025177, 0.15683624148368835, 0.18284669518470764, -0.06128726154565811, 0.22702288627624512, 0.5071498155593872, 1.073609471321106, -0.47490450739860535, 0.6506204605102539, 0.01886802539229393, -0.13365450501441956, -0.3121474087238312, -0.7202094793319702, -1.0203510522842407, -0.6521495580673218, -0.3586231470108032, -0.3028680980205536, -0.13072392344474792, 0.6987798810005188, 0.6135393977165222, -1.0451745986938477, -0.0818755254149437, 0.03725702688097954, 0.10785947740077972, 0.0007352516404353082, -0.23156368732452393, 0.0720858946442604, -0.18017436563968658, -0.7893753051757812, 0.39934536814689636, 0.48739317059516907, -0.1442277878522873, -0.191949263215065, 0.024141576141119003, -0.02114427275955677, 0.19318822026252747, 0.5691537261009216, -0.25613653659820557, -0.4237738847732544, -0.4290110170841217, 0.17555628716945648, -0.061057109385728836, -0.32821768522262573, 0.8952675461769104, -0.6368225812911987, 0.15469586849212646, 0.8753254413604736, 0.693653404712677, 0.5359829664230347, 0.03268783912062645, 0.3037918210029602, -0.8527481555938721, -0.048780739307403564, 0.490143746137619, 0.4270581305027008, 0.36566978693008423, -0.44644656777381897, 0.4723113775253296, 0.43434253334999084, -0.9195391535758972, -0.8195096850395203, -0.03223975747823715, -0.5844443440437317, -0.3132037818431854, 1.0192099809646606, 0.08036553859710693, -0.13535703718662262, -0.33470699191093445, -0.1578085571527481, 0.2683865427970886, -0.3025968372821808, 0.47448185086250305, 0.7349133491516113, 0.038672275841236115, -0.20825064182281494, -0.33245834708213806, 0.18238230049610138, 0.6312960982322693, -0.8424457907676697, -0.20599064230918884, 0.4626910984516144, 0.24963000416755676, 0.21577690541744232, 0.8246731162071228, 0.18822212517261505, 0.287901908159256, -0.23948094248771667, 0.07102468609809875, 0.013936048373579979, -0.6752393841743469, -0.16620151698589325, 0.4509614109992981, -0.33237192034721375, 0.02621343359351158 ]
http://arxiv.org/abs/2404.00943v1
http://arxiv.org/pdf/2404.00943v1
Evalverse: Unified and Accessible Library for Large Language Model Evaluation
2024-04-01T06:03:39
2024-04-01T06:03:39
Jihoo Kim, Wonho Song, Dahyun Kim, Yunsu Kim, Yungi Kim, Chanjun Park
cs.CL
cs.CL, cs.AI
This paper introduces Evalverse, a novel library that streamlines the evaluation of Large Language Models (LLMs) by unifying disparate evaluation tools into a single, user-friendly framework. Evalverse enables individuals with limited knowledge of artificial intelligence to easily request LLM evaluations and receive detailed reports, facilitated by an integration with communication platforms like Slack. Thus, Evalverse serves as a powerful tool for the comprehensive assessment of LLMs, offering both researchers and practitioners a centralized and easily accessible evaluation framework. Finally, we also provide a demo video for Evalverse, showcasing its capabilities and implementation in a two-minute format.
[ -0.4809112548828125, -0.8125192523002625, 0.4754071533679962, 0.5265408158302307, -0.07115916907787323, 0.46984320878982544, -0.534436047077179, -0.2999005615711212, 0.34099051356315613, 0.4766782522201538, -0.6270260214805603, -0.511430561542511, -0.5065333247184753, 0.0431094616651535, -1.0016334056854248, 0.6420996189117432, -0.15228703618049622, 0.33419516682624817, -0.3263319730758667, -0.16975723206996918, -0.21674488484859467, -0.30531400442123413, -0.5300981998443604, -0.5028684139251709, 0.4637226462364197, 0.0987728014588356, 0.4971211850643158, 0.013402354903519154, 0.634206235408783, 0.47789379954338074, -0.0700102299451828, -0.1929195672273636, -0.5830165147781372, 0.1932145357131958, -0.42551472783088684, -0.15904712677001953, -0.2792419493198395, -0.3986900746822357, 0.870284378528595, 0.7065860033035278, -0.16773125529289246, 0.5426031947135925, 0.2853454053401947, 0.6512248516082764, -0.7523612976074219, -0.15160690248012543, -0.4922994077205658, -0.19912835955619812, -0.28003403544425964, -0.05024581402540207, -0.5919967889785767, -0.37843945622444153, 0.03644368425011635, 0.05796150863170624, -0.26606783270835876, -0.026330308988690376, 0.5095854997634888, 0.1862519234418869, -0.3160998225212097, -0.06449273228645325, -0.897300660610199, 0.6726139187812805, -0.4459609389305115, 0.643561840057373, -0.13358858227729797, 0.508479654788971, -0.25602662563323975, -1.0442410707473755, -0.3826069235801697, -0.3683297634124756, 0.06829407066106796, -0.17584241926670074, -0.4496540427207947, 0.20799866318702698, 0.024759620428085327, 0.37606897950172424, -0.7293112874031067, 0.3870719373226166, -0.32071173191070557, -0.17234522104263306, 0.7410647869110107, 0.30026188492774963, 0.44691982865333557, -0.18524794280529022, -0.24861419200897217, 0.024873390793800354, -0.48741206526756287, -0.057118047028779984, 0.3290499150753021, 0.05997743457555771, -0.10357666015625, 0.5514925718307495, 0.04545561596751213, 0.48856744170188904, -0.48683154582977295, 0.026946047320961952, 0.23926956951618195, -0.05730056017637253, -0.41601383686065674, -0.14090222120285034, 1.0486193895339966, -0.0332598052918911, -0.24521592259407043, -0.2820894122123718, -0.36665526032447815, -0.2608731985092163, 0.07827502489089966, -0.9397085309028625, -0.09621700644493103, 0.36332064867019653, -0.45023366808891296, -0.19401831924915314, 0.21485458314418793, -1.0750244855880737, -0.41136956214904785, -0.4602578580379486, 0.424825519323349, -0.1670023798942566, -0.27326542139053345, 0.11754975467920303, -0.10297329723834991, 0.16604912281036377, 0.5256391167640686, -0.6551297903060913, 0.6487044095993042, 0.9894861578941345, 0.9500739574432373, -0.222681924700737, -0.5244292616844177, -0.5540428757667542, -0.36078548431396484, -0.10751231014728546, 0.9871219992637634, -0.49964916706085205, -0.3068174719810486, -0.0988457128405571, 0.06793089956045151, -0.008191152475774288, -0.3491276800632477, 0.5009711384773254, -0.44279155135154724, -0.006845785770565271, 0.35901400446891785, -0.6684575080871582, -0.2793315649032593, -0.096404530107975, -0.810778796672821, 1.0980175733566284, 0.3991655111312866, -0.5362870693206787, -0.1026654988527298, -0.7768592238426208, -0.11742552369832993, 0.6293944120407104, -0.1695534735918045, -0.22376704216003418, 0.2947918474674225, -0.0027107233181595802, 0.3668062090873718, -0.5999852418899536, 0.6983972191810608, -0.486795574426651, -0.33381855487823486, 0.19332319498062134, -0.9212626218795776, 1.0761549472808838, 0.30750712752342224, -0.2976416349411011, 0.5328567624092102, -0.608206570148468, 0.2869861423969269, 0.07921821624040604, -0.22045178711414337, -0.20545783638954163, -0.09142880141735077, 0.5011364221572876, -0.17456935346126556, 0.5682687163352966, -0.33990293741226196, 0.34980493783950806, -0.16086846590042114, 0.26048213243484497, 0.9429147839546204, -0.3646502196788788, 0.2646152675151825, 0.0828656479716301, 0.8639761805534363, -0.6917803883552551, 0.20391076803207397, -0.17061775922775269, -0.11318425089120865, -0.7438583970069885, -0.45917895436286926, 0.5040988922119141, 0.4631800651550293, -0.459392786026001, 0.804948627948761, -0.3317292630672455, -0.7978782653808594, -0.986107349395752, 0.5289062261581421, 0.22642283141613007, 0.02895951084792614, 0.01892387494444847, -0.12373912334442139, -0.8064382076263428, -1.022457480430603, -0.09115723520517349, -0.07300294190645218, -0.2039031982421875, 0.13182026147842407, 0.6919573545455933, -0.5910634398460388, 0.7866740226745605, -0.15814027190208435, 0.05926079675555229, -0.7569762468338013, 0.18071185052394867, 0.1815708726644516, 0.00653456524014473, 0.4994790852069855, -0.5377077460289001, -0.38524168729782104, 0.07063569873571396, -0.6074433922767639, -0.49097228050231934, 0.07139807194471359, -0.06600441783666611, 0.04785506799817085, 0.41078490018844604, -0.1734350472688675, 0.23784029483795166, 1.0051145553588867, -0.3815232217311859, 0.7537708282470703, -0.015643393620848656, 0.21629397571086884, -0.9187411665916443, 0.23231637477874756, -0.22697733342647552, -0.4887174963951111, -0.48253342509269714, 0.29699331521987915, 0.14801518619060516, -0.010902967303991318, -0.7173421382904053, 0.9028735756874084, -0.28591957688331604, -0.23192472755908966, -0.14224831759929657, 0.3465266525745392, 0.22022943198680878, 0.024404462426900864, -0.29151877760887146, 0.7591406106948853, 0.6566043496131897, 0.009918312542140484, 0.6629395484924316, 0.04500648006796837, -0.7413234114646912, 0.17696882784366608, -0.6366642117500305, 0.16707150638103485, -0.07419532537460327, 0.12104233354330063, -0.8179492354393005, -0.3065059185028076, -0.32176706194877625, -0.13085803389549255, 0.259573370218277, -0.11666088551282883, -0.5508809685707092, -0.6613737344741821, -0.6180851459503174, 0.16651733219623566, 0.45979371666908264, -0.915425717830658, 0.8358237147331238, 0.5867553949356079, -0.344644695520401, -0.3749644458293915, -0.2907615602016449, 0.25173071026802063, -0.2455972135066986, -0.7923429608345032, -0.21608230471611023, -0.3868463337421417, -0.4260360598564148, -0.012626527808606625, 0.22943249344825745, -0.2352655678987503, 0.46282637119293213, 0.24069935083389282, 0.4071080684661865, -0.1558753401041031, 0.22558267414569855, -0.11094176024198532, 0.19733908772468567, -0.042961400002241135, 0.15030930936336517, 0.9697592854499817, -0.6347809433937073, -0.6772662997245789, -0.4038911759853363, 0.28600332140922546, 0.6983975172042847, -0.05292336270213127, 0.4870062470436096, 0.5816991329193115, -0.1973312348127365, -0.3805496096611023, -0.734819233417511, 0.06045868247747421, -0.5424878597259521, 0.7062146067619324, -0.1359129697084427, -1.2070921659469604, 0.4700857698917389, -0.38477975130081177, 0.09798821806907654, 0.4796006381511688, 0.9415783286094666, 0.2265683114528656, 1.0370676517486572, 0.6218587160110474, -0.3237721025943756, 0.4042494297027588, -0.2083503156900406, 0.3118768334388733, -1.0307371616363525, -0.44677719473838806, -0.8814331293106079, -0.20481207966804504, -0.03626912832260132, -0.27870824933052063, 0.14054936170578003, 0.34086117148399353, -0.1669909954071045, 0.3764175474643707, -0.5344606041908264, 0.8282694816589355, 0.09021900594234467, -0.36632993817329407, 0.2862805426120758, -0.08698807656764984, -0.05044230818748474, 0.086715929210186, -0.5068939328193665, -0.9748150110244751, 0.9579829573631287, 0.6922205090522766, 1.0534366369247437, 0.11736330389976501, 0.8479766249656677, 0.3216235041618347, 0.6425676941871643, -1.0601296424865723, 0.6744024157524109, -0.10966146737337112, -0.40440258383750916, -0.3052785396575928, -0.4203687608242035, -1.0028111934661865, 0.38664793968200684, -0.027148474007844925, -1.3169195652008057, -0.3033839762210846, -0.2628425359725952, -0.11569086462259293, 0.4957791566848755, -0.9521181583404541, 0.9863531589508057, -0.7018129825592041, -0.19728922843933105, -0.19367153942584991, -0.016396544873714447, 0.6210596561431885, -0.3489367365837097, 0.473073273897171, -0.304829865694046, 0.19719921052455902, 0.9547916650772095, -0.25971388816833496, 0.4874532222747803, 0.18413692712783813, 0.06897983700037003, 0.3073967695236206, 0.46670711040496826, 0.12865449488162994, 0.14446155726909637, -0.0791255459189415, 0.4384705722332001, 0.04407589137554169, 0.06478535383939743, -0.8549982905387878, 0.9330267310142517, -0.7621954679489136, -0.6188156008720398, -0.21187379956245422, -0.4529169499874115, 0.08489695936441422, 0.34017691016197205, -0.2645014822483063, 0.45095789432525635, -0.6019188165664673, 0.39336124062538147, 0.30353105068206787, -0.2258312851190567, 0.4383598566055298, 0.7119655013084412, -1.0178779363632202, -0.3093717098236084, 0.6787497997283936, -0.24859221279621124, 0.010747337713837624, 0.1888488084077835, 0.29562366008758545, -0.46918565034866333, -0.3027949035167694, -0.36176905035972595, 0.04865078255534172, -0.8482664823532104, -0.1751674860715866, -0.5403857231140137, -0.373565137386322, -0.3236633241176605, -0.336127370595932, -0.744735062122345, -0.4420757293701172, -0.017789261415600777, -0.08054349571466446, 0.3657119870185852, 1.1281148195266724, 0.13625425100326538, 0.2550784945487976, -0.8315076231956482, 0.11958929896354675, 0.06054310500621796, 0.5538479685783386, 0.15440520644187927, -0.47432488203048706, -0.19290442764759064, -0.13512535393238068, -0.46678414940834045, -0.560004472732544, 0.29420146346092224, 0.0839579701423645, 0.7040903568267822, 0.47449609637260437, -0.23846600949764252, 0.760018527507782, -0.6939479112625122, 0.8458516001701355, 0.46060600876808167, -1.1687414646148682, 0.41571754217147827, 0.17929315567016602, 0.1972125619649887, 0.73716801404953, 0.32126861810684204, -0.49223217368125916, -0.5306135416030884, -0.597244918346405, -1.1145412921905518, 0.5062703490257263, 0.067494697868824, 0.24869823455810547, 0.028753915801644325, -0.23622578382492065, 0.20480883121490479, -0.004744706675410271, -0.6702538728713989, -0.14538805186748505, 0.25427573919296265, -0.21901443600654602, 0.04392712190747261, -0.193696066737175, -0.13375967741012573, -0.44387707114219666, 0.6112748980522156, 0.07797539234161377, 0.08455105125904083, -0.15719357132911682, -0.25125381350517273, 0.014268413186073303, 0.603902280330658, 0.2731075882911682, 0.7540678381919861, -0.33106017112731934, 0.0774485394358635, 0.3691217005252838, -0.3236956000328064, 0.2320869117975235, 0.0029541407711803913, 0.09219317883253098, 0.11718421429395676, 0.7327709794044495, 0.8939866423606873, 0.42138898372650146, -1.1569324731826782, 0.6281118988990784, -0.4055991470813751, 0.03318922594189644, -0.500648558139801, 0.09671304374933243, 0.2733559310436249, 0.31243011355400085, 0.34045976400375366, -0.199345663189888, 0.286281555891037, -0.4978440999984741, 0.4055157005786896, 0.4221166670322418, -0.29893258213996887, -0.21802327036857605, 0.5086240768432617, 0.1459614485502243, -0.6325018405914307, 0.5104556083679199, -0.11111871153116226, -0.4820391833782196, 0.48320475220680237, 0.36246928572654724, 1.406753659248352, -0.4697699248790741, 0.13071879744529724, 0.13458672165870667, 0.2342974990606308, -0.18824632465839386, 0.010542057454586029, 0.12998098134994507, -0.39444485306739807, -0.5656450390815735, -1.1006801128387451, -0.436900794506073, 0.3095807433128357, -0.5994967222213745, 0.6917672157287598, -0.32426461577415466, 0.02880878373980522, 0.07956496626138687, -0.2518799901008606, -0.7902196645736694, -0.5392667651176453, 0.25820454955101013, 1.175480842590332, -0.639689028263092, 0.752512514591217, 0.606296718120575, -0.20263829827308655, -0.7477624416351318, -0.41006094217300415, 0.14854425191879272, -0.7103806734085083, 0.7520773410797119, 0.2601727247238159, -0.3174549341201782, -0.2025352418422699, -0.3699879050254822, -0.7752338647842407, 1.030304193496704, 0.5731743574142456, -0.8205029368400574, 0.09609837085008621, 0.019971268251538277, 0.5334368944168091, -0.5131539702415466, 0.9714110493659973, 0.8475657105445862, 0.5955291986465454, 0.007783127017319202, -1.307388424873352, -0.35492628812789917, -0.30598095059394836, 0.0944148600101471, 0.3246828019618988, -0.5272765755653381, 0.53080815076828, 0.1562945395708084, -0.23727300763130188, 0.14080367982387543, 0.34020477533340454, 0.02892642468214035, 0.025495456531643867, 0.27788877487182617, 0.5458221435546875, 0.7082729935646057, 0.021085307002067566, 1.2275840044021606, -0.30364346504211426, 0.7565209269523621, 1.2270927429199219, -0.45715057849884033, 1.0509446859359741, 0.31622597575187683, -0.4136318862438202, 0.5604333877563477, 0.20196567475795746, -0.031819358468055725, 0.10624198615550995, 0.42526862025260925, -0.3723624050617218, -0.037986449897289276, -0.09300117194652557, 0.0818827897310257, 0.6011184453964233, 0.3199326694011688, -0.05813385546207428, -0.7608301043510437, 0.049710072576999664, -0.051243774592876434, -0.010668136179447174, -0.46073734760284424, 0.7328609824180603, 0.17674212157726288, -0.3661891520023346, 0.6076101660728455, 0.017324285581707954, 0.5042527914047241, -0.8099086284637451, 0.06304354220628738, 0.0298091322183609, 0.20717579126358032, -0.35793811082839966, -1.0503149032592773, 0.31593531370162964, 0.23372726142406464, 0.1993146538734436, -0.06096842512488365, 0.6680577397346497, -0.22987248003482819, -0.8226542472839355, 0.9127538204193115, 0.47263047099113464, 0.28703880310058594, 0.2276933342218399, -0.9344832897186279, 0.6711130738258362, 0.07715705037117004, -0.7332649230957031, 0.42780983448028564, 0.239761620759964, -0.02279769256711006, 1.0267093181610107, 0.5099838972091675, 0.18494562804698944, -0.10488361865282059, 0.5404545068740845, 0.920082688331604, -0.43224188685417175, 0.003631285857409239, -1.1399232149124146, 0.7185719609260559, -0.11121847480535507, -0.08456962555646896, 0.871595025062561, 0.838284969329834, 0.6702671051025391, 0.12307877093553543, 0.8436801433563232, -0.14437949657440186, 0.4074552357196808, -0.3043048083782196, 0.779687225818634, -0.4544459283351898, 0.5584171414375305, -0.439059853553772, -1.0893611907958984, -0.3102356791496277, 0.5243867635726929, -0.13519403338432312, -0.0498645082116127, 0.8172542452812195, 0.7527491450309753, -0.18487268686294556, -0.12809954583644867, 0.5030432939529419, 0.24689209461212158, 0.5423010587692261, 0.38606497645378113, 0.9646471738815308, -0.16492050886154175, 0.30014461278915405, -0.18522295355796814, -0.39882561564445496, -0.24488620460033417, -0.8858223557472229, -1.100176215171814, -0.5303670167922974, -0.17784607410430908, -0.08985011279582977, -0.17842286825180054, 1.3009886741638184, 0.378557026386261, -0.745574414730072, -0.6896674633026123, 0.3023603856563568, 0.2742190361022949, 0.2073706090450287, -0.3479256331920624, 0.41055330634117126, -0.3459400534629822, -0.9068727493286133, 0.5241008400917053, 0.602971076965332, -0.23541410267353058, -0.7852866649627686, -0.21092040836811066, 0.0795135572552681, 0.017843756824731827, 0.7058734893798828, 0.029822349548339844, -0.6640806794166565, -0.048417557030916214, -0.3048844039440155, 0.0440065860748291, -0.15187400579452515, 0.867159903049469, -0.6194249391555786, 0.4448714256286621, 0.5182807445526123, 0.733086109161377, 0.24455894529819489, -0.2372146099805832, 0.2882561981678009, -0.39371973276138306, 0.4645923376083374, 0.3072747588157654, 0.7775565385818481, 0.2919023036956787, -0.21596010029315948, 0.4672352373600006, -0.28326481580734253, -0.6795198917388916, -1.0366512537002563, 0.05903676897287369, -0.8712356090545654, -0.3853667676448822, 1.097733497619629, -0.19305433332920074, -0.45854002237319946, -0.11094904690980911, -0.25623396039009094, -0.2538353204727173, -0.34511247277259827, 0.6568942666053772, 0.8135793209075928, 0.02794906310737133, -0.3018615245819092, -0.8721625804901123, 0.011654527857899666, 0.04539801552891731, -0.8374372124671936, 0.1677103489637375, 0.4099303185939789, 0.39818325638771057, 0.01645503006875515, 0.4734295606613159, -0.17662695050239563, 0.13105931878089905, -0.3329482972621918, 0.3793167173862457, -0.02892589196562767, -0.5101518034934998, -0.6308865547180176, -0.008525725454092026, 0.4129999876022339, 0.69676673412323 ]
http://arxiv.org/abs/2404.00942v1
http://arxiv.org/pdf/2404.00942v1
Evaluating the Factuality of Large Language Models using Large-Scale Knowledge Graphs
2024-04-01T06:01:17
2024-04-01T06:01:17
Xiaoze Liu, Feijie Wu, Tianyang Xu, Zhuo Chen, Yichi Zhang, Xiaoqian Wang, Jing Gao
cs.CL
cs.CL, cs.AI, cs.LG
The advent of Large Language Models (LLMs) has significantly transformed the AI landscape, enhancing machine learning and AI capabilities. Factuality issue is a critical concern for LLMs, as they may generate factually incorrect responses. In this paper, we propose GraphEval to evaluate an LLM's performance using a substantially large test dataset. Specifically, the test dataset is retrieved from a large knowledge graph with more than 10 million facts without expensive human efforts. Unlike conventional methods that evaluate LLMs based on generated responses, GraphEval streamlines the evaluation process by creating a judge model to estimate the correctness of the answers given by the LLM. Our experiments demonstrate that the judge model's factuality assessment aligns closely with the correctness of the LLM's generated outputs, while also substantially reducing evaluation costs. Besides, our findings offer valuable insights into LLM performance across different metrics and highlight the potential for future improvements in ensuring the factual integrity of LLM outputs. The code is publicly available at https://github.com/xz-liu/GraphEval.
[ 0.030285654589533806, -1.0165858268737793, 0.7316985726356506, 0.030561186373233795, -0.02277560718357563, 0.2162376046180725, -0.49727317690849304, -0.33229413628578186, -0.057889424264431, 0.5044361352920532, -0.03560910001397133, -0.7281782627105713, -0.8768776655197144, 0.0007892423891462386, -0.5135179758071899, 1.0474307537078857, -0.03230215981602669, -0.2171161025762558, -0.501737654209137, -0.27934128046035767, -0.24369975924491882, -0.4147462844848633, -0.5217484831809998, -0.21206147968769073, 0.46442803740501404, 0.3310169279575348, 0.7752780914306641, 0.6463901400566101, 0.40856459736824036, 0.4112941324710846, -0.036649439483881, 0.4611281454563141, -0.8815693855285645, -0.02632548101246357, -0.28265172243118286, -0.3401753604412079, -0.5699706077575684, 0.11375270038843155, 0.8849743604660034, 0.6523938775062561, -0.056844111531972885, 0.47421401739120483, -0.08565862476825714, 0.6667584180831909, -0.4515344202518463, 0.7323561310768127, -0.7106723189353943, -0.19162845611572266, -0.12432517111301422, 0.08515401184558868, -0.8321564793586731, -0.9194900989532471, 0.04225916787981987, -0.41692185401916504, 0.05992859974503517, 0.4041162133216858, 0.8051573038101196, 0.202310711145401, -0.6792646646499634, -0.22175846993923187, -0.7338712811470032, 0.3263138234615326, -0.9332714676856995, 0.4170113205909729, 0.13470254838466644, 0.48230841755867004, -0.2499137669801712, -0.8839232921600342, -0.7774650454521179, -0.5485019087791443, -0.13272516429424286, 0.09334609657526016, -0.21974661946296692, 0.002322773216292262, 0.5807576775550842, 0.1093359887599945, -0.59178626537323, 0.20388446748256683, -0.12940478324890137, -0.4452904760837555, 0.7129209041595459, 0.245172917842865, 0.3361763656139374, -0.3096331059932709, -0.06267978250980377, -0.028745250776410103, -0.7282564640045166, -0.1107058897614479, 0.39256730675697327, 0.5677185654640198, 0.01043760310858488, 0.8354659080505371, -0.1531730741262436, 0.572486937046051, -0.04027724638581276, -0.3868866562843323, 0.42081114649772644, -0.3214859366416931, -0.13847386837005615, 0.2776021659374237, 0.8434259295463562, 0.48716387152671814, 0.3897295892238617, -0.3177683651447296, -0.15557828545570374, 0.09443474560976028, 0.1340346783399582, -1.1270475387573242, -0.1657649576663971, 0.218593567609787, -0.1336817741394043, -0.36104896664619446, -0.04528789594769478, -0.6326127052307129, -0.776208758354187, -0.22331702709197998, 0.27043771743774414, -0.4390210211277008, -0.16610084474086761, -0.06792102754116058, 0.023584773764014244, -0.08869726210832596, 0.39444443583488464, -0.4752681851387024, 0.11622639745473862, 0.8007772564888, 0.6116556525230408, 0.0428464412689209, -0.30045050382614136, -0.9711453914642334, 0.01886116899549961, -0.5956699848175049, 0.6489101648330688, -0.44239652156829834, -0.22914376854896545, 0.11363160610198975, 0.020912593230605125, -0.25786134600639343, -0.47737812995910645, 0.7837488055229187, -1.1020396947860718, -0.19822046160697937, -0.47521358728408813, -0.8765059113502502, -0.1309528648853302, 0.6840149760246277, -0.7930193543434143, 0.9035658836364746, 0.08339523524045944, -0.9652370810508728, 0.4478762745857239, -0.573893666267395, -0.5442207455635071, 0.19389906525611877, -0.1992340087890625, -0.4698910117149353, -0.2646862268447876, 0.1899566501379013, 0.206678569316864, -0.23140688240528107, 0.5774328112602234, -0.4629799723625183, -0.35703954100608826, 0.19273407757282257, -0.645758867263794, 0.6902115345001221, -0.07737506926059723, -0.4187300205230713, 0.10546404868364334, -0.9476848244667053, 0.028972847387194633, 0.19560804963111877, -0.6856926083564758, -0.010703925043344498, 0.23327389359474182, -0.2470548450946808, 0.11354467272758484, 0.23132804036140442, -0.7813693881034851, 0.004680115729570389, -0.5527746677398682, 0.2229270190000534, 0.8806114792823792, -0.2058211863040924, -0.0267218966037035, -0.14087128639221191, 0.3462483286857605, -0.2739083766937256, -0.10232125967741013, 0.18024002015590668, -0.2947935461997986, -0.6879902482032776, -0.3118344843387604, 0.6014443039894104, 0.5606168508529663, -0.5290392637252808, 0.5363278388977051, -0.8399152159690857, -0.6863548755645752, -0.3922935128211975, 0.19392524659633636, 0.3396444022655487, 0.9902485609054565, 0.11213871091604233, 0.1142604798078537, -0.36764582991600037, -0.8581658005714417, -0.3263247609138489, -0.5858771204948425, 0.13450931012630463, 0.5262144804000854, 0.5689710974693298, -0.31855472922325134, 0.9675387740135193, -0.4947430193424225, 0.1777195930480957, -0.06280434131622314, 0.17892739176750183, 0.25403541326522827, -0.005294132977724075, 0.4803590476512909, -0.470333069562912, -0.3656248152256012, 0.1800963580608368, -0.8604779243469238, -0.07728137075901031, 0.27303504943847656, 0.02740386873483658, 0.2787553071975708, 0.40172380208969116, -0.7233662009239197, 0.3387775421142578, 0.5802257061004639, -0.44878196716308594, 0.9117296934127808, -0.1943817436695099, 0.3417699337005615, -0.8247135281562805, 0.350318968296051, -0.13500647246837616, -0.5746814012527466, -0.17649054527282715, 0.08212316036224365, 0.11301697790622711, -0.050522055476903915, -0.12631277740001678, 0.4002174735069275, -0.1674564778804779, -0.3097843825817108, -0.07639709115028381, 0.6636655330657959, 0.2209201157093048, 0.13545727729797363, -0.43687915802001953, 0.8543462753295898, 0.2969514727592468, -0.31229710578918457, 0.8201561570167542, 0.4480718970298767, -0.7360614538192749, 0.3847983181476593, -0.5350346565246582, 0.17623946070671082, -0.09426947683095932, 0.4951472580432892, -1.169753909111023, -0.2606135606765747, -0.016344889998435974, -0.3301420211791992, 0.26101619005203247, -0.37506455183029175, -0.8813135027885437, -0.4666062891483307, -0.0856582373380661, 0.13262996077537537, 0.3463399112224579, -0.7916186451911926, 0.7507662773132324, 0.3128955662250519, -0.22831857204437256, -0.5638816356658936, -0.3118191659450531, 0.4020501971244812, -0.012002235278487206, -0.9873893857002258, -0.23202252388000488, -0.1386677473783493, -0.3360835909843445, 0.016477636992931366, 0.07257212698459625, 0.3514532744884491, 0.20234106481075287, 0.1569458693265915, 0.494943231344223, -0.46768656373023987, 0.32485103607177734, -0.2204599529504776, 0.06610488146543503, 0.5006505846977234, -0.2598215341567993, 0.4672820270061493, -0.33179691433906555, -0.5488035678863525, -0.19307927787303925, -0.33042773604393005, 0.7830106616020203, -0.3377861976623535, 0.7861674427986145, 0.3124338388442993, -0.12694065272808075, -0.21208512783050537, -0.6110216379165649, 0.26269352436065674, -0.4421374201774597, 0.7501019239425659, -0.13561943173408508, -0.7921966314315796, 0.40737390518188477, -0.3555974066257477, 0.10824237018823624, 0.5442685484886169, 0.6087220907211304, 0.1224232092499733, 1.0988954305648804, 0.18509835004806519, -0.2673933207988739, -0.09679525345563889, -0.10636893659830093, 0.49425315856933594, -0.5837128162384033, -0.3458883762359619, -0.5461037158966064, -0.0019454153953120112, -0.62696373462677, -0.4512038826942444, 0.41984835267066956, -0.39272621273994446, -0.4245797097682953, -0.046921681612730026, 0.05843043699860573, 0.449674129486084, 0.19498059153556824, 0.059079911559820175, 0.5371094346046448, -0.08829382807016373, -0.3267415165901184, 0.23504246771335602, -0.5384652018547058, -0.7766202092170715, 1.185756802558899, 0.2913089096546173, 0.5170551538467407, 0.2126457542181015, 0.19866487383842468, 0.46522271633148193, 0.596452534198761, -0.8501491546630859, 0.5677247643470764, -0.18554829061031342, -0.6186001300811768, -0.4888404309749603, -0.6951546669006348, -0.5958197712898254, 0.18213801085948944, -0.2790609896183014, -0.6056042909622192, -0.253887414932251, 0.20810028910636902, -0.11121352761983871, 0.5337744951248169, -0.6814121007919312, 0.942731499671936, -0.4183996021747589, -0.25194987654685974, -0.23380146920681, -0.5583658218383789, 0.5289842486381531, -0.3236307203769684, 0.46867725253105164, -0.051868703216314316, 0.33577659726142883, 0.7692580819129944, -0.6367402672767639, 0.7777944803237915, -0.25079554319381714, -0.19652585685253143, 0.22874338924884796, 0.2384277880191803, 0.9023730754852295, 0.15515398979187012, -0.35628920793533325, 0.06200458109378815, -0.10106667131185532, -0.3808683454990387, -0.8054699301719666, 0.7725939154624939, -0.8312551379203796, -0.7578096389770508, -0.3091387152671814, -0.6282856464385986, -0.5930233001708984, 0.357976496219635, -0.14015702903270721, 0.7226589918136597, -0.43082195520401, 0.055322542786598206, 0.5573228597640991, -0.21232543885707855, 0.019884496927261353, 0.6645653247833252, -0.5593504309654236, -0.32263967394828796, 1.0351773500442505, 0.2440279871225357, 0.28522297739982605, 0.06396728754043579, 0.4305887520313263, -0.4832649528980255, -0.6992948651313782, -0.6493600010871887, 0.27149510383605957, -0.8530080318450928, -0.07419462502002716, -0.5793851613998413, -0.28531956672668457, -0.5304301977157593, 0.2691270112991333, -0.36622971296310425, -0.333365261554718, 0.22446367144584656, -0.547959566116333, 0.41792014241218567, 0.7110304236412048, 0.2074091136455536, 0.009904636070132256, -0.7539151310920715, 0.14713004231452942, 0.4446547031402588, 0.39112892746925354, 0.07987234741449356, -0.8539397716522217, -0.20351368188858032, 0.053011178970336914, 0.0354052297770977, -0.3501911163330078, -0.021066080778837204, 0.04761863499879837, 0.38662660121917725, 0.5520788431167603, 0.18397997319698334, 0.6806312799453735, -0.7057582139968872, 0.5145429968833923, -0.0006916606798768044, -0.9051513075828552, 0.3673829138278961, -0.22578980028629303, -0.14454936981201172, 0.6035624742507935, 0.15078166127204895, -0.4632891118526459, -0.38844865560531616, -0.5471394658088684, -0.6799744963645935, 0.4989664554595947, 0.04906582087278366, 0.153661847114563, -0.011542441323399544, 0.4219056963920593, -0.03871108219027519, 0.19888685643672943, -0.43812596797943115, -0.09348630905151367, -0.16754378378391266, -0.26660242676734924, -0.24950635433197021, -0.3374082148075104, -0.42519402503967285, -0.24543753266334534, 0.777298629283905, -0.2873183488845825, -0.3079586923122406, 0.044033896178007126, -0.3306293487548828, 0.008549210615456104, 0.17171704769134521, 0.1934669464826584, 1.0175224542617798, -0.2290571630001068, 0.2811768651008606, 0.3624038100242615, -0.33333274722099304, -0.03471604362130165, 0.28268587589263916, -0.22569946944713593, -0.21243058145046234, 0.780882716178894, 0.80924391746521, 0.11867012083530426, -0.9331013560295105, 0.8507700562477112, -0.006251945625990629, -0.041050318628549576, -0.12777255475521088, -0.026382464915513992, 0.379923552274704, 0.286078542470932, -0.004854499362409115, 0.005699902307242155, -0.048781827092170715, -0.5467432141304016, 0.21414804458618164, 0.3119490444660187, -0.2140335738658905, -0.2239178717136383, 0.559933066368103, 0.1975858062505722, -0.03516519442200661, 1.0968838930130005, -0.2300347536802292, -0.7552785277366638, 0.678396999835968, 0.661641001701355, 0.42844927310943604, 0.08482012897729874, 0.3421693444252014, 0.4027271866798401, 0.4257394075393677, 0.22985416650772095, -0.13253118097782135, 0.35385727882385254, -0.9219622015953064, -0.6478451490402222, -0.580513060092926, -0.4039406180381775, -0.08359847217798233, -0.25351962447166443, 0.12680235505104065, -0.5313515663146973, -0.1863473504781723, 0.003530393587425351, 0.14359921216964722, -0.4947796165943146, 0.39897406101226807, 0.17731624841690063, 1.0467489957809448, -0.922911524772644, 0.5443962216377258, 0.4450319707393646, -0.3195202350616455, -1.0794577598571777, -0.08562968671321869, -0.029735809192061424, -1.1158287525177002, 0.8326891660690308, 0.053808946162462234, -0.31770697236061096, -0.17236390709877014, -0.6910279989242554, -0.7179877161979675, 0.9862946271896362, 0.7777824997901917, -0.6167189478874207, 0.20764970779418945, 0.27015450596809387, 0.5245932936668396, -0.15529970824718475, 0.3624535799026489, 0.7184406518936157, 0.7862780094146729, 0.25044137239456177, -0.6633753776550293, 0.31030794978141785, -0.1607544720172882, -0.21760258078575134, -0.05659230425953865, -0.7983725666999817, 0.46874547004699707, -0.4300956428050995, -0.24417859315872192, -0.2387741357088089, 0.6202090978622437, 0.45802488923072815, 0.22290243208408356, 0.6812337040901184, 0.5888364911079407, 1.379798173904419, -0.0020119997207075357, 1.2324718236923218, -0.4038938581943512, 0.4781886339187622, 1.1544276475906372, -0.7249835133552551, 0.7129800915718079, -0.006962457671761513, -0.33346793055534363, 0.5945174694061279, 0.3859517574310303, -0.20578865706920624, -0.05240285024046898, 0.38239967823028564, -0.08877751231193542, -0.39049530029296875, -0.11143365502357483, -0.05011308193206787, 0.49406698346138, -0.02303479053080082, -0.18962296843528748, -0.3081766366958618, -0.41640424728393555, 0.4164649546146393, 0.2534160614013672, -0.11226349323987961, 0.4158899784088135, -0.20148421823978424, -0.4505840241909027, 0.4434727430343628, 0.0354868546128273, 0.0406516008079052, -0.47318708896636963, -0.05629170686006546, -0.1346287876367569, 0.03049927018582821, -0.3272911608219147, -0.7328914403915405, 0.0661240965127945, 0.28402653336524963, -0.18633049726486206, 0.2759823799133301, 0.5537640452384949, -0.09168562293052673, -0.8559233546257019, 0.4222170114517212, 0.3501993715763092, 0.1338941752910614, 0.031105488538742065, -0.4526340365409851, 0.1039789617061615, -0.19844883680343628, -0.1318834125995636, 0.1311861276626587, 0.5059347748756409, -0.08323760330677032, 0.695579469203949, 0.6420652270317078, 0.22519271075725555, -0.018081478774547577, 0.3345363140106201, 1.0007942914962769, -0.3696800470352173, -0.27085551619529724, -0.9616333842277527, 0.28884416818618774, -0.3468049168586731, -0.09228614717721939, 0.9716199040412903, 0.9509899020195007, 0.429821640253067, 0.30298784375190735, 0.9328806400299072, -0.09831716120243073, 0.45727241039276123, -0.5443087220191956, 0.8456990718841553, -0.16141898930072784, 0.2815299332141876, -0.3336195945739746, -0.6843715310096741, -0.12379328906536102, 0.1329774558544159, -0.6480556726455688, 0.006791554857045412, 0.6849040985107422, 0.8027856349945068, 0.10123945027589798, 0.11863677203655243, 0.34866559505462646, 0.9309859871864319, 0.5573133826255798, 0.24761301279067993, 0.9516051411628723, -0.2548839747905731, 0.6873931884765625, 0.24037878215312958, -0.31281593441963196, -0.1466710865497589, -1.0136932134628296, -0.8376269936561584, -0.0677734911441803, -0.4013306498527527, -0.7418701648712158, 0.056848134845495224, 0.7217109203338623, 0.4442179799079895, -0.8443315625190735, -0.08062434196472168, 0.3199794590473175, 0.3291091024875641, 0.15722574293613434, -0.202291339635849, 0.8817839026451111, -0.3075673580169678, -0.5757906436920166, 0.4433533549308777, 0.1812719702720642, -0.5172670483589172, -0.14339126646518707, -0.06398416310548782, -0.1132521703839302, 0.1829472929239273, 0.8108811974525452, -0.01603560335934162, -0.5107862949371338, -0.8194753527641296, -0.2671973705291748, -0.08902610838413239, 0.16620630025863647, 0.41937145590782166, -0.600990355014801, 0.5855055451393127, 0.3955191373825073, 0.9391246438026428, 0.5919647812843323, 0.2571614384651184, 0.3599526286125183, -0.5159536600112915, -0.37102001905441284, -0.014584911987185478, 0.4830816686153412, 0.4724286198616028, -0.2995639741420746, 0.3091821074485779, 0.429808646440506, -0.6154810190200806, -0.822374165058136, 0.05291435495018959, -0.8683005571365356, 0.01890105940401554, 1.1145139932632446, -0.4066094160079956, -0.36032992601394653, -0.004096089396625757, -0.10239244997501373, 0.2950509488582611, -0.18311744928359985, 0.7688377499580383, 0.927078366279602, 0.0897887721657753, 0.43410027027130127, -0.594882071018219, 0.0791880413889885, -0.03453342616558075, -0.8231424689292908, 0.47888752818107605, 0.7629567384719849, 0.6962448954582214, 0.16697287559509277, 0.4267534017562866, -0.20263953506946564, 0.06556563824415207, 0.06589668244123459, -0.11480792611837387, -0.15665161609649658, -0.14272306859493256, 0.04561609774827957, 0.3406136631965637, 0.47237569093704224, 0.22330231964588165 ]
http://arxiv.org/abs/2404.00938v2
http://arxiv.org/pdf/2404.00938v2
How Can Large Language Models Enable Better Socially Assistive Human-Robot Interaction: A Brief Survey
2024-04-01T05:50:56
2024-04-05T21:55:47
Zhonghao Shi, Ellen Landrum, Amy O' Connell, Mina Kian, Leticia Pinto-Alva, Kaleen Shrestha, Xiaoyuan Zhu, Maja J Matarić
cs.HC
cs.HC, cs.CL, cs.CV, cs.RO
Socially assistive robots (SARs) have shown great success in providing personalized cognitive-affective support for user populations with special needs such as older adults, children with autism spectrum disorder (ASD), and individuals with mental health challenges. The large body of work on SAR demonstrates its potential to provide at-home support that complements clinic-based interventions delivered by mental health professionals, making these interventions more effective and accessible. However, there are still several major technical challenges that hinder SAR-mediated interactions and interventions from reaching human-level social intelligence and efficacy. With the recent advances in large language models (LLMs), there is an increased potential for novel applications within the field of SAR that can significantly expand the current capabilities of SARs. However, incorporating LLMs introduces new risks and ethical concerns that have not yet been encountered, and must be carefully be addressed to safely deploy these more advanced systems. In this work, we aim to conduct a brief survey on the use of LLMs in SAR technologies, and discuss the potentials and risks of applying LLMs to the following three major technical challenges of SAR: 1) natural language dialog; 2) multimodal understanding; 3) LLMs as robot policies.
[ -0.3243764638900757, -0.7066247463226318, 0.8858927488327026, 0.11377105861902237, 0.023433560505509377, 0.45698460936546326, -0.2793048024177551, -0.8804070353507996, 0.12886586785316467, 0.5909925699234009, -0.47198614478111267, -0.2490999847650528, -0.8986316323280334, 0.13225002586841583, -0.029655789956450462, 0.7124533653259277, 0.02956772781908512, 0.2471402883529663, 0.14021404087543488, 0.05734506621956825, -0.2882309556007385, -0.8331257700920105, -0.8585103154182434, -0.4251958727836609, 0.5943899750709534, 0.2801753878593445, 0.9134641885757446, -0.046383120119571686, 0.7085234522819519, 0.3705352246761322, -0.2399797886610031, 0.1910645067691803, -0.00953635387122631, 0.08475303649902344, -0.026053601875901222, -0.4903169274330139, -0.730168879032135, -0.09601845592260361, 0.5087934732437134, 0.7284188866615295, -0.23188865184783936, 0.01701243221759796, 0.04651438444852829, 0.6500812768936157, -0.28404536843299866, 0.07705917954444885, -0.18563403189182281, 0.0828201025724411, -0.16087569296360016, 0.04316610470414162, -0.2084323912858963, -0.3972764015197754, 0.20997771620750427, -0.44069036841392517, -0.29370543360710144, -0.12006331235170364, 0.5065922737121582, 0.3497913181781769, -0.695884644985199, -0.45665687322616577, -1.0708434581756592, 0.6821882128715515, -0.8585063219070435, 0.250489205121994, 0.7362669706344604, 0.6185998916625977, -0.4346579909324646, -0.3166191279888153, -0.6176666617393494, -0.4806841313838959, 0.18557016551494598, -0.18180912733078003, -0.22364284098148346, 0.2638413906097412, 0.23179148137569427, -0.06598816812038422, -0.2922988831996918, 0.35450369119644165, -0.5394755601882935, -0.1351301521062851, 0.761984646320343, 0.3244033753871918, 0.39250874519348145, -0.46310898661613464, -0.2615836560726166, -0.1191670149564743, -0.501400351524353, 0.09873645007610321, 0.35473600029945374, 0.30398961901664734, -0.4655809998512268, 0.9555480480194092, 0.020331457257270813, 0.5164794921875, -0.27617549896240234, -0.03191453963518143, 0.21572087705135345, -0.3752587139606476, 0.06787928938865662, -0.3025667667388916, 0.5216527581214905, 0.500225841999054, 0.7048024535179138, 0.03939307853579521, -0.1941078007221222, 0.07347851246595383, 0.28794923424720764, -0.28414449095726013, 0.29998886585235596, 0.29398295283317566, -0.5462564826011658, -0.001073450199328363, -0.1610654890537262, -0.6615791916847229, -0.9323975443840027, -0.43665963411331177, 0.2821626663208008, -0.39154279232025146, -0.397691935300827, 0.44109758734703064, -0.1741124838590622, 0.1909351646900177, 0.4311877191066742, -0.5668689012527466, 0.4197215139865875, 0.6575961709022522, 0.8667969107627869, 0.1730397641658783, -0.025189481675624847, -0.3658334016799927, 0.422904372215271, -0.06004173308610916, 0.5981737375259399, -0.608267605304718, -0.5040977001190186, 0.03445983678102493, 0.06644078344106674, -0.012879966758191586, -0.35090023279190063, 0.25784945487976074, -0.22708836197853088, -0.02931303158402443, -0.24981795251369476, -0.13967344164848328, -0.04968646913766861, 0.27685627341270447, -0.4851205050945282, 0.479154497385025, 0.1233939528465271, -0.39704862236976624, -0.1918005794286728, -1.000572919845581, -0.6894648671150208, 0.0749921128153801, -0.15883663296699524, -0.0009314417839050293, 0.05759289860725403, -0.05095977708697319, 0.7590004801750183, -0.500706136226654, 0.12101782858371735, -0.5162746906280518, -0.22854426503181458, 0.5102625489234924, -0.37123313546180725, 0.7580571174621582, 0.3533930778503418, -0.3702826499938965, 0.3159688115119934, -0.4420565068721771, -0.25547948479652405, 0.18392512202262878, -0.13742241263389587, -0.2466118037700653, 0.2508569657802582, 0.21011947095394135, 0.2527742385864258, 0.4302152693271637, -0.5681907534599304, -0.23584406077861786, -0.21660712361335754, 0.6337037086486816, 0.9474523067474365, -0.15421995520591736, 0.4721260666847229, -0.5336105823516846, 0.899725079536438, -0.48201701045036316, 0.47581255435943604, 0.08187232911586761, -0.5729750394821167, -0.019679447636008263, -0.5676860809326172, -0.009096939116716385, 0.6216850280761719, -0.7366845011711121, 0.318691611289978, 0.09286896884441376, -0.4849205017089844, -0.20701156556606293, 0.11191236972808838, 0.2674352526664734, -0.0040585072711110115, -0.11477957665920258, -0.07142995297908783, -0.3958168625831604, -0.8718777894973755, 0.033912673592567444, -0.2527388036251068, -0.176531121134758, 0.6136524081230164, 0.14395186305046082, -0.5744403600692749, 0.6025019288063049, -0.4018074572086334, -0.37282970547676086, -0.3898826241493225, -0.17380009591579437, -0.2720711827278137, 0.2782195806503296, 0.3774988055229187, -0.8260340094566345, -0.2588443160057068, 0.17388512194156647, -0.7803587913513184, 0.032888881862163544, 0.12307485938072205, 0.1413659304380417, 0.4623020887374878, 0.3943641483783722, -0.9392129182815552, 0.3145844042301178, 0.6530717611312866, -0.06458775699138641, 0.32732492685317993, -0.43516671657562256, 0.15786655247211456, -1.1688830852508545, -0.08871752768754959, 0.2777000963687897, -0.11807454377412796, -0.6113879084587097, -0.051022518426179886, -0.2572011947631836, -0.3290823698043823, -0.3788073658943176, 0.5222545266151428, -0.28332218527793884, -0.3165052533149719, -0.37528467178344727, 0.31304502487182617, -0.22141654789447784, -0.11236325651407242, -0.021198350936174393, 0.5134530663490295, 0.4378621280193329, -0.5900485515594482, 0.4299064874649048, 0.09818731993436813, -0.14609357714653015, 0.5620977878570557, -0.8817257881164551, 0.10225750505924225, 0.030300304293632507, 0.5561491847038269, -0.8373498320579529, -0.4782339036464691, 0.47395896911621094, -0.5012879371643066, 0.017911693081259727, 0.2859398424625397, -0.7335993051528931, -0.389736533164978, -0.4584941864013672, 0.34399282932281494, 0.42520591616630554, -0.14470191299915314, 0.8267652988433838, 0.878084659576416, -0.476647287607193, -0.3784225881099701, -0.5407962799072266, 0.3039148151874542, -0.3252960741519928, -0.7446998357772827, 0.07209216803312302, -0.1724843680858612, -0.4977017939090729, -0.19804976880550385, 0.12343209981918335, 0.04753882810473442, 0.3180326223373413, 0.3389560580253601, 0.42347294092178345, 0.005538179539144039, 0.1271410435438156, -0.12700393795967102, -0.09572146087884903, 0.1256830245256424, 0.3377014100551605, 0.7910237908363342, -0.23206645250320435, -0.6170885562896729, -0.5630887746810913, 0.6398686766624451, 0.8105713129043579, -0.20279233157634735, 0.6582478284835815, 0.5593864321708679, -0.6644253730773926, 0.24700725078582764, -0.6737256050109863, -0.24790413677692413, -0.520969808101654, 0.3685693144798279, 0.02394125796854496, -1.0955809354782104, 0.4810817837715149, -0.2693485915660858, 0.032339539378881454, -0.13396283984184265, 0.43649157881736755, -0.35153618454933167, 1.2378032207489014, 0.6597230434417725, -0.008142606355249882, 0.6450383067131042, 0.15841373801231384, 0.343024343252182, -1.014756202697754, -0.467588871717453, -0.6018460392951965, -0.1936195194721222, -0.6046279072761536, -0.5317592620849609, 0.4963095486164093, -0.39851710200309753, -0.41568613052368164, 0.17739936709403992, -0.3409942090511322, -0.030004465952515602, 0.1883799135684967, 0.30180326104164124, 0.10024645179510117, 0.08456858992576599, 0.4886015057563782, 0.2145465910434723, -0.5284280776977539, -0.9100388288497925, 0.916279137134552, 0.5918856859207153, 1.0243415832519531, 0.394665390253067, 0.5326624512672424, 0.5404329895973206, -0.03600386157631874, -0.6864954233169556, 0.7487177848815918, -0.32336199283599854, -0.5896506905555725, -0.5056070685386658, -0.34552738070487976, -1.0661505460739136, -0.16362877190113068, -0.26673367619514465, -1.0342483520507812, 0.08423177152872086, 0.08195558190345764, -0.5562005043029785, 0.20965029299259186, -0.7887807488441467, 0.3723308742046356, -0.35509127378463745, -0.049950093030929565, -0.674350380897522, -1.0071842670440674, 0.13593070209026337, -0.12517432868480682, 0.4998719394207001, -0.20696423947811127, -0.0125401820987463, 0.5389639735221863, 0.10012850165367126, 1.2446032762527466, -0.1710059940814972, -0.2706093490123749, 0.14808888733386993, -0.17416317760944366, 0.47403696179389954, -0.0774187222123146, -0.2024754136800766, 0.1735897809267044, 0.24849911034107208, -0.38146305084228516, -0.448354572057724, 0.6027172803878784, -0.8890332579612732, -0.9456541538238525, -0.4988129436969757, -0.7209044098854065, -0.3131391704082489, -0.07286038249731064, -0.3811359107494354, 0.502261757850647, -0.04327356815338135, 0.2322569042444229, 0.5728957653045654, -0.5358104109764099, 0.28543850779533386, 0.49268096685409546, -0.13406570255756378, -0.12943410873413086, 0.7834986448287964, -0.004134756047278643, 0.514890730381012, -0.015356902033090591, 0.23287487030029297, -0.31384730339050293, -0.31302183866500854, -0.2916046380996704, 0.39178597927093506, -0.5762574076652527, 0.06013372167944908, -0.6308401823043823, -0.2471374124288559, -0.5757921934127808, -0.43858128786087036, -0.19473670423030853, -0.45712170004844666, -0.2099543660879135, 0.08060300350189209, 0.5228835344314575, 1.1996312141418457, -0.20329158008098602, 0.26132932305336, -0.9283218383789062, 0.5911895036697388, 0.10324626415967941, 0.336652010679245, 0.09164498746395111, -0.18191957473754883, -0.07877147197723389, 0.16124624013900757, 0.03485146537423134, -0.6946030259132385, -0.008007721044123173, -0.25369542837142944, 0.6509906053543091, 0.059608422219753265, 0.24143677949905396, 0.348760187625885, -0.6463505029678345, 0.9172252416610718, 0.16586175560951233, -0.7538395524024963, 0.37410470843315125, -0.4530657231807709, 0.13722826540470123, 0.048225287348032, 0.4413977563381195, -0.5908238887786865, -0.23139646649360657, -0.38087862730026245, -0.8552095890045166, 0.6666882038116455, -0.03803586959838867, 0.4038143455982208, -0.10231172293424606, 0.32978686690330505, -0.21623976528644562, 0.0936465635895729, -0.5349355936050415, 0.08866312354803085, 0.2728419005870819, -0.3166223466396332, -0.1910371631383896, -0.2902377247810364, -0.3190006911754608, 0.1923229992389679, 0.45986202359199524, 0.11131410300731659, 0.2676604092121124, 0.005536514334380627, 0.17909829318523407, -0.24315856397151947, 0.4197443127632141, 0.7347494959831238, 0.4875761568546295, -0.08468770235776901, 0.08287631720304489, 0.18479736149311066, -0.19440828263759613, 0.12357879430055618, 0.1363953948020935, 0.39998871088027954, -0.5222878456115723, 0.010535784997045994, 0.3697764277458191, 0.16652528941631317, -1.0363898277282715, 0.33938169479370117, -0.05547667667269707, 0.2101149708032608, -0.5392305254936218, 0.0065766251645982265, 0.2843256890773773, 0.8010721206665039, 0.3309629559516907, 0.12484408169984818, -0.015521563589572906, -0.6125792860984802, 0.0008730906411074102, 0.9125744700431824, -0.25453925132751465, -0.27813658118247986, 0.4329901337623596, 0.2870742678642273, -0.9757936596870422, 0.016486138105392456, 0.02528824470937252, -0.3407587707042694, 0.7112297415733337, 0.5780180096626282, 0.5926162600517273, -0.33237043023109436, 0.41498202085494995, -0.22512023150920868, 0.5912176966667175, -0.09879597276449203, 0.3581424951553345, 0.1164354681968689, -0.624793291091919, -0.34404852986335754, -0.12469465285539627, -0.8043834567070007, -0.17984184622764587, -0.5476557016372681, 0.09687317162752151, -0.6745445132255554, -0.5566327571868896, -0.030065419152379036, -0.15348690748214722, -0.5105167031288147, -0.09261319786310196, 0.3818711042404175, 0.4601624608039856, -0.6137226223945618, 0.6843585968017578, 0.9371911287307739, -0.12831024825572968, -0.6410947442054749, 0.11188312619924545, 0.11022169888019562, -0.6465061902999878, 0.6323783993721008, -0.07609620690345764, -0.6788301467895508, -0.3211796283721924, -0.40369585156440735, -0.6518636345863342, 0.9997513890266418, 0.5479357242584229, -0.23932431638240814, -0.15143612027168274, 0.31529632210731506, 0.5979570746421814, -0.3892442286014557, 0.1264045685529709, 0.1884041279554367, 0.602451741695404, -0.1136249527335167, -1.0463844537734985, 0.2520761787891388, -0.10117422789335251, 0.24817179143428802, -0.02683980017900467, -0.8297876715660095, 0.6112464666366577, -0.1938396543264389, 0.006262124050408602, 0.2329079806804657, 0.3295169472694397, 0.47771555185317993, 0.4860827922821045, 0.6127195954322815, -0.24151118099689484, 0.760925829410553, 0.39500150084495544, 1.3156582117080688, -0.133543461561203, -0.18659523129463196, 0.737506628036499, -0.8564527630805969, 0.730357825756073, 0.33455556631088257, -0.13881322741508484, 0.2134208083152771, 0.4690038859844208, 0.3587096035480499, 0.03133944794535637, 0.17222924530506134, -0.5917409658432007, -0.19183172285556793, -0.45931023359298706, -0.43116259574890137, 0.2818765938282013, 0.6952200531959534, 0.02022458426654339, -0.014012682251632214, 0.3198601007461548, -0.08838073909282684, 0.2897936701774597, -0.1793992817401886, 0.5062633752822876, 0.34724369645118713, -0.2962990403175354, 0.1258004754781723, 0.09650769829750061, 0.8262679576873779, -0.7648125290870667, -0.13459201157093048, 0.31116288900375366, 0.18929721415042877, -0.14219433069229126, -0.6989837288856506, 0.39974015951156616, 0.18204674124717712, -0.18440215289592743, -0.10881669074296951, 0.8588384985923767, 0.0017434429610148072, -0.4606707990169525, 0.6222929954528809, 0.4534423053264618, 0.13536293804645538, 0.04117747023701668, -0.6264170408248901, 0.26391667127609253, -0.2708145081996918, -0.12103621661663055, 0.6349193453788757, 0.30123287439346313, -0.24445456266403198, 1.1816121339797974, 0.5236316323280334, 0.11542028933763504, -0.0014632334932684898, 0.052149537950754166, 0.7622185349464417, -0.5912681221961975, -0.07694496959447861, -0.7134958505630493, 0.28365573287010193, -0.029525145888328552, -0.0509699210524559, 0.6219392418861389, -0.10544787347316742, 0.2673878073692322, 0.13767029345035553, 0.756243884563446, -0.15011894702911377, 0.4208086431026459, -0.3282012641429901, 0.7176926732063293, -0.5565032958984375, 0.39783015847206116, -0.4239301383495331, -0.5573084354400635, -0.2845402657985687, 0.7873964905738831, -0.4736867845058441, 0.2050948143005371, 0.38224759697914124, 0.8162274360656738, 0.35591793060302734, 0.1696261167526245, 0.38803768157958984, 0.03414070978760719, 0.5238935947418213, 0.3924345374107361, 1.0568768978118896, 0.08936396986246109, 0.29338935017585754, -0.06398841738700867, -0.2561567425727844, -0.04740013927221298, -0.7324756383895874, -0.9798611402511597, -0.5836650729179382, -0.12851771712303162, -0.3674960434436798, 0.291786789894104, 1.4774857759475708, 0.5089912414550781, -0.4152572453022003, -0.49101462960243225, 0.341801255941391, 0.13716314733028412, 0.19402296841144562, -0.16765499114990234, 0.09768259525299072, -0.056288838386535645, -0.7131093144416809, 0.5149419903755188, 0.3230724036693573, 0.10863440483808517, -0.42899683117866516, -0.1259090155363083, -0.33993807435035706, 0.22097517549991608, 0.9026349782943726, 0.3841191232204437, -0.8572800755500793, -0.713184118270874, 0.1844547837972641, -0.16663441061973572, -0.275141179561615, 0.5585551261901855, -0.5255194306373596, 0.08216318488121033, 0.05179090052843094, 0.8905576467514038, 0.11059322208166122, -0.22275426983833313, 0.8593902587890625, -0.1974405199289322, 0.1589842587709427, 0.25308260321617126, 0.35505911707878113, 0.4799107313156128, -0.6305462718009949, 0.49181491136550903, -0.20825478434562683, -0.5783763527870178, -0.9185683727264404, 0.49412956833839417, -1.1170985698699951, -0.22768595814704895, 1.399644136428833, -0.017667410895228386, 0.00045171959209255874, -0.3681873083114624, -0.554730236530304, 0.3512536883354187, -0.3433610498905182, 0.9064154028892517, 0.5986766815185547, -0.22792118787765503, -0.257129043340683, -0.855670154094696, 0.16171494126319885, 0.3715576231479645, -0.7648921608924866, 0.10955981910228729, 0.43285542726516724, 0.21290326118469238, 0.11226162314414978, 0.6698502898216248, -0.23348845541477203, 0.20832043886184692, -0.5216797590255737, 0.06350703537464142, 0.017059046775102615, -0.1760101616382599, -0.49900880455970764, 0.04798886179924011, 0.26933416724205017, -0.018294576555490494 ]
http://arxiv.org/abs/2404.00934v2
http://arxiv.org/pdf/2404.00934v2
ChatGLM-RLHF: Practices of Aligning Large Language Models with Human Feedback
2024-04-01T05:39:36
2024-04-03T17:04:06
Zhenyu Hou, Yilin Niu, Zhengxiao Du, Xiaohan Zhang, Xiao Liu, Aohan Zeng, Qinkai Zheng, Minlie Huang, Hongning Wang, Jie Tang, Yuxiao Dong
cs.CL
cs.CL
ChatGLM is a free-to-use AI service powered by the ChatGLM family of large language models (LLMs). In this paper, we present the ChatGLM-RLHF pipeline -- a reinforcement learning from human feedback (RLHF) system -- designed to enhance ChatGLM's alignment with human preferences. ChatGLM-RLHF encompasses three major components: the collection of human preference data, the training of the reward model, and the optimization of policies. Throughout the process of integrating ChatGLM-RLHF into production, we encountered and addressed several unprecedented challenges. We introduce the strategies to mitigate reward variance for stabilized large-scale training, implement model parallelism with fused gradient-descent, and design regularization constraints to avoid catastrophic forgetting in LLMs. Experiments show that ChatGLM-RLHF brings significant improvements in alignment tasks compared to the supervised fine-tuned (SFT) version of ChatGLM. For instance, it achieves on average 15\% more wins against ChatGLM-SFT in Chinese alignment tasks. The work presents our practices of aligning LLMs with human preferences, offering insights into the challenges and solutions in RLHF implementations.
[ -0.3348897099494934, -0.506799578666687, 0.2553579807281494, 0.2208753228187561, 0.08469276130199432, 0.37191954255104065, -0.6088179349899292, -0.4423538148403168, -0.015037217177450657, 0.6816083192825317, -0.9146533012390137, -0.5383955240249634, -0.4064030945301056, -0.1810193508863449, 0.029312890022993088, 1.2131545543670654, -0.18103709816932678, 0.08662562072277069, -0.18273353576660156, -0.23796693980693817, -0.40960443019866943, -0.7466105818748474, -0.8598604798316956, -0.722636878490448, 0.835099995136261, 0.5937561392784119, 1.025891900062561, 0.7634681463241577, 0.6179438233375549, 0.19736847281455994, 0.19727051258087158, 0.3967127501964569, -0.7975119352340698, 0.23561659455299377, -0.09059875458478928, -0.39668044447898865, -0.3319038152694702, -0.10921408981084824, 0.5654419660568237, 0.3966411054134369, -0.6297391653060913, 0.08418494462966919, 0.09554878622293472, 0.9194568991661072, -0.5277920961380005, 0.35814934968948364, -0.22446157038211823, 0.3552667796611786, 0.0026229205541312695, -0.0734349861741066, -0.4941936731338501, -0.4129248857498169, 0.14197249710559845, -0.6210777759552002, -0.06415943801403046, 0.40820905566215515, 0.9238176345825195, 0.35770082473754883, -0.11477719992399216, -0.2335164099931717, -0.8495429754257202, 0.9127391576766968, -0.6661725044250488, 0.21176713705062866, 0.08832571655511856, 0.3871189057826996, -0.43326839804649353, -0.2450597882270813, -0.32767876982688904, -0.10839512944221497, -0.11511174589395523, 0.22118447721004486, 0.41060423851013184, 0.23221725225448608, 0.0689103901386261, 0.3159247934818268, -0.6366699934005737, 0.5276788473129272, -0.1584220975637436, -0.35382279753685, 0.8738115429878235, 0.36404725909233093, 0.22277039289474487, 0.15834900736808777, -0.5047677159309387, -0.4345199465751648, -0.8136887550354004, 0.14412839710712433, 0.5547659993171692, 0.49555453658103943, 0.04503944516181946, 0.3596651554107666, -0.24197404086589813, 0.60312420129776, -0.011149298399686813, -0.20756332576274872, 0.08646918088197708, 0.002371256472542882, -0.14097990095615387, 0.08828459680080414, 0.8519024848937988, 0.2847211956977844, 0.2630229592323303, -0.20527954399585724, -0.5021063685417175, 0.027586745098233223, 0.3424799144268036, -0.5796130299568176, -0.04883595183491707, 0.22178035974502563, -0.3946455717086792, -0.40210649371147156, -0.025090372189879417, -0.4264373779296875, -0.5793243646621704, -0.27425846457481384, 0.36115050315856934, -0.09854807704687119, -0.24078916013240814, 0.13864342868328094, 0.08169501274824142, 0.6272449493408203, 0.4626375138759613, -1.3360483646392822, 0.25628331303596497, 1.1283308267593384, 0.5767422318458557, -0.622445285320282, -0.42810335755348206, -0.8574029207229614, 0.0014169822679832578, -0.38169604539871216, 0.5460227131843567, -0.2865956723690033, -0.39139753580093384, 0.2674044668674469, -0.013237006030976772, 0.05727421119809151, -0.8672212958335876, 0.5704408884048462, -0.5767777562141418, 0.44647127389907837, -0.21703165769577026, -0.6843069195747375, -0.08569077402353287, 0.4292828142642975, -0.38762354850769043, 0.9082754850387573, -0.026793980970978737, -0.5076634883880615, 0.23312588036060333, -0.599412739276886, -0.18040886521339417, 0.0321422703564167, -0.2181769758462906, -0.4723282754421234, -0.2325761616230011, 0.2234092503786087, 0.2668703496456146, -0.20880217850208282, 0.4322746694087982, -0.35595467686653137, -0.41600093245506287, 0.14348754286766052, -0.29885056614875793, 0.4629036486148834, 0.324952095746994, -0.23970654606819153, 0.7143649458885193, -0.28064125776290894, -0.02088160067796707, 0.05481672286987305, -0.6063227653503418, 0.3524576723575592, 0.21727639436721802, 0.3219953775405884, 0.28125861287117004, 0.19193267822265625, -0.28920504450798035, 0.2887638807296753, -0.4764934778213501, 0.37801066040992737, 0.8433091640472412, -0.24975843727588654, 0.4895939528942108, -0.6216917037963867, 0.7246633768081665, -0.07915633171796799, 0.2990471422672272, -0.012232936918735504, -0.22773189842700958, -0.7179118990898132, 0.016655409708619118, 0.31194841861724854, 0.6238373517990112, -0.42117127776145935, 0.3823593854904175, -0.1412123739719391, -0.28096458315849304, -0.7304343581199646, 0.3049711287021637, 0.45713117718696594, 0.4560982286930084, 0.11994539946317673, -0.39373230934143066, -0.4169521927833557, -0.9202041029930115, -0.025749383494257927, -0.31508129835128784, -0.027859920635819435, 0.37566304206848145, 0.010304471477866173, -0.20319941639900208, 0.8680919408798218, -0.48403072357177734, -0.33455657958984375, -0.1580233871936798, 0.2066868394613266, 0.1567111760377884, 0.5737158060073853, 0.07498811930418015, -0.4988214075565338, -0.3903636932373047, 0.10935664176940918, -0.605785608291626, 0.019427139312028885, -0.018711654469370842, -0.2946767508983612, 0.4700743854045868, 0.4268595576286316, -0.5417165160179138, -0.08742152154445648, 0.6218783259391785, -0.005826059728860855, 0.6671900153160095, -0.20978346467018127, -0.08946747332811356, -0.7491292357444763, -0.14906293153762817, -0.10024514049291611, -0.5285663604736328, -0.2544473111629486, 0.17059992253780365, -0.0934770405292511, -0.18556971848011017, -0.6135241985321045, 0.5976307988166809, -0.2235187441110611, -0.20064117014408112, -0.4226249158382416, 0.34063273668289185, -0.24143077433109283, 1.0188097953796387, 0.40189477801322937, 0.7265114188194275, 0.2662470042705536, -0.3577434718608856, 0.7058665156364441, 0.17848263680934906, -0.19697201251983643, 0.4719487130641937, -0.48183125257492065, 0.2385876625776291, -0.12415878474712372, 0.3292163610458374, -0.7518294453620911, -0.24776628613471985, 0.5181962251663208, -0.3473673164844513, 0.290214478969574, 0.047436561435461044, -0.4503888487815857, -0.20338554680347443, -0.2796351909637451, 0.16242176294326782, 0.6988575458526611, -0.7423848509788513, 0.48489728569984436, 0.4584323763847351, -0.12058588862419128, -0.714348554611206, -0.26302412152290344, 0.03502188250422478, -0.3557659983634949, -0.6569164395332336, 0.3184874951839447, -0.0007282824371941388, -0.04956148937344551, -0.0750371664762497, 0.026735147461295128, 0.2420799732208252, 0.15834906697273254, 0.3203209340572357, 0.5243062376976013, -0.13355661928653717, 0.2016977220773697, -0.44914355874061584, -0.17728981375694275, 0.0031926718074828386, -0.47928503155708313, 0.40901830792427063, -0.21828687191009521, -0.47371014952659607, -0.26063987612724304, 0.18452060222625732, 0.2641153037548065, 0.003919509239494801, 0.46478283405303955, 0.7803032994270325, -0.1284986138343811, -0.260708749294281, -0.5409309267997742, -0.4028686583042145, -0.4015246629714966, 0.4299415349960327, 0.25260552763938904, -1.157409429550171, 0.31051552295684814, -0.08139750361442566, 0.48201239109039307, 0.22161418199539185, 0.6251899003982544, -0.3031972348690033, 1.3606785535812378, 0.5091984868049622, -0.43258729577064514, 0.5237680077552795, 0.11616327613592148, 0.013996312394738197, -0.6600844264030457, -0.148545503616333, -0.29474949836730957, -0.5999702215194702, -0.6399933695793152, -0.3516891598701477, 0.19848871231079102, 0.07432102411985397, -0.5724084973335266, 0.012150070630013943, -0.3934701383113861, 0.37419992685317993, 0.6049542427062988, 0.06598027050495148, 0.28415632247924805, -0.21425200998783112, 0.00997282937169075, 0.16915394365787506, -0.9630603790283203, -0.5149187445640564, 0.6820220351219177, 0.5846125483512878, 1.0631686449050903, 0.1341264694929123, 0.7705134749412537, 0.20486077666282654, 0.37186890840530396, -1.0150377750396729, 0.30209875106811523, 0.07661247998476028, -0.3095270097255707, -0.6141782999038696, -0.306213915348053, -0.9036787152290344, 0.21672973036766052, -0.425808310508728, -0.6459043025970459, -0.2922634184360504, 0.4459935128688812, -0.4521555006504059, 0.11377272009849548, -0.7465334534645081, 0.8852144479751587, -0.44291457533836365, -0.41017061471939087, -0.345316082239151, -0.7157308459281921, 0.43473005294799805, 0.34714406728744507, 0.21371489763259888, -0.21887493133544922, 0.22787782549858093, 0.6909418106079102, -0.47172027826309204, 0.9085133075714111, -0.10580017417669296, -0.3075938820838928, 0.08034256100654602, -0.18992748856544495, 0.8666567802429199, 0.011516401544213295, 0.24821332097053528, -0.22021470963954926, -0.1625160574913025, -0.5042887926101685, -0.6525884866714478, 0.780331015586853, -1.0395232439041138, -0.9198864102363586, -0.4833500385284424, -0.6877312064170837, -0.5037242770195007, -0.013236582279205322, -0.08724100142717361, 0.06519180536270142, -0.32607513666152954, 0.0873466208577156, 0.7915268540382385, -0.31232813000679016, 0.4027125835418701, 0.22816267609596252, -0.785703182220459, -0.3444584012031555, 0.976277232170105, -0.3201048672199249, 0.36550894379615784, 0.3709288537502289, 0.16111662983894348, -0.42977821826934814, -0.18136389553546906, -0.5650919079780579, 0.20712417364120483, -0.4993115961551666, -0.06924474239349365, -0.24270053207874298, -0.45600011944770813, -0.17386773228645325, -0.03525245934724808, -0.47916075587272644, -0.17729365825653076, -0.2560332417488098, 0.030839044600725174, 0.27093252539634705, 0.6296932697296143, 0.10738682001829147, 0.17302873730659485, -0.8693186044692993, -0.09243163466453552, 0.4934048652648926, 0.45759034156799316, 0.09657947719097137, -0.2750775218009949, -0.5454165935516357, 0.05615466833114624, -0.40234091877937317, -0.3078075647354126, 0.3262529969215393, -0.16764140129089355, 0.4623064696788788, 0.23867179453372955, -0.028717610985040665, 0.3701379597187042, -0.3570610284805298, 0.7194868326187134, 0.28838300704956055, -0.6364852786064148, 0.10635054856538773, -0.47246208786964417, 0.4249233603477478, 0.2653385400772095, 0.2008543461561203, -1.0678850412368774, -0.24634414911270142, -0.4284549057483673, -0.7229403257369995, 0.9104213118553162, -0.057083610445261, -0.09469050168991089, 0.2773023545742035, 0.16898243129253387, -0.04201842471957207, 0.1751055121421814, -0.5643632411956787, -0.07963111996650696, -0.0811084657907486, -0.18838033080101013, 0.005521221552044153, -0.0017578504048287868, -0.3638054132461548, 0.15334494411945343, 0.9173815846443176, -0.2738663852214813, -0.09823302179574966, -0.15050503611564636, -0.14611457288265228, -0.06138939782977104, 0.34547391533851624, 0.711978554725647, 0.4604964256286621, -0.18535877764225006, -0.05951894447207451, 0.03726622089743614, -0.07582486420869827, 0.16653317213058472, -0.2628527283668518, -0.0803350955247879, -0.4102214574813843, 0.16093061864376068, 1.1728864908218384, 0.2742083966732025, -0.9684695601463318, 0.27295318245887756, -0.024238234385848045, -0.33008840680122375, -0.16491007804870605, 0.39320656657218933, 0.4937570095062256, 0.30640220642089844, 0.1448574811220169, -0.2603370249271393, -0.3150169551372528, -0.41180339455604553, -0.015222854912281036, 0.5343644618988037, -0.7036815881729126, 0.024747803807258606, 0.41230615973472595, 0.27464398741722107, -0.5477514266967773, 0.81023770570755, -0.049737364053726196, -0.5352720618247986, 0.4726037383079529, 0.3508414030075073, 0.7765740752220154, 0.01090722344815731, 0.38891854882240295, 0.23601116240024567, -0.017520979046821594, -0.4621424078941345, 0.006209969986230135, 0.004289497621357441, -0.9317525029182434, -0.5745109915733337, -0.47166985273361206, -0.8131953477859497, -0.16383175551891327, -0.5801874995231628, 0.3987356424331665, -0.48755839467048645, 0.02518227882683277, -0.32922452688217163, -0.0953969731926918, -0.4465412199497223, -0.06968922913074493, 0.3059854805469513, 0.5038405060768127, -0.5192281603813171, 0.7680620551109314, 0.48193666338920593, -0.39949026703834534, -1.05082106590271, -0.16978798806667328, 0.19677336513996124, -1.0442525148391724, 0.6454893350601196, -0.14309757947921753, -0.12078264355659485, 0.03932778164744377, -0.5480842590332031, -0.6949291825294495, 1.0478802919387817, 0.3572789132595062, -0.7767254114151001, -0.12935812771320343, 0.024806862697005272, 0.4598841369152069, -0.46719831228256226, 0.15016275644302368, 0.579835832118988, 0.35861441493034363, 0.26863065361976624, -0.8429696559906006, -0.1806323230266571, 0.09573423117399216, 0.18051935732364655, 0.4389163553714752, -0.9123693704605103, 0.28760531544685364, -0.1765059530735016, -0.2040843665599823, -0.09653206169605255, 0.7170268893241882, 0.536914050579071, -0.1591922640800476, 0.5566502213478088, 0.5951998233795166, 0.7123969197273254, -0.05890391021966934, 0.774118185043335, -0.15581266582012177, 0.527116596698761, 1.2129985094070435, -0.4269581735134125, 0.9114355444908142, 0.5759695768356323, -0.2174385040998459, 0.4006943106651306, 0.9098091125488281, 0.0676078051328659, 0.34461677074432373, 0.5746669769287109, -0.2537085711956024, -0.3054511845111847, -0.31538477540016174, -0.2772996425628662, 0.219301238656044, 0.12749680876731873, 0.1826046109199524, -0.2858692705631256, -0.10050134360790253, 0.025567995384335518, 0.09450658410787582, -0.2773526906967163, 1.0198649168014526, 0.05040643736720085, -1.124921202659607, 0.5497989654541016, -0.04662679135799408, 0.8460140824317932, -0.5057089924812317, 0.03156580030918121, -0.24921607971191406, 0.1173553466796875, -0.2975793480873108, -0.7516937255859375, 0.3289804756641388, -0.21501097083091736, -0.21266385912895203, -0.39243990182876587, 0.49294212460517883, -0.8009896278381348, -0.16250655055046082, 0.261078417301178, 0.19301219284534454, -0.1771816909313202, 0.19696184992790222, -0.6958810687065125, 0.11843166500329971, -0.059327367693185806, -0.04546530917286873, 0.783524215221405, 0.03887929022312164, -0.06929228454828262, 0.650714635848999, 0.5898310542106628, 0.1602856069803238, -0.23253339529037476, 0.2519666850566864, 0.4353503882884979, -0.7078211307525635, -0.5063150525093079, -0.686411440372467, 0.21166731417179108, 0.13703691959381104, -0.1024567261338234, 0.38968726992607117, 0.31730887293815613, 0.9641430377960205, -0.0505964457988739, 0.6519991159439087, 0.38343727588653564, 0.4161791205406189, -0.5956342220306396, 0.5999289751052856, -0.30735069513320923, 0.2578486204147339, -0.005295844748616219, -0.8208478689193726, -0.20420221984386444, 0.4121464788913727, -0.015455907210707664, -0.1159902885556221, 0.5130233764648438, 0.9770205020904541, 0.23690438270568848, 0.005097381304949522, 0.23822860419750214, -0.1585959643125534, 0.46839001774787903, 0.8079029321670532, 0.9533509612083435, -0.07772880792617798, 0.6062959432601929, -0.10681162029504776, -0.04045898839831352, -0.28017354011535645, -1.0682238340377808, -0.495457261800766, -0.3825012147426605, -0.38906991481781006, -0.3656124472618103, 0.0791114866733551, 1.4891046285629272, 0.8552765846252441, -0.9239822626113892, -0.7665931582450867, -0.0736611932516098, 0.45866596698760986, -0.39327219128608704, -0.24730701744556427, 0.16688206791877747, -0.7803012132644653, -0.7469645142555237, 0.15057018399238586, 0.5139428973197937, -0.1515199840068817, -0.5427005290985107, -0.6427266597747803, -0.21583034098148346, -0.15889889001846313, 0.3840550482273102, 0.6232081651687622, -0.9213018417358398, -0.5144117474555969, 0.04880569502711296, -0.25311678647994995, 0.27051210403442383, 0.8239830732345581, -0.605012834072113, 0.35186588764190674, 0.48849159479141235, 1.0959906578063965, 0.5307387113571167, 0.16182714700698853, 0.9650498032569885, -0.5492947697639465, -0.03581728786230087, 0.21807105839252472, 0.23730310797691345, 0.41162943840026855, -0.3727826774120331, 0.4380559027194977, 0.0076847621239721775, -0.8946871161460876, -0.5803579688072205, 0.29800179600715637, -0.8317741751670837, -0.011280842125415802, 0.9899517297744751, -0.08232990652322769, -0.1254459023475647, 0.05991187319159508, -0.41641664505004883, 0.16705335676670074, -0.5914533138275146, 0.9795057773590088, 1.0924583673477173, -0.2559128999710083, -0.2856491506099701, -0.28812775015830994, 0.7755028009414673, 0.7180253267288208, -0.7126936316490173, 0.2914610207080841, 0.4980901777744293, 0.007442598231136799, -0.09852258116006851, 0.6104357838630676, -0.10315784811973572, 0.27271655201911926, -0.5878148674964905, 0.21049043536186218, 0.14018400013446808, -0.09556127339601517, -0.46308740973472595, 0.11157198250293732, 0.5822586417198181, -0.22868090867996216 ]
http://arxiv.org/abs/2404.00930v1
http://arxiv.org/pdf/2404.00930v1
PSYDIAL: Personality-based Synthetic Dialogue Generation using Large Language Models
2024-04-01T05:19:34
2024-04-01T05:19:34
Ji-Eun Han, Jun-Seok Koh, Hyeon-Tae Seo, Du-Seong Chang, Kyung-Ah Sohn
cs.CL
cs.CL
We present a novel end-to-end personality-based synthetic dialogue data generation pipeline, specifically designed to elicit responses from large language models via prompting. We design the prompts to generate more human-like dialogues considering real-world scenarios when users engage with chatbots. We introduce PSYDIAL, the first Korean dialogue dataset focused on personality-based dialogues, curated using our proposed pipeline. Notably, we focus on the Extraversion dimension of the Big Five personality model in our research. Experimental results indicate that while pre-trained models and those fine-tuned with a chit-chat dataset struggle to generate responses reflecting personality, models trained with PSYDIAL show significant improvements. The versatility of our pipeline extends beyond dialogue tasks, offering potential for other non-dialogue related applications. This research opens doors for more nuanced, personality-driven conversational AI in Korean and potentially other languages. Our code is publicly available at https://github.com/jiSilverH/psydial.
[ -0.4107811748981476, -0.49355241656303406, 0.9296742677688599, 0.14795002341270447, -0.29975125193595886, 0.3315739035606384, -0.2619189918041229, 0.03589871898293495, 0.5695610642433167, 0.5549482107162476, -1.0221937894821167, -0.5351664423942566, -0.13315686583518982, 0.2687889635562897, -0.02965712733566761, 1.1421736478805542, 0.381367027759552, 0.1988217532634735, -0.13495393097400665, 0.09070515632629395, -0.1306343376636505, -0.7416761517524719, -0.4568749964237213, -0.21273194253444672, 0.6765614151954651, 0.4741232395172119, 0.5222653150558472, 0.15525604784488678, -0.08754421770572662, 0.28291890025138855, 0.08487077802419662, 0.4035452902317047, -0.5678403973579407, 0.5887714624404907, -0.3793001174926758, -0.2975780665874481, -0.34789061546325684, -0.07824655622243881, 0.4245932102203369, 0.6297634840011597, -0.1220969632267952, 0.2614438831806183, -0.47185444831848145, 0.6183430552482605, -0.37149733304977417, 0.2682799994945526, -0.4911347031593323, 0.05840306356549263, -0.12203986942768097, -0.29122331738471985, -0.42419055104255676, -0.3409845530986786, 0.4407467246055603, -0.43465426564216614, 0.2035355418920517, -0.07889693975448608, 0.29293376207351685, 0.1015465036034584, -0.33335694670677185, -0.26387444138526917, -0.8006687760353088, 0.6396978497505188, -0.7472535967826843, 0.216048002243042, 0.2045339196920395, 0.5148756504058838, -0.23924149572849274, -0.7097262144088745, -0.7209620475769043, -0.5110484957695007, 0.1938929557800293, 0.2166236937046051, 0.14557097852230072, 0.2182379812002182, 0.1552734375, 0.3382088243961334, -0.5240129828453064, -0.26024332642555237, -0.3878794014453888, -0.17754384875297546, 0.9537819027900696, 0.32255175709724426, 0.3291071355342865, -0.14455388486385345, 0.21680425107479095, -0.1592041403055191, -0.6455171704292297, 0.0877615213394165, 1.027111291885376, 0.44402799010276794, -0.09537725895643234, 0.63039630651474, -0.5512820482254028, 0.39773908257484436, 0.4040144979953766, -0.21644708514213562, 0.16540241241455078, -0.45119598507881165, 0.11425245553255081, 0.25830551981925964, 0.9551923871040344, 0.5971993803977966, 0.47014760971069336, -0.0016224434366449714, 0.04704825207591057, 0.13468597829341888, 0.40179163217544556, -1.053336501121521, -0.823600709438324, 0.6281281113624573, -0.40530285239219666, -0.7011911273002625, 0.0633104220032692, -0.7675595879554749, -0.7428046464920044, -0.25255587697029114, -0.20386157929897308, -0.4240710735321045, -0.5348597764968872, -0.037632089108228683, -0.14461219310760498, 0.0385839082300663, 0.3145180642604828, -0.9794901609420776, 0.09119509160518646, 0.6139478087425232, 0.8155363202095032, -0.010241532698273659, -0.35747385025024414, -0.6431284546852112, -0.238878533244133, -0.49223822355270386, 0.5303100943565369, -0.6637666821479797, -0.724373996257782, -0.06775691360235214, 0.032785508781671524, 0.16295072436332703, -0.5077531933784485, 0.3207072615623474, 0.04612614959478378, 0.4043991267681122, -0.3084058463573456, -0.41263625025749207, 0.1789156198501587, -0.07184793055057526, -0.16849729418754578, 0.5938949584960938, 0.37082335352897644, -0.6901703476905823, 0.12760965526103973, -0.684721827507019, -0.23040178418159485, 0.3761255443096161, -0.3578348457813263, -0.25428205728530884, 0.13076196610927582, -0.050452183932065964, 0.4447599947452545, -0.24712130427360535, 0.5116168260574341, -0.498159259557724, -0.19627745449543, 0.5638383626937866, -0.21635481715202332, 0.6944082975387573, 0.1059868335723877, -0.17247697710990906, 0.5703750848770142, -0.7322908043861389, 0.14114010334014893, 0.18255995213985443, 0.19918516278266907, -0.024346845224499702, -0.0024383908603340387, 0.07385234534740448, 0.657647430896759, 0.21885713934898376, -1.038443922996521, 0.26787665486335754, -0.4355645775794983, 0.5800102353096008, 0.7815183401107788, 0.07966909557580948, 0.46314361691474915, -0.31758788228034973, 0.7528828382492065, -0.04908684268593788, -0.01931893639266491, -0.6275200247764587, -0.6793457865715027, -0.36565858125686646, -0.46630868315696716, -0.18854665756225586, 0.5444439649581909, -0.7472739815711975, 0.4703309237957001, -0.0843132957816124, -0.9859198927879333, -0.5639743208885193, 0.015477652661502361, 0.3634677529335022, 0.4818143844604492, -0.044068414717912674, -0.2452743798494339, -0.753925621509552, -0.833859384059906, -0.02251914143562317, -0.5560612082481384, -0.2804999053478241, 0.7300581932067871, 0.2552151083946228, -0.20856106281280518, 0.9910048246383667, -0.5715660452842712, 0.3073224425315857, -0.6978159546852112, -0.10891320556402206, 0.33151480555534363, 0.13003337383270264, 0.49916982650756836, -0.5847163796424866, -0.8039138913154602, -0.011394023895263672, -0.49991461634635925, -0.370432049036026, -0.21321018040180206, -0.11375855654478073, 0.04227901250123978, 0.42018964886665344, -1.1427761316299438, 0.04826652258634567, 0.5354946851730347, -0.37656402587890625, 1.0976707935333252, -0.14773662388324738, -0.06763450056314468, -1.3162387609481812, 0.17833594977855682, -0.13828514516353607, -0.155057892203331, -0.9750811457633972, -0.1416832059621811, -0.26113855838775635, -0.5639852285385132, -0.4641627371311188, 0.6954197883605957, 0.2018212527036667, -0.07047198712825775, -0.22655494511127472, 0.08759981393814087, -0.10931143909692764, 0.6952599883079529, 0.28835219144821167, 0.7463531494140625, 0.6354710459709167, -0.49396222829818726, 0.9436899423599243, 0.42922478914260864, -0.012965078465640545, 0.8373635411262512, -0.8118745684623718, 0.45594149827957153, -0.25812530517578125, 0.9345747828483582, -1.0969350337982178, -0.6244856119155884, 0.34972164034843445, -0.5411597490310669, -0.146271213889122, -0.3889118731021881, -0.3720906376838684, -0.4224484860897064, -0.5098764300346375, 0.004254601895809174, 0.49034667015075684, -0.5490197539329529, 0.33919477462768555, 0.171020969748497, -0.732088565826416, -0.0030097353737801313, 0.050158411264419556, 0.11368919909000397, -0.3034282326698303, -0.5758306384086609, 0.2850811183452606, -0.3914865553379059, -0.26743748784065247, -0.6057508587837219, 0.11160802841186523, 0.16178922355175018, -0.29065340757369995, 0.3826235234737396, 0.39719122648239136, -0.03882775455713272, -0.13477958738803864, 0.21032199263572693, -0.10148998349905014, 0.23423174023628235, -0.5091941952705383, 0.9689132571220398, -0.18211401998996735, -0.23268918693065643, -0.8560010194778442, 0.50880366563797, 0.9019709825515747, -0.1868640035390854, 0.7557989954948425, 0.6022831201553345, 0.13443514704704285, 0.00488879531621933, -0.07346091419458389, -0.4519054591655731, -0.52801513671875, 0.6456745266914368, -0.41340184211730957, -0.7197540998458862, 0.3702119290828705, -0.11833368241786957, 0.2479647547006607, -0.1733558475971222, 0.8705710172653198, -0.13216112554073334, 1.5885413885116577, 0.23167063295841217, 0.07413292676210403, 0.3564905822277069, 0.09105715900659561, 0.6410667300224304, -0.681812584400177, -0.1488863080739975, 0.02224966324865818, -0.19156336784362793, -0.8641300797462463, -0.11692433804273605, 0.09095313400030136, -0.2642221748828888, -0.3158552646636963, 0.24273915588855743, -0.30604246258735657, 0.27500101923942566, 0.45156630873680115, -0.15157589316368103, -0.049219049513339996, -0.327434778213501, 0.032613832503557205, -0.19983819127082825, -0.41507819294929504, -0.47408682107925415, 1.2818738222122192, 0.3506733477115631, 0.3701079785823822, 0.10575465112924576, 0.6843401193618774, -0.052641499787569046, 0.08348994702100754, -0.8948071599006653, 0.6866337656974792, 0.08959107846021652, -0.3254086673259735, -0.2738746106624603, -0.4741710126399994, -0.6108208894729614, 0.02923613414168358, 0.037165310233831406, -0.9258227944374084, -0.13867023587226868, 0.1725519746541977, -0.6710134148597717, 0.095942921936512, -0.667484700679779, 0.628419041633606, 0.01676171086728573, -0.08906446397304535, 0.06325312703847885, -0.7348445653915405, 0.2856801450252533, 0.04633147269487381, -0.3326072692871094, -0.1889883428812027, 0.30194053053855896, 0.3436782658100128, -0.6850017309188843, 0.7160719037055969, -0.49776241183280945, -0.23511813580989838, 0.12571454048156738, 0.17723557353019714, 0.6018308997154236, 0.5655573606491089, 0.12816017866134644, -0.06382067501544952, 0.19166921079158783, -0.36321333050727844, -0.8155814409255981, 0.6163679957389832, -0.7169976234436035, -0.42627254128456116, -0.1513756662607193, -0.6596606373786926, -0.5551051497459412, -0.07568078488111496, 0.43894490599632263, 0.377864807844162, -0.07225161045789719, 0.023073306307196617, 0.5616353154182434, -0.7078772187232971, 0.020422210916876793, 0.5014275908470154, -0.6379701495170593, -0.4263167381286621, 1.2464245557785034, -0.3854857385158539, 0.3643520772457123, -0.1324884593486786, 0.30991607904434204, -0.38531699776649475, -0.2158471792936325, -0.7451152801513672, 0.3539779782295227, -0.2575182020664215, 0.15567825734615326, -0.7575350403785706, -0.38223010301589966, -0.6305897831916809, -0.06501483917236328, -0.7372086644172668, -0.3381470739841461, 0.07914090156555176, -0.18386423587799072, 0.424501895904541, 0.7177203893661499, 0.3245489299297333, 0.25186339020729065, -0.6244376301765442, 0.32252660393714905, 0.5518721342086792, 0.1921766996383667, -0.3412291407585144, -0.3563699424266815, 0.12537096440792084, 0.2644926607608795, -0.20279152691364288, -0.8901756405830383, 0.8111746907234192, 0.2667509913444519, 0.25481003522872925, 0.6079148054122925, 0.16140446066856384, 0.3196558654308319, -0.6195078492164612, 0.8855379819869995, 0.03954596072435379, -0.5954509377479553, 0.6579270958900452, -0.7999230623245239, 0.3828555643558502, 0.4996611475944519, 0.28551098704338074, -1.057773232460022, -0.46383586525917053, -0.7117671370506287, -0.6891469955444336, 0.7758764624595642, 0.3412889540195465, 0.43878865242004395, -0.016035404056310654, 0.33756157755851746, 0.22658702731132507, 0.6128944754600525, -0.05860406160354614, -0.29408982396125793, -0.4069732129573822, -0.3528187870979309, -0.11872141808271408, -0.006244198884814978, -0.008295557461678982, -0.3031952381134033, 0.5471492409706116, -0.3977172374725342, 0.38359326124191284, 0.17388923466205597, 0.23229444026947021, -0.018145710229873657, 0.09933760017156601, 0.6670560240745544, 0.5569776296615601, -0.2517431080341339, -0.2297775000333786, -0.12893125414848328, -0.5495253205299377, 0.08538435399532318, -0.0041941809467971325, -0.11299619823694229, 0.1276557296514511, -0.17790468037128448, 0.9341667294502258, -0.1660936027765274, -1.0962773561477661, 0.4191494584083557, -0.28075048327445984, -0.1759956330060959, -0.5859242677688599, 0.12406845390796661, 0.16908733546733856, 0.18304705619812012, 0.1869673728942871, 0.012195361778140068, 0.0503237247467041, -0.6827859878540039, 0.04565402492880821, 0.19743207097053528, -0.32758069038391113, -0.687346875667572, 0.4088074266910553, 0.35925838351249695, -0.6445850133895874, 0.7815982103347778, -0.5061297416687012, -0.6310369372367859, 0.3489358723163605, 0.5743943452835083, 0.7936056852340698, -0.4153311848640442, 0.8811109662055969, 0.39443984627723694, -0.42029374837875366, 0.13717876374721527, 0.33104196190834045, -0.30201101303100586, -0.766850471496582, -0.3727585971355438, -0.4494701027870178, -0.7417077422142029, 0.5175295472145081, -0.38616031408309937, 0.15689799189567566, -0.8641210198402405, 0.03693115711212158, -0.0847841426730156, 0.06410250812768936, -0.12332498282194138, -0.16526174545288086, 0.4048291742801666, 0.446978360414505, -0.8552662134170532, 0.7821027040481567, 0.7332568764686584, -0.060866061598062515, -0.5054349899291992, 0.08523618429899216, 0.2674257159233093, -0.2600788176059723, 0.38011422753334045, 0.39490851759910583, -0.14544211328029633, 0.1069960817694664, -0.6134605407714844, -0.5860697627067566, 0.8660650849342346, 0.3900342583656311, -0.45043569803237915, -0.13734956085681915, 0.21298833191394806, 0.8156503438949585, -0.5477704405784607, 0.3207796514034271, 0.576784074306488, 0.11709537357091904, 0.09928874671459198, -0.868054211139679, -0.20365047454833984, -0.8491238951683044, 0.11958302557468414, -0.028503570705652237, -0.7667825818061829, 0.7093425393104553, -0.15407316386699677, 0.027651706710457802, 0.5302654504776001, 0.5219113230705261, 0.9294227957725525, 0.19009028375148773, 0.3914209306240082, 0.11988212168216705, 0.9665749669075012, 0.21593442559242249, 1.031225323677063, -0.6214632391929626, -0.07120142132043839, 1.2067053318023682, -0.6706996560096741, 0.4970126748085022, 0.39873006939888, -0.2397710084915161, 0.6557716727256775, 0.7879536747932434, 0.11415805667638779, 0.4517596662044525, 0.22262370586395264, -0.6362451314926147, -0.15045204758644104, -0.2825752794742584, -0.07588335126638412, 0.4641495645046234, 0.39690619707107544, -0.2970297932624817, 0.36977726221084595, 0.059738703072071075, 0.018878242000937462, -0.02259465679526329, 0.04559309035539627, 0.6332312226295471, -0.11767180263996124, -0.903042733669281, 0.19628767669200897, -0.0937177762389183, 0.6384954452514648, -0.6200200915336609, 0.033527690917253494, -0.3103666603565216, 0.013359942473471165, -0.11785059422254562, -0.7066253423690796, 0.021107478067278862, -0.06904216855764389, -0.04654065892100334, -0.4055740237236023, 0.5506313443183899, -0.591204822063446, -0.26049408316612244, -0.1688823401927948, 0.420014351606369, 0.4394172728061676, -0.4066144824028015, -0.5489583611488342, -0.35349926352500916, 0.08543598651885986, -0.0004221599956508726, 0.3137551248073578, 0.3531307876110077, -0.03825068846344948, 0.7660240530967712, 0.9220595359802246, 0.24823403358459473, -0.16929170489311218, 0.4474659264087677, 0.6664549112319946, -0.35922971367836, -0.7894603610038757, -0.7707986831665039, 0.4236343502998352, -0.33751678466796875, -0.4584481716156006, 0.7521089315414429, 0.4145219624042511, 0.6661944389343262, -0.2985799014568329, 1.0107758045196533, -0.024348685517907143, 0.6357666254043579, -0.048365868628025055, 0.8339968919754028, 0.13000842928886414, -0.034650757908821106, -0.48396429419517517, -0.9053136110305786, 0.3692047595977783, 0.5704336166381836, -0.20665523409843445, 0.1285383552312851, 0.4154323637485504, 0.9596742391586304, 0.10385777056217194, 0.31856033205986023, 0.42674392461776733, 0.24489983916282654, 0.4719063341617584, 0.504635751247406, 1.0401523113250732, 0.06550265848636627, 0.20263133943080902, -0.48223763704299927, -0.07035429775714874, -0.13592509925365448, -0.3248186707496643, -1.084252953529358, -0.9130834341049194, -0.17353203892707825, -0.4506896138191223, 0.004023303743451834, 1.3113280534744263, 0.6269403100013733, -0.7729120254516602, -0.09013266116380692, -0.6091087460517883, -0.3628104627132416, 0.19241251051425934, -0.2664942443370819, -0.0645853728055954, -0.1715749204158783, -0.8893613815307617, 0.4845946133136749, 0.49608567357063293, -0.04715292900800705, -0.8343951106071472, -0.285302996635437, 0.23301705718040466, 0.2239474505186081, 0.6480969786643982, 0.38475751876831055, -0.47669029235839844, -0.10889489948749542, 0.2279818058013916, 0.13150222599506378, -0.10808612406253815, 1.0628231763839722, -0.7935556173324585, 0.4792523980140686, 0.4557833969593048, 0.3350079357624054, 0.31399059295654297, -0.019806740805506706, 1.1750829219818115, -0.8741241693496704, 0.27330145239830017, 0.255465567111969, 0.1687079817056656, 0.5774919390678406, -0.55177241563797, 0.1521299183368683, 0.25324469804763794, -0.4441927373409271, -0.789007842540741, 0.6600151658058167, -0.61446613073349, -0.011682811193168163, 1.199722170829773, -0.27171263098716736, -0.10072707384824753, -0.3695826232433319, -0.8074070811271667, 0.1448364555835724, -0.6455069184303284, 0.9007537961006165, 0.7389135360717773, -0.37772223353385925, -0.26910898089408875, -0.48564237356185913, 0.7965168952941895, 0.4534599184989929, -0.9039987325668335, 0.4255964756011963, 0.4506863057613373, 0.15067431330680847, 0.1945992261171341, 0.7065243721008301, 0.029090235009789467, 0.552889347076416, -0.0576867051422596, -0.29832857847213745, 0.12667754292488098, -0.49379655718803406, -0.18704596161842346, -0.2054753601551056, -0.17065384984016418, 0.23951222002506256 ]
http://arxiv.org/abs/2404.00929v2
http://arxiv.org/pdf/2404.00929v2
A Survey on Multilingual Large Language Models: Corpora, Alignment, and Bias
2024-04-01T05:13:56
2024-06-06T16:04:15
Yuemei Xu, Ling Hu, Jiayi Zhao, Zihan Qiu, Yuqi Ye, Hanwen Gu
cs.CL
cs.CL, cs.AI
Based on the foundation of Large Language Models (LLMs), Multilingual Large Language Models (MLLMs) have been developed to address the challenges of multilingual natural language processing tasks, hoping to achieve knowledge transfer from high-resource to low-resource languages. However, significant limitations and challenges still exist, such as language imbalance, multilingual alignment, and inherent bias. In this paper, we aim to provide a comprehensive analysis of MLLMs, delving deeply into discussions surrounding these critical issues. First of all, we start by presenting an overview of MLLMs, covering their evolution, key techniques, and multilingual capacities. Secondly, we explore widely utilized multilingual corpora for MLLMs' training and multilingual datasets oriented for downstream tasks that are crucial for enhancing the cross-lingual capability of MLLMs. Thirdly, we survey the existing studies on multilingual representations and investigate whether the current MLLMs can learn a universal language representation. Fourthly, we discuss bias on MLLMs including its category and evaluation metrics, and summarize the existing debiasing techniques. Finally, we discuss existing challenges and point out promising research directions. By demonstrating these aspects, this paper aims to facilitate a deeper understanding of MLLMs and their potentiality in various domains.
[ -0.5212801694869995, -0.5547245740890503, 0.36866721510887146, 0.13712121546268463, 0.17138449847698212, 0.36596882343292236, -0.5228384733200073, -0.5890841484069824, -0.0874636173248291, 0.4726978540420532, -0.5924767851829529, -0.26693418622016907, -0.7469024062156677, 0.2992091774940491, -0.163871169090271, 1.006394624710083, -0.1009499654173851, 0.6310420632362366, -0.029960233718156815, -0.42400920391082764, -0.5480026602745056, -0.9589371085166931, -0.2082294076681137, -0.20938560366630554, 0.6307936310768127, 0.15010830760002136, 0.5986399054527283, 0.17941145598888397, 0.514376163482666, 0.2442685216665268, -0.20440556108951569, 0.11172302812337875, -0.4639911353588104, 0.24402014911174774, -0.12098844349384308, -0.1346665769815445, -0.3257997930049896, -0.10219758003950119, 0.9438669085502625, 1.132999300956726, 0.060687098652124405, 0.3137136399745941, 0.21713046729564667, 0.5724445581436157, -0.6576329469680786, -0.08807438611984253, -0.6666944026947021, 0.11018095910549164, -0.32742586731910706, 0.28265658020973206, -0.39625084400177, -0.09923656284809113, 0.07201995700597763, -0.2728419899940491, -0.023828327655792236, 0.17789246141910553, 0.3900981843471527, 0.040745366364717484, -0.8191124200820923, -0.42923951148986816, -0.6703863143920898, 1.136430025100708, -0.6684946417808533, 0.7409451007843018, 0.07818286120891571, 0.3267268240451813, 0.16454574465751648, -0.19317616522312164, -0.1789812594652176, -0.16987118124961853, -0.007793068885803223, -0.2687394618988037, 0.11832192540168762, -0.2707985043525696, 0.18145422637462616, 0.33961132168769836, -0.728049099445343, 0.5052410960197449, -0.344251811504364, -0.29569509625434875, 0.6050850749015808, 0.17912322282791138, 0.24825608730316162, 0.10345087200403214, -0.43414291739463806, 0.17868302762508392, -0.85616534948349, -0.1550019383430481, 0.5693797469139099, 0.40552717447280884, -0.20831076800823212, 0.7043242454528809, 0.10959263145923615, 0.8606786727905273, -0.2763773500919342, -0.22096702456474304, 0.4170582890510559, -0.5657910108566284, -0.16946280002593994, 0.030490202829241753, 0.7410566806793213, 0.1806521862745285, 0.3777464032173157, -0.06277535110712051, -0.012849490158259869, -0.24461881816387177, 0.029188143089413643, -0.5912060737609863, 0.383068710565567, 0.32098373770713806, -0.48899203538894653, -0.05824263393878937, -0.16564783453941345, -0.8721679449081421, -0.5738311409950256, -0.6543847918510437, -0.21466079354286194, -0.17316533625125885, -0.525052547454834, -0.04620015248656273, 0.18201975524425507, 0.16899614036083221, 0.30355972051620483, -0.9226976037025452, -0.02374451793730259, 0.6837091445922852, 0.5398228168487549, -0.3476766049861908, -0.48795318603515625, -0.30003735423088074, 0.15562129020690918, -0.26817306876182556, 0.43421000242233276, -0.5887253880500793, -0.08836100995540619, 0.5017412900924683, 0.1404380202293396, -0.025010723620653152, -0.3986540734767914, 0.3423292338848114, -0.5409145951271057, 0.2635834515094757, -0.56416916847229, -0.45743101835250854, -0.15218918025493622, 0.7088744044303894, -0.8215581774711609, 0.7862834930419922, -0.19730107486248016, -0.8632032871246338, 0.2850680351257324, -0.3775247633457184, -0.2844271659851074, -0.2653619647026062, -0.1632407307624817, -0.12582729756832123, -0.028091920539736748, 0.23064398765563965, 0.4639506936073303, -0.3954448997974396, 0.6511395573616028, -0.591338574886322, -0.0032437124755233526, 0.34638601541519165, -0.6793715357780457, 1.2145651578903198, 0.3653923571109772, -0.1696988344192505, 0.20564118027687073, -0.7331545948982239, -0.11829645186662674, -0.09919112175703049, -0.24100781977176666, -0.30754920840263367, -0.23681959509849548, 0.32392793893814087, 0.47771337628364563, 0.4692654609680176, -0.4196934401988983, 0.29474306106567383, -0.04663783684372902, 0.23996810615062714, 0.7472608089447021, -0.3792177736759186, 0.5569960474967957, 0.12003175169229507, 0.4899267852306366, 0.0794118344783783, 0.3031765818595886, -0.04631203040480614, -0.30104318261146545, -0.46463853120803833, -0.18409720063209534, 0.38824179768562317, 0.5710499286651611, -0.3751014769077301, 0.09773151576519012, -0.15759603679180145, -0.198327898979187, -0.763361930847168, 0.5443975329399109, 0.37883293628692627, 0.04114821180701256, 0.300606906414032, 0.02146272547543049, -0.6435883045196533, -1.07998788356781, -0.07326953113079071, 0.1948246955871582, 0.21164590120315552, -0.05276251584291458, 0.36432626843452454, -0.28695395588874817, 0.5199471116065979, -0.10321847349405289, -0.23997385799884796, -0.3245912194252014, -0.15533249080181122, 0.020996471866965294, 0.31483954191207886, 0.5332223773002625, -0.897131085395813, -0.50658118724823, 0.23947569727897644, -0.8773521780967712, -0.05044185370206833, 0.18553054332733154, 0.01767677441239357, 0.5024076104164124, 0.5499510169029236, -0.6866959929466248, -0.07255904376506805, 0.9725827574729919, -0.16382786631584167, 0.726124107837677, -0.012094409205019474, -0.07299160957336426, -0.8981829285621643, 0.2737866938114166, 0.012801471166312695, -0.0767204761505127, -0.6469029188156128, 0.24142314493656158, 0.11926931887865067, 0.07476732134819031, -0.4667614996433258, 0.7274139523506165, -0.8818110823631287, -0.21047155559062958, -0.07379540055990219, 0.2624586224555969, -0.057930391281843185, 0.397360622882843, 0.06450353562831879, 0.3801698088645935, 0.5690186023712158, -0.41545823216438293, 0.388116717338562, 0.12127238512039185, -0.406970351934433, 0.5617982745170593, -0.2425537407398224, 0.02948756329715252, -0.330774188041687, 0.12813223898410797, -0.8204192519187927, 0.11206328868865967, 0.1874869167804718, -0.06433766335248947, 0.625078558921814, -0.12182218581438065, -0.4207923114299774, -0.25440919399261475, -0.26488229632377625, 0.5662739276885986, 0.1517358422279358, -0.35215312242507935, 0.2730748653411865, 0.5412389039993286, -0.22131407260894775, -1.2167479991912842, -0.5162674784660339, 0.22843927145004272, -0.29807862639427185, -0.3679792881011963, 0.020997263491153717, -0.2670414447784424, -0.7147750854492188, -0.06666888296604156, 0.2742094099521637, 0.14867796003818512, -0.013536804355680943, -0.13233354687690735, 0.37736135721206665, -0.3127848207950592, 0.14734531939029694, -0.3463004529476166, 0.17086660861968994, -0.052644044160842896, -0.3470282256603241, 0.6090453267097473, -0.057272493839263916, -0.6172001361846924, 0.12277131527662277, 0.5937347412109375, 0.6570954322814941, -0.3858751952648163, 0.7587988972663879, 0.9200514554977417, -0.3441792130470276, 0.11017913371324539, -0.8687198758125305, 0.1983681321144104, -0.31689515709877014, 0.5063230395317078, -0.33145079016685486, -1.063930630683899, 0.5352024435997009, 0.19619281589984894, 0.3698907792568207, 0.4512863755226135, 1.121772289276123, 0.13954924046993256, 0.9803752303123474, 0.5811426639556885, -0.4868515133857727, 0.1484616994857788, 0.02207675762474537, 0.2154075801372528, -0.910219669342041, -0.2737742066383362, -0.6544166207313538, -0.1954706758260727, -0.6937753558158875, -0.39828574657440186, 0.13471974432468414, -0.0027709847781807184, -0.3086355924606323, -0.009097161702811718, -0.18952050805091858, 0.09745730459690094, 0.343935489654541, -0.5274730920791626, 0.4097403585910797, 0.0263303741812706, -0.14649946987628937, -0.1446456015110016, -0.5880663394927979, -0.6174238920211792, 1.1150617599487305, 0.4943268597126007, 0.7898858189582825, 0.27931278944015503, 0.2026841640472412, 0.07698024809360504, 0.4325261414051056, -0.6222500205039978, 0.1805250346660614, -0.11497955024242401, -1.161917805671692, -0.4521831274032593, -0.3125092387199402, -0.8229764103889465, 0.7109274864196777, -0.1694907397031784, -0.7005172967910767, 0.11073596030473709, -0.09109862893819809, 0.0009965251665562391, 0.49867767095565796, -0.41728225350379944, 0.8699348568916321, -0.6173733472824097, -0.5283085107803345, 0.042916249483823776, -0.739281952381134, 0.5619621872901917, -0.24422867596149445, 0.7823686003684998, -0.2024899423122406, 0.02462140843272209, 0.4661492109298706, -0.02775893732905388, 0.8735545873641968, -0.13772639632225037, -0.8060195446014404, 0.2903638184070587, -0.08955013751983643, 0.24508747458457947, -0.10833021998405457, -0.19853998720645905, 0.37530675530433655, 0.12539757788181305, -0.37067535519599915, -0.25034382939338684, 0.7153670191764832, -0.6686943769454956, -0.5267051458358765, -0.3559902310371399, -0.7283913493156433, -0.5474801063537598, 0.23365271091461182, 0.06322088092565536, 0.32195696234703064, -0.4905874729156494, 0.11552203446626663, 0.4840278625488281, -0.3313975930213928, 0.48995453119277954, 0.4160095155239105, -0.6276593208312988, -0.37897029519081116, 0.8011389970779419, 0.22116459906101227, 0.3482559025287628, 0.522701621055603, -0.09012311697006226, -0.4560176432132721, -0.5271398425102234, -0.7319984436035156, 0.20226366817951202, -0.6624244451522827, -0.0066413977183401585, -0.6461081504821777, -0.07096616923809052, -0.7053847908973694, 0.09399325400590897, -0.35358676314353943, -0.1947968602180481, -0.2096165418624878, 0.04015897959470749, -0.1391942948102951, 0.8894596695899963, -0.026996593922376633, -0.08906514197587967, -0.8207169771194458, 0.07117976993322372, 0.06151963770389557, 0.24467606842517853, 0.25366586446762085, -0.35273608565330505, -0.3680099546909332, 0.11958365142345428, -0.17449988424777985, -0.612737774848938, 0.3324507474899292, -0.12867945432662964, 0.7149409651756287, 0.4362051784992218, -0.2143940031528473, 0.5935177803039551, -0.6738231182098389, 0.8151589035987854, 0.25682532787323, -0.6296505331993103, -0.12623146176338196, -0.25051677227020264, 0.19831834733486176, 0.40581968426704407, 0.6257686018943787, -0.7271326780319214, -0.301536500453949, -0.24531523883342743, -0.6541303992271423, 0.3763882517814636, -0.12805339694023132, 0.17611655592918396, 0.31122684478759766, -0.12758633494377136, 0.3015328645706177, 0.41595959663391113, -0.9205152988433838, -0.2692614197731018, 0.10785634070634842, -0.3182830214500427, -0.40776771306991577, -0.45510315895080566, -0.1413697749376297, -0.11212898790836334, 0.5946764349937439, -0.11786188930273056, -0.18939609825611115, -0.16374167799949646, -0.451219379901886, -0.04080680012702942, 0.6668285727500916, 0.8520069122314453, 0.833565890789032, -0.1615273505449295, 0.31079643964767456, 0.20366646349430084, -0.3078376352787018, 0.31063368916511536, 0.07647965103387833, -0.0337696336209774, 0.035825904458761215, 0.5014952421188354, 0.7993680238723755, 0.20866979658603668, -0.7815885543823242, 0.33349958062171936, 0.13135376572608948, -0.08773298561573029, -0.28498733043670654, -0.584886372089386, 0.2372683882713318, 0.1695520579814911, 0.3586128354072571, -0.14193947613239288, -0.04404091835021973, -0.682343602180481, -0.1416783183813095, 0.8940331339836121, -0.41009607911109924, -0.27645763754844666, 0.453401118516922, 0.018830332905054092, 0.06318322569131851, 0.408757746219635, -0.10265079885721207, -0.6167957782745361, 0.31156060099601746, 0.5573915243148804, 0.4711299538612366, -0.3021751940250397, -0.05055198818445206, 0.2539411783218384, 0.5612362027168274, -0.027440816164016724, -0.07304094731807709, 0.2326762080192566, -0.7973006367683411, -0.6331292390823364, -0.7807096242904663, -0.3770337998867035, 0.3639111816883087, -0.4507121741771698, 0.3643338084220886, -0.03757091611623764, -0.0748017206788063, -0.04251915216445923, -0.02367945946753025, -0.7041568756103516, -0.02808367647230625, 0.5278589129447937, 0.785140335559845, -0.6521235108375549, 0.7293133735656738, 0.6687145233154297, -0.14724144339561462, -0.35282209515571594, -0.37743282318115234, 0.25114455819129944, -0.7968082427978516, 0.8012471199035645, 0.04409194365143776, 0.14152280986309052, -0.37569567561149597, -0.37426748871803284, -1.0061651468276978, 0.5375179052352905, 0.4725424349308014, -0.8041684627532959, -0.25846272706985474, 0.36538493633270264, 0.43417155742645264, -0.4119630455970764, 0.1826138198375702, 0.4102664291858673, 0.7735956311225891, -0.14757893979549408, -1.0195146799087524, -0.15306788682937622, -0.14242786169052124, -0.025400830432772636, 0.06403336673974991, -0.5720049142837524, 0.9567697644233704, -0.09021103382110596, 0.1399073749780655, -0.08170484006404877, 0.4323287606239319, 0.25038301944732666, 0.20920579135417938, 0.2529897391796112, 0.3115023672580719, 0.7417702078819275, 0.15853191912174225, 0.8975696563720703, -0.1771448254585266, 0.37950536608695984, 1.1063816547393799, -0.8552777171134949, 0.6022400259971619, 0.6346976161003113, -0.3698815405368805, 0.24259720742702484, 0.56924968957901, -0.10688318312168121, 0.15332478284835815, 0.30409830808639526, -0.12878412008285522, -0.18836334347724915, -0.23446673154830933, -0.6110653877258301, 0.4274907410144806, 0.33469268679618835, -0.3041137754917145, -0.31230872869491577, 0.2735350728034973, 0.03241819143295288, -0.18177613615989685, -0.40966883301734924, 0.5854805707931519, 0.15175876021385193, -0.7453994154930115, 0.5093256235122681, -0.05290061980485916, 0.8893380165100098, -0.5970524549484253, 0.12419811636209488, -0.038017041981220245, 0.143029123544693, -0.17791339755058289, -0.6945645809173584, 0.2245117872953415, 0.06533598154783249, -0.24185240268707275, -0.4501998722553253, 0.6794090867042542, -0.7756364345550537, -0.7475734949111938, 0.5093327760696411, 0.8607175350189209, 0.12168797850608826, 0.007891600951552391, -0.5928131937980652, 0.5151495933532715, 0.028418155387043953, -0.226022407412529, 0.6126189231872559, 0.4303323030471802, -0.1297806203365326, 0.6447327733039856, 0.4096720218658447, 0.12079830467700958, 0.3489229679107666, 0.33844494819641113, 0.3990482687950134, -0.5870009660720825, 0.04661848396062851, -0.9800482988357544, 0.46740418672561646, -0.024742133915424347, -0.16811423003673553, 1.0066437721252441, 0.7347099184989929, 0.9122766852378845, -0.1515430361032486, 0.9314765334129333, 0.09471312910318375, 0.46515092253685, -0.6223441362380981, 0.55653315782547, -0.6284918785095215, 0.05780000612139702, -0.3181700110435486, -0.9680947065353394, -0.3106536865234375, 0.2640133798122406, -0.15097257494926453, 0.06967117637395859, 0.5615151524543762, 0.40725836157798767, 0.025702284649014473, -0.05297005549073219, 0.3134079575538635, 0.10334865003824234, 0.2058551013469696, 0.40377795696258545, 1.0616015195846558, -0.22369252145290375, 0.4478294253349304, -0.06515544652938843, 0.0897376611828804, -0.23232963681221008, -0.8764945268630981, -0.8561940789222717, -0.6485341191291809, -0.20116199553012848, -0.20902447402477264, -0.2117813378572464, 0.9380490779876709, 0.500992476940155, -0.9721572995185852, -0.5709354281425476, 0.4464435875415802, 0.3460855782032013, 0.023900382220745087, -0.15420310199260712, 0.29589536786079407, -0.5328841209411621, -0.9513612389564514, 0.12420982122421265, 0.12849152088165283, 0.059533361345529556, -0.7896559834480286, -0.07394876331090927, -0.5016418695449829, -0.4014868140220642, 0.9221413731575012, 0.1902213841676712, -0.8039863109588623, -0.052787866443395615, 0.10084542632102966, -0.35277634859085083, -0.052829474210739136, 0.8899973034858704, -0.254852831363678, 0.1687983125448227, 0.30082109570503235, 0.6712098121643066, 0.23338806629180908, -0.3348255455493927, 0.512881875038147, -0.6434555649757385, 0.21239502727985382, 0.07610990852117538, 0.6225839853286743, 0.7152628898620605, -0.08759815990924835, 0.3741624355316162, 0.029360676184296608, -0.4063873589038849, -1.0301438570022583, 0.19352783262729645, -0.8036611080169678, -0.4964098036289215, 1.3239670991897583, 0.16368640959262848, 0.04660998284816742, -0.2437492311000824, -0.29279622435569763, 0.2282557487487793, 0.04330676794052124, 0.3449864983558655, 1.1155154705047607, 0.10651019960641861, -0.18656499683856964, -0.7794225811958313, 0.36676260828971863, 0.29351165890693665, -0.653745174407959, 0.3878512978553772, 0.8182458877563477, 0.2907080352306366, 0.397314190864563, 0.5199858546257019, -0.3058142364025116, -0.33271631598472595, -0.3715575635433197, 0.12867125868797302, 0.2962587773799896, -0.3252842426300049, -0.5478639602661133, 0.4055922031402588, 0.2397426962852478, 0.2470453381538391 ]
http://arxiv.org/abs/2404.00925v1
http://arxiv.org/pdf/2404.00925v1
LLMs are Good Sign Language Translators
2024-04-01T05:07:13
2024-04-01T05:07:13
Jia Gong, Lin Geng Foo, Yixuan He, Hossein Rahmani, Jun Liu
cs.CV
cs.CV, cs.CL
Sign Language Translation (SLT) is a challenging task that aims to translate sign videos into spoken language. Inspired by the strong translation capabilities of large language models (LLMs) that are trained on extensive multilingual text corpora, we aim to harness off-the-shelf LLMs to handle SLT. In this paper, we regularize the sign videos to embody linguistic characteristics of spoken language, and propose a novel SignLLM framework to transform sign videos into a language-like representation for improved readability by off-the-shelf LLMs. SignLLM comprises two key modules: (1) The Vector-Quantized Visual Sign module converts sign videos into a sequence of discrete character-level sign tokens, and (2) the Codebook Reconstruction and Alignment module converts these character-level tokens into word-level sign representations using an optimal transport formulation. A sign-text alignment loss further bridges the gap between sign and text tokens, enhancing semantic compatibility. We achieve state-of-the-art gloss-free results on two widely-used SLT benchmarks.
[ 0.10891954600811005, -0.0917234793305397, 0.45927664637565613, -0.023041823878884315, -0.7392784953117371, 0.2176678627729416, -0.1934077888727188, -0.2968484163284302, 0.2384399026632309, 0.4962746798992157, -0.3282894790172577, -0.8059729337692261, -0.9634894728660583, 0.08290679007768631, -0.5977214574813843, 0.8916773796081543, -0.3952905833721161, 0.31513863801956177, 0.23771438002586365, -0.09826105087995529, -0.08824818581342697, -0.2763628363609314, -0.525780975818634, -0.1289098709821701, 0.0970776155591011, 0.023108728229999542, 0.9481330513954163, 0.6211040616035461, 0.5296441912651062, 0.17286497354507446, -0.03572759032249451, 0.21509982645511627, -0.40004923939704895, -0.04031809791922569, 0.2775272727012634, -0.29936715960502625, -0.6120501756668091, -0.14872349798679352, 0.8229033350944519, 0.5063186883926392, 0.26763567328453064, 0.008454691618680954, -0.21526753902435303, 0.34115827083587646, -0.10622691363096237, 0.34999942779541016, -0.4239957332611084, 0.08159475773572922, -0.08688990026712418, -0.011320667341351509, -0.42101675271987915, -0.400129109621048, -0.3912070095539093, -0.7590745091438293, 0.05840636044740677, 0.24910418689250946, 0.7269390225410461, 0.6449100375175476, -0.5765180587768555, -0.12786592543125153, -0.7463225722312927, 0.6076050996780396, -1.0299656391143799, 0.6558249592781067, 0.24684804677963257, 0.2435852587223053, -0.14532405138015747, -0.39191240072250366, -0.4474789500236511, -0.07522686570882797, -0.05760911479592323, 0.13068576157093048, -0.006998203229159117, 0.2760113477706909, 0.03767998516559601, 0.4847922921180725, -0.8014310002326965, 0.21510453522205353, -0.1392761915922165, -0.44461530447006226, 0.6148010492324829, 0.11235909163951874, 0.5755401849746704, -0.02370416186749935, -0.6803216338157654, -0.09367644786834717, -0.6334552764892578, -0.19130834937095642, 0.03904392942786217, 0.47415998578071594, -0.3477114140987396, 0.6450446248054504, 0.2311163991689682, 0.769102931022644, -0.26138919591903687, -0.45800676941871643, 0.045368436723947525, -0.4002579152584076, -0.28340521454811096, 0.048520367592573166, 0.7101274132728577, 0.30187562108039856, 0.40669822692871094, -0.004271344281733036, -0.4797489047050476, -0.04150228947401047, -0.41109979152679443, -0.7313747406005859, 0.03210998326539993, 0.0011688239173963666, -0.3710416555404663, 0.23783183097839355, 0.13918428122997284, -0.16738511621952057, -0.4852268695831299, -0.2825498580932617, 0.38436710834503174, -0.3592424988746643, -0.45484134554862976, 0.5774938464164734, 0.08323090523481369, 0.5707837343215942, 0.6416458487510681, -0.7622623443603516, 0.2753642201423645, 0.6920942068099976, 0.8594586253166199, -0.5285161733627319, 0.17079602181911469, -0.6701580286026001, 0.32974499464035034, -0.3379459083080292, 0.36877429485321045, -0.18056917190551758, -0.1817813515663147, 0.24236266314983368, -0.1355406492948532, -0.01788303628563881, -0.32529976963996887, 0.19419018924236298, -0.5991843342781067, -0.06677704304456711, 0.2893980145454407, -0.6440207362174988, 0.052927643060684204, 0.1720060408115387, -0.5938330888748169, 0.8072873950004578, 0.04348224774003029, -0.02353002317249775, 0.4642598330974579, -0.3021582067012787, -0.6778495907783508, 0.24072706699371338, -0.08540772646665573, -0.37571510672569275, 0.0071380361914634705, 0.08624421805143356, 0.7065054774284363, -0.031088484451174736, 0.03883969783782959, 0.24016442894935608, -0.391979843378067, 0.4215161204338074, -0.2103281021118164, 0.38132038712501526, 0.2556041181087494, -0.22556379437446594, 0.11051677167415619, -0.6612372994422913, -0.1754252165555954, -0.2853655517101288, -0.25731897354125977, -0.1549205183982849, -0.28057289123535156, 0.2666516602039337, 0.32527628540992737, 0.24424877762794495, -0.5519415140151978, 0.021983034908771515, -0.46138763427734375, 0.4442385733127594, 0.6263608932495117, -0.24870549142360687, 0.5306836366653442, 0.2146499902009964, 0.7850744128227234, 0.0263915304094553, 0.22289687395095825, -0.24835729598999023, -0.6771085262298584, -0.7525800466537476, -0.48822033405303955, -0.1767364889383316, 0.34447216987609863, -0.5758525729179382, 0.10735994577407837, -0.33994296193122864, -0.03601855784654617, -0.6449490785598755, 0.37952688336372375, 0.5769644975662231, 0.06401481479406357, 0.4897136390209198, -0.4093535840511322, -0.25955188274383545, -0.44141724705696106, -0.12368456274271011, -0.3361104130744934, -0.035389285534620285, -0.15685588121414185, 0.26065945625305176, -0.0659417062997818, 0.5610209703445435, -0.3299822211265564, -0.722529947757721, -0.24664348363876343, -0.4120278060436249, 0.47417083382606506, 0.2936767339706421, 0.08721673488616943, -0.9272821545600891, -0.7505903840065002, 0.28485605120658875, -0.5725052952766418, -0.00483494158834219, -0.3701898455619812, 0.13233797252178192, -0.09149717539548874, 0.7299104332923889, -0.550693154335022, 0.37628886103630066, 0.7055009007453918, -0.6641139388084412, 0.29230546951293945, -0.044623907655477524, 0.20659460127353668, -1.0221279859542847, -0.12583187222480774, -0.12866251170635223, -0.7752025723457336, -0.617682933807373, 0.05821530520915985, 0.06274911761283875, -0.4934784770011902, -0.973977267742157, 0.6454799175262451, -0.7258093357086182, -0.442384272813797, -0.09330477565526962, 0.6221131086349487, 0.019030919298529625, 0.2364485263824463, -0.014198493212461472, 0.7479453086853027, 0.4647020995616913, -0.5309534668922424, 0.4051571786403656, 0.5614948868751526, -0.13475488126277924, 0.6872014403343201, -0.329376757144928, 0.014392532408237457, -0.07292473316192627, -0.032784730195999146, -1.1138087511062622, -0.13863489031791687, 0.37911492586135864, -0.31668081879615784, 0.6261564493179321, -0.09097739309072495, -0.4376819431781769, 0.012413939461112022, -0.1801549792289734, 0.35358259081840515, 0.745698094367981, -0.47889697551727295, 0.6714195013046265, 0.17723348736763, -0.0024961356539279222, -0.15577061474323273, -0.8709221482276917, 0.3428635895252228, -0.024884743615984917, -0.6906577348709106, 0.32696568965911865, -0.18231649696826935, -0.07454568147659302, -0.2551296055316925, -0.1482316553592682, -0.0058907316997647285, -0.14167673885822296, 0.18337640166282654, 0.025865819305181503, -0.36865824460983276, 0.09675804525613785, -0.1485094577074051, -0.34581321477890015, -0.24061726033687592, -0.45919281244277954, 0.16216251254081726, -0.20746351778507233, -0.5358989834785461, -0.6450833678245544, 0.22704537212848663, 0.6048168540000916, -0.08733465522527695, 0.38170087337493896, 0.757854163646698, -0.22927656769752502, -0.12416509538888931, -0.23098699748516083, -0.06283419579267502, -0.4538971483707428, 0.3618856370449066, -0.39608678221702576, -1.1165157556533813, 0.33592724800109863, -0.06792031228542328, 0.12457101047039032, 0.12151289731264114, 0.47125065326690674, -0.13818538188934326, 0.8880274891853333, 0.5849788784980774, 0.22289562225341797, 0.5152831673622131, -0.07029487192630768, 0.3112022578716278, -0.5417441129684448, -0.20998403429985046, -0.10588713735342026, -0.1716965287923813, -0.08187548816204071, -0.7692533731460571, 0.19975148141384125, 0.18902234733104706, 0.02003091759979725, 0.8676635026931763, -0.4185985028743744, 0.23432062566280365, -0.16793833673000336, -0.10677458345890045, 0.7542279362678528, 0.11078707873821259, 0.021859413012862206, -0.5227225422859192, -0.40164878964424133, -0.6766499876976013, 0.7059473991394043, 0.4853914678096771, 0.8856441378593445, 0.5409623980522156, 0.6774781942367554, 0.34318646788597107, 0.32081764936447144, -0.9357887506484985, 0.8924596309661865, -0.5536748766899109, -0.28532674908638, -0.28969743847846985, -0.199079230427742, -0.7384477257728577, 0.31097543239593506, -0.19536550343036652, -0.3451801538467407, -0.2983209490776062, 0.2091892659664154, 0.11901430040597916, 0.3723176419734955, -0.5661142468452454, 0.6631661057472229, -0.5233629941940308, -0.05176546797156334, -0.056449610739946365, -0.6057268381118774, 0.30099451541900635, -0.2005562037229538, 0.5243146419525146, -0.2213601917028427, -0.42846986651420593, 0.48535341024398804, -0.5230569839477539, 1.0712193250656128, 0.0171743743121624, -0.6258458495140076, 0.10397874563932419, 0.28714317083358765, 0.5717042684555054, -0.02682793140411377, -0.03777496516704559, -0.01787414401769638, -0.06997740268707275, -0.4199354350566864, -0.6305516958236694, 0.4076477885246277, -0.5560526251792908, -0.5140122175216675, -0.3067062795162201, -0.43520069122314453, -0.05018610879778862, 0.22727130353450775, -0.13533705472946167, 0.260111927986145, -0.34638652205467224, -0.315658837556839, 0.73140949010849, 0.025344571098685265, 0.3809850215911865, 0.5047013163566589, -0.4663458466529846, -0.5248078107833862, 0.9735009074211121, -0.38571542501449585, 0.6435559988021851, 0.6403760313987732, 0.03465308994054794, -0.4524645507335663, -0.7744541168212891, -0.6205857396125793, 0.5111783742904663, -0.9248846769332886, -0.23111501336097717, -0.09544192254543304, 0.08990918099880219, -0.5665043592453003, -0.2558937668800354, -0.3115164339542389, -0.48783570528030396, -0.5190153121948242, -0.2906418442726135, 0.5669843554496765, 0.5884243249893188, -0.05428416654467583, 0.44733765721321106, -0.698794424533844, 0.5558531284332275, 0.2778674066066742, 0.2542840838432312, -0.4666626751422882, -0.8528141379356384, -0.39415308833122253, -0.36706066131591797, 0.06867408007383347, -0.6756722331047058, 0.23319970071315765, 0.6554484367370605, 0.2696199417114258, 0.497141033411026, -0.07075925916433334, 0.6161268949508667, -0.38441869616508484, 0.958358883857727, 0.7891076803207397, -0.8596038818359375, 0.25648370385169983, -0.2524920701980591, 0.3368251323699951, 0.16948245465755463, 0.26743030548095703, -0.8292099833488464, -0.5899292826652527, -0.16182531416416168, -0.8225203156471252, 0.3412579298019409, 0.442392498254776, 0.39395397901535034, 0.07699249684810638, 0.3916250169277191, 0.10822697728872299, 0.012621408328413963, -0.9491530060768127, -0.11580345779657364, -0.4535962641239166, -0.5351542830467224, -0.12443078309297562, 0.052465856075286865, 0.1462274193763733, -0.009273737668991089, 0.7086838483810425, -0.1525707095861435, 0.029959777370095253, 0.08622188121080399, -0.576547384262085, -0.04041210189461708, 0.36878326535224915, 0.6589837074279785, 0.19586001336574554, 0.03808410465717316, 0.3947879374027252, 0.035680029541254044, -0.6724465489387512, 0.5179173350334167, -0.14627191424369812, -0.45643532276153564, 0.2849864959716797, 0.46980682015419006, 0.742335319519043, 0.5447090268135071, -0.6252545714378357, 0.6573051810264587, 0.3053470849990845, -0.03930821642279625, -0.2747441828250885, -0.09989333897829056, 0.009574808180332184, 0.11622504889965057, 0.26518502831459045, -0.1654636561870575, -0.28500792384147644, -0.2625022530555725, 0.3130132853984833, 0.365121066570282, -0.6206345558166504, -0.4730188846588135, 0.9787068963050842, 0.4852994978427887, -0.6875873804092407, 0.04674059525132179, -0.1385742723941803, -0.5427807569503784, 0.18510183691978455, 0.7123374342918396, 0.7855702638626099, -0.07343676686286926, 0.43490907549858093, 0.3914114832878113, 0.4083464443683624, -0.21649576723575592, 0.2360440045595169, -0.05483870953321457, -0.5367503762245178, -0.5612103939056396, -0.7121938467025757, -0.4081972539424896, -0.19953127205371857, -0.3692037761211395, 0.41907647252082825, -0.5272693634033203, -0.21546950936317444, -0.6168954968452454, -0.4499337077140808, -0.5358889102935791, 0.388094425201416, 0.47012487053871155, 0.6332146525382996, -0.9233484864234924, 0.6805371046066284, 0.5380465388298035, -0.49514707922935486, -0.6490176916122437, -0.33573588728904724, -0.19915369153022766, -0.8975584506988525, 0.5787502527236938, -0.03860156238079071, -0.301278680562973, 0.39711448550224304, -0.2017672210931778, -0.8747527599334717, 0.7951599359512329, 0.5574328303337097, -0.5699211955070496, 0.0016363157192245126, 0.7617093324661255, 0.4665679633617401, -0.4480176568031311, -0.14019720256328583, 0.43778330087661743, 0.5525084733963013, 0.06247339025139809, -0.6922842860221863, 0.3842976689338684, 0.0784396156668663, 0.24187465012073517, 0.3012886643409729, -0.4876076281070709, 0.34688258171081543, -0.2609873414039612, -0.4305400848388672, 0.16846220195293427, 0.8978684544563293, 0.19153515994548798, 0.2949244976043701, 0.22163785994052887, 0.33258238434791565, 0.5088936686515808, 0.05651887506246567, 0.6689978241920471, -0.11994465440511703, 0.18671737611293793, 0.7153328657150269, -0.17373959720134735, 0.8187994360923767, 0.883527398109436, -0.3761823773384094, 0.3350759744644165, 0.48852866888046265, 0.012715646997094154, 0.2742916941642761, 0.4148922264575958, -0.40087974071502686, -0.5653440952301025, 0.037547945976257324, -0.06745459139347076, 0.06238757073879242, 0.3031635284423828, -0.45246708393096924, -0.18287521600723267, 0.22356528043746948, 0.024957645684480667, 0.6482695937156677, -0.5569562911987305, 0.4714699685573578, 0.6483657360076904, -0.06943627446889877, 0.7378995418548584, -0.17862975597381592, 0.8083446025848389, -0.7025311589241028, 0.0423891618847847, -0.2423606961965561, 0.089222252368927, -0.36736172437667847, -0.6877085566520691, 0.13323615491390228, 0.07219944894313812, 0.11908069998025894, -0.8096540570259094, 0.6421703100204468, -0.6773180961608887, -0.3836648166179657, 0.3733755350112915, 0.3261283338069916, 0.8458493947982788, 0.3397700786590576, -0.6343565583229065, 0.22716018557548523, -0.009623382240533829, -0.04130998253822327, 0.20121543109416962, 0.361564964056015, -0.09651223570108414, 0.5204353332519531, 0.5929226279258728, 0.21455135941505432, 0.19335483014583588, 0.33566465973854065, 0.3953547477722168, -0.7063717246055603, -0.40719446539878845, -0.5709438323974609, 0.7156943082809448, 0.2317967265844345, -0.32905328273773193, 0.7949739694595337, 0.5876973271369934, 0.6140756607055664, -0.3021065294742584, 0.5187685489654541, 0.17368803918361664, -0.1300833523273468, -0.910480260848999, 0.703449547290802, -0.5756412744522095, 0.15255045890808105, -0.33408060669898987, -0.9245534539222717, -0.7714794874191284, 0.4072416424751282, 0.07911984622478485, -0.3329848647117615, 0.5551552772521973, 0.8461294174194336, -0.02130020037293434, -0.554523766040802, 0.9758962392807007, 0.11131070554256439, 0.47956201434135437, 0.6878609657287598, 0.4684402644634247, -0.9473481178283691, 1.0630398988723755, 0.5879249572753906, -0.07007695734500885, -0.2298736274242401, -1.0141206979751587, -0.8611900806427002, -0.5275574922561646, -0.7932339906692505, -0.3489101529121399, -0.027343997731804848, 0.5749902725219727, 0.6241768002510071, -0.7245647311210632, -0.30533072352409363, 0.004940971732139587, 0.17398637533187866, -0.2631772756576538, -0.1384018361568451, 0.4149947762489319, 0.023604538291692734, -0.6024447083473206, 0.6310657858848572, 0.4250727593898773, 0.47206196188926697, -0.48490557074546814, -0.6891773343086243, 0.08989299088716507, -0.04580626264214516, 0.7359722852706909, 0.4513847827911377, -0.8314261436462402, -0.3202868700027466, 0.055677060037851334, -0.35159704089164734, 0.1786147505044937, 0.8473249077796936, -0.35881122946739197, 0.3849833905696869, 0.39733049273490906, 0.48936334252357483, 1.012922763824463, -0.22790202498435974, 0.599868893623352, -0.8784047961235046, 0.27671897411346436, 0.193365216255188, 0.3372199535369873, 0.7393706440925598, -0.2747841775417328, 0.4211902916431427, 0.2608388662338257, 0.007171936333179474, -0.6812437176704407, 0.591672956943512, -1.3293355703353882, 0.05138644576072693, 1.4243338108062744, -0.15588392317295074, -0.24363861978054047, -0.27605339884757996, -0.08311097323894501, 0.31480172276496887, -0.3518025577068329, 0.22323113679885864, 0.313795804977417, -0.04009860008955002, -0.47894030809402466, -0.34173157811164856, 0.5734424591064453, 0.38052040338516235, -0.433897465467453, -0.0026546772569417953, 0.30269742012023926, 0.2820909917354584, -0.04999992623925209, 0.828477144241333, -0.3655538856983185, 0.22559919953346252, -0.4493415653705597, 0.231248676776886, -0.2962527573108673, 0.04374042525887489, -0.4477619230747223, -0.1672942042350769, 0.32944032549858093, -0.13168217241764069 ]
http://arxiv.org/abs/2404.00914v1
http://arxiv.org/pdf/2404.00914v1
Token-Efficient Leverage Learning in Large Language Models
2024-04-01T04:39:44
2024-04-01T04:39:44
Yuanhao Zeng, Min Wang, Yihang Wang, Yingxia Shao
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have excelled in various tasks but perform better in high-resource scenarios, which presents challenges in low-resource scenarios. Data scarcity and the inherent difficulty of adapting LLMs to specific tasks compound the challenge. To address the twin hurdles, we introduce \textbf{Leverage Learning}. We present a streamlined implement of this methodology called Token-Efficient Leverage Learning (TELL). TELL showcases the potential of Leverage Learning, demonstrating effectiveness across various LLMs and low-resource tasks, ranging from $10^4$ to $10^6$ tokens. It reduces task data requirements by up to nearly an order of magnitude compared to conventional Supervised Fine-Tuning (SFT) while delivering competitive performance. With the same amount of task data, TELL leads in improving task performance compared to SFT. We discuss the mechanism of Leverage Learning, suggesting it aligns with quantization hypothesis and explore its promising potential through empirical testing.
[ 0.24764861166477203, -0.7029679417610168, 0.3613656461238861, 0.20742061734199524, -0.15011055767536163, 0.3150504529476166, -0.5595897436141968, -0.28735700249671936, 0.06730768084526062, 0.4449124038219452, -0.3930709660053253, -0.6714435815811157, -0.6695507168769836, -0.1734827309846878, -0.35392439365386963, 0.9763245582580566, 0.05713878944516182, 0.1066313087940216, 0.011037582531571388, -0.31880688667297363, -0.44627639651298523, -0.6035470962524414, -1.1014609336853027, -0.08612611144781113, 0.7522597312927246, 0.64591383934021, 0.39827489852905273, 0.8848950266838074, 0.544797956943512, 0.33049625158309937, -0.048735909163951874, 0.03856246918439865, -0.8132414221763611, 0.010011245496571064, -0.06043243780732155, -0.8174952864646912, -0.4513722360134125, 0.005383251700550318, 0.5760042667388916, 0.9888946413993835, -0.11631759256124496, 0.3049600124359131, 0.05458568036556244, 0.7344952821731567, -0.7783687710762024, 0.2790297269821167, -0.8725975751876831, -0.1599808931350708, -0.2349325567483902, -0.05529506504535675, -0.5702598094940186, -0.2355455905199051, -0.11128318309783936, -0.7247877717018127, 0.007897404953837395, 0.3403719365596771, 0.5771417617797852, 0.22065015137195587, -0.531009316444397, -0.15647780895233154, -0.5166114568710327, 1.003998875617981, -0.43022021651268005, 0.39893415570259094, 0.4665064215660095, 0.1939975768327713, 0.14182154834270477, -0.9927032589912415, -0.22818733751773834, -0.4094510078430176, 0.11431819945573807, -0.2157762348651886, -0.2604512572288513, 0.01738082431256771, 0.43299391865730286, 0.38817864656448364, -0.16242101788520813, 0.5672659873962402, -0.49151745438575745, -0.20440328121185303, 0.4979102611541748, 0.1018889993429184, -0.06453406810760498, 0.07312692701816559, -0.48989006876945496, -0.37881913781166077, -0.8967502117156982, 0.22681450843811035, 0.3559868633747101, 0.6627299785614014, -0.10347649455070496, 0.4711817502975464, -0.044345904141664505, 0.48085618019104004, -0.07869639992713928, -0.1260196417570114, 0.12837910652160645, -0.23746705055236816, -0.23665547370910645, -0.08088981360197067, 0.4828755259513855, 0.09680455178022385, 0.037481725215911865, -0.2466462403535843, -0.4225912392139435, -0.40913400053977966, 0.2043328881263733, -0.9565635323524475, -0.15152522921562195, -0.08189883083105087, -0.6875417232513428, -0.3940669000148773, -0.07688271254301071, -0.329052209854126, -0.4206223487854004, -0.380950003862381, 0.47350677847862244, -0.6415792107582092, -0.20408762991428375, -0.04336720332503319, -0.11358413845300674, 0.1728675663471222, 0.17217105627059937, -1.1186851263046265, 0.4120188057422638, 1.0012211799621582, 1.0688278675079346, -0.24061211943626404, -0.22326405346393585, -1.3136659860610962, -0.06742183119058609, -0.45068782567977905, 0.39867886900901794, -0.37073734402656555, -0.5163289904594421, -0.07044612616300583, -0.24366573989391327, 0.08530919998884201, -0.7123827338218689, 0.5909422039985657, -0.5325713157653809, -0.3081473410129547, -0.4612977206707001, -0.6261389255523682, -0.12366840243339539, 0.15946783125400543, -0.795805037021637, 1.1383057832717896, 0.3466896116733551, -0.6119391322135925, 0.7597144842147827, -0.7732728719711304, -0.49543145298957825, 0.12882685661315918, 0.22158409655094147, -0.3014663755893707, 0.33579328656196594, 0.020867248997092247, 0.5382936596870422, -0.2971586585044861, 0.15393944084644318, -0.561734676361084, -0.4578089118003845, 0.38278377056121826, -0.452742338180542, 0.6429257988929749, 0.28418344259262085, -0.26119908690452576, 0.40899479389190674, -0.7260458469390869, -0.15746910870075226, 0.04553522914648056, -0.3100608289241791, -0.6590883135795593, -0.07471395283937454, 0.08359277248382568, -0.1311984807252884, 0.2400473654270172, -0.3384989798069, 0.4322071969509125, -0.5358052849769592, 0.35139235854148865, 0.9309511184692383, -0.4395458698272705, 0.6944736242294312, -0.18530791997909546, 0.5106547474861145, 0.08423224836587906, 0.006391739007085562, -0.11625760048627853, 0.24927085638046265, -0.830558717250824, -0.5449363589286804, 0.6391822695732117, 0.34764230251312256, -0.7612401843070984, 0.09430237114429474, -0.21920357644557953, -0.35352209210395813, -0.3586173951625824, 0.48109906911849976, 0.4029017388820648, 0.39843475818634033, 0.3271142542362213, -0.1667649894952774, -0.46282652020454407, -0.8335925340652466, -0.5551190376281738, 0.01654285006225109, -0.18594913184642792, 0.248939648270607, 0.47971633076667786, 0.2210845798254013, 0.8090870976448059, -0.5938553810119629, -0.3409293591976166, -0.43039670586586, 0.27833661437034607, 0.2036137878894806, 0.38327354192733765, 0.4568970501422882, -0.9051388502120972, -0.5101711750030518, 0.11772430688142776, -0.3913317620754242, 0.07505661249160767, -0.08683516830205917, 0.06917265057563782, 0.3362009823322296, 1.0140514373779297, -0.3292531371116638, 0.12023191154003143, 0.49177634716033936, -0.3808438181877136, 0.49903497099876404, -0.3053654134273529, -0.17741627991199493, -1.1397349834442139, 0.29059305787086487, -0.0026467812713235617, -0.4286935031414032, -0.4495045244693756, -0.21695005893707275, 0.32469114661216736, -0.1641758531332016, -0.3934749662876129, 0.6621295213699341, -0.5200011730194092, -0.10018227249383926, -0.33756136894226074, -0.044905997812747955, -0.4887197017669678, 0.4988802373409271, -0.24713127315044403, 0.8818302750587463, 0.603394091129303, -0.48288947343826294, 0.2298211306333542, -0.08492688834667206, -0.43471503257751465, 0.3597651422023773, -0.5714852809906006, 0.055851489305496216, 0.10992743074893951, 0.08030923455953598, -0.7374221682548523, -0.11380813270807266, -0.12019739300012589, -0.08394264429807663, 0.3242736756801605, -0.2300591766834259, -0.6673226952552795, -0.15360522270202637, -0.37059199810028076, 0.412569135427475, 0.5369622707366943, -0.8559993505477905, 0.5178502202033997, 0.27570992708206177, -0.21890638768672943, -0.8615068197250366, -0.3768141567707062, 0.101557657122612, -0.5587542057037354, -0.1803613305091858, 0.3566785454750061, 0.21752817928791046, -0.32024040818214417, 0.002908410970121622, -0.17172710597515106, 0.053108569234609604, 0.4769619107246399, 0.31681278347969055, 0.26529955863952637, -0.006292743608355522, 0.6331031918525696, 0.01991848088800907, -0.19366148114204407, -0.06391830742359161, -0.6797341704368591, 0.5329061150550842, -0.2474001944065094, -0.3257676064968109, -0.058538056910037994, -0.02346854656934738, 0.5526524186134338, -0.17823907732963562, 1.0111031532287598, 0.7142611742019653, -0.19748488068580627, -0.5069006085395813, -0.49331238865852356, -0.26165732741355896, -0.5301951766014099, 0.5453689098358154, -0.33466365933418274, -1.2099370956420898, 0.4582829177379608, -0.6355494856834412, 0.15376794338226318, 0.36617234349250793, 0.5455327033996582, 0.09334297478199005, 0.7966513633728027, 1.0248345136642456, -0.374383807182312, 0.6942476630210876, -0.37742722034454346, 0.3280636966228485, -0.4101942181587219, -0.1910543441772461, -0.44475361704826355, -0.5061521530151367, -0.4281207025051117, -0.5567069053649902, 0.42437103390693665, 0.37665146589279175, -0.2662337124347687, 0.36736711859703064, 0.10744643956422806, 0.4996897876262665, 0.8576685786247253, 0.05458834767341614, 0.393661230802536, -0.07903633266687393, -0.08191002905368805, 0.05365917086601257, -0.847104012966156, -0.21861428022384644, 1.3658212423324585, 0.44025906920433044, 0.6880653500556946, -0.05899360030889511, 0.6554626226425171, 0.23858973383903503, 0.3979407250881195, -1.0200248956680298, 0.48345449566841125, -0.3070676028728485, -0.09733328223228455, -0.5103417038917542, -0.5824284553527832, -0.9710044860839844, -0.036163076758384705, -0.3943450450897217, -0.5394833087921143, -0.11272634565830231, 0.19412761926651, -0.20707498490810394, 0.48791077733039856, -0.7482174038887024, 0.8527969717979431, -0.33228614926338196, -0.37853965163230896, -0.6627957820892334, -0.4163063168525696, 0.26675066351890564, -0.33134180307388306, 0.2592068612575531, 0.037133801728487015, -0.3649061322212219, 0.8359178900718689, -0.5570337176322937, 1.135138988494873, -0.30356013774871826, -0.15241752564907074, 0.045364923775196075, -0.013551163487136364, 0.7434662580490112, 0.01833207905292511, -0.17112164199352264, 0.027095630764961243, -0.2888794243335724, -0.5116463303565979, -0.5821704268455505, 0.5680676102638245, -0.5029746294021606, -0.25546780228614807, 0.051804207265377045, -0.7721498608589172, -0.3090180456638336, 0.2394704669713974, 0.0728364959359169, 0.36316779255867004, -0.2321745604276657, 0.5984845161437988, 0.45826807618141174, -0.13826382160186768, 0.6610162258148193, 0.24345263838768005, -0.08879556506872177, -0.3262149691581726, 0.9951661229133606, 0.10437190532684326, 0.2093317210674286, 0.5317974090576172, 0.2569620907306671, -0.3863452076911926, -0.6769585013389587, -0.03541470691561699, 0.19875121116638184, -0.5344792604446411, -0.44251659512519836, -0.44223129749298096, 0.05101332068443298, -0.14378111064434052, -0.3075565695762634, -0.608618438243866, -0.5206372737884521, -0.17812590301036835, -0.3476135730743408, 0.48943883180618286, 0.4270307123661041, -0.20080044865608215, 0.35612812638282776, -0.7809246778488159, -0.012396210804581642, 0.4400908946990967, 0.5146777033805847, 0.12530472874641418, -0.4519292116165161, -0.6862369775772095, -0.06813924759626389, -0.34854453802108765, -0.38930538296699524, 0.43209585547447205, 0.13947884738445282, 0.3823857009410858, 0.4528369605541229, 0.265919953584671, 0.6262449026107788, -0.24033646285533905, 0.5382177829742432, 0.3974713087081909, -1.332984209060669, 0.27395862340927124, -0.27932319045066833, -0.006704183295369148, 0.5691531896591187, 0.5096195936203003, -0.45423102378845215, -0.2196972817182541, -0.6618289351463318, -1.1280944347381592, 0.632887065410614, -0.030802132561802864, 0.22616900503635406, 0.1368098109960556, 0.40631645917892456, 0.3905088007450104, 0.26775357127189636, -0.7723896503448486, -0.04566555470228195, 0.1884990930557251, -0.1973668336868286, -0.15947918593883514, -0.3532881736755371, -0.12229377031326294, -0.17755238711833954, 0.5622082352638245, -0.5134716629981995, -0.11091935634613037, -0.2718889117240906, -0.3308738172054291, 0.11332433670759201, 0.16529572010040283, 0.23986771702766418, 0.6695677638053894, 0.12393225729465485, 0.1653512865304947, 0.7075037956237793, -0.15949903428554535, -0.07782572507858276, -0.09304032474756241, 0.22318202257156372, -0.3461940288543701, 0.5104940533638, 1.1547237634658813, 0.5763916969299316, -0.9417921900749207, 0.6690796613693237, 0.09750174731016159, -0.5258554816246033, -0.14389149844646454, 0.06270642578601837, 0.23423977196216583, 0.5711007118225098, 0.607430636882782, -0.22360751032829285, 0.010163399390876293, -0.5009465217590332, 0.1983562856912613, 0.621222198009491, -0.37417230010032654, -0.17268328368663788, 0.47828394174575806, 0.26062190532684326, -0.24162885546684265, 0.819790780544281, -0.14586098492145538, -0.43997922539711, 0.5553321242332458, 0.41509586572647095, 0.794588029384613, 0.12593623995780945, 0.051818836480379105, 0.30660346150398254, 0.031661685556173325, -0.27955543994903564, 0.03391741216182709, -0.34334948658943176, -0.42926695942878723, -0.8998174667358398, -0.6099138855934143, -0.48270562291145325, 0.07974075525999069, -0.6918014287948608, 0.5469094514846802, -0.4224485456943512, -0.038671426475048065, -0.15117605030536652, 0.09119722247123718, -0.4952315092086792, -0.13713230192661285, 0.058166712522506714, 1.1565662622451782, -0.7558854818344116, 0.9440855383872986, 0.44112661480903625, -0.09017811715602875, -0.9712784886360168, -0.002992703579366207, -0.291048139333725, -0.9573044180870056, 1.2422986030578613, 0.19724701344966888, -0.014221708290278912, 0.08234155923128128, -0.6829448938369751, -0.6989622116088867, 1.190808892250061, 0.6079875826835632, -0.5803590416908264, 0.006015004124492407, -0.02834843099117279, 0.38677483797073364, -0.14945043623447418, -0.014577075839042664, 0.4689105153083801, 0.3742266893386841, 0.1139402687549591, -0.9507851600646973, 0.06612590700387955, 0.0052441926673054695, 0.01416995283216238, 0.38317567110061646, -0.7118280529975891, 0.7448896765708923, -0.5027387738227844, -0.19817757606506348, -0.09012006223201752, 0.8651148676872253, 0.11029517650604248, 0.3919979929924011, 0.8438527584075928, 0.4845767915248871, 1.0387425422668457, -0.0346854105591774, 0.831401526927948, -0.34195035696029663, 0.5427116751670837, 0.8172692060470581, -0.14809148013591766, 0.9276219010353088, 0.5290724039077759, -0.21567031741142273, 0.3678208291530609, 0.356762170791626, -0.029561098664999008, 0.3876694440841675, 0.45716604590415955, -0.2717651426792145, -0.4590620994567871, -0.09477891027927399, 0.09219834953546524, 0.7276983857154846, 0.2197461575269699, -0.16856124997138977, -0.07756006717681885, 0.18052001297473907, 0.0706610456109047, 0.030686214566230774, -0.4966144561767578, 0.9284718036651611, 0.2696453034877777, -0.43161430954933167, 0.492177814245224, 0.10489851236343384, 0.7869071364402771, -0.7380407452583313, 0.016616489738225937, -0.14958684146404266, 0.33449113368988037, 0.12231177091598511, -0.40677744150161743, 0.28954312205314636, 0.006077204365283251, -0.06171019375324249, -0.6146420240402222, 0.6691813468933105, -0.4900895953178406, -0.483882874250412, 0.2967768609523773, 0.4659842252731323, -0.16104905307292938, -0.17449349164962769, -0.4990580081939697, -0.10186731815338135, -0.21117739379405975, -0.23575858771800995, 0.6712262034416199, 0.545021116733551, -0.14704306423664093, 0.9316717386245728, 0.9152746796607971, 0.28046590089797974, -0.193805530667305, -0.12568990886211395, 0.851020872592926, -0.8113505244255066, -0.6260374784469604, -1.0039483308792114, 0.4047107994556427, -0.3100956976413727, -0.15633682906627655, 0.6999441385269165, 0.7648665308952332, 0.8929540514945984, -0.052638426423072815, 0.6663720607757568, 0.06458842754364014, 0.446951687335968, -0.818362832069397, 0.5450087785720825, -0.6288375854492188, 0.34786316752433777, 0.05915430188179016, -0.5920160412788391, -0.33639368414878845, 0.3418118953704834, -0.3797948360443115, -0.04174254089593887, 0.8409512639045715, 0.6233232021331787, -0.16052401065826416, -0.17702080309391022, 0.3491925895214081, 0.18539340794086456, 0.1516721546649933, 0.5085153579711914, 0.641531229019165, -0.16828575730323792, 0.6887835264205933, -0.2393292635679245, -0.24885693192481995, -0.368580162525177, -1.1141902208328247, -0.9619742035865784, -0.6066077351570129, -0.1557016372680664, -0.2439272105693817, -0.09117113053798676, 1.1722463369369507, 0.8660961985588074, -0.645521879196167, -0.3550497591495514, -0.16723690927028656, 0.2716121971607208, -0.5142189860343933, -0.15090100467205048, 0.6286478042602539, -0.7842395305633545, -0.8264732956886292, 0.37032976746559143, 0.24213477969169617, -0.18410557508468628, 0.11236191540956497, -0.0703195333480835, 0.2762759029865265, -0.31618598103523254, 0.7221049070358276, 0.23778003454208374, -0.2724441587924957, -0.09298509359359741, 0.10044176131486893, -0.03309652954339981, -0.19090726971626282, 1.3897048234939575, -0.7140435576438904, 0.0752977505326271, 0.14538827538490295, 0.9345793724060059, 0.6973375678062439, -0.00322973751462996, 0.627791702747345, -0.9343844652175903, 0.3244338929653168, 0.16784675419330597, 0.2429024577140808, 0.10400380939245224, -0.31681013107299805, 0.5229493975639343, 0.255950391292572, -0.3421662151813507, -0.997677743434906, 0.03590407967567444, -1.0597397089004517, -0.4423358738422394, 1.2340242862701416, -0.0877600908279419, -0.04992958530783653, 0.12747055292129517, -0.20813943445682526, 0.2362145632505417, -0.25568246841430664, 0.7556236386299133, 0.42451798915863037, 0.2074330449104309, 0.023479359224438667, -0.4626372158527374, 0.5736103653907776, 0.6464248895645142, -0.7073847651481628, 0.5251989364624023, 0.21165454387664795, 0.3115319609642029, -0.3103209137916565, 0.5158258080482483, 0.12980493903160095, 0.05653122067451477, -0.01588861458003521, -0.1561078131198883, -0.37810298800468445, -0.25449272990226746, -0.32602569460868835, 0.355137437582016, 0.3826847970485687, -0.24839042127132416 ]
http://arxiv.org/abs/2404.00913v1
http://arxiv.org/pdf/2404.00913v1
LLaMA-Excitor: General Instruction Tuning via Indirect Feature Interaction
2024-04-01T04:39:21
2024-04-01T04:39:21
Bo Zou, Chao Yang, Yu Qiao, Chengbin Quan, Youjian Zhao
cs.CV
cs.CV, cs.AI, cs.CL
Existing methods to fine-tune LLMs, like Adapter, Prefix-tuning, and LoRA, which introduce extra modules or additional input sequences to inject new skills or knowledge, may compromise the innate abilities of LLMs. In this paper, we propose LLaMA-Excitor, a lightweight method that stimulates the LLMs' potential to better follow instructions by gradually paying more attention to worthwhile information. Specifically, the LLaMA-Excitor does not directly change the intermediate hidden state during the self-attention calculation of the transformer structure. We designed the Excitor block as a bypass module for the similarity score computation in LLMs' self-attention to reconstruct keys and change the importance of values by learnable prompts. LLaMA-Excitor ensures a self-adaptive allocation of additional attention to input instructions, thus effectively preserving LLMs' pre-trained knowledge when fine-tuning LLMs on low-quality instruction-following datasets. Furthermore, we unify the modeling of multi-modal tuning and language-only tuning, extending LLaMA-Excitor to a powerful visual instruction follower without the need for complex multi-modal alignment. Our proposed approach is evaluated in language-only and multi-modal tuning experimental scenarios. Notably, LLaMA-Excitor is the only method that maintains basic capabilities while achieving a significant improvement (+6%) on the MMLU benchmark. In the visual instruction tuning, we achieve a new state-of-the-art image captioning performance of 157.5 CIDEr on MSCOCO, and a comparable performance (88.39%) on ScienceQA to cutting-edge models with more parameters and extensive vision-language pertaining.
[ -0.19854871928691864, -0.687008798122406, 0.2765096426010132, -0.15676918625831604, -0.5676993727684021, 0.06648378074169159, -0.31485670804977417, -0.37119612097740173, 0.44963374733924866, 0.24195313453674316, -0.5086992979049683, -0.38578036427497864, -0.4979703426361084, -0.11751143634319305, 0.011641750112175941, 0.8701820373535156, -0.08652394264936447, -0.09259539097547531, -0.051088981330394745, -0.07970520108938217, -0.3901352286338806, -0.11222557723522186, -0.5703334212303162, -0.11911081522703171, 0.6614230871200562, 0.4271509647369385, 0.47527509927749634, 0.8795886635780334, 0.5044960379600525, 0.42779260873794556, -0.025841129943728447, 0.24752067029476166, -0.48484697937965393, -0.02166411653161049, -0.017033839598298073, -0.851016640663147, -0.5929232835769653, -0.13554754853248596, 0.41928645968437195, 0.1860785037279129, -0.006648463197052479, 0.2547861933708191, 0.2591637372970581, 0.49661052227020264, -0.5621821880340576, 0.3900313973426819, -0.7353474497795105, 0.07098466902971268, 0.08216341584920883, -0.6495294570922852, -0.21184846758842468, -0.2819575071334839, -0.21234095096588135, -0.6753249764442444, 0.22394312918186188, 0.2283559888601303, 0.7009733319282532, 0.8005537986755371, -0.24362918734550476, -0.09929332882165909, -0.33440133929252625, 0.6830993890762329, -0.4323022663593292, 0.17119871079921722, 0.08977541327476501, 0.4033359885215759, -0.0648217722773552, -0.46685078740119934, -0.45237720012664795, -0.4153866469860077, 0.03180227428674698, 0.3751150667667389, -0.1992081254720688, 0.14414912462234497, 0.1991107016801834, 0.3882041275501251, -0.17454691231250763, 0.2056770920753479, -0.287471204996109, -0.17429223656654358, 0.1304330974817276, 0.11715348809957504, 0.17201238870620728, -0.037167683243751526, -0.5518510937690735, -0.10107605159282684, -1.1081840991973877, 0.3528747856616974, 0.38345766067504883, 0.020362257957458496, -0.15740248560905457, 0.46440789103507996, -0.15920859575271606, 0.7073087692260742, 0.23426023125648499, -0.14656899869441986, 0.17375579476356506, -0.3969869613647461, -0.24232473969459534, 0.08262074738740921, 0.473414808511734, 0.358483225107193, 0.06261208653450012, 0.007936384528875351, -0.17493624985218048, -0.03129380941390991, 0.23639491200447083, -0.6750144958496094, -0.21497604250907898, -0.3132071793079376, -0.3827219009399414, -0.2638010084629059, -0.11845549196004868, -0.640329897403717, -0.11017138510942459, -0.5524142980575562, 0.7724313139915466, -0.39284029603004456, 0.16213905811309814, -0.18507474660873413, 0.08799397200345993, 0.487125426530838, 0.5577749609947205, -1.0524911880493164, 0.2126958966255188, 0.36196866631507874, 0.6771618723869324, -0.19127869606018066, -0.3434220254421234, -0.7323341369628906, 0.4790516495704651, -0.16261282563209534, 0.815513014793396, -0.7855396866798401, -0.10625318437814713, -0.31576645374298096, 0.11246275156736374, -0.1985895037651062, -0.5774117112159729, 0.16796602308750153, -0.53415846824646, 0.011231442913413048, -0.24713134765625, -0.3603454530239105, -0.365207701921463, 0.04923909157514572, -0.6120600700378418, 0.7720730304718018, 0.1309916079044342, -0.30499932169914246, 0.22515127062797546, -0.5953580141067505, -0.4973202645778656, -0.14960555732250214, -0.40131428837776184, -0.26280447840690613, 0.27602720260620117, 0.36183035373687744, 0.3067165017127991, -0.40733304619789124, -0.13359764218330383, -0.10951046645641327, -0.8522579669952393, 0.14573298394680023, -0.5881208181381226, 0.11744499951601028, -0.3027617633342743, -0.5730533003807068, 0.46317484974861145, -0.7790213227272034, 0.06211721524596214, -0.11718180030584335, -0.4596185088157654, -0.0972319096326828, -0.10654560476541519, -0.28007251024246216, 0.18959969282150269, 0.5211558938026428, -0.25860893726348877, 0.3206823468208313, -0.21995830535888672, 0.473699688911438, 0.9667201638221741, -0.16943223774433136, 0.47528207302093506, -0.24604780972003937, 0.5888881087303162, -0.014449294656515121, 0.2554599642753601, -0.48460519313812256, -0.3775584399700165, -1.2664692401885986, -0.4199295938014984, 0.07988432794809341, 0.38608992099761963, -0.766728937625885, 0.45295649766921997, -0.3253467381000519, -0.07633223384618759, -0.8477829098701477, 0.4618373215198517, 0.5626319050788879, 0.5881065726280212, 0.6477177143096924, -0.0062048165127635, -0.18854345381259918, -0.8583572506904602, -0.06557679921388626, 0.08829409629106522, 0.09815428406000137, 0.3772236704826355, 0.1979033201932907, 0.1325056403875351, 0.30186763405799866, -0.3424530327320099, -0.4679594337940216, -0.12087327241897583, -0.006052443757653236, 0.3653795123100281, 0.3624587655067444, 0.15381215512752533, -0.4839238226413727, -0.4255998730659485, 0.2967207729816437, -0.484338641166687, -0.08896083384752274, -0.05900328978896141, -0.031157052144408226, 0.22984446585178375, 0.6290476322174072, -0.4190126657485962, 0.28657007217407227, 0.35304519534111023, 0.061299219727516174, 0.1107800081372261, -0.343350887298584, 0.3363051116466522, -0.7538058161735535, -0.04670564830303192, -0.3355617821216583, -0.05196850374341011, -0.4073513448238373, 0.14018666744232178, 0.3689839541912079, 0.1517065316438675, -0.35815075039863586, 0.4036935269832611, -0.6557444930076599, 0.07688550651073456, -0.4702374339103699, 0.026057060807943344, -0.20574532449245453, 0.9066953659057617, -0.1739128977060318, 0.9136863350868225, 0.6211972832679749, -0.5020934343338013, 0.36243322491645813, -0.040489811450242996, -0.3309724032878876, 0.5554159879684448, -0.7350135445594788, 0.14307743310928345, -0.16717487573623657, -0.10602284222841263, -1.0147291421890259, -0.2002352476119995, 0.3869372308254242, -0.11456550657749176, 0.6536486744880676, -0.1469576507806778, -0.2787584364414215, -0.2537909150123596, -0.6179684996604919, 0.1691659688949585, 0.44560348987579346, -0.7720947265625, 0.8630287051200867, -0.17329278588294983, -0.13562092185020447, -0.5863578915596008, -0.561484694480896, -0.03201839327812195, -0.16937007009983063, -0.4318907558917999, 0.4765528440475464, -0.20191609859466553, 0.2807196080684662, 0.07906439155340195, -0.3810194134712219, 0.2826111912727356, -0.033626627177000046, 0.38546574115753174, 0.45371636748313904, -0.19274917244911194, 0.10445301234722137, 0.619946300983429, -0.31783732771873474, -0.15287038683891296, 0.10764420032501221, 0.40499505400657654, -0.11627433449029922, -0.5595666766166687, -0.5502002835273743, 0.1605861335992813, 0.4042503237724304, -0.16762247681617737, 0.3309372365474701, 0.5504343509674072, 0.11383805423974991, -0.2671699821949005, -0.5543522834777832, -0.2944202721118927, -0.5766522288322449, 0.5543230175971985, -0.48334527015686035, -1.115046501159668, 0.18460670113563538, -0.24274513125419617, -0.2224932461977005, -0.07214993983507156, 0.5968098044395447, -0.15543468296527863, 0.6824741959571838, 0.7930483222007751, -0.21395911276340485, 0.6518980860710144, -0.11705763638019562, 0.01379495020955801, -1.0904791355133057, -0.3489912152290344, 0.03225252404808998, -0.8419995903968811, -0.2973273992538452, -0.6978774070739746, 0.5682944655418396, 0.08033907413482666, -0.026534657925367355, 0.34158116579055786, -0.5527457594871521, 0.6132432818412781, 0.7483830451965332, 0.29627424478530884, 0.3064191937446594, 0.0392044298350811, -0.01520110946148634, -0.007215819321572781, -0.5933476090431213, -0.321863055229187, 0.869332492351532, 0.013251335360109806, 1.2493990659713745, 0.031145688146352768, 0.5899635553359985, -0.00799005851149559, 0.18867963552474976, -0.7065616250038147, 0.673117458820343, 0.08341997861862183, -0.10357418656349182, -0.20044702291488647, -0.3755953311920166, -0.6192113757133484, 0.29683756828308105, 0.06050265207886696, -0.7017176151275635, -0.004425130318850279, 0.43265461921691895, -0.2651938199996948, 0.03126182779669762, -0.8438050746917725, 0.5719025731086731, -0.5263938903808594, -0.5956857204437256, -0.3873617351055145, -0.6840644478797913, 0.29188746213912964, -0.029572421684861183, -0.22495108842849731, -0.016008375212550163, -0.6412546634674072, 0.2700211703777313, -0.09658881276845932, 1.05404794216156, -0.024167673662304878, -0.30960407853126526, 0.14340777695178986, -0.14320923388004303, 0.6293118596076965, -0.0212214607745409, 0.07868731766939163, -0.034301552921533585, -0.38881391286849976, -0.0732402577996254, -0.8530698418617249, 0.9189172983169556, -0.8680708408355713, -0.9456275701522827, 0.10684403777122498, -0.6194615960121155, -0.00024315956397913396, -0.005160834174603224, 0.16798825562000275, 0.14757245779037476, 0.06261707842350006, 0.12632524967193604, 0.7635671496391296, -0.0502227358520031, 0.598138689994812, 0.6980147957801819, 0.2428465187549591, -0.6122358441352844, 1.0221543312072754, 0.10357243567705154, 0.2292962372303009, 0.9730885028839111, 0.048597902059555054, -0.10740029811859131, -0.21429799497127533, -0.5272226929664612, 0.13679249584674835, -0.6076090335845947, -0.6075612902641296, -0.433491975069046, -0.09466184675693512, 0.1074359193444252, -0.17036172747612, -0.08831427246332169, -0.3839501440525055, -0.4290023744106293, -0.004681033082306385, 0.46322473883628845, 0.41135892271995544, 0.08885496109724045, 0.464315801858902, -0.38950565457344055, 0.4763522446155548, 0.5939096212387085, 0.31613558530807495, 0.11027999967336655, -0.7011185884475708, -0.2928711473941803, -0.22495222091674805, -0.3234005868434906, -0.721213161945343, -0.016763297840952873, 0.4895535409450531, 0.695945143699646, 0.45085251331329346, -0.34833815693855286, 0.764961838722229, -0.5806768536567688, 0.3351198732852936, 0.29158473014831543, -1.1273690462112427, 0.7932031750679016, -0.008317233063280582, 0.3521767258644104, 0.3915257155895233, 0.19498415291309357, -0.09194977581501007, -0.3065508008003235, -0.041379187256097794, -0.6369717717170715, 0.6837133169174194, -0.10420320183038712, 0.20719556510448456, 0.09785875678062439, 0.33504682779312134, 0.26561519503593445, 0.3682590425014496, -0.6642089486122131, -0.24179376661777496, -0.2742818593978882, -0.35114768147468567, 0.1424063742160797, -0.06800771504640579, -0.19777683913707733, -0.34149599075317383, 0.5328851938247681, -0.6591517925262451, 0.4572826623916626, -0.04836244508624077, -0.2176547348499298, -0.31130871176719666, 0.2618052661418915, 0.6491427421569824, 0.35736826062202454, 0.08760444074869156, 0.4099928140640259, 0.4845961630344391, -0.4549252986907959, 0.36784234642982483, 0.12187305837869644, -0.18362799286842346, -0.41420841217041016, 0.1566360592842102, 0.9515752196311951, 0.6212607622146606, -0.38480034470558167, 0.5562593340873718, 0.07491669803857803, 0.15248897671699524, 0.2637903094291687, 0.7653656005859375, 0.2256176471710205, 0.43051791191101074, 0.29200419783592224, 0.17961910367012024, -0.0628558099269867, -0.3441679775714874, -0.02018224075436592, 0.5615028738975525, -0.4457976520061493, -0.519626259803772, 0.6940300464630127, 0.2549818754196167, -0.04065155237913132, 0.010628207586705685, 0.10668852180242538, -0.27100619673728943, 0.6643111705780029, 0.7291944622993469, 0.5519230365753174, -0.4487704038619995, 0.017854830250144005, 0.13193100690841675, 0.5524794459342957, 0.3171614110469818, 0.4429708421230316, -0.5217868089675903, -0.3812408149242401, -0.6229508519172668, -0.3682292699813843, -0.3239860236644745, 0.006599738262593746, -0.4869023561477661, 0.44132092595100403, -0.5573434829711914, 0.16784930229187012, -0.42140287160873413, -0.08828678727149963, -0.6438876390457153, -0.02119087614119053, 0.021370956674218178, 0.76725172996521, -0.4283975660800934, 0.9309731721878052, 0.7408236265182495, -0.4208005666732788, -0.6563827991485596, -0.15328127145767212, -0.029230738058686256, -1.2089117765426636, 0.6334851980209351, 0.35975348949432373, -0.47907087206840515, 0.17229825258255005, -0.5469741225242615, -0.9733484983444214, 1.499617338180542, 0.5724371671676636, -0.909008264541626, 0.10687237232923508, 0.09725780785083771, 0.3384077250957489, -0.29872608184814453, 0.4671730697154999, 0.3722890615463257, 0.398311585187912, 0.12450692802667618, -0.46134528517723083, 0.34419459104537964, -0.4215909242630005, 0.015598529018461704, 0.2484443485736847, -1.2180795669555664, 0.5073078274726868, -0.44735538959503174, -0.0513768270611763, 0.3159329295158386, 0.8282970786094666, -0.0024140719324350357, -0.09301000088453293, 0.2777150273323059, 0.5802968740463257, 0.714857280254364, 0.05136629939079285, 0.696035623550415, -0.5445030331611633, -0.07551980763673782, 1.2016135454177856, -0.1804710030555725, 0.7064885497093201, 0.6919904351234436, 0.042032867670059204, 0.33027058839797974, 0.1322564035654068, -0.2988754212856293, 0.7311042547225952, 0.3375852704048157, -0.33096906542778015, -0.14455248415470123, -0.03313992917537689, -0.4122439920902252, 0.4069835841655731, 0.20240943133831024, -0.36162248253822327, -0.05718629062175751, 0.05259203538298607, -0.14220376312732697, -0.21468381583690643, -0.4355807602405548, 0.6686848402023315, 0.0498218759894371, -0.4261959195137024, 0.5477725267410278, -0.25766998529434204, 0.8275926113128662, -0.7764425873756409, -0.39678955078125, -0.34928053617477417, 0.04823452606797218, -0.0331789031624794, -0.5217387080192566, -0.2532462775707245, -0.12823036313056946, -0.23670190572738647, 0.14512589573860168, 0.7296761870384216, -0.484462171792984, -0.24982967972755432, 0.33645176887512207, 0.536961555480957, -0.13921114802360535, 0.16808494925498962, -0.44365209341049194, 0.30920445919036865, 0.06219419464468956, -0.2720686197280884, 0.4666650593280792, 0.3464355170726776, 0.20606644451618195, 0.7456471920013428, 0.3876650929450989, -0.05021749064326286, 0.2050558179616928, 0.2044421285390854, 1.143079161643982, -0.7789209485054016, -0.19496901333332062, -0.6652882099151611, 0.2482548952102661, 0.10669854283332825, -0.3457937240600586, 0.7070335745811462, 0.2758636772632599, 0.6109539270401001, -0.19533175230026245, 0.44479307532310486, 0.15702879428863525, -0.00570914801210165, -0.7862002849578857, 0.6080394983291626, -0.5103530287742615, 0.34612175822257996, 0.0021345396526157856, -1.1346110105514526, -0.040836405009031296, 0.5522941946983337, -0.06943430751562119, 0.1699809730052948, 0.6608456373214722, 1.0657740831375122, -0.23613914847373962, 0.003199996892362833, 0.5978953838348389, 0.13347359001636505, 0.026608828455209732, 0.7923263907432556, 1.0530835390090942, -0.41939854621887207, 0.7706106901168823, -0.08633219450712204, -0.34125635027885437, -0.22128012776374817, -0.6794511079788208, -1.0843273401260376, -0.11316724121570587, -0.2596465051174164, 0.37232285737991333, 0.21783162653446198, 0.7674081325531006, 0.5647293329238892, -0.5185584425926208, -0.01739080436527729, -0.09799107909202576, 0.19230443239212036, -0.3539028763771057, -0.17456956207752228, 0.3712230920791626, -0.578844428062439, -0.7670217752456665, 0.6237961649894714, 0.665582001209259, 0.018537303432822227, -0.16438284516334534, -0.038522690534591675, 0.21830347180366516, -0.025512484833598137, 0.5603768229484558, 0.06293924152851105, -0.7770776152610779, -0.376679003238678, 0.19025135040283203, -0.04570339247584343, 0.2989313304424286, 0.6605852842330933, -0.8719544410705566, 0.30169597268104553, 0.12375964969396591, 0.5923601388931274, 0.5323919057846069, -0.26121535897254944, 0.21298640966415405, -0.6280771493911743, -0.16097746789455414, -0.19878579676151276, 0.4120105504989624, 0.32192468643188477, -0.4758100211620331, 0.33044639229774475, -0.059395577758550644, -0.46709656715393066, -0.14681904017925262, 0.0991121307015419, -1.1130017042160034, 0.03454386070370674, 0.8214867115020752, -0.05926938354969025, -0.5676546096801758, 0.2595740556716919, -0.45588502287864685, 0.2739845812320709, -0.5572136640548706, 0.8682737350463867, 0.2380017191171646, -0.27018406987190247, -0.5435757040977478, -0.24580812454223633, 0.2781004309654236, 0.5385825634002686, -0.9804307818412781, -0.18080610036849976, 0.3526061177253723, 0.17457129061222076, 0.1556779146194458, 0.24669964611530304, 0.005544291343539953, 0.5045011043548584, -0.10779305547475815, 0.10816382616758347, -0.4237598180770874, -0.523508608341217, -0.45848512649536133, 0.01688419282436371, -0.1530337780714035, -0.3413020372390747 ]
http://arxiv.org/abs/2406.15362v1
http://arxiv.org/pdf/2406.15362v1
Diverse Perspectives, Divergent Models: Cross-Cultural Evaluation of Depression Detection on Twitter
2024-04-01T03:59:12
2024-04-01T03:59:12
Nuredin Ali, Charles Chuankai Zhang, Ned Mayo, Stevie Chancellor
cs.CL
cs.CL
Social media data has been used for detecting users with mental disorders, such as depression. Despite the global significance of cross-cultural representation and its potential impact on model performance, publicly available datasets often lack crucial metadata related to this aspect. In this work, we evaluate the generalization of benchmark datasets to build AI models on cross-cultural Twitter data. We gather a custom geo-located Twitter dataset of depressed users from seven countries as a test dataset. Our results show that depression detection models do not generalize globally. The models perform worse on Global South users compared to Global North. Pre-trained language models achieve the best generalization compared to Logistic Regression, though still show significant gaps in performance on depressed and non-Western users. We quantify our findings and provide several actionable suggestions to mitigate this issue.
[ -0.3634919226169586, -0.5868800282478333, 0.5369289517402649, 0.6015492677688599, -0.175373375415802, 0.3202604055404663, -0.4487527906894684, -0.6527602076530457, 0.44677940011024475, -0.03962226212024689, -0.8065547943115234, -1.0025629997253418, -0.8046965599060059, 0.16479462385177612, -0.3564741015434265, 0.862688422203064, -0.1232752650976181, 0.20763829350471497, 0.06558234244585037, -0.23469917476177216, -0.07935678958892822, -0.30326277017593384, -0.7827670574188232, -0.21795524656772614, 0.24268236756324768, 0.26634061336517334, 0.7651861906051636, -0.29960760474205017, 0.662747859954834, 0.1876794695854187, 0.027768107131123543, -0.0032217628322541714, -0.701360821723938, -0.14856228232383728, -0.35551461577415466, -0.4135277569293976, -0.1769406795501709, -0.11232111603021622, 0.1824813187122345, 0.7191840410232544, 0.12414368242025375, 0.32224977016448975, -0.10822086036205292, 0.33491942286491394, -0.6464903354644775, -0.1360619217157364, -0.06309615075588226, 0.36605334281921387, 0.12074880301952362, 0.4175982177257538, 0.1869874745607376, -0.7149965763092041, 0.1807306855916977, -0.16318900883197784, 0.5957320928573608, -0.6039462089538574, 0.657297670841217, 0.37974047660827637, -0.7784224152565002, 0.0019914358854293823, -1.2050542831420898, 0.8089988827705383, -0.4652351438999176, 0.1574152410030365, 0.5014053583145142, 0.6154842972755432, 0.3140255808830261, -0.5041260123252869, -0.009330101311206818, 0.23884090781211853, -0.029589276760816574, 0.1774967610836029, -0.4642690420150757, -0.3944126069545746, 0.25060322880744934, 0.4135579764842987, -0.5440340042114258, 0.18225274980068207, -0.41377323865890503, -0.08510119467973709, 0.9880345463752747, 0.44913315773010254, 0.6699633598327637, -0.025386491790413857, 0.007213137112557888, 0.29839634895324707, -0.2699560225009918, 0.21222367882728577, 0.18480774760246277, 0.44103455543518066, -0.6484552025794983, 0.2982962131500244, -0.4394973814487457, 0.23759528994560242, -0.28691932559013367, 0.06906873732805252, 0.221632719039917, -0.22519342601299286, -0.15002773702144623, -0.36005207896232605, 0.8082448244094849, 0.720139741897583, 0.37571078538894653, -0.3202257454395294, -0.26301681995391846, 0.22275838255882263, 0.08312738686800003, -0.7386279106140137, -0.35243502259254456, 0.3212133049964905, -0.7947893142700195, 0.10836057364940643, -0.11268211901187897, -0.6847802996635437, -0.6652820706367493, -0.08630590885877609, -0.034408994019031525, -0.4174472391605377, -0.6770649552345276, -0.07150669395923615, -0.35663557052612305, -0.16490891575813293, 0.27497565746307373, -0.7026872038841248, 0.37081849575042725, 0.3963611423969269, 1.074379324913025, -0.21059264242649078, 0.019243700429797173, 0.05333951860666275, -0.20605850219726562, -0.37345635890960693, 0.7023324966430664, -0.7005082368850708, -0.4282870292663574, 0.14565178751945496, 0.039602793753147125, 0.0016933244187384844, -0.5111854076385498, 0.6441039443016052, 0.00923942867666483, 0.19134557247161865, -0.8404404520988464, -0.07860963046550751, -0.025205036625266075, 0.04288909584283829, -0.8379696607589722, 0.6000712513923645, 0.5735284090042114, -1.0073658227920532, 0.6981595754623413, -0.5377718210220337, -0.48607268929481506, -0.05466744303703308, -0.09036185592412949, -0.10061204433441162, 0.42348238825798035, 0.6979411840438843, 0.6062662601470947, -0.48089301586151123, 0.28146734833717346, -0.7527130246162415, -0.6346032023429871, -0.07993465662002563, -0.02965483069419861, 1.0572398900985718, 0.27320215106010437, -0.16466233134269714, -0.31899139285087585, -0.5876247882843018, -0.2978965640068054, 0.20688900351524353, -0.157860666513443, -0.7824274301528931, -0.007766349706798792, 0.4395362138748169, 0.1882830411195755, -0.10323861241340637, -0.6292328834533691, -0.041243601590394974, -0.029772497713565826, 0.4283345639705658, 0.304109662771225, -0.054012421518564224, 0.06834717094898224, -0.19769132137298584, 0.785827100276947, 0.27338361740112305, 0.3458872437477112, 0.34083008766174316, -0.5539442300796509, -0.045829061418771744, -0.5793213248252869, 0.15429776906967163, 0.6394450664520264, -0.5321972370147705, 0.27126866579055786, -0.2316386103630066, -0.5865821242332458, -0.703243613243103, -0.09394630789756775, -0.02611609175801277, 0.21966901421546936, 0.4136708676815033, -0.1973288357257843, -0.6353815197944641, -0.9129223823547363, -0.6452269554138184, 0.1890682876110077, -0.35379403829574585, 0.37647899985313416, 0.4495275616645813, -0.6330081820487976, 0.8785523176193237, -0.35693344473838806, -0.17986436188220978, -0.4054337441921234, 0.2965933680534363, 0.09489118307828903, 0.25131621956825256, 0.7880128622055054, -0.8474277853965759, -0.750816285610199, 0.0030104697216302156, -0.9656907916069031, -0.09976686537265778, -0.022002119570970535, 0.13628289103507996, 0.04164016619324684, 0.052107058465480804, -0.42193105816841125, 0.5872757434844971, 0.5778651237487793, -0.26449814438819885, 0.1385677009820938, 0.29424047470092773, 0.18964703381061554, -1.1140682697296143, 0.14170368015766144, 0.5507171750068665, -0.22340551018714905, -0.593464732170105, -0.46618562936782837, -0.0014050647150725126, -0.22780057787895203, -0.11567144840955734, 0.2437925785779953, -0.19215725362300873, -0.04225665703415871, 0.01833614520728588, -0.12203570455312729, -0.21680998802185059, -0.14214716851711273, 0.032549455761909485, 0.295235276222229, 0.8928499817848206, -0.2830479145050049, 0.31167376041412354, -0.03400878980755806, -0.5623307824134827, 0.6304865479469299, -0.5785905122756958, -0.31530120968818665, -0.2999404966831207, 0.3552112877368927, -1.001342535018921, -0.25866013765335083, 0.2628280520439148, -0.38213464617729187, -0.12832356989383698, -0.10151083022356033, -0.2812950313091278, -0.6277479529380798, -0.1727822721004486, 0.6435723900794983, 0.4578225612640381, -0.39438357949256897, 0.4200427234172821, 0.33605486154556274, -0.06733371317386627, -0.4617473781108856, -1.0801745653152466, 0.06144341826438904, -0.638305127620697, -0.6245454549789429, 0.4388713538646698, 0.2620108723640442, -0.4487961530685425, 0.10467261075973511, -0.011090891435742378, -0.14854654669761658, 0.25211474299430847, -0.09732206910848618, -0.2548854649066925, -0.14190882444381714, 0.31816399097442627, 0.047223832458257675, 0.19741997122764587, 0.24567703902721405, 0.13222281634807587, 0.4958081841468811, 0.019604170694947243, -0.1597910076379776, -0.6428057551383972, 0.6944999694824219, 0.2509053945541382, 0.004326118156313896, 0.7687193155288696, 0.8463672399520874, -0.650856077671051, -0.2603352963924408, -0.3100909888744354, -0.07335616648197174, -0.35873207449913025, 0.16871954500675201, -0.19930067658424377, -0.6395430564880371, 1.032179832458496, -0.3129185736179352, -0.26580557227134705, 0.2137903869152069, 0.5176869630813599, 0.11651042103767395, 1.3474735021591187, 1.144766926765442, -0.43705639243125916, 0.3494347333908081, -0.45448780059814453, 0.5187426805496216, -0.43609070777893066, 0.09562049061059952, -0.42167025804519653, -0.5779539942741394, -0.9791955947875977, -0.1766960471868515, 0.09145025908946991, -0.012204878963530064, -0.23741114139556885, -0.04432603716850281, -0.3179863691329956, 0.4378369152545929, 0.24675710499286652, 0.2671346366405487, 0.12327754497528076, 0.04755260422825813, -0.1173887774348259, -0.32962584495544434, -0.4525195360183716, -0.4259595572948456, 1.028482437133789, 0.24555353820323944, 1.1061670780181885, -0.037098340690135956, 0.9423379302024841, 0.555570662021637, 0.4378678798675537, -0.47322842478752136, -0.01844809204339981, -0.4428614377975464, -0.5203346610069275, -0.13471819460391998, -0.609306812286377, -0.8591576814651489, 0.02863221988081932, 0.11710642278194427, -1.054663062095642, 0.5207536220550537, -0.2350318729877472, -0.4949662983417511, 0.3902394473552704, -0.8467024564743042, 0.8269239068031311, -0.2346293330192566, 0.1012331172823906, -0.06935212761163712, -0.5920260548591614, 0.8359861969947815, -0.06843002885580063, 0.32578638195991516, -0.41769668459892273, 0.11611638963222504, 0.5275954008102417, -0.019231563434004784, 1.024474024772644, -0.35648223757743835, 0.023211520165205002, -0.07472384721040726, -0.08607669919729233, -0.07805509120225906, 0.2743833363056183, -0.10703903436660767, 0.3448346257209778, 0.005360765848308802, -0.7335052490234375, -0.3547971546649933, 0.7155302166938782, -1.136342167854309, -0.43098214268684387, 0.012951675802469254, -0.5070276856422424, -0.3315344452857971, -0.017865275964140892, 0.3753611743450165, -0.045864105224609375, -0.5514867901802063, -0.040628187358379364, 0.10687657445669174, -0.4224088191986084, 0.3447551429271698, 0.25585198402404785, -0.24676916003227234, -0.4008854031562805, 0.6385008692741394, 0.13558948040008545, -0.0360313281416893, 0.07489626109600067, 0.21026068925857544, 0.025456128641963005, -0.07267431914806366, 0.04543730244040489, 0.29400378465652466, -0.8443892002105713, 0.007313330192118883, -0.5487459897994995, 0.06608331948518753, -0.6663546562194824, -0.029384907335042953, -0.3604061007499695, -0.499597430229187, -0.23155654966831207, -0.19281616806983948, 0.2604800760746002, 0.8394525647163391, -0.4849313795566559, 0.2635129690170288, -0.6497693061828613, 0.4973006546497345, -0.12662635743618011, 0.5419767498970032, 0.05651140585541725, 0.11013585329055786, -0.438515841960907, 0.20630134642124176, -0.21426278352737427, -0.8058104515075684, 0.5481262803077698, 0.11280488967895508, 0.48961949348449707, 0.670036256313324, 0.40038275718688965, 0.7308269739151001, 0.1256559044122696, 0.6594420075416565, 0.16309696435928345, -0.890077531337738, 0.754387617111206, -0.19637992978096008, 0.35065820813179016, 0.5482848882675171, 1.2558647394180298, -0.9826610088348389, -0.6539750099182129, -0.43186506628990173, -0.8121802806854248, 0.6833065748214722, 0.006544333416968584, 0.36070045828819275, 0.06640557199716568, 0.1287708729505539, 0.4396026134490967, -0.19242773950099945, -0.655875027179718, -0.17145003378391266, -0.3939908444881439, -0.25158998370170593, -0.4304978847503662, 0.09226875752210617, -0.36378708481788635, -0.37798184156417847, -0.0013129988219588995, 0.014920035377144814, 0.17559625208377838, 0.392202764749527, 0.047484029084444046, -0.42924246191978455, -0.2317042201757431, 0.06575209647417068, 0.9171545505523682, -0.3174806535243988, -0.08993454277515411, -0.06924311816692352, -0.09044615179300308, -0.03298502787947655, 0.3424437642097473, -0.2482813000679016, 0.18078605830669403, 0.4850754141807556, 0.6528071761131287, -0.32593098282814026, -0.5143454670906067, 0.2935805022716522, -0.7409677505493164, 0.005414994433522224, -0.21687346696853638, -0.0753123089671135, 0.4162103831768036, 0.6146551966667175, 0.3221695125102997, -0.06002234295010567, 0.3377569615840912, -0.6509988903999329, -0.10167071223258972, 0.4561094343662262, -0.3109375834465027, -0.7111552357673645, 0.5505319237709045, 0.19751185178756714, -0.5491431355476379, 0.8298847675323486, 0.1741895079612732, -0.510184645652771, 0.7305432558059692, 0.3479436933994293, 0.9800993204116821, -0.36279425024986267, 0.6930049657821655, 0.19498766958713531, 0.3944861590862274, -0.03718451410531998, 0.62699294090271, -0.12028440833091736, -0.7422521710395813, -0.08230625838041306, -0.30147647857666016, -0.3756631016731262, 0.2115512639284134, -0.7606141567230225, 0.3633391857147217, -0.3828132152557373, -0.6639714241027832, -0.09641667455434799, -0.020225076004862785, -1.1081546545028687, 0.5070099234580994, 0.508534848690033, 0.7536107897758484, -1.4948619604110718, 0.5365951657295227, 0.7451160550117493, -0.4752078652381897, -0.16371189057826996, 0.6776992678642273, -0.09206479042768478, -0.49777311086654663, 0.4058915674686432, 0.5227013826370239, 0.27066776156425476, -0.39913278818130493, -0.5594019889831543, -0.9369009733200073, 0.8315103650093079, 0.389179527759552, -0.1307249665260315, 0.2716188132762909, 0.5336377024650574, 0.9020599126815796, -0.46526357531547546, 0.45443111658096313, 0.6994624137878418, 0.23106257617473602, -0.22770410776138306, -0.732816755771637, 0.08379858732223511, -0.3043413758277893, 0.2508595883846283, -0.06913675367832184, -0.8458581566810608, 0.9370652437210083, -0.1602160781621933, -0.5439680814743042, -0.4084725081920624, 0.16033193469047546, 0.01778739131987095, 0.47795140743255615, 0.34110018610954285, 0.66591477394104, 0.8955963850021362, 0.09998073428869247, 1.2158902883529663, -0.2799708843231201, 0.46134212613105774, 0.6988937258720398, -0.42456260323524475, 0.44578301906585693, 0.07887232303619385, -0.19771622121334076, 0.5068576335906982, 1.1618666648864746, 0.006544182542711496, 0.6377032995223999, 0.01918916404247284, -0.23931767046451569, -0.41673222184181213, -0.21483179926872253, -0.4235050678253174, 0.26754552125930786, 0.40401923656463623, -0.4911549389362335, -0.6945977807044983, 0.10421403497457504, -0.19235211610794067, -0.014860274270176888, -0.1559685468673706, 0.38959625363349915, 0.2865055501461029, -0.3404313623905182, 0.8494793176651001, 0.06066117435693741, 0.5632913112640381, -0.18567074835300446, 0.3859546482563019, -0.8341346979141235, 0.35120126605033875, -0.3529326915740967, -0.4801592230796814, 0.6912714242935181, 0.27586930990219116, -0.18877209722995758, 0.0090032322332263, 0.7871469259262085, -0.19134294986724854, -0.8893600702285767, 0.9363147616386414, 0.8716187477111816, 0.24075090885162354, -0.1799355000257492, -0.77554851770401, -0.16412357985973358, -0.11627982556819916, -0.22949157655239105, 0.23053529858589172, 0.7224124073982239, -0.46146252751350403, 0.838698148727417, 0.1970043033361435, 0.0491790771484375, -0.1876586675643921, 0.5129815340042114, 0.7912852764129639, -0.8036044239997864, -0.46372631192207336, -0.8716285228729248, 0.4315635561943054, -0.1836869716644287, -0.31545406579971313, 0.695972204208374, 0.37413445115089417, 1.0268911123275757, 0.026286637410521507, 1.305351972579956, -0.19552505016326904, 0.5946779847145081, 0.0796804279088974, 0.597578227519989, -0.8554951548576355, 0.0007135312771424651, -0.15917105972766876, -0.6324358582496643, -0.5310342311859131, 0.3843017518520355, -0.7011366486549377, 0.28807151317596436, 0.5737388134002686, 0.45985496044158936, -0.4178275465965271, 0.16575337946414948, 0.17381681501865387, 0.049305643886327744, 0.4038323760032654, 0.5745828151702881, 1.0421054363250732, -0.16956378519535065, 0.24387991428375244, -0.6538580656051636, -0.1411297470331192, -0.11214084923267365, -0.5405844449996948, -1.1218332052230835, -0.2653593420982361, -0.3135678470134735, 0.03612656146287918, 0.06652463972568512, 0.654674768447876, 0.49557825922966003, -0.905328094959259, -0.2635747194290161, 0.16951224207878113, 0.3289971649646759, -0.3516104221343994, -0.22961950302124023, 0.3702341318130493, -0.33071303367614746, -0.7195882797241211, -0.11465001851320267, -0.06151364743709564, -0.11060910671949387, -0.34115421772003174, 0.2618180811405182, -0.10793060064315796, -0.1515698879957199, 0.43036767840385437, -0.12198437750339508, -0.5785660743713379, 0.016405431553721428, -0.2426106333732605, -0.07709282636642456, 0.1674671769142151, 0.7452718019485474, -0.6104791760444641, 0.14187578856945038, 0.6055734753608704, 0.45285144448280334, 0.3012706935405731, 0.3753097653388977, 0.7495565414428711, -0.47204142808914185, 0.02787047065794468, 0.4165799617767334, 0.37220263481140137, 0.7471791505813599, -0.5399798154830933, 0.5774739384651184, 0.2869642972946167, -0.39567238092422485, -0.7431633472442627, 0.028778381645679474, -0.30566659569740295, -0.5347580909729004, 0.8048533797264099, -0.47142407298088074, -0.21256203949451447, -0.22970496118068695, 0.15052539110183716, 0.3084603250026703, -0.4363286793231964, 1.329880952835083, 0.7500138878822327, -0.19859112799167633, 0.08113811165094376, -0.48178350925445557, 0.3399394154548645, 0.32524603605270386, -0.501174807548523, 0.07734426856040955, 0.2655714750289917, 0.41328302025794983, -0.14968669414520264, 0.5974808931350708, 0.22295135259628296, 0.11996716260910034, -0.14724983274936676, 0.12889842689037323, 0.679777979850769, -0.00024070058134384453, -0.5279953479766846, -0.0306193009018898, -0.45491889119148254, 0.04627053067088127 ]
http://arxiv.org/abs/2404.00899v1
http://arxiv.org/pdf/2404.00899v1
TM-TREK at SemEval-2024 Task 8: Towards LLM-Based Automatic Boundary Detection for Human-Machine Mixed Text
2024-04-01T03:54:42
2024-04-01T03:54:42
Xiaoyan Qu, Xiangfeng Meng
cs.CL
cs.CL
With the increasing prevalence of text generated by large language models (LLMs), there is a growing concern about distinguishing between LLM-generated and human-written texts in order to prevent the misuse of LLMs, such as the dissemination of misleading information and academic dishonesty. Previous research has primarily focused on classifying text as either entirely human-written or LLM-generated, neglecting the detection of mixed texts that contain both types of content. This paper explores LLMs' ability to identify boundaries in human-written and machine-generated mixed texts. We approach this task by transforming it into a token classification problem and regard the label turning point as the boundary. Notably, our ensemble model of LLMs achieved first place in the 'Human-Machine Mixed Text Detection' sub-task of the SemEval'24 Competition Task 8. Additionally, we investigate factors that influence the capability of LLMs in detecting boundaries within mixed texts, including the incorporation of extra layers on top of LLMs, combination of segmentation loss, and the impact of pretraining. Our findings aim to provide valuable insights for future research in this area.
[ -0.5468679666519165, -0.8059467673301697, 0.7200950980186462, 0.2307642251253128, -0.4059097468852997, 0.3799379765987396, -0.0585402213037014, -0.8717712759971619, 0.017927497625350952, 0.9144262075424194, -0.5619478821754456, -0.7537282109260559, -0.6721841096878052, 0.4814417362213135, -0.2691710293292999, 0.7815021872520447, -0.3672276437282562, -0.24462270736694336, -0.34944096207618713, -0.07449960708618164, -0.40058526396751404, -0.9157280325889587, -0.5379818081855774, -0.7040591835975647, 0.5765508413314819, 0.24403706192970276, 0.055945102125406265, 0.6347788572311401, 0.2523520886898041, 0.24859337508678436, -0.39452704787254333, 0.5324130654335022, -0.07368215918540955, 0.3092770576477051, -0.0830477923154831, -0.5939072370529175, -0.41173258423805237, 0.18959642946720123, 0.8503222465515137, 0.48539748787879944, 0.3354291617870331, -0.14647753536701202, 0.293832391500473, 0.2671141028404236, -0.3516286313533783, -0.3385216295719147, -0.6011197566986084, 0.289616197347641, -0.6909666061401367, -0.4741306006908417, -0.6585814356803894, 0.10710036754608154, -0.1883612722158432, -0.31442931294441223, 0.09198573976755142, 0.40104785561561584, 0.8276860117912292, 0.18339276313781738, -0.689745306968689, -0.4028925895690918, -0.4368228316307068, 0.7923654913902283, -0.4043513238430023, 0.49698972702026367, 0.17564770579338074, -0.1336764097213745, -0.34887343645095825, -0.5171659588813782, -0.6736108064651489, 0.3547631800174713, 0.16256162524223328, 0.06295466423034668, -0.10587739199399948, -0.04185372591018677, 0.12784038484096527, 0.015608490444719791, -0.40267235040664673, 0.6243135929107666, -0.3704186677932739, -0.6148631572723389, 0.5979969501495361, 0.35992372035980225, 0.46497058868408203, -0.275516152381897, -0.6663254499435425, 0.06428262591362, -0.679502546787262, -0.019655980169773102, 0.4341869652271271, 0.18446239829063416, -0.10631851851940155, 0.5177927017211914, 0.22161036729812622, 0.5406222939491272, -0.04703798517584801, -0.14963151514530182, 0.32537877559661865, -0.21063977479934692, -0.01233016699552536, 0.03243266046047211, 1.0403205156326294, 0.5205243229866028, 0.14721524715423584, -0.11678166687488556, -0.4838043451309204, 0.0800582617521286, 0.09607401490211487, -0.5228797793388367, 0.11819630861282349, -0.040712740272283554, -0.3333671987056732, -0.48830646276474, -0.13911941647529602, -0.5292447805404663, -0.6248923540115356, -0.3215040862560272, 0.372922420501709, -0.31191110610961914, -0.20468853414058685, -0.0771355852484703, -0.16940122842788696, 0.3854654133319855, 0.32310009002685547, -0.4629594683647156, 0.29232633113861084, 0.7130629420280457, 0.8750174045562744, -0.7548839449882507, -0.4708581566810608, -0.4671919345855713, -0.07411590218544006, -0.1993904411792755, 1.1327927112579346, -0.5937389731407166, -0.5549517273902893, -0.19803069531917572, 0.17951135337352753, -0.15566711127758026, -0.6519297361373901, 0.8927329182624817, -0.48670220375061035, 0.26138684153556824, -0.05580860748887062, -0.6552550196647644, 0.01789909228682518, 0.4565525949001312, -0.48635122179985046, 1.3023216724395752, -0.24240659177303314, -0.853554904460907, 0.49205195903778076, -0.3495454490184784, -0.5603030920028687, 0.07555096596479416, -0.29392239451408386, -0.7098052501678467, -0.18339121341705322, 0.0679771900177002, 0.6119993925094604, -0.13591177761554718, 0.1850292682647705, -0.14817653596401215, -0.24322298169136047, 0.5669940114021301, -0.43287938833236694, 0.6754904985427856, 0.0621919259428978, -0.3645998537540436, 0.12107743322849274, -0.5834620594978333, -0.048831306397914886, -0.13521845638751984, -0.5882183909416199, -0.4019964039325714, -0.05631333217024803, 0.2029217928647995, 0.37697234749794006, 0.2892521321773529, -0.6391726732254028, 0.11574247479438782, -0.0008080895058810711, 0.35032665729522705, 0.9348481297492981, 0.2030477374792099, 0.5353102087974548, -0.3941187858581543, 0.5398544073104858, 0.2633014917373657, -0.27106723189353943, -0.019656620919704437, -0.7127078175544739, -0.7710674405097961, -0.3274327218532562, 0.3158837556838989, 0.5893259644508362, -0.6886914372444153, 0.7474254965782166, 0.15139073133468628, -0.3725111484527588, -0.36446598172187805, 0.03109605796635151, 0.22335639595985413, 0.4455398917198181, 0.36106300354003906, -0.1393839716911316, -0.7562463879585266, -0.7106918692588806, -0.37682801485061646, -0.028744282200932503, 0.11206838488578796, 0.3442958891391754, 0.6418682336807251, -0.6561855673789978, 0.838189423084259, -0.3116934299468994, -0.272879034280777, -0.22082090377807617, 0.29515978693962097, -0.1939133256673813, 0.36968618631362915, 0.15541794896125793, -0.7363893389701843, -0.5356388092041016, -0.07569766044616699, -0.6754012703895569, -0.7976795434951782, -0.210150346159935, -0.384289026260376, 0.33416101336479187, 0.6718006730079651, -0.34837469458580017, 0.4547850787639618, 0.3281387984752655, -0.5902479290962219, 0.5772837400436401, -0.01655595935881138, 0.05848454684019089, -0.9120055437088013, -0.14235451817512512, 0.15434502065181732, -0.3407398760318756, -0.7238771915435791, -0.2662201523780823, 0.17217183113098145, 0.21806927025318146, -0.21447928249835968, 0.7560566663742065, -0.35328444838523865, -0.05612804740667343, -0.47359803318977356, 0.035074107348918915, 0.15819130837917328, 0.3910846412181854, 0.20297926664352417, 0.6322755217552185, 0.0939263105392456, -0.6106396317481995, -0.1398065686225891, 0.10279393941164017, 0.1854342669248581, 0.8572473526000977, -0.23223797976970673, 0.3831368088722229, 0.08545679599046707, 0.31205540895462036, -0.9823510646820068, -0.04698722064495087, 0.4436942934989929, -0.5182890892028809, 0.20421238243579865, -0.04629623517394066, -0.49402207136154175, -0.18406246602535248, -0.3344571590423584, 0.4945280849933624, 0.46416381001472473, -0.4256400167942047, 0.7651461958885193, 0.5751980543136597, -0.029967278242111206, -0.16746114194393158, -0.7081334590911865, 0.38203778862953186, -0.48789167404174805, -0.6814154982566833, 0.49066051840782166, -0.035439856350421906, -0.19600984454154968, -0.22876323759555817, -0.033544689416885376, -0.08708400279283524, 0.2282119244337082, 0.48146358132362366, 0.28644222021102905, 0.020231051370501518, -0.03382674604654312, 0.2350916713476181, -0.13720367848873138, 0.10459692776203156, -0.4431377053260803, 0.6195282340049744, -0.02184922806918621, -0.19729240238666534, -0.3163737952709198, 0.305581659078598, 0.5259513258934021, -0.2114892452955246, 0.5866397619247437, 0.7754919528961182, -0.3546399176120758, -0.5601024031639099, -0.5683088898658752, 0.06751071661710739, -0.4328005015850067, 0.1038188487291336, -0.5135316848754883, -1.0700527429580688, 0.7362921237945557, -0.06586721539497375, -0.11333223432302475, 0.7988891005516052, 0.5978203415870667, -0.2898031771183014, 0.7111139893531799, 0.6337975263595581, 0.07406129688024521, 0.2026253640651703, 0.07941270619630814, -0.05013898015022278, -1.0868875980377197, -0.6054912209510803, -0.6233770251274109, -0.29527246952056885, -0.7457745671272278, -0.6517868638038635, 0.43519169092178345, -0.03927615284919739, -0.1631069928407669, 0.2116658240556717, -0.8543157577514648, 0.47431519627571106, 0.4760068356990814, 0.1221691220998764, 0.482577383518219, -0.0536939837038517, -0.4207295775413513, -0.13362248241901398, -0.49478936195373535, -0.7748410105705261, 0.9597508311271667, 0.5440649390220642, 0.5461997985839844, -0.3098372220993042, 1.0506672859191895, 0.5997858643531799, 0.26300472021102905, -0.6720340251922607, 0.7356799840927124, 0.09548231959342957, -0.46204110980033875, -0.336019366979599, -0.36999422311782837, -0.9880151748657227, 0.489762544631958, -0.19221289455890656, -0.702951192855835, 0.014625685289502144, -0.3594396710395813, 0.07804321497678757, 0.5069162249565125, -0.39213085174560547, 0.670648455619812, -0.3980724513530731, -0.29413852095603943, 0.2521427869796753, -0.5392574667930603, 0.054207708686590195, -0.3829834461212158, 0.35126185417175293, -0.22354160249233246, -0.30583709478378296, 1.240394949913025, -0.34428420662879944, 1.0325134992599487, -0.059724316000938416, -0.29211509227752686, 0.6224965453147888, 0.0508357509970665, 0.4004681706428528, -0.3784688413143158, 0.0032534440979361534, 0.2774662375450134, -0.21578100323677063, -0.2262079268693924, 0.014574361965060234, 0.37641942501068115, -0.9578359127044678, -0.3490368723869324, -0.5620059967041016, -0.24676740169525146, -0.05123453214764595, 0.4650910198688507, 0.5223685503005981, 0.14711979031562805, -0.0808984711766243, -0.16827194392681122, 0.5503674745559692, -0.14531035721302032, 0.31297582387924194, 0.302678644657135, -0.18983016908168793, -0.29654091596603394, 0.8459116220474243, 0.09916405379772186, -0.07488959282636642, 0.23985198140144348, 0.02632814086973667, -0.43164029717445374, -0.7816752791404724, -0.49052396416664124, 0.2940398156642914, -0.764723539352417, -0.008992725051939487, -0.6411110162734985, -0.5283992290496826, -0.07720989733934402, -0.25345733761787415, -0.09078051894903183, -0.17238253355026245, -0.7234838008880615, -0.00783332996070385, -0.05857296288013458, 0.9829082489013672, 0.031188275665044785, 0.3427612781524658, -0.721436083316803, -0.10809887945652008, -0.16270634531974792, 0.032158058136701584, -0.16520194709300995, -0.7740733623504639, -0.022450417280197144, -0.2894239127635956, -0.48945561051368713, -0.7956721186637878, 0.3070732355117798, -0.15373627841472626, 0.648634672164917, 0.16294267773628235, 0.027644312009215355, 0.17500443756580353, -0.5602447986602783, 0.614733099937439, 0.2428644597530365, -0.9551407098770142, 0.09691905975341797, -0.36750683188438416, 0.2697243392467499, 0.2125599980354309, 0.28133732080459595, -0.7816827893257141, -0.5631033778190613, -0.47883182764053345, -0.7196887135505676, 0.4446217119693756, 0.4357038736343384, -0.16183416545391083, 0.1588684320449829, 0.2276320904493332, 0.30931374430656433, 0.1156628355383873, -0.9360820651054382, 0.0393141508102417, 0.1710764467716217, -0.29480886459350586, 0.2036082148551941, -0.23015516996383667, 0.1687753051519394, 0.1292048990726471, 0.4986332952976227, 0.011341098695993423, 0.16597001254558563, 0.23630906641483307, -0.2522430717945099, 0.0036297535989433527, 0.38602855801582336, 0.5808455944061279, 0.2881455719470978, 0.10852574557065964, 0.5670070648193359, 0.3549079895019531, -0.4084472358226776, 0.37324392795562744, 0.03906690701842308, -0.25248876214027405, -0.13547462224960327, 0.7108295559883118, 0.6781770586967468, -0.24826979637145996, -0.5587869882583618, 0.2598567306995392, 0.17104007303714752, -0.4419057071208954, -0.12859465181827545, 0.046251337975263596, -0.036556851118803024, 0.349626749753952, 0.6187136173248291, 0.08184820413589478, 0.01918288692831993, -0.3423468768596649, 0.33590197563171387, 0.2364494949579239, -0.3999810516834259, -0.5584626793861389, 0.4781299829483032, 0.5847705602645874, -0.5736623406410217, 0.3007749319076538, -0.42756909132003784, -1.2164080142974854, 0.6382405161857605, 0.4519754648208618, 0.8392069935798645, -0.026429418474435806, 0.006912867072969675, -0.11182048916816711, 0.35482391715049744, 0.2475929856300354, 0.08931341767311096, -0.07003727555274963, -1.0219453573226929, -0.3207571506500244, -0.6416022181510925, -0.34611111879348755, 0.1379636973142624, -0.29287368059158325, 0.44900253415107727, -0.29056689143180847, -0.3988770544528961, 0.10130391269922256, -0.04814249649643898, -0.5793210864067078, 0.2744218111038208, 0.5914710760116577, 0.6194299459457397, -0.9742708802223206, 0.27535420656204224, 0.831499457359314, 0.16747096180915833, -0.4428021311759949, 0.006834911182522774, 0.11695954948663712, -0.6936206817626953, 0.5346239805221558, 0.4043881893157959, -0.4265728294849396, -0.11073632538318634, -0.5851112008094788, -0.22045104205608368, 0.984930157661438, -0.2788489758968353, -0.34237879514694214, -0.1301412433385849, 0.5388818979263306, 0.42169323563575745, -0.434910386800766, 0.16985486447811127, 0.5709997415542603, 0.4486753046512604, 0.13041141629219055, -0.989769697189331, 0.10996989160776138, -0.07400393486022949, -0.37117859721183777, 0.42008674144744873, -0.7806907892227173, 0.9289644956588745, 0.2583475708961487, -0.17087146639823914, -0.20082922279834747, 0.4929928779602051, 0.4259895086288452, 0.7816985249519348, 0.6145902276039124, 0.49893879890441895, 1.0179383754730225, -0.07827427983283997, 0.4726434648036957, -0.014898738823831081, 0.16343559324741364, 0.602851927280426, -0.43883806467056274, 0.5697579979896545, 0.5004931092262268, -0.14142552018165588, 0.5744438767433167, 1.1400787830352783, 0.018788395449519157, 0.19300894439220428, 0.29758554697036743, -0.39822709560394287, -0.4875822961330414, -0.3023935556411743, -0.16768957674503326, 0.42847123742103577, 0.4556977450847626, -0.2753917872905731, 0.0012633642181754112, 0.0033214306458830833, 0.03470883518457413, -0.03912356495857239, -0.3558465838432312, 0.6880435943603516, 0.43141716718673706, -0.5196528434753418, 0.29042187333106995, 0.37304961681365967, 0.9452610611915588, -0.05240373685956001, 0.19502657651901245, -0.006323680281639099, 0.056824084371328354, -0.32357257604599, -1.120482087135315, 0.06241382285952568, 0.162995845079422, -0.09241249412298203, -0.2513761520385742, 1.2593915462493896, -0.4766092300415039, -0.4114481508731842, 0.33157461881637573, 0.7079076170921326, 0.2599768340587616, -0.05651955306529999, -0.42604053020477295, 0.3725198209285736, 0.14889384806156158, -0.28982487320899963, 0.1614188551902771, 0.828086256980896, -0.33742716908454895, 0.6587361693382263, 0.39673054218292236, -0.08493944257497787, 0.043579474091529846, -0.16216610372066498, 0.7968743443489075, -0.8261454701423645, -0.8140477538108826, -1.0948563814163208, 0.5464007258415222, -0.22603628039360046, -0.32331568002700806, 0.6599137187004089, 0.6956788897514343, 0.6304495334625244, 0.27084478735923767, 1.0874453783035278, 0.3408207893371582, 0.40229055285453796, -0.6684998869895935, 0.5818472504615784, -0.5524183511734009, 0.3115052282810211, -0.06964396685361862, -0.808766782283783, -0.2197520136833191, 0.34187284111976624, -0.38742485642433167, 0.012167658656835556, 0.6989458799362183, 0.45565471053123474, -0.013041605241596699, -0.07375788688659668, 0.2233075648546219, -0.1319224089384079, 0.3147140443325043, 0.5650450587272644, 1.3235210180282593, -0.1625533103942871, 0.6106471419334412, 0.22411270439624786, -0.08789113909006119, -0.27255675196647644, -0.7996842265129089, -1.4543384313583374, -0.6703797578811646, -0.19145473837852478, -0.44182294607162476, -0.1990765631198883, 0.7109531760215759, 0.5031980276107788, -0.5631294250488281, -0.2702540159225464, 0.05192801356315613, 0.2773953974246979, 0.659995436668396, -0.21437640488147736, 0.18817998468875885, -0.09351176768541336, -0.6651136875152588, 0.18759801983833313, 0.4008581340312958, 0.410276859998703, -0.2686873972415924, -0.2581278681755066, -0.10896718502044678, 0.18352088332176208, 0.36705076694488525, -0.042340237647295, -0.5448607802391052, -0.2915674149990082, 0.16367903351783752, -0.36008304357528687, 0.2306164652109146, 0.7302857041358948, -0.44983384013175964, 0.1133401021361351, 0.4525294005870819, 0.7772409915924072, 0.741024374961853, 0.11925797164440155, 0.46705836057662964, -0.7840051651000977, -0.010099774226546288, 0.42351609468460083, 0.2547212541103363, 0.4957493841648102, -0.36380431056022644, 0.42739805579185486, 0.5477538704872131, -0.620614767074585, -0.8741123080253601, 0.00039178741280920804, -0.8371386528015137, -0.2817257344722748, 1.2696400880813599, 0.15283742547035217, -0.35536420345306396, -0.29498425126075745, -0.3265521228313446, 0.29023149609565735, -0.3326756954193115, 0.33408281207084656, 0.9840357303619385, -0.24926067888736725, -0.027518553659319878, -0.21530143916606903, 0.3353850245475769, 0.32583028078079224, -0.8736428022384644, -0.27032509446144104, 0.30242106318473816, 0.24708245694637299, 0.17685134708881378, 0.7611660957336426, 0.23296846449375153, -0.04919368028640747, -0.05446549132466316, 0.15521545708179474, -0.03182342275977135, -0.33995890617370605, -0.12030557543039322, 0.09564363211393356, 0.037398532032966614, -0.08515540510416031 ]
http://arxiv.org/abs/2404.00884v1
http://arxiv.org/pdf/2404.00884v1
Self-Demos: Eliciting Out-of-Demonstration Generalizability in Large Language Models
2024-04-01T03:25:06
2024-04-01T03:25:06
Wei He, Shichun Liu, Jun Zhao, Yiwen Ding, Yi Lu, Zhiheng Xi, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have shown promising abilities of in-context learning (ICL), adapting swiftly to new tasks with only few-shot demonstrations. However, current few-shot methods heavily depend on high-quality, query-specific demos, which are often lacking. When faced with out-of-demonstration (OOD) queries, methods that rely on hand-crafted demos or external retrievers might fail. To bridge the gap between limited demos and OOD queries, we propose Self-Demos, a novel prompting method that elicits the inherent generalizability in LLMs by query-aware demo generation. The generated demos strategically interpolate between existing demos and the given query, transforming the query from OOD to ID. To evaluate the effectiveness of our approach, we manually constructed OOD-Toolset, a dataset in the tool-using scenario with over 300 real-world APIs and 1000 instances, each consisting of three tool-use cases as demos and an OOD query. Thorough experiments on our dataset and two public math benchmarks have shown that our method can outperform state-of-the-art baselines in the OOD setting. Moreover, we conduct a range of analyses to validate Self-Demos's generalization and provide more insights.
[ -0.3835950791835785, -0.8294338583946228, 0.7488635778427124, 0.31672143936157227, -0.191819965839386, -0.10150942206382751, -0.33272576332092285, 0.07911930978298187, -0.04172847047448158, 0.3262753486633301, -0.5224747657775879, -0.6257426738739014, -0.11297963559627533, -0.08715199679136276, -0.7336881160736084, 0.6895847320556641, 0.1209077462553978, -0.2925048768520355, -0.434436559677124, -0.25643619894981384, -0.19172470271587372, -0.5274267196655273, -0.2242688536643982, -0.026438914239406586, 0.10969742387533188, 0.5819952487945557, 0.29247725009918213, 0.37907907366752625, -0.1206328347325325, 0.21477188169956207, 0.2238616943359375, 0.01991959661245346, -0.4940967559814453, 0.29073700308799744, -0.24458622932434082, -0.6658634543418884, -0.267431378364563, -0.053799714893102646, 0.6731241941452026, 0.6788966655731201, -0.23810675740242004, 0.36288195848464966, 0.2556919753551483, 0.3879266381263733, -0.8284353017807007, 0.06418276578187943, -0.9830525517463684, -0.007660810369998217, -0.08846146613359451, -0.08405274897813797, -0.6385676264762878, -0.20647694170475006, -0.01156336534768343, -0.4708203673362732, 0.41224685311317444, -0.05203228443861008, 0.46658024191856384, 0.005199076607823372, -0.2996412217617035, -0.29677361249923706, -0.5109512209892273, 0.6325432658195496, -0.8711430430412292, 0.30848681926727295, 0.2996525764465332, 0.7049626708030701, -0.38009992241859436, -0.8530777096748352, -0.6982172727584839, -0.5170052647590637, 0.18251681327819824, 0.20036524534225464, -0.3501094877719879, -0.036888666450977325, 0.33167076110839844, 0.3786506950855255, -0.36632004380226135, 0.3372982442378998, -0.15274293720722198, 0.012542779557406902, 0.47142690420150757, -0.03614623844623566, 0.24241669476032257, -0.07391238212585449, -0.38292351365089417, -0.10620644688606262, -1.1934895515441895, 0.19164760410785675, 0.4663143754005432, 0.4219387471675873, 0.06351986527442932, 0.6172080636024475, -0.49273526668548584, 0.7865833640098572, 0.39476490020751953, 0.12249122560024261, -0.0007622573175467551, -0.34228405356407166, -0.2774353623390198, -0.30157044529914856, 0.993536651134491, 0.1470901370048523, -0.04430598020553589, -0.16328196227550507, -0.3520625829696655, -0.32536041736602783, -0.1533765196800232, -0.889929473400116, -0.1745556890964508, 0.3546646535396576, -0.37812045216560364, 0.005524714011698961, -0.06538690626621246, -0.9780966639518738, -0.28002092242240906, -0.06313324719667435, 0.7342754602432251, -0.26243045926094055, -0.3447953164577484, -0.03675364702939987, -0.05067138001322746, -0.1004410833120346, 0.1838066279888153, -0.8154149651527405, 0.2582346200942993, 0.34217336773872375, 0.7613142728805542, -0.20874983072280884, -0.35035642981529236, -0.8283970355987549, 0.21609467267990112, -0.47511351108551025, 0.5835744738578796, -0.39622384309768677, -0.6283923983573914, 0.10741960257291794, -0.33496782183647156, 0.10396705567836761, -1.0099982023239136, 0.030890323221683502, -0.42368143796920776, 0.4061475098133087, -0.12557348608970642, -0.8286913633346558, 0.277759850025177, 0.320596307516098, -0.29475873708724976, 1.1409580707550049, 0.06256309896707535, -0.28256696462631226, 0.4439481794834137, -0.7464233040809631, -0.039455778896808624, 0.061327140778303146, -0.7439630031585693, -0.10006818920373917, 0.42170411348342896, 0.5040715336799622, 0.5909222960472107, -0.09803885966539383, 0.1433371901512146, -0.4436522126197815, -0.23065587878227234, 0.1155017614364624, -0.4374963045120239, 0.47050416469573975, 0.12767761945724487, -0.5139296054840088, 0.12401662766933441, -0.7119296789169312, 0.20437823235988617, 0.2697032392024994, -0.12324701249599457, -0.332303524017334, -0.1498369574546814, -0.557488203048706, 0.2971450984477997, 0.09345611929893494, -0.5854195356369019, 0.5836707949638367, -0.6158626675605774, 0.4426584243774414, 0.6214771866798401, 0.11715471744537354, 0.4839392304420471, -0.017122574150562286, 0.8467171788215637, -0.18852894008159637, 0.2979924976825714, -0.5811474323272705, -0.3499714136123657, -0.5898325443267822, -0.4045034945011139, 0.15615978837013245, 0.010849237442016602, -0.7073830366134644, 0.4086456894874573, -0.12096497416496277, -0.4876226782798767, -0.4044654071331024, 0.2590748369693756, 0.4390699565410614, 0.6069040298461914, 0.35485008358955383, 0.04926862567663193, -0.16423100233078003, -0.8262214064598083, -0.3268001675605774, -0.34192726016044617, -0.17198115587234497, 0.3953697979450226, 0.4071168601512909, -0.006607921794056892, 1.4064077138900757, -0.35511133074760437, -0.37626248598098755, -0.4649467468261719, 0.29838258028030396, 0.33361107110977173, 0.21105802059173584, 0.630186915397644, -0.4455569088459015, -0.570880115032196, -0.22336077690124512, -0.5559296011924744, -0.19134654104709625, -0.11440826952457428, -0.0004627456364687532, 0.022830508649349213, 0.9329658150672913, -0.3004779815673828, 0.6032693386077881, 0.6241422295570374, 0.03156772255897522, 0.7269699573516846, -0.4865179657936096, 0.011572799645364285, -0.8952476978302002, -0.1374649703502655, -0.3440452516078949, -0.1101127564907074, -0.3365131914615631, 0.20225763320922852, 0.3785194158554077, -0.3172162175178528, -0.5338023900985718, 0.8156915307044983, -0.625537633895874, -0.10532635450363159, -0.23168595135211945, 0.07633635401725769, 0.055698737502098083, 0.22500163316726685, -0.272320032119751, 1.143093466758728, 0.6471667885780334, -0.8955523371696472, 0.20509105920791626, 0.026158250868320465, -0.5101620554924011, 0.36509302258491516, -0.7150641083717346, 0.2637198865413666, -0.13894504308700562, 0.5027007460594177, -1.3764500617980957, -0.40500468015670776, 0.03970588743686676, -0.3501368761062622, 0.0723802000284195, -0.5173833966255188, -0.7607483267784119, -0.3045998811721802, -0.21721050143241882, 0.5081984996795654, 0.5483463406562805, -1.0937623977661133, 0.5822203159332275, 0.05995725840330124, -0.012568633072078228, -0.4715460538864136, -0.5745067596435547, 0.09262665361166, -0.34959566593170166, -0.36508405208587646, 0.28610870242118835, -0.26635968685150146, -0.16249854862689972, -0.2851060628890991, 0.12478804588317871, -0.05988895148038864, -0.0389825701713562, 0.273917555809021, -0.08687939494848251, -0.12224289029836655, 0.5255445241928101, 0.253731906414032, 0.21456819772720337, 0.11580456793308258, -0.1954628825187683, 0.7804625034332275, -0.05464162304997444, -1.046525478363037, -0.4622645378112793, 0.4027054011821747, 0.3097248375415802, -0.19326792657375336, 0.20880261063575745, 0.05284466594457626, -0.11180673539638519, -0.7093265056610107, -0.5909906625747681, -0.3415224552154541, -0.5359605550765991, 0.3465626835823059, -0.45235368609428406, -0.5738860368728638, 0.3738873302936554, -0.4626173973083496, 0.16875654458999634, 0.12730981409549713, 0.5184428691864014, -0.1313638985157013, 1.1974507570266724, 0.39888855814933777, 0.12818291783332825, 0.5727522969245911, -0.5054731369018555, -0.014133340679109097, -0.6704338788986206, 0.02025727555155754, -0.34495824575424194, -0.06910256296396255, 0.06832731515169144, -0.43574273586273193, 0.6885875463485718, 0.224589005112648, 0.07762118428945541, 0.09450510144233704, -0.1861649602651596, 0.6478524804115295, 0.6548464894294739, -0.018454939126968384, 0.30354437232017517, 0.01747879944741726, -0.38292914628982544, -0.11382770538330078, -0.5525779724121094, -0.30457937717437744, 1.264724850654602, 0.10496988892555237, 0.8574244976043701, 0.22223056852817535, 1.0395398139953613, 0.2173999845981598, 0.3374098539352417, -0.6914499998092651, 0.7203714847564697, 0.16160529851913452, -0.7818061113357544, -0.4927871525287628, -0.17189723253250122, -1.073160171508789, 0.3870486617088318, 0.13968680799007416, -0.8034908175468445, 0.2387215793132782, 0.5278221368789673, -0.5726237893104553, 0.15283343195915222, -0.8790155053138733, 0.7995744943618774, -0.30922430753707886, -0.17657168209552765, -0.11162219941616058, -0.3343285322189331, 0.22093044221401215, 0.08184143900871277, 0.3255567252635956, -0.10311878472566605, -0.104604072868824, 0.3071085512638092, -0.3929010331630707, 1.0208617448806763, -0.38651686906814575, -0.27222633361816406, 0.4292077422142029, 0.3223457932472229, 0.5912432670593262, 0.04717244207859039, -0.08356557786464691, -0.35416051745414734, -0.15053711831569672, -0.13315558433532715, -1.132239818572998, 0.6061909198760986, -0.3616807162761688, -0.8006420731544495, 0.10240408033132553, -0.286822646856308, -0.5487952828407288, 0.05612548068165779, 0.5834219455718994, 0.7529635429382324, -0.2329082190990448, 0.23453137278556824, 0.41587918996810913, -0.26933184266090393, 0.5498054027557373, 0.5309197902679443, -0.7297385931015015, -0.3332904279232025, 1.0047861337661743, 0.26512834429740906, 0.761462926864624, 0.0704021081328392, 0.5580114126205444, -0.6999145746231079, -0.6599065065383911, -0.6175273060798645, 0.1972406655550003, -0.8613096475601196, -0.02789761684834957, -0.5355901122093201, 0.22059069573879242, -0.6952069401741028, 0.027284247800707817, -0.3862096071243286, -0.2607353925704956, -0.20284241437911987, -0.05765252560377121, -0.08500529825687408, 0.7293061017990112, -0.011214518919587135, 0.39597517251968384, -0.5165114998817444, 0.28889498114585876, 0.7466350197792053, 0.13857027888298035, 0.11096981167793274, -0.7461344003677368, 0.1253371685743332, -0.10770095884799957, -0.2752801477909088, -0.9655956625938416, 0.42599213123321533, 0.49377477169036865, 0.780247688293457, 0.7133798599243164, 0.41648000478744507, 0.8375481367111206, -0.3655591905117035, 0.9136471152305603, 0.17182688415050507, -0.9644719362258911, 0.9354448318481445, -0.40759557485580444, 0.14943891763687134, 0.6490605473518372, 0.32502317428588867, -0.1976121962070465, -0.5193006992340088, -0.7147231698036194, -0.9279128313064575, 0.32300764322280884, -0.07700503617525101, 0.4541109502315521, -0.15244323015213013, 0.32454511523246765, 0.5443728566169739, 0.3339582681655884, -0.5654467344284058, -0.2305549532175064, -0.14254961907863617, -0.0796392410993576, 0.08577364683151245, -0.2127908170223236, -0.12691539525985718, -0.20715884864330292, 0.4387476146221161, -0.6288250088691711, -0.0585642047226429, 0.16956079006195068, -0.283761203289032, 0.23886653780937195, 0.5441977977752686, 0.1431744247674942, 1.0093289613723755, -0.15224073827266693, 0.042355749756097794, 0.2289918065071106, 0.08649992197751999, 0.2492365837097168, -0.10798856616020203, -0.1844891756772995, 0.05475873500108719, 0.04752698540687561, 0.47665321826934814, 0.20295259356498718, -0.9015257954597473, 1.0212106704711914, -0.13722212612628937, -0.09085915237665176, -0.2864706516265869, 0.10905315726995468, -0.1602710336446762, 0.1503925621509552, 0.5510765910148621, -0.6024218797683716, 0.43384867906570435, -0.7283692955970764, 0.12492521852254868, 0.5432001948356628, -0.2986222505569458, -0.3126000463962555, 0.5833366513252258, 0.0935259535908699, -0.12565931677818298, 0.43126213550567627, -0.3548067808151245, -0.08502711355686188, 0.44828641414642334, 0.8805172443389893, 0.6602308750152588, 0.03563467040657997, 0.2828366458415985, 0.23517121374607086, -0.14668679237365723, -0.10939647257328033, 0.18760567903518677, -0.3877742886543274, -0.4495152235031128, -0.4068991243839264, -0.08473236858844757, -0.6340422630310059, 0.3058607578277588, -0.8733139038085938, 0.26475903391838074, -0.3625563085079193, -0.08303651213645935, -0.32998502254486084, -0.40626129508018494, -0.47301843762397766, 0.09774437546730042, 0.03143111988902092, 1.1552248001098633, -0.769483745098114, 0.7703680992126465, 0.7009886503219604, -0.35063594579696655, -0.616016149520874, 0.2663988471031189, -0.15052585303783417, -0.939610481262207, 0.7179267406463623, 0.1739758551120758, -0.0017070886678993702, 0.157039612531662, -0.873723566532135, -0.6491224765777588, 0.9175782799720764, 0.7763262987136841, -0.5509837865829468, -0.08897589892148972, 0.14232727885246277, 0.3895687758922577, -0.31528565287590027, 0.3599931299686432, 0.2936585545539856, 0.1977483034133911, -0.02356830984354019, -0.7748136520385742, -0.07085580378770828, 0.11776726692914963, -0.18928179144859314, -0.15268667042255402, -0.6899461150169373, 0.8112666606903076, -0.2749142646789551, -0.3100491762161255, 0.27867063879966736, 0.9464746117591858, 0.5235454440116882, 0.28863200545310974, 0.7376444935798645, 0.34468916058540344, 0.7280288934707642, 0.09011330455541611, 1.1348538398742676, -0.11781288683414459, 0.2245083898305893, 1.4722812175750732, -0.11428305506706238, 1.0198893547058105, 0.5595188736915588, -0.19184643030166626, 0.4230433404445648, 0.22127275168895721, 0.30235347151756287, 0.4452402889728546, 0.29667404294013977, -0.4250219166278839, -0.5046384334564209, -0.03805932775139809, -0.582595944404602, 0.43959861993789673, 0.3753852844238281, -0.22280460596084595, -0.5651030540466309, 0.2014608234167099, -0.17173269391059875, 0.3712807893753052, -0.11097019165754318, 0.7717397212982178, -0.09842172265052795, -0.7673236131668091, 0.4054222106933594, -0.4772852659225464, 0.7349020838737488, -0.7668456435203552, -0.17078465223312378, -0.4256812334060669, 0.13494226336479187, 0.15982681512832642, -0.7801517844200134, -0.18523885309696198, -0.19233424961566925, 0.07428976148366928, -0.2972636818885803, 0.3747733235359192, -0.4788156747817993, -0.16092121601104736, 0.30120766162872314, 0.7608940005302429, 0.243946373462677, -0.4763336777687073, -0.48805204033851624, -0.21934133768081665, -0.22683903574943542, -0.07098165154457092, 0.6978476047515869, 0.6585708856582642, -0.021165553480386734, 0.775954008102417, 0.53919917345047, 0.06987841427326202, 0.3186689615249634, 0.34619972109794617, 0.9898804426193237, -0.4894806146621704, -0.5953355431556702, -0.8097163438796997, 0.31373658776283264, -0.14653590321540833, -0.48010900616645813, 1.0355945825576782, 0.6061201095581055, 0.8979706168174744, -0.18899543583393097, 0.9524669647216797, 0.20666927099227905, 0.6858389377593994, -0.4947596788406372, 0.5114519000053406, -0.6876188516616821, 0.10497493296861649, 0.00991213321685791, -0.5547688007354736, -0.022176917642354965, 0.21403564512729645, -0.24370601773262024, -0.08956649899482727, 0.33992230892181396, 0.7846697568893433, -0.16593851149082184, -0.3279227614402771, 0.5949118137359619, 0.15528243780136108, 0.7531751394271851, 0.19329318404197693, 1.3491195440292358, -0.08782758563756943, 0.7739415764808655, -0.2728564441204071, -0.307057648897171, -0.28782132267951965, -1.0387721061706543, -0.984375, -0.5834597945213318, -0.21811243891716003, -0.2597943842411041, 0.037852369248867035, 1.0493254661560059, 0.8851293921470642, -0.7338433265686035, -0.33517858386039734, -0.1426948606967926, -0.13791000843048096, -0.10697589069604874, -0.2050294131040573, 0.3012547492980957, -0.7311423420906067, -0.8519192934036255, 0.8642743229866028, 0.1236409991979599, 0.1386278122663498, -0.525459885597229, 0.22303420305252075, 0.18821865320205688, -0.04754825308918953, 0.38280269503593445, 0.6077601909637451, -0.743488073348999, -0.09083805233240128, -0.169546976685524, 0.10943520814180374, 0.07172104716300964, 0.8833643794059753, -1.0855474472045898, 0.7815001010894775, 0.42589709162712097, 0.4938408136367798, 0.31817978620529175, 0.16826817393302917, 0.6543233394622803, -1.2059845924377441, 0.17402590811252594, 0.19093097746372223, 0.3360562026500702, 0.09868602454662323, -0.16458134353160858, 0.35324105620384216, -0.07542185485363007, -0.43520545959472656, -0.978516697883606, 0.3246802091598511, -0.60252845287323, -0.16690780222415924, 1.388136386871338, -0.3544118106365204, -0.19884927570819855, -0.10903605818748474, -0.33852919936180115, -0.23200199007987976, -0.530256986618042, 0.8900979161262512, 0.33979716897010803, -0.27482566237449646, 0.11026428639888763, -0.45893150568008423, 0.37542396783828735, 0.28758636116981506, -0.8403247594833374, 0.2727765440940857, 0.42562007904052734, 0.38226816058158875, -0.04988749697804451, 0.7554152011871338, -0.12748950719833374, 0.17117244005203247, -0.2265099436044693, -0.007598129566758871, -0.24911421537399292, -0.3364886939525604, -0.448611855506897, 0.4203382134437561, 0.27916476130485535, -0.406802237033844 ]
http://arxiv.org/abs/2404.00862v1
http://arxiv.org/pdf/2404.00862v1
Bailong: Bilingual Transfer Learning based on QLoRA and Zip-tie Embedding
2024-04-01T02:04:44
2024-04-01T02:04:44
Lung-Chuan Chen, Zong-Ru Li
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated exceptional performance in various NLP applications. However, the majority of existing open-source LLMs are pre-trained primarily on English data and little part of other languages. This deficiency in multilingual training data results in suboptimal performance when applied to languages with fewer available resources. Furthermore, enhancing the performance of LLMs on low-resource languages by full-parameter fine-tuning with additional data requires substantial computational resources, posing computational barriers for research organizations and individual researchers. Consequently, several techniques such as parameter-efficient tuning and advanced embedding initialization have been proposed to address these challenges. In this work, we combine them to facilitate cross-lingual transfer on English-dominated open-source LLM. To effectively enhance the model's proficiency in Traditional Chinese, we conduct secondary pre-training on Llama 2 7B with Traditional Chinese data by leveraging QLoRA and our proposed zip-tie embedding initialization. The resulting model called Bailong, which stands for Bilingual trAnsfer learnIng based on qLOra and zip-tie embeddiNG. We present Bailong-instruct 7B, a fine-tuned version of Bailong 7B optimized for multi-turn dialogue scenarios. Recognizing the inadequacy of benchmark datasets in Traditional Chinese, we further introduce Bailong-bench to assess the alignment of models with human preferences and the capability to follow instructions in both Traditional Chinese and English tasks. In our evaluation, Bailong-instruct 7B exhibits competitive performance on Bailong-bench and other benchmark datasets when compared to other open-source models of similar or even larger parameter sizes. Bailong-instruct 7B and Bailong-bench are publicly available with the aim of empowering the community to build upon our efforts.
[ -0.23285694420337677, -0.34374263882637024, 0.34471067786216736, 0.4912259578704834, -0.4088667631149292, 0.21395888924598694, -0.39921095967292786, -0.44482019543647766, 0.2768171727657318, 0.42944663763046265, -0.06329776346683502, -0.4203535318374634, -0.519036591053009, 0.06516747921705246, -0.11851529777050018, 0.7375435829162598, -0.054283808916807175, 0.1650329828262329, 0.13584484159946442, -0.08495835959911346, -0.492788165807724, -0.3432299494743347, -0.730115532875061, -0.1809365153312683, 0.6314365863800049, 0.6019794940948486, 0.5478829145431519, 0.47872576117515564, 0.09105969965457916, 0.14046244323253632, -0.01744147762656212, 0.48909053206443787, -0.7417237758636475, -0.3329983949661255, -0.23020008206367493, -0.7900781631469727, -0.4540541172027588, -0.17589491605758667, 0.752229630947113, 0.376667320728302, -0.2374677062034607, 0.22053515911102295, -0.11805129051208496, 0.6142151355743408, -0.6330850720405579, 0.4091113805770874, -0.711284339427948, 0.1391894370317459, -0.15925267338752747, -0.20335286855697632, -0.45663243532180786, -0.6029834747314453, 0.0887351930141449, -0.6927950382232666, -0.0700300931930542, 0.19247712194919586, 0.5641637444496155, 0.0917050689458847, -0.6666319370269775, -0.3016909956932068, -0.4301806688308716, 0.5140562057495117, -0.961914598941803, 0.4772501587867737, 0.42502474784851074, 0.31946229934692383, -0.15541094541549683, -0.4662613570690155, -0.5611520409584045, -0.3466094434261322, -0.06205961853265762, 0.09374873340129852, 0.3292393088340759, -0.0831257551908493, 0.11415358632802963, 0.22895468771457672, -0.6469522714614868, 0.48464831709861755, -0.6744843125343323, 0.07467783987522125, 0.831652045249939, -0.1098611131310463, 0.5155766010284424, 0.009139695204794407, -0.39262130856513977, -0.22542813420295715, -0.8509035110473633, 0.25801825523376465, 0.20775732398033142, 0.6486319899559021, -0.37605100870132446, 0.34929394721984863, 0.06256355345249176, 0.5225374698638916, 0.2730325758457184, -0.21215486526489258, 0.3175611197948456, -0.17957817018032074, -0.0869966372847557, 0.404643177986145, 0.6914678812026978, 0.12191236764192581, 0.40989696979522705, -0.20899026095867157, 0.020610349252820015, -0.56965172290802, 0.057805612683296204, -0.6152551174163818, -0.08858348429203033, 0.13546736538410187, -0.2019723653793335, -0.2462851107120514, 0.431477427482605, -0.6400315165519714, -0.2967883050441742, -0.17837156355381012, 0.26362696290016174, -0.21151643991470337, -0.2577022910118103, 0.1652490794658661, 0.33047810196876526, 0.5261995196342468, 0.32605770230293274, -1.1041876077651978, 0.11331111192703247, 0.5744699239730835, 1.049195408821106, -0.1336180865764618, -0.4580276310443878, -0.7664028406143188, 0.45409145951271057, -0.6155030727386475, 0.5617507100105286, -0.23073101043701172, -0.11435079574584961, 0.28620198369026184, 0.4406328499317169, -0.3399646282196045, -0.41502246260643005, 0.6225265860557556, -0.41103067994117737, 0.01986204832792282, -0.32009974122047424, -0.2689630389213562, -0.4294682741165161, -0.05561061203479767, -0.856753408908844, 0.8838092088699341, 0.1945565640926361, -0.6547361016273499, 0.0285041444003582, -0.2578262388706207, -0.6132069826126099, -0.1457098126411438, 0.09713660925626755, -0.30418631434440613, 0.08069419115781784, 0.42044246196746826, 0.367299348115921, -0.6066581010818481, 0.2448042333126068, -0.26775169372558594, -0.5851521492004395, -0.13888463377952576, 0.028311071917414665, 0.8819693326950073, 0.016383636742830276, -0.381329208612442, -0.0917016789317131, -0.7107023596763611, -0.04808517545461655, 0.06531213223934174, -0.21167781949043274, -0.3683610260486603, -0.25428488850593567, -0.062407009303569794, 0.35749801993370056, 0.18058918416500092, -0.2851526737213135, 0.32420116662979126, -0.4980648458003998, 0.2863149642944336, 0.7314944267272949, -0.4873870313167572, 0.4808267652988434, -0.3761395215988159, 0.558840811252594, 0.05151507630944252, -0.0418759323656559, -0.2057255059480667, -0.35371464490890503, -0.6769686341285706, -0.1769331395626068, 0.5378541946411133, 0.9059781432151794, -0.7301336526870728, 0.29916277527809143, -0.19870448112487793, -0.5285526514053345, -0.568728506565094, 0.36741894483566284, 0.2429874688386917, 0.15501490235328674, 0.4606053829193115, -0.39039596915245056, -0.4260390102863312, -0.7129229307174683, -0.0425553061068058, -0.19949975609779358, -0.03154752776026726, 0.21190515160560608, 0.07712181657552719, -0.0030280177015811205, 0.473351389169693, -0.20316435396671295, -0.4054505527019501, -0.2528418004512787, 0.002270918805152178, 0.2347717434167862, 0.5237035751342773, 0.7731143832206726, -0.690972089767456, -0.786784827709198, 0.45185860991477966, -0.6138294339179993, -0.26239925622940063, -0.23656775057315826, -0.30133262276649475, 0.1403767168521881, 0.3258524537086487, -0.45980316400527954, 0.1419791579246521, 0.7944767475128174, -0.0012467621127143502, 0.5855115056037903, -0.361663818359375, 0.14058813452720642, -1.1287646293640137, -0.14522747695446014, -0.23519274592399597, -0.18469925224781036, -0.6732824444770813, -0.06089415401220322, 0.3603593707084656, 0.017643166705965996, -0.5564045906066895, 0.4988165497779846, -0.6497295498847961, -0.11284353584051132, -0.18593208491802216, 0.2873394787311554, -0.10157100856304169, 0.5656480193138123, -0.15692803263664246, 0.6848933100700378, 0.4378218650817871, -0.28500130772590637, 0.3973722755908966, 0.37548819184303284, -0.1723247617483139, 0.29692038893699646, -0.692241370677948, 0.41176432371139526, 0.02866446226835251, 0.35214322805404663, -0.7342902421951294, -0.04266464710235596, 0.32968205213546753, -0.01328198704868555, 0.5613998174667358, -0.379094660282135, -0.44409915804862976, -0.20302408933639526, -0.4595385789871216, 0.619744062423706, 0.41611236333847046, -0.9032412171363831, 0.38195177912712097, 0.129488006234169, -0.276340514421463, -0.5577878355979919, -0.67142653465271, -0.0045380559749901295, -0.36752772331237793, -0.6618955135345459, 0.47238069772720337, 0.057059768587350845, 0.2127062976360321, -0.2509402334690094, 0.1265677958726883, -0.20367102324962616, -0.19537362456321716, -0.0472920686006546, 0.20146282017230988, -0.2867914140224457, 0.15096250176429749, 0.40907958149909973, 0.07976370304822922, -0.2156539410352707, -0.5321456789970398, 0.32127994298934937, -0.07782041281461716, -0.20503084361553192, -0.18122024834156036, 0.33899691700935364, 0.48639458417892456, -0.517799437046051, 1.0443012714385986, 0.8511598110198975, -0.19811689853668213, -0.4897902011871338, -0.5099037289619446, 0.24170729517936707, -0.4152177572250366, 0.30247029662132263, -0.3704493045806885, -0.9548928737640381, 0.5396697521209717, -0.19139721989631653, 0.05891573429107666, 0.05634591728448868, 0.6685043573379517, 0.2981499135494232, 0.7320815324783325, 0.78118896484375, -0.2860145568847656, 0.4504186809062958, -0.0031320552807301283, 0.367441862821579, -0.7155277729034424, -0.13940301537513733, -0.2239597588777542, 0.005935703869909048, -0.7298831343650818, -0.6938250660896301, 0.2895320951938629, 0.6184601783752441, -0.2658730745315552, 0.4906611442565918, -0.10285492986440659, 0.1989906281232834, 0.47026798129081726, 0.148429274559021, 0.18671441078186035, -0.11109865456819534, -0.15374889969825745, 0.24715662002563477, -0.9671887159347534, -0.3678361177444458, 1.1203855276107788, 0.25291937589645386, 0.7262777090072632, 0.17805016040802002, 0.7010840177536011, 0.24337142705917358, 0.08205336332321167, -0.5490568280220032, 0.15399937331676483, -0.2384963035583496, 0.11098024994134903, -0.2484271079301834, -0.3434717059135437, -0.9273949861526489, 0.39116525650024414, -0.17553161084651947, -0.7580052614212036, 0.2935456931591034, 0.09840013831853867, -0.24543003737926483, 0.4182996153831482, -0.6100242137908936, 0.6050887703895569, -0.5087633728981018, -0.43132901191711426, -0.1610793173313141, -0.5454025864601135, 0.7090702056884766, -0.4336775243282318, 0.3312314450740814, -0.19549500942230225, 0.14206671714782715, 0.5210796594619751, -0.1678042709827423, 0.7498078942298889, 0.034668125212192535, -0.5285739898681641, 0.1224583238363266, -0.019945956766605377, 0.6910831332206726, 0.11162702739238739, 0.012605546042323112, 0.23178830742835999, 0.18008407950401306, -0.43028464913368225, -0.8657127618789673, 0.6391606330871582, -0.7407860159873962, -0.6537749767303467, -0.09250431507825851, -0.5215513706207275, -0.17448540031909943, 0.018854130059480667, -0.11945502460002899, 0.2201019525527954, 0.1301472932100296, -0.03522462770342827, 0.3790976405143738, -0.5632452368736267, 0.10448167473077774, 0.46157437562942505, -0.29367658495903015, -0.39846181869506836, 0.9675124883651733, 0.29325437545776367, 0.2710690498352051, 0.37695813179016113, 0.3378356397151947, -0.11146897822618484, -0.34144219756126404, -0.5168105959892273, 0.5460888147354126, -0.4688907265663147, -0.11417526751756668, -0.15631231665611267, -0.2726873755455017, -0.6060321927070618, -0.21209117770195007, -0.5441125631332397, -0.5521905422210693, -0.1319887638092041, -0.1608172059059143, 0.10093896090984344, 0.6864832639694214, -0.38926422595977783, 0.07891274988651276, -0.8828210234642029, 0.36677810549736023, 0.27579063177108765, 0.24240843951702118, 0.2633941173553467, -0.5523771643638611, -0.7702594995498657, 0.1266460120677948, -0.11740906536579132, -0.9178308248519897, 0.465312123298645, 0.28695347905158997, 0.716271698474884, 0.5009766221046448, 0.2735044062137604, 0.4246450364589691, -0.6245274543762207, 0.5965881943702698, 0.09928592294454575, -0.9112615585327148, 0.4747403562068939, -0.2734473645687103, -0.08582626283168793, 0.23170581459999084, 0.6652511358261108, -0.4025310277938843, -0.19118833541870117, -0.21540479362010956, -0.7985435724258423, 0.7398409247398376, 0.011841759085655212, -0.20871947705745697, 0.2859213650226593, 0.2862144410610199, 0.17959342896938324, 0.15211303532123566, -0.4954761266708374, -0.05006116256117821, -0.2819003760814667, 0.05105367675423622, -0.31712546944618225, -0.27247941493988037, -0.0973871499300003, -0.3654513955116272, 0.5420048832893372, -0.31851789355278015, 0.060327790677547455, 0.16538336873054504, -0.3641597032546997, 0.02170737273991108, 0.10577630996704102, 0.6761932969093323, 0.7227311730384827, -0.16002032160758972, 0.08943718671798706, 0.39031216502189636, -0.1682254821062088, 0.3510054647922516, 0.1257464736700058, -0.09196938574314117, -0.18538394570350647, 0.3734971880912781, 0.9317825436592102, 0.40023672580718994, -0.5608469247817993, 0.22595001757144928, 0.22851407527923584, -0.08609689772129059, -0.18893292546272278, -0.05598916858434677, 0.09539342671632767, 0.545641303062439, 0.33154192566871643, -0.63702392578125, -0.10058141499757767, -0.5678511261940002, 0.05808570235967636, 0.1309840977191925, -0.0850352868437767, -0.525597333908081, 0.4884435534477234, 0.07723750919103622, -0.3846249580383301, 0.360299676656723, -0.10490678995847702, -0.7734211087226868, 0.45724961161613464, 0.7358569502830505, 0.8269986510276794, -0.4361960291862488, 0.4441186785697937, 0.6456438302993774, 0.507807195186615, -0.3245741128921509, -0.009638482704758644, -0.1813976913690567, -0.7385486960411072, -0.36002105474472046, -0.45245856046676636, -0.5003306865692139, -0.22399328649044037, -0.811302125453949, 0.26381975412368774, -0.2546607553958893, 0.1950644552707672, -0.7410489916801453, 0.16656798124313354, -0.5508671998977661, -0.18716740608215332, 0.27936556935310364, 0.8023614883422852, -0.8307055830955505, 0.9735045433044434, 0.43440812826156616, -0.2933928668498993, -1.0539162158966064, -0.13392768800258636, -0.1984792947769165, -0.6705410480499268, 0.5608440637588501, 0.10167501121759415, -0.04071635380387306, -0.03782465308904648, -0.4273137152194977, -0.9310325384140015, 1.2432838678359985, 0.6747881770133972, -0.5489170551300049, -0.22265231609344482, 0.2276805341243744, 0.3803078830242157, -0.46301203966140747, 0.3449271023273468, 0.6666032075881958, 0.5584512948989868, -0.0982857421040535, -1.307763695716858, 0.2844579219818115, -0.1530887335538864, 0.06858650594949722, -0.242141455411911, -1.1361671686172485, 0.9201176762580872, -0.24746453762054443, -0.2612915337085724, 0.016165826469659805, 0.6259139180183411, 0.426113098859787, 0.1515822410583496, 0.4550483524799347, 0.30666014552116394, 0.8920823931694031, 0.21765707433223724, 0.7752639651298523, -0.41361719369888306, 0.27871963381767273, 1.039522409439087, -0.37107911705970764, 0.9527350664138794, 0.34271693229675293, -0.19308815896511078, 0.523362934589386, 0.5191865563392639, 0.053378526121377945, 0.477215051651001, 0.28391435742378235, -0.04976169019937515, 0.016514642164111137, -0.030016126111149788, -0.5159277319908142, 0.4783569276332855, 0.24241657555103302, -0.09870416671037674, -0.12582160532474518, 0.018840795382857323, -0.1678161472082138, -0.13172799348831177, -0.27702847123146057, 0.44650307297706604, 0.3192463219165802, -0.4551141560077667, 0.8765780925750732, 0.053128354251384735, 0.7095435857772827, -0.7374022603034973, -0.12262167781591415, -0.3930109143257141, -0.13936878740787506, -0.2445429265499115, -0.22259540855884552, -0.1401994824409485, -0.30596107244491577, 0.057676441967487335, 0.10269947350025177, 0.47757816314697266, -0.9166314005851746, -0.4450743496417999, 0.5673035383224487, 0.46533694863319397, 0.1401302069425583, 0.22167427837848663, -0.45599988102912903, -0.10835782438516617, -0.02246689982712269, -0.16403767466545105, 0.47158047556877136, 0.42836254835128784, -0.28995218873023987, 0.6475481390953064, 0.7911780476570129, 0.4691917300224304, 0.44509437680244446, 0.22568732500076294, 0.7528536319732666, -0.5266779661178589, -0.6320586800575256, -0.39623376727104187, 0.21439333260059357, 0.23971332609653473, -0.010233729146420956, 0.7381587028503418, 0.30715063214302063, 0.9672873020172119, -0.06395169347524643, 0.6926543712615967, 0.2340647131204605, 0.2759949266910553, -0.8480361104011536, 0.6913616061210632, -0.569135308265686, 0.13587774336338043, -0.3323245644569397, -0.9025832414627075, -0.13351638615131378, 0.6384965777397156, -0.10124454647302628, -0.156622514128685, 0.5267698764801025, 0.7896500825881958, -0.10385669022798538, -0.11319006234407425, 0.4956040382385254, 0.17203353345394135, 0.38763055205345154, 1.0237295627593994, 0.736690104007721, -0.43833187222480774, 0.33530372381210327, -0.27223995327949524, -0.2712349593639374, -0.2242552489042282, -0.8758525848388672, -1.0315598249435425, -0.48026445508003235, 0.03587518632411957, -0.028224080801010132, 0.3166879713535309, 1.0395004749298096, 0.6526398062705994, -0.7624221444129944, -0.5742682218551636, 0.26780420541763306, 0.2773120105266571, -0.26202666759490967, -0.17824141681194305, 0.6319889426231384, -0.4512246549129486, -0.7379279136657715, 0.6134694814682007, 0.10233309119939804, 0.0167989544570446, -0.35968783497810364, -0.22299453616142273, -0.3644965589046478, 0.04250255227088928, 0.640186071395874, 0.6652328372001648, -0.6117525696754456, -0.24967356026172638, -0.259381502866745, 0.09973355382680893, 0.09605144709348679, 0.8674143552780151, -0.5527826547622681, 0.3781709671020508, 0.47860637307167053, 0.7911829352378845, 0.638713538646698, 0.11382219940423965, 1.0425304174423218, -0.40492141246795654, 0.4426693916320801, -0.2227422297000885, 0.29528069496154785, 0.3262590169906616, -0.3412714898586273, 0.499737024307251, -0.05651051551103592, -0.45267924666404724, -0.9112417101860046, -0.0759958028793335, -0.9349370002746582, -0.028888847678899765, 0.9765373468399048, -0.5240941047668457, -0.061103783547878265, 0.05812181532382965, -0.25116482377052307, 0.5029358267784119, -0.12903907895088196, 0.7575944662094116, 0.5043699145317078, 0.13094566762447357, -0.4615849256515503, -0.5763383507728577, 0.3753628134727478, 0.3952060043811798, -0.7020803689956665, -0.07753309607505798, -0.08751138299703598, 0.04777458682656288, -0.06427858769893646, 0.48863521218299866, 0.14668028056621552, 0.3401194214820862, -0.10847093909978867, -0.08959020674228668, -0.328345388174057, -0.4538187086582184, -0.31379520893096924, 0.09280622005462646, -0.08379985392093658, -0.023334311321377754 ]
http://arxiv.org/abs/2404.00859v1
http://arxiv.org/pdf/2404.00859v1
Do language models plan ahead for future tokens?
2024-04-01T02:01:28
2024-04-01T02:01:28
Wilson Wu, John X. Morris, Lionel Levine
cs.LG
cs.LG, cs.CL
Do transformers "think ahead" during inference at a given position? It is known transformers prepare information in the hidden states of the forward pass at $t$ that is then used in future forward passes $t+\tau$. We posit two explanations for this phenomenon: pre-caching, in which off-diagonal gradient terms present in training result in the model computing features at $t$ irrelevant to the present inference task but useful for the future, and breadcrumbs, in which features most relevant to time step $t$ are already the same as those that would most benefit inference at time $t+\tau$. We test these hypotheses by training language models without propagating gradients to past timesteps, a scheme we formalize as myopic training. In a synthetic data setting, we find clear evidence for pre-caching. In the autoregressive language modeling setting, our experiments are more suggestive of the breadcrumbs hypothesis.
[ -0.41720032691955566, -0.4929921329021454, 0.5295549631118774, 0.1459842175245285, 0.062113869935274124, 0.23858505487442017, -0.09625851362943649, -0.44601666927337646, 0.46545010805130005, 0.5635531544685364, -0.8928016424179077, -0.005639694631099701, -0.38304445147514343, -0.17875473201274872, -1.0069726705551147, 0.7580559253692627, 0.03299174830317497, -0.05327904596924782, 0.022529860958456993, 0.12615461647510529, -0.3707791864871979, -0.710774838924408, -0.6305297017097473, -0.4503445029258728, 0.6703010201454163, 0.2898249328136444, 1.0026191473007202, 0.6597236394882202, 0.07521571964025497, 0.3488650619983673, 0.15714646875858307, -0.6078705787658691, -0.12508943676948547, 0.22020727396011353, -0.3104097247123718, -0.9161501526832581, -0.296257883310318, 0.4674493074417114, 0.5203288793563843, 0.7691908478736877, -0.09057657420635223, 0.12014182657003403, -0.2759857475757599, 0.4663967490196228, -0.8907668590545654, 0.18949061632156372, -0.7433777451515198, 0.42738035321235657, -0.30259427428245544, -0.277072936296463, -0.6722908616065979, -0.2905842065811157, 0.10177434235811234, -0.24264241755008698, 0.5798928141593933, -0.01937483437359333, 0.7416014671325684, 0.16011928021907806, -0.07578872889280319, -0.2407897561788559, -0.7529710531234741, 0.6905696392059326, -0.7025870680809021, 0.6871173977851868, 0.5388913750648499, 0.5520171523094177, -0.1430739015340805, -1.0761828422546387, -0.8479579091072083, -0.2690242528915405, -0.17787064611911774, 0.3035767078399658, -0.0036696174647659063, -0.043948374688625336, 0.23952040076255798, 0.2780507504940033, -0.22046270966529846, 0.36264196038246155, 0.008619217202067375, -0.14453841745853424, 0.058930858969688416, 0.3197025954723358, -0.037131041288375854, 0.0681791752576828, -0.5490146279335022, -0.49324485659599304, -0.6375739574432373, 0.1642303168773651, 0.23946687579154968, 0.36460191011428833, -0.206556037068367, 0.610891580581665, 0.14484603703022003, 0.48744723200798035, 0.1456393301486969, 0.2855100929737091, 0.14166514575481415, -0.21877852082252502, -0.18702884018421173, 0.01927967742085457, 0.41618812084198, -0.04183428734540939, 0.5313136577606201, -0.38449543714523315, -0.30354395508766174, 0.37289151549339294, 0.313309907913208, -0.6184561848640442, -0.3685838282108307, 0.31478431820869446, -0.24564163386821747, -0.22674453258514404, -0.037860918790102005, -0.7997341156005859, 0.03759397193789482, -0.20780068635940552, 0.13749010860919952, -0.2546943426132202, -0.2721189558506012, 0.04921849071979523, -0.27536439895629883, 0.026912741363048553, 0.056505076587200165, -1.1425977945327759, 0.4131205976009369, 0.6855903267860413, 0.5195906162261963, 0.001994226360693574, -0.5311810970306396, -0.4515584707260132, 0.24629084765911102, -0.5637233257293701, 1.0891116857528687, -0.9559481739997864, -0.5097007155418396, 0.2537585496902466, 0.0661245584487915, -0.2779248058795929, -0.23604801297187805, 0.256963312625885, -0.6092373728752136, 0.3300647437572479, -0.2894758880138397, -0.4867836833000183, -0.03955163434147835, 0.01730535179376602, -0.6613384485244751, 0.8751448392868042, 0.0130601916462183, -0.8453004360198975, 0.5669939517974854, -0.41494637727737427, -0.5427972674369812, -0.3020356297492981, -0.34354671835899353, -0.22331884503364563, 0.15950006246566772, 0.3315425515174866, 0.41956114768981934, 0.05029737949371338, 0.3413388729095459, -0.19470946490764618, -0.3396058678627014, 0.4654610753059387, -0.5067643523216248, 0.5863965749740601, 0.06887859851121902, -0.5699601173400879, -0.16270609200000763, -0.39977800846099854, -0.003336655907332897, 0.1118675172328949, -0.24517133831977844, 0.0790761187672615, 0.5764163136482239, -0.27424100041389465, 0.5441343188285828, 0.05241120606660843, -0.34089428186416626, 0.06452544033527374, -0.3778822720050812, 0.5580160617828369, 1.203198790550232, -0.3166564404964447, 0.5789269804954529, -0.35213008522987366, 0.7364006638526917, 0.37930917739868164, 0.27624964714050293, -0.7039404511451721, -0.4735255539417267, -1.327309489250183, 0.36994460225105286, 0.4348334074020386, 0.4014139175415039, -0.5916009545326233, 0.222348153591156, -0.2661774456501007, -0.4871349036693573, -0.11535055935382843, -0.6324658393859863, 0.4163196384906769, 0.4200204312801361, 0.46336719393730164, -0.4305655062198639, -0.4846367835998535, -0.9214791059494019, -0.4535691440105438, -0.2537297010421753, 0.23879800736904144, -0.09718161821365356, 0.3834007978439331, -0.10456998646259308, 0.9806571006774902, -0.40791064500808716, 0.14279772341251373, -0.29938286542892456, 0.4318282902240753, -0.0006232047453522682, 0.5960608720779419, 0.458633154630661, -0.8554995656013489, -0.10232313722372055, -0.5176262855529785, -0.14205724000930786, -0.0026801880449056625, -0.292642205953598, 0.0794648677110672, 0.21235430240631104, 0.8349547386169434, -0.6740850806236267, 0.5591544508934021, 0.7141559720039368, -0.33319079875946045, 0.5779345631599426, 0.02184707671403885, -0.06681817024946213, -0.7201505303382874, -0.02527371421456337, -0.327161967754364, -0.19122624397277832, -0.4894006550312042, -0.19126494228839874, -0.001120388275012374, -0.012391685508191586, -0.39293017983436584, 0.8598926663398743, -0.4030660390853882, -0.40822169184684753, -0.1747450828552246, 0.18192818760871887, -0.011038345284759998, 0.4381656348705292, 0.02669680304825306, 1.0077686309814453, 0.3876307010650635, -0.7627991437911987, -0.5045852661132812, 0.10545725375413895, -0.1861659437417984, -0.07654177397489548, -0.20209930837154388, 0.042984865605831146, -0.058882445096969604, 0.5329193472862244, -0.952470064163208, 0.1849517822265625, 0.1642150729894638, -0.6876413226127625, 0.3649195432662964, -0.045096199959516525, -0.5370937585830688, -0.881605327129364, 0.07198977470397949, 0.27254536747932434, 0.558653712272644, -0.4769397974014282, 0.825082004070282, 0.38267451524734497, -0.039790909737348557, -0.8006435036659241, -1.1041641235351562, 0.00772473681718111, 0.12276341021060944, -0.14957380294799805, 0.4716620147228241, 0.09107756614685059, -0.26315563917160034, -0.0944061353802681, -0.016100989654660225, -0.029603764414787292, 0.13892807066440582, 0.36984893679618835, -0.08371888101100922, -0.27055248618125916, 0.2009909451007843, -0.20522721111774445, -0.5522062182426453, 0.0988728329539299, -0.4716454744338989, 0.9807591438293457, 0.09165365993976593, -0.5041787028312683, -0.3221129775047302, 0.24954290688037872, 0.36786365509033203, -0.45648694038391113, 0.5661207437515259, 0.5611831545829773, -0.26658135652542114, 0.010990026406943798, -0.9189170002937317, -0.41096970438957214, -0.5495104789733887, 0.11774462461471558, -0.36470872163772583, -0.6316789984703064, 0.8920091986656189, 0.09362944960594177, 0.19843070209026337, 0.5214502811431885, 0.6415265202522278, -0.15727201104164124, 0.9637472033500671, 0.8711594939231873, -0.021391749382019043, 0.9506490230560303, -0.3294309973716736, 0.26857733726501465, -0.5904093980789185, -0.1332637369632721, -0.6955861449241638, -0.2829076647758484, -0.5680238008499146, -0.5969719290733337, -0.12137878686189651, -0.11394716054201126, -0.27865803241729736, 0.3306131660938263, 0.07671469449996948, 0.5700315833091736, 0.7661800980567932, -0.24159377813339233, -0.013137701898813248, -0.2449137270450592, -0.4907386898994446, -0.06335269659757614, -0.7979733943939209, -0.24881844222545624, 0.7718856930732727, 0.06953608989715576, 0.6421329975128174, -0.6545175313949585, 0.3948967456817627, 0.14225620031356812, 0.31095215678215027, -0.3629346489906311, 0.640838623046875, -0.15683071315288544, -0.8297014236450195, -0.007585079409182072, 0.03159007802605629, -1.0712347030639648, 0.10127657651901245, -0.08668005466461182, -0.7999082803726196, 0.23355676233768463, 0.3777600824832916, -0.06649056822061539, 0.5855003595352173, -0.6586595773696899, 0.666395902633667, -0.21339762210845947, -0.11534474790096283, -0.5359933972358704, -0.8195778727531433, -0.004621247760951519, -0.009700799360871315, 0.19838730990886688, -0.1311187446117401, 0.0716514140367508, 0.8539198637008667, -0.29865145683288574, 0.9689676761627197, -0.24938315153121948, 0.20649971067905426, 0.3373596966266632, 0.35826683044433594, 0.5233865976333618, -0.3273496627807617, -0.04309339448809624, 0.029515640810132027, -0.2630370259284973, -0.3556020259857178, -0.5333448648452759, 0.3878086507320404, -0.2598433196544647, -0.7486474514007568, -0.3608570098876953, -0.38973745703697205, -0.2861001193523407, 0.35073983669281006, 0.3213498294353485, 0.5694594979286194, 0.04317779466509819, -0.22325006127357483, 0.2347087413072586, -0.21205845475196838, 1.0233906507492065, 0.4597187638282776, -0.3740365207195282, 0.19419626891613007, 0.3996071517467499, 0.14933143556118011, 0.459330290555954, 0.5252180099487305, 0.2841236889362335, -0.2527523338794708, -0.5455344319343567, -0.07821201533079147, 0.18525154888629913, -0.8047273755073547, -0.009503833018243313, -0.7531769871711731, -0.2331591248512268, -0.2506154775619507, -0.46781888604164124, -0.7263957858085632, -0.6580568552017212, -0.07449258863925934, -0.15503820776939392, 0.045488033443689346, 0.672168493270874, -0.03157676011323929, 0.6648464202880859, -0.7742398381233215, 0.06859714537858963, -0.08676185458898544, 0.3159763813018799, 0.49466705322265625, -0.1848926991224289, -0.529456615447998, 0.09397143125534058, -0.2584579288959503, -0.4255790412425995, 0.3743273615837097, -0.004527598153799772, 0.7110520005226135, 0.48978304862976074, -0.29725006222724915, 0.848775327205658, -1.0455857515335083, 0.9949063062667847, 0.12435450404882431, -0.9273761510848999, 0.3997209966182709, -0.14925675094127655, 0.42870229482650757, 0.6124415397644043, 0.3503968119621277, -0.5753924250602722, -0.9010037779808044, -0.9488798379898071, -0.6533818244934082, 0.34612223505973816, 0.03575998917222023, 0.3659781217575073, -0.4789925515651703, 0.25890687108039856, 0.2988150715827942, 0.3537059426307678, -0.6967880725860596, -0.05134015902876854, -0.1596136838197708, 0.13441327214241028, -0.4286210834980011, -0.1464940905570984, 0.36353063583374023, -0.18015795946121216, 0.2578006386756897, 0.04933243244886398, 0.80604088306427, -0.16046574711799622, 0.03172191604971886, -0.31491056084632874, -0.004784527234733105, 0.5013763308525085, 0.8869848251342773, -0.009521341882646084, 0.13515762984752655, -0.010679073631763458, -0.48695608973503113, -0.01657864637672901, -0.23649023473262787, 0.04987861588597298, 0.12137526273727417, 0.47240445017814636, 0.45576971769332886, 0.5351901054382324, -0.4926040470600128, 0.6347211599349976, -0.10725590586662292, 0.21047857403755188, -0.7241183519363403, 0.17430581152439117, 0.12234806269407272, 0.5546825528144836, 0.37338244915008545, 0.31355345249176025, -0.15585725009441376, -0.6437376737594604, 0.31306806206703186, 0.25148099660873413, -0.4836771488189697, -0.7141350507736206, 0.9063259363174438, -0.21497540175914764, -0.3481210470199585, 0.7409585118293762, 0.253385454416275, -0.8161059021949768, 0.5683181881904602, 0.666671872138977, 0.955818772315979, -0.42003166675567627, -0.07203225046396255, 0.034747909754514694, 0.19191385805606842, -0.139779731631279, 0.22461648285388947, -0.05486694723367691, -0.6761268377304077, -0.5099623203277588, -0.5649669766426086, -0.2867158055305481, -0.11090263724327087, -0.6176949143409729, 0.2863233685493469, -0.3943161964416504, -0.512158989906311, -0.06136733666062355, -0.4169178605079651, -0.8681054711341858, 0.5869817137718201, 0.12565231323242188, 1.1962807178497314, -0.8266229629516602, 0.9337318539619446, -0.1274285614490509, -0.3678591549396515, -0.6125887632369995, 0.43800589442253113, -0.408696711063385, -1.0982226133346558, 0.847525954246521, 0.32308024168014526, -0.40001362562179565, 0.010797188617289066, -0.3663225769996643, -1.126999855041504, 0.864484429359436, 0.22753283381462097, -0.4955432415008545, -0.7911612391471863, 0.05879148095846176, 0.41767311096191406, -0.25184711813926697, 0.13819624483585358, 0.529485821723938, 0.4530012011528015, 0.07383187115192413, -0.6397242546081543, -0.2287120521068573, -0.07455074042081833, -0.24153782427310944, 0.5049858689308167, -0.5723113417625427, 1.4633309841156006, -0.31146830320358276, -0.4891164004802704, 0.03990166634321213, 0.7002090215682983, -0.39293140172958374, -0.08583386242389679, 0.47229015827178955, 0.6747714877128601, 0.3377533257007599, -0.08377820253372192, 1.3734601736068726, -0.42150580883026123, 0.03473107889294624, 1.2811808586120605, 0.09176892042160034, 1.1503621339797974, 0.5638550519943237, -0.1518152952194214, 0.8416810035705566, 0.7021300792694092, 0.1062108725309372, 0.7714413404464722, 0.02471124194562435, 0.29609405994415283, -0.30563342571258545, 0.17446397244930267, -0.4453846216201782, 0.5894294381141663, 0.6014503240585327, -0.5191195607185364, -0.3670641779899597, -0.02165927365422249, 0.07925377041101456, -0.07858990877866745, -0.23878951370716095, 0.36493557691574097, 0.18960876762866974, -0.9494401216506958, 0.4069390296936035, -0.0985756367444992, 0.31860247254371643, -0.5462462306022644, 0.1947454810142517, -0.20261158049106598, 0.34161803126335144, 0.2175411731004715, -0.7738713622093201, 0.1994980275630951, -0.48777255415916443, -0.041039541363716125, -0.25516027212142944, 0.2757343053817749, -0.09619131684303284, -0.4954018294811249, 0.4543079435825348, 0.5780325531959534, -0.16168013215065002, 0.2034684419631958, -0.7871794700622559, -0.3007482588291168, -0.3788263201713562, -0.3713676631450653, 0.21659481525421143, 0.2025446593761444, -0.18508858978748322, 0.9317905902862549, 0.5045093297958374, 0.2859136462211609, 0.47895872592926025, 0.28592437505722046, 0.9332102537155151, -0.7594072222709656, -1.0318782329559326, -1.0146280527114868, 0.3883424997329712, 0.3400886356830597, -0.288899302482605, 0.6311875581741333, 0.39660710096359253, 1.0177949666976929, 0.02378103882074356, 0.3359157145023346, 0.2645058035850525, 0.5623534321784973, -0.908428430557251, 0.5238589644432068, -0.32846376299858093, -0.17983472347259521, -0.28692173957824707, -0.8003109693527222, -0.15824930369853973, 0.5195103883743286, -0.6845768690109253, 0.26876750588417053, 0.9481956362724304, 0.4874323010444641, -0.11881095916032791, 0.2821527421474457, -0.006679207552224398, 0.2530730366706848, 0.4225298762321472, 0.45298174023628235, 1.150471806526184, -0.13558751344680786, 0.10959921777248383, -0.21461538970470428, 0.3060888350009918, -0.26456230878829956, -0.8030652403831482, -0.9704864025115967, -0.8400236368179321, 0.13221244513988495, -0.11034861207008362, 0.0918811708688736, 0.5123685598373413, 0.6543905138969421, -0.7720790505409241, -0.22720502316951752, -0.30648231506347656, -0.3342823088169098, -0.06754384934902191, -0.15045182406902313, 0.33183062076568604, -0.6668908596038818, -0.5023792386054993, 0.15400266647338867, 0.1933407038450241, 0.46276041865348816, -0.4103650152683258, 0.3191711902618408, -0.2704973816871643, 0.23177501559257507, 0.29693570733070374, 0.11745291948318481, -0.7497143745422363, -0.46859854459762573, -0.06973600387573242, 0.034600548446178436, 0.527506947517395, 1.2614129781723022, -1.277644157409668, 0.4837176203727722, 0.15372079610824585, 0.2839692234992981, 0.7501757144927979, -0.08058327436447144, 0.7749167084693909, -0.5003954768180847, 0.8900039196014404, 0.5330518484115601, 0.49588271975517273, 0.17317141592502594, -0.045186158269643784, 0.17340140044689178, -0.05310652032494545, -0.3634181320667267, -0.5845154523849487, 0.43045467138290405, -0.32155293226242065, -0.34581854939460754, 0.5705287456512451, -0.1255611628293991, -0.34433627128601074, 0.09456899762153625, 0.3753677308559418, 0.44668444991111755, 0.016876747831702232, 0.8233916163444519, 0.7449479103088379, -0.10016826540231705, 0.10102438181638718, -0.7618685960769653, 0.573687732219696, 0.4753149151802063, -0.42517855763435364, 0.2180144488811493, 0.06595227867364883, -0.12616999447345734, 0.3102901577949524, 0.7514955997467041, -0.21509481966495514, 0.14572769403457642, 0.3903980553150177, -0.41203033924102783, 0.2526768743991852, -0.8024494647979736, 0.14051900804042816, -0.22740983963012695, 0.00008688901289133355, -0.11767161637544632 ]
http://arxiv.org/abs/2404.00829v1
http://arxiv.org/pdf/2404.00829v1
Returning to the Start: Generating Narratives with Related Endpoints
2024-03-31T23:48:50
2024-03-31T23:48:50
Anneliese Brei, Chao Zhao, Snigdha Chaturvedi
cs.CL
cs.CL
Human writers often bookend their writing with ending sentences that relate back to the beginning sentences in order to compose a satisfying narrative that "closes the loop." Motivated by this observation, we propose RENarGen, a controllable story-generation paradigm that generates narratives by ensuring the first and last sentences are related and then infilling the middle sentences. Our contributions include an initial exploration of how various methods of bookending from Narratology affect language modeling for stories. Automatic and human evaluations indicate RENarGen produces better stories with more narrative closure than current autoregressive models.
[ -0.3620673716068268, -0.45318928360939026, 0.5857545137405396, -0.12750914692878723, -0.03904690593481064, 0.2373502105474472, -0.3849846422672272, -0.5241187810897827, 0.03369751200079918, 0.6841086745262146, -0.8992251753807068, -0.25899407267570496, -0.3637238144874573, 0.18363887071609497, -0.6362707614898682, 1.4040509462356567, -0.32244569063186646, -0.47265714406967163, -0.33377349376678467, -0.20995308458805084, -0.44725751876831055, -0.576806366443634, -0.5843110680580139, -0.745164155960083, 0.978818416595459, 0.6532201170921326, 0.7863535284996033, 0.9128506183624268, 0.34345030784606934, 0.22260402143001556, 0.4161668121814728, 0.01870604231953621, -0.6853801012039185, 0.9197486639022827, -0.1824515461921692, -0.8083915710449219, 0.2587602734565735, -0.0019514946034178138, 0.45630353689193726, 0.8028079867362976, -0.27240005135536194, 0.2686868906021118, 0.003525777021422982, 1.0657488107681274, -0.2414570301771164, -0.4288814961910248, 0.06646551936864853, 0.03869962319731712, -0.06155228987336159, -0.6763461232185364, -0.5557490587234497, -0.7829380631446838, 0.09846346080303192, -0.2632094919681549, 0.659851610660553, 0.2731252610683441, 1.020475149154663, 0.22236613929271698, -0.1294037103652954, -0.6771407127380371, -1.1216580867767334, 0.7072477340698242, -0.487480103969574, 0.18274959921836853, 0.09108134359121323, 0.31924018263816833, -0.25944676995277405, -0.8013716340065002, -0.6558325886726379, -0.34300854802131653, -0.18937498331069946, 0.005663164425641298, -0.42655280232429504, -0.22791096568107605, 0.18773001432418823, 0.2606583535671234, -0.7663317918777466, -0.028661277145147324, -0.5344611406326294, 0.08943651616573334, 0.4907457232475281, 0.39815112948417664, 0.4980764091014862, -0.07074015587568283, -0.5004356503486633, -0.5045561194419861, -0.7284532189369202, 0.3225460648536682, 0.8792586922645569, 0.20211128890514374, 0.0939059630036354, 0.5429324507713318, -0.09512943774461746, 0.7496626377105713, 0.1491311937570572, -0.09414514899253845, 0.0437539741396904, -0.35853517055511475, -0.08675294369459152, 0.50478595495224, 0.5500635504722595, 1.1019008159637451, 0.7604667544364929, -0.296475350856781, -0.03299959748983383, 0.03914507105946541, 0.3733544647693634, -0.5324348211288452, -0.10036326199769974, 0.17109650373458862, -0.8859888315200806, -0.6948883533477783, -0.027666576206684113, -0.49822360277175903, -0.11195752769708633, -0.37973102927207947, 0.004551307763904333, -0.51332688331604, -0.07438299804925919, 0.15527038276195526, -0.3885989785194397, 0.3311331570148468, -0.07522530108690262, -0.865666389465332, 0.49395716190338135, 0.5345188975334167, 0.6886460185050964, -0.16426964104175568, -0.5710205435752869, -0.5221532583236694, 0.37564507126808167, -0.5399826169013977, 0.9570310711860657, -0.3520186245441437, -0.41960766911506653, 0.06560096889734268, 0.11172285676002502, 0.4142308831214905, -0.3481408357620239, 0.4775286316871643, -0.3417919874191284, 0.7731550931930542, -0.12668734788894653, -0.5162503123283386, -0.35893815755844116, 0.06750436127185822, -0.3789854943752289, 0.7188666462898254, -0.007618957664817572, -0.4278179705142975, 0.5589361786842346, -0.02914682775735855, -0.4704389274120331, -0.48533257842063904, -0.05144279822707176, -0.2506694495677948, 0.2909202575683594, -0.2754974961280823, 0.24195273220539093, -0.5546466708183289, 0.5167572498321533, 0.30948325991630554, -0.07782420516014099, 0.03407220542430878, -0.2181955873966217, 0.4995347261428833, 0.2872955799102783, -0.013187646865844727, 0.35944864153862, -0.7845085263252258, -0.17011111974716187, 0.20683854818344116, -0.17109419405460358, -0.5393657684326172, -0.14159837365150452, -0.059996191412210464, 0.10394808650016785, -0.02706971950829029, -0.6071085929870605, 0.5286564826965332, -0.2856735587120056, -0.09740753471851349, 0.5726568102836609, 0.4584523141384125, 0.3961973488330841, -1.1003422737121582, 1.085342526435852, -0.25066712498664856, -0.1772630363702774, -1.0239596366882324, -0.4357166290283203, -0.6923421621322632, 0.550051748752594, 0.16911163926124573, 0.4763404428958893, -0.5747630000114441, 0.04182053357362747, -0.05334555357694626, -0.650656521320343, -0.01452499721199274, -0.09423916786909103, 0.7197967171669006, 0.6707004308700562, -0.03138734772801399, -0.26387858390808105, -0.7311066389083862, -0.8827863931655884, -0.32807374000549316, -0.39407843351364136, 0.04823938012123108, 0.04233023524284363, 0.07265446335077286, 0.20077018439769745, 1.0333929061889648, -0.7111358642578125, -0.14598873257637024, -0.4194379448890686, 0.3574508726596832, 0.4076659679412842, 0.5173880457878113, 0.6459420919418335, -0.5101523995399475, -0.5199108719825745, -0.05275996774435043, -0.7074573636054993, -0.36959466338157654, -0.8317320942878723, -0.15043345093727112, 0.107695572078228, 0.8908454775810242, -0.40453222393989563, 0.48208439350128174, 0.36745738983154297, -0.6414569020271301, 0.8082655668258667, -0.39103835821151733, 0.29519739747047424, -1.032240867614746, -0.007857744581997395, -0.27736803889274597, -0.15608689188957214, -0.6887202262878418, -0.28821390867233276, -0.5075480937957764, -0.03313460946083069, -0.004902310203760862, 0.5686676502227783, -0.5037618279457092, -0.03902127966284752, -0.47190943360328674, 0.09535852819681168, 0.19033440947532654, 0.4790187180042267, -0.09287324547767639, 0.5882076025009155, 0.07461408525705338, -0.5529183149337769, 0.4999040365219116, 0.46646690368652344, -0.0964876264333725, 0.16116899251937866, -0.6216732263565063, -0.1497710794210434, -0.32692211866378784, 0.029319318011403084, -1.2873876094818115, -0.3323333263397217, 0.16025790572166443, -0.8227390050888062, 0.4206516146659851, 0.12135899811983109, -0.33908337354660034, -0.2208324521780014, -0.24554617702960968, 0.31079766154289246, 0.7530441284179688, -0.38413116335868835, 0.32448601722717285, -0.09781908988952637, -0.7314547896385193, -0.23930925130844116, -0.6048914194107056, 0.36265042424201965, -0.33412814140319824, -0.6619442701339722, 0.28478455543518066, 0.0696801096200943, -0.4067309498786926, 0.16440299153327942, 0.32189470529556274, 0.2510928511619568, -0.3496365547180176, 0.3321683704853058, 0.10733021050691605, -0.22153159976005554, 0.2852604389190674, 0.2707960307598114, -0.3985553979873657, -0.0956825390458107, -0.06633662432432175, 0.64263516664505, 0.16422273218631744, -0.19617192447185516, 0.06652287393808365, 0.693053662776947, 0.5065985918045044, -0.16719035804271698, 0.5358906984329224, 0.3760315179824829, -0.19036082923412323, -0.1678646355867386, -0.38934972882270813, -0.1477522850036621, -0.43882328271865845, 0.03244735300540924, -0.17840811610221863, -0.7435141801834106, 0.6777675747871399, -0.1018165647983551, 0.1367211788892746, 0.30393078923225403, 0.7643709182739258, 0.07757601886987686, 0.49380171298980713, 1.1236063241958618, 0.364645779132843, 0.26612576842308044, -0.04993071407079697, 0.47487321496009827, -0.5955213904380798, -0.20108650624752045, -0.4067867398262024, -0.3862237334251404, -0.38770851492881775, -0.07107184082269669, -0.07152952253818512, 0.601335883140564, -0.10176468640565872, 0.6039574146270752, -0.8501348495483398, 0.6673316359519958, 0.8857589364051819, -0.5151875615119934, 0.6637297868728638, -0.1621348261833191, -0.31297361850738525, -0.11068547517061234, -0.9009720087051392, -0.8978596329689026, 0.9149460196495056, 0.14268477261066437, 0.7637152075767517, 0.1538853496313095, 1.0975521802902222, 0.23463931679725647, 0.43349897861480713, -0.3078479468822479, 0.3302313983440399, 0.04449804127216339, -0.4737212061882019, -0.46346914768218994, 0.3014662563800812, -1.026017189025879, -0.15056706964969635, 0.11253126710653305, -0.915859043598175, 0.6294875144958496, -0.012788803316652775, -0.7036574482917786, 0.21999011933803558, -0.5996203422546387, 0.6062749028205872, -0.15276828408241272, -0.4422244727611542, 0.22429300844669342, -0.9462608098983765, 0.49757206439971924, 0.06319944560527802, 0.046347614377737045, -0.15739114582538605, 0.12182147055864334, 0.7099419832229614, -0.5571319460868835, 0.8424268364906311, 0.19687043130397797, -0.16637219488620758, 0.7053183913230896, 0.42066359519958496, 0.2715475261211395, -0.3260120153427124, 0.24262826144695282, -0.3621522784233093, 0.01223119255155325, 0.06204766407608986, -0.5340411067008972, 0.6950675249099731, -0.3365347683429718, -0.5172334909439087, -0.5859739780426025, -0.47778937220573425, 0.10606071352958679, 0.2391018271446228, 0.47921425104141235, 0.5359174013137817, -0.18786565959453583, -0.17872461676597595, 0.22235171496868134, -0.458130806684494, 0.8706439137458801, 0.18206928670406342, -0.8034911155700684, -0.24524548649787903, 0.7365608215332031, -0.2192901372909546, 0.3420393168926239, -0.05085265263915062, 0.1486634761095047, -0.1323365569114685, -0.326038122177124, -0.3273700475692749, 0.15087562799453735, -0.5052879452705383, -0.36917170882225037, -0.6306194067001343, -0.18316641449928284, -0.07924333959817886, -0.9124056696891785, -0.17116960883140564, -0.38316696882247925, -0.16374240815639496, -0.34862634539604187, 0.4972887635231018, 0.6594215631484985, -0.7699486613273621, 0.435545951128006, -1.0455816984176636, 0.4460817873477936, -0.05166766420006752, 0.27339404821395874, 0.3791179955005646, -0.32845187187194824, -0.35384124517440796, -0.49096420407295227, -0.2831185460090637, -0.6001518964767456, 0.7413062453269958, 0.1182769238948822, 0.27238503098487854, 0.4594038128852844, -0.030959151685237885, 0.4279916286468506, -0.8756521344184875, 0.7831636667251587, 0.5993142127990723, -0.37673220038414, 0.597198486328125, -0.8409785032272339, 0.5447394847869873, 0.5776541233062744, 0.33492007851600647, -1.1122125387191772, -0.38704603910446167, -0.6540793180465698, -0.8502625823020935, 0.38566067814826965, 0.1801767349243164, 0.13763079047203064, -0.3008323907852173, 0.5737453103065491, 0.6055250763893127, 0.34690868854522705, -0.44952934980392456, -0.2661384046077728, 0.0804670974612236, -0.08076184242963791, -0.18733015656471252, -0.5099305510520935, -0.005505337845534086, 0.10197977721691132, 0.4561961889266968, 0.17573776841163635, 0.12133100628852844, 0.4589642286300659, 0.23500294983386993, -0.7137512564659119, 0.057527683675289154, 0.6856188178062439, 0.7861649990081787, -0.1714237928390503, -0.22061629593372345, -0.5777636766433716, -0.17123085260391235, 0.44588813185691833, -0.1849396824836731, -0.4863705635070801, 0.3676166236400604, 0.9840941429138184, 0.6432091593742371, 0.23377253115177155, -0.831346869468689, 0.227403923869133, 0.02556072175502777, -0.29902493953704834, -0.5209457278251648, 0.2776035964488983, -0.01465355884283781, 0.5578144192695618, 0.5822471380233765, 0.06902638077735901, -0.07843606173992157, -0.8521162867546082, 0.8227531313896179, -0.2556188702583313, -0.49899113178253174, -0.09688641130924225, 1.0032727718353271, -0.11562483012676239, -0.680366039276123, 0.5628576874732971, 0.08915259689092636, -0.4044029414653778, 0.7550588846206665, 0.5841984152793884, 1.204622745513916, -0.23241166770458221, 0.2853415906429291, 0.5401696562767029, 0.26314428448677063, 0.06678622215986252, 0.28674909472465515, 0.07142530381679535, -0.7696597576141357, -0.773356556892395, -0.7434386014938354, -0.34582045674324036, -0.41278785467147827, -1.0263800621032715, 0.1472875326871872, -0.1513006091117859, -0.04467259719967842, -0.192940816283226, -0.5203302502632141, -0.1436367779970169, 0.16670778393745422, 0.27722683548927307, 0.7575637698173523, -0.6467368006706238, 0.4181051552295685, 0.3950944244861603, -0.7209557294845581, -0.2935961186885834, 0.10856405645608902, -0.04838008061051369, -0.39486396312713623, 0.806930422782898, 0.14258012175559998, -0.18269895017147064, 0.13406172394752502, -0.6666577458381653, -0.828975260257721, 1.1271716356277466, -0.20952941477298737, -0.6677829027175903, -0.44718021154403687, -0.0745314210653305, 0.7261034250259399, -0.7922895550727844, -0.3771158456802368, 0.6471752524375916, 0.34509360790252686, 0.09156075865030289, -0.6016753315925598, 0.017766475677490234, -0.08767855167388916, -0.09325187653303146, 0.45102041959762573, -0.5835340023040771, 0.6872808337211609, -0.755859911441803, -0.1782618761062622, 0.447419136762619, 0.6508495211601257, 0.258527547121048, 0.3455543518066406, 0.18290217220783234, 0.5597705245018005, 0.3611747622489929, 0.01314448844641447, 1.4236340522766113, -0.46434369683265686, 0.1397661417722702, 1.596362829208374, -0.13728483021259308, 0.34637829661369324, 0.5206156373023987, 0.030194878578186035, 0.8041144013404846, 0.7280041575431824, -0.06672658026218414, 0.7725902199745178, 0.502210795879364, -0.13147693872451782, -0.03509197756648064, -0.3148435950279236, -0.16407053172588348, 0.4094260036945343, -0.05613839253783226, -0.4464166462421417, -0.6269528269767761, 0.5274795293807983, -0.06799714267253876, 0.4340474009513855, -0.052570536732673645, 0.634837806224823, 0.1957477629184723, -0.8180202841758728, 0.30668485164642334, -0.17979705333709717, 0.14134839177131653, -0.42532819509506226, -0.339322030544281, -0.3030754029750824, -0.07011719048023224, 0.023348353803157806, -0.7422877550125122, 0.43484070897102356, 0.013510089367628098, -0.6186381578445435, -0.4982653260231018, 0.8392906188964844, -0.770295262336731, -0.36473676562309265, 0.12651197612285614, 0.6263850331306458, 0.10632607340812683, 0.3794478178024292, -0.2340105175971985, -0.04004387930035591, 0.19368359446525574, -0.550835907459259, -0.018592756241559982, 0.5557572245597839, -0.11224336922168732, 0.726875364780426, 0.9517978429794312, 0.044245630502700806, 0.1060858741402626, 0.23296770453453064, 0.7324122190475464, -1.066135048866272, -0.499758780002594, -0.8504678010940552, 0.6489428877830505, 0.14171196520328522, -0.5793542861938477, 0.605013906955719, 0.6494463086128235, 0.7409288287162781, -0.03576507046818733, 0.8081434965133667, -0.1010546162724495, 0.8250795006752014, -0.33833885192871094, 0.6086841225624084, -0.21236634254455566, -0.18494679033756256, -0.1984313279390335, -1.0596729516983032, -0.28564125299453735, 0.26878467202186584, -0.02749234065413475, -0.0627354308962822, 0.8085589408874512, 0.2437818944454193, 0.2541097402572632, -0.282504677772522, 0.5435508489608765, 0.17226268351078033, 0.18944482505321503, 0.35830026865005493, 0.8316295146942139, -0.32605981826782227, 0.34729307889938354, -0.20703011751174927, -0.2939503490924835, -0.1984330117702484, -0.8900133967399597, -0.7379213571548462, -0.7835674285888672, -0.08336440473794937, -0.43771472573280334, 0.14736035466194153, 0.3679865002632141, -0.023931805044412613, -0.5759236216545105, -0.3397892117500305, -0.1562195122241974, -0.12497697025537491, 0.03510309383273125, -0.26559188961982727, 0.28919219970703125, -0.5390191078186035, -0.48552370071411133, 0.044005028903484344, 0.5733680725097656, 0.13741859793663025, -0.4401856064796448, 0.057020097970962524, -0.39558956027030945, 0.12177357077598572, 0.354900598526001, 0.5714011788368225, -0.42733773589134216, -0.34760451316833496, -0.14200162887573242, 0.1631639450788498, 0.03147868067026138, 1.0926365852355957, -1.0488673448562622, 0.41137415170669556, 0.3578031361103058, 0.3753369450569153, 0.4075106680393219, 0.3137708306312561, 1.2603838443756104, -0.5968693494796753, 0.20435743033885956, 0.1515476107597351, 0.09374533593654633, 0.1717391014099121, -0.39651647210121155, 0.858371376991272, -0.05595302954316139, -0.7422518134117126, -0.8368422985076904, 0.276071161031723, -0.5141357183456421, -0.2886199355125427, 0.8743309378623962, 0.21346840262413025, -0.4185653626918793, 0.07360587269067764, -0.3852730393409729, 0.4911901652812958, 0.005287054926156998, 0.45518895983695984, 1.1528913974761963, -0.6603268384933472, -0.3614519238471985, -0.583116352558136, 0.5886693596839905, 0.29351040720939636, -0.4535138010978699, 0.3706294596195221, 0.5933377146720886, -0.15776698291301727, 0.27479928731918335, 0.5536118745803833, 0.09696640074253082, 0.3157326579093933, 0.26037275791168213, 0.49565577507019043, -0.2415301352739334, -0.5831827521324158, -0.05872366577386856, 0.10185223817825317, -0.07213766127824783, 0.010661874897778034 ]
http://arxiv.org/abs/2404.00828v1
http://arxiv.org/pdf/2404.00828v1
PID Control-Based Self-Healing to Improve the Robustness of Large Language Models
2024-03-31T23:46:51
2024-03-31T23:46:51
Zhuotong Chen, Zihu Wang, Yifan Yang, Qianxiao Li, Zheng Zhang
cs.CL
cs.CL
Despite the effectiveness of deep neural networks in numerous natural language processing applications, recent findings have exposed the vulnerability of these language models when minor perturbations are introduced. While appearing semantically indistinguishable to humans, these perturbations can significantly reduce the performance of well-trained language models, raising concerns about the reliability of deploying them in safe-critical situations. In this work, we construct a computationally efficient self-healing process to correct undesired model behavior during online inference when perturbations are applied to input data. This is formulated as a trajectory optimization problem in which the internal states of the neural network layers are automatically corrected using a PID (Proportional-Integral-Derivative) control mechanism. The P controller targets immediate state adjustments, while the I and D controllers consider past states and future dynamical trends, respectively. We leverage the geometrical properties of the training data to design effective linear PID controllers. This approach reduces the computational cost to that of using just the P controller, instead of the full PID control. Further, we introduce an analytical method for approximating the optimal control solutions, enhancing the real-time inference capabilities of this controlled system. Moreover, we conduct a theoretical error analysis of the analytic solution in a simplified setting. The proposed PID control-based self-healing is a low cost framework that improves the robustness of pre-trained large language models, whether standard or robustly trained, against a wide range of perturbations. A detailed implementation can be found in:https://github.com/zhuotongchen/PID-Control-Based-Self-Healing-to-Improve-the-Robustness-of-Large-Language-Models.
[ -0.20278948545455933, -1.0160094499588013, 0.3727407157421112, 0.381169855594635, 0.11004671454429626, 0.02961963601410389, -0.3690439760684967, -0.15354160964488983, 0.31480398774147034, 0.4670064151287079, -0.44417470693588257, -0.1328342854976654, -0.5309860110282898, -0.09703435003757477, -0.21717701852321625, 0.9798708558082581, 0.01643741875886917, -0.0924074575304985, 0.20776908099651337, 0.1768832951784134, -0.3834512531757355, -0.5141628384590149, -0.871716320514679, -0.2416960746049881, 0.6148139238357544, 0.30973902344703674, 0.6293329000473022, 0.7321047782897949, 0.6799470782279968, 0.3259921967983246, -0.05524611845612526, -0.08311723172664642, -0.4455704689025879, 0.34392139315605164, -0.28037354350090027, -0.16863250732421875, -0.5981168150901794, -0.15896640717983246, 0.5999326705932617, 0.74530029296875, -0.3635779321193695, -0.30898094177246094, 0.21000543236732483, 0.6952857375144958, -0.6846899390220642, -0.018638577312231064, -0.38240185379981995, 0.2749016582965851, -0.13253280520439148, -0.12574553489685059, -0.3078412413597107, -0.22582754492759705, -0.10189755260944366, -0.4059944748878479, 0.020412174984812737, -0.4230821430683136, 0.4221818745136261, 0.5635727047920227, -0.09498173743486404, 0.04860963672399521, -1.0500366687774658, 0.3219187557697296, -0.8942021727561951, 0.2245330810546875, 0.47042208909988403, 0.23294265568256378, -0.648387610912323, -0.47272247076034546, -0.3424822688102722, -0.1727955937385559, 0.0816044956445694, 0.12164720892906189, -0.055127665400505066, 0.13731230795383453, 0.19105082750320435, 0.14046701788902283, -0.5636655688285828, 0.52480149269104, 0.0027758071664720774, -0.3009963035583496, 0.41145679354667664, 0.1281103789806366, 0.4692509174346924, 0.04509957507252693, -0.267349511384964, -0.12672220170497894, -0.8220075964927673, 0.13555201888084412, 0.34462472796440125, 0.42098039388656616, 0.09328959137201309, 0.44595015048980713, -0.27057182788848877, 0.45289644598960876, 0.33016693592071533, -0.25807252526283264, -0.06162666901946068, -0.17918084561824799, -0.10251515358686447, 0.19314447045326233, 1.0175466537475586, 0.36807674169540405, 0.31430986523628235, -0.2092333734035492, -0.1254538595676422, -0.08690372854471207, 0.381005197763443, -0.7224196195602417, -0.4080727994441986, 0.1961192637681961, -0.27870678901672363, -0.3325028121471405, -0.14879880845546722, -0.794309675693512, -0.4722674489021301, -0.1344393491744995, 0.38488346338272095, -0.5931842923164368, -0.53936368227005, 0.19211383163928986, 0.5257316827774048, -0.10155139118432999, 0.3688514828681946, -1.1201529502868652, 0.29532909393310547, 0.44495889544487, 0.9060531854629517, -0.21423566341400146, -0.3299233019351959, -0.5967391133308411, 0.15314926207065582, -0.4752829968929291, 0.6963050365447998, -0.29602792859077454, -0.1156592071056366, -0.2471512407064438, -0.10652793198823929, -0.26471707224845886, -0.4151051640510559, 0.3485817611217499, -0.3466331660747528, 0.12493233382701874, 0.06784926354885101, -0.680575430393219, 0.07499318569898605, 0.13946469128131866, -0.4869158864021301, 0.7428125143051147, -0.3251723051071167, -0.8932912349700928, -0.1223415732383728, -0.8118132948875427, -0.5638890266418457, -0.17005234956741333, 0.019478697329759598, -0.7157847881317139, 0.08815091103315353, 0.21405425667762756, 0.6297548413276672, 0.0599493645131588, 0.37018394470214844, -0.5966339707374573, -0.012898608110845089, 0.02792186476290226, -0.5740795135498047, 0.6361427307128906, 0.2019900530576706, -0.5376482605934143, 0.2644653022289276, -0.635858952999115, 0.08142226934432983, 0.1867898553609848, -0.18207372725009918, -0.20485317707061768, 0.19434493780136108, -0.13030581176280975, 0.12159084528684616, 0.004349405877292156, -0.456844300031662, 0.5114979147911072, -0.6722887754440308, 0.3342794179916382, 0.8418260812759399, 0.2093130499124527, 0.6348916292190552, -0.1229948177933693, 0.6835984587669373, -0.21152743697166443, 0.14255060255527496, -0.25773292779922485, -0.0921703651547432, -0.5674241185188293, -0.4233085811138153, 0.14743423461914062, 0.46457675099372864, -0.6886981129646301, 0.6365876197814941, 0.0015710936859250069, -0.5017736554145813, -0.22195567190647125, 0.02248813956975937, 0.4477362036705017, 0.760661244392395, 0.3454235792160034, -0.16285330057144165, -0.09471669048070908, -0.6808400750160217, -0.25696882605552673, -0.07440746575593948, -0.001019085175357759, -0.14370742440223694, 0.26737499237060547, -0.13826248049736023, 0.9158210754394531, -0.22353681921958923, -0.4559766948223114, -0.0012362883426249027, 0.07395064830780029, 0.15752479434013367, 0.8650641441345215, 0.5043584108352661, -0.3084026575088501, -0.44743868708610535, -0.028106601908802986, -0.553528368473053, -0.28676244616508484, -0.4788481295108795, -0.2004375010728836, 0.24694742262363434, 0.5807915925979614, -0.5114458799362183, 0.598284900188446, 0.6083124876022339, -0.4835827946662903, 0.6187865734100342, -0.6320018172264099, 0.0497254952788353, -0.6234725713729858, 0.24315145611763, -0.1026061475276947, -0.25592857599258423, -0.7225671410560608, -0.1142793744802475, 0.13089336454868317, 0.044001512229442596, -0.39516115188598633, 0.34833449125289917, -0.3154740333557129, 0.0482059009373188, -0.5620360970497131, -0.13471756875514984, -0.327942818403244, 0.5735194683074951, 0.06049714237451553, 0.5761304497718811, 0.8622587323188782, -0.6969720125198364, 0.4107312560081482, -0.02791511081159115, 0.0041511147283017635, 0.4245682656764984, -0.644077718257904, 0.17617924511432648, -0.11000802367925644, 0.21190643310546875, -0.7109213471412659, -0.12749822437763214, 0.7568180561065674, -0.3108729124069214, 0.3794327974319458, -0.34977957606315613, -0.4683455228805542, -0.007315132301300764, 0.03243803605437279, 0.3147372901439667, 0.0689806193113327, -0.6240630745887756, 0.6769872903823853, 0.24898241460323334, -0.32818347215652466, -0.10777415335178375, -0.42560839653015137, 0.11012975871562958, -0.12591156363487244, -0.49192875623703003, 0.166252002120018, -0.39861178398132324, -0.11148089915513992, -0.21274499595165253, -0.13526006042957306, -0.07670438289642334, 0.4984486997127533, 0.2872856557369232, 0.10853978246450424, -0.2249755710363388, 0.40362948179244995, 0.3271854519844055, -0.4295073449611664, 0.047308437526226044, -0.4200890362262726, 0.7780005931854248, -0.3447662591934204, -0.6988022923469543, -0.8352572917938232, 0.14463378489017487, 0.7343265414237976, -0.563321053981781, 0.7207163572311401, 0.30613479018211365, -0.40301045775413513, -0.027959130704402924, -0.45405447483062744, -0.3476564884185791, -0.4976637363433838, 0.2509828805923462, -0.2998097538948059, -0.6165320873260498, 0.44822192192077637, -0.11262423545122147, -0.13116399943828583, 0.4999966621398926, 0.7446030378341675, -0.42211636900901794, 0.7909860610961914, 0.36713430285453796, -0.38019493222236633, 0.5445008873939514, -0.27994030714035034, 0.2389824241399765, -0.52056884765625, -0.017189931124448776, -0.30042898654937744, -0.25262296199798584, -0.4475691616535187, -0.16178792715072632, 0.39841195940971375, 0.16844937205314636, -0.4614185094833374, 0.09802281856536865, -0.5405279994010925, 0.4404884874820709, 0.44314590096473694, 0.18785762786865234, 0.15515828132629395, -0.09133018553256989, -0.11378421634435654, -0.07751401513814926, -0.7666062712669373, -0.4283658266067505, 0.6923182010650635, 0.5156223177909851, 1.0308252573013306, 0.07159124314785004, 0.6240693926811218, 0.07666525989770889, 0.12172679603099823, -0.6131786704063416, 0.12992504239082336, -0.030019402503967285, -0.35073137283325195, -0.653044581413269, -0.5755519270896912, -0.9039825797080994, 0.37812569737434387, -0.3259580433368683, -0.8157757520675659, 0.1584964245557785, 0.5473524332046509, -0.7837960124015808, 0.6906281113624573, -0.6695175766944885, 0.9028587937355042, -0.8224079608917236, -0.502225399017334, -0.2900148630142212, -0.5598905086517334, 0.050400108098983765, -0.3000974953174591, 0.04959726706147194, -0.14988626539707184, 0.24357269704341888, 0.45269104838371277, -0.5568187236785889, 0.8837932348251343, -0.377428263425827, -0.23607487976551056, -0.15267512202262878, 0.47233060002326965, 0.49174779653549194, 0.07761222124099731, 0.036769188940525055, 0.00963536836206913, 0.04854867234826088, -0.45303699374198914, -0.872540295124054, 0.6318894028663635, -0.48628950119018555, -0.4477919042110443, -0.5811562538146973, -0.2621375620365143, -0.21854133903980255, 0.3762250542640686, 0.16342811286449432, 0.49266526103019714, 0.023327399045228958, 0.3357712924480438, 0.5687578320503235, -0.3194722831249237, 0.9585962295532227, 0.6044825315475464, -0.3385418951511383, -0.34251511096954346, 0.7831746339797974, 0.038201190531253815, 0.3729186952114105, 0.24399489164352417, 0.32840245962142944, -0.09353392571210861, -0.44896170496940613, -0.4350646734237671, 0.23743313550949097, -0.06627890467643738, -0.28150275349617004, -0.3452596068382263, -0.08846642822027206, -0.357456237077713, -0.017192790284752846, -0.931511402130127, -0.31800398230552673, -0.40032926201820374, -0.0355653241276741, 0.29420191049575806, 0.6805923581123352, -0.10733848065137863, 0.5224733948707581, -0.5512530207633972, 0.31702715158462524, -0.09663302451372147, 0.961413562297821, -0.04206090793013573, -0.42282554507255554, -0.08248298615217209, 0.2846156656742096, -0.11105559021234512, -0.6934734582901001, 0.6580808758735657, 0.4579828977584839, 0.4611637592315674, 0.4883772134780884, 0.19202570617198944, 0.5111599564552307, -0.7088664770126343, 0.2759498357772827, 0.41511520743370056, -0.7726015448570251, 0.7939456105232239, -0.33002641797065735, 0.3472386598587036, 0.34771206974983215, 0.19039924442768097, -0.7188599109649658, -0.38616666197776794, -0.4003962576389313, -0.682410717010498, 0.6353722214698792, 0.15785843133926392, 0.018296755850315094, 0.04234100878238678, 0.6703729033470154, -0.11871171742677689, -0.23761288821697235, -0.5543093681335449, -0.2636580169200897, -0.38815760612487793, -0.25165367126464844, 0.07020826637744904, -0.15762485563755035, 0.06364994496107101, -0.13984793424606323, 0.7776854634284973, -0.39774391055107117, 0.23802056908607483, 0.34911051392555237, -0.09021548926830292, -0.1564282774925232, -0.07504717260599136, 0.5328503251075745, 0.4659070372581482, 0.05537217855453491, 0.08238480985164642, -0.08722192794084549, -0.28518691658973694, 0.16889813542366028, -0.10450299084186554, -0.08425451815128326, -0.4912305176258087, 0.2741658091545105, 0.6175820231437683, 0.13866685330867767, -0.6589120626449585, 0.46884897351264954, -0.2732047140598297, 0.3110676407814026, -0.3622478246688843, 0.13244716823101044, -0.1298869550228119, 0.33201509714126587, 0.22025038301944733, 0.31379106640815735, -0.10668870806694031, -0.160537451505661, 0.2291812151670456, 0.4246161878108978, -0.28116562962532043, -0.33188799023628235, 0.578813910484314, 0.10268836468458176, -0.5940747857093811, 0.6217057108879089, 0.1572524607181549, -0.6351316571235657, 0.3871020972728729, 0.5450497269630432, 0.7990999221801758, -0.4122611880302429, 0.2155880481004715, 0.22864213585853577, 0.2704385221004486, -0.07325208932161331, -0.18461914360523224, 0.19834157824516296, -0.9442881345748901, -0.5510331988334656, -0.5428282618522644, -0.13268332183361053, -0.10004720091819763, -0.3842213749885559, -0.1751001477241516, -1.086081624031067, -0.2318757176399231, -0.20974205434322357, -0.20158985257148743, -0.14769232273101807, 0.2696976363658905, -0.08766300976276398, 0.6036391854286194, -0.5974923372268677, 1.0704265832901, 0.27770134806632996, -0.5017076730728149, -0.7542439103126526, 0.15101569890975952, -0.05052020400762558, -0.27787622809410095, 0.48990336060523987, -0.20012089610099792, -0.34041261672973633, -0.07458433508872986, -0.40934309363365173, -0.9888315200805664, 0.6803373694419861, 0.8370110988616943, -0.8042412996292114, 0.18916836380958557, -0.05554712936282158, 0.9005624651908875, -0.02192831039428711, 0.20326592028141022, 0.41233912110328674, 0.30515599250793457, -0.04424317181110382, -1.16777503490448, -0.16411779820919037, -0.35564589500427246, -0.13136263191699982, 0.1734272986650467, -0.45837321877479553, 0.3903839588165283, -0.06666570156812668, -0.10715802013874054, 0.1175655648112297, 0.6731600761413574, 0.035217754542827606, -0.1841108798980713, 0.6164265871047974, 0.5218440294265747, 0.8724484443664551, -0.029049169272184372, 1.152475118637085, -0.5696356296539307, 0.5662126541137695, 1.2059495449066162, 0.0569000206887722, 0.7162016034126282, 0.39988356828689575, -0.06701720505952835, 0.10253792256116867, 0.46859097480773926, 0.11228130757808685, 0.41249802708625793, 0.07956806570291519, -0.14520005881786346, -0.271714985370636, 0.2088812291622162, -0.2705482542514801, 0.5258924961090088, 0.0876050516963005, -0.1570432037115097, -0.12320000678300858, 0.2531973719596863, 0.1261185258626938, 0.2250046283006668, -0.18661315739154816, 0.7891701459884644, -0.31563177704811096, -0.619152843952179, 0.5147650837898254, 0.006367603782564402, 0.52737957239151, -0.43589064478874207, 0.017009206116199493, -0.48142194747924805, 0.4832042455673218, -0.1575472205877304, -0.5413438081741333, 0.4843571186065674, -0.18744680285453796, -0.1557035744190216, -0.5684508085250854, 0.6874446868896484, -0.539889395236969, -0.4779970645904541, 0.4689328670501709, 0.10928665846586227, -0.13623981177806854, -0.3646993935108185, -0.5214570164680481, 0.13154162466526031, -0.06514354050159454, -0.12606275081634521, 0.334812730550766, 0.1981668472290039, -0.019608082249760628, 1.0636330842971802, 0.5257831811904907, 0.3886062204837799, 0.2630055546760559, -0.019888199865818024, 0.8116130232810974, -0.3700225055217743, -0.3794860541820526, -0.8621047735214233, 0.3111130893230438, 0.20215077698230743, -0.22422818839550018, 0.3445342481136322, 0.34401842951774597, 0.6691335439682007, 0.037566911429166794, 0.5192508697509766, -0.06313027441501617, 0.7709304690361023, -0.6118248701095581, 1.1371067762374878, -0.3095748722553253, 0.3397589325904846, -0.3528953194618225, -0.6117702126502991, -0.7249215841293335, 0.9844717979431152, -0.29544538259506226, -0.04157260060310364, 0.38041406869888306, 0.8779833912849426, -0.04172294959425926, -0.11136380583047867, 0.25196361541748047, 0.667722761631012, 0.6606467366218567, 0.18636193871498108, 0.6916420459747314, -0.06333792954683304, 0.22062678635120392, -0.5944709777832031, -0.3692067861557007, 0.03447052091360092, -0.9390250444412231, -0.45846614241600037, -0.4147794246673584, -0.3477376699447632, -0.20051243901252747, 0.24609273672103882, 1.1970356702804565, 0.6581439971923828, -1.0571000576019287, -0.15514937043190002, -0.2674833834171295, 0.031114043667912483, -0.13058732450008392, -0.20403294265270233, 0.517717719078064, -0.5450142621994019, -0.5506218671798706, 0.6617776155471802, 0.4236677885055542, -0.06101943179965019, -0.33067694306373596, -0.2203521728515625, -0.23990654945373535, -0.4635399878025055, 0.418274849653244, 0.64515620470047, -0.7525217533111572, -0.48072028160095215, -0.029568390920758247, -0.0938880667090416, 0.058258626610040665, 0.8567903637886047, -0.627610981464386, 0.7927774786949158, 0.20076104998588562, 1.0131473541259766, 0.3760031759738922, -0.1436203420162201, 0.879795491695404, -0.39838922023773193, -0.08129588514566422, 0.3072189390659332, 0.4391162395477295, 0.2989951968193054, -0.5194724798202515, 0.33549588918685913, 0.3739217519760132, -0.4981527030467987, -0.45423394441604614, 0.16388054192066193, -0.6236618757247925, -0.25796395540237427, 0.9767234325408936, -0.4395783245563507, -0.0709230825304985, 0.1772259622812271, -0.49022164940834045, 0.18724776804447174, -0.255982369184494, 0.950965166091919, 0.3934505581855774, -0.3770987093448639, -0.3020581007003784, 0.004065347835421562, 0.37886282801628113, 0.4430944323539734, -0.7798255681991577, 0.12549717724323273, 0.5277480483055115, 0.4433859884738922, -0.031256645917892456, 0.5704436302185059, -0.01703319326043129, 0.1410711109638214, -0.6737000942230225, 0.25019824504852295, 0.08652877062559128, -0.6180089116096497, -0.6526849865913391, 0.1612483114004135, -0.21472224593162537, -0.05055926740169525 ]
http://arxiv.org/abs/2404.00826v2
http://arxiv.org/pdf/2404.00826v2
Extracting Social Determinants of Health from Pediatric Patient Notes Using Large Language Models: Novel Corpus and Methods
2024-03-31T23:37:18
2024-04-04T04:21:34
Yujuan Fu, Giridhar Kaushik Ramachandran, Nicholas J Dobbins, Namu Park, Michael Leu, Abby R. Rosenberg, Kevin Lybarger, Fei Xia, Ozlem Uzuner, Meliha Yetisgen
cs.CL
cs.CL
Social determinants of health (SDoH) play a critical role in shaping health outcomes, particularly in pediatric populations where interventions can have long-term implications. SDoH are frequently studied in the Electronic Health Record (EHR), which provides a rich repository for diverse patient data. In this work, we present a novel annotated corpus, the Pediatric Social History Annotation Corpus (PedSHAC), and evaluate the automatic extraction of detailed SDoH representations using fine-tuned and in-context learning methods with Large Language Models (LLMs). PedSHAC comprises annotated social history sections from 1,260 clinical notes obtained from pediatric patients within the University of Washington (UW) hospital system. Employing an event-based annotation scheme, PedSHAC captures ten distinct health determinants to encompass living and economic stability, prior trauma, education access, substance use history, and mental health with an overall annotator agreement of 81.9 F1. Our proposed fine-tuning LLM-based extractors achieve high performance at 78.4 F1 for event arguments. In-context learning approaches with GPT-4 demonstrate promise for reliable SDoH extraction with limited annotated examples, with extraction performance at 82.3 F1 for event triggers.
[ -0.03451168164610863, -0.922027587890625, 0.785957396030426, 0.003132336540147662, -0.2732546627521515, 0.1954968124628067, -0.21236874163150787, -0.5958175659179688, 0.608397364616394, 0.4518581032752991, -0.3104790151119232, -0.5503009557723999, -0.7757141590118408, 0.17292717099189758, 0.007852678187191486, 1.4815025329589844, -0.10936944931745529, -0.1676332652568817, -0.13448090851306915, 0.22148573398590088, 0.029082493856549263, -0.7343531250953674, -0.7855154871940613, -0.08553459495306015, 0.6890891790390015, 0.46143513917922974, 0.241219162940979, 0.6639520525932312, 0.5111943483352661, 0.16298756003379822, -0.24478788673877716, 0.09237845242023468, -0.4485607147216797, 0.1841413378715515, -0.2222677767276764, 0.11101649701595306, -0.7556726336479187, -0.24482141435146332, 0.6742300987243652, 0.9240869879722595, 0.05898650363087654, 0.3597905933856964, 0.1481492668390274, 0.6700597405433655, -0.4668787121772766, 0.5880419015884399, -0.3768160045146942, 0.05449770763516426, -0.3933870494365692, -0.19934265315532684, -0.3291867971420288, -0.49775877594947815, 0.3222382366657257, -0.4670102298259735, -0.03414174169301987, -0.4826059937477112, 0.6186841130256653, -0.005734297446906567, -0.8669523596763611, -0.23343895375728607, -0.567765474319458, 0.7130020260810852, -0.49113550782203674, 0.1177327036857605, 0.6344831585884094, 0.07041143625974655, -0.19651846587657928, -0.741627037525177, -0.19512787461280823, 0.08363932371139526, -0.15233641862869263, -0.05529560521245003, 0.16632294654846191, 0.06500614434480667, 0.46608319878578186, 0.060758382081985474, -0.09176187217235565, -0.13103170692920685, -0.6739594340324402, -0.17210417985916138, 0.8819209933280945, 0.3916477560997009, 0.2686861455440521, -0.4066790044307709, -0.13376161456108093, 0.21554504334926605, -0.590961754322052, 0.19281578063964844, 0.021402230486273766, 0.26928314566612244, -0.4030839502811432, 0.486284077167511, -0.19554783403873444, 0.00024277223565150052, 0.11481668055057526, -0.5470383167266846, 0.4246290922164917, -0.09517166763544083, 0.30158987641334534, 0.37870025634765625, 0.7547799944877625, 0.39568349719047546, 0.2677362859249115, -0.0900503396987915, -0.16522882878780365, -0.1541394144296646, 0.07927268743515015, -0.7818024158477783, -0.4341449439525604, 0.032010383903980255, -0.8944288492202759, -0.4999968409538269, 0.09889932721853256, -1.2577385902404785, -0.5379756093025208, -0.35134580731391907, -0.12777046859264374, -0.4014263153076172, -0.12244393676519394, -0.3803083896636963, 0.11434606462717056, -0.0715147852897644, 0.23071323335170746, -1.0937334299087524, 0.46278059482574463, 0.779144287109375, 0.7470242381095886, -0.4109903573989868, 0.07256925851106644, -0.5816402435302734, 0.2799835503101349, -0.19051983952522278, 0.6579560041427612, -0.49124813079833984, -0.5235828757286072, 0.2253851592540741, 0.33683452010154724, -0.19190645217895508, -0.45149463415145874, 0.6187829971313477, -0.15334154665470123, -0.27621522545814514, -0.22325681149959564, -0.6889517903327942, 0.3616710305213928, -0.12339043617248535, -0.5266080498695374, 0.7133110761642456, 0.2243608832359314, -0.7730844020843506, 0.40619659423828125, -0.3744679391384125, -1.0588730573654175, 0.35148218274116516, -0.33650273084640503, -0.6484615802764893, 0.23434238135814667, 0.3720454275608063, 0.7241300344467163, 0.043897707015275955, 0.6659145951271057, -0.4294825792312622, -0.167958065867424, 0.14944185316562653, -0.39737188816070557, 0.8898395895957947, 0.02761511318385601, -0.18748731911182404, 0.12297071516513824, -0.8978444337844849, -0.46848049759864807, 0.2628968060016632, -0.4416350722312927, -0.40574586391448975, 0.15025143325328827, 0.16171196103096008, 0.17788231372833252, 0.4313981533050537, -0.5655201077461243, -0.09446749091148376, -0.047544997185468674, 0.3822908401489258, 0.6829487681388855, 0.6227907538414001, 0.15202300250530243, -0.45067861676216125, 0.45556244254112244, -0.2196532040834427, 0.4204697906970978, -0.4077981412410736, -0.5403947234153748, 0.06683747470378876, -0.7370494604110718, 0.13853052258491516, 0.05791812017560005, -0.45092132687568665, 0.5406941175460815, -0.38202372193336487, -0.24704189598560333, -0.061862166970968246, -0.21277040243148804, 0.28682634234428406, 0.6886658668518066, 0.3732704818248749, -0.20579013228416443, -0.6937076449394226, -0.5295032858848572, 0.19246432185173035, -0.3919532299041748, 0.1340135931968689, 0.5970699787139893, 0.5948119163513184, -0.22201545536518097, 0.5526072382926941, -0.39188364148139954, -0.21250759065151215, -0.19741973280906677, -0.09700716286897659, -0.05735934525728226, 0.33896690607070923, 0.3356541693210602, -0.43844372034072876, -0.5004804134368896, 0.12756919860839844, -0.6394944787025452, -0.3682289123535156, 0.044932108372449875, 0.07236654311418533, 0.06834559142589569, 0.5525859594345093, -0.3941265344619751, 0.5640699863433838, 0.3497633635997772, -0.3595615327358246, 0.6367449760437012, -0.182997927069664, -0.05286073684692383, -0.8735566139221191, 0.192072793841362, 0.17831292748451233, -0.10678411275148392, -0.33873671293258667, -0.4082326889038086, 0.3307843506336212, -0.06537560373544693, -0.40004220604896545, 0.5125008821487427, -0.1950511932373047, 0.34068337082862854, 0.16372187435626984, -0.05998014286160469, -0.08480586111545563, 0.10854674130678177, 0.13560429215431213, 0.0336671806871891, 0.19764772057533264, -0.26604434847831726, 0.16740216314792633, -0.024884194135665894, -0.021957116201519966, 0.6329021453857422, -0.5289570689201355, -0.07704591751098633, -0.15513324737548828, 0.4656848609447479, -0.6750490665435791, -0.5162695050239563, 0.12267373502254486, -0.3007647395133972, 0.316592276096344, -0.2793803811073303, -0.4806753993034363, -0.22616934776306152, -0.3633216917514801, 0.05218186601996422, 0.3211420774459839, -0.37034082412719727, 0.31024566292762756, 1.2250274419784546, -0.63885498046875, -0.15801164507865906, -0.038887131959199905, -0.0871109738945961, -0.3391231596469879, -0.23440538346767426, 0.43827882409095764, 0.21006430685520172, -0.30476948618888855, -0.030552629381418228, -0.19299004971981049, -0.19216004014015198, 0.2264508754014969, 0.42008522152900696, 0.6453184485435486, -0.27893346548080444, 0.2706424593925476, 0.4256451725959778, -0.07005661725997925, 0.40924087166786194, 0.3088345527648926, 0.4040317237377167, 0.08459646999835968, -0.008935111574828625, -0.44835126399993896, 0.4980466663837433, 0.6884229779243469, -0.08403972536325455, 0.669015645980835, 0.18553803861141205, -0.803298830986023, 0.1034141331911087, -0.4091826379299164, -0.3002478778362274, -0.3290155827999115, 0.3956969678401947, -0.15985676646232605, -0.7026183009147644, 0.6865950226783752, -0.16721211373806, -0.06682542711496353, 0.41918590664863586, 0.4020068645477295, -0.1798529028892517, 0.8888434767723083, 0.20895697176456451, -0.2141542285680771, 0.6228634715080261, 0.024942951276898384, -0.09573616832494736, -0.9865583777427673, -0.32123488187789917, -0.3898300528526306, -0.01715248078107834, -0.5372583270072937, -0.07596321403980255, 0.37613192200660706, -0.19811315834522247, -0.34119096398353577, -0.05817612260580063, -0.2689409852027893, 0.21833471953868866, -0.013048919849097729, 0.4135935306549072, 0.35259243845939636, -0.14185993373394012, -0.051811978220939636, -0.24128060042858124, -0.2073746770620346, -0.6277368664741516, 1.346675992012024, 0.6141619682312012, 0.5392946600914001, 0.10684823989868164, 1.0219162702560425, 0.00021689290588255972, 0.628852903842926, -0.4882102310657501, 0.42369532585144043, -0.28869715332984924, -0.623219907283783, -0.3202739357948303, -0.401772141456604, -1.0166264772415161, 0.05332230031490326, -0.31276315450668335, -1.2401171922683716, 0.3434366285800934, -0.1361933946609497, -0.6352660059928894, 0.08748970925807953, -0.5132799744606018, 0.8463041186332703, -0.4040417969226837, -0.4209205210208893, 0.08298536390066147, -0.7958541512489319, 0.11037450283765793, -0.3078826069831848, 0.2874393165111542, -0.34593844413757324, 0.05002233386039734, 0.7339621782302856, -0.410807341337204, 0.9815666079521179, -0.02895473502576351, -0.020898642018437386, 0.057528965175151825, -0.19726726412773132, 0.6068667769432068, 0.3293454051017761, 0.04946340620517731, 0.2608441412448883, 0.3810204267501831, -0.23261798918247223, -0.21602576971054077, 0.8456991314888, -0.576701819896698, -0.2786064147949219, -0.5225096344947815, -0.23042802512645721, -0.16964191198349, 0.1815130114555359, -0.11385410279035568, 0.5683892965316772, -0.2484181970357895, 0.4286060929298401, 0.41478055715560913, -0.23887403309345245, 0.35864824056625366, 0.4199124276638031, -0.12254709750413895, -0.49148452281951904, 0.679404079914093, 0.23102131485939026, -0.0445883646607399, 0.2080298662185669, 0.5414590835571289, -0.23041480779647827, -0.2580644190311432, -0.3222234845161438, 0.5813820958137512, -0.5234920978546143, -0.039402227848768234, -0.9103932976722717, -0.3156324326992035, -0.5632521510124207, -0.2427241951227188, -0.210657998919487, -0.21494020521640778, -0.49132370948791504, -0.3388610780239105, 0.2747143805027008, 0.6292790174484253, -0.07992502301931381, -0.266606867313385, -0.7621159553527832, 0.34880751371383667, 0.16266967356204987, 0.22468790411949158, 0.21603120863437653, -0.2510804235935211, -0.2604043185710907, -0.3105161786079407, -0.3393673300743103, -1.0290387868881226, 0.4581008553504944, 0.09971235692501068, 0.5851513147354126, 0.609711766242981, 0.272623211145401, 0.7389636635780334, -0.6578708291053772, 0.6340076923370361, 0.1460018903017044, -0.6414228677749634, 0.7760182619094849, -0.47018077969551086, -0.12069828063249588, 0.621152937412262, 0.419805109500885, -0.46520406007766724, 0.057207733392715454, -0.745229184627533, -1.1690775156021118, 0.6678028106689453, -0.21627464890480042, -0.13362225890159607, -0.6236915588378906, 0.44429436326026917, 0.15345221757888794, -0.17881189286708832, -0.3170127868652344, -0.3719961643218994, 0.008032224141061306, -0.67690110206604, 0.006647867616266012, -0.5444998145103455, -0.0675501823425293, -0.3979376554489136, 0.48625871539115906, -0.061609234660863876, -0.27715033292770386, 0.3229706883430481, -0.05336825177073479, -0.3799300193786621, 0.13216598331928253, 0.3276697099208832, 0.6073593497276306, -0.40996110439300537, 0.34929510951042175, 0.05990445613861084, -0.8631056547164917, -0.13063210248947144, 0.5633051991462708, -0.29613083600997925, -0.13791117072105408, 0.5595998764038086, 0.49313756823539734, 0.5760097503662109, -0.6377660036087036, 0.5963112115859985, -0.19187666475772858, 0.19958381354808807, -0.5513078570365906, -0.20119649171829224, 0.019832201302051544, 0.1914619654417038, 0.32950741052627563, -0.5791611671447754, 0.2142338752746582, -0.5518345832824707, 0.4605277180671692, 0.16857562959194183, -0.7027539610862732, -0.5228132605552673, 0.6401538252830505, 0.30811432003974915, -0.18657854199409485, 0.22116276621818542, 0.12966077029705048, -0.156202033162117, 0.7240186929702759, 0.7012261152267456, 0.638546884059906, -0.12430763244628906, 0.46316248178482056, 0.44205033779144287, 0.05119891092181206, -0.015776028856635094, 0.053012024611234665, -0.07751429080963135, -0.29288455843925476, -0.48387420177459717, -0.5554970502853394, -0.3902947008609772, 0.31470829248428345, -0.8253231048583984, 0.19133225083351135, -0.40835076570510864, -0.2817199230194092, 0.18573112785816193, 0.28849276900291443, -0.6317958235740662, 0.11635025590658188, 0.3999384343624115, 0.1891341656446457, -0.8900308012962341, 0.9024971723556519, 0.7869764566421509, -0.42800626158714294, -0.641308605670929, 0.17772342264652252, 0.25291314721107483, -0.3103034794330597, 0.6169445514678955, 0.010495283640921116, 0.29090726375579834, -0.17490951716899872, -0.10539447516202927, -0.8207092881202698, 0.8368067145347595, 0.2213328629732132, -0.6930809617042542, 0.05482923984527588, 0.15307427942752838, 0.6697640419006348, -0.5424825549125671, 0.20123212039470673, 0.6971413493156433, 0.08219478279352188, -0.2864667773246765, -0.8652236461639404, 0.3069162964820862, -0.22172464430332184, -0.09615938365459442, 0.04327225312590599, -0.2970117926597595, 0.6853033900260925, -0.40643733739852905, -0.18420635163784027, -0.22832536697387695, 0.34644168615341187, 0.511658251285553, 0.6581472754478455, 0.19296056032180786, 0.22032339870929718, 0.9300841093063354, 0.0753067284822464, 1.1186463832855225, -0.2754029333591461, 0.5171245336532593, 1.0975581407546997, -0.41679811477661133, 0.6617064476013184, 0.5878723859786987, -0.25905096530914307, 0.35179850459098816, 0.6094978451728821, 0.5512367486953735, 0.6845664978027344, 0.06655055284500122, -0.4791658818721771, 0.1272929608821869, -0.06251014024019241, -0.1535923331975937, 0.1045631617307663, 0.6551680564880371, -0.8940070867538452, 0.10985437035560608, -0.26015862822532654, 0.40124380588531494, -0.13324697315692902, -0.2141115665435791, 0.9486773610115051, 0.37069007754325867, -0.3342485725879669, 0.08861933648586273, -0.3791995048522949, 0.2918426990509033, -0.2811453938484192, -0.3455881178379059, -0.16879311203956604, 0.20310719311237335, -0.15961481630802155, -0.6075672507286072, 0.3244667053222656, 0.010521912015974522, -0.14050054550170898, 0.01728501170873642, 0.877238392829895, -0.31263765692710876, -0.5689266324043274, 0.2788659334182739, 0.29236480593681335, 0.08148033171892166, 0.17259453237056732, -0.4502594769001007, 0.21679061651229858, -0.20617541670799255, -0.316764235496521, 0.4840781092643738, 0.832804262638092, -0.34292641282081604, 0.14741788804531097, 0.7984736561775208, 0.5844652652740479, -0.12730778753757477, 0.22854797542095184, 0.5646687150001526, -0.5908107757568359, -0.267231822013855, -0.9784768223762512, 0.5025450587272644, -0.3527773320674896, -0.5541775226593018, 0.5123310089111328, 0.4270341396331787, 0.4721733331680298, 0.06332218647003174, 0.7948355078697205, 0.0669344961643219, 0.778113842010498, -0.00011131461360491812, 0.8299438953399658, -0.23826147615909576, 0.10211466252803802, -0.5143169164657593, -0.46168968081474304, -0.46302247047424316, 0.835626482963562, -0.5175247192382812, -0.42409464716911316, 0.683282732963562, 0.23055396974086761, 0.24616602063179016, 0.05060969665646553, 0.14732980728149414, 0.14703789353370667, 0.5754364728927612, 0.423240602016449, 0.5248823165893555, -0.2081703543663025, 0.13165810704231262, -0.5938364863395691, -0.3887622654438019, -0.4077637791633606, -0.8520230054855347, -0.7956610918045044, -0.4753110110759735, -0.6168464422225952, -0.4039919376373291, 0.3414272665977478, 1.02742600440979, 0.39125731587409973, -0.8488648533821106, 0.14517618715763092, 0.36256101727485657, 0.16223137080669403, -0.1867402344942093, -0.25586479902267456, 0.8619554042816162, -0.10145770758390427, -0.35866233706474304, 0.03335608169436455, 0.3777048587799072, -0.2692207992076874, 0.06203555315732956, 0.1589152216911316, 0.046392522752285004, -0.08778592199087143, 0.7707903385162354, 0.37140756845474243, -0.5200360417366028, -0.4338269531726837, -0.3221611976623535, -0.2772928476333618, 0.0014330068370327353, 0.5763017535209656, -0.5054545998573303, 0.40745529532432556, 0.27808985114097595, 0.4653606116771698, 0.5396218299865723, -0.10642323642969131, 0.09414245188236237, -0.5565803647041321, -0.2199549674987793, 0.3340360224246979, 0.7211759686470032, 0.30043426156044006, -0.4503805637359619, 0.37253090739250183, 0.38546985387802124, -0.516713559627533, -0.7386105060577393, -0.18973322212696075, -0.7664950489997864, -0.10919082164764404, 1.383294939994812, -0.2964506149291992, -0.4320296049118042, -0.5414236783981323, -0.3661779463291168, 0.46487957239151, -0.6931289434432983, 1.093436598777771, 0.3474865257740021, -0.2225748747587204, -0.23912878334522247, -0.6141906976699829, 0.39407724142074585, -0.14973436295986176, -0.8746942281723022, 0.15981365740299225, 0.5229141116142273, 0.30140236020088196, -0.0820561945438385, 0.9464231729507446, -0.8232870101928711, 0.156788170337677, -0.21459847688674927, -0.0007453930447809398, 0.40226057171821594, -0.2754380404949188, -0.20168671011924744, 0.2313973307609558, -0.4433511793613434, 0.07059752941131592 ]
http://arxiv.org/abs/2404.01349v1
http://arxiv.org/pdf/2404.01349v1
Fairness in Large Language Models: A Taxonomic Survey
2024-03-31T22:22:53
2024-03-31T22:22:53
Zhibo Chu, Zichong Wang, Wenbin Zhang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have demonstrated remarkable success across various domains. However, despite their promising performance in numerous real-world applications, most of these algorithms lack fairness considerations. Consequently, they may lead to discriminatory outcomes against certain communities, particularly marginalized populations, prompting extensive study in fair LLMs. On the other hand, fairness in LLMs, in contrast to fairness in traditional machine learning, entails exclusive backgrounds, taxonomies, and fulfillment techniques. To this end, this survey presents a comprehensive overview of recent advances in the existing literature concerning fair LLMs. Specifically, a brief introduction to LLMs is provided, followed by an analysis of factors contributing to bias in LLMs. Additionally, the concept of fairness in LLMs is discussed categorically, summarizing metrics for evaluating bias in LLMs and existing algorithms for promoting fairness. Furthermore, resources for evaluating bias in LLMs, including toolkits and datasets, are summarized. Finally, existing research challenges and open questions are discussed.
[ -0.1688699573278427, -0.6246013641357422, 0.6382660865783691, 0.2835752069950104, 0.16948707401752472, 0.20101436972618103, -0.5342613458633423, -0.5131291747093201, 0.13772273063659668, 0.514090895652771, -0.29919353127479553, -0.5775495767593384, -0.9755262732505798, 0.09488295018672943, -0.38984790444374084, 0.7232990264892578, 0.3562427759170532, 0.59803706407547, -0.33136215806007385, -0.4097212255001068, -0.37268975377082825, -0.9745262265205383, -0.6837137937545776, -0.5769152641296387, 0.6394070386886597, 0.08812643587589264, 0.5697409510612488, 0.6218329071998596, 0.5857623815536499, 0.3988856077194214, -0.576034665107727, -0.3079334497451782, -0.42983609437942505, 0.217960387468338, -0.2806812822818756, -0.7844784259796143, -0.5754384994506836, 0.10746268928050995, 0.8946152925491333, 1.347137689590454, -0.26116424798965454, 0.18118582665920258, -0.032798781991004944, 0.7129049897193909, -0.904524028301239, 0.015177950263023376, -0.7890298366546631, 0.3573388457298279, -0.7517783641815186, 0.03874192014336586, -0.4416930377483368, -0.7170165777206421, 0.04499807208776474, -0.2933841645717621, 0.09305494278669357, 0.22071175277233124, 0.29005807638168335, 0.18290495872497559, -0.57715904712677, -0.49967777729034424, -0.39684975147247314, 1.3445645570755005, -0.8768634796142578, 0.5399929881095886, 0.21821902692317963, 0.3241238594055176, -0.3420628607273102, -0.6257266402244568, -0.4640176594257355, -0.0002370838774368167, 0.1371191293001175, -0.21961230039596558, -0.3172079920768738, 0.09191516786813736, 0.26482757925987244, 0.5947026610374451, -0.38815993070602417, 0.7344315052032471, -0.07309367507696152, -0.29148510098457336, 0.5738559365272522, 0.24732942879199982, 0.16739466786384583, -0.2229076772928238, 0.028583547100424767, 0.16798388957977295, -0.8916154503822327, 0.009243723005056381, 0.6626653671264648, 0.32365643978118896, -0.0639612004160881, 0.5717554092407227, -0.20337262749671936, 0.6959386467933655, -0.30474406480789185, -0.29476723074913025, 0.5123071074485779, 0.02608133852481842, -0.1920468807220459, -0.05728888139128685, 0.6430022120475769, 0.40077832341194153, 0.3460544943809509, -0.17269514501094818, -0.47254490852355957, 0.07576049864292145, -0.3021090030670166, -0.5233989357948303, 0.3168937861919403, 0.06390292197465897, -0.8725460767745972, -0.21058596670627594, -0.2412968873977661, -0.8251663446426392, -0.7463686466217041, -0.32291924953460693, -0.09866053611040115, 0.3038942515850067, -0.3774591088294983, 0.15250088274478912, 0.003197580808773637, 0.2999281585216522, 0.34314993023872375, -0.8452370166778564, 0.5121146440505981, 1.0325508117675781, 0.8193711042404175, -0.2984392046928406, -0.1214745044708252, -0.5625073313713074, -0.010295297019183636, -0.2512247562408447, 0.616189181804657, -0.6694518327713013, -0.19240769743919373, 0.35383671522140503, -0.09200049936771393, 0.2734158933162689, -0.8570734858512878, 0.4847809970378876, -0.6460797190666199, 0.23132188618183136, -0.4654707610607147, -0.5901912450790405, -0.191336527466774, 0.23443888127803802, -0.5730310678482056, 0.46802929043769836, -0.02723952941596508, -0.9301714897155762, 0.3826214075088501, -0.4794310927391052, -0.44102609157562256, 0.03337483108043671, -0.4269551932811737, -0.1790023148059845, 0.1494075506925583, -0.24590499699115753, 0.4365639090538025, -0.3778764009475708, 0.7393048405647278, -0.6583357453346252, -0.25846636295318604, 0.38539621233940125, -0.46626412868499756, 1.0550804138183594, 0.5452460646629333, -0.3333450257778168, 0.031000031158328056, -0.2512829899787903, -0.2494998276233673, 0.15596391260623932, -0.2407950758934021, -0.32079651951789856, 0.24471943080425262, 0.07152745127677917, 0.15116830170154572, 0.2125481367111206, -0.5028389096260071, 0.022130487486720085, -0.3705825209617615, 0.4621715843677521, 1.179715633392334, -0.6176438927650452, 0.6232832074165344, -0.3807271420955658, 0.43998533487319946, -0.1521890014410019, 0.31683579087257385, 0.3654290735721588, -0.532683253288269, -0.7052470445632935, -0.31779050827026367, 0.7087137699127197, 0.3552287817001343, -0.4951983094215393, 0.22627535462379456, -0.30841168761253357, -0.09828978776931763, -0.586324155330658, 0.056239839643239975, 0.3146722912788391, 0.07291851937770844, -0.11632795631885529, -0.6399127840995789, -0.3635267913341522, -1.1204023361206055, -0.24024827778339386, -0.008548435755074024, 0.07299914956092834, 0.5606737732887268, 0.2954149544239044, -0.081657774746418, 0.832447350025177, -0.2626236379146576, -0.33375391364097595, -0.12077680230140686, -0.27376589179039, 0.15863202512264252, 0.19816696643829346, 0.7155709862709045, -0.8192656636238098, -0.17719867825508118, -0.18097689747810364, -0.6943475604057312, -0.3009943962097168, 0.6866904497146606, 0.21494178473949432, 0.4366218149662018, 0.5089791417121887, -0.38370612263679504, 0.08914452791213989, 0.7984339594841003, -0.2712358832359314, 0.24039030075073242, 0.255804181098938, 0.18564869463443756, -0.7559795379638672, 0.03955305367708206, -0.021789025515317917, -0.325887531042099, -0.42364567518234253, 0.18179966509342194, -0.3926360309123993, 0.4877896308898926, -0.6081984043121338, 0.9969800710678101, -0.17397302389144897, -0.588470458984375, -0.29066547751426697, 0.3041965961456299, -0.636157214641571, 0.09829676151275635, -0.09814734756946564, 0.38306325674057007, 0.6251143217086792, -0.49020567536354065, 0.3048029839992523, -0.0656343474984169, -0.11895254999399185, 0.495768278837204, -0.36867260932922363, -0.10889070481061935, -0.36093711853027344, 0.5164545774459839, -0.6328712105751038, -0.2833230793476105, 0.3722701966762543, -0.4723283052444458, 0.15833789110183716, -0.22121986746788025, -0.6229849457740784, -0.2911495268344879, -0.3986843228340149, 0.8549380302429199, 0.7479404211044312, -0.47849708795547485, 0.2642800807952881, 0.9069833755493164, -0.5745583176612854, -0.7905571460723877, -0.7228137254714966, 0.014591697603464127, -0.397940993309021, -0.4093238413333893, 0.08776192367076874, -0.13683858513832092, -0.8873904347419739, -0.08696190267801285, 0.05376952886581421, -0.024384433403611183, 0.3300766050815582, -0.04358469694852829, -0.08502575755119324, -0.05091371387243271, 0.1438031941652298, -0.14645569026470184, 0.10756032168865204, 0.00871242955327034, -0.16612006723880768, 0.6532002091407776, -0.0984605923295021, -0.3963051736354828, 0.049389977008104324, 0.28778237104415894, 0.29019734263420105, -0.07693052291870117, 0.5106534361839294, 0.4008949100971222, -0.5903890132904053, -0.23833097517490387, -0.7566061019897461, 0.03293773531913757, -0.441592812538147, 0.2966213822364807, 0.032904282212257385, -1.5477441549301147, 0.5426660180091858, 0.03494785726070404, 0.27139657735824585, 0.394694983959198, 0.9247300028800964, 0.13749828934669495, 0.8429133892059326, 0.7008181214332581, -0.286278635263443, 0.3676687479019165, 0.2780890166759491, 0.3337218165397644, -0.47378048300743103, -0.32730430364608765, -0.9772902727127075, -0.32753801345825195, -1.0131152868270874, -0.4445900022983551, 0.01416332833468914, -0.045652084052562714, -0.2834089696407318, -0.479533851146698, -0.32093703746795654, 0.3661808669567108, 0.520524263381958, -0.34941285848617554, 0.5675354599952698, -0.07836971431970596, 0.06548818945884705, -0.16745831072330475, -0.7980989813804626, -0.7570961713790894, 1.1878976821899414, 0.6500869989395142, 0.8027764558792114, 0.4556954503059387, 0.5860609412193298, 0.5075299143791199, 0.7190502882003784, -0.7105593085289001, 0.5290729999542236, -0.5801073312759399, -0.6936463713645935, -0.3408726155757904, -0.8176741003990173, -1.0378566980361938, 0.39924943447113037, -0.019945766776800156, -0.6882671117782593, 0.16621500253677368, 0.06329695880413055, 0.04806596413254738, 0.5533372163772583, -0.41946396231651306, 0.47882822155952454, -0.27933692932128906, -0.13132210075855255, -0.19153065979480743, -0.5664801597595215, 0.7319852113723755, -0.3880774676799774, 0.6922069787979126, -0.5002116560935974, -0.07973207533359528, 0.8938913345336914, -0.15533776581287384, 0.5824236869812012, -0.30340856313705444, -0.4314061105251312, -0.011448449455201626, -0.029988113790750504, 0.05627282336354256, -0.029532767832279205, -0.42928358912467957, 0.5171319842338562, -0.13149218261241913, -0.6434113383293152, -0.30324384570121765, 0.9295685887336731, -0.518858790397644, -0.5948290824890137, -0.6513751149177551, -0.4637954533100128, -0.27497872710227966, 0.17819078266620636, -0.019250482320785522, 0.07122670859098434, -0.07234764099121094, 0.18562853336334229, 0.798416018486023, -0.6282073259353638, 0.5857729911804199, 0.647469699382782, -0.5961727499961853, -0.15165747702121735, 0.9514531493186951, 0.10647376626729965, 0.2777933180332184, 0.2131696343421936, 0.0700511485338211, -0.49398520588874817, -0.784868061542511, -0.06793135404586792, 0.09064523130655289, -0.6276931166648865, -0.27349230647087097, -0.5609927773475647, -0.20483818650245667, -0.44429680705070496, -0.02917317859828472, -0.2532811760902405, -0.4074760675430298, 0.025165975093841553, 0.1738155335187912, 0.13519015908241272, 1.0496796369552612, -0.0791209414601326, 0.2000509351491928, -0.38806721568107605, 0.22515693306922913, 0.21738646924495697, 0.6802771091461182, 0.27119046449661255, -0.5418068170547485, 0.28136634826660156, -0.03865564987063408, -0.20312881469726562, -0.2249373197555542, 0.12127901613712311, -0.09703373163938522, 0.8453630208969116, 0.16559277474880219, -0.08225002139806747, 0.13949604332447052, -0.6169654726982117, 0.8185330629348755, 0.43331673741340637, -0.8771646022796631, 0.09607291221618652, -0.36725348234176636, -0.10650239139795303, 0.18054448068141937, 0.360324501991272, -0.7550584077835083, -0.6753728985786438, -0.27222970128059387, -0.7530019879341125, 0.6304832100868225, 0.06997166574001312, 0.34408822655677795, -0.03166637197136879, 0.1939341276884079, 0.26922690868377686, 0.46675536036491394, -1.1094564199447632, -0.505225658416748, 0.2161935716867447, -0.3233654201030731, -0.124155193567276, -0.004471003543585539, -0.04395577684044838, -0.1301238238811493, 0.4628489017486572, -0.0814473032951355, 0.03310589864850044, -0.1688736528158188, -0.21770189702510834, 0.016815874725580215, 0.6312471032142639, 0.535987377166748, 0.7405955791473389, -0.03791482374072075, 0.17130300402641296, 0.20241454243659973, -0.2892489731311798, 0.3064427375793457, 0.09937534481287003, -0.2380450814962387, -0.09510253369808197, 0.39114025235176086, 0.4322660267353058, 0.030907735228538513, -0.8114877343177795, 0.7858086824417114, -0.21778099238872528, -0.35699936747550964, 0.017369337379932404, -0.001941900816746056, 0.08399404585361481, 0.35256227850914, 0.29821282625198364, -0.2803473174571991, 0.27535900473594666, -0.6207700967788696, -0.19370803236961365, 0.7089712023735046, -0.23838359117507935, -0.002046232344582677, 0.5532469749450684, 0.3177476227283478, -0.2469051480293274, 0.5374574065208435, -0.25995931029319763, -0.42625051736831665, 0.4270080626010895, 0.2585936188697815, 0.641075611114502, -0.1815207302570343, -0.11598552763462067, -0.21876326203346252, 0.2620856463909149, -0.05919962003827095, 0.07417283207178116, 0.28567662835121155, -0.5859161019325256, -0.37258732318878174, -1.0918028354644775, -0.42667558789253235, 0.08394616842269897, -0.3138177990913391, 0.00022115609317552298, -0.4076625406742096, -0.3906126320362091, -0.047100115567445755, 0.10213173180818558, -0.6567298769950867, -0.024309823289513588, 0.5583277940750122, 1.0053025484085083, -0.6797847151756287, 0.44588929414749146, 0.6914334893226624, -0.07750958204269409, -0.16709087789058685, -0.18583546578884125, 0.1050511822104454, -0.6660089492797852, 0.5355336666107178, -0.06336092203855515, 0.03214481100440025, -0.22277110815048218, -0.6391953825950623, -0.6612830758094788, 0.8186838030815125, 0.5978925824165344, -0.8171784281730652, 0.0025443562772125006, 0.37189537286758423, 0.45258083939552307, -0.11469504982233047, 0.19433468580245972, 0.5979467034339905, 0.4560224413871765, -0.22349102795124054, -1.1174113750457764, -0.1695190817117691, 0.10600413382053375, 0.159084752202034, 0.09717843681573868, -0.9408758878707886, 0.8883633613586426, 0.061632558703422546, 0.06440825015306473, 0.19611050188541412, 0.5250467658042908, 0.47744619846343994, 0.44155266880989075, 0.5433212518692017, 0.5338030457496643, 0.9864994287490845, -0.2853653132915497, 0.9015952944755554, 0.1614498496055603, 0.4051137864589691, 0.9209921360015869, -0.7099160552024841, 0.6090152859687805, 0.43774861097335815, -0.47976821660995483, 0.10065001994371414, 0.9249595999717712, 0.13541163504123688, 0.35669127106666565, 0.9005259275436401, -0.4036698639392853, -0.27618786692619324, -0.5304680466651917, -0.49015772342681885, 0.3128472566604614, 0.2577068507671356, -0.19776180386543274, -0.28168171644210815, 0.07074371725320816, 0.03857859969139099, 0.27082791924476624, -0.7803195714950562, 0.602603554725647, 0.43669411540031433, -0.4595973789691925, -0.033840324729681015, 0.483564168214798, 1.333177924156189, -0.44629794359207153, 0.03758316487073898, -0.48999515175819397, 0.03348962217569351, -0.3326975107192993, -1.0034104585647583, 0.07247137278318405, 0.1481798142194748, -0.4910884499549866, -0.14658308029174805, 0.5508370995521545, -0.18850471079349518, -0.3528931736946106, 0.4287818968296051, 0.6424998641014099, 0.27167704701423645, 0.2798261344432831, -0.5127140879631042, 0.4567381739616394, -0.2661074995994568, -0.10516641288995743, 0.44888702034950256, 0.2935340106487274, -0.35679730772972107, 1.0424067974090576, 0.3528211712837219, 0.1871650367975235, 0.3928694427013397, 0.44705381989479065, 0.5582383275032043, -0.7270132899284363, -0.1792699694633484, -0.8399339914321899, 0.0060908314771950245, 0.1076294556260109, -0.05250529199838638, 0.7470830082893372, 0.6555784940719604, 1.0845246315002441, 0.24320395290851593, 0.7845280766487122, 0.026226455345749855, 0.5692622065544128, -0.5613777041435242, 0.7991694211959839, -0.7013736367225647, 0.1823836863040924, -0.373037725687027, -0.9940111041069031, -0.49985525012016296, 0.3364584147930145, -0.2768067717552185, 0.4751623570919037, 0.2691994905471802, 0.6107218265533447, 0.052595626562833786, 0.029109302908182144, 0.2727489769458771, 0.18071642518043518, 0.2356746941804886, 0.4345744252204895, 1.2255949974060059, -0.10582950711250305, 0.039116114377975464, 0.28449758887290955, -0.2608347535133362, -0.22774289548397064, -0.9241601228713989, -0.6825875639915466, -0.22735626995563507, -0.0912502259016037, -0.14825905859470367, 0.32477450370788574, 0.9605389833450317, 0.7016921639442444, -0.7663480043411255, -0.4115194082260132, 0.3432650864124298, 0.6821239590644836, 0.46982526779174805, -0.2153988778591156, 0.030029719695448875, -0.34410756826400757, -0.9629218578338623, -0.13521891832351685, 0.17931492626667023, -0.1562984585762024, -0.26306506991386414, -0.32486388087272644, 0.0914321094751358, -0.014598779380321503, 0.8795182108879089, 0.1574447900056839, -1.0393366813659668, -0.09934482723474503, -0.2851584851741791, -0.2791396975517273, -0.12276850640773773, 0.7423814535140991, -0.5634417533874512, 0.0663682371377945, 0.2810691297054291, 0.7111313939094543, -0.021555373445153236, -0.47334903478622437, 0.37011054158210754, -0.46001771092414856, 0.07852191478013992, 0.48000478744506836, 0.47725147008895874, 0.44635137915611267, 0.06008375436067581, 0.3710273504257202, 0.2473079264163971, -0.6216961145401001, -1.0846576690673828, 0.22254252433776855, -0.8048257231712341, -0.3373916745185852, 1.2376880645751953, 0.24522340297698975, -0.08311279863119125, -0.053624916821718216, 0.12030397355556488, 0.04059070721268654, -0.2644045352935791, 0.5139275193214417, 0.8195177316665649, 0.131306454539299, 0.20489875972270966, -0.6328973770141602, 0.4087986946105957, 0.452446848154068, -0.9401042461395264, 0.04769381880760193, 0.7239398956298828, 0.45174524188041687, -0.26168009638786316, 0.8989251255989075, -0.4501384496688843, 0.1453118473291397, -0.5962364077568054, 0.09653691202402115, 0.6278788447380066, -0.11085500568151474, -0.7627097368240356, 0.09256547689437866, 0.6413385272026062, 0.3794390559196472 ]
http://arxiv.org/abs/2404.00790v1
http://arxiv.org/pdf/2404.00790v1
Rehearsal-Free Modular and Compositional Continual Learning for Language Models
2024-03-31T20:28:44
2024-03-31T20:28:44
Mingyang Wang, Heike Adel, Lukas Lange, Jannik Strötgen, Hinrich Schütze
cs.LG
cs.LG, cs.CL
Continual learning aims at incrementally acquiring new knowledge while not forgetting existing knowledge. To overcome catastrophic forgetting, methods are either rehearsal-based, i.e., store data examples from previous tasks for data replay, or isolate parameters dedicated to each task. However, rehearsal-based methods raise privacy and memory issues, and parameter-isolation continual learning does not consider interaction between tasks, thus hindering knowledge transfer. In this work, we propose MoCL, a rehearsal-free Modular and Compositional Continual Learning framework which continually adds new modules to language models and composes them with existing modules. Experiments on various benchmarks show that MoCL outperforms state of the art and effectively facilitates knowledge transfer.
[ 0.01051707286387682, -0.4988735020160675, 0.49990639090538025, 0.3601720631122589, -0.22625960409641266, 0.14183345437049866, -0.2414923906326294, -0.18378493189811707, -0.15807712078094482, 0.5887804627418518, -0.6718007922172546, -0.46398788690567017, -0.25309112668037415, -0.4770890176296234, -0.4605385363101959, 0.7912315726280212, -0.16228093206882477, -0.07870370894670486, -0.7304539084434509, -0.13083814084529877, -0.594170868396759, -0.6152817010879517, -0.6755999326705933, -0.4412130117416382, 0.43347030878067017, 0.6173147559165955, 0.15280422568321228, 0.6514334082603455, 0.11915525794029236, 0.17519141733646393, 0.1945466697216034, 0.098996601998806, -0.4838234782218933, 0.44538483023643494, -0.3880738615989685, -0.4407808482646942, -0.34994763135910034, -0.04823819920420647, 0.9636305570602417, 0.6943668723106384, -0.574396550655365, 0.07939565181732178, -0.05248750001192093, 0.8257941007614136, -0.7963104844093323, 0.3609239459037781, -0.7899130582809448, 0.15940901637077332, -0.0902988389134407, -0.07361900806427002, -0.6659615635871887, -0.4596690535545349, 0.24199256300926208, -0.5291485786437988, -0.03137165307998657, -0.22927655279636383, 0.23596543073654175, -0.08576250821352005, -0.42251044511795044, -0.3974623382091522, -0.6768198013305664, 0.8065361380577087, -0.5163232684135437, 0.5187510848045349, 0.497019499540329, 0.3198259174823761, 0.024931544438004494, -0.631483256816864, -0.42133745551109314, -0.3818279206752777, 0.16906480491161346, 0.17386651039123535, 0.27457094192504883, -0.08485926687717438, -0.07702170312404633, 0.5523810386657715, -0.6784661412239075, -0.2939668595790863, -0.44205620884895325, -0.3625657260417938, 0.43635040521621704, 0.3241795003414154, 0.3939844071865082, 0.186479851603508, -0.6797993779182434, 0.059519778937101364, -1.0610806941986084, -0.002591927768662572, 0.18043866753578186, -0.014556576497852802, -0.23910735547542572, 0.07759875804185867, -0.24898692965507507, 0.7352304458618164, -0.1694881021976471, -0.28352850675582886, 0.06916005164384842, -0.09974461048841476, -0.11184722930192947, -0.09732922911643982, 0.4909067749977112, -0.10140496492385864, 0.27103912830352783, -0.6242932677268982, -0.2991332411766052, 0.1629897952079773, 0.37923747301101685, -0.2503055930137634, -0.5784319043159485, -0.008942642249166965, -0.03577835485339165, -0.28755295276641846, 0.10222448408603668, -0.7449634671211243, 0.17012983560562134, -0.6085647940635681, 0.7952666878700256, -0.6255546808242798, -0.4354056417942047, 0.06383442133665085, 0.01061568595468998, -0.10567571222782135, 0.08596772700548172, -1.0718201398849487, 0.6175411343574524, 0.5581305623054504, 0.8484611511230469, -0.6534796953201294, -0.3899141848087311, -0.5421996116638184, 0.714292049407959, -0.4203134775161743, 0.6144338846206665, -0.45208829641342163, -0.449584424495697, 0.19242632389068604, 0.16736412048339844, -0.5004397630691528, -0.6602993607521057, -0.297370970249176, -0.3932053744792938, 0.33468466997146606, -0.013124893419444561, -0.7639507055282593, -0.3227829933166504, 0.19613556563854218, -0.47506242990493774, 0.7975291013717651, 0.3131553828716278, -0.0716116726398468, 0.0285500381141901, -0.45749548077583313, -0.5695692896842957, 0.00220930646173656, 0.0694538950920105, -0.08983917534351349, 0.2677321135997772, -0.12365495413541794, 0.3595534563064575, -0.05558306723833084, 0.4078420102596283, -0.16698633134365082, -0.18979033827781677, 0.49919983744621277, -0.2587811350822449, 0.35539302229881287, 0.2120993435382843, -0.41603559255599976, 0.14355909824371338, -0.8972834944725037, 0.18723131716251373, -0.19896739721298218, -0.5780299305915833, -0.2145393043756485, 0.1556921899318695, -0.322992205619812, 0.45974472165107727, 0.12302595376968384, -0.290588915348053, 0.15111489593982697, -0.16959472000598907, 0.5037400126457214, 0.9281541705131531, 0.219135582447052, 0.6391623020172119, -0.9475829005241394, 0.6185276508331299, 0.28117966651916504, 0.08582719415426254, -0.4652247726917267, -0.11426431685686111, -1.0256184339523315, -0.14106351137161255, 0.12586146593093872, 0.40555986762046814, -0.8949440121650696, -0.040426142513751984, -0.35612645745277405, -0.4339863657951355, -0.07477844506502151, 0.3392490744590759, 0.5870963931083679, 0.28661391139030457, 0.2362786829471588, -0.5050753951072693, -0.5832348465919495, -0.6108651757240295, 0.12652543187141418, -0.13319756090641022, 0.16685128211975098, 0.1084485575556755, 0.33779725432395935, -0.05082647129893303, 0.7659562826156616, -0.060902416706085205, -0.10682328790426254, -0.3116042912006378, -0.07443393021821976, -0.2955337464809418, 1.0531760454177856, 0.23516087234020233, -0.4988551139831543, -0.43569955229759216, 0.1053839698433876, -0.7772876024246216, 0.2596012353897095, -0.26001518964767456, -0.2104114145040512, 0.4852871596813202, 0.3969850540161133, -0.3812786936759949, -0.029067473486065865, 0.8850736618041992, 0.017202574759721756, 0.6635571718215942, -0.07326854765415192, -0.07393757998943329, -0.9596249461174011, 0.1087755411863327, -0.7185640335083008, -0.41012436151504517, -0.5833341479301453, 0.2446458786725998, 0.2646016776561737, -0.15564043819904327, -0.7544252276420593, 0.7589093446731567, -0.38007789850234985, 0.1785389631986618, -0.21815527975559235, 0.14918677508831024, -0.18196412920951843, 0.7089215517044067, -0.012511183507740498, 0.810326337814331, 0.8478066921234131, -1.12351393699646, 0.052410803735256195, -0.1342809945344925, -0.4540720283985138, 0.3350521922111511, -0.26226556301116943, 0.39750418066978455, 0.30236631631851196, -0.05149369314312935, -0.8583184480667114, -0.3013513386249542, 0.19423078000545502, -0.1644790917634964, 0.4462674856185913, -0.27231109142303467, -0.3435409665107727, -0.06455785781145096, 0.19050469994544983, 0.6561837792396545, 0.6934037208557129, -0.36204013228416443, 0.4691058397293091, 0.47335320711135864, -0.1075940951704979, -0.12188978493213654, -0.6842615008354187, -0.27479425072669983, -0.14664877951145172, -0.546289324760437, 0.3023374378681183, -0.3454425632953644, -0.10898075252771378, -0.013143206015229225, -0.4378811717033386, -0.4392814636230469, 0.08040240406990051, 0.38101762533187866, 0.07856449484825134, -0.2535180449485779, 0.40917104482650757, 0.09457879513502121, -0.25300174951553345, -0.002673732116818428, -0.9505019783973694, 0.7090311050415039, -0.026418868452310562, -0.388730525970459, -0.5519410371780396, 0.44788095355033875, 0.8947200179100037, -0.06360580027103424, 0.6979526877403259, 0.12160985916852951, -0.2589244544506073, -0.44892603158950806, -0.8159372806549072, -0.0038040822837501764, -0.4689274728298187, -0.042375192046165466, -0.05559679865837097, -1.1311215162277222, 0.7118715643882751, -0.05198081210255623, -0.12891480326652527, 0.134844109416008, 0.4905681014060974, -0.02007354609668255, 0.5816158056259155, 0.7281084060668945, -0.061594802886247635, 0.620875358581543, -0.09500767290592194, -0.2766491174697876, -0.8061524629592896, -0.300567626953125, 0.005432303063571453, -0.10889144986867905, 0.03057578019797802, -0.42890867590904236, 0.16781552135944366, 0.10784931480884552, -0.1398978978395462, 0.448508620262146, -0.08882281929254532, 0.4933870732784271, 0.4679221212863922, 0.15604466199874878, 0.3071904182434082, -0.07966054975986481, -0.4955759644508362, 0.07389618456363678, -0.8374952673912048, -0.1475011557340622, 1.0951957702636719, -0.1258169710636139, 0.5313441157341003, 0.2681736946105957, 0.7301840782165527, 0.2649344801902771, 0.43652695417404175, -0.39659833908081055, 0.6932649612426758, 0.12749116122722626, -0.7612901926040649, -0.08235301822423935, -0.5878491997718811, -0.5658318400382996, 0.21799106895923615, 0.17877724766731262, -0.9531063437461853, 0.08526623249053955, 0.501660168170929, 0.06617876142263412, 0.44157126545906067, -0.3927738070487976, 0.6281063556671143, 0.012277540750801563, -0.6083300709724426, -0.37816122174263, -0.44171127676963806, 0.5977656841278076, -0.10400553047657013, 0.3311517834663391, -0.05928614363074303, 0.167398139834404, 0.6467821598052979, -0.10766441375017166, 0.884394109249115, -0.037990134209394455, -0.07930941134691238, 0.5442861318588257, 0.6127126812934875, 0.6750380396842957, 0.09883520007133484, -0.13107363879680634, -0.17197640240192413, 0.15001347661018372, -0.4868234395980835, -0.5371755957603455, 0.746172308921814, -0.2933324873447418, -0.475036084651947, -0.17463797330856323, -0.8331072926521301, -0.39975637197494507, -0.020362844690680504, 0.07224210351705551, 0.6632336974143982, -0.04653436690568924, 0.39469611644744873, 0.8438711166381836, -0.007126123644411564, 0.5283034443855286, 0.6017493009567261, -0.28390195965766907, -0.7316923141479492, 1.228577971458435, 0.17952071130275726, 0.8429531455039978, 0.2786741852760315, 0.08640008419752121, -0.12730905413627625, -0.47161179780960083, -0.17220772802829742, 0.17985545098781586, -0.693853497505188, 0.023093216121196747, -0.594456136226654, -0.365550696849823, -0.2403535395860672, -0.29405465722084045, -0.4174637794494629, -0.6744024157524109, -0.1195666640996933, -0.1486884206533432, -0.021632693707942963, 0.4842139482498169, -0.32223838567733765, 0.14373576641082764, -0.9930222630500793, -0.09588808566331863, 0.522576630115509, 0.4006277620792389, 0.35759344696998596, -0.4277823865413666, -0.40654823184013367, -0.09087904542684555, -0.4268966019153595, -0.6234988570213318, 0.24948962032794952, 0.2464871108531952, 0.6998380422592163, 0.30934208631515503, 0.03142533078789711, 0.7773750424385071, -0.44803109765052795, 0.977534294128418, 0.3204182982444763, -1.2274682521820068, 0.5957324504852295, -0.6126875877380371, 0.5145204067230225, 0.576630175113678, 0.11577682197093964, -0.7955015897750854, -0.4668499529361725, -0.6611941456794739, -0.7664889097213745, 0.4586673676967621, -0.05374385789036751, 0.19662539660930634, -0.26884791254997253, 0.3906111717224121, 0.40279462933540344, 0.564111053943634, -1.0159803628921509, -0.004680866841226816, 0.11966203898191452, -0.07217003405094147, 0.031215857714414597, -0.40260252356529236, -0.1254875659942627, -0.3054125905036926, 0.7518525719642639, 0.022844595834612846, 0.44199270009994507, 0.018653184175491333, -0.47922760248184204, -0.07054245471954346, 0.30969658493995667, 0.9742933511734009, 1.0618433952331543, 0.15508078038692474, 0.22910469770431519, 0.3562224209308624, -0.4192914366722107, 0.4545845091342926, -0.7306268811225891, -0.1166137307882309, -0.16849175095558167, 0.33371129631996155, 0.5018780827522278, 0.8741115927696228, -0.8553990125656128, 0.233897864818573, 0.4669898450374603, -0.5029829740524292, -0.5985324382781982, 0.575343668460846, 0.24995216727256775, 0.05026230216026306, 0.1038474515080452, 0.19396735727787018, -0.2445359081029892, -0.8293728828430176, 0.6932344436645508, -0.02741190791130066, -0.8965193629264832, -0.5831872820854187, 0.5096755027770996, -0.12068235129117966, -0.22703532874584198, 0.5800508260726929, -0.007625285070389509, -0.40583181381225586, 0.3077971041202545, 0.9824377298355103, 0.741221010684967, -0.4099867045879364, 0.2828695476055145, 0.27150121331214905, 0.0014691536780446768, -0.5250686407089233, 0.3796413540840149, -0.4681893289089203, -0.311967134475708, -0.3218935430049896, -0.47869524359703064, -0.4564800262451172, -0.027908559888601303, -0.9120013117790222, -0.3339756429195404, -0.6398826837539673, 0.3686036765575409, -0.8200756907463074, -0.4455420672893524, -0.2756136953830719, 0.0041912212036550045, -0.1921570599079132, 0.8345858454704285, -0.5681317448616028, 1.3501006364822388, 0.39686647057533264, -0.22695490717887878, -0.6403477191925049, -0.15190277993679047, 0.24634003639221191, -0.5036987662315369, 0.4187866747379303, 0.12778809666633606, -0.05951671674847603, 0.10843399167060852, -0.3847210705280304, -1.1125450134277344, 1.258528709411621, 0.5675368905067444, -0.542647659778595, 0.12182140350341797, -0.11674337089061737, 0.2843760550022125, -0.4895365238189697, -0.6360005736351013, 0.2629068195819855, 0.29730427265167236, 0.2255224585533142, -0.6203151941299438, -0.03636390343308449, -0.23645538091659546, -0.25133708119392395, 0.2222445011138916, -0.6088505983352661, 1.113784909248352, 0.17321740090847015, -0.4447682201862335, 0.44882917404174805, 0.45689260959625244, 0.17114509642124176, 0.3888329863548279, 0.2841227650642395, 0.6448944807052612, 0.880825936794281, -0.13079717755317688, 0.9962051510810852, -0.2534352242946625, 0.3151649832725525, 1.307847023010254, -0.24057914316654205, 0.9519966244697571, 0.36690211296081543, 0.010900511406362057, 0.8235235214233398, 0.2707478106021881, 0.2581857442855835, 0.9271617531776428, 0.14534388482570648, -0.7185043096542358, -0.5655557513237, 0.24528811872005463, -0.4323764741420746, 0.08364103734493256, 0.44853249192237854, -0.14046117663383484, -0.002288206946104765, 0.3120196759700775, -0.04058867692947388, 0.042371392250061035, -0.21486327052116394, 0.8934796452522278, 0.12400651723146439, -0.9620318412780762, 0.4099537432193756, -0.48356375098228455, 0.13669031858444214, -0.9724313616752625, 0.20828396081924438, -0.32240739464759827, 0.33135101199150085, 0.09862148761749268, -0.16837193071842194, 0.5383180975914001, -0.43326401710510254, -0.3971782922744751, -0.11864772439002991, 0.39923492074012756, -0.7806352972984314, -0.22765228152275085, 0.16567020118236542, 0.3697017431259155, -0.05619977042078972, 0.053957127034664154, -0.2860206067562103, 0.012212224304676056, -0.09604492038488388, 0.1239480972290039, 0.7409254908561707, 0.3693229854106903, 0.042589083313941956, 1.0380446910858154, 0.8524469137191772, 0.003907402511686087, 0.32493123412132263, -0.29884663224220276, 0.8719561696052551, -0.7310845255851746, -0.7264262437820435, -0.7662038207054138, 0.7475182414054871, 0.19142882525920868, -0.18150274455547333, 0.6295281052589417, 0.35206833481788635, 0.9655373692512512, -0.3045402765274048, 0.6906236410140991, 0.1582641303539276, 0.10805772244930267, -1.1122088432312012, 0.7604966759681702, -0.5843963027000427, 0.2734084129333496, -0.13589102029800415, -0.7602439522743225, -0.3827016055583954, 0.540172278881073, -0.06264275312423706, -0.17358626425266266, 1.0692347288131714, 0.6518750190734863, -0.15670683979988098, 0.06535367667675018, 0.6413534879684448, -0.09803668409585953, 0.29834017157554626, 0.8755331039428711, 0.9220415949821472, -0.2613018751144409, 0.42616143822669983, -0.2111680954694748, 0.12279433757066727, -0.048698607832193375, -0.7888699173927307, -0.6998572945594788, -0.8952072262763977, -0.3840065896511078, -0.03175004944205284, 0.37446048855781555, 0.7850889563560486, 1.0732940435409546, -0.8577591180801392, -0.4790765345096588, -0.49939796328544617, 0.22963282465934753, -0.6134365797042847, -0.21419598162174225, 0.1180100068449974, -0.7735592722892761, -0.30642443895339966, 0.7783201336860657, 0.5425244569778442, 0.09033269435167313, -0.3406578302383423, -0.20355309545993805, -0.19235260784626007, 0.1276984065771103, 0.5351261496543884, 0.4290124475955963, -0.6393189430236816, -0.5193970203399658, -0.21592074632644653, 0.07695340365171432, 0.013091001659631729, 1.20615816116333, -0.7622606158256531, 0.5864671468734741, 0.2166072577238083, 0.6184515953063965, 0.47765710949897766, -0.3584069013595581, 0.8531032204627991, -0.8229287266731262, 0.2785739302635193, 0.12736652791500092, 0.3063243329524994, 0.15211309492588043, -0.061211783438920975, 0.4094601273536682, 0.5087183713912964, -0.6177924871444702, -0.7223520278930664, 0.40462785959243774, -1.1332931518554688, -0.21576786041259766, 1.0510501861572266, -0.44420549273490906, -0.09263681620359421, -0.1938585788011551, 0.308820515871048, -0.09238211065530777, -0.06566421687602997, 0.7861060500144958, 0.7901421785354614, 0.12814170122146606, -0.3001498878002167, -0.7032570838928223, 0.4407253861427307, 0.26587262749671936, -0.6646948456764221, 0.13366413116455078, 0.3872095048427582, 0.6242856383323669, -0.050257910043001175, 0.6648510098457336, -0.469521164894104, 0.5846867561340332, -0.0012786495499312878, -0.16194161772727966, -0.2929723560810089, -0.8310221433639526, -0.18157586455345154, 0.5763763785362244, -0.23711106181144714, -0.14980533719062805 ]
http://arxiv.org/abs/2404.00758v1
http://arxiv.org/pdf/2404.00758v1
From Robustness to Improved Generalization and Calibration in Pre-trained Language Models
2024-03-31T18:08:37
2024-03-31T18:08:37
Josip Jukić, Jan Šnajder
cs.CL
cs.CL
Enhancing generalization and uncertainty quantification in pre-trained language models (PLMs) is crucial for their effectiveness and reliability. Building on machine learning research that established the importance of robustness for improving generalization, we investigate the role of representation smoothness, achieved via Jacobian and Hessian regularization, in enhancing PLM performance. Although such regularization methods have proven effective in computer vision, their application in natural language processing (NLP), where PLM inputs are derived from a discrete domain, poses unique challenges. We introduce a novel two-phase regularization approach, JacHess, which minimizes the norms of the Jacobian and Hessian matrices within PLM intermediate representations relative to their inputs. Our evaluation using the GLUE benchmark demonstrates that JacHess significantly improves in-domain generalization and calibration in PLMs, outperforming unregularized fine-tuning and other similar regularization methods.
[ -0.43513673543930054, -0.5857559442520142, 0.6049133539199829, 0.05843264237046242, -0.3421117067337036, 0.23890802264213562, -0.6133055090904236, -0.053799819201231, 0.013805924914777279, 0.4472340941429138, -0.05854948237538338, -0.5820107460021973, -0.9803938865661621, -0.03944286331534386, -0.06721389293670654, 0.7740936875343323, -0.12901128828525543, 0.011739104054868221, -0.253464937210083, -0.10084705054759979, -0.03145156428217888, -0.38684314489364624, -0.528643012046814, -0.4135191738605499, 0.15659300982952118, -0.08964425325393677, 1.2693052291870117, 0.4746513366699219, 0.3954765200614929, 0.37266257405281067, -0.017829054966568947, 0.2628229856491089, -0.27633270621299744, 0.5590593814849854, -0.060930971056222916, -0.6697851419448853, -0.35280492901802063, -0.07646704465150833, 0.8939729928970337, 1.178745985031128, -0.031843189150094986, -0.07294221967458725, 0.49488845467567444, 0.9236918091773987, -0.8682052493095398, 0.5388019680976868, -0.4093043804168701, -0.1404203623533249, -0.11313101649284363, -0.20289750397205353, -0.39935630559921265, -0.4300847053527832, 0.4421597123146057, -1.0641944408416748, 0.265749454498291, -0.23421521484851837, 1.157036542892456, 0.4264181852340698, -0.1640617400407791, -0.029387079179286957, -0.8640866875648499, 0.9594050049781799, -0.8113822340965271, 0.4674762189388275, 0.7020618319511414, 0.28974097967147827, -0.3620348572731018, -0.7166909575462341, -0.05700354278087616, -0.06106789782643318, -0.03386981785297394, -0.046022187918424606, 0.06297119706869125, 0.4954870045185089, 0.37023839354515076, 0.13626188039779663, -0.36591142416000366, -0.2630887031555176, 0.11129660159349442, -0.4385557770729065, 0.40735480189323425, -0.34449002146720886, 0.007157234009355307, 0.4282158613204956, -0.04607066139578819, -0.42707639932632446, -0.3928638696670532, 0.30001091957092285, 0.5001363158226013, 0.45184385776519775, -0.11038561910390854, 0.1447630524635315, 0.0033831268083304167, 0.9804611802101135, 0.1012730523943901, -0.40184885263442993, 0.08085209131240845, -0.28607743978500366, -0.15324360132217407, -0.680504560470581, 0.4777821898460388, 0.05560128390789032, 0.5897924900054932, -0.2388356328010559, -0.3035014271736145, 0.04695670306682587, 0.26162901520729065, -0.5766594409942627, -0.3862783908843994, -0.011739077046513557, -0.41085782647132874, -0.11447551101446152, 0.38635167479515076, -0.7349847555160522, -0.2677895426750183, -0.6349222660064697, 0.46838244795799255, -0.3797990381717682, -0.2418486773967743, 0.2092800885438919, 0.13294623792171478, 0.08692395687103271, 0.42264437675476074, -0.9375326037406921, 0.700114369392395, 0.5416234135627747, 0.5679211020469666, 0.0001643989817239344, 0.24360588192939758, -0.4895142912864685, 0.046054430305957794, -0.7964080572128296, 0.32035931944847107, -0.7506545186042786, -0.07221245765686035, 0.20862659811973572, -0.1553354561328888, -0.08803451806306839, -0.5687993168830872, 0.1891259104013443, -0.5216556787490845, 0.029551098123192787, -0.18629631400108337, -0.28924673795700073, -0.3793412744998932, 0.09106656163930893, -0.4231550693511963, 1.025294303894043, 0.30068308115005493, -0.49672695994377136, 0.5143118500709534, -0.1586298644542694, -0.31901097297668457, -0.10041473060846329, -0.13874167203903198, -0.7018364071846008, 0.4721836745738983, 0.3912751376628876, 0.40332916378974915, -0.16250120103359222, 0.510993242263794, -0.3729974329471588, -0.5320954918861389, 0.08767680078744888, -0.14684107899665833, 0.30109846591949463, 0.09598696231842041, -0.21949541568756104, 0.05631764233112335, -0.6674983501434326, 0.23716871440410614, -0.10509718954563141, -0.23641224205493927, -0.5377357006072998, 0.2141910046339035, -0.18235410749912262, 0.06828922033309937, 0.23792068660259247, -0.12959523499011993, -0.04637487232685089, -0.8422122597694397, 0.014241321943700314, 0.5760442614555359, -0.2355855256319046, 0.8458051681518555, -0.18393349647521973, 0.5948018431663513, 0.18602721393108368, 0.06863007694482803, -0.278989315032959, -0.5603883862495422, -1.1424518823623657, -0.13153502345085144, 0.8735890984535217, 0.42259129881858826, -0.9265862107276917, 0.5823086500167847, -0.0771314948797226, -0.166093111038208, -0.45699813961982727, 0.17212769389152527, 0.32990944385528564, 0.27555418014526367, 0.37579748034477234, -0.9030830264091492, -0.4006405174732208, -0.8360459208488464, -0.38319411873817444, 0.0033226858358830214, -0.4020310640335083, -0.15135502815246582, 0.17779381573200226, -0.09108024090528488, 1.0725921392440796, -0.06709383428096771, -0.142109215259552, -0.010655847378075123, 0.48511072993278503, 0.09399489313364029, 0.6295245885848999, 0.6442001461982727, -0.638407826423645, -0.8417043685913086, -0.15945184230804443, -0.4425759017467499, -0.16305522620677948, -0.06819726526737213, 0.20366030931472778, 0.28965601325035095, 0.2394329458475113, -0.1355026811361313, 0.6484574675559998, 0.5108647346496582, -0.03038903698325157, 0.14204685389995575, -0.40121525526046753, 0.11618652194738388, -0.874853253364563, -0.025213424116373062, 0.39023226499557495, -0.6861227750778198, -0.8548884987831116, 0.040217895060777664, -0.005449358839541674, -0.2053203284740448, -0.06439973413944244, -0.14276866614818573, -0.6476399302482605, -0.37481048703193665, -0.24739669263362885, 0.21172583103179932, 0.12840962409973145, 0.431426465511322, 0.05751774087548256, 1.0269973278045654, 1.1610491275787354, -0.4996686279773712, -0.20770590007305145, -0.1801675707101822, -0.1007855162024498, 0.22274018824100494, -0.7183859944343567, 0.17111527919769287, -0.5136237144470215, 0.11736638844013214, -0.9265152812004089, -0.10812506079673767, 0.11790856719017029, -0.27446234226226807, 0.9696996212005615, -0.25362682342529297, -0.541046679019928, 0.04060114920139313, -0.6021433472633362, 0.22622349858283997, 0.7498036026954651, -0.1162862628698349, 0.8218151330947876, 0.383921355009079, -0.30091869831085205, -0.4483000636100769, -0.6676729917526245, -0.11840455234050751, 0.01406943704932928, -0.5603619813919067, 0.4253794848918915, 0.12000495940446854, -0.15877848863601685, -0.369401216506958, -0.4424123764038086, -0.3550804555416107, 0.19170911610126495, 0.15014751255512238, 0.11355142295360565, -0.17088158428668976, -0.14966680109500885, 0.3101072907447815, -0.4276156425476074, 0.05757760629057884, -0.3979005217552185, 0.463608980178833, -0.23229816555976868, -0.12720251083374023, -0.6942945718765259, 0.296034038066864, 0.2644907534122467, -0.02378479577600956, 0.7067049145698547, 0.6716820001602173, -0.46256715059280396, -0.2755286395549774, -0.529866635799408, -0.3270837366580963, -0.5222328305244446, 0.13785021007061005, -0.37087833881378174, -1.064082384109497, 0.5054203271865845, -0.3570072054862976, -0.07071220874786377, 0.38261130452156067, 0.3587051033973694, -0.09220711886882782, 1.2996772527694702, 1.0357630252838135, 0.007416687905788422, 0.3126232326030731, -0.07559090852737427, 0.3614259958267212, -0.40974950790405273, -0.01429849211126566, -0.6930450201034546, -0.08889957517385483, -0.7945877909660339, -0.6492176055908203, 0.31132903695106506, 0.32427412271499634, 0.05434306338429451, 0.36223214864730835, -0.35094913840293884, 0.4622299075126648, 0.5049904584884644, -0.0231996588408947, 0.08276193588972092, 0.268344908952713, -0.31771647930145264, -0.5553408861160278, -0.6603612899780273, -0.8899806141853333, 1.028498888015747, 0.6916176676750183, 0.8874514698982239, -0.06885875761508942, 0.6384758353233337, -0.008943668566644192, 0.020316798239946365, -0.4613126814365387, 0.36569657921791077, -0.3364218473434448, -0.11767229437828064, -0.08358404040336609, -0.4065914750099182, -0.7749706506729126, 0.30229052901268005, -0.3710455000400543, -0.8199512362480164, 0.37322714924812317, 0.39889976382255554, -0.46840402483940125, 0.13483744859695435, -0.7287278771400452, 0.3978186547756195, 0.30193448066711426, -0.42345643043518066, -0.07133908569812775, -1.0396993160247803, -0.0006231543375179172, -0.19229361414909363, 0.31742024421691895, -0.10189367830753326, -0.23854173719882965, 0.6129260659217834, -0.3875589370727539, 0.8195295333862305, -0.30330756306648254, 0.01618456467986107, 0.1818823665380478, 0.2271767556667328, 0.411139577627182, 0.2394319772720337, -0.0162014439702034, 0.21170692145824432, 0.09006498754024506, -0.46409228444099426, -0.7572502493858337, 0.5139131546020508, -0.7306711077690125, -0.5360894203186035, -0.45235326886177063, -0.8090206384658813, -0.7560901641845703, -0.06670722365379333, 0.05214923992753029, 0.40530717372894287, 0.3161708414554596, 0.2583267390727997, 0.9267576932907104, -0.20375077426433563, 0.42262962460517883, 0.2636926472187042, -0.11603835970163345, -0.24755632877349854, 0.8329076170921326, 0.1535644233226776, 0.3707108497619629, 0.2757861912250519, -0.048814717680215836, -0.17062103748321533, -0.81514972448349, -0.015509760938584805, 0.0008274867432191968, -0.5577863454818726, -0.2853143513202667, -0.27045518159866333, -0.13939988613128662, -0.5470216870307922, -0.22597336769104004, -0.5172039866447449, -0.5776275396347046, -0.42710915207862854, 0.37304484844207764, -0.12359881401062012, 0.7668516635894775, -0.12622994184494019, 0.46461722254753113, -0.5904300808906555, 0.32544228434562683, 0.3427407741546631, 0.5602084398269653, -0.4993295669555664, -0.5865081548690796, -0.21816375851631165, 0.03296937048435211, -0.208643838763237, -0.7033156156539917, 0.3380157947540283, 0.45992791652679443, 0.47495049238204956, 0.4238928258419037, -0.16928260028362274, 0.6897386908531189, -0.1868489533662796, 0.7944806814193726, 0.11775504797697067, -1.0542385578155518, 0.673533022403717, -0.3474002778530121, 0.26938819885253906, 0.8009403944015503, 0.38200777769088745, 0.15423525869846344, -0.6805905103683472, -0.43962448835372925, -0.7183039784431458, 0.5458449721336365, 0.42392662167549133, 0.09175144135951996, 0.4241558909416199, 0.5274158716201782, 0.14762558043003082, 0.23766838014125824, -0.5961340665817261, -0.5117617845535278, -0.11820975691080093, -0.31729254126548767, 0.034564703702926636, -0.551756739616394, -0.0005762259243056178, -0.2762845456600189, 0.7277882099151611, -0.28562241792678833, 0.07985126227140427, 0.022347277030348778, -0.11476926505565643, -0.28633999824523926, 0.23148226737976074, 0.5264248847961426, 0.7829825282096863, -0.2500717341899872, 0.26958778500556946, 0.10934613645076752, -0.48387008905410767, 0.07243110239505768, 0.3314329981803894, -0.4881361722946167, 0.24280619621276855, 0.20649917423725128, 0.6422865986824036, 0.07460122555494308, -0.22714556753635406, 0.6247860193252563, -0.06125074625015259, -0.2036862075328827, 0.11915886402130127, 0.0708317905664444, -0.4060684144496918, 0.004561387002468109, 0.37022101879119873, 0.5364809036254883, 0.1174527183175087, -0.07566694170236588, 0.22978727519512177, 0.40455135703086853, -0.34317219257354736, -0.4491589069366455, 0.6007586717605591, -0.0639098659157753, -0.06068909168243408, 0.005643787793815136, -0.21118421852588654, -0.42217835783958435, 0.20339232683181763, 0.5443985462188721, 0.7053775787353516, -0.3572094142436981, 0.1372690498828888, 0.4192185401916504, 0.4621063470840454, -0.23615121841430664, 0.2992781698703766, -0.11935403943061829, -0.6752861142158508, -0.8183799982070923, -0.6498438715934753, -0.5635160803794861, -0.09005728363990784, -0.784841775894165, 0.12479106336832047, -0.6755189299583435, -0.5807119011878967, -0.305132120847702, 0.001140153268352151, -0.6055368781089783, 0.24381692707538605, 0.17587147653102875, 0.5084415674209595, -0.8397318720817566, 0.94319087266922, 0.6392755508422852, -0.1250782161951065, -0.7197871804237366, 0.12215105444192886, -0.2296091765165329, -0.40764397382736206, 0.20939901471138, 0.13551080226898193, -0.12463891506195068, -0.16920651495456696, -0.6064223051071167, -1.099888801574707, 0.672306478023529, 0.8609390258789062, -0.774978518486023, 0.21669229865074158, 0.3704836964607239, 0.5345790386199951, -0.16201531887054443, 0.004932531155645847, 0.7793523073196411, 0.5306432247161865, -0.2537153363227844, -0.8766478300094604, -0.1524471640586853, -0.05490218475461006, 0.7010766267776489, 0.2779809534549713, -0.0387522429227829, 0.4931848347187042, 0.05798507481813431, -0.31380051374435425, 0.10369977355003357, 0.8066412210464478, 0.21136035025119781, -0.0075946650467813015, 0.6578053832054138, 0.5512228012084961, 0.5288193225860596, -0.6448882818222046, 0.8878178000450134, -0.4142766296863556, 0.4813055992126465, 0.9045190215110779, -0.048362188041210175, 0.37153366208076477, 0.6573648452758789, -0.4041900336742401, 0.6192358732223511, 0.41364580392837524, 0.2928825914859772, 0.6172125935554504, 0.28830960392951965, -0.26974403858184814, -0.3923529386520386, -0.09428705275058746, -0.2588278651237488, 0.11378036439418793, 0.4787043631076813, -0.2399289608001709, -0.2958447337150574, 0.012659379281103611, -0.020812438800930977, 0.5983775854110718, -0.15143251419067383, 0.5470645427703857, 0.11264900118112564, -0.5103247761726379, 0.49864062666893005, 0.14285212755203247, 0.8109796643257141, -0.877149224281311, -0.06872303038835526, 0.16324765980243683, -0.05182350426912308, -0.0456211194396019, -0.43209341168403625, 0.45624062418937683, -0.3309820294380188, 0.04721413925290108, -0.4359147548675537, 1.125200867652893, -0.622920036315918, -0.3471037447452545, 0.2091285139322281, 0.3733918070793152, -0.038770243525505066, -0.016503263264894485, -0.6622892618179321, 0.28625452518463135, -0.23892128467559814, -0.4026338458061218, 0.3774273693561554, 0.10701514035463333, 0.16898135840892792, 0.4915240406990051, 0.4772842526435852, 0.13255520164966583, 0.03448769822716713, 0.33385875821113586, 0.8964320421218872, -0.16738146543502808, -0.25776535272598267, -0.5399202108383179, 0.5983328223228455, 0.013132228516042233, -0.20918940007686615, 0.6473830342292786, 0.3344748318195343, 0.6729487180709839, -0.10252463817596436, 0.5435241460800171, 0.1733962446451187, 0.46853843331336975, -0.46814489364624023, 0.5738587379455566, -0.24424061179161072, 0.14409980177879333, -0.29256951808929443, -1.0362001657485962, -0.9180540442466736, 1.0641294717788696, -0.2185051441192627, 0.3094993829727173, 0.5631329417228699, 0.90665602684021, 0.029530616477131844, -0.266789048910141, 0.5534511208534241, -0.00029276913846842945, 0.09773465245962143, 0.2849167585372925, 0.41208434104919434, -0.7099536061286926, 0.14639541506767273, -0.5713940858840942, -0.2704713046550751, 0.2971498668193817, -0.8555338978767395, -0.9830162525177002, -0.7080642580986023, -0.5818884968757629, -0.24632064998149872, 0.224113330245018, 0.7631674408912659, 1.1269701719284058, -1.1590245962142944, -0.10420466214418411, -0.24668113887310028, -0.16109740734100342, -0.1061292365193367, -0.19778382778167725, 0.17204733192920685, -0.9634315371513367, -0.7645093202590942, 0.5299143195152283, 0.5502985715866089, 0.2651405334472656, -0.3503287434577942, -0.05561848729848862, 0.0526939295232296, 0.1126411110162735, 0.5558692216873169, -0.016022365540266037, -0.7500354647636414, -0.31442564725875854, -0.2693985104560852, 0.016436340287327766, 0.16454997658729553, 0.7815340161323547, -0.8664062023162842, 0.8283925652503967, 0.41205501556396484, 0.7081770896911621, 0.5970428586006165, 0.061747848987579346, 0.8852577805519104, -1.083709478378296, 0.535782516002655, 0.4122929573059082, 0.39744487404823303, 0.5746548771858215, 0.06239151582121849, 0.5723255276679993, 0.09209894388914108, -0.5455779433250427, -0.4626242518424988, 0.2435842603445053, -1.0649877786636353, -0.013360768556594849, 0.8930366635322571, -0.4657959043979645, -0.06275589019060135, -0.48543405532836914, 0.03729521110653877, 0.29496437311172485, -0.4379344880580902, 0.5541465282440186, 0.6514777541160583, 0.2300700545310974, -0.10972414165735245, -0.5687574148178101, 0.7133846282958984, 0.6919867396354675, -0.6731324195861816, -0.31151217222213745, 0.286489874124527, 0.19487744569778442, 0.2535800337791443, 0.4061512053012848, -0.14186573028564453, 0.08684269338846207, -0.2564038038253784, -0.15525203943252563, 0.16413314640522003, -0.46656912565231323, -0.5057883858680725, 0.3680252134799957, 0.32582932710647583, -0.03733259066939354 ]
http://arxiv.org/abs/2404.00752v1
http://arxiv.org/pdf/2404.00752v1
On the True Distribution Approximation of Minimum Bayes-Risk Decoding
2024-03-31T17:47:22
2024-03-31T17:47:22
Atsumoto Ohashi, Ukyo Honda, Tetsuro Morimura, Yuu Jinnai
cs.CL
cs.CL, cs.AI
Minimum Bayes-risk (MBR) decoding has recently gained renewed attention in text generation. MBR decoding considers texts sampled from a model as pseudo-references and selects the text with the highest similarity to the others. Therefore, sampling is one of the key elements of MBR decoding, and previous studies reported that the performance varies by sampling methods. From a theoretical standpoint, this performance variation is likely tied to how closely the samples approximate the true distribution of references. However, this approximation has not been the subject of in-depth study. In this study, we propose using anomaly detection to measure the degree of approximation. We first closely examine the performance variation and then show that previous hypotheses about samples do not correlate well with the variation, but our introduced anomaly scores do. The results are the first to empirically support the link between the performance and the core assumption of MBR decoding.
[ -0.27522072196006775, -0.5566465258598328, 0.6563023924827576, -0.05265797674655914, -0.3208894729614258, -0.18689030408859253, 0.40841856598854065, -0.4339804947376251, -0.0845797136425972, 0.369463175535202, -0.717967689037323, -0.4897328019142151, -0.4636685252189636, 0.21287702023983002, -0.16933323442935944, 0.7975713610649109, 0.35782355070114136, -0.3393242359161377, 0.11004455387592316, 0.1968231052160263, 0.0022163274697959423, -0.4933485686779022, -0.19987711310386658, 0.09890434890985489, 0.18743470311164856, 0.09225370734930038, 0.5677675008773804, 0.828765869140625, 0.7411119937896729, 0.19174952805042267, -0.28102463483810425, 0.12460533529520035, -0.36676424741744995, -0.3557239770889282, -0.15463368594646454, -0.8683619499206543, -0.18529900908470154, -0.22212031483650208, 1.0808755159378052, 0.5654487013816833, -0.13983310759067535, 0.08375240862369537, 0.08363926410675049, 0.8860794305801392, -0.9827851057052612, -0.22206944227218628, -0.47909384965896606, 0.0047370861284434795, -0.28414928913116455, -0.42223334312438965, -0.6964636445045471, -0.557226836681366, -0.0707949846982956, -0.2566204071044922, 1.0152597427368164, 0.06498995423316956, 0.7504096627235413, 0.043713729828596115, -0.4113888442516327, -0.12426348030567169, -0.8604695796966553, 0.7388811707496643, -0.5811386704444885, 0.08419416099786758, 0.3246740996837616, 0.4747028350830078, -0.6206048130989075, -0.21372781693935394, -0.6834781169891357, 0.043747980147600174, 0.09494490921497345, 0.036308106034994125, -0.6110942363739014, 0.012349825352430344, 0.22529654204845428, 0.43592360615730286, -0.31370899081230164, -0.07358373701572418, -0.4137625992298126, -0.1825711727142334, 0.6191602349281311, 0.46556922793388367, -0.01703590713441372, -0.3526870310306549, -0.35910215973854065, -0.5160357356071472, -0.5172240734100342, 0.482894629240036, 0.7150787115097046, -0.00521891238167882, -0.3831353783607483, 0.48538440465927124, -0.04166298732161522, 0.564931333065033, 0.052012648433446884, -0.16972269117832184, 0.43040895462036133, -0.3157854378223419, -0.30495360493659973, 0.006497064605355263, 0.9115157723426819, 0.4296737313270569, -0.09338398277759552, 0.017762884497642517, -0.16121788322925568, -0.1269984096288681, 0.36105361580848694, -0.5918936729431152, -0.64913010597229, -0.17448507249355316, -0.7611690759658813, -0.3971433639526367, 0.3647013306617737, -0.9721131920814514, -0.21921281516551971, 0.310796320438385, 0.4438275098800659, -0.5799528360366821, -0.3200788199901581, 0.04411620646715164, -0.590227484703064, 0.1383463740348816, -0.20423538982868195, -0.49716445803642273, 0.49252966046333313, 0.3511227071285248, 0.7699370980262756, -0.18015137314796448, -0.08186236768960953, -0.39029914140701294, 0.05864591896533966, -0.5769291520118713, 1.05508553981781, -0.34226974844932556, -0.7732977867126465, -0.2226148098707199, -0.021033650264143944, -0.06213196739554405, -0.6446114778518677, 0.7801907062530518, -0.3699084520339966, -0.4874380826950073, -0.41335323452949524, -0.5293983221054077, -0.00021285083494149148, -0.1388772428035736, -0.8372750282287598, 0.9211337566375732, 0.31848761439323425, -1.1362686157226562, 0.5562619566917419, -0.5777021646499634, -0.2590101957321167, -0.22049649059772491, 0.017095670104026794, -0.5605610609054565, 0.6908182501792908, 0.27342212200164795, 0.2913740873336792, 0.052077438682317734, -0.34241077303886414, -0.3707645833492279, -0.7174679040908813, 0.6160488724708557, -0.8553159832954407, 0.4968787431716919, 0.13210901618003845, -0.19390849769115448, -0.7538744807243347, -0.7384245991706848, 0.10654730349779129, 0.07777625322341919, -0.3430503010749817, -0.5420156121253967, 0.1873009353876114, -0.024897459894418716, -0.24404923617839813, -0.15392149984836578, -0.49619773030281067, 0.08928413689136505, -0.7124652862548828, -0.10370104759931564, 0.5590519905090332, 0.5138803720474243, 0.3696218729019165, -0.6394967436790466, 0.3920135796070099, 0.4681761562824249, -0.04198342561721802, -0.2502043843269348, -0.5536647439002991, -0.20111218094825745, -0.6369659900665283, 0.3880997896194458, 0.50054532289505, -0.5497286915779114, 0.7754231691360474, -0.6443115472793579, -0.6306331753730774, -0.7074632048606873, -0.11988361924886703, 0.5890877842903137, 0.247557133436203, 0.2799532115459442, -0.11081749945878983, -0.18658356368541718, -1.0907888412475586, -0.6564995646476746, -0.23135246336460114, -0.07334700971841812, -0.06768824905157089, 0.2567673623561859, -0.27606201171875, 1.3508756160736084, -0.6811367273330688, -0.08376163989305496, -0.27567780017852783, 0.4025857746601105, 0.6323331594467163, 0.5885046720504761, 0.8296725749969482, -0.6550893783569336, -0.34154361486434937, -0.2782781720161438, -0.334423691034317, -0.03131065145134926, 0.012949714437127113, -0.21225783228874207, 0.25159698724746704, -0.1242825835943222, -0.15433593094348907, 0.7290439605712891, 0.5940351486206055, -0.06039535999298096, 0.46315810084342957, -0.44835707545280457, 0.24326753616333008, -0.9693275690078735, 0.05317903682589531, 0.19495372474193573, -0.09541229903697968, -0.7404381632804871, 0.05299375206232071, 0.31479740142822266, 0.41257765889167786, -0.03319384157657623, 0.06029076501727104, -0.5208836197853088, 0.2395177036523819, -0.4694679379463196, -0.2822205424308777, -0.05749787390232086, -0.01721123978495598, 0.06673657149076462, 0.8454290628433228, 0.3601762354373932, -0.8548451066017151, -0.25464314222335815, -0.014104141853749752, -0.6420019865036011, 0.523547887802124, -0.2906894087791443, 0.05426425114274025, -0.5377848744392395, 0.06908789277076721, -1.210159420967102, -0.08771643042564392, 0.2396635115146637, -0.5171135067939758, 0.4365401566028595, -0.49322938919067383, -0.2937989830970764, -0.43194296956062317, -0.4971393048763275, 0.3502853512763977, 0.8528905510902405, -0.5695641040802002, 0.3099014163017273, 0.29899099469184875, 0.13264593482017517, -0.858440101146698, -0.9815689325332642, -0.3117370009422302, 0.09623008221387863, -0.309729665517807, 0.06744427233934402, -0.29534071683883667, 0.026978157460689545, 0.055158015340566635, -0.39946332573890686, -0.3496556282043457, -0.10292775183916092, 0.23527245223522186, 0.011225380003452301, -0.39985138177871704, -0.4348889887332916, 0.7195786833763123, -0.04300476983189583, 0.33946165442466736, 0.04295777529478073, 0.03269198536872864, 0.2310066670179367, -0.47175508737564087, -0.4289141595363617, 0.2812071740627289, 0.12842373549938202, 0.4557539224624634, 0.7015726566314697, 0.27432873845100403, -0.26551511883735657, -0.07764124125242233, -0.6918743848800659, 0.08405450731515884, -0.5203008651733398, 0.06752803176641464, -1.003828763961792, -0.30706891417503357, 0.5201148986816406, 0.08563901484012604, -0.16675271093845367, 0.513623833656311, 0.17005716264247894, -0.4459584057331085, 0.8842347264289856, 0.7064185738563538, -0.18686336278915405, 0.007204318884760141, -0.2884514033794403, 0.4508957862854004, -0.7365493178367615, -0.17779183387756348, -0.5508501529693604, -0.2882315218448639, -0.7440228462219238, -0.41777193546295166, 0.4998324513435364, 0.2402336448431015, 0.42746102809906006, 0.033651839941740036, -0.2669179439544678, 0.6288745403289795, 0.6900140643119812, 0.418270081281662, 0.1455639898777008, 0.4051164388656616, -0.2629428505897522, -0.34676533937454224, -0.8344932794570923, -0.3779863715171814, 0.9600998163223267, 0.05459148436784744, 0.7011528611183167, 0.31757208704948425, 0.8774918913841248, 0.4828614890575409, 0.370686411857605, -0.34942761063575745, 0.11213933676481247, 0.07544750720262527, -0.6895304918289185, -0.04838547110557556, -0.9226102828979492, -1.019334316253662, 0.3029291033744812, -0.2890024781227112, -0.7746790051460266, 0.5659684538841248, 0.5089787244796753, -0.2596663534641266, 0.3405754268169403, -0.5511717200279236, 0.7848419547080994, 0.38984519243240356, 0.20340496301651, 0.1583784520626068, -0.6840837001800537, 0.5506312251091003, -0.0250991340726614, 0.6073126196861267, 0.09433144330978394, -0.0009707441204227507, 0.4913049638271332, -0.035477492958307266, 0.6619202494621277, -0.29293158650398254, 0.13602401316165924, 0.4592394530773163, 0.5144006013870239, 0.561751663684845, -0.10048913210630417, -0.16336095333099365, 0.015100840479135513, 0.4449525773525238, -0.6964468955993652, -0.3197818696498871, 0.32464271783828735, -0.6129136085510254, -0.3987687826156616, -0.5358718037605286, -0.3581475019454956, -0.054645273834466934, 0.05891614034771919, 0.9128729104995728, 0.3090781271457672, -0.4103306829929352, 0.05294051766395569, 0.7574823498725891, 0.10802791267633438, 0.5392560362815857, 0.4160102605819702, 0.34253990650177, -0.3135037422180176, 0.7291697263717651, -0.12284848093986511, 0.13000810146331787, 0.7854469418525696, 0.3659234941005707, -0.4515302777290344, -0.7631350159645081, -0.5773104429244995, 0.22448787093162537, -0.5605404376983643, -0.14378027617931366, -0.7745375037193298, -0.019332505762577057, -0.3863915503025055, -0.11582385748624802, -0.07388594001531601, 0.09542176127433777, -0.0955827534198761, -0.2161794900894165, 0.22884821891784668, 0.42253297567367554, -0.41169455647468567, 0.5755879878997803, -1.3823422193527222, 0.35035383701324463, -0.1447136104106903, 0.05694614723324776, -0.06184951588511467, -0.7463879585266113, -0.2932341694831848, 0.1862364262342453, -0.10398151725530624, -1.2470545768737793, 0.3220064640045166, 0.25086408853530884, 0.7747524380683899, 0.6933199167251587, 0.4676176905632019, 0.5494166612625122, -0.5736348628997803, 0.7797697186470032, 0.21554625034332275, -0.7781364321708679, 0.3378862142562866, -0.27571964263916016, 0.227757066488266, 0.7507068514823914, 0.45714399218559265, 0.07463468611240387, -0.4109429121017456, -0.7938537001609802, -0.37709909677505493, 0.8192242980003357, 0.49695664644241333, 0.32905149459838867, -0.09741511940956116, 0.35208603739738464, 0.08910098671913147, 0.09282977133989334, -0.4982236623764038, -0.5072150230407715, 0.016354039311408997, -0.4907887279987335, -0.20726245641708374, -0.5593575835227966, 0.013666118495166302, 0.002955434378236532, 0.1813221424818039, -0.036304689943790436, 0.7147371768951416, 0.31553933024406433, -0.1211148127913475, -0.3044701814651489, 0.17649976909160614, 0.6136195659637451, 0.6332353353500366, -0.4968514144420624, 0.340317964553833, 0.17503578960895538, -0.9487515091896057, 0.2808825969696045, -0.026812834665179253, -0.14894713461399078, 0.3367718458175659, 0.3732544481754303, 0.42947056889533997, 0.17669403553009033, -0.7438879013061523, 0.8454068899154663, 0.010029962286353111, -0.16211512684822083, -0.02245412953197956, 0.46651938557624817, -0.39083096385002136, 0.10858143866062164, 0.7691767811775208, 0.3617947995662689, 0.585686206817627, -0.46244797110557556, 0.29919925332069397, 0.3442832827568054, -0.3655908405780792, -0.38888290524482727, 0.38063347339630127, -0.3046828508377075, -0.13164165616035461, 0.31095975637435913, -0.6513761281967163, -0.427776962518692, 0.6746805310249329, 0.732044517993927, 0.5771015882492065, -0.37480297684669495, -0.0026248760987073183, 0.3434780240058899, 0.8645226359367371, -0.14835795760154724, 0.5971807241439819, 0.009422093629837036, -0.5488343834877014, -0.32370424270629883, -0.5426120758056641, -0.12775112688541412, 0.00381947448477149, -0.9374551177024841, -0.13071157038211823, -0.1833794116973877, -0.28934425115585327, -0.24902187287807465, -0.3166702687740326, -0.4086076319217682, 0.36020779609680176, -0.26966020464897156, 1.120958924293518, -0.9236567616462708, 0.6403108835220337, 0.5064457654953003, 0.10511813312768936, -0.5982282161712646, 0.4302660822868347, -0.03727016597986221, -0.3255423605442047, 0.19738249480724335, -0.03222464397549629, -0.22136376798152924, -0.09904196113348007, -0.05049322918057442, -0.6870830655097961, 0.7078037261962891, 0.30641934275627136, -0.4946126937866211, 0.19214369356632233, 0.1533506214618683, 0.3675268292427063, -0.014703736640512943, 0.17996980249881744, 0.7215151190757751, 0.18712717294692993, -0.19041311740875244, -0.4800357222557068, -0.04060514643788338, -0.2994081377983093, 0.2390897274017334, 0.6325893998146057, -0.08847780525684357, 0.4269026219844818, -0.3189593553543091, -0.19272369146347046, 0.15157903730869293, 0.6328254342079163, 0.39498624205589294, 0.7936652898788452, 0.4354652464389801, 0.4541409909725189, 0.6342166066169739, 0.09299667179584503, 1.3682383298873901, -0.17787586152553558, 0.34030789136886597, 0.4747767448425293, 0.16771818697452545, 0.850738525390625, 0.12929996848106384, -0.4849967062473297, 0.33925437927246094, 0.5187192559242249, 0.09363207966089249, 0.949819803237915, 0.12281965464353561, -0.17025327682495117, -0.05210983753204346, 0.6251039505004883, -0.44437175989151, -0.13245990872383118, 0.38653358817100525, -0.5524148344993591, -0.025850290432572365, -0.2603324055671692, -0.13366559147834778, 0.16979169845581055, -0.3557267487049103, 0.5933146476745605, 0.06230829656124115, -0.28065305948257446, 0.553389847278595, 0.2854338586330414, 0.7136734127998352, -0.34962448477745056, 0.12217255681753159, -0.16453205049037933, 0.07025902718305588, 0.04651094600558281, -0.6959626078605652, 0.3010804057121277, 0.10510944575071335, -0.5908857583999634, 0.5885704159736633, 0.6064170598983765, 0.038814935833215714, -0.7260439395904541, -0.12803798913955688, 0.11350596696138382, 0.43760985136032104, 0.022028515115380287, -0.10024037957191467, -0.2479885071516037, -0.0576636977493763, -0.11414244771003723, 0.33287808299064636, 0.6446034908294678, 0.37776273488998413, 0.3972550928592682, 0.671906590461731, 0.10745828598737717, 0.7447068691253662, -0.5071279406547546, 0.3868718147277832, -0.6263664364814758, -0.7049851417541504, -0.9437918663024902, 0.36893734335899353, -0.1216546967625618, -0.36341413855552673, 0.41798439621925354, 0.8076391220092773, 0.6373999118804932, -0.5377126932144165, 0.8671416640281677, 0.10278243571519852, 0.5576376914978027, -0.686045229434967, 0.4970856010913849, -0.3272985517978668, -0.10736563801765442, -0.42496639490127563, -1.043312907218933, -0.020245419815182686, 0.6718223690986633, -0.09936793148517609, -0.2765096127986908, 0.6785542368888855, 0.7819089889526367, -0.47702232003211975, 0.002063004532828927, 0.41282111406326294, -0.04468308389186859, -0.02176925353705883, 0.5091363191604614, 0.603430449962616, -0.649509072303772, 0.6617674231529236, -0.3956862688064575, -0.39134764671325684, -0.4131164252758026, -0.8653447031974792, -0.9379690885543823, -0.2212352305650711, -0.1421508938074112, -0.3062271773815155, 0.181724414229393, 0.6787803769111633, 0.4276120066642761, -0.7001971006393433, -0.022547809407114983, -0.04039400443434715, 0.0289271492511034, -0.7217019200325012, -0.1833406239748001, 0.3618875741958618, -0.005557570606470108, -0.7061787247657776, 0.5090652108192444, 0.004505959805101156, 0.23498594760894775, 0.32460469007492065, 0.12726379930973053, 0.2657904326915741, 0.4226582646369934, 0.1339886486530304, 0.1645539551973343, -0.2543746829032898, -0.07475877553224564, -0.1387743204832077, -0.2747378349304199, 0.20199866592884064, 0.8817660808563232, -0.46890562772750854, 0.2586941123008728, 0.6569616794586182, 0.9079720377922058, 0.6013651490211487, 0.15291063487529755, 0.2735639810562134, -0.9058462977409363, 0.10371348261833191, 0.03861594200134277, -0.014779292978346348, -0.1473880112171173, -0.5867864489555359, 0.127954363822937, 0.5326186418533325, -0.2583824098110199, -1.0979307889938354, 0.2954378128051758, -1.0655630826950073, -0.02899743802845478, 0.7014678716659546, -0.20928315818309784, -0.5563326478004456, -0.16234911978244781, 0.09739770740270615, -0.041712742298841476, -0.4542086720466614, 0.7850674986839294, 0.5011310577392578, -0.2175663709640503, -0.19217626750469208, -0.4605655074119568, 0.37099194526672363, 0.08311527967453003, -0.26554879546165466, -0.2177932858467102, 0.349745512008667, 0.5342990756034851, 0.2664954364299774, 0.7198817729949951, 0.14619912207126617, 0.5346893072128296, 0.31403613090515137, -0.24082660675048828, 0.16618801653385162, -0.09368391335010529, -0.2629204988479614, 0.31018826365470886, 0.1437160074710846, -0.3119381070137024 ]
http://arxiv.org/abs/2404.00750v1
http://arxiv.org/pdf/2404.00750v1
Can Language Models Recognize Convincing Arguments?
2024-03-31T17:38:33
2024-03-31T17:38:33
Paula Rescala, Manoel Horta Ribeiro, Tiancheng Hu, Robert West
cs.CL
cs.CL, cs.CY
The remarkable and ever-increasing capabilities of Large Language Models (LLMs) have raised concerns about their potential misuse for creating personalized, convincing misinformation and propaganda. To gain insights into LLMs' persuasive capabilities without directly engaging in experimentation with humans, we propose studying their performance on the related task of detecting convincing arguments. We extend a dataset by Durmus & Cardie (2018) with debates, votes, and user traits and propose tasks measuring LLMs' ability to (1) distinguish between strong and weak arguments, (2) predict stances based on beliefs and demographic characteristics, and (3) determine the appeal of an argument to an individual based on their traits. We show that LLMs perform on par with humans in these tasks and that combining predictions from different LLMs yields significant performance gains, even surpassing human performance. The data and code released with this paper contribute to the crucial ongoing effort of continuously evaluating and monitoring the rapidly evolving capabilities and potential impact of LLMs.
[ -0.44679707288742065, -0.844175398349762, 0.7462852001190186, 0.06594570726156235, -0.11736232787370682, 0.014117796905338764, -0.4484897553920746, -0.05427324026823044, -0.16357791423797607, 0.5997229814529419, -0.36682239174842834, -0.4848511517047882, -0.6895735263824463, 0.13096149265766144, -0.37092190980911255, 0.710626482963562, 0.247270405292511, 0.19233760237693787, -0.5656471252441406, -0.02000807784497738, -0.3282056152820587, -0.8092923164367676, -0.448519229888916, -0.4797695577144623, 0.7300611138343811, 0.5598838329315186, 0.7398533225059509, 0.6000946760177612, 0.18158112466335297, 0.38389456272125244, -0.09036041796207428, -0.014868593774735928, -0.43104875087738037, 0.2758495807647705, -0.4538594186306, -0.6028820872306824, -0.22604043781757355, 0.21199572086334229, 0.6213356852531433, 0.5701464414596558, -0.007142243906855583, -0.06825464218854904, 0.01363951712846756, 0.39915865659713745, -0.3042965829372406, -0.19735929369926453, -0.9968137741088867, -0.234479621052742, -0.5579909682273865, -0.3678370714187622, -0.563968300819397, -0.28680968284606934, 0.09878277033567429, -0.08826258778572083, 0.1362522393465042, 0.06567928194999695, 0.7994667887687683, 0.025599684566259384, -0.5812345743179321, -0.4193202555179596, -0.7085445523262024, 0.8037669658660889, -0.8738285899162292, 0.29521092772483826, 0.4310115575790405, 0.054259590804576874, -0.40498363971710205, -0.5443387031555176, -0.6208660006523132, -0.5308107733726501, 0.1526997685432434, -0.1509719341993332, -0.4659770131111145, -0.02295815758407116, 0.5660349726676941, 0.244563490152359, -0.5195438265800476, 0.4419846832752228, -0.14527010917663574, -0.25090309977531433, 0.8097916841506958, 0.21107180416584015, 0.33048883080482483, -0.2788845896720886, -0.28841325640678406, -0.2654739022254944, -0.5673507452011108, 0.1878872960805893, 0.5959644317626953, -0.0028416612185537815, -0.13041852414608002, 0.6127660274505615, 0.002134110312908888, 0.4158637821674347, 0.030909936875104904, -0.13769647479057312, -0.06263668090105057, 0.07756055146455765, -0.26665741205215454, -0.1766308695077896, 0.865390956401825, 0.06432163715362549, 0.32358893752098083, 0.024523012340068817, -0.31169626116752625, 0.3320619463920593, 0.07254047691822052, -0.6620044112205505, -0.29856356978416443, 0.05079236254096031, -0.42495325207710266, -0.2489749938249588, -0.05421943590044975, -0.7541554570198059, -0.931627631187439, -0.2285684496164322, 0.17583748698234558, -0.3413658142089844, -0.39277970790863037, 0.3850765824317932, -0.15675096213817596, 0.23936396837234497, 0.17103146016597748, -0.8441593647003174, 0.3222404420375824, 0.9631442427635193, 0.6279535293579102, -0.33152154088020325, -0.15921731293201447, -0.5185224413871765, -0.12123030424118042, -0.49326291680336, 1.0588750839233398, -0.796191930770874, -0.4188595116138458, 0.027399549260735512, -0.07823815196752548, -0.12303166836500168, -0.761099636554718, 1.0653494596481323, -0.5021763443946838, 0.0437350794672966, -0.5810173749923706, -0.8089246153831482, -0.15096528828144073, 0.16883401572704315, -0.6974709033966064, 0.5724742412567139, -0.18410946428775787, -0.6347492933273315, 0.3045650124549866, -0.5034210085868835, -0.3854646384716034, 0.15349294245243073, -0.25172609090805054, -0.30368754267692566, 0.5092941522598267, 0.039531391113996506, 0.6669831275939941, -0.4225408732891083, 0.2774030566215515, -0.601300835609436, 0.027055174112319946, 0.7657994627952576, -0.608098566532135, 0.6583084464073181, 0.12138164043426514, -0.2666756212711334, 0.21695876121520996, -0.49268874526023865, -0.17421086132526398, 0.33468300104141235, -0.4563949406147003, -0.3621087968349457, 0.3991319239139557, -0.3873441517353058, -0.021504508331418037, 0.17766815423965454, -0.38461363315582275, 0.27156326174736023, -0.4119005501270294, 0.3987036347389221, 0.8021498322486877, -0.23335038125514984, 0.08737500011920929, -0.2033989429473877, 0.7185195684432983, -0.1376810222864151, -0.2149496227502823, -0.0708642229437828, -0.3972419798374176, -0.773988664150238, -0.14578154683113098, 0.19285763800144196, 0.3817703425884247, -0.35855016112327576, 0.23128582537174225, -0.16628047823905945, -0.5266652703285217, -0.16519537568092346, 0.45125165581703186, 0.19779528677463531, 0.4250066876411438, 0.012300048023462296, -0.007738794665783644, -0.6828430891036987, -0.975498378276825, -0.5600889325141907, -0.44662511348724365, 0.022615013644099236, 0.3271567225456238, 0.4359772205352783, -0.1327778548002243, 0.7435850501060486, -0.17138023674488068, 0.2526240646839142, -0.49610039591789246, 0.32814282178878784, 0.11296387016773224, 0.06351818889379501, 0.45835021138191223, -0.6886920928955078, -0.15009883046150208, 0.039659298956394196, -0.8300992846488953, -0.49609121680259705, -0.08468788117170334, 0.0643719956278801, 0.20664452016353607, 0.3617190718650818, -0.5803194046020508, 0.07333006709814072, 0.7067229151725769, -0.6520139575004578, 0.6678476929664612, 0.007512728683650494, 0.010651529766619205, -0.7514678239822388, -0.14112839102745056, 0.4237118065357208, -0.21306456625461578, -0.7070798873901367, -0.25991591811180115, -0.12504911422729492, 0.20562301576137543, -0.24836945533752441, 0.5777601599693298, -0.25070494413375854, 0.1568794995546341, -0.4128921627998352, 0.0295975673943758, -0.16061586141586304, 0.023271121084690094, 0.15828195214271545, 0.5292106866836548, 0.639701783657074, -0.4754827618598938, 0.4626392126083374, -0.028852656483650208, -0.6006636023521423, 0.5597749352455139, -0.6566620469093323, 0.2579491436481476, -0.025573937222361565, 0.11689095944166183, -1.2441457509994507, -0.5017067790031433, 0.06979795545339584, -0.42991727590560913, 0.05793098360300064, -0.22413824498653412, -0.39780113101005554, -0.3687750995159149, -0.10137639939785004, -0.019318578764796257, 0.43614575266838074, -0.45094385743141174, 0.7968398928642273, 0.41529223322868347, -0.3439937233924866, -0.3552783727645874, -0.4129570722579956, 0.322578489780426, -0.6817724704742432, -0.6114984154701233, 0.005977565888315439, 0.07123266905546188, -0.7584061622619629, -0.2241930365562439, 0.08804292976856232, 0.1565505415201187, 0.24188672006130219, 0.43356573581695557, 0.23864594101905823, -0.3355790972709656, 0.3114323914051056, -0.23493775725364685, -0.03764602541923523, 0.4522603750228882, -0.021353183314204216, 0.4721538722515106, -0.32034096121788025, -0.48430144786834717, -0.2960430979728699, 0.206316277384758, 0.7099848985671997, -0.03736936300992966, 0.534687876701355, 0.38140976428985596, -0.20791074633598328, -0.3514156639575958, -0.9972381591796875, -0.29244810342788696, -0.5120866298675537, 0.45745396614074707, -0.4499395191669464, -0.8138580322265625, 0.3183499276638031, -0.26358410716056824, 0.12722216546535492, 0.4343028664588928, 0.7445433139801025, -0.08984117209911346, 1.3116540908813477, 0.19824156165122986, -0.0712323784828186, 0.22720231115818024, 0.010328691452741623, 0.0016711782664060593, -0.4566577672958374, -0.20823104679584503, -0.5731881260871887, -0.310021311044693, -0.32069531083106995, -0.3897661864757538, 0.024665284901857376, 0.2922300100326538, -0.15895268321037292, 0.04459613561630249, -0.3257730007171631, 0.3659801185131073, 0.2797209918498993, -0.30729904770851135, 0.2894882559776306, 0.18536362051963806, -0.09392087906599045, -0.2711867094039917, -0.5211135745048523, -1.071785807609558, 0.9478835463523865, 0.7121193408966064, 0.7140802145004272, 0.02589724026620388, 0.22259777784347534, 0.5425133109092712, 0.6584206819534302, -0.870470404624939, 0.9623181223869324, -0.30138492584228516, -0.4810738265514374, -0.020310061052441597, -0.5210798382759094, -0.8970920443534851, 0.3070574700832367, -0.34625890851020813, -0.6830348372459412, -0.021641701459884644, 0.3311477303504944, -0.01988079398870468, 0.5872352719306946, -0.634610116481781, 0.9092180728912354, -0.7301567196846008, -0.3174425959587097, -0.5449356436729431, 0.01338979508727789, 0.30143100023269653, 0.10753980278968811, 0.09832946956157684, -0.3916487991809845, -0.0744141936302185, 1.0448263883590698, 0.06721695512533188, 0.859786868095398, -0.2554999887943268, -0.33662527799606323, 0.2823098301887512, 0.11835510283708572, 0.3030279278755188, -0.06928908079862595, -0.31066009402275085, 0.12182653695344925, -0.1300337165594101, -0.23613546788692474, -0.5871607065200806, 0.7810059189796448, -0.5964845418930054, -1.1291192770004272, -0.24320556223392487, -0.3998577296733856, -0.3137628436088562, -0.12623916566371918, -0.015703584998846054, 0.2610309422016144, -0.4090448319911957, 0.4394950866699219, 0.5761969089508057, -0.220065638422966, 0.3255710005760193, 0.5176098942756653, -0.08538942784070969, -0.37233293056488037, 1.0227935314178467, -0.042225636541843414, 0.16328106820583344, 0.17249228060245514, 0.8151476383209229, -0.6086801290512085, -0.766344428062439, -0.3355032205581665, 0.4070781171321869, -0.7521308660507202, 0.04808112233877182, -0.5830486416816711, 0.26712310314178467, -0.2181457281112671, 0.00034443853655830026, -0.17866995930671692, -0.1750808209180832, -0.1982945203781128, -0.012053369544446468, 0.2834945619106293, 1.0172669887542725, 0.10672363638877869, 0.2687666416168213, -0.42362698912620544, 0.03787288814783096, 0.5098147392272949, 0.15032003819942474, -0.0765017569065094, -0.6385334730148315, 0.037303853780031204, 0.10339264571666718, -0.4434492290019989, -0.952307939529419, 0.3870618939399719, -0.05340122431516647, 0.7378631234169006, 0.7572020888328552, -0.0739981159567833, 0.4272846281528473, -0.016139352694153786, 0.7611479759216309, 0.07652372866868973, -0.9478925466537476, 0.3312224745750427, -0.35169750452041626, -0.04748425632715225, 0.12808898091316223, 0.5637834072113037, -0.2894759178161621, -0.12111149728298187, -0.40147313475608826, -0.2880264222621918, 0.48269253969192505, -0.13884268701076508, 0.22764575481414795, -0.08729524165391922, 0.26897338032722473, 0.02363479882478714, 0.06280872225761414, -0.7371565103530884, 0.20493701100349426, 0.013999012298882008, -0.028106441721320152, -0.04408082738518715, -0.497991681098938, -0.2387850284576416, -0.2854536771774292, 0.48769906163215637, -0.265851229429245, -0.2309836596250534, -0.0431281216442585, 0.13392996788024902, 0.0258047915995121, 0.487455815076828, 0.5627402067184448, 0.5034785866737366, 0.15315194427967072, 0.32462286949157715, 0.3676198422908783, -0.08611476421356201, 0.13115531206130981, -0.011575084179639816, 0.14336881041526794, -0.15793591737747192, 0.6121279001235962, 0.960834264755249, 0.011269439943134785, -0.9665811061859131, 0.5648815035820007, -0.11138805747032166, -0.3808593451976776, -0.22371284663677216, 0.22577150166034698, 0.5166388154029846, 0.365449458360672, 0.20228509604930878, -0.029995668679475784, -0.2425965666770935, -0.6831854581832886, -0.015713723376393318, 0.7613717913627625, -0.2265544831752777, -0.6170362234115601, 0.5101034641265869, 0.19955559074878693, -0.45295649766921997, 0.29281359910964966, 0.015738405287265778, -0.5867780447006226, 0.4893912076950073, 0.4744509160518646, 0.738221287727356, -0.2864323854446411, 0.012982803396880627, 0.14074189960956573, -0.10166898369789124, -0.25763723254203796, 0.1428849697113037, 0.09449505060911179, -0.9032406210899353, -0.3080052435398102, -0.4252358675003052, -0.37834760546684265, 0.4668726921081543, -0.33564555644989014, 0.31680813431739807, -0.5124263763427734, -0.4173595607280731, 0.2823088765144348, 0.08590775728225708, -0.4958760142326355, -0.01508066151291132, 0.620403528213501, 0.8444631099700928, -0.9171818494796753, 0.6601522564888, 0.8506805300712585, 0.00882621668279171, -0.4615262746810913, -0.06773224472999573, 0.13394464552402496, -0.5592333078384399, 0.6541563272476196, 0.06692902743816376, -0.4858604967594147, -0.44906675815582275, -0.7886222004890442, -0.3761914372444153, 0.5427584648132324, 0.8993712663650513, -0.5810464024543762, 0.1600528210401535, 0.08200527727603912, 0.5708101391792297, -0.5699294805526733, 0.20440004765987396, 0.641169011592865, 0.6352089643478394, -0.0000074689633038360626, -0.6111078858375549, -0.06211031973361969, -0.11224402487277985, -0.23432770371437073, -0.36750346422195435, -0.4175122082233429, 0.7259821891784668, -0.373945027589798, -0.40551814436912537, 0.10054317116737366, 0.8388245701789856, 0.34148484468460083, 0.3680708706378937, 0.8165475726127625, 0.3510309159755707, 0.8099974989891052, -0.09877941012382507, 1.1658953428268433, -0.2957172989845276, -0.05927459895610809, 0.7984895706176758, -0.4570443332195282, 1.0155409574508667, 0.23372316360473633, -0.06495113670825958, 0.7129243612289429, 0.40657857060432434, -0.023993495851755142, -0.08261408656835556, 0.42333221435546875, -0.44678375124931335, -0.9394423365592957, -0.2091623693704605, 0.07212261855602264, 0.6420331001281738, 0.6276546120643616, -0.38497111201286316, 0.15446583926677704, -0.0556868277490139, 0.19731688499450684, 0.5748680233955383, -0.07045427709817886, 0.6903334856033325, 0.12950605154037476, -0.9840053915977478, 0.7007389068603516, 0.06391146034002304, 0.7942116856575012, -0.6162883639335632, -0.06572385877370834, 0.04573830962181091, 0.22471372783184052, -0.22651344537734985, -1.0868191719055176, 0.018293822184205055, 0.1702338457107544, -0.06570565700531006, -0.15476126968860626, 0.8610350489616394, -0.17192934453487396, -0.39551693201065063, 0.42545393109321594, 0.5760869979858398, 0.11719410121440887, 0.08807458728551865, -0.5516076683998108, 0.3733048141002655, 0.0278778113424778, -0.470211923122406, 0.2289309948682785, 0.3229650557041168, -0.0880633294582367, 1.034705638885498, 0.6923856735229492, 0.3506077527999878, -0.09881339222192764, 0.1934674233198166, 0.7991845607757568, -0.5783470869064331, -0.018167033791542053, -1.3037277460098267, 0.19347500801086426, -0.22383913397789001, -0.3839448094367981, 0.8867163062095642, 0.5190991759300232, 0.5744374394416809, -0.006951853632926941, 0.8733720183372498, 0.1942291110754013, 0.560362696647644, -0.35488033294677734, 0.47193601727485657, -0.4207400679588318, 0.3124578595161438, -0.051008716225624084, -0.4467778205871582, -0.03977245092391968, 0.6037928462028503, -0.6897251009941101, -0.06049160659313202, 0.2563881278038025, 0.9357800483703613, -0.04204206541180611, 0.2533985674381256, 0.440819650888443, 0.4200228452682495, 0.5275382399559021, 0.5147804021835327, 1.2678062915802002, 0.23366235196590424, 0.5104811191558838, 0.12511934340000153, -0.19463582336902618, -0.1323656141757965, -0.9990027546882629, -1.2669512033462524, -0.44306185841560364, -0.40266287326812744, -0.3788538873195648, -0.0811132863163948, 0.897423267364502, 0.7420497536659241, -0.8245012760162354, -0.4685423970222473, 0.04723791405558586, 0.21825256943702698, -0.05449458584189415, -0.18102478981018066, 0.16574738919734955, -0.1154043972492218, -0.7342532277107239, 0.7159578800201416, 0.07178360223770142, -0.16097092628479004, -0.6301392316818237, -0.30788516998291016, 0.044541135430336, 0.5087182521820068, 0.5790385603904724, 0.4814053177833557, -1.0728726387023926, -0.15692239999771118, -0.14598311483860016, -0.008016572333872318, -0.03238720819354057, 1.0575562715530396, -0.7266019582748413, 0.3896813690662384, 0.5921390652656555, 0.6172460913658142, 0.008346691727638245, 0.1958843469619751, 0.7012917399406433, -0.3630753755569458, -0.16623543202877045, 0.25529250502586365, 0.6198614835739136, 0.586475670337677, -0.004329437389969826, 0.1792321801185608, 0.25326576828956604, -0.5618324875831604, -0.8729647994041443, 0.24376966059207916, -0.8871332406997681, -0.16615116596221924, 1.4625731706619263, -0.18134380877017975, -0.019506443291902542, -0.1450435221195221, -0.2934039235115051, -0.18241208791732788, -0.4338614344596863, 0.7195034623146057, 0.8710599541664124, -0.08813680708408356, -0.18394124507904053, -0.5797486305236816, 0.5470705032348633, 0.6285662651062012, -0.6758357286453247, 0.38942959904670715, 0.4729142487049103, 0.4197211265563965, 0.09532878547906876, 0.3069474697113037, -0.02012239396572113, 0.047616053372621536, -0.1142423152923584, -0.3514832854270935, -0.0067237853072583675, -0.12703803181648254, -0.41508185863494873, 0.46671393513679504, 0.43122321367263794, 0.23243430256843567 ]
http://arxiv.org/abs/2404.00748v1
http://arxiv.org/pdf/2404.00748v1
Benchmark Transparency: Measuring the Impact of Data on Evaluation
2024-03-31T17:33:43
2024-03-31T17:33:43
Venelin Kovatchev, Matthew Lease
cs.CL
cs.CL, cs.AI
In this paper we present an exploratory research on quantifying the impact that data distribution has on the performance and evaluation of NLP models. We propose an automated framework that measures the data point distribution across 6 different dimensions: ambiguity, difficulty, discriminability, length, noise, and perplexity. We use disproportional stratified sampling to measure how much the data distribution affects absolute (Acc/F1) and relative (Rank) model performance. We experiment on 2 different datasets (SQUAD and MNLI) and test a total of 135 different models (125 on SQUAD and 10 on MNLI). We demonstrate that without explicit control of the data distribution, standard evaluation frameworks are inconsistent and unreliable. We find that the impact of the data is statistically significant and is often larger than the impact of changing the metric. In a second set of experiments, we demonstrate that the impact of data on evaluation is not just observable, but also predictable. We propose to use benchmark transparency as a method for comparing datasets and quantifying the similarity between them. We find that the ``dataset similarity vector'' can be used to predict how well a model generalizes out of distribution.
[ -0.4232822358608246, -0.45038098096847534, 0.39774131774902344, 0.5208624005317688, 0.004949844907969236, -0.14441081881523132, -0.18058033287525177, -0.6011302471160889, -0.037252362817525864, 0.19478416442871094, -0.3468167185783386, -0.5910038352012634, -0.7406221032142639, -0.006964387837797403, -0.9357811808586121, 0.7093842029571533, -0.0934673398733139, 0.10928041487932205, -0.3144610822200775, -0.2531985938549042, -0.36870670318603516, -0.4241805970668793, -0.1414579451084137, -0.40715429186820984, 0.08859913051128387, -0.049737680703401566, 0.9367796778678894, 1.1281360387802124, 0.733599841594696, 0.22431164979934692, -0.1365545392036438, -0.337342768907547, -0.4985126256942749, -0.01527754869312048, -0.4540710747241974, -0.6019300222396851, -0.21408966183662415, 0.2864469587802887, 1.1121145486831665, 1.1349583864212036, -0.43091127276420593, 0.5238370299339294, 0.3964766263961792, 0.6650632619857788, -1.0448541641235352, 0.3836461305618286, -0.4620495140552521, 0.22307753562927246, -0.14487116038799286, 0.025368869304656982, -0.21275594830513, -0.42908698320388794, 0.15829862654209137, -0.41352155804634094, 0.3274151682853699, 0.13520218431949615, 0.7286124229431152, 0.3128514885902405, -0.06302545964717865, -0.25814399123191833, -0.9269531965255737, 1.0107977390289307, -0.5088757872581482, 0.3646160364151001, 0.2470100224018097, 0.7686769366264343, 0.15053753554821014, -0.6902177333831787, -0.520654022693634, 0.015332141891121864, 0.15495699644088745, 0.062004297971725464, -0.19300462305545807, -0.20519907772541046, 0.3315175473690033, 0.5579129457473755, -0.36191627383232117, -0.09513605386018753, -0.2672916054725647, 0.2381269484758377, 0.8412976264953613, 0.42542290687561035, -0.2049216628074646, -0.1315767914056778, -0.23293592035770416, -0.6453176736831665, -0.40545493364334106, 0.12092634290456772, 0.6297516226768494, 0.3017621636390686, -0.2352638691663742, 0.3933125138282776, -0.395437091588974, 0.5721475481987, -0.4155582785606384, 0.11554750055074692, 0.5129356980323792, -0.5863795280456543, -0.36633750796318054, -0.12510477006435394, 0.7008118629455566, 0.40740716457366943, 0.06869208812713623, 0.026113465428352356, -0.2462967187166214, 0.19426293671131134, 0.2650705575942993, -0.587259829044342, -0.18185487389564514, 0.1805940419435501, -0.6417859792709351, -0.4322988986968994, 0.35192984342575073, -0.9127669334411621, -0.3951973021030426, -0.4787687361240387, 0.5183693766593933, -0.25969433784484863, -0.319354772567749, 0.2684507668018341, -0.2906569540500641, 0.16044004261493683, 0.22187721729278564, -0.845369815826416, 0.7955337166786194, 1.053507685661316, 0.7680140137672424, -0.3100018799304962, -0.22595441341400146, -0.13169579207897186, 0.021958602592349052, -0.3563265800476074, 0.5116550326347351, -0.7552632689476013, -0.26767075061798096, 0.09469309449195862, -0.247160404920578, -0.134977787733078, -0.9257798194885254, 0.5283394455909729, 0.0822119489312172, -0.10685108602046967, -0.2809115946292877, -0.787793755531311, -0.04881056398153305, 0.11209432035684586, -0.7240122556686401, 1.14108407497406, 0.10972492396831512, -0.7204791903495789, 0.6610771417617798, -0.6993822455406189, 0.055866193026304245, -0.08519358932971954, -0.29564884305000305, -0.40308845043182373, 0.22340989112854004, 0.1106051355600357, 0.34442588686943054, -0.3269205093383789, 0.3282947242259979, -0.32245269417762756, -0.5563430190086365, 0.11881671845912933, -0.479329377412796, 0.7625407576560974, -0.09990524500608444, -0.5344343781471252, -0.05143572390079498, -0.855483889579773, 0.36040791869163513, -0.05605815351009369, 0.013887257315218449, -0.20696422457695007, 0.05670939385890961, 0.20226410031318665, 0.052293140441179276, -0.09042607247829437, -0.336321085691452, -0.17643043398857117, -0.1652953326702118, 0.1681915670633316, 0.7629546523094177, -0.08445869386196136, 0.3213810324668884, -0.5050387382507324, 0.6685061454772949, -0.11523602157831192, 0.7752645611763, 0.15721823275089264, -0.5823768973350525, -0.41970565915107727, -0.19392693042755127, 0.7642630338668823, 0.21715305745601654, -0.2611457407474518, 0.335928738117218, -0.2796223759651184, -0.6347559690475464, -0.8642057776451111, -0.09816308319568634, 0.375678688287735, 0.5397120714187622, 0.342509001493454, -0.6242091059684753, -0.2125920057296753, -1.253843069076538, -0.42915216088294983, -0.25312307476997375, -0.3249616324901581, 0.46687376499176025, 0.682384729385376, 0.06541534513235092, 0.9327565431594849, -0.372463196516037, -0.20557676255702972, -0.010066538117825985, 0.24897809326648712, 0.2771594524383545, 0.6742651462554932, 0.425780326128006, -0.7899848818778992, -0.36369767785072327, -0.5147978067398071, -0.7154721021652222, -0.301150381565094, 0.16348126530647278, -0.10606218129396439, -0.3831126093864441, 0.04516813904047012, -0.12459894269704819, 0.6680572032928467, 0.7212206125259399, -0.08393672853708267, 0.8108211159706116, -0.02340310998260975, 0.12458427250385284, -0.38471680879592896, 0.4432648718357086, 0.013193639926612377, -0.001215263968333602, -0.5133574604988098, -0.04783743619918823, 0.27889734506607056, -0.01424330659210682, -0.42433640360832214, 0.40891462564468384, -0.033268094062805176, -0.630092203617096, 0.18370267748832703, 0.15983951091766357, 0.34029263257980347, 0.06027728319168091, -0.07798457145690918, 0.5745884776115417, 0.4103582799434662, -0.4558279812335968, -0.02012775093317032, 0.4781463146209717, -0.9084160923957825, 0.7216176390647888, -0.9008250832557678, -0.1573537141084671, -0.03053620457649231, 0.1988346427679062, -0.7254118919372559, 0.10439736396074295, 0.049243632704019547, -0.3012033998966217, 0.018238753080368042, 0.12616577744483948, -0.877477765083313, -0.020069275051355362, -0.5213224291801453, 0.30571505427360535, 0.3109295070171356, -0.46575218439102173, 0.031545598059892654, 0.3913128077983856, -0.00584980845451355, -0.636894941329956, -0.8533876538276672, -0.10516848415136337, -0.2399558573961258, -0.569409191608429, 0.49821433424949646, -0.23319275677204132, -0.4705125391483307, -0.10187012702226639, -0.17586101591587067, -0.15056782960891724, 0.19003255665302277, 0.38389822840690613, 0.003201246727257967, 0.0020037181675434113, 0.21251580119132996, -0.07128706574440002, 0.01420682854950428, 0.32266685366630554, 0.13004349172115326, 0.28149333596229553, -0.231154203414917, -0.6339159607887268, -0.4757120609283447, 0.38454630970954895, 0.011807314120233059, -0.16607911884784698, 0.8932071328163147, 0.2860284745693207, -0.28700387477874756, -0.4659383296966553, -0.3023532032966614, -0.1626889854669571, -0.43578165769577026, 0.16360685229301453, -0.25975650548934937, -0.1317671686410904, 0.6997283697128296, 0.011399948969483376, 0.02260502427816391, 0.37161973118782043, 0.27150458097457886, 0.014116758480668068, 1.2965621948242188, 0.9755499362945557, 0.09232524037361145, 0.4688595235347748, -0.5282378196716309, 0.028559338301420212, -0.9155494570732117, -0.31509217619895935, -0.7245624661445618, -0.5450525283813477, -0.6094012260437012, -0.42994824051856995, 0.2782374322414398, 0.4407363831996918, -0.11072366684675217, -0.013510195538401604, -0.6325002312660217, 0.46379849314689636, 0.45330485701560974, 0.018196705728769302, 0.5093224048614502, -0.14167824387550354, -0.12891682982444763, -0.28183749318122864, -0.685204803943634, -0.5764000415802002, 1.4174423217773438, 0.5768815875053406, 0.4898277521133423, 0.038891684263944626, 0.5550248026847839, 0.2820332646369934, 0.48617884516716003, -0.39688676595687866, 0.23591792583465576, -0.11377101391553879, -0.5188617706298828, -0.26382553577423096, -0.47997385263442993, -0.753648579120636, 0.342597097158432, -0.190172478556633, -0.6375395059585571, 0.5678249001502991, -0.18786507844924927, 0.10097873955965042, -0.034337110817432404, -0.6521385908126831, 0.9348970055580139, 0.06351540237665176, -0.25384604930877686, 0.05464296042919159, -0.43274158239364624, 0.28562816977500916, -0.1736559122800827, 0.337353378534317, -0.31874868273735046, -0.1490585058927536, 0.9555854797363281, -0.45592477917671204, 0.42384645342826843, -0.322431355714798, 0.25068116188049316, -0.1480816900730133, -0.14718665182590485, 0.35875391960144043, 0.06086619570851326, -0.651170015335083, 0.48663684725761414, 0.1116638034582138, -0.3891313970088959, -0.8477873206138611, 0.37387967109680176, -0.5761488676071167, -0.3749011158943176, -0.1984044760465622, -0.7783437967300415, -0.3876790702342987, 0.020029764622449875, 0.10823449492454529, 0.3192773163318634, -0.20756933093070984, 0.37556564807891846, 0.31312212347984314, -0.17284587025642395, 0.20635215938091278, 0.6568117737770081, -0.21134601533412933, -0.08450035750865936, 0.46229395270347595, 0.3431243300437927, 0.4030751585960388, 0.05358199402689934, 0.30051207542419434, -0.607931911945343, -0.7858995199203491, -0.22136998176574707, 0.026462748646736145, -0.9422333836555481, -0.056049395352602005, -0.42862990498542786, -0.08376092463731766, -0.1482795923948288, -0.021601524204015732, -0.5017728209495544, -0.4565167725086212, 0.1315746158361435, -0.14831003546714783, 0.16411970555782318, 0.8864108920097351, -0.2966088652610779, 0.3445701599121094, -0.10475447028875351, 0.023443255573511124, -0.09783954173326492, 0.7967625856399536, 0.02186139114201069, -0.370341420173645, -0.2710294723510742, 0.09979194402694702, -0.2100761979818344, -0.6410501003265381, 0.4246217906475067, 0.2356814444065094, 0.7510206699371338, 0.17616549134254456, 0.15603721141815186, 0.592629075050354, -0.39837104082107544, 0.6400823593139648, 0.0850788876414299, -1.20962393283844, 0.585623562335968, -0.17327243089675903, 0.29458943009376526, 0.9598879218101501, 0.30587756633758545, -0.22804467380046844, -0.7254122495651245, -0.8590297698974609, -0.8438546061515808, 0.5816057920455933, 0.5255334377288818, -0.14945879578590393, 0.17920427024364471, 0.10939538478851318, 0.2267344444990158, 0.644811749458313, -0.30870065093040466, -0.5157032012939453, -0.16886639595031738, -0.26289889216423035, -0.13687843084335327, 0.0644521564245224, -0.22190865874290466, -0.26017260551452637, 0.21988707780838013, 0.03350543975830078, 0.1744079291820526, 0.07888370752334595, 0.13118582963943481, 0.1864601969718933, 0.10299704223871231, 0.2696998715400696, 1.2020657062530518, -0.5697709918022156, -0.06574437767267227, -0.16076135635375977, -0.5295407772064209, -0.11155999451875687, 0.21084968745708466, -0.23860785365104675, 0.3851167857646942, 0.35974955558776855, 0.5155219435691833, 0.21065732836723328, -0.6276783347129822, 0.6697031259536743, -0.15841986238956451, -0.29660579562187195, -0.1044427827000618, 0.030004283413290977, -0.05806395411491394, 0.15371927618980408, 0.40762820839881897, -0.03185287117958069, 0.45820051431655884, -0.4656919836997986, 0.504406750202179, 0.22077012062072754, -0.47044169902801514, -0.07702804356813431, 0.7275823354721069, -0.11096583306789398, -0.1875234842300415, 0.5475928783416748, 0.07179246097803116, -0.2464940845966339, 0.9645600914955139, 0.21188348531723022, 0.5801304578781128, -0.42893075942993164, 0.39126095175743103, 0.1978459358215332, 0.4418286383152008, -0.36519408226013184, 0.22384662926197052, -0.02680685557425022, -0.48296621441841125, -0.10985886305570602, -0.705566942691803, -0.7817542552947998, 0.2325882464647293, -1.2186388969421387, 0.10403680056333542, -0.5519748330116272, -0.11457483470439911, 0.5043579339981079, 0.26167386770248413, -1.1057277917861938, 0.2505955994129181, -0.17740868031978607, 1.185828447341919, -0.9749264121055603, 0.6306841373443604, 0.15324565768241882, -0.2656739056110382, -0.7626931071281433, -0.031241655349731445, 0.14573444426059723, -0.622072696685791, 0.5311955213546753, 0.3515929579734802, 0.3064555525779724, -0.24338746070861816, -0.2985956072807312, -0.8451517224311829, 1.1122477054595947, 0.5000787377357483, -0.598697304725647, 0.5405043959617615, 0.6292496919631958, 0.8452741503715515, -0.7018988132476807, 0.4817470610141754, 0.8003106117248535, 0.6432247757911682, -0.36378079652786255, -1.2462191581726074, -0.10469292849302292, -0.22982218861579895, 0.23556604981422424, 0.0403323695063591, -0.3287643790245056, 0.8376653790473938, 0.21358832716941833, -0.4329036474227905, -0.2066899538040161, 0.018046114593744278, 0.37251463532447815, 0.37754401564598083, 0.4840129613876343, 0.37302955985069275, 0.8950061798095703, -0.055261410772800446, 1.3929975032806396, -0.18469762802124023, 0.5302405953407288, 1.2549253702163696, -0.47864261269569397, 1.1800514459609985, 0.4448871612548828, -0.47444188594818115, 0.26294705271720886, 0.31207624077796936, -0.38831380009651184, 0.581699788570404, 0.6935509443283081, -0.03807549178600311, 0.3612813651561737, -0.5167623162269592, -0.45841294527053833, 0.40216460824012756, 0.27430203557014465, -0.6440879702568054, -0.31607669591903687, -0.13040593266487122, -0.4316973388195038, 0.32444998621940613, -0.23349407315254211, 0.4204273521900177, -0.03163861483335495, -0.12164579331874847, 0.6901903748512268, -0.034534845501184464, 0.40936559438705444, -0.4791474938392639, -0.0956195741891861, -0.2746904492378235, 0.21602758765220642, -0.2768491208553314, -0.9445527791976929, 0.7081413865089417, -0.07444948703050613, -0.3427031636238098, -0.32854947447776794, 0.21403518319129944, -0.22745010256767273, -0.5216593146324158, 0.5967957973480225, 0.5668233036994934, 0.31733542680740356, -0.14913953840732574, -1.0307930707931519, 0.548389196395874, -0.3261945843696594, -0.4180212914943695, 0.4317539930343628, 0.11032696813344955, 0.07052603363990784, 0.7156479358673096, 0.47929108142852783, 0.1497785747051239, -0.0006968546658754349, 0.39021992683410645, 0.6808224320411682, -0.4517093300819397, -0.6011545658111572, -0.5404395461082458, 0.46764829754829407, -0.402621328830719, -0.20362068712711334, 0.8174771070480347, 0.6441786885261536, 0.870480477809906, 0.3062810003757477, 0.7012079358100891, 0.17001576721668243, 0.6368449330329895, -0.10178259015083313, 0.7796828150749207, -0.32225266098976135, 0.5622285604476929, -0.28638967871665955, -1.2188442945480347, -0.15322373807430267, 0.4450259506702423, -0.44765087962150574, 0.09617836773395538, 0.6072026491165161, 0.6303090453147888, -0.14130546152591705, 0.19800825417041779, 0.26735639572143555, -0.00487519009038806, 0.17053404450416565, 0.4063369035720825, 0.6304883360862732, -0.8373096585273743, 0.43633386492729187, -0.6137827038764954, -0.42063796520233154, -0.026173988357186317, -0.886664628982544, -0.4432356655597687, -0.5157425403594971, -0.489429771900177, -0.037248022854328156, 0.31299662590026855, 0.1526128202676773, 0.9614573121070862, -0.7263028025627136, -0.356713205575943, -0.12926608324050903, 0.15657781064510345, -0.645677924156189, -0.35576823353767395, 0.6233583688735962, 0.03522834554314613, -0.838079571723938, 0.2625572085380554, 0.1793432980775833, -0.20262496173381805, -0.49773576855659485, 0.20423482358455658, 0.11410420387983322, 0.11373680830001831, 0.2536390423774719, -0.15067139267921448, -0.4234832227230072, -0.2586842179298401, -0.33514195680618286, -0.010811099782586098, 0.0020034071058034897, 0.49947279691696167, -0.7795841097831726, 0.6257518529891968, 0.4680710434913635, 0.4171544015407562, 0.6004578471183777, 0.1516161412000656, 0.8634699583053589, -0.9316700100898743, 0.09613919258117676, 0.2375110387802124, 0.04393027722835541, 0.3769451975822449, -0.2332657426595688, 0.9437704682350159, -0.14376838505268097, -0.4803003966808319, -1.2722080945968628, 0.04366360977292061, -0.6092535853385925, -0.13319215178489685, 0.7671866416931152, -0.2659001350402832, -0.16081780195236206, -0.22480127215385437, 0.5908878445625305, -0.19561807811260223, -0.2877512574195862, 0.9003053307533264, 0.8336551785469055, -0.23399196565151215, -0.17285475134849548, -1.2421010732650757, 0.6976773738861084, 0.5194544196128845, -0.7988831400871277, 0.25266048312187195, 0.17854972183704376, 0.2509820759296417, 0.14361275732517242, 0.413809597492218, -0.344844788312912, 0.04070556163787842, 0.37037429213523865, -0.09854773432016373, -0.08049434423446655, -0.17688210308551788, -0.6590154767036438, 0.3015262484550476, -0.3399920165538788, -0.15957775712013245 ]
http://arxiv.org/abs/2404.00739v1
http://arxiv.org/pdf/2404.00739v1
Opera Graeca Adnotata: Building a 34M+ Token Multilayer Corpus for Ancient Greek
2024-03-31T16:54:29
2024-03-31T16:54:29
Giuseppe G. A. Celano
cs.CL
cs.CL
In this article, the beta version 0.1.0 of Opera Graeca Adnotata (OGA), the largest open-access multilayer corpus for Ancient Greek (AG) is presented. OGA consists of 1,687 literary works and 34M+ tokens coming from the PerseusDL and OpenGreekAndLatin GitHub repositories, which host AG texts ranging from about 800 BCE to about 250 CE. The texts have been enriched with seven annotation layers: (i) tokenization layer; (ii) sentence segmentation layer; (iii) lemmatization layer; (iv) morphological layer; (v) dependency layer; (vi) dependency function layer; (vii) Canonical Text Services (CTS) citation layer. The creation of each layer is described by highlighting the main technical and annotation-related issues encountered. Tokenization, sentence segmentation, and CTS citation are performed by rule-based algorithms, while morphosyntactic annotation is the output of the COMBO parser trained on the data of the Ancient Greek Dependency Treebank. For the sake of scalability and reusability, the corpus is released in the standoff formats PAULA XML and its offspring LAULA XML.
[ -0.8216902017593384, -0.6240465641021729, 0.5340477228164673, -0.057921990752220154, -0.4203358292579651, -0.11500275880098343, -0.04010697081685066, -0.823691189289093, 0.5041393637657166, 0.6817506551742554, -0.07827580720186234, -0.26091840863227844, -0.3518354296684265, -0.15723298490047455, -0.2054034173488617, 1.107643961906433, -0.07656512409448624, 0.19304700195789337, 0.06671159714460373, -0.36646994948387146, 0.011441702954471111, -0.462629109621048, -1.12849760055542, 0.2500174343585968, 0.4620863199234009, 0.3766102194786072, 0.6795447468757629, 0.8666638731956482, 0.15966778993606567, 0.3765474557876587, -0.41836902499198914, 0.11453257501125336, -0.039058100432157516, 0.1984049379825592, -0.1692885309457779, -0.27435970306396484, -0.7244470715522766, 0.0748242661356926, 0.7370449900627136, 0.28290554881095886, -0.023902403190732002, 0.33955734968185425, -0.2483045756816864, 0.6040098667144775, -0.5912593603134155, 0.30190280079841614, -0.4387787878513336, -0.17995275557041168, -0.6552069783210754, -0.08922155946493149, -0.09724996984004974, -0.4895372688770294, 0.2294914573431015, -1.022929310798645, -0.1091909408569336, -0.34206220507621765, 0.6210412383079529, 0.19814765453338623, -0.6662749648094177, -0.7011846899986267, -0.6161527037620544, 0.3758125305175781, -0.6033865213394165, 0.23152174055576324, 0.30491626262664795, 0.4771198630332947, -0.14993146061897278, -1.1365972757339478, -0.46758440136909485, -0.1693408340215683, 0.2338036298751831, 0.015216175466775894, -0.028417274355888367, -0.14334511756896973, -0.13069096207618713, 0.8672016263008118, -0.15356339514255524, -0.14403410255908966, -0.5915156602859497, -0.2597285509109497, 0.21911583840847015, -0.19084642827510834, 0.6020191311836243, 0.01586342602968216, -0.14721116423606873, -0.20147687196731567, -0.37029892206192017, -0.21431881189346313, 0.8583437204360962, 0.26704785227775574, 0.02311459556221962, 0.6114545464515686, -0.10375356674194336, 0.3289277255535126, -0.2948436141014099, 0.06508434563875198, 0.4179409146308899, -0.0648036077618599, -0.00804057251662016, 0.45031920075416565, 0.42961105704307556, 0.060238201171159744, 0.3246557414531708, -0.24118874967098236, 0.22904860973358154, 0.7534138560295105, 0.5871937274932861, -0.5681836009025574, -0.10447899252176285, 0.21886594593524933, -0.1577240377664566, -0.2549084424972534, 0.07070234417915344, -0.9878520369529724, -0.46578991413116455, -0.2597620487213135, 0.1429160237312317, -0.629725992679596, -0.08279967308044434, 0.10516805201768875, 0.004309838637709618, -0.4056129455566406, 0.4037669003009796, -0.7225537896156311, 0.5346242785453796, 0.5749938488006592, 0.7953369617462158, 0.17876407504081726, -0.32143160700798035, -0.37395986914634705, 0.1919567734003067, -0.3096056580543518, 0.8336610198020935, -0.33728790283203125, 0.0023406774271279573, 0.0711701363325119, 0.052628789097070694, -0.18351136147975922, -0.2495243102312088, 1.325464129447937, -0.493623286485672, 0.4499710500240326, 0.2054409384727478, -0.6082080602645874, -0.6752071380615234, -0.15941058099269867, -1.0635567903518677, 0.9962133169174194, 0.2526718080043793, -0.5710001587867737, 0.0500701442360878, -0.834033727645874, -0.1636897325515747, 0.1925162523984909, -0.08632204681634903, -0.13277095556259155, 0.39821839332580566, 0.26034995913505554, 0.07067283242940903, 0.06780914217233658, -0.11770901829004288, -0.17870807647705078, -0.11534756422042847, -0.21344105899333954, -0.1146792620420456, 0.4985763430595398, 0.7621437907218933, -0.4228673577308655, 0.01450254861265421, -1.0452996492385864, -0.0837935358285904, 0.07679415494203568, -0.5767257213592529, -0.5549634099006653, -0.1670694798231125, 0.32182639837265015, 0.21734105050563812, 0.2351183146238327, -0.6143609285354614, 0.4817584753036499, -0.10388893634080887, 0.7584228515625, 0.5396888256072998, -0.20586176216602325, 0.39044809341430664, -0.2149147391319275, 0.5741235017776489, -0.07508548349142075, 0.21896588802337646, -0.42829781770706177, -0.8142654895782471, -0.4376733899116516, -0.5754102468490601, 0.4321920573711395, 0.27096378803253174, -0.780120849609375, -0.14638279378414154, -0.19166864454746246, -0.6503852605819702, -0.7741138339042664, -0.1971968412399292, 0.31033584475517273, 0.37131065130233765, 0.2128210812807083, -0.4947168529033661, -0.5405179858207703, -0.7708674073219299, 0.29630425572395325, -0.3571001887321472, 0.4320140480995178, 0.3379361033439636, 0.3716295659542084, -0.12440545856952667, 0.4491335153579712, -0.24140706658363342, -0.5253016352653503, 0.16237393021583557, 0.0749848410487175, 0.022464461624622345, 0.5617081522941589, 0.821986198425293, -0.65743088722229, -0.2130228579044342, 0.1396627128124237, -0.4340476393699646, -0.14640729129314423, 0.17130440473556519, -0.2820200026035309, 0.2846361994743347, 0.45329105854034424, -0.6706328988075256, 0.11139095574617386, 0.7740840315818787, -0.7163135409355164, 0.7980175018310547, -0.22027266025543213, 0.4444332420825958, -1.1998499631881714, 0.32183536887168884, -0.16819730401039124, -0.3018129765987396, -0.5370926856994629, 0.5256665945053101, -0.09749925881624222, -0.021956035867333412, -0.6194330453872681, 0.8345001339912415, -0.496052622795105, 0.029259037226438522, -0.32305413484573364, 0.2711038589477539, -0.15360049903392792, 0.34307876229286194, -0.01677173376083374, 0.7368502616882324, 0.5593098998069763, -0.5366379022598267, 0.3588724434375763, 0.38725215196609497, -0.43556317687034607, 0.5934759378433228, -0.22401461005210876, 0.15725181996822357, -0.02981751784682274, 0.3199291527271271, -0.8253036737442017, -0.04199504479765892, 0.45813968777656555, -0.5115770697593689, 0.014295876026153564, -0.5083382725715637, -0.25089016556739807, -0.2192409336566925, -0.25107476115226746, 0.4617528021335602, -0.11544790118932724, -0.36241161823272705, 0.7211832404136658, 0.6781488656997681, -0.5188695788383484, -0.5332664847373962, -0.5000971555709839, 0.20408926904201508, -0.38333505392074585, -0.8353020548820496, 0.2650311589241028, -0.18456818163394928, -0.1447318196296692, 0.2818128764629364, -0.07850870490074158, 0.044905006885528564, 0.17109817266464233, 0.2120758295059204, 0.15355955064296722, -0.6178303956985474, 0.10815243422985077, -0.15772226452827454, -0.047837309539318085, -0.5369576811790466, -0.5119706988334656, 0.7690722942352295, -0.3393014967441559, -0.10437898337841034, -0.346365362405777, 0.30494391918182373, 0.9997855424880981, -0.009183031506836414, 0.7321882843971252, 0.41303837299346924, -0.3827173411846161, 0.12045668065547943, -0.6548413634300232, 0.14648105204105377, -0.36021482944488525, 0.07933580875396729, -0.5704315304756165, -0.8989712595939636, 0.9932090044021606, 0.08139397948980331, 0.1372615396976471, 0.8173527717590332, 0.4091636836528778, 0.5037307143211365, 0.6352233290672302, 0.2721351683139801, -0.212180495262146, 0.6466968655586243, -0.21162420511245728, -0.5482815504074097, -0.9907451868057251, 0.03214656934142113, -0.8404878377914429, -0.29302483797073364, -0.36061611771583557, -0.14688003063201904, 0.11657791584730148, 0.3582955002784729, -0.32499656081199646, 0.19484905898571014, -0.45757535099983215, 0.15466122329235077, 0.8018714189529419, -0.13674862682819366, 0.5148201584815979, 0.19294129312038422, -0.3988913297653198, 0.3700738549232483, -0.3002912402153015, -0.9165343046188354, 1.3343360424041748, 0.6442205309867859, 0.357638955116272, 0.4430481493473053, 0.28450506925582886, 0.22730039060115814, 0.25856608152389526, -0.6053882241249084, 0.35152724385261536, -0.26535332202911377, -0.9316903352737427, -0.29905667901039124, -0.4647436738014221, -0.7361521124839783, 0.46756353974342346, 0.020910069346427917, -0.9707967042922974, 0.3270687460899353, -0.05900099128484726, -0.44252675771713257, 0.4289592206478119, -0.8141704201698303, 1.053920865058899, 0.1394624561071396, 0.08608269691467285, 0.05982566252350807, -0.3686157464981079, 0.14983190596103668, 0.10527347028255463, 0.3475354313850403, 0.2463383972644806, -0.21581938862800598, 0.7348681092262268, -0.3824395537376404, 0.33818286657333374, -0.05758662894368172, -0.27777501940727234, 0.3917538523674011, 0.1986875981092453, 0.49697962403297424, 0.14204208552837372, -0.07042570412158966, -0.1923014521598816, 0.11099017411470413, -0.4674701392650604, -0.1202891618013382, 0.7715955376625061, -0.842379093170166, -0.16931739449501038, -0.7119367122650146, -0.24806712567806244, -0.2768516540527344, 0.20035690069198608, 0.0503968745470047, 0.7010058760643005, -0.1750222146511078, 0.2126326709985733, 0.2441522777080536, 0.008954010903835297, 0.5102270841598511, 0.49569201469421387, -0.1834975779056549, -0.9888421893119812, 0.640372633934021, 0.048311568796634674, -0.04052894189953804, -0.06365420669317245, -0.07628627866506577, -0.3255247175693512, -0.9131330847740173, -1.0971983671188354, 0.26580533385276794, -0.6328973770141602, 0.2113143354654312, -0.6428519487380981, -0.014821689575910568, -0.6168004274368286, 0.2645135819911957, -0.6923524141311646, -0.8770790696144104, -0.3722415864467621, -0.32960841059684753, 0.2879437804222107, 0.6999906897544861, -0.009761541150510311, 0.5885617136955261, -0.7399294376373291, 0.06308501213788986, 0.07069887965917587, 0.5380757451057434, 0.06458539515733719, -0.24662688374519348, -0.4245811402797699, -0.34920334815979004, -0.3435307741165161, -0.751681387424469, 0.12960924208164215, 0.26681825518608093, 0.6109609603881836, 0.6757635474205017, -0.138192281126976, 0.3250150680541992, -0.6083590388298035, 0.9302747845649719, 0.11460088193416595, -0.8312990665435791, 0.18083083629608154, -0.45695367455482483, 0.2099665105342865, 0.6429740786552429, 0.31982406973838806, -0.7022683620452881, -0.5003579258918762, -0.6146665811538696, -1.0778379440307617, 0.8982155919075012, 0.3281356394290924, 0.11344677954912186, -0.03903608024120331, 0.4350776672363281, 0.2726142704486847, 0.4073888063430786, -0.47954800724983215, -0.5135892629623413, -0.31705978512763977, -0.2988271117210388, -0.4187310039997101, -0.46073395013809204, -0.1661997139453888, 0.12254449725151062, 1.0020848512649536, -0.2532740831375122, -0.038788650184869766, 0.42667117714881897, 0.0028939892072230577, -0.26798373460769653, 0.42017701268196106, 0.9811594486236572, 0.8184276223182678, -0.3698752224445343, 0.3719003200531006, -0.3735482692718506, -1.1980149745941162, -0.12815047800540924, 0.4848775267601013, -0.20751327276229858, -0.07933379709720612, 0.25440746545791626, 1.058103322982788, -0.11532928049564362, -0.7074750661849976, -0.10282837599515915, -0.12716896831989288, 0.10100699961185455, -0.5653042793273926, -0.457577645778656, 0.12868168950080872, 0.4757138788700104, 0.8511373996734619, -0.16301719844341278, 0.18581491708755493, -1.014593482017517, 0.36274880170822144, 0.026622217148542404, -0.5765470862388611, -0.24781112372875214, 0.7962631583213806, 0.06521113216876984, 0.3023260831832886, 0.05307107791304588, -0.10145748406648636, -0.540277361869812, 0.2904438078403473, 0.16106285154819489, 0.7579614520072937, -0.45096033811569214, 0.5568705201148987, -0.07032862305641174, 0.3294895589351654, -0.06920505315065384, 0.3593314290046692, 0.41832995414733887, -0.547631561756134, -0.2868708670139313, -0.8039294481277466, -0.28192681074142456, 0.2995584011077881, -0.18154390156269073, -0.049677345901727676, -0.22518324851989746, -0.30059418082237244, 0.38136163353919983, 0.23827768862247467, -0.09199951589107513, 0.304267942905426, 0.32246384024620056, 0.9094230532646179, -0.6761474013328552, 0.6901454925537109, 1.3292598724365234, -0.5473192930221558, -0.5824236273765564, -0.5286917686462402, 0.018362991511821747, -0.34785211086273193, 0.3026168644428253, -0.24764001369476318, 0.21058134734630585, 0.07951895147562027, -0.10905717313289642, -0.7164965867996216, 0.9526042342185974, 0.6536905765533447, -0.17598018050193787, -0.08665545284748077, 0.001687508192844689, 0.7280253767967224, -0.6725090146064758, 0.5950770378112793, 0.2207789570093155, 0.42979103326797485, 0.2679184675216675, -0.9711523652076721, 0.1048722118139267, -0.6243585348129272, -0.09883365035057068, 0.11028743535280228, -0.5357956290245056, 1.1674113273620605, 0.3300062119960785, -0.20832520723342896, 0.5427500009536743, 0.5454094409942627, 0.052453771233558655, 0.4426981210708618, 0.503206729888916, 1.4347559213638306, 0.5366615056991577, -0.23910462856292725, 1.2627824544906616, -0.3963506519794464, 0.11470524966716766, 1.103451132774353, 0.2054823786020279, 0.6345741748809814, 0.4414701461791992, 0.044795263558626175, 0.5148828625679016, 0.8865706324577332, 0.49315112829208374, 0.48699304461479187, 0.25074172019958496, -0.3756820261478424, 0.14728900790214539, -0.24678899347782135, -0.8115911483764648, 0.1125061959028244, 0.07718683034181595, -0.4590207636356354, -0.17659826576709747, 0.11295371502637863, 0.44274288415908813, -0.11078676581382751, -0.5274198651313782, 0.7855137586593628, 0.053731873631477356, -0.5441098809242249, 0.169692724943161, 0.10389414429664612, 0.20692406594753265, -0.6097261309623718, 0.11658809334039688, -0.2692394554615021, 0.40064141154289246, -0.0016330796061083674, -0.3255723714828491, -0.003230431815609336, -0.253050297498703, 0.07493223249912262, 0.46565014123916626, 0.3498259484767914, -0.1479010283946991, -0.43418315052986145, 0.34813201427459717, 0.44830814003944397, 0.21401961147785187, -0.5175933241844177, -0.27251484990119934, 0.15923753380775452, -0.3938756585121155, -0.4935581088066101, 0.2036038041114807, 0.6808039546012878, -0.12943106889724731, 0.49081042408943176, 0.7139908671379089, 0.5526747107505798, 0.5207429528236389, 0.08624984323978424, 1.0214780569076538, -0.45776841044425964, -0.950042724609375, -0.37970849871635437, 0.4223511219024658, 0.043033383786678314, -0.7135207653045654, 0.5941202044487, 0.6599988341331482, 0.8012463450431824, -0.14298118650913239, 0.7504698634147644, -0.01501607894897461, 0.35296764969825745, -0.5267288088798523, 0.5705919861793518, -0.6920579075813293, -0.04844431206583977, -0.5149223804473877, -1.2646353244781494, -0.08495038002729416, 0.22656182944774628, -0.053124405443668365, -0.1833152025938034, 0.8118814826011658, 0.1088990718126297, -0.11618892848491669, 0.4111175239086151, -0.06561446934938431, 0.13860656321048737, 0.16525615751743317, 0.3741479814052582, 0.7631911635398865, -0.5119966864585876, 0.755314290523529, -0.06471296399831772, -0.4134278893470764, -0.2144905924797058, -0.7570419311523438, -0.42820194363594055, -0.6662222743034363, -0.3512275218963623, -0.4877531826496124, 0.16757933795452118, 0.6558984518051147, 0.5505509376525879, -1.2082886695861816, -0.11145751923322678, 0.09371118992567062, -0.08463884890079498, -0.4638051688671112, -0.22026832401752472, 0.6297290921211243, -0.2917449176311493, -1.1467828750610352, 0.4607672691345215, -0.010254516266286373, 0.06888194382190704, -0.33025309443473816, -0.16782516241073608, -0.44837117195129395, 0.0678475946187973, 0.3082129955291748, 0.47391560673713684, -0.28698456287384033, -0.3982158899307251, -0.4667310416698456, -0.057189084589481354, 0.02857990376651287, 0.7706670165061951, -0.34461677074432373, 0.42554575204849243, 0.5162978172302246, 0.47880062460899353, 0.5616388320922852, 0.03583519533276558, 0.3481111526489258, -0.3151070773601532, 0.29668086767196655, 0.19675172865390778, 0.7280837893486023, 0.01823311671614647, -0.15893036127090454, 0.8409430980682373, 0.44548219442367554, -0.5044617056846619, -0.6992940902709961, 0.017831820994615555, -1.2991950511932373, -0.508396327495575, 0.866464376449585, -0.286023885011673, -0.1708340346813202, -0.3021332621574402, -0.6489062905311584, 0.267258882522583, -0.8073516488075256, 0.8781453371047974, 1.0226800441741943, 0.3400637209415436, -0.2409619688987732, -0.9191965460777283, 0.6294037103652954, 0.08000046014785767, -0.7822582125663757, -0.4328814148902893, 0.8050516247749329, 0.041038576513528824, 0.9532100558280945, 0.6262717843055725, -0.6186503767967224, 0.259404718875885, -0.006988889537751675, 0.2840476632118225, -0.37621596455574036, -0.5107578635215759, -0.03967014327645302, 0.680729866027832, -0.18318556249141693, -0.4549919664859772 ]
http://arxiv.org/abs/2404.00727v2
http://arxiv.org/pdf/2404.00727v2
A Controlled Reevaluation of Coreference Resolution Models
2024-03-31T16:00:41
2024-04-23T00:45:22
Ian Porada, Xiyuan Zou, Jackie Chi Kit Cheung
cs.CL
cs.CL
All state-of-the-art coreference resolution (CR) models involve finetuning a pretrained language model. Whether the superior performance of one CR model over another is due to the choice of language model or other factors, such as the task-specific architecture, is difficult or impossible to determine due to lack of a standardized experimental setup. To resolve this ambiguity, we systematically evaluate five CR models and control for certain design decisions including the pretrained language model used by each. When controlling for language model size, encoder-based CR models outperform more recent decoder-based models in terms of both accuracy and inference speed. Surprisingly, among encoder-based CR models, more recent models are not always more accurate, and the oldest CR model that we test generalizes the best to out-of-domain textual genres. We conclude that controlling for the choice of language model reduces most, but not all, of the increase in F1 score reported in the past five years.
[ -0.62700355052948, -0.5167776346206665, 0.29004231095314026, -0.012212788686156273, -0.26796579360961914, -0.0564076192677021, -0.8951165080070496, -0.7515490651130676, -0.2798328697681427, 0.5182266235351562, -0.25748276710510254, -0.3355622887611389, -1.043448567390442, 0.5467033386230469, -0.21600773930549622, 0.927577018737793, -0.32681357860565186, -0.09223884344100952, -0.480241060256958, -0.127796471118927, -0.47382789850234985, -0.7521265745162964, -0.14180180430412292, -0.8896932005882263, 0.33743125200271606, 0.35710325837135315, 1.0635621547698975, 0.7974419593811035, 0.992262065410614, 0.24167419970035553, -0.3392699956893921, 0.11168254166841507, -0.38257497549057007, -0.2711851894855499, -0.32612180709838867, -0.4926697313785553, -0.5199133157730103, 0.20548515021800995, 0.3394891321659088, 0.7261562943458557, 0.024241046980023384, -0.02090267278254032, 0.07661915570497513, 0.48288673162460327, -0.8018757104873657, -0.007764650508761406, -0.4448383152484894, -0.3536980152130127, -0.03575557842850685, -0.12115361541509628, -0.8601930737495422, -0.2404009848833084, 0.3010150194168091, -0.5479357242584229, 0.5504294037818909, 0.09959075599908829, 1.0934247970581055, 0.33948054909706116, -0.3914624750614166, -0.5681182146072388, -0.975111722946167, 1.0195233821868896, -0.5559751987457275, 0.6065680384635925, 0.5295609831809998, 0.12564626336097717, 0.12300270050764084, -0.6386050581932068, -0.3009736239910126, -0.39058589935302734, -0.44782671332359314, -0.23644673824310303, -0.30623045563697815, 0.3376436233520508, 0.16283097863197327, 0.4531998634338379, -0.38264065980911255, 0.20352229475975037, -0.45170295238494873, -0.4107573926448822, 0.30177220702171326, 0.08097843825817108, -0.1054873988032341, -0.14252722263336182, -0.08967453241348267, 0.15397262573242188, -0.6671757698059082, 0.11212336272001266, -0.23891597986221313, 0.34980878233909607, 0.19816556572914124, 0.6032958030700684, -0.326461523771286, 0.819389820098877, 0.7833318114280701, -0.22220182418823242, -0.05334339663386345, -0.3517536222934723, -0.2719295918941498, 0.0623905248939991, 0.4526548683643341, 0.561471164226532, 0.46053797006607056, -0.23860470950603485, -0.21923339366912842, 0.2712465524673462, 0.3969472348690033, -0.80363529920578, -0.058979637920856476, 0.18061663210391998, -0.37438732385635376, -0.013336237519979477, -0.21883134543895721, -0.19352586567401886, -0.13982711732387543, -0.8015199303627014, 0.14905916154384613, -0.43787261843681335, -0.09193172305822372, 0.2923876941204071, 0.0315961018204689, 0.14780351519584656, 0.35340145230293274, -0.8031970858573914, 0.34605151414871216, 0.418366014957428, 0.6693215370178223, -0.2804497182369232, -0.173223614692688, 0.0713508352637291, -0.08635488152503967, -0.5906331539154053, 0.8348857164382935, -0.9713514447212219, -0.7627564668655396, -0.07506680488586426, -0.042275480926036835, -0.07346303761005402, -0.773514986038208, 0.739189624786377, -0.6091973781585693, 0.27989235520362854, -0.34144505858421326, -0.6410920023918152, -0.1492191106081009, 0.25226330757141113, -0.5002326965332031, 0.5779458284378052, 0.05200909823179245, -0.6789894700050354, 0.547478199005127, -0.18533514440059662, -0.2063816487789154, -0.12838883697986603, -0.24265514314174652, -0.13423410058021545, 0.2242889255285263, 0.24549777805805206, 0.32923439145088196, -0.5819007158279419, 0.5657301545143127, 0.11547031998634338, -0.3456757664680481, -0.03905264288187027, 0.0909477025270462, 0.36970439553260803, 0.267316073179245, -0.1457846760749817, 0.35044315457344055, -0.5112537741661072, 0.055397018790245056, -0.37265545129776, -0.4613070487976074, -0.3886791467666626, -0.12415996938943863, -0.2884220480918884, 0.20499545335769653, 0.3688616454601288, -0.542034924030304, -0.08416157215833664, -0.08460147678852081, 0.6243199110031128, 0.3120615780353546, -0.15634417533874512, 0.8375884294509888, -0.5766074657440186, 0.4080681800842285, 0.12789949774742126, 0.17770998179912567, -0.07162526249885559, -0.15721315145492554, -0.959790050983429, -0.12765565514564514, 0.4177175760269165, 0.3619474172592163, -0.21716292202472687, 0.5873949527740479, -0.348962664604187, -0.8072071075439453, -0.4089204668998718, -0.03918985277414322, 0.485081285238266, 0.39163345098495483, 0.5383184552192688, -0.35240331292152405, -0.30414095520973206, -1.093132734298706, -0.3760465979576111, -0.1758033186197281, 0.0757720097899437, 0.3110356628894806, 0.5032249689102173, -0.09967061132192612, 1.1099228858947754, -0.17331357300281525, -0.21704252064228058, -0.45372480154037476, 0.28591904044151306, 0.06667319685220718, 0.8702743649482727, 0.657356321811676, -0.7389914989471436, -0.17573627829551697, 0.002211274579167366, -0.3526858389377594, -0.1248161569237709, -0.16728679835796356, -0.06807154417037964, 0.03444766253232956, 0.35401052236557007, -0.6193523406982422, 0.4653550982475281, 0.39872974157333374, -0.09253956377506256, 0.9579112529754639, -0.08287464082241058, 0.42514652013778687, -0.5063482522964478, 0.15592625737190247, -0.07018623501062393, -0.209685817360878, -0.431686669588089, 0.15114964544773102, 0.48231011629104614, 0.14534571766853333, -0.24577192962169647, 0.23486684262752533, -0.5212788581848145, 0.3299536406993866, -0.3894246816635132, 0.16979405283927917, 0.2286892682313919, 0.5601252317428589, 0.43069323897361755, 0.6909257173538208, 0.26575443148612976, -0.9646338820457458, 0.22636377811431885, 0.32449498772621155, -0.47609713673591614, 0.41324087977409363, -0.811946451663971, 0.2480352222919464, -0.25825923681259155, 0.39776065945625305, -0.792497456073761, -0.0742669552564621, -0.16279275715351105, -0.5482613444328308, 0.31109586358070374, 0.13753120601177216, -0.040502458810806274, -0.1740468591451645, 0.31805646419525146, 0.472756028175354, 0.2544976770877838, -0.3189810812473297, 0.8843399286270142, 0.0054678707383573055, -0.011377903632819653, -0.588331401348114, -0.7819159626960754, -0.2542036175727844, -0.08405676484107971, -0.31248319149017334, 0.7283005118370056, -0.22724173963069916, -0.29956522583961487, -0.06941092014312744, -0.25484219193458557, -0.1573863923549652, -0.28008580207824707, 0.5204200744628906, 0.19084835052490234, -0.3133179843425751, 0.2540036737918854, 0.06494897603988647, -0.22598746418952942, -0.07252991944551468, 0.16477544605731964, 0.48073840141296387, -0.13019123673439026, -0.0963219702243805, -0.566487729549408, 0.4101038873195648, 0.6702841520309448, -0.7051909565925598, 0.6876916885375977, -0.10841257125139236, -0.473031610250473, 0.02675061672925949, -0.8130246996879578, -0.2784372866153717, -0.4606429636478424, 0.24593929946422577, -0.6415295600891113, -1.2255520820617676, 0.4843282103538513, -0.1971816122531891, 0.2622791826725006, 0.4109307825565338, 0.6369830965995789, 0.33307021856307983, 0.843501091003418, 0.7657111287117004, 0.16855043172836304, 0.47464877367019653, 0.019114399328827858, 0.17653317749500275, -0.7793066501617432, -0.11668086796998978, -1.025443196296692, -0.23148927092552185, -0.3862229585647583, -0.395587682723999, -0.02160116471350193, 0.38728898763656616, -0.3590394854545593, 0.5048107504844666, -0.43160125613212585, 0.6394352912902832, 0.3161245882511139, 0.20135731995105743, 0.5620214343070984, -0.32911670207977295, -0.3223996162414551, -0.24571090936660767, -0.5722438097000122, -0.6527435779571533, 0.8498762845993042, 0.2619059979915619, 0.697730302810669, 0.05140000954270363, 0.4303276240825653, 0.26419249176979065, 0.680037796497345, -0.7027487754821777, 0.18417814373970032, -0.3138440251350403, -0.9781866669654846, 0.004919035825878382, -0.20384542644023895, -0.39476478099823, 0.1525239795446396, -0.023807642981410027, -0.4733729064464569, 0.6622357964515686, 0.378129243850708, -0.7556049227714539, -0.002713535213842988, -0.6613335013389587, 0.8038962483406067, 0.07394509017467499, -0.27724048495292664, -0.4286353886127472, -0.37070515751838684, 0.3375464677810669, -0.1888442188501358, 0.18248385190963745, -0.1261848360300064, 0.18892036378383636, 0.6920315623283386, -0.07449281960725784, 0.7990966439247131, 0.22309496998786926, 0.19333940744400024, 0.43253323435783386, 0.45211613178253174, 0.5405495166778564, -0.16593490540981293, -0.37423309683799744, 0.06085783988237381, 0.19451849162578583, -0.3393762409687042, -0.5555660128593445, 0.6587513089179993, -0.8547384142875671, -0.8343060612678528, -0.15597309172153473, -0.29330864548683167, -0.164991557598114, 0.34254375100135803, 0.7193060517311096, 0.6465901136398315, -0.4489784836769104, 0.5023581385612488, 0.33441162109375, -0.10528948903083801, 0.25215086340904236, 0.7005568742752075, -0.1910429745912552, -0.256694495677948, 0.15244756639003754, 0.08531544357538223, 0.597731351852417, 0.3923049867153168, 0.0406528040766716, -0.26997441053390503, -0.6479671597480774, -0.20843446254730225, 0.382742702960968, -0.9074969291687012, -0.2847040295600891, -0.4209309220314026, -0.12657411396503448, -0.6357136368751526, -0.37401217222213745, -0.5142660737037659, -0.2535337507724762, -0.4438701868057251, -0.3144761323928833, 0.04386648163199425, 0.6507174372673035, 0.058973703533411026, 0.6828728318214417, -0.7385659217834473, -0.09587294608354568, -0.09143856912851334, 0.36289265751838684, -0.2530917227268219, -0.9376286864280701, -0.3752002716064453, -0.16329500079154968, -0.26782000064849854, -0.7383829355239868, 0.2709622085094452, 0.46841394901275635, 0.4637952744960785, 0.5137813687324524, 0.35583823919296265, 0.6600136756896973, -0.43149039149284363, 0.8043208718299866, 0.05367426574230194, -1.1683731079101562, 0.5372246503829956, -0.04605072736740112, 0.4960065484046936, 0.6084029674530029, 0.5310962200164795, -0.4893642067909241, -0.3467528820037842, -0.47304853796958923, -0.28763172030448914, 0.31060054898262024, -0.048056963831186295, 0.03277657926082611, -0.16798685491085052, 0.8255205154418945, 0.15330545604228973, 0.01454265508800745, -0.3909831941127777, 0.08212176710367203, -0.20263583958148956, -0.018166251480579376, -0.3327474594116211, -0.44230976700782776, -0.0033146259374916553, -0.21334144473075867, 0.3622526526451111, -0.01679532788693905, 0.08745738118886948, 0.6094987392425537, -0.44260871410369873, -0.5473676919937134, 0.46218204498291016, 0.7078373432159424, 0.9844222664833069, -0.25212064385414124, 0.40223512053489685, 0.046689555048942566, -0.36204954981803894, 0.08083552122116089, -0.2977629601955414, -0.02110312134027481, 0.009092375636100769, 0.6069799065589905, 0.7660895586013794, 0.30471280217170715, -0.580558717250824, 0.25910744071006775, 0.06814611703157425, -0.25473248958587646, -0.1437186300754547, 0.18829979002475739, -0.2181641012430191, 0.12630213797092438, 0.012623552232980728, 0.3594333231449127, -0.189302459359169, -0.10013986378908157, 0.38632142543792725, 0.11520590633153915, -0.5894383788108826, -0.3072817027568817, 0.6200315952301025, 0.43829694390296936, -0.1304415464401245, 0.7895449995994568, 0.20054760575294495, -0.6351433396339417, 0.4533155560493469, 0.499607652425766, 0.41978681087493896, -0.4291185736656189, 0.13205552101135254, 0.8065573573112488, 0.6465951800346375, -0.23935486376285553, -0.1680002510547638, 0.06884066760540009, -1.368395209312439, -0.6269609928131104, -0.5873355269432068, -0.4138525724411011, 0.009946784004569054, -1.1614525318145752, 0.06236658990383148, -0.6981662511825562, -0.7315825819969177, 0.0039848522283136845, 0.1518164724111557, -0.79685378074646, 0.5823912024497986, -0.05268515273928642, 1.2877155542373657, -0.6982421875, 0.9561756253242493, 0.554585874080658, -0.20849786698818207, -0.5529078245162964, -0.5187852382659912, 0.02772088348865509, -0.33310410380363464, 0.6584244966506958, 0.09727165102958679, -0.14747083187103271, 0.24250786006450653, -0.5359477400779724, -0.7631198167800903, 0.8536016941070557, 0.18139930069446564, -0.8456713557243347, -0.2205214500427246, 0.013591788709163666, 0.43770015239715576, -0.6323029398918152, 0.1996694803237915, 1.0814142227172852, 0.41796600818634033, -0.06197621300816536, -1.5054190158843994, -0.0671018660068512, -0.03150027245283127, -0.16751186549663544, 0.1722777783870697, -0.5354015827178955, 0.8183778524398804, -0.3646172285079956, -0.2756624221801758, 0.05554032325744629, 0.9302918910980225, 0.1965092271566391, -0.19130681455135345, 0.5418838858604431, 0.37851637601852417, 0.5765742063522339, -0.3173966705799103, 0.9535509943962097, -0.43765944242477417, 0.2964213490486145, 1.3096158504486084, -0.19896739721298218, 0.8592591285705566, 0.4602881669998169, 0.04111490771174431, 0.3049197196960449, 0.8884745836257935, 0.24389059841632843, 0.3883756697177887, -0.0425964891910553, -0.08697652816772461, -0.9299026727676392, -0.3513132333755493, -0.24925024807453156, 0.42653897404670715, 0.5764886736869812, -0.654190719127655, -0.2520035207271576, 0.07424221187829971, -0.060695745050907135, 0.33265021443367004, -0.3222026526927948, 0.452384352684021, -0.10431601107120514, -0.9092920422554016, 0.737846314907074, 0.1764499545097351, 0.6415320634841919, -0.47669968008995056, 0.34912729263305664, -0.35611391067504883, 0.4151463210582733, -0.131465882062912, -0.3074641823768616, 0.4622090756893158, 0.15507464110851288, -0.5356001257896423, -0.2645076513290405, 0.5795374512672424, -0.357535719871521, -0.30883803963661194, 0.38691315054893494, 0.4510023891925812, 0.04979195073246956, -0.25123658776283264, -0.4059923589229584, 0.3134673237800598, 0.02457180619239807, -0.19007648527622223, 0.09119074791669846, 0.22182531654834747, -0.1889640837907791, 0.5537808537483215, 0.3081689178943634, 0.0047592478804290295, 0.23454532027244568, -0.14779116213321686, 0.8864634037017822, -0.7144511938095093, -0.3372841775417328, -0.47546589374542236, 0.14761707186698914, 0.2996319830417633, -0.6378834843635559, 0.28913936018943787, 0.3648725152015686, 1.0422929525375366, 0.0624823197722435, 0.5720621943473816, -0.17075897753238678, 0.5953448414802551, -0.40888240933418274, 0.4017094671726227, -0.4208313822746277, 0.02484658546745777, 0.03410733491182327, -0.5880012512207031, -0.5161898732185364, 0.617235541343689, -0.7339266538619995, 0.16322138905525208, 0.8441207408905029, 0.8768189549446106, 0.23463018238544464, 0.2659620940685272, 0.3921884298324585, 0.17989368736743927, 0.4677729904651642, 0.522463858127594, 0.692380964756012, -0.05198640376329422, 0.41003650426864624, -0.5855998992919922, -0.45460543036460876, -0.18526487052440643, -0.9621272683143616, -0.743054986000061, -0.585523247718811, -0.42972689867019653, -0.20282302796840668, 0.021035687997937202, 1.0448908805847168, 0.7665470838546753, -1.0697523355484009, -0.15662218630313873, 0.13136373460292816, -0.07921687513589859, -0.4871830344200134, -0.11858024448156357, 0.264974981546402, -0.31313788890838623, -0.7960938215255737, 0.20781484246253967, -0.1011311337351799, -0.10411164909601212, 0.01097103301435709, -0.07729406654834747, 0.03230365738272667, 0.15442687273025513, 0.4089302718639374, 0.04093451052904129, -1.1704812049865723, -0.5498887300491333, 0.060624416917562485, -0.431312620639801, 0.24495260417461395, 1.493260383605957, -0.5253334045410156, 0.31803426146507263, 0.48280221223831177, 0.3646819591522217, -0.011746522970497608, 0.3508535325527191, 0.8279516696929932, -0.4323701560497284, 0.10251237452030182, 0.19508038461208344, 0.2775420546531677, 0.18438532948493958, -0.35347703099250793, 0.08460868149995804, 0.11000508069992065, -0.7380791306495667, -0.5152269601821899, 0.3283630609512329, -0.8138908743858337, -0.4385882616043091, 0.927245020866394, -0.2450253814458847, -0.1966739147901535, -0.16165466606616974, -0.3008479177951813, 0.42297759652137756, -0.24430334568023682, 0.6425620317459106, 1.139061689376831, -0.4010087549686432, -0.5006189942359924, -0.23076345026493073, 0.7258017659187317, 0.45831120014190674, -0.16700725257396698, 0.4741445779800415, 0.6959313750267029, 0.30478546023368835, 0.5108007192611694, 0.41066330671310425, -0.2561954855918884, 0.2631455063819885, -0.21959160268306732, 0.3708648681640625, -0.05321746692061424, -0.6561192274093628, -0.2356693148612976, 0.1936963051557541, 0.32911914587020874, 0.19661255180835724 ]
http://arxiv.org/abs/2404.00725v1
http://arxiv.org/pdf/2404.00725v1
The Larger the Better? Improved LLM Code-Generation via Budget Reallocation
2024-03-31T15:55:49
2024-03-31T15:55:49
Michael Hassid, Tal Remez, Jonas Gehring, Roy Schwartz, Yossi Adi
cs.SE
cs.SE, cs.AI, cs.CL, cs.LG
It is a common belief that large language models (LLMs) are better than smaller-sized ones. However, larger models also require significantly more time and compute during inference. This begs the question: what happens when both models operate under the same budget? (e.g., compute, run-time). To address this question, we analyze code generation LLMs of various sizes and make comparisons such as running a 70B model once vs. generating five outputs from a 13B model and selecting one. Our findings reveal that, in a standard unit-test setup, the repeated use of smaller models can yield consistent improvements, with gains of up to 15% across five tasks. On the other hand, in scenarios where unit-tests are unavailable, a ranking-based selection of candidates from the smaller model falls short of the performance of a single output from larger ones. Our results highlight the potential of using smaller models instead of larger ones, and the importance of studying approaches for ranking LLM outputs.
[ -0.6697437167167664, -0.3331071734428406, 0.6758251190185547, -0.010384132154285908, -0.2006554752588272, 0.06435184180736542, -0.4855405390262604, -0.47739309072494507, 0.041218508034944534, 0.40379342436790466, -0.3628227710723877, 0.13311003148555756, -0.5560306310653687, 0.1065157875418663, -0.2469969242811203, 0.5284444093704224, 0.21196569502353668, 0.35494470596313477, -0.4429296553134918, 0.061281390488147736, -0.6843875646591187, -0.5173266530036926, -0.7581342458724976, -0.5798735618591309, 0.6460050940513611, 0.49100443720817566, 0.8699284195899963, 0.8758875131607056, 0.8355910778045654, 0.28700798749923706, -0.0583350844681263, 0.24070292711257935, -0.40804392099380493, -0.011954807676374912, 0.22619932889938354, -0.4150800406932831, -0.2463904470205307, 0.12383430451154709, 0.6057325005531311, 0.6137068271636963, -0.20238269865512848, 0.28608012199401855, -0.07004819065332413, 0.770765483379364, -0.4962897300720215, -0.03958334028720856, -0.5692882537841797, -0.16670753061771393, -0.0025816869456321, -0.030103305354714394, -0.5353351831436157, -0.6766785383224487, -0.21560046076774597, -0.09856870770454407, 0.06435977667570114, 0.23378877341747284, 0.9633453488349915, 0.3686157464981079, -0.3319131135940552, -0.406368225812912, -0.7378458976745605, 1.042195439338684, -0.9748056530952454, 0.48314157128334045, -0.0184011310338974, 0.35971498489379883, 0.03187591955065727, -0.7263768315315247, -0.34597793221473694, -0.7283762693405151, -0.010378236882388592, -0.018923306837677956, -0.1978844404220581, -0.04834179952740669, 0.380147248506546, 0.35404932498931885, -0.47756698727607727, 0.5000666379928589, -0.6361120343208313, -0.0899931937456131, 0.7253063321113586, 0.0819520354270935, 0.1830708533525467, -0.1680840700864792, 0.016559263691306114, -0.22687454521656036, -1.1817054748535156, -0.37433674931526184, 0.4940204918384552, 0.32964056730270386, 0.20638783276081085, 0.6251015663146973, 0.07690191268920898, 0.660165011882782, 0.12895356118679047, -0.4174089729785919, -0.11172457784414291, -0.3939894139766693, -0.2702879309654236, -0.02580544538795948, 0.44490981101989746, 0.39934036135673523, 0.5791599750518799, -0.05724233016371727, -0.24848389625549316, 0.05700012668967247, 0.5816550254821777, -1.0469157695770264, -0.39326438307762146, 0.06131742522120476, -0.6769657731056213, -0.3521600067615509, -0.041205815970897675, -0.31614619493484497, -0.13589715957641602, -0.4608089327812195, 0.22595515847206116, -0.11931165307760239, -0.17708681523799896, -0.08352198451757431, -0.05882009491324425, 0.10835687071084976, 0.13698314130306244, -0.6323402523994446, 0.2282174527645111, 0.6574540734291077, 0.8607133626937866, -0.24106602370738983, -0.0542941614985466, -0.7432116270065308, -0.31079936027526855, -0.8805997967720032, 0.653181791305542, -0.31392335891723633, -0.4964603781700134, -0.16824615001678467, -0.4559827744960785, -0.02675236575305462, -1.1718608140945435, 0.05047858506441116, -0.5827397704124451, 0.08676998317241669, -0.39259010553359985, -0.6049086451530457, 0.44944754242897034, -0.057613447308540344, -0.7825194597244263, 0.9754108190536499, 0.18982787430286407, -0.4962258040904999, 0.5917519330978394, -0.500831663608551, -0.22627323865890503, -0.08485636115074158, -0.32404518127441406, -0.7027400135993958, 0.41099125146865845, -0.061156924813985825, 0.46711650490760803, -0.5981162190437317, 0.30767062306404114, -0.34718239307403564, -0.5111693739891052, 0.45901742577552795, -0.21122099459171295, 0.4647968113422394, 0.4857043921947479, -0.3556930124759674, 0.14700374007225037, -0.6019935011863708, 0.1491883099079132, 0.22900477051734924, -0.719340443611145, -0.05586186423897743, 0.1185811311006546, -0.28207018971443176, 0.017181705683469772, 0.03843949735164642, -0.5076150298118591, 0.3394666314125061, -0.3085143566131592, 0.4348190128803253, 0.7997394800186157, 0.04332993924617767, 0.8119459748268127, -0.6104992628097534, 0.5959336161613464, -0.2909872531890869, 0.06124633178114891, 0.09776437282562256, -0.367885023355484, -0.9247831702232361, -0.39123570919036865, 0.6958028078079224, 0.19991075992584229, -0.5772634744644165, 0.000009661885997047648, -0.2939538061618805, -0.4881056249141693, -0.14849983155727386, 0.18972145020961761, 0.5585331320762634, 0.04245588183403015, -0.05895676463842392, -0.22085760533809662, -0.6142420172691345, -0.9972111582756042, -0.08497628569602966, -0.4002324044704437, 0.014545224606990814, 0.3808908462524414, 0.504289984703064, -0.12095418572425842, 0.6636145114898682, -0.7352752089500427, 0.12005750834941864, -0.6768758893013, -0.2578781545162201, 0.07038383930921555, 0.4660947918891907, 0.7738186120986938, -0.4825652837753296, -0.19938477873802185, -0.15906602144241333, -0.35386502742767334, -0.3279346525669098, -0.2368975132703781, -0.03408432379364967, 0.3156090974807739, 0.5557467937469482, -0.443430632352829, 0.1728527545928955, 0.5364710688591003, -0.046067751944065094, 0.7895234227180481, -0.3383009433746338, 0.0028009836096316576, -0.9790589213371277, -0.3750174641609192, -0.13642358779907227, -0.2603577971458435, -0.249727264046669, 0.32346105575561523, 0.226193368434906, -0.029432255774736404, -0.23186850547790527, 0.38771212100982666, -0.689485490322113, -0.5595036149024963, -0.1837160289287567, 0.023951053619384766, 0.04095960408449173, 0.17872479557991028, -0.20806658267974854, 1.2513189315795898, 0.14049752056598663, -0.7334707379341125, 0.24988919496536255, -0.2369096577167511, -0.6823219060897827, -0.09705629199743271, -0.5909727215766907, 0.11808530986309052, 0.14142926037311554, 0.10201586037874222, -0.9429649710655212, -0.3752753734588623, -0.38343536853790283, -0.37494662404060364, 0.39872393012046814, 0.05076795443892479, -0.6145521402359009, -0.5605776906013489, -0.4000678062438965, 0.14353084564208984, 0.8635044693946838, -0.7894158959388733, 0.10298604518175125, 0.23430576920509338, -0.15733379125595093, -0.3001749813556671, -0.837919294834137, -0.12955977022647858, -0.4569673240184784, -0.6723619699478149, 0.14327372610569, -0.1477654129266739, -0.7415186166763306, -0.17260603606700897, -0.26675915718078613, 0.030034510418772697, 0.2542817294597626, 0.29051172733306885, 0.2644248902797699, -0.603405237197876, 0.20407430827617645, 0.0023695386480540037, -0.017737045884132385, -0.047840870916843414, -0.11168842762708664, 0.6070123314857483, -0.04595448821783066, -0.4401020407676697, -0.16589277982711792, 0.29050710797309875, 0.45595481991767883, -0.2139546424150467, 0.7960307002067566, 0.17471836507320404, -0.13426463305950165, -0.3676903247833252, -0.6585668921470642, -0.21586231887340546, -0.5320548415184021, 0.21567383408546448, -0.4546247124671936, -1.0016356706619263, 0.31199225783348083, -0.14422690868377686, 0.292179137468338, 0.387566477060318, 0.6879388689994812, 0.04781158268451691, 1.0432195663452148, 0.6515388488769531, 0.11090642958879471, 0.6662508845329285, -0.44444194436073303, 0.47288334369659424, -0.7317481637001038, 0.005721978843212128, -0.6828024387359619, -0.25780725479125977, -0.4946841895580292, -0.6244350671768188, 0.15010996162891388, 0.24643205106258392, -0.3279641568660736, 0.3946782946586609, -0.5884687304496765, 0.6578836441040039, 0.6940723657608032, -0.12486553937196732, 0.24074824154376984, 0.008435728028416634, -0.06864334642887115, -0.04290006682276726, -1.0010254383087158, -0.6996482610702515, 1.129811406135559, 0.22501584887504578, 0.6971076726913452, 0.3916477560997009, 1.0334956645965576, 0.19494588673114777, 0.7340607047080994, -0.7347297668457031, 0.5703897476196289, -0.16724158823490143, -0.5081146359443665, -0.20179855823516846, -0.7122777700424194, -1.0016411542892456, 0.42648494243621826, 0.0703018307685852, -0.6052306294441223, 0.030063357204198837, 0.2711905539035797, -0.5511207580566406, 0.3434343636035919, -1.0578882694244385, 0.7242984175682068, -0.20172008872032166, -0.11748568713665009, -0.2767837643623352, 0.019197281450033188, 0.41668301820755005, -0.2333078682422638, 0.36278852820396423, 0.022339344024658203, -0.01775672473013401, 0.6176396012306213, -0.5188601613044739, 0.3807503879070282, 0.09038715809583664, -0.11266505718231201, 0.4500051736831665, 0.22206157445907593, 0.3621112108230591, 0.11348053067922592, -0.28181976079940796, -0.12520959973335266, -0.05445649474859238, -0.40996402502059937, -0.39577484130859375, 0.9030002355575562, -0.7477884888648987, -0.6974565386772156, -0.19083383679389954, -0.6073142886161804, -0.11556639522314072, 0.017714068293571472, 0.42734259366989136, 0.8376494646072388, -0.039925310760736465, 0.4018944799900055, 0.486380398273468, -0.3843514919281006, 0.6213883757591248, 0.12114603072404861, -0.5000585317611694, -0.1085313931107521, 0.8526347875595093, 0.4630719721317291, 0.7272209525108337, 0.015370749868452549, 0.34421518445014954, -0.1517046093940735, -0.7359720468521118, -0.5704253315925598, 0.36732926964759827, -0.5393721461296082, -0.40236592292785645, -0.3908357620239258, -0.06482428312301636, -0.6362188458442688, -0.3980400264263153, -0.6561785340309143, -0.5135934948921204, -0.07343397289514542, -0.170436292886734, 0.078514464199543, 0.9383907914161682, -0.1906730681657791, 0.3830222487449646, -0.47201892733573914, 0.14781495928764343, 0.505925178527832, 0.08749596029520035, 0.08378730714321136, -0.5100162029266357, -0.3090633153915405, -0.21828173100948334, -0.35422733426094055, -0.6570984125137329, 0.39178600907325745, 0.03285016119480133, 0.4657270014286041, 0.24781033396720886, -0.11060158163309097, 0.7309671640396118, -0.5021203756332397, 0.9422427415847778, 0.29948627948760986, -0.6160805821418762, 0.13434450328350067, -0.13960199058055878, 0.5219475030899048, 0.1732805073261261, -0.14549866318702698, -0.10092271119356155, -0.4839600920677185, -0.7963789701461792, -0.6496742367744446, 0.5999443531036377, 0.3119128346443176, 0.13581867516040802, -0.11396806687116623, 0.44918134808540344, -0.08624427765607834, 0.1902119368314743, -0.5962954163551331, -0.2257014513015747, 0.2746163010597229, 0.03443417698144913, -0.029613928869366646, -0.4077751338481903, 0.07120218873023987, -0.04550103843212128, 0.6196048259735107, -0.0749116763472557, 0.5556873083114624, -0.09276629984378815, -0.05086274817585945, -0.09639628976583481, 0.20128411054611206, 0.6133868098258972, 1.0484275817871094, -0.11931322515010834, 0.19098487496376038, 0.31674373149871826, -0.30743110179901123, -0.0029176899697631598, -0.44261473417282104, 0.01543134730309248, 0.16972854733467102, 0.6054244041442871, 0.6996644139289856, 0.2552700936794281, -0.864533007144928, 0.3387411832809448, -0.08882660418748856, -0.3151012063026428, -0.26866450905799866, 0.3209427297115326, 0.38861849904060364, 0.30623435974121094, 0.23909835517406464, -0.11109914630651474, -0.09472614526748657, -0.7612152695655823, 0.3199135959148407, 0.3694564998149872, 0.17255067825317383, 0.18533892929553986, 0.5522681474685669, 0.14294885098934174, -0.48440515995025635, 0.46761953830718994, -0.20301233232021332, -0.45568129420280457, 1.2963305711746216, 0.6091234087944031, 0.48156651854515076, 0.0034138127230107784, 0.1965288370847702, 0.4766523540019989, 0.4635632634162903, -0.39212194085121155, 0.06460826843976974, 0.13703502714633942, -0.5392332077026367, -0.650902509689331, -0.6629368662834167, -0.4098361134529114, 0.0845457911491394, -0.7502619624137878, -0.13168583810329437, -0.607936680316925, -0.2598184049129486, 0.12964583933353424, 0.26557645201683044, -0.5136210918426514, 0.2612440884113312, 0.27091744542121887, 0.8107501268386841, -0.4738089144229889, 0.8698762655258179, 0.6842200756072998, -0.18476274609565735, -1.2443387508392334, -0.10632046312093735, 0.0035773818381130695, -0.5959091782569885, 0.8015083074569702, 0.18284472823143005, 0.020278096199035645, -0.1362973302602768, -0.37346336245536804, -1.1050232648849487, 1.07004976272583, 0.5964375734329224, -0.8434422016143799, 0.021104048937559128, -0.1406433880329132, 0.3944789469242096, -0.777955949306488, 0.028450902551412582, 0.7119150161743164, 0.2442624717950821, -0.002201512921601534, -0.9853983521461487, -0.20581987500190735, 0.2594468891620636, 0.31812983751296997, 0.5947768092155457, -0.7559308409690857, 1.003327488899231, -0.5685173273086548, -0.11147134751081467, 0.26961761713027954, 0.646938145160675, 0.45608675479888916, 0.23425903916358948, 0.52251797914505, 0.37727147340774536, 0.7503284215927124, -0.2214970886707306, 1.5577316284179688, -0.15661579370498657, 0.43724051117897034, 1.1959517002105713, -0.20387239754199982, 0.8900495171546936, 0.38932207226753235, -0.29478031396865845, 0.37279027700424194, 0.8281088471412659, 0.06561040133237839, 0.3382698893547058, 0.5768583416938782, 0.12342940270900726, -0.4099810719490051, 0.2525988817214966, -0.41845494508743286, 0.06625490635633469, -0.07953787595033646, -0.3234284222126007, -0.029719285666942596, -0.08407115191221237, 0.16726753115653992, 0.04720837250351906, -0.39968401193618774, 0.6528629660606384, 0.3105137348175049, -0.8457262516021729, 0.5916422605514526, 0.06022222712635994, 0.526293158531189, -0.23999442160129547, 0.21832282841205597, -0.5381233096122742, 0.4235030710697174, -0.12323222309350967, -0.3031042814254761, 0.43991991877555847, 0.285178542137146, -0.1911676526069641, -0.32989591360092163, 0.7878320217132568, -0.09047041833400726, -0.6247573494911194, 0.22290167212486267, 0.6098504662513733, 0.17082618176937103, 0.011491355486214161, -0.5293049216270447, 0.4367695152759552, 0.15575681626796722, -0.44602081179618835, 0.5629609823226929, 0.08217450976371765, -0.06650373339653015, 0.8276390433311462, 0.6842595934867859, 0.3230382800102234, 0.547462522983551, 0.2796085774898529, 0.7661777138710022, -0.4796876609325409, -0.18149755895137787, -0.9208871722221375, 0.15576355159282684, -0.2156267762184143, -0.33218562602996826, 0.8031406402587891, 0.7267488241195679, 0.9822959899902344, -0.054833948612213135, 0.5824035406112671, -0.05520447716116905, 0.3637748956680298, -0.5795374512672424, 0.3617810606956482, -0.7078885436058044, 0.5986065864562988, -0.07746748626232147, -1.2726224660873413, -0.11658291518688202, 0.6942057609558105, -0.42912667989730835, 0.06371189653873444, 0.798821210861206, 0.851729154586792, 0.05469433590769768, -0.39332324266433716, 0.532002329826355, 0.02736825682222843, 0.39845624566078186, 0.43522483110427856, 0.8429753184318542, -0.20043455064296722, 0.6173540353775024, -0.2998409569263458, 0.0700870081782341, -0.2314368039369583, -0.6361240148544312, -0.7660090327262878, -0.20218002796173096, -0.5593728423118591, -0.43816307187080383, -0.11615443974733353, 0.8024601340293884, 0.754555881023407, -0.5812304615974426, -0.39580774307250977, 0.024622075259685516, 0.2638864815235138, -0.15446491539478302, -0.1768830418586731, 0.04377474635839462, -0.3980904817581177, -0.7592196464538574, 0.3140002489089966, 0.2393641173839569, -0.13869407773017883, -0.3446670472621918, -0.2779618203639984, -0.0016216961666941643, 0.6185728311538696, 0.5802552700042725, -0.07429875433444977, -0.6626084446907043, -0.4025309979915619, 0.03128443658351898, -0.27751612663269043, 0.011146174743771553, 1.0422452688217163, -0.6031014323234558, -0.024695927277207375, 0.43009358644485474, 0.7211796641349792, 0.41836073994636536, -0.07463449239730835, 0.6019994020462036, -0.5335685014724731, -0.073092982172966, -0.04683782905340195, 0.3816947042942047, 0.2610868811607361, -0.20763756334781647, 0.8739079236984253, -0.0976160541176796, -0.8291121125221252, -1.3060593605041504, 0.4669344425201416, -0.7874005436897278, -0.548252284526825, 1.3901323080062866, 0.06556129455566406, -0.08768103271722794, 0.3661259412765503, -0.2389345020055771, 0.11564887315034866, -0.3246108889579773, 0.6822047233581543, 0.7181993126869202, -0.3074600100517273, -0.08347593992948532, -0.629755437374115, 0.27502936124801636, 0.5029996633529663, -0.7633748650550842, -0.015439216047525406, 0.6623826622962952, 0.3311542272567749, 0.27321183681488037, 0.5310659408569336, -0.014905203133821487, 0.22091728448867798, 0.12045921385288239, -0.13057777285575867, -0.059390611946582794, -0.3675692081451416, -0.19195887446403503, 0.3320617973804474, 0.5792327523231506, -0.045852966606616974 ]
http://arxiv.org/abs/2404.08666v1
http://arxiv.org/pdf/2404.08666v1
Revealing Trends in Datasets from the 2022 ACL and EMNLP Conferences
2024-03-31T15:13:15
2024-03-31T15:13:15
Jesse Atuhurra, Hidetaka Kamigaito
cs.CL
cs.CL, cs.LG
Natural language processing (NLP) has grown significantly since the advent of the Transformer architecture. Transformers have given birth to pre-trained large language models (PLMs). There has been tremendous improvement in the performance of NLP systems across several tasks. NLP systems are on par or, in some cases, better than humans at accomplishing specific tasks. However, it remains the norm that \emph{better quality datasets at the time of pretraining enable PLMs to achieve better performance, regardless of the task.} The need to have quality datasets has prompted NLP researchers to continue creating new datasets to satisfy particular needs. For example, the two top NLP conferences, ACL and EMNLP, accepted ninety-two papers in 2022, introducing new datasets. This work aims to uncover the trends and insights mined within these datasets. Moreover, we provide valuable suggestions to researchers interested in curating datasets in the future.
[ -0.4756942689418793, -0.5205791592597961, 0.30117854475975037, 0.1381208598613739, -0.01936260424554348, 0.1704559028148651, -0.1613481044769287, -0.6518421173095703, 0.0855235680937767, 0.6637125611305237, -0.41974788904190063, -0.5854297280311584, -0.6738395094871521, 0.390561044216156, -0.8734893202781677, 0.8813117742538452, 0.23606471717357635, -0.08377084881067276, -0.3491792380809784, -0.31586259603500366, -0.7146599292755127, -0.9124607443809509, -0.7855680584907532, -0.483906090259552, 0.2640027701854706, 0.20254074037075043, 0.7201822400093079, 0.8513489365577698, 0.6007459759712219, 0.1972149908542633, -0.09238864481449127, 0.1414509415626526, -0.15500913560390472, 0.3786727786064148, 0.1245100274682045, -0.33685216307640076, -0.38894739747047424, 0.21755647659301758, 0.6578509211540222, 0.9051500558853149, -0.1694878488779068, 0.10087345540523529, 0.1566765457391739, 0.7068095207214355, -0.3253333866596222, 0.23412860929965973, -0.7117480039596558, 0.3382716774940491, -0.5291616320610046, -0.367724746465683, -0.540274441242218, -0.2196359634399414, 0.12013684213161469, -0.450066477060318, 0.4540129005908966, 0.1894902139902115, 0.8537206649780273, 0.36394888162612915, -0.17038549482822418, -0.3372526466846466, -0.5872275829315186, 0.929073691368103, -0.7396774888038635, 0.7022529244422913, 0.3028440773487091, 0.15074802935123444, -0.23252548277378082, -1.0671868324279785, -0.3449711203575134, 0.17143136262893677, -0.16078807413578033, -0.25019970536231995, -0.4468102753162384, -0.21875402331352234, 0.1833547055721283, 0.3476378917694092, -0.8007294535636902, 0.5051538944244385, 0.111405149102211, 0.032778676599264145, 0.7380728721618652, 0.234014093875885, 0.30383995175361633, 0.0734206959605217, -0.035895247012376785, -0.08761714398860931, -0.8407738208770752, -0.19579346477985382, 0.07784903049468994, 0.3255293369293213, -0.006980317644774914, 0.6069369912147522, -0.2387898713350296, 0.8089401721954346, -0.16644544899463654, 0.31753963232040405, 0.42869842052459717, -0.7572218179702759, -0.12221221625804901, 0.019931979477405548, 0.7983393669128418, 0.37277284264564514, 0.362954705953598, -0.21973933279514313, -0.06391706317663193, -0.13088414072990417, 0.0770379826426506, -0.4055786430835724, -0.6313357949256897, 0.18077316880226135, -0.6006396412849426, -0.08764339983463287, -0.09182138741016388, -1.2413429021835327, -0.6175007820129395, -0.7890195250511169, -0.19671837985515594, 0.05396589636802673, -0.09595979750156403, 0.12000681459903717, -0.23580846190452576, 0.4627700448036194, 0.25990864634513855, -0.9312548041343689, 0.3653239607810974, 0.8035188317298889, 0.9089163541793823, -0.4101353883743286, 0.13810884952545166, -0.3406364619731903, -0.2823287844657898, -0.45592328906059265, 0.9581390619277954, -0.5238127112388611, -0.11370540410280228, 0.2946839928627014, -0.1825888454914093, 0.07897315174341202, -0.689590573310852, 0.7835932970046997, -0.5750638246536255, 0.25243133306503296, -0.2662682831287384, -0.31565847992897034, 0.20401038229465485, 0.20101287961006165, -0.8108567595481873, 1.0421608686447144, -0.32579106092453003, -0.7408432960510254, 0.6407039761543274, -0.9988598227500916, -0.4459894001483917, 0.05257474631071091, -0.2699703872203827, -0.43126335740089417, -0.1538761854171753, 0.4980839490890503, 0.39316943287849426, -0.3651300370693207, 0.44550058245658875, -0.12671175599098206, -0.0856194794178009, 0.1948419064283371, -0.4571298062801361, 0.9706129431724548, 0.37911456823349, -0.048822492361068726, -0.09068341553211212, -0.8273558020591736, -0.06949228048324585, 0.026862766593694687, -0.21153922379016876, -0.006340425927191973, 0.3539572060108185, 0.2428337037563324, 0.4432373642921448, 0.15507860481739044, -0.4727270305156708, 0.020950712263584137, -0.5505217909812927, 0.552734375, 0.5057845115661621, 0.1419515162706375, 0.4544879198074341, -0.40069296956062317, 0.3990032970905304, -0.09053371846675873, 0.2629121243953705, -0.2656310200691223, -0.7587680220603943, -0.8930470943450928, 0.274885356426239, 0.24716128408908844, 0.2302776724100113, -0.5474259853363037, 0.7831020355224609, -0.24047300219535828, -0.5127565860748291, -0.6746487021446228, 0.128775954246521, -0.24023233354091644, 0.36076319217681885, 0.6362748146057129, -0.14229847490787506, -1.0173375606536865, -0.7363150715827942, -0.5385953187942505, 0.1497180014848709, -0.054639797657728195, 0.15555334091186523, 0.0754605308175087, -0.026321876794099808, 1.2216769456863403, -0.4611634910106659, -0.3980158567428589, -0.4543846547603607, 0.3714407682418823, 0.43954309821128845, 0.48864468932151794, 0.4448085129261017, -1.007757306098938, -0.4233558177947998, -0.19964660704135895, -0.6930538415908813, -0.25324374437332153, -0.040352463722229004, 0.13415676355361938, 0.535742461681366, 0.7517950534820557, -0.34854504466056824, 0.3205263912677765, 0.7475826144218445, -0.3241821229457855, 0.32921233773231506, 0.1186804473400116, -0.10972357541322708, -0.8396602869033813, 0.20824874937534332, -0.030390756204724312, -0.19101673364639282, -0.8480323553085327, -0.3919077515602112, -0.4195813536643982, -0.24486930668354034, -0.16883304715156555, 0.5130220055580139, -0.36221808195114136, -0.18754328787326813, -0.23527757823467255, 0.073837049305439, 0.05363241210579872, -0.0036248534452170134, 0.2665107548236847, 0.5793238878250122, 0.5578688383102417, -0.7262090444564819, 0.3629389703273773, 0.6015563607215881, -0.4093322157859802, 0.005276412237435579, -0.5948015451431274, 0.251067578792572, -0.007050348445773125, 0.3785019814968109, -0.5746243000030518, 0.0867224633693695, 0.0380551852285862, -0.40794965624809265, 0.18783584237098694, 0.1486910581588745, -0.814064085483551, -0.5054856538772583, -0.15073981881141663, 0.09258449077606201, 0.39030036330223083, -0.6697499752044678, 0.5477418899536133, 0.6086271405220032, -0.2577967643737793, -0.6844434142112732, -0.8123047947883606, 0.4971356987953186, -0.15394066274166107, -0.26718807220458984, 0.20779363811016083, -0.0781986340880394, -0.3595612347126007, -0.13424302637577057, 0.06812087446451187, -0.043989598751068115, 0.06357978284358978, 0.13565917313098907, 0.20963698625564575, -0.11256913840770721, 0.1593310683965683, -0.3599698543548584, -0.17034058272838593, 0.22091716527938843, -0.3020094335079193, 1.028754711151123, 0.03781014308333397, -0.02173629403114319, -0.5068882703781128, 0.22887906432151794, 0.010327174328267574, -0.3732607662677765, 0.6301584243774414, 0.5330169200897217, -0.19181564450263977, -0.2889383137226105, -0.5391159653663635, -0.23925183713436127, -0.48606398701667786, 0.1795998066663742, 0.055632755160331726, -0.8320428729057312, 0.2894958555698395, 0.00537267979234457, 0.5831747651100159, 0.4818512201309204, 0.5124159455299377, -0.09976546466350555, 1.016701340675354, 0.6080514192581177, -0.025780867785215378, 0.6654570698738098, -0.21969284117221832, 0.4704661965370178, -0.6554344296455383, -0.2787025272846222, -0.988812267780304, -0.3508952856063843, -0.9608631134033203, -0.2530510127544403, -0.09992469102144241, -0.35817644000053406, 0.04033734276890755, 0.425107479095459, -0.4847928285598755, 0.4577590227127075, 0.640303373336792, -0.43108853697776794, 0.5264580249786377, -0.14071092009544373, 0.2766645848751068, -0.06208894029259682, -0.8227649331092834, -0.5374518632888794, 1.359454870223999, 0.3013562262058258, 0.5205643773078918, -0.39151957631111145, 0.5431407690048218, 0.4346102178096771, 0.15319135785102844, -0.5492116808891296, 0.524773120880127, -0.3776608407497406, -0.5488710999488831, -0.2706829905509949, -0.41062113642692566, -1.2753080129623413, -0.07316972315311432, -0.2661542296409607, -0.4146556556224823, 0.46842190623283386, 0.058289434760808945, -0.019588470458984375, 0.1827961653470993, -0.33110180497169495, 0.618424654006958, -0.023515136912465096, 0.10778962820768356, 0.0749669298529625, -0.7434704899787903, -0.04627443104982376, -0.09706012159585953, 0.14821437001228333, -0.3969637155532837, 0.1310814619064331, 1.0376964807510376, 0.11923182755708694, 0.4836951196193695, -0.058993276208639145, -0.05312959477305412, 0.2793900966644287, -0.41778382658958435, 0.42077478766441345, 0.017211342230439186, -0.3459823727607727, 0.2533348500728607, -0.13239865005016327, -0.23901435732841492, -0.37626075744628906, 0.6632289886474609, -0.5119370222091675, -0.26718536019325256, -0.438289076089859, -0.4440494179725647, -0.37413811683654785, 0.027394041419029236, 0.2722909450531006, 0.6716402769088745, -0.23666635155677795, 0.42161452770233154, 0.5923959612846375, -0.329894095659256, 0.9044774770736694, 0.3341677486896515, -0.11679773032665253, -0.13413840532302856, 0.6235966086387634, 0.2989586889743805, 0.09381990134716034, 0.34269168972969055, -0.06694276630878448, -0.41522374749183655, -0.7215237617492676, -0.012172872200608253, -0.030689662322402, -0.5316774845123291, -0.5112670660018921, -0.7617806196212769, -0.41686075925827026, -0.66506427526474, -0.06599225848913193, -0.30337852239608765, -0.46962520480155945, -0.39096152782440186, -0.005467935930937529, 0.16129033267498016, 0.8395214676856995, -0.10483621060848236, 0.10282332450151443, -0.5710194706916809, 0.3124833405017853, 0.10114606469869614, 0.4452301859855652, -0.06508319079875946, -0.38260725140571594, -0.2892589867115021, 0.0159896407276392, -0.421162873506546, -0.3216729164123535, 0.847938597202301, 0.48046937584877014, 0.4918701946735382, 0.2578311860561371, 0.04905077815055847, 0.32412517070770264, -0.42843809723854065, 0.9755560159683228, -0.032383013516664505, -0.6799986958503723, 0.7070661783218384, -0.2938161790370941, 0.3709709346294403, 0.618906557559967, 0.46455541253089905, -0.9210600852966309, -0.4098212718963623, -0.837577760219574, -0.9247843027114868, 0.774480402469635, 0.14366163313388824, 0.1359310895204544, 0.1516055166721344, 0.24839664995670319, 0.26032912731170654, 0.407240092754364, -0.6421180963516235, -0.6094978451728821, -0.16168919205665588, -0.3200611472129822, -0.1115117222070694, 0.09494826197624207, 0.002687901956960559, -0.23794187605381012, 0.5266914367675781, -0.12802155315876007, 0.46927037835121155, -0.15099476277828217, 0.1424071043729782, -0.0691302940249443, 0.31066617369651794, 0.21905721724033356, 0.866995632648468, -0.20748461782932281, 0.25222426652908325, 0.08480604737997055, -0.4619618058204651, -0.08455288410186768, 0.1760159283876419, -0.23785926401615143, 0.28117039799690247, 0.456630676984787, 0.5485790371894836, -0.07239548116922379, -0.7244609594345093, 0.3432275354862213, -0.1293753683567047, -0.1407664716243744, -0.4407919645309448, 0.06593893468379974, -0.2238687127828598, -0.06009931117296219, 0.5414218306541443, 0.20399980247020721, 0.27520614862442017, -0.6644852757453918, 0.4170224368572235, 0.1536068469285965, -0.37307631969451904, -0.40835967659950256, 0.3693627417087555, 0.16323700547218323, -0.23729941248893738, 0.9230527281761169, 0.15242932736873627, -0.2342601865530014, 0.3897596597671509, 0.49837207794189453, 0.7017495632171631, -0.004868487827479839, 0.11574030667543411, 0.31731924414634705, 0.15188512206077576, 0.003380976151674986, 0.07339745759963989, 0.23066698014736176, -1.0265007019042969, -0.6000030040740967, -0.7791468501091003, -0.3101067543029785, 0.5444265007972717, -0.6951977014541626, 0.48789048194885254, -0.21161265671253204, -0.08946605026721954, 0.0540265291929245, 0.3463857173919678, -0.9404914379119873, 0.2657182216644287, 0.3110601305961609, 0.9843476414680481, -0.9447540044784546, 0.826407253742218, 0.5111536383628845, -0.07008485496044159, -0.34145721793174744, -0.17040321230888367, 0.11206303536891937, -0.5894994139671326, 0.5160773396492004, 0.1529390960931778, 0.47332191467285156, 0.12833234667778015, -0.7815582156181335, -0.916208028793335, 0.9191089272499084, 0.02465173229575157, -0.5988197326660156, -0.261478066444397, 0.6038328409194946, 0.6628163456916809, -0.44092145562171936, -0.18070396780967712, 0.9861267805099487, 0.6329725384712219, -0.2080557644367218, -0.7780292630195618, -0.35074013471603394, -0.18087558448314667, -0.14068523049354553, 0.49939724802970886, -0.22650375962257385, 0.6125140190124512, 0.1747189313173294, -0.39782556891441345, -0.009099287912249565, 0.8087818026542664, 0.2980712950229645, 0.4548095762729645, 0.2996211647987366, 0.5531166791915894, 0.6993691325187683, -0.5777847766876221, 0.8374007344245911, -0.03085034154355526, 0.08135763555765152, 1.2719393968582153, -0.24125297367572784, 1.0233724117279053, 0.4070085287094116, -0.2299308329820633, 0.3199186623096466, 0.5059555768966675, -0.45021796226501465, 0.2755121886730194, 0.02525387704372406, 0.0677841529250145, -0.1846182942390442, -0.5657291412353516, -0.4161202907562256, 0.6653075218200684, 0.49761876463890076, -0.45306074619293213, -0.3798648715019226, 0.3449932038784027, 0.052751246839761734, 0.12639662623405457, -0.176022469997406, 1.0927895307540894, 0.08055748790502548, -0.5268933176994324, 0.03642575442790985, -0.2667277157306671, 0.7955113053321838, -0.37798044085502625, -0.15163654088974, -0.2672111392021179, -0.06980551779270172, -0.07157210260629654, -1.1256378889083862, 0.5358755588531494, -0.03561771661043167, -0.014792297966778278, -0.755357563495636, 0.7439911961555481, -0.454332172870636, -0.16786344349384308, 0.2223731130361557, 0.4861783981323242, 0.08386041969060898, 0.03629662096500397, -0.6659536957740784, 0.07957614213228226, -0.25077107548713684, -0.07781095057725906, 0.3428764045238495, 0.3824273645877838, 0.1964825987815857, 0.6742039918899536, 0.6774445176124573, 0.25450214743614197, 0.30421528220176697, 0.21393434703350067, 0.8911430835723877, -0.5076133012771606, -0.1686258316040039, -0.6012795567512512, 0.1734647899866104, -0.21843492984771729, -0.4585943818092346, 0.8218080401420593, 0.7313175797462463, 0.6810416579246521, 0.15419214963912964, 0.6377851963043213, -0.2800253629684448, 0.7320080995559692, -0.5503907799720764, 0.6395869255065918, -0.1518525928258896, 0.1384948045015335, 0.12799593806266785, -0.7846987843513489, -0.5994375348091125, 0.25550350546836853, -0.16163834929466248, 0.05813250690698624, 0.4018633961677551, 0.5432369112968445, 0.4138515293598175, 0.41544604301452637, 0.08405563235282898, 0.16597779095172882, 0.7581415772438049, -0.00036676382296718657, 0.7385892271995544, -0.5704836249351501, 0.39878907799720764, -0.2627011239528656, 0.2045857459306717, -0.25660109519958496, -0.9729295969009399, -0.5821865200996399, -0.880894124507904, -0.4052533507347107, 0.012010003440082073, 0.09044155478477478, 0.9914605617523193, 0.4638146162033081, -1.2301836013793945, -0.08519569039344788, -0.508633553981781, -0.07977904379367828, -0.26776474714279175, -0.30237987637519836, 0.4162205159664154, -0.7629592418670654, -0.6961883306503296, 0.4922334849834442, 0.07689963281154633, 0.07335969805717468, 0.028971727937459946, 0.29703375697135925, -0.6535382866859436, 0.00723237032070756, 0.6424896121025085, 0.3130800724029541, -0.4855945408344269, -0.0983891710639, -0.00868830643594265, 0.16420364379882812, 0.3549407720565796, 0.8684087991714478, -0.9050387144088745, 0.3320191204547882, 0.6401405334472656, 0.5765026807785034, 0.19912342727184296, 0.09391520917415619, 0.9047437310218811, -0.9471431970596313, -0.15561068058013916, 0.6688765287399292, 0.17932827770709991, 0.4857960641384125, -0.042397696524858475, 0.7448976039886475, 0.013950386084616184, -0.8987427353858948, -0.9574697613716125, -0.1736723780632019, -0.8435612320899963, -0.09026560187339783, 0.9919191002845764, 0.23981554806232452, 0.20302824676036835, -0.796834409236908, 0.128557488322258, 0.18657030165195465, -0.28867459297180176, 0.6665101647377014, 0.6693834066390991, -0.5324773192405701, -0.21781393885612488, -0.7846740484237671, 1.0782103538513184, 0.3326045870780945, -1.2226364612579346, 0.40593692660331726, 0.14913080632686615, -0.3269398808479309, 0.33892878890037537, 0.19413399696350098, -0.3177669644355774, 0.003018277697265148, -0.21223028004169464, -0.025805409997701645, 0.14545343816280365, -0.6920090913772583, -0.3667554259300232, 0.2760840356349945, 0.12940141558647156, 0.16062192618846893 ]
http://arxiv.org/abs/2404.00699v1
http://arxiv.org/pdf/2404.00699v1
How Much are LLMs Contaminated? A Comprehensive Survey and the LLMSanitize Library
2024-03-31T14:32:02
2024-03-31T14:32:02
Mathieu Ravaut, Bosheng Ding, Fangkai Jiao, Hailin Chen, Xingxuan Li, Ruochen Zhao, Chengwei Qin, Caiming Xiong, Shafiq Joty
cs.CL
cs.CL
With the rise of Large Language Models (LLMs) in recent years, new opportunities are emerging, but also new challenges, and contamination is quickly becoming critical. Business applications and fundraising in AI have reached a scale at which a few percentage points gained on popular question-answering benchmarks could translate into dozens of millions of dollars, placing high pressure on model integrity. At the same time, it is becoming harder and harder to keep track of the data that LLMs have seen; if not impossible with closed-source models like GPT-4 and Claude-3 not divulging any information on the training set. As a result, contamination becomes a critical issue: LLMs' performance may not be reliable anymore, as the high performance may be at least partly due to their previous exposure to the data. This limitation jeopardizes the entire progress in the field of NLP, yet, there remains a lack of methods on how to efficiently address contamination, or a clear consensus on prevention, mitigation and classification of contamination. In this paper, we survey all recent work on contamination with LLMs, and help the community track contamination levels of LLMs by releasing an open-source Python library named LLMSanitize implementing major contamination detection algorithms, which link is: https://github.com/ntunlp/LLMSanitize.
[ -0.24624039232730865, -0.539731502532959, 0.7048125267028809, -0.12828898429870605, -0.12811574339866638, -0.09861226379871368, -0.06417019665241241, -0.8007111549377441, -0.048839569091796875, 0.9271872043609619, -0.3144552409648895, -0.41083669662475586, -0.886346161365509, 0.05521884560585022, -0.6916798949241638, 1.0867109298706055, 0.14326748251914978, -0.3452269434928894, -0.39490067958831787, 0.03771675005555153, -0.07331222295761108, -0.6198975443840027, -0.6095290184020996, -0.4705367088317871, 0.7203817963600159, 0.3346809446811676, 0.4754025340080261, 0.7918264865875244, 0.638146698474884, 0.38002240657806396, -0.5937960147857666, -0.04436502233147621, -0.4135012924671173, 0.393938809633255, -0.43169230222702026, -0.7293205261230469, -0.33263710141181946, -0.0129800820723176, 0.3286631107330322, 0.6327974796295166, -0.17627328634262085, 0.3552185595035553, 0.24322916567325592, 0.6270580291748047, -0.6863627433776855, -0.034152451902627945, -0.7867060303688049, -0.11903542280197144, -0.41899293661117554, -0.20293910801410675, -0.1849638819694519, -0.19838881492614746, -0.03761295601725578, -0.4929814040660858, -0.1678653210401535, -0.28343766927719116, 0.7489970922470093, 0.6015932559967041, -0.34937211871147156, -0.1552429050207138, -0.7296305298805237, 1.011545181274414, -0.8055859208106995, -0.15901094675064087, 0.6349887847900391, -0.011367610655725002, -0.27312344312667847, -0.8958494663238525, -0.1500331610441208, -0.16513872146606445, 0.3151777684688568, -0.1994275450706482, -0.3651297092437744, -0.1342974752187729, 0.13714848458766937, 0.30211958289146423, -0.4308607280254364, 0.24935972690582275, -0.1503373682498932, -0.341106116771698, 0.6018916368484497, 0.1289929747581482, 0.6408579349517822, -0.21487267315387726, -0.5724434852600098, 0.10830558091402054, -1.1287295818328857, -0.27323535084724426, 0.30996283888816833, 0.024168170988559723, 0.16426731646060944, 0.741278350353241, -0.1902625411748886, 0.4652901887893677, -0.5553717613220215, -0.010008640587329865, -0.0017476017819717526, -0.6861759424209595, -0.2691710889339447, -0.10214629024267197, 0.7390803098678589, 0.24673476815223694, 0.4422267973423004, -0.14179278910160065, -0.1825215369462967, -0.06922261416912079, 0.18546457588672638, -0.7688979506492615, -0.24629360437393188, 0.4380342662334442, -0.08660051226615906, -0.4609120488166809, -0.36223500967025757, -0.47772279381752014, -0.8107813596725464, -0.2951194643974304, 0.4150420129299164, 0.06085857376456261, -0.37464991211891174, 0.11964599788188934, 0.06696473062038422, -0.2580612599849701, 0.471270889043808, -0.8264478445053101, -0.03112494759261608, 0.9370039105415344, 0.7571543455123901, -0.0697830393910408, -0.004002559930086136, -0.3258821964263916, 0.03144083544611931, -0.035379428416490555, 0.8543938994407654, -0.18793609738349915, -0.30786189436912537, 0.10952898114919662, -0.14074575901031494, 0.24968993663787842, -1.009769320487976, 0.5406028628349304, -0.34069934487342834, -0.04226403683423996, -0.13147184252738953, -0.5055758357048035, -0.040009837597608566, 0.4166240096092224, -0.6852890849113464, 0.8825414180755615, -0.08496622741222382, -1.0024421215057373, 0.03243895620107651, -0.16695371270179749, -0.09117922931909561, 0.31825292110443115, 0.007310406304895878, -0.2716377079486847, -0.13621945679187775, 0.10775990039110184, 0.3864266574382782, -0.23742416501045227, 0.443246066570282, -0.34189075231552124, -0.40981024503707886, 0.40074557065963745, -0.7237765192985535, 1.1124992370605469, 0.2718368172645569, -0.2248389720916748, 0.13962121307849884, -0.6664451360702515, -0.005677581764757633, -0.18224892020225525, -0.5497510433197021, -0.37105804681777954, 0.03261587768793106, -0.009607948362827301, 0.2506881356239319, 0.41724637150764465, -0.3978334665298462, 0.1481955349445343, -0.277983158826828, 0.615148663520813, 0.9304244518280029, 0.2918630838394165, 0.2007606327533722, -0.5186498165130615, 0.5558651685714722, 0.05944177880883217, 0.2906702160835266, -0.13653524219989777, -0.6024672389030457, -0.8132156729698181, -0.1313212513923645, 0.2659221589565277, 0.5686585903167725, -0.7310143709182739, 0.43939054012298584, -0.24624808132648468, -0.6767835021018982, -0.3854637145996094, 0.23317396640777588, -0.0029238981660455465, 0.3261381983757019, 0.23778583109378815, 0.2184356302022934, -0.32155758142471313, -0.8870293498039246, -0.38352352380752563, -0.22491280734539032, -0.5135690569877625, 0.3641548752784729, 0.6664824485778809, -0.39751771092414856, 0.8141571879386902, -0.38295140862464905, -0.30593836307525635, 0.04039926826953888, -0.04661876708269119, 0.09855476766824722, 0.4070667326450348, 0.21893759071826935, -0.43006056547164917, -0.23393085598945618, -0.12772169709205627, -0.7567644715309143, -0.3626595735549927, 0.16994008421897888, -0.19956789910793304, -0.08892787992954254, 0.641886830329895, -0.42963147163391113, 0.074172742664814, 0.7933703660964966, -0.13681843876838684, 0.48196929693222046, -0.02749887853860855, -0.07196246832609177, -1.086504578590393, 0.3416803479194641, 0.07764862477779388, -0.26078954339027405, -0.6364911794662476, 0.194724902510643, -0.15972906351089478, 0.12427431344985962, -0.7726756930351257, 0.359914094209671, -0.18517948687076569, 0.21054072678089142, -0.30529212951660156, 0.6372530460357666, 0.057762261480093, 0.05531514063477516, -0.17076687514781952, 0.8856648802757263, 0.35101181268692017, -0.3810792565345764, 0.47293153405189514, 0.19723515212535858, -0.6407981514930725, 0.22844086587429047, -0.6475046277046204, 0.06368967890739441, 0.17801018059253693, 0.15137609839439392, -0.8005253672599792, -0.10267559438943863, 0.36247217655181885, -0.3018946945667267, 0.19856643676757812, -0.3168376684188843, -0.6609296202659607, 0.11926262825727463, -0.23191383481025696, 0.37596142292022705, 0.15755605697631836, -0.6201551556587219, 0.39932507276535034, 0.526265561580658, -0.38105854392051697, -0.8958211541175842, -0.8988688588142395, 0.4751567542552948, -0.31813645362854004, -0.7089271545410156, -0.24839380383491516, -0.0649212971329689, -0.5449259877204895, 0.12045367807149887, -0.21758954226970673, 0.008252217434346676, 0.7116857171058655, 0.10289140790700912, 0.026457682251930237, -0.0651896744966507, 0.08571363985538483, -0.20025557279586792, -0.05229738727211952, 0.3474508821964264, -0.007864830084145069, 0.7524020075798035, 0.07230963557958603, -0.5042704343795776, -0.37947580218315125, 0.060713741928339005, 0.4550289213657379, -0.35412150621414185, 0.5661941170692444, 0.15026013553142548, -0.41185081005096436, -0.15827511250972748, -0.3747079074382782, 0.08333155512809753, -0.5606333017349243, 0.6476800441741943, 0.20838406682014465, -0.7346228957176208, 0.23705527186393738, -0.14990225434303284, -0.009025330655276775, 0.3954683840274811, 0.5177979469299316, -0.22653746604919434, 0.44099411368370056, 0.48823627829551697, -0.40766358375549316, 0.4089069068431854, -0.22861869633197784, 0.08429348468780518, -0.7723731994628906, -0.2830379903316498, -0.7970094680786133, -0.1310470849275589, -0.46784707903862, -0.48824480175971985, 0.3413119614124298, 0.02193153277039528, -0.17137597501277924, 0.15838651359081268, -0.32907795906066895, 0.5697786211967468, 0.5825517773628235, 0.0830264538526535, 0.6906323432922363, -0.16025100648403168, 0.2076595425605774, 0.11724860966205597, -0.45714104175567627, -0.7585039138793945, 1.0961036682128906, 0.46140334010124207, 0.8187240958213806, 0.15170782804489136, 0.950075626373291, 0.2342115342617035, 0.527725100517273, -0.5976144075393677, 0.5809746384620667, -0.09038953483104706, -0.7990559935569763, -0.34115540981292725, -0.594165027141571, -1.0212100744247437, 0.22467757761478424, -0.08414831757545471, -0.7830348610877991, 0.04628651589155197, -0.14488485455513, -0.02381082810461521, 0.5310834646224976, -0.14872105419635773, 0.5566639304161072, -0.13952843844890594, -0.4097992181777954, -0.08805129677057266, -0.6034242510795593, 0.6932550072669983, -0.3428254723548889, 0.3402113914489746, -0.4477122128009796, -0.12481347471475601, 0.6042878031730652, -0.16640682518482208, 0.8425021767616272, 0.11117231100797653, -0.600226104259491, 0.308860719203949, 0.09570550918579102, 0.450275182723999, -0.045689161866903305, 0.04046129807829857, 0.3278312087059021, 0.13321273028850555, -0.2652062475681305, -0.16748042404651642, 0.6338909864425659, -0.6564860939979553, -0.5698930025100708, -0.6323442459106445, -0.5617428421974182, -0.11460164934396744, 0.2511977255344391, 0.4181036055088043, 0.2195812463760376, -0.031499095261096954, 0.3859802782535553, 0.9112056493759155, -0.43653419613838196, 0.5687047243118286, 0.21700066328048706, -0.2269212305545807, -0.3588094413280487, 0.8983379602432251, -0.03411982208490372, 0.5472286343574524, 0.372073233127594, 0.27167436480522156, -0.191922128200531, -0.6296252608299255, -0.23952440917491913, 0.3830792307853699, -0.6556934714317322, -0.37535759806632996, -0.589719831943512, -0.3495688736438751, -0.28140392899513245, 0.3758082091808319, -0.28603848814964294, -0.2945761978626251, -0.6845293641090393, 0.0053536733612418175, 0.08384289592504501, 0.8446376919746399, -0.06555111706256866, 0.2760368287563324, -0.8639163970947266, 0.07083563506603241, 0.021105578169226646, 0.4094136953353882, -0.16503101587295532, -0.44189953804016113, -0.32327795028686523, 0.2052471935749054, -0.251971572637558, -0.6932380795478821, 0.3136514723300934, -0.09448498487472534, 0.5767608284950256, 0.6474696397781372, 0.13751079142093658, 0.23830154538154602, -0.2720780372619629, 0.9600220918655396, -0.10902900248765945, -0.8461558222770691, 0.3263263702392578, -0.51491779088974, 0.13296006619930267, 0.525295615196228, 0.4445362389087677, -1.0404720306396484, -0.8449327349662781, -0.5150552988052368, -1.0182045698165894, 0.5414212346076965, 0.10415342450141907, 0.14567673206329346, 0.10007774829864502, 0.20257319509983063, -0.3987981081008911, 0.36197513341903687, -0.6410743594169617, -0.22670239210128784, 0.21248148381710052, -0.18605290353298187, -0.18475794792175293, -0.6030500531196594, -0.3549278974533081, 0.21200883388519287, 0.8014351725578308, 0.3155892789363861, -0.28326407074928284, -0.15911512076854706, -0.366656631231308, 0.16790685057640076, 0.35509148240089417, 0.6899183392524719, 0.48608511686325073, -0.089792899787426, 0.3132365047931671, -0.16671684384346008, -0.6942269802093506, 0.24626226723194122, -0.23744119703769684, -0.33013108372688293, -0.3561498522758484, 0.5144044160842896, 0.05644488334655762, 0.05016997829079628, -1.0248790979385376, 0.6833767294883728, 0.03953815996646881, -0.24102558195590973, -0.4427143633365631, 0.13477976620197296, 0.5297221541404724, 0.2920818328857422, 0.2472965568304062, 0.04020080342888832, 0.22640150785446167, -0.5137906670570374, 0.3885631561279297, 0.29674771428108215, 0.011029071174561977, 0.16348151862621307, 0.7182812094688416, 0.2147926241159439, -0.04033101350069046, 0.7080760598182678, 0.24552251398563385, -0.4744339883327484, 0.6465233564376831, 0.15082713961601257, 0.6605575680732727, -0.23596562445163727, -0.05641024559736252, 0.03581154718995094, 0.643481433391571, -0.15340103209018707, 0.056790608912706375, 0.13010506331920624, -0.7546051740646362, -0.539885401725769, -0.5792011022567749, -0.5245544910430908, 0.5581009387969971, -0.6287832856178284, 0.018299339339137077, -0.41160669922828674, -0.14687970280647278, -0.22724048793315887, 0.13855604827404022, -0.16604262590408325, -0.005216892808675766, 0.33205899596214294, 0.9329025149345398, -1.0589033365249634, 0.553053081035614, 0.25247862935066223, -0.4166845679283142, -0.37641170620918274, -0.013441537506878376, 0.10696472227573395, -0.6492306590080261, 0.51048743724823, 0.09818919003009796, -0.07567186653614044, -0.10440878570079803, -0.6059594750404358, -1.1338517665863037, 0.7590940594673157, 0.36103853583335876, -0.45638909935951233, 0.020722027868032455, 0.38564935326576233, 0.47932589054107666, 0.42260977625846863, 0.12723316252231598, 0.777305543422699, 0.5333580374717712, -0.29516810178756714, -0.6779154539108276, -0.09246116876602173, -0.2869897484779358, -0.08706440031528473, 0.14545990526676178, -0.4613555669784546, 0.5974725484848022, 0.13863974809646606, -0.2219068855047226, 0.48293840885162354, 0.3088846802711487, 0.2503022253513336, 0.30576732754707336, 0.2928914725780487, 0.551471471786499, 0.800615131855011, -0.2567804455757141, 0.724709689617157, -0.22730854153633118, 0.3710741400718689, 1.197022795677185, -0.22360065579414368, 1.0262277126312256, 0.4750783443450928, -0.3375774621963501, 0.10945701599121094, 0.6563020348548889, -0.2706558108329773, 0.1783934235572815, 0.5759544968605042, -0.6205751299858093, -0.1119336485862732, -0.3314610421657562, -0.12985935807228088, 0.4562109708786011, 0.39559417963027954, -0.3674352765083313, -0.4819107949733734, 0.05296286568045616, 0.3291358947753906, 0.04865138977766037, -0.2064758539199829, 0.7618722319602966, 0.05807840824127197, -0.5263884663581848, 0.43387794494628906, -0.038956958800554276, 0.6656746864318848, -0.39284181594848633, 0.05948197841644287, -0.4274612069129944, 0.18754690885543823, -0.40850263833999634, -0.8468312621116638, 0.21097564697265625, -0.020043043419718742, 0.0958767980337143, -0.2849365174770355, 0.5775696635246277, -0.49959179759025574, -0.1720140278339386, 0.32620304822921753, 0.6137967109680176, 0.573463499546051, -0.40045881271362305, -0.3491659462451935, 0.27192431688308716, 0.023195352405309677, -0.2782984972000122, 0.47536513209342957, 0.20890869200229645, 0.14269085228443146, 1.0010539293289185, 0.6630351543426514, 0.36924880743026733, 0.29609668254852295, 0.006200676783919334, 0.7618987560272217, -0.39398548007011414, 0.05375910922884941, -0.8550943732261658, 0.36079853773117065, 0.10789356380701065, -0.17347995936870575, 0.5549747943878174, 0.7189108729362488, 0.6970505118370056, 0.3601979613304138, 0.7337793707847595, 0.411687970161438, 0.4246552288532257, -0.5257957577705383, 0.878606379032135, -0.6093403100967407, 0.6912744641304016, -0.0622519925236702, -0.8303395509719849, -0.3086751699447632, 0.19921767711639404, 0.07353128492832184, -0.05569273605942726, 0.5427796244621277, 0.6642822623252869, 0.14994485676288605, -0.07814978063106537, 0.33645421266555786, 0.41903790831565857, 0.7283366918563843, 0.42764538526535034, 1.1035658121109009, -0.06053880229592323, 0.7431991696357727, -0.4538719654083252, -0.1874820590019226, -0.290940523147583, -1.00455904006958, -0.4695667028427124, -0.2781883478164673, -0.35164085030555725, -0.3609688878059387, -0.11090059578418732, 0.5711719989776611, 0.09954486787319183, -0.5977774858474731, -0.15210910141468048, 0.0004419976321514696, 0.13170021772384644, -0.09139572083950043, -0.14949040114879608, 0.3074687421321869, -0.39527463912963867, -0.9864922761917114, 0.39770835638046265, -0.07376980781555176, 0.008988076820969582, -0.35809269547462463, 0.6169992089271545, -0.2816332280635834, -0.018907466903328896, 0.6437870860099792, 0.20633916556835175, -0.5066543817520142, -0.27598974108695984, -0.16934734582901, -0.44417890906333923, 0.013517103157937527, 0.4542171359062195, -0.24096457660198212, 0.14868606626987457, 0.5397224426269531, 0.8144931793212891, 0.40453094244003296, 0.07755250483751297, 0.22885644435882568, -0.720676839351654, -0.1423240751028061, 0.4319474399089813, 0.5458869338035583, 0.42546823620796204, -0.5235465168952942, 0.6984875798225403, 0.15108497440814972, -0.8858347535133362, -1.0317507982254028, 0.2521744966506958, -0.8320066928863525, -0.5041859149932861, 1.4492571353912354, -0.17388415336608887, -0.18084347248077393, -0.19600611925125122, 0.03549744933843613, 0.16747158765792847, 0.025063348934054375, 0.6625517010688782, 0.8863924741744995, -0.1103789284825325, 0.0326237827539444, -0.9307005405426025, 0.20490771532058716, 0.1944015473127365, -0.9847580194473267, 0.3486591875553131, 0.5558568239212036, 0.8392212390899658, 0.09353388100862503, 0.5265174508094788, -0.3281119465827942, -0.12838320434093475, -0.030287573114037514, 0.0711679756641388, -0.0033611322287470102, -0.32152238488197327, -0.5566565990447998, -0.0760047510266304, 0.23055000603199005, -0.16453026235103607 ]
http://arxiv.org/abs/2404.00685v2
http://arxiv.org/pdf/2404.00685v2
Scaling Properties of Speech Language Models
2024-03-31T13:30:12
2024-04-16T06:46:18
Santiago Cuervo, Ricard Marxer
eess.AS
eess.AS, cs.AI, cs.CL, cs.NE
Speech Language Models (SLMs) aim to learn language from raw audio, without textual resources. Despite significant advances, our current models exhibit weak syntax and semantic abilities. However, if the scaling properties of neural language models hold for the speech modality, these abilities will improve as the amount of compute used for training increases. In this paper, we use models of this scaling behavior to estimate the scale at which our current methods will yield a SLM with the English proficiency of text-based Large Language Models (LLMs). We establish a strong correlation between pre-training loss and downstream syntactic and semantic performance in SLMs and LLMs, which results in predictable scaling of linguistic performance. We show that the linguistic performance of SLMs scales up to three orders of magnitude more slowly than that of text-based LLMs. Additionally, we study the benefits of synthetic data designed to boost semantic understanding and the effects of coarser speech tokenization.
[ -0.1022929921746254, -0.5965585112571716, 0.4740975499153137, 0.04066367447376251, -0.05040145665407181, -0.12181743234395981, -0.6316851377487183, -0.5273182392120361, 0.31104692816734314, 0.48812299966812134, -0.2446243017911911, -0.09766082465648651, -0.877753734588623, -0.1564936339855194, -0.4760996401309967, 1.0101639032363892, 0.39886993169784546, 0.4051891565322876, -0.1808474212884903, -0.20139272511005402, -0.3260333836078644, -0.6329631805419922, -0.5943323373794556, -0.6116164922714233, 0.6309845447540283, -0.000050714268581941724, 0.9103724956512451, 0.9373473525047302, 0.5762543082237244, 0.3615029454231262, -0.338623583316803, -0.47778305411338806, -0.4879380166530609, 0.11751808226108551, -0.17048057913780212, -0.8144587874412537, -0.6283535361289978, 0.17308203876018524, 1.1156150102615356, 1.1409471035003662, -0.07750304788351059, 0.3029429614543915, -0.016060365363955498, 0.41699910163879395, -0.2543529272079468, 0.1971229910850525, -1.027569055557251, -0.22726167738437653, -0.013076113536953926, -0.1638363003730774, -0.43184971809387207, 0.06012305989861488, 0.26969242095947266, -0.4701169729232788, 0.2574005424976349, -0.11765219271183014, 0.7850490808486938, 0.21953654289245605, -0.39146772027015686, -0.2326887845993042, -0.7230345010757446, 0.8176167607307434, -1.012986660003662, 0.5700794458389282, 0.401827335357666, 0.12050478905439377, 0.2039150446653366, -0.9133303165435791, -0.3079783618450165, -0.6402222514152527, -0.09268295019865036, -0.39114099740982056, 0.03518931195139885, 0.14940041303634644, 0.2279159128665924, 0.3349497318267822, -0.38380008935928345, 0.45880571007728577, -0.3350333273410797, -0.3003433644771576, 0.6092110276222229, 0.32309868931770325, 0.3433685302734375, -0.0326550267636776, -0.2258351594209671, -0.11670553684234619, -0.46582233905792236, 0.010545402765274048, 0.15471169352531433, 0.8057824373245239, -0.080619215965271, 0.6090280413627625, 0.24203678965568542, 0.6606139540672302, -0.22142435610294342, -0.6962958574295044, 0.29399722814559937, -0.6115666031837463, -0.07089483737945557, 0.03988084942102432, 0.53762286901474, 0.24183911085128784, 0.28462955355644226, -0.2866956889629364, -0.3041246235370636, 0.1360103338956833, 0.14611883461475372, -0.8565642237663269, 0.06154120713472366, -0.15442542731761932, -0.513733983039856, -0.0716341882944107, -0.4540199339389801, -0.16230177879333496, -0.3283401429653168, -0.6592597961425781, 0.816496729850769, -0.41388365626335144, -0.5008020401000977, 0.15413975715637207, -0.037273894995450974, 0.21114012598991394, 0.26087161898612976, -0.9666820168495178, 0.5424813032150269, 0.6205950975418091, 0.8980394005775452, -0.19500261545181274, -0.373701810836792, -0.40980398654937744, -0.12677177786827087, -0.29092851281166077, 0.3784509003162384, -0.4791538417339325, -0.11477436870336533, -0.08315624296665192, -0.08216939121484756, -0.1744513362646103, -0.5686848163604736, 0.3210926651954651, -0.39785996079444885, -0.31246039271354675, 0.00011735465523088351, -0.7108742594718933, 0.08139307051897049, -0.06826193630695343, -0.7360092401504517, 0.6793131828308105, -0.07620731741189957, -0.6797453165054321, 0.4604853093624115, -0.35945063829421997, -0.5613616704940796, 0.1312606781721115, 0.05513555556535721, -0.2743481695652008, 0.438475638628006, -0.16165290772914886, 0.5874916911125183, -0.268056184053421, 0.22962938249111176, -0.2521083652973175, -0.29367324709892273, 0.30566489696502686, -0.3361373543739319, 0.4601685404777527, 0.04795502871274948, -0.07207342982292175, 0.04828145354986191, -0.9455090165138245, 0.26432564854621887, 0.07073560357093811, -0.3939080536365509, -0.36197930574417114, 0.2287258803844452, 0.16183516383171082, 0.07145659625530243, 0.3762781620025635, -0.3528493046760559, -0.17754562199115753, -0.6249133348464966, 0.7378823161125183, 0.6308915615081787, -0.28523966670036316, 0.7369663119316101, -0.13837270438671112, 0.490770548582077, -0.11502822488546371, -0.24883215129375458, -0.2350742071866989, -0.2842850685119629, -0.7478535771369934, -0.2502976953983307, 0.3706315755844116, 0.22330524027347565, -0.25313010811805725, 0.3256763219833374, -0.5522047877311707, -0.5484131574630737, -0.5132232904434204, 0.15339186787605286, 0.32017284631729126, 0.42835748195648193, 0.2440079301595688, -0.1858675181865692, -0.4394369125366211, -0.944317638874054, -0.5784239172935486, -0.25274568796157837, -0.38754802942276, 0.19707834720611572, 0.20233717560768127, -0.023767493665218353, 0.8311397433280945, -0.1533997654914856, -0.2196962982416153, -0.4820030927658081, 0.19543515145778656, 0.07567338645458221, 0.27592217922210693, 0.23101171851158142, -0.6695368885993958, -0.08106918632984161, -0.031183429062366486, -0.2763325572013855, -0.2067422866821289, 0.01708362251520157, 0.4156207740306854, 0.1049051508307457, 0.5811929702758789, -0.4337921440601349, 0.09395512193441391, 0.6989772915840149, -0.32649123668670654, 0.5307773351669312, -0.3293934762477875, -0.2225344032049179, -1.019845724105835, -0.16705043613910675, 0.11737361550331116, -0.10390421003103256, -0.9287369847297668, -0.16090787947177887, 0.05440075695514679, -0.24320507049560547, -0.5500031113624573, 0.4715600609779358, -0.29252445697784424, -0.4847964942455292, -0.18931828439235687, 0.32580071687698364, -0.08300881087779999, 0.3831923305988312, 0.23918308317661285, 0.8738138675689697, 0.4001719057559967, -0.5470776557922363, -0.06322182714939117, -0.35338088870048523, -0.20922169089317322, 0.2810821235179901, -0.9875319600105286, -0.10085707157850266, -0.04782184958457947, -0.024918675422668457, -0.875865638256073, -0.04357343167066574, -0.9293611645698547, -0.6138389110565186, 0.447424054145813, -0.05290677770972252, -0.4701915383338928, -0.04107386991381645, -0.08699347823858261, 0.3570546805858612, 0.47295108437538147, -0.195303812623024, 0.6795742511749268, 0.5164799690246582, -0.21852600574493408, -0.07947240024805069, -0.7183634638786316, 0.08356918394565582, -0.26439738273620605, -0.7140482068061829, 0.33403053879737854, 0.059903550893068314, -0.3827776610851288, -0.22014832496643066, 0.05210617184638977, -0.11110877990722656, 0.1134418323636055, 0.16990719735622406, 0.16481800377368927, -0.541832685470581, 0.5488983392715454, -0.3689347803592682, -0.009615462273359299, 0.31943950057029724, -0.42393890023231506, 0.5794312953948975, -0.5101199746131897, 0.04840335249900818, -0.2925280034542084, 0.02875753864645958, 0.7369812726974487, -0.2829720675945282, 0.9838254451751709, 0.3443773686885834, -0.29582276940345764, -0.17553497850894928, -0.3982318937778473, -0.2925090789794922, -0.42746075987815857, 0.744776725769043, -0.481661856174469, -0.8959176540374756, 0.7048447728157043, 0.002200600691139698, -0.16681711375713348, 0.6308051943778992, 0.7036521434783936, 0.039158593863248825, 1.2131847143173218, 0.7811680436134338, 0.026898426935076714, 0.4852263033390045, -0.23405605554580688, 0.11100130528211594, -0.6951673626899719, -0.18187497556209564, -0.7026922106742859, -0.30905279517173767, -0.821924090385437, -0.48862937092781067, 0.3464001715183258, -0.004421338438987732, -0.22656095027923584, 0.3840448558330536, -0.17207138240337372, 0.35353317856788635, 0.42062729597091675, -0.001704132417216897, 0.28932976722717285, -0.0515439547598362, -0.0002219491288997233, -0.4305327832698822, -0.6321174502372742, -0.4718867242336273, 1.1122568845748901, 0.6674427390098572, 0.8533721566200256, -0.12154623121023178, 0.22379285097122192, 0.1864495426416397, 0.048886530101299286, -0.977201521396637, 0.4856909215450287, -0.16611970961093903, -0.42589902877807617, -0.6430454850196838, -0.6224779486656189, -0.7780415415763855, 0.28925439715385437, -0.3224259316921234, -0.40452706813812256, -0.26036858558654785, -0.0331522598862648, 0.06245090439915657, 0.283374160528183, -0.9516484141349792, 0.5269956588745117, -0.14702196419239044, -0.24884898960590363, -0.37444040179252625, -0.6427686214447021, -0.005708849988877773, -0.26341739296913147, 0.2893015146255493, -0.21057811379432678, -0.46700406074523926, 0.8807539343833923, -0.49308979511260986, 0.6961637139320374, -0.06356248259544373, -0.13898593187332153, 0.029867419973015785, 0.03283781558275223, 0.2895049750804901, -0.06136789917945862, -0.09482347965240479, 0.28544265031814575, -0.12679147720336914, -0.5358211398124695, -0.649416983127594, 0.7062639594078064, -0.9028609395027161, -0.42611777782440186, 0.010260348208248615, -0.7996387481689453, -0.3840356469154358, 0.17059265077114105, 0.0968296229839325, 0.5281561017036438, 0.028763195499777794, 0.2108745276927948, 0.5749808549880981, -0.03723412752151489, 0.5415002107620239, 0.5194531679153442, -0.1601831614971161, -0.2508363723754883, 0.8071361780166626, 0.626030445098877, 0.845661461353302, 0.18342870473861694, 0.3210357129573822, -0.3941795229911804, -0.7869688868522644, -0.1283925324678421, 0.4133860766887665, -0.6103482842445374, 0.0023988336324691772, -0.46291080117225647, -0.3694886565208435, -0.4706542193889618, -0.07010922580957413, -0.5075154900550842, -0.7465314865112305, -0.2390047162771225, -0.237098827958107, 0.3058689534664154, 0.7505150437355042, 0.040721140801906586, 0.3806551694869995, -0.5172237157821655, -0.039845164865255356, 0.25364455580711365, 0.3351587951183319, -0.05948720499873161, -1.1542843580245972, -0.4507521092891693, 0.09933719784021378, 0.06360630691051483, -0.49419260025024414, 0.5350330471992493, 0.5432204604148865, 0.3382587134838104, 0.2381439357995987, -0.39772865176200867, 0.4783914089202881, -0.7675544023513794, 0.8201988935470581, 0.2747029960155487, -0.948176920413971, 0.5495513081550598, -0.4294299781322479, 0.5457074046134949, 0.3210647404193878, 0.366104394197464, -0.28734952211380005, -0.5541313886642456, -0.6179861426353455, -0.7301223874092102, 0.5460696816444397, 0.13183815777301788, 0.5514200329780579, 0.062049850821495056, 0.35647982358932495, -0.10927340388298035, 0.012956402264535427, -0.8183167576789856, -0.13432464003562927, -0.0907694548368454, 0.029352648183703423, -0.5348599553108215, -0.2732574939727783, 0.21509070694446564, -0.41092610359191895, 0.4519694447517395, -0.09242834895849228, 0.05928892642259598, -0.09701507538557053, -0.163423091173172, 0.17299865186214447, 0.19316045939922333, 0.6689798831939697, 0.7307959794998169, -0.10940475016832352, 0.4564076066017151, 0.3612506687641144, -0.5853485465049744, 0.266935795545578, -0.176309734582901, 0.08736643195152283, -0.012536834925413132, 0.7457759976387024, 0.9929174780845642, 0.403217613697052, -0.7609850168228149, 0.44204333424568176, 0.05813685059547424, -0.20914217829704285, -0.19411827623844147, 0.014728802256286144, 0.42075732350349426, -0.018835660070180893, 0.34740328788757324, -0.02249475009739399, -0.0239032581448555, -0.5004797577857971, 0.27985355257987976, 0.321294367313385, -0.3065304160118103, -0.46656519174575806, 0.6182560920715332, 0.05911842733621597, -0.6193444132804871, 0.43942344188690186, 0.18883627653121948, -0.35516905784606934, 0.7112956047058105, 0.7781492471694946, 0.5581691861152649, -0.3354971706867218, -0.07419613748788834, 0.3256494998931885, 0.376251757144928, 0.0843634381890297, -0.19799618422985077, 0.05520418658852577, -0.6598272919654846, -0.6653985977172852, -0.9631150364875793, -0.157796248793602, 0.15362195670604706, -0.7158490419387817, 0.36822599172592163, -0.4425252079963684, -0.510215163230896, 0.33393120765686035, 0.1299300193786621, -0.5771359801292419, 0.2627688944339752, 0.14246277511119843, 0.8264967799186707, -0.877190113067627, 0.8876661062240601, 0.5078513622283936, -0.3429863452911377, -1.0402188301086426, -0.2333468347787857, -0.19827774167060852, -0.805565595626831, 0.9131372570991516, 0.19619177281856537, -0.1825694590806961, 0.06773524731397629, -0.1754055768251419, -1.0837745666503906, 0.8178966045379639, 0.6935943365097046, -0.5119814276695251, -0.3175252079963684, 0.5046465992927551, 0.9061633348464966, -0.5746353268623352, 0.3315361738204956, 0.680120050907135, -0.03994714468717575, 0.15794460475444794, -1.290448546409607, -0.22753536701202393, 0.04351148009300232, 0.4883444607257843, 0.23783403635025024, -0.2663445770740509, 0.9629838466644287, -0.33857178688049316, -0.0012943672481924295, -0.24843350052833557, 0.7509645819664001, -0.2380034625530243, 0.036515433341264725, 0.5182549357414246, 0.6494919061660767, 0.6195681095123291, 0.08384246379137039, 0.9003880023956299, -0.3389361500740051, 0.286092072725296, 1.1677082777023315, -0.1850252002477646, 1.1715340614318848, 0.4627280831336975, -0.3750024139881134, 0.3547761142253876, 0.3130260705947876, 0.3626636862754822, 0.21093474328517914, 0.42616114020347595, -0.2709504961967468, -0.15685054659843445, -0.28968119621276855, -0.2081933468580246, 0.6093278527259827, 0.5381914377212524, -0.607499361038208, -0.053294587880373, 0.3339994549751282, 0.1406901329755783, 0.3790416717529297, -0.6739622950553894, 0.7921254634857178, 0.03322688862681389, -0.2798211872577667, 0.9115676283836365, -0.08942991495132446, 0.6284828782081604, -0.6554745435714722, 0.32583993673324585, -0.10739810764789581, 0.05641014128923416, -0.022004464641213417, -0.47507527470588684, 0.47566384077072144, -0.2134992480278015, -0.4186252951622009, -0.22310908138751984, 0.6710034012794495, -0.5574063062667847, -0.5903480052947998, 0.516177237033844, 0.28726857900619507, 0.347942590713501, 0.22731761634349823, -0.42815467715263367, 0.2194821685552597, -0.4138735234737396, -0.22112613916397095, 0.631604015827179, 0.2792067527770996, 0.09915488958358765, 0.6572990417480469, 0.49880433082580566, 0.6075888872146606, 0.45277202129364014, 0.2559540271759033, 0.6404774785041809, -0.39505475759506226, -0.20924629271030426, -0.7259620428085327, 0.15281632542610168, -0.027641424909234047, -0.08934275805950165, 0.6427904963493347, 0.4562545418739319, 0.8416604399681091, 0.11209821701049805, 0.3915327489376068, 0.21989428997039795, 0.5618045926094055, -0.5613464117050171, 0.7153815031051636, -0.5193029642105103, 0.2543630301952362, 0.02583075687289238, -0.7943717837333679, -0.20322372019290924, 0.46320223808288574, -0.26132380962371826, 0.15452837944030762, 0.5826545357704163, 0.9032771587371826, 0.19122838973999023, -0.226743683218956, 0.7185275554656982, 0.44926249980926514, 0.06431268900632858, 0.3121182918548584, 0.35221242904663086, -0.26816314458847046, 0.41495639085769653, 0.02261606603860855, -0.24097135663032532, 0.08641216158866882, -0.7109083533287048, -0.9038883447647095, -0.7323874235153198, -0.10877130925655365, -0.3743263781070709, -0.19776266813278198, 0.6379685997962952, 0.9162262678146362, -0.3810213804244995, -0.41358938813209534, -0.15850912034511566, -0.1679335981607437, 0.028649237006902695, -0.22435344755649567, 0.22281090915203094, -0.8065798282623291, -0.6105031371116638, 0.3492497205734253, 0.16999240219593048, 0.07949059456586838, -0.5906671285629272, -0.11529956012964249, -0.003528994508087635, 0.4957326650619507, 0.7522912621498108, -0.007223957683891058, -0.8088158369064331, -0.2296895682811737, 0.07421305775642395, -0.2488691508769989, -0.059941019862890244, 0.8927900791168213, -0.7226606011390686, 0.3377130329608917, 0.43476614356040955, 0.6675962805747986, 0.4705251157283783, -0.39644497632980347, 0.6063258647918701, -0.7282218933105469, 0.36080771684646606, 0.32737505435943604, 0.2838773727416992, 0.2865653932094574, -0.0840168297290802, 0.21504893898963928, 0.19132991135120392, -0.5622421503067017, -0.89349365234375, 0.08997827023267746, -0.6597763895988464, -0.12498430162668228, 1.151236653327942, -0.07802406698465347, -0.20422564446926117, 0.26357555389404297, 0.11117668449878693, 0.058880407363176346, -0.003878870280459523, 0.29965221881866455, 0.7765635848045349, -0.0014724471839144826, -0.11872079968452454, -0.5984962582588196, 0.6050529479980469, 0.7327755689620972, -0.5033057332038879, 0.3316039741039276, 0.32027924060821533, 0.2516004145145416, 0.19592715799808502, 0.5670866966247559, -0.1581956148147583, -0.06334540247917175, 0.1858111172914505, -0.0365900844335556, 0.27214866876602173, -0.3550543487071991, -0.7043100595474243, 0.16829991340637207, 0.47880473732948303, 0.2683134973049164 ]
http://arxiv.org/abs/2404.00681v1
http://arxiv.org/pdf/2404.00681v1
CoUDA: Coherence Evaluation via Unified Data Augmentation
2024-03-31T13:19:36
2024-03-31T13:19:36
Dawei Zhu, Wenhao Wu, Yifan Song, Fangwei Zhu, Ziqiang Cao, Sujian Li
cs.CL
cs.CL
Coherence evaluation aims to assess the organization and structure of a discourse, which remains challenging even in the era of large language models. Due to the scarcity of annotated data, data augmentation is commonly used for training coherence evaluation models. However, previous augmentations for this task primarily rely on heuristic rules, lacking designing criteria as guidance. In this paper, we take inspiration from linguistic theory of discourse structure, and propose a data augmentation framework named CoUDA. CoUDA breaks down discourse coherence into global and local aspects, and designs augmentation strategies for both aspects, respectively. Especially for local coherence, we propose a novel generative strategy for constructing augmentation samples, which involves post-pretraining a generative model and applying two controlling mechanisms to control the difficulty of generated samples. During inference, CoUDA also jointly evaluates both global and local aspects to comprehensively assess the overall coherence of a discourse. Extensive experiments in coherence evaluation show that, with only 233M parameters, CoUDA achieves state-of-the-art performance in both pointwise scoring and pairwise ranking tasks, even surpassing recent GPT-3.5 and GPT-4 based metrics.
[ -0.5577126145362854, -0.9588331580162048, 0.3296210467815399, 0.20444832742214203, -0.6032938957214355, 0.25787970423698425, -0.1231050193309784, -0.6423580050468445, 0.34865525364875793, 0.1566755324602127, -0.42938432097435, -0.6132915616035461, -0.2971307039260864, -0.10376258194446564, -0.30545666813850403, 0.9084056615829468, 0.10854333639144897, 0.11164479702711105, -0.4966687262058258, -0.23735924065113068, -0.6319792866706848, -0.4219852685928345, -0.5601741075515747, -0.33005407452583313, 0.12807923555374146, 0.29778414964675903, 0.6170278787612915, 0.17325641214847565, 0.39551177620887756, 0.28789421916007996, -0.23711372911930084, 0.25811681151390076, -0.5781893730163574, 0.23404699563980103, -0.22649997472763062, -0.4127464294433594, -0.746005117893219, -0.13947536051273346, 0.5474483966827393, 1.0548014640808105, -0.19614353775978088, 0.0767325758934021, 0.3214482069015503, 0.38631197810173035, -0.7445086240768433, 0.21782343089580536, -0.4510711431503296, 0.12419535219669342, -0.25110042095184326, -0.18386390805244446, -0.30622509121894836, -0.4324462115764618, 0.37759968638420105, -0.716891884803772, 0.34419822692871094, 0.1556733399629593, 0.8093332648277283, 0.08977337926626205, -0.18277601897716522, -0.15420712530612946, -0.51610267162323, 0.7147977948188782, -0.25276684761047363, 0.4031391143798828, 0.2533784508705139, 0.24587643146514893, -0.17310312390327454, -0.5741868019104004, -0.3965716063976288, -0.20953547954559326, -0.08362530171871185, 0.47924402356147766, -0.2257917821407318, 0.1946500986814499, -0.09480234980583191, 0.8576955795288086, -0.48273125290870667, 0.05129548907279968, -0.2119712382555008, -0.3824421763420105, 0.48455503582954407, 0.03157612308859825, 0.2728944420814514, -0.2920669913291931, -0.5959294438362122, -0.04292925447225571, -0.6904735565185547, -0.0006054450059309602, 0.4398185610771179, 0.10351040959358215, -0.22112397849559784, 0.274074912071228, -0.16086259484291077, 0.8458133935928345, 0.2762400805950165, 0.14983953535556793, 0.09361778199672699, -0.46330684423446655, -0.255108505487442, 0.20103640854358673, 0.7469534277915955, -0.03948308154940605, -0.5742180943489075, -0.22465988993644714, 0.12833832204341888, 0.1685905158519745, 0.3450459837913513, -0.6618558168411255, -0.22106945514678955, 0.1336391568183899, -0.17929451167583466, -0.27572017908096313, 0.08361703902482986, -0.7285233736038208, -0.09378588944673538, -0.3129401206970215, 0.4789130389690399, -0.5935375690460205, -0.11045682430267334, 0.07923930138349533, 0.14267274737358093, 0.2097768783569336, 0.44866910576820374, -0.8253641128540039, 0.6763737797737122, 0.9766697883605957, 0.8250978589057922, -0.4926646053791046, -0.08584385365247726, -0.5487777590751648, 0.007534460164606571, -0.3775084912776947, 0.9149575233459473, -0.6085112690925598, -0.27209538221359253, -0.3858586251735687, -0.22272032499313354, 0.04899787902832031, -0.31570354104042053, 0.9854947328567505, -0.7132323384284973, 0.638661801815033, -0.20370902121067047, -0.7491632103919983, -0.5158103704452515, 0.18289215862751007, -0.7857404947280884, 0.8716326951980591, 0.2659626603126526, -0.7781499624252319, 0.5846512913703918, -0.766826868057251, -0.6311220526695251, 0.31961971521377563, -0.24733519554138184, -0.6473514437675476, 0.23884190618991852, 0.4166724681854248, 0.11948323249816895, -0.5446521639823914, 0.7272771596908569, -0.3144780397415161, -0.7124101519584656, -0.19751043617725372, -0.6688575148582458, 1.0560064315795898, -0.02104293182492256, -0.15771202743053436, 0.1934133768081665, -0.8054434061050415, 0.001086037722416222, -0.372351735830307, -0.25306010246276855, -0.5839766263961792, -0.23918046057224274, -0.3007771074771881, -0.1857685148715973, 0.0999208316206932, -0.5461243987083435, -0.14120112359523773, -0.8370193839073181, 0.06422314792871475, 0.4738348126411438, 0.2671675384044647, 0.6165348887443542, -0.12531881034374237, 0.4645613431930542, -0.09506185352802277, 0.1867065727710724, -0.3234389126300812, -0.48638445138931274, -0.8072766065597534, -0.5371949076652527, 0.44994786381721497, 0.3307725787162781, -0.7308449745178223, 0.8663210272789001, -0.505840539932251, -0.5839443206787109, -0.8588781952857971, -0.17785657942295074, 0.4069439470767975, 0.7389373183250427, 0.6056528687477112, -0.7899865508079529, -0.8153809905052185, -0.739762544631958, 0.12382467091083527, -0.024905214086174965, -0.0003920911403838545, 0.027907000854611397, 0.45387503504753113, 0.2255428284406662, 0.8067178726196289, -0.38404789566993713, -0.1113191619515419, 0.012018808163702488, 0.28481537103652954, 0.13326211273670197, 0.4308837950229645, 0.13649408519268036, -0.5586602687835693, -0.20595122873783112, -0.10347500443458557, -0.8733174204826355, 0.03461781516671181, 0.03183465451002121, -0.1923801749944687, 0.07702475786209106, 0.15534955263137817, -0.190286323428154, 0.38980382680892944, 0.484789103269577, -0.18617665767669678, 0.3459285795688629, -0.4732142388820648, 0.28701579570770264, -1.0753997564315796, -0.010973193682730198, -0.31112924218177795, -0.26568928360939026, -0.5149962902069092, 0.40015777945518494, -0.17923195660114288, 0.010209805332124233, -0.2815539538860321, 0.29184940457344055, -0.5828271508216858, -0.17230330407619476, -0.07995156943798065, 0.10646971315145493, 0.5320767164230347, 0.4961639940738678, -0.2059890627861023, 0.630420982837677, 0.6743023991584778, -0.45156773924827576, 0.4419611096382141, 0.3266609311103821, -0.7990713715553284, 1.165459394454956, -0.8025528192520142, 0.33987337350845337, -0.08489705622196198, 0.3143092393875122, -1.0494496822357178, -0.25824201107025146, 0.18743008375167847, -0.07098358869552612, 0.1985016167163849, -0.03454301878809929, -0.12003076076507568, -0.169218972325325, -0.41370993852615356, 0.47436127066612244, 0.30637189745903015, -0.7976884245872498, 0.24812166392803192, 0.6631646752357483, -0.11287622153759003, -0.34395140409469604, -0.46081608533859253, 0.3532380163669586, -0.24218890070915222, -0.9464223980903625, 0.6932864785194397, 0.005679050926119089, -0.1142999455332756, -0.19501399993896484, 0.06743992865085602, -0.09048990160226822, 0.13077037036418915, 0.2508198022842407, 0.34841030836105347, -0.0665796548128128, -0.021350804716348648, 0.729505181312561, -0.15651434659957886, -0.18751278519630432, -0.3274545669555664, 0.6604503393173218, -0.20435012876987457, -0.5950755476951599, -0.5854074954986572, 0.2850353419780731, 0.014790103770792484, -0.087476447224617, 0.350713312625885, 0.457933634519577, -0.07565802335739136, 0.12146040797233582, -0.2794170379638672, -0.12034105509519577, -0.4141484797000885, 0.3103495240211487, -0.557644248008728, -0.8934922218322754, 0.4371238350868225, 0.026963068172335625, -0.3448861241340637, 0.35283514857292175, 0.4910091757774353, -0.10789988189935684, 0.6852699518203735, 0.36103391647338867, 0.04841192439198494, 0.3243420720100403, -0.4250398576259613, -0.029484888538718224, -1.0328505039215088, -0.21392734348773956, -0.1866244375705719, -0.2460131198167801, -0.5036212801933289, -0.6499715447425842, 0.6748519539833069, 0.012971139512956142, -0.012381969019770622, 0.29407694935798645, -0.5337492227554321, 0.2956527769565582, 0.34619930386543274, 0.1963171809911728, 0.5446467399597168, 0.39771023392677307, -0.38249364495277405, -0.21594782173633575, -0.7253785133361816, -0.23043043911457062, 0.6275217533111572, 0.19281761348247528, 0.4768146872520447, 0.06973137706518173, 0.7260644435882568, 0.33601269125938416, 0.3205025792121887, -0.7129583358764648, 0.6269492506980896, -0.038644321262836456, -0.41271859407424927, -0.2500867545604706, -0.3065430521965027, -1.2280006408691406, 0.5236982703208923, -0.18452532589435577, -0.5800375938415527, 0.5281296968460083, -0.06850309669971466, -0.4042474329471588, -0.14414818584918976, -0.3520634174346924, 0.4829871356487274, -0.07797704637050629, -0.7415090203285217, -0.19764703512191772, -0.5993183851242065, 0.36477938294410706, 0.0713859274983406, 0.08614397048950195, 0.0885060653090477, -0.13520415127277374, 0.6299297213554382, -0.54449462890625, 0.7462672591209412, -0.19168482720851898, -0.30910441279411316, 0.516468346118927, -0.16464000940322876, 0.3112278878688812, 0.0926143229007721, -0.3719286024570465, 0.4634130895137787, -0.3118937015533447, -0.3609260320663452, -0.6891978979110718, 0.518848180770874, -0.5244128108024597, -0.3824525475502014, -0.21939562261104584, -0.5715491771697998, -0.21631364524364471, 0.12593528628349304, 0.41192877292633057, 0.5000660419464111, -0.7798739075660706, 0.12126079946756363, 0.34039774537086487, -0.08570721745491028, 0.26388636231422424, 0.3603176772594452, -0.02948131412267685, -0.8444730043411255, 1.093578577041626, 0.19772496819496155, 0.12354271858930588, 0.3567142188549042, 0.2030859887599945, -0.3847411870956421, -0.5794016718864441, -0.5365545749664307, -0.2067750096321106, -0.5144134163856506, -0.02306821383535862, -0.21289320290088654, -0.035090915858745575, -0.09265703707933426, 0.04739832878112793, -0.2178715467453003, -0.48687100410461426, -0.046348657459020615, -0.18340367078781128, 0.07752195000648499, 0.4043334126472473, -0.01645684614777565, 0.36593714356422424, -0.5048108696937561, 0.18115489184856415, 0.2154352068901062, 0.301300048828125, -0.023216746747493744, -0.5555346608161926, -0.2508469820022583, 0.10293695330619812, -0.331080824136734, -0.6658219695091248, 0.35141700506210327, 0.24940088391304016, 0.4807141125202179, 0.20236513018608093, -0.10722028464078903, 1.0298428535461426, -0.2661714255809784, 0.6273676753044128, 0.17125432193279266, -1.0752482414245605, 0.6273813843727112, -0.29669591784477234, 0.24489954113960266, 0.8135998249053955, 0.17584128677845, -0.14399786293506622, -0.490715891122818, -0.7758828997612, -1.0124320983886719, 0.38459500670433044, 0.24536778032779694, 0.16605617105960846, 0.22268690168857574, 0.41668546199798584, 0.5047470927238464, 0.3600727319717407, -0.273721843957901, 0.05471944436430931, -0.005024251528084278, -0.21849676966667175, 0.2938215732574463, -0.1302368938922882, -0.3108800947666168, -0.5833595395088196, 0.39164894819259644, -0.1299130916595459, 0.16663561761379242, 0.24408076703548431, -0.2451256513595581, -0.030597295612096786, 0.34451016783714294, 0.3609832227230072, 0.47177743911743164, -0.019684256985783577, 0.22717662155628204, 0.31209391355514526, -0.6063264012336731, 0.3145044147968292, 0.27002519369125366, -0.72690749168396, -0.07779952138662338, 0.5031808018684387, 1.1808017492294312, 0.34891974925994873, -0.035502880811691284, 0.40546146035194397, -0.1466449350118637, 0.06825684756040573, -0.04108569025993347, 0.29680976271629333, -0.19036750495433807, 0.05484533682465553, 0.19219975173473358, 0.18098868429660797, 0.44381463527679443, -0.5262015461921692, 0.24285390973091125, 0.41407179832458496, -0.49240854382514954, -0.613675594329834, 0.3498454689979553, 0.13688717782497406, -0.0976901575922966, 0.18061880767345428, -0.6680840253829956, -0.23392724990844727, 0.22439907491207123, 0.5660417675971985, 0.7639341950416565, -0.4342329502105713, 0.3079949915409088, 0.4380623400211334, 0.06980512291193008, 0.06656931340694427, 0.6703969836235046, -0.37872186303138733, -0.5785387754440308, -0.6260498762130737, -0.734789252281189, -0.6674778461456299, -0.021771850064396858, -0.9067326188087463, 0.13701483607292175, -0.1425691694021225, 0.0350583977997303, -0.21801230311393738, 0.2558702826499939, -0.3955022096633911, 0.31746283173561096, -0.14973649382591248, 0.47630807757377625, -0.6531168818473816, 0.6639270782470703, 0.5547856688499451, -0.3384421765804291, -0.3930623531341553, 0.03409074991941452, -0.28331294655799866, -0.5975796580314636, 0.14626744389533997, 0.13100315630435944, -0.24400357902050018, -0.11931640654802322, -0.333258718252182, -0.8294880390167236, 1.1636683940887451, 0.8544397354125977, -0.49103230237960815, 0.11178234964609146, 0.1159074530005455, 0.8166137933731079, -0.37500110268592834, 0.20234639942646027, 0.6334654092788696, 0.4248804748058319, 0.46645388007164, -0.631422221660614, 0.20905937254428864, -0.2122887820005417, 0.04357212036848068, -0.023129602894186974, -0.49843236804008484, 0.7367410659790039, -0.07214286178350449, -0.42848578095436096, 0.03436684608459473, 1.0141297578811646, 0.30006954073905945, 0.35625362396240234, 0.5207358002662659, 0.8588342666625977, 1.278682827949524, -0.1839912086725235, 1.073844075202942, -0.23922336101531982, 0.28450438380241394, 1.6127686500549316, -0.19910724461078644, 0.7350444793701172, 0.1613958477973938, -0.25583764910697937, 0.7589932680130005, 0.5820910334587097, -0.09830289334058762, 0.5866518020629883, 0.06659169495105743, -0.5929595232009888, 0.014986810274422169, -0.3172759413719177, -0.3309078514575958, 0.8787235021591187, 0.3660151958465576, 0.015553416684269905, -0.35996514558792114, 0.05253029242157936, 0.04970958083868027, -0.007545106112957001, -0.2703729271888733, 0.7944941520690918, 0.04375232756137848, -0.9700484871864319, 0.752699613571167, -0.09463252127170563, 0.3456628918647766, -0.13493405282497406, 0.0008668007794767618, -0.08917250484228134, 0.10748150944709778, -0.18904128670692444, -0.5861772298812866, 0.6874591708183289, -0.15744724869728088, 0.15903741121292114, 0.1101127341389656, 0.9331651329994202, -0.5350742936134338, -0.5283070802688599, 0.3259483873844147, 0.5188314318656921, 0.12202295660972595, 0.008999337442219257, -0.5462867021560669, 0.25954189896583557, -0.3720565140247345, -0.08661855757236481, 0.10903587192296982, 0.13192471861839294, -0.16691803932189941, 0.10496516525745392, 0.6438441872596741, 0.09430676698684692, -0.4264184832572937, 0.32361918687820435, 0.800062358379364, -0.2395293116569519, -0.6308562159538269, -0.9356398582458496, 0.3493630886077881, -0.4153110384941101, -0.06128992885351181, 0.8888859152793884, 0.6084903478622437, 0.5426985025405884, 0.3790532052516937, 0.7053581476211548, 0.009667408652603626, 0.31829917430877686, -0.3418083190917969, 0.6392018795013428, -0.21394415199756622, 0.29940953850746155, -0.31725189089775085, -0.8238682746887207, -0.3691031038761139, 0.7157173156738281, -0.6665775775909424, 0.04850466921925545, 0.4391612410545349, 0.6451766490936279, -0.15546143054962158, 0.4620784819126129, 0.3635566234588623, 0.3027804493904114, 0.2071697860956192, 0.4315391480922699, 0.7196513414382935, -0.5342206954956055, 0.20381206274032593, -0.18719974160194397, -0.3045215606689453, -0.08448886126279831, -0.8157327175140381, -0.6239470839500427, -0.5135827660560608, -0.1015557125210762, -0.22761628031730652, 0.12742768228054047, 0.6292380690574646, 0.7195296287536621, -0.8127321600914001, -0.24103856086730957, -0.5457371473312378, 0.21313327550888062, -0.2045963704586029, -0.19173792004585266, 0.691719114780426, -0.22568057477474213, -0.7128105759620667, 0.748447835445404, 0.7443846464157104, -0.13805989921092987, -0.5526115894317627, 0.05797681212425232, -0.18015387654304504, 0.10715176910161972, 0.7171851992607117, -0.12298097461462021, -0.3128246068954468, -0.3121604919433594, -0.15202568471431732, 0.07734464854001999, 0.4579661786556244, 0.4468315541744232, -0.8665438294410706, 0.8514831066131592, 0.52585768699646, 0.3847384750843048, 0.6269135475158691, 0.03570174053311348, 0.707290768623352, -0.9413015246391296, 0.22722265124320984, 0.215490460395813, 0.37020188570022583, 0.6716316938400269, -0.16965030133724213, 0.4575549066066742, 0.2415950894355774, -0.19386395812034607, -0.8017692565917969, 0.26881954073905945, -0.9195018410682678, 0.1080302894115448, 0.4653753340244293, -0.4245058596134186, -0.361737459897995, -0.41937434673309326, -0.2842543125152588, 0.47060486674308777, -0.16385842859745026, 0.9182473421096802, 0.47625336050987244, -0.2292352169752121, 0.19490966200828552, -0.15903687477111816, 0.4027083218097687, 0.43092188239097595, -1.2500747442245483, -0.3590315282344818, 0.5214357972145081, -0.004202109295874834, 0.5036011338233948, 0.7463292479515076, -0.14001798629760742, 0.3557991683483124, 0.06207994371652603, -0.17554457485675812, 0.0261740293353796, -0.3729548752307892, -0.5210253000259399, 0.7161839008331299, -0.35414838790893555, -0.10595332831144333 ]
http://arxiv.org/abs/2404.00672v1
http://arxiv.org/pdf/2404.00672v1
A General and Efficient Training for Transformer via Token Expansion
2024-03-31T12:44:24
2024-03-31T12:44:24
Wenxuan Huang, Yunhang Shen, Jiao Xie, Baochang Zhang, Gaoqi He, Ke Li, Xing Sun, Shaohui Lin
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
The remarkable performance of Vision Transformers (ViTs) typically requires an extremely large training cost. Existing methods have attempted to accelerate the training of ViTs, yet typically disregard method universality with accuracy dropping. Meanwhile, they break the training consistency of the original transformers, including the consistency of hyper-parameters, architecture, and strategy, which prevents them from being widely applied to different Transformer networks. In this paper, we propose a novel token growth scheme Token Expansion (termed ToE) to achieve consistent training acceleration for ViTs. We introduce an "initialization-expansion-merging" pipeline to maintain the integrity of the intermediate feature distribution of original transformers, preventing the loss of crucial learnable information in the training process. ToE can not only be seamlessly integrated into the training and fine-tuning process of transformers (e.g., DeiT and LV-ViT), but also effective for efficient training frameworks (e.g., EfficientTrain), without twisting the original training hyper-parameters, architecture, and introducing additional training strategies. Extensive experiments demonstrate that ToE achieves about 1.3x faster for the training of ViTs in a lossless manner, or even with performance gains over the full-token training baselines. Code is available at https://github.com/Osilly/TokenExpansion .
[ -0.4000096321105957, -0.16233870387077332, 0.016516538336873055, 0.2135988473892212, -0.7039868235588074, 0.4608768820762634, -0.06275931000709534, -0.27397310733795166, 0.2906877100467682, 0.20159724354743958, -0.4022606909275055, -0.1894291192293167, -0.7692515850067139, -0.2019287347793579, -0.45266062021255493, 0.5377522110939026, 0.19290213286876678, 0.09181932359933853, 0.4118005037307739, -0.4044378995895386, -0.7023151516914368, -0.2915661036968231, -0.5241292119026184, 0.041566599160432816, 0.3039373457431793, 0.6483125686645508, 0.680766224861145, 1.1344009637832642, 0.8999870419502258, 0.3317798972129822, -0.19906190037727356, 0.2698685824871063, -0.4193655550479889, -0.1191430389881134, 0.04968186840415001, -0.4793335199356079, -0.4219937026500702, -0.3119201064109802, 0.8646554350852966, 0.4078778922557831, -0.32049325108528137, 0.05082813277840614, 0.21472664177417755, 0.7026995420455933, -0.36123427748680115, 0.09785971790552139, -0.7018066644668579, 0.2547852694988251, -0.012178539298474789, -0.47517529129981995, -0.4306994080543518, -0.05207046866416931, 0.18857267498970032, -0.4637310206890106, 0.5193042755126953, -0.04345652833580971, 0.8346465826034546, 0.2820558547973633, -0.17818212509155273, 0.4654233753681183, -0.6225102543830872, 0.37543368339538574, 0.030669499188661575, 0.7936298251152039, -0.7325767278671265, 0.5438900589942932, 0.30062976479530334, -0.9397264122962952, -0.3559790253639221, 0.20963667333126068, -0.1444924771785736, 0.12576043605804443, 0.010461440309882164, 0.1953241229057312, 0.31899163126945496, 0.4265807271003723, -0.1458875983953476, 0.016608115285634995, -0.5603612661361694, -0.24096474051475525, 0.14935487508773804, 0.20397278666496277, -0.04725603759288788, 0.037793125957250595, -1.0048333406448364, -0.41704922914505005, -0.4752918481826782, 0.4673359990119934, 0.2240922600030899, 0.3062789738178253, -0.3053237199783325, 0.47622931003570557, -0.0494079552590847, 0.26497581601142883, 0.4372272789478302, 0.37301546335220337, 0.4721199572086334, -0.37190043926239014, -0.08867544680833817, 0.050775885581970215, 0.42424261569976807, 0.6700406670570374, 0.17961521446704865, -0.45516547560691833, -0.1661028414964676, 0.25388649106025696, 0.5309059619903564, -1.018437385559082, -0.12189114093780518, 0.059236954897642136, -0.23078691959381104, -0.5348107218742371, 0.4032580554485321, -0.8600187301635742, -0.05675281956791878, -0.3625293970108032, 0.5358025431632996, -0.4271193742752075, -0.5147455930709839, 0.15787889063358307, -0.4974024295806885, 0.956429123878479, 0.028759535402059555, -1.016705870628357, 0.13178709149360657, 1.0842550992965698, 0.9324227571487427, -0.41250550746917725, -0.4206969738006592, -0.9033163785934448, -0.20070324838161469, -0.6631146669387817, 0.2147289663553238, -0.3680930435657501, -0.4280480742454529, 0.027429524809122086, 0.1787281185388565, 0.15997271239757538, -0.3597847819328308, 0.25702059268951416, -0.4491446316242218, -0.2439577877521515, -0.05118037760257721, -0.12757599353790283, 0.24833858013153076, 0.1473229080438614, -0.18973077833652496, 1.0595715045928955, 0.364736407995224, -0.6891977787017822, 0.8616726994514465, -0.7631243467330933, -0.09340649098157883, 0.31563499569892883, -0.17922185361385345, -0.3598747253417969, 0.28033870458602905, 0.27408087253570557, 0.43725162744522095, 0.03047366626560688, 0.16987310349941254, 0.22652937471866608, -0.9119401574134827, -0.317524254322052, -0.6688527464866638, 0.4916098415851593, -0.3838554322719574, -0.8417676091194153, 0.21213966608047485, -0.6341248750686646, 0.04471278563141823, -0.04201929643750191, -0.19798485934734344, 0.09216912090778351, -0.5291483998298645, -0.15234631299972534, -0.14533481001853943, 0.12129359692335129, -0.853411078453064, 0.5230379700660706, -0.7054718136787415, 0.22952307760715485, 1.101198434829712, -0.10263034701347351, 0.7254152894020081, 0.2113291323184967, 0.33400946855545044, 0.4110892117023468, 0.7974820137023926, -0.6622799634933472, -0.5255317687988281, -1.3667562007904053, -0.24804390966892242, 0.44554686546325684, 0.2869551479816437, -0.8952900171279907, 0.5135968923568726, -0.9274064898490906, -0.6833958029747009, -0.34004250168800354, -0.20666898787021637, 0.3632960319519043, 0.45633527636528015, 0.5352428555488586, -0.519075870513916, -0.3654026687145233, -0.8104239702224731, -0.10576159507036209, -0.1378874033689499, 0.013854165561497211, 0.04607034847140312, 0.19033277034759521, -0.06597951054573059, 1.1351163387298584, -0.40989670157432556, -0.04976149648427963, 0.11019227653741837, -0.007947367615997791, 0.2961629331111908, 0.7208940386772156, 0.5388978719711304, -0.8707035183906555, -0.5169568657875061, 0.28244292736053467, -0.31881606578826904, 0.38931551575660706, -0.04072127491235733, -0.28529441356658936, -0.19537581503391266, 0.43150967359542847, -0.41272875666618347, 0.670525848865509, 0.4322260022163391, -0.5510222911834717, 0.2965661585330963, -0.20872245728969574, -0.03575007617473602, -1.020451307296753, -0.031862907111644745, -0.1842208206653595, -0.39516696333885193, -0.49613046646118164, 0.2690599262714386, 0.3124958872795105, -0.1256178915500641, -0.680938184261322, 0.3886239528656006, -0.1210097223520279, 0.22709618508815765, -0.13951990008354187, -0.22261963784694672, -0.27333471179008484, 0.7723758816719055, -0.164007768034935, 0.926522433757782, 1.1044983863830566, -0.6805213689804077, 0.35123997926712036, 0.26623696088790894, 0.2893611490726471, 0.541669487953186, -0.5121609568595886, -0.07975416630506516, -0.1967315971851349, -0.15858779847621918, -0.6834638714790344, 0.20876193046569824, 0.4255860447883606, -0.5297406315803528, 0.35933917760849, -0.3104221224784851, -0.20103855431079865, -0.587268590927124, -0.40344300866127014, 0.2136758267879486, 0.9383975863456726, -1.3032701015472412, 1.228247046470642, -0.06988304108381271, 0.3948693573474884, -1.0362465381622314, -0.4017484486103058, 0.2647615969181061, -0.2346644401550293, -0.35340383648872375, 0.4799498915672302, 0.1933620423078537, 0.35887983441352844, 0.005276086274534464, -0.5264264941215515, 0.08450759947299957, -0.1839178502559662, 0.19429698586463928, 0.4200423061847687, -0.4527667462825775, 0.09641668945550919, -0.06926945596933365, -0.5335649251937866, -0.1681627482175827, -0.64238440990448, 0.5974053144454956, -0.41996312141418457, -0.406127005815506, -0.381420761346817, -0.12689627707004547, 1.002665638923645, -0.28162142634391785, 0.4753410518169403, 1.0516406297683716, 0.1365363597869873, -0.07991224527359009, -0.6126302480697632, -0.43878111243247986, -0.6414868831634521, 0.40786653757095337, -0.47139233350753784, -0.6743772029876709, 0.2699275314807892, -0.30723288655281067, 0.42979830503463745, 0.5651394724845886, 0.19136053323745728, 0.22448226809501648, 0.6845751404762268, 0.9554935097694397, 0.03006643056869507, 0.6468997597694397, -0.6700105667114258, 0.2958238422870636, -0.921160101890564, -0.3414883315563202, -0.18809577822685242, -0.6226361393928528, -0.5722199082374573, -0.8548822402954102, 0.13300155103206635, 0.031044036149978638, -0.20868784189224243, 0.6580340266227722, -0.9356897473335266, 0.7931353449821472, 0.8377295136451721, 0.13187219202518463, 0.15019439160823822, 0.19465669989585876, -0.4051990211009979, 0.014179201796650887, -0.9086368680000305, 0.01124932337552309, 1.1579645872116089, 0.4651656150817871, 0.22551895678043365, -0.1139601618051529, 0.5722352266311646, 0.14990846812725067, 0.32507362961769104, -0.7222470641136169, 0.5428358316421509, -0.2025192379951477, -0.07499553263187408, -0.4498167335987091, -0.2717287540435791, -0.6194927096366882, 0.3171412944793701, -0.21305415034294128, -0.6101071238517761, 0.6341248750686646, 0.45041292905807495, -0.12675441801548004, 0.8599931597709656, -0.6320188045501709, 0.5322228670120239, -0.32321077585220337, -0.5289265513420105, -0.09662648290395737, -0.8354125022888184, -0.11672261357307434, -0.21431417763233185, -0.5290119647979736, 0.15131776034832, -0.17711804807186127, 0.5303288698196411, -0.5572717785835266, 0.6538633704185486, -0.5794016122817993, 0.242680162191391, 0.31460174918174744, -0.40090394020080566, 0.6127671003341675, 0.1515493392944336, 0.4201064705848694, 0.5456181168556213, -0.47604790329933167, -0.5283825397491455, -0.7464042901992798, 0.13399004936218262, -0.3977859914302826, -0.6988943815231323, -0.1275617480278015, 0.009461674839258194, -0.27586475014686584, 0.11768941581249237, 0.30995622277259827, 0.5396544933319092, 0.07347481697797775, 0.8340209126472473, 0.3905559778213501, 0.22051064670085907, 0.41024208068847656, 0.2215404510498047, 0.0026400238275527954, -0.4395562410354614, 1.0010961294174194, -0.4050675928592682, 0.29189568758010864, 0.2837694585323334, 0.3942025601863861, -0.4109419882297516, -0.36949920654296875, -0.7227487564086914, -0.07503482699394226, -0.5396888256072998, -0.41881582140922546, -0.506513237953186, -0.42178377509117126, 0.03485879674553871, -0.3203531801700592, -0.5689602494239807, -0.20081587135791779, 0.1385444849729538, -0.16958603262901306, 0.45304399728775024, 0.22538597881793976, -0.1650458723306656, 0.8409479856491089, -0.8734289407730103, 0.29431718587875366, 0.5464059114456177, 0.8362107872962952, 0.15380500257015228, -0.5111984014511108, -0.2564607560634613, -0.10424000769853592, -0.32670554518699646, -0.24212177097797394, -0.019245581701397896, 0.07247669249773026, 0.2540130317211151, 0.7931175231933594, -0.28047895431518555, 1.117582082748413, -0.7420653104782104, 0.8029782176017761, 0.9073972105979919, -0.8510884046554565, 0.09673085063695908, -0.18947412073612213, 0.02839191071689129, 0.4660234749317169, -0.12652628123760223, -0.4780210554599762, -0.24353186786174774, -0.874403715133667, -1.0586013793945312, 0.5849738717079163, 0.42774060368537903, 0.6242566704750061, 0.10665661096572876, 0.3958224952220917, 0.03980309143662453, -0.027044670656323433, -0.23670615255832672, -0.30205437541007996, -0.44358029961586, 0.0015533112455159426, 0.005674165673553944, -0.052565496414899826, -0.015368501655757427, -0.6041363477706909, 0.3998373746871948, -0.36284005641937256, 0.39230048656463623, 0.18952934443950653, 0.26760292053222656, 0.050453584641218185, -0.0876455307006836, 0.13294613361358643, 0.3549620807170868, 0.08217853307723999, -0.20695599913597107, 0.5002617239952087, -0.8589730858802795, 0.37433478236198425, -0.3787745237350464, 0.13562488555908203, 0.12309849262237549, -0.09903831779956818, 0.9890516400337219, 0.4662570655345917, -0.3620537519454956, 1.006809115409851, -0.26384788751602173, -0.5052115321159363, 0.09261968731880188, 0.3397333323955536, -0.12979497015476227, 0.405638188123703, 0.5559949278831482, 0.7760284543037415, -0.23286721110343933, -0.10654620826244354, 0.5798043012619019, 0.23013049364089966, -0.7194340229034424, -0.14070835709571838, 0.8723468780517578, 0.624932587146759, -0.5784380435943604, 0.6980997323989868, 0.10053472220897675, -0.660161018371582, 0.6999361515045166, 0.18652111291885376, 1.0843524932861328, -0.07344087213277817, 0.1437210589647293, 0.30144423246383667, 0.46421387791633606, -0.10142625123262405, 0.09577096998691559, -0.1585243195295334, -0.646899938583374, -0.3812898099422455, -0.6031045913696289, -0.2613411545753479, -0.3482702076435089, -0.42890942096710205, 0.7605471014976501, -0.4050544798374176, -0.27157822251319885, -0.5012233257293701, -0.5127589106559753, -1.0916376113891602, 0.1282852739095688, -0.03704207390546799, 1.1599500179290771, -0.5047038793563843, 0.40647491812705994, 0.2905730903148651, -0.002220586407929659, -0.9658450484275818, 0.12701229751110077, -0.4797876477241516, -0.9051929712295532, 0.5499567985534668, 0.3759029805660248, -0.3030349910259247, 0.3310932219028473, -0.0059716119430959225, -0.5872790217399597, 1.119423747062683, 0.17944765090942383, -0.7169390320777893, -0.3312089443206787, 0.406514972448349, 0.33920785784721375, -0.20733703672885895, 0.07985168695449829, 0.3659374415874481, 0.4440194368362427, 0.3170924186706543, -0.6439180970191956, -0.3411787748336792, -0.007163849659264088, 0.15201131999492645, 0.37865012884140015, -0.8155266642570496, 0.3955426514148712, -0.31389299035072327, -0.3008470833301544, 0.07503090798854828, 0.6343056559562683, -0.3116312623023987, -0.2580417990684509, 1.010093331336975, 0.4351523518562317, 0.5048263072967529, -0.5529794692993164, 0.5343912839889526, -0.8428161144256592, 0.4494844377040863, 0.5549920201301575, 0.4669050872325897, 0.5431085824966431, 0.6738293170928955, 0.03738204762339592, 0.07078906893730164, 0.3672066926956177, -0.4542449116706848, 0.24496233463287354, -0.022791042923927307, 0.15898491442203522, -0.24829237163066864, 0.1038670539855957, -0.5899524688720703, 0.7312591075897217, -0.017210906371474266, -0.3787325918674469, 0.020209886133670807, -0.07757069915533066, -0.5362423658370972, -0.470802366733551, -0.3496081531047821, 0.5414442420005798, -0.29697343707084656, -0.26771080493927, 0.2595999538898468, -0.2094540148973465, 1.0283942222595215, -0.5763598680496216, -0.23062977194786072, -0.17765480279922485, 0.10896914452314377, -0.0607028491795063, -0.6568173766136169, 0.17507368326187134, 0.045170415192842484, 0.3594960570335388, -0.2557066082954407, 0.37351396679878235, -0.012434720061719418, -0.5831397771835327, 0.1916148066520691, 0.4480561912059784, -0.1704159379005432, 0.12410437315702438, -0.2580847442150116, -0.23314952850341797, -0.004748379811644554, -0.006064440123736858, -0.182233065366745, 0.5894361734390259, 0.25286194682121277, 0.42753466963768005, 0.6795367002487183, 0.20625722408294678, 0.41918957233428955, -0.22967107594013214, 1.0998824834823608, -0.5164467096328735, -0.7058650851249695, -0.8617604374885559, 0.8830564022064209, -0.48067110776901245, -0.5028643012046814, 0.30325958132743835, 0.8554766178131104, 0.6264206767082214, -0.07972146570682526, 0.1957133263349533, 0.16707825660705566, -0.14145781099796295, -0.30016693472862244, 0.5546584725379944, -0.5762201547622681, 0.12164362519979477, -0.15260440111160278, -1.3544490337371826, -0.29317203164100647, 0.21440717577934265, 0.24382610619068146, -0.1980779767036438, 0.7258352637290955, 0.5358750224113464, -0.4947673976421356, -0.16380181908607483, 0.5533239245414734, -0.06599213927984238, 0.3504023253917694, -0.08773128688335419, 0.3908303678035736, -0.5666378140449524, 0.766994059085846, -0.2898351848125458, -0.2065117210149765, -0.2732295095920563, -0.5541039109230042, -0.5263464450836182, -0.2948015332221985, -0.298757404088974, -0.1585082709789276, 0.15224729478359222, 0.6644696593284607, 0.9847290515899658, -0.31824415922164917, 0.2910654842853546, -0.4403996467590332, -0.22645345330238342, -0.4564708471298218, -0.261485755443573, 0.41105180978775024, -0.4233930706977844, -0.8260441422462463, 0.09731879085302353, 0.6365584135055542, 0.015225083567202091, -0.3431216776371002, -0.1244235411286354, 0.6820069551467896, -0.015723537653684616, 0.4603552520275116, 0.11103781312704086, -0.6898546814918518, -0.654182493686676, 0.30772995948791504, 0.29964232444763184, 0.854177713394165, 0.9954058527946472, -1.0040251016616821, 0.6664479374885559, 0.18177393078804016, 0.9078235626220703, 0.25330376625061035, 0.17953424155712128, 0.541643500328064, -0.9728235602378845, 0.31679394841194153, 0.031882524490356445, 0.2650338113307953, 0.1460687667131424, -0.36101922392845154, 0.672637939453125, 0.36913543939590454, 0.05861174315214157, -0.7245166301727295, 0.04326974228024483, -0.983199954032898, 0.3302724361419678, 0.615164041519165, 0.15831013023853302, -0.15650157630443573, 0.1097450777888298, -0.2838703691959381, 0.25425276160240173, -0.2970848083496094, 0.616684079170227, 0.18152998387813568, 0.15267205238342285, 0.008993151597678661, 0.0630563423037529, 0.32636329531669617, 0.16948725283145905, -0.26087281107902527, 0.21535752713680267, -0.2357850819826126, 0.16759105026721954, 0.3671931326389313, 0.28265443444252014, -0.3434896469116211, 0.42238911986351013, 0.3019668757915497, -0.06469279527664185, -0.1825454831123352, -0.7439692616462708, -0.2924923002719879, 0.2546951472759247, -0.1730625331401825, -0.7360921502113342 ]
http://arxiv.org/abs/2404.00657v1
http://arxiv.org/pdf/2404.00657v1
Observations on Building RAG Systems for Technical Documents
2024-03-31T12:01:34
2024-03-31T12:01:34
Sumit Soman, Sujoy Roychowdhury
cs.LG
cs.LG, cs.AI, cs.CL, I.2.7
Retrieval augmented generation (RAG) for technical documents creates challenges as embeddings do not often capture domain information. We review prior art for important factors affecting RAG and perform experiments to highlight best practices and potential challenges to build RAG systems for technical documents.
[ -0.48893144726753235, -0.6008339524269104, 0.5677538514137268, -0.11312418431043625, -0.09580951184034348, 0.7571917176246643, 0.32417476177215576, -0.7104707956314087, 0.5003081560134888, 0.593634307384491, -0.14027678966522217, -0.04748624190688133, -0.6630553007125854, 0.1682106852531433, -0.39429971575737, 0.8981854915618896, -0.3597017228603363, -0.3710918128490448, -0.1837109476327896, -0.138136625289917, -0.8083711266517639, -0.6926154494285583, -0.7011018395423889, -0.30507197976112366, 0.1951419711112976, 0.5633413195610046, 0.6600428223609924, 0.2738173007965088, 0.7914332151412964, 0.29728177189826965, -0.07620663940906525, 0.7169889807701111, -0.18273791670799255, 0.4220651090145111, -0.09037049114704132, -0.1841660439968109, -0.6348050236701965, 0.177961066365242, 0.5127097368240356, 0.45418059825897217, 0.04030252620577812, 0.29157376289367676, -0.12407798320055008, 0.7236338257789612, -0.8261719942092896, -0.2768288850784302, -0.4674109220504761, 0.16734328866004944, -0.5201367735862732, -0.7108966112136841, -0.5565151572227478, -0.11298992484807968, -0.0005413665203377604, -0.8352116346359253, 0.8124374151229858, 0.3820819556713104, 1.3077759742736816, 0.07296138256788254, -0.538072943687439, -0.6957012414932251, -0.9626149535179138, 0.5188808441162109, -0.29355478286743164, 0.356285035610199, 0.6306074857711792, 0.25645238161087036, -0.31388863921165466, -1.0374071598052979, -0.36830541491508484, -0.2577706277370453, -0.20983345806598663, -0.020121268928050995, 0.18104523420333862, -0.21579360961914062, 0.5313867926597595, 0.5400353670120239, -0.5284974575042725, -0.20365729928016663, -0.5781291723251343, -0.08481570333242416, 0.5293195247650146, 0.1399879902601242, 0.10869362205266953, -0.5010596513748169, -0.3219514787197113, -0.12636545300483704, -0.6509396433830261, -0.3512329161167145, 0.40719377994537354, 0.16258551180362701, 0.4462059438228607, 0.9805241823196411, 0.1437409371137619, 0.5783243179321289, 0.3400549292564392, 0.04927407205104828, 0.5101022124290466, -0.24608206748962402, -0.16300390660762787, -0.06108370050787926, 0.17550809681415558, 0.11368851363658905, -0.1900007575750351, -0.13643978536128998, -0.6778618693351746, -0.3955606520175934, 0.8030276894569397, -0.3631370961666107, 0.02288641780614853, 0.0220260601490736, -0.2411603480577469, -0.19284385442733765, 0.37064599990844727, -0.31850895285606384, -0.6451438665390015, -0.30840402841567993, 0.5891904830932617, -0.3787793517112732, -0.5190127491950989, -0.27277448773384094, -0.9756141901016235, 0.343931645154953, 0.26981407403945923, -0.3629226088523865, 0.32572993636131287, 0.6979230642318726, 0.7495617270469666, 0.09093289077281952, -0.03801542893052101, -0.5082298517227173, 0.46451109647750854, -0.5122215747833252, 1.1779643297195435, -0.4629923105239868, -1.0670790672302246, 0.04097508639097214, 0.10968774557113647, 0.21303167939186096, -0.8930306434631348, 0.6268201470375061, -0.8641639351844788, 0.10091082751750946, -0.22617961466312408, -0.5520790815353394, 0.1501130610704422, -0.01393020898103714, -0.5559259653091431, 1.1375317573547363, 0.5027579665184021, -0.9121078848838806, 0.4589141011238098, -0.4458772838115692, -0.5078096389770508, 0.3341793119907379, -0.3947857916355133, -0.3728788495063782, 0.5121658444404602, -0.2797688841819763, 0.21748194098472595, -0.11413495987653732, 0.084374338388443, 0.008266990073025227, -0.28763633966445923, 0.0092562111094594, 0.16648182272911072, 0.433176726102829, 0.6004343628883362, -0.18698467314243317, -0.49191734194755554, -0.7720615267753601, -0.0480697900056839, 0.2255406230688095, -0.23034314811229706, -0.7886101007461548, -0.0627063661813736, 0.02996963821351528, -0.20417307317256927, 0.4149988293647766, -0.7109038829803467, 0.2141367495059967, -0.14571474492549896, -0.26719602942466736, 0.6661409735679626, 0.0967828556895256, 0.5659869313240051, -0.7482931613922119, 0.6187194585800171, -0.08571723103523254, -0.22075994312763214, -0.0696941539645195, -0.4003600478172302, -0.7135111093521118, 0.14437630772590637, 0.43393826484680176, 0.44395673274993896, -1.3407403230667114, -0.2422924041748047, 0.08555904030799866, -0.21248874068260193, -0.3922317624092102, -0.02043922431766987, 0.5956076383590698, 0.6108245253562927, 0.1558665782213211, -0.32086461782455444, -0.7115533351898193, -0.950147807598114, -0.04656209424138069, 0.1196235716342926, -0.0285959430038929, 0.6337434649467468, 0.3226495087146759, -0.032769255340099335, 0.9590808153152466, -0.6673975586891174, -0.2243492603302002, 0.10746292769908905, 0.6789591312408447, 0.10754844546318054, 0.4825017750263214, 0.5961316227912903, -1.19215989112854, -0.7238594889640808, 0.22900010645389557, -0.7921304106712341, -0.11460311710834503, 0.03783928602933884, 0.2040206789970398, 0.768979549407959, 0.7039083242416382, -0.48814743757247925, 0.6328542828559875, 0.2603774964809418, -0.35215678811073303, 0.5405860543251038, -0.413227379322052, 0.5485474467277527, -1.0615675449371338, 0.3403518497943878, -0.0907454788684845, -0.3408604562282562, -0.5938023328781128, 0.3058773875236511, 0.18594756722450256, -0.34630030393600464, -0.2699238657951355, 0.5309780836105347, -0.8970326781272888, -0.4777395725250244, -0.6804348826408386, 0.2303052544593811, 0.4608258306980133, -0.014736711047589779, -0.10040527582168579, 1.2457541227340698, -0.08351073414087296, -0.7314361333847046, 0.06338877975940704, 0.1467704474925995, -0.022417189553380013, 0.8965170979499817, -0.6208104491233826, 0.4474959969520569, -0.2738015949726105, 0.04562299698591232, -0.518626868724823, -0.4365427494049072, 0.014616772532463074, -0.8037590384483337, 1.2594369649887085, 0.0871867835521698, -0.5517284870147705, -0.4514946937561035, -0.38793542981147766, 0.1669408082962036, 0.6227422952651978, -0.32559090852737427, 0.8687993288040161, 0.6835812330245972, -0.1385306566953659, -0.7000695466995239, -0.49212533235549927, 0.25319817662239075, 0.009954338893294334, -0.6139435172080994, 0.5933694839477539, 0.11064104735851288, -0.4022757411003113, 0.4791043996810913, -0.3204434812068939, -0.24471242725849152, 0.08333268761634827, 0.2618798613548279, -0.024017333984375, -0.22941111028194427, 0.189112588763237, 0.01858494058251381, -0.15155860781669617, -0.26372355222702026, -0.03702845424413681, 0.3324008285999298, 0.07739842683076859, -0.27572011947631836, -0.10704629123210907, 0.7666965126991272, 0.33310452103614807, -0.17415353655815125, 0.4354689121246338, 0.4176248610019684, -0.2809751033782959, -0.29493260383605957, -0.8917633295059204, 0.37657245993614197, -0.5968172550201416, 0.1373864710330963, -0.684246838092804, -0.6379338502883911, 0.4284154772758484, -0.28535470366477966, 0.2881697118282318, 0.9281206130981445, 0.11656227707862854, -0.681226909160614, 0.5904866456985474, 0.9547807574272156, 0.7030433416366577, 0.4694306552410126, -0.4856693148612976, -0.17165982723236084, -1.23115873336792, -0.14832650125026703, -1.0055639743804932, -0.1531798243522644, -0.5116928219795227, -0.5379428267478943, 0.49442392587661743, 0.11516678333282471, -0.19901420176029205, 0.46680524945259094, -0.7444992661476135, 0.223349928855896, 0.7941499948501587, 0.16247014701366425, 0.435605525970459, 0.14638391137123108, 0.0016455005388706923, 0.027459969744086266, -0.6292855143547058, -0.4910264015197754, 0.9269604086875916, 0.11633805185556412, 0.7396469116210938, -0.17755433917045593, 0.9638317823410034, 0.49748826026916504, 0.4252772927284241, -0.48243430256843567, 0.27433836460113525, -0.5501832962036133, -0.8205564022064209, -0.1681654304265976, -0.20356778800487518, -1.1371121406555176, -0.3465380370616913, -0.11088144779205322, -0.12130928039550781, 0.3923954963684082, 0.12501408159732819, -0.04037221521139145, 0.3121546804904938, -0.8079261183738708, 0.1507854461669922, 0.06484227627515793, 0.12967102229595184, -0.0024029621854424477, -0.4207645356655121, 0.2753722369670868, -0.4086204767227173, 0.275644987821579, 0.4551030695438385, -0.15208932757377625, 0.7336580157279968, -0.5608964562416077, 0.43061843514442444, -0.18839730322360992, -0.0164652019739151, 0.7675622701644897, 0.1675158441066742, 0.5500487089157104, -0.3690851032733917, -0.24803073704242706, -0.357314795255661, -0.09861458092927933, -0.3694460391998291, -0.6674026250839233, 0.6021130681037903, -0.6522799134254456, -0.988172709941864, -0.6921988129615784, -0.49529823660850525, -0.30072712898254395, 0.14581748843193054, 0.3746497929096222, 0.6223958730697632, -0.0012638627085834742, 0.37185797095298767, 0.7832472920417786, -0.32642021775245667, 0.29817551374435425, 0.4849403500556946, -0.17206133902072906, -0.4916110634803772, 1.129660964012146, 0.6866073608398438, 0.24348680675029755, 0.19702455401420593, -0.10563947260379791, 0.12857328355312347, -0.6848093271255493, -0.4576154053211212, 0.27190226316452026, -0.6746252775192261, -0.35319778323173523, -0.6743341088294983, -0.5037363767623901, -0.6064260601997375, -0.27674973011016846, -0.34251272678375244, -0.7840461134910583, -0.5545459985733032, 0.015539443120360374, 0.4482826292514801, 1.4919339418411255, -0.21849316358566284, 0.10751946270465851, -1.089489221572876, 0.6707525253295898, 0.05394073575735092, 0.6662449836730957, -0.1186341643333435, -0.6150624752044678, -0.5525322556495667, -0.09865991771221161, -0.6342740654945374, -0.6937139630317688, 0.15404313802719116, -0.007381165400147438, 0.6879374384880066, -0.3021042048931122, 0.20260250568389893, 0.5923691391944885, -0.795061469078064, 0.8776452541351318, -0.1874924749135971, -0.5367519855499268, 0.6436857581138611, -0.42473921179771423, -0.027146467939019203, 0.4046778678894043, 0.5241326689720154, -0.07089664041996002, -0.4568921625614166, -1.040641188621521, -0.7674025297164917, 0.4675222933292389, -0.00402823043987155, 0.08958008885383606, -0.1970854252576828, 0.688377857208252, 0.02780093066394329, 0.05746550112962723, -0.05478808656334877, -0.29572609066963196, -0.08718521147966385, 0.30036213994026184, 0.03985971212387085, -0.4456522464752197, 0.014492034912109375, 0.273115873336792, 0.6368921995162964, 0.2875741124153137, 0.19665396213531494, 0.7355979681015015, -0.01776987686753273, -0.19571025669574738, -0.08692911267280579, 0.8520376682281494, 0.49249330163002014, -0.44956541061401367, -0.19309523701667786, -0.13935643434524536, -0.8297173380851746, 0.11849106848239899, -0.012693577446043491, -0.2926839590072632, 0.4575083255767822, 0.1956101506948471, 0.49727752804756165, -0.035351406782865524, -0.04383167624473572, 0.17707033455371857, -0.08458678424358368, -0.47046786546707153, -0.4445003569126129, -0.08617948740720749, -0.30404675006866455, 0.14852508902549744, 0.8446782231330872, 0.1158786192536354, 0.21086502075195312, -0.49452143907546997, 0.3965911865234375, 0.5327418446540833, -0.11480314284563065, -0.10725262016057968, 0.31159457564353943, 0.3645923137664795, -0.9149362444877625, 0.23360440135002136, -0.4221619665622711, -0.32310402393341064, 0.7043859958648682, 0.6152528524398804, 0.9926679134368896, -0.16386081278324127, 0.2775100767612457, 0.05168510973453522, 0.4052410423755646, 0.014615439809858799, 0.44837257266044617, -0.029182948172092438, -0.3467872440814972, -0.3533233404159546, -0.4959490895271301, -0.8732757568359375, -0.35876330733299255, -0.5509496927261353, 0.3037232458591461, -0.34969669580459595, -0.7033299803733826, -0.31121304631233215, 0.22900456190109253, -0.6832196116447449, 0.016203295439481735, -0.27971386909484863, 1.0072444677352905, -0.47366756200790405, 0.32389897108078003, 0.9594018459320068, -0.492266982793808, -0.8124533891677856, -0.2386615127325058, -0.2255924642086029, -0.5434355139732361, 1.1229292154312134, -0.4864535629749298, -0.17799502611160278, -0.07145309448242188, -0.36641448736190796, -1.0124495029449463, 1.1212788820266724, -0.10462919622659683, 0.009485714137554169, -0.29174500703811646, -0.12711463868618011, 0.5262179970741272, -0.1575021892786026, -0.10038246214389801, -0.02138991467654705, 0.382656067609787, 0.3603527545928955, -1.2261542081832886, -0.08040188252925873, -0.31192827224731445, -0.015356415882706642, 0.4542996287345886, -0.475228488445282, 0.9322760105133057, -0.004394263494759798, -0.6170300245285034, 0.19822385907173157, 0.6226772665977478, 0.38836508989334106, 0.8973869681358337, 0.20736418664455414, 0.8549898266792297, 0.5843979120254517, 0.11220459640026093, 1.4759231805801392, -0.08584047853946686, 0.13732430338859558, 1.2608482837677002, -0.33666402101516724, 0.7832393050193787, 0.4937746226787567, -0.025253688916563988, 0.5773699283599854, 0.4357766807079315, 0.16310150921344757, 0.17048431932926178, -0.020174246281385422, -0.28410613536834717, 0.2985791862010956, -0.5209893584251404, -0.7911700010299683, 0.1847807765007019, 0.6361874938011169, -0.32302233576774597, -0.09726174175739288, 0.15780451893806458, -0.29663026332855225, 0.27486902475357056, -0.048773061484098434, 0.8159021139144897, 0.11247996240854263, -0.4762808382511139, 0.39807674288749695, -0.2323157638311386, 0.6657918095588684, -0.2639078199863434, -0.3010321855545044, -0.30128854513168335, -0.20104604959487915, -0.29605063796043396, -0.8487661480903625, 0.7440391778945923, 0.07293074578046799, -0.27019616961479187, -0.4480011463165283, 1.004442572593689, 0.2564230263233185, -0.3090381920337677, -0.06987104564905167, 0.6439606547355652, 0.035132866352796555, 0.34464219212532043, -0.20956943929195404, -0.022014476358890533, -0.246352419257164, -0.5633355379104614, 0.45546621084213257, 0.8983511328697205, -0.015045291744172573, 0.38520291447639465, 0.435270756483078, 0.16477593779563904, 0.11053620278835297, -0.10392821580171585, 0.9798020124435425, -0.6841505765914917, 0.018763776868581772, 0.04819490760564804, 0.6635127663612366, -0.24117428064346313, -0.15656350553035736, 0.8422034978866577, 0.6192631125450134, 0.820676326751709, -0.15747864544391632, 0.5835907459259033, -0.3807750940322876, 0.9653010964393616, -0.3354892134666443, 0.7581472992897034, -0.87391197681427, 0.13317455351352692, -0.33319106698036194, -0.8462917804718018, -0.27226173877716064, 0.17708653211593628, 0.23778006434440613, -0.00472851051017642, 0.9017714262008667, 0.6825346946716309, 0.04377860575914383, -0.24153530597686768, 0.30644533038139343, 0.0763206034898758, 0.36895477771759033, 0.007619285024702549, 0.8455212712287903, -0.7531142830848694, 0.3908455967903137, -0.24890099465847015, -0.2483873814344406, 0.006542775314301252, -0.8978963494300842, -0.5084095597267151, -0.7650649547576904, -0.18539850413799286, -0.5504871010780334, 0.09707757830619812, 0.5353980660438538, 0.4709779620170593, -0.6532941460609436, 0.023698311299085617, 0.20819054543972015, 0.24970412254333496, 0.3903377950191498, -0.2635307013988495, 0.30168306827545166, -0.6949289441108704, -0.6534947156906128, 0.3058225214481354, 0.10696613788604736, 0.31836843490600586, -0.02476760558784008, 0.06617342680692673, -0.4155504107475281, -0.07131417095661163, 0.6881612539291382, 0.6748121976852417, -0.3022545278072357, -0.4750830829143524, 0.3076542913913727, -0.30603715777397156, 0.06232333555817604, 1.0432862043380737, -0.890799880027771, 0.40572333335876465, 0.673408031463623, 0.9548548460006714, 0.5452116131782532, 0.09600967913866043, 0.637984037399292, -1.0533558130264282, 0.026402272284030914, 0.30729031562805176, 0.26849719882011414, 0.2389671355485916, -0.5431526899337769, 0.7614949345588684, 0.2714149057865143, -0.9404389262199402, -1.0983067750930786, 0.05199854448437691, -0.8885836005210876, -0.21091830730438232, 0.9012629389762878, 0.038393158465623856, -0.068812295794487, -0.357334703207016, -0.4674766957759857, 0.3078784942626953, -0.05350930616259575, 0.6037963032722473, 0.5422714352607727, -0.2554398477077484, 0.17392127215862274, -0.8411053419113159, 0.48032015562057495, 0.035969462245702744, -0.4131718873977661, -0.3096487522125244, 0.5437583327293396, -0.007216603960841894, 0.7943339943885803, 0.8245305418968201, -0.12232118844985962, 0.449293315410614, 0.2749938368797302, -0.16322091221809387, -0.37553009390830994, -0.5177825093269348, -0.17199261486530304, 0.3575991094112396, 0.30048221349716187, -0.026680810377001762 ]
http://arxiv.org/abs/2404.00656v1
http://arxiv.org/pdf/2404.00656v1
WavLLM: Towards Robust and Adaptive Speech Large Language Model
2024-03-31T12:01:32
2024-03-31T12:01:32
Shujie Hu, Long Zhou, Shujie Liu, Sanyuan Chen, Hongkun Hao, Jing Pan, Xunying Liu, Jinyu Li, Sunit Sivasankaran, Linquan Liu, Furu Wei
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
The recent advancements in large language models (LLMs) have revolutionized the field of natural language processing, progressively broadening their scope to multimodal perception and generation. However, effectively integrating listening capabilities into LLMs poses significant challenges, particularly with respect to generalizing across varied contexts and executing complex auditory tasks. In this work, we introduce WavLLM, a robust and adaptive speech large language model with dual encoders, and a prompt-aware LoRA weight adapter, optimized by a two-stage curriculum learning approach. Leveraging dual encoders, we decouple different types of speech information, utilizing a Whisper encoder to process the semantic content of speech, and a WavLM encoder to capture the unique characteristics of the speaker's identity. Within the curriculum learning framework, WavLLM first builds its foundational capabilities by optimizing on mixed elementary single tasks, followed by advanced multi-task training on more complex tasks such as combinations of the elementary tasks. To enhance the flexibility and adherence to different tasks and instructions, a prompt-aware LoRA weight adapter is introduced in the second advanced multi-task training stage. We validate the proposed model on universal speech benchmarks including tasks such as ASR, ST, SV, ER, and also apply it to specialized datasets like Gaokao English listening comprehension set for SQA, and speech Chain-of-Thought (CoT) evaluation set. Experiments demonstrate that the proposed model achieves state-of-the-art performance across a range of speech tasks on the same model size, exhibiting robust generalization capabilities in executing complex tasks using CoT approach. Furthermore, our model successfully completes Gaokao tasks without specialized training. The codes, models, audio, and Gaokao evaluation set can be accessed at \url{aka.ms/wavllm}.
[ -0.12529554963111877, -0.9932769536972046, 0.277168869972229, 0.3945004343986511, -0.04753218591213226, -0.08816702663898468, -0.402454137802124, -0.32127106189727783, -0.3638131022453308, 0.5985185503959656, -0.5564602613449097, -0.5434573292732239, -0.5917215943336487, -0.15775161981582642, -0.22031095623970032, 0.5721076130867004, 0.1785847544670105, 0.16885657608509064, -0.10348981618881226, -0.5209178924560547, -1.2145652770996094, -0.3435378968715668, -0.769915759563446, -0.2845795452594757, 0.38655349612236023, 0.3029005229473114, 0.2571706473827362, 0.3666738271713257, 0.020575856789946556, 0.28581440448760986, -0.19410452246665955, 0.14820176362991333, -0.37525954842567444, 0.2639467120170593, -0.11547058820724487, -0.5611065030097961, -0.6233972311019897, -0.17684532701969147, 0.8254185318946838, 0.6119205355644226, -0.49849259853363037, 0.11389974504709244, 0.2842772901058197, 0.4195478856563568, -0.34392955899238586, 0.3005184531211853, -0.904339075088501, -0.17590521275997162, 0.09652215987443924, 0.06442175805568695, -0.4268803000450134, -0.03902750834822655, 0.22255712747573853, -0.4650666117668152, -0.24923643469810486, -0.03912728279829025, 0.1737256795167923, 0.4442892372608185, -0.482921838760376, -0.4829529821872711, -0.5497432351112366, 1.108583927154541, -0.7951079607009888, 0.505158007144928, 0.3148624300956726, 0.34212052822113037, -0.19538196921348572, -0.4575978219509125, -0.3526577055454254, -0.22569575905799866, 0.629403293132782, 0.2086215615272522, -0.33186018466949463, -0.09996803104877472, 0.29482904076576233, 0.11754709482192993, -0.6264247298240662, 0.5781064033508301, -0.1676519364118576, -0.1814863383769989, 0.3321067690849304, 0.24706459045410156, 0.36623626947402954, 0.15910200774669647, -0.44787025451660156, 0.06756877154111862, -0.36752089858055115, 0.37816861271858215, 0.32489213347435, 0.5921570658683777, -0.46589481830596924, 0.36568787693977356, 0.03901321813464165, 0.8357687592506409, -0.09257158637046814, -0.525894284248352, 0.16053131222724915, -0.12623494863510132, -0.17790105938911438, 0.20693272352218628, 0.6513403058052063, -0.0857410877943039, 0.18752208352088928, 0.20143748819828033, -0.09161560982465744, 0.17420700192451477, 0.047549113631248474, -0.6817746162414551, 0.11619216203689575, 0.3070208728313446, -0.3037022650241852, -0.0762077122926712, -0.4186919331550598, -0.5558918714523315, -0.35920050740242004, -0.3964948356151581, 0.6858500838279724, -0.5024263858795166, -0.14623789489269257, 0.3422017991542816, 0.29922938346862793, 0.35120999813079834, 0.4757503271102905, -0.7911403775215149, 0.37010371685028076, 0.5270636677742004, 0.8872325420379639, -0.2695608139038086, -0.3357591927051544, -1.1753838062286377, 0.2020701915025711, -0.04550845921039581, 0.3832627832889557, -0.49917352199554443, -0.35621917247772217, 0.014368179254233837, -0.09417648613452911, -0.20392249524593353, -0.46004584431648254, 0.7306608557701111, -0.43690764904022217, 0.1710149347782135, -0.03744877874851227, -0.4992198944091797, -0.22537478804588318, 0.12602780759334564, -0.47312337160110474, 0.8196458220481873, 0.019173283129930496, -0.5136231780052185, 0.12089814990758896, -0.5901141166687012, -0.5826059579849243, -0.06958015263080597, 0.2001577913761139, -0.16398292779922485, 0.004816581029444933, 0.33652618527412415, 0.3933466076850891, -0.3887213468551636, 0.28733208775520325, -0.09831790626049042, -0.25367650389671326, 0.16732849180698395, -0.4146841764450073, 0.7668745517730713, 0.21965862810611725, -0.026770181953907013, 0.5547990202903748, -0.9663748145103455, 0.01433125976473093, 0.10851770639419556, -0.7011692523956299, -0.08684875816106796, 0.14498816430568695, 0.20863085985183716, 0.13556285202503204, 0.19874316453933716, -0.3463292717933655, 0.018545713275671005, -0.3655901253223419, 0.7202953100204468, 0.7117780447006226, -0.22165259718894958, 0.2933841943740845, -0.3104066550731659, 0.3980145752429962, -0.09243379533290863, -0.05191075801849365, -0.3855898678302765, -0.5416488647460938, -0.5791997313499451, -0.39399826526641846, 0.12036211043596268, 0.7961874604225159, -0.38098499178886414, 0.6105220913887024, 0.034455057233572006, -0.22092102468013763, -0.6250753998756409, 0.32653090357780457, 0.10421991348266602, 0.7177269458770752, 0.49458861351013184, -0.09249575436115265, -0.5774050951004028, -0.43436217308044434, -0.1747715175151825, -0.18631187081336975, -0.1722184419631958, 0.03264594450592995, 0.12040836364030838, -0.35619446635246277, 0.7336763739585876, -0.1782130002975464, -0.48399150371551514, -0.4462627172470093, 0.0571494959294796, 0.39363953471183777, 0.3519369065761566, 0.1341966688632965, -0.6877020001411438, -0.07873840630054474, -0.1499839723110199, -0.5870290994644165, -0.2667691707611084, -0.05852749943733215, 0.26531803607940674, -0.020977932959794998, 0.3976655602455139, -0.26085034012794495, 0.04843204468488693, 0.6919569373130798, -0.11307089030742645, 0.429830938577652, -0.2541705369949341, -0.17614945769309998, -1.2590019702911377, -0.14225861430168152, -0.040400322526693344, -0.40590980648994446, -0.6853630542755127, 0.03070296347141266, -0.053317341953516006, -0.26508674025535583, -0.46051257848739624, 0.39707180857658386, -0.3612315356731415, 0.011852340772747993, -0.6381723284721375, 0.2705709934234619, -0.05019218474626541, 0.43538132309913635, -0.04131836071610451, 0.5929855108261108, 1.0247416496276855, -0.6935190558433533, 0.5469512939453125, 0.21795383095741272, -0.44562655687332153, 0.8163145184516907, -0.8601438999176025, 0.22553220391273499, -0.0684572383761406, 0.2053501456975937, -0.9380546808242798, -0.10396959632635117, -0.03366607427597046, -0.2942562997341156, 0.3766096532344818, -0.07857416570186615, -0.20381076633930206, -0.2891385555267334, -0.14029692113399506, 0.20532450079917908, 0.795295000076294, -0.5091992020606995, 0.8857959508895874, 0.4817053973674774, -0.38020676374435425, -0.3794216215610504, -0.5747808218002319, 0.04174020141363144, -0.3632252812385559, -0.6906620860099792, -0.09514998644590378, -0.34887999296188354, -0.09318572282791138, -0.47895827889442444, -0.12475797533988953, 0.017312802374362946, 0.12572956085205078, 0.3717547655105591, 0.27181363105773926, -0.33135977387428284, 0.15664231777191162, -0.09450268000364304, -0.01830131746828556, 0.07914033532142639, -0.4399927258491516, 0.6087363958358765, -0.09058941155672073, -0.36323150992393494, -0.566336989402771, 0.3111647069454193, 0.7409719228744507, -0.34088772535324097, 0.4322251081466675, 1.0080088376998901, -0.5931679010391235, -0.3682556450366974, -0.609835147857666, 0.13932548463344574, -0.4051603376865387, 0.7123124599456787, -0.43276679515838623, -0.9189290404319763, 0.4423154592514038, -0.05033421888947487, 0.21074283123016357, 0.0961998850107193, 0.74639892578125, 0.06451443582773209, 0.9389187693595886, 0.45393893122673035, -0.32713782787323, 0.43389570713043213, 0.0597919262945652, -0.016095144674181938, -1.0748450756072998, -0.26447227597236633, -0.6047825813293457, -0.07291899621486664, -0.1098463237285614, -0.6213630437850952, 0.19982671737670898, 0.06387446075677872, -0.19756509363651276, 0.13300351798534393, -0.19450615346431732, 0.09226274490356445, 0.5392665863037109, 0.04314465448260307, 0.30560359358787537, -0.1421729326248169, 0.1225673034787178, 0.04272470623254776, -0.5640735626220703, -0.4893832504749298, 0.9046837091445923, 0.5487973093986511, 1.0691879987716675, 0.08280627429485321, 0.2737918198108673, 0.2813393473625183, -0.16913188993930817, -1.1087721586227417, 0.48635438084602356, -0.13887453079223633, -0.015653615817427635, -0.3999367654323578, -0.36655423045158386, -0.7901653051376343, 0.38039156794548035, -0.2503105103969574, -0.84507155418396, -0.2049233317375183, 0.03490114212036133, -0.18718533217906952, 0.21788372099399567, -0.5429975390434265, 0.6058641076087952, -0.21750080585479736, -0.2523655593395233, -0.2995229661464691, -0.6274392604827881, 0.32756397128105164, -0.35486122965812683, 0.5003743767738342, -0.36221474409103394, -0.13167978823184967, 0.9731693863868713, -0.06331302970647812, 0.7720478773117065, -0.3064229488372803, -0.43898093700408936, 0.45850875973701477, -0.2237975150346756, 0.5221773386001587, 0.07041769474744797, -0.2688142955303192, 0.007896585389971733, 0.013890390284359455, -0.39266568422317505, -0.26780253648757935, 0.8547621369361877, -0.8615057468414307, -0.649970531463623, -0.21045391261577606, -1.0661675930023193, -0.6105839610099792, 0.20415353775024414, 0.05307262763381004, 0.5966235995292664, -0.2876818776130676, 0.173133984208107, 0.8319108486175537, -0.3529544472694397, 0.4386415183544159, 0.6059961915016174, -0.1952514499425888, -0.3780438303947449, 0.7465541362762451, -0.0418427512049675, 0.3758739233016968, 0.3883298635482788, 0.3837638199329376, -0.41424310207366943, -0.8741272687911987, -0.3046875298023224, -0.04109615832567215, -0.6695052981376648, -0.07220885157585144, -0.7873777747154236, -0.07011008262634277, -0.43704697489738464, 0.08474771678447723, -0.20798546075820923, -0.02005930431187153, -0.4654618203639984, 0.20933915674686432, 0.15433278679847717, 0.5636793375015259, 0.11963508278131485, 0.1963982731103897, -0.6176325082778931, 0.7014756202697754, 0.7574443817138672, -0.0377916544675827, 0.06225157901644707, -1.0083589553833008, -0.0421740859746933, 0.2048238217830658, -0.1280636340379715, -0.589414656162262, 0.17852291464805603, 0.35760897397994995, 0.5499604940414429, 0.1724923849105835, -0.07193180173635483, 0.563663125038147, -0.45940709114074707, 0.7214662432670593, 0.4240354299545288, -1.0976790189743042, 0.6966311931610107, -0.3802793622016907, 0.7843492031097412, 0.19753898680210114, -0.04595908522605896, -0.5054818987846375, -0.2422896921634674, -0.00417483551427722, -0.7432141304016113, 0.6432157754898071, -0.21136754751205444, 0.21569615602493286, 0.3701462149620056, -0.018564336001873016, 0.21624040603637695, -0.15888287127017975, -0.5867244601249695, 0.08507545292377472, -0.1976277232170105, -0.4303784966468811, 0.10103872418403625, -0.3355945944786072, -0.03959375619888306, -0.07076437026262283, 0.7211137413978577, -0.3974344730377197, -0.17796798050403595, -0.1288406103849411, -0.32517170906066895, -0.04012160748243332, 0.7438468933105469, 0.5825517177581787, 0.6203154921531677, -0.1682150959968567, 0.00827668234705925, 0.6161891222000122, -0.5520765781402588, 0.20545798540115356, 0.13261033594608307, 0.16191047430038452, -0.28413933515548706, 0.5831981897354126, 1.0165787935256958, 0.500912070274353, -0.9105415344238281, 0.4325895607471466, -0.1358596533536911, -0.06308397650718689, -0.10476432740688324, 0.36823737621307373, 0.4168127477169037, 0.3732081949710846, 0.5476929545402527, -0.026662927120923996, -0.06923878937959671, -0.6659073829650879, -0.041878968477249146, 0.4031190574169159, -0.570289134979248, -0.31774380803108215, 0.9391776323318481, 0.1017395481467247, -0.34454232454299927, 0.33581820130348206, 0.25603047013282776, -0.1456608921289444, 0.39227381348609924, 0.9216911792755127, 0.6377396583557129, -0.5293434262275696, -0.1811842918395996, 0.29350125789642334, 0.19173696637153625, -0.1439235359430313, 0.4152739644050598, 0.07378015667200089, -0.5807472467422485, -0.3192000985145569, -0.873863697052002, -0.29388001561164856, 0.20779788494110107, -0.924580454826355, 0.3861585855484009, -0.4311660826206207, -0.12661758065223694, -0.154927060008049, -0.2819766700267792, -0.6993266940116882, 0.15249040722846985, 0.31987693905830383, 0.9627805948257446, -0.6719464063644409, 1.0626550912857056, 0.605269193649292, 0.031477417796850204, -0.7118279933929443, -0.12369780242443085, 0.12167352437973022, -1.0316253900527954, 0.21670997142791748, 0.2011650651693344, -0.3124808371067047, 0.07810866832733154, -0.23257221281528473, -0.680501401424408, 1.1297369003295898, 0.4137766361236572, -0.9568148851394653, -0.0610656775534153, -0.2160855084657669, 0.2830807864665985, -0.43876132369041443, -0.07739690691232681, 0.43598273396492004, 0.29650256037712097, 0.20938032865524292, -1.0146092176437378, 0.04619719833135605, 0.22718150913715363, 0.13496990501880646, -0.14237172901630402, -0.5351197719573975, 0.6948530673980713, -0.4777529239654541, -0.010856039822101593, 0.34012165665626526, 0.8412889242172241, 0.39645683765411377, 0.1753319352865219, 0.6768888831138611, 0.3273638188838959, 1.0222080945968628, -0.055567335337400436, 0.6112749576568604, 0.042924825102090836, 0.10996666550636292, 1.3282617330551147, -0.5817058086395264, 0.958479106426239, 0.4046051502227783, -0.2351868450641632, 0.2895622253417969, 0.2010076493024826, 0.14665019512176514, 0.452754944562912, 0.27836933732032776, -0.3626757860183716, -0.25226718187332153, -0.3120342493057251, -0.4025547504425049, 0.713687002658844, 0.48005563020706177, 0.005690544843673706, 0.03874997794628143, 0.47914114594459534, -0.26610565185546875, 0.1629144251346588, -0.6234065890312195, 0.8144300580024719, 0.29743972420692444, -0.3291078805923462, 0.5460236072540283, 0.0310005322098732, 0.9363981485366821, -0.9824597239494324, 0.12306438386440277, 0.2347438782453537, 0.08312392979860306, -0.0961056798696518, -0.5825380086898804, 0.0021339058876037598, 0.06216263771057129, -0.24282535910606384, 0.051778506487607956, 0.7960785031318665, -0.6060232520103455, -0.42316070199012756, 0.44028037786483765, 0.4951406717300415, -0.18039874732494354, 0.03428327664732933, -0.5634517073631287, 0.584509015083313, -0.16300390660762787, -0.08202647417783737, 0.28024834394454956, 0.213908851146698, 0.036088839173316956, 0.700893223285675, 0.6985086798667908, 0.07982027530670166, 0.12592703104019165, 0.5049079656600952, 0.511762261390686, -0.5453330278396606, -0.7089966535568237, -0.669600248336792, 0.39033547043800354, 0.3605111837387085, -0.04792541638016701, 0.6639338135719299, 0.3756776452064514, 0.4785800874233246, -0.0065053366124629974, 0.8818220496177673, 0.21700070798397064, 0.4528566002845764, -0.8814689517021179, 0.4172428846359253, -0.30752894282341003, 0.31946876645088196, -0.2084125131368637, -0.9609547257423401, -0.13429006934165955, 0.5134581327438354, -0.07023727148771286, 0.038972314447164536, 0.4406372010707855, 0.5016832947731018, -0.024470629170536995, 0.1745576113462448, 0.526380717754364, 0.40158790349960327, 0.36236512660980225, 0.8201479315757751, 0.860035240650177, -0.3582703471183777, 0.5790266990661621, 0.2949688732624054, -0.31088438630104065, -0.07271641492843628, -0.7189990282058716, -0.9526370167732239, -0.5439771413803101, -0.36534175276756287, -0.2102481722831726, -0.032376740127801895, 0.9509075880050659, 0.814098596572876, -0.7806944251060486, -0.2878470718860626, 0.18569332361221313, 0.06244901567697525, -0.19177429378032684, -0.2060365229845047, 0.1908237636089325, -0.26972314715385437, -0.8011748790740967, 0.9323670864105225, 0.43725132942199707, -0.017917193472385406, -0.1112477034330368, -0.3284108638763428, -0.14908720552921295, 0.14851529896259308, 0.7232292890548706, 0.17584604024887085, -0.9836722016334534, -0.2990935742855072, -0.24544879794120789, -0.00570304412394762, 0.05091384798288345, 0.6038268804550171, -0.7293935418128967, 0.5841037034988403, 0.1620056927204132, 0.6535601019859314, 0.35195237398147583, -0.10767443478107452, 0.3629445731639862, -0.5192198753356934, 0.19811062514781952, 0.12347254157066345, 0.5738460421562195, 0.5088322162628174, -0.060729775577783585, 0.14066362380981445, -0.04263428598642349, -0.385649710893631, -0.8352708220481873, 0.2551406919956207, -1.4778797626495361, -0.20503222942352295, 1.0825181007385254, -0.08080010116100311, -0.09430486708879471, -0.23223106563091278, -0.5498116612434387, 0.35996827483177185, -0.34928980469703674, 0.3686772882938385, 0.6212656497955322, 0.09670275449752808, -0.199718177318573, -0.6897343397140503, -0.15502385795116425, 0.33184295892715454, -0.8104037642478943, 0.029431505128741264, 0.3516954779624939, 0.5887225866317749, -0.18524062633514404, 0.47667640447616577, 0.018208781257271767, 0.29162487387657166, -0.2113039344549179, -0.11836657673120499, -0.27182191610336304, -0.13603945076465607, -0.6776645183563232, 0.2579062283039093, 0.2996813952922821, -0.32073575258255005 ]
http://arxiv.org/abs/2404.01345v1
http://arxiv.org/pdf/2404.01345v1
Enhancing Bangla Fake News Detection Using Bidirectional Gated Recurrent Units and Deep Learning Techniques
2024-03-31T09:52:25
2024-03-31T09:52:25
Utsha Roy, Mst. Sazia Tahosin, Md. Mahedi Hassan, Taminul Islam, Fahim Imtiaz, Md Rezwane Sadik, Yassine Maleh, Rejwan Bin Sulaiman, Md. Simul Hasan Talukder
cs.CL
cs.CL, cs.LG
The rise of fake news has made the need for effective detection methods, including in languages other than English, increasingly important. The study aims to address the challenges of Bangla which is considered a less important language. To this end, a complete dataset containing about 50,000 news items is proposed. Several deep learning models have been tested on this dataset, including the bidirectional gated recurrent unit (GRU), the long short-term memory (LSTM), the 1D convolutional neural network (CNN), and hybrid architectures. For this research, we assessed the efficacy of the model utilizing a range of useful measures, including recall, precision, F1 score, and accuracy. This was done by employing a big application. We carry out comprehensive trials to show the effectiveness of these models in identifying bogus news in Bangla, with the Bidirectional GRU model having a stunning accuracy of 99.16%. Our analysis highlights the importance of dataset balance and the need for continual improvement efforts to a substantial degree. This study makes a major contribution to the creation of Bangla fake news detecting systems with limited resources, thereby setting the stage for future improvements in the detection process.
[ -0.20692549645900726, -1.0850722789764404, 0.15874841809272766, 0.5089291930198669, -0.5260413289070129, 0.379668265581131, 0.12118358165025711, -0.6678081154823303, 0.16208085417747498, 0.21455660462379456, -0.08748580515384674, -0.320936381816864, -0.5043246746063232, 0.009580498561263084, -0.48527494072914124, 1.008584976196289, -0.004929647780954838, 0.14701159298419952, 0.2336103767156601, -0.08790229260921478, -0.9798073172569275, -0.18966476619243622, -0.5954673886299133, -0.20585153996944427, 0.5466355085372925, 0.1613040417432785, 0.5897921919822693, 0.0462985560297966, 0.2605281472206116, 0.16682696342468262, -0.10483358800411224, 0.4598827064037323, -0.47151267528533936, -0.3431450426578522, -0.42329689860343933, -0.26086267828941345, -0.17686985433101654, -0.05407918244600296, 0.8253517150878906, 0.36803239583969116, -0.12838038802146912, 0.05059623345732689, -0.25727277994155884, 0.8170359134674072, -0.49138638377189636, 0.017136158421635628, -0.5976144671440125, -0.07885660976171494, -0.2811111807823181, -0.10447115451097488, -0.3379782736301422, -0.6408714056015015, -0.2257004678249359, -0.042707640677690506, 0.19924283027648926, -0.14154581725597382, 1.0918666124343872, -0.07993318140506744, -0.6539162397384644, -0.38434892892837524, -0.6693172454833984, 0.40286460518836975, -0.882162868976593, 0.5268542170524597, 0.033833812922239304, 0.36421483755111694, -0.36930420994758606, -0.2240314483642578, -0.8894023299217224, -0.2049388587474823, -0.06661493331193924, 0.2442646026611328, -0.11030702292919159, -0.12566550076007843, -0.048846613615751266, 0.36043229699134827, -0.8582107424736023, 0.08292470872402191, -0.6806707978248596, -0.21247470378875732, 0.6967965960502625, -0.150868222117424, 0.2513418197631836, -0.3953689932823181, -0.41047078371047974, 0.23216195404529572, -0.6935549378395081, -0.09036856889724731, 0.5527842044830322, 0.4451710283756256, -0.006554476451128721, 0.1911981850862503, -0.4436914026737213, 0.9130839109420776, 0.10981972515583038, -0.5446739196777344, 0.311266154050827, -0.49067261815071106, -0.5515288710594177, 0.2632589042186737, 0.31423816084861755, 0.11617523431777954, 0.08471468091011047, 0.006005604285746813, -0.2510112524032593, 0.3112570345401764, 0.4045516848564148, -0.7073701024055481, 0.02775922231376171, 0.04785432294011116, -0.4937617778778076, -0.3395897150039673, 0.058060381561517715, -0.5498754382133484, -0.4281993806362152, -0.44698649644851685, 0.4597412943840027, -0.34240248799324036, -0.5764786601066589, 0.34386685490608215, 0.14237967133522034, 0.2968873381614685, 0.4866483211517334, -0.3010711073875427, -0.1825624704360962, 0.48515862226486206, 0.736253023147583, -0.008198355324566364, -0.009482348337769508, -0.365283340215683, -0.13780269026756287, -0.6252068281173706, 0.692443311214447, -0.49080514907836914, -0.13287460803985596, -0.09664102643728256, 0.17244169116020203, -0.051424942910671234, -0.4926515221595764, 0.6110294461250305, -0.8674120903015137, 0.1322360336780548, -0.13127575814723969, -0.4219599962234497, -0.5907950401306152, 0.2951801121234894, -0.5292462706565857, 0.7260770201683044, 0.15795210003852844, -0.482306569814682, 0.3356876075267792, -0.10560227185487747, -0.8699055910110474, 0.176825150847435, -0.0608799122273922, -0.6875542402267456, 0.3686259984970093, 0.30244582891464233, 0.4143981635570526, 0.1609722226858139, 0.5259114503860474, 0.04863452538847923, -0.6805238723754883, 0.14624498784542084, -0.7272083163261414, 0.7635766863822937, 0.40062907338142395, -0.4056447446346283, -0.1363265961408615, -0.5370693206787109, -0.30010658502578735, -0.009823616594076157, -0.44069579243659973, -0.24719470739364624, -0.4299958646297455, 0.16634336113929749, 0.11735167354345322, -0.0028387641068547964, -0.7066735029220581, 0.23769599199295044, -0.33790141344070435, -0.20858876407146454, 0.578673779964447, 0.05231242626905441, -0.024191824719309807, -0.30082860589027405, 0.41521307826042175, 0.3669372498989105, 0.0214220080524683, -0.23368830978870392, -0.43211618065834045, -0.5070828199386597, -0.23735065758228302, 0.49376004934310913, 0.42764875292778015, -0.6980313062667847, 0.1556367427110672, -0.144365131855011, -0.3315355181694031, -0.6003502607345581, 0.16501401364803314, 0.3260026276111603, 0.4406728446483612, 0.13318657875061035, -0.19730651378631592, -0.6704753041267395, -0.9013856053352356, -0.285178005695343, 0.030652783811092377, 0.38570886850357056, 0.01479833573102951, 0.5492073893547058, -0.2660439908504486, 0.8728534579277039, -0.0002596203703433275, -0.09065722674131393, -0.2529430091381073, 0.19590412080287933, 0.4176490306854248, 0.2493598908185959, 0.5755310654640198, -1.469469428062439, -0.45483145117759705, 0.08874813467264175, -0.6525667905807495, -0.04078331217169762, -0.3882848024368286, 0.269771546125412, 0.8239732980728149, 0.1961819976568222, -0.6006610989570618, 0.7431268692016602, 0.3589976727962494, -0.35313111543655396, 0.7046432495117188, 0.03937026113271713, 0.4963238537311554, -1.0101419687271118, -0.13976392149925232, 0.13105599582195282, -0.6184077858924866, -0.6417232155799866, 0.18468497693538666, 0.17734165489673615, -0.15051430463790894, -0.5053248405456543, 0.5380325317382812, -0.3083534240722656, -0.023399844765663147, -0.7269658446311951, 0.13182677328586578, 0.02024916745722294, 0.10634829103946686, 0.038904815912246704, 0.5770192742347717, 0.22814753651618958, -0.42507505416870117, 0.6477769613265991, -0.2494991421699524, -0.5147403478622437, 0.4171144664287567, -0.4730522930622101, -0.10755182802677155, -0.4335375130176544, 0.3882195055484772, -1.071048378944397, -0.293545663356781, 0.3644050657749176, -0.5819770693778992, 0.5339388847351074, -0.08007274568080902, -0.6815700531005859, -0.6626386046409607, -0.0594291128218174, 0.2735722064971924, 0.32324156165122986, -0.6672439575195312, 0.26029661297798157, 0.19649262726306915, 0.05883309617638588, -0.6510370969772339, -0.6175059676170349, 0.14667338132858276, -0.006805501412600279, -0.49121782183647156, 0.09387807548046112, 0.1754339337348938, -0.04185173660516739, 0.08335608243942261, -0.3844381868839264, 0.060655377805233, -0.08222609758377075, 0.17328596115112305, 0.2622213065624237, -0.24526166915893555, 0.2794227600097656, 0.08653073012828827, 0.09076718986034393, -0.19463741779327393, -0.13269290328025818, 0.39703163504600525, -0.41289055347442627, -0.4382375180721283, -0.7012621760368347, 0.3136739134788513, 0.703438937664032, 0.010592199862003326, 0.8129734396934509, 0.8633416891098022, -0.7410998940467834, -0.06610672920942307, -0.8820320963859558, 0.04691360145807266, -0.3632795214653015, 0.4461140036582947, -0.13105890154838562, -0.5530616641044617, 0.18701164424419403, 0.04506784677505493, -0.46816515922546387, 0.062022238969802856, 0.6435396075248718, 0.2566114366054535, 0.7766949534416199, 0.5358448624610901, -0.6494734287261963, 0.1554904282093048, 0.05265680328011513, 0.7802993059158325, -0.23329883813858032, -0.3236548602581024, 0.031129896640777588, -0.2862623333930969, -0.529407262802124, -0.46907925605773926, 0.01882847025990486, 0.2537841796875, 0.004560600500553846, 0.21595904231071472, -0.47576871514320374, 0.5383182168006897, 0.43627992272377014, 0.3382009267807007, 0.4848814904689789, 0.16556094586849213, 0.38039565086364746, 0.15050356090068817, -0.4156225025653839, -0.5050100088119507, 0.7940318584442139, 0.4499812722206116, 0.840995728969574, 0.1458878368139267, 0.3507198095321655, 0.7181577086448669, 0.27832505106925964, -0.5505829453468323, 0.3767814338207245, 0.03691081330180168, -0.6962319612503052, -0.03077763132750988, -0.3923063576221466, -0.6812142729759216, 0.24455009400844574, 0.07528497278690338, -0.2677982449531555, 0.28755444288253784, -0.07692227512598038, -0.4609679579734802, 0.5781205892562866, -0.7969330549240112, 0.465070515871048, -0.2534545063972473, -0.348497211933136, -0.46254104375839233, -0.3561228811740875, 0.6551337242126465, -0.2072979211807251, 0.01570054516196251, -0.0863928496837616, 0.3517076075077057, 0.38035520911216736, 0.12149199098348618, 0.9434413313865662, -0.24357636272907257, -0.17458359897136688, 0.3643271327018738, -0.14508670568466187, 0.5524797439575195, 0.33587515354156494, 0.14126068353652954, 0.3148224353790283, -0.3122982680797577, -0.7731170058250427, -0.2852751314640045, 0.8987504243850708, -0.40739449858665466, -0.6033286452293396, -0.6393547058105469, -0.8523061275482178, 0.05702296644449234, 0.0817606970667839, -0.09311163425445557, 0.35959452390670776, -0.03828687220811844, 0.3163726329803467, 0.6488041877746582, -0.3135416507720947, 0.489330530166626, 0.6284003257751465, -0.5382511615753174, -0.056172486394643784, 0.9469296932220459, 0.29311197996139526, -0.09352229535579681, 0.15726149082183838, 0.004282505251467228, -0.235109344124794, -0.7146007418632507, -0.6280447244644165, 0.20171919465065002, -0.25769737362861633, -0.48121848702430725, -0.325885534286499, -0.5776403546333313, -0.631635844707489, -0.10267239809036255, -0.30499011278152466, -0.0990077406167984, -0.01867055334150791, -0.22227883338928223, 0.14689601957798004, 0.6426399350166321, -0.10732914507389069, 0.18755599856376648, -0.6351160407066345, 0.6775605082511902, 0.34234005212783813, 0.1934964507818222, -0.06210501119494438, -0.6984069347381592, -0.3259687125682831, 0.4590240716934204, -0.23421575129032135, -0.8388339281082153, 0.589431643486023, -0.250815749168396, 0.4377789795398712, 0.6858208775520325, -0.09325302392244339, 0.698631227016449, -0.09400562196969986, 0.4984528720378876, 0.011846731416881084, -0.6965458989143372, 0.7755346298217773, -0.6057366728782654, 0.014010208658874035, 0.22807331383228302, 0.7135660648345947, -0.4370811879634857, -0.10296029597520828, -0.274946004152298, -0.3428362309932709, 0.42897194623947144, 0.2143830806016922, 0.17214126884937286, 0.05137045681476593, 0.4305632412433624, 0.24470262229442596, 0.48379483819007874, -1.160181999206543, -0.19179467856884003, -0.12090490013360977, -0.025879239663481712, 0.26081782579421997, -0.4405994415283203, 0.2643279433250427, -0.393405020236969, 0.8920016884803772, 0.30217450857162476, -0.022455327212810516, 0.2582547962665558, -0.24529358744621277, 0.03688652813434601, 0.2418537586927414, 0.8126949071884155, 1.038586139678955, -0.24056920409202576, -0.20902912318706512, 0.011590121313929558, -0.5236541628837585, 0.19216977059841156, 0.10952422022819519, -0.47021663188934326, 0.4344847798347473, 0.15143771469593048, 0.7239303588867188, -0.17892591655254364, -0.7348260283470154, 0.5553914904594421, 0.41244935989379883, 0.06246479973196983, -0.3267093002796173, -0.18232624232769012, 0.00566215580329299, 0.37924760580062866, 0.7825281620025635, 0.14508570730686188, 0.02868756838142872, -0.8027792572975159, 0.30928364396095276, 0.4738703668117523, -0.34494805335998535, -0.19204682111740112, 0.26126325130462646, 0.12227099388837814, -0.2504245936870575, 0.4596007764339447, -0.7258113622665405, -0.726980447769165, 0.6454446911811829, 0.9560667872428894, 0.24100762605667114, -0.5593454241752625, 0.729468584060669, 0.23185069859027863, 0.6412174701690674, -0.24929356575012207, 0.01665029488503933, 0.2982282340526581, -0.7460355758666992, -0.3945218324661255, -0.7882667779922485, -0.036080796271562576, 0.6515442728996277, -0.35728147625923157, 0.3019874095916748, -0.2953849136829376, 0.21700698137283325, -0.3453863561153412, 0.4716692268848419, -0.2283594310283661, 0.3718838393688202, 0.5712959170341492, 0.8772295117378235, -1.123916506767273, 0.8667405843734741, 0.4732624590396881, -0.26399755477905273, -0.5095431208610535, -0.04706823080778122, 0.13435937464237213, -0.6063060164451599, 0.7646836638450623, 0.46914711594581604, -0.0250104907900095, -0.24921241402626038, -0.34054863452911377, -0.46368706226348877, 0.740918755531311, 0.261631041765213, -0.863840639591217, 0.10594318062067032, 0.23984718322753906, 0.4658220112323761, -0.41821223497390747, -0.11790357530117035, 0.59056556224823, 0.5421779751777649, 0.1349734663963318, -0.6611437797546387, 0.1328355073928833, -0.30284765362739563, -0.08297356218099594, 0.3186906576156616, -0.8408734202384949, 0.9086146950721741, -0.1850598007440567, -0.32102566957473755, -0.18282780051231384, 0.8232064247131348, 0.1946386843919754, 0.9102593660354614, 0.22800703346729279, 0.8045644164085388, 0.8468829393386841, 0.05845269933342934, 0.7983217239379883, 0.26906803250312805, 0.3090185225009918, 1.134627103805542, -0.25054869055747986, 0.47947654128074646, 0.13364267349243164, -0.09829907864332199, 0.6695231795310974, 0.732715368270874, -0.26430535316467285, 0.49924466013908386, 0.26665642857551575, -0.5719518065452576, -0.10290493816137314, -0.2798733413219452, -0.5273893475532532, 0.38502800464630127, 0.40210679173469543, -0.2375493347644806, -0.5526062250137329, 0.6233250498771667, 0.12218548357486725, 0.19904185831546783, -0.5440812706947327, 0.1313309222459793, -0.1420775055885315, -0.34269699454307556, 0.5308928489685059, -0.00020497884543146938, 0.7448025941848755, -0.4195238947868347, -0.11615663021802902, -0.5138424634933472, 0.20807182788848877, -0.25663304328918457, -0.42644745111465454, 0.4053099453449249, -0.08358199149370193, -0.28694939613342285, 0.0584275983273983, 1.1771794557571411, -0.5704476237297058, -0.8957350850105286, 0.19290511310100555, 0.45397913455963135, 0.09137512743473053, -0.4494224190711975, -0.375014990568161, 0.09527766704559326, 0.08962510526180267, -0.021192846819758415, 0.22053880989551544, 0.17675910890102386, -0.10106450319290161, 0.5333806276321411, 0.7343298196792603, 0.515629231929779, 0.1458384245634079, 0.04225899279117584, 0.7268970608711243, -0.719641387462616, -0.2754238545894623, -0.7107735872268677, 0.06717447191476822, -0.3745342493057251, 0.027067815884947777, 1.0912541151046753, 0.7458100914955139, 1.0488848686218262, -0.09008018672466278, 0.7615967988967896, 0.023394986987113953, 0.5679224729537964, -0.48730915784835815, 0.7953791618347168, -0.40900301933288574, 0.2634641230106354, -0.1382298320531845, -0.7266793847084045, -0.2155493050813675, 0.39780133962631226, -0.13430151343345642, -0.0031324774026870728, 0.5153961777687073, 0.9544945955276489, -0.2668929100036621, 0.14852535724639893, 0.5089190006256104, 0.3609504997730255, 0.1373790055513382, 0.6628808379173279, 0.8567359447479248, -0.8435710072517395, 0.40896356105804443, -0.11935271322727203, -0.15591312944889069, -0.5453472137451172, -0.7282663583755493, -1.0497770309448242, -0.3915238380432129, -0.4343785047531128, -0.24868126213550568, 0.40882188081741333, 0.48852813243865967, 0.81932532787323, -0.9182010889053345, 0.2274707853794098, -0.04382594674825668, 0.4943484961986542, -0.059844836592674255, -0.320356547832489, 0.4274787902832031, -0.24618491530418396, -0.6887723207473755, 0.5175603032112122, 0.32694122195243835, 0.056251198053359985, -0.1993989199399948, 0.2083345204591751, -0.6069823503494263, 0.23160262405872345, 0.8635917901992798, 0.4217216670513153, -0.7151654362678528, -0.35030633211135864, -0.3096385896205902, -0.17405010759830475, -0.10382621735334396, 0.5842081308364868, -1.2076406478881836, 0.3455664813518524, 0.4811403155326843, 0.7562823295593262, 0.3865395188331604, 0.34949102997779846, 0.1368694007396698, -0.702508807182312, 0.33660954236984253, 0.06011372432112694, 0.11842547357082367, 0.3763177692890167, -0.6119386553764343, 0.45884424448013306, 0.5297185778617859, -0.4968945384025574, -0.9888675808906555, 0.14179907739162445, -0.9979573488235474, -0.581238329410553, 0.9904635548591614, 0.15932688117027283, -0.24154937267303467, -0.442260205745697, -0.33947426080703735, 0.27541670203208923, -0.3387872874736786, 1.0485974550247192, 0.5965003967285156, 0.15412066876888275, -0.05814477428793907, -0.5576027631759644, 0.13343587517738342, 0.21651653945446014, -0.5819613337516785, -0.3141063451766968, 0.5291688442230225, 0.15291140973567963, 0.2654021382331848, 0.46984443068504333, -0.07662332057952881, 0.4972827732563019, -0.1554047167301178, -0.21274806559085846, -0.2819952070713043, -0.5860714316368103, -0.3831464648246765, 0.11765651404857635, -0.7317716479301453, -0.36553916335105896 ]
http://arxiv.org/abs/2404.00629v1
http://arxiv.org/pdf/2404.00629v1
Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
2024-03-31T09:50:39
2024-03-31T09:50:39
Lizhi Lin, Honglin Mu, Zenan Zhai, Minghan Wang, Yuxia Wang, Renxi Wang, Junjie Gao, Yixuan Zhang, Wanxiang Che, Timothy Baldwin, Xudong Han, Haonan Li
cs.CL
cs.CL
Generative models are rapidly gaining popularity and being integrated into everyday applications, raising concerns over their safety issues as various vulnerabilities are exposed. Faced with the problem, the field of red teaming is experiencing fast-paced growth, which highlights the need for a comprehensive organization covering the entire pipeline and addressing emerging topics for the community. Our extensive survey, which examines over 120 papers, introduces a taxonomy of fine-grained attack strategies grounded in the inherent capabilities of language models. Additionally, we have developed the searcher framework that unifies various automatic red teaming approaches. Moreover, our survey covers novel areas including multimodal attacks and defenses, risks around multilingual models, overkill of harmless queries, and safety of downstream applications. We hope this survey can provide a systematic perspective on the field and unlock new areas of research.
[ -0.5873767137527466, -0.6991779208183289, 0.325575053691864, 0.11612402647733688, 0.09269614517688751, 0.38349926471710205, 0.217206671833992, -0.8130428194999695, 0.043688252568244934, 0.4287152588367462, -0.4392097294330597, -0.304141104221344, -0.694851279258728, 0.09593520313501358, -0.7328502535820007, 1.1250680685043335, 0.08286494016647339, -0.10031390935182571, -0.1916181445121765, -0.6082422733306885, -0.41142380237579346, -0.6012639999389648, -0.6768762469291687, -0.12531082332134247, 0.6355122923851013, 0.11931100487709045, 0.6171990633010864, 0.16676078736782074, 0.7622726559638977, 0.3304142951965332, -0.1347145140171051, -0.43945008516311646, -0.5585132837295532, 0.6624444127082825, -0.2221662849187851, -0.5325866937637329, -0.4973825514316559, 0.06861747056245804, 0.2871854901313782, 0.5190902948379517, -0.3255334794521332, 0.21134647727012634, -0.23828454315662384, 0.8283969163894653, -0.954157829284668, -0.28101593255996704, -0.7509326934814453, 0.23414094746112823, -0.4633466899394989, -0.09575162082910538, -0.3432888686656952, -0.27741244435310364, 0.2749544382095337, -0.40795058012008667, 0.5366672277450562, 0.05956907942891121, 0.4294808506965637, 0.15087643265724182, -0.1072663888335228, -0.12846115231513977, -0.6291478872299194, 0.6898275017738342, 0.06471634656190872, -0.014045997522771358, 0.19469423592090607, 0.615750789642334, 0.2721918523311615, -0.7308850884437561, -0.2866821885108948, -0.1147228330373764, 0.00869752001017332, 0.33743900060653687, -0.8557112216949463, 0.03571033477783203, -0.00875868834555149, 0.4511041045188904, -0.8487135767936707, 0.34451431035995483, -0.34449008107185364, 0.119223952293396, 0.876632034778595, 0.4129039943218231, 0.7776650786399841, 0.15703648328781128, -0.6073757410049438, -0.29956984519958496, -0.7122762203216553, -0.2581019699573517, 0.2799830734729767, 0.07747160643339157, -0.28068721294403076, 0.43246763944625854, -0.10553879290819168, 0.7748062610626221, -0.08425067365169525, 0.6121279001235962, -0.2181856483221054, -0.6349923014640808, -0.19298334419727325, -0.1737900972366333, 0.842461347579956, 0.5491768717765808, 0.05363905802369118, -0.46167054772377014, -0.5303455591201782, 0.30273300409317017, 0.7384376525878906, -0.33877313137054443, -0.5379925966262817, 0.5192878246307373, -0.3034985661506653, -0.6252267956733704, -0.03803266957402229, -1.2586275339126587, -0.7344452738761902, 0.3266606628894806, 0.0036520487628877163, -0.20560315251350403, -0.6094366312026978, -0.24358004331588745, -0.40344175696372986, 0.24655435979366302, 0.10832785815000534, -0.6861661076545715, 0.31543096899986267, 0.654373824596405, 0.8491032719612122, -0.22284720838069916, -0.39963608980178833, -0.5922574996948242, -0.07483796775341034, -0.31627339124679565, 0.8979588150978088, -0.3833135664463043, -0.6363325119018555, 0.1090986579656601, -0.3510496914386749, -0.028512516990303993, -0.5153717994689941, 0.1355900913476944, -0.6182253956794739, 0.010384752415120602, 0.11749894171953201, -0.14683446288108826, 0.06760706752538681, 0.7444120645523071, -0.7976686358451843, 0.8218265175819397, -0.05774151533842087, -0.9113189578056335, 0.1794244349002838, -0.7991143465042114, -0.33373692631721497, 0.296558141708374, -0.2540031373500824, -0.5281462073326111, 0.19985119998455048, 0.02040974609553814, 0.43958616256713867, -0.671148955821991, -0.014860679395496845, -0.1332186758518219, 0.02950659580528736, 0.1284414678812027, -0.16200442612171173, 1.0480926036834717, 0.22521145641803741, -0.5423895716667175, 0.6276171803474426, -0.4522444009780884, 0.08700940757989883, 0.4778614342212677, 0.03252806141972542, -0.5999580025672913, -0.13940119743347168, 0.22732923924922943, 0.08051476627588272, -0.18055784702301025, -0.3163386881351471, 0.18613706529140472, -0.010605748742818832, 0.4019186794757843, 0.6511663794517517, -0.0308437068015337, 0.4427521228790283, -0.3789587616920471, 1.0896319150924683, -0.18199196457862854, 0.29931217432022095, 0.04058408737182617, -0.3369545638561249, -0.7382075190544128, 0.13564643263816833, 0.3200606405735016, 0.4798790514469147, -0.8665444254875183, 0.12120666354894638, -0.1646602600812912, -1.0716795921325684, -0.45598506927490234, -0.12809373438358307, 0.7951532602310181, -0.007088835816830397, 0.46503618359565735, -0.4157205820083618, -0.3693774342536926, -0.6612617373466492, -0.1891060471534729, -0.5113347768783569, 0.08802110701799393, 0.4582246243953705, 0.671167254447937, -0.4250958561897278, 0.9327844381332397, -0.5585480332374573, -0.28590238094329834, -0.6386389136314392, 0.4187847375869751, -0.4018312692642212, 0.450917512178421, 0.9319608211517334, -1.229107141494751, -0.6022394299507141, 0.011957516893744469, -0.7852042317390442, 0.09014879167079926, 0.01953250728547573, -0.016699302941560745, 0.44183972477912903, 0.3870106339454651, -0.6606602668762207, 0.12770316004753113, 0.9228886961936951, -0.43783825635910034, 0.616133987903595, 0.16135351359844208, 0.04743197560310364, -0.7331671714782715, 0.35628846287727356, 0.31281226873397827, 0.1752973347902298, -0.7512682676315308, 0.8040568828582764, -0.15761688351631165, -0.3362336754798889, -0.4678264856338501, 0.5079836845397949, -0.5124554634094238, 0.05642528086900711, 0.18464377522468567, 0.0996285080909729, -0.23332099616527557, -0.06408322602510452, 0.134073406457901, 0.8283380270004272, 0.6445781588554382, -0.6809312701225281, 0.6543940901756287, 0.08052600175142288, -0.28926587104797363, 0.6709869503974915, -0.8679186701774597, 0.17082346975803375, -0.04928811639547348, 0.3212989866733551, -0.5648778676986694, -0.22453807294368744, 0.15611837804317474, -0.5285640954971313, 0.3915221393108368, -0.3968367576599121, -0.3978848457336426, -0.31160005927085876, -0.31711074709892273, 0.7086436748504639, 0.3015129268169403, -0.3497277796268463, 0.513816773891449, 0.8925870060920715, -0.21494439244270325, -0.7278556823730469, -0.533569872379303, 0.33912214636802673, -0.5772412419319153, -0.5885475873947144, 0.37640222907066345, 0.0640774518251419, -0.6718199253082275, -0.12611804902553558, 0.06429830193519592, -0.5758007764816284, 0.3690778613090515, -0.05850352719426155, 0.01264179963618517, -0.1838516891002655, 0.01681850105524063, -0.8080592751502991, -0.4014194905757904, 0.01325328927487135, 0.03867568075656891, 0.5612472295761108, -0.22672024369239807, -0.23248806595802307, -0.11634581536054611, 0.5498483180999756, 0.9842203259468079, -0.4921046793460846, 0.5555267930030823, 0.389316588640213, -0.11876648664474487, -0.025382982566952705, -0.5319951772689819, -0.29990243911743164, -0.37019169330596924, 0.5813232064247131, 0.008220775052905083, -0.6092196106910706, 0.4121991991996765, 0.18290682137012482, 0.023083504289388657, 0.5451064109802246, 0.263409823179245, -0.2683993875980377, 0.7047045826911926, 0.9455437660217285, -0.478105366230011, 0.20502865314483643, -0.3019976019859314, 0.12633708119392395, -0.452280730009079, -0.04130661115050316, -0.6243686079978943, -0.17169460654258728, -0.5238538384437561, -0.15418818593025208, 0.4945155680179596, -0.11455664783716202, -0.038713399320840836, 0.5546045899391174, -0.6761291027069092, 0.30097416043281555, 0.34219443798065186, -0.40036824345588684, 0.14254488050937653, -0.4054490923881531, 0.039896510541439056, -0.03998766839504242, -0.8934878706932068, -0.17097759246826172, 0.8493626117706299, 0.45075666904449463, 0.872840940952301, 0.5570896863937378, 0.537710964679718, 0.24083511531352997, 0.25576919317245483, -0.6866249442100525, 0.36779236793518066, 0.07178110629320145, -0.9661273956298828, -0.5120069980621338, -0.3976053297519684, -0.9652729630470276, 0.3099191188812256, -0.1856127381324768, -0.3968280553817749, -0.06097417324781418, 0.3260258734226227, -0.5208423137664795, 0.5155751705169678, -0.5236856341362, 1.0107702016830444, -0.5160046815872192, -0.412702739238739, -0.09723848849534988, -0.676738977432251, 0.426702618598938, -0.016316547989845276, -0.02794804982841015, 0.19417205452919006, 0.25791528820991516, 0.6454684138298035, -0.13607542216777802, 0.9489136338233948, -0.07467964291572571, -0.06977976113557816, 0.33579206466674805, 0.15701603889465332, 0.6158650517463684, -0.14741623401641846, 0.03855366259813309, 0.24624866247177124, -0.1592126190662384, -0.3600805699825287, -0.29977068305015564, 0.4192951023578644, -0.3176068365573883, -0.5282158255577087, -0.8938600420951843, -0.2031734436750412, -0.15081527829170227, -0.012061068788170815, 0.5464608669281006, 0.12146615982055664, -0.5226410627365112, 0.2635684311389923, 0.5938462018966675, -0.12554237246513367, 0.617513120174408, 0.370187908411026, 0.26752087473869324, -0.2860506474971771, 0.963888943195343, -0.09991681575775146, 0.4950174391269684, 0.23590300977230072, -0.13192664086818695, -0.1879107505083084, -0.8435181379318237, -0.5882787108421326, -0.07752078771591187, -0.3292470872402191, -0.3890707492828369, -0.6237998604774475, -0.19537213444709778, -0.22651326656341553, -0.19025252759456635, -0.905297577381134, -0.16455239057540894, 0.044844698160886765, -0.024117005988955498, 0.45044398307800293, 0.842562198638916, 0.36162275075912476, -0.0019943101797252893, -0.9892717599868774, -0.008272230625152588, 0.5084766149520874, 0.33638787269592285, 0.048366885632276535, 0.2519179880619049, 0.005810148548334837, -0.4114583730697632, -0.4873179793357849, -0.6737374663352966, 0.5123714208602905, -0.2812357246875763, 0.6556099057197571, 0.21559476852416992, 0.6010259389877319, 0.4287097454071045, -0.32642778754234314, 0.8598273992538452, 0.6491101384162903, -0.5716787576675415, 0.6155288219451904, -0.5432343482971191, -0.005539363715797663, 0.6510658860206604, 0.6117609143257141, -0.5111314058303833, -0.30763933062553406, -0.7327423095703125, -1.0487629175186157, 0.41738301515579224, 0.5075491666793823, 0.020955221727490425, 0.0835685133934021, -0.28750279545783997, -0.2834097445011139, 0.11151271313428879, -1.0025272369384766, -0.4969561696052551, 0.03293098136782646, 0.1303194761276245, 0.07703036069869995, -0.23638062179088593, -0.5837506055831909, 0.11885648965835571, 0.3817276060581207, -0.11163327097892761, 0.2439504861831665, -0.03311087191104889, -0.10887307673692703, -0.03235092759132385, 0.40831851959228516, 0.6122271418571472, 0.5185761451721191, 0.016182180494070053, 0.19377581775188446, 0.16393448412418365, -0.342474102973938, 0.1312061846256256, 0.07321292906999588, -0.11550290882587433, -0.15806961059570312, 0.42759647965431213, 0.3945273756980896, 0.24433012306690216, -0.6574668884277344, 0.5450684428215027, 0.00526168430224061, 0.00902387872338295, -0.4836054742336273, 0.05355992168188095, -0.2115144431591034, 0.10743200778961182, 0.36980462074279785, 0.26822683215141296, -0.027353573590517044, -0.4588014781475067, 0.04140248894691467, 0.5847516655921936, -0.9359248876571655, -0.2865540087223053, 0.47560739517211914, 0.6540244817733765, -0.23313383758068085, 0.4836759865283966, -0.008510340005159378, -0.7082216739654541, 0.7399128675460815, 0.4405454099178314, 0.9395791292190552, -0.21603909134864807, 0.0025347969494760036, 0.15027251839637756, 0.2857641577720642, -0.15729685127735138, -0.41666775941848755, 0.011849243193864822, -0.677005410194397, 0.19588863849639893, -0.27658507227897644, -0.5313621163368225, 0.1778361201286316, -0.6945673823356628, -0.006473894231021404, -0.25691261887550354, -0.3395991623401642, -0.143814355134964, -0.2593456506729126, -0.19147980213165283, 0.151747465133667, -0.2037453055381775, 0.8680441379547119, -0.6072831153869629, 0.5682236552238464, 0.9140126705169678, -0.7884262204170227, 0.1523713767528534, 0.16041411459445953, 0.34419840574264526, -0.45376455783843994, 0.6131013035774231, -0.05018196254968643, -0.2958831489086151, -0.16838595271110535, -0.24554787576198578, -0.5066953301429749, 0.9859020113945007, 0.11343875527381897, -0.4821400046348572, -0.1435275822877884, -0.2373739331960678, 0.28058961033821106, -0.13937124609947205, -0.008088081143796444, 0.5822710394859314, 0.3081727623939514, -0.17273971438407898, -0.8998556733131409, -0.2621576189994812, -0.46506819128990173, -0.07260169833898544, 0.25991594791412354, -0.6211221218109131, 0.7800102233886719, -0.30704328417778015, -0.3751237690448761, 0.20111557841300964, 0.10210493952035904, 0.40836066007614136, 0.32635849714279175, 0.5330708622932434, 0.6343087553977966, 0.3815611004829407, -0.06840453296899796, 1.433226227760315, -0.23535345494747162, 0.34642890095710754, 0.9798826575279236, -0.08600308746099472, 0.7988882660865784, 0.38394078612327576, -0.3152141273021698, 0.10394016653299332, 0.3200025260448456, -0.14651939272880554, 0.3124292492866516, 0.2732926905155182, -0.38713693618774414, -0.2293441742658615, 0.03053991124033928, -0.5178989171981812, 0.49385929107666016, 0.197956845164299, -0.3538763225078583, -0.15104371309280396, -0.4321722388267517, -0.0395396463572979, 0.2762278914451599, -0.21796534955501556, 0.8657716512680054, -0.0038388154935091734, -0.7005311846733093, 0.3288092613220215, -0.112740658223629, 0.9712488055229187, -0.4917868673801422, 0.088629812002182, -0.15377475321292877, 0.0941525548696518, -0.12252584099769592, -0.773443877696991, 0.4101433753967285, 0.18629246950149536, -0.21386370062828064, -0.34621158242225647, 0.4223478436470032, -0.054896168410778046, -0.23891481757164001, 0.6128956079483032, 0.48917528986930847, -0.20782841742038727, -0.2064753621816635, -0.7394768595695496, 0.2599892020225525, -0.3123724162578583, 0.11063975840806961, 0.4962007701396942, 0.06387363374233246, 0.019887901842594147, 0.8854202628135681, 0.31495773792266846, 0.011452704668045044, -0.020983682945370674, 0.005864644888788462, 0.7622445821762085, -0.7672112584114075, -0.29728010296821594, -0.8450018763542175, 0.7588735222816467, -0.37645119428634644, -0.49914830923080444, 0.6972840428352356, 0.3869529962539673, 0.7687054872512817, -0.09528271108865738, 0.7669419646263123, -0.023128483444452286, 0.3673379719257355, -0.4283229112625122, 1.4711023569107056, -0.4916277825832367, 0.14966937899589539, -0.5831614136695862, -0.7007066607475281, -0.5691297650337219, 0.6051198244094849, 0.030910244211554527, 0.16759397089481354, 0.4850297272205353, 0.5250100493431091, 0.05141085013747215, 0.025201495736837387, 0.3051774203777313, 0.10340315103530884, 0.3535139858722687, 0.5008663535118103, 0.9839233160018921, -0.4204903244972229, 0.7020179629325867, -0.09600072354078293, -0.1485937088727951, -0.24617750942707062, -0.7968896627426147, -0.5740091800689697, -0.6542690992355347, -0.5603170394897461, -0.22421008348464966, 0.2626397907733917, 0.4430285394191742, 0.7251832485198975, -0.8373652100563049, -0.28115254640579224, -0.46874821186065674, 0.1315254271030426, -0.14067012071609497, -0.19398733973503113, 0.04520258679986, -0.398428350687027, -0.5994172692298889, 0.3719167411327362, 0.12745530903339386, 0.2714042067527771, -0.4584932029247284, -0.08324980735778809, -0.14723527431488037, -0.5113916993141174, 0.5696825385093689, 0.9286056756973267, -0.7807971835136414, -0.0889337807893753, -0.05298958346247673, -0.2536661624908447, -0.14270655810832977, 1.0129128694534302, -0.5193979740142822, 0.6013045310974121, 0.3639988303184509, 0.849340558052063, 0.12131024152040482, -0.18840375542640686, 1.1080340147018433, -0.7666608095169067, -0.02070310153067112, 0.5981130003929138, 0.33339303731918335, 0.3396821618080139, -0.22761182487010956, 0.9994124174118042, 0.2890932559967041, -0.3154245913028717, -1.0678728818893433, 0.28040966391563416, -0.7460361123085022, -0.3212314248085022, 0.957050085067749, -0.13507182896137238, 0.30710163712501526, -0.4199032783508301, 0.2825482487678528, -0.021009966731071472, -0.1237553060054779, 0.93923020362854, 0.3756682574748993, -0.19015200436115265, -0.18782499432563782, -0.5429881811141968, 0.5794623494148254, 0.3206234276294708, -0.7799524068832397, 0.3863855302333832, 0.33521056175231934, 0.021087191998958588, 0.5833288431167603, 0.553471028804779, -0.2550296187400818, 0.5128602981567383, 0.09730025380849838, 0.14809978008270264, 0.24699516594409943, -0.5330492854118347, -0.446607381105423, 0.5620266199111938, 0.09550046920776367, -0.11969926208257675 ]
http://arxiv.org/abs/2404.00620v1
http://arxiv.org/pdf/2404.00620v1
Reporting Eye-Tracking Data Quality: Towards a New Standard
2024-03-31T09:17:34
2024-03-31T09:17:34
Deborah N. Jakobi, Daniel G. Krakowczyk, Lena A. Jäger
cs.CL
cs.CL
Eye-tracking datasets are often shared in the format used by their creators for their original analyses, usually resulting in the exclusion of data considered irrelevant to the primary purpose. In order to increase re-usability of existing eye-tracking datasets for more diverse and initially not considered use cases, this work advocates a new approach of sharing eye-tracking data. Instead of publishing filtered and pre-processed datasets, the eye-tracking data at all pre-processing stages should be published together with data quality reports. In order to transparently report data quality and enable cross-dataset comparisons, we develop data quality reporting standards and metrics that can be automatically applied to a dataset, and integrate them into the open-source Python package pymovements (https://github.com/aeye-lab/pymovements).
[ -0.1471528857946396, -0.2734488546848297, 0.18926125764846802, 0.09493699669837952, -0.5157359838485718, -0.25436416268348694, 0.12725575268268585, -0.9016514420509338, 0.5908469557762146, 0.694244384765625, -0.1168334037065506, -0.6921078562736511, -0.40744057297706604, 0.13178712129592896, -0.5715652108192444, 0.7462164759635925, -0.44870132207870483, -0.03769667446613312, -0.31473439931869507, -0.4895608425140381, -0.170371413230896, -0.1856992095708847, -0.24462804198265076, 0.09390532225370407, 0.7319918870925903, 0.6010406613349915, 0.8076226711273193, 0.8360063433647156, 0.9741318225860596, 0.21748389303684235, 0.3920750319957733, 0.027247268706560135, -0.42144912481307983, 0.08197895437479019, -0.051753148436546326, -0.40461036562919617, -0.7560105323791504, 0.6641506552696228, 0.5152230262756348, 0.6934529542922974, -0.31906670331954956, 0.5511128902435303, 0.21732084453105927, 0.694242000579834, -0.7649433612823486, 0.16113826632499695, 0.0454038642346859, 0.1831398606300354, -0.4153730869293213, -0.26149246096611023, -0.13831967115402222, -0.6282712817192078, 0.19808784127235413, -0.926363468170166, 0.27069953083992004, 0.2841135859489441, 0.6220900416374207, 0.02849634550511837, -0.09957543015480042, -0.07485877722501755, -0.16575366258621216, 0.5114023685455322, -0.39044931530952454, 0.24076315760612488, 0.36565810441970825, 0.4398820996284485, 0.4222572147846222, -0.7870340943336487, -0.016297727823257446, -0.1604360044002533, -0.1176103949546814, -0.10839758813381195, -0.2302493005990982, -0.3062072992324829, 0.0004384542698971927, 0.572142481803894, -0.595812201499939, -0.03969478979706764, -0.5623775124549866, -0.2482762634754181, 0.8824142813682556, 0.423122376203537, -0.019305719062685966, 0.44165676832199097, -0.1468888372182846, -0.033397313207387924, -0.43625909090042114, 0.21556177735328674, 0.3806396722793579, -0.14810052514076233, -0.04984792694449425, 0.6208773255348206, -1.0413734912872314, 0.5976254343986511, 0.33092156052589417, 0.34904399514198303, 0.6724452376365662, -0.7406134605407715, 0.011151929385960102, -0.015486802905797958, 0.4345391094684601, 0.9002559185028076, -0.04333877936005592, -0.3055870831012726, -0.1448953002691269, 0.17456044256687164, 0.13308285176753998, -0.6434183120727539, -0.6149934530258179, 0.20863161981105804, -0.7105395197868347, -0.25314879417419434, 0.18074242770671844, -0.8786538243293762, -0.1945810168981552, -0.5311338305473328, 0.7167787551879883, -0.0782238021492958, -0.277716726064682, 0.3142684996128082, -0.10815802216529846, 0.060708437114953995, 0.7840294241905212, -0.6159979701042175, 0.1744946539402008, 0.4022151827812195, 0.6959187984466553, -0.18363045156002045, -0.5873117446899414, -0.6014240980148315, -0.0829000398516655, -0.444599449634552, 0.5896790623664856, -0.3141215741634369, 0.09031327813863754, -0.11969859898090363, 0.35728737711906433, 0.3109161853790283, -0.7574521899223328, 0.3009586036205292, -0.259573757648468, 0.1290583461523056, -0.17937017977237701, -0.6103541851043701, -0.20613795518875122, -0.17770949006080627, -0.5051398277282715, 0.882209837436676, 0.10234438627958298, -0.40508946776390076, 0.9174008965492249, -0.2016618400812149, -0.08533412218093872, 0.29216641187667847, 0.14921659231185913, -0.6421163082122803, 0.2774258255958557, 0.11508560180664062, 0.20851387083530426, 0.037936314940452576, 0.12085482478141785, -0.456828773021698, -0.41356873512268066, 0.14749698340892792, -0.10910829156637192, 0.869813859462738, 0.2031271904706955, -0.030291572213172913, 0.07180938124656677, -0.5990161299705505, 0.4482848346233368, -0.24264608323574066, -0.0558483712375164, -0.140889972448349, -0.22235901653766632, -0.14577263593673706, -0.15497583150863647, 0.581267774105072, -0.7082146406173706, -0.005006253253668547, 0.3976914882659912, -0.010804680176079273, 0.3419189751148224, -0.20520299673080444, 0.28465336561203003, -0.277252197265625, 0.16315194964408875, 0.05101897940039635, 1.148995280265808, -0.11682267487049103, -0.4552434980869293, -0.6515482068061829, -0.08919177949428558, 0.10166977345943451, 0.29530733823776245, -0.3548499345779419, 0.4232681095600128, 0.23842188715934753, -0.6039396524429321, -0.6526960730552673, 0.37579429149627686, 0.27816110849380493, 0.3129837214946747, 0.2785824239253998, -0.7778090238571167, -0.25060197710990906, -0.7517170310020447, -0.28963321447372437, -0.013997805304825306, 0.0751161277294159, 0.17603565752506256, 0.537903368473053, -0.016788393259048462, 0.9345306158065796, -0.5455296635627747, -0.16981394588947296, 0.15025007724761963, 0.10983751714229584, 0.08390501886606216, 0.784197211265564, 0.4077564775943756, -0.6620116233825684, -0.4116368293762207, -0.47629550099372864, -0.9505859613418579, -0.23308387398719788, 0.5253998637199402, -0.36052408814430237, -0.05658087134361267, 0.42711788415908813, -0.30137208104133606, 0.8350321054458618, 0.6850325465202332, -0.536348283290863, 0.7981032133102417, -0.11033336073160172, 0.5726616978645325, -0.7432981729507446, 0.4154501259326935, 0.20072060823440552, -0.4493902623653412, -0.4179655611515045, -0.12534140050411224, 0.10820277780294418, -0.3012906014919281, -0.6977033615112305, 0.16820122301578522, -0.3798656761646271, -0.1555401235818863, 0.08484188467264175, -0.1494910717010498, 0.3097606599330902, -0.17976532876491547, 0.023890815675258636, 0.4733482599258423, 0.957456648349762, -0.6280415058135986, 0.9407344460487366, 0.352267324924469, -0.6871004104614258, 1.0371029376983643, -0.8458102345466614, -0.1611851453781128, 0.07409755140542984, -0.016429254785180092, -0.43586769700050354, -0.3682878911495209, 0.7423790097236633, -0.8943521976470947, 0.09133976697921753, -0.16798202693462372, -0.38937848806381226, -0.04318581148982048, -0.45792609453201294, 0.4809182584285736, 0.3876263201236725, -0.5154922008514404, -0.10289482027292252, 0.5351118445396423, 0.06368112564086914, -0.4028157591819763, -0.4888934791088104, 0.29637137055397034, -0.18359479308128357, -0.583514392375946, 0.09151981770992279, 0.06067315489053726, -0.2756146490573883, 0.5776863694190979, -0.08082187920808792, -0.43280380964279175, -0.11436059325933456, -0.09073333442211151, 0.40305188298225403, -0.28681740164756775, -0.2642640769481659, -0.5410844683647156, -0.23653742671012878, 0.057649917900562286, -0.20070913434028625, -0.2737763822078705, 0.2695615291595459, -0.1638077199459076, -1.2566173076629639, 0.49597805738449097, 0.4002346098423004, -0.3983357548713684, 0.43813297152519226, 0.5547197461128235, -0.28965023159980774, -0.06663066148757935, -0.46072858572006226, -0.3157832622528076, -0.5067030787467957, 0.12145122140645981, 0.07891926169395447, -0.7529082894325256, 0.26121628284454346, 0.24590161442756653, 0.18317385017871857, -0.08635693043470383, 0.01653212308883667, -0.7517871260643005, 0.9180117845535278, 0.788491427898407, 0.09173945337533951, 0.7649385333061218, 0.06185917183756828, 0.26089099049568176, -0.8561255931854248, -0.3833802342414856, -0.4354812204837799, -0.13067546486854553, -0.35025879740715027, -0.2625506818294525, 0.16353920102119446, 0.30726033449172974, 0.12150494009256363, 0.23825035989284515, -0.5507732033729553, 0.49454906582832336, 0.7595133185386658, 0.3674500286579132, 0.32685157656669617, 0.38235288858413696, 0.7175008654594421, 0.16754256188869476, -0.3813391923904419, -0.2849234640598297, 1.4405122995376587, 0.030325179919600487, 1.1525156497955322, -0.2474157065153122, 0.7533372640609741, 0.3446776270866394, 0.3060019612312317, -0.3367266058921814, 0.4232475757598877, -0.21159839630126953, -0.5390256643295288, -0.335886687040329, -0.7199811935424805, -1.1436214447021484, 0.13906410336494446, 0.07148021459579468, -1.0013320446014404, 0.4019843339920044, 0.5266618728637695, -0.21443313360214233, 0.13739776611328125, -0.6268375515937805, 1.0376900434494019, -0.11836856603622437, -0.735933780670166, -0.1990945190191269, -0.5384327173233032, 0.10806383192539215, 0.3096470534801483, -0.3608752489089966, -0.4347951114177704, -0.012849920429289341, 1.0382802486419678, -0.5528669953346252, 0.7561262845993042, -0.2800787389278412, 0.2572285234928131, 0.6815718412399292, -0.19140808284282684, 0.2611454725265503, 0.20716440677642822, 0.5717531442642212, 0.527356743812561, -0.015207652933895588, -0.5326278209686279, -0.18934597074985504, 0.625404953956604, -0.4082120358943939, -0.3498927056789398, -0.7172233462333679, -0.40899282693862915, 0.14673469960689545, 0.028599971905350685, 0.13045825064182281, 0.514340341091156, 0.16617539525032043, 0.6280962824821472, 0.5760359168052673, 0.07098639011383057, 0.06594198942184448, 0.9253509640693665, -0.08121316879987717, -0.5769922137260437, 0.856806755065918, 0.3122625946998596, 0.15139129757881165, -0.13453789055347443, -0.2125827968120575, -0.38363856077194214, -0.5536659359931946, -0.1579022854566574, 0.18676340579986572, -0.5044749975204468, 0.09637787938117981, -0.09379196166992188, 0.20609459280967712, -0.5720818638801575, -0.15593889355659485, -0.4896659553050995, -0.18298491835594177, -0.37906694412231445, 0.1552896648645401, 0.30933570861816406, 0.377011775970459, -0.48481425642967224, 0.10301549732685089, -0.7260657548904419, 0.5123875737190247, 0.25946953892707825, 0.9513841271400452, -0.5048465728759766, -0.11256306618452072, -0.7390577793121338, 0.043295878916978836, -0.2647271156311035, -0.4949488341808319, 0.40760642290115356, -0.15073837339878082, 0.7163171172142029, 0.02445714734494686, -0.10527802258729935, 0.41871947050094604, 0.04810572788119316, 0.7107163071632385, 0.5233866572380066, -0.8965989351272583, 0.7302457690238953, -0.10241428762674332, -0.12018891423940659, 0.8125811815261841, 0.029324885457754135, -0.5839009881019592, -0.42298388481140137, -0.416472464799881, -0.9323707818984985, 0.8158921003341675, 0.31217366456985474, -0.42239946126937866, 0.6803755760192871, 0.37998372316360474, 0.3073892295360565, 0.31246545910835266, -0.21057739853858948, -0.3633098602294922, -0.3515702784061432, -0.22969666123390198, -0.6634417772293091, 0.12790720164775848, -0.27643752098083496, -0.4957672357559204, 0.17246468365192413, -0.009010490030050278, -0.020408995449543, 0.468217134475708, -0.4523789584636688, -0.16440892219543457, -0.18818020820617676, -0.36824339628219604, 1.1687450408935547, -0.3214292824268341, 0.063029944896698, -0.49933016300201416, -0.7243492007255554, 0.1636175662279129, -0.09469299018383026, -0.5365877747535706, 0.11584220826625824, -0.022837882861495018, 0.3227236568927765, -0.18374991416931152, -0.3726828098297119, 0.47548067569732666, 0.02981541119515896, -0.14933888614177704, -0.1360473483800888, 0.29360485076904297, -0.27944642305374146, 0.120057113468647, 0.18782849609851837, 0.17476016283035278, 0.49013811349868774, -0.4550674259662628, 0.7697321176528931, -0.08600291609764099, -0.38573363423347473, -0.5253534317016602, 0.6849222183227539, 0.5812118053436279, 0.07430066913366318, 0.7057832479476929, -0.10441131889820099, 0.03316689282655716, 0.874293327331543, -0.018650367856025696, 0.619511604309082, -0.37432411313056946, 0.6034620404243469, 0.35229942202568054, 0.3580913841724396, -0.25751951336860657, 0.5886624455451965, -0.06628822535276413, -0.49698686599731445, -0.2997283637523651, -0.2606945037841797, -0.7535733580589294, -0.07651229947805405, -1.088616132736206, 0.1297680139541626, -0.11896699666976929, -0.1783607453107834, -0.13526053726673126, 0.13062773644924164, -0.5781283974647522, 0.34332260489463806, 0.077113576233387, 0.9054474234580994, -0.8094701170921326, 0.6030873656272888, 0.5590143203735352, -0.4145963490009308, -0.2386953979730606, -0.29971349239349365, 0.10463157296180725, -0.6189050078392029, 0.28280460834503174, 0.3461117148399353, 0.1341814547777176, -0.15326336026191711, -0.6757227778434753, -0.7218473553657532, 1.063682198524475, 0.0674266442656517, -0.4631485939025879, 0.44792279601097107, 0.23814769089221954, 0.2149750143289566, -0.2124079018831253, -0.16924698650836945, 0.4566080868244171, 0.5055356025695801, -0.36417651176452637, -0.8405843377113342, -0.1945488452911377, -0.2612530291080475, -0.5617280602455139, 0.2186029851436615, -0.7497032284736633, 0.9319941997528076, -0.14795953035354614, -0.1844729632139206, 0.09168172627687454, 0.3438321352005005, -0.125997394323349, 0.995540976524353, 0.15965019166469574, 0.7767024636268616, 0.5654106140136719, -0.16436105966567993, 0.6385406851768494, -0.24657732248306274, 0.4774892032146454, 0.9797131419181824, -0.45850732922554016, 0.6126900911331177, 0.6488358378410339, -0.1372598260641098, -0.24937745928764343, 0.5734580755233765, -0.34944307804107666, 0.3267001509666443, 0.014220920391380787, 0.11264349520206451, -0.13447149097919464, -0.3097803294658661, -0.42159342765808105, 0.23615726828575134, 0.013697604648768902, -0.15495970845222473, -0.08425437659025192, -0.3820010721683502, -0.25245800614356995, -0.4497876465320587, -0.4179515838623047, 0.4438023865222931, -0.11210565268993378, -0.33189964294433594, 0.22689560055732727, -0.587146520614624, 0.6251442432403564, -0.4948941767215729, -0.10144274681806564, -0.4149346947669983, 0.06896920502185822, -0.49911558628082275, -1.3309111595153809, 0.40777140855789185, 0.17577217519283295, 0.028523284941911697, -0.06393839418888092, 0.30922725796699524, -0.3964414894580841, -0.4075562357902527, 0.14890533685684204, 0.46202602982521057, 0.24857062101364136, -0.11641499400138855, -0.4179180860519409, 0.009217874146997929, -0.11012739688158035, -0.33688440918922424, 0.29728737473487854, 0.2462790459394455, 0.23868121206760406, 0.707639217376709, 0.6451157331466675, 0.3470976650714874, 0.27161335945129395, -0.13916805386543274, 0.584996223449707, -0.7526744604110718, -0.6449795365333557, -0.13476434350013733, 0.5970237851142883, -0.40523776412010193, -0.6731013059616089, 1.0369727611541748, 0.8162458539009094, 0.8822034001350403, 0.23685765266418457, 0.4964863955974579, -0.07449673116207123, 0.32948386669158936, -0.3158296048641205, 0.5692546367645264, -0.7203127145767212, -0.023702694103121758, 0.08480766415596008, -1.0130952596664429, -0.3324747085571289, 0.5194203853607178, 0.19371283054351807, -0.3633054196834564, 0.7365269064903259, 0.6455179452896118, -0.20210710167884827, -0.05794023722410202, 0.2564428448677063, 0.1682603657245636, 0.13743460178375244, 0.49893075227737427, 0.9717904925346375, -0.500052273273468, 0.4576561152935028, -0.6842777729034424, -0.6031320691108704, -0.6988467574119568, -0.4554084539413452, -0.3718869984149933, -0.3681572377681732, -0.9947788715362549, -0.18975907564163208, 0.2595753073692322, 0.2025565356016159, 0.9949927926063538, -0.6570688486099243, -0.2927522659301758, 0.16196486353874207, -0.2044152021408081, -0.5487299561500549, -0.2370891124010086, 0.3082956373691559, -0.15402650833129883, -0.52512526512146, 0.07128369808197021, 0.3055605888366699, 0.021051833406090736, -0.12693534791469574, -0.1640203893184662, 0.3440941870212555, -0.29778093099594116, 0.12800216674804688, 0.37869933247566223, -0.1942974328994751, -0.3392188847064972, -0.1672465205192566, -0.10894124209880829, 0.40023839473724365, 0.8727961182594299, -0.44453123211860657, 0.5366201996803284, 0.7226783633232117, -0.01698867231607437, 0.11935459822416306, -0.11329509317874908, 0.2959260642528534, -0.2448275238275528, 0.011513395234942436, 0.37236103415489197, 0.4573127031326294, 0.151520237326622, -0.3245750069618225, 0.43365341424942017, 0.36344319581985474, -0.6430754065513611, -0.9825021028518677, 0.050329577177762985, -0.8348990082740784, -0.03608613461256027, 0.5908094048500061, -0.6144106984138489, -0.4369993805885315, -0.22083263099193573, -0.08600340783596039, 0.1791888177394867, -0.6153772473335266, 0.8251165151596069, 0.4428073465824127, -0.46526679396629333, -0.13972823321819305, -0.4725550413131714, 0.425341933965683, 0.32009994983673096, -0.889805257320404, 0.42065268754959106, 0.8308863043785095, 0.5450261235237122, -0.08970355242490768, 0.3041582703590393, -0.4995790719985962, 0.7236478328704834, 0.42078807950019836, 0.09073617309331894, -0.24058909714221954, -0.6700313091278076, -0.1835692673921585, 0.004235527478158474, -0.3370102047920227, -0.8227090239524841 ]
http://arxiv.org/abs/2404.00614v1
http://arxiv.org/pdf/2404.00614v1
Learning to Plan for Language Modeling from Unlabeled Data
2024-03-31T09:04:01
2024-03-31T09:04:01
Nathan Cornille, Marie-Francine Moens, Florian Mai
cs.CL
cs.CL, cs.AI
By training to predict the next token in an unlabeled corpus, large language models learn to perform many tasks without any labeled data. However, their next-token-prediction objective arguably limits their performance in scenarios that require planning, such as writing a coherent article. In this paper, we train a module for planning the future writing process via a self-supervised learning objective. By conditioning on generated latent plans, our model extends the successful language model formula to more abstract planning in an unsupervised way. Empirically, we demonstrate that our method improves language modeling performance in general, particularly with respect to the text structure. Because our framework uses a planner module that is unsupervised and external to the language model, new planner modules can be trained at large scale and easily be shared with the community.
[ -0.010595687665045261, -0.38045188784599304, 0.6049742102622986, 0.18676619231700897, -0.08701489120721817, -0.08483228832483292, -0.39140585064888, -0.2407296597957611, 0.3392256498336792, 0.904793918132782, -0.6523100137710571, -0.6748117208480835, -0.30268624424934387, -0.17100514471530914, -0.4458342492580414, 1.0807312726974487, -0.07855920493602753, -0.1330995261669159, -0.23837469518184662, 0.2905656099319458, -0.3052900433540344, -0.6841341853141785, -0.5794659852981567, -0.391020804643631, 0.4348866641521454, 0.5810825228691101, 0.2421789914369583, 0.6562668085098267, -0.115394726395607, 0.3174158036708832, 0.3104917109012604, -0.040430568158626556, -0.3605087399482727, 0.15789726376533508, -0.254761666059494, -0.2828730046749115, -0.5017845034599304, -0.023149210959672928, 0.5333861112594604, 1.1241657733917236, -0.0534268356859684, 0.08295320719480515, 0.05782436206936836, 0.5190891027450562, -0.5778852105140686, 0.6226693391799927, -0.7531622648239136, 0.1236431896686554, 0.0236377976834774, -0.10161568224430084, -0.6521384119987488, 0.1440276950597763, 0.008970918133854866, -0.48433494567871094, 0.21093271672725677, -0.13684968650341034, 0.19773773849010468, 0.10187958180904388, -0.22625362873077393, -0.01923551596701145, -0.8411809802055359, 0.66364985704422, -0.6014363169670105, 0.25373852252960205, 0.6548700332641602, 0.003089597914367914, -0.3087404668331146, -0.6854196786880493, -0.44282692670822144, -0.016061948612332344, -0.21061670780181885, 0.1917320191860199, 0.05425085872411728, 0.2815268039703369, 0.14107033610343933, -0.09464630484580994, -0.49181485176086426, 0.21906229853630066, -0.5734285116195679, -0.2161693274974823, 0.7207881212234497, -0.03388358652591705, 0.08574558794498444, -0.05445638298988342, -0.3322126567363739, 0.15346691012382507, -0.562279224395752, -0.025763913989067078, 0.5184187293052673, 0.44629356265068054, -0.05404601991176605, 0.8359973430633545, -0.418931245803833, 0.34452328085899353, -0.1059531420469284, 0.006928978022187948, 0.10941342264413834, -0.0824175700545311, -0.2589634954929352, 0.12658730149269104, 0.6092724204063416, 0.1879400610923767, 0.5549525022506714, -0.5212042927742004, -0.5943640470504761, 0.16291144490242004, 0.28455114364624023, -0.7291125059127808, -0.6601635813713074, 0.15256650745868683, -0.3494754135608673, -0.12770114839076996, -0.3354625701904297, -0.5204846262931824, 0.13934195041656494, -0.5101085901260376, 0.27878233790397644, -0.3326287567615509, -0.33548539876937866, 0.14027529954910278, 0.056594692170619965, -0.23461322486400604, 0.2020036280155182, -1.30620276927948, 0.5352235436439514, 0.47786569595336914, 0.4995121359825134, -0.19122187793254852, -0.5115476250648499, -0.5475043058395386, 0.5131503939628601, -0.6239620447158813, 1.0494909286499023, -0.47960102558135986, -0.40871888399124146, 0.21064838767051697, -0.11842923611402512, -0.10684031993150711, -0.17335309088230133, 0.2561822831630707, -0.31692981719970703, 0.15212079882621765, 0.279323011636734, -0.7038698792457581, 0.09443221241235733, -0.07881012558937073, -0.6419968605041504, 0.8653429746627808, 0.16139808297157288, -0.5397413969039917, 0.49709004163742065, -0.6132925748825073, -0.5743383169174194, -0.1096239686012268, -0.18616293370723724, -0.419951856136322, 0.174312025308609, 0.2656137943267822, 0.7580559849739075, 0.3216433525085449, 0.7218002676963806, -0.08643601089715958, -0.08313357084989548, 0.1875029355287552, -0.18843062222003937, 0.2567145526409149, 0.17905496060848236, -0.17779509723186493, 0.3482929766178131, -0.8626355528831482, 0.16005189716815948, -0.22342632710933685, -0.5419856309890747, -0.1334899216890335, 0.15959618985652924, 0.09779265522956848, 0.0935981273651123, 0.14260908961296082, -0.5978384017944336, 0.344329297542572, -0.7449186444282532, 0.14785636961460114, 0.8698397278785706, -0.19903400540351868, 0.9372851252555847, -0.04872246831655502, 0.49990156292915344, -0.27755072712898254, -0.05144992470741272, -0.3352438509464264, -0.26998233795166016, -0.9635114073753357, 0.051765527576208115, 0.18866552412509918, 0.12622126936912537, -0.5893721580505371, 0.42697542905807495, -0.020939238369464874, -0.41517841815948486, -0.1336897611618042, 0.1702270656824112, 0.6083819270133972, 0.3341456949710846, 0.41971099376678467, -0.18094435334205627, -0.723802924156189, -0.7581225037574768, -0.17887750267982483, -0.3238961398601532, 0.15071241557598114, -0.37974587082862854, 0.3226892054080963, -0.09260574728250504, 0.9215693473815918, -0.557290256023407, -0.5028302073478699, -0.8989815711975098, 0.5110750794410706, 0.04096230864524841, 0.6368877291679382, 0.14269208908081055, -0.4863201677799225, -0.5343347787857056, -0.12173415720462799, -0.40139392018318176, -0.35544535517692566, -0.3148786425590515, -0.13270306587219238, 0.5352088809013367, 0.949374794960022, -0.47653430700302124, 0.5506264567375183, 0.6664865612983704, -0.3142135441303253, 0.5293661952018738, -0.40003782510757446, -0.573459804058075, -1.1312639713287354, -0.011850403621792793, -0.19132252037525177, -0.1274811029434204, -0.6467030048370361, -0.3570704460144043, 0.04274420812726021, -0.2391422688961029, -0.2423820048570633, 0.7794146537780762, -0.6770222187042236, -0.18242502212524414, -0.5150115489959717, -0.347621887922287, -0.28900495171546936, 0.6872144341468811, 0.4788988530635834, 0.698781430721283, 0.539315402507782, -0.6050756573677063, -0.2868432402610779, 0.2228098064661026, -0.4670952558517456, -0.10575500875711441, -0.35506561398506165, -0.03571305796504021, -0.15846851468086243, 0.21077772974967957, -0.8410813808441162, -0.15755301713943481, -0.1174536868929863, -0.5766621232032776, 0.6399675011634827, -0.2293919324874878, -0.24357590079307556, -0.22559498250484467, 0.07260233163833618, 0.24690718948841095, 0.18337956070899963, -0.5569270849227905, 0.8593330383300781, 0.5935482382774353, -0.2239377498626709, -0.5015550851821899, -0.8499849438667297, -0.04233498498797417, -0.0012831190833821893, -0.14927180111408234, 0.37260058522224426, -0.09177932888269424, -0.07755356281995773, 0.17192433774471283, 0.09024133533239365, -0.3671738803386688, -0.016710180789232254, 0.5476465225219727, 0.06950310617685318, 0.030740857124328613, 0.4004477262496948, 0.12690190970897675, -0.5375128388404846, 0.27265581488609314, -0.5972627997398376, 0.632649302482605, 0.48830553889274597, -0.1608022004365921, -0.35534152388572693, 0.5594745874404907, 0.12613950669765472, -0.4116553068161011, 0.5799053311347961, 0.3307616412639618, -0.33300021290779114, -0.627935528755188, -0.2763567566871643, -0.05793454125523567, -0.4649113714694977, 0.47536349296569824, -0.3724125325679779, -0.7474655508995056, 0.16553756594657898, -0.027107398957014084, 0.19375021755695343, 0.37253573536872864, 0.3973735272884369, 0.041454948484897614, 0.9045007824897766, 1.3540126085281372, -0.013029076159000397, 0.3176627457141876, -0.3311522305011749, 0.27791139483451843, -0.5944724678993225, -0.4172619581222534, -0.27490678429603577, -0.18777404725551605, -0.42748913168907166, -0.5269979238510132, 0.009106454439461231, 0.008519168011844158, 0.1299813836812973, 0.4519428312778473, -0.3345031440258026, 0.6051830649375916, 0.6803772449493408, -0.4030369818210602, 0.2772899568080902, 0.11428545415401459, -0.3240925669670105, 0.02926274575293064, -0.6113638877868652, -0.6831880807876587, 1.4756511449813843, 0.03880074620246887, 0.870524525642395, -0.40554797649383545, 0.8701030015945435, 0.0019225527066737413, 0.49990007281303406, -0.4682624638080597, 0.6280198693275452, -0.01339095737785101, -0.5956448316574097, -0.5398174524307251, -0.22727590799331665, -1.0690251588821411, 0.1567254215478897, -0.2826458513736725, -0.9536144733428955, 0.09656226634979248, 0.2479170709848404, -0.09685437381267548, 0.33580562472343445, -0.8441892266273499, 0.7689668536186218, -0.2256111055612564, -0.08986233919858932, -0.20683038234710693, -0.38121259212493896, 0.05154756084084511, -0.46081042289733887, 0.1496656984090805, -0.25181472301483154, 0.031668052077293396, 0.8491750359535217, -0.24784962832927704, 1.1701244115829468, -0.02858852595090866, 0.13358215987682343, 0.28264909982681274, 0.14071889221668243, 0.3492712080478668, 0.03213880583643913, -0.171560600399971, -0.18456614017486572, -0.2538139522075653, -0.3716506063938141, -0.32838210463523865, 0.6229042410850525, -0.6510841250419617, -0.3973053991794586, -0.2964959442615509, -0.7124460935592651, -0.32373711466789246, 0.2923932671546936, 0.29597100615501404, 0.49951326847076416, -0.5315324664115906, -0.2262563407421112, 0.30785006284713745, -0.24660344421863556, 0.8802254796028137, 0.6086752414703369, -0.41114774346351624, -0.1742689162492752, 0.6293891668319702, 0.1635185033082962, 0.32872501015663147, 0.7836767435073853, 0.18266896903514862, -0.5004692673683167, -0.7782630920410156, -0.11418893933296204, 0.09621928632259369, -0.7433197498321533, -0.06583720445632935, -1.00904381275177, -0.1720249503850937, -0.7473787665367126, -0.2938915193080902, -0.6010501384735107, -0.5829834938049316, -0.28279703855514526, -0.43077516555786133, 0.09032511711120605, 0.8988699913024902, -0.3003218472003937, 0.5157421231269836, -0.2994350790977478, 0.006451372057199478, -0.016841618344187737, 0.229093536734581, -0.08341493457555771, -0.26114708185195923, -0.29458844661712646, -0.3038622736930847, -0.10023042559623718, -0.39515942335128784, 0.7573877573013306, 0.08465440571308136, 0.6086610555648804, 0.32192930579185486, 0.21337361633777618, 0.5897619128227234, -0.677769124507904, 0.15659025311470032, 0.12896142899990082, -0.7278189659118652, 0.654684841632843, -0.3128557503223419, 0.3963139057159424, 0.633463978767395, 0.353930801153183, -0.35348832607269287, -0.4346383512020111, -0.6913349628448486, -0.8188868761062622, 0.6089758276939392, 0.07568583637475967, 0.37573495507240295, -0.05415673553943634, 0.3131779730319977, 0.29975247383117676, 0.3444213271141052, -1.184145212173462, -0.009391682222485542, 0.10177207738161087, -0.09566785395145416, -0.4513271152973175, -0.4708496332168579, 0.39608508348464966, -0.3754265010356903, 0.6359366774559021, -0.346518337726593, 0.3181733191013336, -0.09604134410619736, 0.08005228638648987, -0.173782616853714, 0.12106269598007202, 0.20597243309020996, 0.7051020860671997, 0.03697410225868225, 0.26695504784584045, 0.060741670429706573, -0.19170017540454865, -0.08476457744836807, 0.11695437878370285, -0.14136062562465668, -0.11993347853422165, 0.6381272077560425, 0.5094531178474426, 0.39231422543525696, -0.6457523703575134, 0.44965165853500366, -0.050296083092689514, -0.3303493857383728, -0.5539161562919617, -0.002495472552254796, 0.2683829665184021, 0.15965640544891357, 0.04747409373521805, -0.08491522073745728, -0.0474594347178936, -0.6774774193763733, 0.2894945442676544, 0.199186772108078, -0.45053088665008545, -0.3940254747867584, 0.5900440812110901, 0.003123257076367736, -0.1016206443309784, 0.43425774574279785, -0.23476527631282806, -0.5587385892868042, 0.36621907353401184, 0.8963770866394043, 0.7423437833786011, -0.42183229327201843, 0.4341808259487152, 0.3679303824901581, 0.29775068163871765, -0.025660285726189613, 0.37149423360824585, -0.08385014533996582, -0.5936766266822815, -0.6145172715187073, -0.9430601596832275, 0.04067246615886688, 0.17836782336235046, -0.18652333319187164, 0.32480213046073914, -0.44185101985931396, 0.19114024937152863, -0.06247797980904579, -0.0015421055722981691, -0.4509766399860382, 0.4600104093551636, -0.18330641090869904, 0.6778241395950317, -0.8794024586677551, 1.09598708152771, 0.6306849718093872, -0.28779712319374084, -1.0354052782058716, -0.01650381088256836, -0.2946798801422119, -0.8033139705657959, 0.6602529287338257, 0.38456737995147705, -0.06789879500865936, 0.01791389286518097, -0.28475221991539, -1.1156989336013794, 0.6314366459846497, 0.2895226776599884, -0.4562607705593109, -0.2419145107269287, 0.2640342116355896, 0.4759614169597626, -0.5453994870185852, -0.08210072666406631, 0.1976977437734604, 0.21389159560203552, 0.21851995587348938, -0.6615010499954224, -0.32362768054008484, -0.05872329697012901, -0.31212958693504333, 0.49298474192619324, -0.12544435262680054, 0.9332963228225708, -0.461689829826355, -0.3510702848434448, 0.3610764443874359, 0.8942317962646484, -0.4170289933681488, 0.1712770164012909, 0.28475531935691833, 0.5879012942314148, 0.6920688152313232, 0.08294789493083954, 0.8950310945510864, -0.17869196832180023, 0.02574995532631874, 1.4831913709640503, -0.08189814537763596, 1.0742177963256836, 0.3088870048522949, 0.35774803161621094, 0.38977932929992676, 0.45881733298301697, 0.1329849511384964, 0.7965073585510254, 0.1126503050327301, -0.22902999818325043, -0.42419055104255676, -0.1083793118596077, -0.07142964005470276, 0.6765521764755249, 0.19905608892440796, -0.5080341100692749, -0.3209246098995209, 0.11722603440284729, 0.20343957841396332, 0.5886199474334717, -0.39524444937705994, 0.7629854083061218, 0.02376854605972767, -0.9102779030799866, 0.038601286709308624, 0.18102338910102844, 0.37052303552627563, -0.452335923910141, 0.2948908507823944, -0.1696968376636505, 0.43666237592697144, -0.12114692479372025, -0.8078065514564514, 0.6022037863731384, -0.039333704859018326, -0.12247853726148605, -0.5754685997962952, 0.7984395623207092, -0.7098392248153687, -0.8163905739784241, 0.49514472484588623, 0.513405442237854, 0.19575245678424835, -0.1661515086889267, -0.29008761048316956, -0.30907270312309265, -0.061580535024404526, -0.1499563753604889, 0.4411577582359314, 0.6437501311302185, -0.2651027739048004, 0.6838369369506836, 0.7198169231414795, 0.26941680908203125, -0.0818338543176651, 0.028923150151968002, 1.0267131328582764, -0.6250308752059937, -0.7255386710166931, -0.724359393119812, 0.2102263867855072, 0.035532914102077484, -0.3714214861392975, 0.4848801791667938, 1.035059928894043, 1.1967823505401611, -0.025915786623954773, 0.6074509024620056, 0.4110105037689209, 0.4997435510158539, -0.699761688709259, 0.7321487069129944, -0.4261564314365387, 0.022654730826616287, -0.11156932264566422, -0.8644226789474487, -0.35051628947257996, 0.6127278804779053, -0.4974938929080963, -0.1630016714334488, 0.8009976744651794, 0.6616106033325195, 0.04858657717704773, -0.1777508705854416, 0.5289767980575562, -0.1046304777264595, 0.2980499863624573, 0.5757430791854858, 0.7221238613128662, 0.2611100375652313, 0.49398866295814514, -0.4879034161567688, -0.13378463685512543, 0.27205637097358704, -0.882727861404419, -1.5066394805908203, -0.8918455243110657, -0.14440342783927917, 0.1204715147614479, 0.11988550424575806, 0.7400319576263428, 0.8689361214637756, -0.4969126582145691, -0.5124110579490662, -0.36084261536598206, -0.16866019368171692, 0.2943141758441925, -0.0975513681769371, 0.3697932958602905, -0.626164972782135, -0.7075374126434326, 0.43644410371780396, 0.3889393210411072, 0.1302458941936493, -0.25139108300209045, 0.043987076729536057, -0.23070628941059113, -0.06702549755573273, 0.5690131783485413, 0.2496989518404007, -0.3854435086250305, -0.004530822858214378, -0.3095179498195648, -0.0034790276549756527, -0.07225766032934189, 0.9472252726554871, -0.8243657946586609, 0.41865670680999756, 0.05153081566095352, 0.48799949884414673, 0.7818474769592285, -0.18081675469875336, 0.89432692527771, -0.9643653035163879, 0.3404618501663208, 0.3050011992454529, 0.2968681752681732, 0.22433918714523315, -0.37799695134162903, 0.42500314116477966, -0.19164559245109558, -0.4891015291213989, -0.2998161017894745, 0.19219131767749786, -0.61407470703125, -0.6593657732009888, 1.2551521062850952, 0.04133852198719978, -0.31673088669776917, -0.22383220493793488, -0.16110490262508392, 0.49711793661117554, -0.4188135862350464, 0.7584360837936401, 0.3947935700416565, -0.18467861413955688, 0.0756661519408226, -0.6090244054794312, 0.6999261975288391, 0.3279455304145813, -0.9220066666603088, 0.35120928287506104, 0.5135399699211121, 0.014650736935436726, -0.03315890207886696, 1.2496613264083862, 0.09148479998111725, -0.09245198220014572, -0.15752027928829193, 0.23289754986763, -0.0002586676855571568, -0.7829286456108093, 0.14497651159763336, 0.033320121467113495, 0.20195606350898743, 0.007944745011627674 ]
http://arxiv.org/abs/2404.00610v1
http://arxiv.org/pdf/2404.00610v1
RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation
2024-03-31T08:58:54
2024-03-31T08:58:54
Chi-Min Chan, Chunpu Xu, Ruibin Yuan, Hongyin Luo, Wei Xue, Yike Guo, Jie Fu
cs.CL
cs.CL
Large Language Models (LLMs) exhibit remarkable capabilities but are prone to generating inaccurate or hallucinatory responses. This limitation stems from their reliance on vast pretraining datasets, making them susceptible to errors in unseen scenarios. To tackle these challenges, Retrieval-Augmented Generation (RAG) addresses this by incorporating external, relevant documents into the response generation process, thus leveraging non-parametric knowledge alongside LLMs' in-context learning abilities. However, existing RAG implementations primarily focus on initial input for context retrieval, overlooking the nuances of ambiguous or complex queries that necessitate further clarification or decomposition for accurate responses. To this end, we propose learning to Refine Query for Retrieval Augmented Generation (RQ-RAG) in this paper, endeavoring to enhance the model by equipping it with capabilities for explicit rewriting, decomposition, and disambiguation. Our experimental results indicate that our method, when applied to a 7B Llama2 model, surpasses the previous state-of-the-art (SOTA) by an average of 1.9\% across three single-hop QA datasets, and also demonstrates enhanced performance in handling complex, multi-hop QA datasets. Our code is available at https://github.com/chanchimin/RQ-RAG.
[ -0.4110991954803467, -0.7176434993743896, 0.48578909039497375, -0.08074510842561722, -0.27489686012268066, 0.3103572428226471, 0.0560169480741024, -0.43121641874313354, 0.31214746832847595, 0.7506868839263916, -0.536701500415802, -0.14986850321292877, -0.2980758249759674, 0.27948257327079773, -0.36190658807754517, 1.0251879692077637, 0.16170068085193634, 0.023542186245322227, -0.3747423589229584, -0.3101709187030792, -0.4348301589488983, -0.42418980598449707, -0.7240864634513855, -0.2315499484539032, 0.6650856137275696, 0.4812741279602051, 0.20096127688884735, 0.28276073932647705, 0.40147843956947327, 0.22672396898269653, -0.16359056532382965, 0.8698616623878479, -0.8499898910522461, 0.5739029049873352, -0.3909890055656433, -0.4786902666091919, -0.3110494911670685, -0.3212343454360962, 0.7068135738372803, 0.4014531373977661, -0.23922036588191986, 0.6506226658821106, 0.013741410337388515, 0.8597044348716736, -0.6794174313545227, -0.0947994738817215, -1.0553936958312988, -0.4267330765724182, -0.12854446470737457, -0.5279567241668701, -0.6104124784469604, -0.17050661146640778, -0.22691410779953003, -0.7945906519889832, 0.33740079402923584, 0.3315047025680542, 0.8961495161056519, 0.5165534019470215, -0.5503897070884705, -0.35764846205711365, -0.6077709794044495, 0.6504079699516296, -0.40371695160865784, 0.5169618129730225, 0.5577014684677124, 0.49668261408805847, -0.6025589108467102, -1.1153209209442139, -0.6598618030548096, -0.2260114848613739, -0.14259041845798492, -0.005062554031610489, 0.12541450560092926, -0.2315824329853058, 0.4406623840332031, 0.41904863715171814, -0.3473644554615021, -0.21085448563098907, -0.4564041197299957, 0.16799402236938477, 0.5725988745689392, 0.1034775972366333, 0.10162096470594406, -0.3435032367706299, -0.4637168049812317, -0.006339229177683592, -0.8426083326339722, -0.032322872430086136, 0.10106317698955536, 0.48477527499198914, 0.2741753160953522, 0.5518328547477722, -0.2901107370853424, 0.7245888113975525, 0.3012312948703766, -0.2510608434677124, 0.2685714066028595, -0.23627270758152008, -0.1414184272289276, -0.3890431523323059, 0.42431268095970154, -0.026800652965903282, -0.240457221865654, -0.1284918338060379, -0.47622472047805786, -0.4085395634174347, 0.519815981388092, -0.6979609727859497, -0.0057126921601593494, 0.11500509083271027, -0.18305206298828125, -0.17771016061306, -0.20571310818195343, -0.554789662361145, -0.5583693981170654, -0.5024665594100952, 0.39014768600463867, -0.33690235018730164, -0.11853160709142685, -0.14287275075912476, -0.016426483169198036, 0.4053557515144348, 0.22743280231952667, -0.4955689311027527, 0.1655949205160141, 0.6162028312683105, 0.32092157006263733, 0.1627187430858612, -0.07639048993587494, -0.9694560766220093, 0.24868230521678925, -0.381456583738327, 0.9469957947731018, -0.6363822221755981, -0.4192958474159241, -0.2420315146446228, -0.11660841107368469, 0.15909935534000397, -0.7559942007064819, 0.5889560580253601, -1.1017628908157349, 0.1353040635585785, -0.33288151025772095, -0.32727333903312683, -0.15521852672100067, 0.3378009498119354, -0.7343205809593201, 1.3420683145523071, 0.43007639050483704, -0.8443277478218079, 0.31343087553977966, -0.23173339664936066, -0.3474332094192505, 0.09161268174648285, -0.19581763446331024, -0.601277232170105, 0.2684260308742523, 0.27687060832977295, 0.06656190752983093, -0.6733624935150146, 0.2673659324645996, -0.05125313624739647, -0.4078269898891449, 0.11573953181505203, 0.08487655967473984, 0.555425763130188, 0.3385484218597412, 0.035064250230789185, 0.0772414281964302, -0.969009518623352, 0.17767983675003052, 0.17154663801193237, -0.5046416521072388, -0.4461270272731781, -0.23294757306575775, -0.18694357573986053, 0.10947154462337494, 0.20442038774490356, -0.3187732696533203, 0.22316214442253113, -0.4957024157047272, -0.014672576449811459, 0.48279309272766113, 0.2617959976196289, 0.3362639248371124, -0.42744672298431396, 0.7001251578330994, -0.2731481194496155, -0.12977033853530884, -0.14325682818889618, -0.230106383562088, -0.6723600625991821, -0.2693464457988739, 0.47492218017578125, 0.2962910830974579, -1.4021458625793457, -0.13588847219944, -0.12009329348802567, -0.4025213122367859, -0.6499798893928528, 0.13458028435707092, 0.6374825835227966, 0.8775984048843384, 0.5900698900222778, 0.022336861118674278, -0.9842709302902222, -0.5949810743331909, -0.3422478437423706, -0.22021304070949554, -0.20717784762382507, 0.49138516187667847, 0.20636925101280212, -0.4238535463809967, 0.8476788997650146, -0.42569953203201294, -0.2846653163433075, -0.3000345826148987, 0.07328973710536957, 0.025343839079141617, 0.18021883070468903, 0.1906656175851822, -1.0533976554870605, -0.4258258640766144, -0.08751071989536285, -0.47635617852211, -0.3340018093585968, 0.0943693220615387, -0.2775557041168213, 0.244513139128685, 0.5441070199012756, -0.3938899338245392, 0.33936113119125366, 0.3483576774597168, -0.11415211111307144, 0.5939080119132996, -0.21591809391975403, 0.18039658665657043, -1.385840892791748, 0.3011876940727234, -0.2712949514389038, -0.32915782928466797, -0.5868367552757263, 0.5654370784759521, 0.11739188432693481, 0.045903079211711884, -0.3089391589164734, 0.7899709343910217, -0.5321238040924072, -0.21669523417949677, -0.5198427438735962, 0.0719132348895073, 0.29051709175109863, 0.34380006790161133, -0.10308719426393509, 0.917691171169281, 0.07211021333932877, -0.7055188417434692, 0.19312797486782074, 0.395145446062088, -0.1602681577205658, 0.3009580373764038, -0.4625891149044037, 0.2667500376701355, -0.3344263732433319, 0.4968911409378052, -0.9248960018157959, -0.4403833746910095, 0.08235182613134384, -0.7204663753509521, 0.5043497085571289, -0.24447093904018402, -0.41697797179222107, -0.10628996044397354, -0.21903616189956665, 0.6463401913642883, 0.48484012484550476, -0.8539096117019653, 0.9089211225509644, 0.49243032932281494, 0.09933111816644669, -0.8965999484062195, -0.24204614758491516, -0.1818471997976303, -0.2035471349954605, -0.3034352660179138, 0.3629648983478546, 0.18213973939418793, -0.16202688217163086, -0.24497544765472412, -0.14833152294158936, -0.1228959858417511, -0.01955891028046608, 0.15324091911315918, 0.12163671851158142, 0.06738554686307907, 0.33009788393974304, -0.04668514057993889, -0.07451248168945312, -0.15673667192459106, 0.03658497333526611, 0.5297584533691406, 0.1693006008863449, -0.18273280560970306, -0.00960818026214838, 0.10211934894323349, 0.43881872296333313, -0.7231345176696777, 0.6329958438873291, 0.592187225818634, -0.2459491789340973, -0.5286507606506348, -0.5783141851425171, -0.23497994244098663, -0.4763406217098236, 0.31258565187454224, -0.631596565246582, -0.9234302639961243, 0.49168333411216736, -0.2503497898578644, -0.010614325292408466, 0.3234157860279083, 0.5346903800964355, -0.1041533425450325, 0.7630742788314819, 0.6279106736183167, 0.3087935447692871, 0.32810136675834656, -0.2692572772502899, 0.10059007257223129, -1.3462437391281128, -0.4071100652217865, -0.5803372263908386, -0.07108170539140701, -0.7146867513656616, -0.8237758278846741, 0.4758926331996918, 0.2848965525627136, -0.31992754340171814, -0.05035779997706413, -0.4339599311351776, 0.40461719036102295, 0.45632630586624146, 0.22028641402721405, 0.3748241364955902, 0.16669437289237976, -0.07273590564727783, 0.2097010612487793, -0.6495248079299927, -0.3820425868034363, 1.2185872793197632, 0.23848316073417664, 0.8116961717605591, 0.2458982914686203, 0.8409319519996643, -0.0538986399769783, 0.5015748739242554, -0.7039962410926819, 0.45123887062072754, -0.11975803226232529, -0.5805714726448059, -0.30194541811943054, -0.6649187803268433, -1.0693451166152954, 0.3336142599582672, -0.2721152901649475, -0.2248133271932602, 0.1703324019908905, 0.21115891635417938, -0.40812814235687256, 0.11949233710765839, -0.47308316826820374, 0.23256756365299225, -0.02010594867169857, -0.5495991706848145, 0.03302398696541786, -0.5232487320899963, 0.5910640358924866, -0.27658337354660034, 0.25677987933158875, -0.03076234832406044, -0.12225643545389175, 0.4546923041343689, -0.38481804728507996, 0.5066893696784973, -0.18539446592330933, -0.17018088698387146, 0.5626692771911621, 0.14513684809207916, 0.6423772573471069, 0.25516775250434875, -0.149713397026062, -0.41020467877388, -0.007714313920587301, -0.32424768805503845, -0.7037569284439087, 0.5024961829185486, -0.5157031416893005, -0.7061758041381836, -0.2285347580909729, -0.5680021047592163, -0.5359570980072021, 0.23118247091770172, 0.09079878777265549, 0.5034485459327698, 0.11633478105068207, 0.1581961065530777, 0.8068962097167969, -0.3310723304748535, -0.17160294950008392, 0.7556578516960144, -0.6190919876098633, -0.4382416009902954, 0.9092570543289185, -0.008472285233438015, 0.13783343136310577, 0.47739896178245544, 0.14440886676311493, -0.5609368085861206, -0.5051537752151489, -0.3034285306930542, 0.3935185372829437, -0.5713502168655396, -0.6109516024589539, -0.4982338547706604, -0.0881962776184082, -0.4870296120643616, 0.2805544137954712, -0.18176649510860443, -0.39321982860565186, -0.18036073446273804, -0.027285724878311157, 0.5079295039176941, 0.6701428890228271, 0.006454624701291323, 0.10740929841995239, -0.7842656970024109, 0.8788304924964905, 0.2821049988269806, 0.35361745953559875, 0.08938907086849213, -0.8603137731552124, -0.1762511432170868, 0.03145899996161461, -0.24027615785598755, -0.7182696461677551, 0.487789511680603, 0.22364726662635803, 0.4886828362941742, -0.17132817208766937, 0.3684408366680145, 0.784644603729248, -0.6343453526496887, 0.4613606631755829, -0.24653907120227814, -0.4604978561401367, 0.5025011897087097, -0.3923405110836029, 0.20958079397678375, 0.6698212027549744, 0.41220623254776, -0.2145160734653473, -0.2657821476459503, -0.6199080348014832, -1.1039785146713257, 0.5928685069084167, -0.07395528256893158, 0.01784479431807995, -0.07899938523769379, 0.7877063751220703, 0.07697045803070068, 0.12465281039476395, -0.438418447971344, -0.1105652004480362, 0.16954746842384338, 0.08310585469007492, 0.13436855375766754, -0.6879015564918518, -0.07855884730815887, -0.1376907080411911, 0.8661277890205383, -0.17716166377067566, 0.010102796368300915, 0.1561102718114853, -0.07783468067646027, -0.11406853795051575, 0.17604757845401764, 0.43913719058036804, 0.8712190389633179, -0.20685869455337524, 0.02952621318399906, 0.3258252739906311, -0.31901413202285767, 0.19554615020751953, 0.01531981397420168, -0.1218978688120842, -0.06471919268369675, 0.23141860961914062, 0.49268215894699097, 0.05455826222896576, -0.8701909184455872, 0.16784031689167023, -0.27827784419059753, 0.033568888902664185, -0.346445769071579, -0.05047890171408653, -0.03279652073979378, 0.32745954394340515, 0.6013139486312866, -0.35507339239120483, 0.33714327216148376, -0.525336742401123, 0.5550311207771301, 0.3756382465362549, 0.006419624201953411, -0.003383651142939925, 0.6189112663269043, -0.0021079054567962885, -0.1458168476819992, 0.5696553587913513, -0.4288792312145233, -0.42248600721359253, 0.3434562385082245, 0.6742084622383118, 0.6386624574661255, -0.32386723160743713, 0.04865438863635063, 0.6399346590042114, 0.06973057240247726, -0.01264074258506298, 0.4745352864265442, -0.09635093063116074, -0.47397279739379883, -0.5616446137428284, -1.004447340965271, -0.3994303345680237, 0.15397481620311737, -0.8521984815597534, 0.26633673906326294, -0.4120325446128845, -0.17931850254535675, -0.34846031665802, 0.14740002155303955, -0.48415181040763855, 0.3919138014316559, -0.15381371974945068, 0.7470726370811462, -0.3534839451313019, 0.7189821600914001, 0.9269583821296692, -0.6036480665206909, -1.1177011728286743, 0.04950343072414398, -0.345283180475235, -0.809734046459198, 0.8990726470947266, -0.12911896407604218, -0.29987695813179016, 0.06462806463241577, -0.4506833255290985, -1.0410417318344116, 1.0310395956039429, 0.4075676202774048, -0.4014971852302551, -0.13193966448307037, -0.023033756762742996, 0.6850799322128296, -0.24567434191703796, 0.3489283323287964, 0.5190742015838623, 0.10263586789369583, 0.4873782694339752, -0.9233229160308838, 0.047980573028326035, -0.08726462721824646, 0.19367319345474243, 0.2944663465023041, -0.7159628868103027, 0.7901297807693481, -0.23057743906974792, -0.27022668719291687, 0.1418716311454773, 0.7047763466835022, 0.8272873759269714, 0.43692320585250854, 0.22266876697540283, 0.7560045719146729, 0.8267180323600769, 0.04872557148337364, 1.1599206924438477, -0.17569437623023987, 0.21747276186943054, 1.5981179475784302, -0.22832196950912476, 1.2510212659835815, 0.4616853892803192, -0.05355095490813255, 0.5288228988647461, 0.48339247703552246, 0.4709051847457886, 0.4156661629676819, 0.3333204686641693, -0.3391413390636444, -0.11599200963973999, -0.27499377727508545, -0.38486096262931824, 0.5153053998947144, 0.4767094850540161, -0.3463011682033539, -0.2707746922969818, -0.07419757544994354, -0.17943312227725983, 0.35550859570503235, -0.37593841552734375, 0.9505931735038757, 0.13150350749492645, -0.6421362161636353, 1.0661113262176514, 0.019069185480475426, 0.38746821880340576, -0.41216230392456055, -0.3832794725894928, -0.489590585231781, 0.03338545188307762, -0.36974239349365234, -0.4809861481189728, 0.3783454895019531, 0.13298748433589935, -0.35734400153160095, -0.028779128566384315, 0.8069559931755066, -0.3733746111392975, -0.41312140226364136, 0.1085612028837204, 0.4315345883369446, 0.055088113993406296, 0.009921416640281677, -0.5715091824531555, 0.16852614283561707, 0.21208643913269043, -0.26295143365859985, 0.41591423749923706, 0.6606426239013672, -0.14989303052425385, 0.8371201753616333, 0.6404744386672974, -0.019910581409931183, 0.09937674552202225, 0.09932313114404678, 1.1110129356384277, -0.526220440864563, -0.23310120403766632, -0.3701093792915344, 0.5792865753173828, 0.029915718361735344, -0.008233410306274891, 0.7464639544487, 0.6041077971458435, 0.9271785616874695, 0.11220500618219376, 0.5786145329475403, 0.04481031745672226, 1.2477519512176514, -0.5495443344116211, 0.6196993589401245, -0.7911700010299683, 0.6329907178878784, 0.09574191272258759, -0.8595040440559387, -0.1732536256313324, 0.42077913880348206, -0.25323644280433655, 0.1849752813577652, 0.33912384510040283, 0.9293324947357178, 0.16781321167945862, -0.5245204567909241, 0.2641928195953369, 0.08315867185592651, 0.4245914816856384, 0.33665257692337036, 0.9309478998184204, -0.5942182540893555, 0.5286223292350769, -0.07841488718986511, -0.16702815890312195, -0.16911418735980988, -0.6148862838745117, -0.7653306722640991, -0.7441662549972534, -0.01511544082313776, -0.5098201632499695, 0.03327421844005585, 0.762523889541626, 0.3278140127658844, -0.540177047252655, -0.15393389761447906, 0.21247200667858124, 0.17750334739685059, 0.18058501183986664, -0.19644179940223694, 0.3597326874732971, -0.7527387738227844, -0.5923881530761719, 0.5660625696182251, -0.11759137362241745, -0.2242083102464676, -0.1408209204673767, -0.03268839418888092, -0.3749212920665741, 0.10181371867656708, 0.7304667830467224, 0.5267177820205688, -0.6607549786567688, 0.07609465718269348, 0.04747942090034485, -0.03021162562072277, -0.056071531027555466, 0.6655158996582031, -1.2323360443115234, 0.6074385643005371, 0.5843605399131775, 0.9259217381477356, 0.5232957005500793, 0.49835383892059326, 0.44450053572654724, -1.0414210557937622, 0.014630869962275028, 0.43049535155296326, 0.07152639329433441, 0.34594985842704773, -0.3795842230319977, 0.6281747221946716, -0.1814740002155304, -0.6857603788375854, -1.2125972509384155, 0.30724549293518066, -0.5777610540390015, -0.2562178671360016, 1.1946836709976196, 0.07113959640264511, -0.3073868155479431, -0.028378773480653763, -0.455947607755661, 0.36961543560028076, -0.14361149072647095, 0.8380521535873413, 0.08946465700864792, -0.23203474283218384, -0.26534244418144226, -0.550082266330719, 0.7324349880218506, 0.3076857328414917, -0.7297492623329163, 0.20033913850784302, 0.7052844762802124, 0.27853643894195557, 0.10204661637544632, 0.7021636962890625, -0.1704224795103073, 0.36126741766929626, -0.10597597062587738, 0.015897240489721298, -0.22254377603530884, -0.3533746004104614, -0.15971533954143524, 0.24632138013839722, 0.44364264607429504, -0.017861373722553253 ]
http://arxiv.org/abs/2404.00604v1
http://arxiv.org/pdf/2404.00604v1
Extensive Self-Contrast Enables Feedback-Free Language Model Alignment
2024-03-31T08:30:15
2024-03-31T08:30:15
Xiao Liu, Xixuan Song, Yuxiao Dong, Jie Tang
cs.CL
cs.CL, cs.AI, cs.LG
Reinforcement learning from human feedback (RLHF) has been a central technique for recent large language model (LLM) alignment. However, its heavy dependence on costly human or LLM-as-Judge preference feedback could stymie its wider applications. In this work, we introduce Self-Contrast, a feedback-free large language model alignment method via exploiting extensive self-generated negatives. With only supervised fine-tuning (SFT) targets, Self-Contrast leverages the LLM itself to generate massive diverse candidates, and harnesses a pre-trained embedding model to filter multiple negatives according to text similarity. Theoretically, we illustrate that in this setting, merely scaling negative responses can still effectively approximate situations with more balanced positive and negative preference annotations. Our experiments with direct preference optimization (DPO) on three datasets show that, Self-Contrast could consistently outperform SFT and standard DPO training by large margins. And as the number of self-generated negatives increases, the performance of Self-Contrast continues to grow. Code and data are available at https://github.com/THUDM/Self-Contrast.
[ -0.4893094599246979, -0.5580517053604126, 0.5190741419792175, 0.3081865608692169, -0.23639918863773346, -0.12808631360530853, -0.3764649033546448, -0.30272090435028076, 0.45340844988822937, 0.7707196474075317, -0.5949901342391968, -0.41980496048927307, -0.2561451494693756, 0.1346559077501297, -0.3837859332561493, 1.1707630157470703, 0.033755894750356674, 0.00046691790339536965, -0.04587961360812187, -0.3065904974937439, -0.3308177888393402, -0.4305930435657501, -0.36525291204452515, -0.3897516131401062, 0.6878140568733215, 0.5935867428779602, 0.5910892486572266, 0.9989812970161438, 0.21399962902069092, 0.32310962677001953, 0.3988974094390869, 0.01681872457265854, -0.5943620800971985, 0.36233553290367126, -0.49751609563827515, -0.01717287488281727, -0.17205460369586945, 0.11742672324180603, 0.5628015995025635, 0.197067990899086, -0.11414980888366699, -0.026972966268658638, 0.33486154675483704, 0.6833190321922302, -0.7028186917304993, -0.1668960303068161, -0.44285279512405396, 0.03843042254447937, -0.08684542775154114, -0.21627233922481537, -0.5669175386428833, -0.1031179428100586, 0.029338568449020386, -0.5737956166267395, 0.12068340182304382, -0.06983235478401184, 0.8463446497917175, 0.5509471297264099, -0.5644758343696594, -0.1653338074684143, -0.5891494154930115, 0.9373000860214233, -0.8664177060127258, 0.2144792228937149, 0.16679900884628296, 0.11823467910289764, -0.030664319172501564, 0.04010867699980736, -0.5359752774238586, -0.2838292717933655, -0.14922621846199036, 0.3248169720172882, 0.02844206430017948, 0.09969222545623779, -0.17320121824741364, 0.2879045903682709, -0.512135922908783, 0.5775725841522217, -0.12919451296329498, -0.16775722801685333, 0.6254725456237793, 0.03429104760289192, 0.15800757706165314, -0.11473116278648376, -0.4089053273200989, -0.24614016711711884, -0.605617880821228, -0.2599594295024872, 0.4406979978084564, 0.5293861627578735, -0.2600710093975067, 0.49510452151298523, -0.37770941853523254, 0.8000951409339905, 0.41074272990226746, -0.013825586065649986, 0.31613075733184814, -0.050139930099248886, -0.23108184337615967, 0.09767978638410568, 0.9917113184928894, 0.4975179135799408, 0.11639595031738281, -0.03617586940526962, -0.31713879108428955, 0.15349219739437103, 0.23967942595481873, -0.9767577648162842, -0.22843371331691742, 0.13886195421218872, -0.273483544588089, -0.5234268307685852, -0.253155916929245, -0.8017973899841309, -0.6422605514526367, -0.4812815189361572, 0.6238297820091248, -0.026348711922764778, -0.1322150081396103, 0.10391726344823837, 0.2671179473400116, 0.2686889171600342, 0.4849660098552704, -1.0416810512542725, 0.1734297126531601, 0.4636281728744507, 0.6277087330818176, -0.27747511863708496, -0.4855138063430786, -0.8411361575126648, -0.0184362530708313, -0.5274466872215271, 0.7659555077552795, -0.48325300216674805, -0.08957403898239136, -0.14733822643756866, -0.1988069713115692, 0.2778879404067993, -0.5280838012695312, 0.4483480453491211, -0.36399924755096436, 0.43887966871261597, 0.01572510413825512, -0.5429055094718933, 0.11910172551870346, 0.304900199174881, -0.42456504702568054, 0.8140069246292114, -0.0364907905459404, -0.7367640733718872, 0.1595776379108429, -0.10699042677879333, -0.3493652045726776, -0.24273687601089478, -0.503678023815155, -0.609844446182251, 0.05789412558078766, 0.3533724248409271, 0.4936582148075104, -0.1562701016664505, 0.17747268080711365, -0.8476022481918335, -0.35655370354652405, 0.22228388488292694, -0.3041076958179474, 0.3162572383880615, 0.2894292175769806, -0.7145563364028931, 0.57591712474823, -0.7394459843635559, -0.08681115508079529, 0.07430749386548996, -0.19239331781864166, -0.4053654670715332, -0.1621968150138855, -0.3634907603263855, 0.6416198015213013, 0.3203560709953308, -0.5658981800079346, 0.2150915116071701, -0.3290078341960907, 0.19645902514457703, 0.9662470817565918, -0.25816038250923157, 0.46876710653305054, -0.10708706080913544, 0.5612924695014954, -0.02608783170580864, -0.005112986080348492, -0.20795892179012299, 0.1643954962491989, -0.9526829123497009, -0.32778462767601013, 0.3082261085510254, 0.18132886290550232, -0.4079829156398773, 0.48689696192741394, -0.16292276978492737, -0.2593480050563812, -0.9062191247940063, 0.4026477634906769, 0.61021488904953, 0.7571544647216797, 0.5931537747383118, -0.13605809211730957, -0.3464530110359192, -1.3124738931655884, -0.012736981734633446, 0.16555091738700867, 0.09223273396492004, 0.5802168250083923, 0.058695387095212936, -0.1958124190568924, 0.6468454003334045, -0.6297650933265686, -0.5273856520652771, 0.1382639855146408, 0.2202354073524475, 0.10304304212331772, 0.5102011561393738, 0.4428233504295349, -0.27353155612945557, -0.7533586621284485, 0.025975249707698822, -0.4416615962982178, -0.44791752099990845, -0.25997990369796753, -0.3066747188568115, 0.21556037664413452, 0.7223135232925415, -0.028120379894971848, -0.07723766565322876, 1.0360844135284424, -0.4416043758392334, 0.4485665559768677, -0.4760921895503998, 0.1762685626745224, -0.9469187259674072, 0.06334578990936279, 0.14155471324920654, -0.3198116719722748, -0.3246581256389618, 0.08595144003629684, 0.3666914999485016, 0.09145567566156387, -0.14379636943340302, 0.7779889106750488, -0.3517642915248871, 0.15559911727905273, -0.6082592606544495, 0.4407952129840851, -0.06127748265862465, 0.6564224362373352, 0.12079737335443497, 0.79201340675354, 0.31450510025024414, -0.5672244429588318, 0.07690979540348053, 0.05783475935459137, -0.04637051373720169, 0.41046807169914246, -0.4677523970603943, 0.21169456839561462, -0.07017254084348679, 0.32654058933258057, -1.1896523237228394, -0.11497882753610611, 0.20498836040496826, -0.14742553234100342, 0.4595155119895935, -0.13899168372154236, -0.08324731141328812, -0.24604491889476776, -0.5119566917419434, 0.35546618700027466, 0.2582043409347534, -0.8772097229957581, 0.3160150945186615, 0.16484661400318146, -0.22244606912136078, -0.8802052140235901, -0.7417353391647339, -0.02954212762415409, -0.07821726053953171, -0.1249777302145958, 0.2878290116786957, -0.21216781437397003, 0.02469806931912899, -0.16787084937095642, 0.011014336720108986, 0.22913755476474762, 0.20761050283908844, 0.15508869290351868, 0.18386897444725037, -0.09153371304273605, 0.3395731747150421, 0.13472771644592285, -0.12035485357046127, -0.21614350378513336, -0.20584656298160553, 0.5890064835548401, -0.18184557557106018, -0.32947954535484314, -0.40625128149986267, 0.16248613595962524, 0.3970452845096588, -0.28530049324035645, 0.32775238156318665, 0.3364076316356659, 0.2055254727602005, -0.2099309116601944, -0.6853402256965637, -0.2598312795162201, -0.48328641057014465, 0.40316909551620483, -0.18039467930793762, -1.1599260568618774, 0.26062506437301636, 0.2558918595314026, 0.05750880390405655, 0.4882052540779114, 0.4401610195636749, -0.0848979651927948, 1.1815617084503174, 0.4450749158859253, -0.2199503481388092, 0.6995574235916138, 0.2254539430141449, -0.10729758441448212, -0.7613347768783569, 0.24332740902900696, -0.48674678802490234, -0.4791024625301361, -0.8512207865715027, -0.2489595115184784, -0.18008528649806976, 0.12806196510791779, -0.5857337713241577, 0.11800210922956467, -0.7095980644226074, 0.5463583469390869, 0.4839428663253784, 0.14919142425060272, 0.1561400294303894, -0.24964775145053864, -0.22009199857711792, -0.3433878421783447, -0.35950836539268494, -0.16039392352104187, 1.0007067918777466, 0.32498782873153687, 1.1612002849578857, 0.04455314204096794, 1.214634895324707, 0.1075749471783638, 0.6445420384407043, -0.62183678150177, 0.33276569843292236, -0.46787944436073303, -0.3973003625869751, -0.5369152426719666, -0.5441060066223145, -0.8944207429885864, 0.39320650696754456, -0.37618133425712585, -0.36910387873649597, 0.11376522481441498, 0.5987728238105774, -0.45010387897491455, -0.009590761736035347, -0.7429540157318115, 0.7797425985336304, -0.5414842367172241, -0.6590092182159424, -0.403827965259552, -0.6318554282188416, 0.2673882842063904, -0.06904790550470352, 0.17203643918037415, -0.05755849555134773, 0.014648114331066608, 0.47906798124313354, -0.07456720620393753, 1.0112463235855103, -0.10688382387161255, -0.545853853225708, 0.02895434945821762, 0.4363816976547241, 0.5642657279968262, -0.10042626410722733, -0.048889558762311935, -0.31352758407592773, -0.3675835132598877, -0.38923707604408264, -0.7084206938743591, 1.1328049898147583, -0.8782703876495361, -0.741613507270813, -0.2675798237323761, -0.23255833983421326, -0.14827664196491241, 0.45765602588653564, -0.08964618295431137, 0.3823532462120056, -0.012413558550179005, 0.18257908523082733, 0.44893592596054077, -0.48911771178245544, 0.24330264329910278, 0.7222187519073486, -0.6895855665206909, -0.745434045791626, 1.2083935737609863, -0.11211773753166199, 0.3993679881095886, 0.5498126149177551, 0.5426720976829529, -0.45550358295440674, -0.34474658966064453, -0.5619783997535706, 0.5024199485778809, -0.5412627458572388, -0.3826408386230469, -0.5402682423591614, 0.06902991235256195, -0.43385809659957886, -0.252750426530838, -0.6541390419006348, -0.41449427604675293, -0.32246634364128113, -0.06825811415910721, 0.04033167287707329, 0.9148523807525635, -0.220330610871315, 0.11507049202919006, -0.4912632405757904, 0.2537836730480194, 0.5858445167541504, 0.6350513696670532, 0.026461202651262283, -0.6905809044837952, -0.2082221508026123, -0.16292788088321686, -0.4676872789859772, -0.6312323808670044, 0.37128111720085144, 0.07823994755744934, 0.25317028164863586, 0.5170527100563049, 0.20227575302124023, 0.6525089740753174, -0.32569342851638794, 0.6091877222061157, 0.29926997423171997, -0.9097089767456055, 0.38039031624794006, -0.5029988884925842, 0.5901505947113037, 0.7373943328857422, 0.12178460508584976, -0.5807067155838013, -0.47034752368927, -0.3819253742694855, -0.8442510366439819, 0.6321589350700378, -0.23803390562534332, 0.21020548045635223, -0.22625544667243958, 0.44373664259910583, 0.10543186217546463, 0.1095481812953949, -1.0691906213760376, -0.2826021909713745, -0.44523707032203674, -0.30222007632255554, -0.3503352105617523, -0.26961377263069153, -0.1536267101764679, -0.04387331381440163, 0.8748069405555725, -0.49423331022262573, 0.0012603725772351027, 0.21298626065254211, -0.13054317235946655, -0.15416988730430603, 0.6091038584709167, 0.8311936259269714, 0.12824833393096924, -0.11080527305603027, 0.32783615589141846, 0.14417764544487, 0.26697292923927307, 0.21337160468101501, 0.05779469758272171, -0.042087070643901825, -0.4036664068698883, 0.1175294816493988, 0.5995099544525146, 0.3039179742336273, -0.42132768034935, 0.6499720215797424, -0.07478407025337219, -0.2942320704460144, 0.15244482457637787, -0.004141551908105612, 0.16343346238136292, 0.24004535377025604, -0.06696542352437973, -0.3070095181465149, 0.09317675977945328, -0.3386746942996979, 0.3006838262081146, 0.5166090726852417, -0.6844549179077148, -0.13214097917079926, 0.48594045639038086, 0.5082942843437195, -0.03783457726240158, 0.647246241569519, -0.22432398796081543, -0.4915183484554291, 0.24229764938354492, 0.7874131202697754, 0.7979120016098022, -0.3280981183052063, 0.3254002630710602, 0.49443483352661133, -0.0893699899315834, -0.07789576053619385, 0.04833277687430382, -0.3641524314880371, -0.7549328804016113, -0.5566943883895874, -0.4846457540988922, -0.4085591435432434, 0.28974226117134094, -0.6767642498016357, 0.3479231595993042, -0.6448123455047607, 0.13578934967517853, -0.1445467472076416, 0.0539712980389595, -0.42478838562965393, 0.425956130027771, 0.30105969309806824, 0.3638768792152405, -0.6879808306694031, 0.9080618023872375, 0.357138454914093, -0.30094221234321594, -0.7890382409095764, 0.042882610112428665, -0.06352218240499496, -0.8596034646034241, 0.55228590965271, 0.49843287467956543, -0.5518313646316528, 0.021147266030311584, -0.5643694400787354, -0.8632311820983887, 0.8012661933898926, 0.6478068232536316, -0.9297308921813965, 0.16236387193202972, -0.28214865922927856, 0.8033298254013062, -0.35065555572509766, 0.3483383357524872, 0.2133132666349411, 0.2676745653152466, -0.14390914142131805, -0.672064483165741, 0.26224759221076965, -0.08371534943580627, -0.22769120335578918, 0.43962374329566956, -1.1004852056503296, 0.5743180513381958, -0.21704484522342682, -0.19348986446857452, 0.009130077436566353, 0.7579742670059204, 0.07844151556491852, -0.3679744601249695, 0.6285315155982971, 0.7154816389083862, 0.434194415807724, 0.35967960953712463, 0.7947962284088135, -0.5385022759437561, 0.5197837352752686, 1.8123915195465088, -0.2527649402618408, 0.8126085996627808, 0.5613456964492798, 0.1752239167690277, 0.5188965797424316, 0.4624738097190857, -0.051456473767757416, 0.5906325578689575, 0.38939303159713745, 0.07144840806722641, -0.5977660417556763, -0.15274463593959808, -0.2730133831501007, 0.3203745484352112, -0.05010133609175682, -0.5120888948440552, -0.3154519498348236, -0.3667186498641968, -0.2504512369632721, 0.3383992314338684, -0.03894875943660736, 0.8913094997406006, -0.04518726468086243, -0.9829440712928772, 0.42826753854751587, -0.1824488639831543, 1.0100774765014648, -0.6597368121147156, -0.10632031410932541, -0.33161699771881104, 0.36424192786216736, -0.27791714668273926, -0.8150001764297485, 0.009935105219483376, -0.29316580295562744, -0.08191186934709549, -0.36873674392700195, 0.4155212640762329, -0.6535254716873169, -0.05288181081414223, 0.7663982510566711, 0.20023056864738464, -0.19730497896671295, 0.15842387080192566, -0.6692107915878296, -0.247245654463768, 0.24292942881584167, -0.26728498935699463, 0.6270024180412292, 0.2534964084625244, 0.09283813834190369, 0.6968939900398254, 0.35355010628700256, 0.021689703688025475, -0.26516398787498474, 0.30432549118995667, 0.7244875431060791, -0.8368282914161682, -0.6552165746688843, -0.9279703497886658, 0.09504624456167221, -0.03390625864267349, -0.4829872250556946, 0.5984078049659729, 0.4872097671031952, 1.0116056203842163, 0.016419602558016777, 0.7008219361305237, 0.4090632200241089, 0.595016598701477, -0.3940839469432831, 0.43680539727211, -0.812633216381073, 0.1195758655667305, -0.38054603338241577, -0.6834335923194885, -0.2566083073616028, 0.6340563297271729, -0.3179830312728882, -0.021736785769462585, 0.42235448956489563, 0.8599520325660706, -0.08896097540855408, -0.3890545070171356, 0.43684324622154236, 0.3572506010532379, 0.4258822500705719, 0.18842874467372894, 0.8010084629058838, -0.05407893657684326, 0.7264736294746399, -0.43169352412223816, -0.1773286908864975, -0.2968001663684845, -0.9838381409645081, -0.7198593616485596, -0.3027956485748291, -0.3404358923435211, -0.5885654091835022, -0.03558497503399849, 1.193758487701416, 0.7274399399757385, -0.9332560896873474, -0.2726036608219147, -0.06645718216896057, 0.04393545538187027, -0.03424209728837013, -0.18430916965007782, 0.37474361062049866, -0.5387044548988342, -0.6437299847602844, 0.3153254985809326, 0.4441763460636139, 0.2666882574558258, -0.393752783536911, -0.3123946785926819, -0.08250012248754501, 0.03149402514100075, 0.2831922471523285, 0.41718730330467224, -0.6363117694854736, -0.44158875942230225, -0.1324540227651596, -0.5456920266151428, 0.32526230812072754, 0.7515559196472168, -0.5975605845451355, 0.6842902898788452, 0.27727067470550537, 0.8718506097793579, 0.6066507697105408, 0.10243025422096252, 0.8139966130256653, -0.6896740794181824, -0.20071382820606232, 0.07892132550477982, 0.30794593691825867, 0.5815267562866211, -0.46125146746635437, 0.3166063725948334, -0.23860426247119904, -0.7320831418037415, -0.45748746395111084, 0.3680350184440613, -0.7824481725692749, -0.3707566261291504, 1.335876703262329, 0.0457625612616539, -0.016332319006323814, 0.26946404576301575, -0.4426109492778778, 0.15274178981781006, -0.7003884315490723, 1.152058720588684, 0.6415228843688965, -0.2647751569747925, -0.05077303573489189, 0.055042464286088943, 0.3917028605937958, 0.9449796676635742, -0.6482601761817932, 0.39917632937431335, 0.5512212514877319, 0.44614362716674805, 0.12155396491289139, 0.6506848335266113, -0.07170949876308441, 0.0931582897901535, -0.3137277066707611, 0.33550193905830383, 0.08030978590250015, -0.28282544016838074, -1.0116301774978638, -0.07022050768136978, 0.3480384051799774, 0.02666202373802662 ]
http://arxiv.org/abs/2404.00600v2
http://arxiv.org/pdf/2404.00600v2
AI Act and Large Language Models (LLMs): When critical issues and privacy impact require human and ethical oversight
2024-03-31T08:14:25
2024-04-02T06:05:29
Nicola Fabiano
cs.CY
cs.CY, cs.AI, cs.CL
The imposing evolution of artificial intelligence systems and, specifically, of Large Language Models (LLM) makes it necessary to carry out assessments of their level of risk and the impact they may have in the area of privacy, personal data protection and at an ethical level, especially on the weakest and most vulnerable. This contribution addresses human oversight, ethical oversight, and privacy impact assessment.
[ -0.0785193219780922, -0.7451229691505432, 0.6863830089569092, 0.061954885721206665, 0.2952544093132019, 0.035900212824344635, 0.0758763775229454, -0.7522139549255371, -0.20907066762447357, 1.0304994583129883, -0.5740665197372437, -0.12688662111759186, -0.7031710743904114, 0.06099453940987587, -0.48583170771598816, 0.8176602125167847, 0.028322886675596237, 0.16202907264232635, -0.27256783843040466, -0.1026511937379837, -0.2739734947681427, -0.6926059722900391, -0.689460813999176, -0.313799113035202, 0.5015895366668701, 0.13417762517929077, 0.8510993123054504, 0.6705349683761597, 1.0391770601272583, 0.5162907838821411, -0.15612569451332092, -0.16936446726322174, -0.440055251121521, -0.04828207939863205, -0.40161392092704773, -0.6909496784210205, -0.532551646232605, 0.4124923050403595, 0.7355842590332031, 0.613594651222229, -0.21172209084033966, 0.38595065474510193, -0.24668212234973907, 0.7063141465187073, -0.6029462218284607, 0.07962148636579514, -0.3104499578475952, -0.13961917161941528, 0.05554284155368805, -0.1549414098262787, -0.20939788222312927, -0.525496780872345, 0.32767224311828613, -0.17970015108585358, -0.5050497651100159, 0.3535483479499817, 0.6464773416519165, 0.6184486746788025, -0.5300279259681702, -0.4047989249229431, -0.7861840128898621, 0.9296829700469971, -0.7061748504638672, 0.2439391016960144, 0.5177116990089417, 0.008907641284167767, -0.42734652757644653, -0.8384368419647217, -0.6002261638641357, -0.3883085250854492, -0.05315583571791649, -0.30621421337127686, -0.18194545805454254, 0.38443467020988464, 0.44101372361183167, 0.4547625482082367, 0.05504747852683067, 0.4850217401981354, -0.7570416331291199, -0.07033143937587738, 1.0502127408981323, 0.6242457032203674, 0.6225435733795166, -0.20785081386566162, -0.19552919268608093, 0.12881378829479218, -0.9680895805358887, -0.016536008566617966, 0.7195685505867004, 0.06715667992830276, -0.29210543632507324, 0.5456579923629761, 0.08111518621444702, 0.46500900387763977, -0.3950924575328827, -0.03863445296883583, 0.011308223009109497, -0.3687669634819031, -0.3052264451980591, -0.013644840568304062, 0.7621956467628479, 0.2525142431259155, 0.4257590174674988, 0.1665293574333191, -0.2886606454849243, -0.026609988883137703, 0.396971732378006, -0.5999111533164978, 0.2352564036846161, 0.5403863191604614, -0.5325308442115784, -0.40200766921043396, 0.28373420238494873, -0.6678259372711182, -0.7606409192085266, -0.7600535750389099, 0.29698705673217773, 0.2184670865535736, -0.13344912230968475, 0.10017739981412888, 0.1836818903684616, 0.49700868129730225, 0.30528557300567627, -0.7239843010902405, 0.4068540334701538, 0.9704044461250305, 0.33460620045661926, -0.0494849793612957, -0.325764000415802, -0.43413275480270386, 0.2752871513366699, -0.39185765385627747, 0.46310245990753174, -0.7007641792297363, -0.5067833662033081, 0.06420611590147018, 0.1923741102218628, 0.03048687055706978, -0.3850231170654297, 0.4547813832759857, -0.4693228602409363, 0.1769798994064331, -0.13028372824192047, -0.7895443439483643, -0.6146576404571533, -0.009385526180267334, -0.4516168534755707, 0.7567397356033325, 0.15203754603862762, -0.4736148715019226, 0.06899186968803406, -1.2592816352844238, -0.6015888452529907, 0.2795928120613098, -0.5162059664726257, -0.3049357533454895, -0.02753329463303089, -0.13744525611400604, 0.6059784889221191, -0.43681037425994873, 0.1462656855583191, -0.28630051016807556, -0.3001387119293213, 0.49132412672042847, -0.44129130244255066, 1.2568066120147705, 0.0791003406047821, -0.5732638239860535, 0.4831444025039673, -0.8107457160949707, 0.03599066659808159, 0.12882690131664276, -0.504940390586853, -0.39919227361679077, 0.4585261940956116, 0.06496138870716095, -0.028092004358768463, 0.447178453207016, -0.09340774267911911, 0.02292153611779213, -0.35757195949554443, 0.9330319762229919, 0.9917038083076477, 0.3027074933052063, 0.5078421235084534, -0.5451763272285461, 0.6023683547973633, -0.41816461086273193, 0.5028964281082153, -0.0203897412866354, -0.5118097066879272, -0.5233611464500427, -0.16060295701026917, 0.17307181656360626, 0.9418559074401855, 0.09726537764072418, 0.6798830628395081, -0.0853615403175354, -0.3241315484046936, -0.6857319474220276, 0.3354739844799042, 0.19307518005371094, -0.008514911867678165, -0.17138397693634033, -0.12855958938598633, -0.3198769688606262, -1.0347049236297607, -0.21502435207366943, -0.32939615845680237, 0.08658801019191742, 0.6232607364654541, 0.7303133606910706, -0.6322968006134033, 0.7632914185523987, -0.09495197236537933, -0.1768035888671875, -0.2144385576248169, 0.16919903457164764, 0.0576985739171505, 0.5333458781242371, 0.40222403407096863, -1.1422439813613892, -0.12061741948127747, -0.20120824873447418, -0.8130872845649719, -0.06699210405349731, -0.2563667595386505, 0.06833545863628387, 0.1437223106622696, 0.6506726741790771, -0.7948362827301025, 0.6223920583724976, 0.35980284214019775, -0.3264211416244507, 0.23992687463760376, -0.2732779383659363, 0.2506294548511505, -0.922268271446228, 0.07625318318605423, -0.23304283618927002, -0.29901647567749023, -0.8944713473320007, 0.41139817237854004, -0.061473313719034195, 0.08532306551933289, -0.8332111239433289, 0.6289153099060059, -0.4636309742927551, -0.464013010263443, -0.29689866304397583, 0.06213201954960823, -0.10967171937227249, -0.1968197077512741, -0.5017412304878235, 0.716651439666748, 0.5038878917694092, -0.9263827800750732, 0.4024798274040222, 0.17665714025497437, -0.5401619076728821, 0.5115219354629517, -0.53621506690979, 0.42215996980667114, -0.1251593381166458, -0.06104883551597595, -0.5020648837089539, -0.5480577945709229, 0.3034875988960266, -0.35866501927375793, 0.29210227727890015, 0.4786128103733063, -0.7515018582344055, -0.40371039509773254, -0.43773502111434937, 0.21605922281742096, 0.500230073928833, -0.2039192020893097, 1.0615261793136597, 0.822517991065979, -0.1433839201927185, -0.6164524555206299, -0.7063319683074951, 0.35522451996803284, -0.4550420343875885, -0.5967443585395813, -0.23769959807395935, -0.24026784300804138, -1.0391572713851929, -0.006357837934046984, 0.4257672131061554, -0.0585632286965847, 0.7886341214179993, 0.6495614647865295, 0.3098929524421692, -0.06639096885919571, -0.3454509675502777, -0.35715484619140625, 0.1841111034154892, 0.5573878884315491, 0.3641388416290283, 0.5479554533958435, -0.10493255406618118, -0.36987945437431335, -0.9079139232635498, 0.45590686798095703, 0.8393783569335938, -0.013815410435199738, 0.6147239208221436, 0.1771291345357895, -0.45357272028923035, 0.02882368490099907, -0.6887665390968323, -0.14863646030426025, -0.5845999121665955, 0.6138039231300354, 0.20524060726165771, -1.1299091577529907, 0.5592107176780701, 0.09354551136493683, 0.17815810441970825, 0.4993753731250763, 1.0455015897750854, -0.19025753438472748, 0.9297847151756287, 1.0158579349517822, -0.7189624309539795, 0.5668355822563171, 0.10847301781177521, 0.25358647108078003, -0.8942486643791199, -0.09904243797063828, -0.5538814067840576, -0.34466370940208435, -0.9717556238174438, -0.2119414508342743, 0.052131205797195435, -0.3133046627044678, -0.4954839050769806, -0.08794817328453064, -0.3218732178211212, 0.5098362565040588, 0.6937926411628723, 0.08035411685705185, 0.3805522620677948, -0.1610657274723053, 0.5187751054763794, 0.3173676133155823, -0.15956738591194153, -0.6898163557052612, 1.2391295433044434, 0.6777815818786621, 1.0579499006271362, 0.12338001281023026, 0.5382261276245117, 0.6132168769836426, 0.4008502960205078, -0.7120385766029358, 0.6925903558731079, 0.0462271086871624, -0.9811479449272156, -0.5295593738555908, -0.3349646031856537, -0.9589306712150574, -0.21705755591392517, -0.1201072707772255, -1.0856232643127441, 0.18068240582942963, -0.12026634067296982, -0.486990749835968, 0.1898912489414215, -0.5635969638824463, 0.3372717797756195, -0.521920382976532, -0.18139293789863586, -0.6711647510528564, -0.8134798407554626, 0.47471103072166443, -0.1050960123538971, 0.5226547122001648, -0.3542587161064148, -0.4119660556316376, 0.9099910855293274, -0.19216841459274292, 1.1598353385925293, 0.1093822494149208, -0.09958542138338089, 0.48201945424079895, 0.04570109397172928, 0.7063375115394592, -0.03310750797390938, 0.08443263918161392, 0.26475492119789124, -0.0858260914683342, -0.02406270056962967, -0.3281145393848419, 0.46623843908309937, -0.9896708130836487, -1.2197442054748535, -0.5035624504089355, -0.9222106337547302, -0.0037173270247876644, 0.32826700806617737, -0.1694328486919403, -0.18708336353302002, -0.12097293883562088, 0.1268848031759262, 0.4872310757637024, -0.3089974522590637, 0.36026760935783386, 0.7659866213798523, -0.26051121950149536, -0.21142327785491943, 0.5848288536071777, -0.056557606905698776, 0.2312408834695816, 0.015920326113700867, 0.2819053530693054, -0.14599573612213135, -0.6392590999603271, -0.10249144583940506, 0.42533448338508606, -0.8041892051696777, 0.05922326073050499, -0.5411819219589233, -0.5089247822761536, -0.33992019295692444, -0.12826046347618103, -0.08130975812673569, -0.026434490457177162, -0.6135359406471252, -0.05414458364248276, 0.5307761430740356, 1.281294584274292, -0.06568828225135803, 0.4281735122203827, -0.8507874011993408, 0.26761507987976074, 0.24861806631088257, 0.31413400173187256, -0.293853223323822, -0.5673269033432007, 0.20860567688941956, -0.28295326232910156, -0.15082348883152008, -0.41613543033599854, -0.10954266786575317, 0.11255719512701035, 0.7717032432556152, 0.5624681115150452, -0.2354367971420288, 0.17346756160259247, -0.5378718376159668, 0.8084506392478943, 0.08791929483413696, -0.8966323137283325, 0.32566142082214355, -0.3798585534095764, -0.17612813413143158, 0.5635274648666382, 0.5086685419082642, -0.4715385138988495, -0.3201284408569336, -0.5740613341331482, -0.7701519727706909, 0.8206683397293091, 0.1581939458847046, 0.6006646156311035, 0.22080768644809723, 0.7049585580825806, -0.34444838762283325, 0.33700451254844666, -0.8270601630210876, -0.22757358849048615, 0.7070500254631042, -0.1549682468175888, 0.1582973450422287, -0.377043753862381, -0.3603760898113251, -0.2706446945667267, 0.3502903878688812, 0.27904751896858215, 0.08922090381383896, -0.013019259087741375, 0.15857136249542236, -0.3723181486129761, 0.20033378899097443, 0.7847541570663452, 0.897310733795166, 0.16333141922950745, -0.18952861428260803, 0.2845710217952728, -0.5446250438690186, 0.22838518023490906, -0.2218458503484726, -0.24748924374580383, -0.709522008895874, 0.49732959270477295, 0.6055354475975037, 0.21624356508255005, -0.931647777557373, 0.5313828587532043, 0.1894245147705078, -0.2826009690761566, -0.4601794481277466, 0.2719150483608246, 0.13057397305965424, 0.40773093700408936, 0.2986605763435364, -0.07009235769510269, 0.28076040744781494, -0.878322958946228, 0.2176041156053543, 0.4129900336265564, -0.18005064129829407, -0.1568540334701538, 0.5776227712631226, 0.03296765312552452, -0.7445932626724243, 0.6421557664871216, 0.2241826057434082, -0.7145619988441467, 0.9945619702339172, 0.1343458890914917, 0.8795218467712402, -0.721967875957489, -0.15098172426223755, -0.08488866686820984, 0.7696743011474609, -0.47348475456237793, 0.6111817359924316, 0.4013136327266693, -0.55398029088974, -0.3954651653766632, -0.38158130645751953, -0.795849084854126, 0.2476654052734375, -0.5173240900039673, 0.3710874617099762, -0.9421166777610779, -0.1543211042881012, -0.07703714817762375, -0.1935858577489853, -0.5804645419120789, 0.2853846848011017, 0.32104793190956116, 0.7036159038543701, -0.46707579493522644, 0.4724958837032318, 0.5577941536903381, -0.110437773168087, -0.7006334662437439, -0.07203145325183868, 0.3159821629524231, -1.1434173583984375, 0.7592732906341553, 0.003919058479368687, 0.07782325148582458, -0.21726739406585693, -0.7643133401870728, -1.1693214178085327, 0.88299959897995, 0.3103860020637512, -0.6751547455787659, 0.04412924870848656, 0.5737142562866211, 0.5137240290641785, -0.579216718673706, -0.12185383588075638, 0.867736279964447, 0.850960373878479, -0.4417169690132141, -0.8869975805282593, 0.039900533854961395, 0.1029382050037384, -0.10161212086677551, 0.3114418685436249, -0.9009676575660706, 0.9236937165260315, -0.2581525444984436, -0.12965527176856995, -0.03240646421909332, 0.5178878307342529, 0.03795478120446205, 0.22617283463478088, 0.43607208132743835, 0.312851220369339, 0.8655575513839722, 0.24859821796417236, 1.4493892192840576, -0.4205978512763977, 0.10569942742586136, 0.8868634104728699, -0.4249536097049713, 0.8642746210098267, 0.36003804206848145, -0.4680894911289215, 0.11948000639677048, 0.8340875506401062, -0.32673782110214233, 0.16857199370861053, 0.5926206707954407, -0.03662252426147461, 0.04164295271039009, -0.2913680374622345, 0.022066310048103333, 0.6960345506668091, 0.7243589162826538, -0.5355280637741089, 0.2801584303379059, -0.14854930341243744, 0.08677398413419724, -0.034914180636405945, -0.7172160148620605, 0.7182977199554443, 0.4152188003063202, -0.36983582377433777, -0.1502372771501541, -0.0774010717868805, 0.3918304145336151, -0.3423416018486023, -0.00036731184809468687, 0.1657457947731018, 0.007693745661526918, -0.3680623173713684, -0.7679559588432312, 0.23285254836082458, -0.049225810915231705, -0.03696783632040024, 0.1522485911846161, 0.45774486660957336, 0.11092399805784225, -0.7227635979652405, 0.6067230105400085, 0.3243018686771393, 0.1555362194776535, 0.22370827198028564, -1.0627974271774292, 0.21921837329864502, -0.24808906018733978, -0.7728022933006287, 0.2981202006340027, 0.061889201402664185, -0.2281685471534729, 0.9668829441070557, 0.518725574016571, 0.28103867173194885, 0.23604325950145721, 0.1290998011827469, 0.7204988598823547, -0.814022421836853, -0.4877091348171234, -1.1476936340332031, 0.25051701068878174, -0.04785127565264702, -0.21075978875160217, 0.4990180730819702, 0.22305190563201904, 0.22831472754478455, 0.4487805962562561, 0.9238912463188171, -0.049544863402843475, 0.4722486436367035, -0.5004666447639465, 1.018998622894287, -0.5881940126419067, 0.4376666247844696, -0.10503383725881577, -0.9188210964202881, -0.33819785714149475, 0.4020352065563202, -0.4563068449497223, 0.3180193603038788, 0.5088099241256714, 0.6849865913391113, 0.33798298239707947, 0.05649186298251152, 0.3732445240020752, 0.5120010375976562, 0.29958438873291016, 0.2054469734430313, 0.9973015785217285, -0.2703089118003845, 0.16187721490859985, -0.07189865410327911, -0.13811132311820984, -0.14161138236522675, -0.9200263023376465, -1.020290493965149, -0.27332472801208496, -0.4416889250278473, -0.21678690612316132, -0.21545755863189697, 1.0370079278945923, 0.4390043616294861, -0.8950644731521606, -0.4435669779777527, 0.16088664531707764, 0.283926397562027, 0.1509157121181488, -0.24922528862953186, 0.48875880241394043, -0.0776396095752716, -0.8458576798439026, 0.3873056471347809, 0.625215470790863, 0.03827724978327751, -0.7401340007781982, -0.010324656032025814, -0.23101715743541718, 0.5400568246841431, 0.4659794569015503, 0.3402085602283478, -0.9302383661270142, -0.6898408532142639, -0.33700239658355713, -0.3400256633758545, -0.04910927265882492, 0.7809402942657471, -0.018629396334290504, 0.07084564864635468, 0.3512797951698303, 1.0293726921081543, -0.2020157426595688, -0.16705602407455444, 0.6769263744354248, -0.12212271988391876, 0.1404268592596054, 0.28625574707984924, 0.508126437664032, 0.16206081211566925, -1.0156242847442627, 0.6892964839935303, 0.06367719918489456, -0.9049174785614014, -0.9776071310043335, 0.20571523904800415, -0.9762582182884216, -0.1602233648300171, 1.2058755159378052, -0.12288198620080948, -0.6226356029510498, -0.21571192145347595, -0.0037844956386834383, -0.2512874901294708, -0.23986218869686127, 1.0883342027664185, 0.8479778170585632, -0.18942226469516754, -0.31397274136543274, -1.074855089187622, 0.3755345940589905, 0.17128105461597443, -1.1002781391143799, 0.08686509728431702, 0.24518994987010956, 0.17386597394943237, 0.06472131609916687, 0.5620461106300354, -0.13268469274044037, 0.3374682664871216, -0.26889073848724365, -0.14322112500667572, 0.16348670423030853, -0.13621890544891357, -0.39912423491477966, 0.048534415662288666, 0.03149325028061867, 0.24705694615840912 ]
http://arxiv.org/abs/2404.00599v1
http://arxiv.org/pdf/2404.00599v1
EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositories
2024-03-31T08:10:50
2024-03-31T08:10:50
Jia Li, Ge Li, Xuanming Zhang, Yihong Dong, Zhi Jin
cs.CL
cs.CL, cs.AI, cs.SE
How to evaluate Large Language Models (LLMs) in code generation is an open question. Existing benchmarks demonstrate poor alignment with real-world code repositories and are insufficient to evaluate the coding abilities of LLMs. This paper proposes a new benchmark - EvoCodeBench to address the preceding problems, which has three primary advances. (1) EvoCodeBench aligns with real-world repositories in multiple dimensions, e.g., code distributions and dependency distributions. (2) EvoCodeBench offers comprehensive annotations (e.g., requirements, reference code, and reference dependencies), and robust evaluation metrics (e.g., Pass@k and Recall@k). (3) EvoCodeBench is an evolving benchmark to avoid data leakage. We build an automatic pipeline to update EvoCodeBench from the latest repositories. We release the first version - EvoCodeBench-2403, containing 275 samples from 25 real-world repositories. Based on EvoCodeBench, we propose repository-level code generation and evaluate 10 popular LLMs (e.g., gpt-4, gpt-3.5, DeepSeek Coder, StarCoder 2, CodeLLaMa, Gemma, and Qwen 1.5). Our experiments reveal the coding abilities of these LLMs in real-world repositories. For example, the highest Pass@1 of gpt-4 only is 20.73% in our experiments. We also analyze failed cases and summarize the shortcomings of existing LLMs in EvoCodeBench. We release EvoCodeBench, all prompts, and LLMs' completions for further community analysis.
[ -0.5265635251998901, -0.5384958386421204, 0.509064793586731, 0.15314114093780518, -0.11102191358804703, 0.3302735686302185, -0.30335721373558044, -0.4873960614204407, -0.03395548835396767, 0.2976650893688202, -0.43272626399993896, -0.6781617999076843, -0.3533360958099365, 0.25825151801109314, -0.31049787998199463, 0.621573805809021, -0.32080960273742676, 0.14606837928295135, -0.3622523546218872, -0.2415577471256256, -0.29077982902526855, -0.3825596570968628, -0.4005773663520813, -0.0684303417801857, 0.2525215744972229, 0.4560564458370209, 0.14108090102672577, 0.659795343875885, 0.5255895256996155, 0.25133392214775085, 0.03398643061518669, 0.10791563242673874, -0.47066694498062134, 0.46429359912872314, -0.0558076873421669, -0.1338045746088028, -0.36165791749954224, -0.2199055701494217, 0.3627833425998688, 0.1482805758714676, -0.2631022334098816, 0.34266433119773865, 0.08034069836139679, 0.5665602684020996, -0.7427098155021667, -0.03502879664301872, -0.5658496022224426, 0.21533705294132233, -0.19236037135124207, -0.18225975334644318, -0.2624339461326599, -0.44331881403923035, -0.24772897362709045, -0.10581063479185104, 0.21392607688903809, 0.11721932888031006, 0.6410675644874573, 0.15827831625938416, -0.08592539280653, -0.39204785227775574, -0.5701238512992859, 0.5670783519744873, -0.6443866491317749, 0.33384087681770325, -0.09615636616945267, 0.5230040550231934, -0.23666664958000183, -0.8051144480705261, -0.570165753364563, -0.4954187273979187, 0.49334219098091125, 0.08431628346443176, -0.09956352412700653, -0.2023518979549408, 0.37034744024276733, 0.5138278603553772, -0.6163411140441895, 0.3711239695549011, -0.29069235920906067, -0.13655176758766174, 0.40334028005599976, 0.09137050062417984, -0.055900007486343384, -0.07267799228429794, -0.39173623919487, -0.3322056531906128, -1.098099946975708, -0.36836469173431396, 0.6468344926834106, -0.06824473291635513, -0.0074545820243656635, 0.4444056451320648, -0.11377052962779999, 0.4781056344509125, -0.17731261253356934, 0.3889743983745575, 0.5793963074684143, -0.3002373278141022, -0.022604094818234444, 0.01997264288365841, 0.6997525691986084, 0.4538562595844269, 0.12768186628818512, 0.11611560732126236, -0.27472686767578125, -0.09550151973962784, 0.38266709446907043, -0.9482386112213135, -0.11900065839290619, 0.3560309410095215, -0.2949751019477844, -0.4866958260536194, 0.06703650951385498, -1.0617313385009766, -0.32072246074676514, -0.03876199945807457, 0.05999775975942612, -0.1810605674982071, -0.1733214557170868, -0.23438328504562378, 0.03914805129170418, 0.4062829613685608, 0.3059249818325043, -0.6028916239738464, 0.23608431220054626, 1.070117473602295, 0.9571741819381714, -0.05790385603904724, -0.39464542269706726, -0.716944694519043, -0.09310600906610489, -0.3129528760910034, 0.9706637859344482, -0.4504002034664154, -0.19397006928920746, 0.25360944867134094, -0.1092178225517273, 0.27528318762779236, -0.8129896521568298, 0.5203559398651123, -0.35289761424064636, -0.006522138137370348, -0.04741641879081726, -0.7473934292793274, 0.22925998270511627, 0.1963147670030594, -0.7781444191932678, 1.0764518976211548, 0.28438639640808105, -0.40904104709625244, 0.48520609736442566, -0.335111141204834, -0.09494540095329285, 0.21697403490543365, -0.42222464084625244, -0.5699116587638855, 0.14048655331134796, -0.025168126448988914, 0.2055787444114685, -0.578247606754303, 0.1895977407693863, -0.5349330306053162, -0.3485929071903229, 0.07873345166444778, -0.2687455415725708, 0.5025646090507507, 0.5632758140563965, -0.5760582685470581, -0.03357551246881485, -0.6638891100883484, 0.22572974860668182, -0.05469027906656265, -0.18015576899051666, 0.12435251474380493, 0.023225095123052597, 0.02154635451734066, 0.2861955761909485, 0.19221964478492737, -0.4145928919315338, 0.22920185327529907, -0.00750221312046051, 0.5323695540428162, 0.7780795693397522, 0.01931610144674778, 0.2171202003955841, -0.22985538840293884, 0.8775203824043274, -0.12686599791049957, 0.1716165542602539, -0.25669434666633606, -0.33567145466804504, -0.6135016679763794, -0.15601523220539093, 0.3829250633716583, 0.394728422164917, -0.572063684463501, 0.6795941591262817, -0.34563687443733215, -0.48820120096206665, -0.5587644577026367, 0.3913452625274658, 0.5463155508041382, 0.18209509551525116, 0.18162153661251068, -0.44904276728630066, -0.5638554096221924, -0.9618152976036072, -0.26077696681022644, -0.23436951637268066, -0.10183514654636383, 0.3024497628211975, 0.5591835975646973, -0.16125735640525818, 0.5523405075073242, -0.3221111297607422, 0.22367094457149506, -0.18443550169467926, 0.09812784194946289, 0.054512303322553635, 0.4622874855995178, 0.5890961289405823, -0.304841011762619, -0.27305319905281067, 0.016413243487477303, -0.5469580888748169, -0.31471285223960876, -0.0025010211393237114, -0.13405591249465942, 0.256603479385376, 0.5312705636024475, -0.4032776653766632, -0.08503074944019318, 0.8224624395370483, -0.12848368287086487, 0.4880742132663727, -0.2536758780479431, 0.16684040427207947, -1.0928142070770264, 0.09960910677909851, -0.06787705421447754, -0.17323771119117737, -0.28328052163124084, 0.5328349471092224, 0.37784504890441895, -0.1427793800830841, -0.43475526571273804, 0.379628449678421, -0.43014127016067505, -0.2888162136077881, -0.020198436453938484, 0.12171949446201324, 0.0061081163585186005, 0.15430684387683868, -0.19073820114135742, 0.7524062991142273, 0.4110791087150574, -0.23535965383052826, 0.7020862698554993, -0.1415100246667862, -0.7490251064300537, 0.39077210426330566, -0.591171383857727, 0.49418342113494873, 0.2285783886909485, 0.35065218806266785, -0.557722270488739, -0.04923899099230766, -0.0033054412342607975, -0.20287644863128662, 0.2594902813434601, -0.16500933468341827, -0.5258634090423584, -0.48877543210983276, -0.6322060823440552, 0.07423233985900879, 0.6815305352210999, -0.6008297204971313, 0.17425036430358887, 0.1058368980884552, -0.1719941943883896, -0.5211642384529114, -0.5196993947029114, 0.3216717839241028, -0.1939915418624878, -0.5890697836875916, 0.11958322674036026, -0.3195706605911255, -0.3143165707588196, -0.06184288486838341, -0.2147606462240219, 0.12765805423259735, 0.0010929321870207787, 0.012843500822782516, 0.053422555327415466, -0.25911885499954224, 0.0077479686588048935, -0.01239557284861803, -0.14113932847976685, 0.023287203162908554, -0.3182917535305023, 0.6426476836204529, -0.21536296606063843, -0.5201669931411743, 0.027039293199777603, 0.1478477120399475, 0.5191172957420349, -0.1370076686143875, 0.394827276468277, 0.2545663118362427, -0.049179110676050186, -0.6699191331863403, -0.7079706788063049, 0.04663364216685295, -0.4489847421646118, 0.5217774510383606, -0.5935794115066528, -0.9777781367301941, 0.5823683738708496, -0.39904478192329407, 0.2159528136253357, 0.34238430857658386, 0.6749511361122131, 0.32548829913139343, 0.8135280013084412, 0.5308001637458801, 0.1816903054714203, 0.4655783176422119, -0.18718726933002472, 0.2437210977077484, -0.907430112361908, -0.15441055595874786, -0.7327221632003784, -0.135420024394989, -0.8038184642791748, -0.561749279499054, 0.0010090641444548965, 0.3335483968257904, -0.29953500628471375, 0.6743460297584534, -0.5212999582290649, 0.5391653776168823, 0.34960606694221497, -0.2504972517490387, 0.217086523771286, 0.06722357869148254, -0.2098943293094635, 0.176932692527771, -0.533635139465332, -0.6111478805541992, 1.0799281597137451, 0.40186184644699097, 0.7331876754760742, 0.1263229101896286, 0.8843230605125427, 0.23897618055343628, 0.40694305300712585, -0.35417109727859497, 0.3675319254398346, 0.0811009332537651, -0.345731645822525, 0.07850281149148941, -0.6295077204704285, -0.6904063820838928, 0.23606626689434052, 0.15747182071208954, -0.35322701930999756, 0.39049530029296875, 0.11168927699327469, -0.1985992044210434, 0.06698691099882126, -0.7252752184867859, 0.9603437185287476, -0.2954970598220825, -0.5992708206176758, -0.30731436610221863, -0.13828924298286438, 0.1803547441959381, -0.40223127603530884, 0.24079923331737518, -0.1604907512664795, -0.16028280556201935, 0.3396451473236084, -0.5630431771278381, 0.27366843819618225, -0.22620269656181335, -0.31965261697769165, 0.3305443227291107, 0.2053208351135254, 0.6561259627342224, 0.19711612164974213, -0.4339747726917267, 0.19008105993270874, -0.2554968297481537, -0.217879056930542, -0.4648975133895874, 1.128866195678711, -0.5573418736457825, -0.43262040615081787, -0.3077529966831207, -0.08322467654943466, -0.058372847735881805, 0.015527080744504929, 0.34745481610298157, 0.3523847162723541, -0.37352362275123596, 0.20540598034858704, 0.44673991203308105, -0.41220149397850037, 0.303005188703537, 0.6481358408927917, -0.13436280190944672, -0.5187046527862549, 0.7424514293670654, -0.079251229763031, 0.3715747594833374, 0.1287148892879486, -0.07330509275197983, -0.18111351132392883, -0.688906729221344, -0.5960786938667297, -0.043530046939849854, -0.7783480882644653, -0.4098454713821411, -0.4762464463710785, -0.15203696489334106, -0.3644767999649048, -0.2943412661552429, -0.39283502101898193, -0.3259879946708679, 0.19050860404968262, -0.25932255387306213, 0.463741272687912, 0.8106983304023743, -0.11310186237096786, -0.2824261486530304, -0.6876839995384216, -0.05436960607767105, 0.3360835611820221, 0.471265971660614, 0.013231835328042507, -0.3228679597377777, -0.2932770550251007, -0.203154057264328, -0.403293639421463, -0.5313464403152466, 0.23308731615543365, 0.15161994099617004, 0.6300430297851562, 0.16388151049613953, -0.031809352338314056, 0.6443164944648743, -0.639028012752533, 0.70392906665802, 0.09535852074623108, -0.9838410019874573, 0.6329823136329651, -0.12942148745059967, 0.26948082447052, 0.8283199071884155, -0.09032332897186279, -0.42197203636169434, -0.671363353729248, -0.6393618583679199, -1.0093247890472412, 0.5097443461418152, 0.24420882761478424, 0.10066509991884232, -0.12687741219997406, 0.3301103413105011, 0.1850578337907791, 0.24913354218006134, -0.4464883506298065, 0.06117645278573036, -0.15275739133358002, -0.11315081268548965, -0.004309769254177809, -0.18461094796657562, -0.014121472835540771, -0.026191961020231247, 0.3614000082015991, -0.11342329531908035, 0.2514904737472534, -0.02023717574775219, -0.148000106215477, -0.2629820704460144, 0.3308880627155304, 0.6895570158958435, 0.8506003022193909, -0.27936819195747375, 0.18633925914764404, 0.22464792430400848, -0.5035851001739502, 0.14528068900108337, 0.06214262545108795, 0.12366039305925369, -0.10200074315071106, 0.5299682021141052, 0.7091190218925476, 0.1259741336107254, -0.9229540228843689, 0.5697336196899414, -0.1448364108800888, -0.2507103383541107, -0.488709956407547, 0.2731360197067261, 0.08795096725225449, 0.18739666044712067, 0.27430495619773865, -0.01432775892317295, -0.02033824473619461, -0.5950319170951843, 0.3400781452655792, 0.10604066401720047, -0.3080119490623474, -0.17162571847438812, 0.5060547590255737, 0.4138800799846649, -0.2705641984939575, 0.7618768811225891, -0.28245440125465393, -0.2794867753982544, 0.9089210033416748, 0.39506492018699646, 1.3026068210601807, -0.2899892330169678, -0.02218908816576004, 0.4474257528781891, 0.30260786414146423, -0.12785907089710236, 0.2794228494167328, -0.08532952517271042, -0.5127828121185303, -0.5344870686531067, -0.709023654460907, -0.524576723575592, 0.007298165000975132, -0.5669703483581543, 0.37095940113067627, -0.4174507260322571, 0.1242278590798378, -0.11573386192321777, 0.0495171844959259, -0.59183669090271, -0.3896493911743164, 0.10822553932666779, 1.1123803853988647, -0.5690763592720032, 0.8836075663566589, 0.6130991578102112, -0.15014545619487762, -0.3850599229335785, -0.02947266772389412, 0.056430477648973465, -0.8680170774459839, 0.5358322262763977, 0.19667667150497437, 0.007315357681363821, 0.014146857894957066, -0.5952314138412476, -0.563809871673584, 1.2469943761825562, 0.4773116707801819, -1.0702909231185913, 0.4605000615119934, -0.05650269240140915, 0.5792201161384583, -0.627413809299469, 0.41886472702026367, 0.555752694606781, 0.42730873823165894, 0.053715940564870834, -0.7670984864234924, 0.05301523953676224, -0.6402514576911926, 0.248748317360878, 0.27977997064590454, -0.6608231067657471, 0.7433128952980042, -0.1954454928636551, -0.1331414431333542, 0.31416553258895874, 0.2885517477989197, 0.5829955339431763, 0.014054111205041409, 0.31715089082717896, 0.7855336666107178, 0.5356802344322205, -0.16762308776378632, 1.2420333623886108, -0.673335611820221, 0.5334330201148987, 0.9899488091468811, -0.763466477394104, 0.959047794342041, 0.2199552357196808, -0.19191300868988037, 0.6411631107330322, 0.541101336479187, -0.38300350308418274, 0.4556758999824524, 0.5554759502410889, -0.3293355405330658, -0.03587484359741211, 0.08886004984378815, -0.6592344641685486, 0.035577576607465744, 0.08695243299007416, -0.40392786264419556, -0.18127186596393585, -0.20217445492744446, 0.05353928729891777, -0.21801696717739105, 0.1436285525560379, 0.6936120986938477, 0.13172252476215363, -0.5611286163330078, 0.6305035352706909, -0.06939690560102463, 0.4572148025035858, -0.5741558074951172, -0.3234816789627075, -0.45415470004081726, 0.44377803802490234, -0.135178342461586, -0.6639626622200012, -0.09018716961145401, 0.2405775785446167, 0.1439300775527954, -0.31154754757881165, 0.3057248592376709, -0.21001161634922028, -0.318979948759079, 0.46118423342704773, 0.33699268102645874, 0.19917792081832886, 0.1784289926290512, -0.6967421770095825, 0.4713996946811676, 0.08783772587776184, -0.3864429295063019, 0.47678470611572266, 0.5555682182312012, 0.13610510528087616, 0.3947222828865051, 0.4893780052661896, 0.14442284405231476, 0.02041703648865223, 0.3210289478302002, 0.8901851177215576, -0.65151447057724, -0.2842104434967041, -0.737649142742157, 0.1059551015496254, -0.30236050486564636, -0.5847477912902832, 0.843606173992157, 0.7555351853370667, 0.9345940947532654, 0.11571081727743149, 0.6675240993499756, -0.2831370532512665, 0.20384825766086578, -0.5093945860862732, 0.3909454643726349, -0.28926363587379456, 0.4981147348880768, -0.22302260994911194, -1.56586492061615, -0.06558965891599655, 0.5196558237075806, -0.0886760875582695, 0.23847129940986633, 0.9163821339607239, 0.9476085305213928, 0.23635222017765045, -0.06071940064430237, 0.20170997083187103, 0.29031795263290405, 0.5687509179115295, 0.7556954622268677, 1.0268880128860474, -0.25740429759025574, 0.5099347233772278, -0.32201072573661804, -0.2839205861091614, -0.1891557276248932, -0.9527828693389893, -0.5432896614074707, -0.2639160454273224, -0.42710739374160767, -0.26138028502464294, 0.19811351597309113, 0.7808387875556946, 0.5495429635047913, -0.8701492547988892, -0.3214234709739685, -0.541461169719696, -0.14688436686992645, -0.39514991641044617, -0.2288770079612732, 0.2740544378757477, -0.45811861753463745, -0.776233434677124, 0.4704243540763855, 0.36447909474372864, -0.16327330470085144, -0.5878183841705322, -0.385708212852478, 0.28263622522354126, -0.20433297753334045, 0.41745883226394653, 0.2568892240524292, -0.40319985151290894, -0.29100301861763, -0.16052234172821045, -0.2071188986301422, 0.062415435910224915, 0.9838608503341675, -0.6094136834144592, 0.4523145258426666, 0.609316349029541, 0.41702553629875183, 0.452665776014328, -0.057309653609991074, 0.7074003219604492, -0.5379992723464966, 0.01885553076863289, 0.3281046450138092, 0.39617568254470825, 0.19406871497631073, -0.15185600519180298, 0.6173508167266846, 0.02153482846915722, -0.7325776219367981, -0.899897575378418, 0.11077141016721725, -0.5763766169548035, -0.32814037799835205, 1.099137544631958, -0.1669393628835678, -0.1918724924325943, -0.09673523902893066, 0.21188560128211975, -0.13458529114723206, -0.5015273690223694, 0.6303026676177979, 0.6697462201118469, 0.06597113609313965, -0.29306286573410034, -0.849089503288269, 0.2952835261821747, 0.16443930566310883, -0.9664803743362427, 0.18568305671215057, 0.7259625792503357, 0.24132710695266724, 0.03981293365359306, 0.40010514855384827, -0.2973850667476654, 0.35140708088874817, 0.26393866539001465, 0.4640327990055084, -0.08909479528665543, -0.2127259075641632, -0.5864526033401489, 0.16260316967964172, 0.3472890555858612, 0.18549413979053497 ]
http://arxiv.org/abs/2404.01344v1
http://arxiv.org/pdf/2404.01344v1
Mind Your Neighbours: Leveraging Analogous Instances for Rhetorical Role Labeling for Legal Documents
2024-03-31T08:10:45
2024-03-31T08:10:45
T. Y. S. S Santosh, Hassan Sarwat, Ahmed Abdou, Matthias Grabmair
cs.CL
cs.CL
Rhetorical Role Labeling (RRL) of legal judgments is essential for various tasks, such as case summarization, semantic search and argument mining. However, it presents challenges such as inferring sentence roles from context, interrelated roles, limited annotated data, and label imbalance. This study introduces novel techniques to enhance RRL performance by leveraging knowledge from semantically similar instances (neighbours). We explore inference-based and training-based approaches, achieving remarkable improvements in challenging macro-F1 scores. For inference-based methods, we explore interpolation techniques that bolster label predictions without re-training. While in training-based methods, we integrate prototypical learning with our novel discourse-aware contrastive method that work directly on embedding spaces. Additionally, we assess the cross-domain applicability of our methods, demonstrating their effectiveness in transferring knowledge across diverse legal domains.
[ -0.5858761072158813, -0.37636125087738037, 0.5214515924453735, -0.21275386214256287, -0.14532987773418427, 0.06193995848298073, -0.0816938653588295, -0.41344717144966125, 0.41517558693885803, 0.6837595701217651, -0.21813583374023438, -0.6287218332290649, -0.5764942765235901, -0.0466010682284832, 0.12348998337984085, 1.1090691089630127, 0.5850830674171448, 0.3015768527984619, -0.3801317512989044, -0.6209063529968262, -0.27618253231048584, -0.7363710403442383, -0.5177326798439026, -0.4833051562309265, 0.57622230052948, 0.5150196552276611, 0.6806039810180664, 0.5166497826576233, 0.11697197705507278, 0.2603895366191864, -0.18490275740623474, -0.0911608561873436, -0.13677363097667694, 0.2454642802476883, -0.6983099579811096, -0.5768883228302002, -0.0323738195002079, 0.031100565567612648, 0.395743191242218, 0.37546053528785706, -0.0605008639395237, 0.1491876095533371, -0.0929633304476738, 0.6698780655860901, -0.618594765663147, 0.2548920512199402, -0.9384745359420776, 0.42764121294021606, -0.23181010782718658, -0.4229404330253601, -0.460623174905777, -0.43956488370895386, 0.20710879564285278, -0.5765945315361023, 0.35132187604904175, 0.4114491641521454, 0.880590558052063, 0.3111836314201355, -0.37428534030914307, -0.3972817361354828, -0.15621142089366913, 0.5871595740318298, -0.7738416194915771, 0.2552565634250641, 0.6357837915420532, 0.3652953803539276, 0.07453654706478119, -0.8792492151260376, -0.2441043257713318, -0.1522112786769867, -0.509576141834259, 0.2642982006072998, -0.2679302394390106, 0.21688248217105865, 0.47311586141586304, 0.01681380718946457, -0.35936611890792847, 0.05920650064945221, -0.4624853730201721, -0.31908470392227173, 0.4295467734336853, -0.12733496725559235, 0.19933395087718964, -0.2665928304195404, -0.140339195728302, -0.03177272155880928, -0.774095892906189, 0.1649172306060791, 0.6721979379653931, 0.5840744376182556, 0.16568435728549957, 0.514751136302948, 0.1259237378835678, 0.6695073843002319, 0.18792782723903656, 0.17919312417507172, 0.053350914269685745, 0.01905203051865101, -0.04414445161819458, 0.3519034683704376, 0.645325243473053, 0.49911245703697205, 0.46137943863868713, -0.057979781180620193, 0.0922534242272377, -0.38990867137908936, 0.29180148243904114, -0.5210569500923157, -0.3608910143375397, -0.031237972900271416, -0.49578192830085754, -0.2129899263381958, -0.030498599633574486, -1.143093228340149, -0.4391383230686188, -0.39298534393310547, 0.07085166871547699, -0.5555269122123718, -0.034658197313547134, -0.2016511708498001, -0.30111274123191833, 0.5304163098335266, -0.14352601766586304, -0.9870107769966125, 0.4956417679786682, 0.835639476776123, 0.708872377872467, 0.2763489782810211, -0.11987239867448807, -0.9481915235519409, 0.29190316796302795, -0.11604969948530197, 0.8972614407539368, -0.9839344024658203, -0.3146180212497711, 0.11396075785160065, -0.3152201771736145, -0.2991602122783661, -0.8931108117103577, 0.49002569913864136, -0.6175152063369751, 0.1562233865261078, -0.2833186388015747, -0.31045740842819214, -0.14529773592948914, 0.35304731130599976, -0.6887710690498352, 1.0255078077316284, 0.039210245013237, -1.0559687614440918, 0.44989728927612305, -0.6011972427368164, -0.6700642108917236, 0.032975632697343826, -0.4151066839694977, -0.6339543461799622, 0.06842925399541855, 0.29853829741477966, 0.4667890965938568, 0.23955130577087402, 0.11522198468446732, -0.04476534202694893, -0.12052416801452637, 0.1568233072757721, 0.009320038370788097, 0.8950197696685791, 0.24243730306625366, -0.37867215275764465, 0.23167961835861206, -0.4229753613471985, 0.06826427578926086, -0.4898280203342438, 0.09527399390935898, -0.7762494087219238, -0.0440540537238121, -0.22491192817687988, 0.11198312789201736, -0.15075120329856873, -0.37318262457847595, -0.20503023266792297, -0.41476014256477356, 0.42191728949546814, 0.5147372484207153, 0.1338864266872406, 0.3461602032184601, -0.44830629229545593, 0.7961354851722717, -0.1414322555065155, -0.3694427013397217, -0.035429518669843674, -0.6487434506416321, -0.26676255464553833, -0.26753371953964233, 0.6886012554168701, 0.6293488144874573, -0.8556035757064819, 0.29003894329071045, -0.2613454759120941, -0.17636573314666748, -0.7776926755905151, -0.15465882420539856, 0.5810589790344238, 0.5415359735488892, 0.6100203394889832, -0.19015517830848694, -0.6787287592887878, -1.1288387775421143, -0.6565473675727844, -0.22211603820323944, 0.24271875619888306, 0.5437664985656738, 0.5354343056678772, 0.16509439051151276, 1.2851709127426147, -0.528367817401886, -0.6715303659439087, -0.3045065402984619, 0.27851614356040955, 0.00737029081210494, 0.2610594630241394, 0.5615339875221252, -0.9353275895118713, -0.7611892223358154, 0.15809795260429382, -0.4446793496608734, -0.32430997490882874, -0.11121874302625656, -0.107752725481987, -0.12321481853723526, 0.8219301700592041, -0.22272302210330963, 0.3865542709827423, 0.12403780966997147, -0.5319201946258545, 0.7626144289970398, -0.4400242269039154, 0.10809679329395294, -1.1882438659667969, -0.2462622970342636, 0.2798939645290375, -0.5343919396400452, -0.4324151873588562, 0.4304160177707672, -0.24686424434185028, 0.08779652416706085, -0.4189799129962921, 0.4068167209625244, -0.5555018782615662, -0.3582634925842285, 0.030597979202866554, 0.17804747819900513, -0.07840262353420258, 0.3989007771015167, 0.16946271061897278, 0.9723125696182251, 0.4402177929878235, -0.24924883246421814, 0.01136713195592165, 0.15754511952400208, -0.3830353319644928, 1.0646559000015259, -0.20832480490207672, -0.07328792661428452, -0.2594699561595917, 0.17801544070243835, -0.7699132561683655, -0.05586368218064308, 0.36474308371543884, -0.22109071910381317, 0.29858478903770447, -0.6581892371177673, -0.5220276713371277, -0.17707639932632446, -0.28760942816734314, 0.3167640268802643, 0.24477145075798035, -0.5288976430892944, 0.8678745031356812, 0.5595378875732422, -0.12092997878789902, -0.7348524928092957, -0.979059636592865, 0.06510601192712784, -0.8702829480171204, 0.059564150869846344, 0.6321700215339661, 0.30440372228622437, -0.6280457973480225, 0.40263986587524414, 0.21656057238578796, -0.5000978708267212, -0.3027323782444, 0.47986748814582825, -0.41284164786338806, -0.2602590322494507, 0.20014213025569916, 0.19233684241771698, 0.05633186921477318, 0.23535005748271942, -0.13742858171463013, 0.11284594982862473, -0.09667759388685226, -0.19534753262996674, -0.13236255943775177, 0.4567904770374298, 0.4666774570941925, -0.4550767242908478, 0.45580658316612244, 0.3825313150882721, -0.17612937092781067, -0.4024569094181061, -0.6452959775924683, -0.07110993564128876, -0.4415503442287445, 0.2675928771495819, -0.7110117077827454, -0.8980074524879456, 0.432301789522171, -0.15055842697620392, 0.000009363535355078056, 0.05925784632563591, 0.2809111177921295, -0.03986799716949463, 0.11850769072771072, 0.49828675389289856, -0.2134402096271515, 0.4797845184803009, -0.07859873026609421, 0.3574093282222748, -1.0395961999893188, -0.13559943437576294, -0.4927031397819519, -0.07844339311122894, -0.4156818091869354, -0.8783719539642334, 0.3391297161579132, -0.1684662252664566, -0.0863754078745842, 0.5702482461929321, -0.5337376594543457, 0.8499134182929993, 0.5209411382675171, 0.11392232775688171, 0.36090290546417236, 0.26036322116851807, -0.5272369384765625, -0.512958288192749, -0.749149739742279, -0.5500842928886414, 1.0030808448791504, 0.16723836958408356, 0.23166930675506592, 0.23277990520000458, 0.9415381550788879, 0.542376697063446, 0.6338317394256592, -0.951820969581604, 0.7027876377105713, -0.31687894463539124, -0.5375463962554932, -0.2978857755661011, -0.22511164844036102, -0.9856878519058228, 0.8618754148483276, -0.1115671917796135, -0.8409621119499207, -0.0329488180577755, -0.1255573183298111, -0.6570895314216614, 0.5748651623725891, -0.33542323112487793, 0.6980201005935669, 0.012323054485023022, -0.6918589472770691, -0.32900649309158325, -0.5615590810775757, 0.15712466835975647, 0.17979969084262848, 0.40613439679145813, 0.04768357053399086, 0.11399026215076447, 0.5621980428695679, -0.3465471863746643, 0.9989815950393677, -0.26114195585250854, 0.04951953887939453, 0.7416520118713379, -0.18626274168491364, 0.14039169251918793, 0.0014823017409071326, -0.45296981930732727, -0.3588961362838745, 0.2209995687007904, -0.13002273440361023, -0.7310251593589783, 0.6509780883789062, -0.3486536741256714, -0.6950387954711914, -0.4779662787914276, -0.563755214214325, -0.34776344895362854, 0.10408312827348709, 0.13397499918937683, 0.4330655336380005, -0.33960625529289246, 0.13271987438201904, 0.6898258328437805, -0.036171767860651016, 0.26533597707748413, 0.5612378120422363, -0.056897908449172974, -0.5682960748672485, 1.0486969947814941, 0.29929643869400024, -0.23060551285743713, 0.6244606375694275, 0.3493635356426239, -0.6323125958442688, -0.3969126045703888, -0.18078269064426422, 0.21947036683559418, -0.7833461165428162, -0.26481351256370544, -0.746717631816864, -0.0970672219991684, -0.32834017276763916, -0.24462994933128357, -0.03976041078567505, -0.2950489819049835, 0.0358944796025753, -0.33400481939315796, 0.31156569719314575, 0.7603651881217957, -0.23738007247447968, 0.28977736830711365, -0.35814979672431946, 0.20007219910621643, 0.39293020963668823, 0.30595695972442627, 0.015141885727643967, -0.5128594040870667, -0.1094902828335762, -0.16928482055664062, -0.1989130824804306, -0.9120699167251587, 0.36583083868026733, 0.044539183378219604, 0.8125430345535278, 0.2033311426639557, 0.2851010859012604, 0.8347642421722412, -0.7914360761642456, 0.6025322675704956, -0.007403210736811161, -0.7966777086257935, 0.4601501226425171, -0.33761706948280334, -0.10335526615381241, 0.9181267619132996, 0.5405299663543701, -0.1795988231897354, -0.44580888748168945, -0.6661677360534668, -0.9113783240318298, 0.2467748075723648, 0.14472925662994385, 0.027991654351353645, -0.061648737639188766, 0.46375882625579834, -0.11175325512886047, 0.05411277338862419, -0.9201846122741699, 0.004122753161936998, -0.0986628606915474, -0.19475112855434418, 0.24403713643550873, -0.09407404065132141, -0.2520561218261719, -0.5278406739234924, 0.5857595205307007, -0.33478492498397827, -0.04743846878409386, 0.5571869015693665, -0.1020120307803154, 0.405992716550827, 0.5023952722549438, 0.6502386331558228, 0.48868048191070557, -0.03951004147529602, 0.3104552924633026, 0.4980495274066925, -0.031338341534137726, 0.14094677567481995, -0.09683771431446075, -0.008742841891944408, 0.2943515479564667, 0.3630037307739258, 0.3564820885658264, 0.4953148365020752, -0.5546669960021973, 0.4719811677932739, 0.14036880433559418, -0.42174816131591797, -0.4840589761734009, -0.13838031888008118, 0.23339244723320007, 0.4845077693462372, 0.09318874776363373, -0.05796279385685921, 0.3199761211872101, -0.7788525819778442, 0.7073935270309448, 0.5372042655944824, -0.810050904750824, -0.007190922740846872, 0.6121195554733276, 0.07035886496305466, -0.3391622304916382, 0.08848652988672256, -0.2640312910079956, -0.7293431758880615, 0.816815197467804, 0.5176071524620056, 0.7523357272148132, -0.01391875185072422, 0.41278505325317383, 0.3220542371273041, 0.2298971712589264, -0.08799812942743301, -0.1273495852947235, -0.3206367492675781, -0.6556165814399719, -0.3316747844219208, -0.3013857901096344, -0.6540147662162781, 0.09880423545837402, -1.07669198513031, -0.21691061556339264, -0.5007182955741882, -0.30057913064956665, -0.14826253056526184, 0.1174357682466507, -0.4201274812221527, 0.13281147181987762, -0.0735582560300827, 0.8463977575302124, -0.9102808833122253, 0.9359872937202454, 0.9289528727531433, -0.16500873863697052, -0.4979991018772125, 0.37188759446144104, -0.025956394150853157, -0.25237390398979187, 0.922909140586853, 0.20612342655658722, -0.4869537353515625, -0.15800611674785614, -0.23795227706432343, -0.22514420747756958, 0.9583768248558044, -0.02842797338962555, -0.48178550601005554, 0.027372702956199646, 0.3237546682357788, 0.8877416253089905, -0.7921196818351746, 0.44718945026397705, 0.5199519395828247, 0.472478985786438, -0.012822701595723629, -0.5348520278930664, 0.09311255067586899, -0.10333049297332764, -0.01310366578400135, -0.23802660405635834, -0.7213281393051147, 0.27244454622268677, -0.28687602281570435, -0.05850357189774513, 0.08628710359334946, 0.7428786754608154, 0.24568529427051544, 0.4979064464569092, 0.3611084222793579, 0.66788649559021, 0.9469971060752869, 0.14333747327327728, 0.8065057396888733, -0.4540698230266571, 0.035776738077402115, 1.8780990839004517, -0.47541630268096924, 0.935584545135498, 0.5748984217643738, -0.06976714730262756, 0.6713808178901672, 0.2221110463142395, -0.16253331303596497, 0.5561541318893433, 0.6560965776443481, -0.3608078062534332, -0.251923143863678, -0.3284997045993805, -0.09943315386772156, 0.3047924339771271, 0.5719983577728271, -0.4992683231830597, -0.35213983058929443, -0.12676659226417542, -0.2707037925720215, 0.9624959230422974, -0.17399658262729645, 0.7437626123428345, 0.21423642337322235, -0.7456783056259155, -0.11052823066711426, -0.03192790970206261, 0.7638564705848694, -0.3161487877368927, -0.3445609509944916, -0.17196190357208252, -0.08588956296443939, -0.3668082356452942, -1.0104999542236328, 0.6408262252807617, -0.07050445675849915, -0.24497970938682556, -0.3142806589603424, 0.5780766606330872, -0.37808579206466675, -0.22885599732398987, 0.48972898721694946, 0.4109596312046051, 0.28166458010673523, 0.054929498583078384, -0.7741044759750366, -0.36582913994789124, 0.08438912779092789, 0.15227852761745453, 0.40043193101882935, 0.7208172082901001, -0.1409897804260254, 0.7120493650436401, 0.32087451219558716, 0.3882477879524231, 0.14788518846035004, 0.09300967305898666, 0.9094191193580627, -0.6661437153816223, -0.5054289698600769, -0.6551944017410278, 0.4021408259868622, -0.4645997881889343, -0.3739522099494934, 0.6567512154579163, 0.8772326707839966, 0.8528592586517334, -0.0332755483686924, 0.7529470324516296, 0.0472412146627903, 0.6273173093795776, -0.692578136920929, 0.6689966320991516, -0.023401159793138504, 0.300828754901886, -0.09005624800920486, -0.9386131167411804, -0.3776692748069763, 0.8781074285507202, -0.7711195945739746, -0.247339129447937, 0.7333227396011353, 1.098868489265442, -0.30269646644592285, -0.1503114253282547, 0.6188384294509888, -0.15735960006713867, 0.24205553531646729, 0.4303562343120575, 0.721279501914978, -0.3378317952156067, 0.5866361260414124, -0.27525269985198975, 0.12445174902677536, 0.03874830901622772, -0.7809972763061523, -1.2982733249664307, -0.5126185417175293, -0.6383954882621765, -0.48145636916160583, 0.42690175771713257, 0.8466454744338989, 0.8616971373558044, -0.7902586460113525, -0.28394779562950134, 0.01870388723909855, 0.16163618862628937, -0.17976798117160797, -0.37397921085357666, 0.2477094829082489, -0.4359543025493622, -0.5700516104698181, 0.4543856978416443, 0.07855727523565292, -0.2523537874221802, 0.08428619801998138, 0.04602087661623955, -0.3787674605846405, 0.1244383454322815, 0.5752602815628052, 0.5937722325325012, -0.8343249559402466, -0.288217157125473, -0.9347477555274963, -0.11247000098228455, 0.20135407149791718, 1.1616778373718262, -0.9253811836242676, 0.39163121581077576, 0.24999167025089264, 0.6024835109710693, 0.3509710729122162, 0.5066858530044556, 0.613258421421051, -0.9234746098518372, 0.2235649973154068, 0.335822194814682, 0.4593721926212311, 0.3337109386920929, -0.4220387041568756, 0.7814784049987793, -0.038610659539699554, -0.312330424785614, -0.534810483455658, 0.5068731307983398, -0.5737288594245911, -0.5042884945869446, 1.097640872001648, -0.5965813398361206, -0.16751770675182343, -0.5159345865249634, -0.3070756196975708, 0.04776940122246742, -0.3646869361400604, 0.578147292137146, 0.6222798228263855, -0.08460541814565659, -0.3224085569381714, -0.7642537951469421, 0.7648188471794128, 0.6994971632957458, -0.6769654750823975, -0.014355842024087906, 0.3387337923049927, 0.5576955080032349, 0.29839929938316345, 0.6800062656402588, -0.1751122772693634, -0.12494916468858719, 0.11502391844987869, -0.23386864364147186, -0.19971899688243866, -0.2927541732788086, -0.3812564015388489, 0.4725898206233978, -0.1249861866235733, -0.04609481990337372 ]
http://arxiv.org/abs/2404.00596v1
http://arxiv.org/pdf/2404.00596v1
ECtHR-PCR: A Dataset for Precedent Understanding and Prior Case Retrieval in the European Court of Human Rights
2024-03-31T08:06:54
2024-03-31T08:06:54
T. Y. S. S Santosh, Rashid Gustav Haddad, Matthias Grabmair
cs.CL
cs.CL, cs.IR
In common law jurisdictions, legal practitioners rely on precedents to construct arguments, in line with the doctrine of \emph{stare decisis}. As the number of cases grow over the years, prior case retrieval (PCR) has garnered significant attention. Besides lacking real-world scale, existing PCR datasets do not simulate a realistic setting, because their queries use complete case documents while only masking references to prior cases. The query is thereby exposed to legal reasoning not yet available when constructing an argument for an undecided case as well as spurious patterns left behind by citation masks, potentially short-circuiting a comprehensive understanding of case facts and legal principles. To address these limitations, we introduce a PCR dataset based on judgements from the European Court of Human Rights (ECtHR), which explicitly separate facts from arguments and exhibit precedential practices, aiding us to develop this PCR dataset to foster systems' comprehensive understanding. We benchmark different lexical and dense retrieval approaches with various negative sampling strategies, adapting them to deal with long text sequences using hierarchical variants. We found that difficulty-based negative sampling strategies were not effective for the PCR task, highlighting the need for investigation into domain-specific difficulty criteria. Furthermore, we observe performance of the dense models degrade with time and calls for further research into temporal adaptation of retrieval models. Additionally, we assess the influence of different views , Halsbury's and Goodhart's, in practice in ECtHR jurisdiction using PCR task.
[ -0.2790427803993225, -0.7426234483718872, 0.7152349948883057, -0.4604496359825134, -0.5470698475837708, -0.04087349772453308, -0.19560202956199646, -0.25376346707344055, -0.2154351770877838, 0.5897455215454102, -0.09030449390411377, -0.3681342601776123, -0.18302294611930847, 0.23747502267360687, -0.4518606960773468, 0.8146944642066956, 0.08325430750846863, 0.19896933436393738, -0.11455008387565613, -0.21835000813007355, -0.18499065935611725, -1.3055882453918457, -0.1280275583267212, -0.07772155106067657, 0.8272945284843445, 0.4196722209453583, 0.1434950977563858, 0.5482752323150635, 0.8807995915412903, 0.22985486686229706, -0.3480135202407837, -0.2249196469783783, -0.5933225750923157, 0.007441783789545298, -0.07915225625038147, -0.4211064577102661, -0.4046580195426941, -0.3586847484111786, 0.3328907787799835, 0.35460221767425537, -0.38113752007484436, 0.09014585614204407, -0.09114662557840347, 0.7599664926528931, -0.7648753523826599, -0.36139369010925293, -0.4474461078643799, 0.4368829131126404, -0.6916325092315674, -0.582354724407196, -0.3879084289073944, -0.21133509278297424, 0.53148353099823, -0.6227696537971497, 0.833954393863678, 0.057529255747795105, 0.5196520686149597, 0.08147796243429184, -0.6015812158584595, -0.19038692116737366, -1.0361747741699219, 0.8053057193756104, -0.5473623275756836, 0.3864270746707916, 0.17646750807762146, 0.6525350213050842, -0.0718231350183487, -0.9244542121887207, -0.7151793241500854, 0.01805979199707508, -0.04852699488401413, 0.24961026012897491, -0.20510655641555786, 0.10716219246387482, 0.43303346633911133, 0.3194478750228882, -0.8389278650283813, -0.19162410497665405, -0.9568954110145569, -0.18627570569515228, 0.42046549916267395, 0.14685508608818054, 0.04575622081756592, -0.31971096992492676, -0.4356016218662262, -0.1764734834432602, -0.7107229232788086, 0.04139111191034317, 0.3198471665382385, 0.5698948502540588, -0.03323043882846832, 0.5813701748847961, -0.027290523052215576, 0.6983465552330017, 0.30415114760398865, 0.011057684198021889, 0.22584009170532227, -0.0013967055128887296, -0.12203127890825272, 0.4025534689426422, 0.37348315119743347, 0.20612701773643494, 0.148807093501091, -0.03651804104447365, 0.09579240530729294, 0.06422056257724762, 0.3590344190597534, -0.7051286101341248, 0.1092558354139328, 0.3036843240261078, -0.844704806804657, 0.11608774960041046, 0.4305419921875, -0.9367660284042358, -0.24473492801189423, -0.7077950239181519, 0.12404266744852066, -0.19630467891693115, 0.08652825653553009, 0.3130282163619995, -0.3252498507499695, 0.6459366679191589, 0.30268269777297974, -0.1125345453619957, 0.6248971223831177, 0.7343922257423401, 0.45251038670539856, -0.3052574396133423, 0.19583801925182343, -0.5537979006767273, 0.12697120010852814, 0.06991837918758392, 0.77614426612854, -0.7519208192825317, -0.543830156326294, 0.1521819680929184, 0.2826325595378876, 0.051368407905101776, -0.5607491135597229, 1.1255263090133667, -0.6503598690032959, 0.26696187257766724, -0.684371292591095, -0.7057678699493408, -0.19306626915931702, 0.11678630858659744, -0.5256966352462769, 0.5609870553016663, -0.392439603805542, -1.0457714796066284, 0.6965060234069824, -0.4478547275066376, -0.486104279756546, 0.3705841302871704, -0.45613405108451843, -0.3286697268486023, 0.0688663199543953, 0.013273132033646107, 0.349029004573822, -0.1674192100763321, 0.06957481801509857, -0.4771711826324463, -0.3603194057941437, -0.10960911214351654, -0.23832720518112183, 0.5935605764389038, 0.3537263572216034, -0.2874619960784912, -0.06084315851330757, -0.8447641730308533, -0.2993372976779938, 0.00941932201385498, -0.24147434532642365, -0.5362288951873779, 0.4016425609588623, 0.34903714060783386, 0.4154087007045746, -0.017218105494976044, -0.7395992279052734, -0.07884577661752701, 0.0969066247344017, 0.5756680369377136, 0.6373088359832764, 0.30942776799201965, -0.016647186130285263, -0.40471890568733215, 0.5486236214637756, 0.007503093685954809, 0.0805460512638092, 0.15446427464485168, -0.2176821380853653, -0.6140440702438354, 0.14171849191188812, 0.15840354561805725, 0.6597951054573059, -0.3062981367111206, 0.28994011878967285, -0.4537382125854492, 0.020404258742928505, -0.3231901228427887, -0.16414320468902588, 0.22734375298023224, 0.6074705719947815, 0.46779897809028625, -0.4113073945045471, -0.8894447088241577, -0.9682706594467163, 0.05700983479619026, -0.20705299079418182, -0.020176608115434647, 0.4915582537651062, 0.7089948058128357, 0.09195397049188614, 0.7803578972816467, -0.010679293423891068, -0.3126813471317291, -0.2701484262943268, 0.03034176304936409, 0.22970259189605713, 0.2622918486595154, 0.11023265868425369, -1.1474754810333252, -0.13464219868183136, 0.1650121957063675, -0.6022189259529114, 0.3568863272666931, 0.057677026838064194, -0.024301545694470406, 0.12162493169307709, 0.7433612942695618, -0.2608226537704468, 0.657024085521698, -0.08485405892133713, -0.27074918150901794, 0.38347113132476807, -0.3427920341491699, 0.3742578327655792, -0.7242345809936523, 0.35526159405708313, 0.07108588516712189, -0.26884040236473083, -0.47502195835113525, 0.004022798966616392, -0.025592224672436714, 0.1510591208934784, -0.6194472312927246, 0.33088403940200806, -0.2083468735218048, 0.06755532324314117, 0.0705454871058464, -0.07054293155670166, -0.07887398451566696, 0.2784552276134491, 0.15131862461566925, 0.594502866268158, -0.1349523365497589, -0.6130008101463318, 0.04854201525449753, 0.41609591245651245, -0.2147519439458847, 0.988048255443573, -0.7641613483428955, 0.29259008169174194, -0.28855791687965393, 0.062225982546806335, -0.5007539987564087, -0.09014154225587845, 0.0015193356666713953, 0.0435841865837574, 0.26450520753860474, -0.5174447298049927, -0.5441195368766785, -0.827761173248291, -0.11743529886007309, 0.5289149284362793, 0.5576823949813843, -0.3662503659725189, 0.32300809025764465, 0.37282392382621765, -0.31153589487075806, -0.5298153758049011, -0.542117714881897, -0.002530102152377367, -0.5294103622436523, -0.010133950039744377, 0.5073980689048767, -0.09261104464530945, -0.5013524889945984, -0.1942054182291031, 0.0351494625210762, -0.2688392400741577, -0.49283406138420105, 0.11807068437337875, -0.13372249901294708, -0.17897625267505646, 0.12197957187891006, -0.14319798350334167, 0.036309342831373215, -0.006157859694212675, 0.13084053993225098, 0.4255228042602539, -0.006590231787413359, -0.6895779371261597, -0.517770528793335, 0.5238463282585144, 0.4016544222831726, -0.18148604035377502, -0.1078939139842987, 0.07180944830179214, -0.4535794258117676, 0.151630699634552, -0.8292832374572754, -0.1251259595155716, -0.3420012295246124, 0.07359637320041656, -0.2952524721622467, -0.7546138763427734, 0.4822661578655243, 0.4040965139865875, -0.10711193084716797, 0.48495781421661377, 0.7004215121269226, -0.24342381954193115, 0.5483783483505249, 0.5393922328948975, -0.2837022840976715, 0.2588765323162079, -0.0314757265150547, 0.08925202488899231, -0.723464846611023, -0.1821875125169754, -0.6872028112411499, -0.11722676455974579, -0.6878024339675903, -0.418879896402359, 0.18526126444339752, -0.2754369378089905, -0.5164912939071655, 0.0520138256251812, -0.3816140592098236, 0.451801061630249, 0.36342912912368774, 0.5524255037307739, 0.526727557182312, 0.00227498821914196, -0.2963239550590515, -0.18942295014858246, -0.6243472099304199, -0.6923936605453491, 1.1787241697311401, 0.03215685859322548, 0.45646965503692627, 0.08118235319852829, 0.6276662945747375, 0.6109151244163513, -0.005346465390175581, -0.5934079885482788, 0.3160203993320465, -0.31160759925842285, -0.6657587289810181, -0.013920693658292294, -0.45150479674339294, -1.0981730222702026, 0.12702390551567078, 0.13431598246097565, -0.6270813345909119, 0.8541594743728638, -0.002200944582000375, -0.5054776668548584, 0.36607465147972107, -0.07030089944601059, 0.6350405812263489, -0.13238199055194855, -0.5328088402748108, -0.21726396679878235, -0.9475365877151489, 0.1469399482011795, 0.16488029062747955, 0.18243184685707092, 0.2842678725719452, 0.35766729712486267, 0.6833184361457825, -0.6816540956497192, 0.5661769509315491, -0.11918734014034271, 0.06979004293680191, 0.40692493319511414, -0.17185229063034058, 0.3403572142124176, -0.34392133355140686, 0.034815702587366104, -0.3490433394908905, 0.19511300325393677, -0.44908034801483154, -0.09052419662475586, 0.2742711007595062, -0.4049270451068878, -0.4528016149997711, -0.5723859071731567, -0.09629742801189423, 0.2429858297109604, 0.1521318107843399, 0.39035847783088684, 0.4983980655670166, -0.6416314840316772, 0.5321950316429138, 0.677058756351471, -0.2052147537469864, 0.2693159580230713, 0.5816960334777832, 0.23924626410007477, -0.27940621972084045, 0.4967114329338074, 0.14742214977741241, -0.22045855224132538, 0.7434052228927612, 0.012051545083522797, -0.27827930450439453, -0.47975707054138184, -0.059694766998291016, -0.05457107722759247, -0.41789016127586365, -0.1872793436050415, -0.6228837966918945, 0.02795693650841713, -0.0861150398850441, -0.088468536734581, -0.06632108241319656, -0.48018988966941833, -0.1436939537525177, -0.18738681077957153, 0.43730801343917847, 0.5711182951927185, -0.08187739551067352, 0.0013888351386412978, -0.5776545405387878, 0.5795909762382507, 0.34522879123687744, 0.1534883677959442, -0.19649344682693481, -0.6399094462394714, 0.1797129511833191, -0.16542808711528778, -0.3392673432826996, -0.5323923826217651, 0.4801769256591797, 0.1285727173089981, 0.5248876214027405, 0.4851376712322235, 0.24619323015213013, 0.9377340078353882, -0.8582244515419006, 0.5175274014472961, -0.2730228304862976, -0.675015926361084, 0.7185732126235962, -0.5336034893989563, -0.15479497611522675, 0.7504695653915405, 0.23405100405216217, -0.3976196050643921, -0.012946847826242447, -0.6657302379608154, -1.0127110481262207, 0.3103655278682709, 0.2752903699874878, -0.10378549247980118, 0.02225186675786972, 0.749155580997467, 0.10306058824062347, 0.16195927560329437, -0.20700666308403015, -0.028479749336838722, -0.031166110187768936, 0.04086654260754585, -0.2466253787279129, -0.22312408685684204, -0.2139773964881897, -0.43517613410949707, 0.4203035235404968, 0.1920243203639984, 0.285013347864151, 0.9159254431724548, -0.40210965275764465, -0.1623590737581253, 0.6910848617553711, 0.46640947461128235, 0.8606579899787903, -0.6762182712554932, 0.007338555064052343, -0.024641897529363632, -0.5127387046813965, 0.17893263697624207, 0.4356222152709961, -0.06374362856149673, -0.12223944813013077, 0.23751434683799744, 0.250801146030426, 0.11122635006904602, -0.7331521511077881, 0.6002722382545471, -0.31976771354675293, -0.34880536794662476, -0.5340918302536011, -0.38140034675598145, -0.49399736523628235, 0.16228412091732025, 0.5960684418678284, -0.2805924713611603, 0.5812695622444153, -0.4232957363128662, 0.7164787650108337, 0.05977595970034599, -0.7160189151763916, -0.2828510105609894, 0.555037796497345, -0.030548101291060448, 0.06699162721633911, 0.498846173286438, 0.07154867798089981, -0.44976329803466797, 0.71961909532547, 0.21688838303089142, 0.6022182106971741, 0.018993880599737167, 0.07336389273405075, 0.21158342063426971, 0.12833595275878906, -0.18623945116996765, 0.7291264533996582, -0.09481905400753021, -0.4120253324508667, -0.32322415709495544, -0.29338282346725464, -0.5102474093437195, 0.09086869657039642, -1.285096526145935, 0.13298305869102478, -0.39064618945121765, -0.14613229036331177, -0.22043295204639435, 0.14780293405056, -0.9659236669540405, -0.012656508944928646, -0.005607214290648699, 0.9701876044273376, -0.5555598735809326, 0.6080530285835266, 0.39617887139320374, -0.2607864439487457, -0.21196454763412476, -0.13464801013469696, 0.33473774790763855, -0.31314346194267273, 0.4714963138103485, 0.10179730504751205, 0.02956204116344452, -0.2805459797382355, -0.2944777011871338, -0.2653781771659851, 1.0387020111083984, 0.1995634287595749, -1.1245611906051636, 0.10240757465362549, 0.11421092599630356, 0.7749163508415222, -0.24683871865272522, -0.22420550882816315, 0.6183876991271973, 0.3223131597042084, 0.17580494284629822, -0.6185977458953857, 0.05421728640794754, -0.48694509267807007, -0.1338636428117752, 0.1878718137741089, -0.3192855715751648, 0.7542228102684021, -0.2313631772994995, -0.35718145966529846, 0.3195107877254486, 0.3454310894012451, 0.33181434869766235, 0.40961217880249023, 0.1680278331041336, 0.722628116607666, 0.7190570831298828, -0.06931061297655106, 1.3153300285339355, -0.30400219559669495, 0.3084743916988373, 1.1964433193206787, -0.5808519124984741, 1.2369709014892578, 0.7666904926300049, -0.24089711904525757, 0.4982275366783142, 0.6027356386184692, -0.04081805422902107, 0.6568470001220703, 0.3325127065181732, -0.06748427450656891, -0.3810103237628937, -0.2276502400636673, -0.6622360944747925, 0.17671464383602142, 0.29775354266166687, -0.3468087315559387, -0.22264207899570465, -0.23452116549015045, -0.25287869572639465, 0.1466953307390213, -0.2889432907104492, 0.8696913123130798, 0.0772082582116127, 0.003388982033357024, 0.2136625349521637, -0.3539682924747467, 0.3582078218460083, -0.20694802701473236, -0.2601906657218933, -0.048137880861759186, 0.35635077953338623, 0.030981697142124176, -0.3280538320541382, 0.01264280267059803, 0.13368375599384308, -0.26296308636665344, 0.12771762907505035, 0.4450724720954895, 0.08659124374389648, -0.7966288924217224, 0.28002089262008667, 0.8321437239646912, 0.03460921347141266, 0.11665806174278259, -0.6096516847610474, -0.2000267207622528, -0.4892197251319885, -0.1130363717675209, 0.06677722930908203, 0.7861664891242981, -0.06813594698905945, 0.4168547987937927, 0.5597177147865295, 0.1489488035440445, 0.01326229702681303, 0.35486143827438354, 0.8261282444000244, -0.8391011953353882, -0.34913113713264465, -0.7471824288368225, 0.35853442549705505, -0.15012134611606598, -0.3366301655769348, 0.41813257336616516, 0.802391529083252, 0.8173310160636902, 0.22428271174430847, 0.867184579372406, 0.014119128696620464, 0.8704884648323059, -0.5303986072540283, 0.3102000653743744, -0.3374534547328949, 0.14081862568855286, -0.4280538558959961, -0.7148776054382324, -0.5706843733787537, 0.5786951184272766, -0.4046931564807892, 0.029898080974817276, 0.4487704932689667, 0.4965669512748718, -0.3996430039405823, -0.11569494754076004, 0.12348109483718872, 0.2980046570301056, 0.22006012499332428, 0.49084365367889404, 0.9035555124282837, -0.38902485370635986, 0.430320680141449, -0.191334530711174, 0.04318065196275711, -0.38171911239624023, -0.8312486410140991, -0.7727742791175842, -0.3827258348464966, 0.09388840198516846, -0.17810969054698944, 0.56635981798172, 1.0115429162979126, 0.7768301367759705, -1.1237332820892334, -0.3270959258079529, -0.41030606627464294, -0.1008320152759552, -0.07075569033622742, -0.20116662979125977, 0.6819455027580261, -0.12140345573425293, -0.14674875140190125, 0.08882153034210205, 0.00007261295831995085, 0.20012739300727844, 0.31466546654701233, 0.012579402886331081, -0.19690407812595367, -0.010143156163394451, 0.6015022993087769, 0.7202510833740234, -0.6804148554801941, -0.334727019071579, -0.16681665182113647, 0.1458195596933365, 0.543027937412262, 1.4690219163894653, -0.6864169239997864, 0.46205443143844604, 0.34299731254577637, 0.46990469098091125, 0.5936640501022339, 0.11654854565858841, 0.7102675437927246, -0.45105859637260437, 0.18082062900066376, 0.46903547644615173, 0.7521358728408813, 0.21895146369934082, -0.18385371565818787, 0.2565203607082367, 0.0951678678393364, -0.5851393938064575, -0.737747311592102, 0.14285717904567719, -1.1773350238800049, -0.20845232903957367, 0.7339284420013428, 0.051373258233070374, -0.10977478325366974, -0.541883111000061, -0.14508602023124695, -0.05208619311451912, -0.5628640651702881, 0.9728119373321533, 0.41951626539230347, -0.12374266982078552, -0.12962423264980316, -0.7179213166236877, 0.39822736382484436, -0.05485672131180763, -0.6879595518112183, 0.18622849881649017, 0.5682697892189026, 0.05290023982524872, -0.05380846560001373, 0.5487797856330872, -0.5980933904647827, 0.3213067054748535, -0.46929410099983215, 0.011113381944596767, 0.5592997074127197, -0.40064695477485657, -0.632102906703949, 0.3648035526275635, -0.27541738748550415, 0.18837720155715942 ]
http://arxiv.org/abs/2404.00595v1
http://arxiv.org/pdf/2404.00595v1
Query-driven Relevant Paragraph Extraction from Legal Judgments
2024-03-31T08:03:39
2024-03-31T08:03:39
T. Y. S. S Santosh, Elvin Quero Hernandez, Matthias Grabmair
cs.CL
cs.CL, cs.IR
Legal professionals often grapple with navigating lengthy legal judgements to pinpoint information that directly address their queries. This paper focus on this task of extracting relevant paragraphs from legal judgements based on the query. We construct a specialized dataset for this task from the European Court of Human Rights (ECtHR) using the case law guides. We assess the performance of current retrieval models in a zero-shot way and also establish fine-tuning benchmarks using various models. The results highlight the significant gap between fine-tuned and zero-shot performance, emphasizing the challenge of handling distribution shift in the legal domain. We notice that the legal pre-training handles distribution shift on the corpus side but still struggles on query side distribution shift, with unseen legal queries. We also explore various Parameter Efficient Fine-Tuning (PEFT) methods to evaluate their practicality within the context of information retrieval, shedding light on the effectiveness of different PEFT methods across diverse configurations with pre-training and model architectures influencing the choice of PEFT method.
[ -0.3982953131198883, -0.8939579725265503, 0.7187422513961792, -0.2918913662433624, -0.6726052165031433, -0.3471732437610626, -0.16291871666908264, -0.36582475900650024, -0.1806837022304535, 0.8410095572471619, -0.3060096204280853, -0.503536581993103, -0.4619443118572235, -0.0785965695977211, -0.7121060490608215, 1.0440813302993774, 0.293742835521698, -0.030023127794265747, 0.15776768326759338, -0.44793596863746643, -0.35197943449020386, -0.38891783356666565, -0.2300092875957489, -0.05127904564142227, 0.46955832839012146, 0.3506777286529541, 0.4443165361881256, 0.6846814155578613, 0.6587086915969849, 0.1628836840391159, -0.1905912309885025, -0.13242821395397186, -0.49598613381385803, 0.26099899411201477, -0.6941221356391907, -0.6553855538368225, -0.21703863143920898, -0.08382531255483627, 0.29174572229385376, 0.4333007335662842, -0.5103173851966858, 0.3935108780860901, -0.11778397113084793, 0.802299439907074, -0.9527601003646851, -0.12601441144943237, -0.8990111351013184, 0.3930880129337311, -0.48102861642837524, -0.48170575499534607, -0.506043016910553, -0.2848527431488037, 0.25919899344444275, -0.6992962956428528, 0.7288559079170227, 0.2866676449775696, 1.0180470943450928, 0.3870464265346527, -0.576656699180603, -0.12174326181411743, -0.5369922518730164, 0.6446900963783264, -0.6743617057800293, 0.6537666916847229, 0.32222503423690796, 0.3030788004398346, 0.027866167947649956, -0.956815242767334, -0.48030325770378113, 0.02478981949388981, 0.1348031461238861, 0.2591780126094818, -0.17502297461032867, 0.08266168087720871, 0.4129679501056671, 0.07781217992305756, -0.4160930812358856, 0.16143015027046204, -0.34916362166404724, -0.14330801367759705, 0.6856571435928345, 0.14013855159282684, -0.002129101427271962, -0.3874753415584564, -0.010442175902426243, -0.15981730818748474, -0.8682498335838318, 0.01727977767586708, 0.5829606056213379, 0.2646576762199402, 0.31867703795433044, 0.775982677936554, -0.34785130620002747, 1.0128111839294434, 0.5287767052650452, 0.06675034016370773, 0.09593476355075836, -0.3529459834098816, -0.15831753611564636, 0.11477047204971313, 0.6366428136825562, 0.5700178742408752, 0.21894443035125732, -0.08890409022569656, -0.21598000824451447, -0.6183611750602722, 0.4683687388896942, -0.7738773226737976, -0.10237444937229156, 0.1691034883260727, -0.6602428555488586, -0.08384449779987335, 0.34231898188591003, -1.102882742881775, -0.47690823674201965, -0.47369518876075745, -0.07321740686893463, -0.34682363271713257, 0.12945868074893951, 0.40153318643569946, -0.2793808579444885, 0.5562164187431335, 0.3934001922607422, -0.7321905493736267, -0.0907154232263565, 0.7095564603805542, 0.2938341200351715, 0.023501338437199593, 0.3457990288734436, -0.8575387001037598, 0.2549441456794739, -0.08706644922494888, 0.8733373284339905, -0.760662853717804, -0.13890381157398224, 0.3336983025074005, 0.1624702662229538, -0.19150826334953308, -0.7005540132522583, 1.2037595510482788, -0.8274006247520447, 0.1244722232222557, -0.35394051671028137, -0.7469812631607056, 0.19516970217227936, 0.2859090268611908, -0.5221009254455566, 0.736014187335968, -0.07768178731203079, -0.9331946969032288, 0.883095383644104, -0.5131174921989441, -0.5547074675559998, 0.2144128829240799, -0.3819938600063324, -0.40568533539772034, 0.25496551394462585, 0.2896115183830261, 0.3849725127220154, -0.1452321857213974, 0.004958414472639561, -0.31453174352645874, -0.3016674816608429, -0.2298802137374878, -0.22626717388629913, 0.703251302242279, 0.5455517768859863, -0.33978086709976196, -0.10312981903553009, -0.8608956933021545, -0.017998013645410538, -0.08414550125598907, -0.4730868637561798, -0.348239004611969, 0.23511680960655212, -0.18462689220905304, 0.239383727312088, 0.167726069688797, -0.5928140878677368, 0.0850289836525917, -0.3188750743865967, 0.4766065180301666, 0.4201558232307434, 0.3724587857723236, 0.4818134307861328, 0.05367143824696541, 0.7108055949211121, -0.06202569976449013, 0.0970538854598999, 0.10903450101613998, -0.07066541165113449, -0.5777915716171265, -0.005221816245466471, 0.7450986504554749, 0.6903233528137207, -0.641514241695404, 0.5657647848129272, -0.23823407292366028, -0.2455935776233673, -0.75180584192276, -0.059421174228191376, 0.02007490210235119, 0.6986917853355408, 0.35201719403266907, 0.08599669486284256, -0.3758752644062042, -0.7204676866531372, -0.7083837389945984, -0.11124793440103531, -0.15066024661064148, 0.479256808757782, 0.23708339035511017, 0.11673810333013535, 0.8565284013748169, -0.5601980090141296, -0.30015137791633606, -0.18979902565479279, 0.15675628185272217, 0.33261752128601074, 0.030160201713442802, 0.6107291579246521, -0.9691066145896912, -0.5198462605476379, 0.1522945910692215, -0.602628767490387, -0.24598459899425507, -0.21210555732250214, -0.2535780966281891, -0.23325003683567047, 0.7149462699890137, -0.5286411643028259, 0.4914727509021759, -0.37082386016845703, -0.6189826726913452, 0.47338464856147766, -0.37185007333755493, 0.18953609466552734, -0.5939182639122009, 0.061848707497119904, 0.17234507203102112, -0.4942353665828705, -0.27515584230422974, 0.38428348302841187, 0.4413822591304779, 0.1931833028793335, -0.651725172996521, 0.20912078022956848, -0.4133301377296448, 0.07988280057907104, 0.004996997769922018, 0.1638735681772232, 0.0528598427772522, 0.16008709371089935, -0.12423722445964813, 0.6226471066474915, 0.28199371695518494, -0.6832512021064758, -0.03883492574095726, 0.4350505471229553, -0.4187123477458954, 0.9117201566696167, -0.44401583075523376, 0.036866359412670135, -0.24897132813930511, -0.1552080661058426, -0.2753419578075409, 0.04384163022041321, 0.1585465967655182, 0.28685426712036133, 0.30297714471817017, -0.5104830861091614, -0.7353638410568237, -0.34312406182289124, -0.29930469393730164, 0.1390930563211441, 0.3541783392429352, -0.22829794883728027, 0.27751296758651733, 0.5341132879257202, -0.03981398418545723, -0.5833765268325806, -0.2520228326320648, -0.22711428999900818, -0.5779861807823181, -0.1963205635547638, 0.5585111975669861, 0.19211634993553162, -0.22657428681850433, -0.16656479239463806, -0.11318490654230118, -0.07538051158189774, -0.0018944218754768372, 0.08378641307353973, -0.20568011701107025, -0.06389318406581879, 0.07226856797933578, 0.3463320732116699, 0.2695901095867157, 0.0012608617544174194, 0.08725012838840485, 0.562146008014679, 0.090403251349926, -0.5487133860588074, -0.27191200852394104, 0.33556923270225525, 0.291301429271698, -0.41885438561439514, 0.29562148451805115, 0.3495883345603943, -0.03790981322526932, -0.05893333628773689, -0.6527646780014038, -0.013233444653451443, -0.4435912072658539, 0.3106345236301422, -0.46437692642211914, -0.6664485335350037, 0.5237550139427185, -0.14037327468395233, 0.06323997676372528, 0.6886580586433411, 0.48996618390083313, -0.2007388025522232, 0.8618554472923279, 0.7003443837165833, 0.02078239433467388, 0.9514168500900269, -0.0471624955534935, 0.26927483081817627, -0.6757563948631287, -0.23484525084495544, -0.7839348912239075, -0.046906258910894394, -0.51661217212677, -0.04451409727334976, 0.40636950731277466, 0.3752731382846832, -0.15601672232151031, 0.40256550908088684, -0.39345690608024597, 0.5780807137489319, 0.5468303561210632, 0.3069961667060852, 0.29959291219711304, 0.07638759911060333, -0.46396130323410034, 0.08317727595567703, -0.5094324350357056, -0.3822530210018158, 1.230332374572754, 0.016698582097887993, 0.5799925923347473, -0.00037715796497650445, 0.6143432855606079, 0.47870221734046936, -0.3280205726623535, -0.6014893651008606, 0.5859655737876892, -0.2115481048822403, -0.35035282373428345, -0.371762752532959, -0.3078874945640564, -1.2806823253631592, 0.32398346066474915, -0.18093456327915192, -0.695339560508728, 0.6013557314872742, -0.26804760098457336, -0.7074385285377502, -0.01921788975596428, -0.4740869700908661, 0.6615644693374634, -0.023758405819535255, -0.6254319548606873, -0.3844945430755615, -0.8303782343864441, -0.24457016587257385, -0.16579970717430115, -0.04801972582936287, -0.3671715259552002, 0.1654486209154129, 0.5903659462928772, -0.47134849429130554, 0.10315757989883423, -0.3372840881347656, -0.029026834294199944, 0.3910510540008545, -0.06780505180358887, 0.4489278793334961, 0.09939133375883102, -0.6162333488464355, -0.1612015813589096, 0.46546006202697754, -0.2705248296260834, -0.48343178629875183, 0.2587573230266571, -0.3171324133872986, -0.7595347166061401, -0.2782890200614929, -0.3655864894390106, -0.16802801191806793, 0.5408517718315125, 0.3952755033969879, 0.13160903751850128, -0.22029224038124084, 0.4074576795101166, 0.5478338003158569, -0.09978605061769485, 0.5710600018501282, 0.9874860644340515, 0.25853604078292847, -0.05834455043077469, 0.4160759747028351, 0.41329485177993774, -0.4420028030872345, 0.568655788898468, -0.001086415140889585, -0.5907769203186035, -0.8034750819206238, -0.47045865654945374, 0.08535043895244598, -0.5014657378196716, -0.40087074041366577, -0.5408509373664856, -0.024095740169286728, -0.4196135401725769, 0.11799631267786026, -0.05078287795186043, -0.4010795056819916, -0.4699016511440277, -0.2946026027202606, 0.18295888602733612, 0.32397380471229553, 0.13649196922779083, 0.024253729730844498, -0.8188570737838745, 0.3251143991947174, 0.06564711779356003, 0.3093283474445343, -0.5374169945716858, -0.7528866529464722, -0.14928415417671204, -0.17780478298664093, -0.47717323899269104, -0.8077529072761536, 0.3916524052619934, 0.23391485214233398, 0.6856595873832703, 0.6691075563430786, 0.4912549555301666, 0.9044552445411682, -0.8871563076972961, 0.6392217874526978, -0.08449351787567139, -0.5382760763168335, 0.8784700036048889, -0.45242711901664734, -0.022010045126080513, 1.0294162034988403, 0.16535325348377228, -0.09717173874378204, -0.2916896343231201, -0.6322372555732727, -0.9564040899276733, 0.5509921312332153, 0.05426187068223953, 0.2097412347793579, -0.01892019994556904, 0.8719164133071899, 0.25207799673080444, 0.30422279238700867, -0.06731726974248886, 0.12690690159797668, 0.1585199534893036, -0.15378911793231964, 0.3440798223018646, -0.21037647128105164, -0.10608096420764923, -0.6409047842025757, 0.3701600134372711, -0.0748838260769844, 0.09886056184768677, 0.3810282349586487, -0.39840537309646606, -0.050239257514476776, 0.4783661663532257, 0.2418118566274643, 0.8250418305397034, -0.3250408172607422, -0.09172738343477249, -0.09247788041830063, -0.3378053605556488, -0.04228223115205765, 0.43678489327430725, -0.3742683231830597, 0.06369247287511826, -0.022318409755825996, 0.5489853620529175, 0.09445027261972427, -0.8453664779663086, 0.7006019353866577, -0.26651617884635925, -0.267823725938797, -0.0949067622423172, 0.2378581315279007, -0.46875640749931335, 0.46852508187294006, 0.35078951716423035, -0.16333666443824768, 0.5701385736465454, -0.3701663613319397, 0.6403002142906189, 0.3025672435760498, -0.3311724364757538, -0.17237170040607452, 0.8530591130256653, 0.04137212783098221, -0.19955897331237793, 0.6768807768821716, -0.0627097561955452, -0.08504519611597061, 0.26155367493629456, 0.24614772200584412, 0.559034526348114, 0.2822857201099396, 0.2530515789985657, 0.10818258672952652, -0.21633467078208923, -0.22333355247974396, 0.3327867090702057, -0.45456427335739136, -0.5120568871498108, -0.13353358209133148, -0.5050455331802368, -0.2735443115234375, -0.1072041466832161, -1.1180797815322876, 0.4282341003417969, -0.2469567507505417, -0.3247765898704529, 0.0843493714928627, 0.16067293286323547, -0.9573001265525818, -0.0649496391415596, -0.17963807284832, 0.9971888661384583, -0.4467083811759949, 0.8397586941719055, 0.43237224221229553, -0.4522315561771393, -0.5824775099754333, 0.047487642616033554, -0.31168249249458313, -0.572564959526062, 0.22111141681671143, -0.21443457901477814, 0.28930801153182983, -0.15482866764068604, -0.3618946373462677, -0.301620751619339, 1.0630974769592285, 0.8550572395324707, -1.0870131254196167, -0.14868758618831635, 0.3739059269428253, 0.7866443991661072, 0.0678454115986824, 0.19979824125766754, 0.9457343816757202, 0.12649330496788025, 0.11448534578084946, -0.7102464437484741, -0.03430837765336037, -0.16647560894489288, -0.3559085428714752, 0.31872597336769104, -0.5586338639259338, 0.5434454679489136, 0.1069677397608757, -0.12817861139774323, -0.06687470525503159, 0.30253472924232483, 0.24555931985378265, 0.29586249589920044, 0.3675181567668915, 0.7609835267066956, 1.1024240255355835, -0.02222362533211708, 1.2652063369750977, -0.7053652405738831, 0.4416317641735077, 1.0993458032608032, -0.4763681888580322, 1.0928640365600586, 0.6528956294059753, -0.01833117939531803, 0.33156245946884155, 0.7599925994873047, -0.15420807898044586, 0.8610603213310242, -0.04048030450940132, -0.20873834192752838, -0.2905825078487396, -0.1653698980808258, -0.3189232647418976, 0.32280275225639343, 0.2455340474843979, -0.6813729405403137, -0.4653674066066742, -0.22943520545959473, -0.21245823800563812, -0.039890117943286896, -0.3976476788520813, 1.065406084060669, 0.00610679155215621, -0.7952197790145874, 0.07628492265939713, 0.05214259400963783, 0.21077272295951843, -0.1293853521347046, -0.08404742181301117, -0.3939726948738098, 0.13823454082012177, -0.13843820989131927, -0.9081069827079773, 0.23750226199626923, 0.18493545055389404, -0.07287000864744186, -0.35315629839897156, 0.8657811880111694, -0.09612341225147247, -0.33982565999031067, 0.0679933950304985, 0.6330813765525818, 0.12664636969566345, -0.3175034523010254, -0.9992496371269226, -0.3954017162322998, 0.10224910825490952, -0.3661167323589325, 0.41923537850379944, 0.9820752143859863, -0.08096832036972046, 0.23473027348518372, 0.5304754972457886, 0.23951110243797302, 0.3261858820915222, 0.38621169328689575, 0.7069955468177795, -0.857806384563446, -0.5497334599494934, -0.8144194483757019, 0.2660599946975708, -0.31818127632141113, -0.2643318176269531, 0.5619672536849976, 0.5872817635536194, 0.6323798298835754, 0.08564607053995132, 0.47828570008277893, -0.01658027246594429, 0.4564371109008789, -0.6666165590286255, 0.6493667960166931, -0.3637336790561676, 0.4121416509151459, -0.06794925779104233, -0.9209427833557129, -0.26867857575416565, 0.5127121210098267, -0.548373281955719, -0.4209643006324768, 0.41474685072898865, 0.6217194199562073, -0.2679308354854584, -0.036712922155857086, 0.30807358026504517, -0.13330678641796112, 0.3193212151527405, 0.13504481315612793, 0.5663988590240479, -0.4420015513896942, 0.5177211165428162, -0.011067681945860386, 0.42457500100135803, -0.3470512330532074, -0.7774577140808105, -0.6044835448265076, -0.1221637949347496, -0.29145005345344543, -0.13004212081432343, 0.12612317502498627, 0.4925196170806885, 0.7868562340736389, -0.8192408680915833, 0.22883503139019012, -0.4902288615703583, 0.04207323119044304, 0.1011182889342308, -0.24995221197605133, 0.489816278219223, -0.42619600892066956, -0.5513996481895447, 0.23451633751392365, 0.16034886240959167, -0.21987664699554443, 0.3813154101371765, 0.29625600576400757, -0.220041424036026, 0.15469859540462494, 0.539367139339447, 0.3790615200996399, -0.4306521713733673, -0.4636198878288269, -0.3359664976596832, 0.04330664128065109, 0.4513726234436035, 1.0589011907577515, -0.6211166381835938, 0.41183996200561523, 0.604965329170227, 0.7022880911827087, 0.9191468954086304, 0.38818737864494324, 0.5875703692436218, -0.8840214610099792, 0.25902941823005676, 0.40773579478263855, 0.6849638819694519, -0.04921964183449745, -0.33001357316970825, 0.648004949092865, -0.021685918793082237, -0.5994340777397156, -0.7941413521766663, -0.06053347513079643, -0.8799143433570862, -0.2360350787639618, 1.0694191455841064, -0.19278110563755035, -0.17697419226169586, -0.19495801627635956, -0.23498012125492096, 0.246828094124794, -0.447468101978302, 0.8582847714424133, 0.49597302079200745, -0.3998682200908661, -0.26353198289871216, -0.6408230662345886, 0.3775160014629364, 0.5088556408882141, -0.6787348389625549, -0.16886989772319794, 0.570625364780426, 0.5005409121513367, -0.09682513773441315, 0.45206141471862793, -0.42936253547668457, -0.0007810465176589787, -0.2799701988697052, -0.36368948221206665, 0.3711957037448883, -0.14491704106330872, -0.4525904655456543, 0.7255471348762512, -0.1816561222076416, -0.158731147646904 ]
http://arxiv.org/abs/2404.00594v1
http://arxiv.org/pdf/2404.00594v1
LexAbSumm: Aspect-based Summarization of Legal Decisions
2024-03-31T08:00:40
2024-03-31T08:00:40
T. Y. S. S Santosh, Mahmoud Aly, Matthias Grabmair
cs.CL
cs.CL
Legal professionals frequently encounter long legal judgments that hold critical insights for their work. While recent advances have led to automated summarization solutions for legal documents, they typically provide generic summaries, which may not meet the diverse information needs of users. To address this gap, we introduce LexAbSumm, a novel dataset designed for aspect-based summarization of legal case decisions, sourced from the European Court of Human Rights jurisdiction. We evaluate several abstractive summarization models tailored for longer documents on LexAbSumm, revealing a challenge in conditioning these models to produce aspect-specific summaries. We release LexAbSum to facilitate research in aspect-based summarization for legal domain.
[ -0.21808773279190063, -0.40435612201690674, 0.935871422290802, 0.1469365507364273, -0.49021756649017334, 0.0007865586085245013, -0.10665740072727203, -0.3809172809123993, 0.5041916966438293, 0.9009715914726257, -0.19966259598731995, -0.9803766012191772, -0.4177738428115845, -0.1863810420036316, -0.4047382175922394, 1.1812411546707153, 0.0517733171582222, 0.0847872644662857, -0.5223983526229858, -0.768309473991394, -0.3988729417324066, -0.7554775476455688, -0.44652634859085083, -0.220712810754776, 0.3548492193222046, 0.5318914651870728, 0.6957522630691528, 0.2872622609138489, 0.568863570690155, 0.23212188482284546, -0.4568277597427368, -0.07646934688091278, 0.06828929483890533, 0.14998416602611542, -0.4111204743385315, -0.6210489869117737, -0.9873817563056946, -0.33382976055145264, 0.5400827527046204, 0.7763836979866028, -0.404009073972702, 0.14572308957576752, -0.3358975946903229, 1.0296857357025146, -0.4838539958000183, -0.002578308340162039, -0.057723890990018845, 0.2920473515987396, -0.023577971383929253, -0.003969720099121332, -0.3325592279434204, -0.44956615567207336, -0.19310997426509857, -0.5037274360656738, 0.6129626631736755, 0.2322552502155304, 0.49153780937194824, 0.2607610523700714, -0.5320002436637878, -0.37964388728141785, -0.7316072583198547, 0.42726874351501465, -1.0112303495407104, 0.07173056155443192, 0.39462509751319885, 0.2524506449699402, 0.01815430261194706, -0.7374266982078552, -0.3915092647075653, 0.032569389790296555, -0.34795674681663513, 0.42571645975112915, -0.08739486336708069, 0.3217218816280365, 0.22435390949249268, 0.2746381163597107, -0.4669998586177826, 0.1501825898885727, -0.3883952796459198, -0.3565632700920105, 0.7911095023155212, 0.5033501386642456, 0.24896441400051117, -0.5557535886764526, 0.06022779643535614, 0.11717578023672104, -0.7619789242744446, 0.22828026115894318, 0.4725055694580078, 0.39272022247314453, -0.12018650025129318, 0.6604384779930115, -0.2182336002588272, 0.5905498266220093, -0.07748477905988693, -0.0767941027879715, 0.050473470240831375, -0.2522240877151489, -0.00955645926296711, 0.5111807584762573, 0.5431414246559143, 0.6922315955162048, -0.4148581624031067, 0.021146414801478386, -0.47110795974731445, -0.6053186058998108, 0.2047034502029419, -1.0241539478302002, -0.0026558421086519957, 0.6992091536521912, -0.6440574526786804, 0.022927558049559593, 0.4188407063484192, -0.6259714365005493, -0.6131078600883484, -0.6221433877944946, -0.11806327104568481, -0.5068385004997253, 0.03937865421175957, 0.18024004995822906, -0.3132203221321106, 0.060409557074308395, 0.6158546805381775, -0.5366758704185486, 0.5117962956428528, 0.974087119102478, 0.8807600736618042, -0.1582321971654892, 0.15906201303005219, -0.5272446870803833, 0.1033785492181778, -0.37461698055267334, 0.6829907894134521, -0.6332392692565918, -0.7929452657699585, 0.1007225438952446, 0.09978470951318741, 0.38324302434921265, -0.6594351530075073, 0.7006766200065613, -0.4848848283290863, 0.0017701199976727366, -0.3680603802204132, -0.9046061635017395, -0.4919726848602295, 0.07680154591798782, -0.6334889531135559, 0.3473125994205475, 0.008193975314497948, -0.7841695547103882, 0.8038485050201416, -0.8249114155769348, -0.8937118053436279, 0.29508623480796814, -0.47601988911628723, -0.7360841035842896, 0.5032943487167358, 0.06265535950660706, 0.3916797339916229, 0.15550149977207184, 0.2810460329055786, -0.11108741164207458, -0.09634266793727875, 0.06307277828454971, 0.223924458026886, 0.6280102729797363, 0.3436840772628784, 0.058432687073946, 0.48490357398986816, -0.4399029314517975, -0.5084356665611267, -0.06872528046369553, -0.1270306259393692, -0.6562422513961792, 0.3997730016708374, 0.13896048069000244, 0.15749649703502655, 0.43506497144699097, -0.4826435446739197, 0.030403809621930122, 0.0031462660990655422, 0.4177433252334595, 0.39740583300590515, 0.1800253838300705, 0.3430681526660919, -0.6012402176856995, 0.8329208493232727, 0.07659228146076202, 0.009869260713458061, -0.45181453227996826, -0.20951658487319946, -0.5950526595115662, -0.09722620993852615, 0.5387744307518005, 0.3440735936164856, -0.35602855682373047, 0.5227115154266357, -0.4470423460006714, -0.3406442105770111, -0.4186561703681946, -0.05746656656265259, 0.2724948525428772, 0.2829478979110718, 0.2682223916053772, -0.35018858313560486, -0.4304285943508148, -1.0837798118591309, -0.2477818876504898, -0.2798502743244171, 0.04663484916090965, 0.37444692850112915, 0.7549998760223389, -0.029909152537584305, 1.3508002758026123, -0.35874009132385254, -0.5093175172805786, -0.7706897258758545, 0.4582178294658661, 0.3500533699989319, 0.2312239110469818, 0.7513770461082458, -0.993378758430481, -0.04934079945087433, -0.05637901648879051, -0.6212506294250488, 0.09445857256650925, -0.45312073826789856, 0.2977214455604553, 0.15792717039585114, 0.6815770864486694, -0.22740405797958374, 0.5734550952911377, -0.014249807223677635, -0.6545912623405457, 0.5900743007659912, -0.6741200685501099, 0.33499687910079956, -1.163049578666687, -0.012629120610654354, -0.07336155325174332, -0.942762553691864, -0.21127837896347046, 0.11580146849155426, 0.40433579683303833, -0.032236285507678986, -0.8005303144454956, 0.3657297194004059, -0.25786522030830383, -0.41013893485069275, -0.4045616388320923, 0.08320296555757523, 0.0867186114192009, 0.26453906297683716, 0.2626248002052307, 0.613466203212738, 0.13112947344779968, -0.6700403094291687, 0.07903550565242767, 0.456211656332016, -0.35586926341056824, 0.8724753856658936, -0.5953205227851868, -0.22800253331661224, -0.37593749165534973, 0.373150497674942, -0.2274055778980255, -0.4583508372306824, -0.20619580149650574, -0.19524015486240387, 0.2711595892906189, -0.38643649220466614, -0.5550941824913025, -0.27391546964645386, -0.4649715721607208, 0.5508432984352112, 0.3671768307685852, -0.15408089756965637, 0.9713364839553833, 0.600373387336731, -0.6410137414932251, -0.13040868937969208, -0.5547240376472473, 0.37790241837501526, -0.396339476108551, -0.1792064905166626, 0.5341678261756897, 0.09265314042568207, -0.5230714082717896, 0.31967759132385254, -0.06801557540893555, 0.15116047859191895, -0.061396557837724686, 0.7635050415992737, -0.09071595966815948, 0.022265156731009483, 0.03178612142801285, 0.5115689635276794, 0.22111688554286957, 0.33264726400375366, 0.2195497453212738, 0.3050772547721863, -0.09032819420099258, -0.7911845445632935, -0.3723722994327545, 0.6926472783088684, 0.4648233950138092, -0.02461542934179306, 0.163027822971344, -0.0830516368150711, -0.39451947808265686, -0.05538465827703476, -0.33000898361206055, 0.12774839997291565, -0.3455876410007477, 0.5463711023330688, -0.2168542444705963, -0.6728121042251587, 0.8470920324325562, 0.13389469683170319, 0.4387170672416687, 0.664581835269928, 0.4677145481109619, -0.1447516828775406, 0.6384034752845764, 0.516491174697876, -0.24445174634456635, 0.38002800941467285, -0.08713505417108536, 0.030505623668432236, -0.8440669775009155, -0.3235524594783783, -0.3186325132846832, -0.18136465549468994, -0.18574874103069305, -0.12559108436107635, 0.42785197496414185, -0.22864237427711487, 0.14146588742733002, 0.28995010256767273, -0.016161499544978142, 0.5730714201927185, 0.39271536469459534, 0.20130275189876556, 0.581256628036499, -0.5506393909454346, 0.033475469797849655, 0.15707433223724365, -0.5631442070007324, -0.6124890446662903, 1.059453010559082, 0.16109448671340942, 0.4385157525539398, 0.41765570640563965, 0.9189870357513428, 0.8764687776565552, 0.23960700631141663, -0.8893548846244812, 0.6512587666511536, -0.24952572584152222, -0.3748898208141327, -0.19590459764003754, -0.39840149879455566, -0.9765579700469971, 0.02370613068342209, -0.004004228860139847, -0.2980906367301941, 0.2007966786623001, -0.12383358925580978, -0.8944571614265442, 0.3426440358161926, -0.22918374836444855, 0.43176040053367615, -0.1306786686182022, -0.15479253232479095, -0.5080500245094299, -0.6304720044136047, 0.28567278385162354, -0.11851608008146286, 0.7088429927825928, -0.38954636454582214, -0.04267328977584839, 1.1073776483535767, -0.95842045545578, 0.596608579158783, -0.14343933761119843, 0.10454431176185608, 0.40412071347236633, 0.18653912842273712, 0.15698394179344177, 0.42826977372169495, 0.16487523913383484, -0.14952434599399567, 0.11523478478193283, -0.42424970865249634, -0.4386751651763916, 0.41870808601379395, -0.3355448842048645, -0.8174722790718079, -0.694955050945282, -0.6325283050537109, 0.009902553632855415, 0.28386440873146057, 0.17006149888038635, 0.5364054441452026, -0.507953405380249, 0.049807608127593994, 0.2530832886695862, -0.11148539185523987, 0.6401678323745728, 0.8852707147598267, -0.4947626292705536, -0.3767009377479553, 0.8235000371932983, 0.15614014863967896, -0.17615869641304016, 0.23037676513195038, -0.06327394396066666, -0.3425564765930176, -0.8468579053878784, -0.2551591098308563, 0.17602436244487762, -0.8093253970146179, -0.2560814321041107, -0.3652384281158447, -0.1394340842962265, -0.434810608625412, -0.2032422423362732, -0.2516883909702301, -0.7500066161155701, -0.007845507934689522, -0.26368024945259094, 0.2475994974374771, 0.9881088733673096, 0.01941170170903206, -0.06613264977931976, -0.8774248957633972, 0.4738154411315918, 0.23276634514331818, 0.2153560221195221, -0.5031124949455261, -0.599241316318512, -0.2196415662765503, -0.14491599798202515, -0.12931276857852936, -0.4923405647277832, 0.4128429889678955, 0.1108051985502243, 0.2930738925933838, 0.5558611154556274, 0.3167690932750702, 0.37615567445755005, -0.47266829013824463, 0.8505022525787354, 0.16469664871692657, -0.7999983429908752, 0.7936407327651978, -0.19304804503917694, 0.19166693091392517, 0.8132072687149048, 0.07019785046577454, -0.6338849067687988, -0.5848374366760254, -0.7609176635742188, -1.236687183380127, 0.6063334345817566, 0.2938289940357208, 0.1959710717201233, 0.277262419462204, 0.5581733584403992, 0.32712340354919434, 0.12731918692588806, 0.011589694768190384, -0.019401216879487038, -0.13699103891849518, -0.18665772676467896, -0.14125578105449677, -0.2095724195241928, -0.16438712179660797, -0.23669558763504028, 0.626548171043396, 0.15588615834712982, -0.24507488310337067, 0.35727524757385254, -0.4773775041103363, 0.48685723543167114, 0.47056007385253906, 0.7852519154548645, 0.9350703954696655, -0.46250906586647034, 0.033813901245594025, 0.003140995278954506, -0.47217774391174316, 0.10576865077018738, 0.059058740735054016, -0.31870290637016296, 0.411175936460495, 0.4426761269569397, 0.6469116806983948, 0.051990412175655365, -0.7932467460632324, 0.6987592577934265, -0.44351425766944885, -0.36495742201805115, -0.7423519492149353, 0.07640901952981949, -0.09207095950841904, 0.1899905949831009, 0.20189520716667175, -0.08884089440107346, 0.5102569460868835, -0.46104124188423157, 0.29977503418922424, -0.11799073219299316, -0.4134824275970459, -0.20108970999717712, 0.8479610681533813, 0.3594026267528534, -0.2895318865776062, 0.2930837571620941, -0.37400197982788086, -0.2311895787715912, 0.876354455947876, -0.04427405446767807, 0.8999183773994446, 0.1530596911907196, 0.16894638538360596, 0.18874448537826538, -0.2232537418603897, -0.2404763549566269, 0.14088664948940277, -0.26216793060302734, -0.281757116317749, -0.339081346988678, -0.47587183117866516, -0.9158011674880981, -0.20684735476970673, -1.0953304767608643, 0.17866607010364532, -0.45514968037605286, -0.3002653121948242, 0.014077623374760151, -0.3344334661960602, -0.41264596581459045, 0.07400841265916824, -0.10239964723587036, 0.8320842385292053, -0.638956606388092, 0.5690997242927551, 0.6730023622512817, -0.4925702214241028, -0.03311752527952194, -0.10356871038675308, 0.10366474837064743, -0.36216863989830017, 0.13736814260482788, 0.05409202352166176, 0.09906472265720367, -0.6126447916030884, -0.13491451740264893, -0.05416654050350189, 1.1568363904953003, 0.1339409202337265, -0.7687652111053467, 0.005044015124440193, 0.39054372906684875, 0.3699458837509155, -0.3246450424194336, 0.025992736220359802, 0.8015409708023071, 0.36319997906684875, 0.07360416650772095, -0.3559596836566925, 0.14352333545684814, -0.35170674324035645, 0.009318213909864426, 0.1819743663072586, -0.4991728961467743, 0.44291940331459045, -0.550153911113739, -0.0667116567492485, -0.15806840360164642, 1.0476250648498535, 0.1759406328201294, 0.42430564761161804, 0.4125286638736725, 0.5952372550964355, 0.8201935887336731, -0.0639810636639595, 1.1098787784576416, -0.5754983425140381, 0.2839004099369049, 1.6940745115280151, -0.1751413494348526, 0.7180752158164978, 0.2983264923095703, -0.14616961777210236, 0.3672068119049072, 0.8211299777030945, 0.10881813615560532, 0.29774537682533264, 0.0004322018940001726, -0.20413270592689514, -0.4525796175003052, -0.04919783025979996, -0.17100641131401062, 0.05388412997126579, 0.5212698578834534, -0.34863176941871643, -0.31636032462120056, -0.19306132197380066, 0.21216697990894318, 0.31498461961746216, -0.6220315098762512, 1.035494089126587, 0.17581087350845337, -0.4998185336589813, -0.29065394401550293, 0.18208079040050507, 0.37552809715270996, -0.16318351030349731, 0.16903375089168549, -0.6700701117515564, -0.15313680469989777, -0.5074948668479919, -1.0465093851089478, 0.5350003242492676, 0.161817267537117, -0.3079301714897156, -0.01148265227675438, 0.15429487824440002, -0.20388175547122955, -0.8117769956588745, -0.03457454964518547, 0.24291092157363892, 0.21203219890594482, -0.24512465298175812, -0.4627181589603424, -0.36048415303230286, -0.36201831698417664, -0.19601836800575256, 0.2974834144115448, 0.5366348624229431, -0.278275728225708, 0.6171693205833435, 0.1936415731906891, 0.3155750334262848, -0.27343621850013733, 0.470788836479187, 0.5521044731140137, -0.9856250882148743, -0.8061139583587646, -0.8592051267623901, 0.4064699113368988, -0.3113081753253937, -0.19697575271129608, 0.43137431144714355, 1.138741374015808, 0.32520467042922974, 0.27598798274993896, 1.0550318956375122, -0.06977523118257523, 0.42037805914878845, -0.8522515296936035, 0.8421148061752319, -0.5525224208831787, 0.2696671783924103, 0.12589067220687866, -0.6643788814544678, -0.4739593267440796, -0.016536574810743332, -0.1693737506866455, -0.1742309182882309, 0.5157439112663269, 0.38100770115852356, -0.1463921070098877, -0.027805985882878304, 0.30989938974380493, -0.049068812280893326, 0.4588526487350464, 0.3908631205558777, 0.34876054525375366, 0.011277813464403152, 0.1563543975353241, -0.14967216551303864, 0.03939029946923256, -0.632028341293335, -0.8610237240791321, -0.8854750394821167, -0.6224036812782288, -0.45138439536094666, -0.051057953387498856, -0.11076783388853073, 0.9343864321708679, 0.47578421235084534, -1.08066987991333, -0.20443207025527954, -0.18648916482925415, 0.23234251141548157, 0.04814454913139343, -0.19482693076133728, 0.6680475473403931, -0.48841387033462524, -0.5531513690948486, -0.025804514065384865, 0.3664873242378235, 0.2954265773296356, 0.15772509574890137, -0.1951771080493927, 0.3681926727294922, 0.3174666166305542, 0.5014998912811279, 0.37815386056900024, -0.625149130821228, -0.034196510910987854, -0.752016007900238, -0.02488856576383114, 0.4058831036090851, 1.2352478504180908, -0.237280935049057, 0.44610634446144104, 0.3286290168762207, 0.36778226494789124, 0.7368729114532471, 0.3191515803337097, 0.6328825354576111, -0.5906867980957031, 0.4141148030757904, 0.43129637837409973, 1.0404256582260132, 0.17863164842128754, -0.12884104251861572, 0.3174820840358734, -0.1655801236629486, -0.24955061078071594, -0.42275097966194153, 0.06959205865859985, -1.118369698524475, -0.4891175627708435, 1.180227518081665, -0.3626330494880676, -0.3709145188331604, -0.24531176686286926, -0.30052661895751953, 0.046438079327344894, -0.7786984443664551, 0.829418420791626, 0.598482608795166, -0.2319786548614502, 0.20225146412849426, -0.4109312891960144, 0.5394405126571655, 0.38460981845855713, -1.022305965423584, 0.20334099233150482, 0.7747130393981934, 0.26803067326545715, 0.10788365453481674, 0.4511089324951172, -0.3109928369522095, 0.3541184067726135, -0.33573541045188904, 0.2524634897708893, -0.35613566637039185, -0.2776167392730713, -0.44289618730545044, 0.4636286199092865, -0.02780269831418991, 0.005124310031533241 ]
http://arxiv.org/abs/2404.00590v1
http://arxiv.org/pdf/2404.00590v1
CuSINeS: Curriculum-driven Structure Induced Negative Sampling for Statutory Article Retrieval
2024-03-31T07:49:23
2024-03-31T07:49:23
T. Y. S. S Santosh, Kristina Kaiser, Matthias Grabmair
cs.IR
cs.IR, cs.CL
In this paper, we introduce CuSINeS, a negative sampling approach to enhance the performance of Statutory Article Retrieval (SAR). CuSINeS offers three key contributions. Firstly, it employs a curriculum-based negative sampling strategy guiding the model to focus on easier negatives initially and progressively tackle more difficult ones. Secondly, it leverages the hierarchical and sequential information derived from the structural organization of statutes to evaluate the difficulty of samples. Lastly, it introduces a dynamic semantic difficulty assessment using the being-trained model itself, surpassing conventional static methods like BM25, adapting the negatives to the model's evolving competence. Experimental results on a real-world expert-annotated SAR dataset validate the effectiveness of CuSINeS across four different baselines, demonstrating its versatility.
[ -0.3541938066482544, -0.9332946538925171, 0.7025697231292725, 0.13160015642642975, -0.3631240129470825, 0.11800385266542435, -0.24684704840183258, -0.3810708224773407, 0.225764662027359, 0.31957584619522095, -0.44096001982688904, -0.5412566065788269, -0.7248131632804871, 0.07078725099563599, -0.7857896685600281, 0.9701261520385742, 0.3803289532661438, 0.3887670636177063, -0.004789072088897228, 0.015933217480778694, -0.5894463658332825, -0.2487165331840515, -0.7610683441162109, -0.20303839445114136, 0.5293305516242981, 0.3639235496520996, 0.3362431526184082, 0.13729943335056305, 0.4329870045185089, 0.2356746643781662, -0.33729445934295654, -0.0424157939851284, -0.4652549624443054, 0.3199409544467926, -0.5230235457420349, -0.7460992336273193, -0.06140558794140816, 0.3372969627380371, 0.25711435079574585, 0.5749632716178894, -0.3088743984699249, 0.287788987159729, -0.09505650401115417, 0.6150072813034058, -1.1438533067703247, -0.055203117430210114, -0.8493691086769104, 0.008102080784738064, -0.6472452878952026, -0.3939814567565918, -0.42818018794059753, -0.46980732679367065, 0.4113834500312805, -0.406526654958725, 0.7113568782806396, 0.11901678889989853, 0.7660945653915405, -0.028117569163441658, -0.8010225892066956, -0.4967063069343567, -0.332457035779953, 0.8763309121131897, -0.6448447108268738, 0.5297257900238037, 0.5362280607223511, 0.35409048199653625, -0.14251278340816498, -0.5830418467521667, -0.5006255507469177, -0.7301666736602783, 0.16301053762435913, -0.10609886795282364, 0.3062330186367035, -0.11382954567670822, 0.22056269645690918, 0.581583559513092, -0.36870038509368896, 0.1215495616197586, -0.7673639059066772, -0.18350353837013245, 0.6797573566436768, 0.18172606825828552, 0.3713728189468384, -0.46186360716819763, -0.18107976019382477, -0.2029409557580948, -0.9881982803344727, 0.28255951404571533, 0.5706928968429565, 0.2804345190525055, -0.1859877109527588, 1.0287810564041138, -0.07633604109287262, 0.5199307203292847, 0.4910619854927063, 0.1531451791524887, 0.1991552710533142, -0.04912691190838814, -0.17321376502513885, 0.12986385822296143, 0.17331580817699432, -0.22842885553836823, -0.10923099517822266, -0.23379014432430267, -0.31755688786506653, 0.3578627407550812, 0.6351688504219055, -0.635819673538208, -0.3405408561229706, 0.244413360953331, -0.12398035824298859, -0.5219207406044006, 0.16715991497039795, -0.8720245957374573, -0.5731778144836426, -0.8090217709541321, 0.5058181285858154, -0.6819074153900146, 0.14256393909454346, -0.010672801174223423, -0.4563324749469757, 0.25553014874458313, 0.40047532320022583, -0.6719009876251221, 0.5745559930801392, 0.7958177924156189, 0.7079657912254333, -0.4580034911632538, 0.2027071863412857, -0.9293460845947266, 0.06663425266742706, -0.39303871989250183, 0.9220239520072937, -0.765340268611908, -0.24662676453590393, -0.24602003395557404, 0.09426859021186829, -0.19538860023021698, -0.5290042757987976, 0.7141486406326294, -0.8881054520606995, -0.04857971519231796, -0.18426613509655, -0.44065600633621216, -0.25251713395118713, 0.5834389925003052, -0.7984257340431213, 1.0440131425857544, 0.4787011444568634, -0.5360219478607178, 0.4360167384147644, -0.3249059319496155, -0.5448200702667236, -0.09888731688261032, -0.4594304859638214, -0.7593963146209717, 0.430477112531662, -0.007556420750916004, 0.1632445603609085, -0.2269413024187088, 0.1945197433233261, -0.5255308747291565, -0.40407484769821167, -0.08165054768323898, -0.3514270782470703, 1.1098452806472778, 0.39355191588401794, -0.5655518174171448, 0.08296670764684677, -0.7131432890892029, 0.05863047018647194, -0.18094953894615173, -0.09077412635087967, -0.7359313368797302, 0.1262608766555786, -0.1805010288953781, 0.09179519861936569, 0.0842190757393837, -0.7610685229301453, -0.11838903278112411, -0.48919638991355896, 0.24931664764881134, 0.557873010635376, 0.4864436984062195, 0.6970824003219604, -0.4769834578037262, 0.385964035987854, 0.326638787984848, 0.14234298467636108, 0.31450173258781433, -0.286819726228714, -0.5975446105003357, -0.040964677929878235, 0.18897590041160583, 0.6382410526275635, -0.7668979167938232, 0.01685861498117447, 0.05948282778263092, -0.9975559711456299, -0.17732279002666473, 0.31851065158843994, 0.41880038380622864, 0.5861626267433167, 0.5709915161132812, -0.5238931179046631, -0.5291348695755005, -0.5972381830215454, 0.09531562775373459, 0.011435571126639843, 0.2608182430267334, 0.08663654327392578, 0.686465322971344, 0.08585408329963684, 0.434827595949173, -0.5022071003913879, -0.41731488704681396, 0.0014294128632172942, 0.3490276038646698, 0.19428135454654694, 0.4543282389640808, 0.5339065194129944, -1.2352560758590698, -0.2271711379289627, -0.5687505006790161, -0.3941403329372406, -0.05144030228257179, -0.0710185095667839, -0.15308386087417603, 0.33014976978302, 0.21060599386692047, -0.49059316515922546, 0.6861023306846619, 0.17318491637706757, -0.25702542066574097, 1.02418851852417, -0.16570335626602173, 0.32645919919013977, -0.632085382938385, -0.13863129913806915, 0.316516250371933, 0.3685972988605499, -0.2775876820087433, 0.3991740047931671, 0.41119372844696045, -0.15587347745895386, -0.6999834775924683, 0.305327445268631, -0.7673314809799194, 0.1767292618751526, -0.00902277510613203, 0.0965026393532753, 0.1468547284603119, 0.3033595681190491, 0.07936710864305496, 1.1319146156311035, 0.20986667275428772, -0.9898895025253296, 0.18733473122119904, 0.24184049665927887, -0.3885311782360077, 1.1717764139175415, -0.4429054260253906, -0.18348488211631775, -0.352603942155838, 0.03576528653502464, -0.7984479665756226, -0.08408454060554504, -0.09991002082824707, -0.14641012251377106, 0.5965768694877625, -0.12091363221406937, -0.042011894285678864, -0.4649895429611206, -0.8941426873207092, 0.35170820355415344, 0.007238829042762518, -0.08967883139848709, 0.28766459226608276, 0.6509784460067749, -0.023708723485469818, -0.4868849813938141, -0.6307753920555115, 0.26389896869659424, -0.24394828081130981, -0.318629652261734, 0.5651546120643616, 0.06941474229097366, -0.3777099847793579, 0.23012839257717133, -0.3117918074131012, -0.3373205065727234, 0.15095371007919312, 0.1324739307165146, 0.2241140455007553, -0.3184363543987274, 0.13668693602085114, 0.18089258670806885, 0.22870904207229614, -0.043759796768426895, 0.055913154035806656, 0.5449782013893127, -0.0878186896443367, -0.7000581622123718, -0.4925272762775421, 0.25750553607940674, 0.22122949361801147, -0.5791624188423157, 0.31967124342918396, 0.3320402503013611, -0.4061910808086395, -0.11703947186470032, -0.9764150381088257, -0.1998392939567566, -0.443660706281662, 0.19989624619483948, -0.34813135862350464, -0.635000467300415, 0.2510819435119629, 0.2739796042442322, -0.11238448321819305, 0.496273398399353, 0.4809361696243286, -0.18077057600021362, 0.5060157179832458, 0.4984937012195587, 0.16107280552387238, 0.5311164855957031, -0.5573408007621765, 0.06277123093605042, -0.9934431314468384, -0.4662986099720001, -0.8854781985282898, -0.24022698402404785, -0.5252242684364319, -0.3617456257343292, 0.5685001611709595, -0.029992228373885155, -0.4488038122653961, 0.7201749086380005, -0.5322115421295166, 0.08839753270149231, 0.6496567726135254, 0.5897458791732788, 0.2057024985551834, -0.012253417633473873, -0.022905675694346428, -0.2185421586036682, -0.30699479579925537, -0.44176527857780457, 1.0095821619033813, -0.35610195994377136, 0.9457862973213196, 0.47771626710891724, 0.9343881011009216, 0.4423484802246094, 0.4571399986743927, -0.879289448261261, 0.5769113898277283, -0.23288677632808685, -0.8462467789649963, -0.3543841540813446, -0.2731035053730011, -0.9821999073028564, -0.11587658524513245, -0.44762933254241943, -0.7023685574531555, 0.5679004192352295, -0.21044935286045074, -0.5930904746055603, 0.2541574537754059, -0.8381065130233765, 0.2851075232028961, -0.2604462504386902, -0.6302781701087952, -0.5742700099945068, -0.42246514558792114, 0.3681606352329254, -0.22603540122509003, -0.07312493771314621, -0.0961010754108429, -0.2569196820259094, 0.6052038073539734, -0.2590717077255249, 0.8708188533782959, -0.264975905418396, 0.03203277662396431, 0.8566383123397827, 0.4888025224208832, 0.4265270233154297, 0.2532578408718109, -0.5446844696998596, -0.21117530763149261, 0.4879211187362671, -0.37530314922332764, -0.835658073425293, 0.7540625929832458, -0.5471906065940857, -0.8921012282371521, -0.6249750852584839, -0.4329336881637573, -0.16235432028770447, 0.22461391985416412, -0.05007680505514145, 0.8683744072914124, -0.06471295654773712, 0.3707854449748993, 0.7157445549964905, -0.07806005328893661, 0.22268934547901154, 0.6790025234222412, 0.5198315978050232, -0.2992050349712372, 0.7953737378120422, 0.8253568410873413, -0.1320050209760666, 0.5219410061836243, 0.030449070036411285, -0.5814970135688782, -0.8271998763084412, -0.2378012239933014, 0.12837301194667816, -0.30177927017211914, -0.3873395621776581, -0.5296146273612976, -0.3802667558193207, -0.6320427060127258, -0.3067341148853302, -0.0905606597661972, -0.6516452431678772, -0.48891332745552063, -0.0788341835141182, 0.15637007355690002, 0.4995691180229187, -0.02719682641327381, 0.10744836926460266, -0.6563634276390076, 0.5206617116928101, 0.05332118645310402, 0.42187416553497314, 0.148818701505661, -0.5795627236366272, 0.13202625513076782, -0.0743790790438652, -0.7994692325592041, -1.1604889631271362, 0.3249675929546356, 0.08537676185369492, 0.7513236403465271, 0.20149560272693634, 0.5172731876373291, 1.0254203081130981, -0.4632098972797394, 0.7909189462661743, -0.10728426277637482, -0.6595873832702637, 0.6319268941879272, -0.21136689186096191, -0.1334083378314972, 0.9521251916885376, 0.4692293107509613, -0.23394355177879333, -0.5836295485496521, -0.7616815567016602, -0.8762320876121521, 0.3476130962371826, 0.1650620847940445, 0.45299485325813293, -0.46935394406318665, 0.6007235050201416, -0.10620169341564178, 0.05622651427984238, -0.17701011896133423, 0.17697586119174957, 0.03687644004821777, -0.32288873195648193, 0.16028036177158356, -0.4836786091327667, -0.04715301841497421, -0.31119757890701294, 1.1110650300979614, 0.23144055902957916, 0.057512067258358, 0.483328640460968, -0.4426632225513458, 0.10651034861803055, 0.6371891498565674, 0.6160433292388916, 0.5927937626838684, -0.38434284925460815, 0.5132019519805908, 0.41026660799980164, -0.7972788214683533, 0.42465245723724365, 0.07700590044260025, -0.20976203680038452, -0.3044869899749756, 0.02030760981142521, 0.0515686497092247, 0.6551056504249573, -0.4723060429096222, 0.579950213432312, 0.2056300789117813, 0.10027656704187393, -0.8231258392333984, 0.3917449712753296, -0.3191782832145691, 0.2827260494232178, 0.737459123134613, -0.037642065435647964, 0.3563437759876251, -0.4528470039367676, 0.8346176147460938, 0.4494510889053345, -0.5685240626335144, -0.2628675699234009, 0.7731220722198486, -0.10752703994512558, -0.3170689642429352, 0.5070840716362, -0.29285648465156555, -0.07846204191446304, 0.8842481374740601, 0.6173126101493835, 0.5375943183898926, 0.029959583654999733, 0.15888668596744537, 0.5442963242530823, 0.30349984765052795, -0.23497261106967926, 0.3200788199901581, -0.3027825951576233, -0.2201090008020401, -0.35966384410858154, -0.5483898520469666, -0.45640403032302856, 0.06956245005130768, -0.8634485006332397, 0.7775037288665771, -0.4904053807258606, -0.3947940170764923, -0.17549368739128113, 0.7301697134971619, -0.5022574067115784, 0.3681478500366211, -0.11163942515850067, 1.4675514698028564, -0.5836206078529358, 0.6211669445037842, 0.6605129241943359, -0.7787336111068726, -0.7244758605957031, -0.38700437545776367, 0.33076193928718567, -0.5089734792709351, 0.6234274506568909, 0.0069056348875164986, -0.05844718590378761, 0.19469910860061646, -0.5436863303184509, -0.6938028931617737, 1.1922991275787354, 0.06646211445331573, -0.41671106219291687, -0.3379593789577484, -0.08344872295856476, 0.5667855739593506, 0.11683643609285355, 0.31305375695228577, 0.27738645672798157, 0.3019196093082428, 0.1120317280292511, -0.46479007601737976, 0.04215716943144798, -0.3292877972126007, 0.016803814098238945, 0.17015565931797028, -0.24955233931541443, 0.8314279317855835, -0.2512727379798889, -0.38756895065307617, 0.4570235311985016, 0.8642657995223999, 0.5277028679847717, 0.6125079989433289, 0.5316694378852844, 0.732020914554596, 0.6692594885826111, 0.042339082807302475, 0.936231255531311, -0.31883230805397034, 0.2909165322780609, 1.3708223104476929, -0.26872825622558594, 0.9854359030723572, 0.8108392357826233, -0.06265625357627869, 0.7249088287353516, 0.5320161581039429, -0.1569506824016571, 0.47098442912101746, 0.1722317487001419, -0.4112147092819214, -0.21289053559303284, -0.08306432515382767, -0.26708728075027466, 0.470445454120636, 0.5162615776062012, -0.004749791231006384, -1.0657192468643188, -0.11701486259698868, -0.20201776921749115, 0.44048041105270386, -0.26957377791404724, 0.3556562662124634, 0.32864564657211304, -0.657983124256134, 0.14657966792583466, 0.25067049264907837, 0.5474593639373779, -0.5936759114265442, -0.221989244222641, 0.0001445033267373219, -0.06642675399780273, -0.29666072130203247, -0.9498254656791687, 0.7378123998641968, -0.04979853332042694, -0.09694653004407883, 0.2755185663700104, 0.732760488986969, -0.1278442144393921, -0.516132116317749, -0.06847530603408813, 0.5349480509757996, -0.11607608944177628, -0.008368766866624355, -0.5391882658004761, -0.32963407039642334, -0.5450730919837952, -0.3515512943267822, 0.21541933715343475, 0.6029500365257263, -0.7868843078613281, 0.478792279958725, 0.7326037883758545, 0.14865998923778534, 0.10554227232933044, -0.06260425597429276, 0.8074767589569092, -0.6852765083312988, -0.39986228942871094, -0.7124683260917664, 0.22888411581516266, -0.2307719588279724, -0.13609397411346436, 0.8132256865501404, 0.7577723860740662, 0.8156896829605103, 0.09764730930328369, 0.16376717388629913, -0.3466619551181793, 0.42068928480148315, -0.3260512351989746, 0.833019495010376, -0.43371808528900146, 0.3412971496582031, -0.19098424911499023, -0.6739854216575623, -0.4145931005477905, 0.4043940305709839, -0.9994100332260132, -0.3316306173801422, 0.5224313735961914, 1.269455075263977, -0.4101702570915222, 0.1707308292388916, 0.06290784478187561, -0.07821960747241974, 0.38232505321502686, 0.591642439365387, 0.649965763092041, -0.4743820130825043, 0.37886112928390503, -0.6648164391517639, -0.00895614828914404, 0.02586078643798828, -0.6799963116645813, -0.6673395037651062, -0.6706281304359436, -0.15865391492843628, -0.45360592007637024, 0.15124066174030304, 0.9763219356536865, 0.6692171692848206, -1.0553522109985352, -0.06625182926654816, -0.030557118356227875, 0.13553045690059662, -0.12148130685091019, -0.2964666485786438, 0.6227120161056519, -0.8688194751739502, -0.6045498251914978, 0.26863476634025574, 0.007753830868750811, -0.005330024752765894, -0.02786843851208687, 0.19757355749607086, -0.6402099132537842, 0.2114240974187851, 0.7193683385848999, 0.24969035387039185, -0.20090651512145996, -0.3533698618412018, -0.02278994955122471, -0.5661161541938782, -0.08056453615427017, 0.9351270794868469, -0.8845430016517639, 0.20364966988563538, 0.5549881458282471, 0.8124034404754639, 0.6565344333648682, -0.05654500424861908, 0.12638066709041595, -0.5471689701080322, 0.38350561261177063, 0.4119085967540741, 0.217973530292511, 0.0707131028175354, -0.5621826648712158, 0.6480741500854492, 0.4776916205883026, -0.031797196716070175, -0.8027389645576477, 0.05087935924530029, -1.1156845092773438, -0.22692927718162537, 0.9812280535697937, 0.06729341298341751, -0.6360947489738464, -0.42396077513694763, -0.22015537321567535, 0.46225297451019287, -0.0899663120508194, 1.31037437915802, 0.44593191146850586, 0.13262063264846802, -0.020759256556630135, -0.7166889309883118, 0.14045587182044983, 0.4777880012989044, -0.4693162143230438, -0.6569204926490784, 0.6882328391075134, 0.6177600622177124, 0.10282015055418015, 0.6354075074195862, -0.7000396847724915, 0.4800981283187866, -0.2704513370990753, -0.34981870651245117, -0.35627281665802, -0.2161080241203308, -0.17707906663417816, 0.6167684197425842, -0.1432342827320099, 0.28583279252052307 ]
http://arxiv.org/abs/2404.00589v2
http://arxiv.org/pdf/2404.00589v2
Harnessing the Power of Large Language Model for Uncertainty Aware Graph Processing
2024-03-31T07:38:39
2024-04-12T14:30:10
Zhenyu Qian, Yiming Qian, Yuting Song, Fei Gao, Hai Jin, Chen Yu, Xia Xie
cs.LG
cs.LG, cs.CL
Handling graph data is one of the most difficult tasks. Traditional techniques, such as those based on geometry and matrix factorization, rely on assumptions about the data relations that become inadequate when handling large and complex graph data. On the other hand, deep learning approaches demonstrate promising results in handling large graph data, but they often fall short of providing interpretable explanations. To equip the graph processing with both high accuracy and explainability, we introduce a novel approach that harnesses the power of a large language model (LLM), enhanced by an uncertainty-aware module to provide a confidence score on the generated answer. We experiment with our approach on two graph processing tasks: few-shot knowledge graph completion and graph classification. Our results demonstrate that through parameter efficient fine-tuning, the LLM surpasses state-of-the-art algorithms by a substantial margin across ten diverse benchmark datasets. Moreover, to address the challenge of explainability, we propose an uncertainty estimation based on perturbation, along with a calibration scheme to quantify the confidence scores of the generated answers. Our confidence measure achieves an AUC of 0.8 or higher on seven out of the ten datasets in predicting the correctness of the answer generated by LLM.
[ -0.26634129881858826, -1.0665359497070312, 0.8759850859642029, -0.2754732072353363, -0.23160438239574432, 0.35785922408103943, -0.4151281416416168, -0.6184173822402954, -0.16422170400619507, 0.3115313649177551, -0.47572964429855347, -0.7138367891311646, -0.9772228002548218, -0.12839674949645996, -0.18971820175647736, 0.5579822063446045, -0.26251736283302307, -0.23235978186130524, 0.07007171213626862, 0.0036200296599417925, 0.03126220032572746, -0.30069756507873535, -0.965156078338623, -0.5138673186302185, 0.6948051452636719, 0.5520212650299072, 0.9943479895591736, 0.7815146446228027, 0.27739739418029785, 0.27905428409576416, -0.001256072660908103, 0.5495904684066772, -0.642861008644104, -0.12083888053894043, -0.07094006985425949, -0.4457097351551056, -0.5518909096717834, -0.1893906146287918, 0.7295562028884888, 1.111215353012085, 0.16344569623470306, 0.14392568171024323, 0.1195029616355896, 0.52851402759552, -0.5304067134857178, 0.5167884826660156, -0.7460784316062927, -0.08048376441001892, -0.07316750288009644, -0.006197438575327396, -0.4246496260166168, -0.23875214159488678, -0.04497022181749344, -0.8475100994110107, 0.03249645605683327, 0.2186792492866516, 0.8316445350646973, 0.3361189365386963, -0.30110153555870056, -0.08580990135669708, -0.8712958693504333, 0.43392008543014526, -0.5853238701820374, 0.2726215720176697, 0.5305511951446533, 0.4692497253417969, -0.312244176864624, -0.9311855435371399, -0.6695926785469055, 0.37003985047340393, 0.13392114639282227, -0.1392444670200348, -0.28775906562805176, 0.26078999042510986, 0.18273833394050598, 0.05832565203309059, -0.3674542307853699, 0.4699074327945709, 0.05544121190905571, -0.3758397102355957, 0.6373695135116577, -0.06307429820299149, -0.037640683352947235, -0.06813595443964005, 0.08183369040489197, -0.24578113853931427, -0.6138752102851868, 0.17329201102256775, 0.5596534013748169, 0.5542367100715637, 0.2052735835313797, 0.6041006445884705, -0.5184566378593445, 0.6740615367889404, -0.07280435413122177, 0.05251897871494293, 0.03488204628229141, 0.03135921433568001, -0.4405727982521057, -0.05417975038290024, 0.9367533922195435, 0.16218802332878113, 0.5476598739624023, -0.06974714249372482, 0.026942968368530273, -0.10870661586523056, -0.0796501412987709, -0.8283419013023376, -0.20708219707012177, 0.43100953102111816, -0.0553860105574131, -0.15556523203849792, 0.03807956725358963, -0.6242650151252747, -0.5232008099555969, -0.002959628589451313, 0.18915224075317383, -0.5831968784332275, -0.1618880033493042, 0.2860485017299652, 0.2257707715034485, -0.09652245044708252, 0.5647633671760559, -0.5447016358375549, 0.15666770935058594, 0.8140522837638855, 0.6826908588409424, -0.0025904967915266752, -0.2128048837184906, -0.5743420124053955, 0.03554550185799599, -0.6910523176193237, 0.5442269444465637, -0.6217060089111328, -0.05038357526063919, -0.18088790774345398, -0.0968053936958313, -0.001808773959055543, -0.08072033524513245, 0.4028784930706024, -0.7105566263198853, -0.2972452640533447, 0.042265720665454865, -0.747286856174469, -0.4256519377231598, 0.21572409570217133, -0.45055630803108215, 0.8821885585784912, 0.3263114094734192, -0.8974440693855286, 0.3244638442993164, -0.13092286884784698, -0.39657390117645264, 0.2361864149570465, -0.04915333166718483, -0.5322455763816833, -0.07291074842214584, 0.5096902251243591, 0.6528463363647461, -0.11685264855623245, 0.2181292176246643, -0.7563743591308594, -0.32993054389953613, 0.4260108172893524, -0.7284968495368958, 0.4710032641887665, 0.19389262795448303, -0.04431867599487305, -0.005636379588395357, -0.6078165769577026, 0.40599673986434937, 0.06537969410419464, -0.20988807082176208, 0.04182858392596245, -0.0773003026843071, -0.37746167182922363, 0.13524234294891357, 0.3665170669555664, -0.38173869252204895, -0.007813462056219578, -0.4124627411365509, 0.4824458658695221, 0.8899239301681519, 0.07576584070920944, 0.36279937624931335, 0.07214989513158798, 0.5223874449729919, -0.26831528544425964, 0.04886113852262497, 0.012612396851181984, -0.4676637351512909, -0.5247220396995544, -0.10549287497997284, 0.4965130686759949, 0.4629979431629181, -0.7771188616752625, 0.3403118848800659, -0.6017075777053833, -0.5991402864456177, -0.4056919515132904, 0.34220001101493835, 0.27284857630729675, 0.7157489061355591, 0.1895938366651535, -0.06461960077285767, -0.32793736457824707, -0.6072402596473694, -0.08235913515090942, -0.24538810551166534, -0.1158752292394638, 0.6059638857841492, 0.29040154814720154, -0.24487534165382385, 0.9195486903190613, -0.840476393699646, 0.04035364091396332, -0.23052705824375153, 0.3072535991668701, 0.24968741834163666, 0.31600862741470337, 0.13912633061408997, -0.7242547869682312, -0.4579254388809204, 0.24154970049858093, -0.7069379091262817, 0.18148069083690643, 0.04018077999353409, -0.14307375252246857, 0.04852216690778732, 0.5765681266784668, -0.6177169680595398, 0.374396413564682, 0.5437915325164795, -0.11666671931743622, 0.3295384347438812, -0.29458433389663696, -0.0374545082449913, -0.9966721534729004, -0.19316838681697845, 0.005913976579904556, -0.6380998492240906, -0.2810286283493042, 0.021999433636665344, -0.15285158157348633, -0.11621196568012238, -0.18664094805717468, 0.2576952576637268, -0.21725770831108093, -0.10383996367454529, -0.19262221455574036, 0.27213504910469055, 0.08358665555715561, 0.253388911485672, -0.1901005208492279, 0.33245933055877686, 0.8784458637237549, -0.4926780164241791, 0.49420931935310364, -0.04610864445567131, -0.42971256375312805, 0.255693644285202, -0.5265458226203918, 0.2730196416378021, -0.1888056844472885, 0.2806739807128906, -1.3795058727264404, -0.6796693801879883, 0.15343445539474487, -0.6831462979316711, 0.5975137948989868, -0.4331556558609009, -0.6124162673950195, -0.6796245574951172, 0.18175891041755676, 0.10976973176002502, 0.37822049856185913, -0.3644164502620697, 0.6800978779792786, 0.27735474705696106, -0.24860206246376038, -0.6938701272010803, -0.6944376826286316, 0.08266597241163254, -0.16112849116325378, -0.6826557517051697, 0.07646816223859787, -0.07759717106819153, -0.0662127435207367, -0.048685286194086075, -0.285934716463089, -0.21659685671329498, 0.4270283281803131, 0.49332156777381897, 0.0005950054619461298, -0.0785706639289856, 0.2988367974758148, 0.08553409576416016, -0.40234261751174927, -0.03103315271437168, -0.4351504147052765, 0.7393315434455872, 0.04494369775056839, -0.4812147617340088, -0.46445536613464355, -0.0710790604352951, 0.4512479305267334, -0.05832097306847572, 0.5318007469177246, 0.7352786660194397, -0.48218730092048645, -0.36840832233428955, -0.14804145693778992, -0.07159392535686493, -0.48498624563217163, 0.5441579222679138, -0.5015639662742615, -1.0366663932800293, 0.6336644887924194, -0.4642445743083954, -0.2910933792591095, 0.41163185238838196, 0.18897375464439392, -0.2646062672138214, 1.1363279819488525, 0.49381521344184875, -0.20683056116104126, 0.30615273118019104, -0.24548164010047913, 0.3919376730918884, -0.4154804050922394, 0.1269698292016983, -0.44180113077163696, -0.2590501308441162, -0.5593894720077515, -0.6060804128646851, 0.22902829945087433, 0.26004260778427124, -0.4632430970668793, 0.04478352516889572, -0.3873307406902313, 0.43119099736213684, 0.358359158039093, 0.3678204119205475, 0.29544970393180847, 0.08171065896749496, 0.06081591546535492, 0.28790080547332764, -0.7208378314971924, -0.47605735063552856, 1.0871936082839966, 0.464146226644516, 0.9847445487976074, -0.2301998734474182, 0.5091407299041748, -0.05696161463856697, 0.10852231085300446, -0.8207573890686035, 0.3694676458835602, -0.17960892617702484, -0.19431324303150177, -0.8127738833427429, -0.7741934061050415, -0.9598195552825928, -0.016333380714058876, -0.3575407564640045, -1.0688527822494507, -0.16424432396888733, 0.2594425082206726, -0.5460044145584106, 0.42816361784935, -0.6779547333717346, 0.6500231027603149, -0.11390994489192963, -0.2571118175983429, -0.050587549805641174, -0.5999986529350281, 0.11481612175703049, -0.24801015853881836, 0.4486762583255768, -0.2728671431541443, 0.21973487734794617, 0.5290561318397522, -0.3429308533668518, 0.972446858882904, -0.1401597410440445, -0.119279645383358, 0.36610379815101624, 0.34785279631614685, 0.888235867023468, 0.2187708467245102, -0.4368671178817749, 0.22852876782417297, -0.38816413283348083, -0.1975082904100418, -0.7907070517539978, 0.6806166768074036, -0.7378273606300354, -0.5005546808242798, 0.0002154290850739926, -0.8413944244384766, -0.3553794324398041, 0.4706696569919586, 0.48044583201408386, 0.22644126415252686, 0.13240185379981995, 0.041128065437078476, 0.5875572562217712, -0.14751191437244415, 0.32752716541290283, 0.16353999078273773, -0.23216460645198822, -0.22205835580825806, 0.8643257021903992, 0.528890073299408, 0.3794735074043274, 0.340483158826828, 0.2747000753879547, -0.2119751274585724, -0.8786966800689697, -0.29313454031944275, 0.04087027534842491, -0.6727965474128723, -0.24783191084861755, -0.6247494220733643, -0.27752137184143066, -0.43940481543540955, -0.25759002566337585, -0.43794846534729004, -0.387649804353714, -0.3208329975605011, -0.5178372859954834, 0.5309372544288635, 0.7014710307121277, 0.1105775386095047, 0.62836092710495, -0.36915671825408936, 0.23144401609897614, 0.45246177911758423, 0.7120855450630188, -0.15767808258533478, -0.3727775812149048, -0.2424219697713852, 0.3018702566623688, 0.0996575653553009, -0.649827778339386, 0.25910088419914246, 0.1812988817691803, 0.3189812898635864, 0.4461049735546112, 0.17697161436080933, 0.6545891761779785, -0.2157907336950302, 0.5330860614776611, -0.08359585702419281, -1.039591670036316, 0.44325774908065796, -0.2635020315647125, 0.17468483746051788, 0.48038631677627563, 0.3563989996910095, -0.16567882895469666, -0.48508572578430176, -0.740249752998352, -1.0892448425292969, 0.5199818015098572, 0.12286241352558136, 0.016049465164542198, 0.29217612743377686, 0.6897390484809875, -0.086334727704525, 0.19730323553085327, -0.4545169174671173, -0.197688028216362, -0.043231431394815445, -0.3535204529762268, -0.4378240406513214, -0.11581561714410782, -0.16662217676639557, -0.13388879597187042, 0.5878247618675232, -0.7514536380767822, 0.02070705220103264, 0.0796831026673317, -0.09821368008852005, -0.3614875376224518, 0.1799485981464386, 0.022959569469094276, 0.7827150821685791, -0.18064060807228088, 0.4759231507778168, 0.2594947814941406, -0.2993074059486389, -0.13658888638019562, 0.36062267422676086, -0.13060829043388367, -0.2854457497596741, 0.5866879820823669, 0.740456759929657, -0.06473538279533386, -0.4629727005958557, 0.3437325656414032, -0.0654987022280693, -0.07985568791627884, -0.12615203857421875, 0.07689723372459412, 0.2717730700969696, 0.1545446664094925, 0.3739279806613922, -0.04245854169130325, 0.0383225753903389, -0.084156334400177, 0.14999015629291534, 0.46585613489151, -0.583096981048584, -0.031711045652627945, 0.5177235007286072, -0.3491131067276001, -0.06083919480443001, 0.6600217223167419, -0.3317728042602539, -0.4259962737560272, 0.7761387825012207, 0.4659103453159332, 0.3486822843551636, -0.13442741334438324, 0.3810345232486725, 0.3501867651939392, 0.3347747027873993, 0.09907499700784683, 0.23016926646232605, 0.25540199875831604, -1.0792454481124878, -0.665870726108551, -0.5367673635482788, -0.4585284888744354, -0.11010662466287613, -0.5176337361335754, -0.10445284098386765, -0.5786615014076233, -0.25461968779563904, 0.1702011227607727, 0.1131758913397789, -0.7993637919425964, 0.4172131419181824, 0.17284135520458221, 0.7803552150726318, -0.9273136854171753, 0.8207078576087952, 0.42932286858558655, -0.1610339730978012, -1.290732979774475, -0.17940086126327515, -0.1863204836845398, -0.947607696056366, 0.3421629071235657, 0.1737997680902481, -0.2547397017478943, 0.05514831840991974, -0.8714840412139893, -1.030396819114685, 1.1628737449645996, 0.7776498198509216, -0.6069733500480652, 0.18437735736370087, 0.2412140667438507, 0.5081971287727356, -0.33100104331970215, 0.00009035976836457849, 0.541474461555481, 0.6886317133903503, 0.3819442689418793, -0.6145507097244263, 0.2618844211101532, 0.21596749126911163, -0.1668141633272171, 0.01862582564353943, -0.5740344524383545, 0.9634107947349548, -0.3903975784778595, -0.28199896216392517, -0.2568131685256958, 0.6813132762908936, 0.1046043112874031, 0.3608400225639343, 0.541293203830719, 0.42972302436828613, 1.540626049041748, -0.16303955018520355, 1.3246097564697266, -0.3099176287651062, 0.4948976933956146, 1.4718250036239624, -0.23252466320991516, 0.7001892924308777, 0.19680853188037872, -0.27549585700035095, 0.5098868012428284, 0.9460573196411133, 0.3196369409561157, 0.06023518741130829, 0.20273712277412415, -0.03724823519587517, -0.7133193612098694, -0.0713350772857666, 0.09177587181329727, 0.5547874569892883, 0.6947314143180847, -0.3973359763622284, -0.18456563353538513, -0.17199304699897766, 0.11917481571435928, -0.01611017808318138, -0.5092033743858337, 0.5912317037582397, 0.21076759696006775, -0.3662719428539276, 0.3945572078227997, -0.06878731399774551, 0.21215790510177612, -0.6299667358398438, 0.06378892809152603, 0.23632247745990753, 0.14619871973991394, -0.2823757827281952, -1.1725090742111206, 0.07238324731588364, -0.35670384764671326, -0.1647484302520752, -0.05919552966952324, 0.8162850737571716, -0.24122585356235504, -0.7261164784431458, 0.38207894563674927, 0.4596182405948639, 0.08954425901174545, -0.2606041431427002, -0.4945656955242157, -0.06907264143228531, -0.02894163317978382, -0.2557535171508789, 0.1519726812839508, 0.7175596356391907, -0.03517608717083931, 0.9949700832366943, 0.5388228297233582, 0.20537780225276947, -0.10720799118280411, -0.020680418238043785, 0.9062875509262085, -0.07649070769548416, -0.245675191283226, -0.9159160852432251, 0.17976026237010956, -0.04252491891384125, -0.17041048407554626, 0.7777543663978577, 0.3611382246017456, 0.5611003041267395, 0.37511518597602844, 0.9566324949264526, 0.1246022954583168, 0.21351096034049988, -0.48494571447372437, 0.6450487971305847, -0.2483263611793518, 0.018657589331269264, -0.41094541549682617, -0.6435860395431519, -0.5093530416488647, 0.6078709959983826, -0.4699647128582001, 0.07593491673469543, 0.4927098751068115, 0.7148623466491699, -0.03181103244423866, -0.17509916424751282, 0.24809865653514862, 0.6080396771430969, 0.30483078956604004, 0.642946720123291, 0.24807752668857574, -0.2697211802005768, 0.7027820944786072, -0.28217265009880066, -0.24095173180103302, 0.010080288164317608, -0.9962068796157837, -0.6445037722587585, -0.3209216296672821, -0.29668670892715454, -0.6180446743965149, -0.25059226155281067, 0.6718358397483826, 1.0058900117874146, -0.6690002679824829, 0.24381473660469055, -0.21898800134658813, 0.5855055451393127, -0.3571265935897827, -0.2101912498474121, 0.6128771901130676, -0.18550965189933777, -0.7242828011512756, 0.3608606457710266, 0.20077839493751526, 0.2350003570318222, -0.08702495694160461, -0.11770641058683395, -0.013767130672931671, 0.1017773225903511, 0.34790897369384766, 0.1983744502067566, -0.3668597638607025, -0.8207288384437561, -0.2132120579481125, -0.03515959903597832, 0.13375213742256165, 0.3843137323856354, -0.5404061079025269, 0.694928765296936, 0.3476153612136841, 0.6576003432273865, 0.8539007902145386, 0.1364932507276535, 0.6604509949684143, -0.9479765892028809, -0.08124297112226486, 0.06848257780075073, 0.588910698890686, 0.5837912559509277, -0.8128547072410583, 0.5071693658828735, -0.025411756709218025, -0.49684154987335205, -0.5725583434104919, 0.5308811664581299, -0.9988254904747009, -0.4333581030368805, 1.0614242553710938, -0.5372395515441895, -0.3952780067920685, -0.17336055636405945, -0.0284920372068882, 0.6150110363960266, -0.30963560938835144, 0.42261889576911926, 0.8039308786392212, -0.1763264536857605, -0.1665997952222824, -0.23380672931671143, 0.23345239460468292, -0.07038155943155289, -0.7956177592277527, 0.2895957827568054, 0.4446774125099182, 0.37181413173675537, 0.20072084665298462, 0.5450883507728577, 0.17640143632888794, -0.07140884548425674, 0.13961440324783325, 0.006350686773657799, -0.2457251399755478, -0.39319106936454773, -0.24773764610290527, 0.5981260538101196, 0.35120928287506104, 0.12335554510354996 ]
http://arxiv.org/abs/2404.01343v2
http://arxiv.org/pdf/2404.01343v2
CHOPS: CHat with custOmer Profile Systems for Customer Service with LLMs
2024-03-31T07:11:48
2024-04-15T06:03:56
Jingzhe Shi, Jialuo Li, Qinwei Ma, Zaiwen Yang, Huan Ma, Lei Li
cs.CL
cs.CL, cs.AI
Businesses and software platforms are increasingly turning to Large Language Models (LLMs) such as GPT-3.5, GPT-4, GLM-3, and LLaMa-2 for chat assistance with file access or as reasoning agents for customer service. However, current LLM-based customer service models have limited integration with customer profiles and lack the operational capabilities necessary for effective service. Moreover, existing API integrations emphasize diversity over the precision and error avoidance essential in real-world customer service scenarios. To address these issues, we propose an LLM agent named CHOPS (CHat with custOmer Profile in existing System), designed to: (1) efficiently utilize existing databases or systems for accessing user information or interacting with these systems following existing guidelines; (2) provide accurate and reasonable responses or carry out required operations in the system while avoiding harmful operations; and (3) leverage a combination of small and large LLMs to achieve satisfying performance at a reasonable inference cost. We introduce a practical dataset, the CPHOS-dataset, which includes a database, guiding files, and QA pairs collected from CPHOS, an online platform that facilitates the organization of simulated Physics Olympiads for high school teachers and students. We have conducted extensive experiments to validate the performance of our proposed CHOPS architecture using the CPHOS-dataset, with the aim of demonstrating how LLMs can enhance or serve as alternatives to human customer service. Code for our proposed architecture and dataset can be found at {https://github.com/JingzheShi/CHOPS}.
[ -0.3567109704017639, -0.52580326795578, 0.4709700047969818, 0.3837665319442749, -0.12838925421237946, 0.6288209557533264, 0.022051820531487465, -0.6561071276664734, 0.5759769678115845, 0.8487734794616699, -0.6877552270889282, -0.26420918107032776, -0.12646040320396423, -0.04604951664805412, -0.3551121652126312, 0.6323392987251282, 0.16791224479675293, 0.23996050655841827, -0.2759772837162018, 0.34503403306007385, -0.6370123028755188, -0.709083080291748, -0.8332036733627319, -0.511658787727356, 0.2881704568862915, 0.7365849018096924, 0.8144307136535645, 0.6536075472831726, 0.6750070452690125, 0.3413737714290619, 0.0533868633210659, 0.4173556864261627, -0.5683356523513794, 0.3680233955383301, -0.2666972577571869, -0.4968928098678589, -0.70923912525177, -0.12660466134548187, 0.42238959670066833, 0.6635177135467529, -0.345939040184021, -0.09769264608621597, 0.11839409917593002, 0.5011888146400452, -0.23516511917114258, -0.007417906075716019, -0.7829723358154297, -0.011917144991457462, -0.21776238083839417, -0.16799992322921753, -0.32478490471839905, -0.19929508864879608, 0.2225809544324875, -0.7273730039596558, -0.3570407032966614, 0.20180141925811768, 0.8554776906967163, -0.031132560223340988, -0.15233637392520905, -0.2957802414894104, -0.7642953395843506, 0.8436996340751648, -0.4292270243167877, 0.2935650944709778, 0.4933680593967438, 0.7169737219810486, -0.4466026723384857, -0.6561831831932068, -0.061725396662950516, 0.11025090515613556, 0.05297742038965225, 0.152547687292099, -0.04030143842101097, 0.020558370277285576, 0.27030596137046814, 0.28564971685409546, -0.43954870104789734, 0.3214532434940338, -0.44959887862205505, -0.19426515698432922, 0.587803840637207, 0.7234583497047424, 0.05317406356334686, -0.06275606900453568, -0.40245136618614197, 0.0379796028137207, -0.4168974757194519, 0.3459585905075073, 0.5717501044273376, 0.5744766592979431, -0.1732514649629593, 0.5671032667160034, -0.3072268068790436, 0.38973119854927063, -0.09131290763616562, -0.4222352206707001, 0.030405806377530098, 0.054694853723049164, -0.2163349986076355, -0.21135936677455902, 0.7876027226448059, 0.34367835521698, 0.3519114553928375, -0.10383075475692749, -0.21178856492042542, -0.10786779969930649, 0.2112991213798523, -0.8790046572685242, -0.2368309199810028, 0.37047064304351807, -0.2986142039299011, -0.34050264954566956, -0.06941457092761993, -0.7643103003501892, -0.48599234223365784, -0.40150636434555054, -0.05669422447681427, -0.6310820579528809, -0.07912787050008774, 0.09188869595527649, -0.13338300585746765, 0.27439549565315247, 0.401251882314682, -0.7679466605186462, 0.9571723937988281, 0.965480625629425, 0.90156489610672, -0.5046060681343079, -0.313988596200943, -0.5075998306274414, 0.17309097945690155, -0.29889944195747375, 0.965775728225708, -0.860895037651062, -0.6279712915420532, 0.13497242331504822, -0.07922324538230896, 0.331403911113739, -0.8070048689842224, 0.5845295190811157, -0.46601948142051697, 0.0033339466899633408, -0.25304463505744934, -0.6820260882377625, 0.1946302056312561, 0.4072829782962799, -0.29570096731185913, 1.0079002380371094, 0.054333556443452835, -0.3441958427429199, -0.11390174925327301, -0.5939949750900269, -0.4144461750984192, 0.3768482804298401, -0.12660138309001923, -0.2598930299282074, -0.17371483147144318, 0.1439645141363144, 0.3006178140640259, -0.31879907846450806, 0.03141374513506889, -0.649790346622467, -0.6061475276947021, 0.4600300192832947, -0.13926544785499573, 0.6608618497848511, 0.35543254017829895, 0.4897565245628357, 0.052263546735048294, -0.4041610360145569, 0.14556893706321716, 0.18039998412132263, -0.3558122217655182, 0.004090616479516029, 0.13458479940891266, 0.024589786306023598, 0.013928605243563652, 0.22442877292633057, -0.4851424992084503, 0.4454273581504822, -0.3360741436481476, 0.5273436307907104, 0.6371214985847473, 0.03931949660181999, 0.20915673673152924, -0.48532629013061523, 0.7540712356567383, 0.031782831996679306, 0.3537924587726593, -0.40287071466445923, -0.5761725902557373, -0.33141395449638367, -0.48202893137931824, -0.033309999853372574, 0.7202662825584412, -0.6984369158744812, 0.27697762846946716, -0.27813124656677246, -0.5416474938392639, -0.23372414708137512, 0.12593670189380646, 0.19408637285232544, 0.5248899459838867, 0.15648537874221802, -0.26471129059791565, -0.6597365736961365, -1.1009178161621094, -0.4360249936580658, -0.1445230394601822, -0.43244636058807373, 0.6671275496482849, -0.030219707638025284, -0.002446073107421398, 1.1778326034545898, -0.7639715671539307, -0.27866116166114807, -0.16790582239627838, -0.35420718789100647, 0.17591971158981323, 0.2992017865180969, 0.2185867875814438, -0.5622637867927551, -0.6327991485595703, -0.15205018222332, -0.4286588728427887, -0.21025218069553375, 0.015700813382864, -0.3187311887741089, -0.04382527247071266, 0.17865177989006042, -0.5351867079734802, 0.2428549975156784, 0.45691630244255066, -0.160124734044075, 0.6957515478134155, 0.051200155168771744, 0.02985762618482113, -1.0258678197860718, -0.05493909493088722, -0.037313129752874374, -0.7335216403007507, -0.7897851467132568, -0.4443625211715698, -0.10903575271368027, -0.48096317052841187, -0.7712035775184631, 0.43280544877052307, -0.08176781237125397, -0.6326569318771362, -0.3654412627220154, 0.2540989816188812, 0.2525534927845001, 0.5501442551612854, -0.08621545135974884, 1.0425313711166382, 0.5323663353919983, -0.5039991736412048, 0.3742557466030121, 0.4838269054889679, -0.10678590089082718, 0.8858224749565125, -0.5357711315155029, 0.1759309023618698, 0.31170380115509033, 0.275362491607666, -0.7128255367279053, -0.449737548828125, 0.4117670953273773, -0.368129700422287, -0.06645891070365906, -0.25566208362579346, -0.44435402750968933, -0.4967576861381531, -0.3898889720439911, 0.04595709964632988, 0.6063897013664246, -0.4555477201938629, 0.6180094480514526, 0.8132857084274292, -0.07551147043704987, -0.3806791603565216, -0.573067843914032, 0.38533544540405273, -0.27627286314964294, -0.6483460068702698, 0.34965190291404724, -0.1426529735326767, -0.2417634129524231, -0.252210408449173, 0.0675329715013504, -0.5010120272636414, 0.0901244729757309, 0.3308914601802826, 0.3965183198451996, 0.056296207010746, 0.0013245379086583853, -0.007350477389991283, 0.030281027778983116, -0.009464757516980171, -0.24305415153503418, 0.8468815088272095, -0.3051608204841614, -0.3202233910560608, -0.6729081869125366, 0.23335672914981842, 0.708198070526123, -0.014809397980570793, 0.25490862131118774, 0.005638599395751953, -0.29984045028686523, -0.07416386902332306, -0.5837118029594421, -0.31702667474746704, -0.6120185852050781, 0.248930886387825, -0.4894678592681885, -0.8269972801208496, 0.9435527920722961, -0.14376768469810486, 0.09676792472600937, -0.24955318868160248, 0.48130765557289124, -0.3359564542770386, 0.8829668164253235, 0.33188918232917786, -0.10183011740446091, 0.5627862215042114, 0.04796750470995903, 0.09959861636161804, -0.9079490303993225, -0.232699915766716, -0.5468518137931824, -0.27639392018318176, -0.3776189684867859, -0.41992074251174927, 0.18650352954864502, 0.04100516438484192, -0.3322833776473999, 0.21824496984481812, -0.4755621552467346, 0.7329326272010803, 0.14052589237689972, 0.08887236565351486, 0.3606671392917633, 0.023033004254102707, 0.04279475659132004, -0.19667762517929077, -0.4252002537250519, -0.6939767003059387, 0.688656747341156, 0.6532251238822937, 0.9036160707473755, -0.09499663859605789, 0.45568013191223145, 0.17115874588489532, 0.30712059140205383, -1.0318646430969238, 0.6680575013160706, -0.17554810643196106, -0.5481386184692383, -0.3200444281101227, -0.41358476877212524, -0.8140608072280884, 0.28680238127708435, 0.11629138141870499, -0.9480636715888977, -0.01575889252126217, 0.12096023559570312, -0.17295058071613312, 0.4367583692073822, -0.4529370963573456, 0.4798642694950104, -0.261726051568985, -0.3407512605190277, -0.025643659755587578, -0.3238440454006195, 0.5115328431129456, -0.005718712229281664, 0.22333016991615295, -0.5265016555786133, -0.21892447769641876, 0.6275049448013306, -0.5228237509727478, 0.9184524416923523, -0.18024897575378418, 0.17200788855552673, 0.3876021206378937, 0.39141565561294556, 0.6641737818717957, 0.07866623252630234, -0.22699882090091705, 0.22527115046977997, 0.19210311770439148, -0.31896209716796875, -0.5559377670288086, 0.6653947830200195, -0.7937929034233093, -0.4420648217201233, -0.10246303677558899, -0.7399139404296875, -0.5591223835945129, 0.27987468242645264, -0.34312665462493896, 0.13417838513851166, -0.1218542531132698, 0.14212998747825623, 0.2950853109359741, -0.014550626277923584, 0.21359622478485107, 0.6774015426635742, -0.733571469783783, -0.37881213426589966, 0.8718199133872986, 0.05399063602089882, 0.119341179728508, 0.03224053606390953, 0.20939262211322784, -0.22905798256397247, -0.3549014627933502, -0.2239154428243637, 0.2815406322479248, -0.5448310971260071, -0.45604828000068665, -0.483447790145874, -0.12875592708587646, -0.2737313508987427, -0.24184316396713257, -0.6102712750434875, -0.19105710089206696, -0.3219392001628876, 0.14574699103832245, 0.3168603479862213, 0.5421434044837952, 0.27853184938430786, 0.6131824851036072, -0.7143483757972717, 0.10651952028274536, 0.04901070147752762, 0.7279698252677917, -0.1058267205953598, -0.43361154198646545, -0.194269061088562, -0.05645138397812843, -0.538231611251831, -0.8032047152519226, 0.5423038601875305, 0.05260710045695305, 0.3723525404930115, 0.47822800278663635, -0.041755225509405136, 0.8569309711456299, -0.55223548412323, 0.78179931640625, 0.07146298140287399, -1.067395567893982, 0.22514072060585022, -0.6398932337760925, 0.04744464159011841, 0.6232125759124756, 0.3627740442752838, -0.9937375783920288, -0.569546103477478, -0.3395600914955139, -0.4606247842311859, 0.9804341793060303, -0.08965248614549637, 0.31433019042015076, 0.11914196610450745, 0.6155496835708618, 0.06459575891494751, 0.20781616866588593, -0.23147785663604736, -0.07589662075042725, -0.0993361622095108, -0.05611195042729378, 0.45179837942123413, -0.09478512406349182, 0.06278906017541885, -0.016883758828043938, 0.6285272836685181, -0.432285875082016, -0.03390095382928848, 0.0461018905043602, 0.4426954686641693, -0.17608389258384705, -0.043512895703315735, 0.327164888381958, 0.7374768257141113, -0.12232813239097595, -0.16222776472568512, 0.42623916268348694, -0.44471198320388794, -0.13265545666217804, -0.3455897271633148, 0.08308032155036926, -0.2996240556240082, -0.10679952800273895, 0.5409635901451111, 0.3680531978607178, -0.9861322641372681, 0.3666783273220062, -0.16113488376140594, -0.22392815351486206, -0.4004763662815094, 0.11888619512319565, 0.4383566081523895, 0.10993821173906326, 0.30780476331710815, -0.22083386778831482, 0.15347325801849365, -0.3493557572364807, 0.3033822774887085, 0.6084011793136597, -0.4858689308166504, -0.2642693519592285, 0.09560427069664001, 0.23146767914295197, -0.8877689838409424, 0.6841709613800049, 0.09048167616128922, -0.45817115902900696, 0.5013314485549927, 0.5385796427726746, 0.6269024014472961, -0.3624574542045593, 0.2303282618522644, -0.16013671457767487, 0.06847915053367615, -0.038996800780296326, 0.33257588744163513, 0.3031133711338043, -0.5996862053871155, -0.5098833441734314, -0.42702072858810425, -1.1467384099960327, 0.21206998825073242, -0.6135344505310059, 0.713485836982727, -0.6932284832000732, -0.1186530664563179, -0.02234438620507717, 0.0640486404299736, -0.5459421277046204, -0.2227097451686859, 0.1995002031326294, 1.0903903245925903, -0.5745807886123657, 0.8975131511688232, 0.5208057761192322, -0.0191907100379467, -0.7892118096351624, -0.19844698905944824, -0.013680477626621723, -0.8469324707984924, 0.48893633484840393, -0.0033209421671926975, -0.14587236940860748, -0.3486708998680115, -0.48823997378349304, -0.8905322551727295, 1.0172549486160278, 0.45981332659721375, -0.5582514405250549, -0.017099866643548012, 0.5638231039047241, 0.5123584270477295, -0.6023091077804565, 0.3319813907146454, 0.6916846036911011, 0.3371986150741577, 0.41973015666007996, -0.9049584269523621, -0.21824409067630768, 0.16341440379619598, -0.015580713748931885, 0.01087668351829052, -0.8703517317771912, 0.7474993467330933, 0.3543572723865509, -0.09212835878133774, -0.022323010489344597, 0.5319896936416626, 0.3210522532463074, 0.13482356071472168, 0.4686802923679352, 0.2950942814350128, 0.8914952278137207, 0.11333691328763962, 1.0272855758666992, -0.4173881411552429, 0.30282288789749146, 1.074776291847229, -0.7433447241783142, 0.8019291162490845, 0.5690256357192993, -0.4402465224266052, 0.3086124360561371, 0.6622906923294067, -0.029512695968151093, 0.15107925236225128, 0.2893664836883545, 0.10110398381948471, -0.45634129643440247, -0.3614685833454132, 0.19241838157176971, 0.5700502395629883, 0.4978950619697571, 0.14413675665855408, -0.2539605498313904, -0.08106005936861038, 0.06217491626739502, -0.030257174745202065, -0.09104885160923004, 0.7358091473579407, 0.2205027937889099, -0.5393422245979309, 0.31996485590934753, -0.0064628152176737785, 0.5004457831382751, -0.63494473695755, 0.0199157502502203, -0.2646886110305786, 0.09334835410118103, -0.28344807028770447, -0.9754974842071533, 0.5891857147216797, 0.07352305203676224, 0.07441854476928711, -0.17632509768009186, 0.863498330116272, -0.13919921219348907, -0.3357884883880615, 0.24366311728954315, 0.5038317441940308, 0.5716652870178223, 0.09569542855024338, -0.8973415493965149, 0.513286828994751, -0.2081519067287445, -0.42118167877197266, 0.47992318868637085, 0.11976569145917892, -0.09550061076879501, 1.0033987760543823, 0.7108047008514404, 0.14754334092140198, -0.30775994062423706, -0.051063328981399536, 1.083353877067566, -0.3407023847103119, -0.7468841075897217, -0.6530537605285645, 0.2928912937641144, -0.2962784171104431, -0.26085811853408813, 0.7107290029525757, 0.8930695056915283, 0.5283629894256592, 0.28624242544174194, 0.6516181826591492, 0.4914630651473999, 1.0095776319503784, -0.1779177337884903, 0.3834975063800812, -0.291063517332077, 0.5014514923095703, 0.09508860856294632, -0.7337743639945984, -0.18105043470859528, 0.259300172328949, -0.47107431292533875, -0.19385550916194916, 0.35711634159088135, 0.7508264780044556, -0.14674746990203857, 0.24291299283504486, 0.4220961630344391, -0.027423478662967682, 1.0172662734985352, 0.34502801299095154, 0.897081196308136, -0.10623252391815186, 0.762489914894104, -0.23415261507034302, -0.13449126482009888, -0.4964752793312073, -0.6372306942939758, -0.8799329996109009, -0.19502678513526917, -0.09827447682619095, -0.31050172448158264, 0.06639721989631653, 0.9491226077079773, 0.7254310846328735, -0.5937983989715576, -0.6509946584701538, 0.2065536379814148, 0.1618170440196991, -0.04577292501926422, -0.2627011239528656, -0.010643561370670795, -0.6282659769058228, -0.8741488456726074, 0.5797371864318848, 0.2848147749900818, 0.020946580916643143, -0.4854097068309784, -0.10169768333435059, 0.3749213218688965, 0.4853365421295166, 0.33587929606437683, 0.4686829149723053, -0.6094697117805481, -0.2573598623275757, 0.24614615738391876, -0.3082151710987091, 0.422198086977005, 0.9737045764923096, -0.7406251430511475, 0.011513816192746162, 0.2899928689002991, 0.7361687421798706, 0.5461767315864563, 0.21249613165855408, 0.3367981016635895, -0.6378213167190552, 0.11912010610103607, 0.4815618395805359, 0.203415185213089, 0.3308521509170532, -0.4635876417160034, 0.2622782588005066, -0.01186139602214098, -0.6153856515884399, -1.0123721361160278, 0.40501201152801514, -1.013978362083435, -0.3116685450077057, 0.8743058443069458, -0.19259203970432281, -0.32822689414024353, -0.4043211042881012, -0.4055989682674408, -0.22854360938072205, -0.7048646807670593, 0.6259174942970276, 0.5980325937271118, -0.5252697467803955, 0.08211875706911087, -0.5273786187171936, 0.44785070419311523, 0.28327518701553345, -1.1280266046524048, 0.5402039289474487, 0.36912599205970764, 0.29096412658691406, 0.1182020828127861, 0.6808030605316162, -0.061616647988557816, -0.07901625335216522, -0.2285003364086151, -0.034900862723588943, -0.3470645844936371, -0.36807578802108765, -0.22749903798103333, 0.23561930656433105, 0.00018798952805809677, -0.07515877485275269 ]
http://arxiv.org/abs/2404.01342v1
http://arxiv.org/pdf/2404.01342v1
DiffAgent: Fast and Accurate Text-to-Image API Selection with Large Language Model
2024-03-31T06:28:15
2024-03-31T06:28:15
Lirui Zhao, Yue Yang, Kaipeng Zhang, Wenqi Shao, Yuxin Zhang, Yu Qiao, Ping Luo, Rongrong Ji
cs.CL
cs.CL, cs.AI
Text-to-image (T2I) generative models have attracted significant attention and found extensive applications within and beyond academic research. For example, the Civitai community, a platform for T2I innovation, currently hosts an impressive array of 74,492 distinct models. However, this diversity presents a formidable challenge in selecting the most appropriate model and parameters, a process that typically requires numerous trials. Drawing inspiration from the tool usage research of large language models (LLMs), we introduce DiffAgent, an LLM agent designed to screen the accurate selection in seconds via API calls. DiffAgent leverages a novel two-stage training framework, SFTA, enabling it to accurately align T2I API responses with user input in accordance with human preferences. To train and evaluate DiffAgent's capabilities, we present DABench, a comprehensive dataset encompassing an extensive range of T2I APIs from the community. Our evaluations reveal that DiffAgent not only excels in identifying the appropriate T2I API but also underscores the effectiveness of the SFTA training framework. Codes are available at https://github.com/OpenGVLab/DiffAgent.
[ -0.3388126790523529, -0.6591261029243469, 0.7275255918502808, 0.5200357437133789, -0.3660159707069397, 0.49516183137893677, -0.06260151416063309, -0.39096689224243164, -0.1422846019268036, 0.02367330528795719, -0.31970152258872986, -0.38311687111854553, -0.851309597492218, 0.20949707925319672, -0.6300516724586487, 0.45760178565979004, -0.029288938269019127, 0.17751459777355194, -0.1349165141582489, 0.033700861036777496, -0.28591400384902954, 0.07601731270551682, -0.786740779876709, -0.5005783438682556, 0.3995814323425293, 0.2776776850223541, 0.5660815834999084, 0.5430305600166321, 0.2654041349887848, 0.2834218144416809, -0.12602552771568298, 0.2517891526222229, -0.7092921733856201, 0.047109752893447876, -0.4083048701286316, -0.43667227029800415, -0.09353556483983994, -0.09986386448144913, 0.31320998072624207, 0.42869770526885986, 0.05034370720386505, 0.32934752106666565, 0.07486364245414734, 0.749484658241272, -0.6136332750320435, 0.006435592658817768, -0.5142918825149536, -0.08820827305316925, -0.18424585461616516, -0.0896967276930809, -0.6952701807022095, -0.26551324129104614, 0.34717226028442383, -0.42157745361328125, 0.21269789338111877, -0.07629173994064331, 0.6544665098190308, 0.7055764198303223, -0.5558856725692749, -0.37106215953826904, -0.74337238073349, 0.767359733581543, -0.3633337914943695, 0.4876607656478882, 0.44238904118537903, 0.39383867383003235, -0.2869860827922821, -0.8548486232757568, -0.5458394289016724, -0.29639261960983276, 0.11512327939271927, 0.1243048682808876, -0.33882883191108704, -0.14073723554611206, 0.07693582773208618, 0.2755386233329773, -0.6541645526885986, 0.4212976396083832, -0.07520899921655655, 0.0655568391084671, 0.4571358561515808, -0.1147436797618866, 0.2862286865711212, 0.13414832949638367, -0.5489397048950195, -0.04631388559937477, -0.5665543675422668, -0.4344339370727539, 0.31756192445755005, -0.10663151741027832, -0.061021123081445694, 0.4072492718696594, 0.011736246757209301, 0.8358750343322754, 0.35293978452682495, 0.0955902487039566, 0.25696492195129395, 0.1170671284198761, 0.04655087739229202, -0.0726671814918518, 0.9402399063110352, 0.3118972182273865, 0.07596747577190399, -0.2223413735628128, -0.3629133999347687, 0.0010491983266547322, 0.23374460637569427, -1.1046055555343628, -0.22787567973136902, 0.5325469970703125, -0.2301790565252304, -0.4811626374721527, -0.08195442706346512, -0.9298402070999146, -0.6791060566902161, -0.25342831015586853, -0.0035338406451046467, -0.25705453753471375, -0.6290974617004395, -0.08657553791999817, -0.43649154901504517, 0.2801819443702698, 0.2148941457271576, -0.9756051898002625, 0.061829276382923126, 0.7040174007415771, 0.9837436676025391, -0.037153467535972595, -0.2613777220249176, -0.6471763849258423, -0.013669868931174278, -0.7157617211341858, 0.9141268134117126, -0.38886189460754395, -0.4952569007873535, 0.1925031691789627, -0.37521108984947205, 0.2623809576034546, -0.5061163902282715, 0.18673816323280334, -0.8945124745368958, -0.06263681501150131, -0.20826880633831024, -0.5655136704444885, 0.13942565023899078, 0.21169866621494293, -1.032703161239624, 1.071022391319275, 0.3920535445213318, -0.8287588953971863, 0.4216616749763489, -0.5972354412078857, -0.4697950482368469, 0.11491858214139938, -0.16343188285827637, -0.4853825867176056, 0.20556147396564484, 0.2523196339607239, 0.48798906803131104, -0.4477648437023163, 0.26335951685905457, -0.6895630359649658, -0.4965755343437195, 0.48546749353408813, -0.43251973390579224, 0.9122821092605591, 0.3606198728084564, -0.5558399558067322, -0.11448154598474503, -0.6809727549552917, -0.1613376885652542, 0.3791125416755676, -0.36080244183540344, -0.26303738355636597, 0.017913248389959335, 0.43657273054122925, 0.06536078453063965, 0.18412594497203827, -0.5249853730201721, 0.1878102719783783, -0.18797928094863892, 0.8211694955825806, 0.7527018189430237, -0.28724905848503113, 0.4814679026603699, 0.0034975579474121332, 0.37505677342414856, -0.29879823327064514, 0.10445549339056015, 0.2740863263607025, -0.20455044507980347, -0.605472207069397, -0.740714967250824, 0.5940195322036743, 0.415280282497406, -1.20867121219635, 0.38588130474090576, -0.4237205982208252, -0.6981250047683716, -0.5453675389289856, 0.04949204996228218, 0.5056135058403015, 0.34817180037498474, 0.018012776970863342, -0.02162139303982258, -0.24853837490081787, -0.7457813620567322, 0.24425272643566132, -0.4573917090892792, -0.27597498893737793, 0.0905827134847641, 0.48076653480529785, -0.3906571567058563, 0.9998970627784729, -0.7065181732177734, -0.2715420722961426, -0.1984768658876419, 0.44704723358154297, 0.0027709174901247025, -0.07922694832086563, 1.1480544805526733, -1.0859209299087524, -0.6369069814682007, -0.24651439487934113, -0.550849974155426, -0.37756434082984924, -0.11473838239908218, -0.5124228000640869, 0.3628213107585907, 0.44190680980682373, -0.4204355776309967, 0.267960786819458, 0.7420670986175537, -0.22685818374156952, 0.1823531687259674, -0.1195412278175354, 0.2999178469181061, -1.3851637840270996, 0.32666054368019104, 0.29634690284729004, -0.6095030903816223, -0.4662538766860962, -0.04393384978175163, 0.3852956295013428, 0.16934117674827576, -0.6216242909431458, 0.7587212920188904, -0.6152788996696472, -0.13215714693069458, -0.5226953029632568, -0.05189308896660805, 0.11928679049015045, 0.32842937111854553, 0.19990530610084534, 1.060941457748413, 0.4713858664035797, -0.5023822784423828, 0.4536214768886566, 0.5420515537261963, -0.3772139251232147, 0.4095042645931244, -0.7182521820068359, 0.5672619938850403, -0.09320789575576782, 0.3842197358608246, -1.2163888216018677, -0.43604907393455505, 0.12801726162433624, -0.4558531939983368, 0.4492515027523041, -0.37549474835395813, -0.908190906047821, -0.46015021204948425, -0.4258634150028229, 0.4987991154193878, 0.6065899729728699, -1.079702615737915, 0.6233819127082825, 0.5691829919815063, 0.017032068222761154, -0.6444436311721802, -0.8110971450805664, 0.19243484735488892, 0.028836563229560852, -0.11863874644041061, 0.3341580927371979, -0.1956123560667038, -0.014252525754272938, -0.04650513455271721, 0.050816167145967484, -0.4981241226196289, 0.18107812106609344, 0.28359413146972656, 0.48730313777923584, 0.3643687963485718, 0.16910378634929657, 0.1573754996061325, -0.25341489911079407, -0.19653214514255524, -0.3722936809062958, 0.7140325903892517, -0.05374722182750702, -0.33152344822883606, -0.2801988422870636, 0.24199116230010986, 0.6104903221130371, -0.37048909068107605, 0.4050983488559723, 0.5894628763198853, -0.18751133978366852, -0.31729650497436523, -0.5371419191360474, 0.213759645819664, -0.5009551644325256, 0.5893933773040771, -0.3138207495212555, -0.7406176924705505, 0.10323578864336014, -0.2839123010635376, 0.149066761136055, 0.13483744859695435, 0.8697516322135925, -0.06745586544275284, 0.8952624201774597, 0.6084148287773132, -0.31737256050109863, 0.8472976684570312, -0.3691822588443756, 0.01342751830816269, -0.49597081542015076, 0.04440344497561455, -0.37476250529289246, -0.2537498474121094, -0.5091295838356018, -0.44861212372779846, 0.3005216121673584, -0.2793612778186798, -0.060572922229766846, 0.2942650318145752, -0.5755383968353271, 0.6470860242843628, 0.33367231488227844, 0.2058812379837036, 0.040883902460336685, 0.13529276847839355, 0.2820695638656616, 0.31143248081207275, -0.32350295782089233, -0.6277380585670471, 1.1492644548416138, 0.4822212755680084, 0.9525877237319946, 0.3516222834587097, 0.6153799891471863, 0.376790314912796, 0.47990837693214417, -0.878032922744751, 0.5273123979568481, -0.42381125688552856, -0.7906566858291626, -0.09012207388877869, -0.25957271456718445, -0.8791505694389343, 0.028246499598026276, -0.10793770104646683, -0.4237794280052185, 0.12351248413324356, 0.3989323675632477, -0.2942589223384857, 0.22934889793395996, -0.7368183135986328, 0.5297726988792419, -0.4705972671508789, -0.5464325547218323, -0.12480388581752777, -0.6467194557189941, -0.03894054517149925, -0.24262140691280365, -0.1640903651714325, -0.19366750121116638, -0.40527963638305664, 0.20508483052253723, -0.14669044315814972, 0.9179825782775879, -0.2869356572628021, -0.1407748907804489, 0.38339218497276306, 0.007627544924616814, 0.25268393754959106, 0.12026156485080719, -0.22189293801784515, 0.5611886978149414, -0.1789657324552536, -0.4336093068122864, -0.4556342363357544, 0.6364251375198364, -0.7650235295295715, -0.2673400342464447, -0.4086591899394989, -0.0059895566664636135, -0.1035577654838562, 0.22683930397033691, 0.4060263931751251, 0.3705258071422577, -0.5307778716087341, -0.1206459105014801, 0.8243253231048584, -0.13846881687641144, 0.48806536197662354, 0.36037349700927734, -0.3586810529232025, -0.5447604656219482, 0.7700017690658569, -0.2044418603181839, 0.23842845857143402, 0.6153125762939453, -0.0043882993049919605, -0.7704955339431763, -0.602867066860199, -0.9684603214263916, 0.2008032649755478, -0.5544552206993103, -0.22119228541851044, -0.5025454163551331, 0.005412856116890907, -0.2830800414085388, -0.023106027394533157, -0.5330033898353577, -0.10510692745447159, -0.6570882797241211, -0.11393057554960251, 0.350307434797287, 0.5316188931465149, 0.27195051312446594, 0.11333101242780685, -0.690744936466217, 0.44518861174583435, 0.3112437427043915, 0.561345636844635, -0.18624690175056458, -0.41157931089401245, 0.0578024759888649, -0.12220615893602371, -0.2812668979167938, -0.9602630138397217, 0.13202373683452606, 0.3379196226596832, 0.39576953649520874, 0.46875324845314026, 0.1564871072769165, 0.567078173160553, -0.6780643463134766, 0.5554365515708923, 0.32060128450393677, -0.856144905090332, 0.5879483222961426, -0.30536651611328125, 0.1200658455491066, 0.7184659242630005, 0.4883832335472107, -0.2070910632610321, -0.36873024702072144, -0.07674333453178406, -0.904715895652771, 0.42327365279197693, 0.08272920548915863, 0.20166800916194916, -0.07831328362226486, 0.3775691092014313, 0.2966945171356201, 0.15735991299152374, -0.6337422132492065, 0.047236621379852295, -0.23617754876613617, -0.5456618070602417, 0.031168511137366295, -0.46135592460632324, -0.029597541317343712, 0.09174220263957977, 0.675177812576294, -0.3435233533382416, 0.2222571074962616, 0.1285639852285385, -0.372798353433609, -0.018541473895311356, 0.1939336359500885, 0.22214968502521515, 0.6650034189224243, -0.015356617048382759, -0.05432244390249252, -0.05638747662305832, -0.4645352065563202, 0.3488313555717468, 0.45531725883483887, -0.09067963063716888, 0.07391718029975891, 0.4319620132446289, 0.8024073243141174, -0.07037701457738876, -0.9442886114120483, 0.8657021522521973, -0.43312060832977295, -0.31509488821029663, -0.6389710903167725, -0.10441867262125015, -0.015056651085615158, 0.5650638341903687, 0.24164575338363647, -0.15969038009643555, 0.44278743863105774, -0.21362806856632233, -0.007242853287607431, 0.24085554480552673, -0.2605273425579071, -0.16462798416614532, 0.7819805145263672, 0.6344542503356934, -0.15227122604846954, 0.8945125937461853, -0.37442514300346375, -0.30273956060409546, 0.44381746649742126, 0.3298446238040924, 1.0546494722366333, -0.07576283067464828, 0.5087589025497437, 0.20760369300842285, 0.03169971704483032, -0.24328453838825226, 0.11968256533145905, 0.10168570280075073, -0.4665931463241577, -0.3312980532646179, -0.6284992694854736, -0.35166800022125244, 0.22028933465480804, -0.5487348437309265, 0.3975732922554016, -0.5220690369606018, -0.48574554920196533, 0.262604683637619, -0.172943115234375, -0.6220042109489441, -0.08813487738370895, 0.46634551882743835, 0.9797084331512451, -0.9109370708465576, 0.7761899828910828, 0.9807798266410828, -0.4342186748981476, -0.6368310451507568, 0.3768041431903839, 0.20902538299560547, -0.7014567255973816, 0.4465823173522949, 0.345548540353775, -0.21480421721935272, 0.09601043164730072, -0.5490627288818359, -0.5167941451072693, 1.2721092700958252, 0.7321662902832031, -0.8809072375297546, 0.17401088774204254, 0.17373886704444885, 0.6963057518005371, -0.21015523374080658, 0.4401421844959259, 0.5743869543075562, 0.19189982116222382, 0.4441656470298767, -0.7001298666000366, -0.08202899247407913, -0.31955987215042114, 0.5596504807472229, 0.21209804713726044, -0.7312682271003723, 0.3909836411476135, -0.2465292513370514, -0.2734830975532532, 0.3598543107509613, 0.4313667416572571, 0.3300999402999878, 0.2919867932796478, 0.9284186363220215, 0.4032582640647888, 0.535977303981781, -0.05702904984354973, 0.9958661198616028, -0.18015335500240326, 0.3525066375732422, 0.9689416289329529, -0.482623815536499, 1.0314514636993408, 0.5652309060096741, -0.1461952179670334, 0.2826887369155884, 1.2285641431808472, -0.3887052536010742, 0.8234272003173828, 0.05111660063266754, -0.45670074224472046, -0.1554122120141983, -0.007362013217061758, 0.0967818945646286, 0.4873148202896118, 0.03538663685321808, -0.2446967512369156, -0.07941106706857681, 0.08839964866638184, -0.176742821931839, 0.15434950590133667, -0.00024611648404970765, 0.8547433018684387, -0.06924194097518921, -0.7196679711341858, 0.5662906765937805, -0.1490258127450943, 0.5285351276397705, -0.2748652994632721, -0.25441011786460876, -0.15025018155574799, 0.2257765233516693, -0.10974437743425369, -0.9171468615531921, 0.05665896460413933, 0.3795001804828644, -0.17670182883739471, -0.19097037613391876, 0.7623735666275024, -0.5013396143913269, -0.4167787730693817, 0.5845261812210083, 0.3097749650478363, -0.00006297542131505907, -0.10058051347732544, -0.7396149039268494, 0.20594076812267303, -0.0015385831939056516, -0.3463376462459564, 0.06981851160526276, 0.29108765721321106, 0.017309172078967094, 0.6150647401809692, 0.44259870052337646, -0.11766747385263443, -0.282624751329422, 0.2925107479095459, 1.0025769472122192, -0.22183702886104584, -0.3585980236530304, -1.005699634552002, 0.668777585029602, -0.3177785277366638, -0.09199825674295425, 0.06104877218604088, 0.6347091197967529, 0.7135623097419739, -0.33733704686164856, 1.0184974670410156, -0.2690986394882202, 0.41734230518341064, -0.4265654981136322, 0.9945451021194458, -0.7218708395957947, 0.12578809261322021, -0.0020882815588265657, -0.8340802788734436, -0.0834488719701767, 0.20528730750083923, -0.2930276691913605, 0.006608705502003431, 0.4539813697338104, 0.8843778371810913, -0.11873380094766617, -0.3383946716785431, 0.14084552228450775, 0.09969621896743774, 0.538574755191803, 0.37134942412376404, 1.0082025527954102, -0.2065487802028656, 0.6985294222831726, 0.004052935633808374, -0.7983835935592651, -0.3830719292163849, -0.9331157207489014, -1.0773733854293823, -0.7656230926513672, -0.37022659182548523, -0.26508283615112305, -0.04022953286767006, 0.9981759190559387, 0.8294033408164978, -0.4016602635383606, 0.00615440821275115, -0.11966314166784286, -0.11638113111257553, 0.010418425314128399, -0.10757692158222198, 0.1842554807662964, -0.17649824917316437, -1.1567124128341675, 0.09701969474554062, 0.24244411289691925, 0.24360844492912292, -0.10459184646606445, -0.011313481256365776, -0.07471156120300293, 0.09354789555072784, 0.5545921921730042, 0.142390176653862, -0.5585386753082275, -0.0026590623892843723, -0.19270658493041992, -0.4314950406551361, -0.05033104494214058, 0.5478095412254333, -0.35312968492507935, 0.6095572710037231, 0.3612208962440491, 0.9197567105293274, 0.6432857513427734, -0.3092285692691803, 0.4048977792263031, -0.8168579936027527, 0.43852391839027405, 0.11512134224176407, 0.26927706599235535, 0.4834873080253601, -0.3457379937171936, 0.7550226449966431, -0.08542970567941666, -0.5124721527099609, -0.7356302738189697, 0.3082626461982727, -1.023001790046692, -0.4898873567581177, 1.3749148845672607, -0.23190732300281525, -0.43525996804237366, 0.2061651647090912, -0.4136386513710022, 0.38213175535202026, -0.41271233558654785, 1.0364018678665161, 0.6647676825523376, 0.14836357533931732, -0.08791427314281464, -0.5117511749267578, 0.2206561118364334, 0.05686216801404953, -0.7932196855545044, -0.0025686391163617373, 0.7388911247253418, 0.6733059287071228, 0.01977252960205078, 0.8078823089599609, -0.09727178514003754, 0.25588998198509216, 0.04553896188735962, 0.12848308682441711, -0.13010816276073456, -0.1661301702260971, -0.2382834255695343, -0.25473445653915405, 0.5254090428352356, -0.5111498832702637 ]
http://arxiv.org/abs/2404.00571v1
http://arxiv.org/pdf/2404.00571v1
Explainable Multi-hop Question Generation: An End-to-End Approach without Intermediate Question Labeling
2024-03-31T06:03:54
2024-03-31T06:03:54
Seonjeong Hwang, Yunsu Kim, Gary Geunbae Lee
cs.CL
cs.CL
In response to the increasing use of interactive artificial intelligence, the demand for the capacity to handle complex questions has increased. Multi-hop question generation aims to generate complex questions that requires multi-step reasoning over several documents. Previous studies have predominantly utilized end-to-end models, wherein questions are decoded based on the representation of context documents. However, these approaches lack the ability to explain the reasoning process behind the generated multi-hop questions. Additionally, the question rewriting approach, which incrementally increases the question complexity, also has limitations due to the requirement of labeling data for intermediate-stage questions. In this paper, we introduce an end-to-end question rewriting model that increases question complexity through sequential rewriting. The proposed model has the advantage of training with only the final multi-hop questions, without intermediate questions. Experimental results demonstrate the effectiveness of our model in generating complex questions, particularly 3- and 4-hop questions, which are appropriately paired with input answers. We also prove that our model logically and incrementally increases the complexity of questions, and the generated multi-hop questions are also beneficial for training question answering models.
[ -0.5727925300598145, -1.3008313179016113, 0.67998868227005, -0.048387229442596436, -0.18308141827583313, 0.07970821857452393, 0.181305393576622, -0.5798584222793579, -0.10925102978944778, 0.5336138010025024, -0.9351865649223328, 0.04846154898405075, -0.4157041609287262, 0.43720194697380066, -0.46592193841934204, 1.124813437461853, -0.1957351565361023, -0.33906498551368713, -0.3455406427383423, -0.022924022749066353, -0.43461987376213074, -0.3094151020050049, -1.0836294889450073, -0.1805732250213623, 0.7870699167251587, 0.7515547275543213, 0.5812574028968811, 0.48898446559906006, 0.28322097659111023, 0.3445359766483307, -0.1081208661198616, 0.15064875781536102, -0.25284475088119507, 0.40199393033981323, 0.11897892504930496, -0.6849873065948486, -0.24806730449199677, -0.025308066979050636, 0.6197360157966614, 1.0587120056152344, 0.16197971999645233, 0.317966103553772, -0.42311355471611023, 0.642906665802002, -0.2340865135192871, -0.3130701780319214, -0.7342296838760376, -0.0738210529088974, 0.10611989349126816, -0.6342819333076477, -0.4374905824661255, -0.2873786687850952, 0.15328149497509003, -0.4717777669429779, 0.11484845727682114, 0.09237595647573471, 0.5776858329772949, 0.18970702588558197, -0.7154831290245056, -0.5462040305137634, -0.7748984098434448, 0.18849961459636688, -0.48660585284233093, 0.3065562844276428, 0.12478294968605042, 0.4853406548500061, -0.30597564578056335, -0.8303212523460388, -0.861763596534729, -0.134642094373703, 0.11948557943105698, 0.26360583305358887, 0.15121278166770935, -0.03565410524606705, 0.46211904287338257, 0.06767681986093521, -0.7139683961868286, -0.3499727249145508, -0.3340921103954315, 0.15465684235095978, 0.315693736076355, 0.21577773988246918, 0.2800304591655731, 0.03929249197244644, -0.31267020106315613, 0.1346512734889984, -0.4884674847126007, 0.6642683744430542, 0.5571722388267517, -0.0036944758612662554, 0.4423893094062805, 0.6304678320884705, -0.2872820496559143, 0.9168542623519897, 0.2628074884414673, -0.12239506095647812, 0.10619053244590759, -0.5038332343101501, 0.003241503844037652, -0.2584364712238312, 0.42096567153930664, 0.2954041659832001, 0.45705100893974304, -0.14616985619068146, 0.1661674678325653, -0.5113441348075867, 0.2101907730102539, -0.8406299352645874, 0.2867673933506012, 0.6477882862091064, -0.15404143929481506, -0.21721413731575012, -0.1685788631439209, -0.31980547308921814, 0.2853694260120392, -0.33390793204307556, 0.40498244762420654, -0.6619474291801453, -0.062335055321455, 0.22875633835792542, -0.4477538466453552, 0.7109378576278687, 0.4980980455875397, -0.6323390603065491, 0.06008176878094673, 0.46936118602752686, 0.5586072206497192, 0.29874736070632935, -0.5899062752723694, -0.3972596526145935, 0.3812918961048126, -0.4582999050617218, 0.942750096321106, -0.664743959903717, -0.12640486657619476, -0.35830196738243103, 0.20020364224910736, -0.11069539189338684, -0.22062291204929352, 0.1937410980463028, -0.8504096865653992, 0.5177836418151855, -0.04997735098004341, -0.663681149482727, -0.22765964269638062, 0.7097017168998718, -0.35504457354545593, 0.6766626238822937, -0.06539903581142426, -0.8649280071258545, 0.16451068222522736, -0.5093970894813538, -0.5418057441711426, -0.06370436400175095, -0.19747446477413177, -0.4246939718723297, -0.064395971596241, 0.21924816071987152, 0.12415959686040878, -0.4889839291572571, 0.5603535771369934, 0.040111981332302094, -0.23872512578964233, 0.36002713441848755, -0.48359182476997375, 0.7093002796173096, 0.04815216362476349, -0.1746070235967636, 0.09201615303754807, -0.8119615316390991, 0.19100315868854523, 0.2669176459312439, -0.7331933975219727, -0.1432817578315735, -0.16217917203903198, -0.5704296231269836, 0.28356266021728516, 0.1654375046491623, -0.5474368333816528, 0.22593140602111816, -0.19183231890201569, 0.22256071865558624, 0.5613709688186646, 0.3707566261291504, 0.3813941180706024, -0.6227428913116455, 0.6417295932769775, 0.0929536446928978, 0.22342868149280548, -0.9136515855789185, -0.8643573522567749, -0.7004403471946716, 0.2911042273044586, 0.03756040707230568, 0.5866613984107971, -0.7272882461547852, 0.15882983803749084, 0.050855934619903564, -0.5507615208625793, -0.37886226177215576, -0.23313629627227783, 0.2483258694410324, 1.0489085912704468, 0.3776228427886963, 0.1677982062101364, -0.4030560255050659, -0.8197286128997803, -0.45864149928092957, -0.11849252879619598, 0.07366449385881424, 0.30775517225265503, 0.7105522155761719, -0.004572265315800905, 0.8525431156158447, -0.5643166303634644, 0.5750010013580322, -0.36548492312431335, 0.511152446269989, 0.07108926773071289, 0.4975285232067108, 0.014762753620743752, -0.9895207285881042, -0.49781620502471924, -0.2948881983757019, -0.7007280588150024, 0.04281334951519966, -0.828258752822876, -0.26848548650741577, -0.16608890891075134, 0.7303206920623779, -0.7318053245544434, 0.26078060269355774, -0.11380743980407715, -0.3398344814777374, 0.7481229901313782, -0.290576308965683, 0.23663899302482605, -1.0968049764633179, -0.022275997325778008, -0.403261661529541, -0.11801840364933014, -0.8359237313270569, 0.1902616322040558, -0.10743086040019989, -0.304787814617157, -0.16380572319030762, 0.24304157495498657, -0.47849342226982117, 0.03770282864570618, -0.2237885296344757, -0.02858547493815422, 0.333532452583313, 0.6513378620147705, 0.0452081523835659, 0.4023277461528778, 0.38123759627342224, -0.6132134795188904, 0.27736571431159973, 0.32285723090171814, 0.05199860408902168, 0.22993367910385132, -0.9561613202095032, 0.3350884020328522, -0.6347982883453369, 0.6520434021949768, -1.306810975074768, -0.2580438256263733, 0.20748703181743622, -0.9259248971939087, 0.16992701590061188, -0.14679734408855438, -0.21716971695423126, -0.26763996481895447, -0.36294475197792053, 0.6003657579421997, 0.38830551505088806, -0.3946055769920349, 0.47826364636421204, -0.22890889644622803, -0.32170337438583374, -0.4084509313106537, -0.3577782213687897, 0.029290977865457535, -0.20877580344676971, -0.9591919779777527, 0.24213071167469025, -0.46465954184532166, 0.06527044624090195, -0.15898288786411285, 0.06448576599359512, -0.1818772554397583, -0.044770099222660065, -0.16135764122009277, -0.12740781903266907, -0.1720479130744934, 0.15246091783046722, 0.4168889820575714, -0.22462508082389832, 0.26186874508857727, -0.35127168893814087, 0.3392065167427063, 0.15821126103401184, -0.34352293610572815, -0.28857117891311646, 1.0137115716934204, 0.8452182412147522, -0.40078169107437134, 0.7421880960464478, 0.46555811166763306, -0.3540816903114319, -0.1475113034248352, -0.17405351996421814, -0.08478759974241257, -0.415330708026886, 0.2953706979751587, -0.7095983028411865, -0.7857595086097717, 0.5588343739509583, -0.4913381040096283, 0.3433608412742615, 0.24344418942928314, 0.5796639919281006, -0.3050483465194702, 1.0062841176986694, 0.3530813157558441, 0.7653342485427856, 0.24473175406455994, -0.04169107973575592, 0.3005475401878357, -0.7671789526939392, -0.7014036178588867, -0.4296143352985382, -0.1971951425075531, -0.2918233871459961, -0.3546976149082184, 0.3762787878513336, 0.385476678609848, -0.5598938465118408, 0.058878034353256226, -0.3830982744693756, 0.46814826130867004, 0.7964796423912048, 0.01911749690771103, 0.34218472242355347, -0.1756761372089386, 0.11557682603597641, 0.3870280086994171, -0.6668524742126465, -0.27630549669265747, 1.1549345254898071, 0.18696090579032898, 0.5193187594413757, 0.07458274066448212, 0.6894609928131104, 0.001110225566662848, -0.26813241839408875, -0.5811744332313538, 0.29378369450569153, 0.5680570006370544, -0.7209851145744324, -0.7868868708610535, -0.252282053232193, -0.9057378768920898, 0.40974727272987366, -0.06632233411073685, -0.39162391424179077, -0.038655418902635574, 0.05500689521431923, -0.5163095593452454, 0.19857218861579895, -0.7284700870513916, 0.6440480351448059, -0.4574306011199951, -0.282189279794693, 0.4409785568714142, -1.1359620094299316, 0.5086687803268433, -0.20803648233413696, 0.1897871196269989, 0.2244013249874115, 0.10409804433584213, 0.8349520564079285, -0.8368698954582214, 0.5690357685089111, -0.09706147760152817, -0.03205917775630951, 0.7614391446113586, -0.05671799182891846, 0.6164407134056091, 0.1934211552143097, 0.1277932971715927, -0.4459385871887207, -0.27861320972442627, -0.2861177325248718, -0.7436470985412598, 0.20978115499019623, -0.6323485374450684, -0.7397811412811279, -0.15465708076953888, -0.8749901652336121, -0.30207112431526184, 0.24750979244709015, 0.3885959982872009, 0.4604133665561676, 0.4752635359764099, -0.04411645233631134, 0.6660912036895752, -0.4968697428703308, 0.25065144896507263, 0.268694132566452, 0.04912132769823074, -0.21462227404117584, 0.5846683979034424, 0.13286428153514862, 0.46039125323295593, 0.3018873631954193, 0.303142786026001, -0.4001540243625641, -0.44427186250686646, -0.5938500165939331, 0.1146288737654686, -0.69162517786026, 0.004144732374697924, -1.0779505968093872, -0.2012729048728943, -0.5618669390678406, -0.32045355439186096, -0.15384970605373383, -0.5436964631080627, 0.03529397398233414, -0.11801564693450928, 0.35379379987716675, 0.423569917678833, 0.042751144617795944, 0.3937816619873047, -0.5952565670013428, 0.875066876411438, 0.49773842096328735, 0.2657090425491333, 0.2714691162109375, -0.7745054364204407, -0.07565229386091232, -0.06709717214107513, -0.37231171131134033, -0.998923122882843, -0.09713953733444214, 0.25734707713127136, 0.38051334023475647, 0.1973504275083542, 0.14859604835510254, 0.9076027274131775, -0.9383017420768738, 0.505540132522583, 0.2099892646074295, -0.7346097230911255, 0.7040402889251709, -0.32688504457473755, 0.36167001724243164, 0.5201635956764221, 0.6730315089225769, -0.4349900186061859, -0.34238478541374207, -0.5606780052185059, -1.2125728130340576, 0.6166498064994812, 0.19454504549503326, 0.07880996912717819, -0.18044646084308624, 0.666580855846405, 0.4492441713809967, 0.10221874713897705, -0.7805464267730713, -0.2110522836446762, -0.2209501564502716, 0.2268468141555786, 0.38499772548675537, -0.28894248604774475, 0.13542652130126953, -0.3520316481590271, 0.44208213686943054, 0.05636083707213402, 0.2592538297176361, 0.2611812353134155, -0.011963062919676304, -0.05956863984465599, 0.42331773042678833, 0.48477983474731445, 0.44827476143836975, -0.3510206341743469, 0.07847357541322708, -0.14932513236999512, -0.004535140004009008, 0.30330145359039307, -0.205033540725708, -0.4447508752346039, -0.05625182017683983, 0.5772246718406677, 0.5745032429695129, -0.22727243602275848, -0.5340149998664856, 0.3108675479888916, -0.14323928952217102, -0.5783025622367859, -0.4250163733959198, -0.1161155179142952, 0.4829559028148651, 0.2844015657901764, 0.29943814873695374, -0.05866304785013199, 0.13595426082611084, -0.7112853527069092, 0.43793055415153503, 0.22044073045253754, 0.030687205493450165, -0.10839301347732544, 0.9328863620758057, 0.039015963673591614, -0.486709862947464, 0.7764570116996765, -0.10513507574796677, -0.3692476153373718, 0.7772873044013977, 0.9106237292289734, 0.44856569170951843, -0.2151688188314438, 0.2706622779369354, 0.5808120369911194, 0.4912460148334503, 0.26224055886268616, 0.6377549767494202, -0.3410036265850067, -0.5668137669563293, -0.384994775056839, -0.3734922707080841, -0.685519814491272, 0.1932186633348465, -0.6299989819526672, 0.14057253301143646, -0.32787957787513733, 0.20290201902389526, 0.037992872297763824, -0.5377792716026306, -0.34095314145088196, 0.5787051320075989, -0.10905534774065018, 0.9152728915214539, -0.6464073061943054, 0.29645097255706787, 0.5574601292610168, -0.7349861860275269, -0.7939186692237854, 0.11318561434745789, -0.48832330107688904, -0.5472835302352905, 0.28775906562805176, 0.33622440695762634, -0.07296428084373474, 0.08356904983520508, -0.7560973167419434, -0.9080753326416016, 1.0579016208648682, 0.14756476879119873, -0.24169766902923584, -0.4701974093914032, 0.4505619704723358, 0.3324447572231293, -0.3970857858657837, 0.5638902187347412, 0.4456993043422699, 0.47519639134407043, 0.6883087754249573, -0.13750475645065308, 0.1032026931643486, -0.4192037284374237, -0.25878021121025085, -0.12587213516235352, -0.34611737728118896, 1.2258001565933228, -0.7969213128089905, 0.06410761177539825, -0.11923882365226746, 0.554785966873169, 0.5185314416885376, 0.5379391312599182, 0.5729436874389648, 0.28301918506622314, 0.6656825542449951, 0.09076271206140518, 0.9037848711013794, -0.39401566982269287, 0.08456794917583466, 1.4545764923095703, -0.08311253786087036, 0.5940166115760803, 0.5995339155197144, 0.04023192822933197, 0.49986571073532104, 1.0611095428466797, 0.25299039483070374, 0.29183492064476013, 0.5310888290405273, 0.004850852303206921, -0.4942821264266968, 0.13477438688278198, -0.5216231942176819, 0.49826785922050476, 0.13292525708675385, -0.10453157126903534, -0.46209537982940674, -0.09028836339712143, 0.004097262863069773, -0.1732960194349289, -0.02788117341697216, 0.7193974256515503, -0.19785189628601074, -0.9812494516372681, 0.5195831656455994, -0.0074487654492259026, 0.2491685003042221, -0.7169821262359619, -0.17244204878807068, -0.44963133335113525, -0.3623775541782379, -0.12016821652650833, -0.8196641206741333, 0.3861147463321686, 0.21832378208637238, -0.353860080242157, -0.0654895156621933, 0.39857834577560425, -0.5819301605224609, -0.6327909827232361, 0.1768583208322525, 1.0061607360839844, 0.5100456476211548, -0.08166658133268356, -0.6873477101325989, -0.4761558175086975, -0.005918328184634447, -0.7383673191070557, -0.014845199882984161, 0.9647279381752014, -0.1230689287185669, 0.8409396409988403, 0.8442884087562561, -0.2951076328754425, 0.444263219833374, 0.1021822988986969, 0.8567622900009155, -0.8379002213478088, -0.5444628596305847, -0.701554536819458, 0.8458739519119263, 0.12404245138168335, -0.18734702467918396, 0.4788508713245392, 0.5136539936065674, 0.6687801480293274, 0.18248985707759857, 1.0159552097320557, -0.12414057552814484, 0.4535459578037262, -0.230625718832016, 0.2526280879974365, -0.8024861216545105, 0.16316761076450348, -0.3551081717014313, -0.6069242358207703, -0.2785591185092926, 0.24686701595783234, 0.12280416488647461, 0.13410153985023499, 0.7704835534095764, 0.3789125978946686, 0.11207585781812668, 0.04999339580535889, 0.3750278651714325, 0.06373021751642227, 0.6183692812919617, 0.7533894777297974, 0.8918564319610596, -0.44008246064186096, 0.85374915599823, -0.05410259962081909, -0.3746931850910187, 0.30264317989349365, -0.5728957056999207, -0.8875762820243835, -0.6476993560791016, -0.10629187524318695, -0.10845106840133667, -0.33255472779273987, 0.4025591313838959, 0.1714629977941513, -0.37293797731399536, 0.09043031185865402, -0.3827379047870636, 0.24052052199840546, 0.01779955066740513, -0.17136923968791962, 0.36448997259140015, -0.6176496744155884, -0.5247129201889038, 0.3112388253211975, 0.2802927494049072, 0.08558003604412079, 0.04973647743463516, 0.11336850374937057, -0.6404227614402771, 0.2916662096977234, 0.7504652142524719, 0.20605610311031342, -0.5617449283599854, -0.24158187210559845, 0.33094313740730286, 0.445509135723114, 0.12717004120349884, 0.7851982712745667, -0.5706394910812378, 0.455207496881485, 0.36249953508377075, 0.818365752696991, 0.3338310420513153, 0.3368995785713196, 0.48932355642318726, -0.5411643385887146, -0.22980786859989166, 0.03857443481683731, 0.25143274664878845, 0.1278841495513916, -0.4801355302333832, 0.3499518036842346, 0.15934234857559204, -0.5144327282905579, -0.4353152811527252, 0.549660325050354, -0.8158245086669922, -0.5345163941383362, 1.0621527433395386, -0.19829513132572174, -0.04753272980451584, -0.45941755175590515, -0.22609685361385345, 0.5885759592056274, -0.10440967977046967, 0.5054008960723877, 0.49191635847091675, -0.8284757733345032, -0.15182062983512878, -0.4788883626461029, 0.04350889474153519, 0.28507640957832336, -0.9343065619468689, 0.1477414071559906, 0.2993428111076355, 0.3204473853111267, -0.029670340940356255, 0.9669031500816345, -0.03413904458284378, 0.29086223244667053, 0.28351104259490967, -0.1758991926908493, -0.3719780147075653, -0.6105328798294067, 0.12281587719917297, 0.573875367641449, -0.11135242134332657, -0.3693672716617584 ]
http://arxiv.org/abs/2404.00570v1
http://arxiv.org/pdf/2404.00570v1
ParaICL: Towards Robust Parallel In-Context Learning
2024-03-31T05:56:15
2024-03-31T05:56:15
Xingxuan Li, Xuan-Phi Nguyen, Shafiq Joty, Lidong Bing
cs.CL
cs.CL
Large language models (LLMs) have become the norm in natural language processing (NLP), excelling in few-shot in-context learning (ICL) with their remarkable abilities. Nonetheless, the success of ICL largely hinges on the choice of few-shot demonstration examples, making the selection process increasingly crucial. Existing methods have delved into optimizing the quantity and semantic similarity of these examples to improve ICL performances. However, our preliminary experiments indicate that the effectiveness of ICL is limited by the length of the input context. Moreover, varying combinations of few-shot demonstration examples can significantly boost accuracy across different test samples. To address this, we propose a novel method named parallel in-context learning (ParaICL) that effectively utilizes all demonstration examples without exceeding the manageable input context length. ParaICL employs parallel batching to distribute demonstration examples into different batches according to the semantic similarities of the questions in the demonstrations to the test question. It then computes normalized batch semantic scores for each batch. A weighted average semantic objective, constrained by adaptive plausibility, is applied to select the most appropriate tokens. Through extensive experiments, we validate the effectiveness of ParaICL and conduct ablation studies to underscore its design rationale. We further demonstrate that ParaICL can seamlessly integrate with existing methods.
[ -0.5110666751861572, -0.7549465894699097, 0.559892475605011, 0.2955003082752228, -0.5293199419975281, 0.011424705386161804, -0.5075229406356812, -0.10909659415483475, -0.3088141083717346, 0.2980414628982544, -0.30579873919487, -0.8746752738952637, -0.5236208438873291, 0.3893210291862488, -0.40717819333076477, 1.130515456199646, -0.17565849423408508, 0.002813667291775346, -0.605798602104187, -0.7242458462715149, -0.3008227050304413, -0.17716528475284576, -0.7790928483009338, -0.20513619482517242, 0.2634561359882355, 0.7217477560043335, 0.30607229471206665, 0.6665177345275879, 0.31965145468711853, 0.25353381037712097, 0.056839652359485626, 0.19733589887619019, -0.2927168905735016, 0.0978812500834465, -0.19639985263347626, -0.40291091799736023, 0.06336383521556854, -0.3356090784072876, 0.9315774440765381, 0.8926215171813965, -0.05580988526344299, 0.282694548368454, 0.6452385783195496, 0.3632429838180542, -0.6824881434440613, 0.1612492799758911, -0.8268515467643738, -0.22881753742694855, -0.34243714809417725, 0.02605169638991356, -0.44549545645713806, -0.04066764935851097, 0.0011416625929996371, -0.4961777627468109, 0.08155234903097153, 0.2646462917327881, 0.5316333174705505, 0.3945072591304779, -0.26046475768089294, -0.268148809671402, -0.48247620463371277, 1.0973492860794067, -0.8547582030296326, 0.3139975368976593, 0.27573877573013306, 0.44637805223464966, -0.06339243054389954, -0.8632044792175293, -0.546934962272644, -0.288381427526474, -0.025777868926525116, -0.24249626696109772, 0.13431422412395477, 0.13954506814479828, 0.486971914768219, 0.006828696932643652, -0.701075553894043, 0.222723126411438, -0.04631632938981056, -0.11553329229354858, 0.06283634155988693, 0.3828871548175812, 0.2574654221534729, 0.1801515519618988, -0.6708911061286926, -0.17653445899486542, -0.6833930015563965, 0.26366010308265686, -0.05496731027960777, 0.46414345502853394, -0.1698351800441742, 0.29984039068222046, -0.4392503798007965, 0.9078410863876343, 0.03833756595849991, -0.38925448060035706, 0.11093875020742416, -0.3042721748352051, -0.3428252637386322, 0.0033738072961568832, 0.8178436756134033, 0.11544954031705856, -0.20759838819503784, -0.17985422909259796, -0.1754343956708908, 0.042340341955423355, -0.03930690139532089, -0.8941386938095093, 0.08764860033988953, 0.16499532759189606, -0.31790468096733093, -0.016040492802858353, -0.11695019155740738, -0.745266854763031, -0.03734995424747467, -0.3743184506893158, 0.40353459119796753, -0.49492356181144714, 0.4364584982395172, 0.03461652994155884, 0.023426873609423637, 0.12528374791145325, 0.11189425736665726, -0.8171913623809814, 0.7127798199653625, 0.7249135971069336, 0.8035380244255066, -0.4086308479309082, -0.7759589552879333, -0.8440278768539429, 0.34687498211860657, -0.23306450247764587, 0.7285763025283813, -0.5382739305496216, 0.0030332119204103947, -0.11157254129648209, -0.3467196822166443, -0.05826585739850998, -0.7940829992294312, 0.4660966694355011, -0.34690845012664795, 0.00178815599065274, -0.3708746135234833, -0.6009104251861572, 0.03933706507086754, 0.4065949022769928, -0.16596311330795288, 0.7903666496276855, -0.03793059289455414, -0.9585601091384888, 0.6564706563949585, -0.4351081848144531, -0.27625903487205505, 0.037342414259910583, -0.47167250514030457, -0.41824138164520264, -0.07813846319913864, 0.35180720686912537, 0.4982849955558777, -0.45463839173316956, 0.17094866931438446, -0.45187893509864807, -0.5218595266342163, -0.10863866657018661, -0.3779061734676361, 0.5974392294883728, -0.015310882590711117, -0.4632103741168976, 0.3315739631652832, -0.5667141675949097, -0.2396940439939499, -0.210597425699234, -0.3936750292778015, -0.39506030082702637, -0.16052965819835663, 0.06558304280042648, 0.2911692261695862, 0.11559876799583435, -0.6307846307754517, -0.2467903047800064, -0.7291198372840881, 0.045517537742853165, 0.4641585350036621, -0.021885741502046585, 0.5949680209159851, -0.4504455029964447, 0.27420657873153687, 0.06754782795906067, 0.20983880758285522, 0.025730904191732407, -0.23426707088947296, -0.617282509803772, -0.439194917678833, 0.05442771688103676, 0.31086766719818115, -0.8975310325622559, 0.2378692924976349, -0.12214919924736023, -0.16277450323104858, -0.15809762477874756, 0.7030865550041199, 0.5191079378128052, 1.0958155393600464, 0.47056153416633606, -0.14340506494045258, -0.2929237186908722, -0.9630199074745178, -0.511358380317688, -0.09901867806911469, -0.24950683116912842, 0.35595616698265076, 0.25977879762649536, 0.14636246860027313, 1.0440435409545898, -0.14519843459129333, -0.38278886675834656, -0.4216754138469696, 0.23150932788848877, 0.18539363145828247, 0.2582739293575287, 0.5557511448860168, -0.5639551877975464, -0.7989344596862793, -0.09796522557735443, -0.8782208561897278, -0.07677517831325531, -0.1330033540725708, 0.056098539382219315, -0.026965243741869926, 0.6605160236358643, -0.4427832067012787, 0.24001654982566833, 0.2405637949705124, 0.021359482780098915, 0.27457812428474426, -0.3228377401828766, -0.1935003399848938, -1.0357862710952759, -0.28594717383384705, 0.1283017098903656, -0.33157065510749817, -0.32527896761894226, 0.12081419676542282, 0.23669365048408508, -0.0686306431889534, -0.9332164525985718, 0.7028390765190125, -0.14995470643043518, -0.14278118312358856, -0.6040153503417969, 0.04020952060818672, -0.11811513453722, 0.4465174078941345, -0.14803698658943176, 0.8270330429077148, 0.8674824833869934, -0.6527385115623474, 0.14287680387496948, 0.21162229776382446, -0.4580923020839691, 0.41800597310066223, -0.39660659432411194, 0.011820235289633274, -0.28198909759521484, 0.5871006846427917, -0.8151884078979492, -0.40648895502090454, 0.14277136325836182, 0.042079679667949677, 0.17145758867263794, 0.24260054528713226, -0.4943332076072693, -0.004424496553838253, -0.2631513178348541, 0.6161626577377319, 0.5786507725715637, -0.8362880945205688, 0.4443036615848541, 0.12021494656801224, -0.04933162406086922, -0.6208097338676453, -0.5246283411979675, 0.005791776347905397, -0.673590898513794, -0.34583231806755066, 0.3407663106918335, 0.016975242644548416, -0.33449795842170715, -0.23188316822052002, -0.07525309175252914, -0.04279301315546036, 0.053077518939971924, 0.1169377937912941, -0.08053024858236313, -0.2038552612066269, 0.11115951091051102, 0.2107691913843155, -0.027037419378757477, -0.09518890082836151, -0.33334338665008545, 0.42895522713661194, -0.3785235583782196, -0.4427911341190338, -0.7270559668540955, 0.4589664041996002, 0.566914439201355, -0.06462088972330093, 0.8120666146278381, 0.48170801997184753, -0.5090389251708984, -0.7220473289489746, -0.30402636528015137, -0.30528542399406433, -0.4656422436237335, 0.22768846154212952, -0.3549690544605255, -0.8433200716972351, 0.3539360463619232, -0.24306325614452362, 0.06826251745223999, 0.06757181882858276, 0.6143470406532288, 0.022920675575733185, 0.7821633815765381, 0.5298787355422974, -0.10301762819290161, 0.34623879194259644, -0.11663725227117538, 0.1061050146818161, -0.7056058645248413, 0.017336023971438408, -0.28485116362571716, -0.184096559882164, -0.13921771943569183, -0.4155070185661316, 0.45454150438308716, 0.34336116909980774, -0.37076669931411743, 0.38626745343208313, -0.08307505398988724, 0.7337771654129028, 0.4931577742099762, 0.3519761562347412, 0.09699990600347519, -0.0748002752661705, -0.4309908151626587, 0.06732285767793655, -0.5949431657791138, -0.5484611988067627, 1.083642601966858, 0.1423369199037552, 0.4469897449016571, -0.13375672698020935, 0.9189510345458984, -0.21813488006591797, 0.41906461119651794, -0.5244492888450623, 0.6266505122184753, -0.31982117891311646, -0.17118187248706818, -0.41403844952583313, -0.02202349528670311, -0.600263237953186, 0.15618132054805756, 0.04091709479689598, -0.8662655353546143, -0.009502733126282692, 0.18114052712917328, -0.5290367603302002, 0.27712854743003845, -0.4333362877368927, 0.9186601042747498, -0.05182979255914688, -0.5970033407211304, -0.30285632610321045, -0.8045237064361572, 0.288087397813797, -0.2107681930065155, 0.11022262275218964, -0.04478335380554199, -0.25714024901390076, 0.5255001783370972, -0.48119884729385376, 0.8839275240898132, -0.14635837078094482, 0.39047038555145264, 0.2836531400680542, -0.11562872678041458, 0.591905951499939, 0.32584312558174133, -0.13921011984348297, -0.11488816887140274, -0.1541191190481186, -0.6411164402961731, -0.780415952205658, 0.9988390803337097, -0.3488430976867676, -0.7183759212493896, -0.09650050103664398, -0.7797951698303223, -0.5926984548568726, -0.03731952980160713, 0.25594714283943176, 0.5714944005012512, 0.036449212580919266, 0.37727731466293335, 0.434524804353714, -0.3580052852630615, 0.7179417014122009, 0.13350136578083038, 0.08840852975845337, -0.26762598752975464, 0.8615286946296692, -0.22902943193912506, 0.33917611837387085, 0.4520252048969269, 0.5103599429130554, -0.3799528181552887, -0.9017172455787659, -0.34977200627326965, 0.1304180920124054, -0.8773192763328552, -0.10227484256029129, -0.664076030254364, 0.15815111994743347, -0.21761180460453033, -0.2611004710197449, -0.24493153393268585, 0.12703301012516022, -0.2486850619316101, 0.06618939340114594, 0.010280597023665905, 0.3252241611480713, 0.2531448304653168, 0.2579214870929718, -0.4786260426044464, 0.4108625054359436, 0.43401989340782166, 0.24360930919647217, 0.0008879472152329981, -0.35307127237319946, -0.019850948825478554, -0.15035249292850494, -0.2208913266658783, -0.5243944525718689, 0.308779776096344, 0.327840119600296, 0.531121015548706, 0.4418849050998688, 0.3450697660446167, 0.6897678971290588, -0.5600296854972839, 0.6296564936637878, 0.00004332073876867071, -0.8201093673706055, 0.4344373047351837, -0.4074156880378723, 0.34080061316490173, 1.0467201471328735, 0.5696149468421936, -0.15071111917495728, -0.5470206141471863, -0.44925209879875183, -0.8642095327377319, 0.5356025695800781, 0.0340009406208992, -0.02867521159350872, -0.24787163734436035, 0.2082759439945221, 0.36008504033088684, -0.037335172295570374, -0.6132447123527527, -0.13152626156806946, 0.2555878162384033, -0.5416867733001709, -0.14016303420066833, 0.028985442593693733, -0.19058187305927277, -0.35028019547462463, 0.36174899339675903, -0.4515574872493744, -0.26314449310302734, 0.07933919131755829, -0.2524028718471527, 0.3729587495326996, 0.18242967128753662, 0.4788738489151001, 0.8688897490501404, -0.1835176646709442, 0.23080769181251526, 0.730800449848175, -0.04600872844457626, 0.042149532586336136, -0.15685893595218658, 0.033930934965610504, -0.10247451066970825, 0.3160402774810791, 0.8217136263847351, 0.39437177777290344, -0.855056881904602, 0.8039769530296326, -0.05505910515785217, -0.09344891458749771, -0.14167456328868866, -0.25168460607528687, -0.08392416685819626, 0.3941863477230072, 0.10347520560026169, 0.08826600760221481, 0.3153822422027588, -0.3692125678062439, 0.6283051371574402, 0.42323753237724304, -0.33055612444877625, -0.038394004106521606, 0.8113789558410645, -0.03125377371907234, -0.3200540840625763, 0.4685884714126587, -0.2612888813018799, -0.23474586009979248, 0.6308233141899109, 0.7704106569290161, 0.8367050290107727, 0.21870456635951996, 0.053494397550821304, 0.19210459291934967, -0.15393391251564026, -0.27700501680374146, -0.14446020126342773, -0.536451518535614, -0.5101927518844604, -0.38825032114982605, -0.8382505774497986, -0.4929865896701813, 0.08276877552270889, -0.5170406103134155, 0.5198331475257874, -0.6698064208030701, 0.38176074624061584, -0.17061759531497955, -0.3246424198150635, -0.7149162292480469, 0.08342200517654419, 0.25304850935935974, 0.883425235748291, -1.165836215019226, 1.2249692678451538, 0.6084786057472229, -0.21932901442050934, -0.7766203880310059, 0.5147830843925476, 0.004050570540130138, -0.4822402596473694, 0.8210949301719666, 0.34549838304519653, 0.08520438522100449, -0.019344985485076904, -0.20521169900894165, -0.6116600036621094, 1.0859733819961548, 0.6105238795280457, -0.3631698787212372, 0.13304893672466278, 0.2690061926841736, 0.5284030437469482, -0.603382408618927, 0.2671397030353546, 0.45754972100257874, 0.008031047880649567, 0.09323461353778839, -0.7883871793746948, 0.1400129348039627, 0.3045816421508789, 0.13233055174350739, 0.06882299482822418, -0.642869770526886, 0.6401965022087097, 0.07101742178201675, -0.06295725703239441, 0.12489305436611176, 0.751347005367279, 0.7486097812652588, 0.6190096139907837, 0.7422469258308411, 0.48693299293518066, 0.4573764204978943, 0.2926357686519623, 1.2940443754196167, -0.26103514432907104, 0.16484087705612183, 1.1630923748016357, -0.4041730463504791, 0.996294379234314, 0.7248988151550293, -0.03618216514587402, 0.335746705532074, 0.5776320099830627, 0.38862502574920654, 0.7089771628379822, 0.1714521050453186, -0.7293664216995239, -0.39274537563323975, -0.25283074378967285, 0.2624984383583069, 0.3718697726726532, 0.29278287291526794, -0.18262414634227753, -0.7510393857955933, 0.5520685911178589, -0.33031943440437317, 0.42261770367622375, -0.10653192549943924, 0.6793705224990845, 0.20289397239685059, -0.5756961107254028, 0.5623104572296143, -0.10948134958744049, 0.8148144483566284, -0.3943956792354584, -0.05858847498893738, -0.2811541259288788, 0.2834426760673523, 0.1008128821849823, -0.3385010361671448, 0.5247549414634705, -0.10419067740440369, -0.06919165700674057, -0.3319675624370575, 0.5306553244590759, -0.34120142459869385, -0.3242136836051941, 0.4282149076461792, 0.2639743387699127, 0.25852304697036743, -0.03947015479207039, -0.6508863568305969, 0.004811280407011509, -0.2650119364261627, 0.0918288454413414, 0.8495863080024719, 0.23163224756717682, -0.3525007963180542, 0.6291552782058716, 0.38413938879966736, -0.1205172911286354, 0.08645256608724594, 0.12502771615982056, 0.789850652217865, -0.328721284866333, -0.3465079963207245, -1.0092263221740723, 0.29922306537628174, -0.05360616743564606, -0.38117337226867676, 0.8207352757453918, 0.756554365158081, 1.19347083568573, 0.034631866961717606, 0.517815113067627, 0.25706568360328674, 0.4994571805000305, -0.507766842842102, 0.37194913625717163, -0.4604039788246155, 0.4734414219856262, -0.14152562618255615, -0.8998098373413086, -0.582706093788147, 0.22518792748451233, -0.22576867043972015, -0.31803610920906067, 1.034824252128601, 0.8426202535629272, -0.2639629542827606, -0.14685414731502533, 0.5453919768333435, -0.08533819019794464, 0.13372014462947845, 0.7134734392166138, 0.6813977360725403, -0.3039524555206299, 0.5660585165023804, -0.6608344316482544, -0.24942070245742798, 0.20278871059417725, -0.801447331905365, -1.0837249755859375, -0.5101844072341919, -0.3317464590072632, -0.02358735352754593, 0.1768055558204651, 1.0892393589019775, 0.5919404029846191, -0.9051135182380676, -0.4213935136795044, -0.5245905518531799, 0.05392172932624817, -0.2690166234970093, -0.17521421611309052, 0.44653910398483276, -0.7723669409751892, -0.9649327397346497, 0.6958891749382019, 0.43590304255485535, -0.2882353961467743, 0.19826598465442657, -0.05845816060900688, -0.19831031560897827, -0.2343674749135971, 0.44937390089035034, 0.4072713851928711, -0.9471690654754639, -0.2677929997444153, -0.4275000989437103, -0.05858907848596573, 0.02914951741695404, 0.6785640120506287, -0.9855329394340515, 0.26487162709236145, 0.6612738370895386, 1.1113507747650146, 0.4302496314048767, 0.12051176279783249, 0.4975542724132538, -0.9274800419807434, 0.4652787446975708, 0.2712600529193878, 0.4043445885181427, 0.23731957376003265, -0.08379336446523666, -0.019745588302612305, 0.14413028955459595, -0.5237424373626709, -0.8055814504623413, 0.10888160020112991, -0.9638029336929321, -0.43580636382102966, 1.1811258792877197, -0.27863508462905884, -0.3301003873348236, -0.23723365366458893, -0.03293861076235771, 0.24960683286190033, -0.1765715777873993, 0.5237312912940979, 0.48041802644729614, -0.38452044129371643, -0.11543461680412292, -0.5121917128562927, 0.540242612361908, 0.628783643245697, -0.7579948902130127, -0.0550672672688961, 0.058290500193834305, 0.5064120888710022, -0.22919006645679474, 0.2892385721206665, -0.016645079478621483, 0.10857362300157547, -0.03245416283607483, -0.33612194657325745, -0.004777250345796347, -0.42661985754966736, -0.5802081823348999, 0.5297489166259766, 0.36444008350372314, -0.42493826150894165 ]
http://arxiv.org/abs/2404.00569v1
http://arxiv.org/pdf/2404.00569v1
CM-TTS: Enhancing Real Time Text-to-Speech Synthesis Efficiency through Weighted Samplers and Consistency Models
2024-03-31T05:38:08
2024-03-31T05:38:08
Xiang Li, Fan Bu, Ambuj Mehrish, Yingting Li, Jiale Han, Bo Cheng, Soujanya Poria
cs.SD
cs.SD, cs.CL, eess.AS
Neural Text-to-Speech (TTS) systems find broad applications in voice assistants, e-learning, and audiobook creation. The pursuit of modern models, like Diffusion Models (DMs), holds promise for achieving high-fidelity, real-time speech synthesis. Yet, the efficiency of multi-step sampling in Diffusion Models presents challenges. Efforts have been made to integrate GANs with DMs, speeding up inference by approximating denoising distributions, but this introduces issues with model convergence due to adversarial training. To overcome this, we introduce CM-TTS, a novel architecture grounded in consistency models (CMs). Drawing inspiration from continuous-time diffusion models, CM-TTS achieves top-quality speech synthesis in fewer steps without adversarial training or pre-trained model dependencies. We further design weighted samplers to incorporate different sampling positions into model training with dynamic probabilities, ensuring unbiased learning throughout the entire training process. We present a real-time mel-spectrogram generation consistency model, validated through comprehensive evaluations. Experimental results underscore CM-TTS's superiority over existing single-step speech synthesis systems, representing a significant advancement in the field.
[ -0.18645818531513214, -0.5949428081512451, 0.5954632759094238, 0.37066489458084106, -0.1297014206647873, 0.3819185793399811, -0.3047071099281311, -0.030923783779144287, 0.1512506902217865, 0.13471335172653198, -0.3989231586456299, -0.6249545812606812, -0.7003788352012634, 0.06908756494522095, -0.6560922265052795, 0.8923035264015198, 0.26965925097465515, 0.33188894391059875, 0.1022828221321106, 0.0731615275144577, -0.2523089349269867, -0.2877267599105835, -1.037257194519043, -0.19505760073661804, 0.5112159848213196, 0.004379198886454105, 0.6082018613815308, 0.6330888867378235, 0.010313316248357296, 0.24625521898269653, -0.2527805268764496, 0.238050177693367, -0.12204986810684204, 0.474027544260025, 0.18206849694252014, -0.4449940025806427, -0.712566614151001, 0.0018100071465596557, 0.836130678653717, 0.6531532406806946, -0.4511604309082031, -0.06346099823713303, 0.25384432077407837, 0.5631557106971741, -0.6781721115112305, -0.29770565032958984, -0.6944675445556641, 0.1979464441537857, 0.11454848945140839, 0.02685960941016674, -0.5437347888946533, -0.6038843393325806, 0.21321474015712738, -0.8221640586853027, 0.32576265931129456, -0.38829299807548523, 0.4464515149593353, 0.32322895526885986, -0.37120017409324646, -0.15334199368953705, -0.7395039796829224, 0.6678395867347717, -0.8460424542427063, 0.7704270482063293, 0.04146409407258034, 0.369212806224823, -0.00479399599134922, -0.953709065914154, -0.6825977563858032, -0.4194999039173126, 0.260196715593338, 0.24308083951473236, 0.003339706687256694, 0.09272751957178116, -0.15727093815803528, -0.131772980093956, -0.34904202818870544, -0.07860701531171799, -0.06234850734472275, -0.25976553559303284, 0.1558370590209961, 0.037219975143671036, 0.08542581647634506, 0.050501059740781784, -0.27550429105758667, -0.2074391394853592, -0.6347918510437012, -0.2870534062385559, 0.3383094072341919, 0.45386719703674316, -0.25185254216194153, 0.5014674663543701, 0.261264443397522, 0.826616644859314, 0.29862865805625916, -0.28117653727531433, 0.07098549604415894, -0.360315203666687, -0.3479110598564148, 0.0085456483066082, 0.8949748873710632, -0.03030978888273239, 0.22224485874176025, -0.2824413478374481, -0.2797049283981323, 0.0838683694601059, 0.4586106240749359, -0.7512449026107788, -0.03509989380836487, 0.20879395306110382, -0.28084301948547363, -0.5689128041267395, 0.1176254153251648, -0.6750922203063965, 0.004309330601245165, -0.5343675017356873, 0.5631734132766724, -0.49488046765327454, -0.3787803649902344, -0.07035540789365768, -0.32426729798316956, -0.32648465037345886, 0.15788713097572327, -0.6667275428771973, 0.48993608355522156, 0.6243221759796143, 1.0212466716766357, -0.4571492075920105, -0.2228693813085556, -0.7562044858932495, 0.1605885773897171, -0.7541258931159973, 0.3545292615890503, -0.18609744310379028, -0.48606255650520325, -0.18054607510566711, -0.2950003743171692, -0.05615641549229622, -0.8295782804489136, 0.37954649329185486, -0.3231937885284424, 0.049239806830883026, -0.16768647730350494, -0.5911317467689514, 0.41685712337493896, 0.2618575692176819, -0.25400084257125854, 1.1186147928237915, 0.11104793101549149, -0.32097968459129333, 0.28838831186294556, -0.45235440135002136, -0.38253921270370483, -0.2740093767642975, -0.10388659685850143, -0.5776533484458923, 0.23985745012760162, -0.1414693295955658, 0.2530302405357361, -0.19263719022274017, 0.6639842391014099, -0.06797128915786743, -0.38949960470199585, 0.18765608966350555, -0.8841179013252258, 0.6135850548744202, 0.5993927717208862, -0.5559691786766052, 0.029714057222008705, -1.0881400108337402, 0.10193522274494171, -0.2186252772808075, -0.5777304768562317, -0.23024646937847137, 0.08972999453544617, 0.33766937255859375, 0.03912029787898064, 0.11414282768964767, -0.6124288439750671, -0.020769139751791954, -0.23666906356811523, 0.5315006375312805, 0.48042529821395874, -0.16415663063526154, 0.5191125273704529, -0.2798519432544708, 0.45909813046455383, 0.14308561384677887, 0.030962178483605385, -0.07856877148151398, -0.4020695984363556, -0.5457401871681213, -0.5158950090408325, 0.6959224343299866, 0.5133460164070129, -0.6985810399055481, 0.7421632409095764, -0.5188961625099182, -0.5506638884544373, -0.5486181378364563, -0.370318740606308, 0.4952596127986908, 0.5953371524810791, 0.32007986307144165, -0.23851998150348663, -0.5077388286590576, -0.4427376091480255, -0.026188986375927925, -0.016888581216335297, -0.6573896408081055, -0.14937341213226318, 0.07548387348651886, 0.0520942285656929, 1.0519912242889404, -0.22030575573444366, -0.00044067297130823135, 0.10377425700426102, 0.19509291648864746, -0.17133378982543945, 0.7374078035354614, 0.5615922212600708, -0.7240119576454163, -0.5048412084579468, -0.3491969108581543, -0.542173445224762, -0.18057961761951447, 0.06945635378360748, 0.004929369781166315, 0.015064941719174385, 0.745924711227417, -0.4432143270969391, 0.25788283348083496, 0.7619999051094055, -0.2469956874847412, 0.6153351664543152, -0.32764458656311035, 0.2537497282028198, -1.2867763042449951, 0.12056643515825272, -0.015285195782780647, -0.3899097442626953, -0.7834500670433044, -0.17988616228103638, 0.0608799047768116, -0.14754584431648254, -0.46746569871902466, 0.46747225522994995, -0.20748524367809296, -0.2480456531047821, -0.2364383488893509, 0.18738900125026703, 0.20554021000862122, 0.27975741028785706, -0.03893900662660599, 1.0502150058746338, 0.5123046040534973, -0.9042514562606812, 0.04030189663171768, 0.0727207139134407, -0.050671204924583435, 1.0362112522125244, -0.7943817377090454, -0.03654252365231514, -0.0012530270032584667, 0.3013556897640228, -1.0182511806488037, 0.046392761170864105, 0.04596433416008949, -0.6519841551780701, 0.32121798396110535, -0.30059006810188293, -0.3569353520870209, 0.03445086255669594, -0.08801376074552536, 0.47093844413757324, 0.6446416974067688, -0.501923143863678, 0.7935338020324707, 0.18465246260166168, -0.13322877883911133, -0.47401100397109985, -1.0260924100875854, 0.1445559859275818, 0.0905897244811058, -0.1621987372636795, 0.7019190192222595, -0.27168935537338257, -0.2418973594903946, -0.0442848838865757, -0.14419129490852356, -0.17728298902511597, -0.12598155438899994, -0.06387333571910858, 0.11787576973438263, -0.1077854335308075, -0.057690445333719254, 0.15228457748889923, 0.01646539568901062, -0.22905230522155762, -0.9649835824966431, 0.42722100019454956, 0.5361583828926086, -0.522249162197113, -0.818365752696991, 0.15623785555362701, 0.97867751121521, 0.11269247531890869, 0.5973581671714783, 0.6556477546691895, -0.30115097761154175, -0.06725107133388519, -0.44535356760025024, -0.08419764786958694, -0.4436715245246887, 0.25586196780204773, -0.3004887104034424, -0.5406111478805542, 0.3919523060321808, 0.07069466263055801, 0.15006963908672333, 0.4134986400604248, 0.4409247636795044, -0.01908000186085701, 1.0115139484405518, 0.35503408312797546, 0.1343103051185608, 0.8535272479057312, -0.07516413182020187, -0.18409906327724457, -0.7327701449394226, -0.32024458050727844, -0.5702036023139954, -0.23697814345359802, -0.4837726354598999, -0.4148976802825928, 0.8557947874069214, -0.3504338562488556, -0.4086422622203827, 0.15254728496074677, -0.6879582405090332, 0.09192609041929245, 0.7972564697265625, 0.25876516103744507, 0.1851891577243805, 0.23716890811920166, -0.48700422048568726, -0.16624920070171356, -0.7263240814208984, -0.3643494248390198, 1.158430576324463, 0.06482373178005219, 0.5491936206817627, 0.021527549251914024, 0.5851303339004517, 0.5076496005058289, 0.1992332935333252, -0.7404080033302307, 0.5132476091384888, -0.47899746894836426, -0.3746802508831024, -0.14376872777938843, -0.6046516299247742, -0.8172368407249451, 0.09283237159252167, -0.34246060252189636, -0.1255049854516983, 0.07096963375806808, 0.3249943256378174, -0.3253164291381836, 0.533281683921814, -0.5433385968208313, 0.45662984251976013, 0.24434314668178558, -0.31882575154304504, -0.029820529744029045, -0.6634271740913391, 0.11417099088430405, 0.09287901967763901, 0.08212731033563614, 0.14186207950115204, -0.08841549605131149, 0.6939433813095093, -0.5022407174110413, 0.6941386461257935, -0.5023140907287598, -0.2511008381843567, 0.42188259959220886, 0.26040080189704895, 0.41237178444862366, -0.06831324100494385, -0.2958903908729553, -0.08597675710916519, 0.025753919035196304, -0.30352264642715454, -0.4338342845439911, 0.5551816821098328, -0.5262730121612549, 0.012161132879555225, -0.030310196802020073, -0.5196577906608582, -0.27331939339637756, 0.14059707522392273, 0.4177207946777344, 0.7537330389022827, -0.39537540078163147, 0.18461842834949493, 0.9549804925918579, -0.05277428403496742, 0.32153332233428955, 0.29085561633110046, 0.10449019074440002, -0.9227340817451477, 0.7634729146957397, 0.19664521515369415, 0.6900365352630615, 0.49638354778289795, 0.006541876588016748, -0.23708069324493408, -0.7911832332611084, -0.6211381554603577, -0.11431794613599777, -0.35584986209869385, -0.06522185355424881, -0.5256096124649048, -0.26853859424591064, -0.6577492356300354, -0.12905138731002808, -0.8045521378517151, -0.5755620002746582, -0.47115135192871094, 0.09736844897270203, 0.09205519407987595, 0.5678908228874207, -0.01801859401166439, 0.5628292560577393, -0.8840792179107666, 0.723061203956604, 0.40778404474258423, 0.388288676738739, 0.02136058546602726, -0.7755800485610962, -0.20957283675670624, 0.27274420857429504, -0.35073375701904297, -0.7807782292366028, 0.33736589550971985, 0.11293596774339676, 0.26584377884864807, 0.026155948638916016, -0.24918290972709656, 0.48461225628852844, -0.8415488600730896, 0.9077188372612, 0.18497568368911743, -1.0057947635650635, 0.14388565719127655, -0.3925268054008484, 0.49120399355888367, 0.47620531916618347, 0.10339222103357315, -0.6079438924789429, -0.5993378758430481, -0.6124302744865417, -0.7101645469665527, 0.23194706439971924, 0.41202810406684875, -0.040139734745025635, -0.10644042491912842, 0.5878893136978149, -0.1587742418050766, 0.3742374777793884, -0.336713045835495, -0.32287925481796265, -0.3732040226459503, -1.0062808990478516, -0.05892935395240784, -0.007639310788363218, -0.124175526201725, 0.010720636695623398, 0.7498385310173035, -0.03551012650132179, 0.16416792571544647, 0.4182593524456024, 0.16491852700710297, 0.04595125466585159, 0.34946510195732117, 0.8364935517311096, 0.389833927154541, -0.0373237319290638, 0.1898336261510849, -0.05228409916162491, -0.8082931637763977, 0.5131261944770813, 0.11510763317346573, -0.506608247756958, 0.2573130130767822, -0.1348801851272583, 0.6183117032051086, 0.273277223110199, -0.47678616642951965, 0.47276467084884644, -0.08960648626089096, -0.4452533423900604, -0.3281053602695465, 0.009503276087343693, 0.30407050251960754, 0.03932083770632744, 0.6134076714515686, 0.46527090668678284, -0.13294686377048492, -0.3136032521724701, 0.32988858222961426, 0.5206238627433777, -0.3091753125190735, -0.3142874836921692, 1.218604564666748, 0.061656832695007324, -0.5423341393470764, 0.3219713866710663, -0.1028570681810379, -0.10591386258602142, 0.6145662665367126, 0.34713712334632874, 0.8792963027954102, -0.397159218788147, 0.1357656717300415, 0.3640904724597931, 0.09331116080284119, -0.5279399156570435, 0.3099711537361145, -0.09456770122051239, -0.3541051149368286, -0.18691444396972656, -0.7653795480728149, -0.6968432664871216, -0.2502627670764923, -0.6694426536560059, 0.3650178909301758, -0.5159615874290466, -0.49260053038597107, -0.06945107132196426, -0.5263648629188538, -0.29675957560539246, 0.7130864262580872, -0.08028849959373474, 0.8623418211936951, -0.5743249654769897, 0.8551543354988098, 0.14765778183937073, 0.04205163195729256, -0.7559738755226135, 0.12224429100751877, 0.043859243392944336, -0.35032713413238525, 0.16679272055625916, -0.4226548373699188, -0.2882513105869293, 0.43313175439834595, -0.42121297121047974, -0.6886025071144104, 1.106935977935791, 0.5936734080314636, -0.7417309880256653, -0.18919365108013153, -0.12993963062763214, 0.6138073205947876, -0.3898804187774658, 0.051082443445920944, 0.41568028926849365, 0.339540958404541, 0.18224625289440155, -0.9221383333206177, -0.19301466643810272, 0.17685258388519287, 0.031106961891055107, 0.007260151673108339, -0.30529412627220154, 0.7148107290267944, 0.06634896248579025, 0.0929495245218277, 0.3736315369606018, 0.6509523987770081, 0.7619867324829102, 0.3065056800842285, 0.594228208065033, 0.6063179969787598, 0.6838153004646301, -0.26806551218032837, 0.7097547054290771, -0.26079225540161133, 0.08505497127771378, 1.0658611059188843, -0.12892311811447144, 0.8903507590293884, 0.3847053349018097, -0.36110955476760864, 0.4872739613056183, 0.2698137164115906, 0.08844169974327087, 0.5690421462059021, 0.16108562052249908, -0.5180502533912659, 0.049683693796396255, 0.0511242151260376, -0.17756600677967072, 0.18197374045848846, 0.25525057315826416, -0.5095612406730652, 0.1530754566192627, 0.12876580655574799, -0.08502623438835144, 0.25977176427841187, -0.12865808606147766, 0.6612499952316284, -0.23531630635261536, -0.8801993131637573, 0.6602903604507446, -0.10260839015245438, 1.1355732679367065, -0.9615402817726135, 0.10250864923000336, 0.0456148125231266, -0.08352123945951462, 0.06635461747646332, -0.4541099965572357, 0.3619348406791687, 0.15722595155239105, -0.3142746090888977, -0.31342044472694397, 0.30039024353027344, -0.7743427157402039, -0.44159939885139465, 0.061733897775411606, 0.5520138144493103, -0.07642190158367157, -0.01133914664387703, -0.44253629446029663, 0.010057387873530388, -0.22778427600860596, -0.26168909668922424, 0.28712764382362366, 0.470962256193161, 0.368761271238327, 0.4582628905773163, 0.6743597388267517, 0.4548352360725403, 0.35698869824409485, 0.38295602798461914, 0.39185231924057007, -0.46264779567718506, -0.6041465997695923, -0.7122753262519836, 0.49833983182907104, 0.19916383922100067, -0.05331534147262573, 0.44387033581733704, 0.6699944734573364, 0.5411328673362732, 0.05440583452582359, 0.921498715877533, -0.058684222400188446, 0.6605784296989441, -0.5867674350738525, 0.8047903776168823, -0.6119895577430725, 0.2184293270111084, -0.19827115535736084, -0.8125491738319397, -0.06609655171632767, 0.18110518157482147, 0.37772420048713684, 0.2431941032409668, 0.4613770544528961, 0.7550649642944336, -0.18905910849571228, -0.21340063214302063, 0.5724826455116272, 0.13319745659828186, 0.39988335967063904, 0.0996289998292923, 0.40748777985572815, -0.5432954430580139, 0.7176427245140076, 0.03599623963236809, -0.07768156379461288, 0.2183132916688919, -0.8629504442214966, -0.27625587582588196, -0.5418393611907959, -0.24788227677345276, -0.5232685804367065, 0.2560456693172455, 0.9480077028274536, 1.0015583038330078, -0.7897469997406006, -0.2281261384487152, -0.5569824576377869, -0.08895035088062286, -0.4314899742603302, -0.2643606960773468, 0.18391761183738708, -0.3921259045600891, -1.2291126251220703, 0.7748449444770813, 0.20883291959762573, 0.5700482130050659, -0.3161003291606903, -0.024144647642970085, -0.07134769856929779, 0.26866069436073303, 0.39129066467285156, 0.11967632174491882, -0.6975878477096558, -0.041085924953222275, 0.07081720978021622, -0.32696518301963806, 0.23280730843544006, 0.8462744355201721, -0.9243144989013672, 0.3925783038139343, 0.43631285429000854, 0.6010550260543823, 0.5298819541931152, -0.11651033163070679, 0.7153276205062866, -1.0305384397506714, 0.1415528953075409, 0.24849382042884827, 0.21718893945217133, 0.5488755106925964, -0.09425066411495209, 0.28968366980552673, 0.4381592273712158, -0.4582272171974182, -0.7939286231994629, 0.22396329045295715, -0.9728792905807495, -0.2755127549171448, 0.9950037598609924, -0.13406416773796082, -0.04444664716720581, -0.008280100300908089, -0.07397740334272385, 0.8423863649368286, -0.28007349371910095, 0.6985674500465393, 0.43759098649024963, 0.15789198875427246, 0.24811135232448578, -0.5710914134979248, 0.5425922274589539, 0.4872760474681854, -0.6476472616195679, 0.11004568636417389, 0.4915800392627716, 0.7683533430099487, 0.2876927852630615, 0.8185636401176453, -0.22272716462612152, 0.23013246059417725, 0.14549590647220612, -0.03018939308822155, -0.03344603255391121, -0.4987146556377411, -0.3863227367401123, 0.42228642106056213, -0.21315579116344452, -0.28209376335144043 ]
http://arxiv.org/abs/2404.00566v3
http://arxiv.org/pdf/2404.00566v3
CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarks
2024-03-31T05:20:53
2024-05-08T03:14:48
Yiqing Xie, Alex Xie, Divyanshu Sheth, Pengfei Liu, Daniel Fried, Carolyn Rose
cs.SE
cs.SE, cs.CL
To facilitate evaluation of code generation systems across diverse scenarios, we present CodeBenchGen, a framework to create scalable execution-based benchmarks that only requires light guidance from humans. Specifically, we leverage a large language model (LLM) to convert an arbitrary piece of code into an evaluation example, including test cases for execution-based evaluation. We illustrate the usefulness of our framework by creating a dataset, Exec-CSN, which includes 1,931 examples involving 293 libraries revised from code in 367 GitHub repositories taken from the CodeSearchNet dataset. To demonstrate the complexity and solvability of examples in Exec-CSN, we present a human study demonstrating that 81.3% of the examples can be solved by humans and 61% are rated as "requires effort to solve". We conduct code generation experiments on open-source and proprietary models and analyze the performance of both humans and models. We provide the code at https://github.com/Veronicium/CodeBenchGen.
[ -0.16980420053005219, -0.44579944014549255, 0.43262550234794617, 0.42844679951667786, -0.05494356527924538, 0.22908087074756622, -0.3825052082538605, -0.3993833065032959, -0.15814930200576782, 0.5323701500892639, -0.42630571126937866, -0.4633054733276367, -0.048223815858364105, -0.03066250868141651, -0.588836669921875, 0.8356633186340332, 0.01122034341096878, 0.22102411091327667, -0.3201213479042053, -0.09939374774694443, -0.05809679254889488, -0.36062684655189514, -0.3775659501552582, -0.23646238446235657, 0.2351370006799698, 0.7447943687438965, 0.43158966302871704, 1.00579035282135, 0.5776669383049011, 0.22986596822738647, 0.06637490540742874, -0.3043353259563446, -0.6778756380081177, 0.04110610857605934, -0.05636436492204666, -0.5316153764724731, -0.16676655411720276, -0.013749911449849606, 0.25892072916030884, 0.8422315716743469, -0.4158734679222107, 0.5481793284416199, -0.2908265292644501, 0.5907503366470337, -0.628811240196228, 0.012464698404073715, -0.6056870818138123, 0.2586965262889862, -0.0727391168475151, -0.10946565866470337, -0.32883304357528687, -0.5410227179527283, -0.18811540305614471, -0.39875128865242004, 0.592575192451477, 0.1676141768693924, 0.4657212793827057, 0.22506877779960632, -0.09232780337333679, -0.22094286978244781, -0.5925774574279785, 0.8497692942619324, -0.6751586198806763, -0.03625743091106415, -0.08097127825021744, 0.6071231365203857, -0.13861079514026642, -1.042013168334961, -0.2890249192714691, -0.39082956314086914, 0.18848969042301178, -0.06560881435871124, -0.3048819899559021, -0.09449280053377151, 0.760690450668335, 0.661654531955719, -0.7685660719871521, -0.020593270659446716, -0.45000359416007996, 0.014031275175511837, 0.5463953614234924, 0.3972805142402649, 0.2566443681716919, -0.16577644646167755, -0.3193025588989258, -0.502162754535675, -0.7483581900596619, -0.10863181948661804, 0.5900149941444397, 0.12412713468074799, -0.1788497269153595, 0.4683118164539337, -0.429831326007843, 0.5764898061752319, -0.1197461262345314, 0.6145201325416565, 0.5445136427879333, -0.5464383959770203, -0.17780286073684692, -0.04299694299697876, 0.5332640409469604, 0.44074341654777527, 0.05369974300265312, -0.263308584690094, -0.1909862458705902, 0.41061174869537354, 0.5426891446113586, -1.254855751991272, -0.3583780825138092, 0.15977352857589722, -0.6118470430374146, -0.7773094773292542, 0.07677970826625824, -1.0680497884750366, -0.6154366135597229, -0.016093429177999496, 0.040006306022405624, -0.17673951387405396, -0.29416218400001526, -0.004169981461018324, -0.4659890830516815, 0.5224100947380066, -0.0808783695101738, -0.667299211025238, 0.43583551049232483, 0.6290256977081299, 0.5715111494064331, -0.31065648794174194, -0.2924806475639343, -0.75250643491745, -0.11359870433807373, -0.3995092213153839, 0.5788681507110596, -0.44801047444343567, -0.6216413378715515, -0.1039872094988823, -0.0970408171415329, 0.36401355266571045, -0.6932904124259949, 0.6999912261962891, -0.31866681575775146, -0.13596773147583008, -0.23569047451019287, -0.6613502502441406, 0.2424192726612091, -0.08573132753372192, -0.6585620045661926, 1.088837742805481, 0.39189672470092773, -0.6060366034507751, 0.4490537941455841, -0.771835207939148, -0.4660932421684265, 0.4039325416088104, -0.7095740437507629, -0.2932467758655548, 0.5245698690414429, -0.0662628784775734, 0.29501816630363464, -0.5759909152984619, 0.13300415873527527, -0.2498699277639389, -0.5644472241401672, -0.017863664776086807, -0.06609872728586197, 0.6507278680801392, 0.5171378254890442, -0.8797217607498169, 0.3668559789657593, -0.9971347451210022, 0.6071643233299255, 0.2159440666437149, -0.4479999244213104, 0.19293668866157532, 0.2876906991004944, 0.41832247376441956, 0.13636964559555054, 0.1315399408340454, -0.5275726318359375, 0.15138472616672516, -0.3533533811569214, 0.47209444642066956, 0.6259052157402039, -0.07894375920295715, 0.3044019639492035, -0.37335404753685, 0.8342004418373108, -0.3031340539455414, 0.1214405968785286, -0.3386554419994354, -0.20239968597888947, -0.6298428177833557, 0.00875924900174141, 0.17128747701644897, 0.43266990780830383, -0.7473267316818237, 0.3718292713165283, -0.41315847635269165, -0.7425650358200073, 0.037177953869104385, 0.40424948930740356, 0.785576343536377, 0.4422258734703064, 0.12674760818481445, -0.2490137368440628, -0.7551937699317932, -1.2082886695861816, -0.39870157837867737, -0.1794302761554718, -0.17680060863494873, 0.4067400097846985, 0.5125786066055298, -0.27805402874946594, 0.7786153554916382, -0.5750563740730286, 0.47678276896476746, -0.39887335896492004, 0.26860326528549194, 0.20695021748542786, 0.5850692987442017, 0.5868684649467468, -0.8091956377029419, -0.19035932421684265, 0.16408920288085938, -0.7567156553268433, -0.41364046931266785, 0.10049806535243988, -0.09106925129890442, 0.05375954508781433, 0.9187222123146057, 0.1718941628932953, 0.3462432324886322, 0.8003742694854736, -0.2964572310447693, 0.48620525002479553, -0.3605968654155731, 0.2381346970796585, -0.9883658289909363, 0.32287535071372986, -0.1530046910047531, -0.3775077760219574, -0.2696914076805115, 0.6662849187850952, 0.24484817683696747, -0.5825982689857483, -0.41990411281585693, 0.2619144320487976, -0.2879689633846283, -0.45353755354881287, -0.22191818058490753, -0.09537579119205475, -0.004819085355848074, 0.3102799952030182, -0.16777274012565613, 1.063658595085144, 0.29436367750167847, -0.4031766653060913, 0.32525166869163513, -0.26814621686935425, -0.7282682657241821, 0.25733762979507446, -1.0214074850082397, 0.14335128664970398, 0.5371849536895752, 0.07456742972135544, -0.7885427474975586, -0.5366507768630981, -0.22840416431427002, -0.029642000794410706, -0.08864299207925797, 0.03519921749830246, -0.8997750878334045, -0.4996514618396759, -0.32384565472602844, 0.47084593772888184, 0.8469582200050354, -0.6335133910179138, 0.32422488927841187, 0.12234947085380554, -0.0039362055249512196, -0.14190460741519928, -0.7958652377128601, 0.21029557287693024, -0.1433507651090622, -0.8084791302680969, 0.490853875875473, -0.45689237117767334, -0.25770822167396545, -0.0610491968691349, -0.041027408093214035, -0.07782196998596191, 0.29604220390319824, 0.4332579970359802, 0.09813854098320007, -0.1601407378911972, 0.09272588789463043, -0.10618788003921509, -0.10904480516910553, 0.051579054445028305, -0.15553903579711914, 0.40754127502441406, -0.4724407494068146, -0.45004111528396606, 0.08258281648159027, 0.4166458249092102, 0.49057936668395996, -0.11801017075777054, 0.09974613785743713, 0.4202842116355896, -0.21927711367607117, -0.5968101024627686, -0.49348393082618713, -0.01201753132045269, -0.42717498540878296, 0.44281962513923645, -0.2348189800977707, -0.8740817308425903, 0.5580087304115295, -0.4679478406906128, -0.06277652084827423, 0.11310842633247375, 0.7643635869026184, 0.33920642733573914, 0.9827225208282471, 0.6073446869850159, 0.14405319094657898, 0.5832605361938477, -0.14882081747055054, -0.16953034698963165, -0.45398253202438354, 0.3096594214439392, -0.6260503530502319, -0.24572347104549408, -0.5670230388641357, -0.6457260251045227, 0.27147790789604187, 0.16026729345321655, -0.09260953217744827, 0.7344787120819092, -0.8022584915161133, 0.7651793360710144, 0.43752074241638184, 0.04061831533908844, 0.15379245579242706, -0.10136295855045319, -0.27593106031417847, 0.16101031005382538, -0.7558275461196899, -0.40201497077941895, 1.1641960144042969, -0.028201300650835037, 0.7859684824943542, 0.04093406721949577, 0.8199324011802673, 0.5798806548118591, 0.35045865178108215, -0.2661498785018921, 0.5454710125923157, 0.08014454692602158, -0.7552798390388489, -0.01858048141002655, -0.9617326855659485, -0.8172639608383179, 0.0639423131942749, 0.180019810795784, -0.6451046466827393, 0.10643218457698822, 0.05984045937657356, -0.25525015592575073, -0.04407621920108795, -1.1170024871826172, 1.2253191471099854, -0.4756585955619812, -0.5804951786994934, -0.44284412264823914, -0.4099336564540863, 0.3891160488128662, -0.24692882597446442, 0.22097213566303253, 0.12498458474874496, -0.04653417319059372, 0.6069000363349915, -0.7643552422523499, 0.6009015440940857, -0.28888484835624695, 0.047692157328128815, 0.27804407477378845, -0.016646239906549454, 0.4837927222251892, -0.025911379605531693, -0.44705355167388916, -0.011145626194775105, -0.059633366763591766, -0.5558239817619324, -0.4757179617881775, 0.7787154912948608, -0.5099878907203674, -0.2316700667142868, -0.13999715447425842, -0.31315726041793823, -0.01943817175924778, 0.24451875686645508, 0.47695332765579224, 0.48477157950401306, -0.4329483211040497, 0.5161193609237671, 0.49143022298812866, -0.40227481722831726, 0.41663306951522827, 0.4695611000061035, -0.6234721541404724, -0.2700727581977844, 0.8552617430686951, -0.21046052873134613, 0.23367750644683838, -0.08671984821557999, 0.1868005245923996, 0.20165114104747772, -0.5949327349662781, -0.6156309247016907, -0.3169621527194977, -0.6527475118637085, -0.1217804104089737, -0.2620348036289215, 0.15610627830028534, -0.02409699559211731, -0.45798057317733765, -0.4027300179004669, -0.24195067584514618, 0.16897869110107422, -0.023000193759799004, 0.32183143496513367, 0.6890542507171631, -0.0848420187830925, 0.23374825716018677, -0.5198360085487366, 0.31290102005004883, 0.2423209846019745, 0.5481858253479004, -0.10183408856391907, -0.09926546365022659, -0.532554030418396, -0.2512429654598236, -0.24199670553207397, -0.4387836158275604, 0.09150078892707825, -0.013615216128528118, 0.6016983389854431, 0.14360623061656952, 0.07611344009637833, 0.4738708436489105, -0.4416683316230774, 0.7433114647865295, 0.18624651432037354, -1.2674304246902466, 0.6103857755661011, -0.46021923422813416, 0.4612291753292084, 0.9946773648262024, -0.22152861952781677, -0.20719125866889954, -0.2693348526954651, -0.6754937171936035, -0.9068796038627625, 0.7547155022621155, 0.3744438886642456, 0.04523443803191185, 0.054447874426841736, 0.3900739550590515, -0.10468301922082901, 0.35539892315864563, -0.3911108374595642, -0.10364829003810883, 0.05264155939221382, -0.036596547812223434, -0.06593551486730576, 0.06270763278007507, -0.23772528767585754, 0.02300386130809784, 0.2760747969150543, -0.2760087847709656, 0.0961662009358406, 0.06785841286182404, -0.24120526015758514, -0.26460620760917664, 0.1513548642396927, 0.6304324865341187, 0.9343050122261047, -0.315702885389328, -0.13487277925014496, 0.1697772741317749, -0.27270787954330444, 0.002498897723853588, 0.19312000274658203, 0.019581403583288193, -0.30576449632644653, 0.31846103072166443, 0.32095664739608765, 0.6695901155471802, -1.1897555589675903, 0.7229803800582886, -0.5023730993270874, -0.272649884223938, -0.37889447808265686, 0.45308297872543335, 0.2824955880641937, 0.20453006029129028, 0.5033635497093201, 0.04511207714676857, 0.12926903367042542, -0.47789812088012695, 0.44801065325737, 0.023946216329932213, -0.2774125337600708, -0.036458518356084824, 0.719590961933136, 0.23415729403495789, -0.24776265025138855, 0.34845370054244995, -0.6211111545562744, -0.36631831526756287, 0.9948006272315979, 0.2375560849905014, 1.0372596979141235, 0.2237783968448639, -0.010405604727566242, 0.22937829792499542, 0.09146931767463684, -0.10969468951225281, 0.44310808181762695, -0.30597829818725586, -0.3960733115673065, -0.4338248670101166, -0.6557341814041138, -0.5918196439743042, -0.31250423192977905, -0.713742196559906, 0.32495367527008057, -0.7090826034545898, 0.12488097697496414, 0.2050509750843048, -0.02768271043896675, -0.7125831246376038, -0.10175295919179916, 0.047867752611637115, 1.1630473136901855, -0.5434898138046265, 0.7382539510726929, 0.6324235200881958, -0.5016716122627258, -0.7458796501159668, -0.07851506769657135, -0.09924179315567017, -0.5491566061973572, 0.6459687352180481, 0.17131873965263367, -0.14125992357730865, 0.011793595738708973, -0.8483312129974365, -0.363940954208374, 1.1646391153335571, 0.5170062184333801, -0.5856963396072388, 0.1313554346561432, -0.1535864770412445, 0.7233464121818542, -0.624706506729126, 0.2510562539100647, 0.3774799704551697, 0.41823408007621765, -0.15179134905338287, -0.443805456161499, 0.08205199986696243, -0.5872247815132141, 0.4012339413166046, 0.0334363654255867, -0.5760208964347839, 0.951084315776825, -0.038129135966300964, -0.2401115894317627, 0.36169061064720154, 0.2430245727300644, 0.26964789628982544, 0.25197675824165344, 0.5427585244178772, 0.5225282907485962, 0.6356721520423889, 0.04371323063969612, 1.5459073781967163, -0.7803522944450378, 0.37034422159194946, 1.1912798881530762, -0.6235264539718628, 0.6792933940887451, 0.27008339762687683, -0.18075096607208252, 0.6707440614700317, 0.31981757283210754, -0.3396412134170532, 0.126958966255188, 0.8071667551994324, -0.09842955321073532, -0.3897140622138977, 0.0361928753554821, -0.5059928297996521, 0.4113421142101288, -0.05198259651660919, -0.5629602074623108, -0.360211044549942, -0.34314075112342834, -0.0552593357861042, 0.18180719017982483, -0.13128603994846344, 0.4804435074329376, -0.21021884679794312, -0.5237919092178345, 0.5723141431808472, 0.10440041124820709, 0.5613113641738892, -0.7210248112678528, -0.2013639658689499, -0.07596370577812195, 0.40215423703193665, -0.36859628558158875, -0.22377482056617737, 0.15308819711208344, 0.3921777606010437, -0.3900650143623352, -0.18186461925506592, 0.5364165902137756, 0.1772436499595642, -0.7693969011306763, 0.5801163911819458, 0.6381571292877197, 0.18770886957645416, 0.028970221057534218, -0.6375622749328613, 0.32317280769348145, 0.168052539229393, -0.3691748380661011, 0.5213136076927185, 0.3355930745601654, 0.016249647364020348, 0.46125108003616333, 0.7118825912475586, -0.06012508273124695, 0.1469501554965973, 0.08507683873176575, 1.086342453956604, -0.7808421850204468, -0.40936359763145447, -0.5837396383285522, 0.28961560130119324, -0.3827707767486572, -0.4379355013370514, 0.9109888672828674, 0.9438538551330566, 0.8592252731323242, -0.17683790624141693, 0.9460429549217224, -0.3741351366043091, 0.3365979492664337, -0.127468079328537, 0.6852737069129944, -0.5351365208625793, 0.3456488847732544, -0.4611957371234894, -0.9473264813423157, -0.09524615108966827, 0.3664696216583252, -0.12782157957553864, 0.2621515095233917, 0.5659385919570923, 1.0453269481658936, 0.06940504908561707, 0.05417178198695183, 0.47681596875190735, -0.10582983493804932, 0.42331463098526, 0.6796752214431763, 0.7483124732971191, -0.3207126259803772, 0.9404574632644653, -0.26307088136672974, -0.39087173342704773, -0.3897753357887268, -1.168433427810669, -0.564565896987915, -0.1589498519897461, -0.35762593150138855, -0.31528526544570923, -0.03684239089488983, 0.788501501083374, 0.9732474088668823, -0.7171026468276978, -0.5837841629981995, -0.8589097261428833, -0.08108801394701004, -0.21924719214439392, -0.2856696546077728, -0.03140586242079735, -0.5466601252555847, -0.5624702572822571, 0.5980276465415955, 0.08556144684553146, -0.41996902227401733, -0.46012791991233826, -0.054399024695158005, 0.22503505647182465, -0.09896610677242279, 0.3026232421398163, 0.37813878059387207, -0.20362620055675507, -0.2191348671913147, -0.06414397060871124, -0.3326340913772583, -0.05465000495314598, 1.2118308544158936, -0.9066359400749207, 0.4746110141277313, 0.5189603567123413, 0.9671565890312195, 0.5707435011863708, 0.13662195205688477, 0.7835236191749573, -0.9235358834266663, -0.029793623834848404, 0.132626473903656, 0.3321179151535034, 0.21835847198963165, -0.18884550034999847, 0.9259526133537292, 0.22027893364429474, -0.7612231969833374, -0.9144678115844727, 0.42517316341400146, -0.8600553870201111, -0.2694564461708069, 1.042567253112793, -0.30481526255607605, -0.30475589632987976, 0.19614602625370026, 0.028665689751505852, -0.03283475711941719, -0.383555144071579, 0.45947834849357605, 0.4929109513759613, -0.1571510285139084, 0.047771334648132324, -0.685295045375824, 0.24347786605358124, 0.4190124273300171, -1.0551564693450928, 0.45478835701942444, 0.6015755534172058, 0.20898930728435516, 0.1928820013999939, 0.3368569016456604, -0.19513863325119019, 0.6211265325546265, 0.5779758095741272, 0.6512295007705688, -0.06207731366157532, 0.1806943565607071, -0.6044423580169678, 0.31172171235084534, 0.10107800364494324, 0.14240851998329163 ]
http://arxiv.org/abs/2404.00565v1
http://arxiv.org/pdf/2404.00565v1
Leveraging Corpus Metadata to Detect Template-based Translation: An Exploratory Case Study of the Egyptian Arabic Wikipedia Edition
2024-03-31T05:14:38
2024-03-31T05:14:38
Saied Alshahrani, Hesham Haroon, Ali Elfilali, Mariama Njie, Jeanna Matthews
cs.CL
cs.CL
Wikipedia articles (content pages) are commonly used corpora in Natural Language Processing (NLP) research, especially in low-resource languages other than English. Yet, a few research studies have studied the three Arabic Wikipedia editions, Arabic Wikipedia (AR), Egyptian Arabic Wikipedia (ARZ), and Moroccan Arabic Wikipedia (ARY), and documented issues in the Egyptian Arabic Wikipedia edition regarding the massive automatic creation of its articles using template-based translation from English to Arabic without human involvement, overwhelming the Egyptian Arabic Wikipedia with articles that do not only have low-quality content but also with articles that do not represent the Egyptian people, their culture, and their dialect. In this paper, we aim to mitigate the problem of template translation that occurred in the Egyptian Arabic Wikipedia by identifying these template-translated articles and their characteristics through exploratory analysis and building automatic detection systems. We first explore the content of the three Arabic Wikipedia editions in terms of density, quality, and human contributions and utilize the resulting insights to build multivariate machine learning classifiers leveraging articles' metadata to detect the template-translated articles automatically. We then publicly deploy and host the best-performing classifier, XGBoost, as an online application called EGYPTIAN WIKIPEDIA SCANNER and release the extracted, filtered, and labeled datasets to the research community to benefit from our datasets and the online, web-based detection system.
[ -0.9778846502304077, -0.3052946627140045, 0.1724439412355423, -0.08742058277130127, -0.5405783653259277, 0.018354833126068115, -0.29053422808647156, -0.5673466324806213, 0.4899996519088745, 0.6019089818000793, -0.034805264323949814, -0.881344199180603, -0.6810557842254639, 0.39139166474342346, -0.9168784618377686, 1.4322305917739868, -0.25928449630737305, -0.11602306365966797, 0.060940131545066833, -0.45884042978286743, 0.11744162440299988, -0.029831301420927048, -0.3818466365337372, 0.10463409125804901, 0.6535006165504456, 0.44997620582580566, 0.7702757120132446, 0.9703548550605774, 0.22510619461536407, 0.09921500086784363, 0.057536207139492035, 0.32675981521606445, -0.15504001080989838, -0.05525103211402893, -0.2338055968284607, -0.18898561596870422, -0.15548311173915863, -0.13472789525985718, 0.5114285945892334, 0.44496968388557434, -0.21177996695041656, 0.5845385789871216, -0.02601127326488495, 0.5759063959121704, -0.8516930937767029, 0.1285376101732254, -0.4835425019264221, 0.04064984992146492, -0.5167667269706726, -0.15428659319877625, -0.20317025482654572, -0.2566561698913574, -0.21124309301376343, -0.425628662109375, 0.5168487429618835, 0.09046958386898041, 0.6577723622322083, 0.21350200474262238, -0.5960395932197571, -0.7174684405326843, -0.4747256934642792, 0.592454731464386, -0.504734218120575, 0.3343815505504608, 0.3758087754249573, 0.08781855553388596, -0.18770043551921844, -0.5114911794662476, -0.9116356372833252, -0.08061888068914413, -0.05049436166882515, 0.10385872423648834, -0.26013514399528503, -0.38067325949668884, 0.048976436257362366, 0.2924326956272125, -0.6515403985977173, 0.12167619913816452, -0.5139464139938354, -0.23346751928329468, 0.3259364664554596, -0.2449808418750763, 0.5219473242759705, -0.6660864353179932, -0.11380542069673538, -0.2614182233810425, -0.8421111702919006, -0.10199621319770813, 0.5996943712234497, -0.03685261309146881, -0.04719448834657669, 0.7348318099975586, 0.07036640495061874, 0.6620798110961914, -0.02634250558912754, 0.007115822285413742, 0.42113226652145386, -0.19801416993141174, 0.14967608451843262, 0.5305753350257874, 0.702762246131897, 0.09953141957521439, -0.00922329444438219, -0.19248586893081665, -0.1496141254901886, -0.15291175246238708, 0.48663556575775146, -0.4918712377548218, -0.0977686271071434, 0.1806391030550003, -0.6063975691795349, -0.39949432015419006, -0.009854350239038467, -0.6276503205299377, -0.28622472286224365, -0.015339557081460953, 0.1647375524044037, -0.5427507758140564, -0.30222341418266296, -0.13094280660152435, -0.12870845198631287, 0.1440616101026535, 0.312106192111969, -0.9230688214302063, -0.07686568796634674, 0.6125283241271973, 0.9685789346694946, -0.2811747193336487, -0.16447433829307556, -0.21048226952552795, 0.6726924777030945, -0.5045902132987976, 0.7925848960876465, -0.19918397068977356, -0.27757561206817627, 0.03172982856631279, -0.31844255328178406, 0.31043195724487305, -0.46066540479660034, 0.975213348865509, -0.7931758761405945, -0.04565282538533211, -0.03631328046321869, -0.52848881483078, -0.19037647545337677, 0.3373648226261139, -0.955691397190094, 0.9096933007240295, 0.3050975203514099, -1.1761904954910278, 0.531703770160675, -0.6342312097549438, -0.4181426763534546, -0.20871905982494354, -0.1697017252445221, -0.3932175636291504, 0.468719482421875, 0.28661105036735535, 0.20081466436386108, -0.19578057527542114, 0.007744243368506432, 0.007519737351685762, -0.1932513564825058, 0.0670459121465683, -0.14205652475357056, 0.6138811111450195, 0.41027864813804626, -0.44246140122413635, -0.09245810657739639, -0.9804381132125854, -0.09608901292085648, -0.19623680412769318, -0.5494791865348816, -0.5619147419929504, 0.08771885186433792, 0.34138044714927673, 0.5961010456085205, 0.09995927661657333, -0.4849766194820404, 0.19356602430343628, -0.24859800934791565, -0.18562781810760498, 0.45811036229133606, -0.1858161985874176, 0.45309266448020935, -0.23414866626262665, 0.3774082362651825, 0.34602057933807373, -0.13670934736728668, -0.04602949693799019, -0.689773678779602, -1.0116324424743652, -0.285591721534729, 0.3341183662414551, 0.31976744532585144, -0.9829311370849609, 0.5044069886207581, -0.5693172812461853, -0.6936330795288086, -0.7102582454681396, 0.34329313039779663, 0.050091005861759186, 0.6007124781608582, 0.6805205941200256, -0.3735971748828888, -0.49756723642349243, -0.918117105960846, -0.2214282900094986, -0.36809924244880676, -0.2859571874141693, 0.08845601230859756, 0.6857998371124268, -0.2626766264438629, 0.9690170288085938, -0.060821108520030975, -0.4239945113658905, -0.04965858906507492, 0.7034416198730469, 0.3302347958087921, 0.3237224221229553, 0.7555094361305237, -0.9289843440055847, -0.816518247127533, 0.23332571983337402, -0.7216697931289673, -0.31978413462638855, -0.015451784245669842, 0.04355073347687721, 0.43462231755256653, 0.4128553867340088, -0.41950321197509766, 0.4174724221229553, 0.5912410020828247, -0.18389391899108887, 0.6211814284324646, -0.2956782579421997, 0.11386962234973907, -1.104066252708435, 0.4126361608505249, -0.13556045293807983, -0.14753150939941406, -0.29645538330078125, -0.047071054577827454, 0.3415524661540985, 0.01541945431381464, -0.27405279874801636, 0.45818445086479187, -0.39321717619895935, -0.029033802449703217, -0.4219939708709717, -0.22345903515815735, -0.11519152671098709, 0.09008610993623734, 0.2625979483127594, 0.7789472341537476, 0.027018969878554344, -0.4542723000049591, 0.2045958787202835, 0.33122530579566956, -0.7585000991821289, 0.4653454124927521, -0.211175337433815, 0.15987199544906616, -0.29612141847610474, 0.28062283992767334, -0.7156621813774109, -0.057664547115564346, 0.6534793972969055, -0.4029819071292877, 0.28457534313201904, -0.3043428361415863, -0.7767626047134399, -0.003403562353923917, -0.35505762696266174, 0.12476179748773575, 0.15935438871383667, -0.3491896688938141, 0.5087933540344238, 0.26434385776519775, -0.3143279552459717, -0.824924886226654, -0.31757014989852905, 0.4821670949459076, -0.2664615213871002, -0.5322839021682739, 0.5615541338920593, 0.2262113094329834, -0.0734214335680008, 0.4579105079174042, -0.21647168695926666, -0.20055268704891205, 0.1082393154501915, 0.0017959849210456014, -0.018885470926761627, -0.21273082494735718, 0.02303592674434185, 0.36781156063079834, -0.30558866262435913, 0.18269237875938416, -0.5708093643188477, 0.5064243674278259, 0.14238114655017853, -0.3657740652561188, -0.12520885467529297, 0.7052860856056213, 0.5890809893608093, -0.3741775155067444, 1.2485271692276, 1.2883697748184204, -0.18237975239753723, 0.07900907844305038, -0.678073525428772, 0.20560334622859955, -0.35555970668792725, 0.44908955693244934, -0.20431827008724213, -0.29070231318473816, 0.4558677673339844, 0.1760309636592865, 0.10859974473714828, 0.6557426452636719, 0.7074731588363647, -0.3204042613506317, 0.8807464241981506, 0.5445104837417603, -0.3096836507320404, 0.3916306495666504, -0.2481328547000885, 0.2265108823776245, -0.7300300002098083, -0.16763974726200104, -0.7042158842086792, -0.45995643734931946, -0.909256637096405, -0.4219967722892761, 0.5866106748580933, -0.008035026490688324, 0.038124315440654755, 0.4476042687892914, -0.19742505252361298, 0.17475780844688416, 0.6874657273292542, -0.11432448029518127, 0.5158504843711853, 0.2945343554019928, -0.22577689588069916, 0.04929841309785843, -0.6019739508628845, -0.748613715171814, 1.2773679494857788, -0.09556318074464798, 0.4290972054004669, 0.5200543403625488, 0.9065439701080322, 0.7250865697860718, 0.7076643109321594, -0.5230535268783569, -0.001965381670743227, 0.06139456480741501, -0.718428909778595, 0.0014594390522688627, -0.4403258264064789, -0.906187117099762, 0.045658987015485764, -0.28388428688049316, -0.35804158449172974, 0.29504871368408203, -0.044253285974264145, 0.06834794580936432, 0.40541377663612366, -0.4392732083797455, 0.6806530952453613, -0.2448793202638626, -0.3008228540420532, -0.5169736742973328, -0.5821752548217773, 0.06643088907003403, -0.49574577808380127, 0.4476796090602875, 0.11731503903865814, -0.4270869791507721, 0.7036371231079102, -0.1125616729259491, 0.29671430587768555, 0.09360090643167496, -0.3230770528316498, 0.19996823370456696, 0.1904623657464981, 0.5322315096855164, 0.14662307500839233, -0.12050972133874893, 0.3846397399902344, 0.019888145849108696, -0.5179340839385986, -0.500595211982727, 0.6774390339851379, -0.9733664989471436, -0.5209230184555054, -0.4444271922111511, -0.4032772481441498, 0.0035853746812790632, 0.2532009780406952, 0.5084130167961121, -0.14968940615653992, -0.14161166548728943, 0.144408717751503, 0.6260372400283813, -0.35217535495758057, 0.18477430939674377, 0.6608250737190247, -0.10519221425056458, -0.3192593455314636, 1.1176553964614868, 0.2691110372543335, -0.27095162868499756, 0.4067305326461792, -0.050368532538414, -0.17548751831054688, -1.014417290687561, -0.9203788638114929, 0.049681223928928375, -0.8359795212745667, -0.21319565176963806, -0.7064851522445679, 0.009305154904723167, -0.2739836275577545, 0.03861772641539574, -0.11362223327159882, -0.45350486040115356, -0.4200274646282196, 0.1047317385673523, -0.0067930989898741245, 0.6381509900093079, -0.3282708525657654, 0.010832722298800945, -1.0733561515808105, 0.4540856182575226, -0.14469404518604279, 0.04085073247551918, -0.019707541912794113, -0.27935701608657837, -0.635896623134613, -0.03006274625658989, -0.28569868206977844, -1.0812585353851318, 0.5728132128715515, 0.23129284381866455, 0.4089514911174774, 0.7545682787895203, 0.02032604068517685, 0.22273190319538116, -0.6357000470161438, 0.33663007616996765, 0.1715504676103592, -0.753323495388031, 0.4824047088623047, -0.42857518792152405, 0.011562986299395561, 0.3860264718532562, 0.7300423383712769, -0.9357495903968811, -0.3556286096572876, -0.4258100092411041, -1.0713679790496826, 0.4765254557132721, 0.4217388927936554, 0.29791152477264404, -0.3293042778968811, 0.33783596754074097, 0.3769964873790741, 0.38307809829711914, -0.45072320103645325, -0.4822343587875366, -0.44717681407928467, -0.31330353021621704, 0.10585044324398041, -0.36645591259002686, 0.04894266277551651, -0.017416896298527718, 0.7790956497192383, -0.1908365786075592, 0.07209384441375732, 0.03753653168678284, -0.739417552947998, 0.06605881452560425, 0.35349681973457336, 0.4219747483730316, 0.5949774980545044, -0.3496498465538025, 0.2647182047367096, -0.1366032361984253, -0.6180558204650879, 0.28648462891578674, 0.06912024319171906, -0.36350342631340027, 0.403089314699173, 0.4251819849014282, 0.2214631736278534, 0.1067231073975563, -0.5080981254577637, 0.36731618642807007, 0.007113124243915081, 0.46998974680900574, -0.5164094567298889, 0.03852969408035278, 0.09514287859201431, -0.07436453551054001, 0.6985504627227783, 0.13765661418437958, 0.2799004316329956, -0.32795122265815735, 0.22625936567783356, 0.22307492792606354, -0.22114622592926025, -0.2633265554904938, 0.33465874195098877, 0.23275607824325562, -0.03724352642893791, 0.6836950778961182, -0.24880412220954895, -0.43952783942222595, 0.5159372687339783, 0.3166748881340027, 0.41422292590141296, -0.066546730697155, 0.40443968772888184, 0.265859454870224, 0.3912074863910675, 0.2770993411540985, 0.04594206064939499, -0.3567715585231781, -0.845915675163269, -0.2983161211013794, -0.6136134266853333, -0.292113333940506, 0.06633999943733215, -0.8997091054916382, 0.2618703544139862, -0.16134773194789886, -0.06138640269637108, 0.043840162456035614, 0.011666408739984035, -0.8390498161315918, -0.01940441131591797, 0.31581681966781616, 1.1904263496398926, -0.7782996892929077, 1.0087790489196777, 0.6418145298957825, -0.5379964113235474, -0.06622719019651413, -0.11927533149719238, -0.04323872551321983, -0.6061843633651733, 0.807115375995636, -0.07064908742904663, -0.09991418570280075, 0.2469862699508667, -0.2540222108364105, -0.8369089365005493, 0.7422323226928711, 0.5440254807472229, -0.14728936553001404, -0.02106345258653164, 0.33592724800109863, 0.4445398449897766, 0.09206494688987732, 0.1441672444343567, 0.21323390305042267, 0.6256991624832153, -0.418000727891922, -0.7215702533721924, -0.30435627698898315, -0.42105475068092346, -0.2876235544681549, 0.23019453883171082, -0.14776602387428284, 0.4950873553752899, 0.06210188567638397, -0.07410454005002975, 0.17629827558994293, 0.8202794790267944, -0.08688203990459442, 0.037265416234731674, 0.3413988947868347, 0.708147406578064, 0.7785533666610718, 0.09929415583610535, 1.09636652469635, -0.4563007354736328, 0.3194776475429535, 0.9620833396911621, -0.040878064930438995, 0.6892316341400146, 0.8758171796798706, 0.08766480535268784, 0.7339943647384644, 0.5384350419044495, -0.10116484761238098, 0.7457693219184875, 0.2111470252275467, -0.7297457456588745, 0.005835882853716612, -0.4195989966392517, -0.629875898361206, 0.7225018739700317, 0.5900464057922363, -0.6514727473258972, -0.533388614654541, 0.05603606253862381, 0.12892545759677887, -0.2302081286907196, -0.2259012907743454, 0.5940949320793152, -0.12843678891658783, -0.46184074878692627, 0.32415494322776794, 0.5883954167366028, 0.4978589713573456, -0.5658442974090576, 0.02851414494216442, -0.22726744413375854, -0.029904846101999283, -0.29325011372566223, -0.5459356307983398, 0.6190614104270935, 0.19086690247058868, -0.404735267162323, -0.1331411600112915, 0.5061373114585876, -0.1897309273481369, -0.5497098565101624, 0.214104562997818, 0.7939454913139343, 0.1011798307299614, -0.0350516140460968, -0.4308730661869049, -0.20898619294166565, -0.29792216420173645, -0.20061686635017395, 0.4996500313282013, 0.4902282953262329, -0.28054162859916687, 0.4791988730430603, 0.8548660278320312, 0.34831005334854126, 0.05755580961704254, -0.3352535665035248, 0.7849850058555603, -0.40892425179481506, -0.5390996336936951, -0.8779312372207642, 0.08729686588048935, -0.20519322156906128, -0.14487583935260773, 0.841219961643219, 0.8231796026229858, 1.0688196420669556, -0.14663006365299225, 0.8446229696273804, -0.23140248656272888, 0.06428845971822739, -0.45498374104499817, 1.1348308324813843, -0.44655895233154297, 0.1348511129617691, -0.17932437360286713, -0.9295341968536377, -0.31450343132019043, 0.756234347820282, -0.028866995126008987, -0.22329768538475037, 0.5307980179786682, 0.5759112238883972, -0.3760836124420166, -0.16681940853595734, 0.2336689978837967, 0.06308438628911972, 0.32262948155403137, 0.23561051487922668, 0.7913970351219177, -0.21962755918502808, 0.7719377279281616, -0.19319458305835724, 0.045746274292469025, -0.3043113350868225, -1.0547783374786377, -0.6737687587738037, -0.6881828904151917, -0.23334893584251404, -0.5638083219528198, -0.08984202891588211, 1.004075050354004, 0.40525081753730774, -1.110241174697876, -0.11735247820615768, 0.15965145826339722, 0.3407242000102997, -0.24642497301101685, -0.1501782238483429, 0.7983946204185486, -0.09787273406982422, -0.6532336473464966, 0.1475956290960312, 0.25331076979637146, -0.1397341638803482, -0.3719964325428009, 0.08760606497526169, -0.23836901783943176, -0.22822271287441254, 0.2990928590297699, 0.1928432583808899, -0.4225060045719147, -0.284588485956192, -0.17945167422294617, -0.28456002473831177, 0.240372434258461, 0.8421257734298706, -0.8398882746696472, 0.4444226920604706, 0.4095551371574402, 0.6004239320755005, 0.6059218049049377, -0.4623104929924011, 0.439466267824173, -0.8720264434814453, 0.09888650476932526, 0.13453449308872223, 0.5236025452613831, 0.37091702222824097, -0.0611010417342186, 0.5478433966636658, 0.18097595870494843, 0.008149564266204834, -0.4427260756492615, 0.14585748314857483, -0.543272852897644, -0.047594305127859116, 0.8039911985397339, -0.38274407386779785, -0.28627878427505493, -0.6925311088562012, -0.1409316062927246, 0.6197777390480042, -0.30361583828926086, 1.448949933052063, 0.8386508226394653, 0.2122359722852707, -0.052321530878543854, -0.6468218564987183, 0.3376873731613159, 0.10549082607030869, -0.6838425993919373, -0.5387603640556335, 0.39095190167427063, 0.25540265440940857, 0.4933386445045471, 0.16160240769386292, 0.06295683234930038, 0.48781096935272217, -0.38540324568748474, 0.09875968843698502, -0.25557592511177063, -0.09801822900772095, -0.0955241322517395, 0.29432156682014465, -0.02466377429664135, 0.0009812756907194853 ]
http://arxiv.org/abs/2404.00557v1
http://arxiv.org/pdf/2404.00557v1
DivTOD: Unleashing the Power of LLMs for Diversifying Task-Oriented Dialogue Representations
2024-03-31T04:36:57
2024-03-31T04:36:57
Weihao Zeng, Dayuan Fu, Keqing He, Yejie Wang, Yukai Xu, Weiran Xu
cs.CL
cs.CL
Language models pre-trained on general text have achieved impressive results in diverse fields. Yet, the distinct linguistic characteristics of task-oriented dialogues (TOD) compared to general text limit the practical utility of existing language models. Current task-oriented dialogue pre-training methods overlook the one-to-many property of conversations, where multiple responses can be appropriate given the same conversation context. In this paper, we propose a novel dialogue pre-training model called DivTOD, which collaborates with LLMs to learn diverse task-oriented dialogue representations. DivTOD guides LLMs in transferring diverse knowledge to smaller models while removing domain knowledge that contradicts task-oriented dialogues. Experiments show that our model outperforms strong TOD baselines on various downstream dialogue tasks and learns the intrinsic diversity of task-oriented dialogues.
[ -0.34239277243614197, -0.42980945110321045, 0.40874525904655457, 0.18303075432777405, -0.6841396689414978, 0.6286532878875732, -0.09357737749814987, -0.04680579900741577, -0.019696008414030075, 0.6656686663627625, -0.8896421194076538, -0.6106020212173462, -0.8734613060951233, -0.015540042892098427, -0.2850845754146576, 1.2501975297927856, 0.18906550109386444, 0.3437468707561493, -0.3629434108734131, -0.3504221439361572, -0.49468323588371277, -0.5108567476272583, -0.2696869671344757, -0.268300861120224, 0.402248740196228, 0.21377043426036835, 0.13709640502929688, 0.12674358487129211, 0.2341737300157547, 0.35991981625556946, 0.038979705423116684, 0.21360071003437042, -0.8764020204544067, 0.32772591710090637, -0.29463931918144226, -0.6188613176345825, -0.2818846106529236, -0.15101590752601624, 0.513085126876831, 0.8311110734939575, -0.29487964510917664, -0.1275830864906311, 0.2980963885784149, 0.43316468596458435, -0.40825608372688293, 0.12888334691524506, -0.9289618730545044, -0.03754578158259392, -0.10243842005729675, -0.05063464865088463, -0.31608882546424866, 0.007085268385708332, 0.5020334124565125, -0.4432629942893982, 0.03698761388659477, -0.21289096772670746, 0.3410833179950714, 0.5165675282478333, -0.6359875202178955, -0.2730182111263275, -0.8836398720741272, 0.9296661019325256, -0.4435083568096161, 0.16692250967025757, 0.10033402591943741, 0.19958040118217468, 0.10815131664276123, -0.6437824964523315, -0.5456012487411499, 0.11784487217664719, 0.22580888867378235, 0.2364567220211029, -0.25473639369010925, 0.1569804698228836, 0.061988890171051025, 0.5898796319961548, -0.14848169684410095, 0.13043418526649475, -0.06958785653114319, 0.2209864854812622, 0.35495927929878235, 0.37037500739097595, 0.19159556925296783, -0.0544973649084568, -0.4869483709335327, 0.16495832800865173, -0.5349278450012207, 0.07987269759178162, 0.15175080299377441, 0.33647918701171875, -0.09105978906154633, 0.28430548310279846, -0.21016691625118256, 0.6321800947189331, 0.09646646678447723, -0.4707150459289551, 0.0906829908490181, -0.561733603477478, -0.3770538866519928, -0.17769083380699158, 0.7693628072738647, 0.2048390507698059, 0.1274532526731491, -0.2596838176250458, -0.07060269266366959, -0.27530455589294434, 0.4116556644439697, -0.8490310311317444, 0.05660071596503258, -0.09270668774843216, -0.40825968980789185, -0.23959632217884064, -0.13046053051948547, -0.47749510407447815, -0.29968851804733276, -0.34406474232673645, 0.26466789841651917, -0.3106791079044342, -0.3051128685474396, 0.1323460340499878, -0.14563831686973572, 0.0005983234732411802, 0.5920435786247253, -0.994066596031189, 0.5014522671699524, 0.5072051286697388, 0.5742518305778503, -0.4937179386615753, -0.2755530774593353, -0.47475767135620117, 0.15996748208999634, -0.05218485742807388, 0.4116397500038147, -0.7486706376075745, -0.8954784870147705, -0.05750206857919693, -0.16159623861312866, 0.1445743292570114, -0.495686799287796, 0.17530351877212524, -0.36556336283683777, 0.26730599999427795, -0.28221508860588074, -0.36067768931388855, -0.14831233024597168, 0.3246997594833374, -0.4419940412044525, 0.6917275190353394, 0.4266207218170166, -0.8566678762435913, 0.45237571001052856, -0.42260223627090454, -0.48156917095184326, 0.2180136889219284, -0.4327218532562256, -0.412360280752182, 0.20418104529380798, 0.1809532642364502, 0.5316711664199829, -0.6282841563224792, 0.4260852038860321, -0.17415669560432434, -0.14608953893184662, 0.04035356640815735, -0.49830159544944763, 0.754802942276001, 0.2251831591129303, -0.13001398742198944, 0.0811050608754158, -0.5505098104476929, -0.43107613921165466, 0.03451796621084213, -0.2745458781719208, -0.7549709677696228, -0.13700829446315765, -0.3684380352497101, 0.0838339552283287, 0.09003914147615433, -0.6748468279838562, 0.4464844763278961, -0.31024280190467834, 0.2593824863433838, 0.6718223094940186, -0.011417925357818604, 0.6892998814582825, -0.43685632944107056, 0.6143226027488708, 0.5002086162567139, -0.006779633928090334, -0.16068418323993683, -0.6109032034873962, -0.6888611912727356, -0.6001933217048645, -0.08171695470809937, 0.5030621290206909, -0.9720059037208557, 0.3213292360305786, -0.3848968744277954, -0.5463771224021912, -0.4507480263710022, 0.3927854597568512, 0.38008299469947815, 0.2595113515853882, 0.21809162199497223, -0.5969981551170349, -0.43841174244880676, -0.6437219381332397, -0.3367350995540619, -0.1565944403409958, 0.07961907237768173, 0.2501891553401947, 0.36879536509513855, -0.487651526927948, 1.2111949920654297, -0.27885428071022034, -0.3304156959056854, -0.7091684341430664, 0.2065923810005188, 0.05866813287138939, 0.32043230533599854, 0.3492641746997833, -0.8073891997337341, -0.7506787180900574, -0.05028776079416275, -0.46453192830085754, 0.027448266744613647, -0.12002646923065186, -0.040416110306978226, -0.22644586861133575, 0.2637422978878021, -0.561722993850708, 0.35951730608940125, 0.5375191569328308, 0.03707132861018181, 0.25952082872390747, -0.047734495252370834, 0.18380093574523926, -1.581849455833435, -0.44435423612594604, -0.137005016207695, -0.480938196182251, -0.7901637554168701, -0.5621879696846008, -0.28792205452919006, -0.09663432836532593, -0.5002378821372986, 0.4400622546672821, -0.4916456937789917, -0.10105107724666595, -0.1478693187236786, -0.057001713663339615, -0.08934421837329865, 0.6292585730552673, 0.15596801042556763, 0.6507075428962708, 0.7542921304702759, -0.7884144186973572, 0.40166160464286804, 0.5480225086212158, -0.45378562808036804, 0.6440895199775696, -0.4317428767681122, 0.05849168077111244, -0.22068648040294647, 0.26438480615615845, -1.025747299194336, 0.2181524932384491, -0.01997644267976284, -0.08600238710641861, 0.43395256996154785, -0.4344303011894226, -0.1920192390680313, -0.19384080171585083, -0.1112949475646019, 0.696334183216095, 0.6051973104476929, -0.61909419298172, 0.8412725329399109, 0.5097543001174927, -0.5495896935462952, -0.7333344221115112, -0.5609885454177856, -0.23734071850776672, -0.25949132442474365, -0.49504920840263367, 0.5559931397438049, -0.09849753230810165, -0.2002091109752655, -0.21153734624385834, -0.31286370754241943, -0.24040938913822174, 0.08354984223842621, 0.31811457872390747, 0.12834779918193817, 0.01751701347529888, 0.23810520768165588, 0.0825757384300232, 0.0757555142045021, -0.18089337646961212, -0.5592961311340332, 0.6931031942367554, 0.11248478293418884, -0.8058276176452637, -0.21417008340358734, 0.4474298059940338, 0.6609786748886108, -0.3475467264652252, 0.5495404005050659, 0.40552809834480286, -0.0877181738615036, -0.43350014090538025, -0.5318852663040161, -0.058430738747119904, -0.48698413372039795, 0.7499879598617554, -0.4087288975715637, -1.2725579738616943, 0.3380991220474243, -0.48125267028808594, 0.24024605751037598, 0.11665799468755722, 0.8038216233253479, -0.08582562953233719, 0.7752353549003601, 0.8728163838386536, -0.07083338499069214, 0.8189715147018433, -0.22121170163154602, 0.28893163800239563, -0.7956709265708923, -0.27084001898765564, -0.2139420211315155, -0.14429378509521484, -0.5101239085197449, -0.9034823179244995, 0.12665405869483948, 0.04742412269115448, -0.06537545472383499, 0.11533348262310028, -0.38169625401496887, 0.4918721914291382, 0.48391637206077576, -0.12963643670082092, 0.5167446136474609, 0.03683288022875786, -0.08674150705337524, -0.07229635864496231, -0.6079686880111694, -0.3970264792442322, 1.3453689813613892, 0.366611510515213, 0.9478538036346436, 0.02397860400378704, 1.1132750511169434, 0.19439786672592163, 0.30808424949645996, -0.7074816823005676, 0.5505800247192383, -0.46341848373413086, -0.3638548254966736, -0.44694283604621887, -0.3679361641407013, -0.8512425422668457, 0.36042729020118713, 0.12925985455513, -0.7451793551445007, -0.007938834838569164, -0.2725829780101776, -0.2840830981731415, 0.35405173897743225, -0.5627968311309814, 0.7531777024269104, -0.22107675671577454, -0.1231907308101654, -0.3456743061542511, -0.44084519147872925, 0.40106335282325745, -0.13137993216514587, 0.11012276262044907, -0.08804070949554443, 0.19374652206897736, 0.6775763630867004, -0.5626475811004639, 1.0859463214874268, -0.15897831320762634, -0.16041697561740875, 0.4745703637599945, 0.027675319463014603, 0.4433072805404663, 0.3529629111289978, 0.34062501788139343, 0.02424640767276287, -0.2060898244380951, -0.33889177441596985, -0.44475239515304565, 0.5224237442016602, -0.9226638078689575, -0.9438027739524841, -0.3372493088245392, -0.6878570914268494, -0.4510279595851898, -0.029567748308181763, 0.22562548518180847, 0.5077114105224609, -0.6685048937797546, 0.1950148046016693, 0.8135941028594971, -0.09575186669826508, 0.46036022901535034, 0.6168540120124817, -0.16092264652252197, -0.11269524693489075, 0.8475649356842041, -0.24020440876483917, 0.6594741940498352, 0.6646179556846619, -0.17291852831840515, -0.3200869560241699, -0.6978404521942139, -0.1290254443883896, 0.03625646233558655, -0.9156981110572815, 0.03431515768170357, -0.8697066903114319, -0.09872330725193024, -0.17399099469184875, 0.09708036482334137, -0.4470699429512024, -0.3326999843120575, -0.4360690116882324, -0.1797693967819214, 0.2024441808462143, 0.9886248707771301, 0.13590897619724274, 0.41327813267707825, -0.8639919757843018, 0.4002464711666107, 0.9729728102684021, 0.16611213982105255, -0.20703524351119995, -0.5224114656448364, -0.08957046270370483, 0.16139072179794312, -0.5311301946640015, -0.7556312084197998, 0.4441673159599304, 0.08634090423583984, 0.8697317242622375, 0.3086848258972168, 0.12657637894153595, 0.43544265627861023, -0.4725249707698822, 0.8597406148910522, 0.663476288318634, -0.9662520289421082, 0.4544167220592499, -0.3100600838661194, 0.45573994517326355, 0.5540771484375, 0.5867565870285034, -0.45136645436286926, -0.605678141117096, -0.3889308273792267, -0.5137985944747925, 0.8057650327682495, 0.16475503146648407, 0.3852235972881317, -0.03214624151587486, -0.23706701397895813, 0.6191877126693726, 0.5069962739944458, -0.8003686666488647, -0.17213228344917297, -0.5620624423027039, -0.24218721687793732, -0.11724840104579926, -0.21322067081928253, -0.3064122200012207, -0.2769257724285126, 0.3215840756893158, -0.07666750997304916, 0.31077781319618225, 0.1514175683259964, -0.40386760234832764, 0.2551579475402832, 0.47044268250465393, 0.4015982747077942, 0.5192832946777344, -0.0025149774737656116, 0.028437377884984016, 0.3876705467700958, -0.48538103699684143, 0.3340800404548645, -0.10751763731241226, 0.3674139976501465, 0.04800000041723251, 0.20233984291553497, 1.034141182899475, -0.004136275965720415, -0.5369619727134705, 0.6570186018943787, -0.3288502097129822, -0.3052673935890198, 0.09486192464828491, 0.046801257878541946, 0.33499613404273987, 0.31452512741088867, 0.4358779489994049, 0.24049541354179382, 0.043404415249824524, -0.70140141248703, 0.20310866832733154, 0.5086175799369812, -0.4895813763141632, -0.1642560064792633, 0.369505375623703, 0.8345043063163757, -0.38239508867263794, 0.4384452998638153, -0.37838461995124817, -0.6455727219581604, 0.417348176240921, 0.24828983843326569, 1.051194429397583, -0.26330122351646423, 0.2952779233455658, -0.023745661601424217, 0.01679822988808155, 0.15958081185817719, 0.05988288298249245, -0.42021313309669495, -0.8136457204818726, -0.3790653347969055, -0.7197329998016357, -0.5037717819213867, 0.035148218274116516, -0.5070561766624451, 0.1656179279088974, -0.4364423155784607, -0.15489351749420166, -0.28780966997146606, -0.2125154286623001, -0.9264364242553711, 0.08932393789291382, 0.11163678020238876, 0.4179679751396179, -0.5414959788322449, 1.1982333660125732, 0.5003594160079956, -0.321208655834198, -0.44255784153938293, 0.25209537148475647, -0.12735895812511444, -0.8542478084564209, 1.065514326095581, 0.09642831236124039, -0.18484486639499664, 0.21566849946975708, -0.20652368664741516, -0.5857411026954651, 1.1924149990081787, 0.22905445098876953, -0.9999001622200012, -0.025932691991329193, 0.43614503741264343, 0.33521145582199097, -0.7979880571365356, 0.4179622232913971, 0.3031684458255768, -0.07655049115419388, 0.24497845768928528, -1.0624339580535889, -0.0880935937166214, -0.13583378493785858, 0.22522495687007904, -0.05964123085141182, -0.5277819633483887, 0.857478141784668, -0.1719028204679489, -0.2114384025335312, -0.03274605795741081, 0.41875410079956055, 0.18310631811618805, 0.036204393953084946, 0.6946882605552673, 0.45218363404273987, 0.7475685477256775, -0.18278272449970245, 0.9111031889915466, -0.19094596803188324, 0.13489508628845215, 1.0923069715499878, -0.4265631139278412, 0.38361597061157227, 0.4831443130970001, -0.2033664435148239, 0.6058233380317688, 0.3098164498806, 0.20018188655376434, 0.9617872834205627, 0.31664571166038513, -0.6699848771095276, -0.5294349193572998, 0.0011919495882466435, -0.22625362873077393, 0.4408901333808899, 0.3537103831768036, -0.0743764191865921, -0.2725416421890259, 0.26862019300460815, -0.5570148229598999, 0.13616158068180084, -0.16731518507003784, 1.1664315462112427, 0.2363157719373703, -0.6389778852462769, 0.5782643556594849, -0.24822396039962769, 1.0550446510314941, -0.730025589466095, 0.12169606983661652, -0.18966330587863922, 0.1687782108783722, 0.10572987049818039, -0.6197679042816162, 0.1923174411058426, -0.07060334086418152, -0.270643025636673, -0.6624754071235657, 0.5489557385444641, -0.6737456917762756, -0.17536835372447968, 0.44071608781814575, 0.77118319272995, -0.17905151844024658, -0.0688319131731987, -0.5239421129226685, -0.1385049968957901, 0.29560351371765137, -0.05493985489010811, 0.5534849762916565, 0.869200587272644, 0.08029178529977798, 0.9090271592140198, 0.42545372247695923, -0.3210242986679077, 0.05557930842041969, 0.4034020006656647, 1.2454026937484741, -0.4676244556903839, -0.5657303333282471, -0.854762852191925, 0.809967041015625, -0.2104659527540207, -0.33425116539001465, 0.567930281162262, 0.3113071620464325, 0.8818705081939697, -0.24064351618289948, 1.199631929397583, 0.24808119237422943, 0.5639959573745728, -0.35578230023384094, 0.43730252981185913, -0.5207935571670532, 0.47575342655181885, -0.26778149604797363, -0.9608138799667358, 0.24542756378650665, 0.5166342854499817, -0.17788459360599518, 0.14925897121429443, 0.797124981880188, 0.4789767861366272, -0.14306871592998505, 0.14815931022167206, 0.45413896441459656, 0.23185770213603973, 0.42900219559669495, 0.6368075609207153, 1.326249122619629, -0.03247276321053505, 0.7626262307167053, 0.059101808816194534, -0.2445618063211441, -0.17631995677947998, -0.6856187582015991, -1.4685620069503784, -0.7332074642181396, -0.3195106089115143, 0.17488020658493042, 0.03892391547560692, 0.7624825239181519, 0.8493304252624512, -0.4979141652584076, -0.41894978284835815, -0.4147788882255554, 0.22471590340137482, 0.03465743735432625, -0.08659582585096359, -0.45959824323654175, -0.4731442928314209, -0.9475349187850952, 0.3883182108402252, 0.5701186060905457, 0.25101837515830994, -0.3026213049888611, -0.4015738368034363, -0.10489943623542786, 0.0722748339176178, 0.5345988869667053, -0.10953406989574432, -0.7750576734542847, 0.1291983723640442, -0.1743779480457306, -0.2221524715423584, 0.09281718730926514, 1.0449624061584473, -0.7317675352096558, 0.5484986305236816, 0.4285358786582947, 0.7478846907615662, 0.8116188049316406, -0.1544038951396942, 1.0099531412124634, -1.0995259284973145, 0.4572273790836334, 0.5237812995910645, 0.3206990361213684, 0.2921893000602722, -0.0408816859126091, 0.07949762791395187, 0.30456286668777466, -0.313933789730072, -0.6636634469032288, 0.5989480018615723, -1.156349778175354, -0.5114225745201111, 1.0529053211212158, -0.32878202199935913, 0.2565690875053406, -0.4090659022331238, -0.4420919716358185, 0.25844356417655945, -0.4152962267398834, 0.48391300439834595, 0.7618053555488586, 0.28014543652534485, -0.23115745186805725, -0.13938084244728088, 0.7050142288208008, 0.6241682171821594, -0.8496736288070679, 0.17990237474441528, 0.06992185115814209, 0.35532835125923157, 0.014388329349458218, 1.019612193107605, 0.13654550909996033, -0.022953610867261887, -0.129777729511261, -0.06964046508073807, 0.0012960972962900996, -0.21922609210014343, -0.028154240921139717, -0.12370681017637253, 0.2223753184080124, -0.2148974984884262 ]
http://arxiv.org/abs/2404.00530v1
http://arxiv.org/pdf/2404.00530v1
Comparing Bad Apples to Good Oranges: Aligning Large Language Models via Joint Preference Optimization
2024-03-31T02:05:40
2024-03-31T02:05:40
Hritik Bansal, Ashima Suvarna, Gantavya Bhatt, Nanyun Peng, Kai-Wei Chang, Aditya Grover
cs.CL
cs.CL, cs.AI, cs.LG
A common technique for aligning large language models (LLMs) relies on acquiring human preferences by comparing multiple generations conditioned on a fixed context. This only leverages the pairwise comparisons when the generations are placed in an identical context. However, such conditional rankings often fail to capture the complex and multidimensional aspects of human preferences. In this work, we revisit the traditional paradigm of preference acquisition and propose a new axis that is based on eliciting preferences jointly over the instruction-response pairs. While prior preference optimizations are designed for conditional ranking protocols (e.g., DPO), our proposed preference acquisition protocol introduces DOVE, a new preference optimization objective that upweights the joint probability of the chosen instruction-response pair over the rejected instruction-response pair. Interestingly, we find that the LLM trained with joint instruction-response preference data using DOVE outperforms the LLM trained with DPO by 5.2% and 3.3% win-rate for the summarization and open-ended dialogue datasets, respectively. Our findings reveal that joint preferences over instruction and response pairs can significantly enhance the alignment of LLMs by tapping into a broader spectrum of human preference elicitation. The data and code is available at https://github.com/Hritikbansal/dove.
[ -0.417532742023468, -0.5841538310050964, 0.7365896701812744, -0.09311042726039886, -0.16159696877002716, 0.11497630178928375, -0.428735613822937, -0.34228426218032837, 0.18788406252861023, 0.5647261142730713, -0.20750762522220612, -0.45958802103996277, -0.8532503247261047, -0.07595356553792953, 0.06462166458368301, 0.980926513671875, 0.11446208506822586, 0.03161931782960892, -0.40747302770614624, -0.3606858253479004, -0.4350665211677551, -0.2826519012451172, -0.761088490486145, -0.4914027452468872, 0.5003675222396851, 0.42446982860565186, 0.8485698699951172, 0.49709489941596985, 0.5306431651115417, 0.3538159132003784, 0.09731771051883698, 0.2538723945617676, -0.6518477201461792, 0.10045414417982101, 0.018941039219498634, -0.43094465136528015, -0.6247730255126953, 0.27683913707733154, 0.5211846232414246, 0.8130729794502258, -0.02132163755595684, 0.04304242879152298, 0.14618435502052307, 1.0173516273498535, -0.8515255451202393, 0.0834113359451294, -0.7346305847167969, -0.015878619626164436, -0.07037872821092606, -0.4834766685962677, -0.47023770213127136, -0.34644758701324463, 0.37843066453933716, -0.6324845552444458, -0.26567232608795166, 0.1874903440475464, 0.6853766441345215, 0.26321592926979065, -0.637117326259613, -0.17427930235862732, -0.5717981457710266, 1.1835910081863403, -0.5874059200286865, 0.3482339382171631, 0.3960287868976593, 0.18871578574180603, -0.34852176904678345, -0.31155404448509216, -0.340442955493927, -0.2457980066537857, 0.0001264755701413378, 0.35641416907310486, -0.05704721435904503, 0.15972092747688293, -0.07180929183959961, 0.2385360449552536, -0.5558417439460754, 0.2279921919107437, -0.08854107558727264, 0.05822060629725456, 0.6605698466300964, 0.09741002321243286, 0.24142184853553772, 0.05857789143919945, -0.5303425192832947, -0.16918332874774933, -0.7417097091674805, 0.4111762046813965, 0.4333837330341339, 0.4974946975708008, -0.1407204568386078, 0.5768871903419495, -0.28608402609825134, 0.962427020072937, 0.30608662962913513, -0.3796767294406891, 0.3154449164867401, -0.13517840206623077, -0.3555891811847687, 0.2132037729024887, 0.8461965322494507, 0.7508150339126587, 0.046315815299749374, -0.18321150541305542, -0.18225756287574768, 0.20220087468624115, 0.1910668909549713, -0.5050244927406311, 0.07005062699317932, 0.3253209888935089, -0.5566700100898743, -0.242379829287529, 0.000056631328334333375, -0.7138971090316772, -0.2690218389034271, -0.6196717023849487, 0.4284849166870117, -0.13644558191299438, -0.10765624046325684, 0.47115790843963623, -0.004025817383080721, 0.2708403170108795, 0.2781533896923065, -1.1721826791763306, 0.2982405722141266, 1.1775223016738892, 0.4762454926967621, -0.18113993108272552, -0.3505114018917084, -0.8578163385391235, 0.17015936970710754, -0.33282649517059326, 0.5784488916397095, -0.8472614884376526, -0.3776000440120697, -0.09070608764886856, -0.2805807590484619, -0.042197633534669876, -0.49259501695632935, 0.5308524966239929, -0.5650234222412109, 0.4296238124370575, -0.3070675730705261, -0.6325736045837402, 0.2308969348669052, 0.31231188774108887, -0.364925354719162, 0.7080494165420532, -0.1306244283914566, -0.8214542865753174, 0.5909438133239746, -0.418741375207901, -0.1931544542312622, -0.09189483523368835, -0.40073704719543457, -0.47068530321121216, 0.0036970290821045637, 0.34127262234687805, 0.42727887630462646, -0.4552527964115143, 0.35241585969924927, -0.655327320098877, -0.3530525863170624, 0.3011808693408966, -0.22711290419101715, 0.8665255308151245, 0.270153671503067, -0.220628023147583, -0.0034033015836030245, -0.37314003705978394, 0.03537476807832718, 0.07039614766836166, -0.46764057874679565, -0.6661807894706726, 0.15761880576610565, -0.7382272481918335, -0.1021323874592781, 0.40240275859832764, -0.4713093638420105, 0.4727340042591095, -0.44836968183517456, 0.10778789967298508, 0.751130223274231, -0.267737478017807, 0.8071452379226685, -0.43487340211868286, 0.33632898330688477, -0.13468213379383087, 0.15147745609283447, 0.20767554640769958, -0.30180880427360535, -0.8120885491371155, -0.13236507773399353, 0.049646541476249695, 0.29396092891693115, -0.5319314002990723, 0.5996367335319519, -0.45563045144081116, -0.13296595215797424, -0.7829761505126953, 0.16695906221866608, 0.6101776957511902, 0.5521416068077087, 0.2786323130130768, -0.16493213176727295, -0.3995240330696106, -1.0269368886947632, -0.07710914313793182, -0.47966301441192627, 0.018222343176603317, 0.3349466025829315, -0.20775526762008667, 0.14213763177394867, 0.8114400506019592, -0.5056915879249573, -0.09078028053045273, -0.34060534834861755, 0.14763610064983368, 0.26169610023498535, 0.2251938432455063, 0.7560321092605591, -0.7573670148849487, -0.5565587878227234, 0.004086637869477272, -0.47309261560440063, -0.12765784561634064, 0.19144167006015778, -0.4572744071483612, 0.21261118352413177, 0.25121501088142395, -0.3580884039402008, -0.003579730400815606, 0.9285120964050293, -0.04030033200979233, 0.16867312788963318, 0.017102506011724472, 0.5494668483734131, -1.2726119756698608, -0.040394969284534454, -0.14576393365859985, -0.13461676239967346, -0.353330135345459, -0.12207287549972534, 0.052989132702350616, 0.08710400015115738, -0.4596550464630127, 0.45831701159477234, -0.4512488543987274, -0.29114019870758057, -0.3193378746509552, 0.21581760048866272, 0.18505656719207764, 0.46654513478279114, 0.10314346104860306, 0.774945855140686, 0.48769786953926086, -0.4216758608818054, 0.37793970108032227, 0.2917412519454956, -0.10400284081697464, 0.7260984182357788, -0.3889445662498474, 0.2501731514930725, -0.11759055405855179, 0.3087143003940582, -0.868624746799469, 0.024534786120057106, 0.20974315702915192, -0.37961795926094055, 0.4769836664199829, -0.37634405493736267, 0.05573218688368797, -0.13822616636753082, -0.6519564986228943, 0.40521931648254395, 0.5043022632598877, -0.733802080154419, 0.26383352279663086, 0.5938646197319031, -0.2368454933166504, -1.0520896911621094, -0.3520464599132538, 0.07284913212060928, -0.34615767002105713, -0.5123317241668701, 0.35752758383750916, -0.09480223059654236, -0.40399548411369324, -0.02752901427447796, -0.01104708295315504, 0.24811463057994843, -0.028920156881213188, 0.056962158530950546, 0.5121844410896301, -0.29371318221092224, 0.11448056250810623, -0.05300068482756615, -0.3974546790122986, -0.18916098773479462, -0.428295373916626, 0.43678006529808044, -0.18332162499427795, -0.3914877772331238, -0.20026244223117828, 0.2494337558746338, 0.562450110912323, -0.29464206099510193, 0.5958662033081055, 0.22555865347385406, 0.14570966362953186, 0.06986663490533829, -0.6444694995880127, -0.05955987051129341, -0.46488165855407715, 0.22265702486038208, -0.3139510452747345, -0.7205954194068909, -0.12592215836048126, 0.08250737190246582, 0.2510048449039459, 0.120957151055336, 0.47332972288131714, -0.1361790895462036, 1.2777549028396606, 0.4901738464832306, -0.5629490613937378, 0.4652820825576782, -0.21961329877376556, 0.325788676738739, -0.9773796200752258, 0.14641790091991425, -0.563961923122406, -0.5131227374076843, -0.5567266345024109, -0.09705386310815811, 0.2747628688812256, -0.024710489436984062, -0.1621939092874527, 0.13426420092582703, -0.38355472683906555, 0.6024483442306519, 0.6224201917648315, 0.07595110684633255, 0.3440898656845093, -0.1087847426533699, -0.019019415602087975, -0.08828840404748917, -0.4398730397224426, -0.6967214345932007, 1.2065426111221313, 0.24234983325004578, 0.7397303581237793, 0.10328516364097595, 1.046710729598999, -0.1572161316871643, 0.11427166312932968, -0.8208950161933899, 0.5800583362579346, -0.4585025906562805, -0.22091402113437653, -0.33899402618408203, -0.4584065079689026, -1.2094030380249023, 0.205021470785141, -0.33114859461784363, -0.7798826098442078, 0.023875553160905838, 0.26058030128479004, -0.4099511504173279, 0.25371748208999634, -0.7188461422920227, 0.7986016273498535, -0.6527173519134521, -0.5918616652488708, -0.09719392657279968, -0.7322880029678345, 0.3646785616874695, 0.12637990713119507, -0.006040116772055626, -0.3199561536312103, -0.16244420409202576, 0.6410832405090332, -0.05279671028256416, 0.5603119730949402, -0.03460836410522461, 0.04022921621799469, -0.09126624464988708, -0.03483310714364052, 0.24876898527145386, 0.10825999826192856, -0.29275327920913696, -0.1047888994216919, -0.10991464555263519, -0.4375516176223755, -0.7339240908622742, 0.912514328956604, -1.0620417594909668, -0.7823933959007263, -0.3212614059448242, -0.5218551754951477, -0.43917733430862427, 0.12791568040847778, -0.007706054020673037, 0.4909552335739136, -0.1661485731601715, 0.3155728578567505, 0.29455992579460144, -0.1652054637670517, 0.22706875205039978, 0.6196021437644958, -0.35901743173599243, -0.35867127776145935, 0.9763020873069763, -0.295544296503067, 0.605395495891571, 0.6830382943153381, 0.37292876839637756, -0.31658950448036194, -0.7020163536071777, -0.2879435420036316, 0.1768040508031845, -0.3703530728816986, -0.26349401473999023, -0.5449492931365967, 0.019565768539905548, -0.42955586314201355, -0.34357884526252747, -0.43837666511535645, -0.27939990162849426, -0.009888916276395321, 0.007980992086231709, 0.009252287447452545, 0.47658318281173706, 0.08341021835803986, 0.008314816281199455, -0.8514733910560608, 0.27160489559173584, 0.39510107040405273, 0.19094324111938477, -0.24620774388313293, -0.2606487274169922, -0.10633666813373566, 0.29492995142936707, -0.4574732780456543, -0.47775059938430786, 0.3836955428123474, -0.05826595798134804, 0.6764237880706787, 0.4109407067298889, 0.287846177816391, 0.6790745854377747, -0.23988349735736847, 0.6084645986557007, 0.21642959117889404, -0.668517529964447, 0.4667225480079651, -0.22828325629234314, 0.2003137469291687, 0.8770961165428162, 0.48599743843078613, -0.4199061393737793, -0.596644401550293, -0.471407949924469, -0.6718270182609558, 0.8721383213996887, -0.005338942166417837, 0.07650614529848099, 0.025459948927164078, 0.1435728669166565, 0.29322534799575806, 0.1740528792142868, -0.5160568952560425, -0.21957267820835114, 0.20210975408554077, -0.2700091600418091, -0.36191099882125854, -0.21217162907123566, -0.47159942984580994, 0.05123822018504143, 0.6200487017631531, -0.042735692113637924, 0.1547316163778305, -0.17047742009162903, 0.027703149244189262, -0.19311073422431946, 0.3869302272796631, 0.2863791286945343, 0.5860279202461243, -0.5030956268310547, 0.2497253715991974, -0.09427642077207565, -0.12201721966266632, 0.2615874111652374, 0.05889207869768143, -0.09237927198410034, -0.5205678939819336, 0.3595196604728699, 0.9112297892570496, 0.3687555491924286, -0.3720833957195282, 0.5563958883285522, -0.37031787633895874, -0.07124298810958862, 0.17612634599208832, 0.18057246506214142, 0.15019363164901733, 0.1704789251089096, 0.12334202229976654, -0.1175902932882309, 0.1988849639892578, -0.5662534832954407, 0.0766763761639595, 0.7359078526496887, -0.07193351536989212, -0.06613186001777649, 0.227125883102417, 0.5729063749313354, -0.3655252754688263, 0.5044806003570557, -0.14265066385269165, -0.4747005105018616, 0.5046946406364441, 0.508379340171814, 0.8000296354293823, -0.049500349909067154, 0.24223686754703522, 0.2889080047607422, -0.07177171111106873, 0.08578427135944366, -0.12232723832130432, -0.19056226313114166, -0.9987848401069641, -0.27882739901542664, -0.5919579267501831, -0.6249999403953552, 0.1760590672492981, -0.7241359353065491, 0.501848578453064, -0.1268743872642517, -0.09075498580932617, -0.0021872117649763823, 0.21881449222564697, -0.5567207932472229, -0.05301566794514656, 0.17246706783771515, 0.34164902567863464, -0.8751081228256226, 0.8411310911178589, 0.7256794571876526, -0.2438744753599167, -0.7674213647842407, 0.24309125542640686, 0.22556385397911072, -0.9618273973464966, 0.6399394273757935, 0.1740153431892395, -0.19119468331336975, -0.13027788698673248, -0.1252283900976181, -0.8405425548553467, 0.8785333633422852, 0.5312081575393677, -0.6085799336433411, 0.16385821998119354, 0.1491757333278656, 0.3593050241470337, -0.5330324172973633, 0.40102478861808777, 0.6932632923126221, 0.37568050622940063, 0.1614483892917633, -0.8880081176757812, -0.2587326765060425, -0.12775366008281708, -0.1649373471736908, 0.612507700920105, -0.7231906056404114, 0.5854190587997437, -0.14605502784252167, -0.05849277228116989, -0.03362177684903145, 0.368233859539032, 0.3236220180988312, 0.4647057354450226, 0.6902163624763489, 0.621713399887085, 0.4487825036048889, 0.033439796417951584, 1.0927143096923828, -0.4001859724521637, 0.26785755157470703, 1.0878968238830566, -0.477583110332489, 0.982702910900116, 0.7678772211074829, -0.3995131254196167, 0.016122477129101753, 0.5289883017539978, 0.5393295288085938, 0.544803261756897, -0.24101082980632782, -0.2252849042415619, -0.17998006939888, -0.10707595199346542, -0.4264628291130066, 0.61985182762146, 0.22349563241004944, -0.09753227978944778, -0.08902449160814285, -0.2641851603984833, -0.02111014351248741, 0.20821766555309296, 0.05513449013233185, 0.9619024991989136, 0.07194652408361435, -1.1781240701675415, 0.5965458154678345, -0.2981094419956207, 0.760255753993988, -0.5702837109565735, 0.08408970385789871, -0.2484312802553177, 0.16705770790576935, -0.024866757914423943, -0.7735037803649902, 0.022949352860450745, -0.3102812170982361, -0.08112093061208725, -0.21753594279289246, 0.4022142291069031, -0.7779369354248047, -0.3127172291278839, 0.603283166885376, 0.33880630135536194, -0.10652481019496918, 0.4991913437843323, -0.8464062809944153, 0.46766969561576843, 0.014929342083632946, -0.27763789892196655, 0.5697085857391357, 0.14343127608299255, 0.2645188271999359, 0.41713908314704895, 0.5827127695083618, 0.25798705220222473, -0.19763967394828796, 0.17760249972343445, 0.7189915776252747, -0.20502164959907532, -0.36995020508766174, -0.7704619765281677, 0.38651204109191895, -0.21358811855316162, -0.10855069011449814, 0.5190264582633972, 0.5285182595252991, 0.9920173287391663, 0.2273642122745514, 0.6972658634185791, 0.15944109857082367, 0.5308934450149536, -0.8055984973907471, 0.34105655550956726, -0.7365502715110779, 0.4703984260559082, -0.339057981967926, -1.179042100906372, -0.20067262649536133, 0.5000010132789612, -0.7005341053009033, 0.07247809320688248, 0.5850281119346619, 0.9503469467163086, -0.2944360077381134, -0.1993797868490219, 0.4131412208080292, -0.0231541246175766, 0.5145094990730286, 0.8740403056144714, 0.956839382648468, -0.05172824114561081, 0.42372745275497437, -0.4724743962287903, -0.4956372380256653, -0.3747137486934662, -1.0418919324874878, -0.7026041746139526, -0.5829912424087524, -0.1533447504043579, -0.14427050948143005, 0.41652587056159973, 1.3193144798278809, 0.6130744218826294, -0.5444000959396362, -0.4664674699306488, 0.17469562590122223, 0.14157657325267792, 0.016678471118211746, -0.18043074011802673, 0.3157917559146881, -0.5444127321243286, -1.14229416847229, 0.3734210133552551, 0.5590752363204956, 0.011798222549259663, -0.07788072526454926, -0.5060944557189941, -0.12404660880565643, -0.11673050373792648, 0.4396306574344635, 0.2784336507320404, -0.7706511616706848, -0.3923226296901703, -0.09148940443992615, -0.3212500810623169, 0.16992619633674622, 0.8099315166473389, -0.5474100112915039, 0.7226778864860535, 0.561101496219635, 0.9222620129585266, 0.280985951423645, 0.10247484594583511, 0.8916083574295044, -0.4945242702960968, 0.3455609977245331, 0.03064107708632946, 0.45372024178504944, 0.3173685073852539, -0.2416476607322693, 0.24106267094612122, -0.2759746313095093, -0.805561363697052, -0.6637687087059021, 0.2449922263622284, -1.158239722251892, -0.1209130510687828, 1.0076398849487305, -0.13282668590545654, -0.11717148870229721, 0.10420965403318405, -0.520064651966095, 0.14074602723121643, -0.6436884999275208, 0.9547412991523743, 0.4244081676006317, -0.20643754303455353, 0.1806103140115738, -0.20595546066761017, 0.28103169798851013, 0.8247318863868713, -0.7111777067184448, 0.01686534471809864, 0.46590837836265564, 0.015018097124993801, 0.017140377312898636, 0.7567586302757263, -0.028941050171852112, 0.18148928880691528, -0.37535104155540466, -0.10140927135944366, -0.06780444830656052, -0.2963868975639343, -0.29766845703125, -0.14513860642910004, 0.40898677706718445, -0.5169146656990051 ]
http://arxiv.org/abs/2404.00511v3
http://arxiv.org/pdf/2404.00511v3
MIPS at SemEval-2024 Task 3: Multimodal Emotion-Cause Pair Extraction in Conversations with Multimodal Language Models
2024-03-31T01:16:02
2024-04-11T05:14:35
Zebang Cheng, Fuqiang Niu, Yuxiang Lin, Zhi-Qi Cheng, Bowen Zhang, Xiaojiang Peng
cs.CL
cs.CL, cs.CV, cs.MM
This paper presents our winning submission to Subtask 2 of SemEval 2024 Task 3 on multimodal emotion cause analysis in conversations. We propose a novel Multimodal Emotion Recognition and Multimodal Emotion Cause Extraction (MER-MCE) framework that integrates text, audio, and visual modalities using specialized emotion encoders. Our approach sets itself apart from top-performing teams by leveraging modality-specific features for enhanced emotion understanding and causality inference. Experimental evaluation demonstrates the advantages of our multimodal approach, with our submission achieving a competitive weighted F1 score of 0.3435, ranking third with a margin of only 0.0339 behind the 1st team and 0.0025 behind the 2nd team. Project: https://github.com/MIPS-COLT/MER-MCE.git
[ -0.5736647248268127, -0.6514473557472229, 0.5867959856987, 0.43164271116256714, -0.051186174154281616, -0.23348818719387054, -0.07439712435007095, -0.5400686264038086, 0.39321842789649963, 0.3184443712234497, -0.765500009059906, -0.12176473438739777, -0.8226624727249146, 0.12128965556621552, 0.0991768091917038, 0.7457699179649353, -0.09600788354873657, 0.20324820280075073, -0.3355438709259033, -0.29949453473091125, -0.45253732800483704, -0.46026474237442017, -0.6137765049934387, -0.01931995339691639, 0.7845345735549927, 0.8074584007263184, 0.10604061931371689, -0.16336052119731903, 0.6245867013931274, 0.30073484778404236, 0.4284329414367676, 0.1907430738210678, -0.2740466892719269, 0.47827067971229553, -0.14113382995128632, -0.04562617465853691, -0.8390178680419922, -0.015161140821874142, 0.24671418964862823, 0.07127019017934799, 0.04646444693207741, -0.05888707563281059, 0.05500020831823349, 0.6942797303199768, -0.7793521881103516, 0.2981353998184204, -0.43162745237350464, -0.08419137448072433, -0.2619395852088928, -0.7813065052032471, -0.3981599509716034, 0.17100900411605835, 0.03896266594529152, -0.20112140476703644, 0.04853145405650139, 0.13501672446727753, 0.703960120677948, 0.22540298104286194, -0.9507280588150024, -0.39626437425613403, -0.19335471093654633, 0.5619376301765442, -0.6689739227294922, 0.6464956402778625, 0.23690247535705566, 0.15395879745483398, 0.007958912290632725, -0.5251543521881104, -0.6575735807418823, 0.1531388759613037, 0.07646868377923965, 0.41754454374313354, -0.4133600890636444, 0.1626102775335312, 0.08684895187616348, 0.12582603096961975, -0.6693734526634216, -0.08524440973997116, -0.25841501355171204, -0.3697347939014435, 0.6299693584442139, 0.08880966156721115, 0.5205472111701965, -0.2407439798116684, -0.48990902304649353, -0.036828141659498215, -0.5058354139328003, 0.10500434041023254, 0.2716154456138611, -0.05208747833967209, -0.3477017283439636, 0.5799165964126587, -0.2651172876358032, 0.13531982898712158, -0.2691502571105957, 0.06434887647628784, 0.5158604383468628, -0.4743540585041046, -0.12338332831859589, -0.15423627197742462, 0.9277384877204895, 0.6143937110900879, -0.016389166936278343, 0.16238243877887726, -0.06688990443944931, 0.018425533547997475, 0.018742121756076813, -0.752994954586029, -0.0642801970243454, 0.2642531096935272, -0.5125356316566467, -0.29264071583747864, -0.0999012291431427, -1.5335087776184082, -0.682671844959259, -0.16160763800144196, 0.7420720458030701, -0.14053481817245483, -0.4533524811267853, 0.035542041063308716, -0.2534269690513611, 0.06328373402357101, 0.2857106328010559, -0.8903727531433105, 0.04120275378227234, 0.4060593843460083, 0.6177974343299866, 0.023490697145462036, -0.325166791677475, -0.5777333974838257, -0.05953893065452576, 0.052630387246608734, 0.7081766128540039, -0.5198505520820618, -0.28714433312416077, -0.24858681857585907, 0.24029244482517242, -0.2697649896144867, -0.17488978803157806, 1.0596107244491577, -0.2343859076499939, 0.4003192186355591, -0.3411085307598114, -0.076675184071064, -0.26937371492385864, 0.37347596883773804, -0.7088357210159302, 0.7545415163040161, -0.19363269209861755, -0.7990220785140991, 0.04118971526622772, -0.927422821521759, -0.3083382844924927, 0.0024146749638020992, -0.19445230066776276, -0.15868055820465088, 0.24958205223083496, 0.3711944818496704, 0.6800119280815125, -0.5406614542007446, 0.36835137009620667, -0.47110968828201294, 0.1897582709789276, 0.16165326535701752, -0.5871486663818359, 0.40975871682167053, 0.34160375595092773, -0.5707005262374878, 0.403958797454834, -0.6332323551177979, -0.25300297141075134, 0.218119814991951, -0.17409004271030426, -0.16643933951854706, 0.07985381036996841, 0.13972096145153046, 0.8398258686065674, 0.1782001256942749, -0.7736296653747559, -0.07706199586391449, -0.008286858908832073, 0.37255915999412537, 0.7475634813308716, 0.3594134747982025, 0.38657739758491516, -0.047996409237384796, 0.6994626522064209, 0.2732694745063782, 0.14822793006896973, -0.478671669960022, -0.5657274127006531, -0.8994093537330627, -0.39982932806015015, -0.07780691236257553, 0.5419430136680603, -0.9039031863212585, -0.247925266623497, -0.02133352868258953, -0.39803895354270935, -0.3183882236480713, -0.18299070000648499, 0.31264516711235046, 0.5042700171470642, 0.24740764498710632, -0.14626775681972504, -0.958890974521637, -1.0955777168273926, -0.2080805003643036, -0.13286828994750977, 0.2374822050333023, 0.6608150601387024, 0.6143689155578613, -0.6189109086990356, 0.5604680180549622, -0.15547382831573486, -0.0758233442902565, -0.14992649853229523, 0.5439586639404297, -0.2777477204799652, 0.6742235422134399, 0.5950636267662048, -0.8410607576370239, -0.05058756470680237, -0.08494982123374939, -0.7909214496612549, -0.6669261455535889, -0.02063564956188202, -0.15070053935050964, 0.4188503324985504, 0.512801468372345, -0.4384547770023346, 0.2519897520542145, 0.9764814376831055, -0.5718527436256409, 0.5018948316574097, 0.10861267149448395, 0.8964270353317261, -1.2643359899520874, -0.12348262220621109, 0.17439642548561096, -0.022861385717988014, -0.6184159517288208, -0.25514745712280273, -0.02478729747235775, -0.4523007273674011, -0.44022369384765625, 0.5163589715957642, -0.20747585594654083, 0.06582916527986526, 0.043690379709005356, 0.095350481569767, 0.07320649921894073, 0.7114428281784058, 0.07534048706293106, 0.37160253524780273, 0.3314967751502991, -0.22226829826831818, 0.5153639912605286, 0.04972849041223526, 0.04157109186053276, 0.6218247413635254, -0.4885752201080322, -0.015325096435844898, -0.07903200387954712, 0.0922490805387497, -1.248533844947815, -0.50545734167099, 0.3300315737724304, -0.6473766565322876, 0.22443756461143494, 0.06356722116470337, -0.31271329522132874, -0.20452231168746948, -0.29004234075546265, 0.49810847640037537, 0.021733181551098824, -0.2788224518299103, 0.8267744779586792, 0.5847494602203369, -0.7340877056121826, -0.19005653262138367, -0.4977196156978607, 0.22686828672885895, -0.34239625930786133, -0.9762465953826904, 0.11142394691705704, -0.26046156883239746, -0.0037868651561439037, -0.31613147258758545, 0.08799034357070923, -0.12447299808263779, 0.08165112882852554, 0.47729554772377014, 0.06569063663482666, -0.21867407858371735, 0.23369763791561127, 0.01735576242208481, -0.2926389276981354, 0.2541884481906891, 0.4738066792488098, 0.5716074705123901, -0.520779550075531, -0.5397403836250305, -0.36902883648872375, 0.8159610033035278, 1.0413743257522583, -0.4393608570098877, 0.29902270436286926, 0.9646225571632385, -0.4448406398296356, 0.2509087026119232, -0.7548673152923584, -0.29542094469070435, -0.4058622419834137, 0.49942728877067566, -0.47784706950187683, -1.14191472530365, 0.3379749059677124, -0.25707387924194336, -0.35001981258392334, 0.5595768690109253, 0.7935326099395752, -0.28410667181015015, 1.524704098701477, 0.6024869084358215, 0.025518840178847313, 0.51186603307724, 0.17016391456127167, 0.31976255774497986, -0.697262704372406, -0.5472215414047241, -0.4960329830646515, -0.31834685802459717, -0.6475092172622681, -0.34982672333717346, 0.5978643298149109, -0.0051454356871545315, 0.11586697399616241, 0.15035925805568695, 0.09149881452322006, 0.07018209993839264, 0.4956398904323578, -0.0766991525888443, -0.06310365349054337, -0.12823733687400818, -0.06674934178590775, -0.34949663281440735, -0.6543131470680237, -0.3494475185871124, 0.5843166708946228, 0.5885715484619141, 0.4020971655845642, 0.4303729832172394, 0.5960941910743713, 0.31616660952568054, -0.02399001270532608, -0.6608455181121826, 0.660269021987915, 0.32844462990760803, -0.519462525844574, 0.1002337858080864, -0.389105886220932, -0.6090739965438843, 0.4670249819755554, -0.45002344250679016, -0.8716907501220703, 0.4146250784397125, -0.027295010164380074, 0.04855891317129135, -0.12855881452560425, -0.8481520414352417, 1.3506295680999756, -0.2531115710735321, -0.35512301325798035, -0.3385845720767975, -0.7616360783576965, 0.5892384052276611, 0.0019021987682208419, 0.6201881766319275, -0.3020418882369995, 0.12896789610385895, 0.7994779944419861, -0.18636608123779297, 0.7304766178131104, -0.29001909494400024, 0.009975451044738293, 0.19454744458198547, 0.2301836758852005, 0.37145769596099854, 0.07543293386697769, 0.15179984271526337, 0.09178709983825684, 0.09640622138977051, -0.24049483239650726, -0.5659446716308594, 0.5905117988586426, -0.40715911984443665, -0.14570599794387817, -0.41663485765457153, -0.5227876305580139, -0.42254653573036194, -0.01722482033073902, 0.2259930819272995, 0.7587096691131592, 0.008558792993426323, 0.4704643189907074, 0.3816083073616028, -0.2638660967350006, 0.771162748336792, 0.582632839679718, 0.07472314685583115, -0.7391040325164795, 1.1602362394332886, -0.38867565989494324, 0.12020061910152435, 0.2197033017873764, 0.2867659330368042, -0.1627226620912552, -0.10925140231847763, -0.3190240263938904, 0.13184130191802979, -0.6911261081695557, -0.21517407894134521, -0.8842368721961975, 0.09642540663480759, -0.633108913898468, -0.15230360627174377, -0.3908080756664276, -0.4662854075431824, -0.30382874608039856, 0.07341074198484421, -0.07726100087165833, 0.3951388895511627, -0.4640355408191681, 0.023873860016465187, -1.190069317817688, 0.15971529483795166, 0.4093465209007263, -0.04996039345860481, -0.4403800070285797, -0.20906171202659607, -0.06789708882570267, 0.00857254583388567, -0.5414043664932251, -1.158202052116394, 0.6014899611473083, 0.2571062743663788, 0.6572070717811584, 0.46717536449432373, -0.06295855343341827, 0.7001484036445618, -0.261068731546402, 0.9506688714027405, 0.4420126974582672, -1.0365201234817505, 0.8041935563087463, -0.5945266485214233, 0.17595775425434113, 0.42730042338371277, 0.34008994698524475, -0.8550735712051392, -0.10184277594089508, -0.7779624462127686, -0.7240611910820007, 0.6748818159103394, 0.30505070090293884, -0.12003154307603836, -0.15323251485824585, -0.19531026482582092, -0.21287481486797333, 0.20361322164535522, -0.6993904709815979, 0.03526929020881653, 0.05888993293046951, -0.4931829273700714, -0.03824448585510254, -0.9845919609069824, 0.025988802313804626, 0.0859122946858406, 0.8626239895820618, -0.12314262986183167, 0.6029901504516602, 0.1605607569217682, -0.2469928115606308, -0.12788398563861847, 0.7160587906837463, 1.1996960639953613, 0.24783658981323242, -0.18769672513008118, 0.4079742133617401, 0.15208972990512848, -0.16941826045513153, -0.11080285906791687, 0.1313973367214203, 0.5452927947044373, -0.09286245703697205, 0.6751453876495361, 0.7423051595687866, 0.48336687684059143, -0.8951022028923035, 0.8627681732177734, -0.15363246202468872, -0.09361948072910309, 0.12338022142648697, -0.418171763420105, -0.1375204175710678, 0.7219517230987549, 0.14931751787662506, 0.2228931188583374, 0.5817364454269409, -0.4363531768321991, 0.36806875467300415, 0.21906857192516327, -0.6113020181655884, -0.6735691428184509, 0.5533173680305481, 0.6498931050300598, 0.09074858576059341, -0.038590967655181885, -0.26663893461227417, -0.9365368485450745, 0.5600280165672302, 0.5568450689315796, 0.9485204219818115, -0.3951641321182251, 0.08088486641645432, 0.40251004695892334, 0.2898947298526764, 0.25782278180122375, 0.6264680624008179, -0.20869071781635284, -0.8395437002182007, -0.26944541931152344, -0.3810228705406189, -0.3917636275291443, -0.0852312445640564, -0.518136203289032, 0.33104032278060913, 0.040997546166181564, 0.011949006468057632, -0.1882273554801941, -0.3147597908973694, -0.4966443181037903, 0.1613394021987915, 0.5573022365570068, 0.46623653173446655, -1.080884575843811, 0.44000717997550964, 0.7392772436141968, -0.37056493759155273, -0.5244210362434387, -0.5681070685386658, 0.5951631665229797, -0.5133266448974609, 0.8553603291511536, 0.2598797380924225, -0.22084885835647583, -0.03686102107167244, -0.4212667644023895, -0.6271457076072693, 1.0741009712219238, 0.25525006651878357, -0.3457118570804596, 0.23586058616638184, -0.11422992497682571, 0.1263148933649063, -0.45474761724472046, 0.49081045389175415, 0.3091775178909302, 0.3485150635242462, 0.20468908548355103, -1.060912013053894, -0.2040414810180664, -0.6328930258750916, -0.33817392587661743, 0.2883455455303192, -0.615745484828949, 0.6229588389396667, -0.06334125250577927, -0.08013344556093216, -0.36982572078704834, 0.4661449193954468, 0.2770337462425232, 0.6604203581809998, 0.4514926075935364, 0.6040170788764954, 0.41422930359840393, -0.1348571479320526, 0.7206536531448364, -0.16083985567092896, 0.3981318771839142, 1.197579026222229, -0.19430893659591675, 0.8506296277046204, 0.6877130270004272, 0.1321898251771927, 0.4769238233566284, 0.598067581653595, 0.5458171367645264, 0.5556849837303162, -0.42738643288612366, -0.37958452105522156, -0.4896396994590759, -0.277645081281662, -0.37987852096557617, 0.8707247972488403, 0.4221004545688629, -0.3685342073440552, -0.2080625593662262, 0.45717233419418335, 0.1676809936761856, -0.45403093099594116, -0.09598011523485184, 0.64146488904953, 0.005629437044262886, -0.40094712376594543, -0.07166710495948792, -0.007289370521903038, 0.5625974535942078, -0.4501112103462219, -0.11554386466741562, -0.12257799506187439, 0.08989547938108444, -0.20957079529762268, -0.46440836787223816, 0.274581640958786, -0.16913816332817078, -0.1428425908088684, -0.5046766400337219, 0.9976282119750977, -0.5910166501998901, -0.29105696082115173, 0.2128010243177414, 0.5248398780822754, 0.08093447238206863, -0.33490559458732605, -0.6711107492446899, 0.2931373715400696, -0.17749544978141785, -0.48149725794792175, 0.2407607138156891, 0.6826918721199036, -0.038860779255628586, 0.4095134139060974, 0.5532345175743103, -0.5058700442314148, 0.01952257938683033, 0.2856520116329193, 0.6314313411712646, -0.5619138479232788, -0.3695968985557556, -0.9944825768470764, 0.8570676445960999, -0.08280821144580841, -0.4277523458003998, 0.7098246216773987, 0.4667753577232361, 0.3235497772693634, -0.11277565360069275, 0.5060780644416809, -0.3338618874549866, 0.2547243535518646, -0.4593583643436432, 0.39715540409088135, -0.9083694815635681, -0.01071966253221035, -0.7181515097618103, -0.6044557690620422, -0.18279089033603668, 0.40373560786247253, -0.08451520651578903, -0.20586374402046204, 0.8593109250068665, 0.9166224598884583, 0.24204294383525848, 0.41704919934272766, 0.3962004482746124, 0.07899011671543121, 0.5208188891410828, 0.9607431292533875, 1.0328125953674316, -0.5607777237892151, 0.34433579444885254, -0.24413245916366577, -0.3700036406517029, -0.43112465739250183, -1.1278780698776245, -0.5526768565177917, -1.1377531290054321, -0.3955260217189789, -0.13252392411231995, -0.4445374310016632, 1.0285953283309937, 0.6581632494926453, -0.7059708833694458, 0.14365170896053314, 0.05012081563472748, 0.052866410464048386, 0.15661711990833282, -0.30273109674453735, -0.1834302544593811, -0.3531714081764221, -0.619073212146759, 0.7235900163650513, 0.6363983750343323, -0.014588646590709686, 0.05572742223739624, -0.2562197744846344, -0.4448237121105194, 0.05821431428194046, 0.9492950439453125, 0.12308958172798157, -0.6946322321891785, -0.4361434578895569, -0.15122811496257782, -0.07829973846673965, -0.2372836172580719, 0.9924232959747314, -0.4046441316604614, 0.7146420478820801, 0.917274534702301, 0.5514492392539978, 0.364111989736557, -0.2733987867832184, 0.5800091624259949, -0.6321712732315063, 0.1633952111005783, 0.262050598859787, 0.8120711445808411, 0.10980319231748581, -0.17246516048908234, 0.6787770986557007, 0.6863130927085876, -0.817884624004364, -0.707131564617157, 0.32078373432159424, -1.4260146617889404, 0.1083424836397171, 1.222235918045044, 0.0599592924118042, -0.05657067522406578, 0.17915530502796173, -0.5385938882827759, 0.1040109246969223, -0.4157972037792206, 0.27492451667785645, 0.9343938827514648, -0.347250372171402, -0.7287502288818359, -0.7434413433074951, 0.15868884325027466, 0.6038951873779297, -1.1649034023284912, -0.28183531761169434, 0.8357074856758118, -0.046494584530591965, 0.07838048040866852, 0.7892893552780151, -0.15919993817806244, 0.3469865024089813, -0.04752868041396141, 0.44411373138427734, -0.08015435189008713, -0.5358186960220337, -0.46564799547195435, 0.3420158326625824, -0.4233482778072357, -0.2564373314380646 ]
http://arxiv.org/abs/2404.01339v1
http://arxiv.org/pdf/2404.01339v1
Humane Speech Synthesis through Zero-Shot Emotion and Disfluency Generation
2024-03-31T00:38:02
2024-03-31T00:38:02
Rohan Chaudhury, Mihir Godbole, Aakash Garg, Jinsil Hwaryoung Seo
cs.CL
cs.CL, cs.AI, cs.HC
Contemporary conversational systems often present a significant limitation: their responses lack the emotional depth and disfluent characteristic of human interactions. This absence becomes particularly noticeable when users seek more personalized and empathetic interactions. Consequently, this makes them seem mechanical and less relatable to human users. Recognizing this gap, we embarked on a journey to humanize machine communication, to ensure AI systems not only comprehend but also resonate. To address this shortcoming, we have designed an innovative speech synthesis pipeline. Within this framework, a cutting-edge language model introduces both human-like emotion and disfluencies in a zero-shot setting. These intricacies are seamlessly integrated into the generated text by the language model during text generation, allowing the system to mirror human speech patterns better, promoting more intuitive and natural user interactions. These generated elements are then adeptly transformed into corresponding speech patterns and emotive sounds using a rule-based approach during the text-to-speech phase. Based on our experiments, our novel system produces synthesized speech that's almost indistinguishable from genuine human communication, making each interaction feel more personal and authentic.
[ -0.528511643409729, -0.9667002558708191, 0.40653249621391296, 0.09624197334051132, -0.1633361428976059, 0.49100810289382935, 0.015290752053260803, -0.520115315914154, 0.5035654306411743, 0.22195816040039062, -0.9217222929000854, -0.4734043776988983, -0.10075583308935165, 0.26054707169532776, -0.48370125889778137, 1.1030240058898926, 0.40461328625679016, -0.1257583647966385, 0.18224605917930603, -0.04011421650648117, -0.2719312012195587, -0.6229243278503418, -0.24690252542495728, -0.4502106308937073, 0.5654700994491577, 0.3830772936344147, 0.6377938985824585, 0.6813845038414001, -0.00693807378411293, 0.2684790790081024, 0.0017429953441023827, -0.16332367062568665, -0.5257011651992798, 0.4442165791988373, 0.006979255471378565, -0.022435642778873444, -0.6352514028549194, 0.07226670533418655, 0.3558914363384247, 0.5769204497337341, -0.18193911015987396, -0.013960877433419228, 0.004890574607998133, 0.47483062744140625, -0.5402617454528809, -0.007704924792051315, -0.7599633932113647, 0.42950165271759033, -0.11945334821939468, -0.03700548782944679, -0.36135751008987427, -0.180735245347023, 0.06061135604977608, -0.38474103808403015, 0.2131449282169342, -0.28477469086647034, 0.4819103181362152, 0.393192321062088, -0.06827647238969803, -0.2861732840538025, -1.0710946321487427, 0.5351207852363586, -0.8769147992134094, 0.15585128962993622, 0.07028614729642868, 0.2462599128484726, -0.1692294478416443, -0.6319836378097534, -0.9784168601036072, -0.22888733446598053, 0.37364473938941956, 0.25314033031463623, -0.5290420055389404, 0.3300442695617676, 0.10191978514194489, 0.16949136555194855, -0.5889723896980286, 0.1659950613975525, -0.20635676383972168, -0.29259228706359863, 0.6963401436805725, 0.40122950077056885, 0.6225807070732117, -0.18451443314552307, -0.04248122498393059, -0.24966581165790558, -0.3403029441833496, -0.06460721790790558, 0.5347217917442322, 0.4820767045021057, 0.09821798652410507, 0.415431410074234, -0.41786083579063416, 0.5282118916511536, 0.12951897084712982, -0.05375473201274872, 0.3017796576023102, 0.02286437153816223, -0.3956792950630188, 0.5693824887275696, 0.8243187665939331, 0.4607827663421631, 0.05362746864557266, -0.12285806983709335, -0.12788622081279755, 0.5624663233757019, 0.484886109828949, -0.9153454899787903, -0.07121318578720093, 0.3070318400859833, -0.07660763710737228, -0.748471200466156, -0.1960889846086502, -0.7615004777908325, -0.2843914330005646, -0.29647940397262573, 0.37632277607917786, -0.3275720775127411, -0.3027684688568115, 0.2023959457874298, -0.06722664833068848, 0.01401591021567583, 0.11755523085594177, -0.9458586573600769, 0.07484038174152374, 0.5313595533370972, 0.6171554923057556, 0.11053944379091263, -0.2707856297492981, -0.5452557802200317, 0.07487845420837402, -0.3808077871799469, 0.5645834803581238, -0.552567183971405, -0.40872734785079956, -0.09565712511539459, -0.2912904620170593, 0.4888823926448822, -0.45729315280914307, 0.6785813570022583, 0.09377571940422058, 0.3684360980987549, 0.05279943719506264, -0.297019898891449, -0.0778774619102478, -0.06080661341547966, -0.2050805389881134, 0.559299886226654, 0.14307479560375214, -0.5142025947570801, 0.19291451573371887, -0.9530980587005615, -0.6154656410217285, 0.2515108287334442, -0.09762001037597656, -0.29496288299560547, 0.23963969945907593, 0.09565213322639465, 0.40480127930641174, -0.11508211493492126, 0.23653441667556763, -0.48524734377861023, -0.34412550926208496, 0.29331254959106445, -0.43734198808670044, 0.4816138744354248, 0.4776163101196289, -0.7022122144699097, 0.10689714550971985, -0.9669860005378723, 0.03309235721826553, 0.1914282739162445, -0.10620921105146408, -0.17792227864265442, 0.031362008303403854, 0.251779705286026, 0.453401654958725, -0.11521488428115845, -0.8605313897132874, -0.20279677212238312, -0.8683455586433411, 0.9203522801399231, 0.7029202580451965, -0.025960925966501236, 0.5170931816101074, -0.3478333652019501, 0.49069714546203613, -0.03479383885860443, 0.12019596993923187, -0.3545445203781128, -0.32110220193862915, -0.7022939920425415, -0.36544060707092285, -0.20904012024402618, 0.5808061361312866, -0.4465191960334778, 0.4689922332763672, 0.02848212979733944, -0.4630265533924103, -1.0216925144195557, -0.20602202415466309, 0.20916256308555603, 0.9222056865692139, 0.32475969195365906, -0.41662856936454773, -0.6594342589378357, -0.8463871479034424, -0.1305980235338211, -0.4011591970920563, -0.365224689245224, 0.11097341775894165, 0.07831241935491562, -0.32941415905952454, 0.9812310934066772, -0.3357234597206116, -0.15320125222206116, -0.11374057829380035, 0.24195945262908936, 0.0044050076976418495, 0.40473365783691406, 0.37353795766830444, -0.46593567728996277, -0.3482119143009186, 0.016853902488946915, -0.711487889289856, -0.41935497522354126, -0.335614949464798, -0.19982847571372986, 0.3491970896720886, 0.4507221579551697, -0.573242723941803, 0.5476823449134827, 0.3653583824634552, -0.0766088217496872, 0.18215541541576385, 0.0596233531832695, 0.28559404611587524, -1.125335454940796, 0.24888139963150024, -0.30625519156455994, -0.2386101931333542, -1.1084827184677124, -0.26221325993537903, -0.5233827233314514, -0.6438800692558289, -0.7683634161949158, 0.3139970600605011, -0.12078164517879486, -0.04920161888003349, -0.262035071849823, 0.2878537178039551, 0.12819530069828033, 0.6437800526618958, -0.1774289458990097, 0.6059381365776062, 0.5156057476997375, -0.445665568113327, 0.46797236800193787, 0.5556420683860779, 0.027911584824323654, 0.9843254685401917, -0.9235368371009827, 0.32752248644828796, -0.15620583295822144, 0.3201190233230591, -0.855907142162323, -0.4134604036808014, 0.3830936551094055, -0.8181455135345459, -0.024491723626852036, 0.19265002012252808, -0.16849863529205322, -0.1808900684118271, -0.34323757886886597, 0.1194022074341774, 0.8965379595756531, -0.19227412343025208, 0.344035267829895, 0.6106568574905396, -0.6815369129180908, -0.06835903227329254, -0.9427328109741211, 0.6351876258850098, -0.22666753828525543, -0.6246811747550964, 0.308712363243103, -0.31364905834198, -0.21387150883674622, -0.18078087270259857, 0.25212785601615906, -0.0032232296653091908, 0.09445223957300186, 0.4024175703525543, 0.10610045492649078, -0.010526223108172417, 0.007822212763130665, 0.6057533621788025, 0.0009355179499834776, -0.06442351639270782, -0.01379417534917593, 0.4634028673171997, 0.00005939911716268398, -0.3936035931110382, -1.0271412134170532, 0.7775329351425171, 1.089593768119812, -0.0727107971906662, 0.18563397228717804, 0.6780548095703125, -0.431484192609787, -0.11872290074825287, -0.18969064950942993, -0.4723864793777466, -0.48351022601127625, 0.38510018587112427, -0.22087012231349945, -1.006739854812622, 0.315837025642395, -0.07149472087621689, 0.09205381572246552, 0.20037366449832916, 0.7778807878494263, -0.23625648021697998, 1.3309589624404907, 0.2827207148075104, -0.023239852860569954, 0.611515462398529, 0.3041940927505493, 0.22479577362537384, -0.6291390061378479, -0.09891201555728912, -0.37337183952331543, -0.4894311726093292, -0.5542574524879456, -0.1336466372013092, 0.4266829788684845, -0.10811564326286316, -0.40940582752227783, 0.18489430844783783, -0.9055542349815369, 0.17143186926841736, 0.5923136472702026, -0.012001183815300465, 0.014391516335308552, 0.22898675501346588, 0.05619332566857338, -0.31921589374542236, -0.46578437089920044, -0.6315938830375671, 0.6155357360839844, 0.303136944770813, 0.48419755697250366, -0.010338901542127132, 1.0424429178237915, 0.5603945851325989, 0.13776440918445587, -0.7540833353996277, 0.5310214757919312, -0.02077694982290268, -0.5370544791221619, -0.4019896388053894, -0.3496242165565491, -0.9279115796089172, -0.0033971737138926983, -0.4296860694885254, -0.8167956471443176, -0.044939398765563965, 0.09947699308395386, -0.3494585156440735, 0.15133006870746613, -0.5561674237251282, 0.4951118230819702, 0.15036490559577942, -0.28916579484939575, -0.2182391881942749, -0.7921470999717712, 0.11910107731819153, -0.036768537014722824, 0.09877242147922516, -0.2884642481803894, 0.37060439586639404, 0.38041892647743225, -0.3216330111026764, 0.9738749265670776, -0.15354348719120026, -0.1300019770860672, 0.3465215563774109, 0.5630523562431335, 0.22113581001758575, -0.10862478613853455, -0.20259292423725128, 0.22460992634296417, -0.35354238748550415, -0.22746381163597107, -0.4174628257751465, 0.6015974879264832, -0.6127227544784546, -0.5505552291870117, -0.07992494106292725, -0.5781766176223755, -0.21032123267650604, 0.2891419529914856, 0.06633192300796509, 0.26002952456474304, -0.7330552935600281, -0.047723058611154556, 0.3293890357017517, -0.5343488454818726, 0.6179041266441345, 0.6239232420921326, -0.054106470197439194, -0.7201749682426453, 1.0418922901153564, -0.17029987275600433, 0.360289603471756, 0.2241820991039276, 0.04477875307202339, -0.330922931432724, -0.14325755834579468, -0.8356999158859253, 0.05143775790929794, -0.3490678369998932, -0.08574000746011734, -0.6995968222618103, -0.09866378456354141, -0.6766662001609802, -0.48057955503463745, -0.4176064729690552, -0.4556784927845001, -0.6768836379051208, -0.15056616067886353, 0.1814684122800827, 0.8343022465705872, -0.39831823110580444, 0.058262769132852554, -0.9040824174880981, 0.47087860107421875, 0.48021259903907776, 0.13035345077514648, -0.11894199997186661, -0.5819540023803711, 0.22696100175380707, 0.47873198986053467, -0.577918529510498, -0.9275562167167664, 0.8186483383178711, 0.41059157252311707, 0.11005505919456482, 0.1825607419013977, 0.3887031376361847, 0.6848139762878418, -0.7682930827140808, 0.8218751549720764, 0.5221607685089111, -1.4518100023269653, 0.7532232403755188, -0.3903341293334961, 0.21152833104133606, 0.32287511229515076, -0.07419339567422867, -0.8657079935073853, -0.7388531565666199, -0.6099994778633118, -0.8330010771751404, 0.7459230422973633, 0.4225280284881592, 0.4166695177555084, 0.007078736089169979, 0.20284631848335266, 0.07043098658323288, 0.3441983759403229, -0.31096717715263367, -0.03362944349646568, -0.49020621180534363, -0.27119189500808716, -0.08090226352214813, -0.014337885193526745, -0.24805417656898499, -0.032780203968286514, 0.48699069023132324, -0.06387932598590851, 0.32101038098335266, 0.39335426688194275, 0.18039068579673767, -0.29950302839279175, 0.516329288482666, 0.9236182570457458, 0.06110270321369171, -0.13051845133304596, 0.008388339541852474, 0.036643724888563156, -0.07218299061059952, 0.3010483682155609, -0.05745343118906021, -0.1540379524230957, 0.21682290732860565, -0.011346299201250076, 1.0324379205703735, -0.1287292093038559, -0.71636563539505, 0.3614572584629059, -0.049494579434394836, -0.3076949119567871, -0.14182130992412567, -0.014406821690499783, 0.2295641005039215, 0.35438108444213867, 0.20371080935001373, 0.17721553146839142, 0.4637066423892975, -0.645635724067688, 0.39956969022750854, 0.18012520670890808, -0.5705379247665405, -0.5841522216796875, 0.8678101301193237, 0.5468859672546387, -0.8603349328041077, 0.5548826456069946, -0.1877834051847458, -0.33298733830451965, 0.13605190813541412, 0.5018325448036194, 1.2082966566085815, -0.37551620602607727, 0.6388540267944336, 0.10988087207078934, 0.07749525457620621, 0.3123761713504791, 0.2514648735523224, -0.17388908565044403, -0.5441602468490601, -0.29216107726097107, -0.7136502861976624, -0.6237068176269531, -0.02811521850526333, -0.8205156326293945, 0.1294689029455185, -0.5827417373657227, -0.11765202134847641, 0.1474383920431137, -0.5624640583992004, -0.23870281875133514, 0.25372278690338135, 0.5789281129837036, 0.1895957589149475, -0.9056833982467651, 0.5775285363197327, 0.429579496383667, -0.4237348139286041, -0.6287292242050171, -0.13064785301685333, 0.038130950182676315, -0.6610590219497681, 0.32380127906799316, 0.13768590986728668, -0.36713671684265137, 0.17653168737888336, -0.49691900610923767, -0.06754529476165771, 0.8533782958984375, 0.877772867679596, -0.6682352423667908, 0.2536471486091614, 0.5117312669754028, 0.9291459321975708, -0.3885830044746399, 0.06936349719762802, 0.4201517701148987, 0.23367688059806824, 0.327589213848114, -1.0958878993988037, -0.00023170486383605748, -0.2709253430366516, 0.06951791048049927, -0.06188870221376419, -0.4995407462120056, 0.7706290483474731, -0.15605324506759644, -0.5760913491249084, -0.07056601345539093, 0.4180978238582611, 0.16423995792865753, 0.5890977382659912, 0.32332637906074524, 0.4755396842956543, 0.6477875113487244, 0.08767323940992355, 0.6874444484710693, -0.30265432596206665, 0.0064161671325564384, 0.9884810447692871, -0.6072649359703064, 0.9080808758735657, 0.5540016293525696, 0.0012135178549215198, 0.42934197187423706, 0.29504719376564026, 0.39913228154182434, 0.2755219638347626, 0.4547763466835022, -0.6875107288360596, -0.2780372202396393, -0.608550488948822, -0.3051789104938507, 0.7873133420944214, 0.12719129025936127, -0.1725011020898819, -0.056028153747320175, 0.17445436120033264, 0.0017953498754650354, 0.25581079721450806, 0.0831095427274704, 1.074284315109253, -0.09004644304513931, -0.31498879194259644, 0.8794763684272766, -0.1302596479654312, 0.7208539247512817, -0.3637385368347168, -0.23775629699230194, -0.3235202431678772, -0.04036850854754448, -0.16236378252506256, -0.7336848378181458, 0.45017579197883606, 0.17827875912189484, -0.17529438436031342, -0.41632741689682007, 0.514727771282196, -0.6246368885040283, -0.27307841181755066, 0.08997596055269241, 0.3155701458454132, 0.34748780727386475, -0.3111962676048279, -0.7636939287185669, 0.4533250629901886, 0.32014065980911255, -0.12391102313995361, 0.26180654764175415, 0.49242106080055237, 0.22314530611038208, 0.6128498315811157, 0.8772285580635071, 0.11886483430862427, -0.15176348388195038, 0.14036855101585388, 0.9632735848426819, -0.676150381565094, -0.5296807289123535, -0.9297693967819214, 0.7121090292930603, 0.04703136906027794, -0.19038982689380646, 0.17503848671913147, 0.10610213875770569, 0.6066622734069824, -0.1615343987941742, 1.1464942693710327, -0.24181856215000153, 0.4748786389827728, -0.012951645068824291, 1.0161418914794922, -0.62264084815979, -0.10975049436092377, -0.7133116126060486, -0.7294281125068665, -0.44105997681617737, 0.7529135942459106, 0.3586672246456146, -0.35971152782440186, 0.15418215095996857, 0.9559146761894226, 0.23789969086647034, 0.01192427147179842, 1.0012109279632568, 0.33197730779647827, 0.5579977631568909, 0.5837458968162537, 0.8832703828811646, -0.3061297833919525, 0.6493037939071655, -0.03267710655927658, -0.32264259457588196, -0.1935468316078186, -0.9514033794403076, -0.4530786871910095, -0.6832408905029297, -0.3204105794429779, -0.2131229043006897, 0.11276887357234955, 0.9655880331993103, 0.6182506680488586, -0.6340712308883667, -0.18661873042583466, -0.3192340135574341, -0.20821569859981537, 0.15405552089214325, -0.26378726959228516, -0.28246238827705383, -0.10316502302885056, -1.0740447044372559, 0.6258009076118469, 0.8347205519676208, 0.31752753257751465, -0.40618008375167847, -0.21831142902374268, 0.2368415743112564, 0.3735550045967102, 0.678547739982605, 0.48359665274620056, -0.7859735488891602, -0.3062404990196228, -0.03496099263429642, -0.08337219804525375, -0.000036890287447022274, 0.6002330183982849, -0.7385008931159973, 0.765524685382843, 0.4459483027458191, 0.6339239478111267, 0.16656552255153656, -0.1797787845134735, 0.7534773945808411, -0.5532258749008179, 0.3754478693008423, 0.6455988883972168, -0.09842076897621155, 0.47252434492111206, -0.2801085412502289, 0.04745778068900108, 0.23766519129276276, -0.530081570148468, -1.1425410509109497, 0.5659459233283997, -1.0938588380813599, -0.08285870403051376, 0.8416142463684082, -0.13565753400325775, -0.13743513822555542, 0.09729830175638199, -0.5895556807518005, 0.6391690373420715, -0.7256962656974792, 1.0026235580444336, 0.3498530089855194, -0.3798453211784363, 0.0682503804564476, -0.09612393379211426, 0.34381091594696045, 0.4751910865306854, -0.7108836770057678, 0.21778477728366852, 0.7521011829376221, 0.12089430540800095, 0.06331019103527069, 0.5327638983726501, -0.13168933987617493, 0.09115195274353027, 0.24801857769489288, 0.5688311457633972, -0.05691533908247948, -0.11681662499904633, -0.3119329810142517, 0.12243243306875229, -0.1261318027973175, -0.29646387696266174 ]
http://arxiv.org/abs/2404.00500v1
http://arxiv.org/pdf/2404.00500v1
The Shape of Word Embeddings: Recognizing Language Phylogenies through Topological Data Analysis
2024-03-30T23:51:25
2024-03-30T23:51:25
Ondřej Draganov, Steven Skiena
cs.CL
cs.CL, math.AT
Word embeddings represent language vocabularies as clouds of $d$-dimensional points. We investigate how information is conveyed by the general shape of these clouds, outside of representing the semantic meaning of each token. Specifically, we use the notion of persistent homology from topological data analysis (TDA) to measure the distances between language pairs from the shape of their unlabeled embeddings. We use these distance matrices to construct language phylogenetic trees over 81 Indo-European languages. Careful evaluation shows that our reconstructed trees exhibit strong similarities to the reference tree.
[ -0.18461889028549194, -0.8908626437187195, 0.773410439491272, -0.18191184103488922, -0.6352823972702026, 0.339292049407959, -0.0664997547864914, -0.2749437391757965, 1.066702127456665, 0.08758597075939178, -0.17775358259677887, -0.40543466806411743, -0.5964129567146301, 0.13843384385108948, -0.5342437028884888, 0.25932466983795166, -0.046123262494802475, -0.21375954151153564, -0.11973411589860916, -0.28008562326431274, -0.08445964008569717, -0.6495699882507324, -0.032919131219387054, 0.10612768679857254, 0.5392308831214905, 0.23041179776191711, 0.9380024075508118, 1.2535611391067505, 0.23229087889194489, 0.28706055879592896, -0.27131175994873047, -0.09444918483495712, -0.38749268651008606, 0.3312033414840698, 0.046864259988069534, -0.42967870831489563, 0.10668044537305832, -0.2196471393108368, 1.1700057983398438, 1.1506249904632568, -0.16970129311084747, -0.0541970320045948, 0.008417343720793724, 0.6842136383056641, -0.33207014203071594, 0.12426681816577911, -0.8335491418838501, 0.13642631471157074, -0.873681902885437, -0.5189456939697266, -0.1479056179523468, -0.4469473659992218, 0.3003845512866974, -0.5149944424629211, -0.01676933653652668, 0.25061169266700745, 0.9503402709960938, 0.12614509463310242, -0.16559351980686188, -0.33053427934646606, -0.8447354435920715, 0.46656733751296997, -0.20271869003772736, 0.8313796520233154, 0.4443052113056183, 0.1455651819705963, -0.47874966263771057, -0.42358362674713135, -0.48272278904914856, 0.15087200701236725, -0.13112026453018188, -0.15431377291679382, -0.17384673655033112, -0.05275397375226021, -0.10211359709501266, 0.7026456594467163, -0.6047866344451904, 0.010872550308704376, -0.5368722677230835, -0.05422627553343773, 0.5594510436058044, -0.14179277420043945, 0.6387031078338623, -0.11119113862514496, -0.054726600646972656, -0.1921171396970749, -0.7772133946418762, -0.14483383297920227, 0.3890291154384613, 0.44207391142845154, 0.05008118227124214, 0.7098665237426758, 0.38151395320892334, 0.6345001459121704, -0.11880584061145782, -0.27893152832984924, 0.2578894793987274, 0.018206346780061722, -0.0613635778427124, 0.322826087474823, 0.3144332766532898, -0.11348360776901245, 0.5100635290145874, -0.6572909355163574, 0.25001809000968933, -0.016658294945955276, 0.1265084147453308, -0.24425901472568512, -0.2736298739910126, 0.14640338718891144, -0.4269677698612213, -0.04422318562865257, 0.3354053497314453, -0.707139253616333, -0.28103500604629517, -0.26881399750709534, 0.1704757809638977, -0.6119720935821533, -0.5042417049407959, 0.11590824276208878, -0.3835907280445099, 0.3543800115585327, 0.033640407025814056, -0.9212958216667175, 0.5766549110412598, 0.8027704954147339, 1.0751545429229736, -0.13108696043491364, -0.2798066735267639, -0.029236599802970886, 0.5917314887046814, -0.34232836961746216, 0.7702190279960632, -1.0391762256622314, -0.7180886268615723, 0.15466226637363434, 0.12952451407909393, -0.049187324941158295, -0.3491615056991577, 0.17850303649902344, -0.22195930778980255, 0.24440015852451324, -0.29126471281051636, -0.8739290237426758, -0.6182702779769897, 0.20603401958942413, -0.42617112398147583, 0.9084861278533936, 0.22359928488731384, -0.9298376441001892, 0.4247370660305023, -0.0002586012415122241, -0.09480000287294388, 0.4682025611400604, -0.5339758992195129, -0.1246807798743248, 0.3176177740097046, -0.1701214760541916, 0.4298415780067444, -0.025891099125146866, -0.1149890199303627, -0.5989586114883423, -0.19079656898975372, -0.332017183303833, 0.28483065962791443, 0.6573650240898132, -0.025380562990903854, -0.2222767025232315, -0.10029300302267075, -0.5448719263076782, 0.05847391113638878, 0.27742794156074524, -0.2331654131412506, -1.0848705768585205, 0.3034641444683075, -0.0894676223397255, -0.07791787385940552, -0.14200492203235626, -0.7552591562271118, 0.6914412379264832, -0.4297814667224884, 0.44804680347442627, 0.5742490291595459, -0.009015094488859177, 0.15538282692432404, -0.13418059051036835, 0.39785632491111755, 0.05148077383637428, -0.2106257528066635, 0.4000050127506256, -0.7357875108718872, -0.49790579080581665, -0.24151860177516937, 0.11877814680337906, 0.3209378719329834, -0.5021576881408691, 0.4414551258087158, -0.6629580855369568, -0.6685712337493896, -0.33525899052619934, -0.06485972553491592, -0.039400599896907806, -0.12366217374801636, 0.018666379153728485, -0.5927815437316895, -0.40252864360809326, -0.7835285067558289, 0.007804081775248051, -0.529587984085083, 0.09326259791851044, 0.23036710917949677, 0.5351424813270569, -0.3719048798084259, 0.9800081253051758, -0.41831979155540466, -0.006776251830160618, 0.21384555101394653, -0.3256562054157257, -0.12008333951234818, 0.2214651256799698, 0.8132664561271667, -0.534662127494812, -0.3682324290275574, 0.15061324834823608, -0.4174797534942627, 0.18106397986412048, 0.17509432137012482, -0.12502728402614594, 0.0030361241661012173, 0.5027955770492554, -0.40108582377433777, 0.3965066075325012, 0.6084157824516296, -0.7208153605461121, 0.2935129404067993, -0.06432986259460449, -0.11393902450799942, -1.159477949142456, 0.14687828719615936, -0.47014668583869934, -0.17288346588611603, -0.519356906414032, -0.34691372513771057, -0.3373704254627228, -0.02682356722652912, -0.031183145940303802, 0.6748197674751282, -0.4806756377220154, -0.5139973759651184, 0.10783494263887405, 0.37643224000930786, -0.2637164294719696, 0.3487726151943207, 0.16947831213474274, 0.3010129928588867, 0.5374522805213928, -0.5159212350845337, 0.34827175736427307, 0.2250058352947235, -0.1569986194372177, 0.5495685338973999, -0.46958813071250916, 0.17317765951156616, -0.13524825870990753, 0.10886319726705551, -0.8721662163734436, 0.01760045252740383, 0.15715251863002777, -0.33910155296325684, 0.3055020570755005, -0.08662410080432892, -0.23374512791633606, -0.2796661853790283, -0.4702606797218323, 0.7383244037628174, 0.3912968337535858, -0.5548032522201538, 0.21514680981636047, 0.9644331932067871, -0.20106646418571472, -0.030524123460054398, -0.4651849865913391, -0.023765286430716515, -0.5733213424682617, -0.45207691192626953, 0.43017739057540894, 0.19101008772850037, -0.6018913388252258, 0.25151872634887695, 0.1446601003408432, -0.26688045263290405, 0.025592584162950516, 0.5432061553001404, -0.28997746109962463, -0.1298711597919464, 0.4612618684768677, -0.3110615611076355, 0.2636408805847168, -0.020408784970641136, -0.6821461319923401, 0.6524513363838196, -0.08026162534952164, -0.3178577423095703, -0.2417476773262024, 0.3114418387413025, 0.6847879886627197, 0.04035980626940727, 0.59827721118927, 0.11926678568124771, -0.7742725014686584, -0.2666572332382202, -0.17325541377067566, -0.09938207268714905, -0.3702297806739807, -0.019503196701407433, -0.5017669200897217, -0.8647790551185608, 0.4161798357963562, -0.0036132321693003178, -0.10695604979991913, 0.5131900906562805, 0.4817255437374115, 0.0889986976981163, 0.44069722294807434, 0.7595412731170654, -0.28735414147377014, 0.34929439425468445, -0.07778811454772949, 0.14066264033317566, -0.5270557403564453, -0.4128384590148926, -0.8183402419090271, -0.2476656287908554, -0.8536005616188049, -0.349894255399704, 0.10930182784795761, 0.16343910992145538, -0.06931480020284653, 0.32068684697151184, -0.49287137389183044, 0.24000723659992218, 0.4846949279308319, -0.3423782289028168, -0.028300443664193153, 0.3404523730278015, -0.4115522801876068, -0.07018198072910309, -0.679549515247345, -0.5361429452896118, 0.5782384872436523, 0.5911834239959717, 0.3095479905605316, 0.12456164509057999, 0.772269070148468, 0.06663741171360016, -0.34926721453666687, -0.9751828908920288, 0.14601030945777893, -0.11536967009305954, -0.17567747831344604, -0.40825599431991577, -0.21305294334888458, -1.3019102811813354, 0.09088966995477676, -0.033236097544431686, -1.1626830101013184, 0.5736470818519592, -0.14829644560813904, 0.0459599606692791, 0.7542970180511475, -0.14702101051807404, 0.39156901836395264, -0.07688391208648682, 0.2349700629711151, -0.18952567875385284, -0.26428303122520447, 0.2200779765844345, -0.018134957179427147, 0.2272283285856247, 0.0012242452939972281, 0.02255655825138092, 1.0350321531295776, -0.6007302403450012, 0.44887834787368774, -0.023320719599723816, -0.1827363818883896, 0.37760382890701294, 0.6382657289505005, 0.1477786749601364, -0.16706430912017822, 0.1313706934452057, 0.31207963824272156, 0.6344560980796814, -0.5093718767166138, -0.3252986967563629, 0.6459749937057495, -0.5562393665313721, -0.37964144349098206, -0.5944163799285889, -0.4015902876853943, -0.31920215487480164, 0.11791594326496124, -0.06373368203639984, 0.5908529162406921, -0.2740921080112457, 0.5946022272109985, 0.0739888995885849, -0.3201630711555481, 0.2558515965938568, 0.06208566203713417, -0.4133380949497223, -0.15551719069480896, 0.8708900213241577, 0.30942264199256897, -0.03429233655333519, 0.4219587445259094, 0.34680113196372986, -0.33903688192367554, -0.5449683666229248, -0.21999569237232208, 0.3917570114135742, -0.35026028752326965, 0.16339905560016632, -0.3406625986099243, -0.1259525567293167, -0.18517446517944336, -0.2473895251750946, -0.237627774477005, -0.6755779981613159, 0.23861807584762573, -0.21446196734905243, 0.7549670934677124, 1.4625961780548096, -0.10612434893846512, 0.24015749990940094, -0.7789889574050903, -0.0759836807847023, 0.29176732897758484, 0.5344365835189819, -0.040844742208719254, -0.15020804107189178, 0.0015334944473579526, 0.03531225025653839, 0.09532465785741806, -1.0627914667129517, 0.47568970918655396, 0.6070139408111572, 0.4147450029850006, 0.5817108750343323, -0.44320783019065857, 0.6697188019752502, -0.6215176582336426, 0.8705804347991943, -0.21600568294525146, -0.7989378571510315, 0.315618634223938, -0.46415096521377563, 0.2666569650173187, 0.2539721727371216, 0.6575577855110168, -0.9635811448097229, -0.4036020040512085, -0.7805230021476746, -0.5809985995292664, 0.29796072840690613, 0.32760563492774963, -0.13377903401851654, -0.21784371137619019, 0.5758663415908813, 0.06622274219989777, -0.08348878473043442, -0.17891435325145721, -0.2816665768623352, -0.11010794341564178, -0.23924772441387177, -0.1242712140083313, -0.3646528124809265, 0.05973541736602783, -0.34144461154937744, 0.2330550253391266, 0.1454431563615799, 0.33132269978523254, 0.18719567358493805, -0.06426925212144852, -0.07345009595155716, 0.00712652038782835, 0.39209508895874023, 0.6095267534255981, -0.22940891981124878, 0.6494681239128113, 0.02407650649547577, -0.9295384287834167, 0.044682472944259644, -0.2593299448490143, 0.20138019323349, 0.3572114109992981, 0.618040144443512, 0.4174695909023285, 0.04534188285470009, -0.262104332447052, 0.16770988702774048, 0.019078722223639488, 0.14292530715465546, -0.24096812307834625, -0.4094003140926361, 0.170238196849823, -0.1444927304983139, 0.1276625692844391, -0.7126544117927551, 0.06687279045581818, -0.9036111831665039, 0.47741732001304626, 0.42043668031692505, -0.6556210517883301, -0.7227675318717957, -0.014012760482728481, 0.04285743087530136, -0.24312478303909302, 0.8065280914306641, 0.09252949804067612, -0.8644378185272217, 0.45312556624412537, 0.4449770152568817, 0.8526247143745422, -0.4175776541233063, 0.19878734648227692, 0.4463632106781006, 0.20845746994018555, 0.3652161657810211, 0.47772741317749023, 0.013972055166959763, -0.5137771964073181, 0.2647894024848938, -0.9791682958602905, -0.15776869654655457, -0.16364820301532745, -0.3681311309337616, 0.09600987285375595, -0.5998340249061584, 0.3448289930820465, 0.16129638254642487, -0.09801317751407623, -0.5588944554328918, 0.12784895300865173, 0.2630637586116791, 0.7038400173187256, -0.7877147793769836, 1.0163778066635132, 0.5299556851387024, -0.02516995556652546, -0.9007632732391357, -0.11330156773328781, 0.38142579793930054, -0.9152169823646545, 0.6590173244476318, 0.12079799920320511, -0.26616939902305603, -0.04972311481833458, -0.0829983726143837, -1.175597906112671, 1.0192424058914185, 0.16031904518604279, -0.5733515024185181, 0.09966285526752472, 0.572610080242157, 0.5619844794273376, -0.39187362790107727, 0.06856420636177063, 0.6523720622062683, 0.44659677147865295, -0.14198079705238342, -0.8188053965568542, 0.03887401521205902, -0.2640235126018524, 0.12464296817779541, 0.6079964637756348, -0.09571012854576111, 0.7791985869407654, 0.2515043318271637, -0.9543724656105042, -0.1772949993610382, 0.2972765266895294, 0.0897965207695961, -0.3965971767902374, 0.6127567887306213, 0.6635386943817139, 0.8911643028259277, -0.3186323940753937, 1.2025165557861328, -0.4360201358795166, 0.3496151566505432, 0.5862421989440918, 0.16011159121990204, 0.9162629842758179, 0.7178623080253601, -0.3273758292198181, 0.6804882287979126, 0.895695686340332, -0.010037209838628769, 0.26842182874679565, 0.5621342658996582, 0.14197395741939545, 0.06054157391190529, -0.5404582023620605, -0.6144024133682251, 0.523788332939148, 0.7215982675552368, -0.15009358525276184, -0.1262727975845337, -0.4101853370666504, -0.011765094473958015, 0.002878461265936494, -0.11794745177030563, 0.6830804944038391, 0.3177381455898285, -0.13102537393569946, 0.7050824761390686, -0.4289255440235138, 0.3788937032222748, -0.5176213979721069, -0.09576158225536346, -0.15779489278793335, -0.060588497668504715, -0.26658448576927185, -0.9749701619148254, 0.6313422918319702, -0.43882450461387634, 0.07229690998792648, -0.01959402859210968, 0.28089815378189087, -0.5943074226379395, -0.2733864486217499, 0.5531647205352783, 0.5263590216636658, 0.5836294889450073, 0.21157380938529968, -0.37940195202827454, 0.13291890919208527, -0.3319843113422394, -0.13721786439418793, -0.23617048561573029, 0.6337496638298035, -0.24082471430301666, 0.49941352009773254, 0.24627785384655, 0.3366019129753113, 0.16776436567306519, -0.07516809552907944, 0.4201726019382477, -0.7830001711845398, -0.42232146859169006, -0.8885125517845154, 0.07474952191114426, 0.19003920257091522, -0.3806708753108978, 0.8411977887153625, 0.4442916512489319, 0.9129918217658997, -0.0013430049875751138, 0.3314021825790405, -0.20639656484127045, 0.3815324306488037, -0.43411964178085327, 0.5606358051300049, -0.707221269607544, -0.17790500819683075, -0.3816601037979126, -1.2957041263580322, -0.45979204773902893, 0.4138116240501404, -0.2964245676994324, -0.268973708152771, 0.7740907669067383, 0.5206960439682007, -0.22730357944965363, -0.24193815886974335, 0.28055867552757263, 0.23715096712112427, 0.2990131378173828, 0.37384721636772156, 0.6765286922454834, -0.020043231546878815, 0.053870026022195816, -0.2936972379684448, -0.017750808969140053, -0.003920949064195156, -0.4985499083995819, -0.7041782140731812, -1.3414130210876465, -0.07825075089931488, -0.2076222002506256, -0.023074796423316002, 0.7529647350311279, 0.6057071089744568, -0.8913907408714294, -0.35290318727493286, -0.08852200210094452, 0.11238589137792587, 0.07586977630853653, -0.19784866273403168, 0.9005151987075806, -0.02809266932308674, -0.5840896964073181, 0.3595779240131378, 0.5282490849494934, 0.36409616470336914, -0.4206937551498413, -0.07067809998989105, -0.5229524374008179, 0.02844899892807007, 0.466438353061676, 0.4853448271751404, -0.8875257968902588, -0.8730239868164062, -0.285366028547287, -0.04723721742630005, 0.06353768706321716, 0.7981159090995789, -0.6149064302444458, 0.6150609254837036, 0.8287294507026672, 0.5916691422462463, 0.06673747301101685, -0.07252529263496399, 0.9167947173118591, -0.7200729250907898, 0.4815135896205902, 0.11490350216627121, 0.6514157056808472, 0.44822263717651367, -0.17590028047561646, 0.5558672547340393, 0.3590562641620636, -0.21963436901569366, -0.8298858404159546, 0.30345043540000916, -0.949081540107727, -0.36794281005859375, 1.1831847429275513, -0.0978710725903511, -0.5091708898544312, -0.29108673334121704, -0.21666985750198364, 0.12033086270093918, 0.1574779748916626, 0.8685773015022278, 0.7819217443466187, 0.1975882649421692, 0.00771415326744318, -0.020650705322623253, 1.0347411632537842, 0.09792745858430862, -0.8341699242591858, -0.10087324678897858, 0.3749992847442627, 0.17836306989192963, 0.6227111220359802, 0.22230836749076843, -0.33143195509910583, -0.18034504354000092, 0.08171761780977249, -0.23888090252876282, 0.27146977186203003, -0.5424278974533081, -0.3849559724330902, 0.03968201205134392, 0.19593025743961334, -0.1652715504169464 ]
http://arxiv.org/abs/2404.00495v1
http://arxiv.org/pdf/2404.00495v1
Configurable Safety Tuning of Language Models with Synthetic Preference Data
2024-03-30T23:28:05
2024-03-30T23:28:05
Victor Gallego
cs.CL
cs.CL, cs.AI
State-of-the-art language model fine-tuning techniques, such as Direct Preference Optimization (DPO), restrict user control by hard-coding predefined behaviors into the model. To address this, we propose a novel method, Configurable Safety Tuning (CST), that augments DPO using synthetic preference data to facilitate flexible safety configuration of LLMs at inference time. CST overcomes the constraints of vanilla DPO by introducing a system prompt specifying safety configurations, enabling LLM deployers to disable/enable safety preferences based on their need, just changing the system prompt. Our experimental evaluations indicate that CST successfully manages different safety configurations and retains the original functionality of LLMs, showing it is a robust method for configurable deployment. Data and models available at https://github.com/vicgalle/configurable-safety-tuning
[ -0.315104603767395, -0.6244534850120544, 0.5975210070610046, 0.2551734149456024, -0.32060515880584717, 0.3521007001399994, -0.3723229169845581, -0.37056398391723633, -0.13428157567977905, 0.5218712091445923, -0.7226703763008118, -0.4643833637237549, -0.2888948917388916, 0.08881247788667679, 0.05566355958580971, 0.9357942342758179, -0.034135397523641586, -0.2825164198875427, -0.010863837786018848, 0.16933421790599823, -0.4619610011577606, -0.6922359466552734, -0.7364594340324402, -0.28609713912010193, 0.4041663110256195, 0.5231778621673584, 1.0493866205215454, 0.8870691657066345, 0.35572901368141174, 0.2711436152458191, -0.3351697623729706, 0.4113783836364746, -0.3083273470401764, 0.14677226543426514, -0.3875199854373932, -0.19472062587738037, -0.7427216172218323, -0.0692528635263443, 0.571652352809906, 0.5246058702468872, -0.26204901933670044, -0.21284066140651703, 0.30731648206710815, 0.6557917594909668, -0.7378366589546204, -0.08421707898378372, -0.8834590315818787, 0.08305968344211578, 0.08712870627641678, -0.5677317976951599, -0.5124928951263428, -0.6121463775634766, 0.1116233542561531, -0.628607451915741, 0.20314261317253113, 0.2111903429031372, 0.4785586893558502, 0.4412226974964142, -0.6370798349380493, 0.0735999271273613, -0.7700558304786682, 0.853041410446167, -0.40392178297042847, 0.257185161113739, 0.37357378005981445, 0.2572145462036133, -0.5630059242248535, -0.45211413502693176, -0.5151477456092834, -0.40583279728889465, -0.1878584325313568, -0.17558173835277557, -0.018805470317602158, 0.44286274909973145, 0.1354050636291504, 0.18382805585861206, -0.6354546546936035, 0.3962014615535736, 0.11190275102853775, -0.419565349817276, 0.5460916757583618, 0.2110704630613327, 0.1837928295135498, 0.08575975149869919, -0.47025397419929504, 0.03447140008211136, -0.8910042643547058, -0.007864001207053661, 0.4324251115322113, 0.49105358123779297, -0.20550726354122162, 0.26489630341529846, -0.6480849981307983, 0.619466245174408, 0.25013190507888794, 0.000700168136972934, 0.15059998631477356, -0.03174006566405296, -0.33213010430336, 0.12482161819934845, 0.6157578229904175, 0.5415030121803284, 0.29989686608314514, -0.00854475237429142, -0.24053695797920227, 0.19580785930156708, 0.21913881599903107, -0.613049328327179, -0.08117581903934479, 0.1455262452363968, -0.21208462119102478, -0.7370182871818542, -0.334322065114975, -0.49467039108276367, -0.50706946849823, -0.4738733768463135, 0.04909082129597664, -0.3354794383049011, -0.4001534879207611, 0.4928901493549347, 0.14896172285079956, -0.08917900919914246, 0.06614630669355392, -1.2383209466934204, 0.2659244239330292, 0.7164346575737, 0.71101975440979, -0.4383161962032318, -0.06466403603553772, -0.40868958830833435, 0.36134326457977295, -0.15432989597320557, 0.5842474699020386, -0.5832809805870056, -0.586119532585144, 0.15463095903396606, 0.23197507858276367, -0.05762811377644539, -0.35398417711257935, 0.6978658437728882, -0.5970780253410339, -0.2564699649810791, -0.10635080933570862, -0.3544444143772125, 0.10165513306856155, 0.3767426609992981, -0.3600713908672333, 0.7479608058929443, -0.15822120010852814, -0.5779309868812561, 0.3507700562477112, -0.4528012275695801, -0.5342755913734436, -0.11474814265966415, -0.05586937814950943, -0.42456358671188354, -0.08855455368757248, 0.007507708389312029, 0.385135680437088, 0.033098254352808, 0.3192768692970276, -0.595227837562561, -0.2847025990486145, 0.23501048982143402, -0.4073784053325653, 0.6251987218856812, 0.41272738575935364, 0.029022978618741035, 0.23157945275306702, -0.8852985501289368, 0.05488879606127739, 0.041874419897794724, -0.5555333495140076, -0.3196801245212555, 0.30360814929008484, 0.016418209299445152, -0.004608665592968464, 0.6797178387641907, -0.5026994943618774, 0.34826794266700745, -0.42026278376579285, 0.38857489824295044, 0.9461455941200256, 0.02495560795068741, 0.5306708216667175, -0.3052619695663452, 0.5748201608657837, -0.15361005067825317, 0.5358067750930786, 0.40864792466163635, 0.04539408162236214, -0.7611867189407349, -0.24236465990543365, -0.06662699580192566, 0.6913319826126099, -0.48033103346824646, 0.5226113200187683, 0.17543333768844604, -0.3598608672618866, -0.0025047939270734787, -0.028886253014206886, 0.49186596274375916, 0.6418757438659668, 0.2224545031785965, 0.26900672912597656, -0.6745280027389526, -1.142503261566162, -0.1692146509885788, -0.10040359944105148, 0.08669787645339966, 0.08901039510965347, 0.08569606393575668, -0.22107215225696564, 0.9044519662857056, -0.7273917198181152, 0.39902204275131226, -0.24326615035533905, -0.3065835237503052, 0.03619416803121567, 0.7436301112174988, 0.6047369241714478, -0.7089680433273315, -0.4597742557525635, -0.005296583753079176, -0.2731218636035919, -0.21342772245407104, 0.05628513917326927, -0.32635200023651123, 0.28775352239608765, 0.5978140234947205, -0.2998500466346741, 0.1739647090435028, 0.6661612391471863, -0.3439759612083435, 0.7154046297073364, -0.5056243538856506, 0.08023484796285629, -1.066838264465332, -0.12540294229984283, -0.1762409508228302, -0.3201962411403656, -0.6309784650802612, -0.08090159296989441, 0.40407121181488037, -0.03460894897580147, -0.6981382369995117, 0.32994765043258667, -0.1677473783493042, 0.40103018283843994, -0.3835313618183136, -0.20448081195354462, -0.03236167132854462, 0.2459576576948166, 0.2836928069591522, 0.6801644563674927, 0.5998765826225281, -0.9577642679214478, 0.04765506461262703, 0.19932110607624054, -0.02499237470328808, 0.4548450708389282, -0.7087841033935547, 0.3190794587135315, 0.08658949285745621, 0.2716197371482849, -0.7448846697807312, -0.24788717925548553, 0.22005562484264374, 0.19031710922718048, 0.2538042664527893, -0.4734354615211487, -0.36637723445892334, 0.1579383760690689, -0.26215696334838867, 0.3279319703578949, 0.46817702054977417, -0.43918368220329285, 0.11361121386289597, 0.3212984502315521, -0.1806023269891739, -0.4997895061969757, -0.42571571469306946, -0.10852151364088058, -0.41942137479782104, -0.4218912720680237, 0.5975624322891235, -0.4262315630912781, -0.18302883207798004, -0.5672906041145325, -0.1986982375383377, -0.003918545786291361, 0.3825658857822418, 0.22687797248363495, 0.40873101353645325, 0.07082385569810867, 0.14490987360477448, 0.6755707263946533, -0.4859705865383148, -0.20337316393852234, 0.037091657519340515, 0.43708643317222595, -0.02303360402584076, -0.2499852478504181, -0.2419532835483551, 0.3519703447818756, 0.41875919699668884, -0.14666032791137695, 0.5911040902137756, 0.12020139396190643, -0.10441221296787262, -0.47289159893989563, -0.22496166825294495, -0.2771874666213989, -0.675086259841919, 0.13316547870635986, -0.3427868187427521, -1.064280390739441, 0.24783667922019958, -0.3609015643596649, 0.14027535915374756, 0.016021914780139923, 0.41424113512039185, -0.0891072154045105, 1.176243543624878, 0.7848328948020935, 0.08081334829330444, 0.836787760257721, 0.23074179887771606, -0.027256544679403305, -0.4666063189506531, 0.026644662022590637, -0.6180980801582336, -0.17038202285766602, -1.098192572593689, 0.1330639272928238, 0.5893383026123047, -0.0466826856136322, -0.4770129323005676, 0.20619353652000427, -0.7013903260231018, 0.7017913460731506, 0.35018086433410645, 0.3787250220775604, 0.5189754962921143, -0.2499190866947174, -0.1970023214817047, 0.14222371578216553, -0.45664462447166443, -0.6658045649528503, 0.6704557538032532, 0.1518470197916031, 0.7285343408584595, 0.13998562097549438, 0.5405386090278625, 0.11948701739311218, -0.12784206867218018, -0.48417019844055176, 0.7376707196235657, -0.2756063938140869, -0.6891979575157166, -0.15499810874462128, -0.1402062624692917, -0.7226675152778625, -0.06427650153636932, -0.22634637355804443, -0.6965246796607971, 0.26722049713134766, 0.6800419688224792, -0.5909140706062317, -0.007190369535237551, -0.7741900086402893, 0.5788865685462952, -0.2859128415584564, -0.25396108627319336, -0.46283990144729614, -0.5724860429763794, 0.2240695357322693, -0.0410442017018795, -0.09133423119783401, -0.5009185671806335, -0.2919147312641144, 0.17361955344676971, -0.3536110818386078, 1.0832977294921875, -0.11676231026649475, -0.0956132560968399, -0.22924651205539703, 0.41772815585136414, 0.8032416105270386, 0.38065195083618164, -0.5232095718383789, -0.014622082002460957, 0.24625639617443085, -0.2527311444282532, -0.4979099929332733, 0.9998000860214233, -0.5883199572563171, -0.6846016049385071, -0.5335488319396973, -0.6437447667121887, -0.5049791932106018, 0.2613529860973358, 0.1590098887681961, 0.10052620619535446, -0.39575397968292236, 0.11307456344366074, 0.6930996775627136, -0.5175888538360596, 0.6530900597572327, 0.8653619289398193, -0.02610878460109234, -0.16897189617156982, 0.5821507573127747, -0.06015631929039955, 0.6746336817741394, 0.46647098660469055, 0.34162068367004395, -0.3973616361618042, -0.8311654925346375, -0.25426551699638367, -0.23213766515254974, -0.44299694895744324, -0.03941471502184868, -0.24188600480556488, -0.23380593955516815, -0.08868465572595596, -0.5481798052787781, -0.45533913373947144, -0.5907564759254456, -0.33507364988327026, -0.39617857336997986, 0.7488501071929932, 0.34419795870780945, -0.031398724764585495, 0.49324479699134827, -0.3724580705165863, 0.15456770360469818, 0.14449235796928406, 0.8941149711608887, -0.6187504529953003, -0.30394265055656433, -0.21062137186527252, 0.15924978256225586, -0.4395621418952942, -0.3477645218372345, 0.13687998056411743, 0.08472435176372528, 0.42677751183509827, 0.19840173423290253, 0.565610408782959, 0.28710517287254333, -0.49973064661026, 0.4648362100124359, -0.12196188420057297, -0.6568903923034668, 0.7812678217887878, -0.8689841032028198, 0.2379743456840515, 0.7345569133758545, 0.2059297114610672, -0.23532940447330475, -0.10040135681629181, -0.150070458650589, -0.660610556602478, 0.508985161781311, 0.04312007874250412, 0.30206844210624695, -0.08191659301519394, 0.44064635038375854, 0.3389211595058441, 0.04415379464626312, -0.4072244465351105, -0.2550280690193176, -0.05188479274511337, -0.006994506809860468, -0.18921545147895813, -0.4856559932231903, -0.196798637509346, -0.26269781589508057, 0.5568324327468872, -0.21619215607643127, -0.11555410176515579, -0.22336159646511078, 0.05642716959118843, -0.05461358651518822, 0.5460767149925232, 0.6844117045402527, 0.4951738119125366, -0.4675505757331848, 0.195560023188591, 0.4272255301475525, -0.392383337020874, 0.399279922246933, 0.06065673008561134, -0.5012402534484863, -0.4218219220638275, -0.2770770192146301, 0.8295579552650452, 0.27873098850250244, -0.4260590672492981, -0.14043226838111877, -0.16532331705093384, -0.14244921505451202, -0.19926951825618744, 0.7181171178817749, -0.02542118914425373, 0.061221979558467865, -0.11333692818880081, 0.10489678382873535, -0.010250262916088104, -0.24157248437404633, 0.0873914435505867, 0.49502867460250854, -0.2545824646949768, -0.24046781659126282, 0.5578143000602722, 0.40013039112091064, -0.3593624234199524, 0.09096843004226685, 0.08447365462779999, 0.01506095938384533, 0.4866577386856079, 0.6373403072357178, 1.0179051160812378, -0.3145313560962677, 0.20817099511623383, 0.11976584047079086, 0.3994421660900116, -0.11205314099788666, 0.5273248553276062, 0.16304169595241547, -0.9115685820579529, -0.14728716015815735, -0.6464736461639404, -0.7136086821556091, 0.28137922286987305, -0.33085447549819946, 0.5171406865119934, -0.9139000177383423, -0.04778998717665672, -0.07947922497987747, -0.19334770739078522, -0.44547075033187866, 0.19829364120960236, -0.02070746384561062, 0.9157237410545349, -0.614596426486969, 1.086591124534607, 0.5999665856361389, -0.01638847589492798, -0.5570029020309448, 0.13079723715782166, 0.08731824904680252, -0.5308631658554077, -0.11417799443006516, -0.23203253746032715, -0.40389880537986755, 0.12357009947299957, -0.40349510312080383, -0.7550312876701355, 0.9630041718482971, 0.9615968465805054, -0.9764707684516907, 0.27391594648361206, 0.4280438721179962, 0.5123393535614014, -0.1729796826839447, -0.08547629415988922, 0.814550518989563, 0.5125579237937927, -0.22599461674690247, -1.0360578298568726, 0.32540592551231384, -0.006681610830128193, 0.055448997765779495, 0.028207268565893173, -0.927886426448822, 0.25880908966064453, -0.0006165755330584943, -0.11484289914369583, -0.030236944556236267, 0.08931505680084229, 0.5031181573867798, 0.10650642961263657, 0.8824918270111084, 0.005934674292802811, 0.7404482960700989, 0.06682855635881424, 1.001312255859375, -0.554651141166687, 0.13204286992549896, 1.1015868186950684, -0.2516843378543854, 0.5961113572120667, 0.6121731996536255, 0.0342247411608696, 0.29501354694366455, 0.7899327278137207, 0.5235996246337891, 0.6903194189071655, 0.005174978636205196, -0.598042905330658, -0.5874152183532715, -0.2782755196094513, -0.405929297208786, 0.35882890224456787, 0.21499377489089966, -0.3406215012073517, 0.03822258859872818, -0.18808144330978394, 0.14056609570980072, 0.044278617948293686, -0.05885043740272522, 0.7554725408554077, 0.08898685872554779, -0.6929453611373901, 0.8537320494651794, -0.09141403436660767, 0.6224786043167114, -0.6998825669288635, 0.1448848843574524, -0.21083030104637146, 0.3652907609939575, -0.26747816801071167, -0.716467559337616, 0.49240055680274963, -0.013053154572844505, -0.39671197533607483, -0.5667105913162231, 0.7374258041381836, -0.2943263053894043, -0.3418658375740051, 0.13357236981391907, 0.04987163096666336, -0.4065436124801636, 0.06515210121870041, -0.4647260904312134, 0.06469709426164627, -0.04734467342495918, -0.44211459159851074, 0.630523145198822, 0.3120979070663452, -0.2944866120815277, 0.848850429058075, 0.7907455563545227, -0.026980509981513023, -0.22531291842460632, -0.0004992391332052648, 0.9577950835227966, -0.5724254846572876, -0.7787613868713379, -1.015080213546753, 0.6304808259010315, 0.14325298368930817, -0.30597180128097534, 0.48228466510772705, 0.42360401153564453, 0.5905392169952393, -0.23278962075710297, 1.0607222318649292, -0.016850685700774193, 0.5255563855171204, -0.6170118451118469, 0.9560825228691101, -0.2875552177429199, 0.43219640851020813, -0.3189218044281006, -0.5316526889801025, -0.3110342025756836, 0.26469722390174866, -0.32368314266204834, -0.2445918619632721, 0.4951678216457367, 1.3085047006607056, -0.3784658908843994, -0.1266002506017685, 0.2600570023059845, -0.03110036626458168, 0.4150116741657257, 0.3621140420436859, 0.8027476072311401, 0.28879621624946594, 0.4827510714530945, -0.42170199751853943, -0.2965610921382904, -0.3564005196094513, -1.494741678237915, -0.7521646618843079, -0.39061516523361206, -0.27730074524879456, -0.13420017063617706, 0.25848451256752014, 1.192305564880371, 0.8329249024391174, -0.8702716827392578, 0.04822349548339844, -0.34016913175582886, 0.2516127824783325, -0.1573319435119629, -0.1319076418876648, 0.10003934800624847, -0.14399176836013794, -0.6449761390686035, 0.8754940629005432, 0.2057788074016571, 0.27041903138160706, -0.05462555214762688, -0.33734458684921265, 0.11250996589660645, 0.20319992303848267, 0.4636833369731903, 0.2902098596096039, -0.4432305097579956, -0.7437965869903564, -0.06119677424430847, -0.03183498606085777, -0.13942763209342957, 0.7993988394737244, -0.40598639845848083, 0.471653014421463, 0.6090729236602783, 0.25534695386886597, 0.20790940523147583, -0.22789081931114197, 0.9987766146659851, -1.0117473602294922, 0.5541796088218689, 0.06683100014925003, 0.382081538438797, 0.08159656077623367, -0.6758490204811096, 0.307202011346817, 0.039413340389728546, -0.6040457487106323, -0.9136043787002563, 0.5911561846733093, -1.1591331958770752, -0.015408717095851898, 1.2555768489837646, 0.06542912125587463, 0.22469979524612427, -0.3358531594276428, -0.5571922063827515, 0.3236779272556305, -0.5933645963668823, 0.9596201181411743, 0.3795812726020813, -0.1941290944814682, -0.04312412068247795, -0.3160408139228821, 0.9809560775756836, 0.3855527341365814, -0.7439046502113342, 0.2247122824192047, 0.3947405517101288, 0.5967600345611572, -0.42152395844459534, 0.4255800247192383, 0.19450460374355316, 0.2065393030643463, -0.48224133253097534, -0.0061888424679636955, -0.313627153635025, -0.12936840951442719, -0.4061574935913086, -0.08030851930379868, 0.2345605045557022, -0.35595703125 ]
http://arxiv.org/abs/2404.00492v1
http://arxiv.org/pdf/2404.00492v1
Multi-hop Question Answering under Temporal Knowledge Editing
2024-03-30T23:22:51
2024-03-30T23:22:51
Keyuan Cheng, Gang Lin, Haoyang Fei, Yuxuan zhai, Lu Yu, Muhammad Asif Ali, Lijie Hu, Di Wang
cs.CL
cs.CL, cs.AI, cs.LG
Multi-hop question answering (MQA) under knowledge editing (KE) has garnered significant attention in the era of large language models. However, existing models for MQA under KE exhibit poor performance when dealing with questions containing explicit temporal contexts. To address this limitation, we propose a novel framework, namely TEMPoral knowLEdge augmented Multi-hop Question Answering (TEMPLE-MQA). Unlike previous methods, TEMPLE-MQA first constructs a time-aware graph (TAG) to store edit knowledge in a structured manner. Then, through our proposed inference path, structural retrieval, and joint reasoning stages, TEMPLE-MQA effectively discerns temporal contexts within the question query. Experiments on benchmark datasets demonstrate that TEMPLE-MQA significantly outperforms baseline models. Additionally, we contribute a new dataset, namely TKEMQA, which serves as the inaugural benchmark tailored specifically for MQA with temporal scopes.
[ -0.03134489431977272, -1.2383337020874023, 0.8058332204818726, 0.1179165318608284, -0.09294474124908447, 0.5651404857635498, 0.211186945438385, -0.6045789122581482, 0.2814607322216034, 0.09196662902832031, -0.6647249460220337, -0.3206927478313446, -0.47079765796661377, 0.0264449343085289, -0.07270937412977219, 0.34556958079338074, -0.325666606426239, -0.12892332673072815, 0.14786019921302795, -0.3513695001602173, -0.5509049296379089, -0.40087032318115234, -0.7897176146507263, -0.3360198736190796, 0.7317947149276733, 0.1767517477273941, 0.6378454566001892, 0.7748717665672302, -0.2083236426115036, 0.23028072714805603, -0.3633556663990021, 0.4922582805156708, 0.19680015742778778, 0.26504066586494446, -0.10937469452619553, -0.22291478514671326, -0.7839235067367554, -0.09308779239654541, 0.9313725829124451, 0.8047361969947815, 0.18627969920635223, 0.5338459610939026, -0.2759201228618622, 0.4081600606441498, -0.9024783968925476, 0.19074945151805878, -0.7567249536514282, 0.1267734169960022, -0.36549508571624756, -0.4658312201499939, -0.5215902328491211, -0.3042141795158386, 0.025414591655135155, -0.8892695307731628, -0.3941798210144043, 0.10004095733165741, 0.7522919178009033, 0.4916155934333801, -0.8539799451828003, -0.016258668154478073, -0.6126108169555664, 0.43764355778694153, -0.40365415811538696, 0.9950721859931946, 0.3731527626514435, 0.4944876730442047, -0.03551816940307617, -0.7777099013328552, -0.7027994990348816, 0.17519499361515045, 0.1337137669324875, 0.05503040552139282, -0.2242640107870102, -0.13033601641654968, 0.3803230822086334, -0.1627398431301117, -0.3693366050720215, -0.32693126797676086, -0.0842321440577507, -0.2638099491596222, -0.09428974986076355, 0.33629414439201355, 0.07967988401651382, -0.5464907288551331, -0.14476525783538818, 0.0966050773859024, -0.46272069215774536, 0.5824519991874695, 0.10937809944152832, -0.024419376626610756, 0.4676646292209625, 0.8211691975593567, -0.5230817794799805, 0.8493426442146301, 0.08663584291934967, -0.2744266092777252, 0.10707290470600128, -0.37685590982437134, -0.2871622145175934, -0.1763095110654831, 0.26567232608795166, 0.3044431805610657, 0.11350568383932114, -0.3675967752933502, 0.3358846604824066, -0.15123793482780457, 0.06395513564348221, -0.6016132235527039, -0.056439630687236786, 0.4370163083076477, -0.24242833256721497, 0.07849814742803574, -0.45644864439964294, -0.6511120796203613, -0.014048507437109947, -0.17143207788467407, 0.52167147397995, -0.5088027715682983, -0.1691105216741562, -0.018911976367235184, -0.3445703387260437, 0.2232242375612259, 0.46919649839401245, -0.31388840079307556, -0.06080184504389763, 0.5260805487632751, 0.7001235485076904, 0.5615397095680237, -0.5108379125595093, -0.8216015696525574, 0.7239208817481995, -0.44587865471839905, 0.5785396695137024, -0.8949779272079468, -0.21852567791938782, -0.41427451372146606, -0.029368769377470016, -0.31910446286201477, -0.09795477986335754, 0.30205488204956055, -1.4118603467941284, -0.043626945465803146, -0.37078896164894104, -0.5662809014320374, -0.052072908729314804, 0.5019088387489319, -0.3875472843647003, 0.8373037576675415, 0.1560312956571579, -0.8179261684417725, 0.6262944936752319, -0.7210620641708374, -0.3500615060329437, -0.22593232989311218, 0.08581342548131943, -0.19002199172973633, -0.4611043930053711, 0.7313106656074524, 0.13472384214401245, 0.39958783984184265, 0.4162188470363617, -0.33516255021095276, -0.2412617951631546, 0.3364441990852356, -0.22281211614608765, 0.7304727435112, 0.2909839451313019, -0.0970039963722229, -0.1836889237165451, -0.6010186672210693, 0.27490177750587463, 0.009182662703096867, -0.6913517117500305, -0.4020676016807556, 0.13365335762500763, -0.36669397354125977, 0.31443166732788086, 0.10433979332447052, -0.8753826022148132, 0.5924107432365417, -0.1447267085313797, 0.725824236869812, 0.7893426418304443, 0.4184265434741974, 0.37472137808799744, -0.3142540454864502, 0.3995305597782135, 0.09778904914855957, 0.30903229117393494, -0.05557098612189293, -0.49305781722068787, -0.34178149700164795, 0.1552274078130722, 0.2991054952144623, 0.6472052931785583, -1.1228049993515015, -0.2373514622449875, -0.5144741535186768, -0.5037137866020203, -0.5335627794265747, -0.11271988600492477, 0.4295435845851898, 0.8190045356750488, 0.751699686050415, 0.05143269523978233, -0.3422705829143524, -0.5008019804954529, -0.6127185821533203, -0.3842577338218689, 0.25583165884017944, 0.6929290294647217, 0.3727290630340576, -0.2945743501186371, 0.9984920620918274, -0.6314709782600403, 0.23680496215820312, 0.23997999727725983, 0.20025137066841125, -0.024703560397028923, 0.35670551657676697, 0.4226450026035309, -0.647268533706665, -0.02635766938328743, -0.3931216299533844, -0.6230149865150452, -0.05008300021290779, -0.1437615007162094, -0.41835373640060425, -0.03320161625742912, 0.5451547503471375, -0.6434037089347839, 0.33054327964782715, 0.38607537746429443, -0.5911197662353516, 0.8870216012001038, 0.24669049680233002, 0.7382802963256836, -1.3133776187896729, -0.021832818165421486, -0.569656491279602, -0.17788831889629364, -0.44934454560279846, -0.10314362496137619, 0.3427492380142212, -0.1271912157535553, -0.36119022965431213, 0.9900032877922058, -0.24429413676261902, -0.06682059913873672, 0.04892544448375702, 0.0774102434515953, 0.3945709764957428, 0.7097164392471313, -0.12614208459854126, 0.7785211205482483, 0.17340311408042908, -0.6631669402122498, -0.05210230126976967, 0.6830688714981079, -0.2454250156879425, 0.229887917637825, -0.6316438913345337, 0.388668954372406, -0.060961268842220306, 0.5012924075126648, -0.7290610074996948, -0.2192527949810028, 0.34778448939323425, -0.7881403565406799, 0.35753896832466125, -0.7709030508995056, -0.5739272236824036, -0.2571943402290344, -0.013628535903990269, 0.9459354877471924, -0.12325145304203033, -0.4698510468006134, 0.8783101439476013, 0.1452714502811432, 0.05499875918030739, -1.1946399211883545, -0.6443986892700195, 0.038980547338724136, -0.09523463249206543, -0.8411073088645935, 0.3929622173309326, -0.16923029720783234, -0.19242426753044128, 0.3100266456604004, -0.4589732885360718, -0.3459622263908386, 0.11591854691505432, 0.07676316052675247, -0.009150016121566296, -0.21578632295131683, 0.34728842973709106, 0.4328201115131378, -0.11806924641132355, -0.1049102246761322, -0.3612135946750641, 0.4011739492416382, 0.014581439085304737, -0.42871221899986267, -0.34217414259910583, 0.33198535442352295, 0.6352053284645081, -0.6440994739532471, 0.6074317097663879, 0.6310681700706482, -0.4729509949684143, 0.15656039118766785, -0.5981743335723877, 0.14176231622695923, -0.3890211284160614, 0.0515318289399147, -0.8478795886039734, -1.189927577972412, 0.4616633653640747, -0.21907062828540802, 0.2511628568172455, 0.2759135961532593, 0.2481750100851059, -0.32115796208381653, 0.7147340178489685, 0.1141023188829422, 0.08468049764633179, 0.6204361319541931, -0.17509905993938446, 0.0020168486516922712, -1.227084755897522, -0.11919019371271133, -0.48311322927474976, -0.3815068304538727, -0.34448784589767456, -0.47928741574287415, 0.8551220893859863, 0.3430313467979431, -0.5655194520950317, 0.18523336946964264, 0.13184800744056702, 0.2546461224555969, 0.665192723274231, 0.33823105692863464, 0.6516872644424438, -0.4882628321647644, -0.22931337356567383, 0.07758325338363647, -0.7128698229789734, -0.2991061806678772, 1.0928281545639038, 0.03609807416796684, 0.5780587196350098, 0.31428229808807373, 0.409071683883667, 0.11416053771972656, -0.09531993418931961, -0.42935657501220703, 0.31190025806427, 0.2341945767402649, -0.9243185520172119, -0.3935687243938446, -0.6705697774887085, -0.8615338802337646, 0.1749650537967682, -0.2474786788225174, -0.7990412712097168, 0.07553581893444061, 0.3254089057445526, -0.652063250541687, 0.8220624327659607, -0.809019923210144, 0.9081767797470093, -0.012071666307747364, -0.31755363941192627, -0.10998698323965073, -0.7993137240409851, 0.3879593312740326, 0.060578085482120514, 0.3794881999492645, -0.1920292228460312, -0.12367900460958481, 0.7556667327880859, -0.2211485058069229, 0.4164049029350281, -0.39965295791625977, 0.5887985229492188, 0.24513983726501465, 0.5283940434455872, 0.33539214730262756, 0.44990313053131104, -0.09209547936916351, -0.12284030020236969, 0.5192009210586548, -0.5832529067993164, -0.7465857863426208, 0.449279248714447, -0.7164180874824524, -0.4441775977611542, -0.1554175466299057, -0.7882487177848816, -0.7406237721443176, 0.15664619207382202, -0.14414352178573608, 1.0805068016052246, 0.192306786775589, -0.02929658815264702, 0.31819456815719604, -0.23014910519123077, 0.5277653336524963, 0.44180721044540405, -0.14454469084739685, -0.3231234550476074, 0.14442132413387299, 0.36850300431251526, 0.13990509510040283, 0.720910370349884, 0.2971092760562897, -0.4824525713920593, -0.3673650324344635, -0.8769769668579102, 0.12892311811447144, -0.7682034373283386, -0.17882347106933594, -1.252429723739624, -0.06645230203866959, -0.5427506566047668, -0.0625302866101265, -0.32831406593322754, -0.7685802578926086, 0.2777644693851471, 0.14594171941280365, 0.4534226953983307, 0.4145365357398987, 0.039373528212308884, 0.42055901885032654, -1.0821893215179443, 0.5820292234420776, 0.5184745192527771, 0.6509262323379517, 0.05475917086005211, -0.43783894181251526, -0.08676755428314209, -0.044030990451574326, -0.15013673901557922, -1.1572169065475464, -0.37355169653892517, 0.15521380305290222, 0.49199041724205017, 0.028289077803492546, 0.007423474453389645, 1.0869704484939575, -0.7420401573181152, 0.7071312665939331, -0.4283944368362427, -1.018596887588501, 0.725553572177887, -0.3261605501174927, 0.5992060303688049, 0.3918102979660034, 0.2157345414161682, -0.8533886075019836, -0.31265535950660706, -0.5818144679069519, -0.6252629160881042, 0.379428505897522, 0.0094075258821249, -0.22118397057056427, -0.01199906412512064, 0.6381481885910034, -0.13680540025234222, 0.34354278445243835, -0.6814170479774475, -0.3680371642112732, -0.2094353586435318, 0.44088679552078247, 0.18183939158916473, -0.337657630443573, 0.12012474983930588, -0.3838442265987396, 0.6013333797454834, 0.03355245292186737, 0.3206551969051361, 0.42952004075050354, -0.41024836897850037, -0.20153571665287018, 0.6585578322410583, 0.1296718865633011, 1.0950918197631836, -0.2933955490589142, 0.08683052659034729, 0.24018338322639465, -0.19706061482429504, 0.15237866342067719, -0.0007143622497096658, -0.2517913579940796, -0.07449553906917572, 0.5661266446113586, 0.29399943351745605, 0.284221887588501, -0.24072681367397308, 0.2176533192396164, -0.08401326090097427, -0.04509725794196129, 0.04874485358595848, -0.15421588718891144, 0.15694594383239746, 0.7620325088500977, 0.21380014717578888, 0.15832212567329407, -0.005271758884191513, -0.3088783621788025, 0.3422226309776306, 0.13103218376636505, 0.06942659616470337, -0.08432672172784805, 0.9655717015266418, -0.18224945664405823, -0.0956726148724556, 0.5991073250770569, -0.26922571659088135, -0.574030339717865, 0.14520539343357086, 0.16482026875019073, 0.47668734192848206, -0.22301024198532104, 0.06423437595367432, 0.6318807601928711, 0.34543657302856445, 0.6262359023094177, 0.41634806990623474, -0.3662322163581848, -0.7573252320289612, -0.7500523924827576, -0.6669906973838806, -0.39704909920692444, -0.11005473881959915, -0.4034895598888397, -0.1620621532201767, -0.3540084958076477, -0.3037071228027344, 0.09727005660533905, 0.11467477679252625, -0.5635562539100647, 0.14670857787132263, -0.2862637937068939, 1.0262914896011353, -0.5118731260299683, 0.874272882938385, 0.6929795742034912, -0.2727706730365753, -1.0024231672286987, 0.05699716880917549, 0.053333401679992676, -0.8169198632240295, 0.40653449296951294, -0.2981949746608734, -0.3178176283836365, 0.14668942987918854, -0.24810799956321716, -0.7357708215713501, 1.388311505317688, 0.06449691951274872, -0.10816984623670578, -0.3624900281429291, -0.08834846317768097, 0.12461526691913605, 0.07720088958740234, 0.04620347544550896, 0.5084949731826782, 0.574135959148407, 0.2629702389240265, -0.864712119102478, -0.2837022542953491, -0.30580660700798035, -0.4708606004714966, 0.4463690221309662, -0.557323157787323, 0.9088716506958008, -0.28405439853668213, -0.17838561534881592, -0.1259443312883377, 0.48831140995025635, 0.2867595851421356, 0.6069806218147278, 0.6247180700302124, 0.7720053791999817, 0.7241743206977844, -0.24021680653095245, 0.8193044662475586, -0.41097626090049744, 0.012611248530447483, 1.5455069541931152, 0.21389779448509216, 0.8481679558753967, 0.5520145297050476, -0.11669738590717316, 0.4045722782611847, 0.9513128995895386, 0.5241865515708923, 0.18063946068286896, -0.12226815521717072, -0.019985396414995193, -0.4699896574020386, -0.08026614785194397, -0.5049928426742554, 0.6141946315765381, 0.04171695187687874, 0.18038393557071686, -0.4457065165042877, -0.14891132712364197, 0.2783689498901367, -0.22605618834495544, -0.4501681327819824, 0.5483613610267639, -0.23688913881778717, -0.5663464665412903, 0.037134356796741486, 0.1872299462556839, 0.13728855550289154, -0.5537216663360596, -0.022025758400559425, -0.21592217683792114, -0.18017806112766266, 0.0912228599190712, -0.9742361307144165, 0.45844700932502747, 0.10602989792823792, -0.31549447774887085, -0.2495361864566803, 0.4784035086631775, -0.3218833804130554, -0.3208681643009186, 0.2765454053878784, 1.197403907775879, -0.16548727452754974, -0.17089277505874634, -0.7956456542015076, -0.22193242609500885, -0.4953977167606354, -0.29088112711906433, -0.09171821177005768, 0.6340377330780029, -0.1182476356625557, 0.8712060451507568, 0.5325111746788025, -0.06774306297302246, 0.6203449368476868, 0.11689846962690353, 0.7759032845497131, -0.6173179149627686, -0.6151003837585449, -0.5959199070930481, 0.47277170419692993, 0.27509239315986633, -0.31520119309425354, 0.5744984745979309, 0.5496400594711304, 0.7863280773162842, 0.2645796239376068, 0.36917543411254883, -0.24379922449588776, 0.6777743101119995, -0.7306594848632812, 0.46469393372535706, -0.9254644513130188, 0.027513999491930008, -0.4913182258605957, -0.7076930999755859, 0.051213063299655914, -0.14588771760463715, -0.3436489701271057, 0.0845567137002945, 0.6196922659873962, 0.6807518601417542, -0.16350987553596497, 0.02720489352941513, 0.14341437816619873, 0.2347911298274994, 0.38339558243751526, 0.9537982940673828, 1.1171379089355469, -0.5409116744995117, 0.7173942923545837, -0.40797722339630127, -0.05429457500576973, 0.2099408358335495, -0.7646043300628662, -0.6717442274093628, -0.7573399543762207, -0.1297907531261444, -0.3580925762653351, 0.06745847314596176, 0.8996865749359131, 0.677072286605835, -0.43438535928726196, 0.2931287884712219, 0.7672422528266907, 0.31332841515541077, -0.3645029067993164, -0.164947047829628, 0.6517385840415955, -0.2217252552509308, -0.4463803470134735, 0.6646701693534851, 0.2959999144077301, -0.15296819806098938, 0.38155290484428406, 0.12271815538406372, -0.7041102647781372, -0.186753511428833, 0.7362430691719055, 0.14010567963123322, -0.720973014831543, -0.768636167049408, 0.3889009952545166, 0.22008980810642242, 0.2205224484205246, 0.9113603830337524, -0.57716304063797, 0.7976111173629761, 0.2460119128227234, 1.1154637336730957, 0.5526372790336609, 0.11273365467786789, 0.12111160904169083, -1.067766785621643, -0.2826104462146759, 0.2020125538110733, 0.4168211817741394, -0.0901075229048729, -0.20973722636699677, 0.3562204837799072, 0.3692055642604828, -0.6443342566490173, -0.2561703026294708, 0.3385826349258423, -1.1656981706619263, -0.38908320665359497, 0.9520771503448486, 0.025753414258360863, -0.1975771188735962, -0.4668768644332886, 0.09190599620342255, 0.6461676359176636, -0.17075398564338684, 0.5569113492965698, 0.845664918422699, -0.36553022265434265, -0.08907536417245865, -0.8031236529350281, 0.455852746963501, 0.2805130183696747, -0.6587568521499634, 0.03879740834236145, 0.6618902087211609, 0.38888978958129883, 0.01145124714821577, 0.9219825267791748, -0.17249073088169098, 0.5328444838523865, 0.016795525327324867, -0.5158213973045349, -0.5813602209091187, -0.6292844414710999, 0.14532722532749176, 0.2680529057979584, 0.13766323029994965, -0.32575052976608276 ]
http://arxiv.org/abs/2404.00489v1
http://arxiv.org/pdf/2404.00489v1
PROMPT-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression
2024-03-30T23:07:58
2024-03-30T23:07:58
Muhammad Asif Ali, Zhengping Li, Shu Yang, Keyuan Cheng, Yang Cao, Tianhao Huang, Lijie Hu, Lu Yu, Di Wang
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have shown exceptional abilities for multiple different natural language processing tasks. While prompting is a crucial tool for LLM inference, we observe that there is a significant cost associated with exceedingly lengthy prompts. Existing attempts to compress lengthy prompts lead to sub-standard results in terms of readability and interpretability of the compressed prompt, with a detrimental impact on prompt utility. To address this, we propose PROMPT-SAW: Prompt compresSion via Relation AWare graphs, an effective strategy for prompt compression over task-agnostic and task-aware prompts. PROMPT-SAW uses the prompt's textual information to build a graph, later extracts key information elements in the graph to come up with the compressed prompt. We also propose GSM8K-AUG, i.e., an extended version of the existing GSM8k benchmark for task-agnostic prompts in order to provide a comprehensive evaluation platform. Experimental evaluation using benchmark datasets shows that prompts compressed by PROMPT-SAW are not only better in terms of readability, but they also outperform the best-performing baseline models by up to 14.3 and 13.7 respectively for task-aware and task-agnostic settings while compressing the original prompt text by 33.0 and 56.7.
[ -0.3100486993789673, -0.6464865207672119, 0.9155665040016174, 0.4296738803386688, -0.5361001491546631, -0.14728577435016632, -0.17384834587574005, -0.4044246971607208, 0.2649476230144501, 0.4267028570175171, -1.0410352945327759, -0.39893803000450134, -0.5016031861305237, 0.6416224241256714, -0.08177556097507477, 0.5770139694213867, 0.33240339159965515, -0.1526462733745575, -0.3236106336116791, -0.0513630285859108, -0.8893143534660339, -0.5924636125564575, -0.7791266441345215, -0.3135211765766144, 0.7540735602378845, 0.08760210871696472, 0.7499553561210632, 0.8748742341995239, 0.0959458202123642, 0.25268709659576416, -0.31329670548439026, 0.31611308455467224, -0.24643534421920776, 0.6857683658599854, 0.04321835935115814, -0.24026834964752197, -0.5594757795333862, 0.01740974187850952, 0.5623741149902344, 0.7079418301582336, 0.12043727189302444, -0.05220891907811165, 0.2200891375541687, 0.5054583549499512, -0.37823012471199036, 0.4025024175643921, -0.5568923950195312, -0.16155306994915009, -0.055819738656282425, -0.4333737790584564, -0.8839378952980042, -0.39240792393684387, -0.27749869227409363, -0.6946148872375488, -0.0716894119977951, 0.3157803416252136, 0.8421132564544678, 0.4790554642677307, -0.46120837330818176, -0.2733948826789856, -0.2748117744922638, 0.5261690020561218, -0.5679512619972229, 0.48512986302375793, 0.5296005606651306, 0.26710453629493713, -0.3211767375469208, -0.6367459893226624, -0.2980008125305176, -0.17123804986476898, -0.17628520727157593, 0.0935617983341217, -0.3122786283493042, 0.1963520646095276, 0.8346324563026428, 0.20172111690044403, -0.5327947735786438, 0.2972119152545929, 0.18887081742286682, -0.34692203998565674, 0.3106970191001892, 0.41387739777565, 0.37075772881507874, -0.7166361808776855, -0.3844555914402008, -0.013764411211013794, -0.9565457701683044, -0.03963397070765495, 0.46812084317207336, 0.4741721451282501, 0.018823642283678055, 0.4945630133152008, -0.3447069227695465, 1.0983574390411377, -0.06732731312513351, -0.20327059924602509, 0.04687676578760147, -0.3492780923843384, -0.30652928352355957, 0.06353363394737244, 0.9207374453544617, 0.5691691040992737, 0.28903764486312866, -0.13635914027690887, -0.12754052877426147, 0.30229896306991577, -0.19534622132778168, -0.9989000558853149, -0.3522193431854248, 0.07240299135446548, -0.43068015575408936, 0.11256197839975357, -0.3836292624473572, -0.742843508720398, -0.8090994954109192, -0.2459850013256073, 0.15746816992759705, -0.4155345559120178, 0.15182514488697052, 0.11186235398054123, -0.1849006712436676, -0.23443447053432465, 0.5542656779289246, -0.7864649891853333, 0.13765138387680054, 0.5192111730575562, 1.0079766511917114, 0.19072164595127106, -0.06744571775197983, -1.0662037134170532, 0.10706941038370132, 0.03215481713414192, 0.9623644948005676, -0.5885854363441467, -0.6658240556716919, -0.14165793359279633, -0.07035442441701889, -0.09469093382358551, -0.4437984824180603, 1.071470022201538, -0.4372059106826782, 0.2855721116065979, -0.397564560174942, -0.6424217224121094, 0.07265477627515793, 0.3235461115837097, -0.9299336075782776, 1.133978009223938, 0.1798689365386963, -0.7702056169509888, 0.19524814188480377, -0.14725758135318756, -0.3026052415370941, 0.10314071923494339, -0.18680241703987122, -0.1449875831604004, -0.22619962692260742, 0.8438122272491455, 0.6893810629844666, -0.7058804035186768, 0.20102021098136902, -0.3089277744293213, -0.25800323486328125, -0.002669060602784157, -0.44495856761932373, 0.8287495374679565, 0.19902092218399048, 0.15878237783908844, 0.2628532648086548, -0.5110734105110168, -0.12940791249275208, 0.05336827412247658, -0.2647041082382202, -0.37632161378860474, -0.2423114776611328, -0.44147953391075134, 0.17483261227607727, 0.30068135261535645, -0.5034983158111572, 0.549402117729187, -0.3592982888221741, 0.4244663417339325, 0.6907654404640198, 0.30597591400146484, 0.3228941261768341, -0.2540689706802368, 0.6464206576347351, -0.29891452193260193, 0.20409634709358215, -0.8950120210647583, -0.517397940158844, -0.41798296570777893, -0.3704518675804138, 0.2407192885875702, 0.5083187222480774, -0.9759287238121033, 0.4848213195800781, -0.5126798152923584, -0.39070773124694824, -0.1964622586965561, -0.21899637579917908, 0.3403586745262146, 1.097252368927002, 0.23613862693309784, 0.10179897397756577, -0.4892725944519043, -0.7246615886688232, -0.48497527837753296, -0.2827392816543579, -0.2554139196872711, 0.410793662071228, -0.13812857866287231, 0.09444797784090042, 0.8856455087661743, -0.9400612115859985, -0.12649716436862946, -0.20125433802604675, 0.16409574449062347, 0.5844677686691284, 0.1527157574892044, 0.5292601585388184, -0.46013882756233215, -0.5425269603729248, -0.3803635537624359, -0.6402291655540466, -0.4929046630859375, -0.3251781165599823, 0.06402262300252914, -0.2196243405342102, 0.4555034935474396, -1.0363922119140625, 0.31995484232902527, 0.40112054347991943, -0.5187148451805115, 0.8067513704299927, -0.2090633660554886, 0.17531059682369232, -1.105846881866455, -0.15015371143817902, 0.1003679484128952, -0.5822567939758301, -0.49154242873191833, -0.13887429237365723, 0.2073041945695877, -0.3867785334587097, -0.1245507150888443, 0.51828533411026, -0.8395962715148926, -0.09581308811903, -0.1488388627767563, 0.2041211575269699, 0.2530495226383209, 0.5250101685523987, -0.11765079200267792, 1.2168405055999756, 0.3887750208377838, -0.584835410118103, 0.2503245174884796, 0.5341145992279053, -0.2399977296590805, 0.45654016733169556, -0.5184212923049927, 0.3861334025859833, -0.07026731967926025, 0.41365909576416016, -0.6505758762359619, -0.12720586359500885, 0.5557625889778137, -0.40102675557136536, 0.23436559736728668, -0.3312692940235138, -0.7691619992256165, -0.10722833126783371, -0.4450235664844513, 0.13414432108402252, 0.6633456349372864, -0.5958782434463501, 0.7018545866012573, 0.15448257327079773, -0.435627281665802, -0.3942508399486542, -0.258635938167572, 0.3708670735359192, -0.3072112798690796, -0.6768192052841187, 0.3824132978916168, -0.19689731299877167, 0.06766393780708313, -0.17079609632492065, -0.2694619596004486, 0.1335880011320114, -0.04189211502671242, 0.4339293837547302, 0.3702002465724945, -0.017375081777572632, 0.13724695146083832, 0.06416218727827072, -0.31930994987487793, 0.1954628974199295, -0.07556150108575821, 0.7254670262336731, 0.35612285137176514, -0.08343876898288727, -0.2582641839981079, 0.4989950358867645, 0.24762722849845886, -0.05850084125995636, 0.5035257339477539, 0.12708882987499237, -0.3120688199996948, -0.05142894759774208, -0.25247207283973694, -0.10186189413070679, -0.5125590562820435, -0.09688480198383331, -0.5281885266304016, -0.9681333899497986, 0.5929827094078064, -0.5717512369155884, -0.05301915109157562, 0.3156508803367615, 0.16234596073627472, 0.16085976362228394, 1.1648011207580566, 0.3643925189971924, -0.0575801320374012, 0.543578028678894, 0.09706497192382812, 0.05598572641611099, -0.9725737571716309, -0.18282237648963928, -0.8734664916992188, 0.1226312592625618, 0.02175460010766983, -0.38719332218170166, 0.37971392273902893, 0.3002201020717621, -0.16512972116470337, 0.46115246415138245, -0.5358689427375793, 0.505944550037384, 0.20229975879192352, 0.2740567922592163, 0.33137765526771545, -0.07568997144699097, 0.05268023535609245, -0.18343855440616608, -0.7967268228530884, -0.4983150064945221, 0.43750518560409546, 0.15756960213184357, 0.6709815859794617, -0.1173093393445015, 0.4816485345363617, 0.2828035056591034, 0.08247975260019302, -1.0688329935073853, 0.8520481586456299, 0.0868786871433258, 0.07123387604951859, -0.1477242410182953, -0.6360217928886414, -1.2454370260238647, -0.02013096772134304, -0.055549781769514084, -0.9914344549179077, 0.14247025549411774, 0.24646662175655365, -0.30002856254577637, 0.10433345288038254, -0.8764778971672058, 0.5584272146224976, 0.2184104472398758, -0.034671250730752945, 0.08004161715507507, -0.6310805082321167, 0.07097194343805313, 0.1083272323012352, 0.14863044023513794, -0.4123358428478241, -0.1901455968618393, 0.8413540720939636, -0.6576077938079834, 0.8991425037384033, -0.19239741563796997, -0.05565575882792473, 0.2401355504989624, 0.20858503878116608, 1.0514321327209473, -0.046065960079431534, -0.32104554772377014, -0.190172478556633, -0.4232252538204193, -0.1772627979516983, -1.0940896272659302, 0.6717535853385925, -0.31111040711402893, -0.790111780166626, -0.2655720114707947, -0.6766014695167542, -0.4097234606742859, 0.2994542717933655, 0.37852656841278076, 1.0720617771148682, 0.25201135873794556, -0.3256363868713379, 0.5045651197433472, -0.09993597120046616, 0.44075873494148254, 0.18767766654491425, -0.32006844878196716, -0.5126858949661255, 0.6963426470756531, 0.03590559586882591, 0.04987339302897453, 0.3097793459892273, 0.2807305157184601, -0.5605059266090393, -0.4843370020389557, -0.5713685154914856, 0.2160768210887909, -0.9921155571937561, -0.6389830708503723, -0.7949686050415039, 0.06360403448343277, -0.36016398668289185, -0.1211169883608818, 0.1261233538389206, -0.5481975674629211, -0.46789631247520447, -0.06636861711740494, 0.6832854747772217, 0.6842201948165894, 0.326252818107605, 0.5167746543884277, -0.9549887180328369, 0.3947297930717468, 0.11726624518632889, 0.2044982761144638, 0.022888856008648872, -0.24040864408016205, -0.1315394937992096, -0.2566753327846527, 0.10942628234624863, -1.3673211336135864, 0.42742452025413513, 0.06912562996149063, 0.285165399312973, 0.2607078552246094, 0.5676583647727966, 0.6502953767776489, -0.5946205258369446, 0.9473884701728821, 0.5335326194763184, -0.9317349791526794, 0.4864078760147095, -0.48944786190986633, 0.6409355998039246, 0.3475683331489563, 0.22016441822052002, -0.4963688850402832, -0.20088385045528412, -0.4232568144798279, -0.8387531638145447, 0.7030800580978394, 0.28263360261917114, 0.007899295538663864, -0.2045709788799286, 0.2920999526977539, 0.18010056018829346, 0.08328449726104736, -0.4735791087150574, -0.2871939241886139, -0.10460777580738068, -0.2681736946105957, 0.024461597204208374, -0.6114011406898499, 0.10951711982488632, -0.004932515788823366, 0.2857038378715515, -0.17109772562980652, 0.3760908544063568, 0.32474684715270996, -0.132940411567688, 0.20440003275871277, 0.4076937437057495, 0.16857676208019257, 0.36349520087242126, -0.1406136155128479, 0.3814602792263031, 0.10609856992959976, -0.5392565131187439, 0.2780349552631378, 0.3206714987754822, -0.10657654702663422, 0.243104487657547, 0.4799128472805023, 0.9848951101303101, 0.2819187343120575, -0.4823131859302521, 0.2903108298778534, -0.25995537638664246, 0.11715927720069885, 0.29543495178222656, -0.025820357725024223, 0.2116716057062149, 0.037832435220479965, 0.29287809133529663, -0.029849007725715637, 0.3654104173183441, -0.2014855146408081, -0.026149705052375793, 0.14696919918060303, -0.33263900876045227, -0.21563485264778137, 0.631384015083313, 0.4356039762496948, -0.6051195859909058, 0.6013388633728027, -0.20262721180915833, -0.6394124031066895, 0.41279029846191406, 0.5807797312736511, 0.8201770782470703, -0.2703094780445099, 0.03257875517010689, 0.4389457106590271, 0.24204090237617493, 0.005387833807617426, 0.2697571814060211, -0.386755108833313, -0.3518640398979187, -0.7457871437072754, -0.1612955629825592, -0.49069127440452576, -0.13593131303787231, -0.7120011448860168, 0.3320673704147339, -0.3873535692691803, -0.4232475459575653, 0.06265735626220703, -0.011910244822502136, -0.5106893181800842, 0.19825877249240875, -0.3081658184528351, 1.3268991708755493, -0.44762566685676575, 0.8133707046508789, 0.4986051917076111, -0.2005978673696518, -1.2326593399047852, -0.08991242200136185, -0.24906449019908905, -0.5631100535392761, 0.36308562755584717, 0.5519341230392456, -0.20332513749599457, 0.21313874423503876, -0.2923179566860199, -0.5182501673698425, 1.0641146898269653, 0.9260339140892029, -0.6128143072128296, -0.10953672975301743, -0.23061487078666687, 0.1330920159816742, -0.2095537632703781, 0.3706696331501007, 0.39010247588157654, 0.37863409519195557, 0.0684516578912735, -0.8871850967407227, 0.5914168357849121, -0.21909108757972717, -0.20845602452754974, 0.6957536339759827, -0.43531081080436707, 0.6804262399673462, 0.0008162053418345749, -0.6150500774383545, 0.10446476191282272, 0.6110895276069641, 0.2162606120109558, 0.4058660566806793, 0.7727379202842712, 0.249664306640625, 1.0334738492965698, 0.0751584842801094, 1.2303560972213745, -0.31583884358406067, 0.17224274575710297, 1.2270952463150024, -0.31088730692863464, 0.5709585547447205, 0.43340179324150085, -0.1328595131635666, 0.39450326561927795, 0.8082082271575928, 0.2410113364458084, 0.3298635184764862, -0.20619432628154755, -0.5338995456695557, -0.6170011162757874, -0.5898456573486328, -0.3673632740974426, -0.23961763083934784, 0.21308983862400055, -0.3608614504337311, -0.39785951375961304, -0.23880082368850708, 0.34783169627189636, 0.12741096317768097, -0.3300994038581848, 0.6264498233795166, 0.403987318277359, -0.7358936667442322, 0.6016641855239868, -0.21197043359279633, 0.47372761368751526, -0.795543909072876, -0.09013969451189041, -0.055286113172769547, -0.5477500557899475, -0.09906087815761566, -0.9443269968032837, 0.13002750277519226, 0.26507341861724854, -0.3664212226867676, -0.5540334582328796, 1.1730692386627197, -0.258480966091156, 0.07768220454454422, 0.23571516573429108, 0.46423041820526123, 0.22599713504314423, -0.34727099537849426, -0.4527532458305359, 0.33251041173934937, 0.06274010241031647, -0.25142261385917664, 0.3024448752403259, 0.40158554911613464, 0.13193541765213013, 0.8133431673049927, 0.5855517983436584, -0.013520315289497375, -0.27501922845840454, 0.20557524263858795, 1.2798227071762085, -0.6580278277397156, -0.8432167768478394, -1.0194435119628906, 0.3492729663848877, -0.4066827595233917, -0.27946481108665466, 1.0090171098709106, 0.5162346363067627, 0.08590444922447205, 0.01520439051091671, 0.4697039723396301, 0.2575623691082001, 0.3508540093898773, -0.8290581703186035, 0.44209614396095276, -0.19406065344810486, 0.40017443895339966, -0.13915957510471344, -0.8697645664215088, -0.18876323103904724, 0.07388979941606522, -0.32170918583869934, -0.24417777359485626, 0.6706836819648743, 0.5481473803520203, 0.1630123257637024, 0.11206187307834625, 0.22575271129608154, -0.059790488332509995, 0.21169185638427734, 0.5883867144584656, 0.8543409109115601, -0.22919337451457977, 0.7789483070373535, -0.03954082727432251, 0.043342042714357376, 0.07547830790281296, -1.2737985849380493, -1.088108777999878, -0.5295548439025879, -0.3386733829975128, -0.4014436602592468, -0.13255444169044495, 0.9897614121437073, 0.6039572954177856, 0.0011995942331850529, 0.04808817803859711, -0.08075378835201263, 0.2702333927154541, 0.05727323144674301, -0.13465628027915955, 0.5333405137062073, -0.09463442862033844, -0.5825629830360413, 0.6472957134246826, 0.408866822719574, 0.0948103666305542, 0.0751904770731926, -0.12509416043758392, 0.09434680640697479, 0.09133630990982056, 0.6769877076148987, 0.11924712359905243, -0.4481290578842163, -0.20449404418468475, 0.031418174505233765, 0.07959981262683868, 0.1952243149280548, 1.041998267173767, -1.3123441934585571, 0.46771055459976196, 0.5948494076728821, 0.3710421323776245, 0.25597503781318665, 0.19448484480381012, 0.8024977445602417, -1.088489294052124, 0.3427715003490448, 0.19065864384174347, 0.5767563581466675, 0.6121471524238586, -0.7743616104125977, 0.52986741065979, 0.07980965077877045, -0.5258352756500244, -1.010663390159607, 0.6086035370826721, -1.2193291187286377, -0.21227748692035675, 1.1716541051864624, -0.4522547423839569, -0.2418498396873474, -0.1533765196800232, -0.7336388230323792, 0.3821607828140259, -0.7977806329727173, 0.22475510835647583, 0.5842387676239014, -0.26933056116104126, -0.47469714283943176, -0.12038866430521011, 0.6303993463516235, 0.2787530720233917, -0.9641473293304443, 0.40573081374168396, 0.6894282698631287, -0.1393970400094986, -0.11026221513748169, 0.7969130873680115, 0.34360766410827637, 0.04017685726284981, 0.2666971981525421, -0.30401769280433655, -0.4826261103153229, -0.09150102734565735, -0.5060951113700867, 0.3213963508605957, 0.1597713828086853, -0.031537462025880814 ]
http://arxiv.org/abs/2404.00488v1
http://arxiv.org/pdf/2404.00488v1
Noise-Aware Training of Layout-Aware Language Models
2024-03-30T23:06:34
2024-03-30T23:06:34
Ritesh Sarkhel, Xiaoqi Ren, Lauro Beltrao Costa, Guolong Su, Vincent Perot, Yanan Xie, Emmanouil Koukoumidis, Arnab Nandi
cs.CL
cs.CL, cs.AI, cs.LG
A visually rich document (VRD) utilizes visual features along with linguistic cues to disseminate information. Training a custom extractor that identifies named entities from a document requires a large number of instances of the target document type annotated at textual and visual modalities. This is an expensive bottleneck in enterprise scenarios, where we want to train custom extractors for thousands of different document types in a scalable way. Pre-training an extractor model on unlabeled instances of the target document type, followed by a fine-tuning step on human-labeled instances does not work in these scenarios, as it surpasses the maximum allowable training time allocated for the extractor. We address this scenario by proposing a Noise-Aware Training method or NAT in this paper. Instead of acquiring expensive human-labeled documents, NAT utilizes weakly labeled documents to train an extractor in a scalable way. To avoid degradation in the model's quality due to noisy, weakly labeled samples, NAT estimates the confidence of each training sample and incorporates it as uncertainty measure during training. We train multiple state-of-the-art extractor models using NAT. Experiments on a number of publicly available and in-house datasets show that NAT-trained models are not only robust in performance -- it outperforms a transfer-learning baseline by up to 6% in terms of macro-F1 score, but it is also more label-efficient -- it reduces the amount of human-effort required to obtain comparable performance by up to 73%.
[ -0.5019333362579346, -0.6877281665802002, 0.17096829414367676, 0.25544631481170654, -0.2949505150318146, -0.05949774011969566, -0.14188067615032196, -0.6705892086029053, -0.010550769977271557, 0.48471882939338684, -0.263423353433609, -0.4342724084854126, -0.5424038767814636, -0.025762461125850677, -0.42024821043014526, 0.6701653599739075, 0.07941210269927979, -0.10712622106075287, -0.16950130462646484, 0.10975023359060287, -0.25279930233955383, -0.21870540082454681, -0.43989822268486023, 0.04860135540366173, 0.163961723446846, 0.1971198171377182, 0.6482837200164795, 0.9027788639068604, 0.5688738822937012, 0.3859385848045349, -0.3431887924671173, 0.41749563813209534, -0.4269597828388214, 0.06718559563159943, -0.07839558273553848, -0.134715735912323, -0.37527772784233093, -0.1454157531261444, 0.58463454246521, 0.621109127998352, -0.041289035230875015, -0.0277386624366045, 0.07190141081809998, 0.49882379174232483, -0.694781482219696, 0.35072630643844604, -0.6425039172172546, 0.24790243804454803, -0.1595325767993927, -0.1307760626077652, -0.46815627813339233, -0.3253670930862427, 0.19630053639411926, -0.8898597359657288, 0.42206934094429016, 0.014390427619218826, 1.3124008178710938, 0.33988988399505615, -0.05007025599479675, 0.10464473813772202, -0.8548109531402588, 0.6148217916488647, -0.30385422706604004, 0.8130297660827637, 0.5197817087173462, 0.08541678637266159, 0.1608937829732895, -0.537888765335083, -0.3135608434677124, 0.24359779059886932, -0.026401014998555183, 0.30750611424446106, -0.08253273367881775, 0.06297048926353455, 0.4507632255554199, 0.5963298082351685, -0.5000348091125488, 0.26096588373184204, -0.6206416487693787, -0.3818603754043579, 0.4153878092765808, -0.2500440776348114, 0.20659148693084717, -0.13508670032024384, -0.2661437392234802, -0.17884859442710876, -0.2508648633956909, -0.2496466487646103, 0.5245450139045715, 0.3672258257865906, -0.2530600428581238, 0.1851135790348053, -0.2932571768760681, 0.9795709848403931, 0.17436406016349792, -0.4081592857837677, 0.436111718416214, -0.4294779598712921, -0.23747314512729645, -0.03496737405657768, 0.7959960699081421, -0.16715988516807556, 0.24234303832054138, -0.37792786955833435, -0.33120378851890564, -0.10786837339401245, 0.5598458051681519, -0.8986085653305054, -0.5330597758293152, 0.03565822169184685, -0.4250454008579254, -0.6697389483451843, -0.08239351958036423, -0.9910862445831299, -0.3046773672103882, -0.5778795480728149, 0.4205636978149414, -0.6885539293289185, -0.4545395076274872, 0.05224194377660751, -0.06165104731917381, 0.24382729828357697, 0.6116835474967957, -0.9907720685005188, 0.2709232568740845, 0.5275372266769409, 0.8602409362792969, -0.4367124140262604, -0.004139325115829706, -0.80987548828125, -0.029184794053435326, -0.508943498134613, 1.002933144569397, -0.29797595739364624, -0.46778541803359985, 0.0905894935131073, -0.19251878559589386, -0.10499105602502823, -0.6663984060287476, 0.564200222492218, -0.514278769493103, 0.19825834035873413, -0.18753862380981445, -0.3923175036907196, 0.12564337253570557, 0.3124634623527527, -0.8551198840141296, 1.109778642654419, 0.4732270836830139, -1.0098413228988647, 0.5826390385627747, -0.556562066078186, -0.428765207529068, 0.1415388435125351, -0.16793549060821533, -0.8512911200523376, 0.00821369607001543, 0.29595431685447693, 0.2560151219367981, 0.165344700217247, 0.039909087121486664, -0.033714842051267624, -0.3018622100353241, 0.025304216891527176, -0.519116222858429, 0.836894154548645, 0.36495524644851685, -0.29372438788414, 0.025196336209774017, -1.2034056186676025, -0.030535362660884857, -0.15110057592391968, -0.7820074558258057, -0.49153080582618713, -0.42476773262023926, 0.14013603329658508, 0.2816486656665802, 0.07899635285139084, -0.4946601390838623, 0.03496705740690231, -0.4154316484928131, -0.24072876572608948, 0.7427718043327332, -0.08417890965938568, 0.6636068820953369, -0.11151342839002609, 0.5995461940765381, 0.051727622747421265, -0.03534859046339989, -0.09222333133220673, -0.15655791759490967, -0.7326309084892273, -0.8374377489089966, 0.506228506565094, 0.367125004529953, -0.6125866770744324, 0.4664628803730011, -0.38173604011535645, -0.3950721025466919, -0.422294020652771, 0.5446402430534363, 0.48381099104881287, 0.6817354559898376, 0.2679840922355652, -0.5523541569709778, -0.5818614363670349, -0.632638156414032, -0.000017094245777116157, 0.06538721919059753, 0.17292721569538116, 0.2726261019706726, 0.2511858642101288, -0.008990800939500332, 0.9304587244987488, -0.32204487919807434, -0.4191249907016754, -0.34281039237976074, 0.45104971528053284, -0.23255178332328796, 0.5411471724510193, 0.20044846832752228, -0.9380254745483398, -0.6692364811897278, 0.1518222838640213, -0.7814003229141235, -0.21498577296733856, -0.2841930091381073, -0.31522417068481445, 0.16835857927799225, 0.7978499531745911, -0.5026049017906189, 0.5884588956832886, 0.38975444436073303, 0.0044271997176110744, 0.6537850499153137, -0.2966323494911194, -0.46280667185783386, -1.1328827142715454, -0.1458599865436554, 0.11781857907772064, -0.174309641122818, -0.5374582409858704, -0.17470860481262207, 0.10756461322307587, -0.2578631043434143, -0.5113851428031921, 0.4540438652038574, -0.8815733790397644, -0.21355612576007843, -0.20102721452713013, -0.030232975259423256, 0.35306334495544434, 0.4670468270778656, 0.5553022027015686, 0.6750472187995911, 0.6676638722419739, -0.6913843750953674, -0.23397742211818695, 0.3607061207294464, -0.5494965314865112, 0.8301855325698853, -0.3817194402217865, 0.055716171860694885, -0.15119676291942596, -0.06494112312793732, -0.7550742030143738, -0.1939859688282013, 0.028815260156989098, -0.028869634494185448, 0.8193432688713074, -0.16721738874912262, -0.5422194004058838, -0.22439539432525635, 0.023591971024870872, 0.10785475373268127, 0.36460214853286743, -0.7267739176750183, 0.5988973379135132, 0.4194616377353668, 0.21386836469173431, -0.3355899155139923, -0.5688064694404602, -0.27841466665267944, -0.290128231048584, -0.5352421402931213, 0.22029587626457214, 0.06924273073673248, -0.17299017310142517, -0.1347150206565857, -0.3078083097934723, -0.4804443418979645, 0.19214506447315216, 0.4348057806491852, 0.10083802789449692, -0.16957813501358032, 0.10376264154911041, -0.18163782358169556, -0.1900252103805542, -0.04270268231630325, -0.38871970772743225, 0.340721994638443, -0.24282780289649963, -0.4789264500141144, -0.5062459707260132, 0.26915520429611206, 0.34840530157089233, -0.4756701588630676, 0.7106637954711914, 1.0608056783676147, -0.40586745738983154, -0.1921405792236328, -0.6375389099121094, 0.06376928836107254, -0.5225996971130371, 0.5741270184516907, -0.3670073449611664, -0.5713324546813965, 0.3017387092113495, -0.4439103901386261, 0.08608709275722504, 0.08262047171592712, 0.33418920636177063, -0.1465337872505188, 0.656733512878418, 1.0274975299835205, -0.02560199797153473, 0.9158395528793335, -0.523654580116272, 0.06212640181183815, -0.849674642086029, -0.21762165427207947, -0.622373640537262, -0.1515660285949707, -0.3523840010166168, -0.495947927236557, 0.2032613456249237, -0.04877249523997307, -0.0746363028883934, 0.3769793212413788, -0.6828896999359131, 0.5479225516319275, 0.6756353378295898, -0.045982178300619125, 0.2756098210811615, 0.4864985942840576, -0.06760269403457642, -0.3166014552116394, -0.6922367811203003, -0.14583157002925873, 0.832865834236145, 0.2622472643852234, 0.936283528804779, -0.05822736397385597, 0.8818163871765137, -0.0644601359963417, 0.08187543600797653, -0.6806864142417908, 0.2604992687702179, 0.03232342749834061, -0.5446966290473938, -0.4755256175994873, -0.5212156772613525, -1.0359704494476318, 0.4212368428707123, -0.16054469347000122, -0.9710134863853455, 0.6885215640068054, 0.03313033655285835, -0.2920457124710083, 0.5481113791465759, -0.6867979168891907, 0.861579954624176, -0.37188655138015747, -0.49839702248573303, 0.23680903017520905, -0.40506383776664734, 0.2513255178928375, -0.3019396960735321, 0.28321969509124756, 0.20536665618419647, 0.423406183719635, 0.7801791429519653, -0.5113937854766846, 0.8412030339241028, -0.08722793310880661, -0.06621015071868896, 0.3512614071369171, 0.3490120768547058, 0.6432359218597412, -0.3304736018180847, -0.15512049198150635, 0.24496015906333923, -0.3827744722366333, -0.18797017633914948, -0.3705419600009918, 0.2754325866699219, -0.9877877235412598, -0.18821652233600616, -0.33875179290771484, -0.7300298810005188, -0.2148415893316269, 0.404233455657959, 0.6430506706237793, 0.6055200099945068, -0.17156897485256195, 0.2641623020172119, 1.1803072690963745, -0.2699340879917145, 0.2978682816028595, 0.518662691116333, -0.010214198380708694, -0.18363502621650696, 1.282794713973999, 0.24787865579128265, 0.3276093900203705, 0.6093846559524536, 0.1623222678899765, -0.16825000941753387, -0.5750187039375305, -0.18552473187446594, 0.026692504063248634, -0.6624849438667297, -0.1150098592042923, -0.9575714468955994, -0.6872807741165161, -0.1904352307319641, -0.36950400471687317, -0.8555475473403931, -0.21678394079208374, -0.44137173891067505, -0.3966154456138611, 0.14798937737941742, 0.4688900411128998, -0.3496628999710083, 0.3932821452617645, -0.3921937942504883, 0.506994366645813, 0.4829299747943878, 0.5045914649963379, -0.2349870204925537, -0.7229161262512207, -0.45698463916778564, -0.34451228380203247, -0.38617444038391113, -0.5163337588310242, 0.7280033826828003, 0.1820799857378006, 0.5636917948722839, 0.7203367948532104, 0.021472491323947906, 0.6921749114990234, -0.1672700196504593, 0.361066609621048, 0.040657125413417816, -0.5592060685157776, 0.6421066522598267, -0.3320600688457489, 0.3359753489494324, 0.6766317486763, 0.21228280663490295, -0.02719886414706707, -0.25149819254875183, -0.8494792580604553, -0.8319730162620544, 0.7628097534179688, 0.1222819834947586, -0.16202515363693237, 0.1646394431591034, 0.04376192018389702, 0.15580202639102936, 0.0897732749581337, -0.8071228265762329, 0.08281753212213516, -0.3347088396549225, -0.025441043078899384, 0.3403022885322571, -0.34491482377052307, 0.045790430158376694, -0.3361652195453644, 0.6087014675140381, -0.032274018973112106, 0.15280473232269287, 0.12094750255346298, -0.302651584148407, -0.20222724974155426, 0.13730762898921967, 0.3456375002861023, 0.549630343914032, -0.3793438971042633, 0.13453352451324463, -0.03684781491756439, -0.5919871926307678, 0.025195050984621048, 0.07353218644857407, -0.5479853749275208, 0.3258134722709656, 0.2278631627559662, 0.9463946223258972, 0.21146979928016663, -0.3881521224975586, 0.6256361603736877, -0.2913851737976074, -0.42679542303085327, -0.1786981076002121, 0.0008237339789047837, -0.0819411501288414, -0.07026074826717377, -0.2374877631664276, 0.2505960464477539, 0.15143316984176636, -0.009688588790595531, 0.18619205057621002, 0.45766621828079224, -0.7645345330238342, -0.3359590172767639, 0.6858528256416321, 0.19751882553100586, -0.39778995513916016, 0.6078630685806274, -0.505565345287323, -0.34505394101142883, 0.4522666037082672, 0.6568470001220703, 0.7978709936141968, -0.04321213811635971, 0.4463344216346741, 0.4272482395172119, 0.4761456847190857, -0.18799477815628052, 0.1643587350845337, -0.26270878314971924, -0.7746225595474243, -0.29547181725502014, -0.8758147954940796, -0.39176294207572937, 0.33869004249572754, -0.6094957590103149, 0.20424456894397736, -0.39653828740119934, 0.16092944145202637, -0.17080973088741302, 0.03472872078418732, -0.9719783067703247, 0.2554221749305725, 0.3105182945728302, 0.8359321355819702, -0.9111448526382446, 0.7279255390167236, 0.4037615954875946, -0.3248501718044281, -1.0227552652359009, -0.1943531334400177, 0.04094637930393219, -0.3597947359085083, 0.6377552151679993, 0.13515812158584595, 0.0773877501487732, -0.23048017919063568, -0.4817911386489868, -1.0643795728683472, 0.7681220173835754, 0.5079954266548157, -0.44470950961112976, 0.25446975231170654, 0.08774091303348541, 0.6711650490760803, -0.16485294699668884, 0.18457244336605072, 0.3058904707431793, 0.3836138844490051, 0.0573439747095108, -0.704506516456604, -0.23575368523597717, -0.34546035528182983, 0.061740580946207047, -0.17461521923542023, -0.6783674955368042, 0.6790843605995178, 0.03809240087866783, -0.17496980726718903, -0.16560205817222595, 0.8040691614151001, 0.0537705235183239, 0.07779373973608017, 0.553236722946167, 0.6300355792045593, 1.217482566833496, -0.030025238171219826, 1.2234947681427002, -0.12863565981388092, -0.1392950713634491, 1.3419485092163086, -0.03719841316342354, 0.46267595887184143, 0.2675102949142456, 0.14333607256412506, 0.43485891819000244, 0.5313498377799988, 0.017585737630724907, 0.6918796896934509, 0.13336068391799927, -0.04842574521899223, -0.46244320273399353, -0.16975907981395721, -0.33065876364707947, 0.5285098552703857, 0.3197736442089081, -0.3058532476425171, -0.17783328890800476, -0.16512040793895721, -0.10521102696657181, -0.030651621520519257, -0.04110473021864891, 1.1244287490844727, 0.019183622673153877, -0.41154584288597107, 0.4628649055957794, -0.22443532943725586, 0.6315881609916687, -0.6334002017974854, 0.24009883403778076, -0.27064764499664307, 0.1332029104232788, -0.2546437084674835, -0.2313171923160553, 0.2511591911315918, -0.08417639881372452, -0.21209381520748138, -0.43853962421417236, 0.8206973075866699, -0.3735511302947998, -0.7668361067771912, 0.024383751675486565, 0.6475412249565125, 0.27391356229782104, -0.1961071491241455, -0.3903447091579437, 0.16839690506458282, -0.08480450510978699, -0.24864979088306427, 0.612966001033783, 0.8645089864730835, -0.08695226907730103, 0.576250433921814, 0.7443405389785767, 0.44750910997390747, 0.2446766495704651, 0.18606184422969818, 0.8735440969467163, -0.0589272603392601, -0.7508192658424377, -0.4822307527065277, 0.4255676865577698, -0.36667701601982117, -0.27660396695137024, 0.6759198307991028, 0.8040516972541809, 0.8406035900115967, -0.042524758726358414, 0.7933269143104553, 0.3374910056591034, 0.27139800786972046, -0.3576146960258484, 0.700546383857727, -0.37076762318611145, 0.41444143652915955, -0.6410208940505981, -1.0326088666915894, -0.16176368296146393, 0.8501386642456055, -0.2632526755332947, -0.10495775938034058, 0.5316876769065857, 0.8767739534378052, -0.453896164894104, -0.09853284060955048, 0.3662091791629791, 0.1079045906662941, 0.4376715421676636, -0.04583193361759186, 0.6465542316436768, -0.39026132225990295, 0.9104315638542175, -0.650291919708252, 0.02130604162812233, -0.07588593661785126, -0.8284063935279846, -0.8690223097801208, -0.46525776386260986, -0.8748413920402527, -0.3255535066127777, -0.06601199507713318, 0.3639318346977234, 1.156911849975586, -0.6445017457008362, 0.00004085907494300045, -0.22607474029064178, 0.307389497756958, -0.4910763204097748, -0.2656806707382202, 0.67188560962677, -0.3425599932670593, -0.5969062447547913, 0.30739083886146545, 0.28779128193855286, 0.22893556952476501, -0.192533478140831, -0.04574268311262131, -0.08988400548696518, -0.027906006202101707, 0.2523743808269501, 0.46945714950561523, -0.1594090312719345, -0.15088579058647156, -0.3330937922000885, -0.25767335295677185, 0.3508549630641937, 0.3879896104335785, -0.6523126363754272, 0.8427708745002747, 0.5055556297302246, 0.7736027836799622, 0.717085599899292, 0.2487836629152298, 0.34809425473213196, -1.2254555225372314, 0.5026909708976746, -0.10397416353225708, 0.3910304605960846, 0.6300540566444397, -0.5607789754867554, 0.5703108310699463, 0.2944386601448059, -0.30678364634513855, -0.7725771069526672, -0.07891878485679626, -1.0711532831192017, -0.06722796708345413, 1.2174100875854492, -0.11212588101625443, -0.406726598739624, -0.38806864619255066, -0.27268534898757935, 0.14081712067127228, -0.38452398777008057, 0.9841992259025574, 0.4526853561401367, 0.16477027535438538, -0.23384220898151398, -0.37401723861694336, 0.6400439143180847, 0.1366220861673355, -0.8380092978477478, -0.01992977410554886, 0.40442898869514465, 0.09757101535797119, 0.5972240567207336, 0.852679431438446, -0.2663610279560089, 0.1841651350259781, 0.3596615493297577, 0.20139513909816742, -0.3473778963088989, -0.5101643800735474, -0.24471363425254822, 0.2503427267074585, -0.1523689478635788, -0.2532491385936737 ]
http://arxiv.org/abs/2404.00486v1
http://arxiv.org/pdf/2404.00486v1
Dialectical Alignment: Resolving the Tension of 3H and Security Threats of LLMs
2024-03-30T22:41:05
2024-03-30T22:41:05
Shu Yang, Jiayuan Su, Han Jiang, Mengdi Li, Keyuan Cheng, Muhammad Asif Ali, Lijie Hu, Di Wang
cs.CL
cs.CL, cs.AI
With the rise of large language models (LLMs), ensuring they embody the principles of being helpful, honest, and harmless (3H), known as Human Alignment, becomes crucial. While existing alignment methods like RLHF, DPO, etc., effectively fine-tune LLMs to match preferences in the preference dataset, they often lead LLMs to highly receptive human input and external evidence, even when this information is poisoned. This leads to a tendency for LLMs to be Adaptive Chameleons when external evidence conflicts with their parametric memory. This exacerbates the risk of LLM being attacked by external poisoned data, which poses a significant security risk to LLM system applications such as Retrieval-augmented generation (RAG). To address the challenge, we propose a novel framework: Dialectical Alignment (DA), which (1) utilizes AI feedback to identify optimal strategies for LLMs to navigate inter-context conflicts and context-memory conflicts with different external evidence in context window (i.e., different ratios of poisoned factual contexts); (2) constructs the SFT dataset as well as the preference dataset based on the AI feedback and strategies above; (3) uses the above datasets for LLM alignment to defense poisoned context attack while preserving the effectiveness of in-context knowledge editing. Our experiments show that the dialectical alignment model improves poisoned data attack defense by 20 and does not require any additional prompt engineering or prior declaration of ``you may be attacked`` to the LLMs' context window.
[ -0.23722606897354126, -0.7482970952987671, 0.535116970539093, -0.18154922127723694, -0.09671711176633835, 0.02906010113656521, -0.12751053273677826, -0.3798532485961914, 0.12934257090091705, 0.7256984114646912, -0.44798386096954346, -0.21188472211360931, -0.34508416056632996, 0.08474811911582947, -0.20096924901008606, 1.005299687385559, 0.17028848826885223, 0.10266348719596863, -0.020281754434108734, -0.13163138926029205, -0.7151095271110535, -0.5694499015808105, -0.343174546957016, -0.3467939496040344, 0.46645456552505493, 0.5700361132621765, 0.9715091586112976, 0.8948912024497986, 0.6555992364883423, 0.3596750497817993, 0.04970519244670868, -0.03492865711450577, -0.434438556432724, 0.5543486475944519, -0.5261774063110352, -0.47901469469070435, -0.6316779851913452, -0.16749490797519684, 0.2058664858341217, 0.4327313005924225, -0.33412471413612366, -0.10189195722341537, 0.18111294507980347, 0.9924084544181824, -0.5538323521614075, -0.2878895103931427, -1.1506919860839844, -0.16654513776302338, -0.6028088331222534, -0.07512664794921875, -0.3232618272304535, -0.23653943836688995, 0.2597406804561615, -0.619903564453125, -0.06856719404459, 0.26685649156570435, 0.8746461272239685, 0.30948731303215027, -0.38785216212272644, -0.05785570293664932, -0.3888917863368988, 0.4949716627597809, -0.7536081671714783, 0.23687398433685303, 0.154680997133255, 0.34848180413246155, -0.4432160556316376, -0.3493090569972992, -0.7343889474868774, 0.16252410411834717, 0.03958015888929367, 0.045884761959314346, -0.08082355558872223, 0.17867392301559448, 0.024407729506492615, -0.03898243606090546, -0.6183414459228516, 0.14631080627441406, -0.234117791056633, -0.27525490522384644, 0.5155912041664124, 0.4340539574623108, 0.3086194396018982, -0.19030989706516266, -0.49110597372055054, 0.05406389757990837, -0.9365875720977783, -0.3870450258255005, 0.48170384764671326, 0.5593869090080261, -0.10916529595851898, 0.5270829200744629, -0.05183018371462822, 0.8660314679145813, 0.38943353295326233, -0.043563831597566605, -0.1323501169681549, -0.2889528274536133, -0.021898122504353523, 0.3129565119743347, 0.8035641312599182, 0.8404021263122559, 0.22008314728736877, -0.1441013365983963, -0.10674325376749039, -0.01638898253440857, 0.6876447200775146, -0.6272017359733582, -0.12946034967899323, 0.38893651962280273, -0.16496498882770538, -0.5386098027229309, 0.09768117219209671, -1.14566969871521, -0.9479823112487793, -0.31982460618019104, 0.42333731055259705, -0.5908932089805603, -0.054006028920412064, 0.007062648888677359, 0.01093631237745285, 0.23942705988883972, 0.33072447776794434, -1.1016968488693237, 0.3315248489379883, 1.0842965841293335, 0.7667913436889648, -0.12006103992462158, -0.281052827835083, -0.3675103783607483, 0.47119569778442383, -0.3836449086666107, 0.4550175964832306, -0.4254276156425476, -0.15238860249519348, -0.01540539413690567, -0.2315288484096527, -0.0016425058711320162, -0.6412342190742493, 0.4107959270477295, -0.7319220304489136, 0.4010764956474304, -0.3622117340564728, -0.49808305501937866, -0.21389509737491608, 0.4126914143562317, -0.638821542263031, 0.7029510140419006, -0.020053237676620483, -1.0578422546386719, -0.016771910712122917, -0.1791919469833374, -0.2040589153766632, 0.011252978816628456, -0.21872732043266296, -0.46318620443344116, -0.056646376848220825, 0.15475746989250183, 0.2614222466945648, -0.36174535751342773, 0.39806127548217773, -0.5615397691726685, -0.29015377163887024, 0.4390876293182373, -0.11960095912218094, 0.8391268253326416, 0.3184736967086792, -0.5341441631317139, 0.13995279371738434, -0.5095838308334351, -0.22309255599975586, 0.15308864414691925, 0.045391593128442764, -0.3775944411754608, 0.2623762786388397, -0.3552040159702301, 0.06025701016187668, 0.40475568175315857, -0.3157019019126892, 0.18935473263263702, -0.5916697382926941, 0.2594113349914551, 1.1853312253952026, 0.1897278130054474, 0.5992943644523621, -0.7622816562652588, 0.47088760137557983, 0.14384788274765015, 0.11372996121644974, -0.07002019882202148, -0.2866435647010803, -0.5630999207496643, -0.06842010468244553, 0.14335739612579346, 0.7682281136512756, -0.6392733454704285, 0.6640118360519409, -0.5178117156028748, -0.30623602867126465, -0.48855793476104736, 0.2748654782772064, 0.22624260187149048, 0.9229877591133118, 0.22439727187156677, -0.28370004892349243, -0.5575760006904602, -0.9005661010742188, -0.38775312900543213, -0.4593867063522339, 0.10284199565649033, 0.231066033244133, 0.1612752377986908, -0.22595973312854767, 1.064117670059204, -0.33879324793815613, -0.12336844205856323, -0.017809592187404633, -0.2218414843082428, 0.1970924288034439, 0.4053058624267578, 0.40475988388061523, -0.5333418250083923, -0.4446623623371124, 0.1509190946817398, -0.7314082980155945, -0.47317302227020264, -0.1635410040616989, -0.37548014521598816, 0.17583373188972473, 0.34797853231430054, -0.3971203565597534, -0.06485427170991898, 0.311320424079895, -0.21524225175380707, 0.3779633641242981, 0.40588292479515076, 0.015075490809977055, -1.2853659391403198, 0.07023072987794876, -0.14317743480205536, -0.24212999641895294, -0.9888972043991089, 0.2536395788192749, 0.2445710450410843, -0.07914028316736221, -0.3671194016933441, 0.6551088690757751, -0.2909298241138458, 0.393449604511261, -0.16023696959018707, 0.33566468954086304, 0.04034176841378212, 0.3293394148349762, -0.07069139182567596, 0.6985461115837097, 0.34644028544425964, -0.3050435781478882, 0.42325615882873535, 0.12982192635536194, 0.011754763312637806, 1.0844331979751587, -0.37003594636917114, 0.3383522033691406, -0.013746310025453568, 0.10497933626174927, -0.6797340512275696, -0.4070764183998108, 0.6607019901275635, -0.310288667678833, 0.5003607869148254, -0.053654592484235764, -0.11210889369249344, 0.12022285908460617, -0.6776314377784729, 0.433315247297287, 0.18227513134479523, -0.525542676448822, 0.5882331132888794, 0.4082966148853302, -0.40363937616348267, -0.9416704773902893, -0.4844311773777008, 0.35507869720458984, -0.7760372161865234, -0.7079471349716187, 0.4426897168159485, 0.09974432736635208, -0.6797731518745422, -0.09297996014356613, -0.23408229649066925, 0.22967027127742767, 0.2063455581665039, 0.1985127180814743, 0.5842880010604858, -0.11727549880743027, -0.3224925994873047, -0.3606150448322296, 0.00617692805826664, 0.10420281440019608, -0.19431954622268677, 0.31925633549690247, 0.030094368383288383, -0.3349283039569855, -0.40600576996803284, 0.3615362346172333, 0.5606580972671509, 0.19632455706596375, 0.5968269109725952, 0.0700531005859375, -0.34883686900138855, -0.01090758666396141, -0.6457902789115906, -0.28279349207878113, -0.5459855794906616, 0.2804403305053711, -0.10355708003044128, -0.7125047445297241, 0.45720723271369934, 0.09961447864770889, -0.03325030952692032, 0.13004666566848755, 0.5339028239250183, -0.18020105361938477, 0.6887714862823486, 0.3744576573371887, -0.6375129222869873, 0.493849515914917, 0.4307466149330139, 0.2830975651741028, -0.9384425282478333, -0.10939125716686249, -0.43489503860473633, -0.31787338852882385, -0.536550760269165, -0.10623709857463837, 0.6215813755989075, 0.13697464764118195, -0.5397065877914429, 0.35368233919143677, -0.5762150883674622, 0.48792681097984314, 0.27664297819137573, 0.26652926206588745, 0.014684845693409443, -0.10366874188184738, -0.1104663759469986, -0.19481602311134338, -0.5649674534797668, -0.6005189418792725, 1.1628954410552979, 0.46170133352279663, 0.8709482550621033, 0.6588932871818542, 0.8452646732330322, 0.2194642722606659, 0.2193892002105713, -0.599652111530304, 0.6260268092155457, 0.3701930642127991, -0.675094723701477, -0.10756109654903412, -0.3794901669025421, -0.9881267547607422, 0.23071050643920898, -0.13769912719726562, -0.9872923493385315, 0.1319005787372589, 0.13937389850616455, -0.44745537638664246, 0.1297769397497177, -0.5764213800430298, 0.7232427000999451, -0.47876113653182983, -0.6530476212501526, -0.02350296452641487, -1.001831293106079, 0.5950402021408081, -0.3205488622188568, 0.18749122321605682, -0.10895120352506638, -0.23640652000904083, 0.5700814723968506, -0.5733044743537903, 1.0344719886779785, -0.11853744834661484, -0.16995234787464142, 0.02025611698627472, 0.3926677405834198, 0.6429058909416199, -0.0898185446858406, -0.19601988792419434, 0.13574160635471344, -0.02308354154229164, -0.28648948669433594, -0.5952134132385254, 0.5952938795089722, -0.6783372759819031, -1.1842254400253296, -0.6671130061149597, -0.41822466254234314, -0.3059921860694885, 0.20114801824092865, 0.24243943393230438, 0.02955491654574871, -0.31166160106658936, -0.06766805797815323, 0.7338107228279114, -0.004048739559948444, 0.2620326578617096, 0.5020447373390198, -0.056386325508356094, -0.7553117275238037, 0.9641610383987427, -0.08023811131715775, 0.3884461224079132, 0.34581056237220764, 0.22055193781852722, -0.21404698491096497, -0.45690351724624634, -0.5292826294898987, 0.17279963195323944, -0.6348693370819092, -0.6834380626678467, -0.33769407868385315, -0.1470097154378891, -0.5358095765113831, -0.380146861076355, -0.14125779271125793, -0.3873884975910187, -0.20512454211711884, 0.14482879638671875, 0.3687494099140167, 0.5437447428703308, -0.028468381613492966, 0.4263063073158264, -0.6710708737373352, 0.1775582730770111, 0.2244834154844284, -0.007604117970913649, -0.17249926924705505, -0.6378060579299927, -0.09476720541715622, -0.10200025141239166, -0.6595548391342163, -1.5763403177261353, 0.2300332635641098, -0.01879124343395233, 0.3138413727283478, 0.6175280213356018, 0.13009034097194672, 0.5933720469474792, -0.5138207077980042, 0.8855223059654236, 0.10052963346242905, -1.038845419883728, 0.41720643639564514, -0.6833360195159912, -0.02213164046406746, 0.7027593851089478, 0.24559976160526276, -0.7692536115646362, -0.26132017374038696, -0.5096310973167419, -0.9446301460266113, 0.6730756759643555, -0.035736922174692154, -0.006965502630919218, 0.09321679174900055, 0.4972206950187683, -0.09093232452869415, 0.173089861869812, -0.7672267556190491, -0.07692578434944153, -0.22135592997074127, -0.5846422910690308, 0.37849345803260803, -0.18316136300563812, -0.7115556001663208, -0.01393167581409216, 0.8265150785446167, -0.20724806189537048, 0.091920867562294, -0.037025388330221176, 0.09492543339729309, -0.088279590010643, 0.39963439106941223, 0.46059292554855347, 0.3159591853618622, -0.13375899195671082, 0.39146438241004944, 0.19412226974964142, -0.35389772057533264, 0.4832649528980255, 0.11365896463394165, -0.2343737781047821, -0.435346782207489, 0.4587511122226715, 0.26217377185821533, 0.0296871829777956, -0.546305239200592, 0.6541764140129089, 0.13307811319828033, 0.18955300748348236, -0.06260249763727188, 0.21530850231647491, 0.023760326206684113, 0.16165122389793396, -0.013075795955955982, -0.0730910673737526, -0.007253400515764952, -0.48421117663383484, 0.21653297543525696, 0.7388787269592285, -0.15657590329647064, -0.29732128977775574, 0.6330094337463379, 0.24946485459804535, -0.3133466839790344, 0.49824368953704834, 0.12673504650592804, -0.8347794413566589, 0.29704996943473816, 0.5713236331939697, 0.8930427432060242, -0.5316632390022278, -0.14283905923366547, 0.13751652836799622, 0.37946927547454834, -0.03352712094783783, 0.14478667080402374, -0.0524471290409565, -1.0574841499328613, 0.2345518320798874, -0.3069743812084198, -0.5624971985816956, 0.1350882351398468, -0.6624615788459778, 0.2646936774253845, -0.5469800233840942, -0.13016384840011597, -0.18996992707252502, -0.05050170049071312, -0.1068718358874321, -0.15756824612617493, 0.048636455088853836, 0.6470993757247925, -0.6887791752815247, 0.8843043446540833, 0.3160386383533478, -0.1631494015455246, -0.5407869815826416, 0.3135249614715576, 0.8377555012702942, -0.79148268699646, 0.16095195710659027, 0.08394884318113327, -0.1514204740524292, -0.39648640155792236, -0.44121313095092773, -0.8359431028366089, 0.8959622383117676, 0.6479596495628357, -0.7472336292266846, 0.12691636383533478, 0.27549469470977783, 0.3929688632488251, -0.2318614274263382, -0.1359766572713852, 0.7776316404342651, 0.5494381189346313, -0.17752595245838165, -0.6696159243583679, 0.3255821466445923, -0.3050103783607483, -0.09126032888889313, 0.3384683430194855, -0.7758042812347412, 0.42001134157180786, -0.0486215204000473, -0.25536659359931946, 0.10843373090028763, 0.49217483401298523, 0.3359392285346985, 0.21346750855445862, 0.45541462302207947, 0.7003869414329529, 0.7784780859947205, -0.06312970817089081, 0.629385769367218, -0.5290044546127319, -0.3115023970603943, 1.287203311920166, -0.7611945867538452, 0.7048559188842773, 0.600460946559906, -0.00018587311205919832, 0.45033326745033264, 0.7418026924133301, 0.07608901709318161, 0.4634598195552826, 0.1603657454252243, -0.39843958616256714, 0.2135755568742752, -0.035158682614564896, -0.4139719009399414, 0.26992055773735046, 0.4316704571247101, -0.09188519418239594, 0.0012592073762789369, -0.5074195861816406, 0.40409666299819946, 0.3334035277366638, 0.18757572770118713, 1.0526092052459717, -0.08645962923765182, -0.9634170532226562, 0.5396286249160767, 0.05091143772006035, 0.5449233055114746, -0.504002034664154, 0.2963143289089203, -0.28125879168510437, 0.07308927923440933, -0.29256996512413025, -0.6894831657409668, 0.39516085386276245, 0.02707860618829727, -0.11946137994527817, 0.010380499064922333, 0.5250957012176514, -0.4363120198249817, 0.025831378996372223, 0.26647353172302246, 0.2679974138736725, -0.259418785572052, 0.042765673249959946, -0.80450040102005, 0.22888265550136566, 0.05325959622859955, -0.19709455966949463, 0.46640685200691223, 0.4971161484718323, -0.07166562229394913, 0.4229932725429535, 0.3836022913455963, 0.3445468842983246, -0.08870159089565277, -0.185304194688797, 0.9927994608879089, -0.7055058479309082, -0.32906684279441833, -1.2457548379898071, 0.20038899779319763, -0.2630951404571533, -0.0046793995425105095, 0.7849973440170288, 0.5041245222091675, 0.6298967003822327, 0.47370925545692444, 0.7438552379608154, 0.061777856200933456, 0.32823511958122253, -0.6537035703659058, 0.5069547295570374, -0.3210562765598297, 0.6058160066604614, -0.35434049367904663, -0.735866129398346, -0.2458433210849762, 0.3820386528968811, -0.1630282998085022, -0.13592323660850525, 0.6248412132263184, 1.2832359075546265, 0.0738164559006691, 0.15236294269561768, -0.07262241840362549, 0.23477129638195038, 0.34386396408081055, 0.5727235078811646, 0.8101571202278137, -0.18582062423229218, 0.19113102555274963, -0.2273138463497162, -0.2353551834821701, -0.07100298255681992, -0.948059618473053, -0.6730465292930603, -0.6100649833679199, -0.07152577489614487, -0.614212691783905, 0.1831466555595398, 0.9993016123771667, 0.5866814255714417, -0.6413145065307617, -0.34013092517852783, 0.01701309345662594, 0.22679544985294342, -0.22700098156929016, -0.25896549224853516, 0.13852491974830627, -0.27154025435447693, -0.46114984154701233, 0.5332362055778503, 0.3712144196033478, 0.1364338994026184, -0.1475117802619934, -0.1577761471271515, -0.03412313386797905, 0.3274143934249878, 0.04048096388578415, 0.36687564849853516, -0.8443969488143921, -0.4193284511566162, -0.243886798620224, -0.3309406340122223, 0.10338207334280014, 0.7105412483215332, -0.41880014538764954, 0.6342144012451172, 0.5233598947525024, 0.8907472491264343, -0.1360221952199936, 0.40492552518844604, 0.9148843288421631, -0.7319914698600769, 0.12124248594045639, 0.2535928785800934, 0.420806348323822, 0.4698275923728943, -0.7759330868721008, 0.5218461751937866, 0.2569165825843811, -0.6872002482414246, -0.8721237182617188, 0.3463112711906433, -0.9502488970756531, -0.39093488454818726, 1.0192996263504028, 0.14277417957782745, -0.3014574646949768, -0.21388986706733704, -0.24959751963615417, 0.06359325349330902, -0.36400747299194336, 1.157788634300232, 0.8171841502189636, -0.23554207384586334, 0.1966601014137268, -0.23516424000263214, 0.6891281008720398, 0.6292433738708496, -0.7829617261886597, 0.3997752070426941, 0.6511340141296387, 0.18693050742149353, 0.12160592526197433, 0.5268594622612, -0.19044707715511322, 0.14441075921058655, -0.18580840528011322, -0.09140289574861526, 0.19407959282398224, -0.35909754037857056, -0.6511969566345215, 0.22834184765815735, 0.0762995108962059, -0.039597660303115845 ]
http://arxiv.org/abs/2404.00484v1
http://arxiv.org/pdf/2404.00484v1
Edinburgh Clinical NLP at SemEval-2024 Task 2: Fine-tune your model unless you have access to GPT-4
2024-03-30T22:27:21
2024-03-30T22:27:21
Aryo Pradipta Gema, Giwon Hong, Pasquale Minervini, Luke Daines, Beatrice Alex
cs.CL
cs.CL
The NLI4CT task assesses Natural Language Inference systems in predicting whether hypotheses entail or contradict evidence from Clinical Trial Reports. In this study, we evaluate various Large Language Models (LLMs) with multiple strategies, including Chain-of-Thought, In-Context Learning, and Parameter-Efficient Fine-Tuning (PEFT). We propose a PEFT method to improve the consistency of LLMs by merging adapters that were fine-tuned separately using triplet and language modelling objectives. We found that merging the two PEFT adapters improves the F1 score (+0.0346) and consistency (+0.152) of the LLMs. However, our novel methods did not produce more accurate results than GPT-4 in terms of faithfulness and consistency. Averaging the three metrics, GPT-4 ranks joint-first in the competition with 0.8328. Finally, our contamination analysis with GPT-4 indicates that there was no test data leakage.
[ -0.03451170772314072, -0.6233394742012024, 0.8477581739425659, 0.11060787737369537, -0.19941382110118866, -0.04611573368310928, -0.2961549162864685, -0.5273932814598083, 0.04334414377808571, 0.6814641356468201, -0.16832490265369415, -0.36547622084617615, -0.8110822439193726, 0.3687378466129303, -0.1846148669719696, 1.0497397184371948, -0.37914928793907166, 0.3196054995059967, 0.18196724355220795, -0.25655031204223633, -0.5822794437408447, -0.36563244462013245, -0.7563061118125916, -0.41527822613716125, 0.4737330675125122, 0.4299316704273224, 0.6425582766532898, 0.39953845739364624, 0.8985419869422913, 0.20541797578334808, -0.19240635633468628, 0.25112831592559814, -0.3729553818702698, -0.008985101245343685, -0.3937629163265228, -0.3858516216278076, -0.7964630722999573, -0.005228884518146515, 0.41360780596733093, 0.7683765292167664, -0.3197927176952362, -0.22132523357868195, 0.3365830183029175, 0.4653778076171875, -0.48496466875076294, 0.1609288454055786, -0.6425579786300659, -0.06301360577344894, -0.15504190325737, -0.28890055418014526, -0.23872904479503632, -0.24466398358345032, 0.27664679288864136, -0.4856465756893158, 0.22243475914001465, 0.10406594723463058, 0.960155189037323, 0.25840452313423157, -0.49501174688339233, -0.328807532787323, -0.4713885188102722, 0.7057428359985352, -1.1696139574050903, 0.2625087797641754, 0.6852654218673706, 0.002833453705534339, -0.21278901398181915, -0.7697679996490479, -0.37976863980293274, -0.12375843524932861, -0.12606088817119598, 0.05102052167057991, -0.0012504354817792773, 0.385312557220459, 0.20354223251342773, 0.19754131138324738, -0.4945274293422699, 0.05585068464279175, -0.44811123609542847, -0.2661777138710022, 0.48691725730895996, 0.0830363929271698, 0.15798039734363556, 0.020658014342188835, -0.24192018806934357, 0.15290673077106476, -0.9115949869155884, -0.32810771465301514, 0.12345322221517563, 0.2856357991695404, 0.02305150218307972, 0.5453816056251526, 0.017742890864610672, 0.5289120078086853, 0.23577800393104553, -0.14295172691345215, 0.4357660710811615, -0.6607535481452942, -0.24285779893398285, -0.08314286172389984, 0.874657928943634, 0.4902380406856537, 0.07855572551488876, -0.19352637231349945, -0.17326954007148743, -0.00018124478810932487, 0.3166387677192688, -0.5206576585769653, -0.46673086285591125, 0.23962785303592682, -0.2633802592754364, -0.3471643924713135, -0.33847156167030334, -0.45903727412223816, -0.0008837395580485463, -0.3595430850982666, 0.7960728406906128, -0.6686460971832275, -0.13482140004634857, 0.40708422660827637, -0.013780433684587479, 0.03822588920593262, 0.3850933611392975, -1.0633621215820312, 0.41523510217666626, 0.6633504033088684, 0.6612548828125, -0.2805441915988922, -0.4026837646961212, -0.586599588394165, 0.20989656448364258, -0.38445281982421875, 0.7656887769699097, -0.3977927565574646, -0.16046561300754547, -0.12760576605796814, 0.3030521869659424, -0.25126221776008606, -0.476048082113266, 1.003771424293518, -0.15867674350738525, 0.5276494026184082, -0.47567203640937805, -0.7398996353149414, -0.017634738236665726, 0.3589017689228058, -0.41304850578308105, 0.82640141248703, 0.1439037024974823, -0.75422203540802, 0.5472020506858826, -0.5805062055587769, -0.37025776505470276, 0.20803135633468628, -0.2690590023994446, -0.4651390314102173, 0.0926160141825676, 0.46445098519325256, 0.48450878262519836, 0.004397942218929529, 0.6000211834907532, -0.47826576232910156, -0.3137803375720978, -0.19974102079868317, -0.3328465223312378, 0.35567429661750793, 0.07110622525215149, -0.46943774819374084, -0.11399032175540924, -0.5750352740287781, 0.005132966209203005, -0.1178039088845253, -0.4091077744960785, -0.22274255752563477, -0.17510907351970673, -0.08603549748659134, 0.11742497980594635, 0.16650645434856415, -0.5359140038490295, 0.21556217968463898, -0.6462550759315491, 0.6873549222946167, 0.5687283873558044, 0.10601553320884705, 0.1472010761499405, -0.4972166121006012, 0.4256199300289154, 0.009000609628856182, 0.09048952162265778, 0.02996021881699562, -0.6398761868476868, -0.5591537356376648, -0.02533121034502983, 0.5900681018829346, 0.1973414272069931, -0.7676296830177307, 0.339973509311676, -0.15688036382198334, -0.23204287886619568, -0.4240368902683258, 0.013281113468110561, 0.43542563915252686, 0.44901639223098755, 0.503131091594696, -0.2801996171474457, -0.39470091462135315, -1.021360993385315, -0.5167680382728577, -0.06731318682432175, -0.04839833080768585, 0.23309017717838287, 0.6480712890625, -0.3484461307525635, 0.5118051767349243, -0.06576801091432571, -0.2993198335170746, -0.07915337383747101, 0.23488613963127136, 0.24145899713039398, 0.5277547240257263, 0.3379589319229126, -0.4525439143180847, -0.4704529345035553, 0.07511496543884277, -0.5582579970359802, -0.23801007866859436, 0.12162469327449799, 0.07360593229532242, 0.11020869016647339, 0.3692135214805603, -0.25229746103286743, 0.32365351915359497, 0.7505083084106445, -0.4139220118522644, 0.3172243535518646, -0.5152028203010559, 0.37739646434783936, -0.824224054813385, -0.07726505398750305, -0.14465579390525818, -0.43823546171188354, -0.6109557747840881, -0.004371298477053642, 0.29092028737068176, 0.17448511719703674, -0.25270572304725647, 0.34151169657707214, -0.31106287240982056, 0.35210758447647095, -0.2577582895755768, 0.028221623972058296, 0.1888245791196823, 0.3084999620914459, -0.08337177336215973, 0.6720606088638306, 0.34600019454956055, -0.2712908983230591, -0.18799100816249847, 0.3736461102962494, -0.0009000154095701873, 0.20437252521514893, -0.6715995073318481, 0.17991633713245392, 0.20722216367721558, 0.11435724794864655, -0.9909803867340088, -0.33911728858947754, -0.11381977051496506, -0.17140434682369232, 0.36655235290527344, 0.019187532365322113, -0.3587821424007416, -0.20990292727947235, -0.2452118694782257, 0.37795552611351013, 0.265511691570282, -0.4611237943172455, 0.5370874404907227, 0.32799386978149414, -0.40825068950653076, -0.38711878657341003, -0.6746722459793091, 0.14041781425476074, -0.27039751410484314, -0.5760682225227356, 0.5709613561630249, -0.013074683956801891, 0.05622759833931923, -0.19381991028785706, -0.19971734285354614, -0.013248867355287075, -0.1498667299747467, -0.010307160206139088, 0.058533500880002975, -0.24037495255470276, 0.03517764434218407, 0.25963613390922546, 0.08721043169498444, 0.03213569149374962, 0.03080815076828003, 0.38762059807777405, -0.3200101852416992, -0.43526721000671387, -0.6280161142349243, 0.17816844582557678, 0.5408068299293518, 0.1299004852771759, 0.5067015886306763, 0.3124348521232605, -0.47509798407554626, 0.11949414759874344, -0.7668898105621338, -0.21112515032291412, -0.4670845568180084, 0.07583615928888321, -0.3805897831916809, -1.092266321182251, 0.28610679507255554, -0.13609327375888824, 0.036619167774915695, 0.5725619196891785, 0.578525960445404, -0.14669311046600342, 0.9725537300109863, 0.4600816071033478, 0.2508407533168793, 0.09541746228933334, 0.029165787622332573, 0.3951409161090851, -0.8907473087310791, 0.007664460223168135, -0.33067816495895386, -0.09248501062393188, -0.5647498965263367, -0.2517828047275543, 0.5328351855278015, 0.18732444941997528, -0.24678929150104523, 0.4047960937023163, -0.4532770812511444, 0.43746569752693176, 0.28855547308921814, 0.30258846282958984, 0.3296692967414856, -0.18194125592708588, -0.3503674864768982, -0.20877531170845032, -0.7535247206687927, -0.5296992063522339, 1.4642901420593262, 0.47790345549583435, 0.4171050190925598, 0.22765883803367615, 0.7204880714416504, -0.11096243560314178, 0.20767082273960114, -0.35993215441703796, 0.2359173595905304, -0.1444558948278427, -0.6213299632072449, -0.2294292151927948, -0.26215559244155884, -0.9513096213340759, 0.19167418777942657, -0.14982496201992035, -0.6751294136047363, 0.12439769506454468, 0.15723612904548645, -0.6278404593467712, 0.04497966542840004, -0.7327815294265747, 0.7265841364860535, -0.27271878719329834, -0.4937206208705902, 0.02957141399383545, -0.6265212893486023, 0.3984624445438385, -0.48798543214797974, 0.20037789642810822, -0.2350652813911438, -0.08479417115449905, 0.6644241809844971, -0.4246383607387543, 0.569905161857605, 0.10297536849975586, -0.1489723175764084, -0.133671835064888, -0.034177325665950775, 0.6090651750564575, 0.1300797462463379, -0.09386590868234634, 0.29861563444137573, 0.6150332093238831, -0.4068969786167145, -0.4083610773086548, 0.6147726774215698, -0.6987262964248657, -0.45304208993911743, -0.4455435276031494, -0.31076478958129883, -0.46044206619262695, 0.2906763255596161, 0.4272347688674927, 0.49346867203712463, -0.16882026195526123, 0.2283017933368683, 0.41616958379745483, -0.3002704977989197, 0.1694084256887436, 0.5891274809837341, 0.0009244015673175454, -0.3595815598964691, 0.3311830461025238, -0.10833580046892166, 0.5574968457221985, 0.24032358825206757, 0.3979414403438568, -0.3701772391796112, -1.0298938751220703, 0.003274190239608288, 0.41951069235801697, -0.5764548182487488, -0.14633186161518097, -0.630192220211029, -0.2152097374200821, -0.6095154881477356, -0.07432093471288681, -0.43203872442245483, -0.2377854734659195, -0.06420551985502243, 0.03836315870285034, 0.23777027428150177, 0.7665725350379944, -0.14190152287483215, 0.38792747259140015, -0.721462607383728, 0.2271149456501007, -0.07776497304439545, 0.4210342466831207, -0.5938183665275574, -0.7702304720878601, -0.043585650622844696, -0.035923704504966736, -0.47574156522750854, -0.6605959534645081, 0.553744375705719, 0.21102005243301392, 0.3524028956890106, 0.3290134072303772, -0.2884562313556671, 0.8234459161758423, -0.776915967464447, 0.7481827139854431, 0.37592512369155884, -0.9157845973968506, 0.636064350605011, -0.772112250328064, 0.26032793521881104, 0.9058944582939148, 0.23340223729610443, -0.24865801632404327, -0.5553036332130432, -0.8797041773796082, -0.8618648648262024, 0.4988177716732025, 0.4961172044277191, -0.3360816240310669, -0.08646244555711746, 0.5507497787475586, 0.08000117540359497, 0.1265336573123932, -0.613207221031189, 0.139047309756279, 0.2915644645690918, -0.3240315616130829, -0.16689640283584595, -0.3819347620010376, -0.3949069678783417, -0.44578397274017334, 0.724670946598053, -0.24669618904590607, 0.21749788522720337, 0.35354605317115784, 0.2866556942462921, -0.19525209069252014, 0.32263821363449097, 0.5248925685882568, 1.006341814994812, -0.3842657804489136, 0.14276345074176788, 0.47555965185165405, -0.6280117034912109, 0.021526223048567772, 0.14722123742103577, 0.1778257042169571, 0.022564087063074112, 0.6207844614982605, 0.6389511823654175, 0.3881254196166992, -0.5713605880737305, 0.6688634753227234, -0.4319136142730713, -0.6523966193199158, -0.3205590546131134, 0.14406803250312805, 0.03303518518805504, 0.1252109408378601, -0.15441173315048218, 0.3268967568874359, 0.28108346462249756, -0.45713064074516296, 0.37584084272384644, 0.24297218024730682, -0.40586093068122864, -0.37092897295951843, 0.6837116479873657, 0.1459936946630478, -0.2197096049785614, 0.23048104345798492, 0.019257280975580215, -0.3993411362171173, 0.2875974178314209, 0.47682076692581177, 0.5334378480911255, -0.20791450142860413, -0.22954493761062622, 0.34809041023254395, 0.36659562587738037, -0.5553568005561829, 0.48820534348487854, 0.4493507444858551, -0.8634317517280579, -0.7142667770385742, -0.5019063949584961, -0.5637985467910767, 0.4916672706604004, -0.6811373829841614, 0.4665323793888092, -0.26971903443336487, -0.13940607011318207, 0.2638237178325653, 0.013025648891925812, -0.6777905225753784, 0.12547987699508667, 0.001523033482953906, 0.705166757106781, -0.6696270704269409, 1.06612229347229, 0.532390296459198, -0.13193769752979279, -1.2273825407028198, -0.03688912093639374, 0.12538178265094757, -0.6495058536529541, 0.26399457454681396, 0.013226797804236412, 0.07555754482746124, -0.10250168293714523, -0.45492950081825256, -1.0073174238204956, 1.08322274684906, 0.33946433663368225, -0.9734687209129333, -0.22586342692375183, 0.0010004956275224686, 0.49299660325050354, -0.224239319562912, 0.3163408041000366, 1.0203278064727783, 0.39190998673439026, 0.05152994021773338, -1.4752391576766968, -0.01064523495733738, -0.05636359006166458, -0.27886104583740234, 0.3792584240436554, -0.3365376591682434, 0.6476136445999146, -0.0888875424861908, 0.007217833306640387, 0.25432267785072327, 0.11046689748764038, 0.39463019371032715, 0.19774170219898224, 0.4368347227573395, 0.6731975674629211, 1.0115286111831665, -0.2094479501247406, 0.8732373118400574, -0.4512365758419037, 0.5382866859436035, 1.2528632879257202, -0.6324825286865234, 0.8242936730384827, 0.5067605972290039, -0.3174276351928711, 0.13905400037765503, 0.45585930347442627, 0.10839235037565231, 0.5911628603935242, -0.1458398848772049, -0.12374181300401688, -0.11671006679534912, 0.3190397024154663, -0.409492552280426, 0.4488820433616638, 0.442495197057724, -0.4189915060997009, -0.0891374871134758, 0.003923697397112846, 0.01377546414732933, -0.08501436561346054, 0.05888330191373825, 0.874253511428833, 0.12068255990743637, -0.9343442320823669, 0.7692559957504272, -0.030656687915325165, 0.519284725189209, -0.5499475598335266, -0.027830103412270546, -0.1472286581993103, 0.521602988243103, -0.23264054954051971, -0.6684178113937378, 0.4701208174228668, -0.18095223605632782, 0.25653812289237976, -0.19297298789024353, 0.5632482171058655, -0.4334626793861389, -0.4009227156639099, 0.3025050759315491, 0.34461092948913574, 0.1977922022342682, 0.019495420157909393, -0.7335978150367737, -0.020426778122782707, 0.23797756433486938, -0.11971122026443481, 0.35734254121780396, 0.5856353044509888, 0.14280056953430176, 0.3455237150192261, 0.5549765825271606, 0.37629061937332153, -0.3197588622570038, 0.16372154653072357, 0.7788269519805908, -0.6563370823860168, -0.2445300668478012, -0.8671824336051941, 0.14986108243465424, 0.008223876357078552, -0.575554370880127, 0.6105043888092041, 0.47883814573287964, 0.44566428661346436, 0.3762393891811371, 0.6722287535667419, 0.2837158441543579, 0.8074893951416016, -0.6543158292770386, 0.37841227650642395, -0.517470121383667, 0.488335520029068, -0.3563891351222992, -0.6403846740722656, -0.5076239109039307, 0.4469018876552582, -0.4946012496948242, -0.12545649707317352, 1.1632492542266846, 0.6845324039459229, -0.18230679631233215, 0.5169771313667297, 0.4463687837123871, 0.3409610390663147, 0.5613242387771606, 0.684695303440094, 0.5988720655441284, -0.6143320202827454, 0.14986450970172882, -0.08810894191265106, -0.3989984095096588, 0.0030351176392287016, -0.9471246600151062, -0.8193536400794983, -0.3012552261352539, -0.318075954914093, -0.4429762363433838, 0.3263930380344391, 0.7910544276237488, 0.6778243184089661, -0.8956858515739441, 0.12435658276081085, -0.3425566852092743, -0.44451940059661865, -0.18707041442394257, -0.11801639199256897, 0.4598965644836426, -0.47933924198150635, -0.5014119744300842, 0.5181745290756226, 0.4539044499397278, -0.18447810411453247, 0.06912584602832794, -0.027490030974149704, -0.24016845226287842, -0.07653583586215973, 0.4920332133769989, -0.20771723985671997, -0.8557415008544922, -0.42984700202941895, -0.16722503304481506, 0.0389467217028141, 0.29536378383636475, 0.557718813419342, -0.5093054175376892, 0.413788765668869, 0.34069961309432983, 0.6249613165855408, 0.5487344861030579, -0.0024046471808105707, 0.9230266213417053, -0.43978145718574524, -0.11769386380910873, 0.5965209603309631, 0.7028018832206726, 0.2576383054256439, -0.35508766770362854, 0.7338992953300476, 0.06226135790348053, -1.1078486442565918, -0.7026348114013672, -0.01533548254519701, -0.9423646926879883, -0.25510960817337036, 1.312366008758545, -0.04203151538968086, 0.02541162632405758, -0.3528610169887543, -0.24305149912834167, -0.040585365146398544, -0.24558573961257935, 0.5316118001937866, 0.9142935872077942, -0.3075856566429138, -0.07463464140892029, -0.8749886155128479, 0.7339416146278381, 0.6231235861778259, -0.6409427523612976, -0.16263775527477264, 0.20292754471302032, 0.5855014324188232, 0.06985896825790405, 0.892682671546936, -0.3260413408279419, 0.06276499480009079, -0.33184120059013367, -0.19273057579994202, 0.4291849434375763, -0.1657688021659851, -0.6192507743835449, 0.04239511862397194, 0.15531593561172485, 0.18628425896167755 ]
http://arxiv.org/abs/2404.00482v2
http://arxiv.org/pdf/2404.00482v2
Cross-lingual Named Entity Corpus for Slavic Languages
2024-03-30T22:20:08
2024-04-07T16:56:35
Jakub Piskorski, Michał Marcińczuk, Roman Yangarber
cs.CL
cs.CL, cs.AI, cs.LG
This paper presents a corpus manually annotated with named entities for six Slavic languages - Bulgarian, Czech, Polish, Slovenian, Russian, and Ukrainian. This work is the result of a series of shared tasks, conducted in 2017-2023 as a part of the Workshops on Slavic Natural Language Processing. The corpus consists of 5 017 documents on seven topics. The documents are annotated with five classes of named entities. Each entity is described by a category, a lemma, and a unique cross-lingual identifier. We provide two train-tune dataset splits - single topic out and cross topics. For each split, we set benchmarks using a transformer-based neural network architecture with the pre-trained multilingual models - XLM-RoBERTa-large for named entity mention recognition and categorization, and mT5-large for named entity lemmatization and linking.
[ -0.5174062848091125, -0.20504987239837646, 0.3691810965538025, 0.33844438195228577, -0.4038359224796295, 0.33837345242500305, -0.4001864492893219, -0.679810643196106, 0.6294376254081726, 0.6323071122169495, -0.4522055387496948, -0.6237287521362305, -0.35670530796051025, 0.5053374767303467, -0.28066113591194153, 0.9154144525527954, 0.0029519079253077507, 0.703382134437561, 0.07910025119781494, -0.04014002904295921, -0.3493089973926544, -0.4842718839645386, -0.25147032737731934, -0.04233422502875328, 0.7055310010910034, 0.303134948015213, 0.21091417968273163, 0.3783705532550812, 0.36699968576431274, 0.3245895206928253, 0.13303974270820618, -0.012913204729557037, -0.041386984288692474, 0.1564207822084427, -0.4042481780052185, -0.5428008437156677, -0.4714938700199127, -0.27782803773880005, 0.8532685041427612, 0.7664146423339844, 0.2276475876569748, 0.2690833806991577, -0.35641852021217346, 0.2985803782939911, -0.28895169496536255, 0.1318928599357605, -0.8960500955581665, 0.036860961467027664, -0.49033358693122864, 0.0825377106666565, -0.5528976917266846, 0.06273820251226425, 0.13994164764881134, -0.6673246622085571, 0.06385737657546997, 0.19171343743801117, 0.7332707047462463, -0.009130069054663181, -0.2889719307422638, -0.32676541805267334, -0.4544864594936371, 0.9005618691444397, -0.15895025432109833, 0.7823910117149353, 0.3194493353366852, 0.015267104841768742, 0.15475474298000336, -0.6450126767158508, -0.06780557334423065, 0.06078874692320824, -0.09846430271863937, -0.07593900710344315, -0.13553358614444733, -0.16056114435195923, 0.03980720788240433, -0.05105552822351456, -0.5219240784645081, -0.0298458281904459, -0.6037059426307678, -0.39761805534362793, 0.6033943891525269, -0.01482847798615694, 0.38635721802711487, -0.1271141767501831, -0.38112515211105347, 0.414034366607666, -0.5576040148735046, -0.3574417531490326, 0.7232137322425842, 0.6314745545387268, 0.1417350023984909, 0.6141348481178284, -0.23955701291561127, 0.6318605542182922, 0.21606877446174622, -0.20605060458183289, 0.5588086247444153, -0.6008673906326294, -0.27348029613494873, 0.5737078785896301, 0.6304583549499512, 0.028095537796616554, 0.3977261781692505, -0.7536440491676331, 0.04131156578660011, -0.11669577658176422, 0.2593759298324585, -0.49772337079048157, -0.3225759267807007, 0.019186396151781082, -0.29031848907470703, -0.07051875442266464, -0.33655989170074463, -0.7862535715103149, 0.025339772924780846, -0.665317952632904, 0.04700206592679024, -0.5145297050476074, -0.3566412329673767, -0.17573562264442444, 0.14670643210411072, 0.06297308951616287, 0.15802301466464996, -0.9108573198318481, 0.36734071373939514, 0.4997052550315857, 0.45170092582702637, -0.4437881410121918, -0.4736439883708954, -0.63507479429245, 0.09461287409067154, -0.29357296228408813, 0.9813913106918335, -0.6783091425895691, -0.1282551884651184, -0.0156667809933424, 0.48865076899528503, -0.15549781918525696, -0.41899213194847107, 0.45119717717170715, -0.6411954164505005, 0.12809424102306366, -0.20124447345733643, -0.6441472172737122, -0.13549408316612244, 0.17605368793010712, -0.8291203379631042, 1.054099678993225, -0.0032272276002913713, -0.9447385668754578, 0.5822389721870422, -0.47889840602874756, -0.4082421660423279, 0.4620831608772278, -0.03920461982488632, -0.1978146731853485, -0.07805947214365005, -0.08899445086717606, 0.2801817059516907, -0.1902523636817932, 0.4510369598865509, -0.13215509057044983, 0.09395772218704224, 0.01051960326731205, 0.2590107321739197, 0.8846503496170044, 0.11617477238178253, -0.3390561044216156, 0.22248587012290955, -1.1175423860549927, 0.3623586893081665, -0.41724246740341187, -0.3483353853225708, -0.6333799362182617, -0.4596118628978729, 0.580380380153656, 0.3128182888031006, 0.36678043007850647, -0.7314890027046204, 0.03796365484595299, -0.2816021144390106, 0.0005129157798364758, 0.11581481248140335, -0.17046749591827393, 0.6256741285324097, 0.3587050437927246, 0.602506697177887, 0.43611449003219604, -0.3188132047653198, 0.08313409984111786, -0.4927680492401123, -0.8045223951339722, -0.31291335821151733, 1.0564324855804443, 0.7261370420455933, -1.0457156896591187, 0.4354458153247833, -0.2287435084581375, -0.4981142580509186, -0.6008473038673401, 0.08520504832267761, 0.39664724469184875, 0.18731074035167694, 0.5847846269607544, 0.012659446336328983, -1.0414432287216187, -1.1244269609451294, -0.320033460855484, 0.08204774558544159, 0.3276787996292114, -0.0465877540409565, 0.7298259139060974, -0.009241730906069279, 0.7114588618278503, 0.1797931045293808, -0.2086905986070633, -0.3204314410686493, 0.25752124190330505, -0.15361535549163818, 0.4690329432487488, 0.45216551423072815, -0.9040956497192383, -0.8392382860183716, 0.10272013396024704, -0.4178611934185028, -0.13367228209972382, -0.027647702023386955, -0.22067350149154663, 0.7772337198257446, 0.33784711360931396, -0.5733550190925598, 0.19527976214885712, 0.30766966938972473, -0.45873403549194336, 0.432689905166626, -0.0373709574341774, 0.03917312249541283, -1.129657506942749, 0.1276746392250061, -0.22705353796482086, -0.3091948926448822, -0.626415491104126, -0.2361920177936554, 0.14850366115570068, 0.11813504248857498, -0.8639616966247559, 0.6903887987136841, -0.8657943606376648, -0.47445085644721985, -0.09452413767576218, 0.3337531089782715, -0.4294985234737396, 0.34118109941482544, 0.581911563873291, 0.4651939272880554, 0.7292057871818542, -0.3262649178504944, 0.5401107668876648, 0.16767984628677368, -0.4404046833515167, 0.8304450511932373, -0.2280368059873581, -0.06753227114677429, 0.043661318719387054, -0.09605464339256287, -0.4347465932369232, 0.10405702888965607, 0.3526720702648163, -0.38826805353164673, 0.3645811975002289, -0.42580023407936096, -0.5974271893501282, 0.21534444391727448, 0.2938963770866394, 0.2673321068286896, -0.04636947065591812, -0.20561955869197845, 0.5658246874809265, 0.5138278007507324, -0.23461970686912537, -0.6335263848304749, -0.8088610172271729, 0.47523587942123413, -0.4577292501926422, -0.49765142798423767, 0.37888556718826294, -0.01187842432409525, -0.3118422329425812, 0.30941399931907654, 0.2857542335987091, -0.38796159625053406, -0.07900222390890121, 0.0858428031206131, 0.3022705614566803, -0.4001973867416382, 0.5162149667739868, -0.051947593688964844, -0.1702357828617096, -0.20165377855300903, -0.6262866258621216, 0.5129076242446899, -0.33071577548980713, 0.10942690074443817, 0.030749058350920677, 0.45218533277511597, 0.15562067925930023, -0.385082483291626, 0.7645350694656372, 0.8251479268074036, -0.5397670865058899, -0.018631909042596817, -0.37880125641822815, 0.27315980195999146, -0.23775850236415863, 0.23798580467700958, -0.7154513001441956, -0.7201352119445801, 0.7353495955467224, 0.05537136644124985, -0.08222197741270065, 0.512518584728241, 0.740226149559021, 0.3074589669704437, 0.432608425617218, 0.3466907739639282, 0.02393597736954689, 0.1137976124882698, -0.08637107908725739, 0.1831595003604889, -0.6591364741325378, -0.29850703477859497, -0.5522945523262024, -0.2514987587928772, -0.7398319840431213, -0.4335835874080658, -0.2988388240337372, -0.08610149472951889, 0.13575822114944458, 0.7842517495155334, -0.22229266166687012, 0.29957443475723267, 0.46793484687805176, -0.5837850570678711, 0.4230978190898895, 0.021628079935908318, -0.5447393655776978, -0.23882731795310974, -0.4677717983722687, -0.6369898915290833, 0.9571948647499084, 0.13929705321788788, 0.4865213632583618, -0.04679613187909126, 0.9502015113830566, 0.03668386489152908, 0.17503775656223297, -0.5980017185211182, 0.5851823687553406, -0.04562050849199295, -1.1574782133102417, -0.4241698384284973, -0.21326294541358948, -1.0285855531692505, 0.4135085642337799, -0.1709853559732437, -0.9281008243560791, 0.2397807538509369, -0.14639881253242493, -0.07135121524333954, 0.24282504618167877, -0.41906461119651794, 1.0342901945114136, -0.4634682536125183, -0.3042660057544708, -0.0762576013803482, -0.644212543964386, 0.2819010317325592, -0.2479095458984375, 0.07665061205625534, -0.13484327495098114, -0.29191330075263977, 0.7250679135322571, 0.057694971561431885, 0.628596305847168, -0.07354117929935455, 0.04365512356162071, 0.20411308109760284, -0.13162213563919067, 0.037060678005218506, 0.1990218311548233, 0.07559053599834442, 0.32405024766921997, 0.2797662615776062, -0.39517563581466675, -0.07093177735805511, 0.7941741943359375, -0.44360440969467163, 0.024224242195487022, -0.594597578048706, -0.4518430531024933, -0.1794034242630005, 0.7098779678344727, 0.34940508008003235, 0.34843042492866516, -0.32389527559280396, 0.3529607951641083, 0.6777608394622803, -0.18040767312049866, 0.39845919609069824, 0.6977894902229309, -0.530650794506073, -0.7099664807319641, 0.9166914224624634, 0.44841164350509644, -0.003716219449415803, 0.5238269567489624, -0.5289238691329956, -0.1802036166191101, -0.5159841775894165, -0.7483624815940857, 0.32705914974212646, -0.6957948803901672, -0.16278183460235596, -0.7474303245544434, -0.0012033632956445217, -0.5311228632926941, 0.15040579438209534, -0.5800048112869263, -0.5520020723342896, -0.3485521674156189, -0.12419331818819046, 0.046884264796972275, 0.4925929605960846, 0.14134815335273743, 0.012203112244606018, -0.7115944027900696, 0.11995260417461395, -0.2054157257080078, 0.4327370822429657, -0.42318710684776306, -0.0954800546169281, -0.5153408646583557, -0.07727999240159988, 0.029974164441227913, -0.8336033821105957, 0.6475062370300293, 0.1844439059495926, 0.8616154193878174, -0.1385643482208252, 0.0573561005294323, 0.43347546458244324, -0.7216314077377319, 0.5995060801506042, 0.08342794328927994, -0.8715237379074097, 0.2679978013038635, -0.19594943523406982, 0.2724945545196533, 0.5217005014419556, 0.7095023393630981, -0.5546371340751648, -0.3100111484527588, -0.7742639780044556, -0.6442019939422607, 0.7849148511886597, 0.24140426516532898, -0.30853337049484253, -0.1571451723575592, -0.02947772853076458, 0.2876843810081482, 0.29889875650405884, -0.7581319808959961, -0.4387127161026001, -0.09347591549158096, -0.2779655158519745, 0.13859619200229645, -0.0892663225531578, 0.029707735404372215, -0.07454157620668411, 0.9258787035942078, -0.2297120839357376, 0.20236268639564514, 0.1575450748205185, -0.6168847680091858, -0.046252161264419556, 0.440533310174942, 0.8493903875350952, 0.7031845450401306, 0.12408523261547089, 0.17523154616355896, 0.44561681151390076, -0.36429888010025024, 0.019002217799425125, 0.23994854092597961, -0.22131697833538055, 0.45462965965270996, 0.27771326899528503, 0.9072197079658508, 0.7424130439758301, -0.5744430422782898, -0.102568119764328, -0.151948019862175, -0.2723875343799591, -0.7979257702827454, -0.40396973490715027, 0.6000193953514099, 0.2746554911136627, 0.16074888408184052, -0.29217076301574707, 0.2557768225669861, -0.548682689666748, 0.24087275564670563, 0.32155802845954895, -0.40274521708488464, -0.5206905007362366, 0.23704257607460022, 0.2642565667629242, -0.2683368921279907, 0.3193020820617676, -0.2633245289325714, -0.652278482913971, 0.4334256947040558, 0.4464437961578369, 0.7744786143302917, -0.2229401171207428, 0.2676725387573242, 0.326332688331604, 0.20532803237438202, 0.1548248529434204, 0.5533015727996826, -0.13887058198451996, -0.5978708863258362, -0.33272555470466614, -0.8938438892364502, -0.15324616432189941, 0.13005785644054413, -0.6324048042297363, 0.5226294994354248, -0.03039718233048916, -0.24603018164634705, 0.4382404088973999, 0.43047648668289185, -0.725829541683197, 0.18826963007450104, 0.3733350336551666, 0.94388347864151, -0.532408595085144, 1.2027984857559204, 1.0950267314910889, -0.30958083271980286, -0.43776005506515503, -0.4767676889896393, -0.3311162292957306, -0.3537350594997406, 1.3680014610290527, -0.10263604670763016, 0.13465753197669983, -0.0864604040980339, 0.11143343895673752, -1.2986046075820923, 0.7623142600059509, 0.2949473559856415, -0.6735961437225342, -0.3040795624256134, 0.27896445989608765, 0.7056329846382141, -0.7803025245666504, 0.14957723021507263, 0.5351698398590088, 0.7933872938156128, -0.22387346625328064, -1.153671383857727, -0.3648968040943146, -0.3336303234100342, -0.13567617535591125, 0.443411260843277, -0.4822635352611542, 0.48983219265937805, 0.17414548993110657, -0.10451147705316544, 0.19638551771640778, 0.7520419359207153, 0.019269945099949837, 0.339322954416275, 0.48430824279785156, 0.5942093133926392, 0.5911034345626831, -0.10567890107631683, 0.3597660958766937, -0.5457239151000977, 0.25369665026664734, 1.326878309249878, -0.3330916166305542, 0.6765233874320984, 0.6158487796783447, -0.1399204432964325, 0.41718238592147827, 0.7645149827003479, -0.25344058871269226, 0.4123285710811615, 0.2952466309070587, -0.021298138424754143, -0.4857495427131653, -0.17047908902168274, -0.3247339725494385, 0.5713659524917603, 0.2921213209629059, -0.537813663482666, -0.2057168185710907, 0.16813035309314728, -0.008111017756164074, -0.23309975862503052, -0.2288869023323059, 0.6313556432723999, -0.016562845557928085, -0.8828540444374084, 0.2195795476436615, 0.01873176544904709, 0.40037065744400024, -0.36542561650276184, 0.18789541721343994, 0.09623664617538452, 0.08887533098459244, -0.23574943840503693, -0.6010103225708008, 0.3991333246231079, 0.009890411980450153, -0.16175828874111176, -0.28891539573669434, 0.8832544088363647, -1.0450937747955322, -0.8373069167137146, 0.5617297291755676, 0.3688373863697052, 0.5500502586364746, 0.2689104378223419, -0.5392281413078308, 0.02121833898127079, -0.07045363634824753, -0.2657352387905121, 0.4505758583545685, 0.6817223429679871, -0.21227723360061646, 0.34933754801750183, 0.25947853922843933, 0.398255318403244, 0.5486668348312378, 0.054721228778362274, 0.5063577890396118, -0.6889718770980835, -0.5609211325645447, -0.4268913269042969, 0.5514362454414368, -0.1405458152294159, -0.4519757926464081, 0.8024978637695312, 0.8687891364097595, 1.128663420677185, -0.326028048992157, 0.6348583698272705, -0.07422921061515808, 0.8699707388877869, -0.3868772089481354, 0.6798970699310303, -0.47321292757987976, 0.011545134708285332, -0.026230428367853165, -1.0338038206100464, -0.33528387546539307, 0.3170761168003082, -0.3919390141963959, -0.15354497730731964, 0.7186236381530762, 0.25163164734840393, 0.012962869368493557, -0.07290492206811905, 0.6017136573791504, -0.012476739473640919, -0.08484748005867004, 0.3534524142742157, 0.5455698370933533, -0.39504191279411316, 0.6376520395278931, -0.47325143218040466, 0.5108366012573242, -0.1316959708929062, -0.7892419695854187, -1.0166771411895752, -0.7957969307899475, -0.4840618073940277, 0.11446964740753174, 0.20580817759037018, 0.9796316027641296, 0.7440497875213623, -1.0210657119750977, -0.13270318508148193, 0.10187778621912003, 0.12843775749206543, 0.22857226431369781, -0.16591790318489075, 0.08458702266216278, -0.6458843946456909, -0.8574172258377075, 0.4431397616863251, 0.24383842945098877, -0.12592628598213196, -0.4896709620952606, 0.018666135147213936, -0.6139205694198608, -0.32465481758117676, 0.2779894769191742, 0.07248616218566895, -0.9161676168441772, -0.1566895991563797, 0.18668028712272644, -0.15988391637802124, 0.017654046416282654, 0.7453785538673401, -0.8441299200057983, 0.3163242042064667, 0.4566580355167389, 0.5626906752586365, 0.5276234745979309, -0.32066649198532104, 0.35723185539245605, -0.6595046520233154, 0.15544407069683075, 0.2685532867908478, 0.5965355634689331, 0.5792760848999023, -0.31091001629829407, 0.5110877156257629, 0.41348403692245483, -0.40709224343299866, -0.8807802200317383, -0.011782140471041203, -0.8470314741134644, -0.13412386178970337, 0.9210306406021118, -0.4301658868789673, -0.33861544728279114, -0.4830215573310852, 0.03940912336111069, 0.317473828792572, -0.3584367334842682, 0.3311641812324524, 1.0239709615707397, 0.00808639544993639, -0.30764544010162354, -0.5495083332061768, 0.3907569944858551, 0.16354191303253174, -0.9633216261863708, -0.022585727274417877, 0.3239545226097107, 0.44800668954849243, 0.5243346691131592, 0.18414197862148285, -0.1355993002653122, 0.2769831717014313, 0.14927802979946136, 0.43490901589393616, 0.20645104348659515, -0.7102000117301941, -0.1879463791847229, 0.08728071302175522, -0.25540634989738464, -0.021005600690841675 ]
http://arxiv.org/abs/2404.00474v2
http://arxiv.org/pdf/2404.00474v2
Linguistic Calibration of Long-Form Generations
2024-03-30T20:47:55
2024-06-04T22:39:58
Neil Band, Xuechen Li, Tengyu Ma, Tatsunori Hashimoto
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Language models (LMs) may lead their users to make suboptimal downstream decisions when they confidently hallucinate. This issue can be mitigated by having the LM verbally convey the probability that its claims are correct, but existing models cannot produce long-form text with calibrated confidence statements. Through the lens of decision-making, we define linguistic calibration for long-form generations: an LM is linguistically calibrated if its generations enable its users to make calibrated probabilistic predictions. This definition enables a training framework where a supervised finetuning step bootstraps an LM to emit long-form generations with confidence statements such as "I estimate a 30% chance of..." or "I am certain that...", followed by a reinforcement learning step which rewards generations that enable a user to provide calibrated answers to related questions. We linguistically calibrate Llama 2 7B and find in automated and human evaluations of long-form generations that it is significantly more calibrated than strong finetuned factuality baselines with comparable accuracy. These findings generalize under significant domain shifts to scientific and biomedical questions and to an entirely held-out person biography generation task. Our results demonstrate that long-form generations may be calibrated end-to-end by constructing an objective in the space of the predictions that users make in downstream decision-making.
[ -0.30367669463157654, -0.5508637428283691, 0.7937378883361816, 0.1517588496208191, 0.016671422868967056, 0.17269305884838104, -0.5969451665878296, -0.522917628288269, 0.148307204246521, 0.6932193636894226, -0.7524271607398987, -0.18873167037963867, -0.3483830988407135, 0.1839362531900406, 0.0627121552824974, 0.8660288453102112, 0.015156935900449753, 0.01443549431860447, -0.4181598722934723, 0.13342496752738953, -0.6153344511985779, -0.4714185893535614, -0.6019074320793152, -0.808168888092041, 0.6287046074867249, 0.32077351212501526, 0.9100202918052673, 0.39297202229499817, -0.13889990746974945, 0.18388532102108002, -0.1453031748533249, 0.029165716841816902, -0.821502685546875, 0.2285216897726059, -0.38611075282096863, -0.6980176568031311, -0.09066908061504364, -0.030836008489131927, 0.3705061972141266, 0.993759036064148, 0.010902384296059608, 0.22472797334194183, 0.128798246383667, 1.0223181247711182, -0.5935054421424866, 0.1965767741203308, -0.6764244437217712, -0.0018825313309207559, -0.30337563157081604, -0.5086032748222351, -0.7404810786247253, -0.5362323522567749, 0.02217317558825016, -0.3132985532283783, 0.18256314098834991, -0.07382581382989883, 0.45901748538017273, 0.42037779092788696, -0.4546359181404114, -0.2615133821964264, -0.7854700088500977, 0.7664505839347839, -0.6620796918869019, 0.4413563907146454, 0.9211393594741821, 0.37010037899017334, -0.502813458442688, -0.4071263372898102, -0.403724730014801, -0.4835663437843323, 0.08554040640592575, 0.02361713908612728, 0.130705788731575, 0.2751232087612152, 0.29146620631217957, 0.07694930583238602, -0.5619005560874939, 0.4063686728477478, -0.7534324526786804, -0.47055378556251526, 0.689521312713623, -0.21259260177612305, -0.16361825168132782, -0.1683148592710495, -0.2641996145248413, -0.12270665913820267, -1.0411772727966309, -0.08299366384744644, 0.6305433511734009, 0.4235754609107971, 0.20428107678890228, 0.6353192925453186, -0.5443248152732849, 0.6482437252998352, 0.29270943999290466, -0.16299915313720703, 0.3257461488246918, -0.07895319163799286, -0.038362372666597366, 0.5239047408103943, 0.5698164105415344, 0.4714421331882477, 0.5769438147544861, -0.17207235097885132, -0.2256001979112625, 0.03394902125000954, 0.14766530692577362, -0.7514408826828003, -0.013388087972998619, 0.1958162933588028, -0.24490338563919067, -0.40096262097358704, -0.2281998246908188, -0.740837812423706, -0.6087656617164612, -0.4711019992828369, 0.48942890763282776, -0.3743227422237396, 0.1419660449028015, 0.21286776661872864, 0.16224773228168488, 0.25127220153808594, 0.24505634605884552, -0.8962612748146057, -0.07269026339054108, 0.6576333045959473, 0.4661245048046112, 0.08847086131572723, -0.1800818294286728, -0.4810671806335449, 0.07281435281038284, -0.4960988759994507, 0.6952894330024719, -0.32605263590812683, -0.4827846884727478, 0.11645887792110443, -0.035438843071460724, 0.015765860676765442, -0.67246413230896, 0.4278266727924347, -0.42634257674217224, 0.34504860639572144, -0.2520006000995636, -0.3973059356212616, -0.22865839302539825, -0.010530740953981876, -0.4988444745540619, 0.7342521548271179, 0.22572652995586395, -0.24716266989707947, 0.6845247149467468, 0.03904613479971886, -0.3379583954811096, 0.42403411865234375, -0.38817068934440613, -0.28406214714050293, 0.08844421058893204, -0.022226525470614433, 0.5131192803382874, -0.33486250042915344, 0.643946647644043, -0.3656524419784546, -0.07326751947402954, 0.29865720868110657, -0.5831314921379089, 0.5158502459526062, 0.33642762899398804, -0.5324798822402954, -0.1953582912683487, -0.7981624007225037, 0.20522001385688782, -0.22493968904018402, -0.40488383173942566, -0.17807640135288239, 0.33862969279289246, -0.3198488652706146, 0.257832795381546, 0.22203198075294495, -0.4707610607147217, -0.017302047461271286, -0.48865070939064026, 0.4644642770290375, 0.6861932873725891, -0.09906212985515594, 0.3402068316936493, -0.6163253784179688, 0.4784846603870392, -0.24946561455726624, -0.0629211887717247, -0.11357705295085907, -0.4118775725364685, -0.7901590466499329, 0.09966687858104706, 0.20046138763427734, 0.5127036571502686, -0.6548053622245789, 0.700114905834198, -0.54270339012146, -0.44084450602531433, -0.32414063811302185, 0.4207570254802704, 0.22155988216400146, 0.6164594888687134, 0.2856835722923279, -0.303894579410553, -0.5256791114807129, -0.9596382975578308, -0.0323113389313221, -0.4454762637615204, -0.04558294638991356, 0.08279024064540863, 0.38304638862609863, -0.23977839946746826, 1.0317612886428833, -0.20047655701637268, -0.12689806520938873, -0.18480649590492249, 0.32328906655311584, 0.05388998985290527, 0.3288560211658478, 0.26154226064682007, -0.6684053540229797, -0.048260096460580826, -0.12683869898319244, -0.5850302577018738, -0.23330307006835938, -0.48681315779685974, -0.12333469837903976, 0.21806056797504425, 0.5625371336936951, -0.5663737654685974, 0.34001630544662476, 0.5026054382324219, -0.23158849775791168, 0.549457848072052, -0.2697344124317169, -0.0634852945804596, -0.920492947101593, -0.07995294779539108, 0.09819120913743973, -0.3607645630836487, -0.5288546681404114, 0.11862562596797943, 0.0449264757335186, 0.3227863609790802, -0.29580503702163696, 0.38323235511779785, -0.31527021527290344, 0.08388130366802216, -0.13987842202186584, 0.016380013898015022, -0.16311103105545044, 0.0751674622297287, 0.02824433706700802, 0.7629576325416565, 0.09502984583377838, -0.5896531939506531, 0.2628777027130127, -0.012593512423336506, -0.5052964091300964, 0.5960371494293213, -0.4116135537624359, 0.03498184680938721, -0.5225839018821716, 0.6309306621551514, -0.7942700386047363, -0.3955496549606323, -0.13710686564445496, -0.4368152618408203, 0.27836528420448303, 0.14747679233551025, -0.29140037298202515, -0.45048388838768005, -0.31200599670410156, 0.4994448125362396, 0.7014130353927612, -0.36903437972068787, 0.5100231170654297, 0.14260545372962952, -0.33029648661613464, -0.39479005336761475, -0.8857672214508057, 0.19429928064346313, -0.15790590643882751, -0.6673725843429565, 0.28052955865859985, -0.12108928710222244, -0.1783251017332077, -0.5263361930847168, 0.0960141196846962, 0.23197278380393982, -0.13164201378822327, 0.4066465198993683, 0.3138532042503357, -0.24056477844715118, 0.3114861845970154, 0.06208227947354317, -0.033682454377412796, 0.2305317372083664, -0.03637062758207321, 0.7572159767150879, 0.26015332341194153, -0.23091518878936768, -0.09668679535388947, -0.0021678886841982603, 0.5689257383346558, -0.10703307390213013, 0.6897032260894775, 0.23808562755584717, -0.41052305698394775, -0.33912667632102966, -0.9695170521736145, -0.12231847643852234, -0.4409826993942261, 0.4298630654811859, -0.23791523277759552, -0.8048686385154724, 0.4519951641559601, -0.13554808497428894, -0.12004544585943222, 0.7280020713806152, 0.7539124488830566, 0.015637598931789398, 1.01615571975708, 0.48584678769111633, 0.12704570591449738, 0.06777829676866531, -0.009963287971913815, 0.14371398091316223, -0.6453335881233215, -0.40725427865982056, -0.4254918694496155, -0.2709789574146271, -0.7712959051132202, -0.5061006546020508, 0.06686653196811676, 0.12614214420318604, -0.41839340329170227, 0.22093063592910767, -0.32047751545906067, 0.46563392877578735, 0.6027563810348511, 0.35496601462364197, 0.12842883169651031, -0.11301453411579132, -0.008755366317927837, 0.009842123836278915, -0.3254911005496979, -0.712135374546051, 1.020686149597168, 0.4192664921283722, 0.9541357755661011, -0.11994482576847076, 0.9009764194488525, 0.34549111127853394, 0.3901520371437073, -0.856661319732666, 0.6178710460662842, -0.10231492668390274, -0.5624204874038696, -0.22415854036808014, -0.5479629635810852, -0.8103293180465698, -0.2574317157268524, -0.21119804680347443, -0.8200887441635132, 0.46491265296936035, 0.038134802132844925, -0.5648438930511475, 0.03833959624171257, -0.5111449956893921, 0.5995486378669739, -0.41146934032440186, -0.2600891888141632, -0.2524715065956116, -0.7790839076042175, 0.39910420775413513, -0.5526264309883118, 0.32818928360939026, -0.3661274015903473, 0.2022274285554886, 0.6451559066772461, -0.27801188826560974, 0.9336127042770386, -0.08201108872890472, -0.16374152898788452, 0.2486802190542221, 0.25181815028190613, 0.30451422929763794, -0.16801564395427704, -0.3326398432254791, -0.10263250023126602, 0.18470683693885803, -0.06752707064151764, -0.26776939630508423, 0.7199298143386841, -0.7087534666061401, -0.6043177247047424, -0.39330732822418213, -0.3841886818408966, -0.3923235237598419, 0.10199201852083206, 0.4069066643714905, 0.1919127255678177, -0.28820672631263733, 0.3408368229866028, 0.5302988290786743, -0.36627084016799927, 0.0221745353192091, 0.10857398808002472, -0.35446247458457947, -0.4610689580440521, 0.698627769947052, 0.1917913854122162, 0.6575541496276855, 0.33720719814300537, 0.28059494495391846, -0.45115143060684204, -0.1725570261478424, -0.39975735545158386, 0.4312930703163147, -0.8401221036911011, -0.29478615522384644, -0.10016793012619019, -0.27491673827171326, -0.23464973270893097, -0.2558170258998871, -0.06225559860467911, -0.39853817224502563, -0.40847718715667725, -0.20552963018417358, 0.08739852160215378, 0.5487678647041321, 0.052832137793302536, 0.2814613878726959, -0.5512882471084595, 0.27125754952430725, 0.435503751039505, 0.032921526581048965, -0.3246651589870453, -0.546495795249939, 0.10213759541511536, 0.5928274393081665, -0.4399024546146393, -0.8963350653648376, 0.2317386418581009, 0.5746106505393982, 0.42546117305755615, 0.17602790892124176, -0.01234397105872631, 0.8129011392593384, -0.5047462582588196, 0.7803506255149841, 0.21885302662849426, -0.6667240262031555, 0.5523138642311096, -0.06279037147760391, 0.32423514127731323, 0.9456083178520203, 0.3017651438713074, -0.604630708694458, -0.28317955136299133, -0.20760539174079895, -0.7414373755455017, 0.3691869080066681, -0.17378346621990204, 0.43466466665267944, -0.1943928599357605, 0.49524927139282227, 0.3428335189819336, 0.12187156081199646, -0.6003947257995605, 0.006415789946913719, -0.04560254514217377, -0.42380738258361816, -0.47885000705718994, -0.35027995705604553, -0.01850992813706398, -0.13210560381412506, 0.7157111763954163, -0.22742429375648499, -0.07428980618715286, 0.04031777381896973, -0.15754291415214539, -0.4074820578098297, 0.4252587556838989, 0.6479177474975586, 0.9027999043464661, -0.17422933876514435, 0.19090156257152557, 0.07673259824514389, -0.32013562321662903, 0.11591631174087524, 0.2438964545726776, -0.49983376264572144, -0.09404714405536652, 0.11116122454404831, 0.8801146745681763, 0.21788769960403442, -0.7562434673309326, 0.4967386722564697, 0.2850152850151062, -0.38883325457572937, -0.47095584869384766, -0.0192154161632061, 0.01076545100659132, 0.1357506364583969, 0.5175419449806213, 0.007047249004244804, -0.10401738435029984, -0.7326880097389221, 0.1473543345928192, 0.44923651218414307, -0.24244527518749237, -0.2344733625650406, 0.889184296131134, 0.07475749403238297, -0.20344503223896027, 0.6889968514442444, -0.1197335347533226, -0.5105973482131958, 0.43164360523223877, 0.5846364498138428, 0.94455885887146, -0.175815150141716, 0.42506036162376404, 0.3372932970523834, 0.204338937997818, -0.51243656873703, 0.0605957917869091, 0.05787108838558197, -0.6644290089607239, -0.8234733939170837, -1.0765845775604248, -0.313891738653183, 0.15728874504566193, -0.5975518226623535, 0.3540389835834503, -0.23327365517616272, -0.49316295981407166, -0.0014328364050015807, -0.2525310516357422, -0.7178611159324646, 0.37005481123924255, 0.6207659840583801, 0.8620281219482422, -0.7675985097885132, 0.5206320285797119, 0.2897385358810425, -0.35496169328689575, -0.6293867230415344, -0.18886956572532654, 0.014442524872720242, -1.0303997993469238, 0.9849547147750854, 0.4781514108181, -0.22454500198364258, -0.09707299619913101, -0.5107817053794861, -0.6738218665122986, 1.0392941236495972, 0.5934672355651855, -0.6778428554534912, -0.34214943647384644, 0.5159229040145874, 0.5378479957580566, -0.18553218245506287, 0.12000146508216858, 0.5991548895835876, 0.35620322823524475, 0.21444709599018097, -1.1488707065582275, 0.04725918546319008, 0.16152869164943695, 0.09659278392791748, 0.3012886345386505, -0.30345022678375244, 0.6095396280288696, -0.37227675318717957, -0.22722077369689941, 0.3393247723579407, 0.7749730944633484, 0.38735222816467285, 0.34664803743362427, 0.4912247061729431, 0.4149264097213745, 0.5884060263633728, -0.1953868418931961, 0.8306087851524353, -0.5320829153060913, 0.33173105120658875, 0.9180803298950195, -0.15376751124858856, 1.0610976219177246, 0.6929405331611633, -0.27698230743408203, 0.5597937703132629, 0.7856594920158386, 0.2533627152442932, 0.4209694564342499, 0.4075276851654053, -0.4358712136745453, -0.41732943058013916, -0.03652891889214516, -0.23204608261585236, 0.5465816259384155, 0.5105653405189514, -0.6147814989089966, -0.0955519750714302, 0.027355600148439407, 0.143842875957489, 0.12443792074918747, -0.4087040424346924, 0.56833815574646, 0.17052465677261353, -1.0720033645629883, 0.7200116515159607, -0.25931814312934875, 0.6773180365562439, -0.6275430917739868, 0.12262066453695297, 0.03049267642199993, 0.16459469497203827, -0.4043805003166199, -0.9257795810699463, -0.1815345138311386, -0.2076071947813034, -0.0586935430765152, -0.3201775550842285, 0.505807638168335, -0.5820519328117371, -0.6223533749580383, 0.04012210667133331, 0.5874670743942261, 0.21426835656166077, 0.06413235515356064, -0.32365989685058594, -0.07556707412004471, 0.12654994428157806, -0.3030725419521332, 0.25603386759757996, 0.046675439924001694, -0.11510114371776581, 0.7035921812057495, 0.525051474571228, 0.5493758320808411, 0.25258317589759827, 0.329215407371521, 0.39214029908180237, -0.4570005238056183, -0.2764483094215393, -0.7936897873878479, 0.24391254782676697, 0.10721530765295029, -0.33558666706085205, 0.2727121114730835, 0.5167549252510071, 1.1417360305786133, 0.11601659655570984, 0.6985571384429932, 0.10260274261236191, 0.2536908984184265, -0.5963984727859497, 0.5261181592941284, -0.29775601625442505, 0.10979937762022018, 0.23616935312747955, -1.1690378189086914, -0.27781763672828674, 0.6391596794128418, -0.5926360487937927, 0.3691062033176422, 0.4257025122642517, 0.7839005589485168, 0.221725732088089, -0.02298298105597496, 0.33348363637924194, 0.1597416251897812, 0.20697525143623352, 0.5961061120033264, 0.605107843875885, -0.06868188083171844, 0.17442181706428528, -0.5689172744750977, -0.22440475225448608, -0.11329253017902374, -0.9704631567001343, -0.544044017791748, -0.5267572999000549, -0.16812747716903687, -0.2980298101902008, 0.18598206341266632, 1.0870590209960938, 0.46714383363723755, -0.7017731070518494, -0.3159070611000061, -0.025048408657312393, -0.45272573828697205, 0.21750810742378235, -0.2266082763671875, 0.04534543678164482, -0.4567638635635376, -0.4205147325992584, 0.27624696493148804, 0.22351093590259552, 0.058841120451688766, -0.5438441038131714, -0.23701247572898865, 0.19292651116847992, 0.06343133002519608, 0.6753948926925659, 0.5198789834976196, -0.9330564141273499, -0.6307597160339355, -0.137598916888237, -0.24218323826789856, 0.029524167999625206, 0.3934418559074402, -1.1420645713806152, 0.766543447971344, 0.31903257966041565, 0.5113642811775208, 0.391194224357605, 0.10540195554494858, 0.6495004892349243, -0.534331738948822, -0.12662087380886078, 0.31503793597221375, 0.4138225018978119, 0.5258625745773315, -0.2966366708278656, 0.3177485167980194, -0.0625525489449501, -0.9128310084342957, -0.7201663851737976, 0.2993534803390503, -0.8542320728302002, 0.03088708035647869, 1.382712483406067, 0.4139723777770996, -0.16009782254695892, 0.14988493919372559, -0.307780385017395, 0.25149908661842346, -0.19151408970355988, 0.7140628695487976, 0.6736986041069031, 0.09219631552696228, 0.08281833678483963, -0.936762809753418, 0.4387190043926239, 0.49070873856544495, -0.5803080201148987, 0.16012924909591675, 0.7585631608963013, 0.20093534886837006, 0.1933823823928833, 0.3708888590335846, 0.1037367582321167, 0.27244266867637634, -0.37640368938446045, -0.05175162851810455, 0.2560441195964813, -0.07132607698440552, -0.2189074456691742, -0.10089065879583359, 0.3643797039985657, 0.26972657442092896 ]
http://arxiv.org/abs/2404.00463v1
http://arxiv.org/pdf/2404.00463v1
Addressing Both Statistical and Causal Gender Fairness in NLP Models
2024-03-30T20:05:41
2024-03-30T20:05:41
Hannah Chen, Yangfeng Ji, David Evans
cs.CL
cs.CL, cs.CY, cs.LG
Statistical fairness stipulates equivalent outcomes for every protected group, whereas causal fairness prescribes that a model makes the same prediction for an individual regardless of their protected characteristics. Counterfactual data augmentation (CDA) is effective for reducing bias in NLP models, yet models trained with CDA are often evaluated only on metrics that are closely tied to the causal fairness notion; similarly, sampling-based methods designed to promote statistical fairness are rarely evaluated for causal fairness. In this work, we evaluate both statistical and causal debiasing methods for gender bias in NLP models, and find that while such methods are effective at reducing bias as measured by the targeted metric, they do not necessarily improve results on other bias metrics. We demonstrate that combinations of statistical and causal debiasing techniques are able to reduce bias measured through both types of metrics.
[ -0.34335586428642273, -0.7323178052902222, 0.5843653082847595, 0.38837167620658875, 0.1159541979432106, -0.12213762104511261, 0.11418744176626205, -0.437993586063385, -0.012449163012206554, 0.4736083745956421, -0.6028033494949341, -0.2871033847332001, -0.6763195395469666, 0.03714314103126526, -0.37964335083961487, 0.9300217032432556, 0.38843393325805664, 0.7483102679252625, -0.3520474135875702, -0.1725422888994217, -1.090508222579956, -0.600617527961731, -0.6118997931480408, -0.4625302851200104, 0.2503160536289215, 0.030962670221924782, 0.8880796432495117, 0.24437162280082703, 0.6017957329750061, 0.2601369321346283, -0.18548963963985443, 0.08373317122459412, -0.4386884868144989, -0.1387014538049698, -0.499245822429657, -0.6492960453033447, -0.6092035174369812, 0.3947293758392334, 0.49645936489105225, 1.1684443950653076, -0.13519935309886932, 0.4528781771659851, 0.11707273125648499, 0.7262625098228455, -0.9563366770744324, -0.11468600481748581, -0.6444927453994751, 0.31776317954063416, 0.07677436619997025, -0.3370986580848694, -0.3384154736995697, -0.4843011498451233, 0.13826340436935425, -0.5105746388435364, 0.5470271706581116, 0.15081290900707245, 0.35510948300361633, 0.3546869456768036, -0.6569786667823792, 0.1651032418012619, -0.8570207357406616, 1.1319724321365356, -0.7185121178627014, 0.2702041268348694, 0.624973714351654, 0.22168315947055817, -0.06450715661048889, -0.13428200781345367, -0.7413648366928101, -0.13762739300727844, -0.39760127663612366, 0.02347535267472267, -0.43984803557395935, 0.04499195143580437, 0.6351698040962219, -0.03895413503050804, -0.541509211063385, 0.31328198313713074, -0.44365617632865906, 0.09866826236248016, 0.6687322854995728, 0.1229807436466217, 0.32238155603408813, -0.2655635476112366, -0.27451765537261963, -0.10346465557813644, -0.7131789326667786, -0.17256423830986023, 0.7359252572059631, 0.287653386592865, -0.16565006971359253, 0.5184651017189026, -0.13685625791549683, 0.43148016929626465, 0.005951690021902323, 0.1175665333867073, 0.4378052055835724, -0.04360417276620865, -0.28468555212020874, 0.17184750735759735, 0.39245012402534485, 0.6930954456329346, 0.0940890908241272, -0.4272083640098572, 0.08516934514045715, 0.4347592890262604, 0.3000265657901764, -0.47764408588409424, 0.15603779256343842, 0.22804875671863556, -0.8038793802261353, -0.3917817771434784, 0.0625803992152214, -0.8823390007019043, -0.4327192008495331, -0.5337534546852112, 0.31894955039024353, 0.1796400547027588, -0.2057056427001953, 0.2674933969974518, -0.655427098274231, 0.08095674961805344, 0.2029786854982376, -0.9159759879112244, 0.4379473626613617, 0.8698641061782837, 0.5208078622817993, 0.08008909225463867, 0.06293646991252899, -0.6217326521873474, 0.21015571057796478, -0.5399291515350342, 0.4661860466003418, -0.6366828083992004, -0.19011779129505157, -0.1878621131181717, -0.06253999471664429, -0.10798684507608414, -0.49286067485809326, 0.4437493681907654, -0.403496116399765, 0.48335570096969604, -0.71734619140625, -0.35548707842826843, -0.3398418724536896, 0.0507337786257267, -0.7012822031974792, 0.6907049417495728, -0.08137019723653793, -1.0684922933578491, 1.0613772869110107, -0.6395460367202759, -0.24279306828975677, -0.43046626448631287, -0.13067854940891266, -0.46404916048049927, 0.27953383326530457, 0.39196497201919556, 0.08529035747051239, -0.485216349363327, 0.7979040145874023, -0.72111576795578, -0.3070314824581146, 0.23270981013774872, -0.7989431619644165, 1.0046497583389282, 0.020257974043488503, -0.516964852809906, -0.012870971113443375, -0.8064841628074646, -0.27222302556037903, 0.10715147852897644, 0.24642987549304962, -0.5746690034866333, 0.16684864461421967, 0.08907098323106766, 0.3351741135120392, -0.17098282277584076, -0.6504284739494324, -0.17967887222766876, -0.3740813136100769, -0.13829940557479858, 0.8586810231208801, -0.41581106185913086, 0.6577487587928772, -0.610298752784729, 0.3600378930568695, -0.06024864315986633, 0.2779301106929779, 0.6469133496284485, -0.5110583901405334, -0.5403168201446533, -0.34493589401245117, 0.37126317620277405, 0.7111173868179321, -0.6465557217597961, 0.5332788228988647, -0.10511477291584015, -0.28892087936401367, -0.4428316354751587, -0.17094287276268005, 0.4968932867050171, 0.801214337348938, 0.7558456063270569, -0.4861907660961151, -0.5544291734695435, -0.9113399386405945, -0.7184733748435974, -0.26570597290992737, -0.236551433801651, 0.058223024010658264, 0.34500983357429504, 0.07631842792034149, 1.1754497289657593, -0.44997429847717285, -0.5122312903404236, 0.0026041280943900347, 0.20513835549354553, 0.2776154577732086, 0.937351405620575, 1.0781540870666504, -0.7717888951301575, 0.010844666510820389, -0.6617779731750488, -0.79548579454422, -0.512696385383606, 0.022607605904340744, -0.11736835539340973, 0.16964653134346008, 0.2476625293493271, -0.21558906137943268, 0.9675690531730652, 0.29616981744766235, -0.6860938668251038, 0.38467803597450256, -0.06093023717403412, 0.619757890701294, -0.3239503502845764, -0.03529493138194084, 0.07366514950990677, -0.2965298593044281, -0.7342206239700317, -0.019590912386775017, -0.2249971181154251, 0.2957935035228729, -0.4665507376194, 0.6058407425880432, -0.08203380554914474, -0.1924431174993515, -0.3662683665752411, 0.05604696273803711, 0.14199630916118622, 0.17731092870235443, 0.05554874241352081, 0.25830262899398804, 0.307373970746994, -0.5565821528434753, 0.024976667016744614, 0.378351628780365, -0.08891206979751587, 0.9549888372421265, -0.7532453536987305, -0.0694943442940712, -0.652579665184021, 0.46824198961257935, -0.9738696217536926, 0.39630553126335144, 0.2584426701068878, -0.41351720690727234, -0.06231217086315155, -0.09921610355377197, -0.5161007642745972, -0.32447168231010437, -0.42528364062309265, 0.6094399094581604, 0.6420636773109436, -0.7592166066169739, 0.33650311827659607, 0.32945066690444946, 0.08111890405416489, -0.9022880792617798, -1.110418677330017, -0.10005934536457062, -0.5668815970420837, -0.4408477246761322, 0.5584867596626282, 0.005428136792033911, -0.5012726783752441, 0.020529834553599358, -0.04096432030200958, -0.03999677300453186, 0.06775086373090744, 0.1014673188328743, 0.34926798939704895, 0.27402162551879883, 0.2860351800918579, 0.3346860408782959, -0.3710106909275055, 0.11292863637208939, 0.041780244559049606, 0.48753899335861206, 0.4663825035095215, -0.5165756940841675, -0.40273699164390564, 0.4973317086696625, -0.2829223871231079, 0.03384683281183243, 1.0358809232711792, 0.8503090143203735, -0.4818532466888428, 0.025282857939600945, -0.7737166285514832, -0.44256705045700073, -0.3993755877017975, 0.10007252544164658, -0.08718737214803696, -0.6732040643692017, 0.5678547620773315, 0.3739478886127472, 0.19369946420192719, 0.5003570914268494, 0.32389897108078003, 0.06637975573539734, 1.2250674962997437, 0.46832334995269775, 0.024792123585939407, 0.23555710911750793, 0.039041660726070404, 0.2716153860092163, -0.6724129319190979, -0.04982632398605347, -0.9771733283996582, -0.41591876745224, -0.7996001839637756, -0.3263349235057831, 0.1213429868221283, 0.10032027959823608, -0.5178472399711609, -0.017735255882143974, -0.5379194021224976, 0.24501579999923706, 0.8060727119445801, 0.42044684290885925, 0.395306795835495, 0.004960314370691776, 0.37310972809791565, -0.43490615487098694, -0.8158349394798279, -0.45071378350257874, 1.4375094175338745, 0.414278119802475, 0.646796464920044, 0.3457913398742676, 0.3248765468597412, 0.5697309374809265, 0.2209949493408203, 0.02669277787208557, 0.42474260926246643, -0.5777997970581055, -1.010050892829895, -0.20449857413768768, -0.833599328994751, -0.7162095904350281, 0.5397389531135559, -0.7238139510154724, -0.6966166496276855, 0.7578344941139221, 0.295040100812912, 0.038499318063259125, 0.46742549538612366, -0.5723057389259338, 0.6002194881439209, 0.19670818746089935, -0.42671874165534973, -0.5071460008621216, -0.4343007206916809, 0.5227047204971313, -0.006813629064708948, 0.40648767352104187, -0.33359596133232117, 0.16634714603424072, 0.8900969624519348, -0.5884295105934143, 0.8231715559959412, -0.4909955561161041, -0.10696161538362503, -0.14606353640556335, -0.1131715252995491, 0.048234425485134125, 0.21572768688201904, -0.11893238872289658, 0.5356243848800659, -0.048471998423337936, -0.5316343307495117, -0.616956889629364, 0.4582425355911255, -0.4778544306755066, -0.6210635304450989, -0.45033183693885803, -0.5737870931625366, -0.2370629459619522, -0.009799736551940441, -0.31741487979888916, 0.39724281430244446, -0.19675007462501526, 0.03618131950497627, 0.503553569316864, -0.829778790473938, 0.40796831250190735, 0.6570473909378052, -0.15847039222717285, -0.12219609320163727, 0.15766987204551697, 0.162037193775177, 0.3027082085609436, 0.3486013114452362, 0.20739948749542236, -0.44454890489578247, -0.16509157419204712, -0.10416335612535477, -0.09521448612213135, -0.6760156750679016, -0.1338178515434265, -0.8071208000183105, 0.2026619017124176, -0.7483318448066711, -0.18743740022182465, -0.17200542986392975, -0.7716600894927979, 0.034597862511873245, -0.23050656914710999, 0.28907689452171326, 0.14235226809978485, -0.5969725847244263, 0.49314770102500916, -0.36419859528541565, 0.9507111310958862, 0.48183146119117737, 0.07727415859699249, 0.2120572179555893, -0.47949087619781494, 0.4670078456401825, 0.09685204923152924, -0.14452916383743286, -0.871881365776062, 0.42841991782188416, -0.1962093859910965, 0.36935916543006897, 0.05132617801427841, 0.23341616988182068, 0.6985043287277222, -0.5730957388877869, 0.7093707323074341, 0.44165951013565063, -1.1827943325042725, 0.5230928659439087, -0.12879638373851776, -0.08339380472898483, 0.3829481303691864, 0.15771453082561493, -0.19345872104167938, -0.542390763759613, -0.5305337309837341, -0.7432187795639038, 0.7858526110649109, 0.45390209555625916, 0.09058912098407745, -0.1474895477294922, 0.1945399045944214, 0.15248411893844604, 0.45569902658462524, -0.8556365966796875, -0.5958176255226135, 0.10388275980949402, -0.11321747303009033, -0.04914035275578499, -0.23858614265918732, -0.3750174641609192, -0.24356330931186676, 0.6486058831214905, 0.09934277087450027, 0.1075669452548027, 0.2874900996685028, -0.0819336399435997, -0.01592576690018177, 0.35162845253944397, 0.25425785779953003, 0.9066913723945618, -0.35559698939323425, -0.0008656344725750387, 0.42600488662719727, -0.3253180682659149, 0.23079456388950348, 0.27578967809677124, -0.5712059140205383, 0.1144072636961937, 0.38375160098075867, 0.72639000415802, -0.09512235969305038, -0.3350015878677368, 0.5583558678627014, -0.13231664896011353, -0.10087594389915466, -0.01952703855931759, 0.028380917385220528, -0.3828827142715454, 0.38031429052352905, 0.4362115263938904, 0.05666626617312431, 0.5705205798149109, -0.393707275390625, 0.14526651799678802, 0.6490049362182617, -0.5165579915046692, 0.1812429577112198, 1.0605196952819824, 0.03637971356511116, 0.07759486138820648, 0.32922714948654175, -0.056627485901117325, -0.20123083889484406, 0.9894299507141113, 0.6349391341209412, 0.7950693368911743, -0.19538889825344086, 0.3779957592487335, 0.5060884356498718, 0.6371158957481384, -0.018211882561445236, 0.15198369324207306, 0.27310097217559814, -0.6985158920288086, -0.40591490268707275, -0.37503722310066223, -0.2197570651769638, -0.1965695172548294, -0.7108295559883118, 0.22160878777503967, -0.15841642022132874, -0.41278937458992004, 0.05774915963411331, -0.01297601405531168, -0.9847526550292969, 0.5945500135421753, -0.22794806957244873, 0.48757678270339966, -1.1040892601013184, 0.19352145493030548, 0.2420179545879364, -0.5066593885421753, -0.3491414785385132, -0.2101534754037857, 0.026509158313274384, -0.5270493030548096, 0.8380705714225769, 0.07348597794771194, 0.06624383479356766, -0.575974702835083, -0.2873031795024872, -0.453767865896225, 0.8207354545593262, 0.6114479303359985, -0.6239843964576721, 0.1551770716905594, 0.49514901638031006, 0.338776558637619, -0.0415659062564373, 0.6635774374008179, 0.5868241786956787, 0.6473207473754883, -0.49628108739852905, -1.0968883037567139, 0.2191564440727234, 0.147768035531044, 0.1770077347755432, -0.19879744946956635, -0.32418954372406006, 0.5634567141532898, -0.10929767787456512, -0.028881043195724487, -0.23562833666801453, 0.5311585068702698, 0.5676376223564148, 0.7282811999320984, 0.9201695919036865, 0.717234194278717, 0.6879779696464539, -0.22665365040302277, 0.9006519913673401, 0.24396589398384094, 0.3122921288013458, 1.1039727926254272, -0.4007720947265625, 0.13874399662017822, 0.3166869580745697, -0.583524763584137, 0.19727212190628052, 0.3346879482269287, 0.10419559478759766, 0.530247688293457, 0.27546676993370056, 0.019133521243929863, -0.09041984379291534, -0.2673639953136444, -0.6530662178993225, 0.4301222264766693, -0.060404401272535324, -0.3224635720252991, -0.21406283974647522, -0.023648701608181, 0.365107923746109, 0.4036320149898529, -0.4123223125934601, 0.6000444293022156, 0.06346321105957031, -0.4328242838382721, 0.132802352309227, 0.23149658739566803, 0.8217595815658569, -0.3346294164657593, -0.11925170570611954, -0.19448477029800415, 0.02271747589111328, -0.34614741802215576, -0.46969524025917053, 0.5631007552146912, 0.11949654668569565, -0.5665521025657654, -0.08463113754987717, 0.6976282000541687, -0.3962908685207367, -0.586845338344574, 0.4967721104621887, 0.5113519430160522, -0.25031691789627075, 0.2153409868478775, -0.6727400422096252, -0.3411202132701874, -0.24382328987121582, 0.02615980990231037, 0.12906411290168762, 0.06261879950761795, -0.1728130280971527, 0.6764894723892212, 0.8265005946159363, 0.2283516377210617, 0.06323636323213577, 0.5708901882171631, 0.49633556604385376, -0.6745217442512512, -0.6734811067581177, -0.9297782182693481, 0.309002161026001, -0.3849369287490845, -0.04556749388575554, 0.7421080470085144, 0.22280395030975342, 0.6125149130821228, -0.12722504138946533, 0.5201510787010193, 0.05658400431275368, 0.6486043930053711, -0.6282610893249512, 0.7248391509056091, -0.5192323923110962, 0.40747886896133423, -0.8895787000656128, -1.1292617321014404, -0.5399704575538635, 0.5138193964958191, -0.5284663438796997, 0.4407918453216553, 0.39193668961524963, 0.6299343109130859, 0.04736851155757904, 0.10888025909662247, 0.1245986744761467, -0.14185230433940887, 0.4768944978713989, 0.4902172088623047, 0.5927484631538391, -0.6152005791664124, -0.09522794187068939, -0.07972127944231033, -0.4632832407951355, 0.17841781675815582, -1.055586576461792, -0.9483215808868408, -0.14612364768981934, -0.35696840286254883, -0.18789750337600708, 0.41432616114616394, 0.5846855640411377, 0.7889766097068787, -0.6834210157394409, 0.14780336618423462, -0.0545046366751194, 0.5096254944801331, -0.34874385595321655, -0.2618372142314911, 0.4295777678489685, -0.3401068150997162, -0.8367999196052551, 0.008309969678521156, 0.007974803447723389, -0.3641546666622162, -0.2568940818309784, 0.24906499683856964, -0.12612983584403992, 0.34732586145401, 0.5360565781593323, -0.25968486070632935, -0.314368337392807, -0.30970513820648193, -0.5065704584121704, 0.1853756457567215, -0.31728309392929077, 0.5428428053855896, -1.0483217239379883, 0.3774150311946869, 0.7223548889160156, 0.3892673850059509, 0.0895301029086113, 0.09933774173259735, 0.7939180135726929, -0.5929647088050842, 0.5554060339927673, -0.06772860884666443, 0.29964184761047363, 0.21867549419403076, -0.3920738995075226, 0.8076235055923462, 0.1926242709159851, -0.44082173705101013, -1.0473672151565552, 0.2571946084499359, -0.7100547552108765, -0.506975531578064, 0.926231861114502, 0.11624697595834732, 0.26281043887138367, -0.3585653007030487, 0.03166006878018379, 0.28825050592422485, -0.1269131302833557, 0.9933058619499207, 0.34955257177352905, 0.18254858255386353, 0.2806488275527954, -0.7380769848823547, 0.4141845703125, 0.8007388710975647, -0.7667431235313416, -0.18898077309131622, 0.5973301529884338, 0.016483791172504425, -0.06826569885015488, 0.7295963764190674, -0.2466173619031906, 0.35862094163894653, -0.045923832803964615, 0.029462704434990883, 0.28812119364738464, -0.08987777680158615, -0.3021504282951355, 0.06614471226930618, -0.5365034341812134, -0.1467389017343521 ]
http://arxiv.org/abs/2404.00461v1
http://arxiv.org/pdf/2404.00461v1
Shortcuts Arising from Contrast: Effective and Covert Clean-Label Attacks in Prompt-Based Learning
2024-03-30T20:02:36
2024-03-30T20:02:36
Xiaopeng Xie, Ming Yan, Xiwen Zhou, Chenlong Zhao, Suli Wang, Yong Zhang, Joey Tianyi Zhou
cs.LG
cs.LG, cs.AI, cs.CL, cs.CR, 68T50, I.2.7
Prompt-based learning paradigm has demonstrated remarkable efficacy in enhancing the adaptability of pretrained language models (PLMs), particularly in few-shot scenarios. However, this learning paradigm has been shown to be vulnerable to backdoor attacks. The current clean-label attack, employing a specific prompt as a trigger, can achieve success without the need for external triggers and ensure correct labeling of poisoned samples, which is more stealthy compared to the poisoned-label attack, but on the other hand, it faces significant issues with false activations and poses greater challenges, necessitating a higher rate of poisoning. Using conventional negative data augmentation methods, we discovered that it is challenging to trade off between effectiveness and stealthiness in a clean-label setting. In addressing this issue, we are inspired by the notion that a backdoor acts as a shortcut and posit that this shortcut stems from the contrast between the trigger and the data utilized for poisoning. In this study, we propose a method named Contrastive Shortcut Injection (CSI), by leveraging activation values, integrates trigger design and data selection strategies to craft stronger shortcut features. With extensive experiments on full-shot and few-shot text classification tasks, we empirically validate CSI's high effectiveness and high stealthiness at low poisoning rates. Notably, we found that the two approaches play leading roles in full-shot and few-shot settings, respectively.
[ -0.16925238072872162, -0.6894448399543762, 0.6442593336105347, -0.12985999882221222, -0.3575485050678253, 0.08952121436595917, -0.06978994607925415, -0.23413366079330444, -0.009952234104275703, 0.26498672366142273, -0.6212136149406433, -0.8845990300178528, -0.5287767052650452, 0.13025864958763123, -0.131971076130867, 1.1555509567260742, 0.22526463866233826, -0.14552254974842072, 0.21651104092597961, -0.30872049927711487, -0.690400242805481, -0.6073253154754639, -0.6791518926620483, -0.15383532643318176, 0.9301202297210693, 0.4485939145088196, 0.8333590626716614, 0.5610406994819641, 0.25872567296028137, 0.18651194870471954, -0.1571628749370575, -0.2965252697467804, -0.4444253742694855, -0.032629940658807755, -0.523655354976654, -0.6328290104866028, 0.07130137830972672, 0.20549975335597992, 0.46093297004699707, 0.6175556778907776, 0.2924853563308716, -0.1102895438671112, 0.3653387129306793, 0.5592002868652344, -1.0453282594680786, -0.3354804217815399, -0.5127450227737427, -0.06389729678630829, -0.32243070006370544, -0.09569883346557617, -0.47906410694122314, -0.2689705789089203, 0.018597805872559547, -0.6557486057281494, -0.01420433260500431, -0.06001807004213333, 0.7735720276832581, 0.29894545674324036, -0.49673837423324585, -0.46252986788749695, -0.1662231683731079, 0.8757650256156921, -0.6082119941711426, 0.31686002016067505, 0.17109645903110504, 0.40492621064186096, -0.23080331087112427, -0.6813591122627258, -0.32239800691604614, -0.11890868842601776, -0.3229694962501526, 0.15078935027122498, -0.03127075731754303, 0.2594103515148163, 0.352532297372818, 0.09154658019542694, -0.6056666374206543, 0.5642678737640381, -0.1788926124572754, -0.47057288885116577, 0.2204151451587677, 0.4397309422492981, 0.39185068011283875, -0.21615619957447052, -0.5650082230567932, -0.26565390825271606, -1.0505255460739136, 0.2664680480957031, 0.5284145474433899, 0.5180801153182983, -0.1536761373281479, 0.282042533159256, -0.2566329538822174, 0.7564221620559692, -0.1677360236644745, -0.12249797582626343, 0.24026817083358765, -0.5744529366493225, -0.06469877809286118, 0.06280086934566498, 0.7669118642807007, 0.18325549364089966, -0.043380510061979294, 0.15551139414310455, -0.15047571063041687, 0.12373051792383194, -0.09753498435020447, -1.180379867553711, -0.4525741934776306, 0.21653831005096436, -0.39534395933151245, -0.5541356205940247, -0.14501191675662994, -0.8558419346809387, -0.4226967990398407, 0.05041485279798508, 0.7491081357002258, -0.3637748956680298, 0.2556418776512146, -0.08087654411792755, -0.5066309571266174, 0.30901190638542175, 0.34681496024131775, -0.5452705025672913, 0.27943217754364014, 0.6073253154754639, 0.8587411046028137, -0.3238712549209595, -0.1936943084001541, -0.8550883531570435, 0.12934920191764832, -0.31381797790527344, 0.5654205083847046, -0.7315977811813354, -0.6591179370880127, -0.03749840334057808, -0.14747624099254608, 0.10499876737594604, -0.6189053058624268, 0.3336159884929657, -0.42390480637550354, 0.4782150685787201, -0.37367579340934753, -0.24672000110149384, -0.12042771279811859, 0.4052553176879883, -0.5599701404571533, 0.6569113731384277, -0.14716771245002747, -0.7861971855163574, 0.3135392367839813, -0.51133131980896, -0.622080385684967, -0.04855409264564514, -0.16413544118404388, -0.5364738702774048, -0.08760973066091537, 0.16839218139648438, 0.17205028235912323, 0.1189669594168663, -0.09818308800458908, -0.28793710470199585, -0.6692184805870056, 0.3051082491874695, -0.42584070563316345, 1.0805333852767944, 0.1350211650133133, -0.3321438133716583, 0.15104539692401886, -0.7656662464141846, -0.12772256135940552, -0.003246356500312686, -0.17438186705112457, -0.7192949652671814, -0.2840364873409271, -0.4010930359363556, 0.4506095051765442, -0.007728065829724073, -0.3990325331687927, 0.10425552725791931, -0.6164425611495972, -0.0789923369884491, 0.5943949818611145, 0.5313939452171326, 0.5091307163238525, -0.32018089294433594, 0.49056559801101685, 0.23995348811149597, 0.2911873459815979, -0.7041807174682617, -0.4087807536125183, -0.466836154460907, -0.6794882416725159, 0.2781558036804199, 0.8090769648551941, -1.1065963506698608, 0.13514865934848785, 0.16827800869941711, -0.5234209895133972, -0.44568344950675964, 0.20563893020153046, 0.8628828525543213, 0.9567587375640869, 0.7128006815910339, -0.22404246032238007, 0.021543625742197037, -0.787586510181427, -0.7439101934432983, 0.05823838710784912, -0.21403768658638, 0.37067463994026184, 0.4396141767501831, -0.10908778011798859, 0.7259443402290344, -0.8284310698509216, -0.3488621413707733, -0.16550062596797943, 0.3253852427005768, 0.2504594922065735, 0.49436211585998535, 0.5189544558525085, -0.5918381810188293, -0.5763292908668518, -0.5365942120552063, -0.534511148929596, -0.33943140506744385, -0.38051837682724, 0.01970456726849079, -0.24358020722866058, 0.5034445524215698, -0.14763695001602173, 0.6827936172485352, 0.10486665368080139, -0.09881541132926941, 0.5857324004173279, 0.0852091908454895, 0.18484359979629517, -0.9427541494369507, 0.09278645366430283, -0.06600938737392426, 0.11143695563077927, -0.9486268162727356, 0.14922261238098145, 0.3308924734592438, -0.5095492601394653, -1.2163609266281128, 0.9204607605934143, -0.40440037846565247, 0.24120746552944183, -0.2899428904056549, -0.06963825225830078, 0.22314049303531647, 0.6514461636543274, -0.033818360418081284, 0.8694301247596741, 0.4878508448600769, -0.7326211333274841, -0.07490327209234238, 0.25211822986602783, -0.030694277957081795, 0.5614716410636902, -0.4999319612979889, 0.12014351040124893, 0.02102685160934925, 0.3954325020313263, -0.9781029224395752, -0.08796923607587814, 0.7139192819595337, -0.17251062393188477, 0.47079262137413025, -0.09723395109176636, -0.4104720950126648, 0.030049152672290802, -0.8332899808883667, 0.5813755393028259, 0.6922174692153931, -0.860672116279602, 0.2675699293613434, -0.36631304025650024, -0.1914529949426651, -0.7915529608726501, -0.5839930772781372, 0.11078447848558426, -0.3835674524307251, -0.31830042600631714, 0.3312373757362366, -0.09039716422557831, -0.1942761391401291, -0.2927238345146179, -0.12235137075185776, 0.08346839994192123, 0.45495909452438354, 0.19461844861507416, 0.16322223842144012, 0.09774729609489441, 0.07686471194028854, 0.367429256439209, -0.2636793553829193, -0.09409323334693909, 0.28708359599113464, 0.08014217019081116, 0.1486913412809372, -0.32138970494270325, -0.8684695363044739, 0.5102260708808899, 0.2406429946422577, -0.20177064836025238, 0.7050966620445251, 0.08159713447093964, -0.017615223303437233, -0.3781515657901764, -0.14989537000656128, -0.6890095472335815, -0.5916927456855774, 0.16715432703495026, -0.3935151994228363, -0.45007747411727905, 0.5017065405845642, -0.27036142349243164, -0.07490984350442886, 0.004053374286741018, 0.09728767722845078, -0.23960450291633606, 0.6126134991645813, 0.349420964717865, 0.1666470170021057, 0.7566377520561218, -0.009813761338591576, 0.02239760383963585, -0.6764930486679077, -0.14339086413383484, -0.6006961464881897, -0.29801979660987854, -0.45384082198143005, -0.00487971305847168, 0.37692132592201233, 0.11849363893270493, -0.20342501997947693, 0.10272905230522156, -0.3018210232257843, 0.6152510643005371, 0.5973979234695435, 0.4098120331764221, 0.08145630359649658, -0.32676830887794495, -0.2856485843658447, -0.20107313990592957, -0.5953509211540222, -0.23708543181419373, 0.8382331132888794, 0.1808459311723709, 0.9542243480682373, -0.08301591128110886, 1.156399130821228, -0.01607036218047142, 0.2459813803434372, -0.7361879348754883, 0.621557891368866, -0.029788559302687645, -0.5247591733932495, -0.11405221372842789, -0.16516956686973572, -0.9438135027885437, 0.2614760398864746, -0.2512878477573395, -0.44484537839889526, 0.45447397232055664, 0.3323237895965576, -0.4910462498664856, -0.07073531299829483, -1.1071515083312988, 1.0299674272537231, -0.32789307832717896, -0.7159734964370728, 0.1330445110797882, -1.1455014944076538, 0.42019152641296387, -0.2837572395801544, 0.24831676483154297, 0.14797049760818481, -0.28911277651786804, 0.7104324102401733, -0.5247581005096436, 1.1370993852615356, -0.2328246384859085, 0.11504730582237244, 0.2206054925918579, 0.20179243385791779, 0.6243455410003662, -0.21472325921058655, 0.11892805993556976, 0.19629476964473724, -0.4902311861515045, -0.4676665663719177, -0.7962659001350403, 0.36158186197280884, -0.33905836939811707, -0.8653884530067444, -0.4790208041667938, -0.20791901648044586, -0.2908519506454468, 0.2891230583190918, 0.44954365491867065, 0.593904972076416, -0.08051235228776932, -0.10249808430671692, 0.7292363047599792, -0.7780398726463318, 0.6504473090171814, 0.552601158618927, 0.2242927849292755, -0.5145724415779114, 1.0890703201293945, 0.0051033711060881615, 0.6951934099197388, 0.4211760461330414, 0.4319891035556793, -0.2353818267583847, -0.6499080657958984, -0.032842300832271576, 0.2205713391304016, -0.9286958575248718, -0.403586208820343, -0.3569534122943878, -0.030542317777872086, -0.31890997290611267, -0.45159193873405457, -0.11667110025882721, -0.22286249697208405, -0.5944254994392395, -0.01082379836589098, 0.009659996256232262, 0.19702425599098206, -0.20759204030036926, 0.578956663608551, -0.8195434212684631, 0.5225910544395447, 0.42718127369880676, -0.03563977777957916, -0.23863980174064636, -0.3613610565662384, -0.1253085732460022, -0.10208325833082199, -0.44489961862564087, -1.4265421628952026, 0.30084478855133057, 0.16908635199069977, 0.4777243733406067, 0.4514100253582001, 0.4213711619377136, 0.412662535905838, -0.5228504538536072, 0.9279274344444275, 0.3451032042503357, -0.8728720545768738, 0.8232194781303406, -0.08252570778131485, 0.5136117339134216, 0.8895397782325745, 0.526451051235199, -0.38871872425079346, -0.6076087951660156, -0.4243102967739105, -0.8427357077598572, 0.4845081865787506, 0.08333940804004669, -0.06444329023361206, 0.014842290431261063, -0.031325388699769974, 0.4536193311214447, 0.32924607396125793, -0.4842849671840668, -0.361501544713974, -0.32053622603416443, -0.3364887237548828, 0.037218641489744186, -0.206833153963089, -0.09737909585237503, 0.16595371067523956, 0.5604043006896973, -0.00018101181194651872, -0.14112435281276703, -0.024749524891376495, -0.27497419714927673, 0.6330397725105286, 0.8056933879852295, 0.472782164812088, 0.30312249064445496, -0.10319361835718155, 0.3138408958911896, 0.07819662243127823, -0.5329321622848511, 0.2998608350753784, 0.19608306884765625, -0.3972915709018707, 0.05878926068544388, 0.3596622347831726, 0.4845777451992035, 0.5076583623886108, -0.5422767996788025, 0.78988116979599, 0.2461131364107132, 0.2324526458978653, 0.42371973395347595, 0.318482369184494, -0.4158343970775604, 0.017378486692905426, 0.3171284794807434, -0.052440956234931946, 0.3442442715167999, -0.6805009245872498, 0.18754693865776062, 0.4659098982810974, -0.3440154790878296, -0.28343260288238525, 0.2836579978466034, 0.38825514912605286, -0.3398803174495697, 0.6021480560302734, -0.019636282697319984, -0.8108437657356262, 0.4588674306869507, 0.4239480197429657, 0.9028762578964233, -0.49393078684806824, 0.03923598676919937, 0.24492433667182922, 0.3040809631347656, 0.31587663292884827, 0.11478486657142639, -0.39289480447769165, -0.3985508680343628, -0.06084469333291054, -0.2312517762184143, -0.47497808933258057, 0.07101254910230637, -0.6855363249778748, 0.4179072678089142, -0.45264932513237, 0.1813758760690689, -0.11103645712137222, -0.026786016300320625, -0.5307945609092712, 0.3827502727508545, -0.18287673592567444, 1.0526493787765503, -1.190011739730835, 0.8704586029052734, 0.23411276936531067, -0.4795505702495575, -0.5947327613830566, 0.3081664741039276, 0.1082555428147316, -0.6435059309005737, 0.7605106830596924, 0.3931996524333954, -0.07005194574594498, -0.16635040938854218, -0.6231609582901001, -0.32085201144218445, 0.7417567372322083, 0.09726960211992264, -0.4797965884208679, -0.1219906210899353, 0.1177295595407486, 0.37654003500938416, 0.15124942362308502, -0.09093748778104782, 0.5085840225219727, 0.3528653681278229, 0.18036895990371704, -0.5227063298225403, 0.3759349584579468, 0.02909848280251026, -0.31287819147109985, 0.20626786351203918, -0.4104793965816498, 0.5147960782051086, -0.32753491401672363, -0.5007064342498779, -0.03802667558193207, 0.4601658880710602, 0.4082212746143341, 0.7453874945640564, 0.23571088910102844, 0.4593459665775299, 0.5437769889831543, 0.03619842976331711, 0.8609463572502136, 0.04784687981009483, -0.23162660002708435, 1.4963319301605225, -0.30592966079711914, 0.7769939303398132, 0.6988963484764099, 0.23544859886169434, 0.5575484037399292, 0.580062210559845, -0.07543616741895676, 1.2019823789596558, 0.13270056247711182, -0.3160630762577057, 0.028499990701675415, -0.15028585493564606, -0.4455958306789398, 0.0485057532787323, 0.6839414238929749, -0.29977014660835266, -0.4205566942691803, 0.3706754744052887, 0.24020922183990479, 0.08555535972118378, -0.4084617495536804, 0.951434314250946, 0.277221143245697, -0.5285372734069824, 0.48923778533935547, -0.25347545742988586, 0.7855457663536072, -0.6654474139213562, -0.12082050740718842, -0.30405154824256897, -0.1550525277853012, -0.2158270627260208, -0.8714589476585388, 0.14355406165122986, -0.12451840192079544, 0.29483962059020996, -0.25977349281311035, 0.8529025316238403, -0.3564561903476715, 0.19298993051052094, 0.05623658001422882, 0.240988090634346, 0.019245319068431854, -0.010233784094452858, -0.6923505067825317, 0.1572737842798233, -0.14438919723033905, -0.046535711735486984, 0.40658754110336304, 0.21901331841945648, 0.1056440994143486, 0.35180941224098206, 0.57308429479599, 0.03243589028716087, 0.13287335634231567, -0.2964513301849365, 1.0248212814331055, -0.7662001848220825, -0.9026270508766174, -0.8200438618659973, 0.5775822401046753, -0.12037614732980728, -0.1786165088415146, 0.9401955008506775, 0.5985181331634521, 0.6976936459541321, -0.01710178703069687, 0.653339684009552, 0.683892011642456, 0.4626602232456207, -0.6569167971611023, 0.7379406690597534, -0.43084853887557983, 0.34280291199684143, -0.34435519576072693, -0.5912255048751831, -0.4021212160587311, -0.03053865395486355, -0.49239659309387207, -0.0723930224776268, 1.0325795412063599, 0.946773886680603, 0.03049476444721222, -0.25249359011650085, 0.394321084022522, 0.10973850637674332, 0.5094922184944153, 0.6973668336868286, 0.9553166627883911, -0.3341713547706604, 0.7133527398109436, -0.4131453037261963, -0.30724069476127625, -0.23841983079910278, -0.9289201498031616, -1.2246464490890503, -0.2214706391096115, -0.40571197867393494, -0.506750762462616, 0.42132583260536194, 0.5105755925178528, 0.3423464298248291, -0.674150288105011, 0.30492523312568665, 0.05054355412721634, 0.4984801709651947, -0.11311496794223785, -0.20359212160110474, 0.5007040500640869, -0.4137328565120697, -0.4826967716217041, 0.6267277598381042, 0.29916420578956604, 0.45844051241874695, 0.2020559012889862, 0.06628090143203735, 0.07067413628101349, 0.19026194512844086, 0.14718352258205414, 0.7348328828811646, -0.4750021696090698, -0.1673078089952469, -0.27787095308303833, -0.3651120960712433, -0.009264158084988594, 0.9073541164398193, -1.1085094213485718, 0.5209094882011414, 0.5982294678688049, 0.654351532459259, 0.24366417527198792, 0.06919275224208832, 0.3199959397315979, -1.0836849212646484, 0.4222949147224426, 0.3630923926830292, 0.003890840569511056, 0.4390667676925659, -0.40022948384284973, 0.12976862490177155, 0.2539174556732178, -0.07346733659505844, -0.9271510243415833, 0.48349905014038086, -0.7918479442596436, -0.721527636051178, 1.2596170902252197, -0.15877097845077515, -0.4036884307861328, -0.3093688488006592, -0.2571685016155243, 0.17367172241210938, -0.3891575336456299, 0.5427101850509644, 0.2782771587371826, 0.026165012270212173, 0.19980871677398682, -0.08382544666528702, 0.8282135725021362, 0.28640925884246826, -0.9527710676193237, -0.20149657130241394, 0.5523034930229187, 0.36613866686820984, 0.16588792204856873, 0.193374365568161, -0.01711004599928856, 0.4952991008758545, 0.05660271272063255, -0.3761520981788635, -0.3388842046260834, -0.6265103220939636, -0.7246999144554138, 0.4409775733947754, -0.2504815459251404, -0.6478032469749451 ]
http://arxiv.org/abs/2404.00459v1
http://arxiv.org/pdf/2404.00459v1
NumeroLogic: Number Encoding for Enhanced LLMs' Numerical Reasoning
2024-03-30T19:46:59
2024-03-30T19:46:59
Eli Schwartz, Leshem Choshen, Joseph Shtok, Sivan Doveh, Leonid Karlinsky, Assaf Arbelle
cs.CL
cs.CL
Language models struggle with handling numerical data and performing arithmetic operations. We hypothesize that this limitation can be partially attributed to non-intuitive textual numbers representation. When a digit is read or generated by a causal language model it does not know its place value (e.g. thousands vs. hundreds) until the entire number is processed. To address this issue, we propose a simple adjustment to how numbers are represented by including the count of digits before each number. For instance, instead of "42", we suggest using "{2:42}" as the new format. This approach, which we term NumeroLogic, offers an added advantage in number generation by serving as a Chain of Thought (CoT). By requiring the model to consider the number of digits first, it enhances the reasoning process before generating the actual number. We use arithmetic tasks to demonstrate the effectiveness of the NumeroLogic formatting. We further demonstrate NumeroLogic applicability to general natural language modeling, improving language understanding performance in the MMLU benchmark.
[ -0.5108844041824341, -0.6111756563186646, 0.6386780142784119, 0.40720757842063904, -0.7500733733177185, -0.12987789511680603, -0.2746298015117645, -0.15757399797439575, 0.21042829751968384, 0.7819926738739014, -0.44710469245910645, -0.5340514183044434, -0.4995157718658447, 0.7184450626373291, 0.07704073190689087, 0.7628790736198425, 0.2340133935213089, 0.23906761407852173, -0.25318312644958496, -0.165070578455925, -0.2714826166629791, -0.8915011286735535, -0.6217474341392517, -0.507771372795105, 0.4374369978904724, 0.27159327268600464, 1.0242687463760376, 0.8027500510215759, 0.7795854806900024, 0.33233949542045593, -0.06681576371192932, 0.4286002218723297, -0.24651044607162476, 0.09162039309740067, 0.20567432045936584, -0.6315014362335205, -0.779449999332428, -0.2758539319038391, 0.6865184903144836, 0.9847503304481506, -0.2654772400856018, -0.03735866770148277, -0.5043672919273376, 0.9756481051445007, -0.5631203055381775, 0.2023279368877411, -0.513604462146759, 0.13697823882102966, -0.15008445084095, -0.46842071413993835, -0.6719558238983154, -0.587066650390625, -0.28628307580947876, -0.6633292436599731, -0.060958899557590485, -0.036043379455804825, 0.1178315281867981, 0.4193175137042999, -0.5478042364120483, -0.3989587128162384, -0.6052519679069519, 0.5753220915794373, -1.0497100353240967, 0.24106355011463165, 0.6608765721321106, 0.09478258341550827, -0.04312146082520485, -0.38666707277297974, -0.28399693965911865, -0.2122361809015274, 0.07117951661348343, -0.031817127019166946, -0.22599086165428162, 0.11148399114608765, 0.731235146522522, 0.5332826972007751, -0.5500956177711487, 0.01170248445123434, -0.35347428917884827, -0.08900171518325806, 0.7443531155586243, 0.46750617027282715, 0.3037460446357727, 0.0008525370503775775, -0.03854917734861374, 0.09021451324224472, -0.8146893978118896, -0.33789414167404175, 0.2797216773033142, 0.014367937110364437, -0.1302725374698639, 0.5642126798629761, -0.3244740664958954, 0.8899131417274475, 0.06519928574562073, 0.004980835597962141, 0.224900022149086, -0.03373003751039505, -0.5662702322006226, 0.36657869815826416, 0.49014410376548767, 0.4021504521369934, 0.6385371088981628, 0.04711352661252022, -0.09644932299852371, 0.35222184658050537, 0.18234379589557648, -1.0144975185394287, -0.09449569880962372, 0.09035371243953705, -0.044193483889102936, -0.6035152077674866, -0.008840936236083508, -0.398268461227417, -0.499409556388855, -0.45982784032821655, 0.0016048247925937176, -0.6119946837425232, -0.20667237043380737, 0.5822348594665527, 0.1217651292681694, 0.04854821041226387, 0.5427496433258057, -1.380237340927124, 0.3591316342353821, 0.8448207974433899, 0.49709275364875793, 0.4843912422657013, 0.210523322224617, -0.3236077129840851, 0.06635507941246033, -0.7462925910949707, 0.7061830759048462, -0.6791216731071472, -0.5028665661811829, -0.35649773478507996, -0.13020941615104675, 0.07745847851037979, -0.5802230834960938, 0.13205446302890778, -0.7106577754020691, 0.20459969341754913, -0.18326915800571442, -0.5930978059768677, -0.20951350033283234, 0.04319994896650314, -0.8621614575386047, 0.8411298394203186, 0.03844114765524864, -0.47843703627586365, 0.09518638253211975, -0.5225754976272583, -0.1941736489534378, 0.3300151228904724, -0.16911612451076508, -0.08869785815477371, 0.7263801097869873, 0.16788369417190552, 0.02465217560529709, -0.4861234128475189, 0.6122404932975769, -0.3366934657096863, -0.5113811492919922, 0.509787380695343, -0.764937698841095, 0.811377227306366, 0.2821245491504669, -0.15782706439495087, -0.11046802252531052, -0.7856131196022034, 0.130812868475914, 0.025685355067253113, -0.33648812770843506, -0.4539652168750763, -0.3662866950035095, -0.610101044178009, 0.08065089583396912, 0.19062386453151703, -0.053405728191137314, 0.3855435252189636, -0.6311246156692505, 0.12558512389659882, 0.6230430006980896, 0.009536724537611008, 0.8039394021034241, -0.2444106787443161, 0.6260387897491455, -0.08440671116113663, -0.12679725885391235, -0.36267462372779846, -0.6924917697906494, -0.8830839395523071, 0.2041930854320526, 0.25074997544288635, 0.4659201502799988, -0.914050281047821, 0.18207527697086334, -0.14994312822818756, -0.31758183240890503, -0.5331164002418518, 0.10287141799926758, 0.4056108593940735, 0.2109055072069168, 0.11574506759643555, -0.430101215839386, -0.6797086596488953, -0.45665714144706726, -0.0963362380862236, -0.05153755843639374, -0.11191502958536148, 0.20313867926597595, 0.2081092894077301, -0.005790055729448795, 0.4703899919986725, -0.5469024777412415, 0.25841090083122253, 0.008000396192073822, 0.42178240418434143, 0.4534074664115906, 0.28067919611930847, 0.23889395594596863, -0.7196347713470459, -0.26911839842796326, -0.09566337615251541, -1.1217387914657593, -0.40176811814308167, 0.04207997769117355, -0.2721293270587921, 0.5340331196784973, 0.445827841758728, -0.5075132846832275, 0.4948500990867615, 0.5852338671684265, -0.6712114810943604, 0.4331941604614258, -0.5003997087478638, 0.15851843357086182, -0.7402915954589844, -0.3008440136909485, 0.08445524424314499, -0.036404579877853394, -0.8957498073577881, -0.10673724114894867, 0.17122986912727356, -0.18099096417427063, -0.2668728530406952, 0.3158840835094452, -0.6905754208564758, -0.1990773230791092, -0.45664697885513306, 0.03521787002682686, 0.2924630045890808, 0.3700219988822937, 0.19314071536064148, 0.7626751065254211, 0.22895199060440063, -0.530422031879425, 0.3215946555137634, -0.09789256751537323, -0.17546585202217102, 0.5598689317703247, -0.502088189125061, 0.35781365633010864, -0.2921224534511566, 0.2964531481266022, -0.6740255951881409, -0.09851714968681335, 0.22774146497249603, -0.42087116837501526, 0.238382488489151, -0.21379266679286957, -0.5829781293869019, 0.057711854577064514, -0.2607969045639038, 0.714816689491272, 0.6316498517990112, -0.06776372343301773, 0.4497982859611511, 0.1453177034854889, -0.21874436736106873, -0.16730374097824097, -0.5500819087028503, 0.16148079931735992, -0.6055121421813965, -0.7414923906326294, 0.24022842943668365, -0.12133211642503738, -0.868293046951294, -0.29588231444358826, -0.11291676759719849, -0.04446050524711609, 0.17571277916431427, -0.053014252334833145, 0.5035951733589172, -0.4638828933238983, 0.3717828094959259, -0.0810229554772377, -0.5465891361236572, 0.4067455232143402, -0.2524789869785309, 0.6343048214912415, -0.15030533075332642, -0.31692200899124146, -0.10143877565860748, 0.350875586271286, 0.5504397749900818, -0.371662974357605, 0.6623523235321045, 0.500903844833374, -0.5403862595558167, 0.17626255750656128, -0.4036964476108551, -0.17988881468772888, -0.4916921854019165, -0.05266037583351135, -0.39981427788734436, -0.7004755735397339, 0.34095633029937744, -0.059575315564870834, -0.34174251556396484, 0.4917517900466919, 0.6623911261558533, 0.10946483165025711, 1.3336737155914307, 0.21575000882148743, 0.45009270310401917, 0.283943235874176, -0.10072524845600128, 0.09865853190422058, -0.9339560270309448, -0.3272548019886017, -0.32905104756355286, 0.1101464256644249, -0.5111526846885681, -0.7857635617256165, 0.2326236218214035, 0.28962114453315735, -0.3725895285606384, 0.05580773577094078, -0.4515196681022644, 0.6091981530189514, 0.29469528794288635, 0.12596598267555237, 0.4536297619342804, 0.16628804802894592, -0.0007523565436713398, -0.5107430815696716, -0.5034746527671814, -0.6857524514198303, 0.9030572772026062, 0.10360870510339737, 0.9180800318717957, 0.5500152707099915, 0.7595109343528748, 0.18962499499320984, 0.638220489025116, -0.6505209803581238, 0.5765621662139893, -0.4390113353729248, -0.4416449964046478, -0.40918222069740295, -0.6053684949874878, -0.6901175379753113, 0.39890071749687195, -0.054384078830480576, -0.7497749328613281, 0.27103063464164734, -0.0012127533555030823, -0.35140347480773926, 0.2035084217786789, -0.5016264915466309, 0.37721049785614014, -0.42650893330574036, -0.29320597648620605, -0.17731285095214844, -0.40760281682014465, 0.48243606090545654, -0.09802025556564331, 0.5548453330993652, -0.44695109128952026, -0.14012815058231354, 0.655389130115509, -0.6637289524078369, 1.0077524185180664, -0.018722062930464745, -0.33232781291007996, 0.15660670399665833, 0.4356120228767395, 0.4808814823627472, 0.03274446725845337, -0.3223586678504944, 0.057694993913173676, -0.3776046931743622, -0.1801391839981079, -0.8614226579666138, 0.5443372130393982, -0.5198314189910889, -0.7640680074691772, -0.49069303274154663, -0.78947514295578, -0.0927867665886879, 0.020512891933321953, 0.16086630523204803, 0.83991539478302, 0.1566905677318573, 0.21787923574447632, 0.8996546268463135, -0.13653752207756042, 0.37420517206192017, 0.4468097686767578, -0.32624533772468567, -0.789319634437561, 0.6483320593833923, 0.18881899118423462, 0.43542423844337463, 0.49344727396965027, 0.23488114774227142, -0.4339514970779419, -0.2806060314178467, -0.4028675854206085, 0.29194527864456177, -1.0139198303222656, -0.21649281680583954, -0.46057602763175964, 0.019621586427092552, -0.5173740386962891, -0.1812966763973236, 0.3185213804244995, -0.8145288825035095, -0.4926110506057739, -0.07600660622119904, 0.8139439225196838, 0.8256296515464783, -0.17554090917110443, 0.28539401292800903, -0.8223549127578735, 0.4609610140323639, 0.20471003651618958, 0.4733711779117584, 0.1019839346408844, -0.8059171438217163, -0.2381165623664856, 0.08944546431303024, 0.15214978158473969, -1.0443378686904907, 0.5260999202728271, 0.07883521914482117, 0.24460504949092865, 0.41938820481300354, -0.11173921078443527, 0.81541907787323, -0.5022578239440918, 0.17530839145183563, 0.22021833062171936, -0.9453721046447754, 0.35433483123779297, -0.28866279125213623, 0.5737434029579163, 0.3721533715724945, 0.2223520129919052, -0.5736040472984314, -0.1828112006187439, -0.7653973698616028, -0.7863141298294067, 0.5164995789527893, 0.20778323709964752, 0.21121376752853394, -0.3559618592262268, 0.24218103289604187, -0.09842944890260696, 0.14166101813316345, -0.5370242595672607, -0.22634980082511902, -0.16800826787948608, -0.2234436571598053, -0.1141415536403656, -0.5948703289031982, -0.015857962891459465, -0.28142863512039185, 0.4823135435581207, -0.1638530045747757, 0.13994865119457245, -0.014576470479369164, -0.23432916402816772, 0.10114098340272903, 0.4180695414543152, 0.990378201007843, 0.7121460437774658, -0.2548106610774994, 0.4557143449783325, 0.27373117208480835, -0.4463435411453247, 0.24211646616458893, -0.0686594694852829, 0.08513594418764114, 0.1739325076341629, 0.4174046218395233, 0.8082690834999084, 0.7281391620635986, -0.2826805114746094, 0.020380515605211258, -0.042877741158008575, -0.21309061348438263, -0.31787344813346863, 0.056317828595638275, 0.1987631618976593, 0.0022982554510235786, 0.2735762298107147, -0.11423219740390778, 0.24872639775276184, -0.4119536578655243, 0.14064791798591614, 0.07003501057624817, -0.2716561555862427, -0.17440934479236603, 0.549854040145874, 0.21149465441703796, -0.6737202405929565, 0.7764984369277954, -0.18864718079566956, -0.23976460099220276, 1.0519826412200928, 0.8521953821182251, 0.8155176639556885, -0.2180718183517456, 0.23842909932136536, 0.4364143908023834, 0.2645586431026459, -0.07690771669149399, 0.460772305727005, -0.04528616741299629, -0.8294421434402466, -0.5233797430992126, -0.5622563362121582, -0.503742516040802, -0.4253952205181122, -0.8000495433807373, 0.1751488596200943, -0.6745452284812927, -0.2841598689556122, 0.30071404576301575, -0.24308310449123383, -0.5128633379936218, 0.3867018222808838, 0.716549277305603, 1.006312370300293, -0.7608127593994141, 0.732032299041748, 0.6398493051528931, -0.3070080876350403, -0.7679120302200317, -0.5929126143455505, 0.10616055876016617, -1.2437329292297363, 0.34079357981681824, 0.3310537338256836, -0.020261110737919807, 0.2976892292499542, -0.39815783500671387, -0.8019521236419678, 1.1171895265579224, 0.3689424693584442, -0.6219570636749268, 0.14498910307884216, 0.3148178160190582, 0.6359933018684387, -0.611804187297821, 0.2681085169315338, 0.6693981289863586, 0.5884308218955994, 0.3498585820198059, -0.4232354462146759, 0.2579781413078308, -0.5322672128677368, 0.20562925934791565, 0.573196530342102, -0.176543727517128, 0.9019847512245178, -0.5623171329498291, -0.17238172888755798, -0.053257979452610016, 0.2205227166414261, 0.7641545534133911, 0.49287086725234985, 0.2480747103691101, 0.72396320104599, 0.9660652279853821, -0.3654324412345886, 1.3549249172210693, -0.19660930335521698, 0.20626364648342133, 0.902716338634491, -0.15536294877529144, 0.29085245728492737, 0.4026843011379242, -0.3637333810329437, 0.5918889045715332, 0.584460437297821, -0.03962311893701553, 0.43830573558807373, 0.30077534914016724, -0.6571142077445984, -0.40669840574264526, -0.24318256974220276, -0.3962242603302002, 0.2754214107990265, 0.4386851191520691, -0.45848381519317627, -0.09210187196731567, -0.3004380464553833, 0.38331592082977295, 0.12461207062005997, -0.49155616760253906, 1.0823994874954224, 0.4168877899646759, -0.48628899455070496, 0.6795312762260437, 0.1041802391409874, 0.32161253690719604, -0.42154592275619507, -0.3451020121574402, -0.4710962772369385, -0.17473557591438293, -0.32407429814338684, -0.6930281519889832, 0.2277483493089676, 0.038776420056819916, -0.12915261089801788, -0.20907649397850037, 0.6108009815216064, -0.5166957378387451, -0.9860883951187134, -0.16894349455833435, 0.3586544692516327, 0.44195258617401123, -0.08408661186695099, -0.3293282091617584, 0.18213261663913727, 0.0033192276023328304, -0.02504105493426323, 0.06800780445337296, 1.0920296907424927, -0.46518203616142273, 0.5384045243263245, 0.8127480745315552, -0.09941272437572479, -0.07035236060619354, 0.7430092096328735, 0.5836676955223083, -1.1608532667160034, -0.4765882194042206, -1.4010835886001587, 0.446181982755661, 0.05034192278981209, -0.06033103168010712, 0.5480911135673523, 0.25529882311820984, 0.2532327175140381, 0.029863480478525162, 0.47529029846191406, 0.2637639343738556, -0.41238972544670105, -0.7851443290710449, 0.1868717223405838, -0.11855284124612808, 0.6340368986129761, -0.0424102284014225, -0.8485087156295776, -0.7476385831832886, 0.5642498135566711, -0.5224571228027344, 0.03889105096459389, 0.657455325126648, 0.49776676297187805, 0.36982494592666626, 0.2600439190864563, 0.5800723433494568, 0.030601264908909798, 0.0238000750541687, 0.6773179769515991, 0.8426036238670349, -0.2464907467365265, 0.22780224680900574, -0.3031209707260132, -0.2306843400001526, -0.16903263330459595, -0.9041122794151306, -0.6521373391151428, 0.0852799341082573, -0.14869336783885956, -0.34398120641708374, -0.17502500116825104, 0.8263528347015381, 0.3069530129432678, -0.5345819592475891, -0.31171438097953796, -0.1543683409690857, 0.21085408329963684, 0.14642751216888428, -0.16138264536857605, -0.014431695453822613, -0.07440464198589325, -0.47439539432525635, 0.10860050469636917, 0.5677019357681274, 0.471151739358902, -0.3253454267978668, -0.1980268359184265, 0.18928147852420807, 0.24398133158683777, 0.6413946747779846, -0.00641166465356946, -0.6873610019683838, 0.11026500910520554, 0.21107494831085205, -0.1604345589876175, 0.23883451521396637, 1.0191179513931274, -0.7549353241920471, 0.5392631888389587, 0.2760290801525116, 0.2747723460197449, 0.38005125522613525, 0.28555840253829956, 0.8648960590362549, -0.3577934801578522, 0.3942470848560333, 0.27166417241096497, 0.42278948426246643, 0.5783877968788147, -0.48470538854599, 0.6530495882034302, 0.07901810854673386, -0.20941688120365143, -0.7286569476127625, 0.3131409287452698, -0.7328910231590271, -0.052649252116680145, 1.046752691268921, 0.08857771754264832, -0.0465574748814106, -0.019127221778035164, -0.12618210911750793, -0.07906915247440338, -0.33921781182289124, 0.7435625791549683, 0.7367568016052246, -0.1319223791360855, -0.44626080989837646, -0.3479866087436676, 0.3902094066143036, 0.27684617042541504, -0.9026997685432434, -0.023068897426128387, 0.5159211754798889, -0.05759532377123833, 0.023322971537709236, 1.029577612876892, -0.4364114999771118, 0.41673651337623596, 0.22915874421596527, 0.002584477886557579, -0.04646407440304756, -0.06611532717943192, -0.7940220236778259, -0.250843346118927, 0.287286639213562, 0.35983410477638245 ]
http://arxiv.org/abs/2404.00458v1
http://arxiv.org/pdf/2404.00458v1
Beyond One-Size-Fits-All: Multi-Domain, Multi-Task Framework for Embedding Model Selection
2024-03-30T19:45:04
2024-03-30T19:45:04
Vivek Khetan
cs.CL
cs.CL, cs.IR
This position paper proposes a systematic approach towards developing a framework to help select the most effective embedding models for natural language processing (NLP) tasks, addressing the challenge posed by the proliferation of both proprietary and open-source encoder models.
[ -0.7759041786193848, -0.6917300224304199, 0.5873537063598633, 0.5588075518608093, -0.03132060542702675, -0.14728319644927979, -0.04942813515663147, -0.35032495856285095, 0.27470818161964417, 0.5712660551071167, -0.49156680703163147, -0.408245325088501, -0.9261905550956726, 0.1360568404197693, -0.3527452051639557, 0.7038795351982117, -0.18000361323356628, 0.12529563903808594, -0.5538252592086792, -0.16668282449245453, -0.5350643396377563, -0.3980174958705902, -0.5453996658325195, -0.5420505404472351, 0.10340255498886108, 0.13268913328647614, 0.8063468933105469, 0.5099952816963196, 0.5813758373260498, 0.04728969931602478, -0.03195369616150856, 0.128198504447937, -0.10284522920846939, 0.5000128149986267, -0.283890962600708, -0.14230890572071075, -0.3827364444732666, 0.03177880495786667, 0.5575959086418152, 0.5570285320281982, -0.2943514883518219, 0.4301248788833618, 0.1149587407708168, 0.33366212248802185, -0.9780259132385254, -0.16888120770454407, -0.424742192029953, 0.3737086057662964, -0.01626085862517357, 0.05137931555509567, -0.4291301667690277, -0.07093669474124908, 0.4265129566192627, -0.5403457880020142, 0.13963860273361206, 0.2427346259355545, 0.21018707752227783, 0.3307269513607025, -0.510094165802002, -0.25300392508506775, -0.558735191822052, 0.959404706954956, -0.7660927772521973, 0.7938185334205627, 0.4918995499610901, 0.13015100359916687, -0.022599712014198303, -0.6485139727592468, -0.2557310163974762, 0.035951219499111176, 0.07194890826940536, -0.261903315782547, -0.14208200573921204, 0.18663251399993896, 0.14503708481788635, 0.32708001136779785, -0.7843683362007141, -0.03518741950392723, 0.06568768620491028, 0.08646818995475769, 0.3322460353374481, -0.15415851771831512, 0.24146592617034912, 0.06375420838594437, -0.27817681431770325, 0.29571419954299927, -0.5585777759552002, -0.39185914397239685, 0.08176419883966446, 0.39838290214538574, 0.01915079541504383, 0.6580321788787842, 0.016406215727329254, 0.9820526242256165, 0.07675018906593323, -0.0446254201233387, -0.08630792051553726, -0.17821626365184784, -0.6737823486328125, -0.04153924807906151, 0.46085578203201294, 0.011613999493420124, 0.061206310987472534, -0.42260757088661194, -0.13143378496170044, 0.08271941542625427, 0.6720258593559265, -0.723025381565094, 0.11083247512578964, 0.45828303694725037, -0.6720373034477234, -0.08675295114517212, 0.10593497008085251, -0.8782339692115784, -0.2949945628643036, -0.32083967328071594, 0.2739436626434326, -0.2092045247554779, -0.3581647276878357, 0.4689231812953949, -0.40079233050346375, 0.023117436096072197, -0.059036217629909515, -0.8841120004653931, 0.593528151512146, 0.6518228650093079, 1.0792107582092285, -0.4004747271537781, -0.1933305859565735, -0.30857834219932556, 0.2704242765903473, -0.17571114003658295, 0.7903358340263367, -0.884069561958313, -0.6335864067077637, 0.2319982498884201, -0.18026624619960785, -0.4041031002998352, -0.22943882644176483, 0.614565372467041, -0.4318457543849945, 0.06467168033123016, -0.33624210953712463, -0.71517413854599, -0.31315961480140686, 0.5018277764320374, -0.8600969910621643, 0.9321987628936768, 0.19294114410877228, -0.7881547808647156, 0.36897340416908264, -1.1578278541564941, -0.3799172341823578, -0.21558596193790436, -0.0851786881685257, -0.37967848777770996, 0.03524445742368698, 0.406650185585022, 0.7813857197761536, -0.5781375765800476, 0.382876455783844, -0.5087869763374329, -0.10153459012508392, -0.08717839419841766, -0.10459116846323013, 0.8340849876403809, 0.40287715196609497, -0.18307915329933167, 0.275410920381546, -0.42980554699897766, 0.04886258766055107, 0.18515358865261078, -0.15253764390945435, -0.4092770218849182, 0.05339377000927925, 0.542131781578064, 0.5376790165901184, 0.22977116703987122, -0.7290812134742737, 0.26140111684799194, -0.11459869146347046, 0.5835309028625488, 0.31355521082878113, -0.02075565792620182, 0.8531414866447449, -0.5716665983200073, 0.8810665607452393, -0.3139019012451172, 0.2120048552751541, -0.0964210033416748, -0.7366046905517578, -0.2534492313861847, -0.30936959385871887, 0.2960956394672394, 0.4777001440525055, -0.40480050444602966, 0.5165368914604187, -0.042226821184158325, -0.5077680945396423, -0.6674342751502991, 0.17050965130329132, 0.23601876199245453, -0.1586403250694275, 0.44908055663108826, -0.24354076385498047, -0.6581548452377319, -1.0512769222259521, -0.07668941468000412, 0.41967105865478516, 0.026770509779453278, 0.041672829538583755, 0.7109590768814087, -0.4786129593849182, 1.1791163682937622, -0.558336615562439, -0.5340958833694458, -0.27465930581092834, -0.08895101398229599, -0.014080948196351528, 0.7402791380882263, 0.9619962573051453, -0.9977445006370544, -0.5855581164360046, -0.052840977907180786, -0.5598230957984924, 0.2696119248867035, -0.03860236331820488, -0.23417025804519653, -0.140419602394104, 0.2542930543422699, -0.8475778698921204, 0.5014116168022156, 0.8210037350654602, -0.3554902672767639, 0.40072494745254517, -0.20612066984176636, 0.10958119481801987, -1.1225801706314087, 0.2036450058221817, 0.3194192349910736, -0.37749195098876953, -0.5781974792480469, 0.5094046592712402, 0.1719738245010376, -0.2429301142692566, -0.23905234038829803, 0.6193904280662537, -0.4935401976108551, -0.21364350616931915, -0.09885147958993912, 0.04003894701600075, 0.25019970536231995, 0.3924694359302521, 0.1426624208688736, 0.5783159136772156, 0.6881225109100342, -0.6167431473731995, 0.006265756208449602, 0.6669318675994873, -0.18404226005077362, 0.6345271468162537, -0.8548449277877808, 0.214874267578125, -0.21031461656093597, 0.18630683422088623, -0.8259524703025818, -0.01484690885990858, -0.10468915849924088, -0.09402261674404144, 0.290513813495636, -0.276467889547348, -0.6413693428039551, -0.3050028681755066, -0.30928778648376465, 0.19065384566783905, 0.03392507880926132, -0.5356022715568542, 0.9136324524879456, 0.8198702931404114, -0.28868433833122253, -0.6344111561775208, -0.7733291983604431, -0.16682925820350647, 0.0017742420313879848, -0.5257350206375122, 0.9452801942825317, -0.2260829210281372, -0.017168298363685608, 0.06483636051416397, -0.299554705619812, -0.38221797347068787, 0.12273921817541122, 0.21397633850574493, 0.12814243137836456, -0.35822319984436035, 0.004705339670181274, 0.3041698634624481, -0.0477929413318634, -0.1487104296684265, -0.48118856549263, 0.4883415699005127, 0.17825035750865936, -0.603289783000946, -0.10488050431013107, 1.063715934753418, 0.5688989758491516, -0.719887375831604, 0.6881680488586426, 0.5839176774024963, -0.5678332448005676, -0.4861898422241211, -0.48703625798225403, -0.02313745580613613, -0.4191659986972809, 0.41933220624923706, -0.44016948342323303, -1.0813512802124023, 0.3670888841152191, -0.092008575797081, 0.36120662093162537, 0.24297571182250977, 0.4010578393936157, 0.426273912191391, 1.3549624681472778, 1.1106877326965332, -0.18080873787403107, 0.520098865032196, -0.25401580333709717, 0.4138244688510895, -1.019700527191162, -0.1205463632941246, -0.6288841366767883, -0.19068467617034912, -0.1648864448070526, -0.5355643630027771, 0.14377905428409576, 0.06971065700054169, -0.38701704144477844, 0.5798088312149048, -1.0058300495147705, 0.3373352885246277, 0.5687628388404846, -0.15886038541793823, 0.019608892500400543, -0.1913309544324875, -0.3252619802951813, 0.09317401051521301, -0.831272304058075, -0.6242231130599976, 1.2569444179534912, 0.4709838032722473, 0.5095311403274536, 0.3825114965438843, 0.47686269879341125, 0.2033161222934723, 0.12981536984443665, -0.7336325645446777, 0.2613869309425354, -0.4719544053077698, -1.0349332094192505, -0.29494982957839966, 0.11656244099140167, -0.7908719778060913, 0.5786004066467285, -0.5393220782279968, -0.8137714862823486, 0.2886054515838623, -0.07738170027732849, -0.4297271966934204, 0.5779298543930054, -0.4570173919200897, 1.1559091806411743, 0.19148226082324982, 0.2008489966392517, -0.12179948389530182, -0.3229525685310364, 0.14655150473117828, -0.12821994721889496, 0.2801160216331482, -0.1392802894115448, -0.1062433198094368, 0.7428712248802185, 0.3678836524486542, 0.6926551461219788, -0.2191276252269745, 0.03243637830018997, 0.16077575087547302, 0.3646470010280609, 0.28878888487815857, 0.1394464522600174, -0.2558341920375824, 0.197546124458313, 0.33816248178482056, -0.31345653533935547, -0.47192853689193726, 0.5739981532096863, -0.655677080154419, -0.26380154490470886, -0.15430830419063568, -0.45514050126075745, -0.36359328031539917, 0.15463665127754211, 0.1988498419523239, 0.443930059671402, -0.5386914014816284, 0.5840678215026855, 0.7377645373344421, -0.10498818755149841, 0.4802424907684326, 0.09262928366661072, -0.357372909784317, -0.17002582550048828, 0.5191187858581543, 0.12373509258031845, 0.0598427876830101, 0.5397257804870605, 0.04551547393202782, -0.20235759019851685, -0.45629626512527466, -0.26593446731567383, -0.10672567039728165, -0.8325343132019043, -0.23190724849700928, -0.9413530230522156, -0.1315140575170517, -0.7765747904777527, -0.4140113890171051, -0.6966281533241272, -0.3814173936843872, -0.32623419165611267, -0.15775354206562042, 0.15302908420562744, 0.9877593517303467, 0.18194670975208282, 0.47667810320854187, -0.820844829082489, 0.42172467708587646, 0.139590784907341, 0.6212002635002136, 0.07887855172157288, -0.3059917390346527, -0.28039824962615967, -0.00456283101812005, -0.49513253569602966, -0.9194778800010681, 0.5244649648666382, 0.23180796205997467, 1.1049071550369263, 0.2073393613100052, -0.02182655967772007, 0.2768595218658447, -0.5922977924346924, 0.8498545289039612, 0.3430682122707367, -0.9746768474578857, 0.62628573179245, -0.17666621506214142, 0.33504316210746765, 0.33994144201278687, 0.8252034187316895, -0.589900016784668, -0.048513393849134445, -0.41550886631011963, -0.7685473561286926, 0.3901396691799164, 0.07955067604780197, -0.08273892849683762, -0.10322800278663635, 0.18080060184001923, 0.316163033246994, 0.30564171075820923, -0.6367513537406921, -0.38973721861839294, -0.14072036743164062, -0.337473064661026, 0.024362236261367798, -0.14091670513153076, -0.15678636729717255, -0.1577879637479782, 0.5182914733886719, -0.37223485112190247, 0.7059937119483948, 0.20803767442703247, -0.2742467224597931, -0.20628581941127777, 0.21803444623947144, 0.4126613438129425, 0.8983712196350098, -0.08522603660821915, -0.07056758552789688, -0.12659072875976562, -0.31697937846183777, -0.1660115122795105, 0.17374221980571747, 0.030434921383857727, 0.05030398443341255, 0.3379209041595459, 0.8070125579833984, 0.3890571892261505, -0.46416738629341125, 0.6692079305648804, 0.11385932564735413, -0.39091286063194275, -0.1884557008743286, -0.10844811797142029, -0.06626193225383759, 0.26003336906433105, 0.47101593017578125, 0.35258492827415466, 0.30486127734184265, -0.38700228929519653, 0.5387133359909058, 0.5800001621246338, -0.42709746956825256, -0.21980486810207367, 0.7568831443786621, 0.05237000063061714, -0.42955881357192993, 0.2585352957248688, -0.20674638450145721, -0.5404042601585388, 0.5242060422897339, 0.7433386445045471, 1.1057051420211792, -0.3853939175605774, 0.5689247250556946, 0.21870718896389008, 0.26211464405059814, -0.6202543377876282, 0.26989468932151794, 0.034537412226200104, -0.915846049785614, -0.6259362101554871, -0.6558594703674316, -0.45843425393104553, -0.2384834587574005, -0.8953270316123962, 0.054011255502700806, -0.4964248239994049, -0.51365065574646, 0.19450204074382782, -0.2066558301448822, -0.9320132732391357, 0.11359445750713348, 0.21163570880889893, 0.8700698018074036, -0.7065117955207825, 1.0381070375442505, 0.8430851101875305, -0.30615440011024475, -0.32051125168800354, -0.19148719310760498, 0.12821516394615173, -0.37730327248573303, 0.39879313111305237, -0.07040847092866898, 0.19503153860569, 0.02063765935599804, -0.573783278465271, -1.2272928953170776, 1.0274744033813477, 0.35703158378601074, -0.3436974585056305, -0.4095463156700134, -0.2602118253707886, 0.1658841371536255, -0.9710645079612732, 0.01343165896832943, 0.5227541923522949, 0.4312182068824768, -0.19342638552188873, -1.2934441566467285, 0.09077005833387375, -0.13049063086509705, 0.14001700282096863, 0.21247567236423492, -0.10830820351839066, 1.0435380935668945, -0.03375003859400749, 0.05223451927304268, -0.03762003034353256, 0.15576086938381195, 0.3122742474079132, -0.03455599024891853, 0.49855005741119385, 0.4680246114730835, 0.5095990896224976, 0.19825774431228638, 1.1539887189865112, -0.4199521839618683, 0.49030545353889465, 1.1856751441955566, -0.2982189357280731, 1.0109835863113403, 0.5405341982841492, -0.26855236291885376, 0.2733728885650635, 0.5312240719795227, -0.04341253638267517, 0.7658360600471497, -0.07571179419755936, 0.07369080930948257, -0.2216649353504181, -0.10481484234333038, -0.2920452058315277, 0.39741143584251404, 0.4636079967021942, -0.23756401240825653, -0.1845352202653885, 0.23827296495437622, -0.3736205995082855, -0.020231373608112335, -0.19202551245689392, 0.5287611484527588, 0.3444710373878479, -0.4462287724018097, 0.06523984670639038, 0.3007756769657135, 1.1034513711929321, -0.7228412628173828, -0.14795981347560883, 0.46891990303993225, -0.11501914262771606, -0.13451406359672546, -0.7541590332984924, 0.6347225308418274, -0.37999027967453003, -0.3068689703941345, -0.48059549927711487, 0.9121630787849426, -0.42557862401008606, -0.2278573364019394, 0.6971727013587952, 0.6267867088317871, -0.4463628828525543, -0.5321395993232727, -0.9628421664237976, 0.04719164967536926, -0.1522495299577713, -0.5324070453643799, 0.37165871262550354, 0.16866426169872284, 0.14604870975017548, 0.7854161858558655, 0.7153932452201843, 0.006558902096003294, 0.08224286884069443, 0.036753490567207336, 0.5637480020523071, -0.6464880704879761, -0.7563410997390747, -0.5921310782432556, 0.4967893362045288, -0.1761702597141266, -0.443200021982193, 0.48033612966537476, 0.33100005984306335, 0.8114870190620422, -0.21033012866973877, 0.9803084135055542, -0.24236910045146942, 0.3862782120704651, -0.26585862040519714, 0.569693386554718, -0.6067637801170349, -0.14103639125823975, -0.41067755222320557, -1.283078908920288, -0.5698099732398987, 1.1060045957565308, -0.12147314846515656, -0.00792532879859209, 0.8683502078056335, 0.553433895111084, -0.05246003717184067, 0.2994069755077362, 0.5008318424224854, -0.2897863984107971, 0.24449466168880463, 0.3079012632369995, 0.30172646045684814, -0.28026872873306274, 0.10555307567119598, -0.0999186635017395, 0.022516626864671707, -0.18595539033412933, -0.8414111137390137, -0.8344255685806274, -0.8670687675476074, -0.2760103940963745, 0.08424786478281021, -0.32568320631980896, 1.420159935951233, 1.1750991344451904, -0.9100696444511414, -0.17353083193302155, 0.20567841827869415, 0.19272881746292114, -0.5506446361541748, -0.15970902144908905, 0.16595648229122162, -0.1696665734052658, -0.6391792297363281, 0.40754005312919617, 0.5051820874214172, -0.014281128533184528, -0.49737095832824707, -0.06480136513710022, -0.5912079811096191, 0.132964089512825, 0.8583611845970154, -0.028937367722392082, -0.7708293795585632, -0.14297214150428772, 0.11050846427679062, -0.08612335473299026, -0.1376350224018097, 1.0370216369628906, -0.2694302499294281, 0.2375471442937851, 0.3842344284057617, 1.035447597503662, 0.5276336073875427, -0.4958515763282776, 0.9857598543167114, -0.9317804574966431, 0.19305898249149323, 0.3037324845790863, 0.5997385382652283, 0.2949475646018982, -0.3495050370693207, 0.7070836424827576, -0.13280168175697327, -0.5987184643745422, -0.7920191884040833, 0.1902064085006714, -1.0168765783309937, -0.8203958868980408, 1.164451003074646, -0.14957380294799805, 0.05705814063549042, -0.40131381154060364, -0.1298549324274063, 0.08829544484615326, -0.22575415670871735, 0.15106838941574097, 0.7492923736572266, -0.04200807958841324, -0.1340445727109909, -0.9538105130195618, 0.4190598428249359, 0.03167733550071716, -0.5028162002563477, -0.13829036056995392, 0.13568070530891418, 0.22512942552566528, 0.4617096781730652, 0.6584200859069824, 0.029110407456755638, 0.017139650881290436, 0.1608409881591797, 0.2377277910709381, -0.012216856703162193, -0.513198733329773, -0.1401100903749466, 0.5243284702301025, 0.0242525152862072, -0.10242442786693573 ]
http://arxiv.org/abs/2404.00457v1
http://arxiv.org/pdf/2404.00457v1
MetaIE: Distilling a Meta Model from LLM for All Kinds of Information Extraction Tasks
2024-03-30T19:43:45
2024-03-30T19:43:45
Letian Peng, Zilong Wang, Feng Yao, Zihan Wang, Jingbo Shang
cs.CL
cs.CL
Information extraction (IE) is a fundamental area in natural language processing where prompting large language models (LLMs), even with in-context examples, cannot defeat small LMs tuned on very small IE datasets. We observe that IE tasks, such as named entity recognition and relation extraction, all focus on extracting important information, which can be formalized as a label-to-span matching. In this paper, we propose a novel framework MetaIE to build a small LM as meta-model by learning to extract "important information", i.e., the meta-understanding of IE, so that this meta-model can be adapted to all kind of IE tasks effectively and efficiently. Specifically, MetaIE obtains the small LM via a symbolic distillation from an LLM following the label-to-span scheme. We construct the distillation dataset via sampling sentences from language model pre-training datasets (e.g., OpenWebText in our implementation) and prompting an LLM to identify the typed spans of "important information". We evaluate the meta-model under the few-shot adaptation setting. Extensive results on 13 datasets from 6 IE tasks confirm that MetaIE can offer a better starting point for few-shot tuning on IE datasets and outperform other meta-models from (1) vanilla language model pre-training, (2) multi-IE-task pre-training with human annotations, and (3) single-IE-task symbolic distillation from LLM. Moreover, we provide comprehensive analyses of MetaIE, such as the size of the distillation dataset, the meta-model architecture, and the size of the meta-model.
[ -0.3604922592639923, -0.7143360376358032, 0.5969666838645935, -0.04838097468018532, -0.12282940745353699, -0.2698178291320801, -0.132266104221344, -0.6025358438491821, 0.2446204572916031, 0.38943254947662354, -0.7370969653129578, -0.38968396186828613, -0.7927099466323853, 0.3194551467895508, -0.23849418759346008, 1.1013237237930298, 0.08491532504558563, -0.2648566961288452, 0.07272401452064514, 0.06208673119544983, -0.4460044205188751, -0.08347231894731522, -0.35205787420272827, -0.1659720540046692, 0.5858765840530396, 0.47472628951072693, 0.08071954548358917, 0.7297641634941101, 0.43811237812042236, 0.2025642842054367, 0.2502450942993164, 0.20880042016506195, -0.5518691539764404, -0.09056168794631958, -0.32404375076293945, -0.6265799403190613, -0.4667617976665497, 0.2943612337112427, 0.5087085962295532, 0.49574214220046997, -0.03752724081277847, 0.8319594264030457, 0.3221968710422516, 0.496674507856369, -1.0295073986053467, 0.3626613914966583, -0.7987202405929565, -0.20908521115779877, -0.3583073616027832, -0.16762591898441315, -0.5583937168121338, -0.04334554448723793, 0.15095819532871246, -0.6326461434364319, -0.07178813219070435, 0.09475549310445786, 0.9787367582321167, 0.4275497496128082, -0.41994723677635193, -0.23699428141117096, -0.8119984865188599, 0.7143261432647705, -0.6910071969032288, 0.09986252337694168, 0.23486459255218506, 0.37109923362731934, 0.0058258152566850185, -0.9546056389808655, -0.6008110642433167, 0.21614210307598114, -0.2686285376548767, 0.17208708822727203, -0.5514605045318604, 0.05668560788035393, 0.2683315575122833, 0.0317503958940506, -0.30586865544319153, -0.010024805553257465, -0.35965320467948914, 0.13705672323703766, 0.26830562949180603, -0.026524681597948074, 0.2932592034339905, -0.25570204854011536, -0.25987526774406433, 0.06497732549905777, -0.6025596857070923, -0.10458442568778992, 0.1273089349269867, 0.36823561787605286, 0.335584431886673, 0.533561110496521, -0.10167504847049713, 0.721183180809021, 0.3689827620983124, -0.5182070732116699, 0.15855860710144043, -0.1309729963541031, -0.45012396574020386, -0.08585499227046967, 0.8627411127090454, 0.19594544172286987, 0.39890170097351074, -0.1137576624751091, -0.06011851131916046, -0.27032291889190674, 0.0922967791557312, -1.0023162364959717, -0.23575633764266968, 0.044896963983774185, -0.6149598956108093, -0.3239635229110718, 0.21459388732910156, -0.8117675185203552, 0.004603330045938492, -0.3575632572174072, 0.5613875985145569, -0.22081950306892395, -0.31470614671707153, -0.015050970017910004, -0.27047646045684814, 0.04482663795351982, 0.15867120027542114, -0.9855706691741943, 0.18140040338039398, 0.6084045767784119, 0.7079672813415527, -0.03578255698084831, -0.2773258686065674, -0.7797449231147766, 0.42696326971054077, -0.02007393166422844, 0.6420524716377258, -0.7223330140113831, 0.1354324370622635, -0.3311665654182434, 0.13646343350410461, -0.3480411469936371, -0.5453058481216431, 0.36349084973335266, -0.520072340965271, 0.17610490322113037, -0.14337188005447388, -0.44548743963241577, -0.24811527132987976, 0.2567816972732544, -1.0379949808120728, 0.9708566069602966, -0.1389734447002411, -1.0301477909088135, 0.4920510947704315, -0.7934483289718628, -0.3053314983844757, -0.06902313977479935, -0.0716782808303833, -0.20538365840911865, 0.353257954120636, 0.20228536427021027, 0.5228186249732971, -0.4500519931316376, 0.305214524269104, -0.3668764531612396, -0.10785000771284103, -0.1099715456366539, -0.4203915596008301, 0.6252740025520325, 0.11499152332544327, -0.3039032220840454, -0.38405153155326843, -0.901621401309967, -0.035219140350818634, -0.03410923108458519, -0.4804587960243225, -0.5862623453140259, 0.030231324955821037, -0.10437609255313873, 0.4044617712497711, 0.14018739759922028, -0.3649860918521881, 0.2965252101421356, -0.3227609097957611, 0.4934810400009155, 0.5390172004699707, 0.06440422683954239, 0.5414015054702759, 0.09144265204668045, 0.3448893427848816, -0.1077687069773674, -0.07777832448482513, -0.12007017433643341, -0.15095335245132446, -0.5170974135398865, -0.8034710884094238, 0.760460376739502, 0.7985855937004089, -0.5690858960151672, 0.4044395089149475, -0.5456376075744629, -0.22467128932476044, -0.736804187297821, 0.23987963795661926, 0.1309141367673874, 0.6492800116539001, 0.4318045675754547, 0.2522542476654053, -0.6648353338241577, -0.9462851881980896, -0.36255747079849243, -0.12386760115623474, -0.1576535701751709, 0.19301213324069977, 0.5448755025863647, -0.31186288595199585, 1.3001863956451416, -0.6691330671310425, -0.34344834089279175, -0.5044623613357544, 0.7451609373092651, 0.43309202790260315, -0.07092279195785522, 0.5305583477020264, -0.7571923136711121, -0.5621711611747742, -0.16533263027668, -0.8251229524612427, -0.4583032727241516, 0.003570629982277751, -0.1796659231185913, -0.377262681722641, 0.3928253948688507, -0.6314935088157654, 0.3457144796848297, 0.35618698596954346, 0.029357125982642174, 0.2797626852989197, 0.21309781074523926, 0.00043310402543284, -1.3956362009048462, 0.4218474328517914, 0.09521453827619553, -0.5716119408607483, -0.6310510039329529, 0.039914894849061966, 0.035100918263196945, -0.009259714744985104, -0.4388822317123413, 0.5876770615577698, -0.5512769818305969, 0.19237060844898224, -0.5447129011154175, 0.16950711607933044, 0.2039375752210617, 0.3727858364582062, 0.16261020302772522, 0.4859226942062378, 0.3483075499534607, -0.6944453716278076, 0.15139278769493103, 0.07078951597213745, -0.19573217630386353, 0.38513198494911194, -0.47055527567863464, -0.08236448466777802, -0.3723546862602234, 0.19873230159282684, -0.7395684123039246, -0.0924159437417984, 0.1947961002588272, -0.13544976711273193, 0.4638940691947937, -0.30694249272346497, -0.41179975867271423, -0.29538723826408386, -0.2955552637577057, 0.22689184546470642, 0.277384489774704, -0.5106085538864136, 1.0128051042556763, 0.4316762685775757, -0.24167683720588684, -0.9247394800186157, -0.5279255509376526, 0.09264878928661346, -0.4293968081474304, -0.4536855220794678, 0.37098225951194763, 0.018616540357470512, -0.27929702401161194, 0.2224763035774231, -0.17237477004528046, -0.2699057161808014, 0.30721160769462585, 0.12277494370937347, 0.21912482380867004, -0.15419445931911469, 0.3133483827114105, -0.02945704758167267, -0.24174414575099945, -0.05745762586593628, -0.36189669370651245, 0.15661226212978363, 0.12440415471792221, 0.0777592808008194, -0.4892040193080902, 0.2986530363559723, 0.3777872920036316, -0.1200784370303154, 0.7084250450134277, 0.7510135769844055, -0.5445215106010437, -0.19510026276111603, -0.5870155096054077, -0.4002869427204132, -0.36426398158073425, 0.43996572494506836, -0.5954225659370422, -0.6273638010025024, 0.031189553439617157, -0.583459734916687, 0.3236266076564789, 0.6799920201301575, 0.20706526935100555, -0.5151953101158142, 0.617504358291626, 1.0820634365081787, -0.5825891494750977, 0.528075098991394, -0.14325322210788727, 0.0550413653254509, -0.5771105885505676, 0.14384736120700836, -0.4708358347415924, -0.5665366053581238, -0.3017825782299042, -0.08472873270511627, 0.2979738414287567, 0.38762959837913513, 0.3529985845088959, 0.43827545642852783, -0.0920693576335907, 0.6014556288719177, 0.488242506980896, 0.0033765065018087626, 0.19227831065654755, -0.07226976007223129, 0.1810522973537445, 0.04827781766653061, -0.6025614738464355, -0.833390474319458, 1.0747617483139038, 0.3070976138114929, 0.8851600885391235, 0.007340097799897194, 0.9858303666114807, 0.2641335129737854, 0.3642005920410156, -0.7313464283943176, 0.308260440826416, -0.2481687366962433, -0.7210955619812012, -0.38197681307792664, -0.3842756152153015, -0.7927491068840027, 0.22730021178722382, -0.35900577902793884, -0.8544248938560486, 0.1744166910648346, 0.27787649631500244, -0.434799462556839, 0.1698545664548874, -0.550532341003418, 0.9896913170814514, -0.04950471594929695, -0.30496251583099365, 0.017055384814739227, -0.8867771029472351, 0.5147932767868042, -0.23967187106609344, 0.4374029338359833, -0.1528823971748352, 0.13577574491500854, 0.7397204637527466, -0.2142173945903778, 1.0393272638320923, -0.16390395164489746, 0.014890577644109726, 0.5016248822212219, 0.1270960569381714, 0.7604105472564697, -0.11784408986568451, 0.029682883992791176, 0.027959775179624557, 0.23683935403823853, -0.0009858425473794341, -0.6891518235206604, 0.13931138813495636, -0.4587843716144562, -0.5741813778877258, -0.180789977312088, -0.1315971165895462, 0.14533957839012146, 0.3224160671234131, 0.4122801721096039, 0.10242752730846405, -0.3424362242221832, 0.07544022053480148, 0.7246295213699341, 0.2597450017929077, 0.7410764694213867, 0.5426170825958252, 0.019736986607313156, -0.1489148586988449, 0.841508150100708, 0.01272730715572834, 0.09764686226844788, 0.9314568042755127, 0.21489062905311584, -0.12552860379219055, -0.18121398985385895, -0.3476651906967163, 0.24795520305633545, -0.6531837582588196, -0.40320560336112976, -0.8506627678871155, -0.07286794483661652, -0.20662787556648254, 0.41294148564338684, -0.32328495383262634, -0.4860893785953522, -0.6257644891738892, -0.18779243528842926, -0.030399976298213005, 0.6709774136543274, -0.22629213333129883, 0.3112167716026306, -1.067055583000183, 0.4668632745742798, 0.47758227586746216, -0.3906570374965668, -0.35129404067993164, -0.4411277174949646, -0.23024338483810425, 0.03430074453353882, -0.24438224732875824, -1.0728727579116821, 0.2574155032634735, 0.6404125690460205, 0.5125885605812073, 0.5011416077613831, -0.02877180464565754, 0.8268489241600037, -0.7620127201080322, 0.4771316349506378, 0.12031756341457367, -1.0231022834777832, 0.7015751004219055, 0.12967270612716675, -0.05598863959312439, 0.9845806360244751, 0.5571745038032532, -0.27384641766548157, -0.030329003930091858, -0.4981509745121002, -0.7513778805732727, 0.711519181728363, 0.01925831101834774, -0.23869432508945465, -0.07144609093666077, 0.49858346581459045, 0.22193066775798798, 0.34072259068489075, -1.3398284912109375, -0.020216571167111397, 0.15499480068683624, -0.6163504123687744, 0.19447143375873566, -0.3125109076499939, -0.06391794234514236, 0.10588130354881287, 0.6723647713661194, -0.2833612561225891, 0.003915703855454922, -0.10917714983224869, -0.7218500971794128, 0.08212243765592575, 0.39457234740257263, 0.10382932424545288, 0.5877496600151062, -0.2296053171157837, 0.4844139814376831, 0.326067715883255, -0.3339281976222992, 0.0673738345503807, 0.058347929269075394, 0.029203835874795914, 0.0696432963013649, 0.7357708215713501, 0.6433236598968506, 0.17059683799743652, -0.4385775029659271, 0.7474759817123413, 0.0794556736946106, -0.11877533793449402, 0.1409551203250885, 0.008666211739182472, -0.011601821519434452, 0.4035227298736572, 0.36513981223106384, -0.2317219078540802, 0.50089430809021, -0.6522392630577087, 0.2750512957572937, 0.4921761751174927, -0.015350489877164364, -0.5362058281898499, 0.4525243043899536, 0.2097672075033188, 0.10151692479848862, 0.44908443093299866, -0.23264238238334656, -0.20595486462116241, 0.23495161533355713, 0.5665411353111267, 1.0034089088439941, -0.2572989761829376, 0.23185594379901886, 0.48439785838127136, 0.48328539729118347, -0.22450751066207886, 0.03785840421915054, -0.2076747566461563, -0.5304943323135376, -0.49853742122650146, -0.8032720685005188, 0.12916532158851624, 0.28409311175346375, -0.7268884778022766, 0.45461609959602356, 0.014695149846374989, -0.2593967616558075, 0.13434989750385284, -0.23355887830257416, -0.8607839345932007, 0.2761507034301758, 0.22372154891490936, 0.8663642406463623, -1.1583201885223389, 0.7944820523262024, 0.3692970871925354, -0.3235636055469513, -0.7055826783180237, 0.2152470052242279, -0.1123562827706337, -0.6892901659011841, 1.0549668073654175, 0.250355988740921, -0.18783672153949738, 0.019838029518723488, -0.42512863874435425, -0.9044920802116394, 1.3957854509353638, 0.5336229205131531, -1.0285097360610962, -0.4883212149143219, 0.07648163288831711, 0.23718535900115967, -0.535271406173706, 0.37025460600852966, 0.7229437232017517, 0.6421923637390137, 0.024115560576319695, -0.8442158102989197, 0.05585791915655136, -0.06949301809072495, -0.27489569783210754, 0.22226202487945557, -0.33808624744415283, 0.7085047960281372, -0.04165729507803917, -0.47387635707855225, -0.2943497598171234, 0.4107111096382141, -0.02890036627650261, 0.19946011900901794, 0.5877899527549744, 0.6141597628593445, 0.8451120853424072, 0.04670219123363495, 0.5217085480690002, -0.18101638555526733, 0.2889472246170044, 1.4330123662948608, -0.25792238116264343, 0.9992212057113647, 0.48069775104522705, 0.037144359201192856, 0.5349230766296387, 0.6163519024848938, 0.11910004168748856, 0.800084114074707, 0.02957361750304699, -0.12472608685493469, -0.20818857848644257, 0.23645950853824615, -0.1294756531715393, 0.5682689547538757, 0.23361678421497345, -0.5415986776351929, -0.4080180525779724, 0.16287420690059662, -0.03223622590303421, -0.3906960189342499, -0.15037082135677338, 1.2733190059661865, 0.04058995470404625, -0.4441203773021698, 0.21778914332389832, 0.12730582058429718, 0.46246179938316345, -0.5873950719833374, -0.0698949471116066, 0.14757272601127625, -0.1505771428346634, -0.21940991282463074, -0.2822030484676361, 0.28384628891944885, 0.10325796902179718, -0.5487697720527649, -0.10427842289209366, 0.9053981900215149, -0.5274204611778259, -0.5314610600471497, 0.26936593651771545, 0.5966554284095764, 0.26869016885757446, -0.2794816195964813, -0.5519124865531921, -0.21092350780963898, -0.02154235728085041, -0.33563148975372314, 0.07855764776468277, 0.7957555651664734, 0.17060203850269318, 0.26408812403678894, 0.2627769708633423, 0.11262745410203934, 0.010311667807400227, -0.11533541977405548, 0.8323391675949097, -0.6406199932098389, -0.4054029583930969, -1.3938956260681152, 0.6028443574905396, -0.17490974068641663, 0.038217246532440186, 0.4573728144168854, 0.528098464012146, 0.3349531888961792, -0.09168022125959396, 0.992020845413208, -0.15422844886779785, 0.29919740557670593, -0.6943399906158447, 0.29324251413345337, -0.5351612567901611, 0.09333545714616776, -0.39276203513145447, -1.1909205913543701, 0.027266725897789, 0.44342201948165894, -0.19869109988212585, -0.1468920111656189, 0.7796959280967712, 0.44089847803115845, -0.3795294463634491, -0.0988452360033989, 0.220706507563591, 0.15061749517917633, 0.2681351602077484, 0.6151513457298279, 0.5998499989509583, -0.37213796377182007, 0.6063594818115234, 0.2831040918827057, -0.6071376204490662, -0.2648158073425293, -1.232181429862976, -0.9694075584411621, -0.4212464988231659, -0.31523847579956055, 0.02295273169875145, -0.09456057101488113, 0.9045941829681396, 0.9918291568756104, -0.5708369612693787, 0.07455643266439438, -0.014838283881545067, 0.012779497541487217, -0.16110090911388397, -0.21191547811031342, 0.1647479236125946, -0.3762880861759186, -0.839009165763855, 0.4971317946910858, 0.45758649706840515, 0.07289697229862213, 0.19142472743988037, 0.44506821036338806, -0.35496121644973755, 0.11911675333976746, 0.5725569725036621, 0.2580540180206299, -0.5333428978919983, -0.25823456048965454, -0.16505935788154602, -0.006167927756905556, -0.006165104452520609, 0.7607431411743164, -0.5566710829734802, 0.31372949481010437, 0.34087932109832764, 0.7383561134338379, 0.7705262303352356, 0.048405133187770844, 0.5058373808860779, -1.0276731252670288, -0.07069513201713562, -0.06864723563194275, 0.3426191508769989, -0.1136353611946106, -0.40504467487335205, 0.5706436634063721, 0.16363391280174255, -0.23878374695777893, -0.6057273745536804, 0.2486405223608017, -0.6777417659759521, -0.43230488896369934, 1.0601458549499512, -0.25708818435668945, -0.43893200159072876, 0.20501336455345154, -0.14456301927566528, 0.30181998014450073, -0.1293104588985443, 0.6605629920959473, 0.8537915945053101, 0.06975407153367996, -0.1371142864227295, -0.42282605171203613, 0.42331621050834656, -0.09275780618190765, -1.066840648651123, 0.17971467971801758, 0.26327264308929443, 0.6409541964530945, 0.32292646169662476, 0.5267423987388611, 0.1694883555173874, -0.09978622198104858, -0.2662532329559326, 0.17177899181842804, -0.11604079604148865, -0.7685156464576721, 0.008298010565340519, 0.32233425974845886, -0.02957385592162609, -0.42814210057258606 ]
http://arxiv.org/abs/2404.00450v2
http://arxiv.org/pdf/2404.00450v2
Planning and Editing What You Retrieve for Enhanced Tool Learning
2024-03-30T18:41:51
2024-04-04T05:33:07
Tenghao Huang, Dongwon Jung, Muhao Chen
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Recent advancements in integrating external tools with Large Language Models (LLMs) have opened new frontiers, with applications in mathematical reasoning, code generators, and smart assistants. However, existing methods, relying on simple one-time retrieval strategies, fall short on effectively and accurately shortlisting relevant tools. This paper introduces a novel PLUTO (Planning, Learning, and Understanding for TOols) approach, encompassing `Plan-and-Retrieve (P&R)` and `Edit-and-Ground (E&G)` paradigms. The P&R paradigm consists of a neural retrieval module for shortlisting relevant tools and an LLM-based query planner that decomposes complex queries into actionable tasks, enhancing the effectiveness of tool utilization. The E&G paradigm utilizes LLMs to enrich tool descriptions based on user scenarios, bridging the gap between user queries and tool functionalities. Experiment results demonstrate that these paradigms significantly improve the recall and NDCG in tool retrieval tasks, significantly surpassing current state-of-the-art models.
[ -0.3488601744174957, -0.8546318411827087, 0.9105073809623718, -0.07721704989671707, -0.01962852291762829, 0.23120227456092834, -0.5155777931213379, -0.1651618927717209, 0.6583799719810486, 0.6192058324813843, -0.5377116799354553, -0.5852615237236023, -0.21478906273841858, -0.14282217621803284, -0.3256346583366394, 0.5397220849990845, 0.044898681342601776, -0.12291128188371658, -0.2794983685016632, 0.19967928528785706, -0.5115333199501038, -0.45794767141342163, -0.5339526534080505, -0.39119693636894226, 0.6858860850334167, 0.6626455187797546, 0.8054160475730896, 0.4700779318809509, 0.30747097730636597, 0.26493874192237854, -0.12026366591453552, 0.18221688270568848, -0.39286932349205017, 0.16582252085208893, -0.4314238131046295, -0.5796841979026794, -0.5556151866912842, -0.13029871881008148, 0.35108399391174316, 0.7987672686576843, -0.23167642951011658, 0.003331667510792613, 0.06642752140760422, 0.4849947690963745, -0.8768064379692078, -0.07339788973331451, -0.8798866868019104, 0.02550412528216839, 0.03781730309128761, -0.23642931878566742, -0.6739600300788879, -0.2897479236125946, 0.09508268535137177, -1.1125849485397339, 0.12054724991321564, -0.017352964729070663, 0.45001107454299927, 0.06943679600954056, 0.0010599360102787614, -0.2562011778354645, -0.7377379536628723, 0.6451855897903442, -0.3915847837924957, 0.6400814652442932, 0.5921385288238525, 0.27019888162612915, -0.24195021390914917, -1.0407230854034424, -0.5249269008636475, -0.0012226219987496734, -0.19966411590576172, 0.13884033262729645, 0.21541740000247955, 0.08357198536396027, 0.47540542483329773, 0.10879078507423401, -0.254778653383255, 0.2799908220767975, -0.4324522018432617, -0.33367493748664856, 0.6824759840965271, 0.2607775032520294, 0.08097384124994278, -0.4087340235710144, -0.06571981310844421, -0.11866189539432526, -1.0993461608886719, -0.16629740595817566, 0.33172258734703064, 0.2183256894350052, 0.19636207818984985, 0.6764196157455444, -0.3944513201713562, 0.7068432569503784, -0.12109982222318649, -0.24500036239624023, -0.05913771688938141, -0.3047455847263336, -0.37953993678092957, -0.261344850063324, 0.6144197583198547, 0.2407773733139038, -0.05873368680477142, -0.4983554780483246, -0.26425275206565857, -0.46822625398635864, 0.4872789680957794, -0.4592500627040863, -0.6807655692100525, 0.11017045378684998, -0.3019772171974182, -0.03724164888262749, -0.09382100403308868, -0.7286667823791504, -0.5500531792640686, -0.533197283744812, 0.5648407936096191, -0.42733561992645264, -0.2391701638698578, 0.20708659291267395, -0.15707674622535706, 0.021478701382875443, 0.7180603742599487, -0.606291651725769, 0.36699607968330383, 0.8751398324966431, 0.5451491475105286, 0.017339283600449562, -0.31460222601890564, -0.8221902847290039, 0.06075295805931091, -0.3296331763267517, 0.7420466542243958, -0.670515775680542, -0.8048659563064575, -0.13200929760932922, 0.04722457751631737, 0.0727226510643959, -0.4966345727443695, 0.32770320773124695, -0.7221580147743225, 0.6218992471694946, -0.4654064476490021, -0.31692424416542053, -0.46243226528167725, 0.13227856159210205, -0.6213023066520691, 1.275375247001648, 0.1070781946182251, -0.6818812489509583, 0.5774630308151245, -0.6024528741836548, -0.4064319431781769, 0.07944455742835999, -0.22994635999202728, -0.3794978857040405, 0.004088630899786949, 0.22782544791698456, 0.4441540837287903, -0.18582569062709808, 0.37908217310905457, -0.34102877974510193, -0.37258821725845337, -0.0012738244840875268, 0.28155553340911865, 0.5061957836151123, 0.037762351334095, -0.07535019516944885, 0.5940889120101929, -0.4297366738319397, 0.23704615235328674, 0.13632184267044067, -0.4158335328102112, -0.3095686435699463, 0.41284987330436707, -0.04361923038959503, 0.3616332411766052, 0.1894368976354599, -0.6640781760215759, 0.4425743520259857, -0.3781341314315796, 0.497867614030838, 0.7037884593009949, -0.1405351161956787, 0.6921311616897583, -0.08720771223306656, 0.3744884133338928, -0.4092157781124115, 0.08504924923181534, -0.3071039915084839, 0.04090027138590813, -0.8568801283836365, 0.16304907202720642, 0.3285869061946869, 0.7870428562164307, -1.0014444589614868, 0.2940153181552887, -0.2643992602825165, -0.48283660411834717, -0.1939464956521988, 0.2680826783180237, 0.22110219299793243, 0.41031137108802795, 0.3082767724990845, -0.2968340516090393, -0.4967479407787323, -0.8350661396980286, -0.35714420676231384, -0.14034509658813477, -0.37501469254493713, 0.5274450778961182, 0.24230027198791504, 0.14068518579006195, 1.0343440771102905, -0.65824294090271, -0.174400195479393, -0.7078913450241089, -0.24971996247768402, 0.21089211106300354, 0.17978574335575104, 0.03772822022438049, -0.8800525665283203, -0.4957702159881592, -0.16661830246448517, -0.514590859413147, 0.143617644906044, -0.2795250415802002, -0.23369553685188293, -0.28215762972831726, 0.5560365915298462, -0.5070316791534424, 0.48510298132896423, -0.3289940357208252, -0.15498456358909607, 0.526067316532135, -0.26406875252723694, -0.22622643411159515, -0.9472824931144714, 0.12557020783424377, -0.16355741024017334, -0.30376577377319336, -0.35988369584083557, 0.12002472579479218, 0.6162197589874268, -0.04082240164279938, -0.7321557402610779, 0.6385535001754761, -0.5563331246376038, -0.3964676260948181, -0.28023281693458557, 0.40306854248046875, 0.24583503603935242, 0.4846278727054596, 0.04677730053663254, 0.9814963936805725, 0.43098658323287964, -0.806999146938324, 0.1367948204278946, 0.2683676779270172, -0.04285016655921936, 0.28421998023986816, -0.5637295842170715, 0.4758947193622589, -0.17016172409057617, -0.0836050882935524, -0.3496031165122986, -0.13943713903427124, 0.08481720089912415, -0.12065710127353668, 0.45017898082733154, -0.2991824448108673, -1.02735435962677, -0.14631907641887665, -0.492704302072525, -0.20130555331707, 0.46192190051078796, -0.6484917402267456, 1.0212011337280273, 0.5651324987411499, -0.4687594771385193, -0.5387255549430847, -0.06564731150865555, 0.029591122642159462, -0.28289660811424255, -0.34217843413352966, 0.5598408579826355, 0.2242857813835144, -0.27694371342658997, -0.0017285457579419017, -0.13727828860282898, 0.18678581714630127, 0.28566354513168335, 0.21981902420520782, 0.490423321723938, 0.18238447606563568, 0.40480270981788635, 0.04974424093961716, -0.08144062012434006, 0.049000851809978485, -0.14836904406547546, 0.5931481719017029, 0.2646910846233368, -0.34870445728302, -0.0787244439125061, 0.17826548218727112, 0.18918752670288086, -0.4446643590927124, 0.15385979413986206, 0.38524553179740906, -0.30242282152175903, -0.06568623334169388, -0.8070020079612732, -0.43579861521720886, -0.5521544814109802, 0.5342066287994385, -0.5238356590270996, -0.7397323846817017, 0.35523444414138794, -0.4374616742134094, 0.39883753657341003, 0.2232312113046646, 0.19249339401721954, -0.0005303602665662766, 0.7932100892066956, 1.0762780904769897, -0.08210162818431854, 0.5663049221038818, -0.4848346710205078, 0.19888882339000702, -1.4789094924926758, -0.4204453229904175, -0.34433579444885254, -0.5250704884529114, -0.18666261434555054, -0.4452665448188782, 0.4588693678379059, 0.397755891084671, 0.046660326421260834, 0.46194422245025635, -0.5513297915458679, 0.7484530210494995, 0.6760269999504089, 0.1429828703403473, 0.30002114176750183, -0.08658293634653091, -0.43009743094444275, -0.18382534384727478, -0.791639506816864, -0.6179726123809814, 1.5264986753463745, -0.011592845432460308, 0.7707183361053467, -0.265982061624527, 0.8076225519180298, -0.16002947092056274, 0.2600218653678894, -0.9610496163368225, 0.8237009644508362, -0.027022674679756165, -0.35292792320251465, -0.3027244508266449, 0.0059744794853031635, -0.8560178875923157, 0.4937533736228943, -0.15825285017490387, -0.959209680557251, 0.1843249499797821, -0.009783295914530754, -0.4571102559566498, 0.6034694314002991, -0.6250860691070557, 0.6867385506629944, -0.5327261686325073, -0.7166011333465576, -0.4845082759857178, -0.37963080406188965, -0.06772008538246155, 0.0532551035284996, 0.2161276489496231, -0.13672351837158203, -0.3510831296443939, 0.569269597530365, 0.030583443120121956, 0.4959673583507538, -0.21465076506137848, 0.3775796890258789, 0.2892961800098419, 0.5470077395439148, 0.6542856693267822, 0.330594003200531, -0.3273932933807373, -0.44979745149612427, -0.2823725640773773, -0.04568355903029442, -0.6870538592338562, 0.7433757781982422, -0.48930981755256653, -0.6992829442024231, -0.11729459464550018, -0.631808876991272, -0.009971662424504757, 0.529853105545044, -0.03915143013000488, 0.4446706473827362, -0.33797839283943176, 0.00917904358357191, 0.7240698933601379, -0.6465144157409668, 0.4949344992637634, 0.561150848865509, -0.5260568857192993, -0.3081403076648712, 0.7363811135292053, 0.033741723746061325, 0.23404406011104584, 0.46152815222740173, 0.040483344346284866, -0.21545520424842834, -0.5683161020278931, -0.17597761750221252, 0.24957822263240814, -0.870044469833374, -0.09086012095212936, -0.9781255125999451, 0.15106862783432007, -0.07233285158872604, -0.3356154263019562, -0.30885910987854004, -0.7436098456382751, -0.07627679407596588, -0.1578432023525238, 0.3228166699409485, 0.6908341646194458, -0.11885630339384079, 0.31387224793434143, -0.4259137511253357, 0.26540622115135193, 0.09505948424339294, 0.29867976903915405, -0.2891601026058197, 0.06284263730049133, -0.23324596881866455, -0.14771734178066254, -0.7013944983482361, -0.7889426350593567, 0.5487208962440491, 0.19258135557174683, 0.5540193319320679, -0.11836627870798111, 0.06099918857216835, 0.5367750525474548, -0.5839402675628662, 0.5957209467887878, -0.049033693969249725, -0.6406475305557251, 0.9258074760437012, -0.01542514469474554, 0.14595475792884827, 0.5875965356826782, 0.38717350363731384, -0.6677849292755127, -0.13542093336582184, -0.7780550718307495, -1.0718404054641724, 0.7384037375450134, -0.29308706521987915, -0.03467801958322525, 0.11341280490159988, 0.48340675234794617, 0.3911915123462677, 0.2586507797241211, -0.435760498046875, 0.04068728908896446, 0.1337519884109497, 0.27341228723526, 0.034924205392599106, -0.11939366906881332, -0.058405667543411255, -0.25319021940231323, 0.5976371169090271, -0.22682516276836395, 0.3149030804634094, 0.20717349648475647, -0.3014830946922302, -0.01974673382937908, 0.5203266739845276, 0.049632832407951355, 1.0978734493255615, -0.06550861150026321, -0.04942469671368599, 0.39303991198539734, -0.3496374189853668, -0.29061925411224365, 0.08067286759614944, -0.2726220190525055, 0.041951000690460205, -0.059931378811597824, 0.46434900164604187, 0.5191476941108704, -0.7481503486633301, 0.08106578141450882, 0.055460598319768906, -0.06667371094226837, -0.532922625541687, 0.24730218946933746, 0.24632899463176727, 0.04033472016453743, 0.18259930610656738, -0.21598994731903076, 0.3607310950756073, -0.4429164528846741, 0.24427659809589386, 0.5009448528289795, -0.06119970977306366, -0.2889554500579834, 0.576716423034668, 0.04006773605942726, -0.5132527351379395, 0.8381604552268982, -0.30410948395729065, -0.5152866840362549, 0.4033547341823578, 0.19760547578334808, 0.7587178349494934, 0.24939334392547607, 0.1798037886619568, 0.4746479392051697, 0.30529409646987915, -0.008266241289675236, 0.6805908679962158, -0.17771877348423004, -0.40304431319236755, -0.7186833024024963, -0.31752604246139526, -0.44024530053138733, 0.19789358973503113, -0.6077094674110413, 0.6103873252868652, -0.6117807030677795, -0.11256566643714905, -0.047762732952833176, 0.08913113176822662, -0.8576244711875916, -0.17791303992271423, -0.41767042875289917, 0.9705809950828552, -0.3219224512577057, 0.9988506436347961, 0.8226372599601746, -0.20015773177146912, -1.1053595542907715, -0.2604503929615021, 0.042501505464315414, -0.6656904220581055, 0.6186999082565308, -0.049820393323898315, 0.19578076899051666, -0.1260405033826828, -0.25316768884658813, -0.8556423783302307, 1.2273746728897095, 0.11585979908704758, -0.5865601301193237, -0.31236153841018677, -0.24354061484336853, 0.10786406695842743, -0.09320062398910522, 0.3046184778213501, 0.5466693639755249, 0.332514226436615, 0.026108233258128166, -1.289469599723816, -0.029733795672655106, -0.1333685666322708, -0.18195830285549164, 0.8565638065338135, -0.15307237207889557, 0.8535277843475342, -0.4571969509124756, -0.2751471698284149, -0.019682765007019043, 0.10270297527313232, 0.11160266399383545, 0.3188372254371643, 0.2743997573852539, 0.6410748958587646, 0.46886637806892395, -0.2194521278142929, 1.129227876663208, -0.14657187461853027, 0.12555170059204102, 1.396913766860962, -0.2747180461883545, 1.1724520921707153, 0.5206443071365356, -0.15808215737342834, 0.3488832712173462, 0.6568509936332703, 0.3748132884502411, 0.6084680557250977, -0.0697966143488884, 0.027985377237200737, -0.42375168204307556, 0.14996640384197235, -0.24061976373195648, 0.23231029510498047, 0.6717144846916199, -0.3221975266933441, -0.32929113507270813, 0.11166412383317947, 0.10248218476772308, 0.2006363719701767, -0.27074044942855835, 1.0560359954833984, 0.08775188773870468, -0.6775721907615662, 0.2367347925901413, 0.1838226020336151, 0.6550419330596924, -0.4564906358718872, -0.09025364369153976, 0.09902288019657135, 0.21269676089286804, -0.2034480720758438, -0.9351086020469666, 0.36921989917755127, -0.3685169517993927, 0.09665276110172272, -0.44506722688674927, 1.018838882446289, -0.2394426017999649, -0.4133429527282715, 0.20912662148475647, 0.7785602807998657, -0.04079858213663101, -0.24357590079307556, -0.7418644428253174, -0.014377040788531303, -0.15921220183372498, -0.023477651178836823, 0.520534098148346, 0.32295072078704834, 0.009674266912043095, 0.9086366295814514, 0.6546164155006409, 0.27410227060317993, -0.03492771461606026, -0.10808289796113968, 1.170623779296875, -0.6596233248710632, -0.6376110315322876, -0.5997097492218018, 0.6260968446731567, -0.273470014333725, 0.044801343232393265, 0.6679823994636536, 0.8542712926864624, 1.184906244277954, 0.020481055602431297, 0.6464950442314148, -0.22897331416606903, 0.826593816280365, -0.6818283200263977, 0.3571287989616394, -0.3672490417957306, 0.5605347156524658, -0.2154512107372284, -1.1040047407150269, -0.14784471690654755, 0.7140454649925232, -0.8364112377166748, -0.23541034758090973, 0.6244235038757324, 0.6209136843681335, -0.2900114059448242, -0.07100401818752289, 0.016948441043496132, -0.260081946849823, 0.39845120906829834, 0.556538999080658, 0.807422399520874, -0.10750717669725418, 0.2617523670196533, -0.7730244398117065, 0.0036555947735905647, -0.23331239819526672, -0.7666700482368469, -0.699140191078186, -0.3414403200149536, -0.21305912733078003, 0.005951649509370327, 0.13045550882816315, 0.9891292452812195, 0.6656619906425476, -0.1622980535030365, -0.46389251947402954, 0.10616589337587357, 0.46043500304222107, -0.0861540287733078, -0.19876505434513092, 0.3998253047466278, -0.3328781723976135, -0.40175262093544006, 0.6204476952552795, 0.5020081400871277, -0.3571311831474304, -0.19231189787387848, -0.0753309577703476, -0.06735020130872726, -0.47021982073783875, 0.7317662239074707, 0.39583930373191833, -0.88955157995224, -0.2626325190067291, 0.6176173686981201, 0.3800254762172699, 0.07389906793832779, 1.1473697423934937, -1.461793065071106, 0.7326226830482483, 0.43555402755737305, 0.4992470145225525, 0.5227195024490356, -0.27213358879089355, 0.6977956891059875, -0.5495764017105103, 0.2622363865375519, 0.6248720288276672, 0.3767765760421753, 0.3159638047218323, -0.6351842284202576, 0.6132853031158447, -0.300701379776001, -0.46062636375427246, -0.7308469414710999, 0.37873077392578125, -0.6514500975608826, -0.30864864587783813, 0.8601655960083008, 0.0503481850028038, 0.15561507642269135, -0.1946965754032135, -0.517265796661377, 0.018530646339058876, -0.11056798696517944, 0.8794897794723511, 0.497641921043396, -0.3268979787826538, -0.151213601231575, -0.8879687786102295, 0.41051459312438965, 0.3860253691673279, -0.8207941651344299, 0.024970643222332, 0.6067378520965576, 0.44701147079467773, 0.21094070374965668, 0.5949977040290833, -0.19721482694149017, 0.5230427980422974, -0.3454166054725647, -0.04214354604482651, -0.30961641669273376, -0.5398575663566589, 0.09577634930610657, 0.023520713672041893, 0.33940014243125916, 0.12901540100574493 ]
http://arxiv.org/abs/2404.00439v1
http://arxiv.org/pdf/2404.00439v1
DOCMASTER: A Unified Platform for Annotation, Training, & Inference in Document Question-Answering
2024-03-30T18:11:39
2024-03-30T18:11:39
Alex Nguyen, Zilong Wang, Jingbo Shang, Dheeraj Mekala
cs.CL
cs.CL
The application of natural language processing models to PDF documents is pivotal for various business applications yet the challenge of training models for this purpose persists in businesses due to specific hurdles. These include the complexity of working with PDF formats that necessitate parsing text and layout information for curating training data and the lack of privacy-preserving annotation tools. This paper introduces DOCMASTER, a unified platform designed for annotating PDF documents, model training, and inference, tailored to document question-answering. The annotation interface enables users to input questions and highlight text spans within the PDF file as answers, saving layout information and text spans accordingly. Furthermore, DOCMASTER supports both state-of-the-art layout-aware and text models for comprehensive training purposes. Importantly, as annotations, training, and inference occur on-device, it also safeguards privacy. The platform has been instrumental in driving several research prototypes concerning document analysis such as the AI assistant utilized by University of California San Diego's (UCSD) International Services and Engagement Office (ISEO) for processing a substantial volume of PDF documents.
[ -0.5083172917366028, -0.7839446663856506, 0.5248951315879822, 0.30245453119277954, -0.08658147603273392, -0.06632373481988907, 0.11123428493738174, -0.3810131251811981, -0.12496367841959, 0.7106199264526367, -0.48276689648628235, -0.5376704335212708, -0.6675958633422852, 0.3574907183647156, -0.4475831091403961, 0.766225278377533, -0.19020460546016693, 0.28755077719688416, -0.6057259440422058, -0.20379315316677094, -0.3718743324279785, -0.4259383976459503, -0.8145290613174438, -0.3359992206096649, 0.1512136310338974, 0.3584611415863037, 0.3860878050327301, 0.644905686378479, 0.5769350528717041, 0.27358269691467285, 0.17260271310806274, 0.19286400079727173, 0.16216877102851868, 0.2664855420589447, -0.13602957129478455, -0.4320630431175232, -0.5937042832374573, 0.38197237253189087, 0.41766858100891113, 0.689656674861908, -0.13746531307697296, 0.1280898153781891, -0.12908166646957397, 0.3982214331626892, -0.6854960322380066, 0.01661296747624874, -0.2871555984020233, 0.1746886670589447, 0.1917722076177597, -0.4401412308216095, -0.2020656317472458, -0.40703827142715454, -0.06170010194182396, -0.9723395705223083, 0.646563708782196, 0.07925263792276382, 0.8326811790466309, 0.246552973985672, -0.30285727977752686, -0.3343634009361267, -0.6152402758598328, 0.16291138529777527, -0.16500888764858246, 0.46840837597846985, 0.7449592351913452, 0.4875085949897766, 0.08582673221826553, -1.0355250835418701, -0.6878015398979187, 0.25859835743904114, -0.2705807089805603, 0.255424827337265, 0.04511519894003868, 0.2862710952758789, 0.12466228008270264, 0.398713082075119, -0.4829064905643463, 0.13291014730930328, -0.44956326484680176, -0.2577560245990753, 0.5842497944831848, -0.019553324207663536, 0.4311786890029907, -0.07717445492744446, -0.31469303369522095, -0.14125998318195343, -0.08697140961885452, 0.2180105745792389, 0.5060544610023499, -0.02431430295109749, 0.05927066132426262, 0.3719233572483063, -0.14070172607898712, 0.5421621799468994, -0.011155495420098305, -0.10118214786052704, -0.15701532363891602, 0.12443157285451889, -0.6223821640014648, 0.13585948944091797, 0.9592934846878052, 0.3987656235694885, 0.09544315934181213, -0.5594293475151062, -0.11733970791101456, -0.1527857482433319, 0.4209219515323639, -0.7717233896255493, -0.38456088304519653, 0.46676984429359436, -0.153250053524971, -0.2753196060657501, 0.42279744148254395, -0.7752337455749512, -0.7253118753433228, -0.4573960602283478, 0.1293812394142151, -0.3579760193824768, -0.11438598483800888, 0.11457047611474991, -0.7756816148757935, 0.2743580937385559, 0.7689852118492126, -1.191503643989563, 0.6644457578659058, 0.8130730390548706, 0.7270845174789429, -0.003033277578651905, -0.51242595911026, -0.8922631144523621, 0.39724066853523254, -0.24260492622852325, 0.901142418384552, -0.5882692337036133, -0.8076873421669006, 0.014806353487074375, 0.11444517225027084, -0.44166383147239685, -0.517389714717865, 0.8098292946815491, -0.43587273359298706, 0.4291178286075592, -0.028513668105006218, -0.6054884195327759, -0.1993815153837204, 0.7510968446731567, -0.7234917879104614, 1.0667680501937866, 0.239607036113739, -1.0463011264801025, 0.3085126280784607, -1.0755184888839722, -0.3669601380825043, 0.09508658945560455, -0.39936062693595886, -0.1676981896162033, -0.10512572526931763, 0.45548009872436523, 0.4185827076435089, -0.2785893380641937, 0.3223908245563507, -0.11892876774072647, -0.30654433369636536, 0.1284400373697281, -0.24369890987873077, 0.7363072633743286, 0.01435287855565548, -0.2469419687986374, 0.06682296097278595, -0.9334980845451355, -0.4025062322616577, 0.1155405268073082, -0.5986859798431396, -0.1556730717420578, -0.4785124659538269, 0.2652086317539215, 0.0464022234082222, 0.19614529609680176, -0.7663987874984741, 0.3222813308238983, 0.1282218098640442, 0.3195047676563263, 0.5771943926811218, 0.19466368854045868, 0.6770018935203552, -0.1217583492398262, 0.8430052399635315, -0.18201173841953278, 0.38990914821624756, -0.20011094212532043, -0.4411581754684448, -0.3739752173423767, -0.5602589249610901, 0.3530619740486145, 0.7553190588951111, -0.0842907652258873, 0.151700958609581, -0.36237841844558716, -0.40807855129241943, -0.6511318683624268, 0.3998538553714752, 0.05469336733222008, 0.8843159079551697, 0.22894887626171112, -0.42642727494239807, -0.3618335723876953, -1.025006890296936, -0.11945401877164841, -0.1637762486934662, -0.2212391346693039, -0.03946709632873535, 0.2815224230289459, -0.3312438130378723, 1.2294176816940308, -0.41552314162254333, -0.585743248462677, -0.218708336353302, 0.3678746223449707, -0.3321199417114258, 0.4308512210845947, 0.3318319022655487, -1.3312342166900635, -0.4134769141674042, -0.10362353920936584, -0.9602735042572021, -0.2145506739616394, -0.10010811686515808, -0.22762374579906464, 0.16031520068645477, 0.6850822567939758, -0.8020930290222168, 0.3883209824562073, 0.1714545488357544, 0.12530361115932465, 0.4001500606536865, -0.6152737736701965, 0.1358179897069931, -1.060415506362915, 0.3977106213569641, -0.02681395597755909, -0.22542735934257507, -0.5205695629119873, 0.12510384619235992, 0.2868984639644623, -0.41899895668029785, -0.04824770614504814, 0.7025526762008667, -0.42651796340942383, -0.08124343305826187, -0.2256699800491333, 0.5424269437789917, 0.7294508814811707, 0.3147708773612976, 0.19720156490802765, 0.8781148791313171, 0.5012180805206299, -0.3872753381729126, 0.08031775802373886, 0.8634053468704224, 0.33955514430999756, 1.0072306394577026, -0.5471107363700867, 0.4031926691532135, -0.25886496901512146, 0.07172658294439316, -1.0644487142562866, -0.2882399260997772, 0.3525724709033966, -0.41099491715431213, 0.4976399838924408, -0.30234500765800476, -1.0705348253250122, -0.35190558433532715, -0.4817899763584137, -0.4997827708721161, -0.03791693598031998, -0.5016117095947266, 0.9918371438980103, 0.3581562638282776, -0.12456077337265015, -0.4858732223510742, -0.6261799335479736, 0.2817375957965851, -0.048483144491910934, -0.7489029765129089, 0.0037437966093420982, -0.13434761762619019, -0.1810450553894043, -0.1658024787902832, -0.2816620171070099, -0.17513705790042877, 0.5154138803482056, 0.7533984184265137, 0.20794904232025146, 0.09361739456653595, 0.04743015393614769, 0.349340558052063, -0.36656415462493896, 0.2105962038040161, -0.21590551733970642, 0.2724224925041199, 0.0897613987326622, -0.20041131973266602, -0.17634251713752747, 0.5649973154067993, 0.5622965693473816, -0.8048263788223267, 0.4975670576095581, 0.6720474362373352, -0.3753625154495239, -0.1279151886701584, -0.4801500737667084, 0.09481118619441986, -0.4913701117038727, -0.015555137768387794, -0.44335806369781494, -0.5925707221031189, 0.3049677312374115, -0.29041147232055664, 0.42283791303634644, 0.33312270045280457, 0.13997280597686768, -0.2622196078300476, 0.8037208914756775, 0.9370205402374268, 0.11404731124639511, 0.2296886295080185, -0.37584665417671204, 0.10097028315067291, -1.041434645652771, -0.3635675311088562, -0.6930278539657593, -0.1122678816318512, -0.031785737723112106, -0.14060261845588684, 0.01450157631188631, 0.337837278842926, -0.2027248740196228, 0.21618831157684326, -0.8418863415718079, 0.27958524227142334, 0.8146091103553772, -0.44532132148742676, 0.4170955717563629, -0.054512668401002884, -0.2702603340148926, 0.24063533544540405, -0.3169744610786438, -1.0215336084365845, 1.0700262784957886, 0.1243128776550293, 0.6515098810195923, -0.1528211086988449, 0.7389692068099976, 0.3174390494823456, 0.5656164288520813, -0.2635759115219116, 0.49271392822265625, 0.12421715259552002, -0.8630809783935547, -0.30143436789512634, 0.010174165479838848, -0.6927176117897034, 0.35126209259033203, -0.08137327432632446, -1.1046987771987915, 0.11563733965158463, -0.06350670754909515, -0.00939137116074562, 0.4432082772254944, -0.8155277371406555, 1.2731207609176636, -0.18916423618793488, -0.1682089865207672, 0.4350976347923279, -0.7048361897468567, 0.05613363906741142, -0.21676504611968994, 0.08164171129465103, -0.03175068646669388, -0.1260680854320526, 0.8028096556663513, -0.3598063290119171, 0.6444727182388306, -0.17615272104740143, 0.017491130158305168, 0.034055739641189575, 0.139298677444458, 0.20211158692836761, 0.2788381278514862, -0.23602376878261566, -0.22511160373687744, 0.3037704527378082, -0.25870847702026367, -0.6151208281517029, 0.4134798049926758, -0.7948640584945679, -0.5910970568656921, -0.3429785668849945, -0.6664610505104065, -0.38328760862350464, 0.5285645723342896, 0.3322763741016388, 0.38034361600875854, -0.35884711146354675, -0.04738742858171463, 0.7043887376785278, 0.15317490696907043, 0.39547738432884216, 0.6634410619735718, -0.27272042632102966, -0.3915450870990753, 0.44976139068603516, 0.06049169600009918, -0.14929883182048798, 0.6763461232185364, 0.004928783047944307, -0.5131707787513733, -0.7079488635063171, -0.6553201675415039, 0.07133463770151138, -1.1576427221298218, 0.17299635708332062, -1.2859444618225098, -0.08408384770154953, -0.4779578149318695, -0.4223075807094574, 0.1045415922999382, -0.35970866680145264, -0.2701387405395508, -0.5429912805557251, 0.1707993447780609, 0.4887339174747467, 0.08239541202783585, 0.4853026568889618, -0.7247164845466614, 0.5888530015945435, 0.48295435309410095, 0.33781328797340393, -0.39754384756088257, -0.09822932630777359, 0.05576596409082413, -0.15948815643787384, -0.5716938972473145, -0.9647689461708069, -0.09460137039422989, 0.23773376643657684, 0.6655020117759705, 0.3840017020702362, 0.15588776767253876, 0.07367148995399475, -0.16937029361724854, 0.6070162653923035, 0.0051733083091676235, -0.580467700958252, 0.6273428797721863, -0.36489105224609375, 0.13976427912712097, 1.1355921030044556, 0.463283509016037, -0.6307325959205627, -0.5793488621711731, -0.7206300497055054, -0.6758078336715698, 0.8361881971359253, 0.07285326719284058, 0.016813170164823532, 0.24926653504371643, 0.3347380757331848, 0.44053182005882263, 0.5755307674407959, -0.22850850224494934, -0.2158059924840927, -0.3512337803840637, -0.1973697394132614, -0.08671964704990387, 0.06620413810014725, -0.40276652574539185, -0.20668825507164001, 0.601125180721283, -0.3277287781238556, 0.10196393728256226, 0.4611029326915741, -0.47294479608535767, -0.07086807489395142, 0.27584823966026306, 0.3136172890663147, 0.8832955956459045, -0.673765242099762, 0.10325457900762558, -0.23376548290252686, -0.7889803647994995, 0.01952754147350788, 0.8865291476249695, -0.34321895241737366, 0.2219383418560028, 0.12966012954711914, 0.5626624822616577, -0.0600188784301281, -0.5337770581245422, 0.5437992811203003, -0.5204228162765503, -0.5057802200317383, -0.48430803418159485, 0.08625868707895279, 0.40131092071533203, -0.09725417196750641, 0.4260111451148987, 0.04284531623125076, 0.3439788818359375, -0.34114935994148254, -0.023366540670394897, 0.11560823768377304, -0.6392973065376282, 0.04202789440751076, 1.1726595163345337, 0.18048520386219025, -0.6026977300643921, 0.5651816129684448, -0.1773359179496765, -0.44342878460884094, 0.6571428775787354, 0.20252907276153564, 0.9470574259757996, 0.2589932084083557, 0.5586376786231995, -0.011301567777991295, 0.45065245032310486, 0.14497806131839752, 0.16370873153209686, -0.47645172476768494, -0.23941366374492645, 0.315458208322525, -0.6597461700439453, -0.8994143605232239, -0.099069744348526, -0.5905332565307617, 0.060833126306533813, -0.8142316341400146, 0.0000527905322087463, 0.3308390974998474, 0.21037285029888153, -0.7368021607398987, 0.3871098458766937, 0.12209736555814743, 1.446381688117981, -0.629148006439209, 0.748930037021637, 1.1746325492858887, -0.819580078125, -0.7150794863700867, -0.19106055796146393, 0.006438364274799824, -0.352071076631546, 0.42211857438087463, 0.6075032949447632, -0.01667056418955326, 0.002166110323742032, -0.44419214129447937, 0.17193806171417236, 1.357655644416809, 0.4045972526073456, -0.14237792789936066, -0.07282113283872604, 0.5278236865997314, 0.5383343696594238, -0.2179924100637436, 0.243536114692688, 0.55867999792099, 0.6377151012420654, -0.29775863885879517, -0.5362187623977661, 0.032597485929727554, -0.5230644941329956, -0.26124805212020874, 0.12229807674884796, -0.3404199481010437, 0.47294381260871887, 0.22979876399040222, -0.04622410237789154, -0.029481280595064163, 0.24980008602142334, 0.09421258419752121, 0.5208272337913513, 0.37101826071739197, 0.6016908288002014, 1.0818467140197754, -0.08640768378973007, 1.3068158626556396, -0.31879234313964844, 0.039953988045454025, 1.1414076089859009, -0.22164286673069, 0.540820837020874, 0.4873437285423279, 0.020366953685879707, 0.305209755897522, 0.6747151613235474, -0.12264170497655869, 0.17884723842144012, -0.10315944999456406, -0.09499746561050415, -0.2089875042438507, -0.03176909685134888, -0.08237334340810776, 0.08635950088500977, 0.07489824295043945, -0.24556061625480652, -0.35622474551200867, -0.017935406416654587, 0.1187119260430336, 0.253117173910141, 0.016309956088662148, 0.782995343208313, 0.1311570107936859, -0.4685800075531006, -0.0015349783934652805, 0.30424660444259644, 0.3990774154663086, -0.9561923146247864, 0.14966602623462677, -0.5594216585159302, -0.0488215871155262, -0.1549592912197113, -0.6818131804466248, -0.0020261649042367935, -0.01708896830677986, -0.2385932207107544, -0.2527942359447479, 0.6859796047210693, -0.177363321185112, -0.328665554523468, 0.3079483211040497, 0.3231894075870514, -0.07410624623298645, -0.5452038049697876, -0.6770510673522949, -0.28500890731811523, -0.5709322690963745, -0.01741575263440609, 0.2668322026729584, 0.51740962266922, -0.06886988878250122, 0.672387421131134, 0.7240020036697388, -0.19590170681476593, 0.18884757161140442, 0.1617298722267151, 0.6176277995109558, -0.1467878669500351, -0.9486216902732849, -0.4284260869026184, 0.5086946487426758, -0.5109902620315552, -0.5941405296325684, 0.6532545685768127, 0.9089210033416748, 0.47440409660339355, -0.0793655663728714, 1.0247331857681274, 0.026118526235222816, 0.19077463448047638, -0.03694998100399971, 1.007102608680725, -0.6972730159759521, -0.10502197593450546, -0.1936226189136505, -1.0334128141403198, -0.2884911894798279, 0.1489359587430954, -0.5221710205078125, -0.29865512251853943, 0.57712322473526, 0.590249240398407, -0.416963130235672, 0.3746894896030426, 0.07812961935997009, -0.3990311622619629, 0.625630795955658, -0.018544353544712067, 0.4295281171798706, -0.46980220079421997, 0.645209789276123, -0.4089299738407135, 0.12263470888137817, -0.1927989274263382, -0.5483503937721252, -1.0055389404296875, -0.6504828929901123, -0.3329807221889496, -0.017629969865083694, -0.1094031035900116, 0.6179590225219727, 0.7052941918373108, -0.5307056307792664, 0.05867217481136322, -0.016742289066314697, -0.0438288189470768, -0.013955681584775448, -0.2048400342464447, 0.6555942296981812, -0.1407751590013504, -0.7191925644874573, 0.1402253806591034, 0.655911922454834, 0.14598000049591064, -0.17864498496055603, -0.2792632281780243, -0.40878361463546753, 0.17616909742355347, 0.16561156511306763, 0.5895053148269653, -0.17073243856430054, 0.05458257347345352, -0.027380675077438354, -0.41269582509994507, 0.3543398976325989, 0.7476711869239807, -0.21548281610012054, 0.8016300797462463, 0.2876048982143402, 1.0648667812347412, 0.5606439709663391, 0.15458296239376068, 0.6068001985549927, -0.784442663192749, 0.163911372423172, -0.046888258308172226, 0.4326632618904114, 0.9280081391334534, -0.3316495716571808, 0.7939394116401672, 0.14123964309692383, -0.24946029484272003, -0.6647323369979858, -0.16416732966899872, -1.0836175680160522, -0.27422666549682617, 0.7322998642921448, -0.1554422229528427, -0.33634644746780396, -0.31929200887680054, -0.6756104826927185, 0.3851023316383362, -0.22785884141921997, 0.6509864926338196, 0.6882789731025696, 0.14143593609333038, -0.3679547905921936, -0.8434590101242065, 0.3205205500125885, 0.035462554544210434, -1.124805212020874, -0.03513319045305252, 0.24755539000034332, 0.3044903874397278, 0.3391573429107666, 1.0712335109710693, -0.07827336341142654, 0.5279001593589783, 0.07965864986181259, 0.12454450875520706, -0.7117055654525757, -0.22424262762069702, -0.3391304910182953, 0.4123057425022125, 0.18906213343143463, -0.4694879651069641 ]
http://arxiv.org/abs/2404.00437v1
http://arxiv.org/pdf/2404.00437v1
Automatic explanation of the classification of Spanish legal judgments in jurisdiction-dependent law categories with tree estimators
2024-03-30T17:59:43
2024-03-30T17:59:43
Jaime González-González, Francisco de Arriba-Pérez, Silvia García-Méndez, Andrea Busto-Castiñeira, Francisco J. González-Castaño
cs.CL
cs.CL, cs.AI, cs.LG
Automatic legal text classification systems have been proposed in the literature to address knowledge extraction from judgments and detect their aspects. However, most of these systems are black boxes even when their models are interpretable. This may raise concerns about their trustworthiness. Accordingly, this work contributes with a system combining Natural Language Processing (NLP) with Machine Learning (ML) to classify legal texts in an explainable manner. We analyze the features involved in the decision and the threshold bifurcation values of the decision paths of tree structures and present this information to the users in natural language. This is the first work on automatic analysis of legal texts combining NLP and ML along with Explainable Artificial Intelligence techniques to automatically make the models' decisions understandable to end users. Furthermore, legal experts have validated our solution, and this knowledge has also been incorporated into the explanation process as "expert-in-the-loop" dictionaries. Experimental results on an annotated data set in law categories by jurisdiction demonstrate that our system yields competitive classification performance, with accuracy values well above 90%, and that its automatic explanations are easily understandable even to non-expert users.
[ -0.35238420963287354, -0.7673215270042419, 0.5483206510543823, 0.2623082101345062, -0.49173668026924133, 0.17014744877815247, -0.07303059846162796, -0.701203465461731, -0.000979508156888187, 0.6476447582244873, -0.1594615876674652, -0.4460575580596924, -0.7163704037666321, 0.18652759492397308, -0.5854822397232056, 1.1245938539505005, -0.05338713526725769, -0.038576558232307434, -0.01415413897484541, -0.2757795453071594, -0.4787440001964569, -0.47833120822906494, -0.3383890986442566, -0.36034560203552246, 0.31811797618865967, 0.12899859249591827, 0.8479272723197937, 0.7714409828186035, 0.4824843108654022, 0.4358755052089691, -0.16615712642669678, -0.21557115018367767, 0.05957487225532532, -0.014085819944739342, -0.5003219246864319, -0.6970804333686829, -0.3062969744205475, -0.25495681166648865, 0.2784320116043091, 0.36563897132873535, -0.3221440613269806, 0.015379649586975574, -0.027424782514572144, 0.7486222386360168, -0.3557828664779663, 0.4805022180080414, -0.781712532043457, 0.498620867729187, -0.04501897469162941, -0.6459463238716125, -0.48524391651153564, -0.5207332372665405, 0.4044106602668762, -0.38967958092689514, 0.3863092064857483, 0.31237122416496277, 0.9653146266937256, 0.6274609565734863, -0.5058718323707581, -0.7357332110404968, -0.6185701489448547, 0.46139994263648987, -0.3029530942440033, 0.29296308755874634, 0.27719295024871826, 0.6074159741401672, -0.28802230954170227, -0.44585856795310974, -0.40955349802970886, -0.3094329237937927, -0.12046948820352554, 0.21932457387447357, -0.6145792007446289, 0.1375485360622406, -0.012550896033644676, 0.16353939473628998, -0.6786207556724548, 0.36505624651908875, -0.25266146659851074, -0.3485322892665863, 0.6249591112136841, -0.25294995307922363, 0.25568100810050964, -0.37583646178245544, -0.058421894907951355, 0.2161587029695511, -0.3974734842777252, 0.24314598739147186, 0.3745802342891693, 0.10323824733495712, 0.06997721642255783, 0.6566072106361389, 0.08163988590240479, 0.5413377285003662, 0.23262114822864532, -0.06403087079524994, 0.09742937982082367, 0.00412822887301445, -0.595501720905304, 0.43303996324539185, 1.0028213262557983, 0.2053501307964325, 0.28549206256866455, -0.26163947582244873, -0.27644670009613037, -0.012451639398932457, 0.24316240847110748, -0.349568247795105, -0.07930997014045715, 0.2856591045856476, -0.5702864527702332, -0.5174688100814819, 0.3309142291545868, -0.6907145977020264, -0.3977292478084564, -0.4425016939640045, 0.14654584228992462, -0.13107119500637054, -0.12663432955741882, 0.32775500416755676, -0.04459664598107338, -0.1535293012857437, 0.4310503602027893, -0.6157390475273132, 0.4216746985912323, 0.3969254493713379, 0.4617603123188019, -0.026555219665169716, 0.1453377604484558, -0.4232485294342041, -0.018560513854026794, -0.1394762545824051, 0.6442430019378662, -0.40174540877342224, -0.053512923419475555, 0.013656621798872948, 0.2673359513282776, 0.12169419229030609, -0.49690067768096924, 0.6682056784629822, -0.7504021525382996, 0.37807509303092957, 0.19074958562850952, -0.4280886650085449, -0.6230950951576233, 0.06589462608098984, -0.6093694567680359, 0.7501847743988037, -0.09450752288103104, -0.8335937261581421, 0.872413694858551, -0.8382017612457275, -0.46127045154571533, 0.455131858587265, -0.09070209413766861, -0.5401761531829834, 0.041115351021289825, 0.1961260288953781, 0.470219224691391, -0.22834868729114532, 0.7826383113861084, -0.1576770395040512, 0.1891980767250061, 0.24333564937114716, -0.5269572138786316, 1.3349699974060059, 0.4594212472438812, -0.5581374764442444, 0.2389219105243683, -0.4926179349422455, -0.2347240000963211, 0.03608888387680054, -0.43087995052337646, -0.26236602663993835, 0.2646576464176178, -0.11830967664718628, 0.3141663670539856, 0.12924827635288239, -0.30950602889060974, -0.10574021935462952, -0.43007728457450867, 0.21902477741241455, 0.5070311427116394, 0.11745692044496536, 0.24453936517238617, -0.11575265973806381, 0.7928112745285034, 0.12547115981578827, 0.12565670907497406, 0.1938190907239914, -0.6447880864143372, -0.575312077999115, 0.09694723039865494, 0.46074187755584717, 0.739962637424469, -0.5223260521888733, 0.8074279427528381, -0.25833794474601746, -0.1106378585100174, -0.30445238947868347, -0.03975779563188553, 0.27638450264930725, 0.44974836707115173, 0.40650463104248047, -0.15373626351356506, -0.6479467749595642, -0.8299316167831421, -0.25277355313301086, -0.5573634505271912, 0.029470376670360565, 0.17707151174545288, 0.9419240951538086, -0.1254609227180481, 1.1981701850891113, 0.033914655447006226, -0.14896203577518463, -0.10305511206388474, 0.4514719843864441, 0.16383928060531616, 0.13072241842746735, 0.4877949059009552, -1.063814401626587, -0.45694148540496826, 0.5243189334869385, -0.7897638082504272, -0.3316783607006073, -0.17279165983200073, 0.04191730543971062, 0.16060097515583038, 0.27179545164108276, -0.0996965616941452, 0.4853791296482086, -0.03555621579289436, -0.7362952828407288, 0.6230345368385315, -0.5100867748260498, 0.05100087821483612, -0.47586798667907715, -0.23477703332901, 0.3300168216228485, -0.5825027823448181, -0.4538433849811554, 0.05166249722242355, 0.03356827795505524, 0.5746086835861206, -0.3563827574253082, 0.18304027616977692, -0.3175716698169708, -0.1989334672689438, -0.20474447309970856, -0.02088823914527893, -0.06012459844350815, 0.4735407531261444, 0.15571089088916779, 0.13292990624904633, 0.46780332922935486, -0.6105236411094666, 0.3416317105293274, 0.029800623655319214, -0.22597424685955048, 0.6406251192092896, -0.34405091404914856, -0.2563263177871704, -0.2891256511211395, 0.0074251024052500725, -0.4385823905467987, -0.2069886177778244, 0.45298436284065247, -0.29341891407966614, 0.023355761542916298, -0.6522486209869385, -0.5383136868476868, -0.5737534761428833, 0.08142279088497162, -0.10931328684091568, 0.28074911236763, -0.5318196415901184, 0.4895472526550293, 0.7736799716949463, -0.012431083247065544, -0.6871516108512878, -0.6484753489494324, 0.3163893222808838, -0.610909640789032, -0.1746034473180771, 0.1812019944190979, 0.22091567516326904, -0.47976696491241455, 0.4707440435886383, 0.026654476299881935, -0.4459105134010315, 0.3556470274925232, 0.46764320135116577, 0.11967967450618744, -0.23142676055431366, 0.273397296667099, 0.5604548454284668, 0.09795576333999634, 0.5447192192077637, -0.41765159368515015, 0.09538175910711288, -0.38422074913978577, -0.27402883768081665, -0.6472969055175781, -0.06250707805156708, 0.6945276856422424, -0.27598437666893005, 0.44191277027130127, -0.07454775273799896, -0.45789602398872375, -0.2529914677143097, -0.34702256321907043, 0.43060213327407837, -0.3773818612098694, 0.10625987499952316, -0.5171921253204346, -0.6926276087760925, 0.5250973105430603, 0.13280075788497925, 0.1295444518327713, 0.9771124124526978, 0.88669753074646, -0.025744356215000153, 1.0087641477584839, 0.6014928817749023, -0.16836996376514435, 0.35518062114715576, -0.06811033934354782, 0.07149703800678253, 0.05876365676522255, -0.48107999563217163, -0.9315000176429749, 0.04683836176991463, -0.6268432140350342, -0.23813705146312714, 0.08888375014066696, 0.07883848249912262, -0.05504076927900314, 0.4485448896884918, -0.6284289956092834, 0.7733455300331116, 0.3406411111354828, -0.12484858185052872, 0.6206450462341309, 0.09792283177375793, -0.44615358114242554, 0.23562407493591309, -0.7351091504096985, -0.7877563238143921, 0.9112270474433899, 0.6495611667633057, 0.38475853204727173, 0.1563255935907364, 0.7435894012451172, 0.5987796783447266, 0.38580501079559326, -1.0319925546646118, 0.23401623964309692, -0.22837229073047638, -0.6143373847007751, -0.3064868748188019, -0.47415944933891296, -1.092703938484192, 0.40875160694122314, -0.40722906589508057, -0.6354926824569702, 0.49657413363456726, -0.06432239711284637, -0.388311505317688, 0.11647440493106842, -0.5204824209213257, 0.7212803363800049, -0.44048818945884705, -0.15678858757019043, -0.17884865403175354, -0.5653314590454102, 0.39680176973342896, -0.1798461377620697, 0.527552604675293, 0.10793149471282959, 0.20391486585140228, 0.9440863728523254, -0.6679143905639648, 0.48278090357780457, -0.3487538695335388, -0.05831138789653778, 0.4891055226325989, 0.24118512868881226, 0.22328054904937744, -0.12435042858123779, -0.1671696901321411, -0.16975659132003784, 0.30691879987716675, 0.12227428704500198, -0.6735603213310242, 0.18484438955783844, -0.5162502527236938, -0.23506340384483337, -0.5558009743690491, -0.407866895198822, 0.13980279862880707, 0.18347817659378052, 0.005937329493463039, 0.1418711543083191, 0.007486653979867697, 0.3335821330547333, 0.3411142826080322, -0.036732759326696396, 0.33798542618751526, 0.7272198796272278, -0.29324257373809814, -0.05706514045596123, 0.7633131742477417, 0.34438374638557434, -0.47619736194610596, 0.31326761841773987, 0.5041255950927734, -0.7008207440376282, -0.9509395360946655, -0.4839325249195099, -0.0750848576426506, -0.6720620393753052, -0.1341969221830368, -0.5572664141654968, -0.0935635045170784, 0.16870622336864471, -0.025601573288440704, 0.21780656278133392, -0.47593656182289124, -0.0834038034081459, -0.29941248893737793, 0.11895059049129486, 0.9587968587875366, 0.2816457450389862, 0.19525425136089325, -0.5491435527801514, 0.36746084690093994, 0.12187812477350235, 0.40213724970817566, -0.2751977741718292, -0.6488764882087708, -0.23210541903972626, -0.24156615138053894, -0.057401884347200394, -1.067017912864685, 0.472513884305954, -0.032233916223049164, 0.5719078183174133, 0.6260733604431152, -0.026606349274516106, 0.5268968343734741, -0.32676494121551514, 0.19251693785190582, 0.18132027983665466, -0.8736329078674316, 0.6697294116020203, -0.12241025269031525, -0.2539346516132355, 0.6370984315872192, 0.36885562539100647, -0.1835675686597824, -0.9496645927429199, -0.6090880632400513, -0.451565146446228, 0.7565509676933289, 0.22133919596672058, -0.3426970839500427, 0.19569042325019836, 0.38408470153808594, 0.4099138379096985, 0.1061929315328598, -0.8946436047554016, 0.019285233691334724, -0.26971080899238586, -0.5328319072723389, 0.26361432671546936, -0.06070064380764961, -0.09527529776096344, -0.4126255214214325, 0.6021264791488647, -0.06506039947271347, -0.10980616509914398, 0.11903544515371323, -0.6507851481437683, -0.23010316491127014, 0.41311609745025635, 0.3322436809539795, 0.8154981136322021, -0.2128407508134842, 0.30322781205177307, -0.047394316643476486, -0.3636493682861328, 0.24233558773994446, 0.11755521595478058, -0.17300760746002197, 0.17419923841953278, 0.34180620312690735, 0.6754340529441833, -0.13306424021720886, -0.4522501528263092, 0.32083848118782043, -0.2550196051597595, -0.5409755706787109, -0.2735404074192047, 0.06401289254426956, -0.1802641600370407, 0.2571421265602112, 0.3799571990966797, 0.1930021494626999, 0.5123658180236816, -0.4989665448665619, 0.2657908499240875, 0.358018696308136, -0.36526229977607727, -0.005251995287835598, 0.7368561029434204, 0.1662943810224533, -0.3714124858379364, -0.09575905650854111, -0.4020131826400757, -0.7114764451980591, 0.9171307682991028, 0.31695184111595154, 0.8182328939437866, 0.17094863951206207, 0.4848696291446686, 0.15142637491226196, 0.37675392627716064, -0.32703500986099243, -0.08919277042150497, -0.26131677627563477, -0.6685411930084229, -0.3315412402153015, -0.632824718952179, -0.5399746894836426, -0.008678516373038292, -0.7167636156082153, -0.046568259596824646, -0.5192931890487671, -0.08418583124876022, 0.3107663691043854, 0.022884076461195946, -0.622448205947876, 0.28590595722198486, -0.12518899142742157, 0.7008717060089111, -0.9233532547950745, 0.8037512302398682, 0.4388468265533447, -0.4063023030757904, -0.505391538143158, 0.023160409182310104, 0.05630979314446449, -0.5724800229072571, 0.7215200066566467, 0.038784269243478775, -0.3242326080799103, -0.24850939214229584, -0.31331509351730347, -0.09716633707284927, 0.6175833344459534, 0.31415146589279175, -0.7781944870948792, 0.16909320652484894, 0.30902883410453796, 0.9719482064247131, -0.34076887369155884, 0.27255481481552124, 0.7897651791572571, 0.6447770595550537, -0.04285665601491928, -0.8827807307243347, -0.06762246787548065, -0.323262095451355, -0.4194749891757965, 0.10624589771032333, 0.2562735974788666, 0.2245316058397293, 0.1305381804704666, -0.31261885166168213, -0.41049274802207947, 0.41446560621261597, -0.1672598421573639, 0.5393210649490356, 0.7845403552055359, 0.4271901249885559, 1.1583325862884521, -0.3195168673992157, 1.0277751684188843, -0.4004851281642914, 0.5877163410186768, 1.059644103050232, 0.10319492965936661, 0.5780235528945923, 0.4387802481651306, -0.36021488904953003, 0.7732121348381042, 0.7295352816581726, -0.2570943534374237, 0.07409664988517761, 0.19777171313762665, 0.03671202436089516, -0.0687243863940239, -0.0729718804359436, 0.17069274187088013, 0.542670488357544, 0.2569896876811981, -0.646957278251648, -0.19244572520256042, 0.08482155203819275, -0.24048462510108948, 0.1324518620967865, -0.4900466203689575, 0.7775712013244629, -0.22362679243087769, -0.7547292113304138, 0.2471095770597458, 0.27974390983581543, 0.39230138063430786, -0.1779700666666031, 0.06314650177955627, 0.12972263991832733, -0.09308494627475739, -0.6036199927330017, -1.2613805532455444, 0.4523099362850189, 0.5836645364761353, -0.17644083499908447, -0.5183624625205994, 0.4550667703151703, -0.2967612147331238, -0.6227135062217712, 0.3866893947124481, 0.4622868299484253, 0.5155762434005737, -0.09342765808105469, -1.156272530555725, -0.412630558013916, -0.13710401952266693, -0.09656877815723419, -0.11022922396659851, 0.7450764775276184, -0.5599713921546936, 0.7532276511192322, 0.38029658794403076, 0.06676732748746872, 0.1852494329214096, 0.24148589372634888, 0.5212810039520264, -0.536834716796875, -0.6531203389167786, -0.9496580958366394, 0.6032750606536865, 0.007932129316031933, -0.025845687836408615, 0.4953741431236267, 0.6164485812187195, 0.3919312059879303, 0.16093800961971283, 0.7174073457717896, -0.2135392725467682, 0.3204675316810608, -0.5833925008773804, 0.7281759977340698, -0.40588846802711487, 0.3678818345069885, 0.01870037242770195, -0.7285215854644775, -0.5579671263694763, 0.609315812587738, -0.3054249882698059, -0.2117452323436737, 0.7586349248886108, 0.4594414234161377, -0.1744074672460556, -0.028525931760668755, 0.10804574191570282, 0.2701171040534973, 0.26555919647216797, 0.3573993444442749, 0.6068369746208191, 0.012997260317206383, 0.6353088021278381, -0.27177754044532776, -0.2504926323890686, -0.3875575661659241, -0.7917332649230957, -0.7806846499443054, -0.43137115240097046, -0.3385818302631378, -0.22491614520549774, -0.08032051473855972, 0.6661537885665894, 0.4360547661781311, -1.055004358291626, -0.3703858256340027, -0.5567486882209778, 0.6926957964897156, 0.033175695687532425, -0.28368547558784485, 0.42984941601753235, -0.300762414932251, -0.5118720531463623, 0.25321605801582336, 0.39496541023254395, -0.012145696207880974, -0.18343231081962585, -0.27533411979675293, -0.06900724023580551, -0.10735730826854706, 0.5150583386421204, 0.4410637617111206, -0.9380003809928894, -0.22211171686649323, -0.5695767402648926, 0.013548516668379307, 0.35975882411003113, 0.724133312702179, -0.6521321535110474, 0.8169445395469666, 0.4550829827785492, 0.417651891708374, 0.4324703812599182, 0.06211201846599579, 0.39386290311813354, -0.1334340125322342, 0.008212356828153133, 0.3322363495826721, 0.6004361510276794, -0.17998340725898743, -0.21869823336601257, 0.5298835039138794, 0.07940425723791122, -0.3968101441860199, -0.7551324367523193, -0.11438167095184326, -0.9469965696334839, -0.4047068953514099, 0.551805317401886, -0.23648418486118317, -0.3339175283908844, -0.7826427221298218, -0.24433845281600952, 0.42816922068595886, -0.20338425040245056, 0.9662975072860718, 0.7475487589836121, -0.06997863203287125, -0.1181984469294548, -0.7261189222335815, 0.4410354495048523, 0.034623101353645325, -1.0417957305908203, -0.1807333379983902, 0.5696682929992676, 0.30822455883026123, 0.16934247314929962, 0.22536055743694305, -0.3479735553264618, 0.3643271327018738, -0.31866922974586487, 0.01867278851568699, -0.033824365586042404, -0.4001387655735016, -0.7504096031188965, 0.46694520115852356, -0.05315762013196945, 0.07476702332496643 ]
http://arxiv.org/abs/2404.01338v1
http://arxiv.org/pdf/2404.01338v1
Automatic detection of relevant information, predictions and forecasts in financial news through topic modelling with Latent Dirichlet Allocation
2024-03-30T17:49:34
2024-03-30T17:49:34
Silvia García-Méndez, Francisco de Arriba-Pérez, Ana Barros-Vila, Francisco J. González-Castaño, Enrique Costa-Montenegro
cs.CL
cs.CL, cs.CE, cs.IR, cs.LG, q-fin.ST
Financial news items are unstructured sources of information that can be mined to extract knowledge for market screening applications. Manual extraction of relevant information from the continuous stream of finance-related news is cumbersome and beyond the skills of many investors, who, at most, can follow a few sources and authors. Accordingly, we focus on the analysis of financial news to identify relevant text and, within that text, forecasts and predictions. We propose a novel Natural Language Processing (NLP) system to assist investors in the detection of relevant financial events in unstructured textual sources by considering both relevance and temporality at the discursive level. Firstly, we segment the text to group together closely related text. Secondly, we apply co-reference resolution to discover internal dependencies within segments. Finally, we perform relevant topic modelling with Latent Dirichlet Allocation (LDA) to separate relevant from less relevant text and then analyse the relevant text using a Machine Learning-oriented temporal approach to identify predictions and speculative statements. We created an experimental data set composed of 2,158 financial news items that were manually labelled by NLP researchers to evaluate our solution. The ROUGE-L values for the identification of relevant text and predictions/forecasts were 0.662 and 0.982, respectively. To our knowledge, this is the first work to jointly consider relevance and temporality at the discursive level. It contributes to the transfer of human associative discourse capabilities to expert systems through the combination of multi-paragraph topic segmentation and co-reference resolution to separate author expression patterns, topic modelling with LDA to detect relevant text, and discursive temporality analysis to identify forecasts and predictions within this text.
[ -0.1787726879119873, -0.9493228197097778, 0.37114614248275757, 0.34208229184150696, -0.5015473961830139, 0.39409059286117554, 0.10207758843898773, -0.632135808467865, 0.4113181233406067, 0.48653140664100647, -0.5364795923233032, -0.416353315114975, -0.39055657386779785, -0.26708561182022095, -0.7436765432357788, 1.1383326053619385, 0.09129899740219116, -0.10299650579690933, -0.03403053805232048, 0.17777667939662933, -0.3591179847717285, -0.5233125686645508, -0.8928304314613342, -0.13167373836040497, 0.22103740274906158, 0.07058347761631012, 0.4992136061191559, 0.4896855056285858, 0.6963656544685364, 0.3116872310638428, -0.17385491728782654, 0.0041641537100076675, 0.0010342559544369578, -0.029562264680862427, -0.2710135579109192, -0.27220219373703003, -0.42003703117370605, 0.11454462260007858, 0.4907086193561554, 0.6067166328430176, -0.2143271565437317, 0.004362241830676794, 0.09918265789747238, 0.5867063999176025, -0.26595577597618103, 0.42900389432907104, -0.738423228263855, 0.14825743436813354, -0.38456442952156067, -0.6829728484153748, -0.3618730902671814, -0.10398053377866745, 0.5065919756889343, -0.5534688234329224, 0.341915488243103, 0.06615913659334183, 0.9417551159858704, 0.32642874121665955, -0.34435707330703735, -0.5253915786743164, -0.6548423171043396, 0.727003812789917, -0.6409426331520081, 0.2243354469537735, 0.36765679717063904, 0.2064839005470276, -0.018935849890112877, -0.46775829792022705, -0.36165162920951843, 0.022618945688009262, -0.2596454620361328, -0.030716340988874435, -0.33163854479789734, -0.20763419568538666, -0.0604831762611866, 0.15104012191295624, -0.6053464412689209, 0.16022397577762604, -0.25908634066581726, -0.36256977915763855, 0.45151183009147644, -0.08160807192325592, 0.12764602899551392, -0.3380392789840698, -0.39257317781448364, 0.13881435990333557, -0.3083794414997101, -0.08789205551147461, 0.5778114199638367, 0.4009634256362915, -0.2348385453224182, 0.2783206105232239, -0.09071248024702072, 0.5789306163787842, 0.29077261686325073, -0.32747435569763184, 0.1153181940317154, -0.33362945914268494, 0.08299516886472702, 0.5049425959587097, 0.3743840157985687, 0.3607172966003418, -0.06974905729293823, -0.14335881173610687, -0.2500722408294678, -0.0033948274794965982, 0.14296789467334747, -0.5533990263938904, -0.2231730818748474, 0.2726089060306549, -0.5064539313316345, -0.4068599045276642, 0.1548420637845993, -1.0277254581451416, -0.16151489317417145, -0.39673709869384766, 0.11683385074138641, -0.18980616331100464, -0.08842401951551437, 0.10867896676063538, -0.30857083201408386, 0.11094528436660767, 0.32224512100219727, -0.9109912514686584, 0.2123183161020279, 0.8157409429550171, 0.7297564744949341, -0.17283564805984497, 0.06266836076974869, -0.737190306186676, 0.5069261789321899, -0.21994484961032867, 1.1377559900283813, -0.5151656270027161, -0.018154829740524292, -0.10474825650453568, -0.2523435652256012, -0.04043653607368469, -0.2906000316143036, 0.4239738881587982, -0.862849771976471, 0.3664383590221405, 0.16903941333293915, -0.6058275699615479, -0.07476183027029037, -0.06278201937675476, -0.8412012457847595, 0.7484269142150879, -0.15633432567119598, -1.1281065940856934, 0.6711251139640808, -0.8623864054679871, -0.4926704168319702, 0.0443701446056366, -0.12140683829784393, -0.4679202139377594, -0.3531484007835388, 0.5780465006828308, 0.504366934299469, -0.3269902169704437, 0.7780559062957764, -0.17491790652275085, -0.09102753549814224, 0.43623706698417664, -0.5302454829216003, 0.2025783360004425, 0.1198575347661972, -0.26115480065345764, 0.2801281809806824, -0.7137709856033325, -0.5188656449317932, 0.050023630261421204, 0.14004461467266083, -0.6286013722419739, 0.32661569118499756, 0.22199562191963196, 0.17549331486225128, 0.4385664761066437, -0.2576409578323364, 0.01770803891122341, -0.6074661612510681, 0.5066601037979126, 0.9606493711471558, 0.35538774728775024, 0.6273941993713379, -0.22639232873916626, 0.41273555159568787, 0.3085852861404419, 0.0003714369668159634, -0.3357517123222351, -0.3219349980354309, -0.4362686574459076, -0.12934038043022156, 0.3413793742656708, 0.6715714335441589, -0.5846601724624634, 0.5137787461280823, 0.18345791101455688, -0.2176370918750763, -0.08873556554317474, -0.0902550220489502, -0.1774957925081253, 0.48950985074043274, 0.1019742414355278, -0.09025933593511581, -0.6889362931251526, -0.8777783513069153, -0.18979492783546448, -0.2784895598888397, -0.0242867823690176, -0.012315219268202782, 0.33263182640075684, -0.05764613673090935, 1.196993350982666, -0.8395283222198486, -0.37169721722602844, -0.08736114948987961, 0.5752120018005371, 0.5267237424850464, 0.2846710681915283, 0.8119215369224548, -1.280964732170105, -0.23725423216819763, 0.17183515429496765, -0.5473582148551941, 0.015476735308766365, -0.5780863165855408, 0.0526127964258194, 0.3520340025424957, 0.6393358707427979, -0.2745603919029236, 0.4862991273403168, 0.22198458015918732, -0.5931791663169861, 0.19574210047721863, -0.21199023723602295, -0.14690721035003662, -1.2149711847305298, 0.08482951670885086, 0.47696566581726074, -0.3056356608867645, -0.3373524844646454, -0.5264778137207031, -0.4084590971469879, -0.11917353421449661, 0.02390209585428238, 0.8977808356285095, -0.08877334743738174, -0.26168233156204224, -0.4568673372268677, 0.3769058883190155, -0.12229688465595245, 0.45968157052993774, 0.2529352009296417, 0.6766793727874756, 0.4091339409351349, -0.5013360977172852, 0.15128907561302185, -0.02505619451403618, -0.3960523009300232, 0.2615588903427124, -0.4587617516517639, -0.21504580974578857, 0.05565701425075531, 0.13495533168315887, -0.9436375498771667, 0.06722553819417953, 0.4444030821323395, -0.3195613920688629, 0.11351891607046127, 0.04655861482024193, -0.5670791268348694, -0.2131890058517456, -0.08692675083875656, 0.06973761320114136, 0.044109560549259186, -0.2707499563694, 0.5533442497253418, 0.6099230051040649, -0.8390213847160339, -0.5339036583900452, -0.20599882304668427, 0.06425133347511292, -0.29929256439208984, -0.4156617820262909, 0.5007711052894592, 0.09280121326446533, -0.3886150121688843, 0.3069543242454529, -0.3211231827735901, -0.26565513014793396, 0.3195106089115143, 0.1397988498210907, 0.7552186846733093, -0.04095249995589256, 0.1820283979177475, 0.19345758855342865, -0.4868439733982086, -0.05177461728453636, -0.4669707715511322, 0.4299910068511963, -0.0766313448548317, -0.10908448696136475, -0.6002395749092102, 0.4301651120185852, 0.11451960355043411, -0.2845489978790283, 0.7470571398735046, 0.6023489236831665, -0.5744926929473877, -0.017313307151198387, -0.44563019275665283, -0.22567033767700195, -0.4641902446746826, 0.29185813665390015, -0.01854013465344906, -0.8477013111114502, 0.7128139734268188, 0.14914461970329285, 0.0778130292892456, 1.0750665664672852, 0.4749220907688141, -0.03881269693374634, 0.8299329876899719, 0.8338592648506165, -0.3925601541996002, 0.7422611117362976, -0.20916101336479187, 0.4499932527542114, -0.12914332747459412, -0.11129704862833023, -0.5098451375961304, -0.2288210093975067, -0.43469247221946716, -0.2758490741252899, -0.10619065910577774, 0.11076609790325165, 0.16054975986480713, 0.3115993142127991, -0.4323398172855377, 0.31341353058815, 0.4321351945400238, -0.18520087003707886, 0.496573269367218, 0.017754938453435898, -0.14077912271022797, -0.14455151557922363, -0.31447505950927734, -0.6441137194633484, 0.935071587562561, 0.520648717880249, 0.691940188407898, -0.3133750259876251, 0.38732293248176575, 0.8518242835998535, 0.42814186215400696, -0.4919659495353699, 0.3437805473804474, -0.31956496834754944, -0.4056059420108795, -0.33273565769195557, -0.5746701955795288, -0.5147404670715332, -0.14563849568367004, -0.05486806854605675, -0.8254196643829346, 0.4229886531829834, -0.3434520363807678, -0.6810712814331055, 0.32710880041122437, -0.39556437730789185, 0.7142724394798279, -0.11151781678199768, 0.025534505024552345, -0.38213297724723816, -0.4146440625190735, 0.013037499971687794, -0.5287089943885803, 0.30315548181533813, -0.34516653418540955, -0.05677172169089317, 1.126343846321106, -0.09463171660900116, 0.8892982602119446, -0.03636246174573898, -0.5252134799957275, 0.298700213432312, -0.390595018863678, 0.4025869369506836, 0.589573860168457, -0.12383311241865158, 0.10990350693464279, 0.1788998544216156, -0.3099183738231659, -0.4996105432510376, 0.5014721751213074, -0.5981539487838745, -0.53230220079422, -0.7745321989059448, -0.6509478688240051, 0.06613912433385849, 0.03778056800365448, -0.06249605864286423, 0.28138089179992676, -0.1952323019504547, 0.01515897549688816, 0.20759548246860504, 0.02495856210589409, 0.6956287026405334, 0.7730216979980469, -0.18842855095863342, -0.3389054238796234, 0.9530885219573975, 0.0044747451320290565, -0.40181756019592285, 0.8273837566375732, 0.11782771348953247, -0.3474748730659485, -0.6272974610328674, -0.11751697212457657, -0.025281762704253197, -0.5313810706138611, -0.2376200258731842, -0.6951577067375183, -0.3113892376422882, -0.40170034766197205, -0.35100629925727844, -0.3137340545654297, -0.4347330331802368, -0.6989939212799072, -0.1632629930973053, 0.36968907713890076, 0.5072787404060364, -0.22076071798801422, 0.16797447204589844, -0.9216132164001465, 0.49570590257644653, 0.2714773714542389, 0.17510433495044708, -0.06669305264949799, -0.4294787049293518, -0.44567397236824036, 0.011151300743222237, -0.3859386146068573, -0.6081861853599548, 0.7736789584159851, 0.0817916989326477, 0.5400598645210266, 0.7416684627532959, 0.14051666855812073, 0.3436027765274048, -0.14891286194324493, 0.3916066288948059, 0.09896787256002426, -0.7785810828208923, 0.8047606348991394, -0.4786115288734436, -0.04939385503530502, 0.3323618471622467, 0.347092866897583, -0.6015998125076294, -0.593709409236908, -0.5394238233566284, -0.9113208055496216, 0.829848051071167, 0.13646888732910156, -0.17834363877773285, -0.10131015628576279, 0.6115968823432922, 0.3438497483730316, 0.44825610518455505, -0.6550108790397644, -0.1969672441482544, 0.06745899468660355, -0.06845036894083023, -0.030847955495119095, -0.32374224066734314, 0.1005312129855156, -0.0403999462723732, 0.6930319666862488, -0.2577817440032959, 0.2401457130908966, 0.024695616215467453, 0.22800537943840027, -0.3318553864955902, 0.18716008961200714, 0.24329042434692383, 0.9747448563575745, -0.530525803565979, -0.3820698857307434, -0.18147465586662292, -0.289268434047699, -0.003874563379213214, 0.8432786464691162, -0.18998505175113678, 0.19421617686748505, 0.5068352818489075, 0.5203948020935059, 0.530812680721283, -0.7352001070976257, 0.3365766704082489, -0.22032558917999268, 0.020433682948350906, -0.6002151966094971, -0.24216684699058533, -0.07002339512109756, 0.6502653360366821, 0.9769269227981567, 0.26065754890441895, 0.20570878684520721, -0.7683488130569458, 0.7804188132286072, 0.14115941524505615, -0.40073463320732117, -0.33861517906188965, 0.8365654945373535, 0.27603796124458313, 0.021953869611024857, 0.6104979515075684, -0.27736857533454895, -0.510397732257843, 0.8110926151275635, 0.3261604905128479, 1.0453683137893677, -0.06611721217632294, 0.5830026865005493, 0.00016641488764435053, -0.08451671153306961, -0.02555381879210472, 0.30727848410606384, 0.1623224914073944, -0.8173301219940186, -0.7140816450119019, -0.8119199275970459, -0.3439057469367981, 0.0524909570813179, -0.6707772612571716, 0.2123386114835739, -0.26416653394699097, -0.26608553528785706, 0.6914486289024353, 0.3465317189693451, -0.4122411012649536, -0.05040779709815979, 0.22333618998527527, 0.7508257031440735, -0.8483403325080872, 0.7631691098213196, 0.47560280561447144, -0.25001177191734314, -0.21976158022880554, 0.30378344655036926, -0.06376725435256958, -0.2980636656284332, 0.9373950362205505, 0.21061855554580688, 0.3956237733364105, -0.2461049109697342, -0.07229524105787277, -0.579150915145874, 0.9121383428573608, 0.42778539657592773, -0.6303120851516724, -0.514447808265686, -0.11441468447446823, 0.38316890597343445, -0.4227316081523895, -0.2712639272212982, 0.36101779341697693, 0.46331867575645447, 0.4799765944480896, -0.8240424990653992, -0.36879876255989075, -0.30901575088500977, -0.4004088342189789, 0.5358726978302002, -0.47661614418029785, 0.8087456822395325, -0.13133268058300018, -0.1562267243862152, 0.08862167596817017, 0.9638839364051819, 0.03330322727560997, 0.823895275592804, 0.4478578567504883, 0.3751578629016876, 0.7338932752609253, -0.0970473513007164, 0.9669913649559021, -0.5598521828651428, 0.4475153982639313, 1.0101183652877808, -0.38425207138061523, 0.8720459938049316, 0.3980903625488281, -0.11443907767534256, 0.4286215007305145, 0.7911374568939209, -0.08484558016061783, 0.7976111173629761, 0.05994699150323868, -0.2019915133714676, -0.24230122566223145, -0.422666072845459, -0.21597975492477417, 0.5319840312004089, 0.4923761785030365, -0.3470000922679901, -0.3119809031486511, 0.040577057749032974, -0.32356104254722595, 0.07013265043497086, -0.2489410638809204, 0.7668142914772034, 0.23189055919647217, -0.44302013516426086, -0.40001562237739563, 0.3005848824977875, 0.6445791721343994, -0.7415117025375366, -0.08457881957292557, -0.017145482823252678, 0.1887069195508957, 0.1673153042793274, -0.6907712817192078, 0.6663370132446289, -0.04118693992495537, -0.2802360951900482, -0.40314775705337524, 1.002764344215393, -0.30916884541511536, -0.7124451994895935, 0.382132351398468, 0.4294130504131317, -0.3124763071537018, -0.3340766727924347, -0.6361443400382996, -0.41660553216934204, -0.02776183746755123, -0.11650722473859787, 0.25221022963523865, 0.6225847005844116, 0.014679497107863426, 0.6383675932884216, 0.8419718146324158, -0.09050652384757996, -0.5093992948532104, -0.02884761430323124, 0.9524931311607361, -0.8657812476158142, -1.030112862586975, -0.7986505031585693, -0.06352300196886063, -0.08368881046772003, -0.13648919761180878, 0.6189883351325989, 0.7675135135650635, 0.4420603811740875, 0.2138366848230362, 0.4511817693710327, 0.367776095867157, 0.5471085906028748, -0.7029163837432861, 0.6630774140357971, -0.3375209867954254, 0.6513974666595459, -0.4615696966648102, -0.665976345539093, -0.2281699925661087, 0.5158987045288086, -0.7492666840553284, -0.2903852164745331, 0.4170317053794861, 0.29668933153152466, 0.14948438107967377, 0.4503191113471985, -0.001720910076983273, -0.022213131189346313, 0.1987811177968979, 0.21200022101402283, 0.617546021938324, -0.16420552134513855, 0.4269874691963196, -0.3963785767555237, 0.08696579933166504, -0.5453048944473267, -0.9062449336051941, -0.8512685894966125, -0.8707942962646484, -0.6200748085975647, 0.19592739641666412, 0.11636053025722504, 0.6833006739616394, 0.3830125331878662, -0.8054068088531494, -0.22219602763652802, 0.07469739019870758, 0.3592563569545746, -0.2790912985801697, -0.35143452882766724, 0.8004762530326843, -0.1852806806564331, -0.4869178235530853, 0.23397815227508545, 0.7783790826797485, 0.151017427444458, -0.3237055838108063, 0.2782021760940552, -0.448907732963562, 0.02941444329917431, 0.5339878797531128, 0.010797805152833462, -0.33801308274269104, -0.24010266363620758, -0.1632179468870163, 0.05417526513338089, -0.07268377393484116, 0.8819869160652161, -0.7568140029907227, 0.029882026836276054, 0.42031893134117126, 0.580937922000885, 0.4497556686401367, 0.04977881908416748, 0.6722389459609985, -0.7689401507377625, 0.5374200940132141, 0.3979377746582031, 0.27777454257011414, -0.054200805723667145, -0.6347638964653015, 0.36267343163490295, 0.3112269341945648, -0.30113527178764343, -0.5257552862167358, -0.29400205612182617, -0.8004075288772583, -0.4640333950519562, 0.662565290927887, 0.11402168869972229, -0.3096667230129242, -0.19825348258018494, -0.12189895659685135, 0.09581073373556137, -0.8426300883293152, 0.8894004225730896, 0.7909234762191772, 0.10292473435401917, -0.15801560878753662, -0.7747634053230286, 0.3771575093269348, 0.07231048494577408, -0.8002817034721375, -0.021710751578211784, 0.18770933151245117, -0.14751911163330078, 0.3116944432258606, 0.6597491502761841, 0.06031259149312973, 0.2766651511192322, -0.09566573798656464, -0.35704514384269714, 0.27837058901786804, -0.38383814692497253, 0.02511506713926792, 0.2642228603363037, -0.30259060859680176, -0.04674334079027176 ]
http://arxiv.org/abs/2404.00419v1
http://arxiv.org/pdf/2404.00419v1
Do Vision-Language Models Understand Compound Nouns?
2024-03-30T16:54:45
2024-03-30T16:54:45
Sonal Kumar, Sreyan Ghosh, S Sakshi, Utkarsh Tyagi, Dinesh Manocha
cs.CV
cs.CV, cs.CL
Open-vocabulary vision-language models (VLMs) like CLIP, trained using contrastive loss, have emerged as a promising new paradigm for text-to-image retrieval. However, do VLMs understand compound nouns (CNs) (e.g., lab coat) as well as they understand nouns (e.g., lab)? We curate Compun, a novel benchmark with 400 unique and commonly used CNs, to evaluate the effectiveness of VLMs in interpreting CNs. The Compun benchmark challenges a VLM for text-to-image retrieval where, given a text prompt with a CN, the task is to select the correct image that shows the CN among a pair of distractor images that show the constituent nouns that make up the CN. Next, we perform an in-depth analysis to highlight CLIPs' limited understanding of certain types of CNs. Finally, we present an alternative framework that moves beyond hand-written templates for text prompts widely used by CLIP-like models. We employ a Large Language Model to generate multiple diverse captions that include the CN as an object in the scene described by the caption. Our proposed method improves CN understanding of CLIP by 8.25% on Compun. Code and benchmark are available at: https://github.com/sonalkum/Compun
[ -0.2565406560897827, -0.6287410259246826, 0.5299239754676819, 0.207523375749588, -0.5658697485923767, 0.17347227036952972, -0.34596115350723267, -0.3299015462398529, -0.19084544479846954, 0.28896796703338623, -0.4629364609718323, -0.4746197760105133, -0.5825608372688293, 0.36105868220329285, -0.4184691309928894, 0.5753642320632935, 0.0352308452129364, 0.13960351049900055, -0.32037028670310974, -0.22037576138973236, -0.4660521447658539, -0.6373230814933777, -0.47805166244506836, -0.26175856590270996, 0.7119827270507812, 0.27894508838653564, 0.7871743440628052, 1.0345171689987183, 0.7182877659797668, 0.33476513624191284, -0.2457604855298996, 0.4179052412509918, -0.566694438457489, -0.3534151613712311, -0.1889474242925644, -0.2526586353778839, 0.034425657242536545, -0.23855239152908325, 0.4930152893066406, 0.9641414284706116, 0.11167828738689423, -0.33671247959136963, 0.021825114265084267, 0.3774430751800537, -0.9353256821632385, 0.2634701430797577, -0.7853524088859558, 0.06996086239814758, -0.09092070907354355, -0.21343688666820526, -0.5373702049255371, 0.06731924414634705, 0.40000542998313904, -0.9979411363601685, 0.5003462433815002, 0.3681304454803467, 1.234215497970581, -0.08377121388912201, -0.30428093671798706, 0.005789385177195072, -0.37441888451576233, 0.9511485695838928, -0.19226208329200745, 0.4865540564060211, -0.1439480185508728, 0.4167610704898834, 0.06321068108081818, -0.7920596599578857, -0.6764066815376282, -0.10401633381843567, -0.14079086482524872, 0.3292904198169708, -0.13603270053863525, -0.04750935360789299, -0.026600560173392296, 0.8053051829338074, -0.49196282029151917, -0.05463053658604622, -0.39448854327201843, -0.07847633957862854, 0.32999053597450256, 0.22615477442741394, 0.4192269742488861, -0.31967201828956604, -1.042384147644043, -0.47981634736061096, -0.5332295298576355, 0.12326325476169586, -0.06706571578979492, 0.3326376974582672, -0.16143210232257843, 0.6633615493774414, 0.03319065645337105, 0.7845107316970825, -0.1555374413728714, -0.04663939028978348, 0.24035324156284332, -0.5113106966018677, -0.3696295917034149, -0.2416289746761322, 0.7930358648300171, 0.7221266627311707, 0.40501806139945984, -0.33882758021354675, -0.13365480303764343, 0.22463388741016388, 0.10208200663328171, -0.5842676162719727, -0.765637218952179, -0.2477491945028305, -0.3878532350063324, -0.16999411582946777, 0.3286915421485901, -0.28664204478263855, -0.38007500767707825, -0.6052646636962891, 0.5404161214828491, -0.5480908155441284, 0.00988035835325718, 0.43602558970451355, -0.5931606888771057, 0.28071609139442444, 0.4705885946750641, -0.6088898181915283, 0.9406416416168213, 0.6688946485519409, 1.0324206352233887, -0.904447078704834, -0.3840430676937103, -0.6053383946418762, -0.10151715576648712, -0.3429919481277466, 1.0706684589385986, -0.2857153117656708, -0.5243003964424133, 0.019082823768258095, 0.09648216515779495, -0.39154088497161865, -0.9579343795776367, 0.14149487018585205, -0.43336015939712524, -0.22263038158416748, -0.3727967441082001, -0.41089874505996704, -0.18992836773395538, 0.3623528778553009, -0.7155212163925171, 0.7772395014762878, -0.13442105054855347, -0.6187566518783569, 0.2844589352607727, -0.16223964095115662, -0.16267572343349457, 0.013639076612889767, -0.4023088216781616, -0.2606460154056549, 0.13977573812007904, 0.39674559235572815, 0.31214097142219543, -0.2352212369441986, 0.26249995827674866, -0.18870966136455536, -0.32213807106018066, 0.5095419883728027, -0.14551319181919098, 0.6041913628578186, -0.14504891633987427, 0.21456339955329895, 0.3198190927505493, -0.5821850895881653, -0.26845496892929077, 0.15008661150932312, -0.009718390181660652, -0.4865923821926117, -0.03362898901104927, 0.3288717269897461, 0.06619884073734283, 0.13087333738803864, -0.7492572069168091, -0.11809185147285461, -0.18538689613342285, 0.07555528730154037, 0.7116490006446838, -0.12224550545215607, 0.3515658974647522, -0.40160292387008667, 0.24572288990020752, 0.3032882809638977, 0.06105962023139, -0.5668810606002808, -0.2931649088859558, -0.760510265827179, -0.5731610059738159, -0.04276494309306145, 0.47457796335220337, -0.9530293345451355, -0.029747992753982544, -0.22647415101528168, -0.25819629430770874, -0.08310994505882263, 0.036224476993083954, 0.6525307893753052, 0.7922224402427673, 0.49428701400756836, -0.4853562116622925, -0.4826466739177704, -1.0365025997161865, -0.3103415369987488, -0.031144216656684875, -0.09912977367639542, 0.7760130167007446, 0.5659016370773315, 0.19639113545417786, 0.8343381881713867, -0.8026405572891235, -0.32219308614730835, -0.1651434302330017, 0.32756325602531433, 0.17703212797641754, 0.23079891502857208, 0.38904091715812683, -1.002084732055664, -0.22464211285114288, -0.005088878329843283, -0.7326847910881042, -0.01969950646162033, -0.06707219779491425, 0.07814908027648926, -0.13284249603748322, 0.7068215608596802, -0.36996686458587646, 0.4379870891571045, 0.4360675811767578, -0.386117547750473, 0.8360500335693359, -0.3022535443305969, -0.07379366457462311, -0.6836325526237488, 0.1800045520067215, 0.14813095331192017, -0.4195827543735504, -0.3589005768299103, 0.1850423812866211, 0.12019209563732147, -0.058443643152713776, -0.9639120101928711, 0.742598831653595, -0.5257702469825745, -0.27212709188461304, -0.24367393553256989, 0.3599170744419098, 0.39603814482688904, 0.5800651907920837, 0.5162749290466309, 0.95052570104599, 0.669747531414032, -0.8057371377944946, 0.36734554171562195, 0.48233988881111145, -0.4658382534980774, 0.6908557415008545, -0.9614201188087463, -0.12983787059783936, -0.21937142312526703, 0.0733710527420044, -0.7793363928794861, -0.16758577525615692, 0.3069496154785156, -0.19911538064479828, 0.023403707891702652, 0.10803166031837463, -0.6431394815444946, -0.22367678582668304, -0.3743208348751068, 0.6139902472496033, 0.13471762835979462, -0.8000949025154114, 0.3322857916355133, 0.21083740890026093, -0.016500741243362427, -0.4145756661891937, -0.631619930267334, 0.11103057861328125, 0.1925238072872162, -0.35349327325820923, 0.6897042393684387, -0.27531084418296814, -0.25969648361206055, -0.05966739356517792, -0.08606545627117157, -0.4451259672641754, -0.1038898304104805, 0.27122586965560913, 0.5994016528129578, -0.19693146646022797, 0.2219182699918747, -0.2967461943626404, 0.15551473200321198, -0.06996265053749084, -0.024716325104236603, 0.48876142501831055, -0.2617025673389435, -0.02923249453306198, -0.18092848360538483, 0.2520129680633545, 0.26516929268836975, -0.23745745420455933, 0.520957887172699, 0.27645236253738403, -0.02443317510187626, -0.03215394169092178, -0.18122845888137817, -0.21669787168502808, -0.44801753759384155, 0.23978093266487122, -0.5863716006278992, -0.6190956830978394, 0.5602819323539734, -0.11190846562385559, -0.3155464231967926, 0.31551939249038696, 0.46028932929039, -0.1396249383687973, 0.4928804636001587, 0.633629560470581, 0.3908379077911377, 0.3650355041027069, -0.4271986782550812, -0.055485643446445465, -0.9437222480773926, -0.4851354658603668, -0.1326846480369568, -0.2566313147544861, -0.3096357583999634, -0.6499156951904297, 0.422487735748291, -0.1313132792711258, -0.02248089574277401, 0.46939390897750854, -0.36662447452545166, 0.5839986801147461, 0.40610846877098083, 0.4569861888885498, 0.6130576729774475, 0.007272953167557716, -0.2518063187599182, -0.006254175677895546, -0.7291256785392761, -0.12119555473327637, 0.6820561289787292, 0.2816949486732483, 0.7200921177864075, -0.24480687081813812, 0.4626094400882721, 0.03996209055185318, 0.08274948596954346, -1.1541036367416382, 0.6839824318885803, -0.5891550779342651, -0.43884602189064026, 0.05875831097364426, -0.20318882167339325, -1.0131683349609375, 0.5348052978515625, -0.011171114630997181, -0.5279666185379028, 0.6289116740226746, 0.1142403781414032, -0.31492045521736145, 0.31749042868614197, -0.3743060529232025, 1.149633526802063, -0.11152201145887375, -0.31617796421051025, 0.0067001148127019405, -0.5827159285545349, 0.49244779348373413, 0.12568722665309906, 0.0992971807718277, -0.1255773901939392, -0.6224469542503357, 0.6000849008560181, -0.6925678849220276, 0.6869158148765564, 0.27627265453338623, 0.10854903608560562, 0.2821938097476959, -0.055528298020362854, -0.11632014065980911, -0.12664738297462463, -0.04140717536211014, 0.3544721305370331, -0.007090214639902115, -0.3338035047054291, -0.543509304523468, 0.4798107147216797, -0.5461533665657043, -0.06128361448645592, -0.4971851408481598, -0.8148627877235413, 0.1861318200826645, 0.1111549660563469, 0.43715938925743103, 0.7040665745735168, -0.2153346687555313, 0.28272053599357605, 0.6954379081726074, -0.35629913210868835, 0.36292925477027893, 0.3894008696079254, -0.3890383541584015, -0.46565112471580505, 0.9635469317436218, -0.0946580097079277, 0.3131319284439087, 0.3686414957046509, 0.32731446623802185, -0.16143076121807098, -0.4341992437839508, -0.40050628781318665, 0.30823880434036255, -0.7401220798492432, -0.3205145001411438, -0.4923279285430908, -0.11967684328556061, 0.040796101093292236, -0.10785496234893799, -0.3214944005012512, -0.14348211884498596, -0.42832332849502563, 0.24942146241664886, 0.45458880066871643, 0.45866578817367554, 0.08261340856552124, 0.6028808951377869, -0.6594165563583374, 0.9788172841072083, 0.3489641547203064, 0.5059305429458618, -0.2720344662666321, -0.6469710469245911, -0.10912954062223434, -0.24717220664024353, -0.1333923488855362, -0.74404376745224, 0.43595778942108154, 0.4820953905582428, 0.22336769104003906, 0.3296095132827759, 0.2004106342792511, 0.7234547138214111, -0.7422661185264587, 0.8230537176132202, 0.419950008392334, -0.9643806219100952, 0.35342976450920105, -0.47615304589271545, 0.4964178502559662, 0.5513664484024048, 0.20454534888267517, -0.4806283712387085, -0.2628472149372101, -0.4159080982208252, -0.8362727761268616, 0.5849059820175171, 0.2849070727825165, 0.2309531569480896, -0.3755088150501251, -0.030813101679086685, 0.3820837736129761, 0.2658531069755554, -0.6889772415161133, -0.427278995513916, -0.1573512852191925, -0.05283430591225624, 0.16552680730819702, -0.10622618347406387, 0.12012737989425659, -0.26092466711997986, 0.2807651162147522, -0.17635469138622284, 0.20936094224452972, 0.5144811868667603, -0.31079334020614624, 0.18623915314674377, -0.04289389029145241, 0.3505377769470215, 0.3620256185531616, -0.3165530562400818, 0.32551273703575134, -0.06467264145612717, -0.5361443758010864, -0.17600899934768677, -0.008868534117937088, -0.09637800604104996, 0.5555612444877625, 0.2454838901758194, 0.7972182631492615, 0.7682642340660095, -0.9065254926681519, 0.866388738155365, -0.08620598912239075, -0.367622047662735, -0.1692465990781784, -0.15356600284576416, -0.296793133020401, -0.16448372602462769, 0.3653363287448883, 0.16203995048999786, 0.3027210235595703, -0.7133174538612366, 0.33451902866363525, 0.2905782163143158, -0.2716313898563385, -0.2042965441942215, 0.34181541204452515, 0.12663131952285767, -0.10362311452627182, 0.3035670220851898, -0.16168589890003204, -0.6183285117149353, 0.673101544380188, 0.49003130197525024, 0.6769055128097534, 0.2262585610151291, 0.2363256961107254, 0.3120654225349426, 0.0067119598388671875, -0.2712326943874359, 0.5721969604492188, 0.02110988087952137, -0.7660782933235168, -0.3797354996204376, -0.25267311930656433, -0.7008472681045532, 0.10874907672405243, -0.6554281115531921, 0.33152446150779724, -0.6825239658355713, -0.027570096775889397, 0.12988638877868652, -0.5046118497848511, -0.7770731449127197, 0.37230706214904785, 0.30449703335762024, 0.9826390147209167, -0.7163604497909546, 0.5401779413223267, 0.6283863186836243, -0.3426786959171295, -0.654792308807373, -0.23029446601867676, -0.17733673751354218, -0.6112779378890991, 1.0568995475769043, 0.23473431169986725, -0.34525027871131897, -0.174368754029274, -0.7098373174667358, -0.6564954519271851, 0.7428609728813171, 0.32446372509002686, -0.4670264720916748, -0.0322643481194973, 0.0149641502648592, 0.3017480671405792, -0.4409886300563812, 0.039856117218732834, 0.27991965413093567, 0.2579667866230011, 0.1301897168159485, -1.0246593952178955, -0.2690080404281616, -0.23938687145709991, 0.21908502280712128, -0.10043791681528091, -0.4159051477909088, 1.3044084310531616, -0.18483570218086243, -0.4238489866256714, 0.3906027674674988, 0.7066088914871216, 0.2591482400894165, 0.6793563365936279, 0.5376651287078857, 0.34623968601226807, 0.35475796461105347, -0.0988221988081932, 1.3669023513793945, -0.04841488227248192, 0.1991729587316513, 1.4356387853622437, -0.053274206817150116, 1.0889443159103394, 0.7086470723152161, 0.022336503490805626, 0.6308071613311768, 0.34158211946487427, -0.30879896879196167, 0.5029851794242859, 0.41567304730415344, -0.1401761770248413, -0.4267212748527527, -0.5815609693527222, 0.07089222222566605, 0.415671169757843, 0.15558286011219025, -0.42828255891799927, -0.2733744978904724, 0.31463050842285156, -0.4400547742843628, 0.5988032817840576, -0.42651277780532837, 0.7597132921218872, 0.3321290612220764, -0.4249570369720459, 0.710784375667572, -0.3443121910095215, 0.6573437452316284, -0.21248182654380798, 0.03049808368086815, 0.055921781808137894, 0.3086372911930084, -0.00998416543006897, -0.8823251724243164, 0.18369223177433014, -0.08849255740642548, -0.13483956456184387, 0.0039582387544214725, 0.632908046245575, -0.4844040274620056, -0.6128514409065247, 0.3243193030357361, 0.559883177280426, 0.30360278487205505, -0.3224375545978546, -0.5702548027038574, 0.39849960803985596, -0.5249818563461304, 0.270668089389801, -0.20046012103557587, 0.27229389548301697, 0.03281335160136223, 0.6003350019454956, 0.4298667907714844, 0.06535140424966812, 0.10609302669763565, 0.13199955224990845, 0.9250307083129883, -0.34159722924232483, -0.30045974254608154, -0.7525262832641602, 0.3455568850040436, -0.2781696021556854, -0.19914975762367249, 0.6848393678665161, 0.8917385339736938, 1.0835317373275757, -0.6532220244407654, 0.4610988199710846, 0.33896422386169434, 0.46908730268478394, -0.5280359387397766, 0.42391690611839294, -0.6388266086578369, -0.03961532562971115, -0.355031818151474, -0.6880543828010559, -0.6120059490203857, 0.41797110438346863, -0.42102959752082825, -0.49566489458084106, 0.9012342691421509, 0.8296934962272644, -0.3786846101284027, -0.37302517890930176, 0.41626545786857605, -0.17211352288722992, -0.06218808889389038, 0.459046870470047, 0.838295578956604, -0.8787698149681091, 0.8682404160499573, -0.4317162334918976, 0.1389857679605484, -0.36138916015625, -0.8591791987419128, -0.9292377233505249, -0.42260223627090454, -0.7369899749755859, 0.11980682611465454, 0.21320179104804993, 0.7234063744544983, 0.8038821220397949, -0.6820721626281738, -0.3548355996608734, -0.23923800885677338, 0.024200022220611572, -0.3401053845882416, -0.15668101608753204, 0.34388938546180725, -0.3039308488368988, -0.707361102104187, 0.28165382146835327, 0.3169364929199219, 0.05814429372549057, 0.15793795883655548, -0.05972797051072121, -0.26256078481674194, 0.09018555283546448, 0.8027827143669128, 0.3375247120857239, -0.9341599345207214, -0.13447648286819458, 0.3837183117866516, -0.28183794021606445, 0.40696367621421814, 0.9940570592880249, -1.0875741243362427, 0.6355643272399902, 0.6076070666313171, 0.5387540459632874, 0.1798252910375595, 0.019544703885912895, 0.554922342300415, -0.7839201092720032, 0.1630794107913971, 0.04850776121020317, 0.4160371720790863, 0.660063624382019, -0.011180552653968334, 0.26618024706840515, 0.4836328625679016, -0.04930443316698074, -0.6144168376922607, 0.3146629333496094, -1.5489999055862427, -0.4325267970561981, 1.02873694896698, -0.2649470269680023, -0.6327579021453857, -0.09964349120855331, -0.7337074875831604, 0.2546769380569458, -0.3988901972770691, 0.5315930843353271, 0.27776965498924255, 0.13001325726509094, -0.6595413088798523, -0.2414732128381729, 0.28337225317955017, 0.4622991979122162, -0.6696950197219849, 0.24878636002540588, 0.480195552110672, -0.07340019196271896, 0.27678918838500977, 0.09582336246967316, -0.10192085057497025, 0.6854172348976135, -0.1818498820066452, -0.07121673226356506, -0.2647336721420288, -0.4201081395149231, -0.31791651248931885, -0.04314660653471947, -0.03438282012939453, -0.6000716686248779 ]
http://arxiv.org/abs/2404.00415v1
http://arxiv.org/pdf/2404.00415v1
CoDa: Constrained Generation based Data Augmentation for Low-Resource NLP
2024-03-30T16:47:06
2024-03-30T16:47:06
Chandra Kiran Reddy Evuru, Sreyan Ghosh, Sonal Kumar, Ramaneswaran S, Utkarsh Tyagi, Dinesh Manocha
cs.CL
cs.CL
We present CoDa (Constrained Generation based Data Augmentation), a controllable, effective, and training-free data augmentation technique for low-resource (data-scarce) NLP. Our approach is based on prompting off-the-shelf instruction-following Large Language Models (LLMs) for generating text that satisfies a set of constraints. Precisely, we extract a set of simple constraints from every instance in the low-resource dataset and verbalize them to prompt an LLM to generate novel and diverse training instances. Our findings reveal that synthetic data that follows simple constraints in the downstream dataset act as highly effective augmentations, and CoDa can achieve this without intricate decoding-time constrained generation techniques or fine-tuning with complex algorithms that eventually make the model biased toward the small number of training instances. Additionally, CoDa is the first framework that provides users explicit control over the augmentation generation process, thereby also allowing easy adaptation to several domains. We demonstrate the effectiveness of CoDa across 11 datasets spanning 3 tasks and 3 low-resource settings. CoDa outperforms all our baselines, qualitatively and quantitatively, with improvements of 0.12%-7.19%. Code is available here: https://github.com/Sreyan88/CoDa
[ -0.3331913650035858, -0.6354700922966003, 0.49860554933547974, 0.420324444770813, -0.3830287456512451, 0.216772198677063, -0.49696779251098633, -0.5268399715423584, 0.37254709005355835, 0.4818457067012787, -0.862166702747345, -0.5723992586135864, -0.3599778115749359, 0.3791525065898895, -0.14498162269592285, 0.7282431125640869, 0.2318427413702011, -0.12892653048038483, -0.41363948583602905, -0.17107366025447845, -0.817516028881073, -0.5181249380111694, -0.30740806460380554, -0.20193840563297272, 0.4033033847808838, 0.6060083508491516, 0.756680428981781, 0.7575708031654358, 0.25928202271461487, 0.16255472600460052, -0.18307076394557953, 0.8384690880775452, -0.5775703191757202, -0.08338028937578201, -0.22927719354629517, -0.4489789605140686, -0.3018629550933838, -0.224282369017601, 0.3891621232032776, 0.8707823753356934, -0.12543071806430817, 0.3660670518875122, 0.07672855257987976, 0.7589694857597351, -0.8613627552986145, 0.13041448593139648, -1.06877863407135, 0.08708509057760239, -0.19201482832431793, -0.24866372346878052, -0.4555078446865082, -0.21092143654823303, -0.052619919180870056, -0.9628965258598328, 0.16650433838367462, -0.03738705813884735, 0.579956591129303, 0.6221377849578857, -0.252275288105011, -0.35795825719833374, -0.6866355538368225, 0.8593510389328003, -0.6162787079811096, 0.1486940085887909, 0.40420523285865784, -0.08778902888298035, -0.002695772098377347, -0.6925209164619446, -0.7550952434539795, -0.1513393074274063, -0.02196476235985756, 0.055458080023527145, -0.09054059535264969, 0.08220001310110092, 0.5682852268218994, 0.3557204306125641, -0.357767254114151, 0.3032003343105316, -0.3815518021583557, -0.006275023799389601, 0.5800331234931946, 0.05898914486169815, 0.2976275384426117, -0.21946516633033752, -0.2749757766723633, -0.11216990649700165, -0.8853477239608765, -0.13229209184646606, 0.42808201909065247, 0.7600197792053223, -0.2689037621021271, 0.7838274836540222, -0.3620339632034302, 0.8079295754432678, -0.033363454043865204, 0.28780490159988403, 0.39585670828819275, -0.33867529034614563, -0.16523945331573486, 0.07292929291725159, 0.5540544986724854, 0.1289547085762024, -0.0946606695652008, 0.06230168789625168, -0.365579754114151, 0.20633281767368317, 0.2896691560745239, -0.5540378093719482, 0.0001600491814315319, 0.17498037219047546, -0.23176687955856323, -0.41270774602890015, -0.1682797521352768, -0.8528455495834351, -0.32612481713294983, -0.2181091606616974, 0.14732590317726135, -0.32567650079727173, 0.0951836109161377, 0.11040816456079483, 0.21029214560985565, 0.12833397090435028, -0.0784645825624466, -1.121259331703186, 0.24814587831497192, 0.5773864984512329, 1.0199753046035767, -0.3427041172981262, 0.12770976126194, -0.7930952310562134, 0.10983650386333466, -0.3917931020259857, 0.44976890087127686, -0.7166151404380798, -0.5455844402313232, 0.24869601428508759, -0.1880267858505249, 0.2701626718044281, -0.5588691234588623, 0.5940285325050354, -0.5599802732467651, 0.06573019176721573, -0.05764058604836464, -0.5902716517448425, 0.03274134173989296, 0.05488395690917969, -0.8863967061042786, 0.9629614949226379, 0.27910116314888, -0.2486879825592041, 0.4037654995918274, -0.7559643387794495, -0.45147421956062317, 0.19088123738765717, -0.07989111542701721, -0.282204806804657, 0.16592323780059814, 0.7333019971847534, -0.02004840038716793, -0.29779085516929626, 0.15867111086845398, -0.14903715252876282, -0.07923763990402222, 0.13007967174053192, -0.4890843331813812, 0.5137863159179688, 0.3050013780593872, -0.054790690541267395, -0.028266822919249535, -1.02537202835083, 0.3178999125957489, 0.09464432299137115, -0.5178846716880798, -0.1262357532978058, 0.05703921616077423, 0.08451969921588898, 0.1422458440065384, 0.4094963073730469, -0.5395237803459167, 0.6251204609870911, -0.6480339169502258, 0.21690788865089417, 0.5873305797576904, 0.1863136738538742, 0.5181711912155151, -0.27052831649780273, 0.7132696509361267, -0.3681129813194275, 0.20107068121433258, -0.20004896819591522, -0.5046291947364807, -0.5119515061378479, -0.06523425877094269, 0.45405998826026917, 0.5822651386260986, -1.1719709634780884, 0.5546471476554871, -0.3825475573539734, -0.22845521569252014, -0.5462985634803772, 0.49535641074180603, 0.30692431330680847, 0.39404651522636414, 0.7213267087936401, -0.26328450441360474, -0.7729945182800293, -0.654353678226471, 0.07557609677314758, 0.03710773214697838, -0.20644637942314148, 0.22964513301849365, -0.01855071634054184, -0.17469418048858643, 0.8998864889144897, -0.587371826171875, -0.48922082781791687, -0.561271607875824, 0.00845423899590969, 0.28073644638061523, 0.6639676094055176, 0.43553730845451355, -0.6859691739082336, -0.2650573253631592, -0.1393359750509262, -0.6572798490524292, -0.5125173330307007, -0.4992004334926605, 0.09979099035263062, 0.2665167450904846, 0.3585608899593353, -0.5249883532524109, 0.23214416205883026, 0.8113409280776978, -0.08729495108127594, 0.25525131821632385, -0.28001582622528076, -0.4187942147254944, -1.1043479442596436, -0.09136395901441574, -0.2880820631980896, -0.18654878437519073, -0.5316771864891052, 0.06057709455490112, -0.10808069258928299, -0.5044107437133789, -0.4017412066459656, 0.35116204619407654, -0.5087423324584961, -0.007390374783426523, -0.3903593420982361, 0.21468307077884674, 0.008009045384824276, 0.5668734312057495, 0.079343281686306, 0.8907762169837952, 0.38817232847213745, -0.5629463791847229, 0.11350331455469131, 0.7545631527900696, -0.29111525416374207, 0.10252895951271057, -0.619483232498169, 0.3872583210468292, 0.16523782908916473, 0.29931095242500305, -0.3398652970790863, -0.20797865092754364, 0.1558174341917038, -0.20052805542945862, 0.07549312710762024, -0.32600054144859314, -0.41780731081962585, -0.19020280241966248, -0.1648074835538864, 0.5231307148933411, 0.7619198560714722, -0.7792103290557861, 0.5637916922569275, 0.38152235746383667, -0.12364683300256729, -0.5689420700073242, -0.8248298168182373, 0.31949761509895325, 0.2883389890193939, -0.47661200165748596, 0.6287060976028442, -0.14191170036792755, -0.05295747146010399, -0.07420840859413147, 0.016704870387911797, -0.05634003505110741, -0.10204210132360458, 0.2120983600616455, 0.37666139006614685, -0.004741019103676081, 0.24937599897384644, 0.2639569342136383, -0.011882591061294079, -0.18121270835399628, -0.46693217754364014, 0.6040313243865967, 0.17614810168743134, -0.47360125184059143, -0.48821893334388733, 0.31043437123298645, 0.10306406766176224, -0.22545398771762848, 0.5096737742424011, 0.47482895851135254, -0.23311668634414673, -0.6864337921142578, -0.25731903314590454, -0.19180011749267578, -0.5258810520172119, 0.15651452541351318, -0.15082170069217682, -0.7079987525939941, 0.2745564579963684, -0.07352668046951294, -0.01971863955259323, 0.2319423407316208, 0.3810075521469116, 0.2603093683719635, 0.9811459183692932, 0.6593090295791626, -0.017938785254955292, 0.4928876459598541, -0.42558759450912476, 0.004115775693207979, -0.6606633067131042, -0.11000978946685791, -0.18537822365760803, -0.46922680735588074, -0.6846767663955688, -0.6027964949607849, 0.353234201669693, 0.007467098534107208, 0.45012620091438293, 0.10725142061710358, -0.6885928511619568, 0.6732885837554932, 0.5848014950752258, 0.1886792927980423, 0.21946385502815247, -0.08848802000284195, 0.25280800461769104, 0.05539112538099289, -0.9969114065170288, -0.42370957136154175, 1.3216899633407593, -0.07377826422452927, 0.6354440450668335, -0.12162620574235916, 0.7925899028778076, 0.5897576212882996, 0.13909754157066345, -0.9354715347290039, 0.5630848407745361, -0.23331086337566376, -0.3046633005142212, -0.20097671449184418, -0.5782154202461243, -0.7589359879493713, -0.17301823198795319, -0.7015213370323181, -0.3702164590358734, 0.39582207798957825, 0.4538494944572449, -0.5038254261016846, 0.33995771408081055, -0.7117981910705566, 0.36047399044036865, -0.08794456720352173, -0.33808839321136475, -0.12944909930229187, -0.5135284066200256, 0.2670077681541443, -0.3088417947292328, 0.025358540937304497, -0.07211291790008545, -0.3413527011871338, 0.4949159324169159, -0.8121723532676697, 0.9060432314872742, -0.46380388736724854, -0.24554717540740967, 0.5017818212509155, -0.04494067654013634, 0.8599331378936768, 0.27933862805366516, 0.023382822051644325, 0.04418879747390747, -0.3182372450828552, -0.5102354884147644, -0.7454672455787659, 0.6295326352119446, -0.44447529315948486, -0.40189501643180847, -0.22429896891117096, -0.8556095361709595, -0.6115946173667908, 0.1494787037372589, 0.24262051284313202, 0.5438656806945801, -0.1716277003288269, 0.2068513184785843, 0.5467861294746399, -0.47693315148353577, 0.39174720644950867, 0.38799455761909485, -0.04118267819285393, -0.4756554961204529, 1.0499613285064697, -0.003899229224771261, 0.36819860339164734, 0.343586266040802, 0.0370447151362896, -0.34433481097221375, -0.9432253241539001, -0.48270463943481445, -0.02918233722448349, -0.4811868965625763, -0.4118477404117584, -0.44872039556503296, 0.006686530541628599, -0.307611882686615, -0.3069351315498352, -0.43959468603134155, -0.7274065613746643, -0.4238104820251465, -0.22036124765872955, 0.32768988609313965, 0.6908727884292603, -0.29105356335639954, 0.4291573166847229, -0.9583353400230408, 0.5384470224380493, 0.3462250530719757, 0.22910787165164948, -0.3670397102832794, -0.316325306892395, -0.2612846791744232, 0.115181565284729, -0.14226122200489044, -0.6127617359161377, 0.5068615078926086, 0.47221824526786804, 0.10428091883659363, 0.20843638479709625, 0.31684252619743347, 0.3227371573448181, -0.4771130681037903, 1.0328844785690308, 0.03188306838274002, -1.0279028415679932, 0.640634298324585, -0.2639644145965576, 0.4712296426296234, 0.6383371353149414, -0.1117670089006424, -0.17433807253837585, -0.3868545591831207, -0.5133289694786072, -1.1325238943099976, 0.7438513040542603, 0.34616661071777344, 0.5025550127029419, -0.0452713780105114, 0.3519153594970703, 0.1632937341928482, 0.11578833311796188, -0.5765963196754456, -0.10022703558206558, -0.16036750376224518, -0.344524085521698, 0.16548965871334076, -0.38944244384765625, -0.2844768464565277, 0.05935946851968765, 0.8717585206031799, -0.4497632086277008, -0.03497491031885147, 0.18189477920532227, -0.3205513656139374, -0.0021469146013259888, 0.22581277787685394, 0.6149580478668213, 0.7939146757125854, -0.1472705751657486, -0.1492234766483307, 0.5260025858879089, -0.5465092658996582, 0.1602754294872284, 0.11734889447689056, -0.5846231579780579, 0.15996292233467102, 0.30337756872177124, 0.8285874128341675, 0.019459431990981102, -0.8053367733955383, 0.35841283202171326, 0.07682276517152786, -0.13222327828407288, -0.09604748338460922, 0.052437085658311844, -0.2229023277759552, 0.08886142820119858, 0.41666296124458313, -0.022202899679541588, -0.21613086760044098, -0.05277891829609871, 0.21357251703739166, 0.3496389091014862, -0.21120497584342957, -0.1979636698961258, 0.7323917150497437, 0.3986109793186188, 0.0018901594448834658, 0.4048687815666199, -0.41223621368408203, 0.012969635426998138, 0.42375504970550537, 0.5627543926239014, 0.8055545687675476, 0.15486541390419006, 0.42738059163093567, 0.24973848462104797, 0.4928550720214844, 0.1030951514840126, 0.6102298498153687, -0.040501441806554794, -0.9017104506492615, -0.6946327090263367, -0.6367784142494202, -0.5634098649024963, 0.22463560104370117, -0.7251601815223694, 0.17841823399066925, -0.6673412322998047, -0.17991408705711365, -0.1975114941596985, -0.11159318685531616, -0.4762979745864868, 0.15583692491054535, 0.19517776370048523, 1.147443175315857, -0.5932409763336182, 0.662092924118042, 0.2735554277896881, -0.5547316074371338, -0.7316688895225525, 0.0031485992949455976, -0.0038396285381168127, -0.8165225386619568, 0.44169995188713074, -0.04791570454835892, -0.2033064216375351, 0.06743729114532471, -0.754094660282135, -0.6717414259910583, 0.9300988912582397, 0.5962076187133789, -0.5297991037368774, -0.07173673808574677, 0.3388873040676117, 0.5456513166427612, -0.4164254367351532, -0.47789162397384644, 0.428068608045578, 0.4584677517414093, -0.1556205451488495, -0.49396827816963196, 0.07074496895074844, -0.28827691078186035, 0.20131735503673553, -0.03418643772602081, -0.43041887879371643, 0.26011839509010315, -0.31645238399505615, -0.38647764921188354, 0.17933480441570282, 0.9621662497520447, 0.12607403099536896, 0.1516706347465515, 0.6825579404830933, 0.625518262386322, 0.8323275446891785, -0.07920721918344498, 1.1639498472213745, -0.5360254049301147, 0.09974145144224167, 1.1985496282577515, -0.3294370472431183, 0.661146342754364, 0.5534999370574951, -0.03800283372402191, 0.39982932806015015, 0.3353967070579529, -0.05940129607915878, 0.4807298183441162, 0.07337259501218796, -0.4431779384613037, -0.13927780091762543, -0.6665588021278381, -0.3629705607891083, 0.5765519738197327, 0.3687020540237427, -0.1800130307674408, 0.11311217397451401, 0.15523368120193481, -0.15258680284023285, 0.3056248128414154, -0.3390375077724457, 0.9420084357261658, -0.023285895586013794, -0.5251188278198242, 0.8925904631614685, -0.09840342402458191, 0.6937779188156128, -0.8395363688468933, -0.03697730973362923, -0.2241249680519104, -0.1369686722755432, -0.29845306277275085, -0.456289142370224, 0.36064743995666504, 0.2956099808216095, -0.2898043096065521, -0.3512955904006958, 0.6901063323020935, -0.6440510153770447, -0.5072019100189209, 0.11747866868972778, 0.5587610006332397, -0.3056854009628296, 0.1238788515329361, -0.3976016938686371, 0.11744564771652222, 0.05428875982761383, -0.10037587583065033, 0.12713706493377686, 0.27230632305145264, 0.14527076482772827, 0.6034228205680847, 0.9954534769058228, 0.6346713900566101, 0.12045641243457794, 0.21896077692508698, 1.0170785188674927, -0.28697869181632996, -0.5646886825561523, -0.37005433440208435, 0.15561696887016296, -0.17133747041225433, -0.2529333531856537, 0.36843764781951904, 0.49016273021698, 0.902188777923584, -0.24809888005256653, 1.060600996017456, -0.08452509343624115, 0.4597712755203247, -1.0260987281799316, 0.5362129807472229, -0.41190895438194275, 0.450829416513443, 0.12096072733402252, -0.9750540256500244, -0.2768601179122925, 0.027069583535194397, -0.16351968050003052, -0.20959095656871796, 0.5104747414588928, 0.9221805930137634, -0.10455114394426346, -0.09440074861049652, 0.19470185041427612, -0.12191979587078094, 0.3484274744987488, 0.5885925889015198, 0.6414727568626404, 0.012859680689871311, 0.7827610969543457, -0.4063205122947693, -0.19001974165439606, 0.09078987687826157, -0.8190156817436218, -0.46225693821907043, -0.47956594824790955, -0.12772533297538757, -0.2350592166185379, -0.015645066276192665, 1.4321081638336182, 0.6418262124061584, -0.9010593295097351, -0.03538454324007034, -0.24995602667331696, 0.1028076782822609, -0.3554466664791107, -0.21566011011600494, 0.22517162561416626, -0.7509257197380066, -1.0201427936553955, 1.07413911819458, 0.0884217694401741, 0.09344493597745895, -0.1696091741323471, -0.06132127717137337, -0.2887824475765228, 0.27824628353118896, 0.5517269968986511, 0.5741071105003357, -0.35063043236732483, -0.2646426558494568, -0.26707205176353455, 0.09449673444032669, 0.05379738286137581, 1.0642731189727783, -0.8570995330810547, 0.6668344140052795, 0.5284895896911621, 1.0988246202468872, 0.27471306920051575, 0.2294013351202011, 0.8208286762237549, -1.540639042854309, 0.46460291743278503, 0.37543049454689026, 0.22919882833957672, 0.43872711062431335, -0.43249645829200745, 0.6850658655166626, 0.20755870640277863, -0.2462972104549408, -0.9779812097549438, 0.4515215754508972, -1.078183650970459, -0.018661657348275185, 1.100417137145996, 0.11956099420785904, -0.062495384365320206, 0.020129775628447533, -0.12667959928512573, 0.23875972628593445, -0.4768249988555908, 0.9065647721290588, 0.29367271065711975, 0.016421260312199593, 0.12038905173540115, -0.3557509481906891, 0.8621471524238586, 0.5314348936080933, -1.1384328603744507, 0.2466425746679306, 0.7400037050247192, -0.30070725083351135, 0.20772452652454376, 0.4748057723045349, 0.07185722887516022, 0.12314461171627045, -0.23062126338481903, 0.0900687649846077, -0.5180573463439941, -0.22239506244659424, -0.49462294578552246, 0.28701266646385193, -0.2066042721271515, -0.3168792128562927 ]
http://arxiv.org/abs/2404.08665v1
http://arxiv.org/pdf/2404.08665v1
Targeted aspect-based emotion analysis to detect opportunities and precaution in financial Twitter messages
2024-03-30T16:46:25
2024-03-30T16:46:25
Silvia García-Méndez, Francisco de Arriba-Pérez, Ana Barros-Vila, Francisco J. González-Castaño
cs.IR
cs.IR, cs.CL, cs.LG, cs.SI, q-fin.TR
Microblogging platforms, of which Twitter is a representative example, are valuable information sources for market screening and financial models. In them, users voluntarily provide relevant information, including educated knowledge on investments, reacting to the state of the stock markets in real-time and, often, influencing this state. We are interested in the user forecasts in financial, social media messages expressing opportunities and precautions about assets. We propose a novel Targeted Aspect-Based Emotion Analysis (TABEA) system that can individually discern the financial emotions (positive and negative forecasts) on the different stock market assets in the same tweet (instead of making an overall guess about that whole tweet). It is based on Natural Language Processing (NLP) techniques and Machine Learning streaming algorithms. The system comprises a constituency parsing module for parsing the tweets and splitting them into simpler declarative clauses; an offline data processing module to engineer textual, numerical and categorical features and analyse and select them based on their relevance; and a stream classification module to continuously process tweets on-the-fly. Experimental results on a labelled data set endorse our solution. It achieves over 90% precision for the target emotions, financial opportunity, and precaution on Twitter. To the best of our knowledge, no prior work in the literature has addressed this problem despite its practical interest in decision-making, and we are not aware of any previous NLP nor online Machine Learning approaches to TABEA.
[ -0.1982598751783371, -0.8858597278594971, 0.26782146096229553, 0.6196842193603516, -0.43535563349723816, 0.5637917518615723, -0.04781158268451691, -0.4577556252479553, 0.741583526134491, 0.47231632471084595, -0.612744927406311, -0.8058578968048096, -0.35833609104156494, -0.3741671144962311, -0.44356733560562134, 0.8859215378761292, -0.1565495729446411, -0.2431635856628418, 0.44409164786338806, -0.14293348789215088, -0.1281968355178833, -0.2779519259929657, -0.9848837852478027, 0.11215344071388245, 0.583270788192749, 0.3903595805168152, 0.2608330249786377, -0.08963381499052048, 0.9453139901161194, 0.32639238238334656, 0.13305729627609253, 0.025183159857988358, -0.3096272051334381, 0.07627463340759277, -0.11051293462514877, -0.1383436769247055, -0.6478061676025391, -0.11341575533151627, 0.35994836688041687, 0.15007805824279785, -0.3953264355659485, 0.4034963548183441, 0.36801081895828247, 0.7989023327827454, -0.6611302495002747, 0.3193519115447998, -0.4928319454193115, 0.22272831201553345, -0.3154083788394928, -0.5982993841171265, -0.17083647847175598, -0.4853271543979645, 0.3041427433490753, -0.3011839985847473, -0.01742403581738472, 0.2539040744304657, 0.9273914098739624, -0.07143063843250275, -0.25855153799057007, -0.26324641704559326, -0.6504445672035217, 0.764328122138977, -0.6384821534156799, 0.16443586349487305, 0.1385035365819931, 0.39394742250442505, 0.08171509206295013, -0.26967814564704895, -0.3426379859447479, 0.2758052945137024, 0.05959675461053848, -0.033729758113622665, -0.6930169463157654, 0.25327399373054504, -0.12104234844446182, 0.05108943581581116, -0.35911041498184204, -0.13443619012832642, -0.16466295719146729, -0.2742553949356079, 0.5041126012802124, -0.17295709252357483, 0.09656265377998352, -0.48660755157470703, -0.29244714975357056, -0.2971256971359253, -0.3431505262851715, 0.3947541415691376, 0.6036795973777771, 0.5003862977027893, -0.1933591663837433, 0.3719028830528259, -0.1443343460559845, 0.07927785068750381, 0.01988890953361988, 0.035074371844530106, 0.2813163697719574, 0.2702770233154297, -0.2934500277042389, 0.19475607573986053, 0.64771968126297, 0.4781574308872223, -0.0761718675494194, 0.0869462713599205, -0.35654303431510925, -0.1042264923453331, 0.4463256895542145, -0.6214437484741211, -0.10625342279672623, 0.7950712442398071, -0.5043759346008301, -0.4168710708618164, 0.20688897371292114, -1.136675238609314, -0.471785306930542, -0.0980370044708252, 0.5536746382713318, -0.4537598490715027, -0.289779394865036, -0.11621124297380447, -0.01019282266497612, -0.016830073669552803, 0.132929265499115, -0.5727551579475403, 0.11063823848962784, 0.9183792471885681, 0.7355007529258728, 0.18038271367549896, -0.0017383157974109054, -0.7444085478782654, 0.06189943104982376, -0.12117233872413635, 1.0500319004058838, -0.3638967275619507, -0.11001170426607132, 0.2557545304298401, -0.39233875274658203, 0.04380440339446068, -0.23239625990390778, 0.41816824674606323, -0.5264217257499695, -0.20522023737430573, -0.44891178607940674, -0.43837299942970276, -0.3703658878803253, 0.3271620571613312, -0.6634579300880432, 0.6991768479347229, 0.13221843540668488, -0.9797031879425049, 0.7136176824569702, -1.2390350103378296, -0.4479556083679199, 0.050236232578754425, 0.11329732090234756, -0.5592190623283386, 0.0757913887500763, 0.4902886152267456, 0.4971100687980652, -0.1714528352022171, 0.385842889547348, -0.7104639410972595, 0.1219138503074646, 0.5302876830101013, -0.37054452300071716, 0.17598684132099152, 0.09175590425729752, -0.6222018599510193, 0.5086273550987244, -0.47657832503318787, -0.07192541658878326, 0.08424130827188492, 0.3631868362426758, -0.4664815366268158, 0.28098851442337036, 0.2361513078212738, 0.1633750945329666, 0.406229704618454, -0.697898268699646, -0.12884826958179474, -0.2785419225692749, 0.38448473811149597, 0.8981099128723145, 0.24013879895210266, 0.3192140460014343, -0.09140195697546005, 0.671188473701477, 0.3820051848888397, 0.5326141715049744, 0.253745973110199, -0.13301758468151093, -0.7601965665817261, -0.026108624413609505, 0.11618965864181519, 0.6077076196670532, -0.672989010810852, 0.3735361099243164, 0.04204355180263519, -0.3489704728126526, -0.6325927972793579, 0.03971880301833153, 0.057750701904296875, 0.1791544109582901, 0.24832935631275177, -0.04119720682501793, -0.6992580890655518, -1.0128989219665527, -0.3544788658618927, -0.3125971853733063, 0.08009113371372223, 0.22261084616184235, 0.09875287115573883, 0.026679515838623047, 1.049102544784546, -0.6921788454055786, -0.20892953872680664, -0.46820011734962463, 0.5646424293518066, 0.08974196761846542, 0.1803048849105835, 0.7817205190658569, -1.0438790321350098, -0.29828357696533203, 0.22130747139453888, -0.42933809757232666, -0.10854924470186234, -0.2918799817562103, -0.290944904088974, 0.16613610088825226, 0.04590746760368347, -0.18029886484146118, 0.6997286677360535, 0.47208791971206665, -0.42343732714653015, -0.005833672825247049, 0.21990835666656494, 0.30994683504104614, -1.171486735343933, -0.0749136283993721, 0.6790884137153625, -0.21868543326854706, -0.7150813937187195, -0.36472395062446594, -0.026154907420277596, 0.15087254345417023, -0.40118440985679626, 0.6904984712600708, 0.02443969063460827, 0.08068888634443283, -0.4767860174179077, 0.21221891045570374, -0.24685396254062653, 0.39802443981170654, -0.1338605433702469, 0.3120570182800293, 0.4469992220401764, -0.2085411697626114, 0.07281875610351562, -0.15380018949508667, -0.1792869120836258, 0.44412335753440857, -0.21419110894203186, 0.047810859978199005, 0.06901977956295013, 0.07369868457317352, -0.9082608819007874, -0.2314138114452362, 0.48229891061782837, -0.31606870889663696, 0.05199722573161125, 0.27230334281921387, -0.09901854395866394, -0.6153411269187927, -0.6289333701133728, 0.15752458572387695, 0.1540967971086502, -0.23043635487556458, 0.8296633958816528, 0.5773733258247375, -0.5133744478225708, -0.6184769868850708, -0.48227065801620483, 0.2023065835237503, -0.569037139415741, -0.4078778922557831, 0.10587937384843826, 0.4254879057407379, -0.4085932672023773, 0.24169135093688965, -0.2254488170146942, -0.04196774959564209, 0.14641988277435303, 0.3129179775714874, 0.5282707810401917, -0.024432770907878876, -0.03277071192860603, 0.2988360524177551, -0.10616546124219894, 0.058840516954660416, -0.24419885873794556, 0.5338173508644104, -0.47008684277534485, -0.3475305140018463, -0.5076329112052917, 0.39485323429107666, -0.05198569968342781, -0.12606601417064667, 0.814431369304657, 0.7847772240638733, -0.6375372409820557, -0.3028368055820465, -0.7442868947982788, -0.055564019829034805, -0.5400026440620422, 0.30952054262161255, 0.09658931940793991, -1.0521641969680786, 0.9452933669090271, 0.2840607166290283, 0.12777180969715118, 0.7535935640335083, 0.4655068516731262, -0.26359063386917114, 0.5438753962516785, 0.8796780705451965, -0.23592619597911835, 0.7905541658401489, -0.416326642036438, 0.6393927335739136, -0.43553078174591064, -0.09942807257175446, -0.2710016369819641, -0.8027356863021851, -0.47359272837638855, -0.19649571180343628, 0.21157926321029663, -0.1421545296907425, -0.007577278185635805, 0.43987661600112915, -0.3008163273334503, 0.2086528092622757, 0.550008237361908, 0.32340681552886963, -0.1540158987045288, -0.1595108062028885, 0.27861079573631287, -0.07520365715026855, -0.2098865956068039, -0.6516637206077576, 0.9848478436470032, 0.6500590443611145, 0.5730360150337219, -0.0021428207401186228, 0.8622105121612549, 0.7892951965332031, 0.9685647487640381, -0.6439454555511475, 0.4138288199901581, -0.2537183463573456, -0.3394606411457062, -0.2890688180923462, -0.7052599787712097, -0.5606411695480347, -0.24385252594947815, -0.17455333471298218, -1.2347791194915771, 0.4480218291282654, 0.12911322712898254, -0.7249085903167725, 0.6436001062393188, -0.7657404541969299, 0.9089873433113098, -0.24040140211582184, -0.14760154485702515, -0.2309783697128296, -0.34899523854255676, 0.29607293009757996, -0.377668172121048, 0.24586454033851624, -0.3926314413547516, 0.048325810581445694, 0.8332233428955078, -0.24346163868904114, 0.8152062892913818, -0.3880079686641693, -0.017993373796343803, 0.5085641741752625, 0.13591311872005463, 0.29475298523902893, 0.0512031614780426, 0.010713868774473667, 0.09256957471370697, -0.14802928268909454, -0.40993696451187134, -0.4472929537296295, 0.5183944702148438, -0.3784369230270386, -0.3861754238605499, -0.23678547143936157, -0.3626881241798401, -0.2992442846298218, -0.11716911941766739, -0.08516508340835571, 0.1362539827823639, -0.24954937398433685, 0.19686679542064667, -0.16762375831604004, 0.023778514936566353, 0.6142873167991638, 0.33216652274131775, -0.3481110632419586, -0.5316372513771057, 1.1785725355148315, 0.08196156471967697, -0.1542162448167801, 0.5580040812492371, 0.24488972127437592, -0.41824641823768616, -0.5583476424217224, 0.1572468876838684, -0.150442436337471, -0.47258466482162476, -0.46473732590675354, -0.4874148368835449, -0.06047368794679642, -0.36683350801467896, -0.23156507313251495, -0.4334554374217987, -0.05544860288500786, -0.30017179250717163, -0.287482351064682, 0.358927458524704, 0.6680734157562256, -0.1422208696603775, 0.4130145311355591, -1.1278228759765625, 0.19873736798763275, 0.1392289400100708, 0.3993906080722809, 0.1382523477077484, -0.10122948884963989, -0.3932305574417114, 0.22392971813678741, -0.5882954001426697, -0.9531623125076294, 0.7226383686065674, 0.0012393438955768943, 0.04743746295571327, 0.8851743340492249, 0.3695008456707001, 0.6294276118278503, 0.17357565462589264, 0.30725327134132385, 0.161529541015625, -1.0108352899551392, 0.6225489377975464, -0.38979727029800415, -0.36319833993911743, 0.5873010158538818, 0.10689834505319595, -0.7737773656845093, -0.7265507578849792, -0.6502735018730164, -1.0361649990081787, 0.7302072048187256, 0.4649084210395813, -0.14953705668449402, -0.07770337909460068, 0.2738986909389496, -0.029821330681443214, 0.5505342483520508, -0.6493235230445862, 0.0719374343752861, -0.12061423063278198, -0.47333723306655884, 0.18611665070056915, -0.16988347470760345, 0.006906544789671898, -0.010438842698931694, 0.644135057926178, -0.040887005627155304, 0.1761976033449173, 0.07928811758756638, 0.2493201196193695, -0.347371369600296, 0.36723828315734863, 0.15826208889484406, 0.5757154226303101, -0.7193283438682556, -0.221359983086586, -0.012363316491246223, -0.2774369418621063, 0.051879193633794785, 0.4604162871837616, 0.08301489055156708, -0.23361635208129883, 0.17701761424541473, 0.8614253401756287, 0.41513654589653015, -0.7222602963447571, 0.4825994372367859, -0.10100366920232773, -0.1481974869966507, -0.32046985626220703, -0.29242533445358276, -0.03695233166217804, 0.8675134778022766, 0.8553540110588074, 0.05466541275382042, 0.4019235670566559, -0.6105432510375977, 0.1965942680835724, 0.24505850672721863, -0.6024882197380066, -0.5234376192092896, 0.5067979693412781, 0.3962435722351074, -0.31481367349624634, 0.31728431582450867, -0.438995361328125, -0.8505882024765015, 0.6881174445152283, 0.06003032624721527, 1.7267190217971802, -0.17395439743995667, 0.6706038117408752, -0.14487379789352417, 0.3598781228065491, 0.10050436854362488, 0.6313656568527222, 0.1838611513376236, -0.8746253252029419, -0.4512661099433899, -0.8459300398826599, -0.6955326199531555, 0.11336446553468704, -0.76176518201828, 0.22681744396686554, -0.5492090582847595, -0.6379575133323669, 0.21579109132289886, -0.13535062968730927, -0.6187058091163635, 0.2643321752548218, 0.2339412271976471, 0.6520079374313354, -0.8860268592834473, 0.4714653193950653, 0.690841019153595, -0.05037606135010719, -0.8952951431274414, 0.37507164478302, 0.014496928080916405, -0.4346112012863159, 0.30395689606666565, 0.37325409054756165, -0.02005426585674286, -0.430171400308609, -0.2646736800670624, -0.34127166867256165, 0.6976823210716248, 0.2801409959793091, -0.5172713398933411, -0.07015851140022278, 0.22567594051361084, 0.5259540677070618, -0.43086153268814087, 0.01869584061205387, 0.5551691055297852, 0.42847004532814026, 0.18420441448688507, -0.6184666156768799, -0.246677428483963, -0.34490492939949036, -0.3716801404953003, 0.7374341487884521, -0.6158336997032166, 0.46440571546554565, 0.12088306993246078, -0.21791556477546692, -0.5699594020843506, 0.8156645894050598, -0.06454037129878998, 0.8534652590751648, 0.7594823241233826, 0.41766291856765747, 0.4810568392276764, -0.2843228578567505, 0.8625565767288208, -0.4350681006908417, 0.8353795409202576, 0.8119834661483765, -0.2990669906139374, 1.3160256147384644, 0.4105868935585022, -0.3131340742111206, 0.28177934885025024, 0.8661927580833435, 0.32711976766586304, 0.2696116268634796, -0.13533999025821686, -0.2473135143518448, -0.23295430839061737, -0.19720344245433807, 0.09969191998243332, 0.38148239254951477, 0.5968121886253357, -0.1402834951877594, -0.08747553825378418, 0.13535171747207642, -0.11685919016599655, -0.23210741579532623, -0.3086795210838318, 0.6736540794372559, 0.19246076047420502, -0.25880077481269836, -0.45055922865867615, -0.028075791895389557, 0.6303524374961853, -0.5801166892051697, 0.40556252002716064, -0.08434715867042542, 0.20488746464252472, -0.11793556809425354, -0.9535921812057495, 0.5816822052001953, 0.24296732246875763, 0.3386364281177521, -0.29797661304473877, 0.8881583213806152, -0.24164505302906036, -0.7444535493850708, 0.4422506093978882, 0.27738577127456665, -0.30808284878730774, -0.6057993173599243, -0.7062105536460876, -0.29821258783340454, 0.1856839954853058, -0.6824954152107239, 0.04143252968788147, 0.5922578573226929, 0.09495724737644196, 0.7047204971313477, 0.4957892894744873, -0.10103588551282883, -0.3977420926094055, 0.07037868350744247, 0.9503944516181946, -0.964526355266571, -0.8916405439376831, -0.9743281006813049, 0.4856259524822235, -0.31600162386894226, -0.15990905463695526, 0.4426896274089813, 0.4611254632472992, 0.15334896743297577, 0.24240456521511078, 0.6016427278518677, 0.006879475899040699, 0.6350254416465759, -0.29171261191368103, 0.6002440452575684, -0.6576937437057495, 0.381148099899292, -0.7050362229347229, -0.9042906761169434, -0.25725507736206055, 0.2741595506668091, -0.6975511312484741, -0.06105827912688255, 0.6344661712646484, 0.43374550342559814, -0.10906170308589935, 0.37628090381622314, -0.03849002718925476, -0.03381174057722092, 0.4983840882778168, 0.3553828001022339, 0.3791751265525818, -0.1457061916589737, 0.45769572257995605, -0.6815721392631531, -0.1835183948278427, -0.6909264326095581, -0.965345025062561, -0.7125721573829651, -0.5659474730491638, -0.3620353937149048, -0.4136277139186859, -0.1725374013185501, 1.1176972389221191, 0.11988211423158646, -0.9565280079841614, -0.14437586069107056, 0.22220267355442047, 0.1176166981458664, -0.01918453350663185, -0.31186404824256897, 0.6463990211486816, -0.17188501358032227, -0.2988189160823822, -0.10564298927783966, 0.9346287846565247, 0.11408000439405441, -0.20909450948238373, 0.29204192757606506, -0.13495604693889618, 0.389052152633667, 0.44834569096565247, 0.1983126401901245, -0.4471553862094879, -0.5461459159851074, -0.041200190782547, 0.03636882081627846, 0.11508329212665558, 0.7090699076652527, -0.11086080968379974, 0.25315865874290466, 0.35990747809410095, 0.5742773413658142, 0.35210978984832764, 0.2969706356525421, 0.38381773233413696, -0.7117525935173035, 0.267748087644577, 0.44812002778053284, 0.4786452353000641, 0.1632741242647171, -0.32510167360305786, 0.11332442611455917, -0.07362699508666992, -0.3281199336051941, -0.5792173147201538, -0.3940306305885315, -1.1506396532058716, -0.03191808983683586, 0.8648064732551575, -0.06787275522947311, -0.6662060618400574, 0.20124812424182892, -0.22214442491531372, 0.22446104884147644, -1.0089538097381592, 1.162611484527588, 0.670118510723114, 0.12350180000066757, 0.004896904341876507, -0.5525124073028564, 0.33862870931625366, 0.2008618414402008, -0.9920268058776855, 0.09898640215396881, 0.0019440768519416451, -0.14865493774414062, 0.1642698347568512, 0.6143333315849304, 0.44597092270851135, 0.27688536047935486, -0.22216938436031342, 0.23373231291770935, 0.26417815685272217, -0.27352944016456604, 0.06984426081180573, 0.405379056930542, -0.2793116271495819, -0.4232621490955353 ]
http://arxiv.org/abs/2404.01337v1
http://arxiv.org/pdf/2404.01337v1
Detection of Temporality at Discourse Level on Financial News by Combining Natural Language Processing and Machine Learning
2024-03-30T16:40:10
2024-03-30T16:40:10
Silvia García-Méndez, Francisco de Arriba-Pérez, Ana Barros-Vila, Francisco J. González-Castaño
cs.CL
cs.CL, cs.CE, cs.IR, cs.LG, q-fin.ST
Finance-related news such as Bloomberg News, CNN Business and Forbes are valuable sources of real data for market screening systems. In news, an expert shares opinions beyond plain technical analyses that include context such as political, sociological and cultural factors. In the same text, the expert often discusses the performance of different assets. Some key statements are mere descriptions of past events while others are predictions. Therefore, understanding the temporality of the key statements in a text is essential to separate context information from valuable predictions. We propose a novel system to detect the temporality of finance-related news at discourse level that combines Natural Language Processing and Machine Learning techniques, and exploits sophisticated features such as syntactic and semantic dependencies. More specifically, we seek to extract the dominant tenses of the main statements, which may be either explicit or implicit. We have tested our system on a labelled dataset of finance-related news annotated by researchers with knowledge in the field. Experimental results reveal a high detection precision compared to an alternative rule-based baseline approach. Ultimately, this research contributes to the state-of-the-art of market screening by identifying predictive knowledge for financial decision making.
[ -0.0035851048305630684, -1.095240831375122, 0.6346303224563599, 0.49761348962783813, -0.5125808119773865, 0.4846816658973694, 0.0008991500362753868, -0.6687052845954895, 0.289036363363266, 0.4130566120147705, -0.46943604946136475, -0.6242393255233765, -0.5059629678726196, -0.18591301143169403, -0.45064258575439453, 1.0949574708938599, 0.09395959228277206, 0.02276444062590599, -0.04976288601756096, -0.10862638801336288, -0.179812952876091, -0.3704611659049988, -0.9420047998428345, -0.23839379847049713, 0.14608797430992126, 0.03406604379415512, 0.8171452283859253, 0.587113082408905, 0.25410205125808716, 0.34404000639915466, -0.2684404253959656, -0.09352628886699677, 0.20652790367603302, 0.2364387959241867, -0.14957170188426971, -0.3334018886089325, -0.5001227259635925, 0.13790804147720337, 0.6295455098152161, 0.5406986474990845, 0.09627335518598557, 0.1859249472618103, 0.17801475524902344, 0.6379848122596741, -0.5568775534629822, 0.61216801404953, -0.581446647644043, 0.32890379428863525, -0.4020601809024811, -0.4911249279975891, -0.40765580534935, -0.3968329429626465, 0.24799573421478271, -0.46153244376182556, 0.07651662081480026, 0.02778853289783001, 1.1764079332351685, 0.20069120824337006, -0.7534853219985962, -0.14608123898506165, -0.8377372026443481, 0.5827071666717529, -0.6762561798095703, 0.35366344451904297, 0.48974609375, 0.5115405917167664, 0.10791979730129242, -0.6516149640083313, -0.5467419028282166, -0.1269010305404663, -0.3242371678352356, 0.12473820894956589, -0.47282400727272034, -0.1721886247396469, 0.15089736878871918, 0.14278613030910492, -0.5962170958518982, 0.10370411723852158, -0.3412315249443054, -0.5329283475875854, 0.09594378620386124, -0.08039975166320801, -0.10198506712913513, -0.3618086278438568, -0.3156128525733948, 0.16993257403373718, -0.40237995982170105, 0.24050162732601166, 0.40334028005599976, 0.1466466784477234, -0.12941622734069824, 0.32592400908470154, -0.17930714786052704, 0.4929019510746002, 0.05546386539936066, -0.3362988531589508, 0.14254717528820038, -0.4233967065811157, -0.22996431589126587, 0.2596219480037689, 0.46490004658699036, 0.21013979613780975, 0.08124974370002747, 0.07276313006877899, -0.11764836311340332, 0.06421833485364914, -0.013369947671890259, -0.5742239356040955, 0.12653127312660217, 0.13165350258350372, -0.5381063222885132, -0.41371068358421326, 0.06291542202234268, -0.8087435364723206, -0.12651360034942627, -0.3595505356788635, -0.047149039804935455, -0.3073963224887848, -0.0829964429140091, -0.11692886054515839, -0.27937206625938416, 0.5134077668190002, -0.003144453978165984, -0.4189099669456482, 0.18432828783988953, 0.7633610367774963, 0.7811915874481201, 0.2882590591907501, 0.06369511038064957, -0.8401334881782532, 0.4114076495170593, -0.27420246601104736, 0.8503748178482056, -0.4848988652229309, -0.24693328142166138, -0.12852074205875397, -0.07834797352552414, 0.09985439479351044, -0.34673359990119934, 0.6080453991889954, -0.7261225581169128, 0.43031907081604004, 0.23896950483322144, -0.5102810859680176, 0.0431133471429348, 0.34995001554489136, -0.6757834553718567, 0.8088064193725586, -0.04127199947834015, -0.8283231258392334, 1.0346219539642334, -0.6677330732345581, -0.7116127014160156, 0.05603881925344467, -0.15679240226745605, -0.8386766910552979, -0.288481742143631, 0.7108563184738159, 0.2769412398338318, 0.09224122017621994, 0.8198879957199097, -0.2730221152305603, -0.0500296875834465, 0.6822815537452698, -0.712009847164154, 0.5432822704315186, 0.1998535841703415, -0.48471611738204956, 0.021002642810344696, -0.8841565251350403, -0.4011213183403015, 0.043748416006565094, -0.052836623042821884, -0.4429360032081604, 0.33256763219833374, -0.02150939777493477, 0.09944310039281845, 0.31534767150878906, -0.4825049638748169, 0.08545419573783875, -0.49099257588386536, 0.5856567025184631, 0.8969019055366516, 0.3378940224647522, 0.475150465965271, -0.3698634207248688, 0.4028167426586151, 0.30702000856399536, 0.38205716013908386, -0.3273419737815857, -0.16585633158683777, -0.6457346081733704, -0.21712026000022888, 0.35665854811668396, 0.7195166945457458, -0.5717577338218689, 0.40807968378067017, -0.014662381261587143, -0.13896653056144714, -0.0623091422021389, -0.13988929986953735, 0.10279697179794312, 0.47073501348495483, 0.1283332258462906, 0.14417506754398346, -0.8603296279907227, -0.9923915863037109, -0.6381931304931641, -0.2817896008491516, -0.05153850093483925, 0.11841613054275513, 0.3899148106575012, 0.02420252189040184, 1.3231291770935059, -0.7173105478286743, -0.21463541686534882, -0.03343107923865318, 0.6031994819641113, 0.4826146960258484, 0.2956202030181885, 0.6774767637252808, -1.1353013515472412, -0.07503501325845718, 0.06831671297550201, -0.4485921859741211, -0.02867160364985466, -0.5634494423866272, 0.1579475849866867, 0.4594889283180237, 0.8366987705230713, -0.09187443554401398, 0.5629446506500244, 0.2836610972881317, -0.6318939328193665, 0.29066404700279236, -0.12788937985897064, 0.019292399287223816, -1.0440622568130493, 0.08415454626083374, 0.27299609780311584, -0.5823903679847717, -0.21756862103939056, -0.5844569802284241, -0.07421443611383438, -0.1763710379600525, -0.08686819672584534, 0.7102758288383484, -0.24842894077301025, -0.23146972060203552, -0.23796717822551727, 0.20082910358905792, 0.07032068818807602, 0.5510645508766174, 0.039729416370391846, 0.5511412620544434, 0.20447196066379547, -0.5393993258476257, -0.0973333939909935, -0.20905862748622894, -0.5142611861228943, 0.5208098888397217, -0.5915541052818298, -0.09597403556108475, -0.11153697222471237, 0.37918880581855774, -0.99271160364151, -0.02376643940806389, 0.30614402890205383, -0.6063224077224731, 0.08855254203081131, -0.3888225555419922, -0.346516877412796, -0.2799287736415863, -0.1644163429737091, 0.07197607308626175, 0.22882412374019623, -0.20799733698368073, 0.6176550984382629, 0.5558379292488098, -0.5866237282752991, -0.7301595211029053, -0.5206816792488098, 0.21818716824054718, -0.16184550523757935, -0.5717725157737732, 0.4069625437259674, 0.3909417688846588, -0.3920322358608246, 0.20945607125759125, -0.4141668677330017, -0.2770478427410126, 0.42389512062072754, 0.22745858132839203, 0.9675843715667725, -0.16052906215190887, 0.10595358908176422, 0.3687083125114441, -0.3498390316963196, 0.13527056574821472, -0.7310400009155273, 0.3861681818962097, -0.1580117642879486, -0.048497945070266724, -0.5295091271400452, 0.18487700819969177, 0.6825050115585327, -0.24867166578769684, 0.9221186637878418, 0.5842388272285461, -0.5129666924476624, 0.10821463912725449, -0.5254920721054077, 0.06013643741607666, -0.4589109420776367, -0.06895636767148972, -0.0467953085899353, -0.9843642711639404, 0.6488493084907532, 0.08253922313451767, 0.12847661972045898, 0.8639511466026306, 0.2780543267726898, -0.0033353036269545555, 1.0209753513336182, 0.5896013975143433, -0.2918740212917328, 0.8762361407279968, -0.14253228902816772, 0.26723524928092957, -0.03001582622528076, -0.2179051637649536, -0.47969603538513184, -0.48601841926574707, -0.41199633479118347, -0.010635830461978912, 0.37634849548339844, -0.18188689649105072, -0.1785680204629898, 0.13559283316135406, -0.025750702247023582, 0.5395642518997192, 0.4098476469516754, 0.06792942434549332, 0.5487192273139954, -0.2518705129623413, -0.27617624402046204, -0.12848202884197235, -0.1301720291376114, -0.5384435653686523, 0.8451471924781799, 0.3363019526004791, 0.330267995595932, -0.1852697730064392, 0.2140612006187439, 0.7059715390205383, 0.1870557963848114, -0.5590669512748718, 0.3795018792152405, -0.11571003496646881, -0.39325544238090515, -0.10959700495004654, -0.6844307780265808, -0.8563503623008728, -0.2258627861738205, -0.24267621338367462, -0.566611647605896, 0.31789469718933105, -0.19823315739631653, -0.605799674987793, 0.22983399033546448, -0.33402538299560547, 0.7902700901031494, -0.0755334123969078, -0.09186365455389023, -0.18570342659950256, -0.6704643368721008, 0.267350435256958, -0.11034718155860901, 0.537223219871521, -0.29447194933891296, -0.16436463594436646, 0.9254763722419739, -0.3243696689605713, 1.0720036029815674, -0.22918279469013214, -0.043449223041534424, 0.13032066822052002, -0.07961294800043106, 0.4932423233985901, 0.47517091035842896, 0.327822208404541, -0.09605849534273148, 0.04668812081217766, -0.49540749192237854, -0.43906697630882263, 0.436484158039093, -0.45229798555374146, -0.3036089241504669, -0.6509353518486023, -0.4145556390285492, -0.2588411271572113, 0.025085385888814926, 0.09209936112165451, 0.3392593562602997, -0.5284571647644043, 0.05294521152973175, 0.16213387250900269, 0.06016207113862038, 0.5997219681739807, 0.711728572845459, -0.25584182143211365, -0.3962746262550354, 0.7115552425384521, 0.1802108883857727, -0.3236532211303711, 0.5343744158744812, 0.4053530693054199, -0.2031334936618805, -0.3437449038028717, -0.06583639234304428, 0.027108533307909966, -0.3115377426147461, -0.22589263319969177, -0.6909452080726624, -0.27432408928871155, -0.7291081547737122, -0.2136232554912567, -0.3039969801902771, -0.7071619033813477, -0.2852665185928345, -0.35876473784446716, 0.39406323432922363, 0.36046433448791504, -0.1282828450202942, 0.18589502573013306, -0.9417877197265625, 0.38049688935279846, 0.44874781370162964, 0.09862643480300903, -0.3654899001121521, -0.3604256808757782, -0.31407928466796875, -0.066746786236763, -0.33622732758522034, -0.7353535890579224, 0.6282383799552917, 0.27454760670661926, 0.4799021780490875, 0.7703449726104736, 0.027418050915002823, 0.28481608629226685, 0.020210247486829758, 0.6293725371360779, -0.16007445752620697, -1.0908252000808716, 0.9792085289955139, -0.3609549105167389, 0.35427096486091614, 0.3902246356010437, 0.3997493088245392, -0.720965564250946, -0.8564116954803467, -0.6758973002433777, -0.881162703037262, 0.5361656546592712, 0.17366057634353638, -0.31780847907066345, -0.05563703179359436, 0.28960466384887695, 0.26687052845954895, 0.2255692481994629, -0.6951348185539246, -0.08715317398309708, 0.019698211923241615, 0.04866953194141388, 0.2606263756752014, -0.28591281175613403, -0.00555458664894104, -0.16344860196113586, 0.6266515851020813, -0.14145199954509735, -0.009838564321398735, 0.028094498440623283, -0.134587824344635, 0.0795597955584526, 0.5373306274414062, 0.4356321394443512, 0.7879680395126343, -0.28307875990867615, -0.08045291900634766, -0.11730937659740448, -0.4110622704029083, 0.019600531086325645, 0.41508859395980835, -0.24713170528411865, 0.2426801472902298, 0.44396939873695374, 0.6302131414413452, 0.669325590133667, -0.6374606490135193, 0.5884374380111694, -0.2003745138645172, -0.19211313128471375, -0.7362095713615417, -0.39652952551841736, -0.28535351157188416, 0.6533960700035095, 0.7949857711791992, 0.41865813732147217, 0.2384066879749298, -0.8481181859970093, 0.4502842426300049, 0.026101063936948776, -0.37860116362571716, -0.3225648105144501, 0.7479718327522278, 0.1139296442270279, 0.07892642170190811, 0.5826310515403748, -0.2803094983100891, -0.6966227293014526, 0.7355945110321045, 0.3251350522041321, 1.0832290649414062, 0.009779727086424828, 0.4741970896720886, 0.08773122727870941, 0.09979261457920074, -0.05278463289141655, 0.26443272829055786, -0.1615295112133026, -0.6764853596687317, -0.7719053626060486, -0.5512518882751465, -0.3727076053619385, -0.0438070073723793, -0.8146781325340271, 0.2656400799751282, -0.533578634262085, -0.5984590649604797, 0.317270427942276, 0.035001739859580994, -0.45871639251708984, -0.11853257566690445, 0.26720282435417175, 0.6749259233474731, -0.8367488384246826, 0.6668393015861511, 0.3087196946144104, -0.019263263791799545, -0.1480134129524231, 0.1764734983444214, 0.2833248972892761, -0.508805513381958, 0.8798388242721558, 0.118991419672966, 0.07775713503360748, -0.4909040927886963, -0.4383777379989624, -0.4545675814151764, 1.034924864768982, 0.5093746781349182, -0.4049511253833771, -0.4311540424823761, -0.20758503675460815, 0.36065298318862915, -0.24537500739097595, -0.2386658489704132, 0.6286561489105225, 0.6996098756790161, 0.3001905381679535, -0.8666383624076843, -0.416279137134552, -0.41484683752059937, -0.4790663719177246, 0.5922024846076965, -0.35091257095336914, 0.762567937374115, -0.0031601209193468094, -0.6036996841430664, -0.13328605890274048, 1.0654239654541016, -0.03711795061826706, 0.9687527418136597, 0.6213724613189697, 0.25406938791275024, 0.8820680975914001, -0.2975282371044159, 0.868975818157196, -0.5242070555686951, 0.27625590562820435, 1.0350440740585327, -0.2670780420303345, 0.7060133814811707, 0.29389992356300354, -0.1992679089307785, 0.6880533695220947, 0.49591490626335144, 0.07824461907148361, 0.2895238995552063, 0.049686744809150696, -0.29691049456596375, -0.25688305497169495, -0.2697618007659912, -0.12382050603628159, 0.6690533757209778, 0.5540999174118042, -0.4259757995605469, -0.16136208176612854, 0.2637174129486084, 0.29331979155540466, 0.04588571563363075, -0.2785731852054596, 0.7069615125656128, 0.06514623016119003, -0.5568324327468872, -0.25137239694595337, 0.02188354730606079, 0.5804777145385742, -0.7206293940544128, 0.14480862021446228, -0.2739901840686798, 0.27733877301216125, 0.0997621938586235, -0.7757282257080078, 0.6617363691329956, 0.10645025223493576, -0.17184686660766602, -0.40509796142578125, 0.7576892971992493, -0.24138139188289642, -0.5882085561752319, 0.16812515258789062, 0.5992978811264038, -0.2603914737701416, -0.21814170479774475, -0.48130497336387634, -0.4415931701660156, -0.2924599349498749, -0.11212515830993652, 0.11544448137283325, 0.5854789614677429, 0.04540923982858658, 0.5776815414428711, 0.6404163837432861, -0.027830924838781357, -0.3115057945251465, -0.04587845876812935, 0.8032956123352051, -0.9147502183914185, -0.9615828990936279, -0.9930960536003113, -0.12336865067481995, -0.3949177861213684, -0.3894692063331604, 0.6083688139915466, 0.7448236346244812, 0.6342443227767944, 0.3729831874370575, 0.3794107139110565, 0.4347969889640808, 0.519981861114502, -0.8682904839515686, 0.6588801145553589, -0.2506873309612274, 0.45618337392807007, -0.12395261228084564, -0.5619752407073975, -0.3434683680534363, 0.2943713963031769, -0.588977575302124, -0.2169923484325409, 0.7305183410644531, 0.3347281217575073, 0.1589399129152298, 0.4409582316875458, 0.03311675041913986, 0.18799452483654022, 0.14690138399600983, 0.39375388622283936, 0.7244641780853271, -0.10348869860172272, 0.8925468921661377, -0.2544947564601898, -0.014783306047320366, -0.4030172824859619, -0.9918216466903687, -0.7775977849960327, -0.776390016078949, -0.5425336956977844, -0.24909532070159912, 0.15084199607372284, 0.5634526610374451, 0.30949723720550537, -0.5626678466796875, -0.0904330313205719, 0.29673686623573303, 0.2435518354177475, -0.5135069489479065, -0.33093127608299255, 0.5095519423484802, -0.20334719121456146, -0.543255627155304, 0.5389425158500671, 0.7263831496238708, 0.25206974148750305, -0.1419297307729721, 0.409511536359787, -0.18991313874721527, 0.15738913416862488, 0.48915472626686096, 0.3108697831630707, -0.17514823377132416, -0.28305375576019287, 0.1373848170042038, -0.09860166907310486, -0.02384048141539097, 1.2754276990890503, -1.024537444114685, 0.10625958442687988, 0.5094632506370544, 0.4097289443016052, 0.684382438659668, -0.22766412794589996, 0.6950488686561584, -0.903755247592926, 0.36601826548576355, 0.3352809250354767, 0.5360283851623535, -0.11214939504861832, -0.45385780930519104, 0.3874530792236328, 0.36751502752304077, -0.46709293127059937, -0.4000944197177887, 0.016847889870405197, -0.9360849857330322, -0.605572521686554, 0.6291558146476746, 0.051103148609399796, -0.5407321453094482, -0.45084014534950256, -0.08976592123508453, 0.3271976113319397, -0.6825441718101501, 0.6515447497367859, 0.7073788046836853, 0.25196585059165955, 0.11107426881790161, -0.6476700305938721, 0.23856136202812195, 0.1649155169725418, -0.5195319652557373, -0.04520150274038315, 0.38053178787231445, -0.12444642931222916, 0.052879445254802704, 0.6136441230773926, -0.16888391971588135, 0.43578365445137024, 0.08505944907665253, -0.6031349301338196, -0.12789052724838257, -0.1787659227848053, -0.11651484668254852, 0.38899463415145874, -0.4649163484573364, -0.20350699126720428 ]
http://arxiv.org/abs/2404.00406v1
http://arxiv.org/pdf/2404.00406v1
TACO -- Twitter Arguments from COnversations
2024-03-30T16:14:46
2024-03-30T16:14:46
Marc Feger, Stefan Dietze
cs.CL
cs.CL, cs.AI
Twitter has emerged as a global hub for engaging in online conversations and as a research corpus for various disciplines that have recognized the significance of its user-generated content. Argument mining is an important analytical task for processing and understanding online discourse. Specifically, it aims to identify the structural elements of arguments, denoted as information and inference. These elements, however, are not static and may require context within the conversation they are in, yet there is a lack of data and annotation frameworks addressing this dynamic aspect on Twitter. We contribute TACO, the first dataset of Twitter Arguments utilizing 1,814 tweets covering 200 entire conversations spanning six heterogeneous topics annotated with an agreement of 0.718 Krippendorff's alpha among six experts. Second, we provide our annotation framework, incorporating definitions from the Cambridge Dictionary, to define and identify argument components on Twitter. Our transformer-based classifier achieves an 85.06\% macro F1 baseline score in detecting arguments. Moreover, our data reveals that Twitter users tend to engage in discussions involving informed inferences and information. TACO serves multiple purposes, such as training tweet classifiers to manage tweets based on inference and information elements, while also providing valuable insights into the conversational reply patterns of tweets.
[ -0.4844704568386078, -1.1840250492095947, 0.47932878136634827, 0.291745662689209, -0.395761638879776, 0.38647282123565674, -0.09684287756681442, -0.4413434565067291, 0.40370339155197144, 0.1395513266324997, -0.43925824761390686, -0.48085445165634155, -0.4482014775276184, 0.1391322910785675, -0.4581605792045593, 1.0326963663101196, 0.09875396639108658, -0.11094269901514053, 0.10224545747041702, -0.21517573297023773, -0.18684707581996918, -0.09149704873561859, -0.9424989819526672, -0.02638532966375351, 1.0783096551895142, 0.6593402624130249, 0.6343651413917542, 0.6394674777984619, -0.151597797870636, 0.33435261249542236, 0.13261736929416656, 0.2418481856584549, -0.23777924478054047, 0.26739370822906494, -0.4149152934551239, -0.022338317707180977, -0.05565466731786728, -0.3674924075603485, 0.3397601842880249, 0.4988744854927063, 0.06775633990764618, 0.2138473242521286, -0.20984241366386414, 0.08386080712080002, -0.5876222848892212, -0.14097003638744354, -0.8283309936523438, 0.004785703029483557, -0.2721380889415741, -0.5037182569503784, -0.32310304045677185, -0.7263951301574707, 0.0038968247827142477, -0.5092082023620605, 0.12593092024326324, -0.05257750675082207, 1.2370191812515259, 0.10589579492807388, -0.38395652174949646, -0.3503952622413635, -0.7356804609298706, 0.5527616143226624, -0.4285998046398163, 0.06024597957730293, 0.21883754432201385, 0.4454147517681122, -0.04255453124642372, -0.9502540230751038, -0.6058027148246765, 0.31972968578338623, 0.09677933156490326, 0.14076197147369385, -0.30166998505592346, -0.04164471477270126, 0.21113979816436768, 0.2593887746334076, 0.14156335592269897, 0.10868288576602936, -0.295126348733902, -0.14356566965579987, 0.3369539678096771, 0.014616460539400578, 0.2679385840892792, -0.07831555604934692, -0.566740870475769, -0.07673481106758118, -0.20010727643966675, 0.04146892577409744, 0.5233211517333984, 0.03271113336086273, -0.2108382284641266, 0.3744736313819885, 0.08212263882160187, 0.42168715596199036, -0.04880679026246071, 0.3186705708503723, -0.15008804202079773, -0.06778836995363235, -0.3445269763469696, -0.06476262956857681, 1.3187472820281982, 0.5446051359176636, 0.39932113885879517, -0.16576747596263885, 0.13770610094070435, -0.14398914575576782, 0.29282549023628235, -0.7133455872535706, -0.16074839234352112, 0.4902955889701843, -0.25926628708839417, -0.46826472878456116, 0.3940427899360657, -1.0072587728500366, -0.77500981092453, 0.37085840106010437, -0.005426719784736633, -0.1625707447528839, -0.4691561758518219, -0.2062889039516449, -0.622718870639801, 0.36991292238235474, 0.43642911314964294, -0.8268811106681824, 0.3646998703479767, 0.7754305005073547, 1.0381056070327759, 0.17521384358406067, 0.03825438767671585, -0.2870784401893616, 0.18622197210788727, -0.7154724597930908, 1.4969626665115356, -0.7296133637428284, -0.2742488980293274, 0.30707019567489624, 0.11029846221208572, 0.12036941200494766, -0.27785927057266235, 1.072108507156372, -0.3649958670139313, 0.3089355230331421, -0.8206689357757568, -0.6110689043998718, -0.08906523883342743, 0.24363718926906586, -0.7829585671424866, 0.9541372656822205, 0.07762371003627777, -1.0008310079574585, 0.7280297875404358, -1.2812787294387817, -0.5288811326026917, 0.5623138546943665, -0.2934197187423706, -0.11729715019464493, 0.16287551820278168, 0.2867520749568939, 0.45852845907211304, -0.7477023005485535, 0.15748737752437592, -0.36381885409355164, -0.20222534239292145, 0.19278950989246368, 0.047346487641334534, 0.9714715480804443, 0.3624880611896515, -0.2742271423339844, 0.10011085867881775, -0.1759849190711975, -0.0248282290995121, 0.37618064880371094, 0.13225284218788147, -0.28934764862060547, 0.29231178760528564, 0.21047736704349518, 0.025458620861172676, -0.21256236732006073, -0.9086839556694031, 0.050596848130226135, -0.3930300176143646, 1.0505902767181396, 0.7062912583351135, 0.5796729326248169, 0.08511441946029663, -0.2929132282733917, 0.43952104449272156, 0.07075237482786179, 0.2010386884212494, -0.20679499208927155, -0.6005032658576965, -0.4552641212940216, 0.026715898886322975, 0.4496556520462036, 0.26041924953460693, -0.7189550995826721, 0.13167516887187958, -0.3413906991481781, -0.47458407282829285, -0.5629463195800781, -0.4258757531642914, -0.12959344685077667, 0.5915037989616394, 0.18397781252861023, 0.3851628601551056, -0.9391143321990967, -1.1078156232833862, -0.527556836605072, -0.2172217071056366, -0.04915520176291466, 0.10937736183404922, 0.3059453070163727, 0.02894689328968525, 1.113513469696045, -0.22029811143875122, 0.15095315873622894, -0.11791887879371643, 0.2024369239807129, -0.11301199346780777, 0.10067207366228104, 0.7204905152320862, -0.7111027240753174, -0.6976696252822876, 0.34857216477394104, -0.5890955328941345, -0.23227721452713013, -0.20342323184013367, -0.28733453154563904, 0.1585361361503601, 0.32909202575683594, -0.3152167797088623, 0.24950487911701202, 0.15542997419834137, -0.30674469470977783, 0.06344936043024063, 0.5234690308570862, 0.44167959690093994, -1.4919872283935547, -0.2994759678840637, 0.406869113445282, -0.4630061686038971, -0.5104082226753235, -0.4326074421405792, -0.3045816719532013, 0.30579861998558044, -0.4092548191547394, 0.7940731644630432, 0.09535925090312958, 0.5094801783561707, -0.2503361999988556, -0.3267896771430969, 0.05541396141052246, 0.020340345799922943, -0.03425084799528122, 0.6732419729232788, 0.4027717709541321, -0.2423151731491089, 0.4367223083972931, -0.06647728383541107, -0.340433806180954, 0.3681769073009491, -0.8332093358039856, 0.3298777639865875, 0.4762173593044281, 0.29532885551452637, -1.2259787321090698, -0.42136630415916443, 0.42803552746772766, -0.5763323903083801, -0.4419848322868347, -0.4467775523662567, -0.8182963132858276, -0.24030059576034546, -0.5894219279289246, 0.12281954288482666, 0.02020805887877941, -0.6092426180839539, 0.7325538992881775, 0.7838608026504517, 0.1707434207201004, -0.5795313119888306, -0.634279191493988, 0.4519239664077759, -0.5679382681846619, -0.444454550743103, 0.42921677231788635, 0.27704858779907227, -0.4710598289966583, 0.10074055939912796, -0.008128131739795208, -0.25014224648475647, 0.14442305266857147, 0.4420657455921173, -0.17793165147304535, -0.13514277338981628, 0.2297067642211914, 0.14203350245952606, -0.003923709504306316, 0.40914565324783325, -0.2470727264881134, 0.7472234964370728, -0.2903697192668915, 0.16639599204063416, -0.33184337615966797, 0.5474082231521606, 0.4496321380138397, 0.415730744600296, 0.8442823886871338, 0.8126060962677002, -0.6866312026977539, -0.22821566462516785, -0.7601432204246521, -0.06254410743713379, -0.45793288946151733, 0.08512861281633377, -0.3282385766506195, -0.6667211651802063, 0.875342071056366, -0.15849608182907104, 0.5879598259925842, 0.7601751685142517, 0.781201958656311, -0.40048733353614807, 0.7598822116851807, 0.06040516868233681, 0.2407533973455429, 0.5977283716201782, -0.1466555893421173, 0.21383801102638245, -0.22339355945587158, -0.2181895673274994, -0.6040613055229187, -0.28501075506210327, -0.7326782941818237, -0.1953420639038086, -0.32380059361457825, -0.5660589933395386, -0.3402723968029022, 0.3331562876701355, -0.3820764422416687, 0.6980037689208984, 0.22138699889183044, -0.014116900973021984, -0.04498327523469925, 0.0966387391090393, -0.06622336059808731, -0.010422475636005402, -0.6542154550552368, -0.895319402217865, 0.6791037321090698, 0.6346312761306763, 0.3840855658054352, -0.0606829971075058, 0.5219440460205078, 0.8980309963226318, 0.4272681176662445, -0.9906664490699768, 0.4756273329257965, 0.2466011643409729, -0.734856903553009, 0.014559687115252018, -0.5773388743400574, -0.8944888710975647, -0.1535244733095169, -0.35348910093307495, -0.7876569628715515, -0.1262940913438797, -0.11995469033718109, -0.4135008454322815, 0.734094500541687, -1.1890140771865845, 0.9915235638618469, -0.03274141624569893, -0.6064921617507935, 0.14343015849590302, -0.32733622193336487, 0.3058411478996277, 0.1740400195121765, 0.22119735181331635, -0.0007223692955449224, -0.12427836656570435, 1.0644479990005493, -0.6121723055839539, 0.6809078454971313, -0.36882466077804565, -0.050013549625873566, 0.5895097851753235, -0.15395410358905792, -0.18676349520683289, 0.3033325672149658, -0.049671825021505356, 0.17979717254638672, 0.322946697473526, -0.4544353485107422, -0.38705936074256897, 0.7109066247940063, -0.5850055813789368, -0.538895308971405, -0.2783839702606201, -0.22545446455478668, -0.1828562170267105, -0.01947985589504242, 0.3768274486064911, 0.19347721338272095, -0.20469917356967926, 0.561690628528595, 0.11188904941082001, 0.041692137718200684, 0.8207012414932251, -0.29146555066108704, 0.21714560687541962, -0.6518386602401733, 0.7729790806770325, 0.019932890310883522, -0.17698487639427185, 0.4158506393432617, 0.9383092522621155, -0.5227609276771545, -0.38643142580986023, -0.3641729950904846, -0.18479958176612854, -0.6751168370246887, -0.42407768964767456, -0.8484985828399658, 0.09286224842071533, -0.19833707809448242, -0.16028213500976562, -0.5053498148918152, -0.5509864687919617, 0.1651799976825714, -0.2581103444099426, 0.6581410765647888, 0.8879377245903015, 0.23224127292633057, 0.392133504152298, -0.4842163324356079, 0.0648660957813263, 0.02183958701789379, 0.44638490676879883, 0.09248445928096771, -0.10262467712163925, -0.35316526889801025, 0.06915634125471115, -0.3957189917564392, -1.1126044988632202, -0.05295046418905258, 0.00818590447306633, 0.21417729556560516, 0.5986317992210388, 0.3625774681568146, 0.8864732980728149, 0.0075996979139745235, 0.8125958442687988, 0.13710825145244598, -0.8372684717178345, 0.6287248730659485, -0.41462376713752747, -0.14485013484954834, 0.545269787311554, 0.3142150938510895, -0.45947468280792236, -0.35090768337249756, -0.8332075476646423, -0.8321852684020996, 0.6014261245727539, 0.13938985764980316, 0.051798004657030106, -0.6293861865997314, 0.25206446647644043, 0.1850246787071228, -0.07221861183643341, -0.8151223063468933, 0.09014707803726196, -0.3549303710460663, -0.14017929136753082, 0.7482411861419678, -0.09119191765785217, -0.38606059551239014, -0.31210950016975403, 0.22213441133499146, 0.0032955300994217396, 0.29402652382850647, -0.06756332516670227, 0.1450190246105194, -0.1380673497915268, 0.19737829267978668, 0.6950538754463196, 0.7361637949943542, -0.13520044088363647, 0.06779544800519943, 0.33881285786628723, -0.27226656675338745, -0.23422296345233917, -0.09743225574493408, 0.10066119581460953, 0.20873162150382996, 0.4171088635921478, 0.5619615912437439, -0.03489169478416443, -0.3778764605522156, 0.3369115889072418, -0.5192244648933411, -0.42375919222831726, -0.518903374671936, -0.018510567024350166, 0.2917782962322235, 0.24415917694568634, 0.6073993444442749, -0.018592827022075653, -0.14276200532913208, -0.770067036151886, 0.04025238752365112, 0.18742035329341888, -0.39034703373908997, -0.4145749807357788, 0.5744954943656921, 0.281389981508255, -0.42590096592903137, -0.018457457423210144, 0.03382004797458649, -0.45188796520233154, 0.4886549711227417, 0.18160410225391388, 1.0363717079162598, 0.05529726296663284, 0.19138938188552856, 0.43959686160087585, 0.02088012546300888, 0.09567856043577194, 0.10554413497447968, -0.3418755829334259, -0.7785382270812988, -0.29933130741119385, -0.10834924876689911, -0.6034276485443115, 0.21893857419490814, -0.41410550475120544, 0.5040013194084167, -0.9020619988441467, -0.4376305639743805, 0.3563306927680969, 0.2502914369106293, -0.5577731728553772, -0.04791419208049774, 0.0182354599237442, 0.8023579716682434, -1.0283437967300415, 0.6158461570739746, 0.8572672009468079, -0.4661235213279724, -0.4490233063697815, 0.30036821961402893, -0.20585006475448608, -0.4937622845172882, 0.2614404559135437, 0.06235615164041519, -0.4370344281196594, -0.19544126093387604, -0.8088177442550659, 0.16279301047325134, 0.7686997056007385, 0.5754200220108032, -0.04682665690779686, 0.03497716784477234, 0.15594404935836792, 0.5393751859664917, -0.6553546786308289, 0.7943815588951111, 0.2892357110977173, 0.4361790716648102, 0.4003547132015228, -0.421215683221817, 0.1115134209394455, -0.3322993814945221, -0.2076064944267273, 0.07112336158752441, -0.5697376728057861, 0.5146005153656006, -0.18781840801239014, -0.5966800451278687, -0.5086097717285156, 0.503085196018219, -0.04504290223121643, 0.4624195694923401, 0.7986270189285278, 0.3785173296928406, 0.5829285383224487, -0.4665256142616272, 1.0091111660003662, -0.16273826360702515, 0.31356266140937805, 0.8953762650489807, -0.11219149827957153, 0.6811721324920654, 0.5337203145027161, 0.14408177137374878, 0.5920822620391846, 1.1201539039611816, 0.056365784257650375, 0.15385326743125916, -0.17781278491020203, -0.11143702268600464, -0.33015701174736023, -0.5873258113861084, -0.28452178835868835, 0.3806404769420624, 0.5786932706832886, -0.2814830243587494, -0.30226773023605347, -0.3706640601158142, 0.34558334946632385, 0.294899582862854, 0.06065652519464493, 0.9336913228034973, -0.18296116590499878, -0.5875164270401001, 0.3540511727333069, -0.11652592569589615, 0.282419890165329, -0.11593916267156601, -0.010756555944681168, -0.20632493495941162, -0.22336040437221527, -0.6513371467590332, -1.128059983253479, 0.43555083870887756, 0.4828239679336548, 0.1591118574142456, -0.28988829255104065, 0.49722811579704285, 0.0814443975687027, -0.28703024983406067, 0.31603720784187317, 0.5132673382759094, -0.11010037362575531, -0.015734286978840828, -0.6319122314453125, 0.0636180117726326, -0.19609495997428894, -0.22577987611293793, -0.1276780217885971, 0.8392549157142639, -0.04192851856350899, 0.3920145332813263, 0.5724403858184814, -0.14803187549114227, 0.027437692508101463, 0.4625578820705414, 1.0590449571609497, -0.7769100069999695, -0.4363463819026947, -1.2581735849380493, 0.5387889742851257, -0.6303020119667053, -0.4333261251449585, 0.4387575387954712, 0.6661276817321777, 0.5949290990829468, 0.109112948179245, 0.7281769514083862, -0.30866119265556335, 0.6501645445823669, -0.18526390194892883, 0.5221606492996216, -0.4247674345970154, 0.30925679206848145, -0.2274221032857895, -0.6741986870765686, -0.30239927768707275, 0.7110819220542908, -0.30669158697128296, 0.16124428808689117, 0.8519735932350159, 0.2278819978237152, -0.11200808733701706, 0.4557960033416748, -0.03263647109270096, 0.012018849141895771, 0.8159950971603394, 0.48679813742637634, 1.09238600730896, -0.5598437786102295, 0.6375200152397156, -0.12006073445081711, 0.11741729080677032, -0.25480926036834717, -1.0765072107315063, -1.06107759475708, -0.931932270526886, -0.4905647039413452, -0.6508735418319702, -0.1757338047027588, 1.3677464723587036, 0.6308342218399048, -0.847815215587616, -0.2036680281162262, -0.20008373260498047, 0.4202955663204193, 0.016622155904769897, -0.31059783697128296, 0.09488176554441452, -0.33215078711509705, -0.8020665049552917, 0.03680383414030075, 0.083468958735466, -0.3802940845489502, 0.17770102620124817, 0.1754135638475418, -0.5599918365478516, 0.17796678841114044, 0.5370367765426636, 0.6202317476272583, -0.8621572852134705, -0.5986317992210388, -0.1279982328414917, 0.14805564284324646, 0.500617504119873, 0.8020519018173218, -0.5839049816131592, 0.5899479389190674, 0.35154950618743896, 0.7834619283676147, 0.4549243152141571, 0.36918529868125916, 0.5195168852806091, -0.7350267171859741, 0.12254542112350464, 0.4236922562122345, 0.4372738003730774, 0.45176711678504944, 0.024907534942030907, 0.4313487410545349, 0.17701409757137299, -0.2080589085817337, -0.9503552317619324, -0.0986843928694725, -1.2440581321716309, 0.06611072272062302, 1.1701120138168335, -0.04616421088576317, -0.3853175640106201, -0.4002946615219116, 0.022952871397137642, 0.3756386339664459, -0.9344357252120972, 0.8920088410377502, 0.9148159623146057, 0.2004050761461258, -0.5214062929153442, -0.6525239944458008, 0.49754756689071655, -0.0006843024748377502, -0.9031510353088379, 0.15553109347820282, -0.018722638487815857, 0.19096170365810394, 0.0927668884396553, 0.5653795599937439, -0.07735277712345123, 0.11664246767759323, -0.07172583788633347, -0.22382007539272308, -0.01606261357665062, -0.17814821004867554, 0.2109459936618805, 0.7233862280845642, -0.11101000010967255, -0.6650470495223999 ]
http://arxiv.org/abs/2404.00403v1
http://arxiv.org/pdf/2404.00403v1
UniMEEC: Towards Unified Multimodal Emotion Recognition and Emotion Cause
2024-03-30T15:59:17
2024-03-30T15:59:17
Guimin Hu, Zhihong Zhu, Daniel Hershcovich, Hasti Seifi, Jiayuan Xie
cs.CL
cs.CL
Multimodal emotion recognition in conversation (MERC) and multimodal emotion-cause pair extraction (MECPE) has recently garnered significant attention. Emotions are the expression of affect or feelings; responses to specific events, thoughts, or situations are known as emotion causes. Both are like two sides of a coin, collectively describing human behaviors and intents. However, most existing works treat MERC and MECPE as separate tasks, which may result in potential challenges in integrating emotion and cause in real-world applications. In this paper, we propose a Unified Multimodal Emotion recognition and Emotion-Cause analysis framework (UniMEEC) to explore the causality and complementarity between emotion and emotion cause. Concretely, UniMEEC reformulates the MERC and MECPE tasks as two mask prediction problems, enhancing the interaction between emotion and cause. Meanwhile, UniMEEC shares the prompt learning among modalities for probing modality-specific knowledge from the Pre-trained model. Furthermore, we propose a task-specific hierarchical context aggregation to control the information flow to the task. Experiment results on four public benchmark datasets verify the model performance on MERC and MECPE tasks and achieve consistent improvements compared with state-of-the-art methods.
[ -0.5317660570144653, -0.4943469166755676, 0.5550618767738342, 0.26506319642066956, -0.21310947835445404, -0.13117368519306183, -0.10217032581567764, -0.3772830665111542, 0.32448527216911316, 0.2342194765806198, -0.9919877648353577, -0.08217024058103561, -0.46388939023017883, -0.01849435083568096, 0.20347833633422852, 0.858681321144104, -0.1997944861650467, 0.0834772065281868, -0.21308843791484833, -0.45795056223869324, -0.6585673093795776, -0.47264519333839417, -0.5208240747451782, -0.07093619555234909, 0.5943095684051514, 0.6193917989730835, 0.08253985643386841, -0.19009314477443695, 0.19961322844028473, 0.3672887086868286, 0.4586782157421112, 0.223471537232399, -0.08513465523719788, 0.270920991897583, -0.18926815688610077, -0.10373446345329285, -0.5509957671165466, 0.22239366173744202, 0.08820878714323044, 0.414754182100296, -0.08398804068565369, 0.07290917634963989, 0.22270359098911285, 0.673923671245575, -1.0623077154159546, 0.11959973722696304, -0.3174777030944824, -0.05844855681061745, -0.14371590316295624, -0.5537198781967163, -0.11639180779457092, 0.3208651840686798, -0.03438940271735191, -0.4246373772621155, -0.020083021372556686, 0.1357271373271942, 0.3240320086479187, 0.19284506142139435, -0.9953609108924866, -0.2782564163208008, -0.2724369466304779, 0.7782367467880249, -0.568437933921814, 0.41340407729148865, -0.0019960463978350163, 0.08677969127893448, -0.07516322284936905, -0.49873608350753784, -0.7619516849517822, 0.22182822227478027, -0.18441353738307953, 0.45091712474823, -0.6198518872261047, 0.03641580417752266, 0.09272882342338562, 0.13223497569561005, -0.7355238199234009, 0.05935615673661232, -0.061694372445344925, -0.6084409952163696, 0.22900940477848053, 0.312558114528656, 0.5224846005439758, -0.3509086072444916, -0.7251693606376648, -0.07941514253616333, -0.640039324760437, 0.5525939464569092, 0.000921884027775377, -0.0961265042424202, -0.3065693974494934, 0.12394958734512329, -0.29660317301750183, 0.29506227374076843, -0.17339850962162018, 0.12119366973638535, 0.05674729123711586, -0.2730254828929901, -0.2656133472919464, -0.05248986557126045, 0.9621214866638184, 0.32564154267311096, 0.03599407896399498, -0.15546433627605438, 0.20084692537784576, 0.22970575094223022, 0.12002317607402802, -0.7907657027244568, 0.025469539687037468, 0.4057866632938385, -0.39138928055763245, -0.10865841060876846, 0.16021552681922913, -1.3726890087127686, -0.34837400913238525, -0.6543161273002625, 0.4768504798412323, 0.1287548691034317, -0.2623318135738373, -0.058592069894075394, -0.007832508534193039, -0.18644940853118896, 0.31866440176963806, -0.5329374670982361, 0.07723703235387802, 0.21685318648815155, 0.39849355816841125, 0.01800055056810379, -0.34860268235206604, -0.5889793634414673, -0.1886104941368103, 0.06588363647460938, 0.8173408508300781, -0.33015042543411255, -0.06808814406394958, -0.01631748117506504, 0.271901935338974, -0.2757261097431183, -0.14076420664787292, 0.7463526129722595, -0.4322851002216339, 0.5710207223892212, -0.39905107021331787, -0.11737918853759766, -0.3836229741573334, 0.2471546232700348, -0.6197023987770081, 0.4272885322570801, -0.053480617702007294, -0.8477011322975159, 0.15880396962165833, -0.8108773231506348, -0.28928500413894653, -0.26975440979003906, -0.17632918059825897, -0.2574000060558319, 0.21748054027557373, 0.41748830676078796, 0.7104604244232178, -0.8072865009307861, 0.5964049100875854, -0.3125896155834198, 0.03703499585390091, 0.23909273743629456, -0.6648567914962769, 0.7040553689002991, 0.3823598325252533, -0.6552018523216248, 0.356447696685791, -0.766242265701294, -0.15189889073371887, -0.17476427555084229, -0.05774121731519699, -0.39303967356681824, -0.0014296835288405418, 0.197861909866333, 0.7850954532623291, 0.23201371729373932, -0.7646616697311401, -0.13836397230625153, 0.44097018241882324, 0.21859876811504364, 0.7995777726173401, 0.1519278585910797, 0.31199899315834045, 0.044154345989227295, 0.314872145652771, 0.4830664098262787, 0.28595900535583496, -0.30483344197273254, -0.23757410049438477, -0.5096102356910706, -0.553291916847229, -0.11220087110996246, 0.6198428869247437, -0.6533964276313782, 0.1497802883386612, 0.16388122737407684, -0.04436406120657921, -0.3116143047809601, 0.10390197485685349, 0.5107709169387817, 0.7381842732429504, 0.3185126483440399, -0.28743776679039, -0.875125527381897, -0.5853396058082581, -0.1269022673368454, 0.005256228614598513, -0.2041342556476593, 0.6176528334617615, 0.332855224609375, -0.5236455202102661, 0.8611056208610535, -0.26172974705696106, -0.4153408110141754, 0.1023695170879364, 0.7810434699058533, 0.04449918493628502, 0.5361185669898987, 0.46107998490333557, -0.8766563534736633, -0.10416699200868607, -0.23733356595039368, -1.0135730504989624, -0.5933505296707153, -0.22630511224269867, -0.06466378271579742, 0.16302841901779175, 0.43477556109428406, -0.20014770328998566, 0.47981634736061096, 0.7515897154808044, -0.49244117736816406, 0.5322607755661011, -0.1791299730539322, 0.9595268368721008, -1.1542253494262695, 0.07615626603364944, 0.04950341954827309, 0.17605715990066528, -0.5340558290481567, -0.5353071689605713, 0.1336846649646759, -0.29958364367485046, -0.460401326417923, 0.44641509652137756, -0.3736934959888458, 0.09777284413576126, -0.07016308605670929, 0.01612156629562378, 0.21408911049365997, 1.0558570623397827, -0.025226028636097908, 0.4389673173427582, 0.6345519423484802, -0.569485068321228, 0.4725857377052307, -0.05473952367901802, -0.09023534506559372, 0.9629234671592712, -0.42811304330825806, 0.006714140065014362, -0.1462525874376297, -0.05859121307730675, -1.077075719833374, -0.35064902901649475, 0.10575798898935318, -0.33210134506225586, 0.35906973481178284, 0.4072665274143219, -0.29384472966194153, -0.22237329185009003, -0.29484403133392334, 0.6312757730484009, 0.2140396684408188, -0.8324483633041382, 0.8360542058944702, 0.22639575600624084, -0.10729566961526871, -0.48943325877189636, -0.31601423025131226, -0.022864358499646187, -0.3517645299434662, -0.7923797965049744, 0.04442595690488815, -0.22834433615207672, -0.13879629969596863, -0.3031991720199585, 0.021327519789338112, -0.20502282679080963, 0.0005585816688835621, 0.7296611070632935, 0.10805172473192215, -0.008466820232570171, 0.2823541760444641, 0.17684325575828552, -0.2287028431892395, 0.2078196257352829, 0.08802906423807144, 0.29778438806533813, -0.05578974261879921, -0.3578781485557556, -0.572399377822876, 0.6944524049758911, 0.9578486680984497, -0.4090867340564728, 0.2883754074573517, 0.8209337592124939, -0.1846430003643036, 0.2698172330856323, -0.8010214567184448, -0.3998832404613495, -0.36049193143844604, 0.1962311565876007, -0.15317505598068237, -0.970275342464447, 0.5509960651397705, -0.6208718419075012, -0.24493061006069183, 0.3498539328575134, 0.5406785011291504, -0.3292134404182434, 0.944636881351471, 0.5230122804641724, -0.450278639793396, 0.41536998748779297, 0.2382533699274063, 0.14194631576538086, -1.0877610445022583, -0.38992419838905334, -0.33766669034957886, -0.3530929386615753, -0.4077986180782318, -0.2960983216762543, 0.7414650917053223, 0.06443772464990616, -0.2002464234828949, 0.21690961718559265, -0.07092161476612091, 0.04623204842209816, 0.40465566515922546, 0.039523541927337646, 0.22955429553985596, -0.11082057654857635, -0.13472557067871094, -0.2667348086833954, -0.4603583812713623, -0.18023541569709778, 0.6985783576965332, 0.059087470173835754, 0.6027926206588745, 0.1362389773130417, 0.3328793942928314, 0.3805733323097229, 0.10618488490581512, -0.290223628282547, 0.4103056490421295, -0.01596931181848049, -0.7214657068252563, 0.11344487965106964, -0.4754677414894104, -0.8657279014587402, 0.27587518095970154, -0.4002942740917206, -1.0991870164871216, 0.6004041433334351, 0.13191652297973633, 0.02246212214231491, 0.29697316884994507, -0.5591119527816772, 1.2469426393508911, -0.3106711208820343, -0.4747049808502197, -0.44373369216918945, -0.9061692953109741, 0.4924354553222656, -0.010987237095832825, 0.4128710627555847, -0.24824130535125732, 0.5504403114318848, 0.7380473017692566, -0.2747335731983185, 0.9175874590873718, -0.04611408710479736, 0.23268654942512512, 0.5275171995162964, 0.24471324682235718, 0.34882405400276184, 0.03698771446943283, 0.38818156719207764, 0.26491791009902954, -0.16333825886249542, -0.23771992325782776, -0.6856877207756042, 0.5491408109664917, -0.503076434135437, -0.025025244802236557, -0.2471388429403305, -0.7703163027763367, -0.2695249319076538, -0.05579519271850586, 0.23821203410625458, 0.7881433367729187, -0.2685287296772003, 0.1320951133966446, 0.4590315520763397, -0.040980905294418335, 0.8458461761474609, 0.9684298634529114, 0.38593992590904236, -0.47958579659461975, 0.84046471118927, -0.5428178310394287, 0.010789996944367886, 0.5001168251037598, 0.357266366481781, -0.16482305526733398, 0.45445239543914795, -0.21553808450698853, -0.02537616528570652, -0.4606740176677704, -0.3585149049758911, -0.44365233182907104, 0.5014700889587402, -0.3443734347820282, -0.16800174117088318, -0.2917076051235199, -0.024979930371046066, -0.4109574854373932, 0.30539238452911377, 0.20778615772724152, 0.22026292979717255, -0.526782751083374, 0.2505227029323578, -0.8330157995223999, 0.26451942324638367, 0.855733335018158, -0.05484282970428467, -0.12237178534269333, -0.19481106102466583, 0.20676563680171967, 0.1510459929704666, -0.5096238255500793, -1.0040346384048462, 0.3933779001235962, 0.13099849224090576, 0.21564464271068573, 0.9932427406311035, 0.16321486234664917, 0.6925262212753296, -0.29507648944854736, 0.44052115082740784, 0.7107774019241333, -1.203210473060608, 0.3404577970504761, -0.27725955843925476, -0.11271534115076065, 0.27833840250968933, 0.535347580909729, -0.7898176312446594, 0.06643422693014145, -0.6468959450721741, -0.4670437276363373, 0.5315721035003662, 0.2139461785554886, -0.27566587924957275, 0.1473933905363083, -0.10372507572174072, -0.2966344356536865, 0.30164462327957153, -0.4383944272994995, -0.04228545352816582, -0.1360078603029251, -0.20716972649097443, -0.009766977280378342, -0.6030304431915283, 0.04418656602501869, 0.04697077348828316, 0.3444039821624756, -0.13092000782489777, 0.35508471727371216, 0.21584002673625946, -0.2550175189971924, -0.4351162016391754, 0.7359968423843384, 0.6206194758415222, 0.11150775849819183, -0.35613813996315, 0.3633722960948944, 0.016437243670225143, 0.03550565615296364, -0.023519152775406837, -0.04832514002919197, 0.5902398228645325, -0.2673795223236084, 0.5295447707176208, 0.6811512112617493, 0.6869006752967834, -0.8021089434623718, 0.6964200139045715, 0.025694100186228752, 0.08401937782764435, 0.09224905073642731, -0.4043295979499817, -0.20004186034202576, 0.6543939113616943, 0.15824836492538452, 0.10748495906591415, 0.5510737895965576, -0.8308647274971008, 0.46834856271743774, 0.4918774366378784, -0.5715011954307556, -0.5869056582450867, 0.6540346741676331, 0.2868521809577942, 0.27972155809402466, 0.4948815405368805, -0.26701316237449646, -0.843229353427887, 0.6472834944725037, 0.372149795293808, 0.7018291354179382, -0.5216390490531921, 0.14070841670036316, 0.32209667563438416, -0.04133319482207298, 0.35266590118408203, 0.3436274528503418, -0.5109659433364868, -0.7566497325897217, -0.32626181840896606, -0.19914618134498596, -0.28332656621932983, -0.13467562198638916, -0.7597581744194031, -0.0627780556678772, 0.021564120426774025, 0.08011385798454285, -0.2379409223794937, -0.10982391983270645, -0.5833823084831238, 0.3005425035953522, 0.2399008721113205, 0.147633358836174, -1.299020767211914, 0.43866589665412903, 0.55260169506073, -0.4768488109111786, -0.799642026424408, -0.4867735803127289, 0.47846245765686035, -0.6085138320922852, 0.7245705723762512, 0.20137783885002136, -0.011724703945219517, -0.33420756459236145, -0.47600454092025757, -0.4218006432056427, 1.2653782367706299, 0.008403316140174866, -0.2618285119533539, 0.37722501158714294, -0.09770645201206207, 0.3822425305843353, -0.649756908416748, 0.3778831660747528, 0.22813186049461365, 0.4607912003993988, 0.26905176043510437, -0.79991215467453, 0.07726095616817474, -0.2271450012922287, -0.34764185547828674, 0.27792420983314514, -0.46135029196739197, 0.9353016018867493, -0.21539035439491272, -0.16327744722366333, -0.36823946237564087, 0.4266708195209503, 0.13919499516487122, 0.8230302333831787, 0.4075270891189575, 0.6161262392997742, 0.5129390954971313, -0.028337882831692696, 0.6858291625976562, -0.0892547070980072, 0.37315070629119873, 0.9470425844192505, -0.2711268961429596, 0.5195935964584351, 0.5206941366195679, -0.11113543063402176, 0.7009356021881104, 0.3832976222038269, 0.4219460189342499, 0.5187419652938843, -0.29945242404937744, -0.4329386055469513, -0.45718419551849365, -0.4582393169403076, 0.12151650339365005, 0.6864129900932312, 0.22093577682971954, -0.13938090205192566, -0.5048004388809204, 0.26497969031333923, 0.3704482614994049, -0.2532970905303955, -0.4600142538547516, 0.6025615334510803, -0.011045782826840878, -0.49651989340782166, 0.0653059110045433, -0.2364308089017868, 0.5450078248977661, -0.5012648105621338, -0.060256827622652054, -0.29547861218452454, 0.17772361636161804, -0.24131153523921967, -0.3005187213420868, 0.22549287974834442, -0.031248664483428, -0.29962119460105896, -0.015564373694360256, 0.7200686931610107, -0.5088972449302673, -0.07270544022321701, 0.3260928690433502, 0.510850191116333, 0.10196159780025482, -0.6561869382858276, -0.5589492917060852, -0.057807695120573044, -0.0685628205537796, -0.17086362838745117, 0.600936770439148, 0.8100736141204834, -0.2854197919368744, 0.28999951481819153, 0.749501645565033, -0.5497735738754272, -0.10920394957065582, 0.014094044454395771, 0.7928239107131958, -0.4578593075275421, -0.23815704882144928, -0.7312422394752502, 0.9923508763313293, -0.026881331577897072, -0.34495922923088074, 0.30413466691970825, -0.014933912083506584, 0.08967936784029007, -0.17021037638187408, 0.1537715047597885, -0.3273191750049591, 0.19130821526050568, -0.41170647740364075, 0.4397982060909271, -0.9671919345855713, -0.14667603373527527, -0.6777641773223877, -0.6375763416290283, -0.18532772362232208, 0.2541051506996155, 0.09582314640283585, -0.15506769716739655, 0.9630705118179321, 0.6631481647491455, 0.0522245354950428, 0.06776342540979385, 0.4687650501728058, -0.07161859422922134, 0.28981927037239075, 1.1969084739685059, 0.6250267028808594, -0.3626580834388733, 0.23730619251728058, -0.4233619272708893, -0.5516310334205627, -0.12613700330257416, -1.1496118307113647, -0.8227629065513611, -1.049461841583252, -0.3796829283237457, 0.010649287141859531, -0.36049720644950867, 0.828599214553833, 0.6257707476615906, -0.7982574105262756, 0.043360207229852676, -0.1166590079665184, 0.17074719071388245, -0.13310393691062927, -0.22887323796749115, 0.4254671037197113, -0.37745729088783264, -0.38079819083213806, 0.3962739408016205, 0.5909476280212402, -0.20749658346176147, 0.0919010117650032, 0.016506794840097427, -0.12254103273153305, -0.05490924045443535, 0.5996991395950317, 0.6812676191329956, -0.5145238041877747, -0.11918587237596512, -0.13953439891338348, 0.07837449014186859, -0.1555655151605606, 1.4076274633407593, -0.548859715461731, 0.7267304062843323, 0.49898192286491394, 0.29659906029701233, 0.05596289783716202, -0.10966100543737411, 0.33862870931625366, -0.9043003916740417, 0.3173610270023346, -0.022873325273394585, 0.837705135345459, 0.034768689423799515, -0.2943054139614105, 0.37837153673171997, 0.5374615788459778, -0.6681233644485474, -0.35157421231269836, 0.4730837047100067, -1.3282411098480225, -0.1313178390264511, 0.7018693685531616, -0.19798368215560913, -0.14201682806015015, 0.0454794317483902, -0.23858176171779633, 0.4173303246498108, -0.38254886865615845, 0.7195122838020325, 0.40494397282600403, -0.36502185463905334, -0.32023417949676514, -0.3297228515148163, 0.048541441559791565, 0.5699352025985718, -1.050020694732666, 0.07650598883628845, 0.7819193601608276, 0.10971419513225555, 0.26535189151763916, 0.4819926917552948, -0.12138283252716064, 0.42573779821395874, -0.23343588411808014, 0.670194685459137, -0.195622980594635, -0.5797147154808044, -0.2892611026763916, 0.09023440629243851, -0.7157006859779358, -0.27271541953086853 ]
http://arxiv.org/abs/2404.00401v1
http://arxiv.org/pdf/2404.00401v1
How Robust are the Tabular QA Models for Scientific Tables? A Study using Customized Dataset
2024-03-30T15:48:49
2024-03-30T15:48:49
Akash Ghosh, B Venkata Sahith, Niloy Ganguly, Pawan Goyal, Mayank Singh
cs.CL
cs.CL
Question-answering (QA) on hybrid scientific tabular and textual data deals with scientific information, and relies on complex numerical reasoning. In recent years, while tabular QA has seen rapid progress, understanding their robustness on scientific information is lacking due to absence of any benchmark dataset. To investigate the robustness of the existing state-of-the-art QA models on scientific hybrid tabular data, we propose a new dataset, "SciTabQA", consisting of 822 question-answer pairs from scientific tables and their descriptions. With the help of this dataset, we assess the state-of-the-art Tabular QA models based on their ability (i) to use heterogeneous information requiring both structured data (table) and unstructured data (text) and (ii) to perform complex scientific reasoning tasks. In essence, we check the capability of the models to interpret scientific tables and text. Our experiments show that "SciTabQA" is an innovative dataset to study question-answering over scientific heterogeneous data. We benchmark three state-of-the-art Tabular QA models, and find that the best F1 score is only 0.462.
[ -0.2161356657743454, -1.0043166875839233, 0.6546414494514465, 0.2753395140171051, -0.18520201742649078, 0.31489211320877075, 0.2905645966529846, -0.34261447191238403, 0.16281314194202423, 0.2932955026626587, -0.21099823713302612, -0.581669270992279, 0.10736224800348282, 0.3770512342453003, -0.4410189688205719, 1.1778234243392944, -0.011292561888694763, 0.3356988728046417, -0.8875200152397156, -0.22266846895217896, -0.5049027800559998, -0.19493414461612701, 0.2299041599035263, 0.05488826707005501, 0.22106607258319855, 0.43016287684440613, 0.99837327003479, 0.6134587526321411, 0.8010304570198059, 0.1800854504108429, -0.013673098757863045, 0.12167472392320633, -0.22453159093856812, 0.24771150946617126, -0.3144153356552124, -0.565710186958313, -0.5834190249443054, -0.15942701697349548, 0.8086407780647278, 0.6479831337928772, -0.13188908994197845, 0.5884775519371033, -0.26851004362106323, 0.3049168288707733, -0.172525554895401, 0.36267054080963135, -0.9288334250450134, 0.05978061258792877, -0.07449930906295776, -0.20395228266716003, -0.4848947525024414, -0.9034847617149353, 0.06064104288816452, -0.8860868215560913, 0.009403715841472149, 0.37348759174346924, 0.8321642875671387, 0.1798274666070938, -0.36093005537986755, 0.0898941308259964, -0.8158964514732361, 0.3441755175590515, -0.6746227741241455, 0.32819366455078125, 0.28130394220352173, 0.46763521432876587, -0.3044750690460205, -0.8544906973838806, -0.7668505311012268, -0.5528879761695862, 0.09591599553823471, 0.17934250831604004, -0.1046186238527298, -0.21455024182796478, 0.4024670124053955, 0.155949667096138, -1.1184765100479126, 0.005414751823991537, -0.35572028160095215, -0.04637730121612549, 0.38252419233322144, 0.3506515920162201, 0.5049956440925598, -0.14955422282218933, -0.36520880460739136, -0.1710657775402069, -0.522172749042511, 0.39650577306747437, -0.026217391714453697, 0.18183737993240356, 0.1272467076778412, 0.8272109627723694, -0.3509024679660797, 0.5598546862602234, -0.062385834753513336, 0.004134443588554859, -0.00813492201268673, -0.7070302963256836, -0.05890630558133125, -0.237175852060318, 0.6795885562896729, 0.3970421850681305, 0.07280221581459045, -0.5372072458267212, 0.05966637283563614, 0.3172575831413269, 0.13152383267879486, -0.5915161371231079, -0.38872286677360535, 0.44658929109573364, -0.21318507194519043, -0.23017168045043945, 0.04319994896650314, -0.9087544083595276, -0.0456719808280468, 0.13587439060211182, 0.5937269926071167, -0.1909492313861847, -0.02378513105213642, -0.16944529116153717, 0.058092668652534485, 0.046388205140829086, 0.25931650400161743, -0.4796263575553894, 0.4588376581668854, 0.40736666321754456, 0.7420864701271057, -0.3844071328639984, -0.13231106102466583, -0.49275368452072144, 0.02790510468184948, -0.3063614070415497, 1.142085075378418, -0.5271565914154053, -0.2707701623439789, -0.37246572971343994, -0.1019202321767807, -0.23012501001358032, -0.5623806715011597, 0.5130115151405334, -0.6911636590957642, 0.350238561630249, -0.561448335647583, -0.3899010121822357, -0.1572262942790985, 0.24924130737781525, -1.000313639640808, 0.8732824921607971, 0.14869306981563568, -0.8267507553100586, 0.6830084919929504, -0.5262800455093384, -0.24250879883766174, 0.39248034358024597, -0.09796416014432907, -0.5651666522026062, -0.28696703910827637, 0.12945325672626495, 0.06103738397359848, -0.377328097820282, 0.5348808765411377, -0.8327446579933167, -0.2129451185464859, 0.7413922548294067, -0.05503694713115692, 0.4057607054710388, 0.16689205169677734, 0.05744914337992668, 0.07596231997013092, -0.6969084143638611, 0.5299621820449829, -0.14440329372882843, -0.2681742012500763, -0.00883621908724308, 0.003058327827602625, 0.11310958862304688, 0.42448335886001587, 0.00048784603131935, -0.7731869220733643, 0.12966954708099365, -0.01318651158362627, 0.42659246921539307, 0.2928071618080139, 0.11472901701927185, 0.26863595843315125, -0.6165401339530945, 0.6580298542976379, -0.054196879267692566, 0.04950328543782234, 0.5057641863822937, -0.571670413017273, 0.11318662017583847, -0.08584414422512054, 0.6849963068962097, 0.7285059094429016, -0.6741542816162109, 0.14033666253089905, -0.20399826765060425, -0.7181077599525452, -0.31625932455062866, -0.2699171006679535, 0.3212392032146454, 0.8890015482902527, 0.5485180616378784, -0.17826831340789795, -0.3034819960594177, -0.9468310475349426, -0.3106949031352997, -0.3185216188430786, 0.08602006733417511, 0.21046140789985657, 0.7903401255607605, 0.1937544345855713, 1.0406440496444702, -0.2246469408273697, 0.31303566694259644, -0.17765899002552032, -0.02040235325694084, 0.2426062524318695, 0.42319217324256897, 0.3834686875343323, -1.0359586477279663, -0.4920017719268799, -0.055516671389341354, -0.8516871333122253, -0.03012324683368206, -0.0004928658017888665, -0.17614883184432983, 0.03216519206762314, -0.08411390334367752, -0.7211141586303711, 0.4158242642879486, 0.2484503984451294, -0.6578124761581421, 0.885249137878418, 0.03287931904196739, 0.31532183289527893, -0.9730358719825745, 0.4244249165058136, 0.1904890090227127, -0.062014006078243256, -0.9076338410377502, 0.06599865853786469, 0.24249885976314545, -0.168471559882164, -0.3196845054626465, 0.26696696877479553, -0.18130746483802795, -0.18431389331817627, 0.03654276579618454, -0.057987894862890244, 0.26257291436195374, 0.3182814121246338, 0.0434127002954483, 0.8077051043510437, 0.13374978303909302, -0.29720038175582886, 0.24188470840454102, 0.7404245138168335, -0.40884414315223694, 0.4981481432914734, -0.9866591691970825, -0.06582965701818466, -0.05248573422431946, 0.3506704568862915, -0.8738246560096741, -0.322550892829895, -0.007723698858171701, -0.37182727456092834, 0.043965112417936325, 0.35070931911468506, -0.41272199153900146, -0.44962626695632935, -0.217253640294075, 0.35966575145721436, 0.17528873682022095, -0.18206796050071716, 0.6279553771018982, 0.3408050835132599, -0.4143712520599365, -0.5368924736976624, -0.4730866551399231, -0.2286563217639923, -0.20361964404582977, -0.7592158317565918, 0.36128202080726624, -0.12093061953783035, -0.3089916408061981, 0.27214598655700684, -0.5314236879348755, -0.46848487854003906, 0.032609015703201294, 0.35800549387931824, 0.5950554609298706, -0.26854458451271057, -0.023405956104397774, 0.16851918399333954, 0.1750527173280716, 0.21097014844417572, 0.24783273041248322, 0.3452584445476532, -0.49621960520744324, -0.010021182708442211, -0.6571349501609802, 0.33268672227859497, 0.7574993371963501, -0.40934062004089355, 0.7802897691726685, 0.3039357364177704, -0.5782753229141235, 0.0039197220467031, -0.3661382496356964, -0.35255590081214905, -0.4025386869907379, 0.6664400696754456, -0.30565813183784485, -0.5621373057365417, 0.9279248118400574, 0.36662840843200684, 0.18511615693569183, 0.4149510860443115, 0.4775004982948303, -0.41806209087371826, 0.9218918681144714, 0.16875100135803223, 0.22823263704776764, -0.18920594453811646, 0.052897728979587555, 0.0990132987499237, -0.3721362054347992, -0.7931709885597229, -1.0566190481185913, -0.012442278675734997, -0.5316893458366394, -0.11312662065029144, 0.7100321650505066, -0.21738362312316895, -0.24452778697013855, 0.19036245346069336, -0.27594295144081116, 0.3051421344280243, 0.5799564719200134, 0.22448515892028809, 0.5222711563110352, -0.020563414320349693, 0.007737317588180304, 0.06714793294668198, -0.8317049741744995, -0.7497979998588562, 0.9368614554405212, 0.41706839203834534, 0.8443208932876587, -0.11628120392560959, 0.13233473896980286, 0.3111168146133423, 0.12582264840602875, -0.14283260703086853, 0.4930568039417267, 0.0368569940328598, -0.7932659983634949, -0.47319841384887695, -0.7761093378067017, -0.5409975647926331, 0.20365025103092194, -0.676600456237793, -0.6147346496582031, 0.23297782242298126, 0.2800535559654236, -0.5957192182540894, 0.2551612854003906, -0.6968182325363159, 1.1954303979873657, -0.20388171076774597, -0.4449978768825531, 0.2631145119667053, -0.7360233664512634, 0.38746798038482666, -0.2258458137512207, 0.14355355501174927, -0.023488106206059456, 0.29495033621788025, 0.917140781879425, -0.2603754699230194, 0.28561052680015564, -0.05455927923321724, 0.26467597484588623, 0.26736924052238464, 0.35732531547546387, 0.4266033470630646, 0.39641788601875305, -0.1719290018081665, -0.25850576162338257, 0.9587370157241821, -0.46736228466033936, -0.6330921053886414, 0.5818442702293396, -0.6168383359909058, -0.3773766756057739, -0.553179144859314, -0.9340391755104065, -0.675381600856781, -0.0023957686498761177, 0.199225515127182, 0.4807468354701996, -0.11251816153526306, 0.5042799115180969, 0.6893248558044434, -0.09685990959405899, 0.02869020402431488, 0.4458538591861725, 0.07092031836509705, -0.2959567904472351, 0.7685230374336243, 0.3046753406524658, 0.3311445713043213, 0.4977014660835266, 0.04853535816073418, -0.6838476657867432, -0.772709310054779, -0.5410455465316772, 0.08172852545976639, -0.3169964551925659, -0.4481804072856903, -0.6136955618858337, -0.010861251503229141, -0.22997306287288666, 0.19373701512813568, 0.09390861541032791, -0.7588809728622437, -0.22943051159381866, -0.22260141372680664, 0.1611592173576355, 0.44307929277420044, 0.43231111764907837, -0.21993491053581238, -0.8570517301559448, 0.5162941217422485, 0.3111557364463806, 0.31935423612594604, -0.27048608660697937, -0.4552936255931854, 0.0730002373456955, 0.058146100491285324, -0.056320302188396454, -1.2040408849716187, 0.23385925590991974, 0.2536424696445465, 0.6135174632072449, -0.03420637547969818, 0.19448591768741608, 0.2631397843360901, -0.19752268493175507, 0.5936495661735535, -0.15447084605693817, -0.6895509958267212, 0.15703105926513672, -0.43173137307167053, 0.2692602872848511, 0.7352246642112732, 0.6225999593734741, -0.05208500102162361, -0.5317903161048889, -0.3360176086425781, -0.4054674804210663, 0.41531315445899963, 0.03016745112836361, -0.3729798197746277, 0.47360989451408386, 0.47771546244621277, 0.464370995759964, 0.3588230609893799, -1.1341336965560913, 0.2740277051925659, -0.5334086418151855, -0.38947004079818726, 0.3869653642177582, 0.023250257596373558, -0.14236091077327728, -0.1755802482366562, 0.5596171021461487, -0.22272774577140808, 0.03476981446146965, -0.010396057739853859, -0.0000823164009489119, -0.29730460047721863, 0.5001638531684875, 0.40482720732688904, 0.7811795473098755, -0.5502775311470032, 0.08175135403871536, 0.23247647285461426, -0.8073256611824036, 0.12448034435510635, 0.28595995903015137, -0.5852696299552917, -0.2579386234283447, 0.1619137078523636, 0.4309994876384735, -0.18540853261947632, -0.766686201095581, 0.11002478748559952, -0.14446747303009033, -0.31967437267303467, 0.3016877770423889, 0.12697094678878784, -0.049759458750486374, 0.26144227385520935, 0.4766140580177307, -0.022887930274009705, 0.3682110011577606, -0.6770121455192566, 0.2787838578224182, 0.609596848487854, 0.058544326573610306, -0.38375619053840637, 0.9835887551307678, -0.2218862622976303, 0.04896191135048866, 0.4231279790401459, 0.07195889204740524, -0.497420996427536, 0.716420590877533, 0.709009051322937, 0.1455213725566864, 0.009545454755425453, 0.8752589821815491, 0.18764309585094452, 0.3766839802265167, 0.04749078303575516, 0.8114499449729919, 0.10504864156246185, -0.4086315929889679, -0.09784867614507675, -0.6707378029823303, -0.7854048013687134, 0.11745031177997589, -0.7617843747138977, -0.4437301754951477, -0.5297152400016785, -0.3576808571815491, 0.18713881075382233, 0.30124738812446594, -0.5405964255332947, 0.3734171688556671, -0.5739830136299133, 0.9469307065010071, -1.0671916007995605, 0.4227812588214874, 0.8140459656715393, -0.4247836470603943, -1.1241552829742432, -0.3770018219947815, -0.4854198694229126, -0.29209911823272705, 0.2361503392457962, -0.25450384616851807, 0.28487712144851685, -0.2341671735048294, -0.5541554689407349, -0.8875917196273804, 0.956581711769104, 0.2918064594268799, -0.5025301575660706, -0.15390868484973907, 0.5109329223632812, 0.8814051151275635, -0.07302950322628021, 0.18808318674564362, 0.4694468080997467, 0.583621084690094, -0.023656627163290977, -0.959545910358429, 0.3182393014431, -0.576004147529602, -0.31629475951194763, 0.0008495695074088871, -0.4741192162036896, 0.6517061591148376, -0.17927849292755127, -0.053258154541254044, 0.23618647456169128, 0.6783683896064758, 0.5163644552230835, 0.8833531737327576, 0.26452192664146423, 0.4951249063014984, 0.7538536787033081, -0.4745144844055176, 0.6569538712501526, 0.08291664719581604, 0.08374123275279999, 0.872729480266571, -0.634085476398468, 0.8563079237937927, 0.3260507583618164, -0.23300331830978394, 0.4907790422439575, 0.6365354657173157, -0.41540077328681946, 0.5523408651351929, 0.0943535566329956, 0.05538703128695488, -0.3068496286869049, -0.0786985456943512, -0.4943622350692749, 0.28906211256980896, 0.17079071700572968, 0.03636515513062477, -0.13082239031791687, -0.05240003764629364, -0.3891964256763458, 0.26108676195144653, -0.23289811611175537, 0.4962013363838196, -0.1413421779870987, -0.5547584295272827, 0.3943840563297272, -0.2297852486371994, -0.0249799694865942, -0.34621360898017883, -0.0041481805965304375, -0.2523109018802643, -0.3821963369846344, -0.5308218002319336, -0.8265777230262756, -0.0113348588347435, 0.1352575421333313, -0.15772230923175812, 0.314388245344162, 0.4517107307910919, -0.49606651067733765, -0.3722820281982422, -0.563524603843689, 0.723283588886261, 0.02902800589799881, 0.17594364285469055, -0.3565995395183563, -0.18528465926647186, -0.24947895109653473, 0.02747376263141632, 0.15570606291294098, 0.1260984241962433, -0.4137223958969116, 0.8430665731430054, 0.5828304886817932, -0.053523849695920944, 0.33853381872177124, -0.2851368188858032, 0.9371045827865601, -0.5171918869018555, -0.6066714525222778, -0.2414642870426178, 0.22906139492988586, 0.02145470306277275, -0.43328890204429626, 0.7348942756652832, 0.6217865347862244, 0.39291125535964966, -0.24730271100997925, 0.5470845103263855, 0.016313428059220314, 0.5783430337905884, -0.48415637016296387, 0.797240674495697, -0.3932856023311615, -0.006119870115071535, -0.4246284067630768, -1.0165925025939941, -0.43932807445526123, 0.30450114607810974, -0.23340864479541779, 0.19190773367881775, 0.6718688607215881, 0.6159819960594177, 0.03368587791919708, 0.6370736360549927, -0.09959445148706436, 0.33593809604644775, 0.2742035984992981, 0.49322566390037537, 0.882702648639679, -0.059277553111314774, 0.44197556376457214, -0.2580190896987915, -0.2385217547416687, -0.15066684782505035, -0.5897762775421143, -0.631926953792572, -0.5967824459075928, -0.26817622780799866, -0.5474762916564941, 0.09186330437660217, 0.7062607407569885, 0.35341164469718933, -1.1164041757583618, 0.02096063643693924, 0.005307573359459639, 0.0004689719353336841, -0.1893327385187149, -0.2197030931711197, 0.7180690765380859, 0.2977094352245331, -0.2542174458503723, 0.31559574604034424, 0.08426128327846527, 0.20237739384174347, -0.13178786635398865, 0.33607304096221924, -0.15491826832294464, 0.14535307884216309, 0.1756138801574707, 0.7081359028816223, -0.26294755935668945, -0.11012892425060272, 0.6081739664077759, -0.12076583504676819, 0.04571950435638428, 0.30988195538520813, -0.5965462923049927, 0.2660585939884186, 0.6387866139411926, 0.5831437110900879, 0.3603529632091522, 0.44254982471466064, 0.37227222323417664, -0.06610163301229477, -0.4068659842014313, 0.7377039790153503, 0.18790970742702484, 0.1383228451013565, -0.26005974411964417, 0.25136879086494446, -0.04614201560616493, -0.7996323704719543, -1.4071145057678223, -0.11151448637247086, -1.4189958572387695, -0.05542856454849243, 0.7947761416435242, 0.042919766157865524, -0.4386945068836212, -0.316545307636261, -0.0035875788889825344, 0.06600528210401535, -0.41218510270118713, 1.159980297088623, 0.48632994294166565, -0.23272810876369476, 0.14623193442821503, -0.32393354177474976, 0.46607506275177, 0.5967156887054443, -1.3922946453094482, -0.3024766147136688, 0.572334885597229, 0.3509015142917633, 0.20504064857959747, 0.12029138952493668, -0.24082300066947937, 0.9400094151496887, 0.032576411962509155, -0.3090074360370636, -0.41605034470558167, -0.7797313332557678, -0.01576140709221363, 0.7349362373352051, -0.02779168263077736, 0.0566646009683609 ]
http://arxiv.org/abs/2404.00399v2
http://arxiv.org/pdf/2404.00399v2
Aurora-M: The First Open Source Multilingual Language Model Red-teamed according to the U.S. Executive Order
2024-03-30T15:38:54
2024-04-23T13:45:48
Taishi Nakamura, Mayank Mishra, Simone Tedeschi, Yekun Chai, Jason T Stillerman, Felix Friedrich, Prateek Yadav, Tanmay Laud, Vu Minh Chien, Terry Yue Zhuo, Diganta Misra, Ben Bogin, Xuan-Son Vu, Marzena Karpinska, Arnav Varma Dantuluri, Wojciech Kusa, Tommaso Furlanello, Rio Yokota, Niklas Muennighoff, Suhas Pai, Tosin Adewumi, Veronika Laippala, Xiaozhe Yao, Adalberto Junior, Alpay Ariyak, Aleksandr Drozd, Jordan Clive, Kshitij Gupta, Liangyu Chen, Qi Sun, Ken Tsui, Noah Persaud, Nour Fahmy, Tianlong Chen, Mohit Bansal, Nicolo Monti, Tai Dang, Ziyang Luo, Tien-Tung Bui, Roberto Navigli, Virendra Mehta, Matthew Blumberg, Victor May, Huu Nguyen, Sampo Pyysalo
cs.CL
cs.CL, cs.AI, cs.LG
Pretrained language models underpin several AI applications, but their high computational cost for training limits accessibility. Initiatives such as BLOOM and StarCoder aim to democratize access to pretrained models for collaborative community development. However, such existing models face challenges: limited multilingual capabilities, continual pretraining causing catastrophic forgetting, whereas pretraining from scratch is computationally expensive, and compliance with AI safety and development laws. This paper presents Aurora-M, a 15B parameter multilingual open-source model trained on English, Finnish, Hindi, Japanese, Vietnamese, and code. Continually pretrained from StarCoderPlus on 435 billion additional tokens, Aurora-M surpasses 2 trillion tokens in total training token count. It is the first open-source multilingual model fine-tuned on human-reviewed safety instructions, thus aligning its development not only with conventional red-teaming considerations, but also with the specific concerns articulated in the Biden-Harris Executive Order on the Safe, Secure, and Trustworthy Development and Use of Artificial Intelligence. Aurora-M is rigorously evaluated across various tasks and languages, demonstrating robustness against catastrophic forgetting and outperforming alternatives in multilingual settings, particularly in safety evaluations. To promote responsible open-source LLM development, Aurora-M and its variants are released at https://huggingface.co/collections/aurora-m/aurora-m-models-65fdfdff62471e09812f5407 .
[ -0.23734809458255768, -0.5460881590843201, 0.21649090945720673, 0.4083486497402191, 0.038017041981220245, 0.32626867294311523, -0.15671424567699432, -0.49019429087638855, 0.3087339997291565, 0.7234547734260559, -0.5410400629043579, -0.3620385229587555, -0.42186081409454346, 0.24029679596424103, -0.33035993576049805, 0.952575147151947, -0.06464221328496933, -0.032597120851278305, 0.04986193776130676, -0.3847188949584961, -0.06445631384849548, -0.9881494045257568, -0.4413330554962158, -0.041350360959768295, 0.8780351281166077, 0.5103700757026672, 0.7770181894302368, 0.31762316823005676, 0.5932421088218689, 0.28298845887184143, 0.030286632478237152, -0.1316889524459839, -0.2957463562488556, -0.3208874762058258, 0.04033990204334259, -0.4806387424468994, -0.8310006260871887, 0.1446133852005005, 0.7150042057037354, 0.585993230342865, -0.3250984251499176, 0.10268343985080719, -0.07884284853935242, 0.7676998376846313, -0.91156005859375, 0.04348652809858322, -0.6507906913757324, -0.18609479069709778, -0.23346470296382904, 0.31754249334335327, -0.5024985074996948, 0.00260226265527308, -0.03909788280725479, -0.7513760924339294, -0.24875186383724213, 0.43611374497413635, 0.8147796988487244, 0.08922647684812546, -0.11022065579891205, -0.11142703890800476, -0.6890513896942139, 1.1535887718200684, -0.3063184320926666, 0.5440390706062317, 0.40866291522979736, 0.24685044586658478, 0.20020267367362976, -0.603369414806366, -0.5236173868179321, -0.3085663616657257, 0.16178403794765472, 0.28000888228416443, -0.29064539074897766, 0.035917434841394424, -0.14861300587654114, 0.3063966631889343, -0.6288609504699707, 0.40880024433135986, -0.6053873300552368, -0.11154858022928238, 0.45747506618499756, -0.033884547650814056, 0.18318277597427368, -0.024014879018068314, -0.16599026322364807, 0.08717605471611023, -0.8052887916564941, -0.2911422848701477, 0.3703662157058716, 0.4604165852069855, -0.4190473258495331, 0.6397408246994019, -0.08791877329349518, 0.19367022812366486, -0.3458397686481476, 0.16470003128051758, 0.5529484152793884, -0.3961601257324219, -0.11021336168050766, -0.21806219220161438, 1.058348536491394, 0.19027307629585266, 0.1787339746952057, -0.2130235731601715, -0.23316200077533722, -0.08455653488636017, 0.26309970021247864, -0.49439531564712524, -0.02981281653046608, 0.31751173734664917, -0.3945152163505554, 0.0038650433998554945, -0.1578652560710907, -0.6154984831809998, 0.0884329080581665, -0.3623347878456116, 0.40152326226234436, -0.4217427670955658, -0.5583133697509766, 0.17173998057842255, 0.4392516314983368, -0.23612461984157562, 0.2529705762863159, -0.9481770992279053, 0.12277835607528687, 0.66520756483078, 0.8893499970436096, 0.045001059770584106, -0.8614287376403809, -0.5048805475234985, -0.1338844895362854, -0.38411745429039, 0.3055126965045929, -0.31840959191322327, -0.027528047561645508, 0.01837010495364666, 0.10241030156612396, -0.1518508791923523, -0.26202714443206787, 0.13357432186603546, -0.6356794834136963, 0.29661980271339417, 0.16706909239292145, -0.1877087950706482, -0.08265556395053864, 0.26287391781806946, -0.6456146836280823, 0.6471648812294006, 0.09897934645414352, -0.7045561075210571, 0.43214115500450134, -0.7430638074874878, -0.10746095329523087, 0.2721894681453705, -0.0837218314409256, -0.5708751678466797, -0.15332864224910736, 0.2133943885564804, 0.22231082618236542, -0.46608683466911316, 0.3242391347885132, -0.2607784867286682, -0.23595726490020752, -0.3130068778991699, -0.17317132651805878, 1.042773962020874, 0.44634419679641724, -0.06103387102484703, 0.4884691536426544, -0.7613881826400757, -0.015857890248298645, 0.23156094551086426, -0.2835049033164978, -0.27137404680252075, -0.023598892614245415, 0.1510397344827652, 0.015344700776040554, 0.3078691065311432, -0.34170639514923096, -0.20110578835010529, -0.38298019766807556, 0.3699660301208496, 0.6549636721611023, -0.3552802801132202, 0.5070369243621826, -0.30549395084381104, 0.6910615563392639, 0.021485809236764908, 0.48398932814598083, -0.5974880456924438, -0.3265633285045624, -0.7703624963760376, -0.5275915265083313, 0.16867798566818237, 0.7921267747879028, -0.6778764724731445, 0.5726577639579773, 0.05706455931067467, -0.6550236344337463, -0.8526734113693237, -0.03218785673379898, 0.5847181677818298, 0.04125737026333809, 0.5013684034347534, 0.078437939286232, -0.43482232093811035, -0.9554412961006165, -0.1392945796251297, -0.3447023928165436, 0.1669541746377945, 0.1614050567150116, 0.7816861271858215, -0.47649234533309937, 0.6965653300285339, -0.017529893666505814, -0.21052993834018707, -0.40161097049713135, 0.23715607821941376, 0.13378892838954926, 0.6976239681243896, 0.6145051717758179, -0.6049924492835999, -0.43348079919815063, 0.051378119736909866, -0.8379434943199158, 0.2039027065038681, 0.018822362646460533, -0.019338946789503098, 0.3338196575641632, 0.5143539309501648, -0.32781851291656494, -0.022758258506655693, 1.0673651695251465, -0.06603964418172836, 0.7678678035736084, -0.49467572569847107, 0.23898136615753174, -1.2702220678329468, 0.1274605393409729, -0.31481993198394775, 0.14721910655498505, -0.5397149324417114, 0.4769190549850464, 0.18540574610233307, -0.32772114872932434, -0.7897246479988098, 0.5254923701286316, -0.5137667655944824, 0.16575807332992554, -0.01787312887609005, -0.029943957924842834, -0.2865099608898163, 0.2121516764163971, -0.028071889653801918, 0.8100395202636719, 0.8458062410354614, -0.6645727157592773, 0.16187089681625366, 0.2533247172832489, -0.3010435104370117, 0.42076653242111206, -0.5704197883605957, 0.22199368476867676, -0.12548980116844177, -0.3892512023448944, -0.1126684918999672, -0.10727722942829132, 0.17823979258537292, -0.16511383652687073, 0.060618672519922256, -0.030415713787078857, -0.8166786432266235, -0.18125028908252716, 0.05235590785741806, 0.5218210220336914, 0.46628594398498535, -0.4921278953552246, 0.46851998567581177, 0.5851483345031738, -0.20334012806415558, -0.6605880856513977, -0.5697330236434937, 0.22766581177711487, -0.10430480539798737, -0.6419736742973328, 0.13134466111660004, -0.30563485622406006, -0.3759024739265442, -0.09536914527416229, 0.5153822898864746, -0.3431876301765442, 0.23784847557544708, 0.0550285279750824, 0.21945418417453766, -0.20841260254383087, 0.11688120663166046, -0.07514053583145142, -0.34705668687820435, -0.0793672576546669, -0.09475471824407578, 0.3638606667518616, -0.5160136818885803, -0.5424866676330566, -0.2849378287792206, 0.5508453249931335, 0.9481189250946045, -0.6796874403953552, 1.1972380876541138, 0.28868260979652405, -0.3603096604347229, 0.03815516084432602, -0.4567664861679077, -0.05766788497567177, -0.402584433555603, 0.5453064441680908, -0.2754332721233368, -1.185645341873169, 0.2926885783672333, -0.04916561767458916, 0.3984411656856537, 0.2949739992618561, 0.26781585812568665, 0.1579662710428238, 1.0201327800750732, 0.9408869743347168, -0.38821205496788025, 0.44787684082984924, 0.10175611823797226, 0.11004038155078888, -0.5900318026542664, -0.14487871527671814, -0.5963510870933533, 0.1304224133491516, -0.43905219435691833, -0.18170227110385895, 0.4297162592411041, 0.18169713020324707, -0.43573737144470215, 0.3511855900287628, -0.2952798306941986, 0.4871852695941925, 0.7780975699424744, -0.27234581112861633, 0.35183990001678467, -0.18115685880184174, -0.34166035056114197, -0.15012162923812866, -0.7071585059165955, -0.6274052262306213, 1.1693062782287598, 0.3845321238040924, 0.8072049021720886, 0.10947995632886887, 0.8190034031867981, -0.041088689118623734, 0.31151577830314636, -0.3124764561653137, 0.3540113568305969, -0.14845769107341766, -0.8783349394798279, -0.1510932296514511, -0.48199382424354553, -0.8910377621650696, 0.22089460492134094, -0.5572275519371033, -0.4437818229198456, -0.40906697511672974, 0.3515762388706207, -0.2310594618320465, 0.3362295925617218, -0.8085455298423767, 1.0517300367355347, -0.622763991355896, -0.24061472713947296, -0.5055035352706909, -0.4955776333808899, 0.4097229242324829, -0.5409753322601318, 0.7019656300544739, -0.15843580663204193, 0.20969444513320923, 0.5325815677642822, -0.33788368105888367, 0.5827743411064148, 0.03919706866145134, 0.25177687406539917, 0.21365368366241455, -0.05340047553181648, 0.30016788840293884, -0.08195386081933975, -0.21141979098320007, 0.5181325674057007, -0.27637043595314026, -0.39496859908103943, 0.012275753542780876, 0.5092387199401855, -0.9634447693824768, -0.5009326934814453, -0.4471917450428009, -0.4506012499332428, 0.24532853066921234, 0.5371164679527283, 0.3463464081287384, 0.0880412682890892, -0.3780178427696228, 0.29921796917915344, 0.22496849298477173, -0.48413288593292236, 0.30680355429649353, 0.7850714325904846, -0.6489851474761963, -0.7266879677772522, 0.8937569260597229, 0.10897766798734665, 0.3575180172920227, 0.38467729091644287, 0.0661802887916565, 0.11827462911605835, -0.559770405292511, -0.41630423069000244, 0.4143560528755188, -0.4014403820037842, 0.15504997968673706, -0.7974041104316711, -0.18696214258670807, -0.11363101750612259, -0.4005928039550781, -0.8894762396812439, -0.22103801369667053, -0.3108137249946594, -0.015382925979793072, 0.16338521242141724, 0.6635867357254028, -0.10191577672958374, 0.29695358872413635, -0.9740580916404724, 0.2370648831129074, 0.09099913388490677, 0.5058778524398804, -0.36643803119659424, -0.10872379690408707, -0.5900482535362244, 0.06678104400634766, -0.2358654886484146, -0.4539797604084015, 0.2735307216644287, 0.13676831126213074, 0.550538182258606, 0.13335955142974854, 0.14777466654777527, 0.4528951644897461, -0.7689992189407349, 0.7139955163002014, 0.5731084942817688, -0.9694397449493408, 0.6179549098014832, -0.1596875637769699, 0.35663408041000366, 0.45530614256858826, 0.3619517683982849, -0.3749517798423767, -0.8851326704025269, -0.4710763096809387, -0.8459264039993286, 0.9124096035957336, 0.3780750334262848, 0.07380523532629013, -0.3194924592971802, 0.22916167974472046, 0.10751613229513168, 0.3454330861568451, -1.0488778352737427, -0.3998807370662689, -0.28717052936553955, -0.10777288675308228, -0.4151492416858673, -0.18859484791755676, 0.035392578691244125, 0.02119649201631546, 0.6683946251869202, -0.002543798880651593, 0.027795301750302315, -0.13158434629440308, -0.26111599802970886, -0.20831602811813354, 0.33459657430648804, 0.5941686630249023, 0.5357069969177246, -0.10106821358203888, 0.08886988461017609, 0.10451235622167587, -0.3623395562171936, 0.10725370049476624, 0.047520607709884644, -0.39838361740112305, -0.2310483157634735, 0.3778221607208252, 0.6087727546691895, 0.17894820868968964, -0.7248648405075073, 0.5148621797561646, 0.054131511598825455, -0.3081730008125305, -0.5363205075263977, -0.07617022097110748, 0.02765623852610588, 0.20023398101329803, 0.11444894969463348, 0.36922135949134827, -0.30276504158973694, -0.4555894434452057, 0.19401425123214722, 0.5106844305992126, -0.5425477623939514, -0.5422242879867554, 0.9580362439155579, 0.35285723209381104, -0.32176539301872253, 0.8078917264938354, -0.3510550558567047, -0.49636340141296387, 0.39095354080200195, 0.46766766905784607, 0.9604448080062866, -0.4247119724750519, 0.029135853052139282, 0.7141776084899902, 0.9446393847465515, -0.20068670809268951, 0.3804570138454437, 0.5277420878410339, -0.7443440556526184, -0.34153977036476135, -0.5053110718727112, -0.6307966113090515, 0.10278736799955368, -0.5302332043647766, 0.5340914726257324, -0.511339008808136, -0.10083496570587158, -0.39001598954200745, -0.36266279220581055, -0.4718438684940338, 0.10838088393211365, 0.007799413055181503, 0.876338541507721, -0.6994972229003906, 0.7120654582977295, 0.6542235016822815, -0.5705791711807251, -0.4317421019077301, -0.3620958924293518, 0.14271675050258636, -0.8293125629425049, 0.40824925899505615, 0.28995436429977417, -0.2113412469625473, 0.12454669922590256, -0.33356085419654846, -0.8617154359817505, 1.0545796155929565, 0.6160427331924438, -0.7530856132507324, -0.0564887709915638, 0.05766315385699272, 0.24528923630714417, -0.4838961660861969, 0.22360587120056152, 0.02467627264559269, 0.3273228704929352, -0.2296331226825714, -1.1619677543640137, -0.392132043838501, -0.20492544770240784, -0.38919371366500854, 0.31797176599502563, -0.9795403480529785, 1.1740212440490723, -0.5353837609291077, -0.20031291246414185, 0.17665033042430878, 0.466315358877182, 0.393978476524353, 0.22590851783752441, 0.44688680768013, 0.5618724822998047, 0.6915917992591858, -0.011907889507710934, 0.8808140754699707, -0.5808171629905701, 0.2581050395965576, 0.822960376739502, -0.36464616656303406, 1.014386773109436, 0.34764784574508667, -0.052481357008218765, 0.36811545491218567, 0.2979167699813843, 0.10217354446649551, 0.5846993327140808, -0.175143763422966, -0.2026023119688034, -0.111908920109272, -0.031330566853284836, -0.3054695427417755, 0.20264515280723572, 0.15541638433933258, -0.3486194610595703, 0.09370255470275879, 0.16103921830654144, 0.17207275331020355, 0.002506292425096035, -0.3695988059043884, 0.711280107498169, 0.191149041056633, -0.7733379602432251, 0.550337016582489, -0.01464020274579525, 0.6018421053886414, -0.6915469169616699, 0.23316821455955505, -0.003707081777974963, 0.3776452839374542, -0.08469972014427185, -0.365853488445282, 0.4709468185901642, 0.29888689517974854, -0.19808700680732727, -0.2871745824813843, -0.01863030530512333, -0.46034881472587585, -0.6477972865104675, 0.7843904495239258, 0.5490760803222656, 0.0627007931470871, -0.23765380680561066, -0.8438851237297058, 0.268962562084198, -0.2288970947265625, -0.023019319400191307, 0.24540679156780243, 0.1602395623922348, 0.11750603467226028, 0.7597138285636902, 0.583418071269989, 0.04131195694208145, 0.16818805038928986, 0.10848692804574966, 0.6263149976730347, -0.5710017681121826, -0.6305639743804932, -0.6697114109992981, 0.768519401550293, 0.4210473597049713, -0.3750261664390564, 0.5932862162590027, 0.6290531754493713, 0.7689487934112549, -0.026276664808392525, 0.8207312226295471, 0.1446533203125, 0.6742064356803894, -0.6353058815002441, 0.9937410354614258, -0.8379704356193542, 0.23754458129405975, -0.29555246233940125, -0.9869601130485535, -0.6228629350662231, 0.4362412691116333, -0.003407603595405817, 0.10468778014183044, 0.8289668560028076, 0.7218894958496094, 0.07485242933034897, -0.14173609018325806, 0.4023493528366089, 0.10744046419858932, 0.3714560866355896, 0.5284848213195801, 0.8797086477279663, -0.3877725899219513, 0.6832204461097717, -0.361014187335968, -0.4365765154361725, -0.20969483256340027, -0.7920594215393066, -1.0241851806640625, -0.5477781295776367, -0.4812585413455963, 0.06832165271043777, 0.04996924102306366, 1.1751805543899536, 0.8616625666618347, -0.7648852467536926, -0.36718761920928955, -0.32862600684165955, 0.005683675408363342, -0.18255913257598877, -0.09499330818653107, 0.0025571277365088463, -0.44219979643821716, -0.6935684084892273, 0.6572436690330505, 0.46230801939964294, 0.11994495242834091, -0.3315527141094208, -0.5117540955543518, -0.14916816353797913, -0.10460696369409561, 0.46201902627944946, 0.2723325192928314, -0.9165133833885193, -0.29877540469169617, 0.250234454870224, -0.09722423553466797, 0.051805175840854645, 0.3063514828681946, -0.29412591457366943, 0.6891145706176758, -0.09509513527154922, 0.4040580093860626, 0.06298574060201645, -0.3435828387737274, 0.7066230773925781, -0.5763439536094666, 0.31628450751304626, 0.24051587283611298, 0.5456578731536865, 0.2878490090370178, -0.020264841616153717, 0.25559139251708984, 0.10095018148422241, -0.7386181354522705, -0.6920267939567566, 0.38747867941856384, -0.47674134373664856, -0.0559961199760437, 0.63956218957901, -0.2827487885951996, 0.04318654164671898, -0.15901066362857819, -0.11340779811143875, -0.0673610046505928, -0.28515782952308655, 0.7243760824203491, 0.5895487070083618, 0.2834301292896271, -0.6898671984672546, -0.35036537051200867, 0.1615287959575653, 0.42345210909843445, -0.8025045394897461, 0.09223771840333939, 0.3829995393753052, -0.1744709461927414, 0.49997252225875854, 0.7303218245506287, -0.08142662793397903, 0.38156893849372864, 0.16217829287052155, 0.4502990245819092, -0.12043610960245132, -0.8376545310020447, -0.44211190938949585, 0.23577052354812622, 0.41295474767684937, -0.20079049468040466 ]
http://arxiv.org/abs/2404.00397v1
http://arxiv.org/pdf/2404.00397v1
An Analysis of BPE Vocabulary Trimming in Neural Machine Translation
2024-03-30T15:29:49
2024-03-30T15:29:49
Marco Cognetta, Tatsuya Hiraoka, Naoaki Okazaki, Rico Sennrich, Yuval Pinter
cs.CL
cs.CL
We explore threshold vocabulary trimming in Byte-Pair Encoding subword tokenization, a postprocessing step that replaces rare subwords with their component subwords. The technique is available in popular tokenization libraries but has not been subjected to rigorous scientific scrutiny. While the removal of rare subwords is suggested as best practice in machine translation implementations, both as a means to reduce model size and for improving model performance through robustness, our experiments indicate that, across a large space of hyperparameter settings, vocabulary trimming fails to improve performance, and is even prone to incurring heavy degradation.
[ -0.6997401118278503, -0.7006280422210693, -0.019990429282188416, 0.0326688289642334, -0.7190870046615601, -0.11733317375183105, 0.014059058390557766, -0.45680609345436096, 0.3646593689918518, 0.5497558116912842, -0.399441123008728, -0.32651329040527344, -0.8845944404602051, -0.01675473339855671, -0.2998044788837433, 1.030758023262024, 0.1482180655002594, 0.17002584040164948, 0.17482417821884155, -0.16478672623634338, -0.8313547968864441, -0.8424230217933655, -0.7415618896484375, -0.30878761410713196, 0.5063788890838623, -0.07960856705904007, 0.8657830357551575, 0.8970484733581543, 0.853549063205719, 0.2204779088497162, -0.6574459671974182, 0.19403840601444244, -0.34803301095962524, 0.18905256688594818, -0.3325895667076111, -0.3303115665912628, -0.6873658895492554, -0.06728462874889374, 0.8314829468727112, 1.346012830734253, 0.21438661217689514, -0.14439791440963745, 0.09529026597738266, 0.5681514143943787, -0.564114511013031, -0.1419992744922638, -0.9611068367958069, 0.19173334538936615, -0.3166499435901642, -0.1307789534330368, -0.2011982649564743, 0.38746321201324463, 0.1590804159641266, -0.16785749793052673, 0.3478015065193176, 0.11170518398284912, 1.0638070106506348, 0.36242637038230896, -0.09912897646427155, 0.17852266132831573, -0.424609512090683, 0.9380408525466919, -0.6926021575927734, 0.3931257128715515, 0.4841206967830658, -0.28904739022254944, -0.16781221330165863, -0.8055865168571472, -0.09394898265600204, 0.16621336340904236, 0.008074373938143253, -0.040624357759952545, -0.4718194603919983, 0.5137795209884644, 0.36143800616264343, 0.509008526802063, -0.4088541269302368, 0.24132251739501953, -0.6795922517776489, -0.45067015290260315, 0.15201829373836517, 0.16567572951316833, 0.11823344975709915, -0.3604755699634552, -0.44300878047943115, 0.4161768853664398, -0.6788426637649536, -0.05572495982050896, 0.2583368122577667, 0.2930344045162201, 0.3546496331691742, 0.6372178792953491, 0.1704031527042389, 0.7762060165405273, -0.32591691613197327, 0.4314725697040558, 0.16187836229801178, -0.49018770456314087, -0.34226563572883606, -0.209690123796463, 0.3778848946094513, 0.7174698710441589, 0.1680176556110382, -0.4191752076148987, -0.45329782366752625, -0.04919365793466568, 0.4619743824005127, -0.781525194644928, 0.0714774876832962, 0.3968665301799774, -0.7187606692314148, 0.15535585582256317, -0.15996022522449493, -0.4360322654247284, -0.09455947577953339, -0.09369716048240662, 0.18236149847507477, -0.7007156014442444, -0.05542782321572304, 0.15434342622756958, -0.5472670197486877, 0.16761590540409088, -0.15331773459911346, -0.8824173212051392, 0.45995157957077026, 0.8656458854675293, 1.1816118955612183, -0.45418012142181396, -0.4393867552280426, -0.4636060893535614, -0.0493241511285305, -0.654828667640686, 0.2709611654281616, -0.33592331409454346, -0.6948689818382263, -0.17029619216918945, 0.0009374980581924319, -0.13918717205524445, -0.9595900774002075, 0.45992305874824524, -0.6789482831954956, -0.5340335965156555, -0.24323789775371552, -0.837050199508667, -0.09985238313674927, 0.020734941586852074, -0.481669157743454, 0.757887601852417, 0.17464643716812134, -0.5396249890327454, 0.7700127959251404, -0.41901353001594543, -0.4068199098110199, 0.3553845286369324, 0.2572663128376007, -0.14639246463775635, 0.49864858388900757, 0.027555497363209724, 0.4255598783493042, -0.02120799757540226, -0.11942001432180405, 0.09179768711328506, -0.7000989317893982, 0.11482515186071396, -0.26102250814437866, 0.48133063316345215, 0.3442193269729614, -0.1619451642036438, 0.07161583006381989, -0.5047348141670227, 0.16282767057418823, -0.26455503702163696, -0.22364981472492218, -0.5926347374916077, -0.13035725057125092, 0.21139895915985107, 0.1453767567873001, 0.2938825786113739, -0.5880721211433411, 0.30459168553352356, -0.8423111438751221, 0.5955163240432739, 0.5436352491378784, 0.3253382742404938, 0.4324842095375061, -0.33493342995643616, 0.3680986166000366, 0.3950314223766327, 0.08074481785297394, 0.0498834066092968, -0.6111668944358826, -0.7940326929092407, -0.4437914192676544, 0.6284039616584778, 0.5325314402580261, -0.4516533315181732, 0.6464266777038574, -0.22447887063026428, -0.262586772441864, -0.6897239089012146, 0.41819220781326294, 0.49865734577178955, 0.2853860855102539, 0.6481578946113586, -0.9095256924629211, -0.6283683776855469, -1.1843277215957642, -0.3767368197441101, 0.1937522143125534, -0.2189430296421051, -0.005135738756507635, 0.48212167620658875, -0.3286968767642975, 0.7272619605064392, 0.011809765361249447, -0.11641375720500946, -0.3487299084663391, 0.4002130329608917, 0.25666454434394836, 1.0444124937057495, 0.43208685517311096, -0.6380678415298462, -0.08935277163982391, -0.26135173439979553, -0.25485241413116455, 0.07535499334335327, -0.11847385764122009, -0.11249358206987381, 0.3314337730407715, 0.7326791286468506, -0.6620038151741028, 0.7157462239265442, 0.22183269262313843, -0.030016610398888588, 0.266761839389801, -0.26435983180999756, -0.08466288447380066, -0.841788113117218, 0.0373699888586998, -0.16745033860206604, -0.17242896556854248, -0.6926785111427307, 0.2575645446777344, -0.21301871538162231, 0.13433049619197845, -0.7743174433708191, 0.24993139505386353, -0.5675979256629944, -0.20944291353225708, -0.550754725933075, -0.06399627774953842, -0.1567377895116806, 0.15048184990882874, 0.1568361520767212, 0.7628879547119141, 0.5168471932411194, -0.765564501285553, 0.0856316015124321, 0.2172098010778427, -0.29252293705940247, 0.2660585343837738, -0.849009096622467, 0.21084275841712952, -0.22866110503673553, -0.24861998856067657, -0.8352848291397095, 0.17754697799682617, 0.060304734855890274, -0.5225749015808105, 0.4166097640991211, -0.47251439094543457, -0.46195629239082336, -0.08962111920118332, -0.13963064551353455, 0.3130381107330322, 0.709719181060791, 0.028897123411297798, 0.00786587130278349, 0.4567461907863617, -0.10926862806081772, -0.5801800489425659, -1.069156289100647, 0.3929206430912018, -0.035438746213912964, -0.49930375814437866, 0.7334099411964417, 0.18364208936691284, -0.251154363155365, 0.1580812633037567, -0.33135896921157837, -0.20547173917293549, 0.20028835535049438, 0.032109975814819336, 0.2136506289243698, -0.04842827841639519, 0.09262416511774063, 0.1290847510099411, -0.12089210748672485, 0.032236963510513306, -0.4023202657699585, 1.0165190696716309, -0.1846872717142105, -0.12418236583471298, -0.2458891123533249, 0.644058883190155, 0.4456532299518585, -0.2742673456668854, 1.1141772270202637, 0.8051689267158508, -0.6752488017082214, -0.08112749457359314, -0.2785148322582245, -0.3040889799594879, -0.4193621277809143, 0.8041019439697266, -0.779094934463501, -0.7508609890937805, 0.6807894706726074, 0.05709628760814667, 0.19685029983520508, 0.3505941927433014, 0.39365240931510925, -0.25631675124168396, 0.9330220222473145, 0.6570668816566467, 0.06856730580329895, 0.33122682571411133, -0.33769339323043823, 0.2750968039035797, -0.9633861184120178, 0.07196549326181412, -0.41356563568115234, -0.5397872924804688, -0.7834136486053467, -0.5546370148658752, 0.3416121006011963, 0.36026737093925476, 0.1613767445087433, 0.47242799401283264, -0.39505720138549805, 0.5668216943740845, 0.8351641893386841, 0.11112769693136215, -0.09321533143520355, 0.059168633073568344, -0.17186713218688965, -0.38257351517677307, -0.8430081009864807, -0.47365424036979675, 0.7886941432952881, 0.21679341793060303, 0.12445743381977081, -0.17498187720775604, 0.6294209957122803, 0.3157051205635071, -0.06774662435054779, -1.2430015802383423, 0.6288407444953918, -0.38566282391548157, -0.9143418669700623, -0.38240933418273926, -0.512903094291687, -1.1802153587341309, 0.32622551918029785, -0.20555898547172546, -0.7582733631134033, 0.012547567486763, -0.01715259440243244, -0.251249760389328, 0.6410737037658691, -0.461876779794693, 0.8923168778419495, 0.26107263565063477, -0.22657927870750427, -0.44337254762649536, -0.894517183303833, 0.08003571629524231, -0.034150101244449615, -0.18825842440128326, 0.1629437953233719, -0.5295079350471497, 0.8503591418266296, -0.7591904997825623, 0.5963844060897827, -0.16555437445640564, 0.3184068500995636, 0.2494584321975708, 0.33650678396224976, 0.2948826849460602, -0.5066987872123718, -0.046192966401576996, 0.5232186913490295, 0.2431953102350235, -0.9873890280723572, -0.2910919189453125, 0.34135371446609497, -0.4795011281967163, -0.6722837090492249, -0.3618607223033905, -0.7897034883499146, -0.4640194773674011, 0.29411283135414124, 0.555292010307312, 0.15135470032691956, 0.019522791728377342, 0.42702242732048035, 0.6535341739654541, -0.19400519132614136, 0.5868418216705322, -0.0224571842700243, 0.022490007802844048, -0.40263471007347107, 0.8246914744377136, 0.6057894825935364, 0.24814511835575104, 0.25291574001312256, -0.14466507732868195, -0.16698084771633148, -1.2531598806381226, -0.3410118818283081, 0.14382070302963257, -0.6308647990226746, 0.17637479305267334, -0.5852988362312317, -0.43347829580307007, -0.5811858177185059, -0.1515367329120636, -0.35157281160354614, -0.46288493275642395, 0.0645250678062439, -0.23229140043258667, 0.03298139199614525, 0.44907253980636597, -0.062335867434740067, 0.5791913866996765, -1.313530683517456, -0.08071339875459671, -0.041621096432209015, 0.050738561898469925, -0.3041418194770813, -0.6918187141418457, -0.3677130937576294, -0.30862271785736084, 0.0832495167851448, -0.7728320956230164, 0.5186826586723328, 0.05504949390888214, 0.5370270609855652, 0.2285514771938324, -0.18492630124092102, 0.6153616309165955, -0.4925055503845215, 0.992662787437439, 0.1609850376844406, -1.2817829847335815, 0.2791736125946045, -0.3805173635482788, 0.3564821183681488, 0.44768476486206055, 0.4823963940143585, -0.8622850179672241, -0.21483176946640015, -0.6241391897201538, -1.3509994745254517, 0.31727880239486694, 0.16901491582393646, 0.4454485774040222, -0.10203205794095993, 0.6169942021369934, 0.16311408579349518, 0.5186001658439636, -0.24203771352767944, -0.5011496543884277, -0.003456398379057646, 0.06382417678833008, -0.04379555210471153, -0.41939789056777954, 0.15498369932174683, -0.27075710892677307, 0.777533233165741, 0.23819108307361603, 0.07081668078899384, 0.15730689465999603, -0.04901991784572601, -0.0649048313498497, 0.1214015856385231, 0.2763727605342865, 0.6698042750358582, -0.2034527212381363, 0.06671243160963058, 0.30624160170555115, -0.6773789525032043, -0.17953169345855713, -0.1764001101255417, -0.37877339124679565, 0.30451101064682007, 0.3702520728111267, 0.571692168712616, -0.07285737991333008, -0.5707254409790039, 0.40885111689567566, 0.2103368639945984, -0.1872672140598297, 0.2079983800649643, -0.2738795280456543, 0.0006343452841974795, -0.2843979299068451, 0.09572501480579376, 0.4365975856781006, 0.13935230672359467, -0.44948872923851013, 0.4785308837890625, 0.47136813402175903, -0.6952123641967773, -0.18284353613853455, 0.4787217378616333, 0.0785495936870575, -0.22365710139274597, 0.7219625115394592, -0.2792973816394806, -0.515993058681488, 0.5920212864875793, 0.39752933382987976, 0.7749131917953491, 0.081666961312294, -0.09358138591051102, 0.16183724999427795, 0.922758162021637, 0.3785676658153534, 0.3177596628665924, 0.10723048448562622, -0.6426280736923218, -0.6658677458763123, -0.7666774392127991, -0.34959876537323, 0.38286131620407104, -0.6343055367469788, 0.08671605587005615, -0.639463484287262, -0.5647129416465759, 0.07315139472484589, -0.18019996583461761, -0.44335201382637024, 0.25510674715042114, 0.010876921936869621, 0.9001950025558472, -0.5486615300178528, 0.8469468355178833, 0.9587815999984741, -0.5917340517044067, -0.5199130177497864, 0.016861947253346443, -0.2599777579307556, -0.6320165991783142, 0.702250599861145, -0.056453097611665726, 0.01878422498703003, -0.08795661479234695, -0.21025443077087402, -0.7537760138511658, 0.3302747309207916, 0.19804760813713074, -0.4472159445285797, -0.02866167575120926, 0.3580861985683441, 0.585426926612854, 0.11474736779928207, -0.11556269973516464, 0.7006961107254028, 0.4267810583114624, -0.17153522372245789, -1.0132005214691162, -0.020477106794714928, -0.35777029395103455, 0.2785934507846832, 0.3792343735694885, -0.7651558518409729, 0.9447113871574402, 0.40421703457832336, 0.0923401340842247, 0.24548490345478058, 0.6764699816703796, -0.26082950830459595, 0.00927459541708231, 0.5924622416496277, 0.6795522570610046, 0.6007310152053833, -0.052966248244047165, 0.6987654566764832, -0.5716053247451782, -0.004268859978765249, 0.6740401387214661, -0.07989410310983658, 0.6682643890380859, 0.9119961857795715, -0.09370946884155273, -0.18858300149440765, 0.8081641793251038, 0.03134974092245102, 0.36715584993362427, 0.5713954567909241, -0.21348418295383453, -0.4158354699611664, -0.45695754885673523, -0.2624422609806061, 0.5689810514450073, 0.44030338525772095, -0.5565350651741028, 0.0817798599600792, -0.07728827744722366, 0.1573558896780014, -0.08086369186639786, -0.6371934413909912, 0.5506470799446106, 0.2596219778060913, -0.6642400026321411, 0.7929841876029968, 0.33850353956222534, 0.7125035524368286, -0.44644615054130554, 0.08180619031190872, -0.35574406385421753, 0.13287568092346191, -0.1533007025718689, -0.4149239659309387, 0.9374832510948181, 0.016576644033193588, -0.18435801565647125, -0.2617928981781006, 0.7308809757232666, -0.10690394788980484, -0.1107872873544693, 0.32492390275001526, 0.8871006965637207, 0.7142188549041748, -0.038427382707595825, -0.6820505857467651, -0.08006566017866135, -0.31524592638015747, -0.2868264615535736, 0.3756367862224579, 0.36889323592185974, -0.010878062807023525, 0.384822279214859, 0.5455795526504517, 0.6436451077461243, 0.45550814270973206, 0.0952553078532219, 0.6232935786247253, -0.6640393733978271, -0.24129116535186768, -0.835971474647522, 0.15140679478645325, 0.029423430562019348, -0.5333613753318787, 0.7538782954216003, 0.7856610417366028, 0.9926045536994934, -0.1244732066988945, 0.7205135822296143, 0.010548889636993408, 0.2471238523721695, -0.5499044060707092, 0.6508467197418213, -0.5564289093017578, 0.11590801179409027, -0.21583327651023865, -0.9365853667259216, -0.44181302189826965, 0.25867682695388794, -0.18830640614032745, -0.06882647424936295, 0.9794567227363586, 0.9059861302375793, -0.0002515781670808792, -0.2747589945793152, 0.8406739234924316, 0.10091255605220795, -0.1406581550836563, 0.3373701572418213, 0.5959494709968567, -0.46717700362205505, 0.6078387498855591, -0.23795895278453827, -0.20471136271953583, 0.0902341976761818, -0.6443657279014587, -0.7955284118652344, -0.47225508093833923, -0.21806621551513672, -0.3824653625488281, 0.2793916165828705, 1.1676299571990967, 0.8564261198043823, -0.83240807056427, -0.16534607112407684, -0.36133885383605957, 0.021749794483184814, -0.6934541463851929, -0.1675959676504135, 0.16054122149944305, -0.6974608898162842, -1.0966099500656128, 0.4415672719478607, 0.20180906355381012, 0.15445861220359802, -0.11123902350664139, 0.3174561858177185, -0.1263311207294464, 0.33121636509895325, 0.24361735582351685, -0.08186419308185577, -0.5105024576187134, -0.2541845142841339, -0.010637742467224598, -0.07669493556022644, 0.061047278344631195, 0.8219019770622253, -0.28269240260124207, 0.11790934205055237, 0.6589635610580444, 1.0185391902923584, 0.4940478801727295, -0.06023962050676346, 0.36750298738479614, -1.0661946535110474, 0.37461090087890625, 0.562692403793335, 0.5654422044754028, 0.13791082799434662, -0.16564202308654785, 0.3841768503189087, 0.7612701654434204, -0.2666099965572357, -0.7691712379455566, 0.35300737619400024, -0.8041335344314575, -0.4709469974040985, 0.9552611112594604, -0.37038683891296387, -0.49097511172294617, -0.4025033712387085, -0.14923785626888275, 0.3494437038898468, -0.1471806764602661, 0.42171570658683777, 1.0656311511993408, 0.01709672436118126, 0.09726565331220627, -0.4448522627353668, 0.3165026605129242, 1.2103195190429688, -0.18535809218883514, -0.034876059740781784, 0.44520482420921326, 0.13553979992866516, 0.15990106761455536, 0.4246987998485565, -0.18103766441345215, 0.15925146639347076, 0.33402132987976074, 0.22084997594356537, -0.005411235615611076, -0.21410001814365387, -0.36114609241485596, 0.36991506814956665, 0.09317656606435776, -0.5227041244506836 ]
http://arxiv.org/abs/2404.00386v1
http://arxiv.org/pdf/2404.00386v1
Jetsons at FinNLP 2024: Towards Understanding the ESG Impact of a News Article using Transformer-based Models
2024-03-30T14:58:44
2024-03-30T14:58:44
Parag Pravin Dakle, Alolika Gon, Sihan Zha, Liang Wang, SaiKrishna Rallabandi, Preethi Raghavan
cs.CL
cs.CL
In this paper, we describe the different approaches explored by the Jetsons team for the Multi-Lingual ESG Impact Duration Inference (ML-ESG-3) shared task. The shared task focuses on predicting the duration and type of the ESG impact of a news article. The shared task dataset consists of 2,059 news titles and articles in English, French, Korean, and Japanese languages. For the impact duration classification task, we fine-tuned XLM-RoBERTa with a custom fine-tuning strategy and using self-training and DeBERTa-v3 using only English translations. These models individually ranked first on the leaderboard for Korean and Japanese and in an ensemble for the English language, respectively. For the impact type classification task, our XLM-RoBERTa model fine-tuned using a custom fine-tuning strategy ranked first for the English language.
[ -0.48226162791252136, -0.7549580335617065, 0.4934905469417572, 0.16072894632816315, -0.3023812770843506, 0.016572410240769386, -0.2396111637353897, -0.7258248925209045, 0.36997735500335693, 0.6769964098930359, -0.7975397109985352, -0.2141052633523941, -0.8844373226165771, 0.49470141530036926, -0.13969045877456665, 1.3116703033447266, 0.08013739436864853, 0.19882333278656006, 0.06654834002256393, -0.0765015184879303, -0.11142058670520782, -0.07787668704986572, -0.6992817521095276, -0.14844438433647156, 0.8052661418914795, 0.22171944379806519, 0.5037155151367188, 0.3377872705459595, 0.4693029224872589, 0.18968386948108673, -0.5451539754867554, 0.28086477518081665, -0.4272717535495758, -0.26788896322250366, -0.10129555314779282, -0.40567725896835327, -0.10342659056186676, 0.0008300160989165306, 0.592923104763031, 0.5791800618171692, 0.037914857268333435, 0.19026218354701996, 0.13561703264713287, 0.571560800075531, -0.37917113304138184, 0.03530634194612503, -0.37636879086494446, 0.39068475365638733, -0.04654344171285629, 0.08068876713514328, -0.6103153228759766, 0.11220119893550873, 0.12983274459838867, -0.7537429332733154, 0.16422787308692932, -0.07149259746074677, 1.1650770902633667, 0.25696614384651184, -0.9897696375846863, -0.2311421036720276, -0.7884970903396606, 1.0848653316497803, -0.6053586602210999, 0.6823650598526001, -0.0707276463508606, 0.072817862033844, 0.054875630885362625, -0.7293209433555603, -0.30260488390922546, -0.016782443970441818, -0.2875771224498749, 0.31448423862457275, -0.1304379105567932, 0.21112096309661865, 0.23129403591156006, 0.13006189465522766, -0.7777323722839355, 0.12968482077121735, -0.8146632313728333, 0.40419283509254456, 0.7612109184265137, 0.07657388597726822, 0.16080617904663086, -0.5173822641372681, -0.46780773997306824, 0.4035451114177704, -0.8704266548156738, -0.19416889548301697, 0.6079645752906799, 0.4779621362686157, -0.1893008053302765, 0.6067225337028503, -0.2553406059741974, 0.8149555921554565, 0.047911372035741806, 0.059179965406656265, 0.0926331877708435, -0.3104270100593567, -0.2544485926628113, 0.036343496292829514, 0.652093768119812, 0.46129900217056274, -0.04383036494255066, -0.1766553670167923, 0.08021364361047745, -0.5596240758895874, 0.5912918448448181, -0.8516058921813965, 0.30282410979270935, -0.006719463504850864, -0.5156446695327759, -0.34824541211128235, 0.05192083492875099, -0.5741003155708313, -0.29055270552635193, -0.3328736424446106, 0.6846200227737427, 0.02513507753610611, -0.33685392141342163, 0.5862088203430176, -0.17749491333961487, -0.05738984793424606, 0.2512114942073822, -0.8660143613815308, 0.11657749861478806, 0.6794343590736389, 0.7228403091430664, -0.21913184225559235, -0.4346383810043335, -0.2037513256072998, 0.42162033915519714, 0.2122100293636322, 0.8794752359390259, -0.23007985949516296, -0.49552443623542786, -0.1755530685186386, 0.3346713185310364, -0.44724565744400024, 0.004929359536617994, 0.7815935611724854, -0.39591076970100403, 0.6123817563056946, -0.30603480339050293, -0.9390760660171509, -0.7078221440315247, 0.11085769534111023, -0.897003710269928, 0.7007748484611511, -0.1171591728925705, -0.7743520736694336, 0.4703187346458435, -0.9155884385108948, -0.6384897232055664, 0.2564984858036041, -0.26720720529556274, -0.8161264061927795, 0.12370387464761734, 0.28950315713882446, 0.692400336265564, 0.03165268152952194, 0.2745378315448761, -0.07053418457508087, -0.38822394609451294, -0.2683422565460205, -0.3036711812019348, 0.9362767338752747, 0.3149217963218689, -0.4078105688095093, -0.10813890397548676, -0.4967891275882721, -0.19197680056095123, -0.010031798854470253, -0.23845025897026062, -0.09010325372219086, 0.2883932888507843, 0.30475956201553345, 0.10255035758018494, 0.09062318503856659, -0.5617437958717346, 0.3196905851364136, 0.027186118066310883, 0.233636736869812, 0.3519282937049866, 0.3371839225292206, 0.350782573223114, -0.18480683863162994, 0.5894879698753357, -0.24510906636714935, 0.5011645555496216, -0.15269136428833008, -0.6892523765563965, -0.5962903499603271, 0.04149800166487694, -0.06062315031886101, 0.1665153056383133, -0.5932704210281372, 0.043701689690351486, -0.35794028639793396, -0.6604505777359009, -0.10336998850107193, -0.22940972447395325, 0.1387781798839569, 0.11410824209451675, 0.3696463406085968, 0.3584628403186798, -0.8738709092140198, -0.8991016745567322, -0.8514000177383423, -0.10555399954319, 0.0652981698513031, 0.34066757559776306, 0.42728742957115173, -0.01332178059965372, 0.6451468467712402, -0.5195894241333008, -0.029768140986561775, -0.7108896970748901, 0.49675822257995605, 0.4675051271915436, 0.14769022166728973, 0.5295400619506836, -1.0658538341522217, -0.705894947052002, 0.10365362465381622, -0.6036163568496704, 0.04463406652212143, -0.2860797345638275, 0.5118309855461121, 0.28770899772644043, 0.5418035984039307, -0.6132354736328125, 0.16293154656887054, 0.8277167677879333, -0.623252809047699, 0.6863345503807068, 0.16987420618534088, 0.5411436557769775, -1.2459980249404907, -0.21667158603668213, 0.3069815933704376, -0.16027601063251495, -0.7455950975418091, -0.2674423158168793, 0.09492813795804977, -0.3949262499809265, -0.9180881977081299, 0.6294422745704651, -0.3478524684906006, -0.19254648685455322, -0.11299993097782135, -0.326587051153183, 0.41688233613967896, 0.2030358910560608, 0.33667999505996704, 0.5553472638130188, -0.007017536088824272, -0.4379432201385498, -0.19322054088115692, -0.06220497936010361, -0.3219771385192871, 0.3733123540878296, -0.7463266253471375, -0.011105284094810486, -0.011006158776581287, 0.15175695717334747, -0.5080000162124634, -0.006452555768191814, -0.13361677527427673, -0.4938398003578186, 0.2400587648153305, -0.4538426101207733, -0.3350502848625183, -0.5263866186141968, -0.05013100430369377, 0.05612587183713913, 0.19056105613708496, -0.5970317125320435, 0.803673267364502, 0.36202889680862427, -0.01993156224489212, -0.7801181674003601, -0.5643205046653748, 0.11898846179246902, -0.6444071531295776, -0.743320107460022, 0.5124437808990479, 0.15519435703754425, -0.09644629806280136, 0.24091583490371704, -0.1111266165971756, -0.08820239454507828, 0.18704380095005035, 0.19729705154895782, 0.1277303695678711, -0.2387504130601883, -0.1160183772444725, 0.19827409088611603, 0.10571329295635223, -0.17114359140396118, 0.03453504666686058, 0.11393968015909195, -0.3463618755340576, -0.17928458750247955, -0.3786679208278656, 0.36612430214881897, 0.6110167503356934, -0.10456372797489166, 1.1163017749786377, 0.8987438678741455, -0.30412018299102783, -0.08849119395017624, -0.6032246947288513, -0.24455378949642181, -0.4605262279510498, 0.7890098690986633, -0.3885928690433502, -1.0765105485916138, 0.46200358867645264, 0.12149147689342499, 0.08956260979175568, 0.7289137840270996, 0.3914075493812561, -0.2481956034898758, 1.0059939622879028, 0.8131619095802307, -0.020952783524990082, 0.477433443069458, -0.4038167893886566, 0.2301454395055771, -0.5938092470169067, -0.3381258547306061, -0.4564272463321686, -0.06518976390361786, -0.4487532377243042, -0.10967736691236496, 0.48858797550201416, 0.17745964229106903, -0.01377891656011343, 0.7622503042221069, -0.2498035579919815, 0.7169771790504456, 0.0644262507557869, -0.1687813550233841, 0.31033265590667725, -0.11874309927225113, 0.5049205422401428, -0.1116008460521698, -0.7784352898597717, -0.23541036248207092, 1.1235976219177246, 0.34162354469299316, 0.6402893662452698, -0.07741744071245193, 0.5323742032051086, 0.38280805945396423, 0.09857085347175598, -0.7094683051109314, 0.3054927885532379, -0.4557282328605652, -0.7451028823852539, -0.3131884038448334, -0.37910860776901245, -1.0406235456466675, 0.15279008448123932, 0.004237036220729351, -0.6445445418357849, -0.35406678915023804, -0.359598845243454, -0.4212277829647064, 0.48715004324913025, -0.6258068084716797, 0.8316670656204224, -0.25038427114486694, -0.038695819675922394, -0.5498095154762268, -0.3103051483631134, 0.1799217164516449, 0.0962354838848114, 0.3163750469684601, -0.2631078362464905, 0.11045339703559875, 1.126517415046692, 0.030781123787164688, 0.8114265203475952, -0.24399566650390625, -0.000849383242893964, 0.1575346291065216, -0.44028425216674805, 0.5297431349754333, 0.18317925930023193, -0.0701511949300766, 0.5261176228523254, -0.23292016983032227, -0.1957436054944992, -0.5724997520446777, 0.5442019104957581, -0.9433751702308655, -0.49529507756233215, -0.24177555739879608, -0.535743772983551, -0.10247965902090073, 0.20891577005386353, 0.4196989834308624, 0.3085760176181793, -0.21459631621837616, 0.26886579394340515, 0.33243805170059204, -0.19235609471797943, 0.5454421043395996, 1.1604679822921753, -0.22224795818328857, -0.5419156551361084, 0.5815511345863342, 0.39247453212738037, 0.020630311220884323, 0.4101436138153076, 0.07621943950653076, -0.40044909715652466, -0.496938556432724, -0.5613436698913574, 0.3959468901157379, -0.49945691227912903, 0.009702985174953938, -0.9445926547050476, -0.43412452936172485, -0.30437564849853516, -0.3193749189376831, -0.7687832713127136, -0.42325708270072937, -0.2678207457065582, -0.3087262511253357, 0.23224371671676636, 1.175187110900879, 0.09135668724775314, 0.43006446957588196, -0.957545816898346, 0.031313326209783554, 0.17021691799163818, 0.3187199532985687, -0.6649803519248962, -0.7054410576820374, -1.0044426918029785, -0.1933009773492813, -0.3719184696674347, -0.7217962741851807, 0.2896023988723755, 0.04654249548912048, 0.6595970988273621, 0.2520830035209656, -0.3755345940589905, 0.5188551545143127, -0.5757416486740112, 1.1966614723205566, 0.200381800532341, -0.8217791318893433, 0.5297811031341553, -0.6574943661689758, 0.2046562284231186, 0.25446900725364685, 0.6801411509513855, -0.9040207266807556, -0.34988921880722046, -0.6694494485855103, -0.6345341205596924, 0.7408030033111572, 0.25241097807884216, -0.02443590946495533, -0.20934072136878967, 0.1596878319978714, 0.19294297695159912, -0.09547353535890579, -0.9823389053344727, -0.2429192066192627, 0.16985782980918884, 0.12885518372058868, -0.12555955350399017, -0.3042115569114685, 0.12605853378772736, -0.1744600236415863, 1.0069146156311035, -0.021211756393313408, 0.2413775622844696, -0.09876608103513718, -0.1585458517074585, -0.13242417573928833, 0.13027772307395935, 0.8883804082870483, 0.3873300850391388, -0.2758519947528839, -0.0433957502245903, 0.4004186689853668, -0.45589399337768555, 0.0320441909134388, 0.26365935802459717, -0.16603240370750427, 0.5102306604385376, 0.45527294278144836, 1.0040011405944824, 0.36556923389434814, -0.4214147925376892, 0.4473032057285309, -0.29268938302993774, -0.2546612322330475, -0.3527856469154358, -0.3688006103038788, 0.1651535928249359, 0.3654913306236267, 0.5631539225578308, -0.03288498893380165, 0.3213609457015991, 0.08575421571731567, 0.40000489354133606, 0.019054468721151352, -0.44535452127456665, -0.544263482093811, 0.7310908436775208, 0.4443032443523407, -0.1469610035419464, 0.0748790055513382, -0.23149865865707397, -0.6643690466880798, 0.9877510070800781, 0.5678750276565552, 1.0860316753387451, -0.5291436314582825, 0.3745747208595276, 0.6398845314979553, 0.368289977312088, -0.3918142318725586, 0.16876041889190674, 0.4226897060871124, -0.8055955767631531, -0.9064043760299683, -0.3788335919380188, -0.3739250898361206, 0.5247892737388611, -0.954246461391449, 0.775411069393158, 0.3786156475543976, -0.010904020629823208, 0.06533010303974152, 0.3316677212715149, -0.6560882925987244, 0.21322137117385864, 0.43161994218826294, 0.6692237854003906, -1.211606740951538, 0.5972974300384521, 0.9122435450553894, -0.11686011403799057, -0.7358070015907288, -0.13212543725967407, 0.2845199406147003, -0.4191298186779022, 0.6874550580978394, 0.4749366044998169, 0.0375811904668808, 0.04734602943062782, 0.17383164167404175, -1.03937566280365, 1.1338168382644653, 0.19961202144622803, -0.6741578578948975, -0.09880075603723526, 0.38321393728256226, 0.30239224433898926, -0.13063429296016693, 0.3531845211982727, 0.2954794466495514, 0.4156675636768341, -0.42010098695755005, -1.088850736618042, -0.4923994243144989, -0.10795924812555313, -0.04408806934952736, 0.4067375361919403, -0.9184818863868713, 0.5452772974967957, -0.16154660284519196, -0.06721360981464386, -0.37164705991744995, 0.6320934295654297, 0.06728319078683853, 0.27557462453842163, 0.5854521989822388, 0.8109316229820251, 0.380453884601593, 0.17430007457733154, 1.1715821027755737, -0.603682816028595, 0.890622079372406, 1.1451563835144043, 0.1261063665151596, 0.5570451617240906, 0.47896701097488403, -0.36742833256721497, 0.30952250957489014, 0.6362060308456421, -0.0477101169526577, 0.5369874238967896, -0.1495410054922104, -0.5027737617492676, 0.16933874785900116, -0.31067028641700745, -0.19191107153892517, 0.616119921207428, 0.4695410430431366, -0.4982278645038605, -0.24144534766674042, 0.42908573150634766, 0.3769405484199524, -0.24661636352539062, -0.41834402084350586, 0.6221020817756653, 0.02426457591354847, -0.6293812394142151, 0.22017250955104828, 0.12463923543691635, 0.5777393579483032, -0.35212481021881104, 0.3712744414806366, -0.1430387645959854, 0.005275994539260864, -0.20394206047058105, -0.8793376088142395, 0.715339183807373, 0.039290688931941986, -0.1756095141172409, -0.3224307894706726, 0.599541425704956, -0.5665567517280579, -0.715607762336731, 0.47268015146255493, 0.5423277616500854, -0.052374958992004395, -0.09241842478513718, -0.7856945991516113, 0.339036762714386, 0.08130457252264023, -0.8588858842849731, -0.023715559393167496, 0.2570819854736328, 0.4277092218399048, 0.36133962869644165, -0.09857118874788284, -0.07788974046707153, 0.003456605365499854, 0.32128018140792847, 0.4210515022277832, -0.4962902069091797, -0.40261325240135193, -0.8937726020812988, 0.4810961186885834, -0.039856769144535065, -0.20067721605300903, 1.0562306642532349, 0.9548264741897583, 0.8373137712478638, -0.3380656838417053, 0.9034769535064697, -0.047848571091890335, 0.4093449115753174, -0.5344176292419434, 0.8280510902404785, -0.7381241321563721, 0.1145973652601242, -0.18363972008228302, -0.64532071352005, -0.233421191573143, 0.26260653138160706, -0.34556806087493896, -0.024499038234353065, 0.8020620942115784, 0.6338059902191162, 0.02118586376309395, 0.277919739484787, 0.5042673349380493, -0.014471782371401787, 0.4571986198425293, 0.42826271057128906, 0.7377117276191711, -0.5706740617752075, 0.6458941102027893, -0.41185182332992554, 0.37344327569007874, -0.1465546190738678, -0.8481941223144531, -1.0568903684616089, -0.7935478091239929, -0.5207400321960449, -0.19441840052604675, 0.2676326036453247, 0.7117603421211243, 0.8670228719711304, -0.4821607172489166, -0.1708766222000122, -0.29498302936553955, 0.09213767200708389, -0.1789073646068573, -0.3123672306537628, 0.436012864112854, -0.28929877281188965, -0.9157213568687439, 0.5209928750991821, 0.43688616156578064, -0.02576494961977005, -0.02189674787223339, -0.08888085186481476, -0.10699571669101715, -0.05994080752134323, 0.6693297028541565, -0.038658738136291504, -0.80585116147995, -0.5672401785850525, 0.10325561463832855, 0.011527631431818008, -0.15100213885307312, 0.7768185138702393, -0.4809083342552185, 0.34406253695487976, 0.2681799530982971, 0.5887898206710815, 0.8393415808677673, -0.22982586920261383, 0.6137940287590027, -0.8349885940551758, 0.07280407845973969, 0.1355496644973755, 0.4627910256385803, 0.06498553603887558, -0.7197051644325256, 0.8305839896202087, 0.40971845388412476, -0.7032305598258972, -0.7151224613189697, 0.25486519932746887, -0.8044642806053162, -0.47756150364875793, 1.466728925704956, -0.3142516314983368, 0.005209277383983135, -0.16491195559501648, 0.023156875744462013, 0.4172367453575134, -0.0797952190041542, 0.8462345004081726, 0.6917005777359009, -0.2793726921081543, -0.5432584881782532, -0.5735464096069336, 0.5796821117401123, 0.39502444863319397, -0.8406658172607422, -0.26029542088508606, 0.09117879718542099, 0.2709369659423828, 0.026383163407444954, 0.3483557403087616, 0.0322037972509861, 0.15407578647136688, 0.030399106442928314, 0.1761009842157364, -0.2638806700706482, -0.4424962103366852, -0.39125439524650574, -0.14253894984722137, -0.3818674385547638, 0.09662765264511108 ]
http://arxiv.org/abs/2404.01336v2
http://arxiv.org/pdf/2404.01336v2
FineFake: A Knowledge-Enriched Dataset for Fine-Grained Multi-Domain Fake News Detection
2024-03-30T14:39:09
2024-04-28T07:26:08
Ziyi Zhou, Xiaoming Zhang, Litian Zhang, Jiacheng Liu, Xi Zhang, Chaozhuo Li
cs.CL
cs.CL, cs.AI, cs.MM
Existing benchmarks for fake news detection have significantly contributed to the advancement of models in assessing the authenticity of news content. However, these benchmarks typically focus solely on news pertaining to a single semantic topic or originating from a single platform, thereby failing to capture the diversity of multi-domain news in real scenarios. In order to understand fake news across various domains, the external knowledge and fine-grained annotations are indispensable to provide precise evidence and uncover the diverse underlying strategies for fabrication, which are also ignored by existing benchmarks. To address this gap, we introduce a novel multi-domain knowledge-enhanced benchmark with fine-grained annotations, named \textbf{FineFake}. FineFake encompasses 16,909 data samples spanning six semantic topics and eight platforms. Each news item is enriched with multi-modal content, potential social context, semi-manually verified common knowledge, and fine-grained annotations that surpass conventional binary labels. Furthermore, we formulate three challenging tasks based on FineFake and propose a knowledge-enhanced domain adaptation network. Extensive experiments are conducted on FineFake under various scenarios, providing accurate and reliable benchmarks for future endeavors. The entire FineFake project is publicly accessible as an open-source repository at \url{https://github.com/Accuser907/FineFake}.
[ -0.7079995274543762, -1.0607177019119263, 0.4138503074645996, 0.06519582122564316, -0.05990444868803024, -0.004706807434558868, 0.026229698210954666, -0.5958476662635803, 0.03538677841424942, 0.3611683249473572, -0.7659395337104797, -0.49277329444885254, -0.6639217734336853, -0.17781400680541992, -0.45709532499313354, 1.0955849885940552, -0.03490056097507477, -0.03820133954286575, -0.21939386427402496, -0.2635238468647003, -0.2695019245147705, -0.15727292001247406, -0.3892117440700531, -0.24198557436466217, 0.2483673393726349, 0.5264539122581482, 0.5714479088783264, 0.3719526529312134, 0.13269804418087006, 0.18334318697452545, 0.38390249013900757, 0.8678807616233826, -0.4727656841278076, -0.41091763973236084, -0.4094800353050232, 0.02004966512322426, -0.4120519161224365, 0.26341742277145386, 0.1739405393600464, 0.4754319190979004, 0.21537218987941742, 0.3099276125431061, -0.08828902989625931, 0.5493024587631226, -0.9512264132499695, 0.02362474799156189, -0.8240739107131958, -0.1383764147758484, -0.3997056186199188, -0.15885618329048157, -0.33054789900779724, -0.21698150038719177, -0.17437216639518738, -1.018641471862793, 0.37602734565734863, 0.020641222596168518, 1.0100572109222412, 0.0904512032866478, -0.4658726751804352, -0.039718177169561386, -0.3363763988018036, 0.5291568040847778, -0.5536354780197144, 0.3861220180988312, 0.3072555959224701, 0.5928234457969666, -0.3500782549381256, -0.8731806874275208, -0.9050742983818054, 0.16191938519477844, 0.02030515857040882, 0.03904242441058159, -0.10011254251003265, -0.3308427333831787, -0.1416698843240738, 0.39015063643455505, -0.4091625213623047, -0.1104297861456871, -0.016750629991292953, -0.6310408711433411, 0.30253925919532776, -0.13755357265472412, 0.2603175938129425, 0.03228141367435455, -0.5917283296585083, 0.025409508496522903, -0.2676553428173065, -0.1309581995010376, 0.3679075837135315, 0.5297374129295349, -0.2575072646141052, 0.18064771592617035, -1.0557997226715088, 0.7051263451576233, 0.25530967116355896, -0.06751357764005661, 0.4845587909221649, -0.160491943359375, -0.2797548472881317, -0.024030141532421112, 0.4979807138442993, 0.503386914730072, 0.24138134717941284, -0.10642349720001221, -0.11644715070724487, 0.280215322971344, 0.25128984451293945, -0.7746713161468506, -0.32404598593711853, 0.06158725544810295, -0.2749154269695282, -0.34930792450904846, 0.3184078633785248, -0.7370162606239319, -0.5806082487106323, -0.3972054123878479, 0.9114062190055847, -0.3925376832485199, -0.2894574701786041, 0.3317759335041046, -0.35311514139175415, -0.08274554461240768, 0.7265599370002747, -0.3479488492012024, 0.31568247079849243, 0.9327029585838318, 0.7264119982719421, -0.1541758030653, -0.5357605218887329, -0.9569798707962036, 0.11911685019731522, -0.268092542886734, 1.16007661819458, -0.41928887367248535, 0.32371318340301514, -0.010566716082394123, 0.3003816306591034, 0.218868225812912, -0.44654083251953125, 0.7096378207206726, -0.7117945551872253, -0.08246181905269623, -0.134439155459404, -0.6116681694984436, -0.3819459080696106, 0.4352280795574188, -0.7107167840003967, 0.8680192232131958, 0.2252029925584793, -0.5804303884506226, 0.724520206451416, -0.4982515275478363, -0.659512460231781, -0.05170252546668053, 0.0917859748005867, -0.36687907576560974, 0.11111536622047424, 0.2732310891151428, 0.8945812582969666, 0.038648247718811035, 0.27273648977279663, -0.6790944337844849, -0.15911489725112915, 0.034405581653118134, -0.623532772064209, 0.5185966491699219, 0.13300946354866028, -0.48150527477264404, -0.1298350989818573, -0.974094808101654, -0.17055904865264893, 0.16319814324378967, -0.036107636988162994, -0.6272172927856445, -0.5071544051170349, 0.27394232153892517, 0.24462686479091644, 0.11431803554296494, -0.7111696004867554, 0.0019235718064010143, -0.0989222303032875, -0.032661229372024536, 0.7372406721115112, 0.20075681805610657, 0.30391931533813477, -0.601963222026825, -0.2593889534473419, 0.29610830545425415, 0.18954874575138092, -0.09040287137031555, -0.3863140940666199, -0.5725599527359009, -0.23902182281017303, 0.40980079770088196, 0.21593479812145233, -0.8972424864768982, 0.034698449075222015, -0.20483191311359406, -0.3666546642780304, -0.3388219475746155, 0.11273380368947983, 0.42906180024147034, 0.3254097104072571, 0.6509094834327698, -0.40896475315093994, -0.269552081823349, -0.8593063950538635, -0.7434592247009277, 0.5391759276390076, 0.13292379677295685, 0.08101042360067368, 0.6285700798034668, -0.19082002341747284, 0.7929970622062683, -0.46782758831977844, -0.723429799079895, 0.3846508264541626, 0.34338176250457764, -0.1027577668428421, 0.5964818596839905, 0.6756007075309753, -1.0323028564453125, -0.5313339829444885, 0.21816548705101013, -0.4247639775276184, 0.017338482663035393, -0.297281414270401, -0.34037110209465027, 0.2739448845386505, 0.414013534784317, -0.7168694138526917, 0.30925118923187256, 0.5782936215400696, -0.5480226874351501, 0.731219470500946, 0.2101939469575882, 0.618024468421936, -0.8084873557090759, -0.11930093169212341, 0.0928841158747673, -0.4984503984451294, -0.7755742073059082, 0.1807461827993393, 0.17873089015483856, 0.2310110330581665, -0.6099445223808289, 0.9268288612365723, -0.14753757417201996, -0.01272837445139885, -0.4515281021595001, 0.14981450140476227, 0.5060362219810486, 0.4120508134365082, -0.18790490925312042, 0.7239686250686646, 0.23247835040092468, -0.5252159237861633, 0.18026015162467957, 0.1212492436170578, -0.38486504554748535, 0.6901243329048157, -0.09828650206327438, -0.012523957528173923, 0.17887867987155914, 0.3859975337982178, -0.7985923886299133, -0.6769382357597351, 0.24408382177352905, -0.6818867325782776, 0.09886456280946732, -0.3200288414955139, -0.9050646424293518, -0.08235618472099304, -0.19557468593120575, 0.045933257788419724, -0.14835554361343384, -0.7722495198249817, 0.5191240906715393, 0.346257746219635, 0.3187127411365509, -0.38540294766426086, -0.687363862991333, -0.023038772866129875, 0.1728948950767517, -0.67392498254776, 0.5228657126426697, -0.11363903433084488, -0.09636835008859634, 0.18682724237442017, -0.5851385593414307, -0.41382747888565063, 0.1675630360841751, 0.05414386838674545, -0.1728084236383438, -0.37538012862205505, -0.005749300122261047, 0.42356738448143005, 0.028211545199155807, -0.14384636282920837, -0.3121880292892456, 0.40476977825164795, -0.32192137837409973, -0.3256250023841858, -0.5885577201843262, 0.26227840781211853, 0.7408850193023682, -0.10852552950382233, 0.7914151549339294, 0.9999160170555115, -0.8120890259742737, -0.5365819931030273, -0.7206201553344727, -0.30050915479660034, -0.4511423408985138, 0.0016094631282612681, -0.4704439640045166, -0.862307071685791, 0.3780648708343506, -0.6157997250556946, -0.012389752082526684, 0.6960736513137817, 0.3000021278858185, 0.3766132891178131, 0.7603591680526733, 0.38186708092689514, 0.039592526853084564, 0.05793256312608719, -0.1793011575937271, -0.09256821125745773, -0.26048722863197327, -0.13951236009597778, -0.1604531854391098, -0.10257978737354279, -0.00043952310807071626, -0.691238284111023, -0.27447113394737244, 0.22318342328071594, -0.34621480107307434, 0.2627446949481964, -0.4039609432220459, 0.5796171426773071, 0.5566223859786987, 0.36532849073410034, 0.5799355506896973, 0.09705635905265808, -0.07953967154026031, 0.15638414025306702, -0.3722130060195923, -0.2856016457080841, 0.8600885272026062, 0.15386420488357544, 0.3358519673347473, 0.11508204787969589, 0.37657850980758667, 0.7909031510353088, 0.24711541831493378, -0.5262441039085388, 0.28330790996551514, -0.6213403344154358, -0.8342392444610596, -0.002922327257692814, -0.31519776582717896, -0.3302377164363861, 0.17403310537338257, -0.3811643421649933, -0.24721184372901917, 0.23179136216640472, 0.04998907446861267, -0.5564975142478943, 0.43060967326164246, -0.9197535514831543, 0.9649686813354492, 0.038672298192977905, -0.528489887714386, -0.23353014886379242, -0.38899746537208557, 0.5791527032852173, -0.4415835440158844, 0.5846753716468811, -0.5146023631095886, 0.22605609893798828, 0.45829737186431885, -0.31602367758750916, 1.0472652912139893, -0.4776439070701599, 0.10424075275659561, 0.215709388256073, 0.3134850561618805, 0.5165794491767883, 0.32768160104751587, 0.10120608657598495, 0.49156898260116577, -0.061090826988220215, -0.41785070300102234, -0.22688360512256622, 1.0706788301467896, -0.5122663378715515, -0.26868513226509094, -0.2263319492340088, -0.6486031413078308, -0.5251907706260681, 0.5731597542762756, -0.01928478293120861, 0.514674961566925, -0.20670412480831146, 0.1842586100101471, 0.5490145087242126, -0.06110987067222595, 0.11831710487604141, 0.7082777619361877, 0.05426674336194992, -0.27849772572517395, 1.0572175979614258, 0.011601155623793602, 0.10408388823270798, 0.23790603876113892, 0.21271613240242004, 0.062390394508838654, -0.36161768436431885, -0.5883200764656067, -0.30164337158203125, -0.7165972590446472, -0.6076938509941101, -0.8462446928024292, -0.15087474882602692, -0.46241769194602966, -0.3163830637931824, -0.6998950242996216, -0.46738383173942566, -0.3066307306289673, 0.13023681938648224, 0.7292798161506653, 0.369390070438385, -0.24909985065460205, 0.36519283056259155, -0.6978851556777954, 0.9549376368522644, 0.29779142141342163, 0.6303873658180237, -0.04015210270881653, -0.4747335612773895, -0.2808004915714264, 0.22930839657783508, -0.3475196957588196, -0.3611975610256195, 0.09877295047044754, 0.40089553594589233, 0.5873832106590271, 0.5258259177207947, 0.46236374974250793, 0.7753555178642273, -0.5763240456581116, 0.6174765825271606, 0.08068627119064331, -0.9841983914375305, 0.42060860991477966, -0.47040000557899475, 0.14451183378696442, 0.7790102362632751, 0.5141634345054626, -0.22566325962543488, -0.32158222794532776, -0.5905623435974121, -0.6350234150886536, 0.6683406233787537, 0.05395064130425453, 0.1925388127565384, 0.016251733526587486, 0.3218993544578552, 0.7952312231063843, 0.21093425154685974, -0.7005375623703003, -0.22893184423446655, -0.43734031915664673, -0.2288891226053238, 0.2682645916938782, 0.20665007829666138, -0.3125883638858795, -0.2504771947860718, 0.8111385703086853, -0.5032200813293457, 0.12871350347995758, 0.12325675785541534, -0.32831400632858276, -0.11397165805101395, -0.02382008358836174, 0.7059745788574219, 0.44580328464508057, 0.009911848232150078, 0.2655983567237854, 0.054525166749954224, -0.5313268303871155, -0.19515712559223175, 0.4371890723705292, -0.031417373567819595, 0.03503147140145302, 0.26721635460853577, 0.4251497685909271, 0.19633710384368896, -0.3654482960700989, 0.7800720930099487, 0.11743572354316711, -0.42693373560905457, -0.09913527965545654, 0.10049234330654144, -0.16164833307266235, 0.5147553086280823, 0.7069900631904602, 0.6770846247673035, 0.453923761844635, -0.4986700713634491, 0.8341517448425293, 0.3245912492275238, -0.34625986218452454, -0.24015434086322784, 0.6738714575767517, 0.18255090713500977, 0.1380583494901657, -0.2653059661388397, -0.38450199365615845, -0.4787207841873169, 0.47572848200798035, 0.3823844790458679, 0.44237571954727173, 0.03610704094171524, 0.39597806334495544, 0.033542584627866745, 0.2775217294692993, -0.40995070338249207, 0.09433604031801224, 0.15110895037651062, -0.9690908193588257, -0.40095004439353943, -0.7378045916557312, -0.17590229213237762, 0.5008299946784973, -0.3174920976161957, 0.26030251383781433, -0.5695837736129761, 0.07234147936105728, 0.3798687756061554, 0.2910495400428772, -0.5768656730651855, 0.4422251582145691, 0.21253015100955963, 1.1846071481704712, -0.9825823307037354, 0.6728166341781616, 0.6425468921661377, -0.12335005402565002, -0.4411683976650238, 0.3655330538749695, 0.46018022298812866, -0.7033328413963318, 0.2979254722595215, 0.5380179286003113, -0.14798122644424438, 0.1623554527759552, -0.538665771484375, -0.49690261483192444, 0.7766019701957703, 0.2919778525829315, -0.3111303150653839, 0.45617666840553284, 0.12431107461452484, 0.13576462864875793, -0.49605339765548706, -0.30707091093063354, 0.4752752482891083, 0.708142876625061, -0.10446041822433472, -0.5936732888221741, 0.2532197833061218, -0.2168681025505066, -0.5350837707519531, 0.21861203014850616, -0.8766584992408752, 0.8160171508789062, 0.061458028852939606, -0.02726881019771099, -0.09449232369661331, 0.7158588767051697, 0.13162215054035187, 1.077990174293518, 0.4704006612300873, 0.5537108778953552, 0.48198202252388, -0.15296705067157745, 0.6720038652420044, -0.26553013920783997, 0.3611213266849518, 1.299465298652649, -0.12973716855049133, 0.6989140510559082, 0.2616886794567108, 0.22090257704257965, 0.5828624963760376, 0.5851529240608215, -0.22804327309131622, 0.7859480381011963, -0.17238961160182953, -0.25506705045700073, -0.5078033208847046, -0.17185959219932556, -0.22412407398223877, 0.3885234296321869, 0.390694797039032, 0.05848203971982002, -0.5050205588340759, 0.325015127658844, 0.1389976292848587, 0.25619643926620483, -0.5035532116889954, 0.5020485520362854, -0.018979961052536964, -0.24002978205680847, 0.40255963802337646, 0.12039998173713684, 0.8240488171577454, -0.4137493371963501, -0.14462792873382568, -0.25029492378234863, 0.3017229735851288, -0.42146536707878113, -0.7348780632019043, 0.2641477584838867, -0.20123162865638733, -0.281211256980896, 0.08769407868385315, 1.2040146589279175, -0.2055606096982956, -0.15729346871376038, 0.2854120135307312, 0.5413551330566406, -0.2503226101398468, -0.627020537853241, -0.6246174573898315, 0.21239562332630157, -0.2580259442329407, -0.39488905668258667, 0.3598816990852356, 0.8436025381088257, -0.156880721449852, 0.30218300223350525, 1.0167557001113892, -0.272344708442688, 0.06569918245077133, 0.130301371216774, 0.9984443783760071, -0.28297460079193115, -0.3793899416923523, -0.5414194464683533, 0.5198137760162354, -0.3336544930934906, -0.48128554224967957, 0.8241055607795715, 0.6412363648414612, 1.1757006645202637, -0.34230682253837585, 0.8039664626121521, -0.04317691549658775, 0.5193207859992981, -0.5216642022132874, 0.9502578377723694, -0.9972800016403198, -0.06889960914850235, -0.4121992886066437, -0.5220557451248169, -0.37919583916664124, 0.3348985016345978, 0.06064457446336746, -0.04313794896006584, 0.5099627375602722, 0.6712441444396973, -0.5981038212776184, 0.029170257970690727, 0.4608069658279419, 0.19736886024475098, -0.06818370521068573, 0.27340614795684814, 0.5125850439071655, -0.6963555812835693, 0.4912170469760895, -0.43353718519210815, -0.22838880121707916, -0.5119509100914001, -0.8637381196022034, -0.9265372157096863, -0.5190389156341553, -0.4666566550731659, -0.3204038441181183, 0.0787443295121193, 0.642645537853241, 1.0586621761322021, -1.046513319015503, 0.599931001663208, -0.21827036142349243, -0.1342550367116928, -0.3813875913619995, -0.3380414545536041, 0.30209168791770935, -0.16766655445098877, -0.5244700908660889, 0.45609715580940247, 0.07937197387218475, 0.0933530405163765, 0.042199522256851196, 0.04282711073756218, -0.44697269797325134, 0.33360663056373596, 0.8035217523574829, 0.18565994501113892, -0.5254208445549011, -0.585725724697113, -0.2747041881084442, -0.015121247619390488, -0.2547953128814697, 0.5780455470085144, -0.9112362861633301, 0.17003899812698364, 0.1815943568944931, 0.9327783584594727, 0.3496895432472229, 0.00288805877789855, 0.07944482564926147, -1.0729975700378418, 0.24180905520915985, -0.22453869879245758, 0.05742530897259712, 0.2592032253742218, -0.5883408784866333, 0.37642261385917664, 0.6580858826637268, -0.22006119787693024, -0.7579375505447388, 0.1638450026512146, -1.08147394657135, -0.7698628902435303, 1.115302562713623, 0.012474026530981064, -0.15068461000919342, -0.4777477979660034, 0.04132434353232384, 0.22528015077114105, -0.6515001654624939, 0.663621723651886, 0.6178249716758728, 0.21824218332767487, -0.02639712393283844, -0.9618254899978638, 0.6707649230957031, 0.06725947558879852, -0.9603910446166992, 0.1870485544204712, 0.6563447713851929, 0.3990860879421234, 0.2351394146680832, 0.3409028947353363, 0.009162821806967258, 0.5619200468063354, 0.13191968202590942, -0.07181889563798904, -0.4212055206298828, -0.6764143109321594, 0.1325380504131317, 0.3383634686470032, -0.4367683529853821, -0.05132149159908295 ]
http://arxiv.org/abs/2404.00376v2
http://arxiv.org/pdf/2404.00376v2
Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks
2024-03-30T14:09:00
2024-06-30T09:24:12
Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Donghee Choi, Jaewoo Kang
cs.CL
cs.CL
While recent advancements in commercial large language models (LM) have shown promising results in medical tasks, their closed-source nature poses significant privacy and security concerns, hindering their widespread use in the medical field. Despite efforts to create open-source models, their limited parameters often result in insufficient multi-step reasoning capabilities required for solving complex medical problems. To address this, we introduce Meerkat, a new family of medical AI systems ranging from 7 to 70 billion parameters. The models were trained using our new synthetic dataset consisting of high-quality chain-of-thought reasoning paths sourced from 18 medical textbooks, along with diverse instruction-following datasets. Our systems achieved remarkable accuracy across six medical benchmarks, surpassing the previous best models such as MediTron and BioMistral, and GPT-3.5 by a large margin. Notably, Meerkat-7B surpassed the passing threshold of the United States Medical Licensing Examination (USMLE) for the first time for a 7B-parameter model, while Meerkat-70B outperformed GPT-4 by an average of 1.3%. Additionally, Meerkat-70B correctly diagnosed 21 out of 38 complex clinical cases, outperforming humans' 13.8 and closely matching GPT-4's 21.8. Our systems offered more detailed free-form responses to clinical queries compared to existing small models, approaching the performance level of large commercial models. This significantly narrows the performance gap with large LMs, showcasing its effectiveness in addressing complex medical challenges.
[ -0.1947072297334671, -0.5546886324882507, 0.7013505697250366, -0.03314080834388733, -0.07867518812417984, 0.11293353885412216, -0.06693089753389359, -0.5428095459938049, -0.01490144245326519, 0.5056808590888977, -0.4389265179634094, -0.2515345811843872, -0.6430056691169739, 0.2539922595024109, 0.07092765718698502, 0.827521800994873, 0.11836738884449005, 0.5790231823921204, -0.088707834482193, -0.28876951336860657, -0.3375430405139923, -0.5213989019393921, -0.5553994178771973, -0.7224529385566711, 0.6009721159934998, 0.5293708443641663, 1.0769250392913818, 0.5938374400138855, 0.460656076669693, 0.17527508735656738, 0.09480490535497665, 0.002246004296466708, 0.01609456166625023, -0.024148616939783096, -0.3954041600227356, -0.6094833612442017, -0.36769813299179077, -0.1626410037279129, 0.39637646079063416, 0.8786666393280029, -0.23030798137187958, -0.048271335661411285, -0.2613122761249542, 0.7970264554023743, -0.39565643668174744, 0.26705145835876465, -0.20126287639141083, 0.11295560002326965, -0.08727026730775833, 0.09726903587579727, -0.7360544204711914, -0.28252118825912476, 0.23756743967533112, -0.6991918087005615, -0.07998932152986526, -0.0035761462058871984, 0.7206314206123352, 0.6045035719871521, -0.2535695731639862, -0.5440164804458618, -0.5849772095680237, 0.7014973759651184, -0.7893356084823608, 0.6032778024673462, 0.22505345940589905, 0.6881351470947266, -0.5440807938575745, -0.8136129975318909, -0.40542399883270264, -0.3700711131095886, 0.026779428124427795, 0.0770907998085022, -0.21003985404968262, 0.10458730161190033, 0.2948257029056549, 0.06284599751234055, -0.7106567621231079, 0.21513943374156952, -0.7654681205749512, -0.23942798376083374, 0.37437424063682556, 0.17785146832466125, 0.40861696004867554, -0.13927064836025238, 0.11990519613027573, -0.4061906337738037, -0.8167206048965454, 0.09860752522945404, -0.22208929061889648, 0.07784435898065567, 0.004305652808398008, 0.5785731673240662, -0.28968945145606995, 0.7763482332229614, -0.051828064024448395, -0.5551359057426453, 0.16701829433441162, 0.018943151459097862, -0.3689843714237213, 0.2408432960510254, 0.8659951090812683, 0.04475996270775795, 0.4108861982822418, 0.014376195147633553, 0.09567838907241821, -0.04479370266199112, 0.12002863734960556, -0.8257097005844116, -0.5134310722351074, 0.35619962215423584, -0.6928658485412598, -0.11841434985399246, -0.46271464228630066, -0.5179807543754578, -0.5311828851699829, -0.3777361810207367, 0.35065463185310364, -0.6951402425765991, -0.20745022594928741, 0.44627645611763, 0.11445696651935577, 0.14217509329319, 0.5109458565711975, -0.9239939451217651, 0.40063077211380005, 0.5321610569953918, 0.5982237458229065, 0.29416924715042114, -0.07850725948810577, -0.35424864292144775, 0.10500738024711609, -0.4831075668334961, 0.8295158743858337, -0.9122945666313171, -0.25186687707901, -0.4725068211555481, -0.1835750937461853, -0.012685388326644897, -0.8973875641822815, 0.2962628901004791, -0.2202935516834259, 0.06826973706483841, 0.04969548434019089, -0.3976321518421173, -0.11846964061260223, 0.2701704502105713, -0.5143234729766846, 0.6733295321464539, 0.11226879060268402, -0.33774295449256897, 0.2354099154472351, -0.7966099977493286, -0.37893161177635193, -0.019689422100782394, -0.47331008315086365, -0.09361733496189117, 0.08952543884515762, 0.3940812647342682, 0.6377715468406677, -0.7103971838951111, 0.40670180320739746, -0.20224347710609436, -0.09920525550842285, 0.08294536173343658, -0.32798221707344055, 0.5795528292655945, 0.39810818433761597, -0.035546302795410156, -0.06929971277713776, -0.698096752166748, 0.07777458429336548, 0.16812315583229065, -0.44837382435798645, -0.44295239448547363, -0.32410362362861633, -0.4593762457370758, 0.3454907536506653, 0.04299277439713478, -0.4790756106376648, 0.33608436584472656, -0.6664923429489136, 0.5492858290672302, 0.453306645154953, -0.10408393293619156, 0.4454229772090912, -0.2706487774848938, 0.6125211715698242, 0.02437114156782627, 0.45002543926239014, -0.3180834650993347, -0.9232310056686401, -0.474276065826416, -0.37884968519210815, 0.5260183215141296, 0.4762200117111206, -0.7343801259994507, 0.04314117506146431, -0.268524169921875, -0.7722347974777222, -0.6904131174087524, -0.13969896733760834, 0.524595320224762, 0.5147028565406799, 0.5156851410865784, 0.007090878672897816, 0.019571665674448013, -1.0447760820388794, -0.29541149735450745, -0.1780809909105301, -0.22400763630867004, 0.5990264415740967, 0.6178765296936035, -0.3381195664405823, 0.5987257361412048, -0.48994749784469604, -0.1548113077878952, -0.08811254799365997, 0.09426940977573395, 0.41084274649620056, 0.72199547290802, 0.42194753885269165, -0.5219668745994568, -0.3195382356643677, 0.23826952278614044, -0.7870950102806091, 0.007233325857669115, -0.03416135162115097, 0.04689440131187439, 0.031887900084257126, 0.4209906756877899, -0.5271389484405518, 0.21339738368988037, 0.5371743440628052, -0.4636448919773102, 0.5718292593955994, -0.6597491502761841, 0.08359099924564362, -1.0824787616729736, 0.07324577867984772, -0.1265086978673935, -0.22067518532276154, -0.33886638283729553, 0.010046608746051788, 0.20073175430297852, -0.1823287457227707, -0.3411821126937866, 0.8531619310379028, -0.440545916557312, 0.05586875230073929, -0.060180917382240295, -0.33984261751174927, -0.11089713126420975, 0.244306743144989, -0.13074009120464325, 0.44547051191329956, 0.4298843443393707, -0.5689696073532104, 0.29499661922454834, 0.26695865392684937, -0.17225858569145203, 0.5398919582366943, -0.6609947681427002, 0.015551186166703701, 0.06290246546268463, 0.32300636172294617, -0.503718376159668, -0.6966497302055359, 0.30774474143981934, -0.5476950407028198, 0.4862595200538635, -0.10224351286888123, -0.7885470986366272, -0.5321009755134583, 0.1474979668855667, 0.4735688269138336, 0.7985446453094482, -0.5216498970985413, 0.7524164915084839, 0.4263359010219574, -0.2922091782093048, -0.6052562594413757, -0.44754451513290405, 0.06677591800689697, 0.28420382738113403, -0.5991226434707642, -0.11673511564731598, -0.07734797149896622, -0.10840771347284317, -0.06119710952043533, -0.15419811010360718, -0.2626765966415405, -0.13194306194782257, 0.0983639657497406, 0.13958346843719482, -0.34700220823287964, 0.457334041595459, 0.5815904140472412, -0.39092642068862915, -0.1317245364189148, -0.2581528425216675, 0.46913909912109375, -0.13270056247711182, -0.49035248160362244, -0.3799746632575989, 0.14360295236110687, 0.8990190029144287, -0.2757965624332428, 0.6158791780471802, 0.07948046177625656, -0.7002730965614319, -0.07057232409715652, -0.4762849509716034, -0.4567587971687317, -0.41967299580574036, 0.3964148759841919, -0.5778449773788452, -0.9328416585922241, 0.2751564681529999, -0.21051597595214844, 0.029605409130454063, 0.4007457494735718, 0.5882046222686768, 0.019640542566776276, 1.507991075515747, 0.20093795657157898, 0.1611766815185547, -0.1591643989086151, 0.14296217262744904, 0.10339774936437607, -0.5088291168212891, -0.49200624227523804, -0.4718171954154968, -0.2550470530986786, -0.5161097645759583, -0.7077367305755615, 0.6734808087348938, 0.008697263896465302, -0.5355284810066223, -0.12921978533267975, -0.7982026934623718, 0.6334550976753235, 0.6064508557319641, 0.33987289667129517, 0.37135910987854004, -0.14437255263328552, -0.7355384230613708, -0.008553608320653439, -0.7337972521781921, -0.5527658462524414, 1.324440598487854, 0.5544243454933167, 1.0751243829727173, 0.0017625107429921627, 0.4508599042892456, 0.15677466988563538, 0.6468824744224548, -0.7541713118553162, 0.4335715174674988, -0.38700130581855774, -0.9198594689369202, -0.12442576140165329, -0.3562138080596924, -0.7113829255104065, 0.20463858544826508, -0.27772626280784607, -0.6808159351348877, -0.13452322781085968, 0.34523433446884155, -0.5679174065589905, 0.2270234376192093, -0.7952442169189453, 0.8329350352287292, -0.29421672224998474, -0.3356843590736389, -0.378023236989975, -0.9349926114082336, 0.3027186393737793, -0.18892870843410492, 0.1937146633863449, -0.12716606259346008, -0.030216874554753304, 0.7476752400398254, -0.5120726227760315, 0.8353996872901917, -0.23337331414222717, 0.11020179837942123, -0.07344409078359604, 0.1280837506055832, 0.3324124813079834, -0.054633334279060364, -0.07764878869056702, 0.10188557952642441, 0.41596007347106934, -0.5335816740989685, -0.6489612460136414, 0.7903040647506714, -0.6620100736618042, -0.5003723502159119, -0.6441543102264404, -0.68825364112854, -0.44634154438972473, 0.4359606206417084, -0.03946257382631302, 0.5542665123939514, 0.04158700630068779, 0.2899155616760254, 0.5541519522666931, -0.4651964604854584, -0.016881486400961876, 0.6665503978729248, -0.136766254901886, -0.4156910479068756, 0.7405951619148254, 0.07990502566099167, 0.23794251680374146, 0.3976966142654419, 0.5669228434562683, -0.4855882227420807, -0.537006139755249, -0.81734699010849, 0.6762458086013794, -0.8111599683761597, -0.07367108017206192, -0.7820960283279419, -0.14472968876361847, -0.19047217071056366, -0.15115058422088623, -0.5859063267707825, -0.44197651743888855, -0.09558355063199997, 0.09479775279760361, 0.20548079907894135, 1.0402963161468506, 0.04367055371403694, 0.22833816707134247, -1.271087884902954, 0.06252912431955338, 0.061927612870931625, 0.4327864646911621, 0.03013780526816845, -0.3412192165851593, -0.04792623594403267, 0.04942275956273079, -0.2811465263366699, -0.8073708415031433, 0.27305537462234497, -0.060577232390642166, 0.5974776744842529, 0.5485132336616516, -0.1413596123456955, 0.6224460601806641, -0.7736745476722717, 0.5172722339630127, 0.4410310387611389, -0.7109717130661011, 0.5169793367385864, -0.4034820795059204, 0.22694027423858643, 0.3398953080177307, 0.36218389868736267, -0.3476373255252838, -0.31412041187286377, -0.7336600422859192, -0.29950621724128723, 0.6120026111602783, 0.11921492218971252, -0.1436491161584854, 0.104582279920578, 0.8121657967567444, 0.3645232319831848, 0.10232426971197128, -0.5334067344665527, -0.09828109294176102, -0.02311253920197487, -0.7746721506118774, -0.1103980615735054, 0.08491397649049759, 0.11838468164205551, -0.6014039516448975, 0.518066942691803, -0.38355544209480286, 0.05392627790570259, 0.3083620071411133, 0.09223979711532593, -0.011119239032268524, 0.24904276430606842, 0.6599720120429993, 0.5559818148612976, -0.06881029903888702, 0.11223655194044113, 0.030632702633738518, -0.6485183835029602, 0.2964445650577545, 0.189388245344162, 0.08749385178089142, -0.19645649194717407, 0.2537122666835785, 0.25475767254829407, 0.2662990391254425, -1.16673743724823, 0.28938037157058716, -0.015879228711128235, -0.16310013830661774, -0.08926066756248474, 0.35845446586608887, 0.27306848764419556, 0.4601040482521057, -0.005745749920606613, 0.3010231852531433, 0.13109582662582397, -0.31589093804359436, 0.2942483425140381, 0.3502040207386017, -0.5966587662696838, -0.5037031173706055, 0.8862621188163757, 0.17627418041229248, -0.1492307037115097, 0.4212394654750824, 0.11024417728185654, -0.175540491938591, 0.6464716792106628, 0.7507113814353943, 0.1969815045595169, -0.5843818187713623, 0.19108720123767853, 0.5156247019767761, 0.41148993372917175, -0.5179111361503601, 0.24093572795391083, 0.10978274792432785, -0.5289340019226074, -0.3420133590698242, -0.7336210012435913, -0.7054236531257629, 0.3451509177684784, -0.31298360228538513, 0.2149064838886261, -0.6682832837104797, 0.1421467810869217, 0.2823406457901001, -0.24716931581497192, -0.515889585018158, 0.5855420827865601, 0.09192797541618347, 1.1293634176254272, -0.6782050132751465, 0.8148580193519592, 0.9996389150619507, -0.5371416211128235, -1.0698026418685913, -0.2820013463497162, -0.12335436046123505, -1.057191014289856, 0.42886295914649963, 0.25288814306259155, 0.15314345061779022, 0.14362196624279022, -0.5927745699882507, -0.7044415473937988, 1.0176217555999756, 0.5711830854415894, -0.5899062752723694, -0.28327855467796326, 0.2741827666759491, 0.6457747220993042, -0.5184327363967896, 0.33470529317855835, 0.7677749991416931, 0.3595934808254242, 0.29931333661079407, -1.2203236818313599, 0.18803778290748596, -0.23010143637657166, -0.5183746218681335, 0.29474887251853943, -0.5029078125953674, 0.8729565143585205, -0.6671576499938965, 0.2815805971622467, 0.22710753977298737, -0.10741709172725677, 0.5015655159950256, 0.38994690775871277, 0.26303160190582275, 0.5210046172142029, 1.0385054349899292, -0.020196231082081795, 1.3627454042434692, -0.058871977031230927, -0.06118069961667061, 0.8893184661865234, -0.20476272702217102, 0.9297788739204407, 0.39188307523727417, -0.03741833567619324, 0.43231576681137085, 0.6788598299026489, 0.19494615495204926, 0.4075601100921631, 0.06716380268335342, -0.16393548250198364, -0.6264986991882324, -0.057091884315013885, -0.30829375982284546, 0.31750252842903137, 0.722733199596405, -0.585774838924408, -0.15773741900920868, 0.15288852155208588, 0.1893434226512909, -0.11896426230669022, -0.3598383069038391, 0.70131516456604, 0.3938121497631073, -0.7903164029121399, 0.5931839942932129, -0.20138533413410187, 0.17670650780200958, -0.6294199228286743, -0.2621780037879944, 0.07834888249635696, 0.6510049700737, -0.08477770537137985, -0.6967370510101318, -0.07267263531684875, -0.10522326827049255, -0.18235911428928375, 0.19767558574676514, 0.8069435954093933, -0.007578372955322266, -0.590796947479248, 0.26006463170051575, 0.6170536279678345, 0.37412822246551514, -0.02899482101202011, -0.7795581817626953, -0.30941319465637207, 0.024176588281989098, -0.07833732664585114, 0.24336250126361847, 0.31284603476524353, -0.25608330965042114, 1.0680714845657349, 0.9076341390609741, 0.20354041457176208, 0.056699104607105255, 0.03417745232582092, 0.9847903251647949, -0.7303879857063293, -0.4834568500518799, -0.7865373492240906, 0.371078759431839, 0.06114557385444641, -0.12687593698501587, 0.05071614310145378, 0.37401920557022095, 0.5323021411895752, -0.12015124410390854, 0.8702197074890137, 0.25853314995765686, 0.7205662727355957, -0.46589985489845276, 0.8854877352714539, -0.8834777474403381, 0.16815368831157684, 0.029935048893094063, -0.4643908143043518, -0.7050718069076538, 0.6229831576347351, -0.4669860601425171, 0.13204839825630188, 0.8120507001876831, 0.6890286207199097, -0.2842752933502197, 0.08656804263591766, 0.5491793751716614, 0.5558393597602844, 0.6300138235092163, 0.7843611240386963, 0.8363171219825745, -0.22603857517242432, 0.5635748505592346, -0.11260948330163956, -0.6212272047996521, -0.32491394877433777, -0.5040199756622314, -1.0457508563995361, -0.18877223134040833, 0.019228743389248848, -0.29677921533584595, 0.16310644149780273, 1.0621018409729004, 0.774700403213501, -0.8176332712173462, 0.11866123974323273, -0.02633500099182129, -0.1634688526391983, 0.06544643640518188, -0.11226649582386017, 0.325607031583786, -0.18939444422721863, -0.5668543577194214, 0.32059410214424133, 0.539775550365448, 0.10976789146661758, -0.13428768515586853, -0.3564407229423523, 0.10327904671430588, 0.30719295144081116, 0.38588401675224304, 0.36848315596580505, -0.7763039469718933, -0.2763127386569977, 0.2112017422914505, -0.16870850324630737, 0.16731756925582886, 0.5723060965538025, -0.8377220630645752, 0.7407366037368774, 0.22639943659305573, 0.5211104154586792, 0.12156727910041809, -0.2383824586868286, 0.646327793598175, -0.1387024074792862, 0.2473902404308319, 0.5124326944351196, 0.48611849546432495, 0.3664446473121643, -0.09667017310857773, 0.4932861924171448, 0.09078121185302734, -0.583503782749176, -0.7219151854515076, 0.09439635276794434, -0.6912631988525391, -0.4380921423435211, 0.9517515897750854, 0.1314486265182495, -0.3262135684490204, -0.3625647723674774, -0.3859579265117645, 0.15889526903629303, -0.4472518265247345, 0.6960914134979248, 0.42576974630355835, -0.5620630383491516, 0.004679852165281773, -0.7407056093215942, 0.4780586361885071, 0.5061355233192444, -0.9797056317329407, -0.3503459692001343, 0.43211016058921814, 0.4415321350097656, 0.3603438436985016, 0.7517855763435364, -0.4444904923439026, 0.6134423017501831, -0.04253043234348297, 0.0234176367521286, -0.03540225327014923, -0.4385095238685608, -0.046760402619838715, 0.09052062779664993, 0.2251196652650833, -0.08352313935756683 ]
http://arxiv.org/abs/2404.00361v1
http://arxiv.org/pdf/2404.00361v1
Controllable and Diverse Data Augmentation with Large Language Model for Low-Resource Open-Domain Dialogue Generation
2024-03-30T13:28:51
2024-03-30T13:28:51
Zhenhua Liu, Tong Zhu, Jianxiang Xiang, Wenliang Chen
cs.CL
cs.CL
Data augmentation (DA) is crucial to mitigate model training instability and over-fitting problems in low-resource open-domain dialogue generation. However, traditional DA methods often neglect semantic data diversity, restricting the overall quality. Recently, large language models (LLM) have been used for DA to generate diversified dialogues. However, they have limited controllability and tend to generate dialogues with a distribution shift compared to the seed dialogues. To maximize the augmentation diversity and address the controllability problem, we propose \textbf{S}ummary-based \textbf{D}ialogue \textbf{A}ugmentation with LLM (SDA). Our approach enhances the controllability of LLM by using dialogue summaries as a planning tool. Based on summaries, SDA can generate high-quality and diverse dialogue data even with a small seed dataset. To evaluate the efficacy of data augmentation methods for open-domain dialogue, we designed a clustering-based metric to characterize the semantic diversity of the augmented dialogue data. The experimental results show that SDA can augment high-quality and semantically diverse dialogues given a small seed dataset and an LLM, and the augmented data can boost the performance of open-domain dialogue models.
[ -0.49637895822525024, -0.7818108797073364, 0.1892371028661728, 0.2796283960342407, -0.3245537579059601, 0.2922387421131134, -0.53678297996521, -0.34658801555633545, 0.4165287911891937, 0.6112631559371948, -0.5594872832298279, -0.5831089615821838, -0.3889118432998657, -0.05342528969049454, -0.17820675671100616, 0.8645922541618347, -0.07036907970905304, 0.07506798952817917, -0.1914723515510559, -0.4479353427886963, -0.3459654152393341, -0.5465212464332581, -0.336740106344223, -0.157573863863945, 0.24874114990234375, 0.3136628270149231, 1.045426845550537, 0.6767352819442749, 0.24679628014564514, 0.33208325505256653, -0.3989455997943878, 0.5667983293533325, -0.6407867074012756, 0.21253104507923126, -0.2453252226114273, -0.2851242125034332, -0.5346184968948364, -0.23360085487365723, 0.9239937663078308, 1.0595847368240356, -0.33227041363716125, -0.19846977293491364, 0.07775155454874039, 0.3305779993534088, -0.5873312950134277, 0.20574155449867249, -0.6393341422080994, -0.0643787831068039, 0.025277897715568542, 0.005614669527858496, -0.16678179800510406, -0.3206811547279358, 0.09159215539693832, -0.557834804058075, -0.030622296035289764, -0.08769790828227997, 0.4517378509044647, 0.2901516556739807, -0.1533493548631668, -0.1933879256248474, -1.1493581533432007, 0.9887553453445435, -0.8784478306770325, 0.17779235541820526, 0.12861034274101257, 0.15868023037910461, -0.35487794876098633, -0.27982550859451294, -0.764166533946991, -0.11416854709386826, -0.014462466351687908, 0.024531910195946693, -0.37317007780075073, 0.08964943885803223, 0.2778848707675934, 0.4722546637058258, -0.22818052768707275, 0.5825366973876953, -0.1536279171705246, -0.13756594061851501, 0.6434271335601807, 0.3611260950565338, 0.2535034120082855, 0.10852266103029251, -0.19428597390651703, -0.1690831482410431, -0.5548259615898132, -0.04833313077688217, 0.47381001710891724, 0.496676504611969, -0.07482574135065079, 0.8494566679000854, -0.5260851383209229, 0.7019855380058289, 0.048557352274656296, -0.319457471370697, 0.22136279940605164, -0.5365340113639832, -0.27129051089286804, -0.09986326098442078, 0.576282262802124, 0.5110712051391602, 0.09286674112081528, -0.12764380872249603, -0.11025791615247726, 0.02922661602497101, -0.02225469797849655, -0.902981162071228, -0.02381378412246704, 0.28405097126960754, -0.38300684094429016, -0.2752186059951782, -0.1406329870223999, -0.7753596901893616, -0.2621579170227051, -0.363551527261734, -0.05607551336288452, -0.37139004468917847, -0.3779573440551758, 0.11854209750890732, 0.2693995237350464, -0.038354143500328064, 0.5955424904823303, -0.8958966732025146, 0.2636255621910095, 0.3811430037021637, 0.6692469120025635, -0.6963979601860046, -0.06525931507349014, -0.512018620967865, 0.3057189881801605, -0.39129653573036194, 0.4136786162853241, -0.7886072397232056, -0.6149128079414368, 0.010801050812005997, -0.24183502793312073, 0.015565902926027775, -0.6535770893096924, 0.26084113121032715, -0.37317296862602234, 0.22651977837085724, 0.20636287331581116, -0.36329030990600586, -0.02195572480559349, 0.05922688543796539, -0.5935481786727905, 0.6374187469482422, 0.2314758002758026, -0.5623289942741394, 0.5251415967941284, -0.5918750762939453, -0.24684613943099976, 0.03791140764951706, -0.36307239532470703, -0.2897990643978119, 0.0013061590725556016, 0.41275280714035034, 0.10150224715471268, -0.2012021839618683, 0.4696318805217743, -0.2971855103969574, -0.030946705490350723, 0.4642396569252014, -0.5882828831672668, 0.4998367428779602, 0.2510122060775757, -0.01225601602345705, 0.2429792582988739, -0.8438934683799744, -0.0012803123099729419, -0.11250187456607819, -0.3525468111038208, -0.32985174655914307, -0.02333075739443302, -0.13210134208202362, 0.20044410228729248, 0.09975560754537582, -0.6232503652572632, 0.38889065384864807, -0.5722333192825317, 0.004417788702994585, 0.6354956030845642, 0.09362244606018066, 0.697691023349762, -0.3068928122520447, 0.5235897898674011, 0.3953818082809448, -0.04619370028376579, -0.16869404911994934, -0.3854677379131317, -0.6798409223556519, -0.5708972215652466, 0.267718642950058, 0.5792492628097534, -0.8348984122276306, 0.7014564871788025, -0.2620243430137634, -0.34190964698791504, -0.6766717433929443, 0.2057601660490036, 0.12686417996883392, 0.1841939091682434, 0.32688993215560913, -0.5044471025466919, -0.2980661392211914, -0.7636415958404541, 0.05479530617594719, -0.05893496796488762, -0.1511497050523758, 0.5048396587371826, 0.0464533194899559, -0.35753709077835083, 1.1927350759506226, -0.5842176079750061, -0.1993926763534546, -0.5709959864616394, 0.06088792532682419, 0.22218197584152222, 0.6242484450340271, 0.44262638688087463, -0.6815600991249084, -0.2233942598104477, 0.02814289554953575, -0.500565767288208, -0.12621690332889557, -0.18971136212348938, -0.26635390520095825, 0.22292868793010712, 0.0989011749625206, -0.73145592212677, 0.6566632390022278, 0.5081700682640076, -0.10181475430727005, 0.39960384368896484, -0.18551591038703918, 0.09549102932214737, -1.3142935037612915, -0.17250527441501617, -0.20482106506824493, 0.020571742206811905, -0.7054265737533569, -0.14146746695041656, -0.315888911485672, -0.20575492084026337, -0.34433239698410034, 0.5044090151786804, -0.17830108106136322, -0.0010929254349321127, -0.42728903889656067, 0.08620957285165787, -0.2440073937177658, 0.6307780742645264, 0.14028377830982208, 0.6517356038093567, 0.5180152654647827, -0.7529944181442261, 0.43124356865882874, 0.661693811416626, -0.37718862295150757, 0.5471165180206299, -0.5735424757003784, -0.15829162299633026, -0.18227633833885193, 0.4205399751663208, -0.89467453956604, -0.3190765082836151, 0.11905258893966675, -0.2479184865951538, 0.1936255693435669, -0.060193635523319244, -0.4911815822124481, -0.07830146700143814, -0.0366351455450058, 0.4775667190551758, 0.42803123593330383, -0.726587176322937, 0.5413349866867065, 0.43878403306007385, -0.6498166918754578, -0.49104487895965576, -0.42034950852394104, -0.019639762118458748, -0.2148752212524414, -0.7174359560012817, 0.2829335331916809, -0.36012834310531616, -0.3868458569049835, -0.048636049032211304, -0.07324250042438507, -0.03422103449702263, -0.1246374174952507, 0.20094728469848633, 0.3229585587978363, 0.019243167713284492, 0.10163860768079758, 0.4981440305709839, -0.07377129048109055, -0.2863274812698364, -0.37906068563461304, 0.6435067653656006, 0.2296692579984665, -0.49164122343063354, -0.20326033234596252, 0.6201099753379822, 0.412602037191391, -0.33927807211875916, 0.8102333545684814, 0.3905721604824066, -0.19857241213321686, -0.29266372323036194, -0.29918143153190613, -0.09143809974193573, -0.44150829315185547, 0.23861336708068848, -0.2601996660232544, -1.3003873825073242, 0.6228622794151306, -0.14411526918411255, 0.19623617827892303, 0.2602122128009796, 0.8039020895957947, 0.15281131863594055, 1.2315410375595093, 0.5215103626251221, -0.23156926035881042, 0.46630701422691345, -0.14554649591445923, 0.15964403748512268, -0.6142629981040955, 0.038575101643800735, -0.4367954432964325, -0.2961123287677765, -0.7870298624038696, -0.511703372001648, 0.31852126121520996, 0.17513319849967957, 0.0933576449751854, 0.010544724762439728, -0.27302518486976624, 0.3164350092411041, 0.3948608636856079, -0.056666139513254166, 0.5879800319671631, 0.2737651467323303, -0.04719874635338783, -0.14269736409187317, -0.6584615707397461, -0.31569498777389526, 0.9871696829795837, 0.3673090636730194, 1.184899091720581, 0.21313504874706268, 0.6391894221305847, 0.15942154824733734, 0.06259091943502426, -0.723094642162323, 0.5679728984832764, -0.10627453029155731, -0.10440564155578613, -0.5337467193603516, -0.6861772537231445, -0.8021771907806396, 0.3174290657043457, -0.2791878879070282, -0.9091073870658875, 0.4429174065589905, 0.088249072432518, -0.19720043241977692, 0.3423210382461548, -0.3623908460140228, 0.42910465598106384, 0.09074752032756805, -0.12614695727825165, -0.23117727041244507, -0.42803797125816345, 0.27186813950538635, -0.19725407660007477, 0.08235345780849457, 0.012546521611511707, 0.1882239580154419, 0.4900849163532257, -0.73487788438797, 0.9196906685829163, -0.22833387553691864, -0.44228336215019226, 0.3713787794113159, 0.039548978209495544, 0.7951576113700867, 0.03587754815816879, 0.21405841410160065, 0.01827767863869667, -0.4208652079105377, -0.40039506554603577, -0.6865090131759644, 0.8293166756629944, -0.6768430471420288, -0.528229832649231, -0.008493294008076191, -0.8075428009033203, -0.4559800624847412, 0.05386533588171005, 0.05410186946392059, 0.47101157903671265, -0.2414351999759674, 0.3145785927772522, 0.6099628210067749, -0.33040738105773926, 0.39102408289909363, 0.5115529894828796, -0.22253809869289398, -0.5164267420768738, 0.9343052506446838, 0.03430395945906639, 0.7314357757568359, 0.15485112369060516, 0.008768439292907715, -0.2340785712003708, -0.8169008493423462, -0.5471449494361877, 0.07092663645744324, -0.41914308071136475, -0.11323040723800659, -0.7975683212280273, -0.24094928801059723, -0.31665822863578796, 0.043633729219436646, -0.18302233517169952, -0.8814170360565186, -0.1403154879808426, -0.23656980693340302, 0.44331997632980347, 0.4851643741130829, -0.1302342712879181, 0.6331183314323425, -0.7831193804740906, 0.3576202690601349, 0.23886176943778992, 0.4572242200374603, -0.1546834260225296, -0.38085615634918213, -0.36581891775131226, 0.31328296661376953, -0.20210924744606018, -0.5805484056472778, 0.4636097848415375, 0.10319001227617264, 0.6699254512786865, 0.31557244062423706, 0.10493551939725876, 0.41417354345321655, -0.2646816670894623, 0.7979673743247986, 0.1508001685142517, -0.5705237984657288, 0.5854243040084839, -0.49073174595832825, 0.3878820240497589, 0.42071059346199036, 0.05943210795521736, -0.2595513164997101, -0.8735387921333313, -0.6415588855743408, -0.9225824475288391, 0.7960798740386963, 0.3414282500743866, 0.3174108862876892, 0.21642224490642548, -0.14818812906742096, 0.26971614360809326, 0.39257097244262695, -0.45703914761543274, -0.1772812008857727, -0.17096179723739624, -0.16299931704998016, -0.019926074892282486, -0.07002504169940948, -0.43049582839012146, -0.036901094019412994, 0.47453773021698, -0.3244466781616211, 0.03790048137307167, -0.15074576437473297, -0.03325076773762703, -0.2457982897758484, 0.524350643157959, 0.46351754665374756, 0.581381618976593, -0.1645226627588272, -0.32995083928108215, 0.0848497673869133, -0.4528403580188751, 0.16044053435325623, 0.2411089390516281, -0.3664437532424927, 0.05768650025129318, 0.03176574781537056, 1.0642173290252686, -0.1659485548734665, -0.5741776823997498, 0.2690470516681671, 0.07116300612688065, -0.05504562333226204, 0.10537157952785492, 0.2638671398162842, -0.3004535138607025, 0.31264835596084595, 0.24984490871429443, 0.026143420487642288, 0.03282323107123375, -0.307182252407074, 0.1656455248594284, 0.44873443245887756, -0.09309520572423935, 0.05555881932377815, 0.43144363164901733, 0.3014827370643616, 0.0534362718462944, 0.397866815328598, -0.2149115949869156, -0.1635468304157257, 0.28288528323173523, 0.5772914290428162, 0.8245729207992554, -0.3108004331588745, 0.3008519113063812, 0.2490936666727066, 0.18371598422527313, 0.19135704636573792, 0.27795955538749695, -0.24899476766586304, -0.930159866809845, -0.685706377029419, -0.6701099276542664, -0.7141647934913635, 0.12796816229820251, -0.6589794158935547, -0.07395055890083313, -0.3590790331363678, -0.02891780622303486, -0.2621660828590393, -0.2603771388530731, -0.38448747992515564, 0.35566017031669617, -0.2095630168914795, 0.7743762135505676, -0.5993739366531372, 0.7138736248016357, 0.35665395855903625, -0.23809947073459625, -0.5276971459388733, 0.11012014746665955, -0.23284655809402466, -0.5910195112228394, 0.3865356743335724, -0.1202773004770279, 0.006296081002801657, -0.11018503457307816, -0.5895061492919922, -0.7539780139923096, 0.9197709560394287, 0.0208994559943676, -0.4403436779975891, 0.04754975810647011, 0.3895096480846405, 0.47668471932411194, -0.8016821146011353, 0.031266313046216965, 0.6184207201004028, 0.3468146026134491, 0.5108657479286194, -0.9256232380867004, -0.12105882912874222, -0.30084747076034546, 0.15432675182819366, 0.23883968591690063, -0.4354414939880371, 0.5307299494743347, -0.216220885515213, -0.21223865449428558, 0.25674620270729065, 0.8901295065879822, 0.3351269066333771, 0.1048806831240654, 0.6614278554916382, 0.6316424608230591, 0.5891135931015015, -0.15720239281654358, 0.8331496119499207, -0.12110325694084167, 0.044708531349897385, 1.1887069940567017, -0.2946411073207855, 0.5612156391143799, 0.2591821849346161, -0.12459070235490799, 0.3313896656036377, 0.362439900636673, 0.13238875567913055, 0.5101866126060486, 0.2725994288921356, -0.5074507594108582, -0.1444178819656372, -0.4734012186527252, -0.3222079873085022, 0.5757481455802917, 0.6434502601623535, -0.21530325710773468, -0.22865384817123413, 0.2266986221075058, -0.08331123739480972, 0.14226359128952026, -0.29464954137802124, 1.1412051916122437, -0.20815707743167877, -0.5208967924118042, 0.67628413438797, -0.0060747647657990456, 0.5763670206069946, -0.6460317969322205, 0.012059122323989868, -0.4061811864376068, -0.03841637074947357, -0.16328637301921844, -0.6996094584465027, 0.1284252405166626, 0.15961533784866333, -0.19544407725334167, -0.14851190149784088, 0.5698192715644836, -0.8924899101257324, -0.37429583072662354, 0.14638954401016235, 0.5458356738090515, -0.009927110746502876, 0.23412950336933136, -0.2145729660987854, 0.05519988387823105, 0.061803895980119705, -0.04899963364005089, 0.3864162266254425, 0.34598928689956665, -0.2791999578475952, 0.5558923482894897, 0.7145342826843262, 0.3705652952194214, -0.06829142570495605, 0.30558067560195923, 1.3249670267105103, -0.4226548671722412, -0.6905488967895508, -0.43787315487861633, 0.557420551776886, -0.3970283567905426, -0.11732460558414459, 0.6015551090240479, 0.4103549122810364, 0.8600790500640869, 0.011997907422482967, 1.07964289188385, 0.04880242794752121, 0.758945643901825, -0.6335694789886475, 0.505236029624939, -0.3064139187335968, 0.25454452633857727, -0.30806344747543335, -1.2177592515945435, -0.11988149583339691, 0.35926756262779236, -0.12277467548847198, 0.11496124416589737, 0.20046032965183258, 0.8971726894378662, -0.13981926441192627, 0.06971569359302521, 0.35554924607276917, 0.3112529218196869, 0.5174137353897095, 0.33863121271133423, 0.982671320438385, 0.19816270470619202, 0.47976377606391907, -0.0361236147582531, -0.65425044298172, -0.16755948960781097, -0.630160391330719, -0.859144389629364, -0.3477005362510681, -0.16673211753368378, -0.47185418009757996, -0.26204344630241394, 1.025607943534851, 0.5518708229064941, -0.8895313739776611, -0.25428104400634766, -0.02025246061384678, 0.09164594858884811, -0.03199975565075874, -0.23007865250110626, 0.08656422048807144, -0.284636914730072, -1.0257657766342163, 0.6977020502090454, 0.42557623982429504, 0.39101696014404297, -0.38454824686050415, -0.20832014083862305, 0.15934595465660095, 0.2859303057193756, 0.5178770422935486, 0.3189128041267395, -0.532162606716156, -0.09668738394975662, -0.14185290038585663, 0.05269160494208336, -0.011220285668969154, 0.9853237867355347, -0.489913672208786, 0.7412220239639282, 0.36355021595954895, 0.7624733448028564, 0.45791375637054443, 0.16778749227523804, 0.9811064600944519, -0.9564473628997803, 0.33664730191230774, 0.20975711941719055, 0.19688397645950317, 0.2703526020050049, -0.20297151803970337, 0.3295935094356537, 0.07519219070672989, -0.4076266288757324, -0.6820723414421082, 0.611544668674469, -1.0766608715057373, -0.06022533029317856, 1.1529009342193604, -0.06986936926841736, 0.14848476648330688, 0.058864254504442215, -0.5359194278717041, 0.12600205838680267, -0.6228033304214478, 0.5788663029670715, 0.6611687541007996, -0.18236839771270752, 0.04577744007110596, -0.03957665339112282, 0.6425850987434387, 0.3354188799858093, -1.0868557691574097, 0.27971744537353516, 0.8719404339790344, -0.2294856607913971, 0.2553427517414093, 0.5877106189727783, -0.10465336591005325, 0.03120505064725876, -0.24741533398628235, -0.22292989492416382, -0.04025344178080559, -0.4420309066772461, -0.2986210286617279, -0.02530651167035103, -0.006557433400303125, -0.26184651255607605 ]
http://arxiv.org/abs/2404.00344v1
http://arxiv.org/pdf/2404.00344v1
Can LLMs Master Math? Investigating Large Language Models on Math Stack Exchange
2024-03-30T12:48:31
2024-03-30T12:48:31
Ankit Satpute, Noah Giessing, Andre Greiner-Petter, Moritz Schubotz, Olaf Teschke, Akiko Aizawa, Bela Gipp
cs.CL
cs.CL, cs.AI, cs.IR
Large Language Models (LLMs) have demonstrated exceptional capabilities in various natural language tasks, often achieving performances that surpass those of humans. Despite these advancements, the domain of mathematics presents a distinctive challenge, primarily due to its specialized structure and the precision it demands. In this study, we adopted a two-step approach for investigating the proficiency of LLMs in answering mathematical questions. First, we employ the most effective LLMs, as identified by their performance on math question-answer benchmarks, to generate answers to 78 questions from the Math Stack Exchange (MSE). Second, a case analysis is conducted on the LLM that showed the highest performance, focusing on the quality and accuracy of its answers through manual evaluation. We found that GPT-4 performs best (nDCG of 0.48 and P@10 of 0.37) amongst existing LLMs fine-tuned for answering mathematics questions and outperforms the current best approach on ArqMATH3 Task1, considering P@10. Our Case analysis indicates that while the GPT-4 can generate relevant responses in certain instances, it does not consistently answer all questions accurately. This paper explores the current limitations of LLMs in navigating complex mathematical problem-solving. Through case analysis, we shed light on the gaps in LLM capabilities within mathematics, thereby setting the stage for future research and advancements in AI-driven mathematical reasoning. We make our code and findings publicly available for research: \url{https://github.com/gipplab/LLM-Investig-MathStackExchange}
[ -0.44142258167266846, -0.9670028686523438, 0.8330116868019104, 0.22136111557483673, -0.1528780311346054, 0.4641834497451782, -0.1874765306711197, -0.39593684673309326, -0.19824527204036713, 0.37792378664016724, -0.5821912288665771, -0.3915437161922455, -0.9116860032081604, 0.3003201484680176, -0.23823237419128418, 0.7956119775772095, -0.29999440908432007, 0.19648194313049316, -0.6283977031707764, 0.014945756644010544, -0.5861777663230896, -0.7477807998657227, -0.7008513808250427, -0.31071019172668457, 0.24868696928024292, 0.1813848912715912, 0.5802591443061829, 0.26947522163391113, 0.810147225856781, 0.2881582975387573, -0.05437136068940163, 0.2193981260061264, -0.4755227863788605, 0.03288944438099861, 0.11522406339645386, -0.6889440417289734, -0.800701379776001, 0.0016331839142367244, 0.4974934756755829, 0.796807050704956, -0.16140499711036682, 0.0626644566655159, 0.11136820912361145, 0.6899757385253906, -0.279999703168869, 0.25639551877975464, -0.7205557823181152, -0.03682832792401314, -0.39082029461860657, -0.06297113746404648, -0.15449093282222748, -0.3611571192741394, 0.134983092546463, -0.5210738182067871, 0.0979214683175087, -0.0856223851442337, 0.46448978781700134, 0.1572984904050827, -0.40439459681510925, -0.4326547682285309, -0.6875014305114746, 0.8450241088867188, -0.7362351417541504, 0.20938265323638916, 0.2419503629207611, 0.48221704363822937, -0.11608407646417618, -0.5061208009719849, -0.2979651093482971, 0.01023904886096716, 0.14748245477676392, 0.16143150627613068, -0.38964033126831055, -0.11371758580207825, 0.4807127118110657, 0.39989832043647766, -0.6386076211929321, -0.04347856715321541, -0.3492124676704407, -0.21740540862083435, 0.52921062707901, 0.36992302536964417, 0.24590255320072174, 0.06349926441907883, -0.0028527947142720222, 0.13064424693584442, -0.8434306383132935, 0.03290347009897232, 0.2685393989086151, 0.08378632366657257, 0.10386666655540466, 0.8145475387573242, 0.06646805256605148, 0.5566032528877258, -0.17085476219654083, -0.10380382090806961, -0.07000745087862015, -0.307049036026001, -0.1325201690196991, -0.32462239265441895, 0.5556197762489319, 0.1613292545080185, 0.6309974193572998, -0.0062797293066978455, -0.32987430691719055, -0.11529595404863358, 0.24488875269889832, -0.6851358413696289, -0.18238089978694916, 0.1075577437877655, 0.0667543113231659, 0.052557650953531265, -0.0499269999563694, -0.4492887556552887, -0.18008331954479218, -0.2737957537174225, 0.47067704796791077, -0.17212821543216705, -0.24544638395309448, 0.24377962946891785, 0.2843834459781647, 0.15502052009105682, 0.3661533296108246, -0.653132975101471, 0.5529967546463013, 0.977303147315979, 0.8128629922866821, -0.40306565165519714, -0.05320998281240463, -0.5398863554000854, -0.13848735392093658, -0.47212791442871094, 0.6809701919555664, -0.45542261004447937, -0.5470841526985168, 0.03620734065771103, -0.4352768361568451, -0.3155904710292816, -0.86688232421875, 0.5977632999420166, -0.8720465302467346, 0.05543074384331703, -0.30830222368240356, -0.6305130124092102, 0.0856403335928917, 0.4709485173225403, -0.4379884600639343, 0.7933117151260376, -0.027033401653170586, -0.4643018841743469, -0.24193714559078217, -0.6501108407974243, -0.2655668556690216, -0.0026602616999298334, -0.32972443103790283, -0.42882126569747925, 0.2803102433681488, 0.3387623131275177, 0.4497426152229309, -0.3769521415233612, 0.3005087971687317, -0.23676809668540955, -0.35293036699295044, 0.667145311832428, -0.5590970516204834, 0.5276919603347778, -0.03059731237590313, -0.1301899552345276, -0.2294038087129593, -0.4172097146511078, 0.022069137543439865, 0.36006075143814087, -0.21110162138938904, -0.028160888701677322, -0.21256162226200104, -0.5022284984588623, 0.18363738059997559, 0.4056849777698517, -0.32725468277931213, 0.25561749935150146, -0.30344101786613464, 0.4633884131908417, 0.9407278299331665, -0.13819684088230133, 0.36439815163612366, -0.32837751507759094, 0.9197467565536499, -0.1355326920747757, -0.157724067568779, -0.04776082932949066, -0.6466518640518188, -0.6258363723754883, -0.07748374342918396, 0.3729071617126465, 0.6435370445251465, -0.5661827921867371, -0.002740640891715884, -0.2736320197582245, -0.13042382895946503, -0.33570361137390137, 0.358877569437027, 0.4131302535533905, 0.4910012483596802, 0.3150204122066498, 0.03996635600924492, -0.2777014970779419, -1.0126451253890991, -0.46714943647384644, 0.00048543408047407866, -0.18767805397510529, 0.5099335312843323, 0.5912359356880188, -0.0809805691242218, 0.8754381537437439, -0.7302454710006714, -0.14802546799182892, -0.21660655736923218, 0.07950259000062943, 0.4376291334629059, 0.06418793648481369, 0.2850936949253082, -0.6424497365951538, -0.4753483533859253, -0.08019071072340012, -0.8446570038795471, -0.2915981113910675, 0.16212275624275208, -0.12181488424539566, 0.08417785167694092, 0.3962509334087372, -0.7026450634002686, 0.244729146361351, 0.49059051275253296, 0.001862179720774293, 0.6672195196151733, -0.08346516638994217, -0.09054387360811234, -0.9025527834892273, -0.01734725758433342, 0.025375433266162872, -0.1156017854809761, -0.6472147703170776, -0.07638806849718094, 0.12893275916576385, -0.023627646267414093, -0.2185087352991104, 0.47274455428123474, -0.4974546730518341, -0.31415072083473206, -0.2897765636444092, 0.22942830622196198, -0.2527017891407013, 0.4909532368183136, -0.274013489484787, 0.9749389290809631, 0.6171707510948181, -0.5416149497032166, 0.24468384683132172, 0.07892250269651413, -0.2192591279745102, 0.6160971522331238, -0.8215239644050598, 0.1671188473701477, -0.016420433297753334, 0.059129126369953156, -1.1356091499328613, -0.09946921467781067, 0.2052222639322281, -0.6077713370323181, 0.1777791827917099, -0.15828979015350342, -0.6799115538597107, -0.4000413119792938, -0.08187147974967957, 0.4990546703338623, 0.4630829989910126, -0.10501182079315186, 0.7544993758201599, 0.20249134302139282, -0.6305361390113831, -0.5300095081329346, -0.427019864320755, 0.11470340192317963, -0.022136222571134567, -0.6864721775054932, 0.04220898449420929, -0.473720908164978, -0.5487643480300903, -0.09660981595516205, -0.40704110264778137, -0.049201179295778275, 0.22512684762477875, 0.013600088655948639, 0.3967898488044739, -0.25068092346191406, 0.0835324302315712, 0.02058301493525505, -0.39149990677833557, 0.4377201795578003, -0.1374465525150299, 0.49761801958084106, -0.3351742625236511, -0.7373253107070923, -0.23130665719509125, 0.18597687780857086, 0.6434796452522278, -0.2782961130142212, 0.2587808072566986, 0.19987225532531738, -0.44414404034614563, 0.06046542897820473, -0.5498160719871521, -0.2037307620048523, -0.48596253991127014, 0.2630920112133026, -0.6139858365058899, -1.1198681592941284, 0.540565013885498, -0.06895707547664642, 0.35581308603286743, 0.5373019576072693, 0.5264504551887512, -0.14748333394527435, 1.116493582725525, 0.2951047420501709, -0.043932974338531494, -0.0597495473921299, -0.32335910201072693, 0.2651006877422333, -0.9025098085403442, -0.17059457302093506, -0.3914318382740021, -0.3047739863395691, -0.2566888928413391, -0.4557308852672577, 0.7630888223648071, 0.13190770149230957, -0.06240216642618179, -0.0464555062353611, -0.13152992725372314, 0.597770631313324, 0.33823052048683167, -0.1294032633304596, 0.4809417724609375, -0.021144215017557144, -0.18485136330127716, -0.17186205089092255, -0.5689916610717773, -0.4236932396888733, 1.260338544845581, 0.3431852161884308, 0.4913523495197296, 0.359516978263855, 0.4185347855091095, -0.017227938398718834, 0.3831290304660797, -0.6956868171691895, 0.7736011147499084, -0.006863000802695751, -0.5512765049934387, -0.2856980860233307, -0.64389568567276, -0.8691466450691223, 0.32659170031547546, -0.07553231716156006, -0.31790369749069214, -0.5243886709213257, -0.09487564861774445, -0.22830675542354584, 0.27277690172195435, -0.33261409401893616, 0.5676449537277222, -0.4805707335472107, -0.27271273732185364, -0.09504495561122894, -0.44164538383483887, 0.397293359041214, -0.4155105650424957, 0.37423235177993774, -0.2288919985294342, -0.15071989595890045, 0.6379628777503967, -0.38416600227355957, 0.7286564111709595, 0.08225630968809128, -0.4842190444469452, 0.317411869764328, 0.33449047803878784, 0.49556487798690796, 0.209347665309906, -0.005836572963744402, 0.2377852350473404, -0.17473819851875305, -0.5711862444877625, -0.7773835062980652, 0.823891282081604, -0.7792686820030212, -0.8988199234008789, -0.5302817225456238, -0.5929886102676392, -0.5254440307617188, 0.08933380246162415, -0.038462426513433456, 0.5437189936637878, 0.17662933468818665, 0.02272871695458889, 0.8358851671218872, 0.07217837125062943, 0.44515421986579895, 0.4482288062572479, -0.24154667556285858, -0.3986741900444031, 0.6963911652565002, 0.384380042552948, 0.2296539545059204, 0.4183446764945984, 0.31409952044487, -0.5541890859603882, -0.8480082750320435, -0.533710241317749, 0.5762425661087036, -0.6808469891548157, -0.13115756213665009, -0.6661227941513062, -0.3470342755317688, -0.2841782569885254, -0.014894291758537292, -0.27589499950408936, -0.26873305439949036, -0.27122408151626587, -0.031071605160832405, 0.23430904746055603, 0.7958943843841553, 0.1870310753583908, 0.04650497809052467, -0.7141548991203308, 0.32860907912254333, 0.8255326747894287, 0.3189994990825653, -0.0635485053062439, -0.646111011505127, 0.04576272889971733, 0.1868409514427185, -0.26287317276000977, -0.5905784964561462, 0.03736792504787445, -0.10084903985261917, 0.6250844597816467, 0.2389586865901947, -0.15857940912246704, 0.7813631892204285, -0.5832889080047607, 0.5965545773506165, 0.08002522587776184, -0.8921105861663818, 0.2900206744670868, -0.45189324021339417, 0.39510461688041687, 0.31751081347465515, 0.3518957793712616, -0.3674587607383728, -0.3583803176879883, -0.5529981255531311, -0.47332674264907837, 0.38533836603164673, 0.48663631081581116, 0.2507549822330475, 0.141752228140831, 0.690428614616394, 0.02713518589735031, 0.3639351725578308, -0.5118209719657898, -0.2949460446834564, 0.4100000560283661, -0.030202951282262802, -0.1756209284067154, -0.18251633644104004, -0.21432198584079742, -0.15199539065361023, 0.4408092796802521, -0.08161560446023941, 0.339356005191803, -0.13999506831169128, -0.1253226399421692, -0.0945572778582573, 0.1924072504043579, 0.834568440914154, 1.1469752788543701, -0.010676027275621891, 0.24236343801021576, 0.4546496272087097, -0.4730720520019531, -0.0823727697134018, 0.11044801771640778, 0.20166555047035217, -0.137498676776886, 0.41242510080337524, 0.30848556756973267, 0.16753403842449188, -0.7704467177391052, 0.6691145300865173, -0.12392689287662506, -0.538809597492218, -0.4414152204990387, 0.008525651879608631, 0.3054162561893463, 0.32263612747192383, 0.6768993735313416, -0.05371527373790741, -0.012029639445245266, -0.4460712671279907, 0.057855501770973206, 0.7058032751083374, 0.013955247588455677, -0.3388274312019348, 0.6035875678062439, 0.08886964619159698, -0.3890537917613983, 0.5924792885780334, 0.009360390715301037, -0.6794403195381165, 0.7590184807777405, 0.5497864484786987, 0.574467658996582, -0.04101340472698212, -0.03391534835100174, 0.0680469423532486, 0.2787232995033264, -0.08766494691371918, 0.21719910204410553, 0.1867218017578125, -0.6545079946517944, -0.6805303692817688, -0.47812119126319885, -0.7126526236534119, 0.03272834047675133, -0.4703414738178253, -0.013264822773635387, -0.5202288031578064, -0.006761986296623945, -0.22870498895645142, 0.17631091177463531, -0.5059621930122375, -0.0066184611059725285, 0.10286078602075577, 0.539300799369812, -0.5957381129264832, 0.3604470193386078, 0.7329350709915161, 0.09717417508363724, -0.5062177181243896, -0.15807993710041046, 0.004003216978162527, -1.1453704833984375, 0.48821038007736206, 0.06830344349145889, -0.321278840303421, 0.14109010994434357, -0.5796287059783936, -0.5969421863555908, 1.0511096715927124, 0.3131761848926544, -0.5916178822517395, 0.15682072937488556, 0.44590067863464355, 0.5634480714797974, -0.19466687738895416, 0.34912654757499695, 0.4396792948246002, 0.35177791118621826, 0.29088181257247925, -0.9576773643493652, -0.2391495555639267, -0.22151650488376617, -0.07144692540168762, 0.3226891756057739, -0.5753659009933472, 0.9523637294769287, -0.1996019035577774, -0.05638408660888672, 0.14743512868881226, 0.562556266784668, 0.5465491414070129, 0.5737931728363037, 0.2895967662334442, 0.5889747142791748, 0.8769655227661133, -0.14981505274772644, 0.8796106576919556, -0.24125418066978455, 0.34842872619628906, 0.7436832785606384, -0.29653745889663696, 0.8268764615058899, 0.28900715708732605, -0.4644223153591156, 0.16567327082157135, 0.5473295450210571, 0.1862829178571701, 0.078212209045887, 0.5362252593040466, -0.3982817232608795, -0.5675411820411682, 0.29975512623786926, -0.4219914674758911, 0.11479613184928894, 0.3754112720489502, 0.02638828568160534, -0.19382990896701813, -0.037678711116313934, 0.2180052399635315, 0.17968341708183289, -0.4682601988315582, 0.49732163548469543, 0.27457162737846375, -0.47394615411758423, 0.5165636539459229, 0.027919413521885872, 0.567726194858551, -0.5816583037376404, -0.08244076371192932, -0.46504828333854675, 0.13396872580051422, 0.019640905782580376, -0.9574882984161377, 0.2186463177204132, 0.16062889993190765, 0.007341578137129545, -0.2652498185634613, 0.47860053181648254, -0.19546526670455933, -0.7183162569999695, -0.09468600898981094, 1.0820956230163574, 0.3087543547153473, -0.2593754529953003, -0.7697677612304688, 0.09376257658004761, -0.3453839123249054, 0.019444338977336884, 0.4540345370769501, 0.5118196606636047, -0.0675620511174202, 0.9647523760795593, 0.6986881494522095, -0.14710012078285217, 0.16623768210411072, -0.08315446227788925, 0.8188856244087219, -0.503504753112793, -0.08399725705385208, -1.115632176399231, 0.25044727325439453, 0.11696081608533859, -0.32987120747566223, 0.837395429611206, 0.7212719917297363, 0.7202438712120056, 0.0036686297971755266, 0.8162875771522522, 0.39685288071632385, 0.5277950167655945, -0.5511371493339539, 0.29368856549263, -0.4942554235458374, 0.5615455508232117, -0.18808774650096893, -1.023537278175354, -0.6340899467468262, 0.5207459926605225, -0.5859485864639282, 0.12026520818471909, 0.7214195132255554, 0.6638857126235962, -0.04336844012141228, 0.02717270888388157, 0.4257075786590576, 0.20710217952728271, 0.4543338716030121, 0.873254120349884, 0.9930171370506287, -0.22869247198104858, 0.8629257082939148, 0.08166284114122391, -0.1533520519733429, -0.25483736395835876, -0.6352902054786682, -1.0777918100357056, -0.16513675451278687, -0.23340721428394318, -0.18887139856815338, -0.013647661544382572, 0.6501093506813049, 0.1454000622034073, -0.523739755153656, -0.4254525601863861, -0.11061549931764603, 0.19957925379276276, -0.16705195605754852, -0.15925008058547974, 0.3859516382217407, -0.13956385850906372, -0.8896580934524536, 0.20762914419174194, 0.3589959740638733, 0.1009845957159996, -0.31977424025535583, -0.0497315376996994, 0.17006133496761322, 0.06919687986373901, 0.6790944337844849, 0.10476890951395035, -0.6460046768188477, -0.10479066520929337, 0.5374074578285217, -0.2239508032798767, 0.16838474571704865, 1.0003515481948853, -0.35918164253234863, 0.21338072419166565, 0.28193235397338867, 1.0633867979049683, 0.4699588119983673, 0.04147551953792572, 0.3752707540988922, -0.44281005859375, -0.6088438630104065, 0.4071758985519409, 0.3304680585861206, 0.08497388660907745, -0.13155561685562134, 0.41006550192832947, 0.400603711605072, -0.5849048495292664, -0.5816850662231445, 0.20218530297279358, -1.0325896739959717, -0.2797764539718628, 1.3190371990203857, 0.06232321634888649, 0.020449835807085037, -0.16427700221538544, -0.2046200931072235, -0.19788677990436554, -0.2710059881210327, 0.6533613801002502, 1.0148403644561768, -0.42513230443000793, -0.39019250869750977, -0.9291219711303711, 0.03923148289322853, 0.5171567797660828, -0.8112874627113342, 0.004412516485899687, 0.3852390944957733, 0.39394059777259827, 0.06680060178041458, 0.7015144228935242, -0.24376609921455383, 0.3013405501842499, -0.4365341365337372, -0.34602048993110657, -0.20141486823558807, -0.20929445326328278, -0.36762699484825134, 0.35812005400657654, 0.1949928253889084, 0.04157134145498276 ]