id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
listlengths
768
768
http://arxiv.org/abs/2406.17534v2
http://arxiv.org/pdf/2406.17534v2
Retrieval-style In-Context Learning for Few-shot Hierarchical Text Classification
2024-06-25T13:19:41
2024-06-29T09:24:33
Huiyao Chen, Yu Zhao, Zulong Chen, Mengjia Wang, Liangyue Li, Meishan Zhang, Min Zhang
cs.CL
cs.CL
Hierarchical text classification (HTC) is an important task with broad applications, while few-shot HTC has gained increasing interest recently. While in-context learning (ICL) with large language models (LLMs) has achieved significant success in few-shot learning, it is not as effective for HTC because of the expansive hierarchical label sets and extremely-ambiguous labels. In this work, we introduce the first ICL-based framework with LLM for few-shot HTC. We exploit a retrieval database to identify relevant demonstrations, and an iterative policy to manage multi-layer hierarchical labels. Particularly, we equip the retrieval database with HTC label-aware representations for the input texts, which is achieved by continual training on a pretrained language model with masked language modeling (MLM), layer-wise classification (CLS, specifically for HTC), and a novel divergent contrastive learning (DCL, mainly for adjacent semantically-similar labels) objective. Experimental results on three benchmark datasets demonstrate superior performance of our method, and we can achieve state-of-the-art results in few-shot HTC.
[ -0.1017645597, -0.7027394772, 0.3446479142, 0.0183757301, -0.2453028858, 0.3354944587, -0.0414707512, -0.4164981246, -0.187772572, 0.1944071651, -0.4752038121, -0.908847332, -0.4681904018, 0.0702077374, -0.2657705843, 1.0394514799, -0.0074864719, -0.2906448543, 0.0753881484, -0.2331633121, -0.0194724295, -0.5585541129, -0.3831333518, -0.620629847, 0.5523211956, 0.777636528, 0.2600437701, 0.6038555503, 0.466010958, 0.1651454568, -0.2934107184, 0.1185743287, -0.6724775434, -0.1121907532, 0.064730376, -0.1305076331, -0.052330479, -0.1968302578, 0.8101167679, 0.5190103054, 0.018933082, -0.0132312905, 0.4082299769, 0.3553587794, -0.9622534513, 0.0620910451, -0.8242038488, 0.2999513745, -0.4361402094, -0.4799883366, -0.7350976467, -0.0038978336, 0.4398765266, -0.5142766833, -0.3126790226, 0.3086580038, 0.8420255184, 0.1085780263, -0.5349319577, -0.1631591022, -0.4824513197, 0.9212974906, -0.5850268602, 0.3639832437, 0.6048589349, 0.5267260671, 0.072986275, -0.8272328377, -0.3607757986, -0.1561422348, -0.28203246, 0.1313169301, -0.093158029, 0.0599568933, 0.0151133556, 0.0383178815, -0.463753134, 0.5044488907, 0.0984262004, -0.0486437343, 0.0749768913, 0.2104997039, -0.0667052567, -0.3114290535, -0.7579646111, 0.0600451082, -0.9288846254, -0.0969503596, -0.2431415021, 0.5152326226, -0.2896725535, 0.2952477336, -0.1808909923, 0.5808001757, 0.2028435022, -0.5841786861, 0.1924691796, -0.2392015159, -0.4528586566, 0.3173037469, 0.6562080383, -0.0636032224, -0.3605326712, -0.1317242384, -0.2743418217, -0.5545813441, -0.0614030883, -1.0797468424, 0.0219867695, -0.1321994513, -0.4337689579, -0.2716900408, -0.0581815206, -0.5338441133, -0.3287204504, -0.04369165, 0.7070528269, -0.3080779612, 0.1829520911, -0.1030822098, 0.1831154972, 0.3025305271, 0.2063551694, -0.8569490314, 0.330409497, 0.4379222989, 0.9378291965, -0.4400157332, -0.3128842413, -0.6321137547, 0.3786191642, -0.2506990135, 0.6369376183, -0.5748357177, -0.2638409734, 0.2210820019, -0.280780226, 0.0888832211, -0.6541543007, 0.2239698023, -0.7117000818, 0.1581282169, 0.0547522008, -0.5072559118, 0.0842880681, 0.8146675825, -0.2301447242, 1.0932146311, -0.005868874, -1.0747861862, 0.5194784403, -0.3054883778, -0.3449287713, 0.3149769902, -0.4149757624, -0.726349473, -0.4860488772, 0.0307708383, 0.5739697814, -0.0772270411, -0.0307412576, -0.1814465225, -0.7987498045, -0.2078187615, -0.4085201919, 0.6731556654, 0.0432489626, -0.3753657639, -0.0344126225, -0.698009491, -0.0439682975, -0.2855480909, -0.6246108413, -0.4793525934, -0.2798672318, 0.2487364709, 0.404551208, 0.125644207, -0.520152688, 0.2658760548, -0.414572686, 0.0731760785, 0.426491946, 0.1985639483, 0.6498847008, -0.2824457884, 0.3211387396, 0.3628409207, -0.0030241671, -0.3599741459, -0.119289428, -0.4890963733, -0.513479352, 0.1410134733, 0.6024388075, -1.0869508982, 0.3128005266, -0.0558009446, -0.3307330608, -0.1692529023, 0.2546464801, 0.5484549403, 0.773598969, 0.5705546141, 0.0277585145, -0.4267476499, -0.8899980783, 0.0105543025, -0.2671169937, 0.1127968282, 0.6175696254, 0.7126827836, -0.4784318209, 0.9227502942, -0.3224317133, -0.6776190996, -0.3248414397, 0.4275743961, 0.0468340814, 0.4302006662, 0.4216319323, -0.6101722121, -0.7172950506, 0.2120507956, -0.7602458596, 0.0469678231, -0.0708291307, -0.2425811887, 0.2811098993, 0.6356248856, -0.1678488553, 0.4110909402, 0.1703808308, 0.2460710704, 0.4109780788, -0.0228021238, -0.004637762, -1.0185648203, -0.1709543169, 0.2146366388, -0.3120346963, -0.5174728632, -0.0038324902, 0.2934654057, 0.2849060595, -0.8895583153, 0.8158160448, -0.2397512943, 0.0066184048, -0.3824371397, 0.2145256698, -0.0359509438, 0.5405414104, 0.2144958675, 0.4581215084, 0.7371906042, -0.6830871105, -0.1964997649, 0.1729503572, -0.5230038762, 0.584510088, -0.1613493562, 0.1768642068, -0.3429047167, 0.4456652105, -0.8401517272, -0.210883975, 0.2200309038, -0.0123913856, 0.4895173311, -0.36067608, -0.7285684943, -0.1116296574, -0.2938203812, 0.5789242387, 0.4246192873, -1.0374041796, 0.3065083027, 0.0371890366, 0.1595523506, -0.850389421, -0.8537976742, 0.0388673618, -0.3599618077, -0.0751078129, 0.8161370158, -0.0595754683, -0.0565103702, -0.3046734333, -0.2444987595, -0.5215528607, -0.045797918, 0.0271382518, 0.1031221971, -0.2047836483, 0.309361428, 0.2247492969, 0.0631122068, -0.5213342309, -0.3468360007, 0.226845026, -0.2222724408, -0.1059236377, -0.6862961054, 0.2159769684, 0.1361622512, 0.1558782458, 0.5374448895, 0.5289316773, -0.5275869966, -0.3344761431, -0.2046976984, -0.1870905012, -0.4670879245, 0.34393996, -0.5461001396, -1.091574192, 0.156341657, -0.1340238601, -0.0225052182, 0.0909117758, 0.5092183352, -0.4021511376, 0.8447054625, 0.8349616528, -0.2162893713, 0.7688354254, -0.3330570757, -0.2572056949, -0.6070072055, -0.3348891735, -0.4454725981, -0.2381270081, -0.6209062934, -0.068672061, 0.5646296144, 0.2402746677, -0.6365043521, 0.2247363776, -0.1573753655, 0.796580255, 0.3333424032, 0.418839097, 0.5679217577, 0.1323202401, -0.3058688045, -0.059403114, -0.8114978671, -0.4052139521, 0.5746327043, 0.3981847465, 1.0391274691, 0.1373726726, 1.1795860529, -0.0641641244, 0.5226811171, -0.9749956131, 0.2693457901, -0.2009655386, -0.4913425744, -0.1142987236, -0.4146133065, -0.695268333, 0.4309175611, -0.1654708087, -0.8280527592, 0.3206677437, 0.0787053406, -0.4143787026, 0.259136349, -0.397593677, 0.6444758773, -0.1475864798, -0.6171020865, 0.0927133709, -0.9494333267, 0.3707261384, -0.0878638625, -0.0355819426, 0.2164491415, -0.2397368103, 0.4613224566, -0.1838407964, 1.0438116789, 0.0150327487, 0.0422489941, 0.3124722242, 0.1897262633, 0.459433794, -0.1315112561, -0.1700771749, -0.1602007896, -0.0238975212, -0.3723592162, -0.5061305165, 0.6137971282, -0.5150271654, -0.2728685737, -0.4027722478, -0.2554120421, -0.2365799695, 0.3802284002, 0.5544114113, 0.5598907471, -0.1639964581, 0.4710747004, 0.6513489485, -0.1596075892, 0.6197634935, 0.4873968661, -0.2137959898, -0.0917972401, 0.7758539319, -0.0191610586, 0.1599649489, 0.9226223826, 0.3672566414, -0.249953866, -0.481518358, -0.4489529431, -0.1702174842, -0.9294925928, -0.5106487274, -0.5828406811, -0.3321695328, 0.0367600694, -0.2095044851, -0.146356836, -0.0328652672, -0.5624430776, 0.0089803133, 0.0090219909, 0.6467349529, 0.3304080665, 0.6680400372, -0.5931425691, 0.3346231282, 0.2557765841, 0.435280323, 0.0007653349, -0.7795799375, -0.3841514885, -0.3290393353, -0.4352348745, -0.695531249, 0.3165441155, 0.4674844444, 0.4165506959, 0.37400195, 0.0305898152, 0.7346847653, -0.5653299093, 0.4863185883, 0.1002044901, -0.7162114978, 0.4814165235, -0.1865095049, 0.6112768054, 0.874637723, 0.7257503271, -0.3722207844, -0.1787362546, -0.2421069592, -0.6848434806, 0.8022014499, 0.0962264463, 0.0632736981, -0.078239195, 0.3775772154, 0.2080034316, 0.1525394917, -0.8765977025, -0.3431826234, -0.1328038722, -0.3181551695, 0.4214695692, -0.0697365776, 0.1262748837, -0.2556079924, 0.5144318938, -0.4737539887, -0.1462143064, 0.1214879006, -0.4821703136, 0.1102481112, 0.572003603, 0.2675857842, 0.5015989542, -0.3903251886, 0.3775469661, 0.1822591424, -0.1839953065, 0.2919150591, -0.0545733161, -0.3430099189, -0.158132568, 0.3430318236, 0.6643750072, 0.6520265341, -0.5912622809, 0.6247466803, 0.2559736073, -0.0904408172, 0.0899830684, -0.2976798713, -0.3537779748, 0.2295558155, 0.5745532513, -0.231564343, 0.4375348091, -0.6526778936, 0.4756768048, 0.3066408038, -0.6429792643, 0.066303201, 0.2525515854, -0.0689567626, -0.0549906269, 0.5422942042, -0.422606647, -0.4556184411, 0.3581483066, 0.8555750251, 0.7692719102, 0.1286575794, 0.3280029595, 0.3929364383, 0.13976264, -0.117280446, -0.1243041083, -0.4772046208, -0.6309884787, -0.158332482, -0.3923792243, -0.6032953858, 0.0189154893, -0.4239780605, 0.3800507188, -0.5853210092, -0.0074474867, -0.2113153487, 0.0921355635, -0.5120584369, 0.0839155391, 0.2526942492, 0.9348856211, -0.513989687, 1.1071307659, 0.5629839897, -0.4043990374, -0.375528276, 0.3361290693, 0.3280873895, -0.4353427887, 1.1428364515, 0.352722168, -0.4692094028, 0.2397457063, -0.8237144351, -0.6168396473, 1.1934081316, 0.0633990094, -0.6518247128, -0.0708597153, -0.0915234238, 0.6304484606, -0.6645550132, 0.3073301911, 0.5900176764, 0.2119741589, 0.4340550005, -0.7568407655, -0.3327950239, 0.1412011683, 0.091226384, -0.1983025968, -0.5786820054, 0.4437345862, -0.1926831007, -0.3790557683, 0.1765674651, 0.6156660914, 0.6173959374, 0.6348210573, 0.287604183, 0.1952350736, 0.6409834027, 0.1248262376, 1.1315290928, 0.0770699531, 0.480083853, 1.3851406574, -0.3839188218, 1.1182293892, 0.3549114168, 0.1721025705, 0.6857056022, 0.8176719546, 0.3942941725, 0.7407702804, 0.1414608508, -0.4067798853, -0.2588278353, -0.3709187806, 0.0273047891, 0.4303156435, 0.3123438656, -0.1725138724, -0.5425408483, 0.1853393167, -0.058386866, -0.0512459241, -0.3541654944, 1.0067595243, 0.3219203949, -0.0113388635, 0.6819753647, 0.0964187831, 1.1421679258, -0.3695299327, -0.05477966, -0.2729482651, 0.1256156117, -0.2920791209, -0.7157454491, -0.1265843511, -0.0364572592, -0.1678277701, -0.2372072935, 0.6616028547, -0.7398982048, -0.177094996, 0.2348064035, 0.375107497, 0.0337948538, 0.1301835924, -0.738581121, -0.0774895251, -0.47044909, -0.0967108309, 0.5055614114, 0.3618519604, -0.2188261747, 0.6777581573, -0.0797723308, -0.3619291782, 0.0653709471, 0.3172268569, 0.6604227424, -0.6456861496, -0.4908418953, -0.8891156912, 0.2195174992, 0.1202021539, -0.2996093929, 0.5866922736, 0.6683655381, 0.927056849, 0.1561606526, 0.5761666894, 0.2564956844, 0.1762153506, -0.607753098, 0.5544108152, -0.7372544408, 0.3355667591, -0.3339661062, -0.7635580897, -0.6774838567, 0.4694370031, -0.0367117487, 0.2240391821, 0.8328428268, 0.7235108614, -0.2387601733, -0.268462956, 0.4685360193, 0.2959608436, 0.2292391509, 0.6685300469, 0.9319713712, -0.622364223, 0.7078137398, -0.4740604162, -0.1851584315, -0.4291245043, -0.9316904545, -0.9159234166, -0.4534562826, -0.4252207279, -0.1174603105, 0.1271446198, 1.2099741697, 0.9805040956, -0.5945833921, -0.2552689314, 0.2448509187, 0.3242355883, -0.0787492841, -0.2018141001, 0.4538412094, -0.3987402022, -0.6924219728, 0.4624154866, 0.5524569154, 0.2239165902, -0.0516228341, -0.1237321049, -0.375148356, -0.3537606597, 1.0720543861, 0.3374752104, -0.5824043155, -0.2622386515, -0.1301151961, -0.6546517611, 0.3831470013, 0.7410411239, -0.9821395278, 0.3459881246, 0.5238565803, 0.9032998085, 0.8159563541, -0.012788279, -0.1462693959, -1.3564362526, 0.2135856301, 0.4111797512, 0.1224169806, 0.2849602997, -0.2030620873, 0.1099131405, -0.0482676439, -0.2534018457, -0.6361061335, 0.2175883949, -0.8615851402, -0.2376727611, 1.1207360029, -0.0169798508, -0.0959059224, -0.183057487, -0.2466946989, -0.1065486223, -0.4278024435, 0.5986158252, 0.4673776031, -0.2403590828, -0.5326154232, -0.2210482359, 0.5272886157, 0.1140896156, -0.9098923206, -0.1808186173, 0.4206114113, 0.0790235773, -0.0855751708, 0.7562656403, -0.1844763756, 0.1502965838, -0.264932394, -0.3009317517, 0.1598953456, -0.8197078109, -0.4136288464, 0.2130935192, 0.0932052806, 0.0127440784 ]
http://arxiv.org/abs/2406.17532v1
http://arxiv.org/pdf/2406.17532v1
Can Large Language Models Understand DL-Lite Ontologies? An Empirical Study
2024-06-25T13:16:34
2024-06-25T13:16:34
Keyu Wang, Guilin Qi, Jiaqi Li, Songlin Zhai
cs.AI
cs.AI, cs.CL, cs.LO
Large language models (LLMs) have shown significant achievements in solving a wide range of tasks. Recently, LLMs' capability to store, retrieve and infer with symbolic knowledge has drawn a great deal of attention, showing their potential to understand structured information. However, it is not yet known whether LLMs can understand Description Logic (DL) ontologies. In this work, we empirically analyze the LLMs' capability of understanding DL-Lite ontologies covering 6 representative tasks from syntactic and semantic aspects. With extensive experiments, we demonstrate both the effectiveness and limitations of LLMs in understanding DL-Lite ontologies. We find that LLMs can understand formal syntax and model-theoretic semantics of concepts and roles. However, LLMs struggle with understanding TBox NI transitivity and handling ontologies with large ABoxes. We hope that our experiments and analyses provide more insights into LLMs and inspire to build more faithful knowledge engineering solutions.
[ -0.0621412918, -0.5917665958, 1.3321582079, -0.0585751832, -0.0106353918, 0.0655234605, -0.3156148195, -0.7326474786, -0.109399572, 0.914659977, -0.7496601343, -0.501162827, -0.707680285, 0.3645544946, -0.561576426, 0.5911508799, 0.0020564382, 0.0047404394, 0.0067841681, 0.0048559587, -0.3701625168, -0.383633256, -0.3952499926, -0.3954823315, 0.5578947663, -0.0092288936, 0.6555226445, 0.5818918943, 0.3943150342, 0.3000510335, -0.3901168406, 0.0577980727, -0.4628188908, 0.00920338, -0.3935830295, -0.8531663418, -0.4051983953, -0.1309814155, 0.7133694291, 0.9830833673, -0.0449513979, 0.042486228, -0.063676849, 0.3525066674, -0.4898338914, 0.4739179313, -0.9734745622, 0.0936179832, 0.0747743249, -0.1100700647, -0.6266602278, 0.1128779948, 0.3441672325, -0.7840758562, -0.2221755236, 0.3336270154, 0.6933806539, 0.1457383633, -0.642362833, -0.3945799172, -0.7288793921, 0.9901376367, -0.8877017498, 0.5424479246, 0.0727919117, 0.3217434287, -0.23849307, -0.6744105816, -0.754335463, -0.1334705502, -0.3270080686, -0.0178566575, 0.051592771, 0.2377260774, 0.5362406969, 0.2439660132, -0.3992019594, 0.4392069876, -0.1356960982, -0.1738714129, 0.5411685109, 0.3616752326, 0.3613920808, -0.4237870574, -0.6980212331, 0.1912876815, -0.7298868299, -0.141416654, -0.1071631238, 0.2174835056, -0.0309727658, 0.7443285584, -0.0241518803, 0.7117468715, -0.6098447442, -0.2552717924, -0.0458651632, -0.5080810189, -0.3759445548, -0.1462012976, 0.6244964004, -0.0014609516, 0.3757540882, -0.6983813047, -0.4796491563, -0.1643734276, 0.0121060275, -0.5551751256, 0.3243774176, 0.3134118319, -0.5125158429, 0.0466652922, -0.0532603152, -0.2616347671, -0.6350259185, -0.362735182, 0.7290725112, -0.3869445324, -0.2676854432, 0.4200695455, -0.2932783663, 0.4657236338, 0.4462193549, -0.7273666859, 0.3264980912, 0.8338577747, 0.6309052706, -0.0816458762, -0.1764738113, -0.1911443174, 0.3159681559, -0.087896049, 0.5846010447, -0.4930081367, -0.0459456705, 0.0503499173, -0.0221714135, -0.3118332326, -0.6052219272, 0.3817089498, -0.8360105157, -0.1733251661, -0.355596453, -0.9646052718, -0.3067681193, 0.3967389166, -0.7181889415, 0.3245982528, 0.0711114928, -0.6551334858, 0.2176318914, -0.5245582461, -0.0547625571, -0.0244018193, -0.386677593, 0.1738395095, 0.4928361773, -0.2582414746, 0.6026568413, -0.6460384727, 0.1187384278, -0.2682017684, -0.2374910265, 0.7372989058, -0.1655959934, 0.9532883763, 0.0350509435, -0.1103789359, -0.0085656205, -0.7711516023, 0.0081922999, 0.2329145521, -0.0661146045, -0.3420703113, 0.0884739235, -0.0160025097, 0.4565364718, 0.2362165898, -0.6320026517, 0.3585612476, -0.5232353806, 0.6542246938, 0.7636936307, -0.3948814869, 0.3430984914, 0.0095057478, 0.5511197448, -0.1253251284, -0.0956673473, -0.0562502705, -0.2056311667, -0.5814262033, -0.0868321285, 0.3858483434, 0.5243970752, -0.9020880461, 0.4878379107, -0.3901571929, -0.0336674824, -0.1926798224, 0.2698680162, 0.3261164129, 0.2538170516, 0.2335786074, 0.0647242814, -0.2837432325, -0.8669254184, -0.0912934095, -0.1427797377, -0.0500693358, 0.3716591597, 0.731139183, -0.3272376657, 0.9645031095, -0.4824300408, -0.3870683014, -0.6084583402, -0.1315030158, 0.2389087826, -0.1977903545, 0.4873623252, -0.7781995535, -0.0810178444, 0.0551585928, -0.9854342937, -0.3609184623, -0.0459118709, 0.1377115548, 0.1305323392, 0.4918013215, -0.7383224964, 0.3191106021, 0.5831080079, -0.5343589783, 0.4732775986, -0.2076291591, -0.2104903162, -0.8250738978, -0.0532594398, -0.2149031162, -0.2808361351, -0.6686681509, 0.1430632025, 0.045171313, 0.3097296953, -0.4154373109, 0.7944034338, -0.4310958683, -0.6194474697, -0.3289060891, 0.6153350472, 0.1941148043, 0.1466658562, 0.2608598173, 0.3890377879, 0.5237764716, -0.4628185034, 0.3618761301, 0.1824196726, -0.6539310217, 0.0172160026, -0.6131653786, -0.2725688815, -0.0137075605, 0.274146229, -0.9576228261, -0.1320653558, -0.1425832659, -0.0001285121, 0.0577483699, -0.0787065551, -1.0637973547, -0.0517772287, -0.0390496217, 0.2289338112, 0.4650161564, -0.4799846709, 0.927161634, 0.1957194954, 0.1176803857, -0.3462201953, -0.6741939783, 0.0383065045, -0.2406562716, -0.7407031059, 0.2245485634, 0.1185739785, -0.6946334243, 0.0723428056, -0.1330880672, -0.1011105776, 0.2580532432, 0.0011415177, 0.226319313, -0.1579428464, 0.4538783133, -0.2508025467, -0.0219761636, 0.4053812325, -0.26140064, 0.6971091032, 0.1174036562, -0.1704290658, -0.2553912103, 0.0041931984, 0.5352190137, -0.1648633182, 1.1751350164, 0.3573005199, -0.2950263023, -0.5482480526, -0.4411346018, -0.3600179553, -0.447601974, 0.4456736445, -0.3596051931, -0.9291928411, 0.7526975274, -0.142533645, 0.1375078857, 0.6162551045, 0.2607868314, -0.1550442278, 0.8195828199, 0.6778900623, 0.2512909174, 0.1203766763, -0.3443528712, 0.169717595, -0.8196505904, -0.2165052295, -0.4210529923, -0.1451538354, -0.4847579896, -0.1443326771, 0.387282759, 0.0834771842, -0.0614536516, 0.0345310271, 0.1411439031, 0.3251922727, -0.2088359147, -0.0111776078, 0.7008603811, -0.006104453, 0.0799623206, 0.0850243345, -0.6646568179, -0.642649889, 0.8566735387, 0.4841204584, 0.9786149859, 0.295204103, 0.4569365978, -0.0126903784, -0.0420619808, -0.7988373637, 0.8082032204, -0.4458737969, -0.6916460991, -0.1969183236, -0.6472616196, -0.8198096752, 0.2304280847, -0.3704695106, -0.856018424, -0.1055296138, -0.01257159, -0.1630485356, 0.4128319323, -0.5984981656, 0.877671957, -0.3942809701, -0.102444008, -0.3103468418, -0.751778543, 0.454406023, -0.2954791486, 0.5800575018, -0.2632654309, -0.2751029432, 0.7241082191, -0.4516421556, 0.8593508601, 0.0314406753, -0.6989478469, 0.0794711486, 0.0219520424, 0.3579303324, -0.0494919717, -0.3159631789, 0.0607013963, 0.1324168593, -0.2997991443, -1.0084531307, 0.5620002747, -0.7129461765, -0.6707712412, -0.3076279759, -0.7040343285, -0.2382365614, 0.1208479106, 0.033160314, 0.4445223808, 0.2078597397, 0.110507004, 0.8457173109, -0.3803090453, 0.3484906256, 0.7577941418, -0.618260026, 0.3770176768, 0.5323420763, 0.3256081045, 0.8084890246, 0.5919665098, 0.3844147921, -0.4343339205, -0.6062549949, -0.2048437148, 0.361071229, -0.948159337, 0.0779225081, -0.7435008287, -0.4002484381, -0.1526376456, -0.0022297155, -0.167083472, -0.5767872334, -0.0356676765, 0.027965039, 0.5174055696, 1.1000835896, 0.457390666, 0.4730681777, -0.8941833377, 0.2642918229, 0.104892984, 0.2942880988, 0.0763221458, -0.8475371599, -0.1177823022, -0.0098466221, 0.1836930215, -0.7951913476, 0.1147237271, -0.0372815467, 0.4916213453, 0.3659420609, 0.0657427609, 0.3452296555, -0.3466770053, 0.6916494966, -0.1732138693, -1.0185213089, 0.4004054368, -0.209927097, 0.0921307802, 0.0911416337, 0.2756591439, -0.1098116264, -0.3660809994, -0.4428184927, -0.6209573746, 0.8232471347, 0.2200853229, 0.0893774331, 0.2472653538, 0.7853508592, 0.1868160367, 0.1770147234, -1.0366879702, -0.1886823326, 0.3806961179, -0.1488197893, 0.0007590784, -0.3321067393, 0.0124971336, 0.2709387243, 0.4110302627, 0.1522013694, 0.0382284522, -0.1243258119, -0.2555762231, 0.2623556554, 0.6888209581, 0.283426404, 0.8177134395, -0.2308855951, 0.4446407259, 0.2292271852, -0.192890048, -0.0238138922, -0.0539654195, -0.0583473258, -0.2973994315, 0.8812357187, 0.6667999625, 0.0657500774, -1.0569536686, 0.3752785027, -0.0048954231, -0.1042059287, -0.4060438871, 0.3159638941, 0.11052192, 0.3206402063, 0.2193247825, -0.4631329477, 0.1051957309, -0.9165030122, -0.1668813676, 0.6111878157, -0.0530927479, -0.3713746965, 0.3978227079, -0.0627931803, 0.1027572602, 0.4455473125, -0.2370727211, -0.6072588563, 0.7240664959, 0.7048720121, 0.5194862485, 0.1838262677, -0.074204579, -0.207973063, 0.3674333096, -0.0885623619, 0.4013098776, 0.3127732873, -1.1144144535, -0.7184771299, -0.7485392094, -0.357611984, 0.0952972844, -0.3625468016, 0.0466234758, -0.3449137807, 0.0475063026, 0.2168692052, 0.0529587008, -0.6970917583, 0.1529700607, 0.026591152, 0.8956251144, -0.9495910406, 0.8555967212, 0.7246058583, -0.4310652018, -1.0220718384, -0.0084198602, -0.0399483107, -0.9281211495, 1.3583503962, 0.1319376081, -0.2107157409, 0.0325344279, -0.4131836295, -0.6922457814, 1.2273157835, 0.4194513261, -0.5459668636, -0.1543809772, 0.3753660023, 0.5999366045, -0.4037427902, 0.3756953478, 0.5455952883, 0.6936488152, 0.0127454987, -1.0307193995, 0.0841102079, 0.1857753992, -0.0213280153, 0.0791408569, -0.5915178657, 0.7985375524, -0.1599394977, -0.1930435002, 0.1103937626, 0.4292773306, 0.1025194302, 0.092952311, 0.7215546966, 0.3797514737, 0.4103039503, -0.0672098771, 1.2913845778, -0.1842345148, 0.2649427652, 0.8014143109, -0.7594285011, 0.8073930144, 0.3088504374, -0.2142310143, 0.4993530512, 0.2140431404, 0.1926554143, 0.1695576906, 0.1820678562, -0.2737091482, -0.5172780752, -0.4043233395, -0.0032045376, 0.6943181753, 0.6087837219, -0.4713353217, -0.1096384674, 0.087111339, -0.1749388278, 0.0414539203, -0.5124068856, 0.7853642106, 0.3289071023, -0.2568787932, 0.2742821872, -0.0081276326, 0.3259825408, -0.6717655659, 0.0467724651, 0.2096328735, 0.2868427336, -0.3864468038, -1.0842812061, 0.3784929514, -0.1769744754, -0.1516895741, -0.2505971491, 0.7537359595, -0.2859966457, -0.4842720926, 0.7356496453, 0.710909903, 0.0657163262, 0.0971966386, -0.269898802, 0.3213622868, -0.1471986771, -0.2183473557, 0.3837732673, 0.8217020035, 0.0313011147, 0.7915337682, 0.1089996174, 0.1987647116, 0.0625779256, 0.0371799394, 0.6482636333, -0.7880414724, -0.1409543604, -0.9247934222, 0.1634202898, 0.0943517461, 0.1411392093, 0.7960188389, 0.3884946406, 0.7635298967, -0.1276876926, 0.8057330251, -0.0398382209, 0.3975867927, -1.0834709406, 0.4669935703, -0.8242604136, 0.7236385345, -0.0094979275, -0.9157871604, -0.3049075902, 0.5085766912, -0.4451477528, 0.1091932431, 0.67894876, 0.5859463811, -0.0542371161, 0.0289580207, 0.4703826904, 0.656525135, 0.282691747, 0.5925792456, 1.1039600372, -0.1181842759, 0.5433515906, 0.1377962381, -0.0904725492, 0.0639617071, -0.7828499079, -1.1039680243, -0.2670290172, -0.0733270422, -0.2000276595, -0.0647777095, 0.9317191839, 0.295163542, -0.5270479918, -0.3238138556, 0.0180831235, 0.3215128779, 0.1721138954, -0.2033704966, 0.3895552456, -0.4202781022, -0.4515312612, 0.2233278602, 0.4219239354, -0.1162151694, -0.4056808054, -0.002892253, -0.0622814745, 0.1352798641, 0.8585249186, -0.0771914124, -1.1544442177, -0.4073599279, 0.1290008128, -0.0853244513, -0.2791653872, 0.8366573453, -0.7234511375, 0.1588329822, 0.5917092562, 0.6600817442, 0.1719043404, -0.340121299, 0.4468481839, -0.5167594552, -0.1033679917, -0.1771125644, 0.7722086906, -0.0859367698, -0.1006599739, 0.5775806904, 0.0949319229, -0.5378105044, -0.5591382384, 0.4125949144, -1.1740695238, -0.461319685, 1.4622511864, -0.2643977404, -0.1319759935, -0.2291643769, -0.0636486337, -0.030040985, 0.102461271, 0.4854160249, 0.6715283394, -0.19928734, -0.3677358329, -0.9260451198, 0.1181349978, 0.3909053802, -0.9024150372, 0.3288595974, 0.3953555226, 0.3188916147, 0.1534697413, 0.466124326, 0.0459255464, -0.0355017111, -0.3965643346, -0.1926081628, 0.113067627, -0.1531253159, -0.2191542536, 0.097840026, 0.3819797635, 0.4647767842 ]
http://arxiv.org/abs/2406.17526v1
http://arxiv.org/pdf/2406.17526v1
LumberChunker: Long-Form Narrative Document Segmentation
2024-06-25T13:08:35
2024-06-25T13:08:35
André V. Duarte, João Marques, Miguel Graça, Miguel Freire, Lei Li, Arlindo L. Oliveira
cs.CL
cs.CL, cs.IR, I.2
Modern NLP tasks increasingly rely on dense retrieval methods to access up-to-date and relevant contextual information. We are motivated by the premise that retrieval benefits from segments that can vary in size such that a content's semantic independence is better captured. We propose LumberChunker, a method leveraging an LLM to dynamically segment documents, which iteratively prompts the LLM to identify the point within a group of sequential passages where the content begins to shift. To evaluate our method, we introduce GutenQA, a benchmark with 3000 "needle in a haystack" type of question-answer pairs derived from 100 public domain narrative books available on Project Gutenberg. Our experiments show that LumberChunker not only outperforms the most competitive baseline by 7.37% in retrieval performance (DCG@20) but also that, when integrated into a RAG pipeline, LumberChunker proves to be more effective than other chunking methods and competitive baselines, such as the Gemini 1.5M Pro. Our Code and Data are available at https://github.com/joaodsmarques/LumberChunker
[ 0.0980826765, -0.8896211386, 0.6774217486, 0.4624841511, -0.6381552219, 0.6339853406, 0.1604460031, -0.6818856001, 0.4094946682, 0.4584080577, -0.4707190096, -0.4669761658, -0.6088887453, -0.03503884, -0.7970277071, 0.7380572557, -0.1488364637, -0.3009756804, -0.1817326993, -0.1064090282, -0.5869845152, -0.2201659381, -0.4758036733, -0.2279978544, 0.8613640666, 0.1585513204, 0.4508030117, 1.1065382957, 0.5556484461, 0.3176959753, -0.3178756833, -0.1536082029, -0.4189696312, 0.5745964646, -0.1950831264, -0.6198143363, -0.0867884681, -0.162388429, 0.7399753928, 0.513721168, -0.1372094899, 0.1115728095, -0.0787987635, 0.652582705, -0.4251183867, -0.1947802156, -0.7410091162, -0.0537760518, -0.770309329, -0.2518847883, -0.3188405931, -0.4756150842, 0.2805345654, -0.4887856841, 0.3907119632, 0.303593725, 0.9704135656, 0.175831899, -0.4313556254, -0.5350911021, -0.317299515, 0.8351965547, -0.4440330863, 0.3648327589, 0.3372136652, 0.1168009415, 0.0071030855, -0.9884017706, -0.2154007554, 0.0835386962, -0.0695211589, 0.0779243708, -0.2220348418, -0.2312345654, 0.1381960958, 0.533270061, -0.7718512416, 0.2292584926, -0.5139234662, -0.0450445265, 0.6301762462, 0.2251526117, 0.1185472161, -0.863967061, -0.5061798096, -0.1547414958, -0.2738561332, 0.2374434769, 0.4485017061, -0.1698217243, 0.2710750401, 0.5560147762, 0.2363622487, 0.5287255645, 0.3495208025, -0.5516408086, 0.1814397275, 0.0282889083, -0.1970654875, 0.2907223403, 0.5152924061, 0.4419180751, -0.3131605387, -0.0316837318, -0.2889903486, -0.3987615108, 0.4671773016, -0.785589397, -0.2662798464, 0.333588928, -0.5880866051, -0.1725677848, -0.0526686683, -0.7911878824, -0.510237813, -0.2236868739, 0.0010985306, -0.72679317, 0.1315307617, 0.0417760052, -0.771535933, 0.5107441545, 0.5145885348, -0.9765018821, 0.0700958371, 1.0533055067, 1.2181142569, -0.6442635059, 0.0272778831, -0.5115745664, 0.3264231682, -0.2919582129, 1.1917586327, -0.417828083, -0.5427030921, -0.2320053428, 0.1411426663, -0.033421088, -0.7853358388, 0.5760130882, -0.3885416389, 0.3266471922, 0.0370079316, -0.4330828786, -0.0512080081, 0.5989238024, -0.8137263656, 1.3973017931, 0.3036207259, -0.7368934155, 0.320985049, -0.0273126606, -0.3055659235, 0.300383538, -0.1715225279, -0.2501760125, 0.3633563221, 0.2073226273, 0.1959467679, -0.1993065178, 0.4620243907, 0.008324814, -0.0910287723, 0.0662788227, -0.5449723601, 0.6675477028, -0.1193292961, -0.0878183916, 0.2196602523, -0.7938392162, -0.0292158816, 0.0717018843, -0.5892714262, -0.5982100368, 0.0674246252, 0.2781963646, -0.1648150831, 0.164641425, -0.5601093173, 0.2661306858, -0.4574640095, -0.0410254411, 0.8335831165, 0.1113326177, 0.3478091955, -0.5616835952, 0.6176558733, -0.3982413709, -0.0791615248, -0.4937286377, -0.1716579199, -0.6560313106, -0.5354821086, 0.4941554964, 0.4928172231, -0.4585374296, 0.631267786, -0.1776268184, -0.5896295309, -0.2884368598, -0.1250065565, -0.0366903096, 0.5004613996, 0.359331876, -0.5056244135, -0.5345512033, -0.9118662477, -0.164544642, -0.1397428066, -0.5811828375, -0.0638952404, 0.2741274834, 0.0973719433, 0.9716287851, -0.8030468225, -0.2701900899, -0.0485704057, 0.331738323, 0.4650472105, 0.3066107929, 0.3531982303, -0.935274899, -0.6873373985, -0.1555441022, -0.5272164345, -0.0905348212, -0.4505651295, -0.2133931667, -0.065765366, 0.6026390791, -0.5187135339, 0.4362911582, 0.4254904985, -0.3125784099, 0.749342978, -0.1482846439, -0.2461123765, -0.9494590163, 0.1842261702, -0.1725148112, -0.2700826228, -0.1523032784, -0.0763884783, 0.0598358065, 0.2087082416, -0.1771125495, 0.6504849792, -0.5932795405, 0.0982548073, -0.2261174768, 0.4747104049, 0.2569094598, 0.3275281787, 0.0971306264, 0.2984754443, 0.1538366824, -0.0924230143, 0.2954663932, 0.4186970294, -0.5878240466, 0.953610003, -0.6706089377, 0.0958273187, -0.2789796889, 0.5632460117, -0.8175427318, -0.1606484056, 0.1416953504, -0.0598507971, 0.3852969408, -0.1975030452, -0.3681785166, -0.2093726546, -0.7112548351, 0.2636937797, 0.2058163732, -0.4771963358, 0.7629855275, 0.5084558725, -0.4521565437, -0.5272129774, -0.4352668524, 0.1798751801, -0.396898061, -0.723362565, 0.7328372002, -0.2449190766, -0.2987530529, -0.154654488, -0.6831838489, -0.1477797627, -0.057051979, 0.3575305939, 0.2253046781, -0.2228074968, 0.2124281824, 0.1531597972, -0.2960981429, -0.00283764, -0.373721838, 0.3846536577, 0.2164526135, -0.2473817319, 0.3944730163, 0.5355675817, 0.1298569888, -0.3557882607, 0.2856386602, 0.5033085346, -0.2706624568, -0.317440331, -0.7053460479, 0.2923691273, -0.4816072583, 0.3494203985, -0.1934333146, -1.03350389, 0.2031203359, -0.2064035833, 0.1913490891, 0.4883081317, 0.2693873048, -0.3335674107, 0.5891820788, 0.4756686389, 0.0456237569, 0.5462543368, -0.1516239196, 0.0574882776, -0.9711806178, -0.5761376619, -0.6320279241, -0.7932411432, -0.2862966657, -0.876886487, 0.248950541, 0.4707374573, 0.3093055189, 0.3188548684, -0.6471802592, 0.8338781595, 0.4342208803, -0.1647924632, 0.4372361302, -0.1055163965, -0.3366567791, -0.1029587016, -0.5833295584, -0.5247700214, 0.4952687919, 0.4354566336, 0.7692351341, -0.0906145945, 0.7460331917, 0.0783103183, 0.3510396481, -1.1766273975, 0.4472078681, -0.1568199694, -0.6696022749, -0.5638908148, 0.0363288522, -1.3883856535, 0.4001316428, 0.0004397271, -1.0873054266, 0.307418257, -0.303729862, -0.1756686866, 0.2390096933, -0.2091284841, 0.6707710624, -0.7441433072, -0.2577369511, -0.1567154229, -0.7267147899, 0.0010062011, -0.5599618554, 0.0235301089, -0.4840310514, -0.2372171283, 0.9477398396, -0.0995898247, 0.5765733123, 0.0275494251, -0.0686884522, 0.3057666421, 0.1972008646, 0.4524919391, 0.0904669017, -0.18802692, 0.0358918272, 0.2924815416, -0.2759349346, -0.5675524473, 0.4225941896, -0.2891195118, -0.6728659272, -0.6158659458, -0.421361357, 0.0587462597, 0.5921518803, 0.1124264374, 0.4889176488, -0.4755959213, 0.9526949525, 0.4327655733, -0.0223521162, 0.5647920966, 0.395548135, -0.4342033565, -0.4087921381, 0.4915448725, 0.148029685, -0.3912326992, 0.8196179271, 0.3312062025, -0.3721143603, -1.0035769939, -0.2631462812, 0.352506727, -0.6280367374, -0.3371414542, -0.5956870317, -0.2023065686, 0.2131450921, -0.5519640446, -0.244796738, -0.351714313, -0.1118856147, -0.3324236572, -0.0617723241, 0.6386768818, 0.3465791643, 0.3652772307, -0.9689462781, 0.2270326018, 0.1611470878, 0.3413362801, -0.0421209186, -0.328663677, -0.3627631962, -0.5924353004, -0.494215399, -0.7805472612, 0.4767515957, -0.1118721068, 0.7561628222, 0.2186529636, 0.0451874807, 0.7103094459, -0.6057716012, 0.5937057137, 0.3140480816, -0.7793464065, 0.3907275796, -0.5604652166, 0.8563479185, 0.7789652944, 0.7630224228, -0.9514164925, -0.4205508232, -0.5883648396, -1.2079770565, 0.555832088, 0.0276867505, -0.0840787813, -0.1064617112, 0.03332223, 0.3042916656, 0.0298897512, -0.5069032907, 0.3231088817, -0.1038742885, -0.2106779218, 0.2756929994, -0.3775562346, -0.0505481698, -0.0313532464, 0.3820670545, -0.3229919076, -0.1811664402, 0.2454663515, -0.2635415196, -0.1136321574, 0.1390435398, 0.0578927398, 1.1199431419, -0.4161460102, 0.1414652914, 0.0796942636, -0.5731118321, 0.0836828128, 0.2359189689, -0.1982244551, 0.3060919642, 0.7709097266, 0.6825188994, 0.4829739034, -0.7158905268, 0.3462306261, 0.0087831253, -0.4726034999, -0.2742964625, -0.0774377808, 0.3477189243, 0.5795449018, 0.8243649006, -0.155709669, -0.0380217209, -0.3502582908, 0.3171775341, 0.2848504782, -0.4309364259, -0.1496267319, 0.3156277239, 0.2880397141, -0.6973260641, 0.8247548938, 0.2503903508, -0.4261060953, 0.4794868529, 0.3827590048, 0.9193774462, -0.112805292, 0.3252234757, 0.2283412963, 0.1465473473, -0.1034929976, -0.2449071407, -0.2178322673, -0.3275793195, -0.3312260509, -0.9057465792, -0.3199475706, 0.059688665, -0.4541909993, 0.4503684342, -0.4168452024, -0.0946372673, -0.0074390098, -0.0736258328, -0.252206713, 0.155585885, 0.1449601948, 1.1295439005, -0.0607102625, 0.7935931683, 0.2494917661, 0.0890425146, -0.6934683919, 0.3503703475, 0.2120951116, -0.5189098716, 0.3697952926, 0.3896643519, 0.0281239282, -0.2412413359, -0.268256247, -0.9942172766, 1.4475756884, 0.1295669526, -0.7400840521, -0.627517581, -0.1114459783, 0.5362938643, -0.0633819029, 0.3501342237, 0.5146918297, 0.6006264091, 0.4680069387, -0.7945470214, -0.2019565254, -0.1099834889, -0.0805609971, 0.5647527575, -0.6225177646, 0.5301865935, 0.3515220881, -0.3827497065, 0.1370181888, 0.569288373, 0.3258534372, 0.4651142061, 0.757842958, 0.2051577419, 1.1477468014, 0.0038091938, 0.7907495499, -0.0868314728, 0.1736809015, 1.2021940947, -0.0599522702, 1.054707408, 0.5865235925, -0.1174317226, 0.8549815416, 0.5230107307, -0.2675006092, 0.2623556554, 0.3996998072, -0.0897226706, 0.0044149444, -0.0858912691, -0.0886871293, 0.6890158057, 0.1731220633, -0.3346109092, -0.4684856832, -0.2887097895, 0.0702531636, -0.0156482253, 0.0307033136, 0.6591048241, 0.2678612471, -0.8103840947, 0.3898915946, 0.2080462575, 0.6358326077, -1.1934661865, 0.0812786296, -0.2842932045, 0.1119135916, -0.1855351925, -0.878058672, 0.5678162575, -0.0229347274, -0.1862727255, -0.6177761555, 0.9935738444, -0.3436207771, -0.4829524457, 0.2997553349, 0.4585511386, -0.0334358327, -0.1864700615, -0.7004005313, 0.2642249465, 0.0790199265, -0.4156059325, 0.3967741132, 0.6356785893, -0.2649310529, 0.4031096995, 0.6757854223, -0.1454938948, -0.147543788, -0.2989501655, 0.8349121213, -0.8137676716, -0.6579669714, -0.8015084863, 0.7462228537, -0.4084407389, -0.3962154388, 1.0802224874, 1.0427416563, 0.6594384313, 0.0506597124, 0.3855656087, -0.0801745504, 0.5254632831, -0.5012004375, 0.4260534644, -0.3564376533, 0.1472405642, -0.1371524036, -1.1999204159, -0.2768349349, 0.4463294148, -0.2946841717, -0.4982308745, 1.1502506733, 0.4867232144, -0.0384571888, 0.0512138158, 0.106906794, -0.0246720277, 0.4652568996, 0.1998302341, 0.904499948, -0.0250340272, 0.7690031528, -0.0018617085, -0.1107488722, -0.0545824431, -1.109112978, -0.7657131553, -0.5267173052, -0.1886213422, -0.0303017795, 0.0285328254, 0.6491815448, 0.7994859219, -0.3267685771, -0.6438587904, 0.3786967993, 0.3228571713, -0.0159726217, -0.210099712, 0.4345733821, -0.0995277539, -0.6055521369, 0.7089922428, 0.7245978713, -0.2784845233, -0.1098356098, 0.0937599465, -0.4309287667, 0.1734881699, 0.5723173618, -0.0071687545, -0.4746105969, -0.2950483561, 0.1317488849, 0.0519295037, 0.5241938233, 1.2120082378, -0.8214386106, 0.3992868066, 0.7134861946, 0.6363147497, 1.2469670773, 0.3234433234, 0.3802684247, -0.9159761667, -0.0579241589, 0.5909941196, 0.0655994043, 0.306538105, -0.238377288, 0.6213233471, 0.3263475299, -0.5628815889, -0.5692957044, -0.0917189941, -1.1363735199, -0.538498044, 0.8739135861, 0.0267108455, -0.5575762391, -0.21431382, -0.5599904656, -0.1917223036, -0.3128422499, 0.6362327337, 0.8208808303, -0.1808578223, -0.276417315, -0.1978960335, 0.1533914953, 0.0315135606, -0.9276126027, -0.0344576091, 0.7460566759, 0.1436681002, 0.3657172024, 0.8542132378, -0.0320604555, -0.1644030958, 0.2237436473, -0.4491560161, 0.0824781284, -0.2713601589, -0.1587506384, 0.6266416311, -0.0696757734, 0.2342197299 ]
http://arxiv.org/abs/2406.17519v1
http://arxiv.org/pdf/2406.17519v1
Entropy-Based Decoding for Retrieval-Augmented Large Language Models
2024-06-25T12:59:38
2024-06-25T12:59:38
Zexuan Qiu, Zijing Ou, Bin Wu, Jingjing Li, Aiwei Liu, Irwin King
cs.CL
cs.CL
Augmenting Large Language Models (LLMs) with retrieved external knowledge has proven effective for improving the factual accuracy of generated responses. Despite their success, retrieval-augmented LLMs still face the distractibility issue, where the generated responses are negatively influenced by noise from both external and internal knowledge sources. In this paper, we introduce a novel, training-free decoding method guided by entropy considerations to mitigate this issue. Our approach utilizes entropy-based document-parallel ensemble decoding to prioritize low-entropy distributions from retrieved documents, thereby enhancing the extraction of relevant information of context. Additionally, it incorporates a contrastive decoding mechanism that contrasts the obtained low-entropy ensemble distribution with the high-entropy distribution derived from the model's internal knowledge across layers, which ensures a greater emphasis on reliable external information. Extensive experiments on open-domain question answering datasets demonstrate the superiority of our method.
[ -0.0774330646, -0.3565717638, 0.6133310795, 0.1528579295, -0.4419097006, -0.0497056954, -0.4794231653, -0.4607563317, 0.2280145586, 0.3807986379, -0.2985894978, -0.3606176972, -0.5784282684, 0.074966915, -0.302831769, 0.7806087732, 0.0093742618, 0.1691699922, -0.6278509498, 0.1454079598, -0.0268162228, -0.4469233155, -0.6420034766, -0.3635037839, 0.4554686248, 0.1359778345, 0.1467285007, 0.4824104905, 0.5222251415, 0.2729610205, -0.1510132253, 0.3235273957, -0.6432292461, 0.374048382, -0.2543777227, -0.5873927474, 0.0400191396, -0.4317863882, 0.6863254309, 0.4074707031, -0.1434586942, -0.0058194236, 0.3182399869, 0.5046699047, -1.1047730446, 0.3352387846, -0.8752319217, -0.2474483401, -0.0435650982, -0.6019749641, -0.6561814547, -0.0451389998, -0.1016413495, -0.592253387, 0.2179960608, 0.0329307392, 0.4764623642, 0.3023864925, -0.1438317001, -0.4050824046, -0.5545445681, 0.8702841997, -0.56349051, 0.4990436137, 0.8711333871, -0.2205031216, 0.1896976531, -0.4121280313, -0.3378814161, 0.0917343497, -0.0453045294, 0.1668831557, 0.0310279932, 0.0051097129, -0.0970208794, 0.4057566524, -0.4274380803, 0.061379157, -0.3016915321, -0.2435891777, 0.4224103987, 0.0375517756, 0.1405317932, 0.0373483934, -0.2059020251, -0.2466569245, -0.4018676281, -0.1432128698, 0.260299772, 0.3994333148, -0.1268023551, 0.3543843031, -0.4335540831, 0.4617215395, 0.2200838625, -0.0898521543, 0.4022231102, -0.1802586615, -0.407891959, 0.1881752908, 0.5251576304, 0.1504597515, -0.2057306916, -0.6497585773, -0.3498689234, -0.3895269036, 0.1778670996, -0.8614429832, -0.1186547801, 0.3866009414, -0.3881546259, -0.2696961462, -0.0023299826, -0.6224134564, -0.5192096829, -0.2461486608, 0.4068056643, -0.6563948393, -0.169337973, 0.0707518682, -0.3590269089, 0.2086779475, 0.4851815999, -1.0087660551, 0.0299065262, 0.6308806539, 0.6923527718, -0.1041824818, -0.0997436866, -0.7283921838, 0.4538788795, -0.3065343797, 0.719741106, -0.6031191945, -0.1598828733, -0.0266318228, -0.2102749795, -0.1665187031, -0.6660049558, 0.5230197906, -0.9826187491, 0.0966798067, -0.3508574665, -0.6396006942, 0.0345314443, 0.4117854536, -0.4791933, 0.6520878077, -0.0750301555, -1.1305522919, 0.0625414103, -0.2947650552, -0.2920522988, 0.1188137829, -0.0113592502, -0.0451917797, 0.1750422418, 0.4164201021, 0.2328304201, -0.4299937189, -0.0192916803, -0.2763736546, -0.4258134663, -0.0218464565, -0.57601583, 0.6414989829, 0.3674387336, 0.1183225587, -0.0313519649, -0.8690622449, 0.1781463176, 0.0365710184, -0.7430339456, -0.7751420736, -0.0538913496, -0.2731122673, -0.0510735698, 0.3666940629, -0.4916161001, -0.1327395588, -0.4867396057, 0.0649933517, 0.7586304545, 0.2073969245, 0.5705763102, -0.371986568, 0.2108008265, 0.3774192929, -0.4282647073, -0.1281792074, -0.0840980038, -0.6255578995, -0.7434443831, 0.0685192123, 0.7915925384, -1.1120252609, 0.4631557465, -0.3413540721, -0.226902768, -0.6153956056, 0.4354602098, 0.3978474438, 0.637932241, 0.4943323135, -0.1378590018, -0.5458942652, -0.4593914449, -0.1676834375, -0.171727404, -0.2676294446, 0.2581814229, 0.3566709459, -0.1140435487, 0.4408176541, -0.4757059216, -0.0318058096, -0.0297899786, 0.1331971735, 0.0496700257, 0.5786914229, 0.0443790555, -0.5488340259, -0.3753693104, -0.0464661382, -0.8575545549, 0.1192367673, -0.0284758769, -0.3752268553, 0.2138807774, 0.7246454954, -0.7942644954, 0.1418518275, -0.0080254879, -0.0406917743, 0.3740099669, -0.3144934475, 0.1408116072, -1.0063972473, 0.1528236121, -0.1055976003, 0.0623707473, -0.4131837785, 0.3198261559, 0.2265863121, 0.1565387994, -0.3114163578, 0.6604042649, -0.5295366645, 0.2928050756, -0.2127201855, -0.1024685651, 0.0805497915, 0.3850881457, 0.289719671, 0.763515234, 0.5196937323, -0.6214405894, 0.211406514, 0.2209371179, -0.6135401726, 0.6106486917, -0.1891601533, 0.3630261123, -0.6612468362, 0.072243847, -0.7947812676, -0.4873933494, 0.2143373787, -0.2973873317, 0.4850013554, -0.1951856017, -0.5698361993, -0.1527670473, -0.4624962211, 0.468533814, 0.3653148413, -0.6701537967, 0.2648186982, 0.0604321398, -0.210534811, -0.7299853563, -0.806766808, -0.0746605918, -0.3071537614, -0.5457923412, 0.1745430827, -0.2595239878, -0.4430981576, -0.1257144958, -0.1492246538, -0.2871598303, 0.0714260638, -0.1680270135, -0.0152773438, -0.2344613969, 0.3871210515, -0.0658314899, 0.3285644054, 0.0130477222, -0.439149797, 0.4763185382, 0.2067682445, -0.2645330727, -0.2344459742, 0.3955544829, 0.4615210593, -0.3632349074, 1.1367075443, 0.6361732483, -0.3599367142, -0.2715625167, -0.5451236367, -0.3084254265, -0.5125488639, 0.2853049338, -0.3846651614, -0.733818233, 0.6596146822, 0.2970537543, -0.2441190928, 0.2677852511, 0.568104744, -0.0905701518, 0.5351265669, 0.4508061409, -0.2229001522, 0.6072192788, -0.018616626, 0.0420334414, -0.8713929653, -0.4414868057, -0.4953353107, -0.0352197066, -0.1479658335, -0.6478999853, 0.1819203049, 0.2691388726, -0.3092343211, -0.1420381963, -0.4538820386, 0.4831237495, 0.8139926791, 0.4405447841, 0.2553342879, 0.4304683208, -0.237802133, 0.2034619898, -0.6003851891, 0.0227546282, 1.0573388338, 0.0762623027, 1.0761324167, 0.141077444, 1.0916478634, 0.167849198, 0.0754237175, -0.5755187869, 0.3546789289, 0.0333345644, -0.444316119, -0.4796815813, -0.7727108002, -0.9240559936, 0.4655773342, -0.0359166078, -0.91988343, 0.3995357454, -0.0438829474, -0.2768312395, 0.4206622839, -0.7600387335, 0.3675089478, 0.06832809, -0.6105821729, -0.0921135321, -0.5624320507, 0.4899301231, -0.1149280295, 0.159675017, 0.2024715096, 0.0341646187, 0.5350993872, -0.2716273963, 0.7521333098, -0.1566147655, -0.3838948607, 0.4379188716, 0.0470267311, 0.7955679297, -0.0047405977, -0.5932810903, -0.2402749956, 0.04399902, -0.3939558268, -0.4615163207, 0.7995685339, -0.7470079064, -0.6893270016, -0.2193548679, -0.9631325006, -0.3787367344, 0.2360362262, 0.4079482257, 0.3542392552, 0.0164128821, 0.4879045784, 0.9251030684, -0.2727220058, 0.4568073153, 0.5501070619, 0.4115531743, -0.6649085283, 1.1335250139, 0.0288310312, 0.0830120221, 0.8345995545, -0.0592450872, -0.3445931077, -0.6381908655, -0.0851059929, 0.1001364887, -0.9387893081, -0.3928971589, -0.6072205901, -0.29469347, -0.6943009496, 0.0388353132, 0.0640207157, -0.1490754187, -0.6786830425, -0.1008148193, 0.157475695, 0.3162328899, -0.1140421778, 0.1183651388, -0.8641783595, 0.2526128292, 0.244124338, 0.4926152825, 0.1962454319, -0.6502657533, -0.583052516, -0.024656659, -0.0607157685, -0.6820415258, 0.4614428878, 0.0558690391, 0.589264214, 0.2846031487, 0.5204723477, 0.5443629622, -0.3658322692, 0.5165029764, 0.0398066565, -0.6726346612, 0.3751399517, -0.4081854522, 0.4882939458, 0.5656309128, 0.1860089749, -0.1275024414, -0.5050570965, -0.3835386336, -1.056692481, 0.9064241052, 0.0610219054, 0.1666256636, -0.3418570459, 0.2166066468, 0.0112491511, 0.2958431244, -0.6044161916, 0.2117708027, -0.0501338057, -0.5405039787, -0.0298142452, -0.3997438252, -0.1940082163, -0.0733989254, 0.7966898084, -0.044472836, 0.4318279028, 0.3410466909, -0.428483963, -0.1963700652, 0.4862399101, 0.5759676099, 0.3654124141, -0.5904787183, 0.4252292216, 0.1392985433, -0.4094246924, 0.0352710485, 0.1474244595, -0.2072137743, -0.1963876635, 0.4323492646, 0.7413458824, -0.1442961693, -0.5949231982, 0.285307318, 0.1664554924, -0.162470296, 0.0005770577, -0.0380239971, 0.1312568635, 0.3975713551, 0.5985527039, 0.0503530167, 0.1786025614, -0.342520237, 0.228151083, 0.6045008898, -0.0977264717, -0.1367154121, 0.4697245359, 0.1403072178, 0.0223658662, 0.6369213462, -0.1767240167, -0.0000469001, 0.505378902, 0.7127625942, 0.7724667192, -0.0808062032, -0.0637313649, 0.4137251079, 0.3903280795, -0.3230162561, 0.3346319795, -0.3397616148, -0.7023047209, -0.2937721312, -0.7155314684, -0.218158856, 0.3801622689, -0.7497903109, -0.1726775914, -0.2843001187, 0.2557246685, -0.4260372519, -0.1635630578, -0.5700709224, 0.2963367105, 0.3664034605, 0.97808218, -0.330449909, 1.0231912136, 0.3081460297, -0.39459759, -0.3939141333, 0.5430364609, -0.2398121655, -0.8613393307, 0.556925416, 0.0295752492, -0.2655373514, 0.0945496559, -0.5999481082, -1.0575091839, 1.0437746048, 0.7475506663, -0.2757169902, -0.135331437, -0.2111332864, 0.4895353615, -0.1254794896, 0.2823428512, 0.1558643579, 0.1767293513, 0.1673536748, -0.6558323503, 0.1652136147, -0.3098802269, -0.1707171947, -0.0605435148, -0.5760806203, 0.5814106464, -0.1599680185, -0.2662681937, 0.2193137556, 0.6324987411, 0.1649217755, 0.3604683578, 0.2118879259, 0.6290496588, 1.1464517117, 0.3165365756, 1.2094610929, -0.6070104837, 0.201913029, 1.2993901968, -0.2220699936, 1.1566979885, 0.6316100955, 0.0739526451, 0.4035598338, 0.439391613, 0.2839223146, 1.0393687487, 0.223480612, -0.6358676553, -0.3506008983, -0.0821955055, -0.4492546022, 0.131705001, 0.5070171356, -0.5864945054, -0.2809178829, -0.0852191076, -0.3036527634, -0.0925570875, -0.5237432718, 0.9167478085, 0.0811466724, -0.7081302404, 0.9114313126, 0.1339692473, 0.7787847519, -0.568952322, 0.3629634976, -0.3020429909, 0.2196957767, -0.1609982997, -0.7208551168, 0.2114359438, -0.1445672065, -0.5063075423, -0.1839668304, 0.9027764797, -0.8173450828, -0.3950204253, 0.2313893139, 0.5174844265, 0.1902854592, -0.2431793213, -0.2792636156, 0.0133339139, -0.079769291, -0.1651851088, 0.539460063, 0.5470972061, 0.2221343517, 0.5707532167, 0.5037780404, -0.1322951019, 0.0405294299, -0.0098504862, 0.8280196786, -0.3627074659, -0.6777384281, -0.7923534513, 0.2912604511, 0.0124151334, 0.2362162918, 0.688167274, 0.509636879, 0.6694580913, -0.2970567048, 0.830933392, 0.253223896, 0.4356735051, -0.7566747665, 0.6883926988, -0.5769098997, 0.505577445, -0.0077079148, -0.5848509669, -0.201256305, 0.3416849375, -0.4221844077, 0.0253226422, 0.5777803063, 0.9504945874, -0.1739833206, -0.2807650864, 0.3799429238, 0.0996767208, -0.13697128, 0.5821906328, 0.7195283771, -0.1910623014, 0.8401574492, -0.1060220003, 0.0632979721, -0.1991778761, -0.526332438, -0.8538697362, -0.4727630317, -0.1801495999, -0.4576820433, 0.2220535725, 0.8448462486, 0.5973966718, -0.7970607281, -0.0448198803, -0.0425876379, 0.3125655949, -0.0792756751, -0.2281456739, 0.4261854291, -0.8263652325, -0.5837836266, 0.6750943661, 0.0528896451, -0.0356501639, 0.2174206525, -0.1608837694, -0.2763666809, 0.4042318463, 0.6382703185, 0.2494283319, -0.4949202836, -0.203601405, -0.093941316, -0.3173784316, 0.3038556278, 0.5717929006, -0.6602708697, 0.3777568936, 0.9150168896, 0.8860116005, 0.4585295618, 0.076504983, 0.4806085527, -1.0918507576, 0.3234906197, 0.0755833089, 0.2414183468, 0.5012254715, -0.719222784, 0.3269779682, 0.2786715031, -0.2448893487, -0.9134725332, -0.0507110544, -0.6843131781, -0.4759444892, 1.2761290073, -0.2822292447, -0.230902791, -0.0204958972, 0.0606754459, 0.1327481419, -0.5322156549, 0.8628874421, 0.7743595243, 0.1808302402, -0.4415732026, -0.2209920734, 0.4950826466, 0.4637932181, -0.7924736738, 0.1932233423, 0.4734437168, 0.3773374557, 0.1802843511, 0.6945907474, 0.0298084375, 0.1415652186, 0.2053860873, 0.0006955717, -0.010416274, -0.1671530604, -0.4694646895, 0.4808552861, 0.1101320162, -0.2541078925 ]
http://arxiv.org/abs/2406.17513v2
http://arxiv.org/pdf/2406.17513v2
Benchmarking Mental State Representations in Language Models
2024-06-25T12:51:06
2024-07-01T06:48:34
Matteo Bortoletto, Constantin Ruhdorfer, Lei Shi, Andreas Bulling
cs.CL
cs.CL, cs.AI
While numerous works have assessed the generative performance of language models (LMs) on tasks requiring Theory of Mind reasoning, research into the models' internal representation of mental states remains limited. Recent work has used probing to demonstrate that LMs can represent beliefs of themselves and others. However, these claims are accompanied by limited evaluation, making it difficult to assess how mental state representations are affected by model design and training choices. We report an extensive benchmark with various LM types with different model sizes, fine-tuning approaches, and prompt designs to study the robustness of mental state representations and memorisation issues within the probes. Our results show that the quality of models' internal representations of the beliefs of others increases with model size and, more crucially, with fine-tuning. We are the first to study how prompt variations impact probing performance on theory of mind tasks. We demonstrate that models' representations are sensitive to prompt variations, even when such variations should be beneficial. Finally, we complement previous activation editing experiments on Theory of Mind tasks and show that it is possible to improve models' reasoning performance by steering their activations without the need to train any probe.
[ -0.6371397972, -0.5667370558, 0.8887410164, -0.0114953583, -0.1454135776, -0.193797648, -0.4874104261, -0.3310255408, 0.0805307478, 0.1780973971, -0.5050362945, -0.0756773725, -0.5661297441, 0.2526632249, -0.1277328134, 0.5045830607, -0.2017818689, 0.2028857619, -0.3037798107, -0.3243076801, -0.5630857348, -0.5892973542, -0.6101737022, -0.5689937472, 0.4546632469, 0.003738302, 0.6814753413, 0.4451577961, 0.4247105718, 0.1917907149, -0.163830936, 0.2547429204, -0.4876859784, 0.3431359231, -0.4253937602, -0.7411902547, -0.1619192064, 0.2471515983, 0.9104872942, 0.6136858463, -0.1611212194, 0.2287407368, 0.1193883345, 0.422509253, -0.7756177187, 0.3052013814, -0.7634724379, -0.0788842887, -0.0872292668, -0.0000310732, -0.6332941651, -0.2759608328, 0.1058113277, -0.3973375857, 0.2784445286, 0.2305296361, 0.734503448, 0.2877093852, -0.3788763583, -0.0072453087, -0.7083547115, 0.7147372365, -0.8678610325, 0.5461342335, 0.4303497374, 0.2092221975, -0.177035898, -0.4144742191, -0.5022674203, -0.5237910151, -0.1792678535, -0.1063988954, -0.1688252687, 0.1669595838, 0.8352310061, 0.4477489889, -0.242924124, -0.0450905338, 0.0840720087, -0.1973003745, 0.4307615459, 0.4826802909, 0.0882991105, 0.1099731103, 0.0925970227, -0.5055521727, -0.6153330207, 0.1739914566, 0.1015112773, 0.3239504397, 0.1155903637, 0.6237232089, -0.3366009891, 0.6158245206, 0.2490567863, 0.1762845963, -0.1514721513, -0.0422659256, -0.3714296222, -0.347294867, 0.6109498739, 0.485317111, 0.2033893466, -0.0256995354, -0.4109455347, 0.4224079251, 0.350383848, -0.7667374015, -0.2382728457, -0.0644658878, -0.3447613716, 0.2254999578, -0.0875830054, -0.3501596451, -0.6578163505, -0.2897943258, 0.5647680759, -0.6487240195, -0.3818183243, 0.2582172453, -0.1174822301, 0.1094965413, 0.3591381609, -1.0327528715, 0.490142405, 0.6058760881, 0.6410039067, -0.0441689305, -0.3566346467, -0.2888391912, -0.044538632, -0.7707361579, 0.7872447968, -0.6252934933, -0.4999896288, -0.047976356, -0.1366960555, -0.2494129688, -0.575396657, 0.3528544009, -0.3889911473, 0.0799604431, -0.9415302873, -1.1237221956, -0.1930423677, 0.2598010302, -0.765065372, 1.0225690603, 0.0694758445, -0.718826592, 0.4124970734, -0.4011993408, -0.1521496177, -0.1488171071, -0.500880003, -0.0403609648, 0.6615395546, 0.1532990783, 0.5056356788, -0.4932861328, 0.1127733737, -0.3428600729, -0.5032880902, 0.6293459535, -0.2395200878, 0.5659157634, 0.0737835839, -0.2501922846, 0.1521335244, -0.4707655311, 0.1505140364, 0.2982460558, -0.1893036515, -0.4017109275, 0.1795984656, -0.418152988, -0.0095709143, 0.1550973058, -0.4961757064, 0.3010180891, -0.3218067884, 0.1504961103, 0.5287953019, 0.1544923186, 0.3882957399, -0.452203244, 0.436106056, 0.1332287788, -0.0920418277, -0.2823800147, -0.4691358805, -0.9227807522, -0.0073791407, 0.2564788163, 0.2306223065, -0.3094300032, 0.1188502312, -0.0808745101, -0.517226398, -0.6858959198, -0.0812571123, 0.3357634246, 0.3202677369, 0.291310519, -0.3109412491, -0.1718436033, -1.1293119192, -0.6965962052, -0.2072043568, -0.0562414117, 0.1683379412, 0.5237854719, 0.054160744, 0.9032306075, -0.5620493293, 0.1046018526, -0.176085934, 0.2549575567, 0.0990789384, 0.3876937628, 0.5858363509, -0.3114298284, -0.2232259512, -0.2628287077, -0.5743190646, 0.1946390867, -0.1341259778, 0.0186177194, 0.1030176058, 0.4523343444, -0.8140949011, 0.3416269124, 0.242529586, -0.3540214002, 0.5239773393, -0.2807749212, 0.3096382618, -0.7572970986, -0.0201255102, 0.2541053891, -0.1927455068, -0.6321191788, 0.3472164869, 0.6312437654, -0.0894737989, -0.0721670836, 0.6038745642, -0.5587004423, 0.1147210449, -0.2727984786, -0.058331728, -0.097846441, 0.541811645, -0.001723813, 0.8585652709, 0.5319797397, -0.6190196276, 0.0334392115, -0.1604028344, -0.6714631915, 0.4851364493, -0.5874378085, 0.4473646283, -0.1758137345, 0.0591657721, -0.8734047413, -0.0646694303, 0.0423204117, -0.2402085215, 0.3226195276, 0.0035116735, -0.7651905417, -0.1590610743, -0.0773226023, 0.2812457085, 0.5734708905, -0.2772571743, 0.5692488551, 0.1944154948, 0.1981147975, -0.1343444884, -0.4108431041, -0.1340153664, -0.405202657, -0.2100426257, 0.3477336168, -0.2046112716, -0.5350885391, -0.0961700678, -0.3527038395, 0.0651556402, 0.1777371913, 0.1439039707, 0.0954001471, -0.3018567264, 0.1749508381, 0.0891950428, 0.0459215529, 0.4650260508, -0.0893252641, 0.4875226915, -0.2314733565, -0.4682650268, -0.3541076183, 0.4723829627, 0.4723742604, -0.4400144815, 0.7782649398, 0.2074207962, -0.7583848238, -0.4269972146, -0.7398662567, -0.490539521, -0.4871796966, 0.1896075159, -0.6880508065, -0.9449648261, 0.58057338, -0.0926706716, -0.0062283836, 0.4770966172, 0.4446418583, -0.1473301202, 1.3051612377, 0.6706724763, -0.1361733824, 0.4202696383, -0.048960913, -0.0088138739, -0.8711531758, 0.0695966929, -0.454595089, -0.2082873136, -0.364351511, -0.5439395905, 0.2223594189, 0.2210351676, -0.2762567699, 0.2173018008, -0.3180690408, 0.531802237, 0.5234798789, 0.169943735, 0.1206587926, -0.2277946621, -0.5304676294, -0.2974436879, -0.5714328289, -0.6276625395, 1.024862051, 0.3316472769, 0.7915530205, 0.0368818268, 0.4950704575, 0.1606736928, 0.2770177722, -0.6868411303, 0.7892846465, 0.1055423841, -0.8029851317, -0.171919331, -0.2562529445, -0.6237307191, 0.3416582346, -0.1516593993, -0.9416717291, 0.2119384557, 0.2212315649, -0.3772327006, 0.3406858742, -0.6510130763, 0.7380555272, 0.0098537188, -0.060077861, -0.6002416611, -0.1782687157, 0.1536183208, 0.1597367525, -0.3072282076, -0.2733424008, 0.1254859716, 0.644862473, -0.0795049742, 0.8974983096, -0.2418513298, -0.3577982485, 0.2188483328, 0.5402439833, 0.6059722304, 0.0612465926, -0.2058725208, -0.1178842485, 0.1467577219, -0.2769039869, -0.8887675405, 0.5094550252, -0.5359082818, -0.9398017526, -0.2831674516, -0.7339031696, -0.6597169638, 0.1898667663, 0.1715371758, 0.4912656844, -0.3614017367, -0.0165177248, 0.9690726399, 0.086054787, 0.1945174187, 0.4796588719, -0.2845925391, -0.0237968415, 0.6258542538, 0.1633285582, 0.3914302289, 0.357622236, -0.0347881131, -0.237813741, -0.5318258405, -0.2751305103, 0.3180109859, -1.0163034201, 0.0415328965, -0.3396606743, 0.027313849, -0.3363526762, 0.3194076717, -0.5596801639, -0.2381213754, -0.3523586988, -0.0454180501, 0.3973829746, 0.8368860483, 0.1832374483, 0.0460376926, -0.1810113341, 0.2408867627, 0.3780258, 0.6028606892, 0.1154030859, -0.5167720318, -0.4775128067, 0.0455679446, -0.1597786695, -1.104391098, -0.0675468519, -0.0074355914, 0.8055630326, 0.4647320509, 0.0329058841, 0.7279161811, -0.4993562698, 0.7094144821, -0.0965118408, -1.0362907648, 0.6193768978, -0.4194022715, 0.4479145408, 0.5502379537, 0.4507577419, -0.6089389324, -0.5671599507, -0.4036683142, -0.1747808754, 0.5343449712, -0.0779369324, 0.1036355346, -0.1719813198, 0.5908672214, 0.0738869682, -0.0271466728, -0.462744385, -0.3917846084, -0.0650570467, -0.0272756089, -0.2751076519, -0.3325894177, -0.281971395, -0.4189804196, 0.4184636772, -0.2664137185, 0.5168044567, 0.27207762, -0.1823158413, -0.0730876923, 0.2247453481, 0.6702108383, 0.6916734576, -0.1954056472, 0.210436359, 0.436948806, -0.08987239, 0.1315242052, 0.0650670975, -0.1299868077, 0.0373277739, 0.232553035, 1.0073481798, 0.2455602437, -0.5245611668, 0.017801363, -0.1755208224, 0.0130932936, 0.0200376548, 0.5216536522, 0.2036571056, 0.4352446795, 0.2185187787, 0.0977950096, 0.0123349056, -0.5021035075, -0.2384999841, 0.4985488057, -0.3190860152, -0.4485148489, 0.6670632958, -0.2840166092, -0.337751478, 0.5058099031, -0.3748015165, -0.3099786937, 0.4378257692, 0.6122903824, 0.778311193, -0.3518487215, -0.0271308273, 0.4909855425, 0.4703437984, -0.4300088584, 0.4385548532, -0.0833138749, -1.0432995558, -0.1934247762, -0.0813176185, -0.6693426371, 0.3355104923, -1.0120776892, -0.0489526466, -0.5294344425, -0.5934119821, -0.1926078647, 0.0588119626, -0.9357992411, 0.2923020422, 0.359523356, 1.0861039162, -0.7038382888, 0.9345260262, 0.9769889712, -0.2676248252, -0.8661800027, 0.1350853294, -0.0170601495, -0.5417361856, 0.2540084422, 0.1694846898, -0.2863830626, -0.003427559, -0.3674717546, -0.983286202, 0.8121764064, 0.7003697753, -0.5602989793, 0.0568206087, -0.0367840901, 0.6145985126, -0.4051141739, 0.2915935814, 0.6899352074, 0.3293001354, -0.6537026167, -0.9354224205, 0.3255949914, -0.3245619833, 0.1988571882, 0.0729596913, -0.5277158022, 0.9781346321, -0.1633045226, -0.5516846776, 0.1614044309, 0.7984824181, 0.3520084321, -0.0153450929, 0.5442822576, 0.5555551052, 1.0231206417, -0.2008894384, 1.2286239862, -0.3298392892, 0.3909988701, 1.2009234428, -0.3355506957, 0.8407754898, 0.4447264373, -0.2696875036, 0.430986315, 0.6917436719, -0.0154077783, 0.4774220288, 0.3618194163, -0.1661076397, -0.4230360985, -0.0077995174, -0.3607277572, 0.1678374559, 0.6111305952, -0.2863606215, 0.0483947769, -0.039951317, -0.1371358186, 0.1210740656, -0.2476238906, 0.5661767125, 0.1005666852, -0.9720733166, 0.6391942501, 0.0658963397, 0.5215001702, -0.5261054039, 0.1696301848, -0.4688796699, 0.1819015145, 0.3394007385, -0.7266824245, -0.1032676846, -0.0644846484, -0.2852790058, -0.2546933591, 0.6777995825, -0.2158198506, -0.3290848136, 0.3232836723, 0.5007123947, 0.101561971, -0.249926731, -0.4763402939, 0.2759491801, -0.1614603251, -0.4704796076, 0.360213995, 0.484605372, -0.0679418296, 0.757979095, 0.1521174908, 0.2529694736, 0.1624475569, 0.2205051482, 0.8198494315, -1.0015611649, -0.2696507573, -0.9079255462, 0.2843362689, 0.0118776187, -0.4963877201, 0.8478197455, 0.4030990303, 0.965408504, -0.1700110286, 0.5733246803, 0.2547250986, 0.4249384105, -0.5967791677, 0.7349741459, -0.4073182642, -0.0131793236, -0.2324706763, -0.872568965, 0.0463889539, 0.7142216563, -0.2717570364, 0.024908023, 0.865375042, 0.7822976112, -0.0880795494, 0.2650074363, 0.3561117947, 0.2983675599, 0.1978829652, 0.4397007823, 1.1367185116, -0.2618742287, -0.0164411273, -0.4709877968, 0.0181686096, -0.0557303242, -0.8005027175, -1.1735473871, -0.8787268996, -0.3458347619, -0.1252373904, -0.1187656671, 0.9282028675, 0.7447690368, -0.7040174603, -0.3558375239, 0.1234024018, -0.151250124, -0.50900352, -0.1661634296, 0.2026170641, -0.4008028805, -0.562825501, 0.7564734817, 0.1023947001, 0.0440686084, -0.518374145, 0.1096176282, 0.1071738452, 0.2955183983, 0.468103528, 0.1930146664, -1.0196636915, -0.4850417376, 0.1034516692, -0.161164239, 0.0505503975, 1.1361497641, -0.8424782157, 0.4778521955, 0.3267383873, 0.5475088954, 0.5165546536, -0.3331936002, 0.7282604575, -0.517790556, -0.1060873792, 0.2212329358, 0.679675281, 0.2941562533, -0.1926555932, 0.2429311275, -0.0494093262, -0.4065297544, -0.9259980321, 0.3522152603, -0.7874650955, -0.245136708, 0.8814262748, -0.2054785788, 0.0210329872, 0.2623291314, -0.1159214452, 0.3430845439, -0.3621794581, 0.8490948081, 1.1445015669, -0.2664676011, -0.2922071815, -0.65909338, 0.4699463844, 0.8917871714, -0.5309949517, 0.2754351199, 0.3892612457, 0.371155858, 0.0572464764, 0.6442540288, 0.1377148032, 0.2074939609, 0.0789134577, -0.1534251273, 0.1149736941, -0.2050104141, -0.4830212593, -0.0440612882, 0.3542788029, 0.0873713717 ]
http://arxiv.org/abs/2406.17825v1
http://arxiv.org/pdf/2406.17825v1
Automatic speech recognition for the Nepali language using CNN, bidirectional LSTM and ResNet
2024-06-25T12:14:01
2024-06-25T12:14:01
Manish Dhakal, Arman Chhetri, Aman Kumar Gupta, Prabin Lamichhane, Suraj Pandey, Subarna Shakya
cs.CL
cs.CL, cs.SD, eess.AS
This paper presents an end-to-end deep learning model for Automatic Speech Recognition (ASR) that transcribes Nepali speech to text. The model was trained and tested on the OpenSLR (audio, text) dataset. The majority of the audio dataset have silent gaps at both ends which are clipped during dataset preprocessing for a more uniform mapping of audio frames and their corresponding texts. Mel Frequency Cepstral Coefficients (MFCCs) are used as audio features to feed into the model. The model having Bidirectional LSTM paired with ResNet and one-dimensional CNN produces the best results for this dataset out of all the models (neural networks with variations of LSTM, GRU, CNN, and ResNet) that have been trained so far. This novel model uses Connectionist Temporal Classification (CTC) function for loss calculation during training and CTC beam search decoding for predicting characters as the most likely sequence of Nepali text. On the test dataset, the character error rate (CER) of 17.06 percent has been achieved. The source code is available at: https://github.com/manishdhakal/ASR-Nepali-using-CNN-BiLSTM-ResNet.
[ 0.1691287458, -0.5059071183, -0.1608497947, 0.4413930774, -0.5537584424, 0.3359059095, -0.3142622113, -0.432747066, -0.1402387172, 0.4504579902, -0.0602150224, -0.456183821, -0.5776648521, 0.5657000542, -0.8797402382, 0.585581243, 0.0230385568, 0.3038355112, 0.2610511184, -0.1645869166, -0.4429241419, -0.6397856474, -0.7888900042, -0.1924128234, 0.2325434834, 0.3791729808, 0.1651595533, 0.4993970394, 0.3789050579, 0.3544602394, -0.4041408598, 0.1299979836, -0.1010196209, 0.0420511216, 0.2661632001, -0.2949472964, -0.1933652461, -0.1711812913, 1.1037890911, 0.3690711856, -0.5635100603, 0.0716557652, 0.1279402673, 0.691768527, -0.2087381631, 0.163591519, -0.5406895876, 0.2185701728, -0.2398391962, -0.2791069746, -0.4722897708, -0.4113224745, 0.0265733991, -0.2105343342, 0.117881842, 0.0720259622, 0.7203071713, 0.5055107474, -0.5821818709, -0.3269544542, -0.6859318018, 0.4736574292, -0.7074711919, 0.6375029087, 0.7418738604, 0.6470381021, 0.1916190237, -0.5800853968, -0.6801971793, -0.2885893285, -0.0558150597, 0.108138971, 0.0880399048, -0.1087751389, -0.1098222733, 0.4695127904, -0.8048548698, 0.2484368086, -0.8889508247, -0.1595680118, 0.5081464648, 0.289731741, 0.0999452844, -0.0126397489, -0.2842403948, 0.1825939715, -0.5366340876, 0.2405764461, 0.4657795131, 0.4786839485, -0.4875710905, 0.7322353721, -0.3068872094, 1.0663844347, -0.1322467625, 0.2166219801, 0.3020199537, -0.366591543, -0.290383935, 0.7840989828, 0.8351979852, -0.0762077719, 0.6251717806, 0.0990055799, -0.0558680482, -0.0739406869, 0.0383463576, -0.6951152086, -0.2373356372, -0.1135581061, -0.475728929, -0.2968768179, -0.3433327973, -0.2851293087, -0.3216082752, -0.6344410777, -0.1360321343, -0.3147263825, -0.2279639542, 0.165740788, 0.3118956983, 0.2819384336, 0.3658238053, -0.4390390217, 0.5430742502, 0.1978206038, 1.0119642019, -0.2025286555, -0.2889601588, -0.6722857356, 0.0819714814, -0.202655986, 0.8835334778, -0.3241050839, -0.4067417681, -0.1243826896, 0.0501020551, -0.1569661796, -0.3440854251, 0.4311846793, -0.720225215, 0.1963838339, 0.4190296829, -0.2845665514, -0.3139614761, 0.1838987917, -0.7867712379, 0.6911560893, -0.1344739199, -0.6357170343, -0.0783091933, -0.5090383291, -0.8872855306, 0.0637864992, 0.0102393283, -0.4184083641, -0.1746631414, -0.0832117349, 0.4003393948, -0.5340689421, 0.4151132107, 0.1767661273, -0.3772399426, 0.4813333154, -0.9085205197, 1.1363617182, 0.264008671, 0.022917904, 0.2906079292, -1.1726024151, -0.0853387937, 0.0553529523, -1.0587968826, 0.2408204228, -0.03040036, 0.620572269, 0.2050435394, 0.107597962, -0.6468009949, -0.3075060248, -0.5710964203, 0.6455748677, 0.7038032413, -0.3468519449, 0.1640396714, 0.1163741425, 0.1345345527, 0.1220661923, -0.0320246071, 0.0922321156, -0.4550392032, -0.6161782742, -0.0715536252, 0.7830747366, 0.8538067937, -0.3506426811, 0.6261872649, -0.1374679953, -0.3206612468, -0.6558212638, -0.1275486201, 0.4344274104, 0.6819390655, 0.3843814731, -0.4300543368, -0.757240057, -0.7038272023, 0.0565119907, -0.3063232005, 0.2135761529, 0.0282172579, 0.0451740585, -0.0650628656, 0.6838375926, -0.3266479373, -0.5551297665, -0.1126613542, 0.0893066451, 0.2472488731, 0.6033399701, -0.1010034531, -1.1200006008, -0.9426347613, 0.2234632522, -0.4524237812, 0.0902839974, 0.2877787948, 0.4123536646, 0.5446767807, 0.5759204626, -0.1852723211, 0.7157205939, 0.4258004129, -0.2209703475, 0.6657101512, -0.2141157985, 0.0732836649, -0.9993041754, 0.2845275998, -0.1211472899, -0.4382743835, -0.6209440827, -0.4864453673, -0.0329225063, -0.2945675552, -0.392573297, 0.437595427, -0.5434951782, -0.0528281294, -0.2999446392, -0.0714580864, -0.2936386764, 0.3098666966, 0.3698793948, 0.8033388257, 0.4028237462, -0.4926214516, 0.6180158854, 0.4678611457, -0.4444479048, 0.3825631738, -0.8931112885, 0.0754567981, 0.0861544758, 0.1079490706, -1.0501083136, 0.1131214872, 0.25626719, -0.6428932548, 0.7575194836, 0.0231105443, -0.6526243091, -0.2265644819, 0.3299070001, 0.5103077888, 0.4337967038, -0.3465459049, 0.2554993927, 0.3970603049, -0.1768172085, -0.5061596036, -0.919927001, 0.4120069146, -0.0340311192, -0.2307793796, 0.0925227776, -0.1889707595, 0.3089576066, -0.0948239267, 0.2623510361, -0.4014142752, -0.1662352681, 0.1519583613, -0.047809694, -0.1829303354, -0.0484224148, -0.1442416757, -0.4801034033, -0.245581612, -0.0615903772, 0.6631116271, -0.4694392681, -0.2013471723, -0.9034457803, 0.5278141499, 0.4350657761, -0.4582289457, 0.4096632302, 0.7051166296, -0.5120505691, 0.1809848845, -0.4785811007, 0.1227955073, -0.3922801316, 0.5005115867, -0.2646779418, -0.682461381, 0.4271403253, 0.0941687077, -0.3954252005, 0.2792957127, 0.3951722085, 0.0605505556, 0.9143819213, 0.6583294868, -0.153136462, 0.3504690528, -0.2200922668, 0.1458922327, -1.1717932224, -0.3036170304, -0.7163673639, -0.0587445721, -0.4154647887, -0.2360964119, 0.1777529866, -0.0761331245, -0.4583920538, 0.472250104, -0.7969568372, 0.1438465416, 0.5767943263, 0.0915164202, 0.4358501136, 0.1153286472, -0.1109373644, 0.1860573441, -0.6677533388, -0.2827187479, 0.7671988606, 0.143071115, 0.6808202863, -0.0302070547, 0.2586558759, 0.3983160853, 0.0810565352, -0.7066427469, 0.4528801143, -0.4295105636, -0.4308545887, -0.4637960792, -0.2801262438, -0.6858900785, -0.0757663473, 0.1929153204, -0.3806222081, 0.3585966527, -0.0534159355, -0.2731771767, 0.2135253847, -0.4595048428, 0.4953039289, -0.2896657884, 0.1416856498, -0.316965431, -1.3386794329, 0.1081838086, 0.0397835784, -0.2843647599, -0.0115585038, 0.0573671572, 0.8785802722, -0.18181476, 1.1080981493, 0.0854285136, 0.2031726241, 0.4150494635, -0.1220283881, 0.3593263328, -0.3203339279, -0.5094818473, 0.4414934516, -0.1728880554, -0.086029157, -0.0480549447, 0.3733207881, -0.7691316605, -0.1272830665, -0.6395574808, -0.2084155977, 0.1163378954, 0.2389239371, 0.2502638996, 0.6249634027, -0.2874404192, 0.4525818825, 0.3567415476, -0.1137376726, 0.540022552, 0.6401631832, 0.2069376707, -0.8267524838, 0.8855028749, 0.391887933, 0.0758182332, 0.3392140567, 0.2420672476, -0.4858585894, -0.7130138874, -0.7847458124, 0.1010355428, -0.7452139258, -0.5526843667, -0.5361540914, -0.8460665345, -0.2068960965, 0.0203110892, -0.2691086531, -0.3916515708, -0.8723470569, -0.0010375885, 0.5310172439, 0.6115572453, -0.0097444234, 0.5546178222, -0.634773314, 0.3135075271, 0.1401380897, 0.2872097194, 0.1660337746, -0.7095208168, -0.4241398871, 0.0280747861, -0.1342953742, -0.809776783, 0.6499177814, 0.5354768038, 0.1678621471, 0.1839071214, -0.0462311953, 0.4834589362, -0.8551607132, 0.6006526351, 0.5460125804, -0.8311043978, 0.4544447958, -0.1343820095, 0.2136727571, 0.4350803196, 0.1960893124, -0.6522472501, 0.0458912849, -0.2521075904, -0.4870294333, 0.6735463738, 0.0794389993, -0.2995159626, 0.1410757899, 0.1413244903, 0.0769930109, 0.44541502, -0.5939391255, -0.0692915693, -0.3267676234, -0.5322270989, -0.1829311699, -0.2704625726, 0.1244374588, -0.5232692361, 0.6335304379, -0.1888891011, 0.1989058703, 0.3379049897, -0.0240493231, -0.2666640282, 0.2058779299, 0.8114247322, 0.2176338583, 0.0038723294, 0.2640200555, 0.3461182714, -0.527353704, 0.375213027, 0.3601867557, -0.0425965674, -0.0270694885, 0.1328314394, 0.7672679424, 0.0176364556, -0.4718257487, 0.4501386285, -0.2164284736, 0.1120569035, -0.599339962, -0.2959170938, 0.0630032048, 0.1936880499, 0.3303050101, 0.2855706513, 0.3160562515, -0.2840965986, 0.0760821477, 0.1719487458, -0.7209044695, -0.3945478797, 0.6623105407, 0.1411080956, -0.859523356, 1.0478744507, 0.0856226832, -0.8107309937, 0.740765214, 0.8366355896, 1.0184767246, -0.7314995527, 0.0682257041, 0.3289916515, 0.1692408919, 0.0421842523, 0.3044420779, -0.315112859, -0.2545319498, -0.3187362552, -0.9462914467, -0.1376560181, -0.126003474, -0.4629425704, 0.5560795069, -0.291944921, 0.1452128291, -0.3702423871, -0.0054341033, -0.5516059995, 0.479539454, -0.1505273581, 0.835078001, -0.6365395188, 1.02434659, 0.3491149545, -0.4441536963, -0.5197161436, -0.181991905, -0.2039157003, -0.9283171296, 0.97134763, 0.1635804176, -0.2980016768, 0.2878742218, -0.3261899948, -0.7611344457, 0.8788893223, 0.102802299, -0.5927844644, -0.0117584551, 0.2508704066, 0.6940532923, -0.4109632671, -0.0002150494, 0.2215727717, 0.4067482948, 0.1937777847, -1.1545573473, 0.0385215022, -0.4814210534, -0.0227100272, 0.0115908254, -0.7620227337, 0.536932528, -0.232886523, -0.2364743948, 0.2575853765, 0.7630404234, 0.1108575538, 0.3255492747, 0.4633434713, 0.4438024163, 0.4621210992, 0.2461578399, 0.6234914064, -0.0905703604, -0.0615641549, 1.0722585917, -0.363196671, 1.1887806654, 0.3166112602, -0.2116702199, 0.3142409623, 0.8544988632, 0.0934894457, 0.7281401157, 0.4835826755, -0.2432468086, 0.0036464757, -0.2928213775, -0.4773118496, 0.6181690693, 0.3609793186, -0.2475495785, -0.1254973561, 0.1562286913, -0.5356109738, 0.072702989, -0.0661958009, 0.9244949222, 0.3290148675, -0.094456479, 0.8489977121, -0.0174996946, 0.5727710128, -0.5599110126, -0.1862622648, 0.3180043101, 0.0882187858, -0.244973883, -0.725730896, 0.6235766411, 0.0189462788, -0.3823519349, -0.006308048, 0.713049531, -0.7858619094, -0.6142192483, 0.2313741595, -0.0697975978, 0.4251909852, -0.0242496524, -0.5878379345, 0.0667320937, -0.1673453301, -0.0026098411, 0.1110965759, 0.1951751262, -0.019996224, 0.6954401135, 0.7919570804, 0.4235964715, 0.1432511955, 0.1807507724, 0.7075158358, -0.5577045679, -0.8521666527, -0.6326567531, 0.5798549652, -0.0265491605, -0.3045576811, 0.3236583471, 0.7150489092, 0.4808367789, 0.03507201, 0.5633822083, 0.2869289517, 0.5366612673, -0.3335037529, 1.1162314415, -0.5131844282, 0.0613418296, 0.2239232063, -0.5375502706, -0.4624876976, 0.606646955, 0.0255435277, 0.0062441309, 0.5708003044, 0.515411377, -0.0993652046, 0.325001955, 0.3114302158, 0.1823682934, 0.2037824541, 0.3490639627, 0.7919266224, -0.7670668364, 0.5713171959, -0.0919369981, -0.0922959968, -0.4018896818, -0.6959849, -0.6854841113, -1.1241298914, -0.3460192084, -0.2800789475, 0.2369871438, 0.6230934262, 0.7364267707, -0.7839595079, -0.5088214278, -0.2619164288, 0.0474683605, -0.160274893, -0.1717081219, 0.7968132496, 0.0452057533, -0.4992308617, 0.5487331748, 0.1691552103, 0.2173734158, -0.1580393165, -0.2799319625, -0.66059798, -0.2570486665, 0.4669654667, 0.41256392, -0.6355235577, -0.0739878863, -0.0432218984, -0.1017794833, 0.3169619739, 0.5339133739, -0.7477585673, 0.4816192687, 0.5750244856, 0.5811181068, 0.5657122135, -0.1224385872, 0.4986702502, -0.5395125747, 0.0466849506, 0.4471352696, 0.2081353962, 0.7954370379, -0.5508911014, 0.4377471507, 0.1794962436, -0.709885776, -1.1247816086, 0.0907715037, -0.9994235039, 0.0364011899, 0.9199474454, 0.1099842489, -0.3157286048, -0.3087474108, -0.4266286492, 0.7479615808, -0.3066481352, 0.5455793142, 0.3278856277, -0.0350012742, -0.2612452805, -0.3909156621, 0.3186231554, 0.0998112559, -0.5109091401, 0.2366719544, 0.2143390924, 0.2871128619, 0.0574799106, 0.5637288094, -0.1726687998, 0.3177450001, -0.0959040895, 0.086074762, -0.4386791289, -0.6505408287, -0.8922718763, 0.1098548844, -0.1340107769, -0.4011254013 ]
http://arxiv.org/abs/2406.17484v1
http://arxiv.org/pdf/2406.17484v1
MedCare: Advancing Medical LLMs through Decoupling Clinical Alignment and Knowledge Aggregation
2024-06-25T12:05:56
2024-06-25T12:05:56
Yusheng Liao, Shuyang Jiang, Yanfeng Wang, Yu Wang
cs.CL
cs.CL
Large language models (LLMs) have shown substantial progress in natural language understanding and generation, proving valuable especially in the medical field. Despite advancements, challenges persist due to the complexity and diversity inherent in medical tasks, which can be categorized as knowledge-intensive tasks and alignment-required tasks. Previous approaches either ignore the latter task or focus on a minority of tasks and hence lose generalization. To address these drawbacks, we propose a progressive fine-tuning pipeline. This pipeline employs a Knowledge Aggregator and a Noise aggregator to encode diverse knowledge in the first stage and filter out detrimental information. In the second stage, we drop the Noise Aggregator to avoid the interference of suboptimal representation and leverage an additional alignment module optimized towards an orthogonal direction to the knowledge space to mitigate knowledge forgetting. Based on this two-stage paradigm, we proposed a Medical LLM through decoupling Clinical Alignment and Knowledge Aggregation (MedCare), which is designed to achieve state-of-the-art (SOTA) performance on over 20 medical tasks, as well as SOTA results on specific medical alignment tasks. Various model sizes of MedCare (1.8B, 7B, 14B) all demonstrate significant improvements over existing models with similar model sizes.
[ -0.0165916495, -0.5601758957, 0.7401205301, -0.2885427177, -0.2405544519, 0.0499851815, -0.0778114125, -0.3828034401, 0.0944308862, 0.5857364535, -0.9291049242, -0.7027904391, -0.7947979569, 0.0071375356, -0.2233174294, 1.0208194256, 0.007058891, 0.2185275853, -0.3436056077, -0.2538002431, -0.4592042267, -0.0400923453, -0.9840403199, -0.4813153744, 0.5900111198, 0.1614515036, 0.7026548386, 0.9951078892, 0.7565360069, 0.3164489567, -0.2052334249, 0.7101380229, -0.4880983829, 0.1972113252, -0.2226417512, -0.4681937397, -0.9345004559, -0.3035121262, 0.6647067666, 0.9304584861, -0.5663032532, 0.0202778056, 0.0091005703, 0.9084395766, -0.4222459495, 0.2433802783, -0.4969994426, -0.0382600427, -0.0416992046, -0.1381066591, 0.0252804141, -0.2539292574, 0.0014124039, -0.6455563307, -0.0309604462, -0.0545475259, 0.7967389822, 0.7722014189, -0.2693793476, -0.2710213661, -0.5513064265, 0.8402664065, -0.8978435397, 0.3760379851, 0.2126298696, 0.2100404203, -0.2729147971, -0.9669364095, -0.2250450552, 0.2441735417, 0.1261476576, 0.4105783701, -0.3466672897, 0.2734172642, -0.1531893611, 0.5375580192, -0.3913673162, 0.6589818001, -0.5392097235, -0.0701449588, 0.4559209645, 0.6430418491, 0.3730996549, 0.2362663001, -0.2705241442, 0.5278935432, -0.8681742549, -0.3278940916, -0.2768341303, 0.1841150373, -0.2214405388, 0.5193234682, -0.2277198136, 0.8046841025, -0.0276863575, -0.5961842537, 0.2448520362, -0.2939635813, -0.5795418024, 0.0391700156, 0.6713485122, 0.4885905683, -0.0284693241, -0.2240189761, -0.0608850755, 0.5273708105, 0.3595616221, -0.5426506996, -0.0857868344, 0.56228441, -0.7215005159, -0.4013881385, -0.4991880953, -0.325620085, -0.6411989331, -0.7213942409, 0.1594931781, -0.5644331574, -0.1943023503, 0.5948809981, 0.3165166676, 0.0437472016, 0.3924040198, -0.7275417447, 0.3490639031, 1.028042078, 0.7333393097, -0.2768538892, -0.0142981401, -0.4713039696, 0.2260315269, -0.1569756269, 0.8108713627, -0.3526059091, -0.1008113995, 0.0335844755, 0.0111715784, -0.2599536777, -0.8318753839, 0.4677105546, -0.3411424756, 0.3262573481, 0.1167201102, -0.8923811316, -0.0767141655, 0.3933390379, -0.3871974647, 0.6346393228, 0.3537412286, -0.6083774567, 0.4665965438, -0.6099656224, -0.3118140399, 0.1828418225, -0.3813593388, -0.5681578517, 0.2586921453, 0.28326267, 0.3969973922, -0.6017181277, 0.6174507737, 0.0421626456, -0.3077870607, -0.0524182096, -0.1519998461, 0.5157089233, 0.3126177192, 0.0352378897, 0.2280900627, -0.872017324, -0.2577626109, -0.1357345283, -0.5292856693, -0.2630267739, 0.1403254718, -0.3944551349, 0.3053999543, 0.2738605738, -0.4052190781, 0.3111464977, -0.7151249051, 0.5265291929, 0.4771849215, 0.0871093124, 0.3702760339, -0.7738605738, 0.6551021338, 0.3848331273, 0.4060961902, -0.0346727334, -0.5512797832, -0.5471791625, -0.6716893315, 0.1574324369, 0.5249410868, -0.4593879879, 0.3775088191, -0.4565401673, -0.2830595076, -1.19176054, 0.313156575, 0.3363488615, 0.9622343183, 0.5614489913, -0.3840158284, -0.4881628752, -0.8771473169, -0.2921799123, 0.0714245886, -0.1156106591, 0.2625080049, -0.0731910989, -0.909750998, 0.7048885226, -0.4213353097, -0.7825841904, -0.2857544124, -0.2276478559, 0.519487977, 0.4498383403, 0.0770578682, -0.4592677653, -0.0123140663, 0.110237658, -0.7162305713, -0.189765498, 0.1537149549, -0.0906877071, 0.0573793128, 0.658536613, -0.5620890856, 0.1230900511, 0.8695798516, -0.4535220563, 0.1849610806, -0.3468924463, -0.1730413437, -1.4520763159, 0.0029299862, -0.2456491143, -0.2961917818, -0.6428983808, -0.0586597025, 0.0043465872, 0.2304232419, -0.3776704669, 0.4543146193, -0.3591066003, 0.4501176775, -0.2751482129, 0.0508509539, 0.0270898622, 0.1085600629, -0.2019781917, 0.3310241103, 0.5906866789, -0.6974428892, 0.0911226273, 0.3235360384, -0.2919606566, 0.591147244, -0.3826956153, -0.2560140491, -0.282954812, 0.0455114953, -0.6576684713, -0.2916892469, 0.0312672555, -0.1797472984, 0.4975501001, -0.1629322916, -0.2703652382, -0.1182804331, 0.0620473288, 0.4823269546, 0.6478557587, -0.1756731868, 0.6777781844, 0.6182298064, -0.386084944, -0.4084542692, -0.6847597957, -0.0036524776, -0.2125180513, -0.5899249911, 0.3505080342, 0.2656109333, -0.2089624405, -0.0005993468, -0.1923321486, 0.008129484, -0.1387569308, 0.2090231031, 0.4409833252, -0.3690122068, 0.4263454378, 0.4983996749, -0.3339457214, -0.0111549385, -0.595413208, 0.4490063488, 0.3157833815, -0.4282376468, -0.4695906341, 0.3597148955, 0.7710630298, -0.2158795595, 0.8979136944, 0.5802419782, -0.5383554697, 0.1352921873, -0.7833955288, -0.1322505027, -0.4188935161, 0.5969831944, 0.1752541661, -1.2674982548, 0.4557515681, -0.6372013092, 0.4368037879, 0.525446713, 0.7570075989, -0.2797212005, 0.9922447205, 0.5234822035, -0.1196710095, 0.0620025508, -0.1629028916, 0.1142608002, -0.9370219111, -0.4077631235, -0.201724872, -0.4850030243, -0.4242991209, -0.5299019814, 0.5425249338, 0.0207765047, -0.3668668568, -0.1586844772, -0.5602886677, 0.1038973108, 0.4130210578, 0.4432682693, 0.6078268886, 0.0436945073, -0.2149517089, -0.0385588743, -0.9607910514, -0.2240975052, 1.0839982033, 0.5174723864, 0.750670135, 0.0960783064, 0.8295646906, -0.156357795, 0.4915868044, -0.8678478003, 0.2583255768, -0.710622251, -0.2622058988, -0.1550131738, -0.4428600967, -1.1460007429, 0.0659159943, -0.163686797, -0.5090962648, 0.0347189046, 0.3507578075, -0.6760249734, 0.2104711831, -0.2912783325, 0.6761190891, 0.042750109, -0.1974403113, -0.2442965657, -0.7879910469, 0.4063099623, -0.108857967, 0.6220362186, -0.2684343457, -0.3596084714, 0.573848784, -0.4872488081, 0.9191140532, -0.1055316702, -0.2954494357, 0.0185296889, -0.022714192, 0.3708687723, -0.1296367347, 0.0867901444, 0.118904449, -0.0096778795, -0.2413147241, -0.3642849326, 0.6110349298, -0.5525940657, -0.3882572651, -0.0329865254, -1.0045163631, -0.482383877, 0.3584471643, 0.2729589939, 0.5742781162, 0.0755119324, 0.0219359733, 0.7443991899, -0.1935281157, 0.0379942991, 0.6878489256, -0.0580686107, -0.4111880958, 0.6964312792, -0.0709844455, 0.3592914939, 0.3579282165, 0.2166188806, -0.337762922, -0.8323637843, -0.081970565, 0.4056351483, -0.4789641201, -0.5239832401, -0.7151305079, -0.3387992084, -0.2932578921, -0.0611071885, -0.4922482073, -0.257850945, -0.485627681, 0.1198023856, 0.2736706436, 0.6929175854, 0.1721471995, 0.3168379366, -1.0795106888, 0.4525032341, 0.0737675577, 0.4525013864, -0.2566144466, -0.4842886329, -0.3408631384, -0.0915314853, -0.2191827446, -0.4197754264, 0.4300275445, 0.2080119103, 0.3446041048, 0.6767838597, -0.1011786088, 0.9329434037, -0.674263835, 0.5085073113, 0.5395509005, -0.4292707443, 0.4909680188, -0.3506136239, 0.6104445457, 0.60397017, -0.016099263, -0.4632565081, -0.7382696271, -0.5535953641, -0.9039543271, 0.2989185154, -0.1513660699, -0.1169308349, 0.009586338, 0.403865993, 0.0537189953, 0.2541752756, -0.1446828246, -0.0721344128, 0.5188657045, -0.8889974952, -0.0157942679, -0.1905402094, -0.646338582, -0.3709662557, 0.3611003757, -0.1564413011, 0.1224891767, 0.2754424214, 0.0261417888, -0.2018821687, 0.3648852706, 0.5316510797, 0.6088610888, 0.1103927866, -0.0749798343, 0.0867640674, -0.7946697474, -0.0603207387, 0.2118485123, -0.0634678006, -0.1597039849, 0.5064191818, 0.6610045433, 0.5103198886, -0.7845586538, 0.3595520556, 0.0595161468, -0.3920424879, -0.0073633962, 0.2222327739, 0.488955766, 0.4107893705, -0.0720079169, 0.3418992758, 0.1618424803, -0.3310369253, 0.2411103249, 0.3228476346, -0.5832622051, 0.0499723367, 0.809130013, 0.0867778659, -0.076361455, 0.6281998158, 0.2612958848, -0.0973953381, 0.3825624883, 0.5146028996, 0.625617981, -0.2633270025, -0.2435993552, 0.0891954601, 0.1755854785, -0.3265841305, 0.5333603621, 0.2520525753, -0.686806798, -0.724676311, -0.7633565068, -0.1141215339, 0.0599245429, -0.7484462261, 0.1519108564, -0.1983302683, -0.2591833472, -0.2804584801, -0.1611393839, -0.8076746464, 0.3859044313, -0.0418325439, 0.9197115898, -0.590487957, 0.798741281, 0.8668907285, -0.0296696629, -0.9010288119, -0.2781051099, 0.2135392278, -1.0861523151, 0.129355371, -0.1015289277, 0.0130974716, 0.0871555209, -0.2677500248, -0.7112905979, 1.4490344524, 0.4286086857, -1.0471625328, -0.2891479135, 0.0569547378, 0.527741611, -0.5737880468, -0.2917680144, 0.9176537395, 0.1699536443, 0.0754567236, -1.0077559948, 0.1453896761, 0.0621839948, -0.2359548509, 0.2950352728, -0.4795618355, 0.7008957267, -0.3083951473, -0.1424460411, 0.2430962622, 0.1574106216, 0.4815158546, 0.3728366196, 0.3111129999, 0.9984960556, 0.9284033179, -0.1664213091, 0.9735531211, -0.4481178224, 0.2703632712, 1.1122667789, -0.1116478667, 0.5845735073, 0.6289255619, -0.2243691683, 0.4071285725, 0.4159947038, 0.2492984086, 0.4356402755, -0.0076341946, -0.462218672, -0.3831577897, -0.1602758318, -0.3939830661, 0.4303662777, 0.6326678395, -0.8428612947, -0.2812562585, -0.197832197, 0.1691248566, 0.0291360337, -0.6364598274, 1.2806859016, 0.3789668679, -0.7051035166, 0.5244485736, -0.1994311661, 0.4551307857, -0.721658349, -0.0562121496, -0.314324975, 0.524864316, -0.397326529, -0.4132269621, 0.2982477248, -0.2736410201, -0.2512403131, -0.0704248473, 0.760214448, -0.6283297539, -0.6654289961, 0.1524759233, 0.6111550927, 0.014651346, 0.2353612334, -0.6107568145, 0.1203944981, -0.1014011353, 0.1532557011, 0.403790772, 0.4839805067, 0.240094021, 0.8338999748, 0.5498088002, 0.663738966, 0.022274971, 0.3896189928, 1.1262431145, -0.4045082629, -0.4257707, -0.894369781, 0.6325358152, 0.0086247269, -0.2838429213, 0.1867246777, 0.4701390564, 0.2326550782, 0.0244118981, 0.6635460258, 0.3126861453, 0.786585629, -0.6482106447, 0.8324944973, -0.7350322008, 0.3762026131, -0.079018496, -0.4356889129, -0.7319526672, 0.3157351017, 0.0625944436, -0.2742707431, 0.5614953637, 0.6959558129, -0.1079317629, -0.1260372549, 0.4250560403, 0.4404524863, 0.3407433033, 0.7767296433, 0.5009651184, -0.314319402, 0.2878797948, 0.1077533886, -0.535225153, -0.0366063565, -0.6991358995, -0.6082395315, -0.1582981795, -0.4751112461, -0.3331409991, 0.1052071527, 0.803314805, 0.7173556685, -0.7763938904, 0.1273125857, -0.294008404, -0.102103956, -0.4602523744, -0.1254924387, 0.4261390269, -0.631177187, -0.5127698183, 0.4455501139, 0.8406376839, -0.254791379, -0.181115672, -0.1411840469, 0.0644361824, -0.0971126333, 0.533430934, 0.1288684905, -0.8021905422, 0.1347422302, -0.1111295372, -0.1212249473, 0.0807999447, 0.7782441974, -0.8036884665, 0.4777706861, 0.020496361, 0.7650413513, 0.1213068292, 0.0991936252, 0.6851008534, -0.4672873616, 0.0527626015, 0.4914472997, 0.4735366106, 0.0758430138, -0.3187356889, 0.3985821009, 0.0414343439, -0.6463983655, -0.6924574971, 0.3315511048, -0.9420599937, -0.1978659332, 0.9695365429, -0.1431487203, 0.094600372, -0.2827000916, -0.2164844722, 0.4543227255, -0.0434451215, 0.9348372817, 0.3136571944, -0.3374259174, -0.1664046347, -0.46140939, 0.5915799141, 0.4909251034, -0.7857093811, -0.139925018, 0.3705684841, 0.450945735, -0.1490071863, 0.8951819539, -0.711225152, 0.2452548593, -0.4287623167, -0.2298652679, -0.0531095304, -0.1124937013, -0.3785777688, 0.1140890941, 0.038105756, -0.2927054465 ]
http://arxiv.org/abs/2406.17474v1
http://arxiv.org/pdf/2406.17474v1
Transformer-based Named Entity Recognition with Combined Data Representation
2024-06-25T11:41:16
2024-06-25T11:41:16
Michał Marcińczuk
cs.CL
cs.CL, cs.AI
This study examines transformer-based models and their effectiveness in named entity recognition tasks. The study investigates data representation strategies, including single, merged, and context, which respectively use one sentence, multiple sentences, and sentences joined with attention to context per vector. Analysis shows that training models with a single strategy may lead to poor performance on different data representations. To address this limitation, the study proposes a combined training procedure that utilizes all three strategies to improve model stability and adaptability. The results of this approach are presented and discussed for four languages (English, Polish, Czech, and German) across various datasets, demonstrating the effectiveness of the combined strategy.
[ -0.5203963518, -0.1981220394, 0.5108299255, 0.1414624453, -0.3839023709, 0.0461880825, -0.3861650527, -0.5159025788, 0.3001939356, 0.5775630474, -0.4574243426, -0.2894756496, -0.718462348, 0.4761374593, -0.4413664341, 0.9523199797, -0.3595531285, 0.5896833539, -0.2199660838, -0.5511638522, -0.8830853701, -0.6870535016, -0.6664430499, -0.4861547947, 0.5280359983, 0.3352335095, 0.4136340022, 0.5760314465, 0.8376418352, 0.1979244053, 0.1721303761, 0.0414901637, -0.4250160754, 0.2047185749, -0.1557993591, -0.5276571512, -0.0353626199, -0.0688439533, 0.8115932345, 0.7595749497, 0.0142303109, -0.0662341267, -0.1368493587, 0.3271842301, -0.4560787976, 0.2057183683, -0.6177604795, 0.2212858498, -0.2653335631, -0.1866912246, -0.6793948412, 0.0410558246, 0.2762593925, -0.5697051883, 0.3553700447, 0.0288283061, 0.8723236918, 0.326587975, -0.6107147932, -0.2929283679, -1.2944161892, 0.8344762325, -0.3198440075, 0.7951103449, -0.0642521009, 0.4551131129, -0.0411108248, -0.7911841869, -0.6131616235, 0.0816137567, -0.426161468, 0.0850477964, -0.2828688323, -0.1592582911, 0.442004025, 0.1644855142, -0.278581351, 0.1236274689, -0.4203975201, -0.1458013356, 0.5784804821, 0.0132086193, 0.3126893342, -0.0645682961, -0.6933586001, -0.2721495926, -0.6954525709, 0.1667963415, 0.1133056805, 0.6949121952, 0.1439830214, 0.5375227332, 0.0284596868, 0.5777952671, 0.1450843215, -0.1732546836, 0.2736450136, 0.0135886502, -0.319368124, 0.2203060836, 0.5854538083, 0.1072297096, 0.10037902, -0.8151195645, -0.3338966072, 0.167705819, 0.5898504257, -0.4660326838, -0.2148443758, 0.1188497618, -0.4663906693, -0.1713741571, 0.4559746981, -0.7741872072, -0.1742810309, -0.4931976199, 0.5308578014, -0.4725530148, -0.221425131, 0.0751995221, -0.360612005, 0.3140167296, 0.1990680993, -0.8818384409, 0.563824594, 0.3483797908, 0.4833619297, -0.4872276485, -0.220539853, -0.3658262193, 0.323900193, -0.0207065642, 1.0058301687, -0.5657377839, -0.4280315042, -0.3385586143, 0.3045957088, -0.4571288526, -0.4945523441, 0.7185883522, -0.6765163541, 0.3602935076, -0.1315322369, -0.7800995708, -0.4456534684, 0.0861452147, -1.3926339149, 0.9302000999, 0.0300064683, -1.1448457241, 0.6110229492, -0.7917852998, -0.4336862266, 0.2538684011, -0.3194145858, -0.6564614177, 0.0680884495, 0.3334717453, 0.6642715335, -0.0807716921, 0.3158024848, 0.196447432, -0.3329468071, 0.0610261783, -0.339233309, 0.5688340664, -0.2657229602, -0.1844979078, -0.0390164517, -0.983235538, -0.1054084376, 0.5740506053, -0.5947304368, -0.5158265829, 0.151201576, 0.4301868081, -0.0039624525, -0.1901781261, -0.4903264642, 0.3986833096, -0.2415986657, 0.2632604837, 0.1444946229, 0.0537530258, 0.5260493755, 0.0085365605, 0.4808265567, 0.3860591352, -0.3674752414, -0.0507920012, -0.3062018156, -1.0332325697, -0.100103274, 0.8177245855, 0.6784293056, -1.0080122948, 0.1590346694, -0.656031251, -0.4768832624, -0.3690459728, -0.3108654618, -0.0283034388, 0.4105259478, 0.7112574577, -0.1249890551, -0.8888985515, -1.0413649082, -0.2529082298, 0.1338274479, 0.1254046857, 0.1813707501, 0.6964277625, -0.2803562582, 1.0069357157, -0.2804212272, -0.1091340035, -0.5338098407, 0.1109939441, 0.1786524504, 0.3443912268, 0.5555606484, -1.2687754631, -0.1963802278, -0.0983812436, -0.4948994517, 0.6415176988, -0.1736381203, 0.1762438565, -0.0773532093, 0.2318452746, -0.5644468069, 0.426063776, 0.3351584077, -0.0707964897, 0.1869915873, -0.0112454221, 0.1065746471, -1.1999346018, -0.0832929388, 0.1078283936, -0.3648992181, -1.0079661608, -0.1233699024, 0.3423818648, -0.2558816373, -0.4966023266, 0.4195556343, -0.6889506578, 0.0844434574, -0.1483421475, -0.1345560551, -0.1788575202, 0.45863837, 0.4602623284, 0.7220958471, 0.7378485203, -0.6689497232, 0.6419926286, 0.3428716362, -0.0840339437, 0.6505798697, -0.5646935701, 0.2223799676, -0.4911503196, 0.2767150104, -0.7337387204, -0.4058202207, 0.1694399267, -0.2646094859, 0.7258482575, -0.0022141563, -0.3760987818, -0.6414924264, 0.0473536141, 0.378783226, -0.0528942496, -0.8659768105, 1.053896904, 0.4484226704, 0.185588792, -0.5077971816, -0.852137804, 0.1851070821, -0.7706961036, -0.4388712943, 0.8604069948, 0.3323043287, 0.2251653224, -0.0152300568, -0.1357313246, -0.2623375058, -0.049665913, 0.1684913039, 0.4098491669, -0.1555304825, 0.4151634872, -0.2296775579, -0.2853655517, -0.2596324086, -0.0763415471, 0.4648058712, 0.2219013572, -0.0878593475, -0.4296891689, 0.5686042309, 0.5178912282, -0.3269991875, 1.0087815523, 0.4394479394, -0.7275767922, -0.2238569558, -0.3795312345, -0.0597415604, -0.3189812899, 0.0646971539, -0.6534902453, -0.6766058803, 0.5883321166, -0.3361018896, -0.1092769653, 0.5329887271, 0.3313960731, -0.0604632013, 0.8003930449, 0.8721442819, -0.1945542693, 0.260062784, -0.2180796862, 0.6740909815, -0.8264116049, -0.437663883, -0.5544173717, -0.4277220666, -0.6106581092, -0.2358078063, 0.104521893, 0.0784603879, 0.0983390734, 1.130289197, -0.6230704188, 0.2352578193, 0.4931235015, 0.2161493301, 0.3081255555, 0.0289197266, -0.1226066351, -0.1549184322, -0.6614310145, -0.7237814665, 1.1034773588, 0.4590118527, 0.6111887693, 0.0012721481, 0.8150126338, -0.0600442812, 0.0765432119, -0.9270185828, 0.3646408021, -0.0604044497, -0.5018328428, -0.2271070331, -0.363686949, -1.053045392, 0.1758665442, -0.3863019645, -0.7470391393, 0.3135014176, -0.1473078579, -0.2261240184, 0.2595845759, -0.7360019088, 0.8053021431, -0.3053419888, 0.3688679338, 0.241691649, -0.523041904, -0.0294287317, -0.1943538338, -0.047321178, 0.2261073738, 0.0257796459, 1.0584732294, 0.1342184097, 0.3891260624, -0.1147886887, 0.1517500579, -0.0572131388, -0.4596904814, 0.6343639493, 0.0764725357, 0.2054944783, 0.3680123687, -0.0879305825, -0.0835361183, -0.5966230631, 0.4056349099, -0.5789657235, -0.2573378086, -0.2622954249, -0.5920777321, -0.2947332561, 0.448089391, 0.5038957, 0.3003336787, -0.4045560062, 0.3232925832, 0.8212214112, 0.1161280498, 0.5479177833, 0.4500379264, 0.0112705026, -0.4475574493, 0.4918285608, 0.2733661532, -0.1872285008, 0.5409911275, -0.3506973386, -0.1107626408, -0.4717487097, -0.407553792, 0.1740659922, -0.7366671562, -0.4856928289, -0.8352311254, -0.3875099421, -0.2018079609, 0.2840105295, -0.3907624483, -0.4436786473, -0.3139099181, -0.0972173065, 0.2879990041, 0.64403373, 0.48080948, 0.2987835705, -0.6071158648, 0.4178107083, 0.1772028357, 0.5276954174, -0.1982288808, -0.100430809, -0.2309830785, -0.1635967344, -0.1671182811, -1.3824490309, 0.1382844597, 0.0428069681, 0.9023111463, 0.1413002312, -0.1438403577, 0.448669225, -0.7531481385, 0.4998283684, 0.1110110432, -0.7818520069, 0.6958354115, -0.0267999582, -0.0440469384, 0.476385504, 0.6802480221, -0.4810613692, -0.1031922027, -0.5933300257, -0.6845472455, 0.955527246, 0.4356358647, 0.1318744272, 0.1416266859, 0.1921842843, 0.0819130838, -0.0157096758, -1.0034550428, -0.5788058639, -0.0320563242, -0.3209277391, 0.2635054886, 0.0073417909, -0.1094423309, -0.2736397684, 0.7217260003, -0.0060841264, 0.632060945, 0.0285967756, -0.2019277215, 0.0632740334, 0.2783415318, 0.2300855964, 0.2697342038, 0.0457524545, 0.0414255783, 0.3551108539, -0.5265231133, 0.1919822395, 0.4422930479, -0.2173388451, 0.3998191059, 0.4058569074, 1.1460187435, 0.5521591902, -0.2931837142, 0.3819977045, -0.3796925545, 0.0544998497, -0.2175374329, 0.1357051134, 0.1939313412, 0.2934304476, 0.4392680824, 0.1919141859, 0.1099668667, -0.2170997113, 0.2640179992, 0.4296440482, -0.2051303834, -0.0707925633, 0.5849673748, -0.088349767, -0.3206769824, 0.5433247685, 0.0777306929, -0.6465401053, 0.7122561336, 0.6192522645, 0.6908105612, -0.5243977308, 0.0856636167, 0.4768010676, 0.1274900436, -0.5238164663, 0.1017582044, -0.0836468264, -1.0584141016, 0.0346159525, -0.372721225, -0.3890759647, 0.1400071681, -0.9610723257, 0.8879960775, 0.0556904636, -0.4343197942, 0.5279027224, -0.0924176052, -1.1572343111, 0.3744449615, 0.340649873, 0.8604164124, -0.8207804561, 0.7805097103, 1.2118473053, -0.5950299501, -1.0707648993, -0.0206107628, -0.3952675462, -0.4353486896, 0.5903573632, 0.4522002041, 0.1808601618, 0.0963842198, -0.2692755461, -1.3148841858, 1.3390808105, 0.3097784221, -0.709333539, -0.3463334143, 0.126716271, 0.512560904, -0.6870883107, -0.0393903404, 0.6479594111, 0.4931729138, 0.1650657952, -0.998447299, -0.1940047145, -0.0860851035, 0.2486069053, 0.3395889401, -0.3527158499, 0.5666165352, -0.0082237963, -0.9542583823, -0.2126511335, 0.7381467819, 0.0299109165, 0.2334380001, 0.5257870555, 0.7907595038, 0.9111344814, -0.4075447917, 0.8710603118, -0.3590620458, 0.8461171389, 1.0889856815, -0.2598588765, 0.8488132954, 0.5649676323, -0.2343288511, 0.476085484, 0.3929447532, -0.5097722411, 0.7898270488, -0.1263653487, -0.0224357415, 0.0543444417, 0.0381510966, -0.169566229, 0.7593089938, 0.1383564323, -0.590069592, -0.4924759567, 0.596758306, -0.0902847648, -0.2542861104, -0.2319629043, 0.849745214, -0.1861710548, -0.4901069403, 0.2599869967, 0.1181318611, 0.5682972074, -0.2395422608, -0.078117229, 0.1639309824, 0.0576633923, -0.2672073245, -0.6662980914, 0.3337405026, 0.0509417616, -0.5845019221, -0.1240241453, 0.918786943, -0.6460496187, -0.8108292222, 0.4187461138, 0.2995303571, 0.0149406567, 0.0889850557, -0.3961132765, 0.1212842986, -0.0902310312, -0.1604836583, -0.0863706842, 0.2896046937, -0.0297542214, 0.492823422, 0.1570748985, 0.0542042106, 0.0615492836, 0.2300375551, 1.0152131319, -0.758751452, -0.3507499397, -0.6205500364, 0.5621030331, -0.0731605813, 0.0779879764, 0.6030645967, 0.5479359627, 1.012673378, -0.1633737832, 0.7347553372, 0.0870727524, 0.708322525, -0.4896159172, 0.4575889707, -0.2254068255, 0.0524425283, -0.0636372343, -1.2435145378, -0.4489894509, 0.5527114272, -0.1858220845, 0.0480961949, 0.7506420016, 0.309351176, -0.3389906585, 0.1362740099, 0.1815386862, -0.2079239041, 0.2152960002, 0.7075456977, 0.5244172215, -0.8585140705, 0.2779932916, -0.2779419422, 0.1620560735, -0.0218831375, -0.6967145205, -0.9620792866, -0.6797267795, -0.356862396, 0.0175742526, -0.2728526294, 0.7384001017, 0.713049829, -0.9693499207, 0.3800602555, -0.0520982333, -0.1350654811, -0.1537399888, -0.246139586, 0.403285563, -0.1722459495, -0.7683780789, 0.4991433918, 0.3237250745, 0.2069158405, -0.2180153728, 0.2762175202, -0.0355399624, 0.016268868, 0.4036533237, 0.0743446648, -0.7438035011, -0.2457813621, 0.0619202442, -0.1799260974, 0.3874617219, 1.0877672434, -0.9624034762, 0.6215341687, 0.236882627, 0.7468820214, 0.3941298425, 0.1196807474, 0.424693197, -0.6682593226, 0.1193456426, 0.2725565732, 0.5803349614, 0.7610839605, -0.7345787287, 0.5248578191, 0.1663364172, -0.3184640706, -0.5727119446, -0.0038254778, -1.0998773575, -0.0234626047, 0.8744492531, -0.1191302091, 0.0497893095, 0.0011253126, -0.1219934374, 0.4544271529, -0.2235684097, 0.4853723943, 1.008223772, -0.319406569, -0.2987609804, -0.4625756741, 0.210381642, -0.1201939657, -0.7265398502, -0.2141511589, 0.1738759577, 0.3363354802, 0.4777029157, 0.1291508228, -0.0297408234, 0.0173175354, -0.1248555407, 0.0598377213, 0.1429458559, -0.6458079815, -0.5784564018, 0.1674081981, -0.3565369844, -0.1640788168 ]
http://arxiv.org/abs/2406.17465v1
http://arxiv.org/pdf/2406.17465v1
Enhancing Tool Retrieval with Iterative Feedback from Large Language Models
2024-06-25T11:12:01
2024-06-25T11:12:01
Qiancheng Xu, Yongqi Li, Heming Xia, Wenjie Li
cs.CL
cs.CL, cs.AI
Tool learning aims to enhance and expand large language models' (LLMs) capabilities with external tools, which has gained significant attention recently. Current methods have shown that LLMs can effectively handle a certain amount of tools through in-context learning or fine-tuning. However, in real-world scenarios, the number of tools is typically extensive and irregularly updated, emphasizing the necessity for a dedicated tool retrieval component. Tool retrieval is nontrivial due to the following challenges: 1) complex user instructions and tool descriptions; 2) misalignment between tool retrieval and tool usage models. To address the above issues, we propose to enhance tool retrieval with iterative feedback from the large language model. Specifically, we prompt the tool usage model, i.e., the LLM, to provide feedback for the tool retriever model in multi-round, which could progressively improve the tool retriever's understanding of instructions and tools and reduce the gap between the two standalone components. We build a unified and comprehensive benchmark to evaluate tool retrieval models. The extensive experiments indicate that our proposed approach achieves advanced performance in both in-domain evaluation and out-of-domain evaluation.
[ -0.1824499816, -0.7264737487, 0.6172845364, 0.0658593103, -0.4820213318, 0.2175848931, -0.4756203294, -0.444406122, 0.0090246815, 0.414660573, -0.4623666108, -0.6140263677, -0.5537368059, 0.0060224668, -0.5346330404, 0.7010889053, 0.0652648062, 0.2477359027, -0.1706020385, -0.1052429676, -0.7084802985, -0.638002038, -0.5122093558, -0.5035206676, 0.4676811993, 0.4656352103, 0.3909701407, 0.3312399685, 0.5136840343, 0.3504544199, -0.0914420336, 0.1151809394, -0.5606992245, 0.1055274904, -0.2953375876, -0.3207212687, -0.2290352583, -0.2157712877, 0.6316708326, 0.803776741, -0.3895056546, 0.2645584643, 0.1837467104, 0.212455526, -0.5664023757, 0.080893293, -0.8402643204, -0.2226767689, -0.2055096477, -0.3273434341, -0.7900400162, -0.3405644596, 0.1974301189, -0.629422009, 0.2653862536, 0.0640637502, 0.4489428997, 0.0230861995, -0.3235227764, -0.2474928349, -0.7167167068, 0.8705063462, -0.8528690934, 0.6565516591, 0.4432348311, 0.4452136159, -0.3385759592, -0.7561222911, -0.245581463, -0.6407796741, 0.0995734856, -0.129354775, 0.2208601385, -0.3096163571, 0.3759978712, 0.2653516531, -0.0852079093, 0.3288450539, -0.4563101828, -0.2654746473, 0.6644303203, 0.2361087054, -0.1126812696, 0.1319788545, -0.3106623888, -0.198210448, -0.8482635021, -0.12171866, 0.3124756813, 0.5203983784, 0.1315678358, 0.6470918655, -0.064909704, 0.6786540747, -0.005367178, -0.2026339173, 0.4149174392, -0.3660711646, -0.047853373, -0.3170617819, 0.4938154817, 0.3169053197, -0.0878505856, -0.5200388432, -0.533372879, -0.4666747749, 0.5556162596, -0.9541834593, -0.0864252001, -0.112490654, -0.3765248358, 0.0122920005, 0.2054751962, -0.5638953447, -0.7054309249, -0.3674035072, 0.6014326215, -0.3035790324, -0.3730413318, 0.0784501657, -0.1313519776, 0.1842992157, 0.6699873805, -0.3504336476, 0.1543644965, 0.6005573869, 0.9788743854, -0.2818207443, -0.1504386961, -1.074126482, 0.0707530826, -0.1454428434, 0.7547249794, -0.9339127541, -0.7370265126, 0.037556611, 0.218249917, 0.1762034893, -0.833244741, 0.2074896246, -0.7661572099, 0.1589500457, -0.2850598991, -0.5636231899, -0.4566418529, 0.227625668, -0.6825587749, 1.2968018055, 0.1250561029, -0.5363616943, 0.3454262018, -0.5653586984, -0.3698135614, 0.1916671693, -0.1200750843, -0.4583800733, 0.3611237407, 0.1111092716, 0.3545286953, -0.5387835503, 0.3238332272, -0.8686057329, -0.6052790284, 0.019046111, -0.302541703, 0.4743469656, 0.0138140582, -0.25034374, 0.4635588825, -0.5585740805, -0.0638921857, 0.0869772658, -0.5232508779, -0.2119321227, -0.1234828159, 0.1094779447, 0.2762765586, 0.209424898, -0.6497166753, 0.4861839116, -0.4974968731, 0.217492342, 0.8353801966, 0.0513310544, 0.4106556773, -0.0975548849, 0.4672594666, 0.0071820091, -0.0170210656, -0.1241312996, 0.0071795685, -0.6021297574, -0.0847810581, 0.4127705991, 0.2992677093, -0.8554767966, 0.3112167418, -0.1572466791, -0.4559737444, -0.5328534842, 0.5190527439, 0.3373310566, 0.2996175885, 0.430059135, -0.7936800122, -0.3259829879, -0.5621213317, -0.1165207773, 0.0125659145, -0.3200792968, 0.463835448, 0.4326563776, -0.1382500231, 0.5905529857, -0.2513426542, -0.3411664069, -0.3288789093, 0.1307797432, 0.0984154269, 0.2265405059, 0.0587738343, -0.5097855926, -0.3943649828, 0.0551874898, -0.4080924094, -0.0616713241, 0.1823817194, 0.0318974108, 0.0495887473, 0.7470492125, -0.3697152138, 0.414890945, 0.1002398804, -0.0787948817, 0.5696761608, -0.2959733009, -0.175083667, -0.9330777526, 0.4286665618, -0.0780868679, -0.3497745693, -0.2509819269, 0.1991025209, 0.2040468752, 0.1495344639, -0.5532938242, 0.8872981071, -0.5669958591, -0.2511914372, -0.3917637765, 0.3994946778, -0.1553096324, 0.3094597459, -0.1481811553, 0.9271349311, 0.4847724438, -0.647819221, 0.3746806085, -0.0449554883, -0.2975396216, 0.5147024393, -0.6764197946, 0.5041257739, -0.0039604302, 0.2170760185, -0.7783615589, -0.0727783665, -0.1291251034, -0.1411312819, 0.4531943202, -0.2136367559, -0.9939537644, -0.3723435998, -0.5413956046, 0.0161839835, 0.2051905692, -0.7512175441, 0.7727392316, 0.3943882585, -0.1211413369, -0.5592476726, 0.1500378102, -0.0417433195, -0.1669484526, -0.2264745384, -0.0004339952, -0.3057474196, -0.102525495, -0.3466483653, -0.4921321571, 0.0574711114, 0.2662119269, 0.0917026699, 0.2001525909, 0.0879061446, 0.5031526089, -0.2871992588, -0.075663574, -0.0289509706, -0.1783655435, 0.641323626, -0.0161975343, -0.6897400022, -0.0312369149, 0.2846688032, 0.3678624928, -0.4365347922, 0.4272207022, 0.8584448099, -0.1683838218, -0.204738006, -0.9141383171, -0.5962464213, -0.5215396881, 0.5235540867, -0.5270195603, -0.9507412314, 0.3835802078, -0.5956737995, 0.3253642619, 0.2012191862, 0.790802598, 0.1305425763, 1.3799253702, 0.9767541289, -0.2536085546, 0.5697047114, -0.3669261634, -0.0160197262, -1.10577631, -0.3579164445, -0.5918287635, -0.186719358, -0.1303848326, -0.4078319073, 0.2537952363, 0.3017987013, -0.1485765129, 0.371455133, -0.3026813865, 0.4728975892, 0.6169893742, 0.2412404865, 0.4914905429, 0.0525435098, -0.5435587168, 0.1334336847, -0.6982450485, -0.5140706897, 1.1390622854, 0.308469981, 0.8427516222, 0.2861454487, 0.5729598403, 0.0974470451, 0.5822652578, -0.9485897422, 0.4974423051, -0.0776274279, -0.412940979, -0.1257224232, -0.392351985, -0.930270493, 0.4172107279, 0.0968271792, -1.1086761951, -0.1490496844, 0.0172885526, -0.3122782707, 0.1765289903, -0.6808223724, 0.6883082986, -0.1378972381, -0.5203568935, -0.4291648567, -0.6083243489, -0.0108175324, -0.201072678, 0.204223603, -0.0433471911, 0.0479055494, 0.4478738904, -0.3796089888, 0.9724904895, -0.3613613546, -0.4243258536, 0.0227653105, 0.2690957785, 0.7945227623, 0.164669618, -0.4396698177, -0.2193730474, -0.0492297374, -0.091023162, -0.6596150398, 0.7998710871, -0.6161955595, -0.8410579562, -0.0228195991, -0.6024852395, -0.3508219719, 0.4340221584, -0.0854134038, 0.6443463564, 0.0400397182, 0.4261084497, 0.478557229, -0.2674710155, 0.3951988518, 0.7618812323, -0.464646101, 0.0445781574, 0.8193145394, 0.0361394659, 0.201226145, 0.1884191334, 0.0384180397, -0.5629981756, -0.5320913196, -0.5515217185, 0.3302765489, -0.9644809365, -0.4017169774, -0.5135408044, 0.1349171251, -0.0097359242, 0.1388736367, -0.3390191197, -0.1883131117, -0.3304611742, -0.020925479, 0.4422717988, 0.9176525474, 0.2898992896, 0.3222641349, -0.8076472282, 0.0290974304, -0.0161912721, 0.7835974097, 0.3667232692, -0.814850688, -0.2884932756, -0.1107876748, -0.4916505218, -0.7036249638, 0.1412160844, 0.0838833749, 0.6441323161, 0.1650976241, 0.0861160904, 0.7965875268, -0.6176335216, 0.5916863084, -0.1208812073, -0.8371019363, 0.3213913143, -0.0132976733, 0.5942453742, 0.4780012071, 0.2397421449, -0.3556158543, -0.5035490394, -0.4415051639, -1.0641357899, 0.8011270761, -0.1888834983, 0.2101673633, 0.2157841474, 0.3514460623, 0.3788345754, 0.2968529761, -0.6466213465, 0.14985241, 0.0632493272, 0.0505813397, 0.053007789, -0.0013492451, -0.1759013385, -0.1715712398, 0.8135225773, -0.4113985896, 0.1716106534, -0.1770286411, -0.4851314127, -0.2470858991, 0.3722501099, 0.3210240602, 1.023067832, -0.1023103669, 0.1066975817, 0.5766342282, -0.2067518681, 0.0018110607, 0.2061652541, 0.1021080017, 0.1086019352, 0.215632081, 0.6000962257, 0.3208619654, -0.7873035669, 0.4773950875, 0.0257429313, 0.1308998317, -0.2695188224, 0.0289701782, 0.2542254627, 0.5123773813, 0.4258452356, -0.3886945844, 0.3475044072, -0.3994452357, 0.3683328927, 0.7100210786, -0.510011375, -0.3036006987, 0.427016288, 0.1665554494, -0.3941906691, 0.6150649786, -0.2761451006, -0.4008497298, 0.3111411631, 0.6040915251, 0.6752253175, -0.0332897939, 0.0174393691, 0.4638254941, 0.2103230357, -0.239838928, 0.2701618373, -0.2099238187, -0.2421579212, -0.6505249739, -0.4844766259, -0.3252511322, 0.2506368756, -0.6027418375, 0.5197545886, -0.3676524758, -0.2287346274, -0.24267672, 0.0751640052, -0.7903602123, -0.2075178325, -0.2004433274, 1.0608259439, -0.2599205971, 1.032351017, 0.7495584488, -0.4802082479, -0.9773489833, -0.0301344171, 0.1363842338, -0.7052913904, 0.6408655047, 0.5122169852, -0.3820364177, 0.0722372159, -0.5392120481, -0.8930736184, 1.1256257296, 0.4000613391, -0.742883265, 0.0179570485, -0.2720970511, 0.4988798797, -0.1961264908, 0.5893880129, 0.3438129127, 0.258151561, 0.3638098836, -1.4091281891, 0.1990415603, -0.2644786239, 0.2914859653, 0.446374625, -0.4172489941, 0.4610711634, -0.3174481392, -0.3019408286, 0.157915622, 0.3913862407, 0.3023919463, -0.0195921175, 0.5149273276, 0.441888988, 0.4831843972, 0.1530657709, 1.0773620605, -0.0705632567, 0.4510546625, 1.3881161213, -0.4987305403, 1.0340723991, 0.4656533301, 0.0283799674, 0.2997112572, 0.5200077891, 0.0036704012, 0.4123445153, 0.3724270463, -0.2058131993, -0.3907173872, -0.2696018815, -0.3480681777, 0.3547767997, 0.2854022086, -0.3622928858, -0.4955671728, 0.0985920131, -0.0595329925, -0.1534069777, -0.2311534286, 1.1479833126, 0.16355066, -0.5196148753, 0.5187823772, 0.2099374682, 0.6417628527, -0.562995255, -0.3583595753, -0.0011692304, 0.4788794219, 0.0265439376, -0.5290329456, 0.1592930704, -0.1224833056, 0.0621837042, -0.0004446526, 0.6600065827, -0.475832969, -0.458827436, 0.6385147572, 0.4566965997, 0.0070861452, -0.1262801141, -0.744382441, 0.2721494734, -0.1530556381, -0.2116751969, 0.402794987, 0.2924055755, -0.1708532125, 0.8933622837, 0.6050981879, -0.0209280364, -0.0148464944, 0.5209864974, 1.0338779688, -0.5219903588, -0.2223555297, -0.7830310464, 0.433933109, -0.2014758289, 0.0242234878, 0.9175782204, 0.4356085956, 1.1798304319, 0.0474809259, 0.5613159537, 0.0401536562, 0.8057924509, -0.3910810947, 0.3064470887, -0.7405792475, 0.7444993854, -0.2488202155, -1.0486543179, -0.2550870478, 0.5480324626, -0.3362742066, 0.3023715317, 0.4818374515, 0.8360564113, -0.3266580105, -0.1483190358, 0.144595027, 0.2002652287, 0.3660983443, 0.2256757766, 0.7203713059, -0.1458752453, 0.5959230065, -0.1598335057, -0.0191293508, -0.4241785407, -0.8038821816, -0.8677690029, -0.507124722, -0.1437091827, -0.3194074035, -0.0762231499, 1.2719472647, 0.8435621858, -0.6738806367, -0.592734158, 0.290856272, 0.045548141, -0.1097603738, -0.220626846, 0.146103248, -0.518304944, -0.5832081437, 0.4887637198, 0.3632713258, -0.3344087303, -0.4512583613, -0.0671850368, -0.242273584, -0.1764778197, 0.9068219662, -0.0111995386, -0.8764815927, -0.4459554553, 0.2538692057, 0.2464769781, 0.0794458464, 0.9886146784, -0.8504396677, 0.7458553314, 0.2349817306, 0.7624441981, 0.6115551591, -0.1772696525, 0.7829582095, -1.1411069632, -0.0264566969, 0.1258294284, 0.3692625463, 0.616948247, -0.2102450579, 0.5345453024, -0.0933782458, -0.281979084, -0.9575343132, 0.3102231324, -0.446328938, -0.2778576016, 1.1498382092, -0.1690590978, 0.2627981603, -0.3409278691, -0.4987712502, 0.329087764, -0.6075082421, 1.0299288034, 0.7170088887, 0.0824964941, -0.2764982879, -0.6668345928, 0.0823232457, 0.3398088813, -0.70625633, 0.3194600642, 0.5058930516, 0.4076185524, 0.1436046809, 0.476513803, -0.3288215697, 0.2945274711, -0.526253581, 0.0047073839, -0.0358132869, -0.4539032578, -0.4127040505, 0.1047109365, 0.5615113378, 0.2569437921 ]
http://arxiv.org/abs/2407.00875v1
http://arxiv.org/pdf/2407.00875v1
MoE-CT: A Novel Approach For Large Language Models Training With Resistance To Catastrophic Forgetting
2024-06-25T11:03:45
2024-06-25T11:03:45
Tianhao Li, Shangjie Li, Binbin Xie, Deyi Xiong, Baosong Yang
cs.CL
cs.CL, cs.AI
The advent of large language models (LLMs) has predominantly catered to high-resource languages, leaving a disparity in performance for low-resource languages. Conventional Continual Training (CT) approaches to bridge this gap often undermine a model's original linguistic proficiency when expanding to multilingual contexts. Addressing this issue, we introduce a novel MoE-CT architecture, a paradigm that innovatively separates the base model's learning from the multilingual expansion process. Our design freezes the original LLM parameters, thus safeguarding its performance in high-resource languages, while an appended MoE module, trained on diverse language datasets, augments low-resource language proficiency. Our approach significantly outperforms conventional CT methods, as evidenced by our experiments, which show marked improvements in multilingual benchmarks without sacrificing the model's original language performance. Moreover, our MoE-CT framework demonstrates enhanced resistance to forgetting and superior transfer learning capabilities. By preserving the base model's integrity and focusing on strategic parameter expansion, our methodology advances multilingual language modeling and represents a significant step forward for low-resource language inclusion in LLMs, indicating a fruitful direction for future research in language technologies.
[ -0.3146820664, -0.753475368, 0.3413057327, 0.1434392929, -0.1795579195, 0.2438375652, -0.5699662566, -0.1571723223, -0.1287366301, 0.3494779468, -0.534533143, -0.3670362234, -0.672127068, -0.0065994961, 0.1316412836, 0.6914941669, -0.0646359846, 0.2268192023, -0.1177717, -0.477273047, -0.8408304453, -0.6871557236, -0.7909492254, -0.3998821378, 0.6185871363, 0.3325755298, 0.3997209966, 0.592114985, 0.3081045151, 0.2171247154, 0.0423650183, 0.0955844223, -0.7762959599, 0.0986323804, -0.1836534441, -0.5662593842, -0.6226828694, -0.3777308762, 0.9991787672, 0.805090785, -0.2877325118, -0.1300776005, 0.2877191007, 0.720277369, -0.8723301888, 0.2150309831, -0.9574964643, 0.0103925746, -0.3678669035, -0.0716297999, -0.8072988987, 0.0339570493, 0.0239045788, -0.4683283865, -0.0457429104, -0.2658376396, 0.6092653871, 0.0202763211, -0.3987743258, -0.207632497, -0.7349995971, 1.0560920238, -0.3015165031, 0.6224149466, 0.2407254726, 0.1591639668, 0.1092216074, -0.2762108743, -0.1455461532, -0.4487270415, 0.3982600272, 0.2049834281, 0.0556294061, -0.1930544078, -0.0775561333, 0.2093060315, -0.6237987876, 0.2831062376, -0.4682101011, -0.217824921, 0.3381924033, 0.1505680531, 0.2976589203, 0.3461365104, -0.6838973165, 0.0585676059, -1.1537430286, -0.2294791043, 0.1090505496, 0.4543084204, -0.1788522005, 0.1740469038, 0.0916166157, 0.2880669236, -0.1540086716, -0.0478415452, 0.1801006049, 0.058605466, 0.0126429554, 0.0823406577, 0.7199314833, -0.0934074372, 0.305216223, -0.2850149572, -0.2585517466, -0.1327064186, 0.1985036731, -0.5234891176, -0.1742897332, -0.1865808815, -0.2712962925, 0.0143089006, -0.2632514238, -0.5532782078, -0.0915935189, -0.0870099068, 0.41602543, -0.9433034062, -0.5275344253, -0.0523977317, 0.2119857222, -0.1131107584, 0.2808414996, -0.9593169689, 0.0813256949, 0.5860791802, 1.0681993961, -0.3228197694, -0.602933526, -0.3933265507, 0.5720728636, -0.471993804, 0.5505974889, -0.716175139, -0.6021553278, 0.1057849675, -0.2177747041, -0.1460587978, -0.6569039226, 0.1810370982, -0.7442200184, -0.0331983194, -0.1252072006, -0.3712056577, -0.2404128611, 0.5990905166, -0.6996483803, 0.8900001645, 0.1106955037, -0.3363919854, 0.1861583591, -0.7485583425, -0.3044257164, 0.0468592383, 0.0880878642, -0.3348419666, 0.2349312901, 0.1155181825, 0.3313142955, -0.2757773995, 0.307844013, -0.5624973774, -0.2911156416, 0.10725227, -1.0004473925, 0.8332099319, 0.1552614123, 0.109548904, -0.099442862, -0.6889508367, -0.0414886065, 0.3783550262, -0.7817075253, -0.5221508145, -0.2799393237, 0.0025082028, 0.3009402454, 0.4982271194, -0.3605778813, 0.3712945879, -0.4265647233, 0.4265649319, 0.9999679923, -0.2768387198, 0.6095543504, -0.4365064502, 0.5332604051, 0.2600946426, 0.1125518829, -0.666749239, -0.2402644455, -0.8532213569, -0.3054369688, 0.1872977465, 0.4905079901, -0.8517866731, 0.0084095486, -0.7117533684, -0.4652780294, -0.3111494482, 0.4642251134, 0.6118867397, 0.227966547, 0.409624964, -0.4576376379, -0.4458318055, -0.7795827389, -0.0550891347, -0.2424513102, 0.0918251276, -0.0506243967, 0.3219430149, -0.0760548562, 0.6461017728, -0.0851617083, -0.2528832853, -0.5145515203, 0.0062080552, 0.033441592, 0.68700248, 0.5228707194, -0.6350468397, -0.5346530676, 0.1186146885, -0.722741127, 0.2647174001, -0.1752019078, -0.1137199029, 0.4248953164, 0.4435353577, -0.4462288916, 0.0082703838, 0.6303883195, 0.2676977813, 0.4932106435, -0.3384270072, -0.1888637692, -1.2522798777, 0.0574083626, -0.3584276438, 0.1383166462, -0.5427120328, 0.2056947798, 0.2298415601, -0.1362558752, -0.5478398204, 0.8982131481, -0.7036660314, 0.3043394089, -0.2235898674, -0.1303137988, -0.2724975646, 0.6405909657, 0.050824482, 0.7410461903, 0.681075871, -0.7645998001, 0.2512767613, 0.0741437897, -0.0407023616, 0.6145674586, -0.2227574438, 0.2440479547, -0.0665367097, 0.1831978709, -0.8449243307, -0.0352475494, 0.1551511139, -0.2994988859, 0.6178592443, -0.3979159296, -0.331440717, -0.2227271199, -0.1007489935, 0.6893486977, 0.4409027696, -0.3424386084, 0.8494958878, 0.1555185318, -0.4417128563, -0.5161603093, -0.8218151927, 0.4098945558, -0.3032864928, -0.4565556943, 0.1817538291, -0.2713118792, -0.0521164648, -0.2161047012, 0.1195339561, -0.5051550865, 0.2373259068, 0.0114748562, 0.2264390588, -0.6565769911, 0.3857554793, 0.0193394572, -0.3369060457, -0.0809193775, -0.5272384882, 0.8836061358, -0.1197867692, -0.4728049934, -0.5326761007, 0.5672214031, 0.7990058661, -0.3458780944, 0.8075853586, 0.4438882768, -0.3945860267, -0.1826765388, -0.6568247676, -0.0915492773, -0.4644837677, 0.6875898242, -0.4981010258, -0.6834877133, 0.4333385527, -0.160863921, 0.2286638319, 0.253361702, 0.7613993287, 0.0827523246, 0.6948025227, 0.8811488152, -0.3258203566, 0.7231429219, 0.0047459817, 0.0165049601, -0.8418139815, -0.053189531, -0.0671130791, -0.2039421052, -0.2296733111, -0.29678455, 0.2992975414, 0.108523719, -0.360440582, 0.1898864806, 0.0921654478, 0.3168824613, 0.5899749994, 0.0695708245, 0.3145996928, 0.0216131918, -0.3324146271, -0.0318438448, -1.0904603004, -0.4667347968, 1.3950794935, 0.3178752363, 0.6297540665, 0.2383590043, 0.7704639435, 0.1264774799, 0.7072828412, -0.6678358912, 0.4919529259, -0.0728985295, -0.6766095757, -0.3254929781, -0.4124528766, -0.7980659604, 0.2617197931, 0.0722420365, -0.5536308289, -0.1534054875, 0.4087936282, -0.4180184007, 0.5969004035, -0.8164801598, 0.6250451803, -0.4352608919, -0.5659030676, -0.3475810587, -0.2828487754, 0.4111118317, -0.3936317861, 0.2460948378, -0.0545654707, -0.1172011346, 0.422011584, -0.0796434134, 0.9644227028, -0.0174347665, -0.3299500346, 0.2298151851, 0.3545385003, 0.4767410457, 0.0292528514, -0.265614152, 0.4259319007, -0.4648464024, -0.666108191, -0.2564749718, 0.7251625061, -0.3993215263, -0.6525310874, -0.168178007, -0.7777553797, -0.4987416565, 0.418573916, 0.23636657, 0.3059010208, -0.4278998375, 0.3923123777, 0.7883359194, -0.1951019764, 0.5517940521, 0.4666567445, 0.1089932472, -0.5158935785, 1.0209858418, 0.3280287385, 0.6459518075, 0.5575766563, 0.222550571, -0.0571717918, -0.5991617441, -0.4017568529, 0.1460371166, -0.5506119132, -0.0715821162, -0.592336297, -0.1980496347, -0.2074773759, -0.3027197421, -0.8562712669, -0.0607662573, -0.0835548788, 0.1962409914, -0.0561852045, 0.5224494934, -0.0429990105, 0.3034443855, -1.1048318148, 0.0005005347, 0.231513381, 0.4305137396, 0.431145519, -0.6026896834, -0.5350468755, 0.2353123277, -0.6822528243, -0.4595738947, 0.332531184, 0.4044982195, 0.6054236293, 0.5702106357, 0.0058216304, 0.7618598938, -0.7680210471, 0.6941233873, 0.4610805511, -0.8021193743, 0.3929859698, -0.5059902668, 0.5824465752, 0.2689400017, 0.2436251789, -0.549811542, -0.4515740275, -0.4549915791, -0.8849224448, 0.6213995814, -0.022182228, 0.4816898108, -0.1604490727, 0.1936609447, 0.318079561, -0.0008393607, -0.9399737716, 0.0294399653, 0.0092559531, -0.1091746017, 0.0035288518, -0.4821498692, -0.073438406, 0.1939190626, 0.7133216858, -0.1587678641, 0.2427667081, -0.2539080679, -0.458027482, 0.1054407284, 0.2394281626, 0.6268255711, 0.7136346698, 0.0796312913, 0.0443697125, 0.5871102214, -0.4627285302, 0.1016539186, -0.4740309119, 0.0865155011, -0.1059829891, 0.6758604646, 0.5361284614, 0.5442457795, -0.6308463216, 0.218978256, 0.267303139, -0.132239908, -0.3777240217, 0.0801598132, 0.2740685642, 0.0702096373, 0.2963825464, 0.1573639363, -0.363929987, -0.6619027257, 0.2704261541, 0.3398410678, -0.5214571953, -0.424992919, 0.7008054256, 0.287149936, -0.2038113326, 0.7371878028, 0.1419971734, -0.4016856849, 0.4593859911, 0.648643136, 0.8846654892, -0.6337837577, -0.1694090366, 0.4266932309, 0.4842974544, -0.2867608368, 0.0262068901, -0.040459808, -0.6120604873, -0.1487096995, -0.3777076304, -0.1524827182, 0.0988456458, -0.7977664471, 0.3333651423, -0.6812965274, 0.0465499796, -0.6718420982, -0.4448076487, -0.5332921743, -0.005359584, 0.3737921417, 1.0274378061, -0.6073618531, 1.1564013958, 0.4936053157, -0.3365639746, -0.3302251995, 0.2039388567, 0.1695028841, -1.0327349901, 0.6418423057, 0.2449619323, -0.1823249161, -0.0429011062, -0.2015334964, -0.9354089499, 1.0413762331, 0.7360206842, -0.6357665062, -0.0047598965, 0.0632860363, 0.2831224799, -0.2338505387, -0.1198609695, 0.1927742213, 0.2216750085, 0.0837947577, -0.8905973434, -0.2024449557, -0.1204020977, 0.2218139619, 0.1890033185, -0.8966991901, 0.7922519445, -0.2128718495, -0.2776951194, 0.3994699419, 0.6159324646, 0.2580133379, 0.1579249054, 0.3300704062, 0.403545469, 0.652410388, -0.1628828943, 0.8403571248, -0.3246737421, 0.4653758705, 1.2712385654, -0.4187998772, 1.0518937111, 0.5185987353, 0.1122721508, 0.2342131436, 0.4231755435, 0.248060897, 0.559671402, -0.0325782858, -0.39550668, -0.5568166375, -0.02369144, -0.4946524203, 0.428709805, 0.4872747362, -0.1322425604, -0.3519694209, 0.3109821379, 0.2025759667, 0.1416582763, -0.3679811954, 0.6490113735, 0.1863592267, -0.3542052805, 0.8096880913, -0.1237579137, 0.6923488975, -0.934671998, 0.0694331154, -0.3905321956, 0.378518194, 0.4246502221, -0.5113906264, 0.3668900728, -0.093989864, -0.2875830829, -0.4746195376, 0.0383049957, -0.5266980529, -0.5499195457, 0.479555279, 0.398270905, -0.2758978605, -0.0006148757, -0.6805207729, 0.2110446841, -0.2095907927, -0.2191797495, 0.328522861, 0.7443304062, -0.250967145, 1.089525938, 0.6162904501, 0.0254154708, 0.1941301525, -0.0616559051, 0.7958711386, -0.5556852818, -0.7082811594, -1.0056496859, 0.4355090261, 0.0979914144, -0.4851288199, 0.4258708954, 0.6183653474, 1.1752130985, -0.1981550455, 0.9085593224, 0.2750531137, 0.1309874356, -0.884681344, 0.983828187, -0.7493059039, 0.3431255221, -0.0511771515, -0.8024227619, -0.4763270319, 0.2438450307, -0.256963402, 0.27482149, 0.7645465732, 0.7003561258, -0.161565572, -0.5189775825, 0.6234685779, 0.4595849812, 0.3839504719, 1.0888189077, 0.8863969445, -0.1957998425, 0.8377637267, -0.0001869955, -0.1707541049, -0.429009527, -0.6614487767, -0.959374249, -0.5284905434, -0.1703668833, -0.034763705, 0.2163440734, 0.8960903287, 0.7688630223, -0.7850960493, -0.3214367032, -0.0138764344, 0.1379010379, -0.37991786, -0.148359254, 0.2090770155, -0.5294189453, -0.9231219888, 0.4947483242, 0.6807350516, -0.0387605652, -0.2982499599, -0.2969253361, -0.1938276291, 0.0447177887, 0.5498201251, 0.4093845487, -0.874242425, -0.0857300162, -0.1579033285, -0.1295656413, 0.3040107191, 0.7627388835, -0.5047775507, 0.6726306081, 0.094649002, 0.876303196, -0.1197069213, -0.5831106305, 0.9054551721, -0.6885249615, 0.4658373594, 0.2190419286, 0.4989132881, 0.2214702815, -0.2713628709, 0.1831187159, 0.4035836756, 0.0674337819, -0.8129218817, 0.424412936, -0.8081851006, -0.281134814, 0.9524149895, -0.2559435368, -0.0379699543, -0.1761035621, -0.1933807433, 0.0432309993, -0.3089314997, 1.1191833019, 1.0266379118, 0.3863761723, -0.3168098032, -0.4766874313, -0.1086340025, 0.4213923216, -0.3766345382, 0.3211238682, 0.2395280451, 0.4053739607, 0.1003835723, 0.577870965, -0.3000866175, 0.3993656337, -0.0109652681, 0.114379406, -0.3241212666, -0.6292765141, -0.4138170183, 0.39285025, 0.1050210819, -0.2009310573 ]
http://arxiv.org/abs/2406.17456v1
http://arxiv.org/pdf/2406.17456v1
Improving Grammatical Error Correction via Contextual Data Augmentation
2024-06-25T10:49:56
2024-06-25T10:49:56
Yixuan Wang, Baoxin Wang, Yijun Liu, Qingfu Zhu, Dayong Wu, Wanxiang Che
cs.CL
cs.CL, cs.AI
Nowadays, data augmentation through synthetic data has been widely used in the field of Grammatical Error Correction (GEC) to alleviate the problem of data scarcity. However, these synthetic data are mainly used in the pre-training phase rather than the data-limited fine-tuning phase due to inconsistent error distribution and noisy labels. In this paper, we propose a synthetic data construction method based on contextual augmentation, which can ensure an efficient augmentation of the original data with a more consistent error distribution. Specifically, we combine rule-based substitution with model-based generation, using the generative model to generate a richer context for the extracted error patterns. Besides, we also propose a relabeling-based data cleaning method to mitigate the effects of noisy labels in synthetic data. Experiments on CoNLL14 and BEA19-Test show that our proposed augmentation method consistently and substantially outperforms strong baselines and achieves the state-of-the-art level with only a few synthetic data.
[ -0.1880768239, -1.2080072165, 0.4130469859, 0.15232265, -0.138324365, -0.1272694319, -0.3532695174, -0.3022788167, 0.2049840838, 0.2282628715, -0.8688496947, -0.6411320567, -0.2124172747, 0.3481722176, -0.3929808736, 0.7458349466, -0.0854484588, 0.2666894495, -0.4057687521, 0.1165350676, -0.8116007447, -0.6344915628, -0.4175447524, 0.1046910435, 0.2475463003, 0.5125048161, 0.5694309473, 0.7212070227, 0.0521406196, 0.3530960381, -0.200120002, 1.0053751469, -0.3499459624, 0.1102846786, -0.33122316, -0.1749019325, -0.7519798875, -0.147478953, 0.755243361, 0.9061386585, -0.1175113544, -0.2172372341, 0.1385773271, 0.3892630637, -0.5505821109, 0.2429495752, -0.6192464232, 0.0224839076, -0.1907212734, -0.2533699274, -0.4989283085, -0.443521142, -0.3310416341, -0.9821437597, 0.5598964691, -0.1052290946, 0.7066521049, 0.2567343414, -0.2426369041, -0.0518812202, -0.6593929529, 0.5997873545, -1.0312247276, 0.3225020468, 0.2779918015, -0.116082482, -0.4985109866, -0.5645700693, -0.7894535661, -0.0533034019, -0.2308947742, 0.088003993, 0.0230942462, -0.0278869458, 0.2586584091, 0.4317733049, -0.3272726536, -0.1048184335, -0.3471603692, -0.2049137652, 0.6966826916, 0.0261104908, 0.4339559674, -0.2176301777, 0.0719655603, -0.2593311071, -0.737082243, -0.2477160394, 0.4573533833, 0.606348455, 0.1401720941, 0.5023467541, -0.4505755305, 0.8243566751, 0.2174479961, 0.1048004776, 0.6877952218, -0.7111257315, -0.307074666, 0.1074515432, 0.4405241311, 0.4120720327, 0.1742608249, -0.0964932144, -0.2474144846, 0.2707761526, 0.3159236908, -0.3657338321, -0.206703186, -0.1119689941, 0.0890005827, -0.3677818477, 0.3430824876, -0.8919175863, -0.0414026529, -0.8444918394, 0.3173313141, -0.4857718349, 0.118105948, 0.0130998176, 0.2238019556, -0.1953019649, 0.4400632977, -0.8793247938, 0.1263844818, 0.5213010907, 0.5230967402, 0.1176335588, -0.1638718098, -0.653932035, 0.0963063762, -0.617284596, 0.6935698986, -0.3828724623, -0.5936048031, 0.0701215789, 0.1970589757, -0.1175932288, -0.6903343797, 0.8071938753, -0.1870136857, 0.4195477962, -0.1823583692, -0.6404221654, 0.0754214749, 0.1767869443, -0.5920165777, 1.2618479729, 0.2604705095, -0.3426428139, 0.43619138, -0.4788869321, -0.742785275, -0.0199614409, 0.0423412509, -0.4587216973, 0.101101473, 0.7050775886, 0.2111342698, 0.0805089772, 0.5756836534, -0.0788275972, -0.3681897819, 0.1729099602, -0.472943902, 0.4675125182, 0.0692333877, -0.24151133, 0.0003812221, -1.0874915123, 0.206596002, -0.2316244841, -0.4621083438, -0.3316782713, 0.0376288369, 0.0366696157, 0.0205373242, -0.0915073231, -0.5432117581, 0.3395047784, -0.6110381484, 0.1948596835, 0.7800361514, 0.0010554658, 0.550098896, -0.2999631464, 0.3943359852, -0.0557162352, -0.0203325003, -0.3023871481, -0.1978255212, -0.8227019906, -0.0974134207, 0.483597219, 0.6329863071, -0.869492054, 0.7466796637, -0.5190376639, -0.2603498399, -0.4072767496, 0.3946960568, 0.3444400728, 0.8751262426, 0.6082932353, 0.0484746881, -1.171235919, -0.6210914254, -0.0961855054, 0.0595567264, 0.1552539468, 0.1946983486, 0.1169124544, -0.5852020979, 1.0146788359, -0.5669469237, -0.219100982, -0.1607010663, 0.01632859, 0.1215399653, 0.9629211426, 0.2109045833, -0.5525680184, -0.2697575986, 0.0575575642, -0.6260393858, -0.5300488472, -0.2059106976, -0.2681707144, 0.2472305298, 0.7150020003, -0.4903901815, 0.259236306, 0.2985633314, -0.3140460849, 0.5992913842, -0.3993038535, 0.1416607499, -1.1520096064, -0.1661074311, -0.0173172783, -0.3445783556, -0.7400118709, -0.0100623798, 0.1812996566, 0.0906124562, -0.3440594673, 0.2738830447, -0.2693710327, 0.3951323032, -0.1181542575, -0.0996375307, 0.0507383086, 0.1977084875, -0.2162835002, 0.8763693571, 0.3104887307, -0.4936496615, 0.4663889706, 0.4121574163, -0.1489925683, 0.5502464175, -0.418872118, 0.0258304346, -0.2866210639, 0.4265654981, -0.7994535565, -0.7217075825, 0.4169286788, -0.308044225, 0.3430947065, 0.1040796489, -0.4879150391, 0.0039648102, -0.0465543568, 0.3878739178, 0.5593425632, -0.8305430412, 0.5176952481, 0.0534702018, -0.2382113487, -0.3693881035, -0.7821742892, 0.1517044753, -0.2221167535, -0.8180276752, 0.6986146569, 0.0988266766, -0.1934069842, -0.1265591979, -0.0679305568, 0.146364361, -0.1582996547, 0.0473543555, 0.3843025565, -0.1204717904, 0.38564533, 0.2539880276, 0.0116368607, -0.0094514154, -0.1426621675, 0.302931428, 0.2058328539, -0.1994791478, -0.2781293392, 0.2502142489, 0.2758675516, 0.2043090016, 0.5313084722, 0.2797127664, -0.5316619873, -0.5115195513, -0.561370492, -0.1765522957, -0.4704103172, 0.1576519161, -0.2220922559, -0.3817322254, 0.3545178771, -0.0217704475, -0.3163864613, 0.3439937532, 0.1327522993, -0.2173351049, 0.7915900946, 0.1570945084, 0.154790476, 0.57048136, -0.1650611907, 0.1756217033, -0.6667520404, -0.2368021309, -0.2031441927, -0.0909128264, -0.4419996142, -0.4719230831, 0.342572242, 0.1085636616, 0.0300966911, 0.3451271653, -0.2221066803, 0.3761520088, 0.6791656017, 0.3837075233, 0.2788520455, 0.4118126929, -0.0865604803, -0.3315672576, -0.639549315, -0.3434369564, 0.9528228045, -0.1653237045, 0.6568347812, 0.0516638644, 0.5398582816, 0.2723449767, 0.1013686359, -0.3180813193, 0.4382356107, -0.3458691537, -0.3012942076, -0.2741164863, -0.4074810743, -0.508852005, 0.2886027694, -0.509802103, -0.4025380015, 0.4196132421, 0.4986323714, -0.3128284812, 0.0558487959, -0.9736391902, 0.8126547337, 0.151651755, -0.5969355106, 0.1784445643, -0.4085214436, 0.2808401883, -0.2974714935, 0.283257544, 0.3449262381, 0.3043955564, 0.3601329625, -1.0381116867, 0.8195834756, -0.1569970548, -0.2407134026, 0.364726007, -0.2539910972, 0.9756428003, 0.1048590317, -0.0248947311, -0.1633589715, -0.5197798014, -0.246577248, -0.8460399508, 0.617159903, -0.3758995831, -0.5201024413, -0.2212291807, -0.6503326297, -0.4509017766, -0.2035406083, 0.3351502717, 0.5966489911, -0.210453555, 0.3467767835, 0.320420891, -0.0901239738, 0.2399274111, 0.1835764498, 0.1852223724, -0.4823936224, 0.8182945848, 0.110726513, 0.1735244691, 0.1560517401, -0.0585222468, -0.4625568688, -0.4226047993, -0.6279799938, -0.0613372996, -0.6225550175, -0.3000869155, -0.6576645374, -0.1207903698, -0.753585875, -0.3005755544, -0.2456977218, -0.4359923601, -0.4277143478, -0.3954735696, 0.4551501274, 0.1438438743, -0.3438664675, 0.6089981794, -0.5983532071, 0.0917686522, 0.1209829003, 0.0383436643, -0.28792274, -0.5273801684, -0.1489427388, 0.4194749892, -0.1574792713, -0.7477259636, 0.7373737097, 0.432728976, 0.3182088733, 0.0116116097, -0.2469821423, 1.2100236416, -0.5084962249, 0.677228272, -0.111947231, -1.1704509258, 0.7303666472, -0.5894722939, 0.0746413246, 0.4949935675, -0.4645905793, -0.5677476525, -0.2655772865, -0.8227016926, -1.0156859159, 0.5770468116, 0.3653204143, 0.3746321201, -0.0144299157, 0.5956426859, 0.0693624318, 0.1001771241, -0.6843523979, -0.0420786478, -0.2280900329, -0.4515648782, -0.2232594937, -0.2105341852, 0.1243560389, -0.4791480303, 1.1066374779, -0.1544224322, -0.2317778915, 0.4204069376, -0.2246906012, -0.0998927355, 0.4695115685, 0.5114847422, 0.5028173923, -0.0560080409, 0.10804791, 0.5838474035, -0.4267017543, 0.3768554926, 0.2419226319, -0.5946560502, 0.2341069579, 0.3342891634, 0.6355202794, 0.2385991663, -0.7223715186, 0.1788392365, 0.4729432762, -0.094997853, -0.3652697206, 0.246037066, -0.1187136024, -0.1124263331, 0.2718238235, 0.240410164, 0.1243096516, -0.4449961782, 0.3874187171, 0.1998406947, 0.1311055571, -0.175424993, 0.5838190317, 0.1377084255, -0.0001327679, 0.550735116, -0.4040802419, -0.2763767242, 0.536277473, 0.7452751398, 0.4291445613, -0.432617873, 0.2931670249, 0.595744431, 0.0673281178, -0.2722683251, 0.2606232464, 0.2341302931, -0.8309614658, -0.7523142099, -0.395229578, -0.0396918729, 0.1978987306, -0.4568817019, 0.3275330067, -0.3427309394, 0.0550933778, -0.0819578096, -0.3459613919, -0.3196145892, 0.7014999986, -0.1601259559, 0.4668127, -0.9053584933, 0.5718707442, 0.7011438012, -0.3375414312, -0.7696294785, -0.2022004575, 0.0658622235, -0.3239542544, 0.587936461, -0.0552255809, 0.1362742335, -0.0559285842, -0.4131122828, -0.7427334189, 0.833630681, 0.3776072264, -0.7566113472, -0.0409432314, 0.2593003213, 0.7601985335, -0.4525434375, -0.20982261, 0.6262803674, 0.5603213906, 0.2336675376, -0.4579765499, 0.1423753798, -0.6176640391, 0.1842464656, -0.0345900469, 0.0299375672, 0.8379386663, 0.0629593804, -0.3980134428, 0.1963732988, 0.6218169332, 0.1952354759, 0.2007187307, 0.4320123494, 0.7085398436, 0.8147792816, -0.3455183506, 0.874273181, 0.0593169667, 0.3034054935, 1.3794759512, -0.0941531509, 0.5302672386, 0.5312405229, -0.0691505298, 0.5457755923, 0.5702729225, -0.1725407988, 0.4673165381, 0.1662162393, -0.4258746803, -0.1337758899, -0.0732703507, -0.3933103681, 0.3069724441, 0.3736824691, -0.4922471941, -0.1517890245, 0.0116487639, 0.1035910398, 0.4042822421, -0.2198524028, 0.6802565455, -0.3496414721, -0.7186437249, 0.6131039858, 0.1529840976, 0.6390467882, -0.0886276737, -0.1747161597, -0.4623073637, 0.393209815, -0.3799791336, -0.2651571929, 0.3802814484, 0.1676502079, -0.313846916, -0.2450032979, 0.6620959044, -0.7903979421, -0.7752299309, -0.1748412251, 0.4017560482, -0.2213950306, 0.0312279407, -0.1638765335, 0.013070683, 0.0589416809, 0.2427044213, -0.1727771014, 0.1643198282, -0.1155940443, 0.2447096258, 1.0237722397, 0.2281631231, 0.2725013196, 0.2252613306, 0.7857652307, -0.4738624394, -0.6261251569, -0.7896311283, 0.7543715239, -0.3986321092, -0.2135934979, 0.9017966986, 0.4913105369, 1.1280810833, -0.4403029978, 0.8569270968, -0.0294437818, 0.524386704, -0.8109680414, 0.2561596632, -0.3390489817, 0.3358515501, -0.4345897138, -1.0450072289, -0.5555594563, 0.6512194872, -0.3221857548, 0.1099181175, 0.4939187169, 1.2873241901, -0.3378309906, 0.0714491159, 0.0975863934, 0.1244980246, 0.1761658341, 0.2467177212, 0.7359421849, -0.7220575213, 0.0957708508, -0.3036953211, 0.0483866744, -0.2849722207, -0.6309945583, -0.3810841739, -0.5010873675, -0.488604337, -0.4969718456, 0.4540189505, 1.1620675325, 0.6662108898, -1.0360527039, 0.2982141078, -0.6528883576, -0.1131501719, -0.2450104505, -0.2884760499, 0.380702585, -0.6460933089, -1.1436411142, 0.8614866734, -0.274558872, 0.4662995636, 0.1919606477, -0.1261513084, -0.1468322724, -0.0708417892, 0.5836629272, 0.1398166567, -0.6677877307, -0.2920289636, 0.0056372294, 0.0127664618, 0.2005080879, 0.7081417441, -0.7287676334, 0.7134770155, 0.5790225863, 0.5829536915, 0.1535992175, 0.5916700959, 0.8284423351, -1.3186583519, 0.2052792162, -0.1709064394, 0.5032712817, 0.6394905448, -0.5527157187, 0.6743921638, 0.5285892487, -0.0870185643, -0.8477733731, -0.1459586471, -0.8019970059, -0.1985272318, 1.2419537306, 0.0751247182, -0.0980600566, 0.1435305327, -0.4533166885, 0.3259307742, -0.3284497559, 0.7978258729, 0.7962113023, 0.1669145525, 0.1424153745, -0.283542037, 0.693867743, 0.6141541004, -1.1409958601, 0.0246816054, 1.0909904242, 0.2661800385, 0.1382513046, 0.1620463878, -0.1281669885, 0.2966421843, 0.0664197057, -0.0370505415, -0.1834397167, -0.2700881958, -0.3487108946, -0.0309914872, -0.5789818168, -0.1157354116 ]
http://arxiv.org/abs/2406.17453v1
http://arxiv.org/pdf/2406.17453v1
Learning to Ask Informative Questions: Enhancing LLMs with Preference Optimization and Expected Information Gain
2024-06-25T10:44:01
2024-06-25T10:44:01
Davide Mazzaccara, Alberto Testoni, Raffaella Bernardi
cs.CL
cs.CL
Questions are essential tools for acquiring the necessary information to complete information-seeking tasks. However, large language models (LLMs), especially open-source models, often perform poorly in generating informative questions, as measured by expected information gain (EIG). In this paper, we propose a method to enhance the informativeness of LLM-generated questions in 20-question game dialogues. We sample multiple questions from the same model (LLAMA 2-CHAT 7B) for each game and create pairs of low-EIG and high-EIG questions to apply a Direct Preference Optimization (DPO) algorithm. Our results show that this method produces more effective questions (in terms of EIG), even in domains different from those used to train the DPO model.
[ -0.5069375038, -0.9007977247, 0.675273478, -0.0494824946, -0.3142213225, -0.1730021834, -0.4546491504, -0.3906772435, 0.089636296, 0.6250289083, -0.605789125, -0.4528302252, -0.374096334, 0.113511771, 0.23137559, 0.8205347657, -0.0157480985, 0.1405019015, -0.4347626865, 0.1792899966, -0.208854422, -0.3881059289, -0.9004261494, -0.0746104047, 0.5015587807, 0.6895833015, 0.4196292758, 0.4616440237, 0.5358575583, 0.2546174526, -0.1204966307, 0.6630541682, -0.9994099736, 0.5324590206, -0.0132774608, -1.0239986181, 0.0336064138, -0.1353969276, 0.4227195382, 0.5042698383, -0.0759619176, 0.2278313786, 0.0189754013, 0.5642859936, -0.5076779127, 0.2967381775, -0.7791137695, 0.0136901373, 0.1697587222, -0.779289484, -0.4599793851, -0.5118818879, 0.1542679667, -0.8762645125, -0.4365724325, 0.091104269, 0.8012799025, 0.2050587237, -0.0713201612, -0.5645222068, -0.8890975714, 0.7744768858, -0.6818642616, 0.1649853289, 0.269226402, 0.0475288443, -0.3762708902, -0.2065037489, -0.4532358348, -0.2464431971, 0.2259867787, 0.2369126827, -0.5181236863, 0.0108912019, 0.3626919687, 0.1024583206, -0.2559838891, 0.0052988273, -0.2913731337, 0.2343766838, 0.6758246422, 0.1948828846, 0.0839342922, -0.1206845641, -0.2641001046, -0.2456002533, -0.8070774674, 0.3731041551, 0.9346573949, -0.0411686413, 0.1914281249, 0.6217304468, -0.2552581429, 0.8605219126, 0.4165019691, -0.3086744547, 0.0405385382, -0.3525398374, 0.2250301093, -0.2377628237, 0.4685352445, 0.9201332331, 0.2877576053, -0.0196322668, -0.058069136, -0.3448747098, 0.0585338026, -0.9619308114, -0.1542172879, 0.4916149378, -0.4049317241, -0.5528858304, 0.0595506802, -0.7564892173, -0.2491039187, -0.2512818575, 0.371509701, -0.3636744022, -0.2762567401, 0.1925188005, -0.3405446708, 0.4735616148, 0.58018893, -0.8232047558, -0.0394952111, 0.3406963944, 0.2808935642, -0.1993279308, 0.2308670282, -0.6177099943, 0.277874887, -0.4772912264, 0.7222704887, -0.6591861844, -0.4398043454, -0.0116930483, -0.3022230864, 0.260668993, -0.754409194, 0.3389059901, -0.580281198, 0.3966677785, -0.4757950008, -0.6542013288, 0.0739941224, 0.6306200624, -0.3066477478, 0.869181335, -0.2765856087, -0.7289525867, 0.4207429588, -0.7123975754, 0.0029140348, 0.2190400213, -0.3265729547, -0.03979351, 0.1238418818, 0.5123294592, 0.3958958685, -0.3273454309, 0.2945331037, -0.097883977, -0.3324419856, 0.2655507624, -0.2227093726, 0.3149603605, 0.1805931926, -0.3094054163, 0.0192066915, -0.5862978101, 0.3771416545, 0.3850044608, -0.7361533046, -0.5551304221, 0.1797363311, -0.6887556911, -0.0915620476, 0.4194886386, -0.6012140512, 0.154910475, -0.4891133308, 0.0019439822, 0.7951766849, 0.2891381979, 0.297133714, -0.5192756653, 0.4764440358, 0.2472193688, 0.3464026451, 0.0214041825, -0.5912927389, -0.9376081824, 0.1922338605, -0.0432412997, 0.5424580574, -1.0147082806, 0.3575012684, -0.0302616134, -0.5457283258, -0.5149745345, 0.1287591308, 0.0781959668, 0.5456501842, 0.1936444789, 0.0597622208, -0.6167327762, -0.7240683436, -0.1529190242, -0.5404807329, 0.0573375523, 1.1701413393, 0.1188310981, 0.1683810353, 0.7211717367, -0.8108153939, 0.2890661955, -0.4421264231, -0.0108642094, 0.2812727094, 0.0945160463, 0.3989227712, -0.9424036741, -0.4285061955, -0.2702126503, -0.6343365312, -0.0792047307, 0.0246557966, -0.3348380625, -0.2376567423, 0.168393299, -0.4503253698, 0.0704168975, 0.3589364588, 0.1435510516, 0.276317656, -0.2236439288, 0.4467788935, -1.0914677382, -0.0450197905, -0.150490582, -0.0405100547, -0.8522177935, 0.0868006125, -0.2643233538, -0.1063046455, -0.4394694269, 0.6845303774, -0.4706196189, 0.2274890244, -0.1975533217, 0.4336191714, 0.1058274582, 0.5169192553, 0.0661572739, 0.8988919258, 0.3875081241, -0.9957489967, 0.3965863883, 0.3261427283, -0.5453036427, 0.3165147007, -0.6381967664, 0.4081974328, -0.6523492932, -0.0924420133, -1.1589645147, -0.2908074856, 0.2243635803, -0.465351522, 0.1498030573, -0.0237421487, -0.2587984502, -0.3078684509, -0.5196962357, 0.3284808993, 0.5422108769, -0.7544522285, 0.0938302055, 0.5845063925, -0.2101007253, -0.7363051772, -0.2056432664, -0.161346212, -0.2513963282, -0.6912285686, 0.0801953897, -0.3942964077, -0.4600123167, -0.2084371746, 0.1168573275, 0.1426694095, 0.200920552, 0.0735645071, 0.2527797222, -0.2052495033, 0.4221246243, 0.0642900318, 0.4043639302, 0.0741758421, -0.2759026885, 0.8610486388, 0.0673886389, -0.1716577709, 0.0052233981, 0.497464031, -0.146719113, -0.2921798229, 0.4506658316, 0.0602983609, 0.0310037211, -0.3964504898, -0.6750389934, -0.349994123, -0.4944115877, 0.4002660513, -0.5333167315, -1.0848199129, 0.3104203343, -0.288562268, 0.0117461234, 0.3343068659, 0.4885468483, -0.1342678219, 1.3259915113, 0.4156501889, 0.2160135061, 0.5441788435, -0.2097194046, -0.0906139761, -0.6601662636, -0.3727096617, -0.4091193378, -0.2242534459, -0.2988387048, -0.6475092769, 0.5143082738, 0.2157297581, -0.0385544002, 0.1314513236, -0.5619230866, 0.5245739222, 0.6704109311, 0.3928756416, 0.2938025594, 0.1323500872, -0.1808521003, -0.0800315291, -0.8033608198, -0.5499989986, 1.2375972271, 0.275674969, 0.994857192, 0.1667006761, 1.0793076754, -0.2563228905, 0.0328554399, -0.8792310953, 0.5534784794, 0.1989117265, -0.624535501, -0.4744895399, -0.6716278195, -0.8356541395, -0.0189235248, -0.2052908391, -0.6755612493, 0.3588117957, 0.1216853261, -0.5041895509, 0.3270550668, -0.4669434726, 0.2889044583, -0.472946763, -0.3656663597, 0.100500904, -0.4300513864, 0.3061513603, 0.1616336405, -0.0332971625, -0.115941599, -0.1972022653, 0.7159799933, -0.0893765241, 0.3445329368, -0.3009886742, -0.1367441118, 0.6272583604, -0.1111859679, 0.6502623558, 0.1453016102, -0.2391930223, -0.1747222245, -0.2484971136, -0.0952407941, -0.8713270426, 0.452932328, -0.9197648764, -1.1096161604, 0.1262413114, -0.4888923764, -0.3993635476, -0.0080911545, 0.1641548872, 0.2852998674, -0.2278985232, 0.1539979428, 0.8913170099, -0.5425651073, 0.1117853895, 0.3762301803, -0.1482362002, -0.3138596714, 0.5916295648, -0.2264425009, 0.5997501612, 0.6442381144, 0.4852718711, -0.2623716295, -0.6607187986, -0.4656628072, 0.3058280051, -0.7427862883, -0.2239614427, -0.751639843, -0.10248667, -0.2249758244, 0.3775495887, 0.0037237196, -0.2631557584, -0.4426113367, -0.2448994517, 0.4083768725, 0.754355073, 0.0030614913, 0.1548012942, -0.6724736094, -0.1251172274, 0.4448207617, 0.0921778381, -0.1830822378, -0.4861595929, -0.0228478685, 0.3119036257, -0.2916150689, -0.8683966398, 0.2221112698, 0.0867132917, 0.8313931227, 0.5244817138, 0.1586395055, 0.5872063637, -0.3654877543, 0.7087090611, 0.1452833414, -0.3782142699, 0.9136292338, -0.3823369741, 0.1937086284, 0.6370432973, 0.7667578459, -0.1631843895, -0.214262262, -0.4598947167, -0.6255570054, 0.7238910198, 0.0241523255, 0.4951263368, -0.4837855995, 0.4705069661, 0.1705266386, 0.4844691455, -0.5772100091, -0.2980882823, 0.291628927, 0.0197394639, 0.1667442769, -0.4697600603, -0.317270577, -0.016419841, 0.7067314982, -0.1983985007, 0.4285522401, 0.2792705894, 0.2783380151, -0.2928914726, 0.3034006357, 0.5617530346, 0.5887821913, -0.4259275496, -0.0055915872, 0.1079533026, -0.2216068059, 0.2043273449, -0.1590882391, -0.38711676, -0.1019627228, -0.1385459453, 1.135008812, -0.0996646881, -0.8098400831, 0.5496529937, -0.1971286386, -0.3292666972, 0.0377639718, 0.3360087574, 0.1565332413, 0.3321898282, 0.2051851451, -0.3364121318, 0.0841857791, -0.8213649392, 0.1639964432, 0.6177176833, -0.3869363368, 0.1571273953, 0.5697928071, 0.255102843, -0.2416139394, 0.2853883207, -0.1060510874, -0.4746546447, 0.4213104248, 0.5152298212, 0.3356890082, -0.1999378055, 0.4383071065, 0.5301271677, 0.1156846359, -0.0196420569, 0.7463004589, -0.2149345875, -0.816532135, -0.3107940555, -0.350743264, -0.7341134548, 0.2824310958, -0.3157115579, 0.4019264281, -0.412450552, -0.3617698252, -0.1843407899, 0.1547370553, -0.624070704, 0.2233551443, -0.0768831149, 0.5367302895, -0.1001201794, 0.2849230468, 0.6495832205, -0.5489313602, -1.0795100927, -0.0892328992, -0.6521975398, -0.9983024001, 0.9054139853, -0.0082990676, 0.0187284779, 0.0467284583, -0.9243091941, -1.0802773237, 1.0360933542, 0.4045391977, -0.589381218, -0.2764363885, 0.2122569978, 0.2818875909, -0.6128773689, 0.5769689679, 0.0573255792, 0.4839506447, 0.3445916176, -0.5081189871, -0.1474500746, -0.2896688879, -0.3017316759, 0.162077859, -0.631005764, 0.7123167515, -0.5907456279, -0.1239843443, -0.0162128359, 0.4790399373, 0.3705399632, 0.0619151592, 0.6902727485, 0.2449631393, 0.9799380302, -0.1309631616, 1.1450482607, -0.5251090527, 0.0825705081, 1.0011870861, -0.1366039068, 0.813601017, 0.541234076, 0.0512485616, 0.2066818476, 0.7284481525, -0.1055689901, 0.6175129414, 0.8232137561, -0.1555878818, -0.5363599658, -0.2666191757, -0.2613441348, 0.5383211374, 0.1241000444, -0.4970000088, 0.0290813986, -0.1234052852, 0.1009950712, 0.0291994251, -0.1624672413, 1.1265902519, -0.1065075472, -1.0103082657, 0.381739378, -0.0986837074, 0.6114351153, -0.6716992855, -0.248680681, -0.3688321412, -0.0071658739, 0.0484614111, -0.6030968428, -0.2907526195, 0.2201668471, -0.0916996449, 0.1817979813, 0.800378859, -0.6252779961, -0.3453284204, 0.2423309982, 0.853905797, 0.5407409668, -0.0478907824, -0.5832446218, -0.1384421736, 0.1748365462, -0.3321282268, 0.1832084805, 0.3695896864, 0.2798438072, 0.6447572708, 0.6739197373, 0.3163637221, 0.1019554362, -0.1004085615, 1.0254172087, -0.3001843989, -0.2642688751, -0.7291197777, 0.3832634389, -0.4876924455, -0.2741983533, 0.7969985604, 0.7032094002, 0.8937752247, -0.1101939753, 0.8543069959, 0.2079337239, 0.5359220505, -0.4914362431, 0.4592651427, -0.6582016349, 0.3405591547, -0.2288282365, -1.0545237064, 0.2287012786, 0.5236567259, -0.3144059777, 0.0317334384, 0.3379733562, 0.8447441459, 0.2606659234, 0.0171071608, 0.6084604263, -0.1155077219, 0.3130835295, 0.8221536279, 1.2232484818, -0.331238687, 0.7023605108, -0.2131070942, -0.3609101176, -0.0278879851, -0.7500472665, -1.1645668745, -0.4141726792, -0.1278643459, -0.1841736287, 0.1959252656, 1.1690257788, 0.5982551575, -0.4458439648, -0.3696312308, 0.1788638383, 0.0636307672, 0.3121221364, -0.1670798212, 0.0623806901, -0.3676725924, -0.935867846, 0.556258142, 0.1991119385, 0.1151740327, -0.2603866756, -0.0089293551, -0.2608998716, 0.556263268, 0.3660734892, -0.1516615003, -0.3779149354, -0.4541974366, 0.4829494655, 0.050197348, 0.2623462975, 0.6686602831, -0.2735993266, 0.6881591678, 0.5645065904, 0.6696228385, 0.5694056153, 0.370985657, 0.8117232919, -0.6186887026, -0.1349078417, 0.3467812836, -0.0105047794, 0.3851739168, -0.6834927797, 0.500923872, -0.1272279173, -0.4309085608, -0.5929720402, 0.3097410798, -0.6025400162, -0.1011155099, 1.5981527567, -0.1731738001, -0.0546906516, 0.2697676122, -0.4188636839, 0.173980996, -0.5122868419, 0.4299102724, 0.875292778, -0.3575575948, -0.1186872274, -0.4511530101, 0.7159764171, 0.3912500143, -1.1393691301, -0.1893611401, 0.3735910058, 0.1151149422, 0.117630206, 0.6185759902, -0.0889541581, 0.1226020604, -0.0693397149, -0.0862369537, -0.2719524801, -0.2537743449, 0.0922662988, 0.1901523173, 0.2961327434, -0.1969200671 ]
http://arxiv.org/abs/2406.17430v1
http://arxiv.org/pdf/2406.17430v1
Towards Probing Speech-Specific Risks in Large Multimodal Models: A Taxonomy, Benchmark, and Insights
2024-06-25T10:08:45
2024-06-25T10:08:45
Hao Yang, Lizhen Qu, Ehsan Shareghi, Gholamreza Haffari
cs.CL
cs.CL, cs.SD, eess.AS
Large Multimodal Models (LMMs) have achieved great success recently, demonstrating a strong capability to understand multimodal information and to interact with human users. Despite the progress made, the challenge of detecting high-risk interactions in multimodal settings, and in particular in speech modality, remains largely unexplored. Conventional research on risk for speech modality primarily emphasises the content (e.g., what is captured as transcription). However, in speech-based interactions, paralinguistic cues in audio can significantly alter the intended meaning behind utterances. In this work, we propose a speech-specific risk taxonomy, covering 8 risk categories under hostility (malicious sarcasm and threats), malicious imitation (age, gender, ethnicity), and stereotypical biases (age, gender, ethnicity). Based on the taxonomy, we create a small-scale dataset for evaluating current LMMs capability in detecting these categories of risk. We observe even the latest models remain ineffective to detect various paralinguistic-specific risks in speech (e.g., Gemini 1.5 Pro is performing only slightly above random baseline). Warning: this paper contains biased and offensive examples.
[ -0.2521469891, -0.8280630708, 0.3340565264, 0.0576840639, 0.1390873343, -0.3457246721, -0.1840122789, -0.4173864126, 0.1345010996, 0.5306856632, -0.5178519487, -0.3397087455, -0.7462775111, -0.3324322999, -0.2729890049, 1.0233479738, 0.3041206598, -0.0625492483, -0.1433380842, -0.2630800903, -0.4352125823, -0.7404616475, -0.5065621734, 0.2008394301, 1.0436785221, 0.1265793145, 0.7647425532, 0.162004292, 0.6218209267, 0.2712426186, -0.2169697881, -0.1556652337, -0.2889406681, 0.4251363873, -0.2391546667, -0.2310498804, -0.5839199424, 0.1591367871, 0.7716599703, 0.779145062, -0.2785132229, 0.3986802697, -0.0305479001, 0.0242701098, -0.8767177463, 0.2067536414, -0.7631366849, -0.0368221514, -0.6848160625, -0.3171781301, -0.5479179025, 0.0475822799, 0.205487147, -0.2028185576, -0.3492403328, -0.0708019361, 0.318059653, 0.1875427365, -0.9490742683, -0.2548495233, -0.7535234094, 0.7042189837, -0.6567573547, 0.4557521045, 0.4072698653, 0.6058714986, 0.0524951816, -0.6569240093, -0.4427657723, -0.310485214, 0.1323594302, -0.1148628294, -0.5678448081, 0.1903337985, 0.264074862, 0.0049007153, -0.5735616088, 0.1701235771, -0.2205737084, -0.6028254628, 0.4894507229, 0.2027514875, 0.3497253954, -0.3826966882, -0.3523994684, -0.1929954588, -0.5696820617, 0.368168503, 0.678884387, 0.4649540782, -0.1489474177, 0.5398230553, -0.0231498554, 0.5194575191, -0.321769774, -0.3990774155, 0.4858942628, -0.4444271922, -0.0486645773, 0.0295323357, 0.816565454, 0.3296159804, 0.1354365945, -0.022778593, -0.0804755911, -0.0432031155, 0.0662308112, -0.3632274568, 0.1413125396, 0.0706510991, -0.3870439529, -0.4022615254, -0.2313373685, -0.8702374101, -0.7265405059, -0.0624834038, 0.7373608351, -0.5323965549, -0.4968561828, 0.0700355843, -0.0960256979, 0.2205418497, 0.0235043801, -0.4521666765, -0.1741130352, 0.4305041432, 0.5317351222, 0.0233576167, -0.1815336049, -0.7410182357, 0.3135633469, -0.0948448703, 0.5517998934, -0.6984018087, -0.3715277016, 0.0074858717, -0.2515506744, -0.1555807739, -0.3681855798, 1.0337494612, -0.078880921, 0.0757533014, -0.1162524149, -0.0910163596, -0.2758600414, 0.2982309163, -0.6049789786, 0.7520567775, -0.1783409715, -0.975840807, 0.269762516, -0.3103943467, -0.3648506403, -0.1257631481, -0.3214515746, -0.3843752742, 0.0684382319, -0.0105841765, 0.5057815909, -0.2678075731, 0.5831413865, -0.4288726747, 0.0929167569, 0.595826447, -0.9553470016, 0.5062311888, 0.1800338179, -0.2324783802, 0.4949330688, -0.719941318, -0.0971887633, -0.1727560014, -0.0510033332, -0.5372571945, 0.0257928967, 0.2657182515, 0.6538425684, 0.0308236219, -0.4268572927, -0.2978971899, 0.1280028522, 0.6186156869, 0.7191651464, 0.050639607, 0.1368769705, -0.4769175649, 0.6151845455, 0.2620384097, 0.4438308179, -0.3916431665, -0.5630965233, -0.3075058162, -0.5736025572, 0.2713157535, 0.5709552169, -0.7875525355, 0.1573269665, -0.3860646188, -0.7527471185, -0.4268737435, -0.2667120099, 0.5372394323, 0.4400452971, 0.1428803056, -0.2806974351, -0.4530233443, -1.1018670797, -0.4848967493, -0.327560991, 0.0913432762, 0.5179425478, 0.1886024773, -0.4289936125, 0.6808293462, -0.1422778517, -0.3614302576, 0.0357364975, 0.3881177306, -0.0738684312, 0.435629636, 0.4984672964, -0.9807149172, -0.0710758865, -0.2089686394, -0.4433035254, -0.1455739141, -0.1827528924, 0.3037363887, -0.1694588959, 0.5773851275, -0.7052758336, 0.1944661438, 0.8462732434, -0.176528424, 0.6785449386, 0.1864435822, 0.1245471761, -0.8490505815, 0.1170591712, 0.2581338882, -0.0330944061, -0.9552120566, 0.014670033, -0.0500472859, -0.3011058569, -0.8418976665, 0.3014173508, -0.124715507, 0.0166629367, 0.1705666482, 0.0016950369, -0.3706409931, 0.2669341266, -0.2182542384, 0.6710245013, 0.7205157876, -0.4938472807, 0.1972468793, -0.0249936786, -0.4672907293, 0.6155654192, -0.514388442, 0.1829472929, -0.2224297822, 0.3448369503, -1.1079419851, -0.2146520168, 0.2039192319, -0.5833104849, 0.2578694224, 0.0482817069, -0.4073251188, -0.1473804861, -0.4100929499, 0.8238849044, 0.2598794401, -0.0291954223, 0.9955046773, 0.6566810012, -0.6368503571, -0.6286171079, -0.5736789703, 0.3386133313, -0.6961448789, -0.8191227317, 0.2398753315, -0.0397747308, -0.4092408121, -0.3396279812, -0.1445301473, 0.1022920236, 0.0014307641, 0.4644505084, -0.0154262744, -0.042175889, 0.1321517229, -0.052793093, 0.0033334601, 0.1401581764, 0.1427753717, 0.6517233849, -0.0367285945, -0.3201907575, -0.5200099945, 0.4345316887, 0.8462159038, -0.4742376506, 0.5481264591, 0.9303646088, -0.3097446561, 0.1767405719, -0.6122470498, -0.1795356423, -0.4763581753, 0.4392906427, -0.4872204363, -0.7829005122, 0.6073753834, 0.0723606125, -0.2478287518, 0.3824149668, 0.6803789735, -0.0459415503, 1.0215829611, 0.3451966047, -0.2006680965, 0.3925780058, 0.1891134679, 0.0415315516, -0.6332255602, -0.4961738586, -0.6511371732, -0.1245886683, -0.6611742377, -0.7126354575, 0.7164550424, -0.6488554478, -0.1847172976, 0.3079257607, 0.0722298324, -0.0471526124, 0.568659246, -0.0004640115, 0.1744735837, -0.4169951975, 0.0699205026, -0.0317377187, -0.5946184397, -0.299482137, 1.1497530937, 0.7749142647, 0.9307089448, 0.4246360362, 0.3429297209, 0.401717931, -0.0604230538, -0.6020281315, 0.5154200196, -0.0386809111, -0.9451055527, -0.2711277902, -0.7482579947, -0.7614418268, 0.2182980329, -0.2935444415, -0.713751018, 0.3875645995, 0.1725895852, -0.4442147315, 0.179699868, -0.4884550273, 0.7916574478, -0.2428640127, -0.2319616675, -0.1147951633, -0.9093776941, 0.5949681401, -0.2017489821, 0.7582416534, -0.3319799304, -0.0397061892, 0.6880213022, 0.4299477339, 1.0731765032, -0.1781512946, -0.5306740403, 0.1342597157, 0.2342282236, 0.3880216181, -0.0200349372, -0.0171736479, 0.1917169392, 0.1852264851, -0.2176341265, -0.2244925499, 0.6090971828, -0.5147647262, -0.4532688558, -0.5588883758, -0.9877214432, -0.6161279082, -0.0631566718, 0.1824507415, 0.5857945085, -0.2516017258, 0.4211974144, 0.7145444155, -0.5041128397, 0.2806474566, 0.4020082951, 0.0127795627, -0.4111478329, 1.0019203424, 0.0309485756, 0.4682664275, 0.2622326016, 0.2986164987, -0.3202063739, -0.4821986854, -0.0342217349, -0.0227843747, -0.8149631619, -0.0499691553, -0.4515296519, 0.0080006262, -0.6253672242, 0.4275166988, -0.1493337005, -0.3384800553, -0.0838117748, 0.0362870768, -0.0323418677, 0.1311546862, -0.0965237245, 0.1698323935, -0.80616045, 0.158144623, 0.5263781548, 0.077833347, -0.1820661873, -0.6743486524, 0.1756303161, 0.0213451236, -0.2397982478, -0.8906471133, 0.2841792703, 0.5054978132, 0.8803033829, 0.714197278, 0.0942474157, 0.404014498, -0.6319309473, 0.8679914474, 0.4073866308, -0.9567506909, 0.3884221613, -0.8110921383, 0.0157330763, 0.4227579534, 0.6663155556, -1.0317274332, -0.2372018546, -0.6161749959, -0.8558705449, 0.2686624527, 0.184359774, 0.5132921338, 0.0097186444, 0.0134415021, 0.0712416694, 0.2958970666, -0.7407082915, -0.1211179793, -0.0642836243, -0.1834287196, -0.3422009051, -0.3086898625, -0.5937337279, -0.0828507319, 0.3879278898, -0.0864373073, 0.2170185745, -0.0940880328, -0.1598135829, -0.0184660163, 0.5227805972, 0.8330606818, 0.3323438764, -0.2554809749, 0.590532124, 0.0456496477, -0.2872650325, 0.2074796259, 0.1804103553, 0.1857167184, -0.1100518256, 0.6849119067, 0.8720000386, 0.4687629342, -1.1890773773, 0.6999341249, 0.2238636315, -0.0227174386, -0.0854009241, -0.1625955254, -0.0810294822, 0.1681822538, 0.2076581717, 0.0397646241, 0.3599677086, -1.0285781622, 0.365270108, 0.5458083749, -0.5924856663, -0.3586420119, 0.5056375861, 0.3391399682, -0.0060879276, 0.004260031, -0.0506671555, -0.3727594018, 0.4672358036, 0.2670975327, 0.6555474401, -0.4822622836, 0.1794720739, -0.0642433017, 0.4553489089, 0.2535454333, 0.2840758264, 0.306204468, -0.6675698161, -0.2244691849, -0.3131574094, -0.5045824051, 0.1572830081, -0.8351653218, 0.2336234152, -0.2711248398, -0.5649811029, 0.4583437443, -0.6980316639, -0.3461840153, 0.0630403385, 0.5989024043, 0.8051174879, -0.9234732389, 0.6831790209, 0.571782887, -0.2848038673, -0.5289504528, 0.1041922718, 0.5412719846, -0.6537435651, 0.6384651065, 0.1509624869, -0.2204808742, -0.2890120447, -0.0687122643, -0.8079527617, 0.9461143613, 0.4366369247, -0.6069424748, -0.318084389, 0.4347028136, 0.2488702238, -0.1603473723, 0.1209081411, 0.5598396659, 0.5134754181, -0.0451441295, -1.3115956783, -0.1700110137, 0.0066111782, -0.0153588932, 0.2066227645, -0.456594497, 1.0958586931, 0.1051720008, 0.0055925688, -0.0300247669, 0.3691647649, -0.0020143008, 0.6028781533, 0.7412289977, 0.5280281901, 0.5591459274, -0.0339687057, 0.9601970911, -0.0829894394, 0.1807760894, 1.0796456337, -0.3163788617, 0.8422608972, 0.4696445465, -0.0557863042, 0.1505637169, 0.516443193, 0.3298228681, 0.4508882165, 0.2878982425, -0.5143911839, -0.3583801687, -0.3367245793, -0.3678356409, 0.9256162643, 0.579227984, -0.4550761282, -0.1520914584, 0.6484902501, 0.1508954614, -0.0617247261, -0.5042135715, 0.6335298419, 0.0799781978, -0.283051908, 0.3304270804, -0.0459027663, 0.908416152, -0.7696400881, 0.3904916346, 0.1332260519, 0.0731471553, 0.021916084, -0.6464008689, 0.283236444, -0.2043793499, 0.1010481566, 0.025747491, 0.5734428763, -0.474290818, -0.4255653918, 0.2693871558, 0.4192946255, -0.0556726456, -0.2974859178, -0.5295062661, 0.2801111937, -0.3074446321, -0.1077644676, 0.5621884465, 0.4456662238, -0.1122562438, 0.8285460472, 0.4736143947, -0.0476749353, 0.1823217571, 0.0871119499, 0.7579129338, -0.5791010857, -0.3081061244, -0.6898301244, 0.5245500803, 0.2243289948, -0.517324388, 0.8744550347, 0.4033977687, 0.5166535378, 0.0608710833, 0.5799280405, -0.0316804126, 0.2629462183, -0.5742512345, 0.7371603847, -0.5040889382, -0.0066158869, -0.643663764, -0.4709135592, -0.2844341397, 0.2578893006, -0.3629370928, -0.0799777135, 0.4548064172, 0.8456876278, 0.0745442957, -0.1083592251, 0.5887961388, 0.1735225171, 0.3804946244, 0.4765853882, 1.0351829529, -0.0460370705, 0.8319539428, -0.1528717428, -0.3369833231, -0.1172490492, -1.0582501888, -0.689083159, -0.8952237964, -0.372084409, -0.3222519457, -0.083570458, 0.7436369658, 0.7202385664, -0.526353538, -0.0122870617, 0.4787343144, -0.3336928189, -0.2556835711, -0.1552069932, 0.1321434975, 0.0171689615, -0.538761735, 0.4625812471, 0.1329128295, -0.0804358646, -0.3112105727, 0.1627290696, -0.1474421769, 0.4009810388, 0.7741751671, 0.1633345187, -0.8244885206, -0.6702871919, -0.1195933074, 0.0391297825, -0.3592374325, 0.9172522426, -0.2733142972, 0.2893037796, 0.3505478501, 0.5532351136, 0.1806387603, -0.4039327204, 0.2521518171, -0.9419332147, 0.3205852211, 0.5473018885, 0.3960792124, 0.230853036, -0.2419412285, 0.1714314073, 0.2484006435, -0.3883656263, -1.0633405447, 0.5881704092, -1.4331738949, -0.2105922103, 1.3896546364, -0.113653779, 0.2450707853, -0.016406754, -0.3918400705, 0.1530054063, -0.2868539095, 0.745372057, 0.6642341018, -0.0150473407, -0.2900372446, -0.8285697699, 0.5203956366, 0.3478166461, -0.7421025634, 0.276398927, 0.5150737762, 0.2133741379, 0.4121252298, 0.1905756444, -0.2888122201, 0.431327939, -0.0161430966, -0.0652918071, -0.0796388909, -0.4890524447, -0.5698724985, 0.4261609614, -0.068464838, -0.0974910632 ]
http://arxiv.org/abs/2406.17419v1
http://arxiv.org/pdf/2406.17419v1
Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA
2024-06-25T09:42:56
2024-06-25T09:42:56
Minzheng Wang, Longze Chen, Cheng Fu, Shengyi Liao, Xinghua Zhang, Bingli Wu, Haiyang Yu, Nan Xu, Lei Zhang, Run Luo, Yunshui Li, Min Yang, Fei Huang, Yongbin Li
cs.CL
cs.CL, cs.AI
Long-context modeling capabilities have garnered widespread attention, leading to the emergence of Large Language Models (LLMs) with ultra-context windows. Meanwhile, benchmarks for evaluating long-context LLMs are gradually catching up. However, existing benchmarks employ irrelevant noise texts to artificially extend the length of test cases, diverging from the real-world scenarios of long-context applications. To bridge this gap, we propose a novel long-context benchmark, Loong, aligning with realistic scenarios through extended multi-document question answering (QA). Unlike typical document QA, in Loong's test cases, each document is relevant to the final answer, ignoring any document will lead to the failure of the answer. Furthermore, Loong introduces four types of tasks with a range of context lengths: Spotlight Locating, Comparison, Clustering, and Chain of Reasoning, to facilitate a more realistic and comprehensive evaluation of long-context understanding. Extensive experiments indicate that existing long-context language models still exhibit considerable potential for enhancement. Retrieval augmented generation (RAG) achieves poor performance, demonstrating that Loong can reliably assess the model's long-context modeling capabilities.
[ -0.4958092272, -0.9656375051, 0.8033941388, 0.2340328842, -0.3401067853, 0.0258457232, -0.3977980316, -0.647480309, 0.0361373834, 0.7577364445, -0.5414948463, -0.4891133308, -0.3612702489, 0.044497788, -0.7175783515, 0.7869349718, -0.2575102448, -0.4032163024, -0.5387117863, -0.4691877961, -0.3004592061, -0.3676093519, -0.5800079107, -0.1704751104, 0.608232677, 0.1534273326, 0.3250599205, 0.4291806817, 0.2584858239, 0.2250737548, -0.2311660349, 0.2402284294, -0.4794223011, 0.2575336099, 0.0960969627, -0.2264359295, -0.5489786267, 0.0878530294, 0.8142179251, 0.6789785624, -0.117763944, 0.2397846729, -0.0129590621, 0.5758762956, -0.6013019085, 0.134796977, -0.5854911804, -0.1352271289, -0.0429702252, -0.2220461071, -0.2774311304, -0.3875793815, -0.0251077116, -0.6511740088, 0.1413387954, -0.1887984574, 0.6846622229, 0.2687616348, -0.6807745099, -0.2747195363, -0.4503256977, 0.7393774986, -0.7529045939, 0.4253005981, 0.4372987747, 0.3858321309, -0.1050317287, -0.7255460024, -0.6379330754, -0.2558748722, 0.2294517756, 0.484282434, 0.2677101195, -0.1574934125, 0.2624339759, 0.3116567135, -0.2397656441, 0.0546422303, -0.3436477184, 0.0959726945, 0.3884589374, -0.2403595299, -0.0309500992, 0.0147187179, -0.6239886284, 0.0007519053, -0.7701175213, 0.0950407013, 0.1283971965, 0.1137607247, 0.0317445323, 0.4732940495, -0.1829540879, 0.5856208205, -0.1835777313, -0.1942507029, 0.3335329294, -0.3101697564, -0.2506385744, -0.1452298462, 0.5466729999, 0.4327749014, -0.0583376326, -0.327542901, -0.3198574185, -0.1095465422, 0.1774439216, -0.7551578283, 0.4813900888, 0.3603650331, -0.2589216828, -0.2144026905, -0.4530058503, -0.7805911899, -0.5309806466, -0.1096693277, 0.3460111618, -0.4561220109, -0.148787722, -0.1096746922, -0.1863601059, 0.5190837979, 0.4197497666, -0.4811633229, 0.5382332206, 0.9876185656, 0.677077949, -0.308478862, -0.6550548673, -0.993819952, 0.2416099161, -0.4833013713, 0.8240081668, -0.5007365346, -0.5330842137, 0.1153305173, 0.0909422785, -0.1124565452, -0.6256091595, 0.8782641888, -0.561403513, 0.5256969929, -0.2840346098, -0.7186355591, -0.0451512747, 0.5742074847, -0.6210448742, 1.3737891912, 0.4887775183, -0.4650121033, 0.1539195627, -0.6347070932, -0.5122896433, -0.1101525053, -0.285166502, -0.3240269125, 0.1419232339, 0.0896913484, 0.1151789874, -0.5129802823, 0.1683504581, -0.3886283636, -0.7842462063, 0.0004391776, -0.4795331061, 0.4234375358, 0.0028622085, -0.4741007984, -0.0091400137, -0.927500546, 0.3041544259, 0.0459280461, -0.6133202314, -0.3307725489, -0.1827381551, 0.1888999045, 0.3683729768, 0.3674255311, -0.6720006466, 0.0958765, -0.2348010093, 0.3709149957, 0.6432546377, -0.1204887182, 0.34526214, -0.5296620131, 0.6963567138, -0.1242875904, 0.0735907033, -0.3193442225, -0.368213892, -0.5488672256, -0.3233343959, 0.233989656, 0.3469504714, -0.5101486444, 0.1485141218, -0.4756711721, -0.3262037635, -0.599642694, 0.2733311951, 0.5072966218, 0.6043339372, 0.3915162385, -0.1615053266, -0.2482169569, -0.6489943266, -0.2727065086, -0.1469486505, 0.0246037375, 0.5203846693, 0.3439849615, -0.3009883463, 0.7783838511, -0.3145001829, -0.2780779302, -0.0379666239, -0.0591079742, 0.2806593776, 0.1052673757, 0.371825397, -0.8508161306, -0.3632876873, -0.1273236275, -0.7064292431, -0.2198197693, -0.0149344644, -0.0055670892, 0.4992724955, 0.7448525429, -0.9553236365, 0.2612993121, 0.7172845602, -0.0847485885, 0.6867978573, -0.3149942756, 0.1651973128, -1.0973426104, 0.2590061128, -0.2958377004, -0.142584011, -0.4030821621, 0.4632399976, 0.3962099552, -0.5014035106, -0.4080956578, 1.1441509724, -0.5721527338, -0.3414221406, -0.3516433835, 0.5825870633, 0.6009546518, 0.322191149, -0.1455502957, 0.9956921935, 0.1986012608, -0.3556863666, 0.1373335868, 0.1824401468, -0.284244895, 0.6980087757, -0.6632786989, 0.1362461597, -0.0422977731, 0.5557019114, -0.8610514402, 0.0269951839, -0.245702371, -0.300432086, 0.2958027124, -0.1596230567, -0.6188118458, -0.4862645566, -0.497376889, 0.3605844975, 0.5304599404, -0.6257417202, 0.6516722441, 0.07854186, -0.0438998304, -0.6896486282, -0.4366925359, 0.1790098697, -0.4539125562, -0.5046290755, 0.4792673588, -0.3381337821, -0.1895846575, -0.2620283365, -0.2905238569, -0.335760206, 0.1640278846, 0.3659210205, -0.1057198718, -0.3020127416, 0.3923468888, -0.0425923653, 0.0361102857, 0.073467426, -0.0484007038, 0.4680502713, -0.1541121304, -0.4576589167, 0.0282689836, 0.776494205, 0.84410882, -0.4814200997, 0.4384703934, 0.7206140161, -0.2350306511, -0.240783304, -0.7127387524, 0.1242863014, -0.5128618479, 0.336935997, -0.6495710015, -0.6773356795, 0.5952108502, -0.2136231065, 0.1948031187, 0.1131416187, 0.1386980265, -0.1726566404, 0.4738598168, 0.5185354352, -0.108503826, 0.324949652, 0.0373162739, 0.1612502933, -1.1051871777, 0.1530968547, -0.4477702081, 0.2241378278, -0.5278532505, -0.6343933344, 0.4118147194, 0.4640679657, -0.1705793291, 0.3148791194, -0.1994143128, 0.4899834991, 0.6354897618, -0.0051003182, 0.273909241, -0.3746908009, -0.0576263778, 0.3902553916, -0.3646672666, -0.3207473159, 1.1407271624, 0.1752555817, 0.5048905611, 0.1536304504, 1.088329792, 0.115954645, 0.3012501597, -0.6515550017, 0.7023586631, -0.0385506377, -0.4727642238, -0.5837933421, -0.4109691679, -1.0798779726, 0.4075807929, 0.2280460596, -0.6111758947, -0.2558709383, -0.2375954837, -0.2760147154, 0.1631026268, -0.5868247151, 0.8111566305, -0.1661603451, -0.4376079142, -0.0328907967, -0.4651882946, 0.2993435562, -0.4301408529, 0.3897117674, -0.2323237062, -0.2020094693, 0.50715065, -0.2516418993, 0.6007653475, -0.070622988, -0.5540034175, 0.433652252, -0.0443049707, 0.7319259644, -0.1038483977, -0.4177712202, -0.1470329165, 0.3443656862, -0.5150972009, -0.5635034442, 1.1609363556, -0.4888980091, -0.7529420853, -0.1950412095, -0.5562403798, -0.5465403199, 0.6204485297, 0.0599145554, 0.4875380397, -0.2559962869, 0.1420464963, 0.6911094189, -0.3707490861, 0.5464237928, 0.6069298387, -0.2530451715, -0.2787569463, 0.6600096822, 0.1069012433, 0.3055232465, 0.3005305827, 0.1817473322, -0.5547348261, -0.5100186467, -0.4125850499, 0.206543237, -0.9231877327, 0.1364157796, -0.7213264704, -0.0911559314, -0.5585544705, -0.0921050236, -0.3264505863, -0.2775803208, -0.0732260197, 0.1020570025, 0.007213363, 0.3613233268, 0.333026737, 0.0801195949, -0.8663012981, 0.5981884003, 0.41874066, 0.6587327123, -0.077014856, -0.4915481806, -0.149871856, -0.1829722822, -0.202817291, -0.5254935026, -0.0262959041, 0.1807633489, 0.618211925, 0.1203291118, 0.3135991395, 0.6751502156, -0.6223738194, 0.7249289751, 0.025837129, -0.7999467254, 0.263240993, -0.7620865107, 0.6596619487, 0.7094292045, 0.0233657043, -0.6057738066, -0.3487880528, -0.5182793736, -1.0155007839, 0.1713419557, -0.0437753312, 0.15879713, -0.3158480227, 0.2512588501, 0.1784889847, 0.2929917872, -0.7177684307, 0.0325968228, -0.0766235515, 0.091282703, -0.1922260523, -0.2479331344, -0.3520533741, 0.1370085478, 0.5260850787, -0.4328325391, 0.1721732318, 0.2551811039, -0.1203731522, 0.0311727449, 0.6666841507, 0.6494192481, 0.8947573304, -0.535754621, 0.0423932746, 0.2482252866, -0.0581197664, 0.0121877976, 0.4180910587, 0.0120113231, 0.1056889743, 0.4209940434, 0.2883265615, 0.3532084525, -0.9079090357, 0.6443807483, -0.0766237825, -0.140862003, -0.6523082852, -0.1083545536, 0.3468408585, 0.0935476199, 0.5825256109, -0.372454077, -0.0978632867, -0.783488512, 0.2560893893, 0.4122624099, -0.5358863473, 0.0243931711, 0.6385024786, 0.2572603524, -0.1341404915, 0.4379169047, -0.0064803008, -0.2357551605, 0.8140568137, 0.5627990961, 0.7290992141, 0.2277629226, 0.1557584554, 0.0335678905, 0.1524769664, -0.0331753753, 0.252094388, -0.2349793017, -0.2656276524, -0.3870229721, -0.5512081385, -0.5411090255, 0.4371192157, -0.8501846194, -0.0117389308, -0.3407135606, -0.0566495247, 0.0539321713, 0.3788238168, -0.5599075556, 0.3830633759, 0.2141941935, 1.1784943342, -0.3269139826, 1.0378552675, 0.3950985372, -0.0847466812, -0.2867642939, 0.1372745186, -0.1085851416, -0.6438668966, 0.2956436574, 0.6319076419, -0.1141670495, -0.1963088065, -0.2704771161, -0.8356226087, 1.226172924, 0.2253558189, -0.5265901089, -0.0901028886, -0.0747607946, 0.6902986169, -0.2440949231, 0.2319859862, 0.4818840325, 0.4631818533, -0.1022683755, -0.9514616728, 0.1947539598, -0.2531812787, -0.2612128258, 0.222556293, -1.0175783634, 0.7950053811, -0.1889186502, -0.2086770386, 0.4577162564, 0.3984832764, 0.4271583557, 0.6381145716, 0.5281606913, 0.5059365034, 0.7656997442, 0.0606879741, 1.2703925371, -0.4683662653, 0.1814890951, 1.6942753792, -0.9010131955, 0.9852162004, 0.6370038986, 0.0134629747, 0.2861952484, 0.4821406901, 0.2304332107, 0.4005529881, 0.2496575564, -0.465287596, -0.0886478499, -0.1708254963, -0.7056353092, 0.3834212124, 0.0041733603, -0.2098713219, -0.3004812896, -0.2351450771, -0.0730959401, 0.2738854587, -0.0873445645, 0.6101990342, 0.1954092234, -1.0718890429, 0.8426069021, -0.0418644138, 0.4615900517, -0.7335303426, 0.1058889702, -0.6705586314, 0.1268983781, 0.2177033424, -0.6834369302, 0.0807019919, -0.3119912744, -0.3154095709, -0.1602999121, 0.530421555, -0.4067210853, -0.2512904406, 0.6905889511, 0.6954465508, 0.0845394805, -0.2879454195, -0.5309996605, -0.0983599499, -0.347101599, -0.4201042056, 0.5973716378, 0.6308280826, -0.1839099824, 0.8379310966, 0.6778275967, -0.098173216, -0.0005774145, 0.3513025641, 0.9132084846, -0.9246766567, -0.4504350424, -0.4100458622, -0.1784857363, -0.204295814, -0.5103353858, 0.9004273415, 0.6778692603, 0.5378015637, 0.1714547127, 0.6879546642, 0.2640075088, 0.7954615951, -0.3964751959, 0.5815962553, -0.7181491852, 0.3418598771, -0.3136097789, -0.9519297481, 0.0969268456, -0.2107533216, -0.2144723088, 0.0789252892, 0.8253790736, 0.5439144373, -0.0820243433, -0.1130962744, 0.6332246065, 0.0221435297, 0.4162986875, 0.6281433105, 0.8435539007, -0.6406258345, 0.7585867047, -0.0566410758, -0.080181621, -0.1446743011, -0.8943713903, -0.8458857536, -0.3948399425, -0.1340564787, -0.3891916573, 0.0784785673, 0.4574943483, 0.7312217355, -0.414224416, -0.0586522259, 0.2387477905, 0.1388563663, -0.3545701802, -0.2324572355, 0.5826804638, -0.319545269, -0.6479266882, 0.860301137, 0.2653229833, 0.0763571337, -0.0611682832, -0.0230488479, -0.1925024837, 0.2993821502, 0.732306242, 0.4437117577, -0.6517876387, -0.3203820288, -0.0281051006, -0.2639327347, 0.0997497737, 0.6669399738, -0.8077477217, 0.3306001425, 0.1763238758, 0.8046229482, 0.6483868957, 0.2376449108, 0.44789958, -0.8324525952, 0.076957114, 0.1080598459, 0.262712419, 0.2978503406, -0.1712230146, 0.751927197, -0.1387542188, -0.5435422659, -0.9880176187, 0.0885681286, -0.9874345064, -0.4847086072, 1.3561145067, -0.4663150907, -0.4325083494, 0.020436503, 0.0355797485, 0.0038905209, -0.2550839484, 0.9071717262, 0.6782536507, 0.1347986758, -0.351939857, -0.7058896422, 0.3539842069, 0.5874814987, -1.0646115541, 0.2816128135, 0.5294057727, 0.304681927, 0.2223768085, 0.9084578156, -0.2093938887, 0.3913906515, 0.0181149915, -0.3001157641, -0.0960312486, -0.2745600939, -0.231633842, 0.3651303053, 0.0020891593, -0.1820638776 ]
http://arxiv.org/abs/2406.17415v2
http://arxiv.org/pdf/2406.17415v2
Layer-Wise Quantization: A Pragmatic and Effective Method for Quantizing LLMs Beyond Integer Bit-Levels
2024-06-25T09:37:15
2024-06-26T08:00:18
Razvan-Gabriel Dumitru, Vikas Yadav, Rishabh Maheshwary, Paul-Ioan Clotan, Sathwik Tejaswi Madhusudhan, Mihai Surdeanu
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7; I.2.0
We present a simple variable quantization approach that quantizes different layers of a large language model (LLM) at different bit levels. Specifically, we quantize the most important layers to higher bit precision and less important layers to lower bits to achieve floating point quantization levels. We propose two effective strategies to measure the importance of layers within LLMs: the first measures the importance of a layer based on how different its output embeddings are from the input embeddings (the higher the better); the second estimates the importance of a layer using the number of layer weights that are much larger than average (the smaller the better). We show that quantizing different layers at varying bits according to our importance scores results in minimal performance drop with a far more compressed model size. Finally, we present several practical key takeaways from our variable layer-wise quantization experiments: (a) LLM performance under variable quantization remains close to the original model until 25-50% of layers are moved in lower quantization using our proposed ordering but only until 5-10% if moved using no specific ordering; (b) Quantizing LLMs to lower bits performs substantially better than pruning unless extreme quantization (2-bit) is used; and (c) Layer-wise quantization to lower bits works better in the case of larger LLMs with more layers compared to smaller LLMs with fewer layers. The code used to run the experiments is available at: https://github.com/RazvanDu/LayerwiseQuant.
[ -0.3291794062, -0.8789079785, 0.631284833, 0.2883446813, -0.3883214891, 0.1403520107, -0.1902679503, -0.3128809929, -0.0536938794, 0.3463981152, -0.1496923566, -0.5059934258, -0.362295121, -0.3817189038, -0.3046633899, 0.7455747128, 0.1992523223, 0.1686712056, -0.3676397204, 0.0633515865, -0.0050065392, -0.6307972074, -0.7216794491, -0.3250563741, 0.5780288577, 0.2645322084, 0.773625493, 0.8381412625, 0.7722555995, 0.2653063536, -0.276730746, -0.0636705682, -0.2436418682, -0.1124557331, 0.0761153847, -0.51270926, -0.7396321297, 0.047324799, 0.7915213704, 0.6871237159, -0.2573293149, 0.3854869902, -0.3398242295, 0.8957832456, -0.6804134846, -0.1271553636, -0.2548080385, 0.2304143757, -0.2006893158, -0.2685703635, -0.2415079027, -0.484267205, -0.0897521675, -0.2647816241, 0.0657023937, -0.027378628, 0.6189495921, 0.2594048083, -0.5129270554, 0.2410809845, -0.894035697, 0.9614088535, -1.0340520144, 0.4377744496, 0.3619474471, 0.1950645149, 0.3948177099, -0.7388799787, -0.3504203856, -0.2410297841, 0.2718405724, 0.1629659832, 0.0090129469, 0.3721409142, 0.2273188382, 0.7075187564, -0.2745990455, 0.031006556, -0.2052042186, -0.277613759, 0.4436861277, 0.0738721713, 0.1889316738, -0.0493925065, -0.5401072502, -0.2460991293, -0.831975162, 0.4208010733, 0.5527815819, 0.0879009366, 0.0990531221, 0.5011780262, -0.0993674025, 0.6043025851, 0.0353381224, -0.3206603229, 0.1222567707, -0.3615964949, -0.2736295164, -0.0408688411, 0.597776711, 0.0061402982, 0.0795710906, -0.0557918288, -0.6484575272, -0.1954585016, 0.316560775, -0.9562856555, -0.2298309654, 0.4843661189, -0.4304893911, -0.4960627556, -0.033972498, -0.1429673284, -0.1636303812, -0.2855189145, 0.7153189778, -0.5693985224, -0.3024205267, 0.2015034705, 0.1159921512, 0.2708063722, 0.3521145582, -0.8032175303, 0.438387841, 0.9184580445, 0.829020679, 0.0740210414, -0.0140061192, -0.5778386593, 0.0983716473, -0.7502985001, 0.4576604366, -0.4903154969, -0.0609692261, -0.191169247, -0.5445919037, 0.2545723021, -0.5681564808, 0.4291903377, -0.7018533349, 0.0482339263, -0.1807857901, -0.569536984, -0.0705457553, 0.109194845, -0.7359272242, 0.9818050861, 0.1128312871, -0.6635382771, -0.0436849892, -0.1928219199, -0.3220911622, 0.1499005854, -0.0982478186, -0.5917107463, 0.6748321056, 0.0420971699, 0.442687124, -0.3576489687, 0.2742213905, -0.2008769959, -0.4914438725, 0.425372839, -0.4886266589, 0.8774735332, 0.07674063, -0.174995929, 0.1027886868, -0.8502770066, 0.6530210972, -0.0238087624, -0.6081030369, -0.3011731207, -0.0006530031, -0.0595975928, 0.1049387082, 0.3178584874, -0.3250719905, 0.1385627389, -0.3630630672, 0.9740819335, 0.76153934, 0.1975282133, 0.5580591559, -0.0915482044, 0.6264951229, 0.0774323195, 0.3912975788, 0.2471637875, -0.2332594246, -0.8682560325, -0.4740740061, 0.6712658405, 0.5090531707, -0.6966844797, 0.5017809868, -0.2017966509, -0.1992542744, -0.4443763793, -0.1349020749, 0.6047824621, 0.1320154518, 0.092726551, -0.5588490367, -0.1058947966, -1.0053908825, -0.0790046901, -0.425722152, -0.1346815377, -0.0436213836, 0.2308477908, 0.1862787455, 0.7493800521, -0.3100056052, -0.0495938733, 0.0536621176, 0.0927419588, 0.0819823518, 0.5379101038, 0.2604984641, -0.8193666339, -0.3348817229, 0.1955417693, -0.312795639, -0.043013107, 0.0779409036, -0.194708854, 0.0691830143, 0.4779365063, -0.6617667079, 0.1849734485, 0.542440474, 0.0443633944, 0.3666269481, -0.1612062901, -0.0644134507, -0.7853557467, -0.1841864735, 0.1054837406, -0.6378724575, -0.9437271357, 0.2241288871, 0.4487484694, 0.0357694626, -0.5262323618, 0.0870721713, -0.4297670722, -0.2089722604, -0.05082101, -0.0231019687, 0.2607052922, 0.5934121013, -0.1235685125, 0.6837334633, 0.478426367, -0.3925503492, 0.2684921026, -0.4696264565, -0.6337598562, 0.5983697176, -0.7792758346, 0.4038372338, -0.0008920261, 0.0024332253, -0.8306093216, 0.1730764955, 0.0653785765, -0.3197382689, 0.4044119418, -0.2582959831, -0.5994383693, -0.0160302334, -0.6429463625, 0.6224550009, 0.4234365225, -0.1314209104, 0.5408353209, 0.3844581842, 0.0388728715, -0.360799402, -0.8754113317, -0.0911795571, -0.5724582076, -0.7879744768, 0.5651318431, -0.3718689084, -0.252908498, -0.0972475111, -0.4767149985, -0.2573412061, 0.1499141902, -0.0544720776, -0.0752182975, -0.4355891049, 0.2172451913, -0.0654137954, -0.1193392873, 0.2364960164, -0.7631198168, 0.4289876819, -0.4890428782, -0.1949326694, -0.2020595074, 0.2957586348, 0.1776966751, -0.3865688443, 0.6643205881, 0.9653756022, -0.4505999088, -0.3487176001, -0.5078476071, 0.1242967471, -0.5262109041, 0.3523685634, -0.4781481326, -1.0423167944, 0.7184084654, -0.0098632472, -0.2997846901, 0.2261583358, 0.4483729899, -0.2273720205, 1.0937582254, 0.8111240864, 0.0172102917, 0.706230402, -0.4507519305, 0.494099766, -0.9101191759, 0.1453034878, -0.2645273507, -0.2624815702, -0.7586909533, -0.6484552622, 0.4749850631, 0.7107746601, -0.3932295442, 0.0538029596, -0.4139279425, 0.8376526237, 0.5529615879, 0.3363291621, 0.2337708473, 0.1394632161, 0.0904933736, -0.0098686218, -0.7089925408, -0.369864583, 0.6708202958, 0.5733901262, 0.613576293, 0.4726267159, 0.8142713308, 0.2314923853, -0.1409704983, -0.934317112, 0.480039537, -0.2498084903, -0.3407434523, -0.5224394202, -0.681829989, -0.4825882614, 0.3104377985, 0.1618787646, -0.638055861, 0.2579876482, 0.1175313592, -0.6400153041, 0.1751980782, -0.9725548625, 0.6579558849, -0.2123365253, -0.1829150915, -0.1880779117, -0.7196663618, 0.3003881276, -0.0399265774, 0.2448628694, -0.0129908007, -0.4886584878, 0.5756857395, -0.5487812757, 0.8490579128, -0.0118858702, -0.4321792424, 0.3388498724, 0.3414510787, 0.5121700764, 0.1535385549, 0.0758497268, 0.2653413117, 0.0957362801, -0.5594564676, -0.6886627078, 0.8391004801, -0.9923769236, -0.7822905779, -0.0358158275, -0.5979940891, -0.1471818984, 0.0623364151, 0.0265041366, 0.6856880188, 0.2815305889, 0.2837108076, 0.9065024257, -0.1194264069, 0.3506747782, 0.3013253808, -0.0350542068, -0.5277428627, 1.4469753504, 0.3289417922, 0.7046200037, 0.9370743036, 0.6389691234, 0.0986271054, -0.7939517498, -0.0481646024, -0.0557794422, -0.9485837221, -0.3514398932, -0.4271932244, -0.5261902213, -0.3080206513, 0.1011629924, -0.5674574971, -0.9074356556, -0.0696182922, -0.1753641963, 0.225618571, 0.4489690959, -0.2321619689, 0.3142083287, -0.5669251084, 0.240675658, 0.565563798, 0.4172538519, 0.054099407, -0.5166462064, -0.6378481984, -0.1761851162, -0.1254736334, -0.5744431019, 0.3623822331, 0.2878977358, 0.3961827159, 0.2799340189, -0.1015818119, 0.7018862367, -0.3754080832, 0.7191293836, 0.1142649278, -1.3739591837, 0.5509182215, -0.2342094332, 0.4116357863, 0.3765069842, 0.2383659035, -0.3725692332, -0.2654717267, -0.5844957829, -1.3125844002, 0.747651577, 0.3594238162, 0.0382551365, 0.1803102195, 0.3989013433, -0.2375810146, 0.4756929576, -0.9315301776, -0.4236597121, -0.0105313053, -0.121185109, 0.0887295604, -0.4073735476, -0.201947704, -0.1103989854, 0.4382309616, -0.0206794012, 0.3762325943, 0.0511322245, -0.1983977854, -0.2795780599, 0.1186799332, 0.5243142843, 0.9695132971, -0.4837808013, 0.6384689212, -0.0082922373, -0.5379986763, 0.0764991045, -0.2978203297, -0.2738788426, -0.2759291232, 0.5045771599, 0.9376088977, 0.075500533, -0.1696820706, 0.5557473302, 0.0232842602, -0.0969286785, -0.2042780071, 0.0985800251, 0.1687089354, 0.5835348964, 0.1949325502, -0.0993550867, 0.1322281212, -0.4530924261, -0.1019082591, 0.4142462909, -0.2823810875, -0.4181067944, 0.2676223814, 0.054888621, -0.5369618535, 0.3022535443, -0.0429401174, -0.489169687, 0.8518356085, 0.338086158, 0.8183985353, -0.1968694031, 0.3598949909, 0.1307669282, 0.5185395479, -0.1313432753, 0.1193646342, -0.2563767731, -0.661493957, -0.6995543838, -0.4481692612, -0.419108659, 0.0927522406, -0.7681974769, -0.0055060233, -0.7090544105, -0.2556655109, 0.1291254014, 0.3673636913, -0.6026849151, 0.2220014036, 0.2765398622, 0.6690372229, -0.6067035794, 1.0581642389, 0.6268099546, -0.4069094956, -0.7585630417, 0.0210199039, -0.2357242852, -0.847684443, 0.5096071959, -0.1010782123, -0.0903454125, 0.2965364158, -0.7710703015, -1.1789479256, 1.3229759932, 0.4736592174, -0.6387594938, 0.222648263, 0.3167665303, 0.602016747, -0.2492188513, 0.4513283074, 0.5163834691, 0.2026101351, -0.0227666982, -0.5277062058, -0.0589301214, -0.0990993381, 0.6893984675, 0.4393543005, -0.905923605, 0.9682126641, -0.1047735363, -0.335860759, -0.1163094342, 0.5923933983, 0.1968187243, 0.041011285, 0.5674193501, 0.5077558756, 0.6548094153, 0.0841062218, 1.1425510645, -0.2638518214, 0.5324530602, 0.7489506006, 0.0763104185, 0.8330298662, 0.7111257315, -0.4585169554, 0.1374774575, 0.6742401719, 0.5355769396, 0.6817790866, 0.5835158229, -0.2117085457, -0.5299518704, -0.0833587199, -0.2651424408, -0.1008309945, 0.246455878, -0.0388152078, 0.2246416509, -0.1376231462, -0.1835946441, -0.2482559681, -0.287419647, 0.6161221266, 0.3152989745, -0.1649189144, 0.6516640782, 0.2864075899, 0.4562445879, -0.6644647121, 0.1226868331, -0.5828467011, 0.1251154095, -0.2263955921, -0.7203755379, -0.0167091936, -0.097149834, -0.4026268423, -0.4844568968, 0.6408421993, -0.5457271934, -0.7943876982, 0.0526692048, 0.5326625109, 0.1357036233, -0.1664706916, -0.576700151, 0.3503461778, -0.0583065264, -0.6833385825, 0.5801728964, 1.0161750317, -0.2465314716, 0.6030670404, 0.4498370588, 0.3049801886, 0.171482563, 0.5695261955, 0.8899002671, -0.9102271795, -0.3459514976, -0.7604663968, 0.4256850779, 0.2708045542, -0.1401706338, 0.5205749869, 0.253207624, 1.0366430283, 0.2062317878, 0.3666051328, 0.1102242172, 0.006407286, -0.7730334997, 0.1503602564, -0.5128746629, 0.7025232911, -0.1151040867, -1.2911274433, -0.409163028, 0.8377813697, -0.1631205231, 0.1961265206, 0.733156085, 0.6128030419, 0.0688709617, -0.3130483031, 0.5996275544, 0.2443193942, 0.4252591133, 0.6459384561, 1.0467356443, -0.5460431576, 0.462823689, -0.8582189083, -0.1676719338, 0.1545777023, -1.0089508295, -0.6764982939, -0.4599832594, -0.7748013139, -0.0608950481, -0.006387766, 0.6476083994, 0.8459348083, -0.5590865612, -0.3302952647, -0.0600787587, 0.1769552976, -0.3622050881, -0.310382247, 0.4687210917, -0.0683068633, -0.5346231461, 0.1740733832, 0.4487491846, -0.0584300235, -0.6529282928, -0.0523232855, 0.0177596696, 0.1915070713, 0.7957122326, -0.2380858362, -0.7051679492, -0.4465103447, -0.1161627173, -0.3935620785, 0.0205047932, 0.9804788232, -0.6159324646, 0.2499218285, 0.7443699837, 0.4553443193, 0.6750819683, 0.103515178, 0.3469298482, -1.2109630108, 0.0443421453, 0.3591129184, -0.0533240251, 0.4770487249, -0.4847495556, 0.5709553361, -0.0197125524, -0.6118911505, -0.803802073, 0.1698067486, -1.1306302547, -0.2464005947, 1.1408679485, -0.2596045136, -0.4804924428, 0.4773123562, 0.1843834519, 0.0028223407, -0.2879999876, 0.6207155585, 0.6533977985, 0.0112546058, -0.4723097086, -0.670332253, 0.3513426483, 0.4382027686, -0.6110354066, -0.0954098776, 0.30137676, 0.0998643488, 0.2001645416, 0.7124534845, -0.0935026184, -0.0677651986, -0.2446190268, 0.0659960881, -0.0070346412, -0.3736583889, -0.5672805905, 0.1360155493, 0.2280173153, -0.1524851173 ]
http://arxiv.org/abs/2406.17404v1
http://arxiv.org/pdf/2406.17404v1
Make Some Noise: Unlocking Language Model Parallel Inference Capability through Noisy Training
2024-06-25T09:25:39
2024-06-25T09:25:39
Yixuan Wang, Xianzhen Luo, Fuxuan Wei, Yijun Liu, Qingfu Zhu, Xuanyu Zhang, Qing Yang, Dongliang Xu, Wanxiang Che
cs.CL
cs.CL, cs.LG
Existing speculative decoding methods typically require additional model structure and training processes to assist the model for draft token generation. This makes the migration of acceleration methods to the new model more costly and more demanding on device memory. To address this problem, we propose the Make Some Noise (MSN) training framework as a replacement for the supervised fine-tuning stage of the large language model. The training method simply introduces some noise at the input for the model to learn the denoising task. It significantly enhances the parallel decoding capability of the model without affecting the original task capability. In addition, we propose a tree-based retrieval-augmented Jacobi (TR-Jacobi) decoding strategy to further improve the inference speed of MSN models. Experiments in both the general and code domains have shown that MSN can improve inference speed by 2.3-2.7x times without compromising model performance. The MSN model also achieves comparable acceleration ratios to the SOTA model with additional model structure on Spec-Bench.
[ -0.2866463959, -0.734490633, 0.4528976381, 0.0880975872, -0.0460738949, 0.0701534301, -0.2013898045, -0.6112000942, 0.2526448369, 0.4970184863, -0.6157696247, -0.2812083662, -0.6522810459, -0.0080077881, -0.4421633482, 0.7841030359, 0.2903657854, 0.2861244977, 0.1772738397, 0.2631481588, -0.1152534708, -0.5145211816, -1.0465167761, 0.0034000489, 0.4042526484, 0.1265318096, 0.6780622602, 0.8458111286, 0.2814743221, 0.3147522807, -0.4147695601, 0.2073079944, -0.5070823431, 0.1371282041, 0.0861567259, -0.7384037971, -0.4806625247, -0.2331882566, 0.6604632139, 0.6609377265, 0.0139234746, 0.0259352718, -0.1430223733, 0.674315989, -0.7705414295, 0.3714516759, -0.6964222193, -0.0609958135, -0.2776221633, 0.0440635718, -0.5684975982, -0.0946552008, -0.0436215661, -0.5755437613, 0.2886323035, 0.2249548584, 0.9277037978, 0.2678378522, 0.0385179035, -0.0002151386, -0.8371866941, 0.9360896945, -1.029771328, 0.4411751032, 0.5210604668, 0.2338471562, -0.0332061537, -0.797853291, -0.4606662393, -0.1213080212, -0.0111980429, 0.052684363, -0.2902084291, 0.2642892897, 0.5639787912, 0.2280306071, -0.3906904161, -0.0037858374, -0.498071909, -0.1323189884, 0.4167640805, 0.1143390015, 0.195571512, 0.0559645332, 0.3110588193, -0.0164089669, -0.5803815126, -0.0737111568, 0.4978669286, 0.6552672982, 0.0074753119, 0.191701591, -0.3611212075, 0.6635426879, -0.074880816, -0.0756344795, 0.2454161197, -0.2823657095, -0.3252887428, 0.2404592484, 0.5067830086, 0.2328475714, 0.1587170959, -0.1841256469, -0.3650722504, 0.2470876724, 0.2104858607, -1.1754461527, -0.3565495908, 0.0663359538, -0.7683888078, -0.412863344, -0.2450974882, -0.4856280386, -0.2486127317, -0.6352091432, 0.1331755519, -0.4518007636, -0.647346437, 0.2952897549, -0.1143334657, -0.1663604677, 0.1666330099, -1.1308870316, 0.444773376, 0.6194378734, 0.9218885899, 0.0042154402, -0.278614819, -0.5804384351, -0.0832901746, -0.6100962162, 0.7506181598, -0.7952484488, -0.1900989711, -0.1546755731, 0.0827995464, -0.3601748943, -0.5371049643, 0.20824036, -0.4981890321, -0.3101335168, -0.418595612, -0.3464901447, -0.1857469231, 0.1206116304, -0.4948547781, 1.029317379, 0.1514637023, -0.8092802167, 0.2946663201, -0.6349509358, -0.3783732951, -0.3189709485, -0.0804142132, -0.4934257269, 0.287116915, 0.3443040252, 0.2527502775, -0.2591993809, 0.2768495977, -0.3313857913, -0.5716287494, -0.0328547508, -0.418364048, 0.8304700851, 0.6008773446, -0.1874392033, 0.146357581, -0.8482838273, -0.1292379051, -0.1258284897, -0.1040292159, -0.2999416888, 0.0456252769, -0.160989359, 0.0983485952, -0.2118211389, -0.5514561534, 0.0329499394, -0.7239190936, 0.4755862057, 0.4060611725, 0.0351103023, 0.4322155416, -0.5233722925, 0.5052143335, 0.3572559357, 0.0026463233, -0.2153523266, -0.4874725044, -0.8715943694, -0.2978952229, 0.6115953326, 0.2269075066, -0.7264330387, -0.1159210131, -0.2731936276, -0.2679589093, -0.8091915846, 0.1574838012, 0.3387893438, 0.2786754072, 0.1244492456, -0.2222238034, -1.1069527864, -0.6949084401, -0.235944435, -0.2079215348, -0.1579706371, 0.1349785328, 0.3291890323, 0.1968173534, 0.7119967341, -0.0991980731, -0.0540545434, -0.3082342744, 0.3331237137, 0.1235691458, 0.7105636001, 0.6375658512, -0.5242244005, -0.4518137574, -0.0499123037, -0.6783303022, -0.0810054913, -0.18882218, -0.0598697998, 0.0444430187, 0.9334138632, -0.4123798013, 0.3722326159, 0.4361643493, 0.0247113053, 0.3626540601, -0.0864362195, 0.1109667346, -1.1816978455, -0.2276874036, -0.3625596464, -0.1580179036, -0.6024458408, -0.0189646538, -0.169450447, -0.1475439072, -0.4365324378, 0.1068117768, -0.5483976007, -0.1102855727, -0.4309450984, -0.1194568649, -0.1095401123, 0.3908053637, 0.0943897814, 1.0746036768, 1.1274305582, -0.5912022591, -0.2799169719, -0.0268567875, -0.2479107976, 0.038381394, -0.4340164661, -0.0048328782, -0.3655629456, -0.0057648416, -0.7800467014, -0.008666018, 0.0418076143, -0.2241587639, 0.4078246057, -0.4546267986, -0.5853998661, -0.2504012585, -0.096723631, 0.3607621193, 0.630553782, -0.4863836169, 0.519626379, 0.4544018209, 0.0170832463, -0.3270243406, -1.0504211187, 0.2374590039, 0.1906767637, -0.5877603292, 0.2975425422, 0.0344281346, -0.1081222743, 0.0178493541, -0.1618077457, -0.1476700604, 0.0568357818, 0.3554173708, -0.0199283548, -0.7556819916, -0.0012341872, 0.2311201245, -0.3115838468, 0.0724488646, -0.4451214671, 0.2307051867, -0.3492079377, -0.1999132931, -0.5145754814, 0.2282542586, 0.6634177566, -0.2196124643, 0.825539887, 0.5981228948, -0.2637269497, -0.3318836689, -0.452458322, -0.5548506975, -0.4823599458, 0.4821328521, -0.6559493542, -0.9060194492, 0.4411743581, -0.4835948944, 0.0216041431, 0.0395094827, 0.5182446837, 0.2211318761, 1.2850033045, 0.5966339111, -0.0210774317, 0.6663451791, -0.2851836979, 0.2490768433, -0.5371146202, 0.1005474329, -0.6528223157, -0.4754697382, -0.5490791798, -0.449632287, -0.09700609, 0.2029569149, -0.2294412106, 0.4995721281, -0.4623146653, 0.6667335629, 0.6685657501, 0.1513175517, 0.2822269499, 0.3059447408, -0.1737473011, -0.1345278919, -0.9463698268, -0.1442623883, 1.0192323923, 0.318203032, 0.6832323074, -0.0060913237, 0.627510488, -0.0563229918, 0.3119932413, -0.5295360088, 0.4184123576, -0.3624808192, -0.6100703478, -0.1840189844, -0.4722814858, -0.7122576833, 0.188448146, -0.2203329057, -1.0304521322, 0.4314278364, 0.147469759, -0.3561805785, 0.688054502, -0.7820302248, 0.6338049769, 0.493388623, -0.1938589364, -0.2471997142, -0.4316212535, 0.6095010638, 0.0666204616, 0.1402938366, -0.0994415656, 0.401771307, 0.7782226205, -0.4486500323, 1.169831872, -0.2002574056, 0.1996652931, 0.5421831012, 0.3290826082, 0.8190908432, -0.2382881492, -0.5343735218, 0.3638946414, 0.1233107373, -0.4196149409, -0.6139070392, 0.5492110252, -0.5985759497, -0.464740783, 0.0245634895, -0.9559150934, -0.1835471392, 0.0667099506, 0.1750134379, 0.2040370107, 0.0554729439, 0.167875573, 0.4324981868, 0.2355561852, 0.7913994789, 0.5294789076, -0.1914455146, -0.0617167726, 1.1422702074, 0.277536124, 0.1079635248, 0.2015862912, 0.1699757576, -0.0562332869, -0.7975680232, -0.4539610744, -0.0452765189, -0.3688360751, -0.0744631365, -0.8309255242, -0.5245106816, -0.329926163, 0.0820500925, -0.6903579235, -0.5698207021, 0.0346165337, -0.1043210253, 0.4124034345, 0.75264889, -0.1214056686, 0.9260050654, -0.7508510947, 0.2931543589, 0.0836503431, 0.3002660871, 0.1843255609, -0.7513144016, -0.4280668199, 0.009934633, -0.0468944535, -0.5675722361, 0.3458844423, 0.1913501471, 0.2953427136, 0.5488892198, 0.3132352233, 0.8238974214, -0.3500422239, 0.5056188703, 0.1132242233, -0.8743979335, 0.3317230642, -0.2154153436, 0.2632811964, 0.5304111242, -0.014611938, -0.0391529724, -0.8135198355, -0.6183585525, -0.3862650096, 1.1569898129, 0.4999813139, 0.1804644167, -0.0045536109, 0.2004879117, -0.1213176548, 0.219611451, -0.6101405621, -0.2875551879, -0.0671911463, -0.1208716482, 0.3293985128, -0.5668118596, 0.0415006578, -0.4015608728, 0.6348273158, -0.0338645987, 0.1263161749, 0.0285532605, -0.0303852484, -0.2941762209, 0.1938512027, 0.5095751882, 0.5719567537, -0.2848482728, 0.285186559, 0.2999520302, -0.3910503983, -0.115746066, 0.0027930688, -0.5971705914, 0.2570513189, 0.1790004373, 1.0938769579, 0.2457383573, -0.3569618762, 0.3811319768, -0.1070175543, -0.5528242588, 0.228987962, 0.1938656867, 0.2143966258, 0.2700339258, -0.0772792995, 0.7781734467, 0.2409757674, -0.1384132802, 0.3398931921, 0.1218047217, -0.5428834558, -0.4453068972, 0.729865849, -0.0728320628, -0.2255990803, 0.2689288557, -0.5036132932, -0.3183244765, 0.5003398061, 0.8550115228, 0.9069799781, -0.1305064112, 0.1111445427, 0.6164188981, 0.534553647, -0.435793519, 0.5515274405, -0.0696108788, -0.7618409991, -0.877140224, -0.7827609777, -0.1545880735, 0.2080754191, -0.5721030831, -0.0195739623, -0.6943609118, -0.1032977849, 0.0841082558, -0.4393553436, -0.3475133181, 0.1220971197, 0.0860992968, 0.6679852009, -0.8530945182, 1.0506844521, 0.4333996475, -0.301751554, -0.784784019, -0.033977598, 0.0111051714, -0.7308929563, 0.8828257918, 0.1802089959, -0.1537971348, 0.1378973722, -0.5641033649, -0.777451992, 0.4563930929, 0.8016899228, -0.9131478071, 0.0315577313, 0.1080901399, 0.4171568751, -0.5429478288, 0.4460093379, 0.6956804991, 0.4259088039, 0.131615445, -0.6866362095, 0.2252518833, -0.1100414321, 0.2182281762, -0.0178144798, -0.4291023612, 0.9586758018, -0.3182829916, -0.2699339092, 0.1143058315, 0.6687407494, 0.1686727703, 0.3259860575, 0.7088699937, 0.4502496719, 0.8504205942, 0.074574694, 0.8534920812, -0.6542568207, 0.1056771353, 1.2463685274, -0.0949572921, 0.8523055911, 0.4709730744, -0.2266981453, 0.3176447749, 0.5577021837, -0.0147300484, 0.402941376, 0.3863656223, -0.3145235777, -0.6909250617, -0.283059299, -0.4087219834, 0.2371869832, 0.3517201543, -0.4093877077, -0.4921267927, 0.0674742684, -0.1369991302, 0.0383671187, -0.1775822788, 0.6553444862, 0.2478570491, -0.2778164148, 0.7894106507, 0.0131500615, 0.5545544624, -0.5871676207, -0.0998665094, -0.1254441887, 0.1345523596, -0.0691813529, -0.0794675201, 0.6669203639, -0.2042240798, -0.4506998062, -0.1781147569, 0.510529995, -0.47536847, -0.7919790745, 0.4087069333, 0.5118435025, 0.5875889659, -0.3801399469, -0.7323848009, 0.1872639358, 0.0833710209, -0.2208851129, 0.4809830785, 0.5314437747, -0.0790027305, 0.6389195919, 1.016767025, 0.2244630605, 0.1259435266, 0.5136771798, 0.9626955986, -0.4877510369, -0.507948041, -0.7440091372, 0.1993899941, 0.0106712682, -0.1443147808, 0.5925334692, 0.5858954787, 0.7361497879, -0.1839825213, 0.6721789241, -0.0844276473, 0.3871783614, -0.6630996466, 0.9033013582, -0.4749666154, 0.6639453769, -0.0664414316, -0.6819692254, -0.3376889825, 0.2954538465, -0.273234576, 0.0068447851, 0.7918393016, 1.5410490036, -0.3007727563, 0.2465022653, 0.8116830587, 0.6209180951, -0.0215270501, 0.3203763962, 0.6398074031, -0.8300082684, 0.8439448476, -0.374333322, 0.0322803967, 0.0318611786, -0.6577088237, -1.0516031981, -0.2294304967, -0.4784801006, -0.6847859621, 0.387783587, 0.5649044514, 1.2303148508, -1.36381495, -0.2569713891, -0.606869638, 0.1897778064, -0.5721139908, -0.2129967213, 0.46929878, -0.8507323861, -1.063718915, 0.7804175019, 0.1500132084, 0.0059754518, 0.2798771858, -0.151246652, -0.0909181312, -0.0104224095, 0.3915766478, 0.3496206403, -0.6230086088, -0.013288008, -0.0883201137, 0.0116257276, 0.0379131474, 1.0158178806, -0.6828674674, 0.6441420913, 0.5205700397, 0.8647796512, 0.864299953, -0.2265170664, 0.7298229337, -0.8925445676, 0.6328178644, -0.1722024083, 0.3800432682, -0.0332158171, -0.2809199989, 0.3276070952, 0.3679876029, -0.1837724149, -0.9297063947, 0.0512555502, -0.7097940445, -0.5564880371, 1.025957346, -0.1611543, -0.4862004817, -0.4751344323, -0.237777859, 0.269200325, -0.5078366399, 0.6279371977, 0.3509519398, 0.1492579132, -0.4141418338, -0.70420748, 0.6657658815, 0.7441859245, -0.312166214, 0.2574393451, 0.0088501815, 0.0964803994, 0.1483842582, 0.5014281273, -0.0645685419, 0.2391244471, 0.8427027464, 0.1710874885, -0.4531315267, -0.3161579072, -0.1397828013, 0.1576767713, 0.0658378229, -0.4162678123 ]
http://arxiv.org/abs/2406.17385v1
http://arxiv.org/pdf/2406.17385v1
Native Design Bias: Studying the Impact of English Nativeness on Language Model Performance
2024-06-25T09:04:21
2024-06-25T09:04:21
Manon Reusens, Philipp Borchert, Jochen De Weerdt, Bart Baesens
cs.CL
cs.CL
Large Language Models (LLMs) excel at providing information acquired during pretraining on large-scale corpora and following instructions through user prompts. This study investigates whether the quality of LLM responses varies depending on the demographic profile of users. Considering English as the global lingua franca, along with the diversity of its dialects among speakers of different native languages, we explore whether non-native English speakers receive lower-quality or even factually incorrect responses from LLMs more frequently. Our results show that performance discrepancies occur when LLMs are prompted by native versus non-native English speakers and persist when comparing native speakers from Western countries with others. Additionally, we find a strong anchoring effect when the model recognizes or is made aware of the user's nativeness, which further degrades the response quality when interacting with non-native speakers. Our analysis is based on a newly collected dataset with over 12,000 unique annotations from 124 annotators, including information on their native language and English proficiency.
[ -0.4084541202, -0.6137174964, 0.2172968537, 0.2484735101, -0.0496033095, 0.3207935691, -0.3693419695, -0.9635788798, 0.1660336256, 0.2033113837, -0.2615919411, -0.4420207143, -0.4328589737, 0.4070043862, -0.0115259541, 0.6280292273, 0.0385607444, 0.1716980934, -0.5905120373, -0.1111730114, -0.6888558865, -0.6796354651, -0.5121889114, -0.3004585505, 0.4538373649, 0.39006266, 0.6992519498, 0.2812418938, 0.362359643, 0.2339929193, -0.2630914748, -0.0112535907, -0.6273255944, 0.0912113041, -0.3376169801, -0.7287100554, -0.5719919205, 0.1092230007, 0.3803637922, 0.7107102871, 0.1848192513, 0.3166745007, 0.2644581199, 0.4053165913, -0.5747070909, 0.0822026581, -0.5676372051, -0.0702054575, -0.3189097643, -0.1961126626, -0.6309010386, -0.2902916074, 0.1942280978, -0.6746709347, 0.373575598, 0.179959625, 0.8076508641, 0.0712293684, -0.663277626, -0.0737887323, -0.7640442252, 0.8038283587, -0.9633321762, 0.5413472056, 0.4708595574, -0.0904455557, -0.1604477316, -0.0359219275, -0.3019409776, -0.4645089209, -0.2999572754, -0.0319047384, -0.0782161653, 0.0185586009, 0.4332379401, 0.4395436049, -0.7883172631, 0.7343527675, -0.5384235978, -0.3259103894, 0.9057893753, 0.0809441656, 0.2140578926, -0.0905188024, -0.0518837385, 0.1566259712, -0.8722474575, 0.3413696587, 0.6058213115, 0.4665688574, -0.426394701, 0.3713168204, -0.0735288635, 0.7628226876, -0.1507228613, -0.4983797371, 0.5585121512, -0.1135717556, 0.121578984, -0.1313244253, 0.7531204224, 0.5483130813, 0.7756966949, -0.1604585201, -0.4395220578, 0.1329679936, -0.0405750535, -0.6264491677, 0.0223172978, -0.1035220847, -0.5443676114, -0.022087045, 0.0527062751, -0.720436573, -0.3287705481, -0.3748908937, 0.2035399526, 0.1766143739, -0.4179342091, 0.0938528776, 0.1509331912, 0.0345905907, 0.1008875519, -0.9499168992, 0.3366048932, 0.4065530896, 0.602625072, -0.5837829113, -0.11333327, -0.2621352673, -0.1197145879, -0.3794333637, 0.6041358113, -0.6129617095, -0.8049123287, 0.1726133674, -0.0186391715, 0.0075149862, -0.773608923, 0.4966270328, -0.6050436497, 0.2282504588, -0.5075488687, -0.2174596936, 0.0101359338, -0.0510813892, -0.7458948493, 0.8761241436, -0.2559129894, -0.8280350566, 0.6353977919, -0.4547589123, -0.6989442706, 0.0559112318, -0.3245155513, -0.0191308409, 0.4998939931, 0.284940511, 0.2922030389, -0.1584674567, 0.0108938953, -0.3162789941, -0.4943445921, 0.1136539057, -0.3371764719, 0.4342617691, 0.3048019707, -0.2764905393, -0.0786475614, -0.8855844736, -0.3893158436, 0.3951939046, -0.6033824682, -0.574842751, 0.0918247625, 0.1414818913, 0.3737453222, 0.264703691, -0.7517752647, 0.0631419569, -0.4544628561, 0.247369349, 0.8093757033, -0.0553925857, 0.3769807518, -0.3731102049, 0.7004101276, -0.1441890001, -0.0543924384, -0.232557252, -0.6474624276, -0.4274874032, 0.0880526975, 0.1647832394, 0.3749560118, -0.2273658812, -0.0293922685, -0.231670782, -0.2097542733, -0.5240311027, 0.4637695551, 0.2993822396, 0.4832192063, 0.0823577493, -0.4123552144, -0.5220739841, -1.2099641562, -0.2506892383, -0.4457979798, -0.3383312523, 0.4414060414, 0.3059746325, 0.0736853033, 0.9878573418, -0.2380245179, -0.0699693635, -0.2803248465, -0.0219225287, 0.1243842319, 0.1303572804, 0.6776664257, -0.5338151455, -0.3392938375, -0.0866320729, -0.5118032098, -0.3363444805, -0.0412936658, 0.0560039654, 0.5597434044, 0.3776980937, -0.4362263978, 0.2747583687, 0.825245142, -0.1559622884, 0.5725054741, -0.0887942761, 0.1259588599, -1.1353360415, 0.1252839863, 0.3444953561, 0.1825296134, -0.3148623407, -0.1522181332, 0.1053856984, 0.1223087981, -0.3812398612, 0.6853196621, -0.5977147818, -0.131398648, -0.23305583, 0.1147703603, 0.1907449812, 0.1558464915, 0.2579528391, 1.0686181784, 0.0291589759, -0.5180928111, -0.0842149705, 0.1951142401, -0.4654689133, 0.4931438863, -0.9426085949, 0.1913042516, -0.3597672582, 0.1590991616, -1.2847774029, -0.1249563023, -0.4161788821, -0.5817201734, 0.389439106, -0.0344161019, -0.4971910119, -0.5766457915, -0.0823664218, 0.3757771254, 0.4094820023, -0.4054785967, 0.3916528523, 0.2888385355, -0.300381124, -0.3784472048, -0.7411714792, 0.0844283327, -0.0549729466, -0.8638863564, 0.1988819838, -0.1864054203, -0.5785841942, -0.3141857684, 0.0589133836, 0.229400456, 0.3415504098, 0.1900172979, 0.3046543896, -0.3755905628, 0.2067999691, -0.3843864202, 0.2262345999, 0.4628289938, -0.032469444, 0.4194090962, 0.2475995719, -0.3947134316, -0.3387240469, 0.3024574518, 0.6381932497, -0.630505681, 0.7923227549, 0.0814243108, -0.3471995592, -0.066741921, -0.7831736207, -0.2112334073, -0.4767403305, 0.4769900739, -0.4759112895, -0.970841825, 0.7537506819, 0.4752301276, 0.4969678521, 0.3257995248, 0.5469382405, -0.1440166086, 1.0674080849, 0.7429904938, -0.247361213, 0.3831987083, 0.0455153584, 0.1387791932, -0.4912465811, -0.3959113061, -0.5659310818, -0.5494302511, -0.7223564982, -0.0299393218, -0.0470044985, -0.3521423936, -0.1479222775, -0.0119696334, -0.2011942416, 0.306632936, 0.5392415524, -0.1562878489, 0.4011638165, 0.1564768851, -0.2014630437, -0.4413963854, -0.4880844057, -0.6484003067, 1.1459937096, 0.5818700194, 1.1906971931, 0.2528976798, 0.4081830978, 0.2143128663, 0.2723425031, -0.5980859399, 0.2965972424, 0.1032275483, -0.8247430325, 0.1278664768, -0.4910775125, -0.9547014236, 0.0476530902, -0.3234477043, -0.7383344769, 0.1002809256, 0.2657262981, -0.3304711282, 0.3405605555, -0.8561444283, 0.5586616993, -0.5558255315, -0.5438052416, 0.0712461546, -0.4590138197, 0.4588104784, -0.3153758049, 0.5059802532, -0.1159379482, -0.0082777794, 0.8357436061, 0.0158862472, 1.0033199787, -0.148358807, -0.3827008307, -0.0314371511, 0.1212192923, 0.5089673996, 0.035444621, -0.2494528145, 0.1585486382, -0.3240273297, -0.5236765146, -0.2665476799, 0.8498337269, -1.0644904375, -0.9308356643, -0.125190571, -0.6193447709, -0.5049886703, -0.1235725582, 0.4463599622, 0.3293218017, -0.1292267889, 0.049545601, 0.5860663056, -0.5063721538, 0.3276038468, 0.815748632, -0.1872089356, -0.035253156, 0.5416527987, 0.416056484, 0.5353924036, 0.3666036129, 0.1824709773, -0.3741399646, -0.5793989301, -0.296094507, 0.3958304822, -0.5375958085, 0.1501778662, -0.4487858713, 0.0266422722, -0.4509975612, -0.0503664427, -0.3400560319, -0.0608379543, -0.1359710842, -0.3665946126, 0.2654635906, 1.110486269, 0.1755274087, 0.1637496054, -0.4337073565, -0.073857896, 0.2406453341, 0.2989204526, 0.1564962715, -0.9634649754, -0.3360711932, -0.0153340083, -0.1560287923, -0.6875195503, 0.0848573744, 0.0768273771, 0.9689789414, 0.5380880833, -0.0312577263, 0.2380396426, -0.3728547096, 0.970184803, -0.0962508023, -0.4649269879, 0.4886492789, -0.4676416218, 0.5558950305, 0.5454114676, 0.4674468338, -0.6563958526, -0.3575926125, -0.2553794384, -0.8440937996, 0.32934618, -0.2478016913, 0.5367093682, -0.1318256408, 0.2108196467, 0.2048742175, 0.129299894, -0.7871293426, -0.3853525817, 0.1787369698, 0.2079704404, -0.2364071757, -0.6633330584, 0.1308659464, -0.034946911, 0.4444222152, -0.0183845498, -0.074227348, -0.0814569741, -0.2799633741, -0.2676814198, 0.1384456158, 0.893717885, 1.0314882994, -0.2008843571, 0.1701545715, 0.326675266, -0.3721825182, 0.2193067074, -0.2547807992, -0.1542984992, 0.2434021831, 0.6219124794, 0.5993114114, 0.3039875627, -0.4535908103, 0.4800409675, -0.186199978, -0.0932999551, -0.1127831787, -0.1435655206, 0.2174948752, -0.3770219386, 0.5897945762, 0.0047263252, -0.178023383, -0.3805737197, 0.0783213675, 0.5204501748, 0.000106696, -0.6124537587, 0.9792897701, 0.5891823769, -0.5649898052, 0.4511006176, -0.0288495012, -0.3700993061, 0.3477313221, 0.5563665032, 0.4465443194, -0.4058430195, -0.1084892154, 0.5432657003, 0.5142146349, 0.228217721, 0.1447852701, 0.2938963771, -0.6771912575, -0.9104784131, -0.5164637566, -0.3172406554, 0.3255821764, -0.5925792456, 0.2514629066, -0.4477391243, -0.3611103892, -0.3395727277, -0.0646867976, -0.9410136938, 0.2066381127, 0.5644493699, 1.1424735785, -1.1553122997, 0.4297444224, 0.9113168716, -0.4508458376, -0.7278367281, -0.0016767177, 0.2599695921, -0.7873734236, 0.9364221096, 0.1917091608, 0.0171867311, -0.3829447031, -0.1486380994, -1.0113066435, 0.6327352524, 0.554967165, -0.6228461266, 0.0000651178, 0.5300312638, 0.589804709, -0.1255606413, 0.5323204994, 0.4256929457, 0.1181209385, -0.0253630448, -1.3442405462, -0.2428962886, -0.3541073203, 0.2202884853, -0.0913512632, -0.7527880669, 0.7480697036, -0.2308861613, -0.166701287, -0.2454229891, 0.6938405037, 0.3456275761, 0.0304547157, 0.3676244318, 0.4212550819, 0.7869594693, 0.0309450533, 0.8674355745, -0.5108491182, -0.1386302859, 1.0223782063, -0.2477462441, 1.0686826706, 0.5182763934, -0.3358443975, 0.5155883431, 0.8493170738, 0.4076921642, 0.144473657, 0.4137699604, -0.3283406496, -0.1147869974, -0.2600027323, -0.5417995453, 0.463773489, 0.0930304751, -0.4504626691, 0.0175128635, -0.0292934906, 0.2135136873, 0.3396150172, -0.2333173603, 0.4853363037, 0.1239202023, -0.6143162847, 0.7003139853, -0.001377004, 1.3264237642, -0.4490236342, 0.2068617791, -0.7585762739, -0.0597747862, -0.5356231332, -0.6419500709, 0.0003457206, 0.0673829764, -0.5243651867, -0.0840351954, 0.2959661484, -0.0388163589, -0.6076486111, 0.5707287788, 0.5894770622, 0.1039699316, 0.1189130545, -0.2654537857, 0.3069632947, -0.110956043, -0.5197572708, 0.365989089, 0.0300132576, -0.3092109859, 0.6270629168, 0.6328074336, 0.1526324451, 0.216559723, 0.1535459608, 0.5202423334, -0.2740579844, -0.371067822, -0.8535807133, 0.5500925779, -0.1002930775, -0.5149760842, 0.9550285935, 0.8492028117, 1.2703573704, -0.0197471119, 0.8625990748, 0.4585706592, 0.4971591532, -0.3122890294, 0.6300325394, -0.5523306727, 0.4383001328, -0.3532577753, -1.0638999939, -0.1351461112, 0.5832445025, -0.65433079, 0.3297459483, 0.285769254, 0.8839660883, -0.0085040499, -0.1225458682, 0.5310068727, 0.0628670156, 0.5003377199, 0.456063658, 0.8166890144, 0.0092672687, 0.4097593427, -0.0299256705, -0.1433347464, -0.1474539638, -0.6914359331, -0.9470518827, -0.2608117759, -0.2070209533, -0.2160817385, -0.159254998, 1.0970807076, 0.7603527308, -0.8482297659, -0.4812737107, 0.4975057244, -0.0943505615, 0.3733590245, -0.2399130017, 0.0465515517, -0.2865791619, -0.7190772295, 0.3416197896, -0.1024725214, 0.0449760742, -0.5532420874, -0.2172435671, 0.069947049, 0.0577686653, 0.6095181108, 0.3554267883, -0.7689086199, -0.1797263175, 0.3977699876, -0.252197504, 0.2215565741, 0.5602948666, -0.7236588597, 0.4549151957, 0.402910769, 0.5416876674, 0.2154560536, -0.0636017919, 0.7979639173, -0.8324757814, 0.2754749954, 0.0769610181, 0.4213194251, 0.6370250583, -0.2682264149, 0.183524549, 0.3337413371, -0.5399220586, -0.7192260623, 0.1122798249, -0.3992784321, -0.0693799406, 1.4486253262, -0.0495857298, -0.163932085, -0.1093215272, -0.2085092962, -0.3315163553, -0.4522096813, 0.6125163436, 0.9112579823, 0.0031449927, -0.2011249214, -0.9506636262, 0.4539017677, 0.4513659775, -0.5119115114, -0.0563446246, 0.5155373812, 0.6367701888, 0.1266745627, 0.5088097453, 0.1074008122, 0.1810798347, -0.2656884193, 0.2529110014, 0.0122975288, -0.0020130789, -0.3066016138, -0.0129308309, 0.856623292, -0.1256946921 ]
http://arxiv.org/abs/2406.17378v1
http://arxiv.org/pdf/2406.17378v1
A Text is Worth Several Tokens: Text Embedding from LLMs Secretly Aligns Well with The Key Tokens
2024-06-25T08:55:12
2024-06-25T08:55:12
Zhijie Nie, Richong Zhang, Zhanyu Wu
cs.CL
cs.CL, cs.IR
Text embeddings from large language models (LLMs) have achieved excellent results in tasks such as information retrieval, semantic textual similarity, etc. In this work, we show an interesting finding: when feeding a text into the embedding LLMs, the obtained text embedding will be able to be aligned with the key tokens in the input text. We first fully analyze this phenomenon on eight embedding LLMs and show that this phenomenon is universal and is not affected by model architecture, training strategy, and embedding method. With a deeper analysis, we then find that the main change in embedding space between the embedding LLMs and their original generative LLMs is in the first principal component. By adjusting the first principal component, we can align text embedding with the key tokens. Finally, we give several examples to demonstrate the vast application potential of this finding: (1) we propose a simple and practical sparse retrieval method based on the aligned tokens, which can achieve 80\% of the dense retrieval effect of the same model while reducing the computation significantly; (2) we show that our findings provide a fresh perspective to help understand fuzzy concepts (e.g., semantic relatedness vs. semantic similarity) and emerging technologies (e.g., instruction-following embedding) in this field.
[ 0.062682353, -0.766872406, 1.0247539282, -0.0727444291, -0.5462213755, 0.121684514, -0.1924221367, -0.2283369005, 0.4066964388, 0.308490485, -0.3076345026, -0.4986140132, -0.6779909134, -0.1090686396, -0.587895453, 0.7118816972, 0.04366754, 0.2643280029, -0.4450436831, -0.2270654887, -0.5386909246, -0.6555250287, -0.2838562429, -0.1973117292, 0.4182059169, 0.2801306844, 0.9427399635, 1.1553230286, 0.7538554072, 0.3190781474, -0.1917292476, -0.0776077956, -0.5546064377, 0.2128438354, 0.0037920845, -0.6659271717, -0.1603905261, -0.0577433743, 0.9922510386, 0.6166753769, 0.125969708, -0.1265871227, 0.4856396616, 0.5308572054, -0.4280020893, 0.0034747478, -0.8491271138, 0.030410273, -0.3030624688, -0.02759807, -0.34311831, -0.0440517925, -0.0555654578, -0.60027349, 0.0450608358, 0.277582705, 1.069568634, 0.3729245961, -0.3887510896, -0.294536531, -0.1808239818, 0.7648019195, -0.6720749736, 0.3732866347, -0.0281132832, -0.0531978495, -0.1381300837, -0.578037858, -0.7869236469, 0.0620904155, -0.1660212129, -0.2556924224, 0.1241250336, 0.1935526282, -0.0540910028, 0.3512096703, -0.3254930377, 0.2754960656, 0.1027381197, -0.1307965964, 0.3583763838, 0.0819674581, 0.4031139314, -0.3360260129, -0.7669919133, -0.1641225219, -0.8044989705, -0.3365686238, 0.1996062398, 0.5396470428, -0.0554021783, 0.9194690585, 0.4403871894, 0.5888726711, 0.0329682939, -0.1579530388, 0.2217294425, -0.7326201797, -0.225343585, 0.1563133746, 0.680837214, 0.3220973909, 0.3756328225, -0.2170676589, -0.2006195635, -0.0770289153, 0.243910715, -0.5117537975, 0.1696124971, -0.0961091816, -0.6211630702, -0.359033078, 0.3729142845, -0.3941629231, -0.4602986574, -0.2381722778, 0.6987050176, -0.4336794019, 0.020113742, 0.0407945067, -0.2563651204, 0.5183770061, 0.170804888, -1.0707278252, 0.3899796307, 1.3552008867, 1.0353219509, -0.2299813777, -0.121490933, -0.2399540544, 0.1932728887, -0.3743200898, 0.7314993143, -0.8223398328, -0.1384158283, 0.2675118446, -0.1814274043, 0.0009926768, -0.4473711848, 0.4024171829, -0.5415839553, -0.0597078167, -0.3868356347, -0.9439998269, 0.050378181, 0.1592932791, -0.6521328688, 1.0373082161, -0.2723357975, -0.7244068384, 0.3536626995, -0.0224963687, -0.1938441247, -0.0986767411, -0.4661240876, -0.4168245792, 0.3764441609, 0.0167351365, 0.5048798919, -0.2228445709, 0.2059295475, -0.4005056322, -0.6197413802, 0.6122985482, -0.4556683302, 0.4793931842, 0.0676560551, -0.2172638476, -0.1094348803, -0.3809803426, -0.0605785958, 0.0126364408, -0.2476390451, -0.7063519359, 0.0822406709, -0.0292959306, -0.0556234978, 0.4037664235, -0.6845114231, 0.4696737826, -0.4817724526, 0.4839739501, 0.9527098536, -0.0350888334, 0.7343375087, -0.4289085567, 0.1548590511, 0.0172413997, -0.2023847997, -0.3215463459, -0.4537363648, -0.6340828538, -0.4992206395, 0.6550374627, 0.3360013366, -0.2985948324, 0.5488880277, -0.4920798242, -0.0073783989, -0.6956373453, 0.2852340043, 0.246990338, 0.123313196, -0.0182367843, -0.0981589556, -0.2697354257, -0.8913780451, -0.5549070835, -0.0244126972, 0.117163986, 0.1350673884, 0.2997329235, 0.0034591975, 0.9804716706, -0.6421331167, -0.4319598079, 0.0566880181, -0.2136379033, 0.0781303868, 0.6634613872, 0.4336337447, -0.7693791389, -0.5428195, -0.0655365288, -0.5844553113, 0.090883404, -0.2282057703, -0.3729073703, 0.0161960963, 0.7836648226, -0.5918081403, 0.1290998757, 0.4034437835, -0.4587779939, -0.2040868551, -0.1814155132, -0.0441274531, -1.3013100624, -0.1189270914, -0.2042628676, -0.319378376, -0.3746035397, 0.1686778814, 0.2327991128, -0.0379096679, -0.2434483916, 0.6236407161, -0.4939564764, -0.1051913947, -0.317078948, 0.6544100046, 0.0727278069, 0.3103464842, -0.4073240459, 0.8137527108, 0.2734877467, -0.2555087209, 0.1098608524, 0.3073236048, -0.4074661434, 0.4611057043, -0.3878338635, 0.1739336997, -0.2968739569, -0.0092078233, -1.4393392801, 0.0800315663, 0.1127815768, -0.4820516407, 0.5962552428, 0.0881601498, -0.8492570519, 0.091679737, -0.7195866108, 0.5020992756, 0.4480551481, -0.6162828207, 0.458615005, 0.449585855, -0.1809933633, -0.5863547921, -0.7398623228, 0.2189613581, -0.241210103, -0.3742392361, 0.6580631137, 0.1386875957, -0.2398565263, 0.5366769433, -0.1633036137, 0.0295932163, 0.3472097814, 0.1406914294, 0.2833628058, -0.3290979564, 0.604740262, 0.0762551799, -0.1022617221, -0.1418368965, -0.4481851161, 0.527551055, 0.1347850263, -0.6355622411, -0.329603076, 0.3559974134, 0.4147128761, -0.009286792, 1.0109190941, 0.393973738, -0.6014854908, 0.0559885129, -0.5875613689, -0.0544616729, -0.5337573886, 0.5087709427, -0.241057992, -1.1039762497, 0.3172835112, 0.0010934395, -0.0104698744, 0.6132056117, 0.3566093445, -0.1745821089, 1.2266609669, 0.8765220642, -0.1861964017, 0.5820889473, 0.0192331113, 0.4476626515, -0.8936602473, -0.5027045608, -0.6996559501, -0.5433195233, -0.7755184174, -0.5639408827, 0.1241226718, 0.2643615901, -0.3263438344, 0.0010508405, -0.4270800054, 0.5253669024, 0.3357134461, 0.0411059968, 0.2194672674, 0.1632102728, -0.4964692295, -0.3052696884, -0.5910708904, -0.6216279864, 0.9532412291, 0.3924625814, 0.8748134971, 0.2589660883, 0.8658374548, 0.2105157822, 0.1985228956, -0.9814647436, 0.349416554, -0.3662899137, -0.3203992248, -0.178749606, -0.1650476307, -0.826946795, 0.1950042844, -0.3604127765, -0.7415243387, 0.0118292719, -0.163743645, -0.288238585, 0.2647030652, -0.6467267871, 0.703070879, -0.3473579586, -0.2810064256, -0.2776912153, -0.3619763255, -0.0102416025, -0.1666579545, 0.0917944387, -0.0368582457, -0.6363056898, 0.8318558335, -0.468842268, 0.9186751842, 0.0945143253, -0.2644348145, 0.2063333243, -0.2119722813, 0.4098104835, -0.0983730257, -0.0682137683, -0.086247839, -0.0963019282, -0.4992514551, -0.9424889684, 1.118442893, -0.7428022623, -1.0173727274, -0.5832750201, -0.3504092693, -0.1302355826, 0.3516477942, -0.0726633221, 0.3896082938, -0.1677505672, 0.4022748172, 0.8207224011, -0.1062281653, 0.3540204167, 0.0796075836, -0.1881738901, -0.3802520931, 0.7850375772, 0.0737202615, 0.2100072354, 0.8763520122, 0.1640675664, -0.4174123704, -0.2181303799, -0.3062509, 0.5601526499, -0.712080121, -0.4916530848, -0.5750277042, -0.1797749549, -0.4033069015, -0.4465728402, -0.2216206342, -0.5864484906, -0.6403495073, -0.2852917016, 0.4053505957, 1.0486416817, 0.0535990708, 0.460232228, -0.9397271872, -0.0456004553, 0.3022520244, 0.5123302937, 0.3091732264, -0.4452694952, -0.2804448009, 0.0334161855, -0.3470381796, -0.8712210655, 0.0857850909, 0.23968485, 0.5784872174, 0.7302945256, -0.1768515855, 0.7332074046, -0.6902633905, 0.9180474877, 0.0837249383, -1.1844183207, -0.0285983197, -0.0889240056, 0.156937331, 0.6142537594, 0.3158253729, -0.4959074855, -0.2387625277, -0.5205529332, -0.6771956682, 0.5317831039, 0.020569263, 0.7988778353, -0.2294494361, 0.6501746774, -0.0396788642, 0.2437641621, -0.5952649117, -0.3311645389, 0.0752762631, -0.7753576636, -0.1089388505, -0.6089401841, 0.0476441495, -0.0150936432, 0.4462304413, 0.0452024303, 0.7367216349, 0.0880343467, -0.1159733683, 0.0845427066, 0.1353197694, 0.4461545944, 0.230576396, 0.1006694436, 0.4347765446, 0.0720294416, -0.3545251191, 0.2291211933, -0.0906750932, 0.0276462249, -0.006355864, 0.4267205596, 0.543833673, 0.6858465075, -0.5350928903, 0.7974982262, 0.138018921, 0.0104446542, 0.0666948184, -0.0512417667, 0.2671253085, 0.2609151602, 0.4459758699, -0.2493791729, -0.1026981026, -0.5636430979, 0.3008103073, 0.8781293035, -0.4438545406, -0.223521769, 0.4829353392, 0.0707582161, -0.4639852345, 0.5585125685, 0.0676368251, -0.9242892861, 0.4229251742, 0.8804514408, 0.7430288792, 0.168270275, 0.1305059195, 0.1326411068, 0.275655359, -0.0322720036, 0.1733905077, -0.1772624701, -0.7438125014, -0.3285424113, -0.5436020494, 0.0360496938, -0.2495208383, -0.4552710652, 0.2975176573, -0.3495540917, -0.1235405356, -0.1775793135, 0.0969040766, -0.5905493498, -0.2497525066, 0.2116983235, 0.9052399993, -0.783896029, 0.7236871719, 0.5480183959, -0.1405158937, -0.8289300799, 0.2962851524, 0.042099867, -1.1252992153, 0.683891058, 0.2430264801, 0.1476753503, 0.0684683993, -0.6012541056, -1.2548897266, 0.94810462, 0.292504847, -0.4676693976, -0.1691864133, 0.3738788664, 0.4352516234, -0.340344429, -0.1586783379, 0.1318293661, 0.3748130202, -0.067434296, -0.6019123197, 0.3331900239, -0.1231074855, 0.1638509482, 0.5379002094, -0.8202722073, 0.8141061664, -0.0594265833, -0.5190212131, 0.4364187419, 0.6663382053, -0.1196112186, -0.0432509594, 0.244166255, 0.8229578733, 0.7378396988, -0.0591313839, 0.9379734993, -0.4042083323, 0.4100024104, 0.6016555429, -0.2555653155, 0.9334490895, 0.7281630039, 0.0893382803, 0.4530166388, 0.3154657483, 0.0200576317, 0.7674465179, 0.1868740171, -0.2022981048, -0.2220308483, -0.2820397317, -0.2871843874, 0.3182051182, 0.4629913568, -0.4898076355, -0.102418229, 0.0059320256, 0.1995675564, 0.2488670498, -0.119169265, 0.9762778878, 0.3346785009, -0.5029553175, 0.2934384942, 0.1211031005, 0.789993763, -0.4417515099, -0.1358927786, 0.0476384126, 0.3149645329, -0.0303949043, -0.776309371, 0.1161625534, -0.1451565921, 0.0089312978, -0.3021206558, 0.7023925781, -0.4562569261, -0.4567355514, 0.1754528582, 0.4275943637, -0.1831377596, 0.2322188318, -0.4847434163, 0.2875246406, -0.072983183, 0.0985391885, 0.6005741954, 0.7062363029, 0.1604490131, 0.2974113822, 0.5062049627, -0.0015356415, 0.0660994276, -0.2006758451, 0.8807932138, -0.7592190504, -0.424983263, -1.1883901358, 0.1565217078, -0.0666184649, -0.1159585416, 0.8708586693, 0.5924743414, 0.7206133008, 0.2690940201, 0.479139179, 0.2995153368, 0.1658824831, -0.7674973011, 0.5720775127, -0.5921415091, 0.2926377654, -0.3435885906, -0.9753639698, -0.4352884889, 0.7139881253, -0.0307846032, -0.1056636646, 0.7474642396, 0.7281417847, 0.0626535043, -0.1342503577, 0.244865045, 0.1449504197, 0.1218647957, 0.2538600564, 0.7595956922, -0.4474704862, 0.258531034, 0.0431878753, -0.0677464679, -0.2166370302, -0.919133842, -0.6541736126, -0.7123529315, -0.0692598075, -0.1809017509, 0.2273271531, 0.9058642387, 0.2618811131, -0.4705142677, -0.032921467, -0.0039306371, 0.480035156, 0.0267488398, -0.2411213517, 0.5413050056, -0.491627723, -0.7114963531, -0.0761747211, 0.2951104343, 0.2546275854, -0.1738318801, 0.0516516007, -0.4830694795, 0.1692512929, 0.4228390753, -0.2691497505, -0.6759437323, -0.7252637148, 0.3145736158, -0.4546435177, 0.125346452, 0.9645475149, -0.7776446939, 0.2524207234, 0.6320269108, 1.0885170698, 0.1263756901, 0.1303811967, 0.5815476179, -0.7808442116, 0.0532570705, 0.0492787324, 0.4187638462, 0.3752781451, -0.4781925082, 0.0125629706, 0.0700081214, -0.3870992661, -0.8746339679, -0.0253226478, -0.8415077329, -0.2885577381, 1.1906099319, 0.037603654, -0.2545523643, 0.2669562995, -0.1885882914, 0.3326422572, -0.2544569373, 0.6432252526, 0.9943413734, 0.1595728844, 0.1672956795, -0.0851717815, 0.2788774967, 0.6450222731, -0.3238329887, -0.1705849469, 0.0644240081, 0.1439979672, 0.1743885726, 0.3581131101, -0.1998694837, -0.1508074999, -0.0388590693, -0.3982623816, 0.1064913645, -0.134434998, -0.5205910206, 0.0409638248, 0.3400215805, -0.4349814355 ]
http://arxiv.org/abs/2406.17377v1
http://arxiv.org/pdf/2406.17377v1
A Three-Pronged Approach to Cross-Lingual Adaptation with Multilingual LLMs
2024-06-25T08:53:46
2024-06-25T08:53:46
Vaibhav Singh, Amrith Krishna, Karthika NJ, Ganesh Ramakrishnan
cs.CL
cs.CL
Low-resource languages, by its very definition, tend to be under represented in the pre-training corpora of Large Language Models. In this work, we investigate three low-resource cross-lingual approaches that enable an LLM adapt to tasks in previously unseen languages. Llama-2 is an LLM where Indic languages, among many other language families, contribute to less than $0.005\%$ of the total $2$ trillion token pre-training corpora. In this work, we experiment with the English-dominated Llama-2 for cross-lingual transfer to three Indic languages, Bengali, Hindi, and Tamil as target languages. We study three approaches for cross-lingual transfer, under ICL and fine-tuning. One, we find that adding additional supervisory signals via a dominant language in the LLM, leads to improvements, both under in-context learning and fine-tuning. Two, adapting the target languages to word reordering may be beneficial under ICL, but its impact diminishes with fine tuning. Finally, continued pre-training in one low-resource language can improve model performance for other related low-resource languages.
[ -0.2536784112, -0.3369269371, 0.1889187843, 0.5293281078, -0.3906202614, 0.5343949795, -0.5302186608, -0.6770160198, 0.1336628199, 0.4605659842, -0.433981657, -0.0763782784, -0.5891411304, 0.3152166009, 0.1349453181, 1.0335556269, -0.4418259263, 0.0651234686, 0.2924716473, -0.3565247655, -0.7061880231, -0.3694485128, -0.5816516876, -0.3353299797, 0.6320171356, 0.8246952891, 0.5486910343, 0.2841201127, 0.3447085321, 0.1278886199, 0.1617827564, 0.2682909966, -0.6865136623, -0.4262446463, -0.47688061, -0.9287370443, -0.45228827, -0.0953329876, 0.7098488212, 0.6988764405, 0.0758449212, 0.271340847, 0.3771748245, 0.515093565, -0.8284711838, 0.0706048235, -0.8825408816, 0.224925369, -0.3365115821, -0.3913154304, -0.3874448538, 0.0583395734, -0.1358915269, -0.9183886647, -0.3270097673, 0.3675114214, 0.4652861357, 0.3460332155, -0.3097665906, -0.3872436285, -0.6525288224, 1.023794055, -0.5624309182, 0.4564193487, 0.511695087, -0.0161025804, 0.103679508, -0.2449572384, -0.3807787597, -0.0618333146, -0.2848000526, 0.158192426, -0.2977602482, -0.2375799268, -0.0460489132, 0.0510582067, -0.3040712178, 0.7916948795, -0.343945682, -0.1613653004, 0.3869132996, 0.0561344251, 0.2382211983, 0.1038337722, -0.6791923046, -0.1649569273, -1.1224943399, 0.0453392006, 0.2925484776, 0.6057314277, -0.557703197, 0.4172616303, 0.1867274642, 0.5378778577, 0.1359790713, -0.4315649867, 0.0616073012, -0.7594498992, -0.1697036922, 0.3461608887, 0.4104499519, 0.2154537588, 0.502448976, -0.1713781953, -0.0314833932, -0.1366372108, -0.1501217633, -0.5383993387, 0.1849232912, -0.321297884, -0.4002040327, 0.1856772453, -0.6561553478, -0.6524589658, -0.4048702419, -0.4986047745, 0.4251920581, -0.3323389888, -0.4173356593, 0.0237195976, 0.2570713758, 0.4522940516, 0.3692315221, -1.2167412043, 0.4444757104, 0.5048766732, 0.9746202826, -0.4731143415, -0.6395516396, -0.6618670821, 0.5289789438, -0.598880887, 0.7208147645, -0.4554688632, -0.3813921511, -0.0281182975, 0.1419922262, -0.3503220379, -0.6282288432, 0.1989803761, -0.5060486794, 0.1131812111, -0.3709703386, 0.1249871776, -0.1944773495, 0.2279750407, -0.4846057594, 0.9831228256, 0.2576678693, -0.6543853879, 0.3726820052, -0.6696487069, -0.7334419489, -0.1422222108, 0.1333675534, 0.1703068018, 0.0985846967, 0.1860725731, 0.3486234546, -0.5652682781, -0.3666850626, -0.1997265816, -0.5537733436, 0.0703922138, -0.313662678, 0.9295998216, 0.1275344044, -0.2574750483, -0.0759562105, -0.7255729437, -0.0909919068, -0.0076222746, -0.6095901728, -0.5537204146, -0.3861147761, 0.176158756, 0.1788028628, 0.310205847, -0.2465873063, 0.1288375258, -0.3056292534, 0.2359340638, 0.7866168022, -0.2996829152, 0.7417831421, -0.1933168173, 0.7797247171, 0.2595196068, 0.0051712785, 0.2021616101, -0.0208063573, -1.18501544, -0.3171435297, 0.2312725484, 0.9356373549, -1.1173392534, -0.2446799576, -0.1444801092, -0.2518123984, -0.8356297612, 0.6888725758, 0.509901166, 0.3000580966, 0.4761651456, -0.4396772981, -0.5298626423, -0.923208952, -0.3113807738, -0.3746165633, 0.0885721967, 0.0734407827, 0.2687143683, -0.2148194909, 0.4331932664, 0.0515497848, -0.4325935245, -0.4441893101, 0.0089110518, 0.1922975034, 0.3017478287, 0.797657311, -0.4263336062, -0.674025476, 0.4918637574, -0.4492488503, -0.2855240405, -0.2927048206, -0.2453711927, 0.5870708227, 0.5716090798, -0.1842454225, 0.0863748491, 0.9207023382, 0.0007419124, 0.30912292, -0.318734169, -0.1882663965, -1.0431040525, -0.2210998088, -0.2779336274, -0.1079665348, -0.6588362455, -0.1753054261, 0.0501892529, 0.2080367059, -0.662905097, 0.841758728, -0.7929349542, -0.5759021044, -0.3665068746, 0.1125008762, -0.2138847709, 0.7344278097, 0.1296416968, 0.9521813393, 0.5534638166, -0.5874985456, -0.0201507434, 0.0671649352, -0.3129217923, 0.7631514668, -0.2869254947, 0.1608851254, -0.018906692, 0.0489041135, -0.7499344945, 0.1683327854, 0.5507664084, 0.1120725647, 0.4693593085, -0.1597947627, -0.4788003862, 0.2606144845, -0.2668251395, 0.614467442, 0.1240131259, -0.6680722833, 0.5097186565, 0.2733210027, -0.4904439449, -0.6084614396, -1.0315496922, 0.2029503882, -0.3334614038, -0.1524439752, 0.4235116839, -0.1251285672, -0.3839847744, 0.0050003119, 0.172159642, 0.1174411997, 0.2426733226, 0.0455834307, 0.3380948007, -0.385779649, -0.1348637342, 0.0755996481, -0.1047500521, -0.205306828, -0.2200790793, 0.379452467, -0.3085305989, -0.4740476012, -0.1485636532, 0.2991360724, 0.5017592311, -0.26560691, 0.5450360775, 0.9020972848, -0.2633434236, -0.2053862065, -0.3318083286, 0.1991552114, -0.4052708447, 0.5384213924, -0.4300493598, -0.9009783268, 0.4819715321, -0.2327515483, 0.0083474685, 0.2107243985, 0.9224080443, 0.1762198657, 0.4487326145, 1.0573729277, -0.3698222935, 0.5831236243, 0.0014073658, 0.4016647637, -1.0521713495, -0.1741079986, -0.2371511459, -0.4051455557, -0.8673689961, -0.674400866, 0.3482347131, 0.4026038349, -0.1992349625, 0.5453695059, 0.1132420823, 0.24097161, 0.6009637713, -0.2165707499, 0.3890425861, 0.2724663913, -0.1062646583, 0.0655820295, -1.0646092892, -0.3586187065, 0.8397156, 0.29698506, 0.9997378588, 0.2999301255, 0.5152536035, 0.0129844639, 0.6183479428, -0.606500864, 0.3945110738, -0.3522814512, -0.3320044577, -0.2403582782, 0.0200541019, -0.7095246315, 0.5179519653, -0.2621981502, -0.6744852662, 0.3912778497, -0.1675795913, -0.3985176384, 0.2920498848, -0.7841281891, 0.5957579017, -0.8363987207, -0.6144050956, -0.4613667428, -0.4886324406, 0.4044440687, -0.6495060921, 0.602825582, -0.1861954033, -0.3706875741, 0.6838629842, 0.1440716982, 1.1123367548, 0.0209964998, -0.3631371856, 0.1817899644, 0.2485324591, 0.4769739509, 0.1094537303, -0.0919299722, 0.3743308187, 0.0217104349, -0.4404924214, -0.2563784122, 0.595797956, -1.069650054, -0.7028771639, -0.2776914239, -0.988312602, -0.4363239706, 0.1420960426, -0.0606182665, -0.1156065613, 0.0194890462, -0.0759441257, 0.1568441391, -0.4951225221, 0.6797608733, 0.8708407879, -0.0620040037, -0.316477567, 0.7605300546, 0.0939886123, 0.4377115369, 0.5110781789, 0.0250576474, -0.1725388914, -0.479242146, -0.6984091997, 0.3706958592, -0.7391018271, -0.0731612369, -0.274214983, 0.085271962, -0.3195146918, -0.3495800197, -0.2416531742, -0.3110835552, -0.6804441214, 0.0342894718, 0.4051698744, 0.5270690918, -0.41268152, 0.4246989191, -0.6599807143, 0.3198549747, 0.2277718335, 0.2653764188, -0.0838169158, -0.9146619439, -0.5452442169, -0.0512605235, 0.1304895729, -0.463424176, 0.2496433556, 0.4491052628, 0.5912460685, 0.0943102464, -0.1267596036, 1.0526649952, -0.5058342814, 0.4785300493, 0.3283888102, -0.828320682, 0.1341251284, 0.0650913268, 0.1508228481, 0.5808925033, 0.4843294621, -0.5637250543, -0.0493688174, 0.0769996643, -0.6032280922, 0.8834002018, -0.2050640136, 0.1212233156, 0.3314702213, 0.0752927214, 0.2831292748, -0.0818306506, -0.8870990276, 0.090629071, -0.2055167407, 0.081077449, -0.2952476442, -0.2982788682, -0.2053766102, -0.0911738425, 0.5650279522, -0.4680595398, -0.1543442458, -0.1146285385, -0.5414563417, -0.224023968, 0.4616931081, 0.5326111317, 0.6409465075, 0.1077897549, 0.3061014116, 0.8375327587, -0.2357867211, 0.2689451575, 0.086120069, 0.0970616415, -0.2859666049, 0.8212498426, 1.013518095, 0.6272234917, -0.5084255338, 0.0853218213, 0.2734776735, 0.1312076598, -0.0771076083, -0.0662338659, 0.2420108914, 0.4713763297, 0.2917239964, -0.139763549, -0.4212854207, -0.8749614954, -0.3002072871, 0.3392713964, -0.1353725493, -0.5228739977, 0.4930118322, 0.0888493806, -0.1634338498, 0.2381308973, -0.0431959406, -0.4392291903, 0.3514882326, 0.9987428784, 0.5374211669, -0.1358119696, 0.0608816557, 0.1099171489, 0.6245108843, 0.0175339878, 0.1695212871, -0.027972158, -0.8221102357, -0.5492064953, -0.6639231443, -0.4824028909, -0.0612170584, -0.5523386002, 0.3782857358, -0.4818524122, 0.2462973297, -0.2349167466, 0.2270553112, -0.8949706554, -0.1300856769, 0.3178721964, 0.8421253562, -0.9968679547, 0.9747699499, 0.7319449782, -0.2914891839, -0.6200399399, -0.0779431015, -0.1057446003, -1.357506156, 0.9465348125, -0.2338845134, -0.3915885091, 0.0518038496, -0.0907213315, -1.1242529154, 1.1588212252, 0.6736117005, -0.7614660859, 0.153895244, 0.4605611265, 0.600992322, -0.4022443891, 0.0267722234, 0.6379085779, 0.5820356607, -0.2857521474, -1.2343740463, 0.1050283387, 0.0788281858, 0.0998432189, -0.1768376529, -0.8586645126, 0.8888326883, -0.4049589634, -0.1743980348, -0.0578756444, 0.5536879301, 0.3554760814, 0.1117677838, 0.7476608753, 0.2099864334, 0.6869749427, 0.4108282924, 0.8819125295, -0.448913753, -0.1517366469, 1.1197965145, -0.7969917059, 0.8814141154, 0.9139063954, -0.2194924355, 0.4422337413, 0.7690688372, 0.2474758625, 0.6388319135, 0.1011579707, -0.1217424795, -0.1944944412, -0.6902215481, -0.3501658142, 0.7067379355, 0.4639923871, 0.1121471599, -0.1986355186, 0.1799117625, 0.0756533965, -0.2091520578, -0.6060240865, 0.6552189589, 0.342721343, -0.6698214412, 0.8687624335, 0.0377665237, 0.8282216787, -0.4909059405, 0.0130351884, -0.521225512, 0.2838038504, -0.2241103947, -0.6204765439, 0.2092893124, 0.204533726, -0.0824733451, -0.5160229206, 0.8552567959, -0.7105734944, -0.6939367056, 0.8323761225, 0.7151058912, 0.1760938168, 0.3114356697, -0.4759247601, 0.2010203898, -0.0771483704, -0.0598666258, 0.6772897243, 0.5665374994, -0.5368571281, 0.505095005, 0.6536741257, 0.3870967925, 0.1022900119, 0.0567698739, 0.787817657, -0.3819797933, -0.3520750999, -0.6608276367, -0.0258502569, 0.6236257553, -0.2807142735, 0.6919465065, 0.3811256289, 1.3334583044, -0.1018125862, 0.7040008307, 0.1066640839, 0.2202267647, -0.7901873589, 0.4146545231, -0.8196177483, 0.2089791298, -0.1052887365, -0.8807502389, -0.1622109711, 0.3409360647, -0.1479159147, -0.3186015487, 0.5861071944, 0.860650599, -0.0894818678, -0.3688905537, 0.2554182708, 0.1138858423, -0.0734420046, 0.8255598545, 0.88082093, -0.2141219527, 0.7426415682, -0.2556524277, -0.115238376, -0.3754463196, -0.9898284674, -0.7650116086, -0.2608345449, -0.0676963478, 0.0513462685, 0.0858909041, 0.9098178744, 0.6033050418, -0.7845092416, -0.5472614765, 0.4304933548, 0.2902613878, -0.2574424744, -0.1031143218, 0.2802271843, -0.3321478367, -0.6300248504, 0.7212839723, 0.4807999432, 0.0383211859, -0.3320270777, -0.2587133944, -0.3296696842, -0.2329734862, 0.835424602, 0.3859268725, -0.761331439, -0.3375566602, -0.0120469909, -0.147383526, 0.0651621073, 0.8205985427, -0.5827971101, 0.0409598388, 0.1879150569, 0.8637108803, 0.4477539659, -0.3226419985, 0.4184652567, -0.6739872098, 0.6749229431, -0.0429104045, 0.2958878279, 0.4653070569, -0.2775452435, 0.6371928453, 0.1633950174, 0.0304130483, -0.8022090793, 0.1474588215, -0.8640853763, -0.2947213948, 1.3392312527, -0.0587415583, -0.1651491821, -0.1027557775, -0.1358179301, 0.3803535104, 0.148472622, 0.4677263498, 0.6921651363, -0.0963203982, -0.2359031588, -0.6365410089, 0.2613489926, 0.6939325929, -0.8577930927, 0.0835819617, 0.0257756226, 0.3038678169, 0.1410287023, 0.7253141403, 0.0217243601, 0.1462067813, -0.2098775953, -0.0059012258, 0.06648992, -0.4196451306, -0.4886808693, -0.2198542655, 0.3115713596, -0.1776303798 ]
http://arxiv.org/abs/2406.17375v1
http://arxiv.org/pdf/2406.17375v1
An Empirical Study on the Characteristics of Bias upon Context Length Variation for Bangla
2024-06-25T08:49:11
2024-06-25T08:49:11
Jayanta Sadhu, Ayan Antik Khan, Abhik Bhattacharjee, Rifat Shahriyar
cs.CL
cs.CL
Pretrained language models inherently exhibit various social biases, prompting a crucial examination of their social impact across various linguistic contexts due to their widespread usage. Previous studies have provided numerous methods for intrinsic bias measurements, predominantly focused on high-resource languages. In this work, we aim to extend these investigations to Bangla, a low-resource language. Specifically, in this study, we (1) create a dataset for intrinsic gender bias measurement in Bangla, (2) discuss necessary adaptations to apply existing bias measurement methods for Bangla, and (3) examine the impact of context length variation on bias measurement, a factor that has been overlooked in previous studies. Through our experiments, we demonstrate a clear dependency of bias metrics on context length, highlighting the need for nuanced considerations in Bangla bias analysis. We consider our work as a stepping stone for bias measurement in the Bangla Language and make all of our resources publicly available to support future research.
[ -0.3282511234, -0.8651457429, 0.3359962106, 0.6147141457, -0.1035411358, -0.1234412715, -0.3065738082, -0.4738914669, 0.0647557005, 0.1744624525, -0.5294033289, 0.0481527783, -0.6962637305, 0.1322720945, -0.1760356277, 1.010858655, -0.0350408815, 0.2012235522, 0.1135371849, -0.2547949255, -0.9604206085, -0.2306272835, 0.1767880768, -0.3520794809, 0.4999783635, 0.2865831852, 0.4502967596, 0.3774660528, 0.184022516, 0.1160556525, -0.4029603601, -0.0933966041, -0.6216857433, -0.066753909, -0.4620696008, -0.441095084, -0.25089854, 0.147445932, 0.9725519419, 1.0820538998, 0.1900353134, 0.5199508071, 0.1595244557, 0.9670627117, -1.1475590467, -0.017340064, -0.4795598686, -0.0515849218, -0.577360332, -0.1498399526, -0.1626288593, -0.5936268568, 0.4142023325, -0.0148321148, 0.1537642628, -0.0539995432, 0.8104819059, 0.2510886192, -0.6483259797, -0.3310239613, -0.6573272943, 1.0306252241, -0.668356359, 0.4424353242, 0.5299865603, 0.3124579787, 0.1999579221, 0.0317696705, -0.3181316853, -0.0823384225, -0.1717732102, -0.3246331215, 0.3429247141, -0.3751327395, 0.3820860088, 0.3606616557, -0.0072293249, -0.212721616, -0.6491746902, 0.0975581184, 0.5955085754, 0.0959541574, 0.3086592555, -0.3310441673, 0.0910083055, 0.1692985445, -1.2019590139, 0.1947225481, 0.9661670923, 0.4987283647, -0.5051289797, 0.3755820692, -0.3353673816, 0.8669176102, 0.0578441434, -0.1298754215, 0.2017858773, -0.7264179587, -0.0060423277, 0.3453555405, 0.3625826836, 0.0070775305, 0.0504904911, 0.0784042478, 0.1030192524, -0.187335223, 0.1228372902, -0.9279484749, 0.1933427751, -0.2952051163, -0.4517872036, 0.0239104815, -0.1532395333, -0.8480294943, -0.5061064959, -0.1365887076, 0.1354337186, -0.2402329594, -0.3335060775, -0.1315485686, 0.0233047362, 0.477240026, 0.165609926, -0.9953640103, -0.0385503322, 0.3378267586, 0.8710598946, -0.019824693, -0.1770346165, -0.2188079208, -0.0613515936, -0.5435610414, 0.4614934623, -0.8545066714, -0.6534426212, 0.0112842945, -0.1620103717, 0.0489584208, -0.2802477777, 0.5074961782, -0.2133488357, 0.0543665588, -0.7395557761, -0.2372324467, -0.1487564892, -0.1701148152, -0.3182361424, 0.6715111732, 0.2537824214, -1.1861807108, 0.9431680441, -0.5807450414, -0.5812692642, -0.0150960237, -0.4838039875, -0.1795524061, 0.2860990167, 0.1094091684, 0.0846259519, -0.416367799, 0.2800208628, -0.3265986741, -0.749853611, 0.3572930098, -0.5491420031, 0.9311834574, 0.1181574613, -0.6553293467, 0.0120895263, -0.7002435923, -0.1559905857, -0.0137784705, -0.306966722, -0.611784935, 0.0234499909, 0.1556038558, 0.0616251267, 0.3642189801, -0.591789782, 0.0717522725, -0.3949910402, 0.0958080217, 0.9516177773, -0.2561553717, 0.6054568291, -0.0015038201, 0.4172186553, -0.2145088911, 0.0979970768, -0.0377880409, -0.1588872075, -0.4709540606, -0.3214077055, 0.518294394, -0.0222048145, -0.1317109913, 0.3530743718, -0.2039028406, -0.3154115677, -0.794862926, 0.2088430077, 0.5906777978, 0.3180387318, -0.060140878, -0.3902718127, -0.5763059258, -1.2817559242, -0.3730695844, -0.1019052044, 0.0950963721, 0.6846553683, 0.5658246875, -0.5429706573, 1.5080052614, -0.4070084691, -0.0315453447, -0.2334839404, 0.0724298209, 0.3394275606, 0.3729809821, 0.7388840914, -0.5468803644, -0.4322009087, -0.0075339163, -0.6374287009, -0.7271792293, 0.3123246431, -0.3692251742, 0.1371052712, 0.0040558372, -0.014294683, 0.7954372168, 0.621434629, -0.6232967973, 0.8100616932, 0.1913537532, 0.1706214696, -0.6249185801, 0.0813241005, -0.0987081677, 0.0648642406, -0.4641191363, -0.2366536558, 0.0011023822, 0.4404810369, -0.5768901706, 0.880710721, -0.5082865953, -0.4362277687, -0.4742312431, -0.2540459037, -0.210427776, 0.1045210361, 0.0690810606, 1.0467456579, 0.278770268, -0.6464695334, -0.3160955012, 0.2387474328, -0.586535275, 0.7030016184, -0.8151894808, 0.0931564048, -0.1145525202, 0.2940666676, -0.741777122, -0.4035545588, 0.1992232352, -0.226638779, 0.2132771611, -0.3495814502, -0.1637845933, -0.0185170788, -0.1695857048, 0.7779103518, 0.4096685052, -0.3429976106, 0.0907227248, 0.5172589421, -0.0674843937, -0.9183363914, -0.6029725671, -0.3690066934, -0.3842314482, -0.5537081957, 0.0456944704, -0.2424184829, -0.4534942508, -0.3631081283, -0.1621158868, -0.179081291, 0.0805073529, 0.5232863426, -0.0572459772, -0.079396084, -0.175587967, 0.3871883452, 0.4886955619, 0.0989716724, 0.1443687081, 0.7655467391, -0.3949224949, -0.2941047847, -0.1855607927, 0.1650733799, 0.308747679, 0.1674457788, 0.9097284079, 0.5792770982, -0.2860730886, 0.0191076882, -0.6356744766, -0.1767143309, -0.4383586645, 0.3650249839, -0.1782774329, -0.9411239028, 0.6561472416, 0.1678088605, -0.3215329051, -0.0399916172, 0.7744525075, 0.2696097195, 0.6871436238, 0.8174292445, 0.0112265022, 0.5755540133, 0.1945652515, 0.3105171621, -1.2517958879, 0.062556237, -0.4508045018, -0.2047430426, -0.66679883, -0.0703493878, 0.141306743, 0.0745312646, -0.4376648068, -0.1350620836, -0.0584872738, 0.4908826947, 0.3875466585, 0.1542121172, -0.2103034258, -0.3327580988, 0.258762449, -0.3181784451, -0.5007624626, -0.6374390125, 1.2046494484, 0.3927408457, 0.7732102871, 0.1068942323, 0.4530744851, 0.4434265792, 0.1952183694, -0.1700073332, 0.3005410731, 0.4686677754, -1.1840318441, -0.5213744044, -0.4123533666, -0.866376698, 0.2625644803, 0.1473192871, -0.7064961195, 0.4124980271, 0.2337088883, -0.0992563441, -0.0497528538, -0.6816443801, 0.7397298217, -0.1939032972, -0.8981449604, 0.1393375695, -0.6731584668, 0.6340712309, -0.3154955208, 0.2003747225, -0.3709045649, 0.3589969277, 0.8757675886, -0.3601459563, 0.9739368558, -0.2763005495, -0.3003456891, 0.2262477428, -0.0625381842, 0.0847478583, 0.2603233755, 0.0167267546, 0.4606475234, -0.1276276261, -0.9104710221, -0.1540815532, 0.5488182902, -0.8149454594, -0.3907335401, -0.4856263697, -0.7907202244, -0.3256922662, 0.2332824767, 0.2600361705, 0.1355963945, -0.3051100671, 0.3419074118, 0.3898698092, -0.6168322563, 0.4833353758, 0.5590830445, -0.2766378224, 0.3838184476, 0.4458816946, 0.4517299533, 0.187757045, 0.021568954, 0.5364993811, -0.2703532577, -0.1029724404, -0.4270427525, 0.0740903988, -0.5107467175, 0.2467953712, -0.5613666773, 0.018499326, -0.6226270199, -0.3931039274, -0.5755574107, -0.1117124856, 0.1641079038, -0.0939552188, 0.1754198074, 0.8619707227, -0.0565637425, 0.5611802936, -0.279956311, -0.0706005916, 0.4699960649, 0.3048392236, 0.1845385134, -0.8206970692, -0.3355798721, 0.1735127866, -0.0935288742, -1.0045518875, 0.3814609051, 0.0392129943, 0.3495178819, 0.4736636877, -0.0271174572, 0.3360564113, -0.5173648596, 0.9110805988, 0.0384274982, -1.1643589735, 0.881513834, -0.6890787482, 0.4026380777, 0.6682645082, 0.2585495412, -0.2331297994, -0.0481166281, -0.3003697693, -0.953201592, 0.7289070487, 0.4106537998, 0.2481018752, -0.0249211509, 0.1725055575, 0.522436142, 0.4724392593, -0.7730560899, -0.4817264676, -0.164928928, 0.2394225299, 0.1776313782, -0.6516480446, -0.04882586, -0.355961144, 0.5450782776, 0.0264374223, 0.2729604244, -0.09639474, -0.4939473271, 0.1282593906, 0.6425010562, 0.7630453706, 1.3839159012, -0.5901203156, 0.0017022754, 0.3108905256, -0.701567173, 0.3466269076, -0.2266757488, -0.5425521135, 0.0551529564, 0.3004133701, 0.8870710731, 0.0413065031, -0.6686344743, 0.4823506773, 0.1272773892, 0.3994591832, -0.1705940813, -0.1704447567, -0.1702802032, -0.0077448045, 0.4709858894, -0.149592638, 0.2480318844, -0.5767670274, -0.021744905, 0.1612295359, -0.759232223, -0.4968897104, 0.3149623275, 0.3031217158, -0.0474420115, 0.1798721999, -0.444019109, -0.4462149739, 0.4221267998, 0.6209920645, 0.6468928456, -0.4529954493, 0.1483583897, 0.2988706231, 0.5451618433, 0.1677035242, 0.1402023435, -0.0570099913, -0.6004324555, -0.4163116515, -0.8755455613, -0.1859727055, -0.0933014005, -0.6109011173, 0.0985320285, -0.3548002541, -0.1566605419, -0.3517606556, -0.0800752044, -0.7453655005, 0.1843680292, -0.0879091769, 0.2528654039, -0.9795746207, 0.5143504143, 0.546487093, -0.3753921688, -0.4161767364, 0.0725574195, -0.0261593014, -0.7153137326, 1.2909010649, 0.3831276298, -0.2051190585, -0.6345875859, -0.4802805781, -0.8343605399, 0.5879241824, 0.4148964286, -0.4309809208, 0.1957069188, 0.2175423205, 0.4224774241, -0.2799229622, 0.5716814995, 0.8886147738, 0.5119654536, -0.4523158371, -0.9392512441, -0.0009103401, -0.2036386877, 0.2399293035, -0.059928406, -0.6462490559, 0.9118943214, 0.0665711015, -0.051317133, -0.4907702804, 0.6944286227, 0.2968483567, 0.4542760849, 0.3008544743, 0.0799029917, 0.6316607594, -0.0327892564, 1.0770697594, -0.3447841406, 0.1455287635, 1.1617805958, -0.6894109845, 0.2308432013, 0.4770228565, -0.4225122035, 0.4368381202, 0.6548753977, 0.6296910048, 0.4561113119, 0.4864259958, -0.2350554317, 0.1190004051, -0.6768069863, -0.8099252582, 0.3672222197, 0.2799220979, -0.2363017648, 0.2978075147, -0.0563543774, 0.3070835173, 0.0934558362, -0.3257217109, 0.2114883214, 0.0790942386, -0.378960222, 0.4204576612, -0.1829074621, 1.1443521976, -0.6058132648, 0.2602195442, -0.4617238641, 0.0634003803, -0.1844927222, -0.4322807789, 0.3925830424, 0.1285998076, -0.4328956902, 0.1104453579, 0.6191510558, -0.2271782756, -0.448931694, 0.2554336488, 0.4987513721, -0.0185373891, 0.0399906449, -0.1492797732, 0.3867920041, -0.0507400446, -0.0128194084, 0.4984571934, 0.2884036899, -0.1483668238, 0.4817216694, 0.3701060414, 0.2912734747, 0.5736286044, 0.028302649, 0.4193368852, -0.5565505028, -0.6623704433, -0.9288577437, 0.0590068139, -0.2336736917, -0.5431735516, 1.0377362967, 0.4145519137, 0.908377111, -0.0893428698, 0.9519008398, -0.1738505363, 0.4805350006, -0.3661461473, 0.8734770417, -0.4283903837, 0.2062066495, -0.825525105, -1.3212150335, 0.286812067, 0.915384233, -0.7034432888, 0.2800867558, 0.584982872, 0.4655553401, 0.0209370442, -0.051154051, 0.0984254479, 0.0936917737, 0.1699901074, 0.1920593828, 0.9858311415, -0.356937021, 0.0035467916, -0.0327532738, -0.4481277764, -0.4111086726, -0.9566619992, -1.0680702925, -0.5009924173, -0.272839129, -0.1773722321, 0.4390270412, 0.8550893664, 1.0512231588, -0.5260028839, -0.5425044298, 0.2896108925, 0.4148586392, 0.0746648461, -0.2305539697, 0.3499415517, -0.1765985042, -0.6510977149, 0.2067281157, 0.1995240748, -0.2692717314, -0.3404602706, -0.1765412539, -0.458545953, 0.4383393824, 0.6793217063, 0.3105613291, -0.601346612, -0.4737499058, -0.3013051152, -0.0750038102, -0.0424282104, 0.7556139231, -0.2373984456, 0.442832768, 0.7912403941, 0.6499560475, 0.3274911046, -0.0992129445, 0.6835153699, -1.1762733459, 0.5003723502, -0.0674915612, 0.4883205891, 0.4688811898, -0.246519044, 0.7683824301, 0.2010737807, -0.592264533, -1.1392315626, 0.4301693141, -0.7016985416, -0.277495265, 1.4629867077, 0.1112775132, -0.2161225826, -0.0981796607, -0.3636805713, 0.1769025922, -0.4439733028, 0.9693772793, 0.8918138146, 0.180359304, 0.1073262691, -0.5627593398, 0.3661161959, 0.4658345282, -0.4794175625, 0.0806988329, 0.5372581482, 0.1068769693, 0.2152609378, 0.7952702045, -0.0743682534, 0.1340987086, -0.0591069907, 0.1418608576, 0.2898229361, -0.169568643, -0.1832002401, -0.1239585355, -0.1748854667, 0.1978957951 ]
http://arxiv.org/abs/2406.17363v2
http://arxiv.org/pdf/2406.17363v2
Leveraging Synthetic Audio Data for End-to-End Low-Resource Speech Translation
2024-06-25T08:26:41
2024-06-27T09:08:03
Yasmin Moslem
cs.CL
cs.CL, cs.SD, eess.AS
This paper describes our system submission to the International Conference on Spoken Language Translation (IWSLT 2024) for Irish-to-English speech translation. We built end-to-end systems based on Whisper, and employed a number of data augmentation techniques, such as speech back-translation and noise augmentation. We investigate the effect of using synthetic audio data and discuss several methods for enriching signal diversity.
[ -0.3048842251, -0.499674499, 0.1880719811, 0.3851032555, -0.2966699004, 0.6604106426, -0.1240398064, -0.8938575387, 0.5228815675, 0.4594975114, -0.7965094447, -0.4415133297, -0.5743902326, 0.3421916366, -0.9124583006, 0.80556494, 0.2178833634, 0.2367954552, 0.1813649833, -0.298933804, -0.3349920511, -0.5227071047, -0.6001835465, -0.2277464271, 0.1778331101, 0.6165030599, 0.5304774046, 0.28958413, 0.3859908283, 0.1825951189, -0.0837062672, 0.3347615898, -0.568182826, 0.0495763943, -0.3048444986, -0.3819279969, -0.5422160625, -0.003436856, 0.8096598387, 0.7792022228, 0.0078917891, 0.3738137484, -0.0628177971, 0.3940214813, -0.3141867518, 0.0044225981, -0.792630136, 0.1604246795, -0.3887958527, -0.4651589692, -0.3910910487, 0.0629813001, 0.1489459574, -0.6442022324, 0.1254014671, 0.3469131291, 0.4008350372, 0.4559919536, -0.473113656, -0.2556236982, -1.0113745928, 0.8265744448, -0.837218225, 0.7479639053, 0.3022396266, 0.1303568482, -0.3585985005, -0.9746784568, -0.7081359625, 0.0170843285, 0.1111038253, 0.5930140018, -0.4014670551, 0.2494549453, 0.0023844242, 0.4396992326, -0.535954833, 0.1612903774, -1.0425177813, -0.297352016, 0.9096889496, 0.0224890299, 0.4033687413, 0.1595763415, -0.2778761685, -0.1649151742, -0.6126558781, -0.1011247635, 0.882932663, 0.49961555, -0.3321936727, 0.7251243591, -0.5551367998, 0.6206868887, -0.2056834996, -0.3199016452, 0.4379497766, -0.6279462576, 0.1875240207, 0.7969970107, 0.6100506186, 0.5291736126, -0.0706846416, -0.2362557203, -0.3196389973, 0.0781071708, -0.0712066069, -0.558706522, 0.2052865028, 0.2385509163, -0.3221821487, -0.2513367236, -0.2473939508, -0.665135026, 0.4062997103, -0.437011987, 0.4733373225, -0.2893460393, -0.1464899182, 0.2863636315, -0.4423530996, 0.2855718136, 0.1903063655, -0.6823783517, 0.7158549428, 0.3528954685, 1.003133893, -0.490236938, -0.0503063463, -0.7893657684, 0.3721760213, -0.4761297405, 0.6455677748, -0.2443403602, -0.7776172161, -0.1429589838, -0.0796465874, 0.3219256103, -0.7460276484, 1.0048302412, -0.0905840695, 0.3257097006, 0.1909588724, -0.4273901582, 0.1159278899, -0.2693242729, -0.4695772827, 0.8855381608, 0.119263649, -0.2704116702, 0.0680350289, -0.641207099, -0.6912062764, 0.0553647354, 0.0700164214, -0.1885443777, 0.2214819044, 0.2011330873, -0.0364749581, -0.2345982194, -0.0167067982, 0.1065235659, -0.3505425751, 0.3341554403, -0.7805893421, 0.6570438743, 0.5908663273, -0.050732892, -0.0808125809, -0.928681314, -0.0430200659, -0.1569769233, -0.3131036758, -0.0149046415, -0.0418253951, 0.4259630442, 0.0888198093, 0.1576619893, -1.0160775185, -0.1564394832, -0.5578010082, 0.77211833, 0.3594298661, -0.1811217517, 0.3703097701, -0.320543468, 0.5606268644, -0.0156405158, 0.0620380268, -0.2506899238, -0.8890277147, -0.3880150914, -0.1726439297, 0.3269497156, 0.8844056726, -0.4592685699, 0.1767884046, -0.2260749489, -0.2316813767, -1.1256783009, -0.0039042521, 0.1125184745, 0.6191021204, 0.6780448556, -0.2510530651, -0.8919414878, -1.0227799416, -0.0828161165, -0.3356667161, -0.0165738426, -0.0122735715, 0.0147821587, -0.3843285739, 0.8635860085, -0.2043012232, -0.3980374634, -0.1113426685, -0.00199835, 0.2311237454, 0.7657737732, 0.3401899934, -0.7282396555, -0.3524628878, 0.2290440351, -0.3762645125, -0.3827876449, -0.035631597, -0.0817454159, -0.1229063123, 0.6712451577, -0.4926130176, 0.5477175117, 0.9353995919, -0.095547609, 0.4767200053, 0.100111641, 0.3406181335, -1.0388598442, -0.2755199671, -0.3754190207, -0.4856157005, -0.7709594369, -0.0696526021, -0.2629189789, -0.3204402328, -0.5344215035, 0.6875040531, -0.1941264272, -0.29323259, -0.1577105224, 0.1002907082, -0.0097873621, 0.1217910051, -0.0303106997, 1.3145009279, 0.1784865707, -0.1916213036, 0.4957158864, 0.5912736058, -0.2032396942, 0.5475046635, -0.508159101, 0.1863969713, 0.1177282035, 0.309723556, -1.1712939739, -0.3539477885, -0.0579755306, -0.9753195047, 0.1747840792, -0.1762520671, -0.3513423204, -0.1247528419, -0.0255487096, 0.3916608393, 0.7889074087, -0.6569823623, 0.117463991, 0.4699879289, -0.4320755601, -0.1418873966, -0.9926298857, 0.6605085135, -0.1920180321, -0.75993222, 0.8610035777, -0.2647278309, -0.3717519939, -0.0210544933, 0.0031242201, -0.0090239076, -0.3021619618, -0.0866094381, 0.0144515866, -0.2510024309, 0.0004967474, 0.3907486796, -0.0373806842, -0.0320314504, -0.854806006, 0.3922459483, 0.1530749649, -0.380613029, -0.4523124099, 1.0075581074, 0.4840954244, 0.0513645485, 0.3549856544, 0.6193453074, -0.2295847684, -0.2126787305, -0.4692781866, -0.2651075423, -0.4798514247, 0.2983592153, -0.2292225212, -0.8431084156, 0.6129317284, -0.3565360308, 0.0508324578, 0.3676368296, 0.4106850326, -0.5530951023, 1.3408731222, 0.3951326609, 0.1652041376, 0.4202022851, -0.1972375214, 0.3361252248, -0.9512763619, -0.0847400129, -0.35043782, -0.535728097, -0.7872160673, -0.2944036722, 0.4733451009, 0.0763481334, 0.3021467924, 0.326426357, -0.6868184209, 0.0365048982, 0.6529567242, -0.0150372256, 0.5702329874, 0.2223244756, 0.1702709198, -0.1796994209, -0.5592724681, -0.2042377144, 0.9056902528, 0.3256835639, 0.614911139, 0.1212504059, 0.7005670071, 0.4467177093, -0.1820294708, -0.7586784959, 0.360873431, -0.3002402484, -0.4861036539, -0.4310925603, -0.1464866251, -0.7468321323, 0.0929856673, -0.1132151559, -0.4718812704, 0.3642722666, 0.0184675734, 0.0722042695, 0.1533623636, -0.7064760923, 0.017588092, -0.095063895, -0.0551331602, -0.2449627668, -0.4776097834, 0.1754069328, -0.2113562673, 0.4121024907, -0.0010899031, -0.1132938564, 0.8389844298, -0.4646270573, 0.6080849767, 0.1056244895, -0.2801781297, 0.4562212229, -0.228196919, 0.6536998153, 0.0633104965, -0.1719646752, 0.3832547963, 0.0671439692, -0.4103933871, -0.4496233165, 0.4583572149, -0.876783967, -0.5588787198, -0.0863090828, -0.5520093441, -0.4794721603, -0.0933360755, 0.6811908484, 0.5632580519, -0.0766286626, 0.3286027312, 0.407004416, -0.1737537086, 0.3776982725, 0.4339184463, -0.2367231548, -0.794439733, 1.004852891, 0.495627284, 0.6261649728, 0.1513293982, 0.0756192207, -0.3829488158, -0.9406826496, -0.7157754898, -0.0526980795, -0.562687993, -0.0995386392, -0.7764389515, -0.5159261227, -0.6257286668, -0.3538667858, -0.5537645817, -0.8747302294, -0.194893837, -0.4181456268, 0.582428813, 0.5557277799, -0.3836425543, 0.8313981295, -0.6998488307, 0.3449910581, 0.1085925102, -0.0447827764, -0.6392367482, -0.7944633961, -0.4585955441, 0.1926555634, -0.0032075495, -0.8858748674, 0.8117179275, 0.516332984, 0.6662144065, -0.2247402966, 0.2033996284, 0.7845350504, -0.5617516041, 0.9247900248, 0.445145756, -0.8959271908, 0.6700094938, -0.4100652933, 0.3533465564, 0.3068300784, -0.045748353, -0.5468985438, -0.6077848673, -0.4947447479, -0.9481081367, 0.3837001622, 0.3889550865, 0.3044182956, 0.1658580452, 0.1538014412, 0.2431728989, 0.2109401375, -0.1484015137, -0.1451231688, -0.2721337974, -0.3094525635, 0.0004991138, 0.1077897921, -0.0595349707, -0.3187454641, 0.6128963232, -0.2800419927, 0.281598419, 0.4936645329, 0.0505760238, -0.3063721657, 0.3577890694, 0.5100396872, 0.2320396751, -0.1280955672, -0.1362073123, 0.611879468, -0.7747180462, 0.253775537, -0.0178477895, -0.3670940399, 0.2255341262, 0.6983708739, 0.8864697814, 0.1126303747, -0.6709729433, 0.2515978515, 0.0340399779, -0.4638553858, -0.4596260488, -0.0365876593, 0.0419458821, 0.1622937322, 0.628954649, 0.1214323416, 0.6081628799, -0.7890190482, 0.4071822464, 0.2411186993, -0.5496988893, -0.4921234548, 0.7886904478, 0.365639478, -0.4793884456, 0.4371315837, 0.1207517534, -0.15977332, 0.2040432096, 0.8633958101, 0.9616572857, -0.365444988, -0.0845603943, 0.1788215637, 0.266290158, 0.2833064198, 0.6088292599, -0.1565872133, -0.2323765457, -0.9425271749, -0.7890717983, -0.6752536297, 0.0876689628, -0.7347437739, 0.3490294814, -0.0306773558, -0.3594821692, -0.2885783017, -0.2420474887, -0.6330232024, 0.205473125, 0.1451360285, 0.9879125357, -0.6248406768, 0.849285841, 0.3742837906, -0.0653686374, -0.4345666766, -0.1412971616, 0.0127022201, -0.6443703175, 0.6987281442, -0.4176094234, -0.4961484075, 0.4028538167, -0.8450959921, -1.0979510546, 0.8497502208, 0.453702122, -0.7765880227, 0.0147478217, 0.6499058604, 0.4528951943, -0.2441984266, -0.004771133, 0.5783743858, 0.4840607345, 0.4436248243, -1.3517781496, -0.6388209462, -0.2736962736, -0.2957640886, -0.1644259095, -0.5234928727, 0.71832937, 0.0285119452, -0.2348894477, 0.0084870458, 0.8293678761, 0.0743273348, 0.2783929408, 0.3574151993, 0.3164128661, 0.5187997222, -0.0303206909, 0.6222648025, -0.2405822873, -0.1978263855, 1.0687304735, -0.1235703379, 0.9109555483, 0.7280282378, -0.2889862359, 0.0329168998, 0.4458468258, 0.5440970659, 0.6869062185, 0.0035062204, -0.5271465778, 0.0225155167, -0.5503853559, -0.4580739439, 0.7124405503, 0.8490390778, 0.0411199108, -0.0228879564, 0.3887245953, -0.5691731572, 0.0743100345, -0.0551067032, 0.9753338695, 0.3389574289, -0.4016510248, 0.5814780593, -0.228202194, 0.8920016885, -0.5720870495, -0.3213659525, -0.195193857, -0.1134409457, -0.3592538834, -1.1119010448, 0.5611569285, -0.0855687782, -0.1218823045, -0.3595939279, 0.5630153418, -0.6021875143, -0.3799459636, 0.6547329426, 0.4063160717, 0.2024106979, 0.3137365878, -0.2461018711, 0.3787750006, 0.1608778834, 0.0352992043, 0.277997911, 0.3207785189, -0.1856258512, 0.5051912665, 1.1179182529, 0.7028192878, 0.5317081809, 0.0379141606, 0.655202508, -0.5031785369, -0.8345990777, -0.4483774006, 0.5319479704, -0.1333090514, -0.2988066673, 0.5836905837, 0.702747345, 1.0831604004, 0.2007470727, 1.1124942303, 0.339059025, 0.7774766684, -0.5870164633, 0.2536501884, -0.3504532576, 0.0313803256, -0.0496907309, -0.8332694173, 0.0429642573, 0.2009646297, 0.0656615347, -0.6353027821, 0.1980936676, 0.7958342433, -0.1788147092, 0.3273784816, 0.7211574316, 0.0977414399, 0.4734224975, -0.0030673211, 0.888635695, -0.6970341206, 0.6391878724, -0.1956247687, -0.1187263802, -0.254709512, -0.5005594492, -0.1410140842, -0.9620599747, -0.2618957758, -0.3022977412, 0.2942759693, 0.8902409673, 1.0028712749, -0.9252206087, -0.3507215679, 0.1111588478, -0.3675562143, -0.09251035, -0.1516246796, 0.0151039502, -0.2598606944, -1.0120278597, 1.2075244188, 0.515640676, 0.2490144074, -0.3399251103, -0.3535203934, 0.0253415629, 0.3173208237, 0.9001743793, 0.237117216, -0.7865694761, -0.2979032397, 0.0347979739, 0.2483197749, 0.1374506056, 0.4848382175, -0.901184082, 0.5197560191, 0.5517949462, 0.5205765367, 0.728757441, -0.0868396461, 0.8712074757, -0.8894553781, 0.5706440806, 0.3802422881, 0.2663111687, 0.4317930043, -0.5443036556, 0.6452538371, 0.2024628371, -0.457901299, -1.0632833242, 0.1121622249, -1.0788565874, 0.1020669937, 1.0161170959, 0.3614042401, -0.0282715596, -0.3558305204, -0.4899345636, 0.4249639213, -0.5594184399, 0.1838758737, 0.4941071272, -0.3603060544, -0.1920714378, -1.0817430019, 0.4669464529, 0.0931201354, -0.5788644552, -0.226618275, 0.2345791906, -0.0465678908, 0.2885003686, 0.5629931688, -0.2130899429, 0.0444824062, 0.1575107276, -0.283428818, 0.1469042003, -0.066000469, -0.056187585, -0.2861388624, -0.1187691838, -0.3653858304 ]
http://arxiv.org/abs/2406.17328v1
http://arxiv.org/pdf/2406.17328v1
Dual-Space Knowledge Distillation for Large Language Models
2024-06-25T07:25:15
2024-06-25T07:25:15
Songming Zhang, Xue Zhang, Zengkui Sun, Yufeng Chen, Jinan Xu
cs.CL
cs.CL, cs.AI
Knowledge distillation (KD) is known as a promising solution to compress large language models (LLMs) via transferring their knowledge to smaller models. During this process, white-box KD methods usually minimize the distance between the output distributions of the two models so that more knowledge can be transferred. However, in the current white-box KD framework, the output distributions are from the respective output spaces of the two models, using their own prediction heads. We argue that the space discrepancy will lead to low similarity between the teacher model and the student model on both representation and distribution levels. Furthermore, this discrepancy also hinders the KD process between models with different vocabularies, which is common for current LLMs. To address these issues, we propose a dual-space knowledge distillation (DSKD) framework that unifies the output spaces of the two models for KD. On the basis of DSKD, we further develop a cross-model attention mechanism, which can automatically align the representations of the two models with different vocabularies. Thus, our framework is not only compatible with various distance functions for KD (e.g., KL divergence) like the current framework, but also supports KD between any two LLMs regardless of their vocabularies. Experiments on task-agnostic instruction-following benchmarks show that DSKD significantly outperforms the current white-box KD framework with various distance functions, and also surpasses existing KD methods for LLMs with different vocabularies.
[ -0.4094466865, -0.6288223267, 0.884226203, -0.0382891744, -0.2995305657, 0.2856823802, -0.469204396, -0.138753891, -0.062647976, 0.2667281032, -0.4930406511, -0.5560665131, -0.8903970718, -0.3838897049, -0.2961044014, 0.7249740362, -0.114655219, 0.0411501899, -0.6660028696, -0.1402436644, -0.5743018389, -0.5237135291, -0.3382670879, -0.4717447162, 0.4836908281, 0.2862278223, 0.550265789, 0.42782709, 0.3549730778, 0.2441469282, -0.2070184052, 0.0101386821, -0.3726204038, 0.2313875705, -0.2804305553, -0.376526475, 0.075389728, -0.246165365, 0.4968080223, 0.9522017241, -0.2257519364, 0.0847876817, 0.4642646313, 0.8973388672, -0.7711760402, 0.2206044346, -0.305261761, 0.2322363853, 0.0223107561, 0.1631061882, -0.2130947113, -0.2379962355, 0.3205491602, -0.4786965847, 0.138474524, -0.3832528591, 0.5142861605, 0.6493394375, -0.6825042963, -0.3484765887, -1.0154027939, 0.6501301527, -0.6858999133, 0.6604080796, 0.1177464947, 0.6225653291, 0.0347000137, -0.5209487677, -0.721008122, -0.0824211463, -0.1301705688, -0.0481758229, -0.0675139874, -0.0887091309, 0.2948701978, 0.2893123031, -0.3469142914, 0.1967244744, -0.5540559292, 0.0731368363, 0.3863208592, -0.0792724788, 0.0704826191, 0.1142400205, -0.4964975417, -0.4330887794, -0.6730624437, 0.0010610464, 0.2761439085, 0.1872920841, -0.0571762584, 0.3888662755, -0.3325046301, 0.4877496362, 0.2194630057, -0.3011189699, 0.104675971, -0.1976359785, -0.1677305251, 0.0585865043, 0.6799767613, 0.5108968616, 0.170587793, -0.2213394493, 0.1344948113, 0.315749526, 0.1138604954, -0.7330623865, -0.5515671372, -0.0068242108, -0.3024505675, -0.2272824943, -0.1670541167, -0.8317788243, -0.502609551, -0.5264649391, 0.3457498848, -0.2307548374, -0.4637842774, 0.114304468, -0.0540650971, -0.3124747574, 0.1654809713, -0.9151457548, 0.421430558, 0.5168663859, 0.7324736118, -0.3249571621, -0.2001606077, -0.1800701469, 0.2858849466, -0.0824635699, 0.5829457641, -0.5303409696, -0.3142365217, -0.0956457108, -0.2461528927, 0.1445531547, -0.645378828, 0.0969214216, -0.5772585273, -0.0166659132, -0.4815366864, -0.6420099735, -0.2667355239, 0.0924626142, -0.5881320834, 1.1667832136, 0.1591587812, -0.710398674, 0.594547987, -0.5494385958, -0.3680085838, -0.0383401476, -0.3191042542, -0.2166613936, 0.0995430723, 0.2262149304, 0.5709996819, -0.2452709526, 0.3417999446, -0.7061814666, -0.0554372631, 0.019364275, -0.3519470394, 0.6740109324, 0.2327711135, -0.1813557446, -0.341986835, -0.6767755151, 0.0156208901, 0.0463741086, -0.3437585831, -0.9084991813, -0.0748220459, -0.1850186288, 0.466599822, 0.374453485, -0.3805745542, 0.3689188957, -0.2129526883, 0.3228851557, 0.7205438018, -0.0115669277, 0.7572541833, -0.0087670144, 0.5327607393, 0.4416763186, -0.2713475823, 0.1726350635, -0.1605997533, -0.4280642569, -0.2236893177, 0.212690711, 0.2399144769, -0.7643402815, 0.3898366392, -0.3260390162, -0.4948947728, -0.5347149372, 0.3270942271, 0.4035848081, 0.432169944, 0.2333596796, 0.0282405335, -0.3397155702, -0.8592559099, -0.0732768551, -0.1051453799, 0.104482241, 0.2057676017, 0.3323723376, -0.0794281065, 0.8796738982, -0.9346948862, -0.3732782304, -0.0544174425, -0.1937193722, 0.0575794727, 0.2594790459, 0.7251141667, -0.8625760078, -1.0110268593, 0.1933936775, -0.4713905454, -0.307552278, 0.2864377797, -0.2534029484, 0.181901738, 0.6788643003, -0.703181386, 0.3629341722, 0.5616058111, -0.37576738, 0.4630683362, -0.1849751472, 0.2308980823, -1.4352738857, -0.0349565893, -0.0490201302, -0.154562667, -0.4425070882, 0.0630519465, 0.1896804273, 0.1117906794, -0.2617101073, 0.6128757596, -0.3623923063, -0.1626915783, -0.382517457, 0.3223874867, 0.0706221312, 0.5811350942, 0.2548251152, 0.3982555568, 0.6196457148, -0.6102114916, 0.6242086291, 0.0356577225, -0.4480265081, 0.6540964842, -0.4433063567, 0.0159813594, -0.0730451122, 0.1966992915, -1.3459224701, 0.0919241682, 0.0562947243, -0.2202619016, 0.3481458426, -0.194683373, -0.4905542135, -0.5605323315, -0.1215583533, 0.5821965933, 0.8143973947, -0.7038386464, 0.2050392777, 0.3389948308, -0.3374908864, -0.7052220702, -0.7286928892, -0.2777641416, -0.3799518645, -0.6099557877, 0.2379951626, -0.2281393707, -0.2120262086, 0.3968756199, -0.3680585921, -0.1237939447, -0.069115825, 0.1404721886, 0.2144681066, -0.218885079, 0.321551919, 0.3983502686, 0.1197949499, 0.0017076172, -0.5550079346, 0.475456357, 0.4869330823, -0.5282475948, -0.2450680286, 0.369408071, 0.8158524036, 0.1258694679, 0.8735558391, 0.4798018336, -0.3655053377, -0.5261823535, -0.566570878, -0.2827101648, -0.4725039005, 0.6483644247, -0.4481843114, -0.8970855474, 0.4818380773, -0.2097448409, -0.0296202209, 0.212847501, 0.6930634379, -0.0368383601, 0.8624759316, 0.9127512574, -0.1437713653, 0.3207647204, -0.2599214017, 0.4662656486, -0.8296154737, -0.1892821938, -0.4727229476, -0.6641656756, -0.1620645374, -0.4723634422, 0.3631095886, 0.3573036194, 0.1474058181, 0.279872328, -0.5638594031, 0.6668077111, 0.5842379928, -0.374679327, 0.3170264661, 0.2768597901, -0.4413692057, -0.3210446537, -0.7372917533, -0.2723897398, 1.1920657158, 0.1537305862, 0.7768951058, 0.1634667367, 0.9374526739, 0.2090276927, 0.0996592715, -0.5596488118, 0.3963711858, -0.4382485449, -0.288095355, -0.310089469, -0.4936265647, -0.628262043, 0.5426614881, 0.2653882802, -0.8503770828, 0.1418718249, 0.1248485595, -0.4868758619, 0.3713465333, -1.0983035564, 0.8995380402, 0.121939756, -0.1708222479, -0.3201722205, -0.4178721011, 0.5915991664, -0.2187274545, 0.2148204595, -0.0539800152, 0.1999116093, 0.6678285003, -0.4581787288, 0.7194792032, -0.5461059213, -0.4664371908, 0.103194423, 0.1722928137, 0.3104884624, 0.0687153935, 0.2989076972, -0.0158278607, 0.4954691827, -0.1153768152, -0.851893425, 1.0060235262, -0.8800509572, -0.6664828062, -0.2019073069, -0.7946726084, -0.2579752207, 0.161847651, 0.0995112509, 0.1548036337, 0.0373270474, 0.1826897711, 0.6430683136, -0.0793655887, 0.3015687764, 0.6202740073, -0.2597295642, -0.0490190499, 0.5809680223, 0.3086443543, 0.5751575232, 0.4215940833, 0.1015340984, -0.7289195657, -0.2614805996, -0.2900592685, 0.0383993797, -0.9033640623, -0.1898468584, -0.6641937494, -0.2825636864, -0.7248653769, -0.165724948, -0.5997519493, -0.468285948, -0.0686857849, -0.0376096219, 0.2111864537, 0.6602409482, -0.0171671491, -0.0295839161, -0.6526151896, 0.568246603, 0.4314605892, 0.2861976624, 0.2999742329, -0.5496842265, -0.2705686986, 0.3760308027, -0.4160515368, -0.6736493111, 0.2585280538, 0.0402713567, 0.3217316568, 0.3634343445, 0.3654149175, 0.8359671831, -0.5720621943, 0.6135177612, 0.4700986743, -0.6426923871, 0.3121588826, 0.169521004, 0.6520313025, 0.3669851422, 0.3271328211, -0.8597186804, -0.6026601195, -0.3800885081, -0.6739920378, 0.9675076008, -0.1979895383, 0.003379059, 0.2684900761, 0.1414219588, 0.4079988301, 0.1406972408, -0.6966584325, -0.3163778782, 0.1762859523, -0.4866888821, -0.0500654727, -0.1116824299, -0.0379157849, -0.1174647436, 0.661080122, -0.0004388632, -0.0044355504, -0.0473998189, -0.0573100038, -0.1837394685, 0.1996455491, 0.2416541576, 0.5684392452, 0.1008638814, 0.4344153702, 0.0860709101, -0.6486495137, 0.4988106787, 0.1301717609, -0.0060113552, -0.1132840738, 0.1211172491, 0.5778918266, 0.1502010971, -0.4888069928, 0.4267288148, 0.055837132, -0.3102493584, -0.0275017172, 0.1118636429, 0.6002465487, 0.6850751638, 0.2426409423, 0.1651463956, 0.0692468807, -0.3322297931, 0.1069827825, 0.3166629374, -0.087801151, -0.2863075137, 0.6625526547, -0.0181317888, -0.0441483408, 0.3874293864, -0.3693005145, -0.4483596087, 0.6690403819, 0.4113380611, 0.84343189, -0.2288050056, 0.2378933877, 0.2265616506, -0.1038096696, -0.1622059643, 0.0315201692, -0.5095515251, -0.7491173148, -0.4081433117, -0.8251650929, 0.1277860403, 0.3131095767, -0.6857008934, 0.3445005715, -0.2331195921, -0.0081355972, 0.2350221872, 0.1415382922, -0.5903164744, -0.2233058959, 0.367040813, 0.4924117327, -0.9039703012, 1.1489661932, 0.7367075086, -0.0078883572, -0.7313424349, 0.0951775759, 0.0374156833, -0.4750273824, 0.9407132864, -0.1138460934, -0.0967429951, -0.1558808833, -0.0808994249, -0.9592146277, 1.3112404346, 0.5223501921, -1.1411842108, -0.0832796395, 0.2135874033, 0.572840333, -0.2517977059, -0.2955550551, 0.529609859, 0.2151633501, 0.40740183, -0.9431068897, 0.0369563997, -0.0168852434, 0.2446326464, 0.4341376722, -0.5859856606, 0.6585903764, -0.2322579622, -0.4208569229, -0.196366936, 0.4426421523, 0.3401904106, 0.2879189551, 0.492944628, 0.931861341, 0.6073565483, 0.0172037724, 0.5835061073, -0.323579222, 0.5510199666, 1.221061945, -0.667634964, 0.6604699492, 0.8514276743, -0.6319180131, 0.2643310726, 0.2259602249, 0.063567102, 1.0183376074, 0.1317117363, -0.1685930043, 0.0688146651, 0.2430854291, -0.4525338113, -0.0140134357, 0.1568319798, -0.1433411539, -0.4613541365, 0.2177299112, -0.1926840544, 0.4303316474, -0.0181213599, 0.8056976199, 0.2022897303, -0.8643875122, 0.6438031793, 0.0371938497, 0.5928009748, -0.5213759542, 0.0019784158, -0.1441173702, 0.495005995, 0.092382215, -0.7361762524, 0.3426429033, -0.103054449, -0.5198715329, -0.2824151516, 0.6882269382, -1.0885626078, -0.4236221611, 0.5475359559, 0.3746272624, -0.074976027, 0.1120332256, -0.4894411862, 0.1054438278, 0.1004491746, -0.1036786363, 0.5468482971, 0.7038910985, 0.0475677401, 0.5085389018, 0.4420805573, 0.2211035043, 0.3028473854, 0.0369909592, 0.8789997101, -0.1904804409, -0.8562222123, -1.0194090605, 0.2903779447, -0.0329162925, -0.0255568512, 0.6618980169, 0.3227078617, 1.0431417227, -0.3099293709, 0.9183756709, -0.2357255667, 0.6043275595, -0.5301080942, 0.7733627558, -0.6442825794, 0.3484878242, -0.2351559848, -1.3628306389, 0.0645335168, 0.4138035178, -0.3719044328, 0.0388023667, 0.8904469609, 0.7895026803, -0.4135279953, -0.314614594, 0.492624253, 0.2085464597, 0.258312881, 0.9405024052, 0.8481450081, -0.2200786471, 0.5643229485, -0.4765175879, 0.0279749129, -0.1730989516, -0.5951539278, -1.0274759531, -1.0030920506, -0.6376463771, -0.0178092327, -0.0785188451, 0.5392186642, 0.8746368289, -0.5482634306, -0.0296581965, -0.0963706151, 0.1542128921, -0.2723590434, -0.3018538356, 0.5298147798, -0.2508326173, -0.873886764, 0.0081700198, 0.2918066084, 0.0425851718, -0.5186860561, -0.2718590498, -0.2045117021, -0.0889870152, 0.3918782771, -0.0460671186, -0.8279325962, -0.2162937373, -0.2312146574, -0.2071535438, -0.2362811267, 0.643460989, -0.8109208345, 0.355493784, 0.4334399998, 0.6798560023, 0.5694133639, -0.3130240738, 0.4777688086, -1.1373250484, 0.334825635, 0.0031740617, 0.094932735, 0.2174584419, -0.4863420725, 0.2142252028, 0.1571549922, -0.4304492176, -0.9597691894, 0.2718383968, -0.6472862959, -0.5171965361, 1.2621605396, -0.3248461187, -0.0856860802, 0.1166925132, -0.2430856526, 0.3274944723, -0.3221666515, 0.9938530922, 1.2507591248, 0.3151876926, -0.0472818799, -0.5155739784, 0.6021556854, 0.4196766019, -0.492318064, 0.4185951352, 0.4741601646, 0.5044966936, 0.2749204934, 0.5106689334, -0.0979309082, 0.2907051742, 0.0201521702, 0.1379187703, -0.1012261286, -0.3625144064, -0.2820950449, 0.1155237779, -0.0867900327, -0.2007655352 ]
http://arxiv.org/abs/2407.00087v1
http://arxiv.org/pdf/2407.00087v1
ARES: Alternating Reinforcement Learning and Supervised Fine-Tuning for Enhanced Multi-Modal Chain-of-Thought Reasoning Through Diverse AI Feedback
2024-06-25T07:20:11
2024-06-25T07:20:11
Ju-Seung Byun, Jiyun Chun, Jihyung Kil, Andrew Perrault
cs.AI
cs.AI, cs.CL, cs.LG
Large Multimodal Models (LMMs) excel at comprehending human instructions and demonstrate remarkable results across a broad spectrum of tasks. Reinforcement Learning from Human Feedback (RLHF) and AI Feedback (RLAIF) further refine LLMs by aligning them with specific preferences. These methods primarily use ranking-based feedback for entire generations. With advanced AI models (Teacher), such as GPT-4 and Claude 3 Opus, we can request various types of detailed feedback that are expensive for humans to provide. We propose a two-stage algorithm ARES that Alternates REinforcement Learning (RL) and Supervised Fine-Tuning (SFT). First, we request the Teacher to score how much each sentence contributes to solving the problem in a Chain-of-Thought (CoT). This sentence-level feedback allows us to consider individual valuable segments, providing more granular rewards for the RL procedure. Second, we ask the Teacher to correct the wrong reasoning after the RL stage. The RL procedure requires massive efforts for hyperparameter tuning and often generates errors like repetitive words and incomplete sentences. With the correction feedback, we stabilize the RL fine-tuned model through SFT. We conduct experiments on multi-model dataset ScienceQA and A-OKVQA to demonstrate the effectiveness of our proposal. ARES rationale reasoning achieves around 70% win rate against baseline models judged by GPT-4o. Additionally, we observe that the improved rationale reasoning leads to a 2.5% increase in inference answer accuracy on average for the multi-modal datasets.
[ -0.6942693591, -1.1449296474, 0.7140746117, -0.0677006096, -0.1717002094, 0.1136119291, -0.29441154, -0.3034332991, -0.0621761605, 0.5495904088, -0.8722526431, -0.2967412472, -0.5409696102, 0.135400787, -0.0227031428, 1.0349968672, -0.1439857334, 0.1828666031, 0.2099937052, -0.2961250246, -0.4685800374, -0.2618620396, -1.0506323576, -0.3123716712, 0.6512222886, 0.770216465, 0.5276107788, 0.6124541759, 0.2196602076, 0.3474294543, 0.1901325583, 0.9539045095, -0.1910540015, 0.3604183197, -0.5008555055, -0.353286624, -0.4138754308, 0.0725141615, 0.372189343, 0.3142876625, -0.2934756279, 0.0035862159, 0.0384229571, 0.8815643787, -0.698965013, 0.0032710757, -0.5496647358, 0.0130553255, 0.0623348877, -0.5023364425, -0.6976989508, -0.2354264259, -0.0660598502, -0.855441153, -0.1132772267, 0.4701147377, 0.6535310745, 0.6627812982, -0.5972470641, -0.3938058019, -0.9587792158, 0.8053085804, -0.4981234372, 0.5303203464, 0.486833185, 0.3334055841, -0.1164311767, -0.6490468979, -0.5774036646, -0.4714427292, 0.2921684682, 0.2732600272, -0.0952111185, 0.4013181627, 0.1909926236, 0.1717138439, -0.1024149507, 0.0168371554, -0.3848388195, 0.0429133587, 0.6140982509, 0.2090086639, -0.1588724554, 0.2091702521, -0.4425929785, -0.2964887023, -0.5168978572, 0.2704307735, 0.359716326, 0.2174943686, 0.1980848014, 0.5485889316, -0.4498516619, 0.6475361586, 0.5180625916, 0.0513924435, -0.0284785125, -0.2412577569, -0.2978783548, -0.2483662516, 0.5981720686, 0.134965688, 0.0725972354, -0.0471036099, -0.4236938655, 0.1161591932, 0.5023869276, -0.3595984876, -0.2502560914, -0.0466607735, -0.413983345, -0.202249065, -0.0250467509, -0.5413148403, -0.4450372458, -0.7391244769, 0.9164091349, -0.5313263535, 0.2078755349, 0.0830370933, 0.0180135146, -0.233487606, 0.621363163, -0.8165866137, 0.4403090477, 0.4281488359, 0.3505177796, 0.1065030172, -0.5324452519, -0.8817790747, -0.0042135282, -0.3860529363, 0.9244346023, -0.6416142583, 0.1313825995, -0.3881063163, -0.2008415908, -0.1472920626, -0.266883105, 0.6610338688, -0.6586461663, 0.3594400883, -0.3059370816, -0.5329976082, -0.529065311, 0.4121548533, -0.4024800956, 1.0042587519, -0.1603272557, -0.4378534257, 0.4340261817, -0.637134254, -0.2610273659, -0.4448536038, -0.1369156241, -0.361923784, 0.0492593087, 0.8024182916, 0.3345595002, -0.2431640178, 0.2510514259, -0.4306284487, -0.4325230122, 0.2662328482, -0.7844413519, 0.0330432057, 0.3312076926, -0.5690524578, 0.7772942185, -0.6409198642, 0.0777308568, -0.3547011018, -0.3556636274, -0.1696122587, 0.2599891126, -0.0561615713, 0.4210479856, -0.1746254265, -0.2484763861, 0.3783698976, -0.2250940651, 0.4025073051, 1.038543582, 0.2014915347, 0.3466916978, -0.5938435793, 0.5663794279, -0.1284393072, 0.3018565476, -0.1211971492, -0.3950922489, -1.0135647058, -0.3011132479, 0.2424578816, 0.4123363495, -0.8222792745, 0.280418992, 0.1997844875, -0.1656175852, -0.7676491737, 0.1302701682, 0.4392439127, 0.4164425731, 0.6929811239, -0.263582617, -0.6130117178, -0.9768430591, -0.1499105841, 0.0144153219, 0.2698256075, 0.5993908048, 0.5249227285, -0.2211828679, 0.6384465098, -0.2207823396, -0.2064496428, -0.2242281437, 0.4439228773, -0.1473832577, 0.2839069366, -0.013855055, -0.4726849496, -0.1995948106, -0.0243439116, -0.3609829843, 0.038592618, -0.3310850859, -0.1116108745, 0.065582931, 0.4146799445, -0.3659724891, 0.1527094543, 0.3731291294, -0.3878341615, 0.4897612631, -0.424392134, 0.560736239, -0.8451185226, -0.0762225166, -0.0764417127, -0.3573882878, -0.1102833077, 0.2342575938, -0.0080643129, 0.137093246, -0.1423741132, 0.4210252166, -0.2187580615, -0.0638935864, -0.538097322, 0.0386595204, -0.0932843685, 0.9426817894, -0.0657369196, 0.9738458991, 0.3648710251, -0.7695302367, 0.4509153664, 0.0371890739, -0.1847064048, 0.4277923405, -0.4747537374, 0.2277574688, -0.1006498784, 0.715295136, -0.7452999353, -0.2516679466, 0.3173091412, -0.3164787889, 0.0156436134, 0.1070504338, -0.2330172211, -0.2138054669, -0.3300452828, 0.3293403089, 0.2090934515, -0.6316255331, 0.6400194168, 0.1306391805, -0.0196511894, -0.7643216252, -0.1574242711, -0.1407892853, -0.0963132828, -0.4165926874, 0.1457001418, 0.0062921406, -0.1122489944, 0.2160713673, -0.2957445979, 0.0528829321, 0.0752431154, 0.2235446274, 0.1011725366, -0.058035735, 0.3438268304, 0.4217574298, -0.1448888183, -0.2355931997, -0.4620174468, 0.457038939, -0.3868134618, -0.5631790757, -0.6234361529, 0.2300246209, 0.7223728895, -0.364582777, 0.5070083141, 0.6542547941, -0.153498143, -0.4957203269, -0.5044822693, -0.5551548004, -0.4152683318, 0.3098588288, -0.4284968078, -0.9291512966, 0.3039673865, -0.3048456609, 0.1446810216, 0.4531188607, 0.6695203185, -0.2583525777, 1.4446792603, 0.498028636, 0.0661815628, 0.5477634668, -0.3611858785, -0.015972117, -0.9223396182, -0.274900645, -0.1231905073, -0.5904280543, -0.3805075288, -0.3672312498, 0.6187972426, 0.2507788837, -0.5443435311, -0.1035619006, -0.3535489738, 0.4480932653, 0.8548734188, 0.5107155442, 0.3458218277, -0.2097492963, -0.4379402995, 0.2655599117, -0.6609580517, -0.3296721578, 1.2479739189, 0.389988035, 0.8353040814, -0.0058560208, 0.608087182, 0.4958710968, 0.2357505858, -0.6900935769, 0.3425512612, 0.0723643303, -0.6819181442, -0.3657236099, -0.2970406711, -0.7277787328, 0.5196312666, -0.510039866, -0.4490669072, -0.0032691204, 0.4006515443, -0.6590077281, 0.2182556242, -0.5047292113, 0.536429882, -0.2682579756, -0.6083153486, -0.9312987328, -0.7019612789, 0.4991789758, 0.2222010791, 0.2867262661, 0.0667664185, 0.0904259384, 0.6080721021, -0.4218302965, 0.6860833764, 0.0163900293, 0.1794214696, 0.1211105734, -0.1619723886, 0.7709578872, 0.3788637519, 0.1739366055, -0.5227172971, -0.2520534396, -0.2879882455, -0.7599598765, 0.6857447028, -0.9694728851, -0.5484165549, -0.4768793583, -0.6933966875, -0.5728241801, -0.0545636788, 0.1921226382, 0.5205734968, 0.1889520735, 0.1132265255, 0.6945712566, -0.0153030744, 0.1057889611, 0.5163328052, -0.1431400329, -0.8095139265, 0.6816093922, -0.3868704736, 0.1449154168, 0.3049470484, 0.0316154175, -0.3535120785, -0.4312227666, -0.7563100457, -0.0623524487, -0.5756896138, -0.1909861565, -0.521609962, 0.0718558729, 0.0888517797, -0.1524268687, -0.5264790058, -0.5577763915, 0.108240962, -0.0950252786, 0.3058783412, 0.7667660713, -0.2577230334, 0.1707008332, -0.6504489183, 0.516667068, 0.5834760666, 0.2370803505, 0.1175429076, -0.4408913553, -0.25426507, 0.211338982, -0.7058649659, -0.9046439528, 0.0592468269, 0.2046720237, 0.4388207197, 0.4376283288, -0.0955967009, 0.8741675615, -0.4416404366, 0.4734465182, 0.0391257107, -0.9352660775, 0.6541234255, -0.2402350903, 0.0011772278, 0.6600763798, 0.0070732585, -0.4625626206, -0.5328634977, -0.5502699018, -0.9006583095, 1.0030853748, 0.1259120405, -0.2625996172, 0.0947062001, 0.3101696372, 0.2334040403, 0.1171559915, -0.6273614168, -0.2960770726, 0.0493144169, -0.1623572707, -0.0486592427, 0.137098074, -0.3712333143, -0.4871632457, 1.0313317776, -0.1007509232, 0.0900786966, 0.2906610072, -0.0251221135, -0.3591242135, 0.6504491568, 0.8148959279, 0.4364362955, -0.1461973488, 0.2220147252, 0.3889869153, -0.0817347765, 0.3504263461, 0.2177089155, -0.0490861237, -0.4674576819, 0.3186890483, 1.1696962118, 0.392123431, -0.6092962623, 0.1351950169, -0.1108706221, -0.2145823687, -0.1648266315, 0.3237766623, -0.2147441506, 0.6565189362, 0.3390569985, 0.8037393093, 0.2664992809, -0.6437184811, 0.4313176274, 0.334428817, -0.4259009957, -0.1944523007, 0.7836230993, 0.3978530765, -0.1042575017, 0.5523017645, -0.1856432408, -0.4191373289, 0.4657866061, 0.3973015249, 0.7832311392, -0.0510572903, 0.2692315578, 0.2948388755, 0.2343756855, -0.4253090024, 0.3314117789, -0.4115996063, -0.6609783173, -0.6271358132, -0.3846475184, -0.5703219175, 0.2339551002, -0.6662532687, 0.1710940897, -0.560893476, -0.1957402229, -0.1171906888, 0.1146426126, -0.4774755239, 0.2738898695, 0.1784531772, 0.6132414341, -0.8823773265, 0.8953174353, 0.9847721457, -0.5048162341, -1.1092904806, 0.0671449825, 0.033544682, -0.6382950544, 0.4156502485, -0.0327314548, -0.3736362159, 0.1029364839, -0.337326318, -0.8242515326, 1.0498554707, 0.1046881229, -0.6047595143, 0.0313876867, -0.5347386599, 0.4605378211, -0.3132816851, 0.549249053, 0.394506216, 0.5089972019, 0.0131378658, -0.9412884116, -0.1287728101, -0.2092003077, -0.3171390593, 0.3438914716, -0.6004177928, 0.8323675394, -0.4456997514, 0.1089664847, -0.0428351872, 0.6644024253, 0.7040671706, 0.5482688546, 0.6689819694, 0.8264540434, 0.8133198023, 0.1478781551, 0.926525414, -0.2256887257, 0.3307070732, 1.0611701012, 0.0862496346, 0.8754915595, 0.4783023596, -0.0160810277, 0.5458893776, 0.6593924761, 0.1510569006, 0.7902460098, -0.0766823143, -0.245971635, -0.6068268418, 0.1729360223, -0.2789434195, 0.3830632865, 0.4139873385, -0.3398923278, -0.1608883291, 0.3009048402, -0.2929656506, 0.1688099653, -0.3387463689, 0.6715986729, -0.0494501814, -1.04294312, 0.3709325194, 0.3859145641, 0.6324855089, -0.4722673893, -0.156510219, -0.1903340667, 0.533236146, -0.0468671322, -0.4541144073, 0.0269411486, -0.0642764419, -0.2552921176, -0.2179543972, 0.3150915802, -0.4772413075, -0.2742560804, -0.0032987082, 0.4670059681, -0.3240932524, 0.1211374402, -0.7873279452, -0.0755445808, -0.0019972499, -0.4389252365, 0.1525139958, 0.3671269119, -0.2799053788, 0.9068450332, 0.6776812673, -0.0306528695, 0.0248577297, 0.0665361062, 0.9616224766, -0.5048184395, -0.5762357712, -0.6484383941, 0.3755366802, 0.087600328, -0.6790140867, 0.5120544434, 0.4463756084, 0.628744185, 0.0128147835, 0.6870207191, 0.0372898169, 0.3780122399, -0.826772213, 0.2727974653, -0.721945107, 0.4376435578, -0.0628416687, -0.7685704231, -0.0242933705, 0.7347313762, -0.2770283818, 0.0655583814, 0.898960948, 0.5733665228, -0.3154100776, 0.177842468, 0.0460740849, 0.1305426955, 0.2432068139, 0.7151378393, 1.0947577953, -0.4360625148, 0.3823437691, -0.2340758145, -0.2432938665, -0.2075711191, -0.3018468618, -0.6796796322, -0.6353865862, -0.1056524813, -0.153312102, 0.4504925907, 1.2654947042, 0.8230358958, -0.8833167553, 0.006017535, -0.5336261988, 0.1307746917, -0.7586076856, -0.1869660467, 0.2992845774, -0.6909383535, -0.5985228419, 0.7415921688, 0.2349620461, -0.5243467689, -0.0864648819, -0.458956629, -0.2432547957, 0.4421586394, 0.48649472, 0.129272759, -1.1186025143, -0.4291291535, 0.0131305698, -0.0708139166, -0.2033559829, 0.8279205561, -0.9724504948, 0.4673933983, 0.3332355618, 0.4472058117, 0.6255714297, 0.2491867244, 0.5864952207, -0.6384167671, 0.0659118444, 0.3615654409, 0.2822208405, -0.1325252205, -0.1487693936, 0.3084334135, 0.0543247685, -0.8029819727, -0.5753091574, 0.4742101431, -1.0101357698, -0.4523491859, 1.0256102085, 0.0632856637, 0.2813459039, -0.1192138493, -0.637394309, 0.3609950542, -0.6880752444, 1.0250953436, 0.6454952955, -0.6343933344, -0.4630264044, -0.4578033388, 0.5836306214, 0.756980598, -0.8190360069, -0.17664361, 0.7704036236, 0.1588021666, -0.1884865016, 0.5762239099, 0.2100630999, 0.5886613131, -0.1188510954, -0.095494464, -0.4611238539, -0.704680264, -0.2920052111, 0.1938000172, 0.198419407, -0.3201732934 ]
http://arxiv.org/abs/2406.17324v1
http://arxiv.org/pdf/2406.17324v1
Delving into the Utilisation of ChatGPT in Scientific Publications in Astronomy
2024-06-25T07:15:10
2024-06-25T07:15:10
Simone Astarita, Sandor Kruk, Jan Reerink, Pablo Gómez
cs.CL
cs.CL, astro-ph.IM, cs.DL
Rapid progress in the capabilities of machine learning approaches in natural language processing has culminated in the rise of large language models over the last two years. Recent works have shown unprecedented adoption of these for academic writing, especially in some fields, but their pervasiveness in astronomy has not been studied sufficiently. To remedy this, we extract words that ChatGPT uses more often than humans when generating academic text and search a total of 1 million articles for them. This way, we assess the frequency of word occurrence in published works in astronomy tracked by the NASA Astrophysics Data System since 2000. We then perform a statistical analysis of the occurrences. We identify a list of words favoured by ChatGPT and find a statistically significant increase for these words against a control group in 2024, which matches the trend in other disciplines. These results suggest a widespread adoption of these models in the writing of astronomy papers. We encourage organisations, publishers, and researchers to work together to identify ethical and pragmatic guidelines to maximise the benefits of these systems while maintaining scientific rigour.
[ -0.2780776322, -0.5243905187, 0.4851318598, 0.2993209064, -0.3010266423, 0.0080370838, -0.2261927724, -0.7749962211, 0.0765085295, 0.6579829454, -0.2900322676, -0.3417975903, -0.9611102343, 0.4101521969, -0.6496400833, 1.076338172, 0.0327830277, 0.0215203054, -0.1684769541, 0.194466725, -0.1541856378, -0.3914265931, -0.3919262588, -0.2013512701, 0.715144217, 0.2041271925, 0.6452852488, 0.4998450279, 1.1691203117, 0.2288249433, -0.2819467485, 0.3532634974, -0.5467197299, -0.1233793423, 0.1465237141, -0.4065857232, -0.1524726003, 0.1922868192, 0.697722733, 0.7824422717, -0.2374278009, -0.0095867943, 0.1684880257, 0.5360547304, -0.4013828337, 0.6669746041, -0.6691605449, 0.0302440468, -0.5389134884, -0.2561508417, -0.3654725254, -0.4046934247, 0.3375477195, -0.9392846823, 0.0870705396, 0.288623184, 0.7194590569, 0.0337159298, -0.0627532303, -0.9021062255, -0.5583802462, 0.7615907788, -0.3996048868, 0.406770438, 0.374796927, 0.0285859574, -0.3720093668, -1.0444381237, -0.5890477896, -0.6270756125, -0.1206709892, 0.1947470307, -0.2085058987, 0.0396355726, 0.0852651373, 0.1096742973, -0.6716620326, -0.2122336328, -0.6546801925, 0.0117232408, 0.3297666311, 0.0001640088, 0.1691272557, -0.2822771072, -0.0147833899, -0.1345020682, -0.7924546599, -0.2422230989, 0.3049890399, 0.2868576348, 0.3931643069, 0.9150743484, 0.177399382, 0.4612933397, -0.2627380192, 0.3773647845, -0.2707812786, -0.4375918806, -0.0480731688, -0.1514476389, 0.9350941777, 0.272511065, 0.2822961807, -0.2993224263, 0.3118103743, 0.4418307841, 0.3680720329, -0.6047692299, -0.5182179809, -0.1199944615, -0.0132398447, -0.2832511067, 0.0596476458, -0.6347184777, -0.5041639209, -0.1850367486, 0.0047492702, -0.5611649156, 0.020000821, 0.2863012552, -0.3293413222, 0.1086784527, 0.0787867755, -0.861884892, 0.081678018, 1.0715596676, 0.834143579, 0.2405478209, -0.3261486292, 0.0182881653, -0.1058821082, -0.5070655942, 0.9958869815, -0.8412929773, -0.9048985243, -0.1504070759, -0.0344051234, -0.2215262055, -0.3333177567, 0.8481310606, -0.5551921725, 0.5446747541, -0.251842618, -0.6496690512, -0.429577291, -0.1553970426, -0.3046447039, 1.0624289513, -0.1260520965, -0.6171022654, 0.9565458298, -0.9717193842, -0.0387276448, 0.3975857496, 0.0836288631, -0.5939939618, -0.0141096525, 0.067694515, 0.3260591626, 0.0122790728, 0.162464276, -0.0924322531, -0.152757898, 0.2963873148, -0.19550699, 0.2470914871, 0.6323595643, 0.0850887224, -0.4004798532, -0.4466655254, -0.2166359276, -0.1772236377, -0.2208887339, -0.5094763041, 0.483646065, 0.3257678449, -0.2984254658, 0.1398545653, -0.6992701292, 0.3114858568, -0.5001831055, 0.5149060488, 0.1838217378, 0.0588169917, 0.3205443919, -0.3341374993, 0.2083636522, -0.2216319591, -0.0517362766, -0.0750980228, -0.7179474831, -0.4175032377, -0.2235454917, 0.0609476827, 0.2243285626, -0.1456495821, 0.2344845235, -0.0506653637, -1.0295505524, -0.5451691151, 0.046174515, 0.2024898231, 0.3459441066, 0.0864505321, -0.2001852095, -0.5934385061, -0.509215951, -0.6564585567, -0.1599975824, 0.1165348738, 0.5579572916, 0.6017959118, -0.3505128026, 0.890427053, -0.4201016724, 0.0676992759, 0.2384942025, 0.6556817889, 0.2057601064, 0.1933307499, 0.2012332678, -1.0155018568, -0.5336051583, 0.2754086554, -0.855097115, -0.1601373851, 0.0316181555, -0.1832068264, 0.059827283, 0.3849692643, -0.5352271795, 0.1571618319, 0.4284341931, -0.5517639518, 0.4922061861, -0.0838950649, 0.2263770103, -0.8507892489, 0.47974509, 0.2678674161, -0.1520242095, -0.3894434571, 0.1353464276, -0.0003309451, -0.1387607455, -0.1474560797, 0.2535327077, -0.5781609416, 0.1387688369, -0.3999023438, 0.3986581564, -0.1781751961, -0.3273438811, 0.1829954088, 0.8866578341, 0.4142632484, -0.543223381, 0.1902686059, 0.5555714369, -0.4747262895, 0.2349379063, -0.5423311591, -0.0823579133, -0.4996903837, 0.246775791, -0.9430828094, -0.2590413988, 0.1286713481, -0.4463684857, 0.0874007568, -0.2119752616, -0.317440927, -0.4171341956, 0.199206844, -0.2221155465, 0.3979061544, -0.2418686897, 0.2475496083, 0.5661866665, -0.3770347834, -0.5727718472, -0.2454193234, 0.4847798645, -0.4088762403, -0.6779395342, 0.0630699098, 0.1486947984, -0.3892487884, 0.0461514741, 0.0193030685, 0.2842724621, 0.0937239602, 0.2635826766, 0.3062331378, -0.0723701715, 0.148563534, -0.6680744886, -0.1712235361, 0.0352346711, -0.4664030671, 0.6426512599, -0.1770200133, -0.0585917197, -0.1436802, 0.3454551995, 0.4260909557, -0.0176406838, 0.5779749751, 0.6479498744, -0.0313676409, 0.0665167719, -0.4570173323, -0.3217941225, -0.4365572631, 0.6142704487, 0.2254656553, -0.7621418834, 0.324496448, 0.0293480866, 0.4968771636, 0.5096195936, 0.3798254132, -0.3495993316, 0.6655912399, 0.6818969846, -0.0065722661, 0.5335586071, -0.1896605045, 0.2515655756, -0.6667978764, -0.1628660113, -0.8804463148, 0.1723121107, -0.9475907683, -0.4706771076, 0.4975055456, -0.1943410635, 0.0785292983, 0.5460379124, -0.8352416158, 0.5843408704, 0.3458022773, -0.1801392138, 0.4120608866, 0.0625694171, 0.3224001527, -0.1732793748, -0.4347825348, -0.8176281452, 1.1508882046, 0.0747478977, 0.803987205, -0.1760670096, 0.5905287862, 0.1567472667, 0.6173933148, -0.7775635719, 0.4513535202, -0.4972337186, -0.5694309473, -0.1021252126, -0.4991953671, -1.2690299749, 0.0903681666, -0.0818899721, -0.6471043825, 0.0502076261, -0.1497628987, -0.1105670854, 0.0531380624, -0.7554414868, 0.5012120605, 0.1458202004, -0.215886429, -0.3759063482, -0.3204241693, 0.1696760505, -0.1216832623, 0.3011426926, -0.1264071912, 0.0733587146, 1.0232827663, 0.013220991, 0.7624440789, 0.1288126856, 0.0366276652, 0.4629846811, 0.0782878026, 0.5323804617, 0.0388656966, -0.0174782816, 0.2160788924, 0.4144633114, -0.250087887, 0.0361888856, 0.6592933536, -0.6709275246, -0.3721300662, -0.8028280139, -0.5277508497, -0.012715511, 0.0371403731, 0.4109734893, 0.367898047, -0.4284409285, 0.3918206394, 0.2510530353, -0.0275214147, 0.3768260777, 0.4748335779, -0.4097901583, -0.0430971831, 0.7821924686, 0.2340661287, 0.0522974804, 0.1507223547, 0.2850117981, -0.4087868035, -0.4548839033, 0.0008609826, 0.3845984638, -0.2104074657, 0.2973067462, -0.8663768768, -0.1863102317, -0.3214217424, -0.3505685031, -0.1915102303, -0.3857743442, -0.335177511, 0.1976948082, 0.493026793, 0.8013718128, 0.0009401051, 0.6812096238, -0.7338191271, -0.0431706198, -0.1841198653, 0.3002932966, -0.541223526, -0.2863130569, -0.2634468973, -0.1351615191, -0.6076549292, -0.6626392603, 0.7850952148, 0.3679188788, 0.4342314303, 0.1103733703, -0.5128902793, 0.3979152143, -0.2919414043, 0.8642279506, 0.0189885497, -0.3797528446, 0.2537998259, -0.8341017365, 0.1612847447, 0.3319776654, 0.7197477221, -1.1697191, -0.6033427119, -0.7485026717, -0.8712810874, 0.3846827447, 0.2797266245, 0.1325344741, -0.0699242204, 0.297736764, 0.2301763445, 0.3670897186, -0.6093664169, 0.2156461179, 0.1475191861, -0.1647185832, -0.1550118476, -0.0757569298, -0.189969629, 0.3072963357, 0.7549214959, -0.1015379876, 0.2913223803, 0.3000929058, 0.0933490247, -0.0694733411, 0.2258158475, 0.0994347557, 0.7360603809, -0.2553081214, -0.215826571, -0.311470449, -1.1852488518, -0.6474283338, 0.3267466426, -0.3959224522, 0.0702658519, 0.0598604679, 0.3156212568, 0.2868900597, -0.458462745, -0.0848247707, 0.1060897186, -0.3438338935, -0.5402972102, 0.0849671662, 0.1453001946, -0.0246083476, 0.30295825, 0.4060285091, 0.3786426783, -0.5737580657, 0.1600965708, 0.6534230709, -0.339754045, -0.2291486263, 0.6452898383, -0.006341747, -0.0676170141, 0.2033466101, -0.0224900972, -0.4828550518, 0.5657265782, 0.2713618279, 0.6326383352, 0.26214239, 0.3937858939, 0.3360220492, 0.2286482006, -0.3286688328, 0.3929267526, 0.213730365, -0.5414327383, -0.5307929516, -0.8257484436, -0.7619211674, -0.279029429, -0.046431087, 0.4889322817, -0.2672519386, -0.3198090196, 0.6259364486, 0.2573449314, -0.5312697887, -0.1715227962, 0.3631386161, 0.5667089224, -0.5806425214, 0.2491856664, 0.6304633617, -0.3837634325, -0.6191981435, -0.4500269592, 0.3611314893, -0.6853313446, 0.5120632052, 0.0117519898, 0.0893567801, 0.0335853994, -0.7856411338, -0.7617357373, 0.7336996794, -0.2632553279, -0.6104359627, -0.0251434818, 0.1060448512, 0.7486266494, -0.1103745848, 0.4574127197, 0.5229961276, 0.7252684832, 0.3663913608, -1.0422691107, -0.5790269375, -0.1299432963, -0.4509725869, 0.6239714026, -0.7085897326, 0.6186295748, 0.1517117321, -0.3543683589, 0.0507959984, 0.398283124, 0.1818298697, 0.5621334314, 0.0021542883, 0.1430038214, 0.9881013036, -0.2613455951, 0.8067137003, -0.2646118999, 0.4198635817, 0.3838860989, -0.2445112169, 0.7352949381, 0.6073433757, -0.5058104396, 0.2374073267, 0.4973717928, -0.3582367599, 0.2312414497, 0.1265342087, -0.4274785519, 0.0859055966, -0.3502216339, -0.2151848078, 0.8240697384, 0.7579278946, -0.3590890467, -0.2122644186, -0.0440948196, 0.494848609, 0.1109647304, -0.0907743052, 0.9229729772, 0.3568692207, -1.0554145575, 0.3023155034, -0.35142079, 0.6896924973, -0.8503369093, 0.1542778909, -0.0779070035, 0.2010457814, -0.2420400381, -0.9723567963, 0.5980367064, 0.2671175599, 0.0930017233, -0.2055435628, 0.5753929019, -0.270863086, -0.7649116516, -0.1079669073, 0.4670513272, 0.3717325628, -0.056643758, -0.1413766295, -0.4745232165, 0.0581394285, -0.3784012198, 0.273781538, 0.4746050239, 0.1126940846, 0.7130073905, 0.9343003035, 0.6495996714, 0.1989456415, -0.3169979751, 0.7861772776, -0.6843212843, -0.4791065156, -0.6135417223, 0.2140717208, -0.1615556031, -0.5949856043, 0.9170833826, 0.4261807203, 0.210936904, 0.1112438217, 0.8866522312, -0.3148702383, 0.6386654973, -0.3284212053, 0.8537364602, -0.2505390048, 0.2957470417, -0.3956337869, -0.9391290545, -0.4771277905, 0.3821709454, -0.6893314719, -0.1175275296, 0.5709168911, 0.9503065944, -0.0083333487, 0.724745214, 0.1645818055, 0.1281072348, 0.5596317649, 0.1507653892, 0.7903619409, -0.2558219731, 0.7507338524, 0.05032859, -0.3001836836, -0.4346438944, -1.0687106848, -0.4055524468, -0.7212213278, -0.2302256227, -0.1379389167, 0.203582868, 0.7678251863, 0.6064932942, -0.7280856967, -0.0842229202, -0.2470549941, -0.3895200789, -0.0995717049, -0.1992629021, 0.4026744962, -0.5457379818, -0.6911688447, 0.3646820784, 0.1298930347, -0.3353130817, -0.1440763921, 0.2719882727, -0.0971375182, 0.1785351187, 0.455083549, 0.4533002377, -0.2032586932, -0.1620584279, 0.4025579989, -0.1472635269, -0.0096938359, 0.6274065375, -0.4459472597, 0.5959749222, 0.4356614947, 0.3630048335, 0.5485823154, -0.0548985824, 0.4700323641, -0.4225558043, 0.005116777, 0.5524252653, 0.2929326892, 0.3605333865, -0.361763835, 0.7586910129, 0.4260740876, -1.3022736311, -0.6189360023, -0.165173322, -1.0218715668, -0.0313257761, 1.0990610123, 0.128885448, -0.2753223181, -0.176275, -0.5534098744, -0.0257029645, -0.6121694446, 1.2317998409, 1.0296925306, -0.2556572258, -0.0596911944, -0.9128313661, 0.5730476379, 0.3467966616, -0.5895683765, 0.320417136, 0.534511745, 0.0366582572, 0.4353443682, 0.2492889762, -0.4117807448, 0.1362509131, 0.3231915832, -0.0758992434, 0.0564748161, 0.044249367, 0.2643800974, 0.1192860156, 0.12612243, 0.2417743504 ]
http://arxiv.org/abs/2406.17312v1
http://arxiv.org/pdf/2406.17312v1
Not All Preference Pairs Are Created Equal: A Recipe for Annotation-Efficient Iterative Preference Learning
2024-06-25T06:49:16
2024-06-25T06:49:16
Sen Yang, Leyang Cui, Deng Cai, Xinting Huang, Shuming Shi, Wai Lam
cs.CL
cs.CL
Iterative preference learning, though yielding superior performances, requires online annotated preference labels. In this work, we study strategies to select worth-annotating response pairs for cost-efficient annotation while achieving competitive or even better performances compared with the random selection baseline for iterative preference learning. Built on assumptions regarding uncertainty and distribution shifts, we propose a comparative view to rank the implicit reward margins as predicted by DPO to select the response pairs that yield more benefits. Through extensive experiments, we show that annotating those response pairs with small margins is generally better than large or random, under both single- and multi-iteration scenarios. Besides, our empirical results suggest allocating more annotation budgets in the earlier iterations rather than later across multiple iterations.
[ -0.4896274507, 0.2124975026, 0.4203811288, 0.240173921, -0.363827914, -0.0037777559, -0.4179185629, -0.5660482645, 0.3505028784, 0.166624561, -0.2566563487, -0.0922731534, -0.7784228325, 0.0075063999, 0.3535318375, 1.1515309811, 0.1488303095, -0.0379344523, -0.4295871556, -0.496072799, -0.2026200444, -0.6252636909, -0.8779338002, -0.3925060332, 0.8845086098, 0.5955999494, 0.5580849051, 0.753518939, 0.5916681886, 0.2188974619, 0.0409321934, 0.1327786148, -0.5584579706, 0.2363345474, 0.0400256626, -0.1635062397, -0.1857629865, 0.5094560385, 0.1174580306, 0.6713246703, 0.0960578173, 0.3875919282, -0.1011705697, 1.0928333998, -0.9966725707, 0.1989109963, -0.5606977344, 0.0435198657, -0.148451522, -0.3568359315, -0.5952167511, -0.806581676, 0.470918119, -1.0889576674, -0.2271923125, 0.2893974185, 0.7237000465, 0.4161049128, 0.0692454055, -0.3669066131, -0.5039699674, 0.6841999888, -0.190512836, 0.3317520022, 0.5877331495, 0.3569144011, 0.2743836641, -0.5913560987, -0.0879020467, -0.4285365045, -0.0799710974, 0.3489920795, 0.2878881395, 0.110641472, 0.1695583016, 0.3732963204, 0.0459733866, 0.3271285295, -0.3255128264, 0.0581505373, 0.9348105192, -0.258726269, -0.3145559132, -0.0507175997, -0.4990283251, -0.4493471086, -0.4300119579, 0.636826992, 0.5406293869, 0.3742650151, 0.1070291996, 0.5038163066, -0.3467777073, 0.6846607327, 0.3349682093, -0.3446003199, 0.372307092, 0.0298472494, 0.0137202041, 0.2023981959, 0.6494761109, 0.7022794485, 0.576151669, -0.4338439703, -0.1680927277, -0.1655894965, 0.2264744192, -0.5755647421, -0.4067553282, 0.2253088802, -0.4897636175, -0.4984307885, -0.1358327717, -0.694082737, -0.4928260148, -0.5072304606, 0.6101431847, -0.1267055124, -0.1539783627, -0.0677408129, -0.6903259754, -0.1632026434, 0.3183834553, -1.1847900152, 0.312017858, 0.5806863904, 0.7974378467, -0.2659834921, 0.0056720451, -0.7594645619, -0.0499859862, -0.3612713218, 0.9528100491, -0.7470477819, -0.5168074965, -0.1622504592, -0.6651264429, 0.1277876645, -0.5680226684, 0.505156517, -0.6062632203, -0.0682928711, -0.9126579165, -0.6032041907, 0.1473940462, 0.048409801, -0.997042954, 1.0171964169, 0.0772651732, -1.0983405113, 1.0770068169, -0.5539405942, -0.2235956937, 0.0475999266, 0.0024130233, -0.3317867517, 0.1335702538, 0.1419418454, 0.393582195, -0.0985180289, -0.1713680029, -0.7056996822, -0.3241688013, 0.4762551785, 0.1104148924, 0.514690876, 0.2344313562, -0.53485322, 0.1683065593, -0.9178437591, 0.0476178862, 0.1317328811, -0.495708257, -0.6679192185, -0.0152693065, -0.1911861598, -0.0579384565, -0.0871235728, -0.5901665688, 0.3763507605, -0.0806392059, 0.286167413, 1.4131928682, -0.2765749395, 0.8337592483, -0.3494196236, -0.0072912294, -0.3823452294, 0.329353869, 0.4385650158, -0.3836653233, -0.7330048084, -0.6016784906, 0.5984725356, 0.0649613291, -0.5644378066, 0.0085454164, -0.252595365, -0.2650020123, -0.8344215751, -0.0657325834, 0.3012193739, 0.6462888122, 0.4886594713, 0.0027906252, -0.2748309374, -0.9591219425, -0.2298036218, -0.3974972963, 0.1981014013, 0.5135883093, 0.1060140505, 0.3554806709, 0.8601481318, -0.5001187921, -0.2457205355, 0.0138222706, 0.0684009418, -0.3503493965, 0.1643480062, 0.8248320222, -0.917653203, -0.5733942389, -0.2165993899, -0.3014977574, -0.0832877159, 0.0130352266, -0.2074945569, 0.2833761871, -0.2212346047, 0.1017801613, 0.198820442, 0.3574291468, 0.1480721831, -0.1242808029, -0.2271197736, 0.3316670656, -0.6264578104, 0.1517764479, 0.2480413616, -0.1019310057, -0.2323558927, -0.3318742514, 0.0570725314, 0.4800294936, -0.0768850148, 0.5248618722, -0.3223364651, -0.3316988051, -0.0231503025, 0.2543001175, -0.2281258404, 0.442935288, 0.5024531484, 0.7482579947, 0.1386704296, -0.562597394, 0.195740521, 0.2833666503, 0.0260227285, 0.6392480135, -0.4557765126, 0.3619224131, -0.1991396248, 0.2071064711, -1.1779710054, -0.2204725742, 0.3546842337, -0.4671892822, 0.150550738, -0.2299948484, -0.2290712893, -0.2280629575, -0.9215384722, 0.2224462628, 0.5087141991, -1.1967396736, 0.0082482751, 0.4379603267, 0.1011165455, -0.8962629437, -0.3936649561, -0.4351446927, -0.4030297101, -0.1321612448, 0.1285993904, -0.1837223768, -0.5295757055, -0.1155014709, -0.218754977, 0.2607414722, 0.379709065, 0.5850486159, 0.2042451501, 0.3084922433, 0.4142950773, -0.1736601293, -0.6890667081, -0.1898629218, -0.3819178045, 0.1291561723, 0.0658113733, -0.0473900586, 0.0363914631, 0.5109223127, 0.0494901799, -0.34143278, 0.5727181435, 0.3171236813, -0.1060071364, -0.0698069707, -0.7255483866, -0.1169152856, -0.4541593492, -0.3925396204, -0.6008743644, -0.8148457408, 0.2034666985, 0.05196229, 0.445373714, 0.5585302114, 0.2630588114, -0.2359071821, 0.8334259987, 0.5050250888, -0.0499237254, 0.5414413214, -0.2278465331, -0.0025030342, -0.7177816629, -0.3042064309, -0.5769915581, -0.5556493402, -0.7002382874, 0.0420293696, 0.5327966809, -0.0133387763, -0.2915171087, -0.1275287718, -0.8894864321, 0.3511304557, 1.1585502625, 0.2791212797, 0.365837127, 0.1661206931, -0.043605648, -0.2171285748, -0.4541534781, -0.2931490541, 1.4122897387, 0.054557886, 0.4807084203, -0.0457130298, 0.8952661753, 0.0593667626, 0.4616856873, -0.7287754416, 0.1378757358, -0.0919306874, -0.3295845389, -0.1822885871, -0.2513544858, -0.7133107781, 0.1443273574, -0.5453875065, -0.8745213151, 0.2469820529, 0.5588569045, -0.7427126169, 0.3212910891, -0.615907371, 0.4596138299, -0.3621811569, -0.5710884929, -0.1211424395, -0.8964931369, -0.2259978801, 0.256444782, -0.1931566745, -0.250743866, -0.1385237724, 0.8550136685, -0.0725515038, 0.2668505013, -0.2636443973, 0.3920273483, 0.0262669101, -0.3041083515, 0.2445569485, 0.3540305793, -0.4578561783, -0.0567147173, -0.3265376389, -0.3291009068, -0.2155082822, 0.7953745127, -0.835573256, -0.569214046, -0.5244787335, -0.3113087118, -0.2464063466, -0.1720128357, 0.500336647, 0.3434846401, 0.3173021376, 0.0760779455, 0.5986993909, 0.0532613881, 0.6998822689, -0.0621926151, 0.1996909082, -0.7959240079, 0.7010442615, 0.4239223301, 0.5145770311, 0.4761502445, 0.4233049452, -0.4954165816, -0.5373708606, -0.5699328184, 0.0390428416, -0.7901536822, -0.0362804607, -0.7271636128, 0.4074701965, -0.3124405146, -0.5310800076, -0.5609001517, -0.8575650454, 0.0743993074, -0.5252107978, 0.8613166213, 0.5197348595, -0.7165068984, 0.020007303, -0.1819893122, 0.216977939, 0.6968972087, 0.5519562364, -0.0791591331, 0.0572188571, 0.0674536303, -0.1174558699, -0.1112349033, -0.7869616747, -0.0805370957, -0.1423817575, 0.7150296569, 0.2580810189, 0.4784392416, 0.8188576102, -0.0737086013, 0.5787402987, 0.0438514762, -0.5959278345, 0.461886704, 0.046054855, -0.2594920099, 1.0366955996, 0.8333193064, -0.2252354622, 0.2559775114, -0.7044928074, -1.2295218706, 0.7550275326, 0.1301840991, -0.2311457992, 0.0618060343, 0.599478662, 0.5754714608, 0.4703487754, -0.6919968724, -0.6606663465, -0.241162926, 0.0795629025, -0.2594370544, -0.2562515736, -0.4670514762, -0.1938359737, 0.6061990261, -0.2917177081, 0.3306037784, 0.3101023138, 0.0199788902, -0.1510965377, 0.046763055, 0.3105067015, 0.4883955121, -0.5374544263, 0.1860454381, 0.0365223251, 0.1227577701, 0.1691438556, 0.1672832221, -0.0129129887, -0.161168471, 0.0673254281, 1.1732692719, 0.0652308613, -0.3471763134, 0.5716317892, -0.0986197367, -0.0446945801, -0.1579406112, -0.1633108854, 0.0362508595, 0.1968108118, 0.2996397316, 0.0891805217, 0.4742338061, -0.4255409241, -0.0138681876, 0.4707088768, -0.3705206811, 0.0940447301, 0.6500342488, 0.4091208279, -0.2207652032, 0.4022405446, -0.1983300149, -0.5506286025, 0.3883167207, 0.1980718821, 0.681126833, 0.2030650824, 0.467761606, 0.65163517, -0.0916519165, -0.3414283395, -0.0805012062, -0.7248895168, -0.3392820358, 0.1424558908, -0.2672771215, -0.6887645125, -0.2292438447, -0.9732067585, 0.1545909494, -0.5755296946, -0.2292475253, 0.2933804691, -0.0222726781, -0.7113725543, 0.2721843421, 0.2269795388, 0.544382751, -0.6553072333, 0.353584379, 0.8529425859, -0.5944616199, -0.8477865458, -0.1699563861, -0.0997734293, -0.9561684132, 0.9898513556, 0.3744559586, -0.0190038383, -0.1570927352, -0.2262544334, -0.749786377, 0.9284094572, 0.2618914545, -0.3946720958, 0.1324295253, -0.0173041578, 0.2561126351, -0.2572597861, 0.8537603021, 0.5489974618, 0.4742073417, 0.332691133, -0.9878214002, -0.1138492301, -0.1059726328, -0.0054582129, 0.2485332638, -1.0984416008, 0.5966794491, -0.5089427829, 0.0404504612, -0.2028311789, 0.2354488224, 0.2928000093, 0.5424641967, 0.6737335324, 0.5658638477, 0.7405076027, -0.2677370012, 1.0683714151, 0.0780349895, 0.2463956624, 1.0361812115, -0.0263338163, 0.9465021491, 0.6975527406, -0.0941104442, 0.0887289047, 1.2041113377, 0.3740193248, 1.0372450352, 0.2788076103, -0.0433929376, -0.5438137054, -0.1536609828, -0.4675377905, -0.0733758807, -0.0259237476, -0.2039206475, 0.0209264979, -0.1350108981, 0.0485127531, 0.1545060426, -0.2547053099, 1.1362073421, -0.0138941249, -0.9552669525, 0.3309005201, -0.4931944013, 0.8104199171, -0.2515205443, 0.1124111488, -0.3347271681, 0.2520580888, -0.242767036, -0.7433025837, -0.2181643844, -0.2447541207, -0.0843967497, -0.3138481677, 0.4741390049, -0.154721126, -0.0433808267, 0.5132056475, -0.1289538294, -0.3687330186, -0.0010336691, -0.4979851246, 0.1075063199, -0.0547179431, -0.553224802, 0.2837159336, -0.001521142, -0.1216139197, 0.7103674412, 0.5792841315, 0.1531418115, 0.2005833834, -0.1472135335, 0.7754999995, -0.2513951957, -0.6333256364, -0.7250141501, 0.8384723663, -0.7592929602, -0.4732093513, 0.53595227, 0.3595769107, 1.0744782686, 0.1328906864, 0.8616660237, 0.1551268548, 0.3481575549, -0.3343800604, 0.0310962014, -0.6197884679, 0.1730792224, -0.2042063624, -0.7087708712, -0.1545027941, 0.9135867953, -0.4753609896, 0.0183467213, 0.4791272581, 0.0428054631, 0.2871712148, 0.1777044088, -0.0861619636, -0.4745768309, 0.2862349749, 0.6931132674, 0.6272794604, -0.2672162354, 0.2050015479, -0.8614817262, -0.5054309964, -0.3160821795, -0.9934848547, -0.9642394185, -0.7362821698, -0.438618511, -0.3771602213, 0.3884634674, 1.5049864054, 0.8838803768, -0.5535861254, -0.0426186658, 0.3911759555, -0.1705230176, -0.3518183827, -0.1189747378, 0.2920866609, -0.5750591159, -0.7395566702, -0.2149259001, 0.3754037619, -0.036751058, 0.098300755, -0.1090212613, 0.021019537, -0.0114204325, 0.3027640879, 0.3112766743, -0.5382018089, -0.5595144033, -0.0686054677, -0.0600489229, 0.3421946466, 0.7411008477, -0.7293332815, 0.7216091156, 0.5432639122, 1.0113227367, 0.73793751, 0.0079514934, 0.4479296505, -0.5038256049, 0.2656742334, 0.0849064887, 0.2310602665, 0.4770911038, -0.3796418905, 0.9325194359, 0.2122021317, -0.6267809272, -0.815436542, 0.0344726965, -1.3152195215, -0.0162457675, 1.5008049011, -0.2377041429, 0.2204692662, 0.3345462382, -0.3563888967, 0.0993999541, -0.7190877795, 1.115031004, 0.5126239657, -0.3630638123, 0.1409959942, -0.2700670362, 0.9099085331, 0.5242363811, -0.6690902114, -0.049060531, 0.3181295991, 0.1652110517, 0.3472352326, 0.8194280267, 0.3264984488, 0.2638005912, -0.1028775498, -0.1060136929, -0.2565715313, -0.3457314968, -0.0791442171, 0.3993073404, 0.6137422919, -0.7260231972 ]
http://arxiv.org/abs/2406.17305v1
http://arxiv.org/pdf/2406.17305v1
Retrieval Augmented Instruction Tuning for Open NER with Large Language Models
2024-06-25T06:24:50
2024-06-25T06:24:50
Tingyu Xie, Jian Zhang, Yan Zhang, Yuanyuan Liang, Qi Li, Hongwei Wang
cs.CL
cs.CL
The strong capability of large language models (LLMs) has been applied to information extraction (IE) through either retrieval augmented prompting or instruction tuning (IT). However, the best way to incorporate information with LLMs for IE remains an open question. In this paper, we explore Retrieval Augmented Instruction Tuning (RA-IT) for IE, focusing on the task of open named entity recognition (NER). Specifically, for each training sample, we retrieve semantically similar examples from the training dataset as the context and prepend them to the input of the original instruction. To evaluate our RA-IT approach more thoroughly, we construct a Chinese IT dataset for open NER and evaluate RA-IT in both English and Chinese scenarios. Experimental results verify the effectiveness of RA-IT across various data sizes and in both English and Chinese scenarios. We also conduct thorough studies to explore the impacts of various retrieval strategies in the proposed RA-IT framework. Code and data are available at: https://github.com/Emma1066/Retrieval-Augmented-IT-OpenNER
[ -0.2956942022, -0.7168934345, 0.2648950517, 0.0150594013, -0.2323044986, -0.2311175764, -0.8021829724, -0.5874453783, 0.2758099139, 0.5801876783, -0.2907164991, -0.5214645863, -0.4681680202, 0.2987272441, -0.2915545404, 0.9810972214, -0.0731361732, 0.2462578416, 0.1610192209, -0.0012089676, -0.568556428, -0.1775062382, -0.8447383642, -0.1977585405, 0.5208704472, 0.7683933377, 0.3208445311, 0.9632895589, 0.6265624166, 0.1916958094, 0.1289481819, 0.437559247, -0.3806567192, 0.0357793346, -0.3696202338, -0.3376023471, -0.2376916409, -0.1110448092, 0.9706714749, 0.3675788343, -0.1930501461, 0.28465119, 0.0196855776, 0.4997057021, -0.8627019525, 0.1482282281, -0.8822945952, -0.0107703935, -0.3897581697, -0.5228248239, -0.8602056503, -0.2441722453, 0.1417639256, -0.7234437466, 0.2174868733, 0.4401132166, 1.3505066633, 0.0930716842, -0.153648749, -0.2876759171, -0.8468592763, 0.8738210201, -0.6321036816, 0.4570207596, 0.5324139595, 0.2406361252, -0.143577233, -0.6150761247, -0.4787005186, -0.173509866, -0.1193295345, 0.0633546486, -0.0684807003, 0.060921859, 0.4397008121, 0.6589398384, -0.3561921716, 0.4140952528, -0.3322647214, -0.08239232, 0.4722516239, -0.0323927626, 0.5032548308, 0.0053569227, -0.358378768, -0.1540737152, -0.8553791642, -0.1042760611, 0.1803836077, 0.6981986165, 0.1844540983, 0.7568890452, -0.1399538368, 0.8696023226, 0.2306360453, -0.000645315, 0.2125098705, -0.102441147, -0.21036686, 0.4331213832, 0.613027513, 0.0594935678, 0.4152886271, -0.3046918511, -0.5606667399, -0.5626658797, 0.2168714404, -0.9154307842, -0.2251073718, -0.2162562907, -0.286547929, 0.2197983265, 0.5319015384, -0.712431252, -0.0619955175, -0.4786425829, 0.6763102412, -0.6468333602, -0.2788780332, 0.1373072863, 0.0476380438, 0.5949236155, 0.3178634644, -0.999156177, 0.1315350682, 0.6851372123, 0.6113649607, -0.3005446792, -0.0388520546, -1.1390951872, 0.3366002142, -0.2017473727, 0.730275929, -0.9846672416, -0.1383361071, -0.113910675, 0.1871276796, -0.4651170969, -0.7761158943, 0.3978833258, -1.0292943716, 0.2779046595, -0.1503590643, -0.6955302358, -0.1545947939, 0.2892607749, -0.9798597097, 1.0944443941, -0.1044746488, -0.7265619636, 0.3446374834, -0.7450042367, -0.5662166476, 0.1759059131, -0.2408399731, -0.3326636851, 0.1573385596, 0.46096614, 0.2500590384, -0.3536339402, -0.1361941397, -0.0187542662, -0.6305409074, -0.1551583409, -0.3207386434, 0.5336824059, 0.1339020431, -0.2756274045, -0.1141704321, -0.8244503736, 0.3473405242, 0.0544985272, -0.6015694737, -0.7417143583, -0.1821502596, -0.2237583101, -0.261818409, 0.2580577135, -0.7121697068, 0.4223102927, -0.5224315524, 0.2380395979, 0.7290104628, 0.2155805528, 0.4419670999, 0.1527438313, 0.3987924755, -0.0908941925, -0.1587936878, -0.1780601889, -0.1559768915, -0.7630143166, -0.4559999704, 0.8568612933, 0.6537587643, -0.9940184951, 0.3339295089, -0.4144358933, -0.0728117451, -0.7921357751, -0.0295364, 0.4224582314, 0.5334457159, 0.4859548509, 0.0735592023, -0.5716460943, -0.7200853825, -0.2479288876, 0.1281482875, -0.0731125176, 0.4946842492, 0.3640657067, 0.053689044, 0.7130730748, -0.3901818097, -0.3837983012, -0.1230216548, 0.119403474, 0.2053119689, 0.365922302, 0.123148635, -0.77451545, -0.5157824159, 0.3482713699, -0.6781318188, 0.0824772045, 0.111630775, -0.1967835724, 0.117079936, 0.5032836199, -0.3597103059, 0.4782994986, 0.1306672841, 0.1528917998, 0.3414210081, -0.2503609657, 0.383869648, -1.1876955032, 0.1290963143, 0.0831529647, 0.1048068181, -0.2832764387, 0.264380157, 0.3143615127, 0.0355700217, -0.255995959, 0.6876404881, -1.0171858072, -0.1817950457, -0.3103786409, 0.3002423048, -0.0632434413, 0.1554246247, 0.2308460772, 1.1632652283, 0.4805343151, -0.8566355705, 0.0937849507, 0.1465771943, -0.6952208281, 0.3196192682, -0.546751976, 0.3814432919, -0.195425272, -0.3019355834, -0.450604409, -0.3429232836, 0.0799979046, -0.2930893898, 0.7608979344, -0.0747679919, -0.6353698969, -0.2227206975, -0.082348004, 0.2944414914, 0.1689423323, -1.0594522953, 0.7307701707, 0.2204912752, 0.0874481872, -0.850364089, -0.4133265615, 0.0017521753, -0.2423779368, -0.4329990447, 0.6749490499, 0.110779427, -0.1923828721, 0.1466692388, -0.2189479172, -0.197000131, -0.0104632098, -0.0829202533, 0.3517298698, -0.6404987574, 0.3484987319, 0.0313745998, -0.0968843624, -0.2987112999, -0.1289795488, 0.3552355766, -0.0194262769, -0.311378628, -0.3449554443, 0.1859889925, 0.0034525106, -0.7370064855, 0.8788790107, 0.7477113008, -0.510835588, -0.3923424482, -0.4905878305, -0.3086114824, -0.4690703154, 0.3780076802, -0.5866192579, -0.8845396638, 0.2751790285, -0.1548099816, 0.2378562689, 0.2457146943, 0.1825575382, 0.1304857284, 1.0707247257, 0.8005891442, -0.2549553514, 0.8824009299, -0.2204749882, 0.2534862757, -1.0901882648, -0.1311748028, -0.6433879733, -0.2558641136, -0.3210882545, -0.1120166928, 0.3694026768, 0.3509489, -0.110932149, 0.4140382409, -0.417247057, 0.8125807643, 0.614698112, 0.3171059787, 0.3667762876, 0.3363802135, -0.0121068461, -0.1463643163, -0.4934159815, -0.3976663649, 0.8427960277, -0.0272831954, 0.7994197011, 0.1382108033, 0.8184143901, 0.002267048, 0.1933799684, -0.844709456, 0.5233956575, -0.3672598302, -0.3729816973, -0.2032990903, -0.4777825177, -1.1102420092, -0.097110495, -0.2561556101, -0.8910697699, -0.1101771146, -0.0077288421, -0.3233219087, 0.3632375896, -0.6718910933, 0.5513135195, -0.1903662533, -0.306548804, -0.0995099619, -0.3469973803, 0.2740636468, 0.1450578421, -0.1481546313, 0.2604788542, -0.0839890093, 0.6337225437, -0.1475260705, 0.2953827977, -0.1025815755, -0.0486356393, 0.1205874532, -0.2289690524, 0.6753463745, 0.0007926582, -0.5069969296, 0.1031805947, -0.2948033214, -0.1194510832, -0.7460999489, 0.84373945, -0.7707112432, -0.6441109776, -0.1185977235, -0.4042001069, 0.0177534129, 0.4898819327, 0.4187251329, 0.5256869197, -0.0163667202, 0.3587726653, 1.1274151802, -0.3357664049, 0.4125930071, 0.8998509645, -0.1463040113, -0.3659528494, 1.1863750219, 0.2265710682, 0.0612459667, 0.8257809281, 0.0002169871, -0.0462880693, -0.5450595021, -0.7028489113, 0.3535753787, -0.5574092865, -0.3353697658, -0.3858521581, -0.5154265761, -0.1999990195, 0.3960095346, -0.2666300833, -0.1165652499, -0.662194252, -0.095910497, 0.5110334158, 0.6377717257, 0.1726861894, 0.1124239564, -0.8950485587, 0.218532294, -0.1923335195, 0.5665627718, -0.0458775572, -0.6607761383, -0.5372136235, 0.0003212263, 0.089169018, -0.7797358036, 0.265950948, 0.5608397126, 0.7147375941, 0.4227473736, 0.2508587837, 0.8525565267, -0.6928972006, 0.4782379568, -0.4326997399, -0.5813778639, 0.7126783729, -0.0050361226, 0.0802842826, 0.6861457229, 0.5228671432, -0.058070574, 0.0529182479, -0.1311185062, -0.8935275078, 0.9666846395, -0.1614762694, -0.0360638723, -0.3119542599, 0.6971826553, 0.1246111616, -0.0383714139, -0.5920908451, -0.2700588703, 0.3795567751, -0.2531305552, 0.278327018, -0.1591870189, 0.1737651676, -0.1331565678, 0.941742599, 0.0017611693, 0.2579012811, 0.078621313, -0.346814394, -0.2296378613, 0.331320554, 0.183659181, 0.3174178898, -0.1318936646, -0.0763687268, 0.0129451873, -0.5075517893, -0.3084022999, 0.2322250158, -0.3016881645, 0.0259987935, 0.2306749821, 0.9448064566, 0.238014549, -0.6309685111, 0.2959081531, -0.2230852693, 0.0670756102, -0.3581004739, 0.3049131036, -0.3938901722, 0.23668015, 0.3251926005, -0.2995916307, 0.1266717315, -0.3040356636, 0.2408007085, 0.5884646177, -0.2795790136, -0.1492188871, 0.3517680466, -0.1509278268, -0.5373412967, 1.1682329178, -0.1832967252, -0.2055062503, 0.4626266062, 0.7947826385, 0.8784457445, -0.2884710729, -0.0905581862, 0.8038341999, 0.4422223568, -0.1499614269, 0.3600057662, -0.1727765799, -0.6936126351, -0.5757239461, -0.573425293, -0.3283432126, 0.3192059696, -1.2307436466, 0.656609118, -0.2898626924, 0.1271480024, -0.015800897, -0.0456139557, -0.6069651842, 0.0184033774, 0.0387470014, 1.0798442364, -0.380656749, 0.9531259537, 0.9354776144, -0.4825180471, -1.0683284998, 0.1366595626, -0.332067281, -0.9240186214, 0.7849681377, 0.3585173786, 0.0077896938, 0.3357072473, -0.5239095688, -1.0917239189, 1.1898204088, 0.3611237109, -0.765760839, -0.2594032586, -0.1421457529, 0.3129010797, -0.3344967067, 0.4931151569, 0.4791505337, 0.4473898709, 0.0458156727, -0.9686137438, -0.19761087, -0.3944861293, -0.1613616645, 0.5362234116, -0.4529804885, 0.8030696511, -0.4180914462, -0.6612198949, 0.2039774805, 0.6852043867, 0.0536606014, 0.1325525343, 0.4209780097, 0.6632710695, 0.7609895468, -0.0485461242, 0.8572816849, -0.4192492366, 0.0210357402, 1.3989813328, -0.3673489094, 1.1806656122, 0.2357138544, 0.2689543664, 0.512384057, 0.5804437995, -0.0931961536, 0.526639998, 0.0235388875, -0.263386935, -0.1710608751, -0.2460252196, -0.3766273856, 0.5967677832, 0.4872024655, -0.5158183575, -0.2965046465, 0.3840358257, -0.1274699122, 0.1032132506, -0.5728914142, 1.1585829258, -0.0474087894, -0.713566184, 0.4899828136, 0.1772607714, 0.4883399308, -0.5762232542, -0.5523915291, 0.0684944391, 0.2367717773, -0.2063403428, -0.6067276597, 0.0295352265, 0.1118535399, -0.4126548469, -0.0503224432, 0.7196308374, -0.5737655759, -0.1967834085, 0.2918325067, 0.1645907909, 0.3102320433, -0.016675774, -0.5104573369, 0.0762070566, 0.1252906322, -0.4342186153, 0.5784511566, 0.6373426914, -0.0759217441, 0.4209262729, 0.3607794344, 0.1812929362, 0.1277824342, 0.1410377324, 0.8051674962, -0.7992964983, -0.2055927217, -0.812345624, 0.2274858952, -0.0873546004, -0.1771820486, 0.9427126646, 0.6061268449, 1.031696558, 0.1717474014, 0.4564010203, -0.0525633357, 0.6288041472, -0.8936932087, 0.3706246912, -0.5323815942, 0.5572838187, -0.1413390189, -1.0514820814, -0.0057545067, 0.6031499505, -0.556258738, -0.0391042717, 0.4879315495, 0.9197400212, -0.1064524725, 0.3588947356, 0.0757704973, 0.0738378987, 0.0979927257, 0.5297825336, 0.5882449746, -0.4913692176, 0.4270905852, -0.2692127526, -0.2075389922, -0.0839799792, -0.8839278817, -0.7940315604, -0.3389104903, -0.2938347757, -0.2211728394, 0.0872109234, 1.092900753, 0.4509385526, -0.8638283014, 0.0804642439, 0.1273716688, 0.0926295146, -0.2338697016, -0.3484022915, 0.4925273657, -0.3289969265, -0.8948036432, 0.6440435648, 0.2630461156, -0.2826740146, 0.2088210136, 0.1174082607, -0.366684407, -0.2291444689, 0.4466538131, 0.486027956, -0.5994313955, -0.5613335371, 0.3455412686, 0.0060144234, 0.0567739569, 0.6683337092, -0.6791517735, 0.7503239512, 0.1813315302, 1.0598547459, 0.3687595129, 0.0406538248, 0.5475228429, -0.9024367332, -0.1717818528, 0.1279957592, 0.3159670234, 0.264367342, -0.5148225427, 0.5515242815, -0.19100447, -0.5549093485, -0.9586643577, -0.1094856858, -0.7773020267, 0.0690193474, 1.108119607, -0.2572795451, -0.2866888344, 0.2638764977, -0.2500896752, 0.3072894514, -0.4363103807, 0.5815262198, 0.5904382467, -0.0468734019, -0.2389001697, -0.6150050759, 0.1002909765, 0.2276229858, -0.6039611101, -0.0224338509, 0.3857486248, 0.2106030434, 0.061114002, 0.3366574645, -0.1115527004, 0.3157106638, -0.2829535604, 0.1597328484, -0.2767999172, -0.4948837459, -0.3402597904, -0.0477432422, 0.1702927202, -0.3462327421 ]
http://arxiv.org/abs/2406.17304v1
http://arxiv.org/pdf/2406.17304v1
Leveraging LLMs for Dialogue Quality Measurement
2024-06-25T06:19:47
2024-06-25T06:19:47
Jinghan Jia, Abi Komma, Timothy Leffel, Xujun Peng, Ajay Nagesh, Tamer Soliman, Aram Galstyan, Anoop Kumar
cs.CL
cs.CL
In task-oriented conversational AI evaluation, unsupervised methods poorly correlate with human judgments, and supervised approaches lack generalization. Recent advances in large language models (LLMs) show robust zeroshot and few-shot capabilities across NLP tasks. This paper explores using LLMs for automated dialogue quality evaluation, experimenting with various configurations on public and proprietary datasets. Manipulating factors such as model size, in-context examples, and selection techniques, we examine "chain-of-thought" (CoT) reasoning and label extraction procedures. Our results show that (1) larger models yield more accurate dialogue labels; (2) algorithmic selection of in-context examples outperforms random selection; (3) CoT reasoning where an LLM is asked to provide justifications before outputting final labels improves performance; and (4) fine-tuned LLMs outperform out-of-the-box ones. Our results indicate that LLMs that are suitably fine-tuned and have sufficient reasoning capabilities can be leveraged for automated dialogue evaluation.
[ -0.602266252, -0.7505124807, 0.83637321, -0.0792433992, -0.3518742025, 0.3267619014, -0.238157019, -0.4416935146, -0.0342900865, 0.7567679882, -0.3822303414, -0.632828474, -0.6338345408, 0.2286413312, -0.4523302019, 0.9575237632, 0.0206972975, 0.1759812981, -0.3694354296, -0.1652244627, -0.3521696031, -0.5195369124, -0.5557931662, -0.538598001, 0.3825132251, 0.2874204218, 0.9140478969, 0.4841037989, 0.4182312191, 0.3750525415, -0.1443741024, 0.4524658322, -0.4001350999, 0.1485652924, -0.1617149413, -0.4473987818, -0.5946093798, 0.2584698796, 0.5466492772, 0.8157975078, 0.1239322126, 0.3112739921, 0.2127352059, 0.354067415, -0.6166380644, 0.2113217562, -0.6870076656, 0.0498921722, 0.3657435775, -0.262760371, -0.3637360334, -0.3423790038, 0.3715500534, -0.3028823733, -0.1417200416, 0.1827066839, 0.8597078323, 0.4699088335, -0.3706405461, -0.5058783293, -0.8560109735, 0.95771873, -1.0616407394, 0.1499803662, 0.506722331, 0.3096283376, -0.2685424089, -0.5415907502, -0.4819782078, -0.5797902346, -0.0427899286, 0.0809919611, -0.2697820663, 0.3341178, 0.1808829755, 0.4917702377, -0.2119863331, 0.3821971416, -0.0643124208, -0.2448173761, 0.6748360991, 0.375403136, 0.1709593683, -0.2093225121, -0.2607628703, -0.0411471762, -0.5358168483, 0.0732451603, 0.3129061162, 0.1390281171, 0.167855829, 0.6041702628, -0.097358942, 0.9133635759, 0.006781138, -0.2987542748, -0.1247373074, -0.5017330647, -0.5291935802, -0.2190814763, 0.9981468916, 0.5202686191, 0.1391460449, -0.1217032596, -0.370167613, -0.071776852, 0.1621043086, -0.6005375981, -0.0794466659, 0.3501529396, -0.371818006, -0.2936581075, -0.1998909265, -0.5365080833, -0.2070055306, -0.6063294411, 0.3119605184, -0.1667209268, 0.1264332235, -0.0923480466, -0.0565823056, 0.0600397214, 0.5344766378, -0.5404698253, 0.2902913988, 0.7864867449, 0.6585980058, -0.5145563483, 0.0788144991, -0.7777277827, -0.2339739799, -0.6339513659, 0.8412730694, -0.4100088179, -0.353969872, -0.0496148393, -0.2770809531, -0.0569241233, -0.7421194315, 0.5161077976, -0.3517189026, 0.2885537744, 0.1145138666, -0.7276332974, -0.0795208812, 0.5788313746, -0.4294647872, 0.8468337059, 0.2071721852, -0.3418680131, 0.3374330103, -0.336602062, -0.0770774111, 0.1385054141, -0.2265093029, -0.2178127766, 0.1575604379, 0.4389627278, 0.4921420515, -0.5099675059, 0.4574075937, -0.269638598, -0.4705091119, 0.6352530718, -0.8106657863, 0.5425274372, 0.3167270124, -0.1760992259, 0.2901436388, -0.6182107329, 0.3615852892, -0.3499262035, -0.2541008294, -0.025605062, -0.1300225407, -0.345092833, 0.1895029247, 0.045809906, -0.4403971434, -0.1010022461, -0.6044823527, 0.4417899549, 0.6039423347, 0.2106212825, 0.3500535786, -0.3731856644, 0.5059230924, -0.1569476128, 0.2113172114, -0.0951531306, -0.4686912596, -1.1182597876, -0.4900555313, 0.3331125379, 0.3767935038, -0.715883255, 0.8274483085, -0.0389396995, -0.4123830199, -0.5719614029, 0.3316700757, 0.4007481933, 0.3135251105, 0.1607767642, -0.653819561, -0.0761001185, -0.723377049, -0.1265824288, -0.382545054, -0.3795165718, 0.5672627687, 0.3703170717, -0.319511354, 1.1502559185, -0.3693672419, -0.2259920239, -0.4508783221, 0.3891067505, 0.3178407252, 0.0603333563, 0.0365097597, -0.1352141351, -0.1897578686, -0.1963816285, -0.7819894552, -0.2359251529, -0.3065892458, -0.0569322966, 0.1653159559, 0.3523890376, -0.4862824082, 0.4094866514, 0.5562508106, -0.0442192703, 0.6302409172, -0.1337777972, 0.1964408755, -0.7506714463, -0.1088654175, 0.1833785921, -0.4747801125, -0.5552318096, -0.1909792572, -0.4303772748, -0.0529399179, -0.5149653554, 0.4813223779, -0.369597733, -0.4734735191, -0.4131702781, 0.5037616491, 0.2554817796, 0.5670235157, -0.0030507757, 0.801600337, 0.3158664405, -0.525698781, 0.6411777139, 0.1634996682, -0.8576259613, 0.6005249023, -0.6817371845, 0.3803136945, 0.0824603215, 0.5410935879, -1.0673919916, -0.1554476917, 0.14044258, -0.2337576449, 0.0392966643, -0.1379333138, -0.5834527016, -0.2569468915, -0.1292883307, 0.2292947173, 0.3973602951, -0.6023387909, 0.4082100093, 0.4597412646, -0.221181035, -0.2187132388, -0.4020368755, 0.289620012, -0.2150902152, -0.3899756968, -0.0627420843, 0.0229896102, -0.4148011208, -0.3436652124, -0.2436289191, -0.1540645808, 0.0510799736, 0.297458142, 0.3614150584, -0.1283145696, 0.0779603943, -0.0466499329, -0.1111927181, 0.1525171697, -0.1109564602, 0.438626796, -0.2849926651, -0.6519163847, -0.799323082, 0.0346201621, 0.5669551492, -0.0671221092, 0.2672488391, 0.5095543861, 0.0108700106, -0.1748332828, -0.7615696788, -0.1810876578, -0.4461253881, 0.2154524475, -0.0536157899, -0.95534724, 0.2527738512, -0.3747791946, 0.0407993272, 0.1636695862, 0.4933526516, -0.3789218366, 1.1579012871, 0.2122310549, -0.1462869197, 0.3254781961, -0.2836384773, 0.5050296783, -0.9789654016, -0.1183374003, -0.4606925249, -0.0981025547, -0.4538215399, -0.6737722158, 0.6001617908, 0.1917212903, -0.2077720761, 0.2955759466, -0.4108372927, 0.4718160033, 0.4758968055, 0.084652029, 0.6000548601, -0.1015474275, 0.0790128633, 0.1312333643, -0.5935394168, -1.0357199907, 0.8386222124, 0.6089013219, 0.8462548852, -0.2475011647, 0.4839738607, 0.2343071848, 0.3280250132, -0.9811563492, 0.70525527, 0.0263489038, -0.3695272803, -0.5314109325, -0.4825148582, -0.7735783458, 0.3403618038, -0.0860179961, -1.0007586479, -0.0592309982, 0.0989844203, -0.5138901472, 0.1516786367, -0.4480312169, 0.5682830215, -0.4183705449, -0.0436053574, -0.2210992426, -0.4470243752, 0.2005100101, 0.0640460402, 0.0020736877, -0.5463472009, 0.2437405884, 0.6551095843, -0.5132762194, 0.8650317192, 0.2436349988, -0.3062921166, 0.7204549313, 0.1789063364, 0.3281133175, 0.0234015584, -0.0846998468, 0.4373115897, 0.1710365117, -0.1516899914, -0.8765786886, 0.6491776109, -0.8480095267, -0.6697860956, -0.1807499826, -0.5086991787, -0.6247329116, -0.139508605, 0.0695587024, 0.4154531658, -0.2357376218, 0.2422036082, 0.3189905882, -0.4793023169, 0.3367376029, 0.3463771045, -0.0917566791, -0.4528011084, 0.8143411875, -0.081647858, 0.6136867404, 0.2441862673, 0.1899633557, -0.4256937206, -0.4028741717, -0.4933515489, 0.0109329876, -0.7900290489, -0.335973829, -0.5122313499, -0.3607937396, -0.1745980978, 0.0839510113, -0.4052181542, -0.4194453955, -0.2944396138, -0.1279945672, -0.013082928, 0.6530877948, 0.2103114873, 0.3343040943, -0.7449582815, 0.273893714, 0.4533019364, 0.3151957691, -0.0100009441, -0.6618360877, -0.1025743261, 0.2571904957, -0.5404573083, -0.5889325142, 0.5284839272, 0.0147083178, 0.5915956497, 0.2791011035, 0.0388688333, 0.5386971831, -0.1000929624, 0.9936801195, 0.2397536933, -1.0201611519, 0.6039240956, -0.1663773656, 0.4910672009, 0.6528166533, 0.1256488562, -0.2725304067, -0.7694373131, -0.3170544505, -0.6641376019, 0.521350503, 0.3449707031, 0.0260469485, -0.1797257513, 0.0679519549, 0.0226289332, 0.2544955909, -0.3865198195, -0.074023433, -0.0207202882, -0.0875407681, -0.2177701592, -0.1831289679, -0.2304869592, -0.2358365208, 0.4469105005, -0.2913303673, 0.2229983956, 0.1559042782, -0.118173331, -0.0464954153, 0.4537705183, 0.2751118243, 0.8415523767, -0.2004011422, -0.0188104194, 0.3685289919, 0.171150133, 0.1750046313, -0.3050435185, 0.0813333765, 0.1692312807, 0.4394131005, 0.9409028888, 0.1213580072, -0.8919223547, 0.5202282071, -0.0867888331, -0.0504762754, -0.2026868314, 0.2881643176, -0.2366235405, 0.3249889016, 0.1449544132, -0.1352845281, 0.261112839, -0.7021467686, 0.0368107557, 0.5638224483, -0.5152335167, 0.0500794426, 0.1677290648, 0.5117861032, -0.4468083382, 0.8422285318, 0.011043705, -0.2804986835, 0.5465338826, 0.2384495735, 0.8679552078, 0.087849915, 0.3216122389, 0.2298891842, 0.1518993527, 0.0010018961, -0.2724759877, -0.2619485855, -0.817281425, -0.7370798588, -0.6046575308, -1.0064003468, 0.3027025163, -0.6980116367, 0.1595017761, -0.5318123102, -0.4586833715, -0.1111661121, -0.0333032645, -0.7814131379, 0.2980432212, 0.2976007462, 0.6639589071, -0.5685960054, 0.5328269005, 0.1845396757, -0.1968298107, -0.725631237, -0.0441016294, 0.008333928, -0.7600739598, 0.5336774588, 0.1215186194, -0.3669616282, -0.324950695, -0.5717993379, -0.7568611503, 0.9533312917, 0.3398447037, -0.7411906719, 0.1026885957, 0.3019099236, 0.903627038, -0.5519502163, 0.7167348266, 0.9041757584, 0.2305752784, 0.2397997826, -1.111384511, -0.257260859, 0.1544727534, 0.0836957321, -0.0344131105, -0.2977233529, 0.2365948856, -0.0641991273, -0.0920813605, 0.2984003723, 0.5217546821, 0.3385420144, 0.4473363757, 0.5604017973, 0.3431882858, 0.6264718175, -0.1432516873, 1.0113501549, -0.2476998121, 0.2480894476, 1.3419942856, -0.4243745506, 0.8463311791, 0.2896542251, -0.0960659608, 0.3460893929, 0.5184652805, -0.0352957696, 0.2416976988, 0.4569534659, -0.2962638438, -0.4377306998, -0.4213615358, 0.1284959614, 0.7544273734, 0.5369603634, -0.5119740367, -0.1925841123, 0.0209991615, -0.1551331729, -0.0027551656, -0.1694910377, 1.2201346159, 0.2731741369, -1.0526131392, 0.748277843, -0.1940110177, 0.4377603531, -0.096453689, -0.0534845963, -0.256868422, -0.0097448817, -0.0544865392, -1.0255386829, 0.2654535174, 0.2507115602, 0.2531558573, -0.3543778062, 0.5058118701, -0.3752950728, -0.3878248632, 0.3013716936, 0.6190806031, 0.5891634226, -0.0156940911, -0.655348599, 0.2711224854, -0.1254330575, -0.0640389994, 0.3472482562, 0.2691898048, 0.0362379178, 0.7877965569, 0.5414912701, 0.0689454526, -0.3043357134, 0.4839029908, 0.8550972939, -0.4964268804, -0.0398898721, -0.7531449199, 0.3119481206, -0.2253420353, -0.3089575171, 0.5607289076, 0.3254057169, 0.8065575361, 0.3283731341, 0.6470440626, 0.4911026657, 0.4322761595, -0.4962401688, 0.4784589708, -0.2100083828, 0.4142922461, -0.3430488408, -1.1183462143, -0.2141524553, 0.6896414757, -0.4365647435, -0.1179207563, 0.5639989376, 0.8299885988, 0.1581409723, 0.085188143, 0.6742843986, 0.1198092923, 0.5522353053, 0.4331205785, 1.1737582684, -0.2820112109, 0.546462059, -0.0171474963, -0.3264959455, -0.1577882618, -0.9093008637, -1.0971465111, -0.3301104605, -0.5195959806, -0.2165530622, 0.1206286997, 1.1224365234, 0.8358849883, -0.7169851065, -0.3760974705, -0.0114217475, 0.1574503779, 0.0422778316, -0.1977398694, 0.0331157818, -0.5320612788, -0.7913075089, 0.6102084517, 0.4987508357, -0.0551727191, -0.3721224368, -0.0752129182, 0.1189355031, 0.3210086524, 0.7427458167, -0.0475478396, -1.0307403803, -0.3313983381, -0.3891133368, -0.253477633, 0.1114151701, 0.6843343973, -0.7103220224, 0.621045053, 0.4025444686, 0.5855306387, 0.4252494872, 0.3309966922, 0.7812629342, -0.6246959567, -0.194400683, 0.5057843328, 0.314258337, 0.3824496567, -0.1250503361, 0.4278360605, -0.3417788148, -0.8164215684, -0.777118206, 0.0952271223, -0.8797982335, -0.1196828261, 1.3663725853, -0.3995286524, -0.0571318418, -0.1441087574, -0.3755088151, 0.1167765558, -0.3959826827, 0.7705426216, 0.8038678169, -0.4708990455, -0.1851296574, -0.5413403511, 0.3572685719, 0.4056967199, -1.0096714497, -0.2178685367, 0.5742453337, 0.0906732753, 0.251493305, 0.6135578156, -0.0001417673, 0.0480155982, -0.3195920885, -0.2515718937, 0.115151681, -0.3131878674, -0.34631598, -0.072813876, 0.3665749431, -0.1930260807 ]
http://arxiv.org/abs/2406.17300v1
http://arxiv.org/pdf/2406.17300v1
CausalScore: An Automatic Reference-Free Metric for Assessing Response Relevance in Open-Domain Dialogue Systems
2024-06-25T06:08:16
2024-06-25T06:08:16
Tao Feng, Lizhen Qu, Xiaoxi Kang, Gholamreza Haffari
cs.CL
cs.CL
Automatically evaluating the quality of responses in open-domain dialogue systems is a challenging but crucial task. Current evaluation metrics often fail to align with human judgments, especially when assessing responses that are grammatically correct. To address this issue, we propose a novel metric, called CausalScore, which assesses the relevance of responses by measuring the causal strength between dialogue histories and responses. The causal strength is estimated by utilizing both unconditional dependence and conditional dependencies from the dialogue history to responses. We compare our metric with the existing competitive metrics in terms of their alignment with human judgements. Our experimental results demonstrate that CausalScore significantly surpasses existing state-of-the-art metrics by aligning better with human judgements. Additionally, we collect a new dialogue dataset CGDIALOG+ with human-annotated causal relations and a set of pairwise human judgements to facilitate the development of future automatic metrics.
[ -0.3550668061, -0.4249512851, 0.6184849143, 0.3201988041, -0.0582708083, -0.1083567962, -0.1841223687, -0.3199641705, 0.0716850236, 0.3241943717, -0.323962003, -0.2075101584, -0.5252574086, 0.0832756236, -0.0755821317, 0.9513455033, 0.0921297818, 0.2436244339, -0.6729477644, -0.5972386599, -0.8834303021, -0.4066322446, -0.4538049102, -0.158746779, 0.6935659647, 0.2678028941, 0.7786411047, 0.1005953252, 0.7156674266, 0.3093824387, 0.2239102572, 0.1870030463, -0.4964575171, 0.074507229, -0.5959025025, -0.1197170764, -0.6132717729, 0.2796159089, 0.5303151608, 0.8065422773, 0.0249871574, 0.4972785711, 0.2815071642, 0.3319664896, -0.8363557458, 0.3099574447, -0.3518123031, -0.2480111569, 0.2020900548, -0.6638847589, -0.4805663526, -0.7192897797, 0.4236653149, -0.6811724305, 0.1443175077, 0.3028972745, 0.862875402, 0.2827095985, -0.7305892706, -0.0935376063, -0.9081842303, 0.603631258, -0.9084773064, 0.3412951231, 0.339066118, 0.6295397878, -0.2551124394, -0.555544734, -0.4458556473, -0.3717804551, -0.4865555465, 0.3600452542, -0.3369862139, 0.0297714788, 0.1382682621, 0.271527797, -0.5196303725, -0.1179591939, -0.2636888623, -0.3547763824, 0.4937532842, 0.5908358693, 0.3343353868, -0.1237951592, -0.3665869236, 0.098965995, -0.39080441, 0.2473587245, 0.1955835819, 0.4532909393, 0.0991415456, 0.3846494257, -0.2802964747, 0.7138493657, 0.2087101042, -0.1891797632, -0.1974146366, -0.6530870795, -0.3681733012, 0.0768220723, 1.127125144, 0.5886346102, -0.0486101694, -0.2868391573, 0.3108227551, 0.1794853956, 0.4742321968, -0.7275319695, -0.0665407255, -0.0631606877, -0.2301937491, -0.0914331377, 0.321290344, -0.6546553373, -0.2639431357, -0.3268111348, 0.5750849247, 0.1272081733, -0.0186546613, 0.114651747, -0.0805066973, -0.157767728, 0.7274983525, -0.4734945595, 0.3964320719, 0.5921829343, 0.6038698554, -0.0154833347, 0.016109135, -0.8757023215, -0.0444798432, -0.3972528279, 0.7977137566, -0.3081274629, -0.2212207466, -0.1310746372, 0.0397751778, -0.0577337556, -0.4618448019, 1.0752027035, -0.5964779854, 0.6075627208, -0.1282954812, -0.4240549505, -0.3036065996, -0.0039621987, -0.5061358213, 0.8085469604, 0.2322032154, -0.8404837847, 0.6515911818, -0.1205449551, -0.2178699374, 0.0062960424, -0.1503053457, -0.2798478603, 0.0420267805, -0.0905523673, 0.0713713095, -1.0866868496, 0.7208263278, -0.6875889897, -0.1979149133, 0.2560870945, -0.5640089512, 0.7046066523, -0.0231358428, -0.4216123819, 0.2142140567, -0.9211508036, 0.0787853003, -0.2511112988, -0.0532720499, -0.6141808629, 0.1433973312, -0.4982711077, 0.5165251493, 0.0587429963, -0.6910641193, -0.1675770134, -0.2578032017, -0.130883798, 0.6904079914, 0.2357674837, 0.2902370393, -0.2318318337, 0.2081409544, -0.0598410666, 0.318305552, -0.0332756117, -0.5937979817, -0.8070905209, -0.296808809, 0.0708957762, 0.5856199861, -0.1219907627, 0.9360933304, -0.4940259755, -0.4660188854, -0.3848483562, -0.0991324633, 0.5325275064, 0.9582148194, 0.3008898497, -0.9254643321, -0.3770498931, -0.9046418667, -0.4726021588, -0.844352901, -0.2983463705, 0.7152729034, 0.0541476384, 0.1299343407, 1.3511039019, -0.6011449695, -0.3551995456, 0.3233741224, 0.4323962629, 0.1942873299, 0.1520970464, 0.3078201413, -0.307025969, -0.2322003245, -0.1250983924, -0.9689821005, -0.6293617487, -0.0366031453, -0.3208125234, -0.1822874099, 0.1949548423, -0.4685453176, 0.5269119143, 0.2618843019, -0.7939707637, 0.7137001753, 0.0349093936, 0.7689779401, -0.7401309013, 0.588383913, 0.029811617, -0.1241067722, -0.4399968982, -0.4195370674, 0.0111501478, -0.0518347323, -0.5254734159, 0.778883934, -0.0416609533, -0.0095252767, 0.2282390445, 0.4189631641, -0.0113855973, 0.6900213957, -0.2894292772, 0.6825507283, -0.0658823624, -0.6331496239, 0.4441480935, 0.5429209471, -0.4799085557, 1.1295039654, -0.7255197167, -0.014721958, 0.2093520612, 0.442559123, -1.3644589186, -0.1990493834, 0.270000428, -0.6166424751, -0.2259500474, -0.0732741281, -0.3652568758, -0.4663686752, -0.005652701, 0.6520097256, 0.1057036296, -0.4639344513, 0.3484374285, 0.1530317515, -0.2276939005, -0.2526528835, -0.0749432519, 0.0684876218, -0.3113085628, -0.7136299014, -0.2218869925, -0.2008170485, -0.3464022279, -0.1547335535, -0.3839808404, -0.0231607687, 0.0724519417, 0.370988518, 0.3785316348, -0.3040815592, -0.0150602376, -0.1078763083, -0.2568227351, 0.3614301383, -0.3075419366, 0.0294045098, 0.1226351261, -0.4868266582, -0.5612999201, 0.1517896354, 0.9014037251, -0.0682381913, 0.4075844288, 0.1121091694, -0.0894814804, 0.4186139107, -0.5737848282, 0.0360679738, -0.404324919, -0.0241349805, -0.0240662582, -0.9332917929, 0.3016221225, -0.071020402, -0.0824279785, 0.6077660322, 0.4528074265, 0.1496039331, 1.331807971, 0.2410602123, -0.2440134734, 0.1499791443, 0.5341560245, 0.4996163845, -0.7946926355, -0.3105790317, -0.8560643196, -0.0225776881, -0.2805161774, -0.1734770238, 0.4896654189, 0.2211955041, -0.6873072982, 0.4661076367, -0.060600616, 0.0524917431, 0.4305047989, -0.1177537963, 0.5921518207, -0.3969030678, -0.2512852252, -0.2014194727, -0.3893946707, -0.5845460296, 0.8904308677, 0.0276246052, 0.7811028361, 0.4209601879, 0.1582502425, 0.4391315579, 0.4473951161, -0.670229435, 0.5574371815, 0.2688597739, -0.4677092433, -0.2711231709, -0.6448481679, -0.8857834339, 0.3288854361, -0.037759874, -1.0444604158, 0.1767441332, 0.030392589, -0.5382345319, -0.0319911577, -0.5191483498, 0.8043230176, -0.1880062968, -0.5424565673, -0.1075275764, -0.7290335894, 0.3548877239, -0.0492127575, -0.0149903996, -0.3756456077, 0.2722614408, 0.806040585, -0.6701890826, 0.8457117677, 0.0046757488, -0.2135700583, 0.1906415969, 0.2642342746, 0.1994269788, 0.2480627745, 0.2651270032, 0.1021055132, -0.1590906084, -0.1771064848, -1.057043314, 0.6927087903, -0.6140429974, -0.8714780211, -0.407838881, -0.1727294624, -0.600607872, 0.2570011914, -0.1673747748, 0.5438916087, -0.8933581114, 0.047594253, 0.3148400486, -0.2587771416, 0.09710031, 1.0732575655, 0.0035046614, -0.7394541502, 0.5003068447, -0.1698201895, 0.388733834, 0.4974026978, 0.2358264476, -0.197906211, 0.2981340885, -0.5085546374, 0.0703403503, -0.4923382998, -0.585506916, -0.6845035553, -0.0127076032, -0.2699812055, -0.0053672837, -0.0528335981, -0.5958634615, -0.1835111231, 0.0158420522, 0.1184421629, 0.3505041897, -0.054643292, -0.0682863966, -0.7478892207, 0.2220406681, 0.6553632617, 0.4296852052, 0.1174776331, -0.6621813178, -0.2884431481, -0.0259120334, -0.5277656913, -0.607611835, 0.1385066658, 0.1791593134, 0.5482808352, 0.5261796117, 0.3281385303, 0.7017487288, -0.5584375262, 1.0805785656, 0.4676455259, -0.8631415367, 0.6328646541, -0.5344700217, 0.3751863241, 0.7183479667, 0.2578380406, -0.6560662389, -0.9150155783, -0.6214333177, -0.7513126731, 0.7500613928, 0.1625108272, -0.1444810927, -0.0497226901, -0.0626550242, -0.0127286334, 0.1630874127, 0.0691061169, -0.1534028351, 0.0252848025, -0.0329849795, -0.3616736829, 0.1309267282, -0.4585079253, -0.4042200744, 0.4576288462, -0.1089484021, 0.4837259948, 0.2945363224, -0.2118865252, -0.4066176414, 0.3080276251, 0.5935622454, 0.6501224637, -0.4214642346, 0.0730392039, 0.1623028517, -0.2826411724, 0.3984342813, -0.0292586517, 0.0949761122, 0.0064286767, 0.4329843223, 0.7819692492, 0.6670393348, -0.5385660529, 0.8578711748, -0.4026816189, 0.0752336085, -0.0239297617, 0.0665153265, -0.3593654037, 0.2212176323, 0.2624069452, 0.2321573496, 0.3861007988, -0.3504539132, 0.414579004, 0.2459232062, -0.8663182259, -0.4086737931, 0.9163675308, 0.4085407555, -0.2621718645, 0.473849684, 0.1205173582, -0.3094723821, 0.526614666, 0.4349404275, 1.2017823458, -0.2601812184, 0.2165869772, 0.7965250015, -0.0019236954, 0.1991983354, -0.3707251251, -0.2746574283, -0.5077201724, -0.1182692051, -0.4638182521, -0.5234754682, -0.1813782752, -0.9199148417, 0.1761917472, -0.4171853662, -0.4660210907, -0.0258805696, -0.0818543956, -0.7289057374, 0.3183388412, -0.3457280993, 0.748020947, -0.8242784739, 0.3275003135, 0.2452030629, -0.7140718102, -0.7213887572, 0.0721777081, 0.4277065098, -0.4865061939, 0.9363459349, -0.018467335, -0.5864077806, -0.3106137812, -0.1224672124, -0.7761836648, 1.0747718811, 0.3200264871, -0.1682594866, 0.2624114156, 0.0899850652, 0.7430363894, -0.2473821491, 0.7655206919, 0.6844603419, 0.3602080345, -0.1644030958, -1.4079190493, 0.2815087438, -0.4933087826, -0.1576277316, 0.4904530048, -0.821765542, 0.1526033282, -0.0279284846, -0.4156832397, 0.4072648287, 0.5850867033, -0.2297206372, 0.4095815718, 0.3905392587, 0.672257781, 0.5861968994, -0.2167546153, 0.71911937, -0.2058928907, 0.489412725, 1.2965979576, -0.3376219273, 0.709030211, 0.2770257592, -0.122522682, 0.6120297313, 0.2527076602, 0.2698410451, 0.5251566768, 0.2161785513, -0.5722538233, -0.2128411233, -0.2980903387, -0.1204100922, 0.2527917624, 0.1410983503, -0.1222486869, -0.4013819396, -0.3022722304, 0.136803478, 0.0244586505, 0.0051248483, 1.0949721336, 0.0370620601, -1.1129574776, 0.6504427791, -0.3518733978, 0.1820196658, -0.6385295987, 0.0523949377, -0.3721312881, 0.2275734544, -0.1351055056, -0.7036736012, 0.1523530781, 0.1240004078, -0.1335265338, 0.0757891759, 0.3666215241, -0.2982885838, 0.0061034942, 0.5848708749, 0.3836747408, -0.1886464506, 0.3746165931, -0.3247745037, -0.3095965385, -0.3719390631, -0.0012668154, 0.3609267175, 0.4309766889, -0.265961647, 0.5374726057, 0.5572734475, -0.2301501781, -0.3182539344, 0.2194493413, 0.7491620779, -0.6834414005, -0.4174074829, -0.4951312542, 0.5732702017, -0.2407632321, -0.5684629083, 0.9527549148, 0.5059222579, 0.6321472526, 0.2252574861, 0.5953907967, 0.0176177248, 0.6396328807, -0.1694222093, 0.5443694592, -0.4962605238, 0.0981359556, -0.8128240705, -0.9567257762, -0.4582608342, 0.1896113306, -0.3776319027, -0.229001537, 0.920743227, 0.8249391317, -0.2079850286, 0.139357388, 0.3900673389, 0.1478973031, 0.4172422886, 0.5164973736, 1.0144438744, -0.3876229227, 0.5489640236, 0.4420245588, -0.6583393812, -0.324493438, -0.8254824281, -0.7093481421, -0.6538206935, -0.185014531, -0.4115630984, 0.2079445422, 0.8069156408, 0.4823991656, -0.8780516386, -0.4784581959, 0.1585641652, -0.0971327946, -0.2816534936, -0.2721749544, 0.3169303834, -0.5129146576, -0.2495607585, 0.3024788201, 0.6314062476, -0.337133348, -0.0875563845, -0.2084734887, 0.0609892905, 0.5598765612, 0.7359151244, 0.5583758354, -0.7490344048, -0.7623695135, -0.2383788228, -0.3975860178, -0.0147896055, 1.271463275, -0.7565457821, 0.7609192729, 0.655393362, 0.4820622802, 0.0940271318, 0.1614051014, 1.0163104534, -0.4925615191, -0.0323270597, 0.1493580937, 0.2184565216, 0.1220032573, -0.1694629937, 0.521502614, 0.3412424028, -0.7726081014, -0.5978358388, 0.1661684811, -1.1415308714, 0.2107144892, 0.8722243309, -0.3763924241, 0.2209200859, -0.2973417342, -0.3551823795, 0.2335297018, -0.5518211126, 0.8076355457, 0.6745918393, -0.1761240661, 0.3484472036, -0.3654924929, 0.4522846341, 0.4899845123, -0.8277650476, 0.1987055987, 0.9329131842, 0.0048507899, 0.2918969691, 0.7930299044, -0.2373463511, 0.4599115849, -0.1934828013, -0.3892148733, 0.4505794048, -0.3458494842, -0.0509183854, -0.0070728627, 0.0001433052, 0.0389237665 ]
http://arxiv.org/abs/2406.17294v2
http://arxiv.org/pdf/2406.17294v2
Math-LLaVA: Bootstrapping Mathematical Reasoning for Multimodal Large Language Models
2024-06-25T05:43:21
2024-06-26T16:43:27
Wenhao Shi, Zhiqiang Hu, Yi Bin, Junhua Liu, Yang Yang, See-Kiong Ng, Lidong Bing, Roy Ka-Wei Lee
cs.CL
cs.CL
Large language models (LLMs) have demonstrated impressive reasoning capabilities, particularly in textual mathematical problem-solving. However, existing open-source image instruction fine-tuning datasets, containing limited question-answer pairs per image, do not fully exploit visual information to enhance the multimodal mathematical reasoning capabilities of Multimodal LLMs (MLLMs). To bridge this gap, we address the lack of high-quality, diverse multimodal mathematical datasets by collecting 40K high-quality images with question-answer pairs from 24 existing datasets and synthesizing 320K new pairs, creating the MathV360K dataset, which enhances both the breadth and depth of multimodal mathematical questions. We introduce Math-LLaVA, a LLaVA-1.5-based model fine-tuned with MathV360K. This novel approach significantly improves the multimodal mathematical reasoning capabilities of LLaVA-1.5, achieving a 19-point increase and comparable performance to GPT-4V on MathVista's minitest split. Furthermore, Math-LLaVA demonstrates enhanced generalizability, showing substantial improvements on the MMMU benchmark. Our research highlights the importance of dataset diversity and synthesis in advancing MLLMs' mathematical reasoning abilities. The code and data are available at: \url{https://github.com/HZQ950419/Math-LLaVA}.
[ -0.4220002592, -0.6951004267, 0.5330112576, 0.3528177142, -0.1739011705, 0.2850601971, -0.2327237576, -0.2241320461, 0.0735358596, 0.2734696567, -0.7763646841, -0.5039398074, -0.3223746717, 0.00872235, -0.0445442125, 0.7328959703, -0.1846553981, 0.2501048744, -0.8166275024, -0.2710312605, -0.4877249897, -0.1825070977, -0.1299125254, -0.1596994996, 0.6477407813, 0.5383719802, 0.7049946785, 0.3110658526, 0.6055304408, 0.3568549752, 0.3207701743, 0.5448625684, -0.39489007, 0.493852973, 0.0345435515, -0.6338144541, -0.4154243469, -0.2371659577, 0.6106967926, 0.5037395358, -0.1081761047, 0.36337623, -0.3567364514, 0.7350940108, -0.7267190218, 0.5223762393, -0.6707544327, -0.1468972117, -0.2345748544, -0.0606734082, -0.3201922774, -0.3694726229, -0.2540249527, -0.9440365434, -0.1730542034, -0.0113087827, 0.671628356, 0.3492790461, -0.3920237124, -0.0935906693, -0.4680370688, 1.026021719, -0.3988301158, 0.4850231409, 0.5989894271, 0.6421148777, 0.1416510195, -0.4897442162, -0.3495620191, 0.0450345874, 0.2760797441, 0.0023879176, -0.2274742275, -0.2947231233, 0.3507957458, 0.252140969, -0.5457009077, -0.1143486202, -0.4403876066, -0.3142611682, 0.6051092148, 0.3266818523, 0.0702371001, -0.0333252139, -0.1221070066, -0.1014818996, -0.809337914, 0.0383687243, 0.3638223708, -0.0074492898, -0.1151843742, 0.8102858663, -0.055103153, 0.7335865498, -0.4364009798, -0.5184933543, 0.3694686294, -0.400909543, -0.3798873723, -0.4164860845, 0.4833768308, 0.3218795359, 0.4513328373, 0.1998163015, -0.317792654, 0.336160332, -0.1389100403, -0.8369040489, -0.1518927664, 0.102533564, -0.074090153, -0.2758125067, -0.4292645752, -0.8724105358, -0.2231580764, -0.6436736584, 0.3533577323, -0.4625749588, -0.0700199977, 0.1022407487, 0.2373791039, 0.2444229871, 0.7936042547, -0.850410521, 0.1137813255, 0.6624487042, 0.5095232129, 0.100303635, -0.0506577715, -0.7288503647, -0.0911592767, -0.4312575161, 0.7487760186, -0.8127582669, 0.0034414195, -0.0152739547, -0.1820474863, 0.1183134988, -0.4422759414, 0.2771560252, -0.649404645, 0.2340716124, -0.2904819548, -0.3942949474, -0.1052281484, 0.5177143216, -0.5436995625, 0.96196872, -0.0430945866, -0.3994217515, 0.0784908757, -0.4108949304, -0.2965388894, 0.0564657375, -0.3472822607, -0.4386909604, 0.0407476053, 0.7998262644, 0.2489337623, -0.6042340994, 0.2205647677, -0.442563504, -0.0814190358, 0.4369699359, -0.5963667035, 0.731908977, 0.3231013417, 0.1515812427, 0.0614892505, -0.9377297163, 0.0907282904, 0.2962707579, -0.2111789882, -0.2713353634, -0.3734883368, 0.048805438, 0.2043794394, 0.2413320988, -0.4199535847, 0.3667805791, -0.0802909583, 0.2698466182, 0.9521425366, -0.3231374323, 0.2947171926, -0.4092735052, 0.8042613864, -0.0553943031, 0.1872448921, -0.6151170731, -0.8269268274, -0.7396249771, -0.6517011523, 0.4392694533, 0.5892315507, -1.0369637012, -0.3085184693, -0.2036727518, -0.3148210645, -0.6576681733, 0.4274838865, 0.4020184577, 0.48811239, 0.3199988902, 0.0921486616, -0.4993465245, -0.9965331554, -0.1206612363, 0.2092895061, -0.0999933332, 0.3669424057, 0.6190988421, -0.0509613045, 0.7104110718, -0.5757446289, -0.2280894667, 0.0038716665, -0.0902177617, 0.0962619409, 0.2725065649, 0.4497366846, -0.8484678864, -0.3728605509, -0.1206487194, -0.8862002492, -0.1123743057, -0.1120319813, -0.3242268264, -0.0184715874, 0.2379173785, -0.6386893988, 0.3896827698, 0.5830324292, -0.2280775011, 0.6282734871, -0.0298543833, 0.277490586, -1.0911251307, -0.218824774, 0.0946806148, -0.3199103773, -0.3021081388, 0.2040402144, 0.1163401827, -0.1222907975, -0.407253325, 0.383400619, -0.3722898364, -0.2148051411, 0.1107556447, 0.0889992043, 0.1395529807, 0.5854734778, -0.4047065079, 0.8971765637, 0.721419096, -0.2617931068, 0.8418355584, 0.2585810721, -0.5376499295, 0.7745625973, -0.5445716381, 0.0598652251, -0.172699675, 0.1231737584, -1.1163468361, -0.403198868, 0.0198538769, -0.4530425966, 0.1245092377, -0.3458435237, -0.7538737059, 0.0777173862, -0.2468818128, 0.9161741138, 0.5083342791, -0.4738288224, 0.7411437035, 0.3456179202, -0.3069084287, -0.6405929327, -0.6527173519, 0.0706682876, -0.0220557973, -0.8967341185, -0.0059552155, -0.3451677263, -0.6359865069, -0.1110143811, 0.0141324829, -0.0960786492, -0.210459426, 0.2121478319, 0.6744554639, -0.3808401823, 0.5077795982, 0.3047036827, -0.1734213978, 0.0816344395, -0.2439746559, 0.4201530218, -0.4577397108, -0.6403923631, -0.1704895347, 0.193989709, 0.7079660296, -0.5144723654, 0.5088897347, 0.4266209304, -0.4347529411, 0.0350765884, -0.5867672563, 0.0209802929, -0.4651072919, 0.1114275604, -0.5438798666, -0.820763886, 0.3672499061, -0.0883130059, 0.2952969074, 0.2953161895, 0.8398765922, -0.242247954, 0.8636075854, 0.1680144817, 0.3097050488, 0.1668113917, -0.1807066947, -0.2061390728, -0.5122466087, -0.4301988482, -0.1045370698, -0.4293849766, -0.283478111, -0.8152558208, 0.4701654911, -0.3667599559, -0.1019238234, -0.1177548394, -0.1758420169, 0.797021687, 0.3501437306, 0.1281672567, 0.4674031734, 0.4577282369, -0.3145986795, -0.4371650815, -0.425693363, -0.1184249073, 1.2591776848, 0.2635723948, 1.0258871317, 0.2801254094, 0.3813951612, 0.0651905313, 0.3010528684, -0.7128309608, 0.5725306869, 0.1021578684, -0.6324809194, -0.2044724226, -0.626480937, -0.8498885632, 0.4884251356, -0.314846009, -0.3934234381, -0.1295449734, 0.1086300835, -0.1520255357, 0.2437992096, -0.6454133391, 0.6495116949, -0.3471745253, -0.6960272789, -0.2589093745, -0.4042000175, 0.6913817525, -0.1461028755, 0.6585241556, -0.3794117868, -0.0793958455, 0.4421229661, -0.3932215571, 0.7784935236, 0.019822998, -0.5211425424, 0.2289405167, 0.3547346294, 0.2986854017, 0.2869270742, 0.2795290649, 0.1019476503, -0.0217317864, -0.5398872495, -0.8823266029, 0.851118207, -0.6138758063, -0.4985050261, -0.2271550596, -1.0869334936, -0.4334417284, 0.0403093062, -0.1733080447, 0.7382588983, 0.4223059416, 0.4344873726, 0.7414545417, -0.1507081538, 0.1493148506, 0.0963851213, -0.6437764168, -0.809707582, 0.9682358503, -0.0830959603, 0.3271157444, 0.5621542931, 0.130760029, -0.3334608674, -0.0891702548, -0.6129549146, 0.3382724226, -1.0935381651, -0.4654347897, -0.1430672705, 0.0285623558, -0.2198325098, -0.0472615659, -0.489913702, -0.7501624823, -0.0165435802, 0.1107098162, 0.6143061519, 0.4236992598, 0.1071423516, -0.1327852011, -0.5641623139, 0.5041205287, 0.655095458, 0.2962072492, -0.2743248641, -0.5017609, -0.0345445573, 0.1540594697, -0.1438468993, -0.647031188, 0.2781565785, 0.0894413888, 0.2200167477, 0.1577346921, -0.2790821493, 0.9143861532, -0.4923151433, 0.4304586351, 0.4541873336, -0.8533436656, 0.5676119328, -0.3868363202, 0.4341424406, 0.258004427, 0.2316405922, -0.1292258203, -0.0024695343, -0.2782688737, -0.5169107914, 0.2625054717, 0.5536842346, 0.0483804867, 0.4656318724, 0.1168140173, 0.2794611454, 0.2631123066, -0.6135776639, -0.2744472325, -0.3254476488, -0.3948518038, -0.0163278542, -0.0274187047, -0.4123051763, -0.647988081, 0.3756057322, -0.3351337314, 0.0986211225, -0.2821155488, -0.3704634905, -0.0333133042, 0.3553657234, 0.9227942824, 0.9784457088, 0.0500284173, 0.3134438694, 0.1435300112, -0.4378153384, 0.237240091, 0.2185074985, 0.0204070862, -0.1051396728, 0.435279727, 0.723356545, 0.3781535029, -0.9849797487, 0.4732331932, -0.1640806794, -0.5377826095, -0.2082577795, -0.1754599661, 0.156882301, 0.3914380372, 0.4047918916, 0.2096272707, -0.2452328354, -0.2609020472, 0.1041328833, 0.4635256231, 0.1726861894, -0.2395279408, 0.5790893435, -0.0276414808, -0.1204454452, 0.674508214, 0.0643874183, -0.1259595156, 0.567655623, 0.469560653, 0.3309260607, -0.0203659795, 0.2326763421, 0.272249639, 0.3696433008, 0.3072598577, 0.4146345258, -0.139302969, -0.5817357302, -0.7652924061, -0.5444580913, -0.379080832, 0.0192472171, -0.4878511727, 0.2863107324, -0.5285226703, 0.1001055762, 0.0177318659, -0.2953875661, -0.7963995337, 0.1029698551, 0.3240582049, 0.6711806059, -0.6167657971, 0.7210154533, 0.6661925316, -0.4989606142, -0.4681462049, -0.3873223066, -0.0422415249, -1.3086810112, 0.8408018351, 0.0797095522, -0.1155156121, -0.1827289611, -0.867043972, -0.8284906149, 1.1353462934, 0.8132923245, -0.7289649248, 0.0027997685, 0.2749323845, 0.3089441359, -0.3300505579, 0.2690919936, 0.1913025081, 0.4499520361, 0.6090862751, -0.8763909936, -0.1237554923, -0.4060964584, -0.0269898139, 0.220176667, -0.4862514436, 0.8726352453, -0.413474381, 0.1923329979, -0.0162868295, 0.6252639294, 0.6998220682, 0.4585234225, 0.4276027381, 0.7661873102, 0.6819623709, -0.083711043, 0.8458955884, 0.0288145505, 0.3306622505, 0.7676423788, -0.0139298122, 0.7694138885, 0.5838332176, -0.3131873608, 0.6557731628, 0.4268829226, -0.0539735258, 0.3822080791, 0.1976788342, -0.2661559284, -0.8808438778, 0.1075724065, -0.4061751366, 0.5045948625, 0.6000294089, -0.1033904776, -0.4203568101, 0.0943748206, -0.12704584, 0.0474058278, -0.2787892222, 0.2917982638, 0.0657069311, -0.5351660252, 0.8213327527, -0.1208903342, 0.3362335563, -0.6184538603, -0.3689144254, -0.3979516923, 0.1758840084, -0.1980788112, -0.8415277004, -0.0511809103, 0.0676796585, -0.012140057, -0.1955073923, 0.5791599751, -0.4577043653, -0.9233850837, -0.2540008128, 0.5970366001, 0.0562060326, 0.0629064068, -0.7699782252, 0.3374822438, -0.0924382359, 0.0145678325, 0.4627275467, 0.5380954742, -0.1342847943, 0.9602410793, 0.9883543253, -0.2890266776, 0.1585789323, 0.2189838886, 1.1661015749, -0.3295698166, -0.2075283378, -0.8975823522, 0.5914396048, 0.0729157329, -0.3540837169, 0.8351033926, 0.6008704305, 0.6298488975, -0.2171762735, 0.5539745092, 0.3313036561, 0.0778417736, -0.7549432516, 0.2161774039, -0.8794257045, 0.4227308333, -0.2526499033, -0.7928624153, -0.5979091525, 0.6758008599, -0.3306089938, 0.0107234549, 0.5355021358, 0.7005678415, -0.3076547682, -0.0740489587, 0.4302761853, -0.0369734466, 0.3596110642, 0.7794284821, 0.976365149, -0.4789627492, 0.9262421727, -0.1548925042, -0.3472956717, -0.0309764799, -0.7956581116, -0.9439864755, -0.4804146588, -0.3588188589, -0.3041281104, -0.186405316, 0.8941387534, 0.4630205333, -0.6597619653, -0.1057083756, 0.1512722224, 0.280321002, -0.0168562364, -0.1685659587, 0.0813924968, -0.3913235962, -0.5729694366, 0.3187710643, 0.4765301049, -0.1965891868, -0.5326682329, -0.0641962662, -0.2200826108, 0.0925101265, 0.7786141634, 0.1707075685, -0.7747671604, 0.2590420544, 0.2487064749, 0.1048395932, 0.2327201962, 0.790689528, -0.7161713839, 0.6047400832, 0.3660684228, 0.8552962542, 0.6717280746, -0.2878371775, 0.3308024108, -0.7942143083, 0.2257983536, 0.2367862314, 0.5389015079, 0.3836222291, -0.0118276989, 0.3110200167, 0.5257316828, -0.3853251338, -0.8863230944, 0.3785936236, -0.854871273, -0.1337023228, 1.1878483295, -0.0266605224, -0.2553052306, 0.1868306845, -0.2773033679, -0.289195776, -0.3576897383, 0.5219271183, 0.804058373, -0.0584623776, -0.6072586775, -0.6092844009, 0.1145978346, 0.4385264218, -1.0876402855, -0.0652824566, 0.7502695322, 0.2533424199, 0.1375671178, 0.3268134296, -0.2494167536, 0.4005984366, 0.1228317618, -0.1534250975, -0.3696501851, -0.3854471147, -0.0850126743, 0.2583560944, -0.2079587877, -0.2800792754 ]
http://arxiv.org/abs/2406.17287v1
http://arxiv.org/pdf/2406.17287v1
Predicting the Big Five Personality Traits in Chinese Counselling Dialogues Using Large Language Models
2024-06-25T05:30:55
2024-06-25T05:30:55
Yang Yan, Lizhi Ma, Anqi Li, Jingsong Ma, Zhenzhong Lan
cs.CL
cs.CL, cs.AI
Accurate assessment of personality traits is crucial for effective psycho-counseling, yet traditional methods like self-report questionnaires are time-consuming and biased. This study exams whether Large Language Models (LLMs) can predict the Big Five personality traits directly from counseling dialogues and introduces an innovative framework to perform the task. Our framework applies role-play and questionnaire-based prompting to condition LLMs on counseling sessions, simulating client responses to the Big Five Inventory. We evaluated our framework on 853 real-world counseling sessions, finding a significant correlation between LLM-predicted and actual Big Five traits, proving the validity of framework. Moreover, ablation studies highlight the importance of role-play simulations and task simplification via questionnaires in enhancing prediction accuracy. Meanwhile, our fine-tuned Llama3-8B model, utilizing Direct Preference Optimization with Supervised Fine-Tuning, achieves a 130.95\% improvement, surpassing the state-of-the-art Qwen1.5-110B by 36.94\% in personality prediction validity. In conclusion, LLMs can predict personality based on counseling dialogues. Our code and model are publicly available at \url{https://github.com/kuri-leo/BigFive-LLM-Predictor}, providing a valuable tool for future research in computational psychometrics.
[ -0.3629542589, -0.6000155807, 0.7008507848, 0.6568456292, -0.1411921531, -0.118382439, -0.5096470714, -0.5927568674, 0.1199052855, 0.5035410523, -0.6697847247, -0.5141997337, -0.4977023304, 0.2136840373, 0.0576788001, 0.7750697136, 0.3400463164, 0.7908267379, -0.0010874721, 0.1436703801, -0.6936330795, -0.5331833363, -0.7946998477, -0.480820179, 0.6759234667, 0.3794063926, 0.4651839137, 0.389343679, 0.4106636941, 0.2882151008, -0.3620389104, 0.0147826616, -0.4760075212, -0.0100795068, 0.0736337155, -0.3661880791, -0.7918155789, 0.1313402653, 0.484933883, 0.4946650863, -0.235297665, 0.261908263, -0.0095052803, 0.501160264, -0.2908946574, 0.3708723783, -0.5869245529, 0.1643195897, -0.0043171858, 0.0702300146, -0.4527333081, -0.3629927337, 0.1539941877, -0.1905662715, 0.1206653193, 0.0922715515, 0.4729527831, 0.1321922094, -0.6821801066, 0.0679855123, -1.023436904, 0.8203911185, -0.8727920651, 0.0985404924, 0.6804461479, 0.6165866852, -0.2751249075, -0.2999733984, -0.5298159719, -0.4225158691, -0.0861234516, 0.182380572, 0.2686066031, 0.2621384859, 0.6219395995, 0.5951156616, -0.4270571172, 0.3732105494, -0.4144588709, -0.0901565328, 1.0509477854, 0.3497351408, 0.0609519258, 0.1246522367, -0.1512927115, 0.1425216347, -0.7899395227, 0.051162824, 0.3087841868, 0.0670721009, -0.0673144832, 0.2165669203, -0.0227738786, 0.3630937934, 0.4945209622, -0.6906048656, -0.0005302173, -0.152006343, -0.1231706887, 0.2758800983, 0.7298532724, 0.5372529626, 0.4218580127, 0.1249546111, 0.1448121667, -0.223794654, 0.1022254601, -1.0606831312, -0.2225569934, 0.5941727161, -0.3875479102, -0.3653607368, -0.1497505009, -0.7163857818, -0.774455905, -0.1105419472, -0.2028394192, -0.5370341539, -0.3023016751, -0.0439021774, 0.2755487263, 0.4287744462, 0.4305993319, -0.9981268048, -0.0321990103, 0.6396821141, 0.6537062526, -0.1880544871, -0.356321454, -0.6022865772, 0.0946075991, -0.4303327501, 0.4684138894, -0.5629094243, -0.6217210293, 0.0808742419, -0.0133865168, 0.2688685954, -0.4331918955, 0.7724637985, -0.1290304214, 0.0994632095, -0.5534220934, -0.5431572199, 0.0342960954, 0.4195414484, -0.641010344, 0.6474562287, 0.0073405509, -0.5607851744, 0.5102238059, -0.5647904277, -0.2386153042, 0.065059334, 0.0675869882, -0.6540905237, -0.1627958715, 0.281883657, 0.8104900122, -0.2701832652, 0.5598763824, -0.8459827304, -0.5864822268, 0.7235246897, -0.0719897449, 0.5082309246, 0.052628167, -0.1230400652, 0.2797983587, -0.564091444, -0.0363482013, 0.070142962, -0.2405799776, -0.0123831928, -0.0098221358, -0.1344015151, 0.3045582473, 0.2270932496, -0.8449269533, 0.4974750578, -0.4166540504, 0.1944519579, 0.7364683747, -0.0097068343, 0.0370381325, -0.2123677284, 0.5677694678, 0.1411577612, 0.1384863853, -0.0523883663, -0.375213623, -0.4197990298, -0.5130339861, 0.2519561946, 0.2882175744, -0.2425739318, 0.8236551285, -0.1260217875, -0.957922101, -0.238122344, 0.2155011892, 0.4891142249, 0.0396962203, 0.2399693727, -0.0893256515, -0.5868728757, -0.5875678658, -0.1799605936, -0.1028114632, -0.0533567518, 0.3009301424, 0.4529677927, -0.0406514518, 0.5745841265, -0.6497851014, -0.2673484981, -0.6520649791, -0.1313289106, 0.3242917061, 0.3406994343, 0.7896886468, -0.7481476068, -0.6003802419, -0.1461504549, -0.3775189817, 0.003783429, 0.1570459455, 0.1063631624, 0.1180266663, 0.3282809258, -0.3870234489, 0.2766506374, 0.7018984556, -0.451094389, 0.9160678387, -0.0733514503, -0.2333482653, -1.0297482014, 0.1770535558, 0.1290308684, 0.0981914476, -0.5434085131, -0.1819225997, -0.0827681795, -0.0985453427, -0.0736111626, 0.7714689374, -0.2114177346, -0.1839396209, -0.1101528406, -0.1270384341, -0.2658264935, 0.7203164697, 0.003165449, 0.6821935773, 0.3841259778, -0.4948252738, 0.6692665219, 0.3703381717, -0.3485299349, 0.6901195049, -0.6850163341, 0.1211642921, 0.1125109792, 0.7624223828, -1.0745213032, -0.5015839338, -0.1402872056, -0.4042236507, 0.1214368418, -0.092077747, -0.2543430924, -0.5045592189, -0.3314815164, -0.0840424672, 0.4407423735, -0.4213767648, 0.487623632, -0.0913485363, -0.4090145826, -0.5908186436, -0.3561013341, -0.1443651468, -0.4050460458, -0.3617969453, 0.3260893524, -0.4365496337, -0.0546317175, -0.5256063938, 0.140482083, 0.0293219909, 0.2293531597, 0.3753300309, 0.5603933334, -0.0580506884, 0.1212109104, -0.0697478876, -0.1847122461, 0.1597584635, -0.0411710925, 0.5497214794, -0.2700592577, -0.3961676955, -0.2684019506, 0.0396393612, 0.8002493978, -0.465611577, 0.7544981241, 1.0089119673, 0.0102888271, -0.0485831685, -0.6872270703, -0.238248542, -0.4374589026, 0.4994911551, -0.3082464337, -0.8729839921, 0.6729403138, -0.0214855056, 0.1842527837, 0.0479629487, 0.7415635586, 0.0222528037, 1.5639972687, 0.6556470394, -0.2427988797, 0.5333298445, -0.1642358154, 0.4754243493, -0.9290834069, 0.051055789, -0.1914418489, -0.4652997553, -0.7812783122, 0.1160212532, 0.4761024117, -0.0950095877, -0.5656244159, -0.2810719013, -0.2485530376, 0.3274130821, 0.2798003852, -0.098479256, 0.3371048272, -0.2766450346, -0.2244753838, -0.2106453776, -0.0626024231, -0.3935445249, 1.1223578453, 0.4834403992, 0.5359389782, 0.2125990689, 0.4179791808, -0.0386421047, 0.5238921046, -1.146160841, 0.6483944654, -0.026420407, -0.6837171316, -0.5211360455, -0.2384083271, -0.6726243496, 0.2206085473, -0.2852734327, -0.8968932033, -0.0622224919, 0.25343889, -0.4228955507, 0.0652298704, -0.5124045014, 0.8061497211, -0.2906514704, -0.3134556115, -0.2239581794, -0.5863953829, 0.6005678773, -0.1528878957, -0.1883337945, -0.2604726255, 0.356780231, 0.3631556034, -0.1744937301, 0.7978977561, -0.2514263093, -0.2157752365, -0.2212131917, 0.2115068287, 0.4102688134, -0.0007553217, -0.4006356597, -0.0319929458, 0.4604025781, -0.3609443307, -0.9161176682, 0.596737206, -0.9821289182, -0.5172570348, -0.3136174381, -0.2867414653, -0.6793599129, 0.2095807195, 0.1236887723, 0.266508311, -0.5472959876, 0.2523633838, 0.3484745622, -0.2475580871, 0.2307232171, 0.645986855, -0.6312980056, -0.3260825872, 0.8656007051, 0.0477283858, 0.234717831, -0.1696732342, 0.5254146457, -0.1302133948, -0.4846262932, -0.1829557866, 0.5067210793, -0.4398845732, 0.0620802604, -0.2806680202, -0.3321799338, -0.6104229689, -0.0383887663, -0.2481198013, 0.1778972596, 0.2278743237, -0.2852143049, 0.2158322632, 0.5738816857, 0.2835259736, 0.3709765971, -0.7514769435, -0.1202296987, 0.3074839711, 0.3865704834, 0.2761398852, -0.3092569709, -0.2275996655, 0.0777578503, -0.594630003, -0.5567945242, 0.6364587545, 0.0413335524, 0.2780495584, 0.947791934, -0.0035273265, 0.5750477314, -0.0889891237, 0.9742637277, 0.0665370598, -0.6427229643, 0.2873673439, -0.612116456, 0.1671576649, 0.3271064758, 0.3960181475, -0.7688297629, -0.167588979, -0.6680095196, -0.4163835645, 0.7399223447, -0.1290778667, 0.017796766, 0.2681880891, 0.3610654771, -0.0610605031, 0.3139553368, -0.7193232179, -0.067958422, -0.1253747344, -0.2282270491, -0.2720099986, -0.4479493797, -0.1098990887, -0.4631271064, 0.7218695879, -0.489194423, 0.3924535215, 0.0181594994, 0.4705426395, -0.2188986391, 0.3688545227, 0.6095779538, 0.6486313939, -0.4408609867, -0.2995397449, 0.486933738, -0.6206229925, -0.0033979698, -0.1469747424, 0.3467307091, -0.2605363727, 0.4439250231, 0.8690648079, -0.0475887842, -0.6536836624, 0.7226029038, -0.1238069087, -0.2496310622, -1.0499010086, 0.2300094664, 0.2564692795, 0.2315352708, 0.0250615384, -0.5093095899, -0.0023476428, -0.6340740919, -0.4385236204, 0.304423362, -0.5209781528, -0.3821237087, 0.2391732782, 0.3644138873, -0.1040817574, 0.6196997762, -0.1206017211, -0.4856540263, 0.6193417311, 0.5864107609, 0.8117544055, -0.5462802649, 0.1520111114, 0.454305023, -0.3814201653, -0.1305498779, 0.3132790923, 0.1230909526, -0.9296138287, -0.6825525165, -0.8119010329, -0.6940652132, 0.4995982349, -0.5544975996, 0.4394045174, -0.6933866739, -0.0862931162, -0.0756845325, 0.4952886701, -0.3177935779, 0.2491776496, 0.4369001687, 0.591319859, -0.6447326541, 0.939438045, 0.8028019667, -0.2155619711, -1.1166496277, 0.0234208126, 0.2709956169, -0.712284565, 0.6505903006, 0.2910175323, 0.0100204507, -0.0754200742, -0.7806149721, -0.7716680169, 1.1723338366, 0.4182637036, -0.3457147479, -0.2965344787, 0.0377548821, 0.6907408237, -0.4502785802, 0.5475580096, 0.7105258703, 0.7284208536, 0.6387640834, -1.0980548859, 0.0051574497, -0.3084667027, 0.1777107418, -0.0760584697, -0.8495926261, 0.6281039119, -0.33236745, 0.2348777652, 0.2983988225, 0.5953555107, 0.4317469299, 0.0931593627, 0.4796580374, 0.0947142243, 0.7871357799, 0.0520098545, 0.839584589, -0.6566365361, 0.2271835655, 0.8608168364, -0.5178012848, 0.6595140696, 0.0990174413, -0.1771692932, 0.5947158933, 0.6112024784, -0.4456951618, -0.0312868915, 0.1853635609, -0.0517979041, -0.4218687117, -0.2370869517, -0.1470314115, 0.8780412674, 0.5147063136, -0.3621276915, 0.3651482761, -0.0213840473, 0.3240016699, -0.2233843058, -0.2269279212, 0.6307643056, 0.14806813, -0.8588044047, 0.4454884231, 0.0983265415, 0.6170447469, -0.6485576034, -0.1868636608, -0.3130547106, 0.4407927692, -0.3024454713, -0.7874401808, -0.0042309319, -0.2374592721, 0.1475220025, -0.2752729654, 0.7354026437, -0.4884242415, -0.3642696142, 0.1093607321, 0.3693900406, 0.097176224, -0.1351913661, -0.4520434141, -0.3158628047, -0.1602121145, -0.2961710095, 0.6350867152, 0.2363259345, -0.0914460495, 0.8633474112, 0.735160172, 0.3480405509, -0.5523747802, 0.0084728906, 0.6459819078, -0.9296374321, -0.7152907252, -0.890137136, 0.2786270678, -0.2463365346, -0.4964770079, 0.6409653425, 0.1107380167, 0.4775321782, 0.0340204649, 0.7264923453, 0.1798805743, 0.7510349154, -0.4564541876, 0.6627444625, -0.2602853477, 0.0045234007, -0.4099054933, -0.9686549306, -0.001474936, 0.4526123703, -0.8178600073, 0.2613581121, 0.6517633796, 0.7323446274, 0.1703509986, 0.1169404835, 0.5648753643, 0.5559889674, 0.4819810688, 0.5292373896, 0.6723601818, 0.2461252958, 0.3839918077, -0.2286110371, 0.0470516495, -0.5658499599, -0.6226599216, -1.0708912611, -0.4412904382, 0.0459017269, -0.2651186883, -0.4249818921, 1.0511449575, 0.4893205464, -0.5695106983, -0.3173211813, 0.3442038596, 0.073918134, -0.3783567846, -0.2125040442, 0.1691929698, 0.0835077986, -0.6942418814, -0.0293652602, 0.1121380627, -0.0608151816, -0.8188570142, -0.0174426325, 0.2029249966, -0.0400811508, 0.6146191955, 0.0025975467, -0.8556005955, -0.505386889, 0.0817924291, -0.1898945272, 0.061036095, 0.6795543432, -0.2887430191, 0.1601412743, 0.0956348926, 0.2319125235, 0.4110588431, 0.0501934476, 0.928753376, -0.3903492987, 0.0115799699, 0.1779053807, 0.4510023296, 0.2850289345, -0.6220061779, 0.4811677635, -0.0274146069, -0.6481801271, -0.5872385502, 0.2954866588, -0.9572638869, -0.0486047454, 1.2634660006, -0.4951896369, -0.2308196276, -0.0731378198, -0.7011938095, 0.0840887874, -0.3691397607, 0.8610469103, 0.869187057, -0.3180048764, -0.2038067579, -0.420135349, 0.6345649958, 0.500556767, -0.4716008306, 0.191813767, 0.6079286337, 0.3060280085, 0.136466369, 0.4289144874, 0.0472215265, 0.2490638644, -0.4007613957, 0.2078624368, -0.1914574057, 0.0011964117, -0.1653443575, -0.1282512546, 0.3980565965, 0.432056576 ]
http://arxiv.org/abs/2406.17283v1
http://arxiv.org/pdf/2406.17283v1
A Recursive Encoding for Cuneiform Signs
2024-06-25T05:18:12
2024-06-25T05:18:12
Daniel M. Stelzer
cs.CL
cs.CL
One of the most significant problems in cuneiform pedagogy is the process of looking up unknown signs, which often involves a tedious page-by-page search through a sign list. This paper proposes a new "recursive encoding" for signs, which represents the arrangement of strokes in a way a computer can process. A series of new algorithms then offers students a new way to look up signs by any distinctive component, as well as providing new ways to render signs and tablets electronically.
[ -0.2514272928, -0.2748840749, 0.6797149777, 0.0301579814, -0.124010779, 0.4395826459, 0.0802567601, -0.2763136029, 0.2746503055, 0.2358500212, -0.9437733889, -0.4468118846, -1.0225473642, 0.3393047154, -0.37884444, 0.3421880603, -0.2571676075, -0.2564805746, 0.4789883196, -0.0166940577, -0.2053729147, -0.6078244448, -0.8698689938, -0.4422914684, 0.5378651619, 0.4429101646, 0.8751869798, 0.5831051469, 0.4598666131, 0.3592693806, 0.0090271058, 0.3424776793, -0.2953420877, 0.2185316533, 0.0078090448, -0.3276127577, -0.0541988015, 0.2227026671, 0.5964611173, 0.9768934846, 0.0339276493, -0.0329662412, -0.4646565914, 0.884388566, -0.5324191451, 0.1887448579, -0.189634487, 0.2483381927, -0.2651945949, -0.3624794185, -0.7127591968, -0.6019833088, -0.099951148, -0.8166248202, 0.2231700569, 0.0745316818, 0.6543877721, -0.2079572231, -0.204938218, -0.5456254482, -0.5831667185, 0.573882997, -0.3358120024, 0.8657360673, 0.1739645898, 0.2573995292, -0.8026483059, -0.9682425857, -0.60822016, 0.0249268152, -0.0362806246, -0.0338977128, -0.1589913666, 0.1230703518, 0.5203492641, 0.4942887425, -0.3987419009, -0.0509196408, -0.4210474193, -0.1807840765, 0.5704069734, 0.380323112, 0.908542037, 0.1597332507, 0.0735353827, -0.2541961968, -0.7544675469, 0.352632165, 0.4961554408, 0.2726539373, 0.1360298395, 0.6206642389, -0.1833712161, 1.0003890991, 0.6759356856, 0.0118992953, 0.1938901544, 0.0735129118, -0.0023151217, 0.1549749672, 0.3916220665, 0.3773315251, 0.3354682326, -0.0344253145, -0.2436409146, 0.0350393206, 0.0532716885, -0.6183095574, -0.6649631858, 0.1108421758, -0.5600609779, -0.24121131, 0.1164546311, -0.1727538705, -0.7610099912, -0.2314322889, 0.4345943928, -0.4873663783, -0.281981647, 0.4268178642, -0.351356566, 0.178489998, 0.4670208693, -1.3047511578, 0.3109720051, 0.602327466, 0.6970075369, 0.1975629479, -0.115743272, -0.5683495998, -0.184083119, -0.0625047609, 0.7843977809, -1.0311980247, -0.3865720928, 0.0111207962, 0.2783688009, -0.1947075427, -0.1072439179, 0.1531936228, -0.3847742975, 0.1939324439, -0.1241711229, -0.6500959992, -0.4562034607, 0.0461237207, -1.2027831078, 1.0237799883, 0.4162684977, -0.6385611892, 0.0677721798, -0.4740230143, -0.763297081, 0.1877570897, -0.4993695915, -0.2724483311, 0.2713159919, 0.2975524664, 0.3473013639, 0.213140592, -0.4777150154, 0.3811302185, -0.7234622836, 0.4969411492, -0.1443903893, 1.3133392334, 0.0063727666, -0.6463171244, -0.101234898, -0.6622712016, 0.0312640406, 0.2034058124, -0.5395134091, -0.3167335689, 0.056296926, -0.1963561773, 0.051527258, 0.3595637977, -0.6629222631, 0.4407795966, -0.6060739756, 0.5903288126, 0.6261031628, 0.1147707924, 0.348882854, -0.2300577313, 0.3188343048, 0.0478313453, 0.2190859616, -0.3982611001, -1.0130023956, -0.776209712, 0.5503186584, -0.2404796481, 0.3125177622, -0.6810544729, -0.1681722552, 0.2087905854, -0.4911239743, -0.4274302721, -0.0525714904, 0.3987490535, 0.2080047727, 0.0428119116, -0.3592155278, -0.6180989742, -0.3766742945, -0.1068854406, -0.0221604723, 0.1818370223, -0.0951076746, 0.2665967941, -0.024230333, -0.0832207128, -0.46811077, 0.1550945044, -0.1928127408, 0.4579016566, 0.5789565444, 0.3626430631, 0.0902428403, -0.9421005249, -0.5604287982, 0.252079308, -0.2158968449, 0.1154522151, -0.5043042302, -0.0492583402, 0.2399831712, 0.5503255725, -0.4764425159, 0.556545496, 0.4185741544, -0.6041030884, 0.6547092795, -0.2672455907, 0.3232530951, -0.36458534, -0.2916625142, -0.1580942869, 0.0337639973, -0.7725448608, 0.2825150192, 0.1519448757, -0.2307302356, -0.4618690908, 0.2277457267, -1.071977973, 0.0420499109, -0.1591825485, 0.3607930839, 0.0662532002, 0.4071099162, 0.4019801617, 0.7066332102, 0.5165758133, -0.5624598265, 0.6657754779, 0.0985749066, -0.1969181001, 0.5087895989, -0.0364643373, 0.2943935096, -0.368968606, -0.1701244861, -1.0368765593, -0.1502994299, 0.532305479, -0.5831800103, 0.6080448627, 0.0388636552, 0.0204311647, -0.6762080789, -0.3616672754, 0.6783158183, 0.28671965, -0.6454914808, 0.6699123979, 0.2925957143, 0.2744016945, -0.6229333878, -0.3235298097, -0.1273814887, 0.2553916872, -0.724324286, 0.3614948392, 0.0401493423, 0.000375252, -0.0886714831, -0.2653636038, -0.0132421749, 0.0057650646, 0.4946209192, 0.1129624918, -0.1243481115, -0.1545442343, -0.0618933849, -0.341391772, 0.1618525237, -0.4150171578, 0.5367523432, -0.1275078058, -0.3375852108, -0.7394681573, 0.5579840541, 0.6079412103, 0.004089457, 0.0919601023, 0.2652712166, -0.8567299843, -0.1993145794, -0.3047496676, -0.0073664095, -0.5891879797, 0.1643564701, -0.4002682865, -0.4578590691, 0.3516719341, -0.3139781654, 0.0687939972, 0.0871243253, 0.4186939299, -0.2211180925, 1.0531402826, 0.5888214111, 0.4823692143, 0.4443858266, -0.3280204535, 0.5163555741, -0.765062809, -0.8031167984, -0.4268292785, -0.4277713895, -0.7659159899, -0.1866711378, -0.1420133114, -0.3716860414, -0.3644560575, 0.8542796373, -1.3080637455, 0.7158929706, 0.7500248551, 0.1966194361, 0.3980302513, 0.1782440543, -0.0993028581, -0.0630602166, -0.393974334, -0.3710177839, 0.95089221, -0.093772836, 0.7844234109, 0.0055267634, 0.9692719579, 0.3300169706, 0.3012106419, -0.8821060658, 0.4791851044, -0.4684723318, -0.4639806151, -0.413420558, -0.0142405834, -1.2595857382, -0.2908430994, -0.3957212269, -1.044085741, 0.2515824735, 0.0137704182, -0.3408881724, 0.7600093484, -0.6211004257, 0.6861687303, -0.3981478214, 0.1028897613, 0.1316484809, -0.1745405793, 0.0943548158, 0.4177420735, 0.0825441107, -0.0159473401, 0.3866275847, 0.7762332559, -0.5012750626, 0.6122906208, -0.2120707929, -0.0532108247, 0.3687106371, 0.4674546123, 0.7696961761, -0.4495335817, 0.1130912527, -0.19617185, 0.1090348363, -0.2410326153, -0.5782858729, 0.6972466111, -0.7743141651, -0.8365284204, -0.715647459, -0.4209975004, 0.1934283227, 0.5966081619, 0.543823421, 0.4936107695, 0.1563577503, -0.5539246798, 0.6608775854, -0.2504608333, 0.3535304964, 0.169694528, -0.2560652792, -0.1133118272, 1.1150220633, 0.2532927096, -0.0962323621, 0.4798607528, 0.0729632378, -0.3500272036, -0.8240433931, -0.3395107985, 0.3493716717, -0.9390960932, 0.0437355749, -0.0056069316, -0.4743352234, -0.1997880936, -0.5340076685, -0.0728471801, -0.7130594254, -0.26243186, -0.0668005049, 0.173728615, 1.0538805723, -0.055576209, 0.3985135257, -0.4526790679, 0.5292273164, 0.4295468032, 0.6146118641, 0.1407922953, -0.2249476761, -0.0779246315, -0.0637616813, -0.4256554842, -0.999001503, 0.0261663254, 0.0339550078, 0.4552812874, 0.5560352206, 0.0270343609, 0.5360575318, -0.4432659447, 0.332911253, 0.6757197976, -0.7791087627, 0.4936473668, -0.0788631737, 0.1571357399, 0.2874984443, 0.6067830324, -1.1188768148, -0.3341856897, -0.42447263, -0.7327818871, 0.5587804317, 0.4910724163, 0.2224252373, -0.3084307611, 0.5036783814, 0.3452626169, -0.2183365077, -0.5260441899, -0.6462404728, -0.5716072321, -0.226831466, 0.675804019, -0.1329210848, 0.2423480153, -0.4483855069, 0.4927784204, 0.5192922354, 0.4669306576, 0.0521010906, -0.0988842994, -0.2553026974, 0.0537781715, 0.5463902354, 0.5482208729, -0.1651315242, 0.4856376052, -0.2987002134, -1.1916478872, 0.4353838265, -0.0653708652, -0.4185043275, 0.1382405907, 0.1189532876, 0.5937223434, 0.2380814254, -0.3511110842, 0.3698376119, -0.1276957244, -0.1216358542, -0.6641356945, 0.2952888906, -0.0555663556, 0.1720038354, 0.4784533978, -0.3459812105, 0.194064185, -0.4056625366, 0.2439152598, 0.1317399442, -0.0952840596, -0.2440664321, 0.7135474086, 0.5158862472, -0.9765093327, 1.2386479378, -0.3442329168, -0.5445479155, 0.7081663013, 0.7824354172, 0.754347682, -0.2786335647, 0.5485231876, 0.7981508374, 0.3955586851, -0.1183982491, 0.8331027031, -0.0514111593, -0.4653064311, -0.3392677605, -0.2596581876, -0.8790019751, -0.0130001456, -0.4548433423, 0.2735168636, -0.8906351924, -0.2562570274, 0.4536224604, -0.0691211969, -0.7302911282, 0.3923740685, 0.7027550936, 0.9393334389, -0.5607559085, 0.5153077841, 0.6978441477, -0.4035962522, -0.8565050364, -0.5904606581, -0.065889284, -1.102327466, 0.7863265872, 0.5857033134, -0.4810756743, 0.1463598013, -0.3010922372, -0.9158760309, 0.9646618366, 0.0661156029, -0.8380090594, -0.4301144779, 0.4222370684, 0.0957918316, -0.4306217432, 0.1132438704, 0.7542911768, 0.7618145943, -0.1739190817, -0.2974799275, 0.6333066821, -0.4899887741, -0.1161328629, 0.6860553026, -0.0948833823, 0.8278405666, -0.494343549, -0.9779504538, 0.0740928352, 0.4755423367, 0.055321902, 0.6061677337, -0.121902667, 0.3910108507, 1.0858392715, -0.5015593767, 0.8770364523, -0.276448071, 0.1533612609, 0.8951007724, 0.4230233133, 0.3564808369, 0.5344541073, -0.3499910831, 1.0062355995, 0.6849860549, -0.2636906505, 0.157573238, 0.4097091258, -0.3706306219, -0.4405756593, 0.3597788215, -0.0569763519, -0.0268423799, 0.6434604526, -0.4628484547, -0.3439530134, -0.1153013185, -0.0392896906, 0.5234535336, -0.7392933965, 0.0807748511, 0.0564309992, -0.412070483, 0.5621877313, -0.0322355665, 0.4083712399, -0.2548652887, -0.4506573677, -0.2346734107, -0.247458443, -0.6736206412, -1.2671802044, 0.0726517364, -0.413996309, -0.0032480077, -0.0758729652, 0.6675263643, -0.0239217449, -0.7491612434, 0.0420620032, -0.0062312488, 0.4446251392, 0.099847123, -0.4538445771, 0.1997743249, -0.1540016681, -0.1782068163, -0.2121658921, 0.4942857623, -0.3015398979, 0.6676070094, 0.5144491196, 0.0311079416, 0.4285482466, 0.106256254, 0.541621089, -1.0997775793, -0.3312035203, -0.4516011178, 0.5008763671, -0.0368902236, -0.1684565842, 0.6361246109, 0.2011758089, 1.0138016939, -0.1073666811, 0.701412797, -0.0457882844, -0.1613419503, -0.2920764983, 0.764672935, -0.0200351086, -0.0994891822, -0.2313713878, -0.7943795919, -0.6500060558, 0.8618573546, -0.2549661994, -0.0483744778, 0.8015334606, 0.544839561, -0.0433036871, 0.1054139957, 0.3275779784, -0.211835146, -0.0549230613, 1.1435153484, 0.7826618552, -0.6894963384, 0.5822706819, -0.6071478724, -0.149071306, -0.2212029994, -0.6955963373, -0.9365720749, -0.8976825476, -0.4860092998, -0.421243161, 0.026831774, 0.5636325479, 0.1030260548, -0.904546082, -0.0636494905, -0.2617318332, 0.5294229984, -0.6103977561, -0.0740534216, 0.7824904919, 0.0284576025, -0.8074328899, -0.0044109509, 0.3955931365, 0.330973506, -0.1731078029, -0.3341121972, -0.0868780538, 0.0515797958, 0.534712553, 0.9312257171, -0.5329989195, -0.5204482079, 0.1496790797, -0.0211028066, 0.2807230651, 1.186347127, -0.6051717401, 0.7800102234, 0.5949139595, 0.3123130202, 0.5914262533, -0.3220296502, 0.1533667594, -0.2526926398, -0.1928517222, -0.0583381802, 0.4867777526, 0.4295897186, -0.6681129336, 0.2881880105, 0.1283617616, -0.0740646198, -0.5521833897, 0.5835213661, -1.0672755241, -0.0948559791, 0.682962656, -0.0724186972, -0.4603432715, -0.4629952312, -0.4200436175, 0.343379885, -0.299354434, 1.0306973457, 0.6969571114, -0.737588048, -0.4221492708, 0.0922541395, 0.4127653241, -0.2276729494, -0.2349246889, 0.137382254, 0.4277011752, 0.3113358617, 0.2755068243, 0.6189935207, -0.2821709514, 0.9502514601, 0.3965100646, -0.0617723875, -0.672983408, -0.3602882922, -0.0467232242, 0.1508632153, 0.3294580579, -0.2181342393 ]
http://arxiv.org/abs/2406.17282v2
http://arxiv.org/pdf/2406.17282v2
SetBERT: Enhancing Retrieval Performance for Boolean Logic and Set Operation Queries
2024-06-25T05:14:54
2024-06-26T14:38:31
Quan Mai, Susan Gauch, Douglas Adams
cs.CL
cs.CL
We introduce SetBERT, a fine-tuned BERT-based model designed to enhance query embeddings for set operations and Boolean logic queries, such as Intersection (AND), Difference (NOT), and Union (OR). SetBERT significantly improves retrieval performance for logic-structured queries, an area where both traditional and neural retrieval methods typically underperform. We propose an innovative use of inversed-contrastive loss, focusing on identifying the negative sentence, and fine-tuning BERT with a dataset generated via prompt GPT. Furthermore, we demonstrate that, unlike other BERT-based models, fine-tuning with triplet loss actually degrades performance for this specific task. Our experiments reveal that SetBERT-base not only significantly outperforms BERT-base (up to a 63% improvement in Recall) but also achieves performance comparable to the much larger BERT-large model, despite being only one-third the size.
[ -0.2739040256, -0.7309309244, 0.4460560083, 0.2460640669, -0.0927942544, -0.0818252414, -0.1671050191, -0.3498789072, 0.1963166147, 0.8729149699, -0.4341360331, -0.454097867, -0.3457579017, -0.3020102084, -0.3915746808, 0.9951568842, 0.256121546, 0.1385649592, 0.1889542043, -0.3885166645, -0.5775011778, -0.4983215928, -0.4616767168, -0.3612286747, 0.36864537, 0.1349119395, 0.9430549145, 0.1405933201, 0.6978040338, 0.0818747357, -0.1526755393, 0.3397466242, -0.6940898895, 0.1812845021, -0.4003058374, -0.6031541824, 0.0494617112, 0.0252591856, 0.4716679454, 0.8392416239, 0.0365285799, -0.166409567, -0.1557443887, 1.0287292004, -1.0808087587, -0.0956209302, -0.87123698, 0.3010182679, 0.2015229613, -0.2764877379, -0.4831523597, -0.8975461721, 0.1711735278, -0.5330942273, 0.4722421467, 0.1916926503, 0.8574185371, 0.5060206652, -0.4592647254, -0.1209102422, -0.5441947579, 0.5871186852, -0.6680433154, 0.5703524947, 0.2797906399, 0.0705933496, -0.195312202, -0.7363473773, -0.6058996916, -0.2117040157, -0.2238571942, 0.3351231217, -0.0119531453, 0.1949204952, 0.3750821054, 0.3251388967, -0.5080965161, -0.2440282553, -0.5565663576, -0.0345487408, 0.3052079678, 0.1050645038, 0.0090056332, 0.0370518379, -0.1747441292, 0.1907202154, -1.0945688486, 0.0901656896, 0.3829735518, 0.531033814, 0.5876583457, 0.6060804129, -0.2902832031, 1.1543720961, -0.0588111803, 0.6780466437, 0.054313004, -0.1318747997, -0.2464310229, 0.1032530069, 0.2805988789, 0.2593396604, 0.2041457742, -0.1901369691, -0.5161134005, -0.0213382076, 0.2118129581, -0.8490756154, -1.1224735975, 0.0172353815, -0.5137517452, -0.3309316635, 0.1362195015, -0.0282448661, -0.3999145031, -0.5314372182, 1.1416273117, -0.9014792442, 0.2682152987, 0.2823532522, -0.4222167134, 0.2620841861, 0.4231271744, -0.6621873379, 0.3915143609, 0.7863813043, 0.5591542125, 0.2808664739, 0.1855429709, -1.0787708759, -0.0481426232, -0.7825810313, 0.384416014, -1.1239266396, -0.0462292247, 0.1142934263, -0.1435713619, 0.018220868, -0.6959750056, 0.5854917169, -1.0034179688, 0.2693476379, -0.6617525816, -0.6330122352, -0.1172933429, 0.3677999675, -0.7232507467, 0.9600676298, -0.1293071806, -0.5434505939, 0.4910037816, -0.6485341191, -0.9331097007, -0.0496627912, -0.115834862, -0.2331579328, 0.2915381789, 0.532710135, 0.3337589204, 0.0506796576, -0.2760253549, -0.2391605079, -0.9153108001, 0.0028607757, 0.1648711562, 1.1158714294, -0.1656464338, -0.1183829159, 0.1174652278, -0.4840735197, 0.4294973612, -0.2726114988, -0.2240485996, -0.5193586349, 0.3597884476, -0.3937870562, 0.1918001026, 0.2030821294, -0.8065446615, 0.2993114889, -0.5479815602, 0.4555807114, 0.6400688291, -0.0710449293, 0.1092259809, -0.278183192, -0.0163856428, 0.0400011204, -0.0260199141, 0.159885928, -0.290917635, -0.8986983299, -0.3021633029, 0.5980302095, 0.7015755177, -0.8481892943, 0.5581908226, 0.0703149214, -0.250838846, -0.99541682, -0.2039457411, 0.3824480474, 0.8956230283, 0.550714016, 0.1827901602, -0.4337648153, -1.3688592911, -0.1069528162, 0.0567233264, 0.1007584333, 0.3415551782, 0.3945319653, 0.0955002084, 0.7404527664, -0.9448031187, -0.24718301, 0.1758903116, 0.1578370184, 0.5285518765, 0.4500341415, 0.318610996, -0.9322122335, -0.3970547915, -0.2263123691, -0.7204457521, -0.0267528649, 0.3533822298, -0.3596851528, 0.2959505618, 0.511346519, -0.4120466709, 0.8048689365, 0.1470825523, -0.1881196201, 0.6515409946, -0.3709926009, 0.3666760325, -0.5832439661, 0.0342869908, -0.4251604378, -0.2404868007, -0.3544121087, 0.1053437442, 0.6213707328, -0.2802054584, -0.2760988176, 0.0269147381, -0.1293535978, -0.17238383, -0.0268005561, 0.3421203196, 0.3430433273, 0.3872188032, -0.0699827671, 1.1323522329, 0.4464874268, -0.7848827839, 0.2851645052, 0.5657988787, -0.2627812028, 0.5852844119, -0.9449859858, -0.0720743537, -0.1607455164, 0.2648504674, -0.9648806453, 0.3024021685, -0.000266793, -0.41037184, 0.1101686582, -0.1467691809, -0.7616125345, -0.1180575341, -0.7531320453, 0.1075439006, 0.6447474957, -1.1962932348, 0.1624198854, -0.1681150943, 0.2071087658, -0.7979639769, -0.5925973654, -0.1357433647, 0.2169443518, -0.8505976796, 0.5939303041, 0.0235124324, -0.1397849917, 0.0583609641, -0.1801290661, 0.0385304131, -0.0384509936, -0.1626569182, 0.2698370218, -0.1587475389, 0.9981848001, 0.1969133168, 0.2532648146, -0.0894600451, -0.4817585647, 0.5338655114, -0.4176466465, -0.0849836916, -0.1223911718, 0.2941426933, -0.0334234983, -0.782497108, 0.9334436059, 0.6871346831, -0.5141651034, -0.2318553776, -0.5861349106, -0.4834133983, -0.4440923929, 0.1796443462, -0.5144454837, -0.8273713589, 0.6409143209, 0.3698292971, 0.0861210972, 0.4441900849, 0.3889232874, -0.5075998306, 0.8263984323, 0.3580335379, 0.1445823163, 0.458230406, -0.1898912489, 0.4407468438, -1.1394891739, -0.1703593284, -0.4458058774, -0.5011481643, -0.6901142001, 0.013506853, 0.5343588591, 0.1783149838, -0.5258870721, 0.3086287379, -0.7741850615, 0.537065804, 1.0350131989, 0.7375956774, 0.4189768434, -0.3408004045, 0.0672488213, -0.15756239, -0.5373392105, -0.3458978534, 1.2519533634, -0.4043176174, 0.9287115335, 0.5231387019, 0.8919026852, 0.5925853848, 0.0335898697, -0.4523555338, 0.5402626395, -0.42286098, -0.8307720423, -0.195710659, -0.5159242153, -0.9144487381, 0.4595434666, -0.2635760307, -1.0069956779, 0.182832554, 0.4340648949, -0.4083203375, 0.1770532131, -0.9113653302, 0.6321276426, -0.1634544432, -0.4896804094, -0.2982210517, -0.7987486124, 0.3521312475, 0.0611013323, -0.7581162453, -0.2123269737, -0.2009638101, 0.6156283617, -0.3900197446, 0.3018200397, -0.1262432486, 0.0887430161, 0.0689256787, 0.3370915353, 0.6126270294, 0.3359005153, -0.4522692859, -0.2574201226, 0.1887043566, -0.4030433297, -0.9273032546, 1.0352655649, -0.6023584008, -0.5578094721, -0.0196612645, -0.602137208, -0.3406526744, 0.1951325238, 0.2171931863, 0.6849805117, -0.0794638917, 0.3649589121, 1.0640764236, -0.2602486312, 0.2526744902, 0.4542387128, -0.1204951182, 0.0308934711, 1.0853800774, 0.0778705627, 0.1953861117, 0.7541082501, -0.0237904526, -0.1972119212, -0.3013461828, -0.0499722436, 0.1119161546, -0.7763273716, -0.314398855, -0.5098428726, -0.1460868418, -0.4822058976, -0.152718842, -0.3036726415, -0.9351510406, -0.2522844672, 0.0956633314, 0.2144162059, 0.2986026108, -0.089766182, 0.1781735718, -0.4389749169, 0.3788407743, 0.222239539, 0.7015603185, -0.4275128543, -0.3358739316, -0.0393520407, -0.0639361143, -0.4306623042, -0.7173432708, 0.2366310656, 0.3081303835, 0.2808739543, 0.0966914967, 0.3879480958, 0.4963597357, -0.4289658666, 0.4513910115, -0.1539655775, -0.8279886842, 0.8026490211, -0.4300935268, 0.2049201429, 0.7264710665, 0.0945741683, -0.2733566165, 0.0672799572, -0.7033746839, -0.7883327603, 0.8839606643, 0.7845281959, -0.1238346994, 0.040294081, 0.1535458714, 0.0103091868, 0.5042693615, -0.4130040705, -0.0770677328, -0.1140007898, -0.2047010511, 0.3063248694, -0.0143233845, -0.5134462118, -0.406360656, 0.8703396916, 0.0084188897, 0.7106519341, 0.3134983182, -0.2145285308, 0.214180842, 0.2018852085, 0.275617063, 0.7290156484, -0.9415171146, -0.0301644076, 0.080279775, 0.0719538629, -0.3911891282, 0.6803398728, -0.0745379254, -0.0591007955, 0.2873907089, 0.5115942359, -0.1300131232, -0.8369272351, 0.3853754699, 0.0322452188, -0.2362488508, -0.269749403, 0.3528316021, -0.123311013, 0.4553627372, 0.2078439593, -0.1513831764, 0.6388862729, -0.5742890835, 0.1808014959, 0.5850101113, -0.5567244887, 0.2710956335, 0.4421073794, 0.2897001803, -0.3701019287, 1.2203015089, -0.1423788965, -0.7008256912, 0.6743695736, 0.4997800589, 0.4861653745, 0.370577246, -0.1283070445, 0.078015551, 0.569442153, 0.2065996975, 0.7522702217, -0.179293111, -0.7992208004, -0.0149626834, -0.134362191, -0.3931324184, 0.0169954374, -0.7520568967, -0.05511133, -0.6378343701, 0.0059870947, 0.1405771524, 0.0833056942, -0.6969161034, 0.2684408426, -0.2896220684, 0.9263410568, -0.4681155384, 0.5349986553, 0.6274552941, -0.5402929187, -0.4610917568, 0.044956699, -0.4566148221, -0.6528120637, 0.8460161686, 0.2387025952, -0.1695019305, -0.1802228093, -0.7371656299, -0.5654863119, 0.7509061098, 0.2456567734, -0.4487994313, 0.2148813903, -0.4561223686, 0.5938522816, -0.2450112998, 0.0625368655, 0.8569406867, 0.2759723961, -0.2571510971, -0.6702805161, -0.0124373138, -0.0249044448, 0.0027491904, 0.9124866128, -0.7090095282, 0.8550633788, -0.2844220698, 0.2530157864, -0.0946335867, 0.5705570579, 0.1272545457, 0.1376143992, 0.1158178896, 0.5826838017, 0.95509094, -0.4328505993, 1.0580207109, -0.2410319597, 0.3588861227, 1.4477882385, -0.2739061117, 0.9565569162, 0.3443580568, 0.0136481486, 0.1762120128, 0.3747458458, 0.1111872047, 0.8132010102, 0.3196401, -0.337826103, -0.4853819609, 0.1474930346, -0.299636215, 0.0791219994, 0.613019526, -0.6237617135, -0.0636440217, -0.115327999, -0.1745785177, 0.1451980472, -0.3120079339, 0.3428387642, -0.2170791626, -0.7286528349, 0.6212311983, -0.1103915051, 0.3965520263, -0.2314440757, -0.3558102548, -0.2248030007, 0.5449522138, -0.2936766744, -1.0025442839, 0.152215302, -0.6577522159, -0.2030204087, 0.3394035101, 0.8247608542, -0.3739631772, -0.5884365439, 0.1649106145, 0.3230705261, -0.0820650831, -0.2784431875, -0.6818758249, -0.1177914739, 0.183976382, -0.0719018951, -0.1992817223, 0.3969352245, -0.0524675362, 0.7619495392, 0.3775963187, -0.2437297851, -0.0640397593, 0.2357648611, 1.1258091927, -0.8294417858, -0.1555833071, -0.5313696861, 0.0767267346, -0.3319574296, -0.1596255153, 0.3575906157, 0.6781383753, 0.6557201743, -0.0770266429, 0.7906097174, -0.2401449531, 0.5920306444, -0.6716276407, 0.5179371238, -0.6101408601, 0.3328126669, -0.2078030556, -0.9764470458, -0.4308477938, 0.721647203, -0.5825413465, 0.1559470594, 0.5140032768, 1.0967077017, -0.1924955249, 0.1224385425, 0.3150244653, 0.0538744591, 0.6564618945, 0.6320217848, 0.6794718504, -0.6431186199, 0.7081069946, -0.0958555788, -0.1449567825, -0.5673586726, -0.4842186272, -1.1629003286, -0.4424110353, -0.0588974729, -0.4263999164, 0.7125108838, 0.7469415069, 0.7278668284, -0.5889025927, 0.2053228319, 0.0618722998, 0.1656879634, -0.1823970228, -0.2046819776, 0.6815862656, -0.6588711739, -0.4620703161, 0.355122149, 0.1507241279, -0.4629018605, 0.2695007622, 0.1185221821, -0.667368114, 0.1400687397, 0.7465611696, 0.1788673401, -0.456636399, -0.6217167377, -0.1648081094, 0.0145537704, 0.0185733177, 0.675442636, -1.2104364634, 0.532872498, 0.5497220755, 0.6635345221, 0.7583189607, 0.1491981, 0.6900239587, -0.9761468768, -0.064478077, 0.6809456944, 0.3892802596, 0.2998421192, -0.3095041215, 1.0069161654, -0.0542794056, -0.5264118314, -0.4675138295, 0.2435002029, -0.9350976944, -0.2957977951, 0.7242660522, 0.1508692801, 0.2055801451, 0.118823953, -0.3731390238, 0.0734287649, -0.6489843726, 0.7350183129, 0.5414962769, -0.6435580254, -0.0452124774, -0.3659307659, 0.2197823972, 0.7612196207, -0.5490874648, -0.0299990103, 0.8037545085, 0.2119216919, 0.0380637273, 0.3088142276, -0.0482117236, 0.5055803657, -0.2973782122, -0.0206343941, -0.2097176313, -0.2839255631, 0.0536437891, 0.1098793224, -0.1240602955, -0.5102289319 ]
http://arxiv.org/abs/2406.17276v1
http://arxiv.org/pdf/2406.17276v1
OPT-Tree: Speculative Decoding with Adaptive Draft Tree Structure
2024-06-25T04:45:53
2024-06-25T04:45:53
Jikai Wang, Yi Su, Juntao Li, Qinrong Xia, Zi Ye, Xinyu Duan, Zhefeng Wang, Min Zhang
cs.CL
cs.CL
Autoregressive language models demonstrate excellent performance in various scenarios. However, the inference efficiency is limited by its one-step-one-word generation mode, which has become a pressing problem recently as the models become increasingly larger. Speculative decoding employs a "draft and then verify" mechanism to allow multiple tokens to be generated in one step, realizing lossless acceleration. Existing methods mainly adopt fixed heuristic draft structures, which fail to adapt to different situations to maximize the acceptance length during verification. To alleviate this dilemma, we proposed OPT-Tree, an algorithm to construct adaptive and scalable draft trees. It searches the optimal tree structure that maximizes the mathematical expectation of the acceptance length in each decoding step. Experimental results reveal that OPT-Tree outperforms the existing draft structures and achieves a speed-up ratio of up to 3.2 compared with autoregressive decoding. If the draft model is powerful enough and the node budget is sufficient, it can generate more than ten tokens in a single step. Our code is available at https://github.com/Jikai0Wang/OPT-Tree.
[ -0.1214637011, -0.8320065737, 0.3179235756, 0.4210575521, -0.5836909413, 0.524769783, 0.2099406719, -0.5030094981, 0.3694064021, 0.229315415, -0.5679528713, -0.2355904281, -0.4663170576, 0.2738871574, -0.6354901791, 0.5575474501, -0.2306566089, -0.371681571, 0.1435539275, 0.0031359519, -0.0008826723, -0.2281915098, -0.9012598395, 0.2032213956, -0.0436252132, 0.3235358596, 0.7103261948, 1.0463246107, 0.3417880237, 0.322842598, -0.129954204, 0.1691351384, -0.3596370816, 0.1372829527, 0.2580988705, -0.4443438947, -0.6056540012, -0.3478415608, 0.9946175814, 0.2900350988, -0.2355029732, 0.090585202, -0.3059508801, 0.8053247929, -0.6877521873, 0.0445929989, -1.1240800619, -0.0053881789, -0.3462108672, -0.731277585, -0.6085469723, -0.4358267188, -0.1226259023, -0.6734272838, 0.286847651, 0.290599227, 0.6303798556, 0.2176592499, -0.2276507914, -0.189717263, -0.4481361806, 0.2357877195, -0.6683804989, 0.3654813468, 0.4631156623, 0.2997560799, -0.1777022928, -0.5681036115, -0.3823322058, -0.1519230306, 0.1179746315, 0.2055980712, -0.199047491, 0.2252710611, 0.2052015364, 0.3504468501, -0.6943331957, 0.0099633159, -0.2735657096, -0.4011388421, 0.4149753451, 0.3198300898, 0.163644731, -0.191696465, -0.0388324186, -0.2295596749, -0.3436465561, 0.1275430769, 0.5985133648, 0.1828481853, -0.0011709194, 0.3431715369, -0.559479177, 0.7613376379, 0.201386109, 0.0905396938, 0.1365802586, -0.5218608975, -0.2356945276, 0.2790174186, 0.6043760777, 0.0848529115, -0.1462894231, -0.066483885, -0.2287209779, 0.2891621292, 0.1867571175, -0.9252612591, -0.2621606588, 0.3920973539, -0.6445646286, -0.4874916375, -0.2856145501, -0.6191538572, 0.0670723021, 0.3885466456, 0.0571543202, -0.8039266467, -0.5885145664, 0.6387732625, -0.2580859959, 0.1382498145, 0.290022999, -0.8455716968, 0.3744048774, 0.3278729916, 0.8919139504, -0.1323919743, -0.3372826874, -0.5323255658, -0.0666509569, -0.7231574655, 0.9451234341, -0.5299702287, -0.2821654081, -0.1020073518, -0.3203705549, -0.1445502341, -0.0217354316, 0.8983511329, -0.7373782992, -0.0588622801, -0.0181151889, -0.5091894269, -0.0082137333, 0.2528938949, -0.5122971535, 0.7176206708, 0.2800379992, -1.1202050447, 0.5356858969, -0.8351001143, -0.610231936, 0.2683794498, 0.1408421695, -0.3412803411, 0.406763941, 0.3923811018, 0.1351907402, -0.1023632064, 0.0250531211, -0.2275028378, -0.3306906819, -0.0992741138, -0.7248626947, 0.8906100392, 0.5828088522, -0.0796491876, 0.0696264654, -0.8512955308, 0.4048437476, 0.4331948161, -0.4672579467, -0.2278404236, 0.3699057698, -0.0436281972, -0.2806810141, 0.0285378508, -0.5440829396, 0.3044800758, -0.7326368093, 0.6073191762, 0.6042726636, 0.0085007418, 0.3118197024, -0.1567022502, 0.646707356, 0.1526964605, 0.1645864397, -0.6361010075, 0.0221545063, -0.6818546057, 0.0531160422, 0.4059714973, 0.1900482625, -0.950037837, 0.3804157078, -0.1559132338, -0.3823919594, -0.4726127684, -0.4919619262, 0.064238064, 0.1571585387, 0.1956877112, -0.1626012623, -0.8146205544, -0.5717653632, -0.3023055494, -0.6871143579, 0.4828611314, 0.1052604243, 0.2381037027, -0.064135775, 0.786646843, -0.4698858559, 0.2946490347, -0.0285720285, 0.0605551451, 0.2230155915, 0.5814288855, 0.6875199676, -0.4919970036, -0.6052636504, 0.2268088907, -0.2320443094, 0.0466386341, -0.3550668955, -0.1677347571, 0.2930872738, 0.4104793072, -0.5084217787, 0.1362576932, 0.62369138, -0.6629094481, 0.6263780594, -0.3878004253, 0.1375312358, -1.0292699337, -0.0207539909, -0.5037593842, -0.4204149544, -0.2235326469, 0.2937036753, 0.1409790665, 0.2294605523, -0.1220136732, 0.1637613475, -0.5871592164, -0.0397882983, -0.4498857856, -0.1673324853, -0.0954499692, 0.1636619866, -0.0033860765, 0.9317509532, 0.8291401267, -0.4746904373, 0.0120457625, -0.0898544043, -0.2808482647, 0.1439656019, -0.2946485579, 0.2148533612, -0.3350824714, 0.4553796947, -0.9450247288, -0.2733606696, 0.2374461293, -0.5027913451, 0.1007962823, -0.1247076839, -0.2899623513, -0.7122418284, -0.2699356377, 0.634038806, 0.4376227558, -0.6039571762, 0.6366016865, 0.2553289831, 0.1858506054, -0.4871792197, -0.3098952174, 0.2278563082, -0.0133406809, -0.4639805555, 0.4351875484, -0.262265116, 0.2431466728, 0.2490817904, -0.3954224288, -0.1803013235, 0.1709232181, -0.088583678, 0.0305862725, -0.3809047937, -0.2088658661, 0.4154244661, -0.2042033225, 0.1372083575, -0.9017825723, 0.2434134781, -0.1430868059, -0.2174319476, -0.2902213633, 0.3738646209, 1.0374711752, -0.1807816774, 0.3051089346, 0.3991563618, -0.4311130047, -0.4842096567, -0.4223569036, 0.036337167, -0.5051763654, 0.5382265449, -0.8123385906, -0.8165094852, 0.4427980781, -0.1555331051, 0.3633026183, 0.562199831, 0.34072873, 0.2660448551, 1.2530058622, 0.5404236913, -0.1000077203, 0.4666116834, -0.1285255551, -0.0603587441, -0.5824913979, -0.0125695821, -0.793610096, 0.1131422445, -0.2663538754, -0.4733503461, 0.0225044955, 0.2883557081, 0.0455473401, 0.4629798532, -0.8090327382, 0.6489878893, 0.2553254962, -0.0756682307, 0.3532134891, 0.3006692529, -0.5540661812, 0.1746433377, -1.1065522432, -0.1960588694, 0.8376862407, 0.4765253663, 0.6613150239, -0.106059812, 0.6665800214, 0.2594752312, 0.193946749, -0.786714375, 0.5291906595, -0.1602277458, -0.412945509, -0.2159332931, -0.4664621055, -0.7128186226, 0.231453225, -0.1568586677, -0.5225834846, 0.0276775304, 0.489122659, -0.3067634404, 0.3774199784, -0.6635231972, 0.5842030048, -0.308637023, -0.1181346402, -0.4167600274, -0.1909084618, 0.4503604174, -0.1764988452, -0.1180203184, 0.0302688014, 0.0690963864, 0.7397844791, -0.5084234476, 0.4775837362, -0.2681206763, 0.2194888592, 0.5299098492, 0.4072074294, 1.0277739763, 0.1693664193, -0.3078115284, -0.279868722, 0.3502751887, -0.453538835, -0.3395805061, 0.2986050546, -0.7550315261, -0.4242887497, -0.3865081072, -0.4376744926, -0.1853239387, 0.4608460665, 0.44135198, 0.2633043826, -0.3009340763, 0.0637314022, 0.2202315331, 0.1400499046, 0.6783240438, 0.5472564697, -0.2643939853, -0.4701249897, 0.7593083382, -0.0282297935, 0.1801122576, 0.4795467854, 0.2932365835, -0.4754737318, -1.3134948015, -0.6639713049, -0.2069275826, -0.4937720299, -0.392609179, -0.9792280197, -0.3058741689, -0.1106152311, -0.2469154149, -0.5507988334, -0.4255991876, 0.0496730357, -0.2067920566, 0.5451087356, 0.4651227891, -0.0595934354, 0.3440786004, -0.7752802372, 0.2925911844, 0.0436625853, 0.557621479, 0.20828484, -0.448516041, -0.2085509002, -0.1374603063, 0.0697139278, -0.8438239098, 0.2128321379, 0.0659650564, 0.4048115909, 0.5524018407, 0.3045493066, 0.9844654799, -0.4918210506, 0.41310817, 0.1760931164, -1.0065085888, 0.440449208, -0.419757247, 0.5437947512, 0.7147452235, -0.0291553959, -0.3111642897, -0.4790768027, -0.632840693, -0.7493874431, 1.0378984213, 0.2526126802, 0.062994279, -0.0567832105, 0.5068323612, 0.1104098856, -0.1828304082, -0.4581867754, -0.0483418815, -0.4049794972, -0.0554632097, 0.3011868298, -0.5364390016, 0.3074717522, -0.0934361741, 0.5961805582, -0.454418689, 0.3210688233, 0.2984780371, 0.2420033365, -0.6612387896, 0.2081299424, 0.3898661137, 0.3679564893, -0.3651292622, 0.1929856837, 0.1944347769, -0.5873295665, 0.1599105597, 0.0467713997, -0.3866202831, 0.043866884, 0.26083377, 1.0955004692, -0.1904463172, -0.4204901159, 0.0966016576, -0.4339394569, -0.5338955522, 0.0086837113, 0.077516675, 0.0172640346, 0.0049647903, 0.5069638491, 0.5186198354, 0.2227158397, -0.2055225223, 0.2438352555, 0.5790318847, -0.0051628225, -0.4355091751, 0.6779103279, 0.279360801, -0.3958803415, 0.5642420053, -0.5219715238, -0.5667209625, 0.6065766215, 0.9551058412, 1.2967447042, -0.1080336869, 0.3940938711, 0.6203178763, 0.5643862486, -0.2145669907, 0.4753661454, -0.2301425934, -0.7892075181, -0.5356539488, -0.939684093, -0.2367427349, -0.0476821698, -0.2319552302, -0.1037404463, -0.3707442582, -0.1279823482, -0.1979978979, -0.089539431, -0.4282725751, 0.0175615326, -0.1998554021, 1.3529362679, -0.6693969965, 0.8896386027, 0.630426228, 0.3515868783, -0.9978747964, 0.2580432296, -0.2498533279, -0.6074981689, 0.2257919908, 0.0138697224, -0.2515888512, 0.4106677771, -0.0831470639, -1.0998871326, 0.7260070443, 0.3115996122, -0.5424947739, -0.2073817402, -0.2002211362, 0.3924529552, -0.566879034, 0.3405075073, 0.4438423514, 0.4077884257, 0.3952610791, -0.5957988501, 0.1431704462, -0.2530197203, 0.0604189336, 0.2629023492, -0.3717842996, 0.6312755346, -0.2774291635, -0.6420814395, 0.1243398711, 0.5666000843, 0.1069662422, 0.0139664989, 0.8197159767, 0.3489750624, 0.7007067204, 0.1370957345, 0.9192597866, -0.7336697578, 0.2835301459, 0.7476937175, -0.0621945187, 0.817034781, 0.1872788072, -0.4012567997, 0.195178315, 0.82275635, 0.3993237019, 0.4157685637, -0.0033805333, -0.0831344351, -0.4872488379, -0.0064786547, -0.3323081732, 0.4799336493, 0.4056651592, -0.2066988647, -0.3725637794, -0.2716040611, -0.3342314959, -0.1786809713, -0.3009961545, 0.4034713209, -0.2686397731, -0.9371122122, 0.841704905, 0.2803127468, 0.5747042298, -0.854906261, 0.1639392972, 0.0342364199, 0.0385999456, -0.1596291512, -0.4338816404, 0.411711961, -0.1725248992, -0.1192425638, -0.2747012377, 0.7635214925, -0.2757332623, -0.6819329858, 0.1363978237, 0.5995137691, -0.0366185158, 0.0800820589, -0.8580933809, 0.5253210068, 0.1660003066, -0.2687502801, -0.0660303235, 0.4717425704, -0.0998412296, 0.3966912925, 0.9612833261, 0.297083348, 0.1656271666, -0.1685925573, 0.8455617428, -0.5105816126, -0.9785926938, -0.855887711, 0.2498043776, 0.0755966827, -0.2481323481, 0.5875414014, 0.580308795, 0.7025453448, 0.0519957356, 0.7590647936, -0.2209934443, 0.026818851, -0.6049189568, 0.4326888025, -0.3564241529, 0.074797757, -0.2938738465, -0.7633034587, -0.2037012577, 0.5824922919, 0.1732941568, -0.0944427475, 0.9752485752, 0.6656729579, -0.0392159559, 0.2649097145, 0.2205170542, 0.3969455361, 0.2251990288, 0.776619494, 0.7182920575, -0.4907014668, 0.6070994735, -0.0859839469, -0.2393156737, -0.1253614426, -0.9064643979, -0.7270674109, -0.5707350373, -0.3596918583, -0.3779233098, 0.2445845455, 0.867243886, 0.8240789175, -0.4983916879, -0.1604742706, -0.8377754092, 0.13707605, -0.4624568522, -0.2298804373, 0.601491034, -0.4330633581, -0.5733143091, 0.6203936338, 0.5511173606, 0.1716290116, -0.1591528505, -0.1845901459, 0.0164746139, 0.2140208781, 0.5103174448, 0.3053539693, -0.5710201263, -0.0843229815, 0.1019131392, 0.0641059726, 0.0049109254, 1.1026799679, -0.990004003, 0.6934687495, 0.8106452227, 0.8673855662, 0.4921256602, 0.049052313, 0.4178986847, -0.2947452366, 0.0975767747, 0.2965963185, 0.3899503946, -0.1477846354, -0.4836104214, 0.2448360026, 0.2826144993, -0.1722688377, -0.8885142803, 0.2262538821, -0.8549386263, -0.3766512573, 0.7503526211, 0.1135114729, -0.3556951284, -0.1059021577, -0.3837406039, -0.0379085839, -0.5579281449, 0.6520207524, 0.474306047, -0.0519749671, -0.2356864065, -0.0585155413, 0.6157209277, 0.3826074302, -0.7933846116, 0.5049564242, 0.4212768674, 0.1271394938, 0.173923105, 1.2183721066, -0.1315166801, 0.5545662045, 0.6796167493, -0.5107452869, -0.3835887015, -0.2964210212, -0.2186453789, 0.5257682204, 0.4926854968, -0.1880133301 ]
http://arxiv.org/abs/2406.17274v1
http://arxiv.org/pdf/2406.17274v1
Can We Trust the Performance Evaluation of Uncertainty Estimation Methods in Text Summarization?
2024-06-25T04:41:17
2024-06-25T04:41:17
Jianfeng He, Runing Yang, Linlin Yu, Changbin Li, Ruoxi Jia, Feng Chen, Ming Jin, Chang-Tien Lu
cs.CL
cs.CL, cs.LG
Text summarization, a key natural language generation (NLG) task, is vital in various domains. However, the high cost of inaccurate summaries in risk-critical applications, particularly those involving human-in-the-loop decision-making, raises concerns about the reliability of uncertainty estimation on text summarization (UE-TS) evaluation methods. This concern stems from the dependency of uncertainty model metrics on diverse and potentially conflicting NLG metrics. To address this issue, we introduce a comprehensive UE-TS benchmark incorporating 31 NLG metrics across four dimensions. The benchmark evaluates the uncertainty estimation capabilities of two large language models and one pre-trained language model on three datasets, with human-annotation analysis incorporated where applicable. We also assess the performance of 14 common uncertainty estimation methods within this benchmark. Our findings emphasize the importance of considering multiple uncorrelated NLG metrics and diverse uncertainty estimation methods to ensure reliable and efficient evaluation of UE-TS techniques.
[ -0.2286499292, -0.3912580609, 0.598780334, 0.241354689, -0.4092671275, 0.3591955304, -0.263923049, -0.4588379264, -0.1967145205, 0.1143874526, -0.1467905045, -0.5368813276, -0.7999377847, 0.3044413328, -0.3032398522, 0.8320885301, -0.0318301544, -0.1009841785, -0.1816436946, -0.0413356684, -0.3000943661, -0.2524555027, -0.3884307444, -0.2208281457, 0.0619086288, 0.1429753304, 0.7407851815, 0.4395796955, 0.653491497, 0.267883569, -0.1109328941, 0.2113185823, -0.0353791378, 0.2611859739, -0.0559391044, -0.2479082644, -0.4981279373, 0.0141256601, 0.7564640045, 0.6309124827, -0.33502087, 0.4121712446, 0.2080673724, 0.6611884832, -0.9108385444, -0.3300566077, -0.6456730366, 0.1479098648, -0.0870385095, 0.1295265108, -0.2637019455, -0.5379366875, 0.6027654409, -0.6231550574, 0.1285273582, 0.105253309, 0.8513348699, 0.4315274358, -0.4390659332, -0.2048355341, -0.7618653774, 1.0347430706, -1.0586515665, 0.246440798, 0.4736791253, 0.3393830657, -0.0241095424, -0.7277681231, -0.1111354604, 0.0938137397, -0.0230900869, 0.4452296197, -0.2407658994, 0.0991422832, -0.0810810775, 0.2779887617, -0.5456080437, 0.150262922, -0.1425336152, -0.5560898185, 0.6372666955, 0.0216929186, 0.0296929348, -0.3459682465, -0.5300353765, -0.0338790305, -0.0779732764, -0.1292053163, 0.4607920945, 0.1404257417, -0.1566270888, 0.3848823309, -0.2379327565, 0.6191053987, -0.3051019609, -0.3302998543, 0.1171479225, -0.5353574157, -0.3316042721, -0.1179940626, 1.2532418966, 0.7174541354, 0.3323845863, -0.5003934503, -0.0612716861, -0.0563154481, 0.438451916, -0.5602261424, 0.0587626584, 0.3063643575, -0.1234361455, -0.2939389646, 0.2701712847, -1.018032074, -0.2953305542, 0.1632512957, 0.3431503773, -0.4527125955, -0.1185515448, 0.0677531287, -0.4020465016, -0.2342981994, 0.1887969077, -0.5708156824, 0.3530274928, 0.3838858008, 0.735434711, -0.3803918958, -0.4619248807, -0.1690187156, 0.1056425199, -0.3936493993, 0.8233101964, -0.1698057204, -0.4756407142, -0.1365735233, -0.723601222, -0.257807672, -0.2125095874, 0.9987172484, -0.0566298813, 0.1884329766, -0.2396518141, -0.6502712369, -0.1299356073, 0.0939080045, -0.5847688317, 1.3023425341, 0.146329239, -1.078625083, 0.5771406293, -0.3018840849, -0.2996835709, -0.3029930294, -0.0602578446, -0.7212534547, 0.3910591602, 0.4800717533, 0.4527884126, -0.5673773289, 0.3195978999, -0.1801825464, -0.4084182978, 0.4558604956, -0.7439991832, 0.3789725304, 0.2264058143, -0.2135244459, -0.0681070238, -0.7565208673, 0.2683385015, -0.2570983469, -0.1132564768, -0.3222509623, -0.0620209612, 0.0174358096, -0.0176082551, 0.2572186291, -0.2799146473, -0.3428739905, -0.1725074351, 0.1405443996, 0.4246634841, 0.2934951186, 0.3765113056, -0.2780872881, 0.6785091162, -0.1687739342, -0.007042361, -0.0230635274, -0.4290347397, -0.1935175806, -0.0190143753, 0.6328856349, 0.445620507, -0.3428964615, 0.3860251009, -0.2966284752, -0.8211222291, -0.1747353971, -0.1102602631, 0.697670877, 0.360886693, 0.3206011355, -0.0760084465, -0.6371718049, -0.5617361665, -0.8956212401, -0.4429841042, -0.4221237898, -0.1661719084, 0.452096194, 0.0225077569, 1.0434041023, -0.2576790154, -0.0159618855, -0.2175644636, 0.9727908373, -0.2395633012, 0.2621686757, 0.6500890851, -0.3093596995, -0.3721092343, -0.2454510033, -0.8968048692, -0.0645655543, -0.2844617367, 0.0560523309, 0.3331072927, 0.2072298527, -0.3469131887, 0.5067566037, 0.7087572813, -0.0867586285, 0.69409132, -0.4899407029, 0.4042002261, -1.1923099756, 0.011512069, 0.2875079811, -0.1434125453, -0.4507117569, -0.0294721536, 0.0861431658, 0.4032377601, -0.0721067339, 0.2099518329, -0.5992190838, -0.3291024268, 0.0364467464, 0.4908094406, 0.1545602083, 0.0810597092, -0.1152285188, 0.860383451, 0.4757359028, -0.5312995315, -0.2257814258, 0.0016122515, -0.4588572085, 0.6434857249, -0.7917799354, -0.0679749325, 0.2188431323, 0.1805779785, -0.8830120564, -0.3459269702, -0.2436414212, -0.5999004245, 0.1713805944, 0.3482884169, -0.4784678519, -0.279761076, -0.5755000114, 0.2020204216, 0.2081193775, -0.0655153096, 0.6717997193, 0.3806711733, -0.0985663831, -0.9013129473, -0.8280671835, 0.2596486509, -0.3317928016, -0.3223885, 0.0468748622, 0.1471634209, -0.3867119551, -0.1997388601, -0.6478843093, -0.3060162365, 0.3776476681, 0.2166909873, -0.115534395, -0.0146644395, 0.0190990493, 0.3168149292, -0.0615246743, 0.0273226257, -0.0829946175, 0.0320938714, -0.1670790613, -0.267896384, -0.2225736231, 0.1058302522, 0.4526075423, -0.2942742109, 0.3929227889, 0.7302291989, -0.5170281529, -0.011034091, -0.5975974798, 0.0767226219, -0.3602804542, 0.4492053092, -0.0579161011, -0.5732606053, 0.7102429867, -0.0570848733, 0.1129315421, 0.6313358545, 0.0953781605, -0.4365350604, 0.539041996, 0.4998740554, -0.0793631375, 0.0602393039, 0.1327186823, -0.0908212587, -0.7794269919, 0.1480360031, -0.7844001651, -0.1702270508, -0.5746037364, -0.2742604911, 0.5501918793, 0.3726341426, 0.050403893, 0.3940894306, -0.2807414532, 0.3499236703, 0.5547128916, -0.1996205896, 0.5166935325, -0.09154208, -0.108299695, -0.231313765, -0.5340073705, -0.7390803695, 1.4416646957, 0.3625385463, 0.516109705, 0.0950287804, 0.737216115, 0.2987325788, 0.1237703934, -0.268620342, 0.2168574184, -0.0518542379, -0.6948041916, -0.7464401126, -0.6411018372, -0.6940892339, 0.3682823777, -0.4089077115, -1.0962121487, -0.1451647133, 0.0356280543, -0.698497355, 0.3725538552, -0.7232228518, 0.6337531805, -0.0448263697, 0.2114990503, 0.0612771697, -0.8057265878, 0.3651100397, -0.2222388536, 0.3018793464, -0.1434764564, -0.2591004372, 0.9713717699, -0.2501048148, 0.5790145993, 0.22277309, -0.0890446454, 0.4250659049, 0.0647977889, 0.4159686267, 0.2944469452, -0.3157303929, 0.4834410548, -0.120271638, -0.1722636968, -0.3984781206, 0.234991774, -0.7167260051, -0.05641618, -0.6914356351, -0.6080886722, -0.5959918499, 0.2500499487, 0.9022842646, 0.4634150565, -0.3831319809, 0.1409834772, 0.3884969056, -0.0663548857, 0.8333263397, 0.1141759902, 0.0909681022, -0.6857255697, 0.5414590836, 0.1595695913, 0.5717383623, 0.4147193134, 0.3019795716, -0.2688613236, -0.9281842113, -0.3969686925, -0.0856233314, -0.324834466, -0.4608673155, -0.6398756504, -0.0430805534, -0.2242034376, -0.1964971274, -0.6495743394, -0.445931077, -0.1092403457, -0.3893186152, 0.3349290192, 0.662291348, -0.0223811753, 0.6612289548, -0.9076142907, 0.2901364267, 0.130522266, 0.6185360551, -0.3500695825, -0.5365775824, -0.3180599213, 0.180653289, -0.2839580178, -0.8579577208, 0.0390608013, 0.2316524088, 0.6018343568, 0.245199427, 0.2303083241, 0.3710429966, -0.1245705932, 1.011100173, 0.1900753677, -1.1352757215, 0.3026393652, -0.565479219, 0.4728012979, 0.9717997313, 0.2222961932, -0.2237959206, -0.8026590943, -0.7344456911, -0.8380793929, 0.4010232389, 0.616681695, -0.4565989077, 0.1062509716, 0.2145136595, -0.0403855368, 0.388856262, -0.3816982508, -0.3471090198, -0.0240141489, -0.1380366087, -0.0461821742, -0.4787330925, 0.1196754202, 0.1994579881, 0.5517885089, -0.0723841637, -0.0643025562, 0.0961071327, -0.0820165202, -0.1468160748, 0.4097926319, 0.6989894509, 0.8876930475, -0.6313302517, -0.0192684829, 0.4296232462, -0.7435473204, -0.0192561857, 0.0454092249, -0.1758263856, 0.3427253664, 0.5691507459, 0.3561374247, 0.524246037, -0.4856958687, 0.4134083092, -0.4746544659, -0.2152888477, -0.2419418693, -0.3212696314, -0.0656571165, -0.2015070617, 0.4114920199, 0.4685823917, 0.4211178124, 0.0016623809, 0.2996048331, 0.109833844, -0.4870918095, -0.1764130592, 0.7495163679, 0.1451283544, 0.0172158461, 0.1479566395, -0.2629004419, -0.2749758065, 0.4575306773, 0.1244169697, 1.1641943455, -0.3191473186, 0.5497788191, 0.5798367858, 0.7537578344, -0.4277560115, 0.1548057646, 0.3089988232, -0.5823111534, -0.5417522788, -0.530526042, -0.6851421595, -0.2909360826, -0.8704093695, -0.2163707912, -0.1404356211, -0.5567293167, -0.2984898686, 0.0004836116, -0.4292427897, 0.4138418138, -0.1047525853, 0.7292969823, -0.7757222056, 0.2162995189, 0.5244697332, -0.1109138206, -0.8428325057, 0.3361994922, 0.1946454942, -0.1509601474, -0.1196099818, -0.0701686516, -0.3889584839, -0.427955538, 0.0292755961, -0.8993719816, 1.2811386585, 0.3780360818, -0.3724330366, -0.0346578844, 0.3056443632, 0.6241466999, 0.0088177212, 0.6651878953, 0.7729851007, 0.4798165262, -0.1631177366, -1.1828784943, -0.0293885861, 0.1776440293, 0.2334977835, 0.1357999742, -0.4643261731, 0.562732935, -0.3311676979, -0.3868176937, 0.1438803971, 0.7852156758, 0.1963938773, 0.2627164423, 0.4181416631, 0.430639565, 0.9073653221, -0.331305027, 1.0763560534, -0.2479514033, 0.372569114, 1.4683231115, -0.0036933434, 0.7523649931, 0.3341627419, -0.4853854477, 0.0865974799, 0.4622044861, 0.3540912867, 0.126762107, -0.0341418087, 0.1167936474, -0.0793837979, 0.0052275723, -0.2695299685, 0.4948496521, 0.2832162976, -0.1920877099, -0.4306332171, -0.5508597493, 0.1146787852, 0.4635368288, 0.0976409018, 0.7520602345, 0.0910201669, -0.5635725856, 0.1797282845, -0.117950961, 0.6931192875, -0.5950141549, 0.3623496592, -0.0883974731, -0.0697332397, -0.0016520029, -0.6775439978, 0.3486569524, 0.1686430275, 0.2487782389, -0.0294856541, 0.4496168494, -0.090166539, -0.6373768449, 0.0492068306, 0.6171910167, -0.0009613152, -0.253611356, -0.2837380469, -0.1272762865, -0.082874015, -0.2848918736, 0.1325635463, 0.6520934105, 0.1198473051, 0.5612987876, 0.1809160411, 0.1532713026, 0.0473292172, 0.041969467, 0.2078562677, -0.3571147621, -0.3124064207, -0.8465936184, 0.7886754274, -0.370921731, -0.8942645192, 0.9938905835, 0.4927442074, 0.6211573482, 0.1457302868, 1.0350254774, 0.2217069715, 0.5629275441, -0.3200779855, 0.765103519, -0.1702504158, 0.1534946263, -0.8791828156, -0.9333306551, -0.3668028414, 0.3319808543, -0.0087791178, 0.2216074318, 0.9159360528, 0.235144496, 0.3121132851, 0.287068218, 0.3231895864, -0.1354727149, 0.1808307469, 0.1462986618, 0.4182352126, -0.8711310029, 0.596671164, -0.4610752463, -0.1848385036, 0.0381538831, -1.2784456015, -0.8088029623, -0.4802725613, -0.3588880599, 0.0059809266, -0.0804093406, 0.6627333164, 0.4760168195, -0.7448455095, -0.2590680122, -0.0152025865, 0.1625745445, -0.5640774965, -0.1321005672, 0.398052901, -0.1654716879, -0.5931484699, 0.0302461982, 0.3222253025, 0.196409449, -0.1151724011, 0.1084144637, -0.0944419801, 0.2080788165, 0.1577872336, 0.113994576, -0.6142061949, -0.3892773986, -0.1197903305, -0.13570638, -0.3296545148, 0.5579687953, -0.2727199793, 0.3694842458, 0.2746400833, 0.6972833872, 0.1643801481, 0.2948000729, 0.9324418902, -1.0838694572, -0.2192611396, 0.0694408044, 0.4590810835, 0.347799778, -0.1747546792, 0.7053794265, -0.2591210902, -0.6055554152, -0.9143325686, 0.0040175207, -0.9158960581, 0.1055807993, 0.9383591413, -0.3057032526, 0.0960474536, -0.0818913355, 0.2884083688, 0.3646717966, -0.5183300376, 0.9112657905, 0.8218608499, 0.0850646421, 0.0829321221, -0.5302735567, 0.5519214869, 0.3216645122, -0.9406407475, 0.2132537067, 0.252934128, -0.0223744884, 0.4336192012, 0.3945778906, -0.0805331916, 0.2362370491, 0.1358236969, 0.1267771721, 0.1309138238, -0.3209499121, -0.1130613387, -0.0339583009, -0.0279181674, -0.1124950498 ]
http://arxiv.org/abs/2406.17271v1
http://arxiv.org/pdf/2406.17271v1
DARG: Dynamic Evaluation of Large Language Models via Adaptive Reasoning Graph
2024-06-25T04:27:53
2024-06-25T04:27:53
Zhehao Zhang, Jiaao Chen, Diyi Yang
cs.CL
cs.CL
The current paradigm of evaluating Large Language Models (LLMs) through static benchmarks comes with significant limitations, such as vulnerability to data contamination and a lack of adaptability to the evolving capabilities of LLMs. Therefore, evaluation methods that can adapt and generate evaluation data with controlled complexity are urgently needed. In this work, we introduce Dynamic Evaluation of LLMs via Adaptive Reasoning Graph Evolvement (DARG) to dynamically extend current benchmarks with controlled complexity and diversity. Specifically, we first extract the reasoning graphs of data points in current benchmarks and then perturb the reasoning graphs to generate novel testing data. Such newly generated test samples can have different levels of complexity while maintaining linguistic diversity similar to the original benchmarks. We further use a code-augmented LLM to ensure the label correctness of newly generated data. We apply our DARG framework to diverse reasoning tasks in four domains with 15 state-of-the-art LLMs. Experimental results show that almost all LLMs experience a performance decrease with increased complexity and certain LLMs exhibit significant drops. Additionally, we find that LLMs exhibit more biases when being evaluated via the data generated by DARG with higher complexity levels. These observations provide useful insights into how to dynamically and adaptively evaluate LLMs. The code is available at https://github.com/SALT-NLP/DARG.
[ -0.3884399235, -1.0992560387, 0.4040178955, 0.2416630983, -0.2018381655, 0.6323527098, -0.5946469307, -0.2990328074, -0.278856039, 0.2793622017, -0.4224851131, -0.7260399461, -0.8422750235, 0.1886889338, -0.1417897046, 1.0001301765, -0.1229865924, -0.1267345995, -0.2713799477, -0.4033105671, -0.5407429934, -0.1917069107, -0.5457239747, -0.4439550936, 0.2840301991, 0.213532567, 0.8366085887, 0.6935660243, 0.3981497586, 0.4034404457, -0.3727067709, 0.4663104117, -0.6371728778, 0.513694644, -0.2769538164, -0.2918484509, -0.5716696978, -0.2544721365, 0.8956583142, 0.8822031617, -0.0153622916, 0.1571781933, -0.0305307936, 0.5320907831, -0.5010602474, 0.3379018307, -0.9552828074, -0.1697348058, -0.0683973432, -0.0655312836, -0.3839710057, -0.4400057495, 0.3262162507, -0.3688470125, -0.2429762036, 0.0013397316, 0.6522516608, 0.4579391479, -0.3990387022, -0.4301716387, -0.5586581826, 0.7707579732, -0.6461576819, 0.2655271292, -0.1054320186, 0.5091904998, -0.4888122976, -0.9509038329, -0.401090771, -0.5884953737, 0.1591829807, -0.0534178875, -0.2553334236, -0.0335585661, 0.4392265379, 0.415618062, -0.4439634979, 0.2123168707, 0.2260611206, 0.1860416532, 0.6167944074, 0.2582556307, 0.4369390011, -0.0647714436, -0.2631371915, -0.0743504465, -0.393175751, -0.1814976633, 0.4214551747, 0.3270891011, -0.1474255621, 0.1681794077, -0.1605707854, 0.8516147137, 0.0875023529, -0.0382016562, 0.6183955669, -0.1567435265, -0.1053842455, -0.2530950606, 0.5451701283, 0.1560258716, 0.3067985773, -0.1598341614, -0.2740293443, -0.2748208046, 0.2254002839, -0.5736467242, -0.2827475965, 0.1367702931, -0.370690465, -0.3199771643, -0.2806865573, -1.0892437696, -0.7677747011, -0.2266898155, 0.2564140558, -0.4390013218, -0.2781608105, 0.264829427, -0.0921398327, -0.0983437598, 0.5397943258, -0.5674305558, 0.4426060915, 0.6032139659, 0.6604226232, -0.5897621512, -0.2856727839, -0.6769860983, 0.04508733, -0.1589603275, 0.7577521205, -0.8728577495, -0.2138656974, -0.0498048253, -0.1716138422, -0.1040742993, -0.9450914264, 0.6036230922, -0.5689386725, -0.2330004126, -0.1857526153, -0.5695291162, -0.1279457062, 0.3745892942, -0.5723409057, 1.197142601, 0.4303594232, -0.7261595726, 0.3020566106, -0.833330214, -0.4276931882, 0.3631612957, -0.1549265385, -0.5154749155, -0.0005207905, 0.2972820997, 0.0447335877, -0.4261530936, 0.4039990306, -0.6059738398, -0.2303402424, 0.3710031807, -0.3518052995, 0.7894209027, 0.1953990459, -0.5135720372, 0.3112734258, -1.1297943592, 0.2851334512, 0.0720913187, -0.5631081462, -0.1866473705, 0.2122697979, -0.4000119865, -0.0539249294, 0.1809054166, -0.2405900508, 0.3380354345, -0.2115896791, 0.319241941, 0.9048062563, -0.0422526076, 0.3088653386, -0.3258102834, 0.7087577581, -0.1409934759, -0.0493374206, -0.013288198, -0.3437203169, -0.9644513726, -0.361946404, 0.3985924721, 0.5510557294, -0.799081862, 0.501011312, -0.5421818495, -0.5567575097, -0.2759544849, 0.1615724415, 0.1929380149, 0.2036209553, 0.2335336655, -0.1347288042, -0.5253254175, -0.6036657095, -0.3870772421, -0.1654243916, 0.0138205672, 0.7582368255, 0.4160302281, -0.4179967642, 0.6572712064, -0.4258190691, 0.3455812037, -0.3799271286, 0.2172042131, 0.3232654631, 0.3141356111, 0.6667058468, -0.4482449889, -0.4979501963, 0.2800208926, -0.5728822351, -0.7525913119, -0.2302518785, -0.1397474408, 0.0290630758, 0.3228366375, -0.4527853131, 0.0608126633, 0.6355625987, -0.2145173401, 0.8806564212, -0.1667536795, 0.023218127, -0.5456428528, -0.0927103534, -0.2531144619, -0.2936712503, -0.5197591186, 0.3350256383, -0.1739851981, 0.0252043474, -0.0673213005, 0.8190472126, -0.5531414151, -0.1913271099, -0.4125567973, 0.2778600454, -0.1189719215, 0.2127767056, -0.3944269121, 0.5872508883, 0.8150086403, -0.6407396793, 0.7801722884, 0.061887119, -0.7292941213, 0.2429533452, -0.4694744945, 0.1912749708, 0.0654757917, 0.2926397026, -0.851508081, 0.0013473135, 0.0894662142, -0.179982841, 0.2602399886, -0.2034921944, -0.606054008, -0.3715245426, -0.0625170097, 0.5118153691, 0.5271000266, -0.8277225494, 0.7550529838, 0.2793674469, -0.3995987475, -0.4054243267, -0.3664301634, 0.1788308769, -0.3454630375, -0.6774883866, 0.3203183115, -0.2777557969, -0.4129398465, -0.1168045625, -0.2715661824, 0.158765167, 0.2419361472, 0.0206884332, -0.0659441724, -0.1023280323, 0.2659713328, 0.1246557534, -0.0063648694, 0.017470967, -0.339817822, 0.7665618062, -0.2729054093, -0.2701535821, -0.0199260265, -0.0630376637, 0.5212501884, -0.2561103702, 0.4075543582, 0.6671985388, -0.239547208, -0.89604491, -0.3213227987, 0.2249616235, -0.5451318622, 0.6380819678, -0.5593833327, -0.9113399982, 0.7870258093, -0.6815883517, -0.010341594, 0.1182945892, 1.0017921925, 0.3076417446, 0.7802098989, 0.2229667753, 0.3487522304, 0.3427805603, -0.0544480421, 0.2046056092, -0.6443108916, -0.1999267042, -0.3724446595, -0.3571135402, -0.7819685936, -0.6601803303, 0.2918316722, 0.1805139631, -0.2888344228, 0.0204416327, -0.3605065942, 0.4621472061, 0.218518734, 0.0607393235, 0.2757710814, -0.1131850779, -0.3273047805, 0.2078729272, -0.6304872036, -0.4477966726, 1.0216448307, 0.3898335695, 0.9091755152, 0.120715417, 0.3707189262, 0.5703476667, 0.3184176981, -0.5907612443, 0.723302424, -0.4345610738, -0.1329161972, -0.2102960199, -0.6676229835, -0.8687648773, 0.3672833145, -0.1361946464, -0.6720544696, 0.0392851159, -0.0274833534, -0.0756850466, 0.2960288525, -0.5352395773, 0.5972933769, -0.5418550372, -0.2957351208, -0.1715335399, -0.3106999397, 0.3040314317, -0.3221596181, 0.2644610107, -0.3208748996, -0.0066836206, 0.5906413794, -0.3709560931, 0.6673916578, -0.1737636477, -0.1774016172, 0.2459087223, 0.1665138751, 0.617708981, 0.1815666705, -0.5099827647, 0.0764537454, -0.2596512735, -0.4369490147, -0.9012476206, 0.8665861487, -0.7432415485, -0.8153098822, -0.410409838, -1.1035550833, -0.3806306422, 0.2665294111, -0.4364856482, 0.1047521681, 0.080559656, 0.1778060943, 0.3292586207, -0.7789149284, 0.1881073862, 0.415635258, -0.3333052397, -0.5731484294, 0.6805214286, -0.0207839198, 0.5260084271, 0.0338480435, 0.3860263824, -0.1647612154, -0.9968169332, -0.3041872978, 0.0832184777, -0.862996161, -0.1673586816, -0.5446445942, -0.2039357871, -0.3172916174, 0.0184923839, -0.1585023254, -0.4360341132, 0.0566261299, -0.0869360268, 0.4411747754, 0.6349664927, -0.0121372091, 0.3287120759, -0.5303126574, 0.2440788597, 0.3210753798, 0.6400800347, 0.0267392918, -0.5686112642, -0.1461486518, -0.0695943907, -0.2270691544, -0.5877739787, 0.1937599182, 0.2790772319, 0.9117655754, 0.1477588415, 0.1457138509, 0.7255905271, -0.5588202477, 0.636423111, -0.1757078171, -1.1636422873, 0.3366101384, -0.540451467, 0.4701732099, 0.2923711538, -0.005909936, -0.191697523, -0.3610739708, -0.4186391234, -0.8306609988, 0.6224925518, 0.0844987258, 0.1743827462, 0.0625609979, 0.6056689024, 0.3063714802, 0.1001744419, -0.7193802595, -0.2665400505, -0.0422233939, -0.1186194643, 0.2646184266, -0.2200376093, -0.1818497032, -0.2738598585, 0.4018382728, -0.2267831862, 0.1171344072, -0.387278229, -0.07454326, 0.0911702663, 0.2320406884, 0.3115314245, 0.8701788783, -0.1959099174, 0.2595967054, 0.5388584137, -0.2255636752, 0.0962000489, 0.2585480213, -0.1523988992, -0.0793265626, 0.4206234813, 1.2017930746, 0.0685728416, -1.0366241932, 0.2481413633, 0.0115643339, -0.0778634772, -0.0201313756, 0.3531232178, -0.0084567377, 0.3977583945, 0.1460612118, -0.067379646, -0.1367502511, -0.3878445923, 0.3786952198, 0.4263623953, 0.094960168, -0.0923522115, 0.4465966821, 0.2223798037, -0.2708666623, 0.4643978179, -0.4148476124, -0.6081908345, 0.6500712633, 0.7396447062, 0.8284966946, -0.1403758228, 0.2164482623, 0.2586965859, 0.1770994067, 0.2662942708, 0.2150256634, 0.0277975537, -0.7552704811, -0.524178803, -0.8456104398, -0.4816431701, 0.2918072939, -0.3227089047, 0.442953676, -0.6153882146, -0.1735401005, -0.0232779477, 0.0246441159, -0.3148264587, 0.2921448946, 0.1467456073, 0.8875649571, -0.4974186718, 0.7469763756, 0.7386677861, 0.0967090875, -0.325923115, 0.0870857015, -0.1634002328, -0.9215270877, 0.7961684465, -0.0688768402, -0.0372391567, -0.0722488612, -0.4083358347, -1.0370354652, 0.9081571698, 0.6280481219, -0.331448108, 0.2052902877, 0.2942726314, 0.6657380462, -0.4684790671, 0.3249396384, 0.7546094656, 0.6751872301, 0.1993891448, -0.83200562, 0.1122832373, -0.4032852054, 0.0345352516, 0.0310069565, -0.4808540046, 0.8318668008, -0.1642620265, -0.2730056942, 0.0853435248, 0.4311425388, 0.5448409915, 0.119103089, 0.7230865359, 0.6482429504, 0.9106715322, -0.329264611, 0.9644088149, -0.3585571349, 0.333545208, 1.2498311996, -0.4925093353, 0.4833109975, -0.0272101779, -0.3155103326, 0.7736245394, 0.5612958074, -0.3386491537, 0.2383159399, 0.8676934242, -0.3544755876, -0.2969254553, -0.0737459213, -0.1444261521, 0.4991191328, 0.3560829163, -0.230685696, -0.4071686268, -0.0123742921, -0.0001567797, 0.1662066281, -0.1564441919, 0.6081123352, -0.145993039, -0.602238059, 1.0247309208, 0.0518809669, 0.4472229183, -0.5709884763, 0.0665874109, -0.1614455134, 0.2060070485, -0.1375662833, -0.732721746, 0.1396245062, 0.1048529223, -0.0310314726, -0.175334096, 0.7583737373, -0.3410725594, -0.4273236394, 0.6072311401, 0.544419229, 0.0702472702, 0.3686642647, -0.8381755352, 0.4979254901, 0.0348712057, -0.2020687163, 0.3347137272, 0.6255207062, -0.144379437, 0.9991620183, 0.6274759769, 0.3150784671, 0.4332668185, 0.4673474431, 1.0386228561, -0.390612781, -0.3510596752, -0.867164433, 0.3712030053, -0.1727733165, -0.0847645029, 0.6445410848, 0.3686456382, 0.7023534775, 0.0447827652, 1.0079984665, -0.0854492038, 0.4107894003, -0.4184575975, 0.6552605033, -0.4534178376, 0.5687971711, -0.3933260739, -0.9194380641, -0.4364747405, 0.4054630399, -0.4827786386, 0.3360413313, 0.6762972474, 0.5960960984, 0.1327594668, -0.1596587151, 0.158671841, 0.6319409609, 0.7033972144, 0.4826025963, 0.8519355059, -0.0815967098, 0.5191987753, 0.0525877513, -0.5531690717, 0.143391192, -1.18524611, -0.8689392209, -0.2173903435, -0.6988312006, -0.4229995906, 0.2115155011, 0.6929568052, 0.4524950385, -0.7729317546, -0.2484657168, -0.2096543908, 0.3036535978, -0.1909355372, -0.2530418634, 0.5215550661, -0.6015411019, -0.958301127, 0.4088827372, 0.4228021502, -0.1154651791, -0.14660649, -0.2025218159, -0.2048412859, 0.1267915815, 0.6649193764, -0.0212787427, -0.7066049576, -0.4366360605, -0.2900002897, 0.2698570788, -0.0256205257, 0.616666913, -0.741093576, 0.6484695673, 0.6022622585, 1.0466396809, 0.2879438996, 0.0869167969, 0.5443866849, -0.5216580629, -0.1554019898, 0.203080982, 0.2589366436, 0.3004897833, 0.0352379084, 0.441624701, 0.3478720784, -0.6852346659, -1.1450920105, 0.3954550326, -1.0825217962, -0.3314197659, 1.4347434044, -0.3456531763, 0.0404337086, -0.0328152589, -0.051276572, 0.209754318, -0.18031165, 0.9789700508, 0.7993248105, -0.272875458, -0.3473389447, -0.2806218266, 0.4870880544, 0.390163213, -1.2012704611, 0.3466575742, 0.4032737315, 0.3943216205, -0.0009293633, 0.2588032782, -0.1555691957, 0.108415246, -0.0300595555, -0.2103998363, -0.0142891472, -0.0617432445, -0.3006489277, 0.1856135875, 0.2378278524, 0.1268892884 ]
http://arxiv.org/abs/2406.17266v1
http://arxiv.org/pdf/2406.17266v1
AG-LSEC: Audio Grounded Lexical Speaker Error Correction
2024-06-25T04:20:49
2024-06-25T04:20:49
Rohit Paturi, Xiang Li, Sundararajan Srinivasan
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
Speaker Diarization (SD) systems are typically audio-based and operate independently of the ASR system in traditional speech transcription pipelines and can have speaker errors due to SD and/or ASR reconciliation, especially around speaker turns and regions of speech overlap. To reduce these errors, a Lexical Speaker Error Correction (LSEC), in which an external language model provides lexical information to correct the speaker errors, was recently proposed. Though the approach achieves good Word Diarization error rate (WDER) improvements, it does not use any additional acoustic information and is prone to miscorrections. In this paper, we propose to enhance and acoustically ground the LSEC system with speaker scores directly derived from the existing SD pipeline. This approach achieves significant relative WDER reductions in the range of 25-40% over the audio-based SD, ASR system and beats the LSEC system by 15-25% relative on RT03-CTS, Callhome American English and Fisher datasets.
[ -0.3565456867, -0.5168460608, 0.5698301196, -0.0680713728, -0.0533476286, 0.3009509146, -0.1978222281, -0.2210719138, 0.7894973159, 0.2645777762, -0.3435828388, -0.5375872254, -0.4667936265, 0.1157077551, -0.3682108521, 0.3729276657, 0.3297285438, 0.1775670648, 0.1045777127, -0.1023865566, -0.5152173638, -0.4010654092, -0.660369575, -0.1363942623, 0.0577974916, 0.5136497617, 0.7306867838, 0.5153805614, 0.5108229518, 0.3568748534, -0.6494018435, 0.3038846254, -0.2561460435, 0.0047246846, -0.3246320188, -0.0654693469, -0.9062337875, -0.1661768407, 0.8376218677, 0.9291625023, -0.5554080009, -0.3538394272, 0.0616437458, 0.6787205935, -0.6973227859, -0.0370232947, -0.7010845542, -0.1232440546, -0.0382731631, -0.4143093526, -0.6460062861, -0.2064101994, -0.4264573753, -0.1821293533, 0.446878463, -0.3127658963, 0.6738898158, 0.4057508707, -0.1180512384, -0.154501006, -0.944778502, 0.4044944346, -0.9009866118, 0.8586550355, 0.6351435184, 0.2035586536, 0.0089308629, -0.3345033824, -0.1864776164, -0.1980535537, 0.0696141869, 0.3620912135, 0.1254024208, 0.3383159935, 0.3491176367, 0.4040867686, -0.0676565617, 0.1480804384, -0.7241635919, -0.4125060737, 0.5884075165, -0.0491043106, 0.0619760379, 0.0236882828, -0.0651550964, -0.238176167, -0.8243281245, 0.1716759205, 0.4105291367, 0.8235394359, 0.002073386, 0.6971800327, -0.063624315, 0.5878256559, 0.2332140058, -0.1064134985, 0.4703990221, -0.2358671427, -0.0226482004, 0.8976812363, 0.3991753161, 0.6601432562, 0.065178588, -0.0051663038, -0.5062663555, 0.5775694251, 0.347322315, -0.4969570935, -0.1436984241, 0.1129728705, -0.1023510769, 0.1336952895, 0.2905110717, -0.5788047314, -0.5092745423, -0.5660547018, 0.2802112699, -0.4220100343, -0.0056422367, 0.0862948895, -0.1894374192, 0.0463367328, 0.4736080468, -0.6085019112, 0.6730772853, 0.3604842424, 0.9162080884, 0.0690736026, -0.0214203596, -0.935366869, 0.3803854287, -0.5746409297, 0.6922587156, -0.3602047265, -0.6619819999, -0.1772392541, -0.0307153147, -0.0730848014, -0.4776493013, 0.8789032698, -0.3213663995, -0.0369278193, -0.4378054142, -0.7746537328, 0.3695479929, -0.2108760625, -0.4585642815, 0.8359083533, -0.0631573722, -0.8270326257, 0.0433895551, -0.3192010522, -0.2888551056, 0.0758269578, -0.2021122873, -0.0021924567, 0.0243527256, 0.4987154007, 0.3945380449, 0.1987240613, 0.2077772468, 0.0321983434, -0.9091778398, -0.2463396192, -0.1244308501, 0.270634979, 0.2049373388, -0.527718842, 0.0031479585, -1.2360272408, 0.0167358406, -0.1560562253, -0.295645684, -0.6797745228, 0.2873707116, -0.3013814986, -0.2404050976, -0.2271548659, -0.719457984, -0.386988163, -0.639944315, 0.4324528575, 0.9276803136, -0.1935897619, 0.4701714218, 0.0874002874, 0.0713198781, -0.0420965068, -0.5457750559, -0.4652326703, -0.2440559268, -0.7787437439, -0.382705003, 0.3931867182, 0.8447525501, -0.5940644145, 0.9418392181, -0.5006200671, -0.5890917182, -0.7720145583, -0.2661634684, 0.3709939122, 0.682308197, 0.5482292175, -0.4874923229, -0.6465341449, -0.7048210502, -0.0762326643, -0.3386077583, -0.1180890352, 0.3929472566, -0.288790822, -0.3413798213, 1.0710728168, -0.3058107197, -0.480584234, -0.0299649909, -0.288300097, 0.5436362028, 0.3617460728, 0.2038994581, -0.3597678244, -0.2761279941, 0.079255186, -0.2724014223, -0.5740087032, -0.0141099822, 0.4202368259, -0.0367859975, 0.9549341202, -0.6311663389, 0.605773747, 0.429682076, -0.4945299923, 0.5580523014, -0.2378385067, 0.3682830036, -0.7647006512, -0.2628884614, -0.0857037604, -0.3473809063, -0.7135428786, -0.0656349063, 0.1467635483, -0.1705384701, -0.4426954687, 0.2257080823, -0.1922044605, -0.2352116853, -0.1111967266, 0.4395448864, 0.024119243, 0.1147256419, -0.0055894651, 1.2716064453, 0.4134988189, -0.7714204788, 0.4974567294, 0.552974999, -0.2506180704, 0.666575253, -0.8572995067, 0.2587403655, -0.3314044178, 0.3770350516, -1.0756816864, 0.0488294549, -0.0327569954, -0.5281612873, 0.3519190252, 0.1320367903, 0.0131243942, -0.1358112693, -0.223874703, 0.1876879036, 0.3787456453, -0.6602945924, 0.4573194683, 0.2653283477, -0.4736256897, -0.2699661255, -0.6792802215, 0.2694519758, 0.0056768055, -0.5209254026, 0.3994889855, 0.0331167616, -0.552331686, -0.1366219223, -0.2145673484, 0.4691724181, -0.3405940831, 0.0990392864, -0.0193683058, -0.3694291115, 0.1779059917, -0.1356426775, -0.2967036963, -0.1657136232, 0.1664791703, 0.4799019396, -0.2500268817, -0.7568181753, -0.5526766777, 0.397110194, 0.4208137393, 0.039354004, 0.6977704763, 0.1300171465, -0.2979258299, 0.1958686113, -0.7732076049, -0.1527090967, -0.5011187792, 0.313747704, -0.5598549843, -0.8205661178, 0.5592957139, 0.0254700556, -0.1371283382, 0.5958915353, 0.3079659939, -0.1923504919, 0.8222801089, 0.040545743, -0.1527929306, 0.030248668, 0.2050397396, 0.4156732559, -0.768725276, -0.0293901395, -0.7426896691, -0.088441208, -0.4559469819, -0.4294664264, 0.2184445709, -0.0401021093, -0.3877088726, 0.5979146361, -0.2900466919, 0.4927579761, 0.4996445775, 0.1372614652, 0.1115509942, 0.0145920487, -0.4795160592, -0.4295183718, -0.228840977, -0.3635115027, 0.4990259111, 0.8072370291, 0.8884105086, 0.0512574762, 0.7718755603, 0.6405075192, -0.5189989805, -0.6130021214, 0.6262063384, -0.3373860717, 0.0093068909, -0.4538038373, -0.5312767625, -0.217277199, 0.2565449476, 0.1602762491, -0.7222006321, 0.4865877926, 0.0187923424, -0.4341032207, 0.3962473571, -0.8697295189, 0.0988053828, -0.0321458988, -0.1342645735, -0.0880817845, -0.6866124272, -0.1320356131, 0.0485231951, 0.6522960663, 0.0162715055, 0.1706158519, 0.7357371449, -0.5238082409, 0.7535069585, -0.6415881515, -0.4875958562, 0.2135624141, 0.0209334586, 1.0035681725, -0.2375779152, -0.2840468884, 0.1102296934, -0.2394842207, 0.1068849042, -0.3541389406, 0.5287314653, -0.8998782039, -0.5939262509, -0.1621621996, -0.0871844143, -0.7407628298, -0.1938648075, 0.1299097687, 0.4536726773, -0.3064382672, 0.4634359479, 0.6963840127, -0.0520751402, 0.1733101755, 0.2690163851, 0.1245939657, -0.9129657745, 0.6259297729, -0.1323349923, 0.3254686892, 0.1234571487, 0.0035644886, -0.339271158, -0.511182189, -0.2037137896, 0.1822784543, -1.0186923742, -0.2614686787, -0.7024662495, -0.6162332892, -0.8137021065, -0.3202709556, -0.8325634599, -0.5549863577, -0.3611588478, -0.5967063904, 0.2822530866, 0.15576078, -0.2315767556, 0.9726683497, -1.0846130848, 0.5623194575, 0.0789808631, 0.5045983195, -0.4941385686, -1.0553270578, -0.1405349821, 0.3340176642, 0.0423723981, -0.7611451149, 0.2655697763, 0.7427486777, 0.4192483127, 0.5432162285, -0.0986737758, 1.3799519539, -1.1201716661, 0.9520562291, 0.5329287648, -1.2995800972, 0.7792019248, -0.2654604912, 0.0868396163, 0.6211419106, -0.2505077124, -0.7768579125, -0.44852072, -0.7110320926, -1.0634713173, 0.8302645683, 0.4705821872, 0.0331709385, -0.1071965024, 0.1950336397, -0.1716554165, -0.0677262098, -0.3257649541, -0.04977924, -0.3718413711, 0.0692879111, -0.5533536673, -0.4884797633, -0.2084472328, -0.3938067257, 1.1682515144, -0.108410731, 0.1780585498, 0.4371628463, 0.0752846524, -0.3640912771, 0.5192545056, 0.6198601723, 0.3822092116, -0.4863905609, 0.3692418337, 0.4752423167, -0.614646554, 0.3689517975, -0.2053189427, -0.0471066907, 0.2547267079, 0.3163114488, 1.1480036974, 0.2505002618, -0.6640605927, 0.4043414295, 0.1268061996, -0.1521615535, -0.4134356081, 0.0093232729, 0.1624105871, 0.1456683725, 0.352812022, 0.1680836678, 0.0207633879, -0.1451748312, 0.5197324157, 0.2164036781, -0.5727504492, -0.1803488135, 0.5075221062, 0.3780748844, -0.365329653, 0.6166792512, -0.0626384839, -0.4159405529, 0.419403553, 0.6861581802, 0.7386505008, -0.9923460484, -0.0162199587, 0.514998734, 0.604857862, -0.1130125746, 0.1784879267, 0.0003207535, -0.9274784327, -0.442149967, -0.6162548661, -0.5183097124, -0.0424252376, -0.6976013184, 0.6264686584, -0.4019073844, -0.2425151467, -0.3200079799, -0.3678447902, -0.1033607349, 0.4684863985, 0.4894647896, 0.9883161783, -1.2520310879, 0.517079711, 0.7071959376, 0.2988247275, -0.8462888598, -0.2892875075, -0.0783060715, -0.5566238165, 0.3900518119, 0.1140281707, -0.4079907537, -0.1046093553, -0.1770705879, -0.8721837997, 0.8688982725, 0.2975000441, -0.9632138014, 0.0347184204, 0.414039284, 0.6070088744, -0.2832160592, 0.4231820405, 0.8326532245, 0.4132042527, 0.6498050094, -1.2217553854, -0.3457342386, -0.3059689105, 0.1055054367, 0.1743163019, -0.148499012, 0.634521544, -0.07782498, -0.2088601738, -0.1951457858, 0.8450273275, 0.478194952, 0.2650980651, 0.8154680133, 0.9175797701, 0.7400524616, -0.1295598, 0.3385306895, -0.0315049402, 0.2842945755, 1.1927634478, -0.7500737906, 0.7785318494, 0.7819221616, -0.5548229814, 0.1897469014, 0.5229154825, 0.1741517484, 0.7717719078, 0.0719371513, -0.057840094, -0.2563533187, -0.1627965271, -0.7023274302, 0.7403082848, 0.7034620643, -0.1413327605, -0.2652947009, -0.0166895129, -0.3509652317, 0.3230901062, -0.556879878, 0.7198818922, 0.1132765859, -0.1482071579, 0.6950871944, 0.1032906771, 0.5621960163, -0.5951231122, -0.0034851355, -0.2403660119, 0.5450718403, -0.370762527, -0.3705627918, 0.5492973328, 0.0390360095, -0.0041150358, -0.2946857512, 0.908203125, -0.3875867724, -0.4347142875, 0.4723789692, 0.3386960924, 0.1041476578, 0.0412471183, -0.0953475609, 0.2562199533, 0.020886533, 0.0875584036, -0.0422267392, 0.1805749387, 0.0504251197, 0.3479087353, 0.6328991652, 0.6415798068, 0.0713893026, 0.457321316, 0.8032720685, -0.8471074104, -0.996737659, -0.6655332446, 0.4547008574, -0.1108047217, 0.3800053596, 0.5130596161, 0.471080482, 0.4783980548, -0.119603917, 0.4607275426, -0.0457411781, 1.1949239969, -0.6350407004, 0.5645517707, -0.359379679, 0.6840410233, -0.6520765424, -1.2507845163, -0.1386422664, 0.7006589174, 0.2278370857, -0.0992487073, 0.7184484601, 0.9016054273, -0.1779444814, 0.3300489783, 0.5420954823, 0.251249671, 0.4121761024, 0.058304891, 0.8221169114, -0.5968547463, -0.0751689598, -0.2496713698, -0.3529247344, -0.0006294948, -0.7579234242, -0.4263899624, -0.4713534117, -0.5146674514, -0.4783544242, 0.3805605769, 0.9943885803, 0.0706360191, -1.2960063219, -0.2938103676, 0.0160670988, -0.3287820518, -0.274212271, -0.2201326936, 0.5048965216, -0.2475090325, -0.447254777, 1.1575444937, 0.2683199644, -0.1150267571, 0.2462290823, -0.3177416921, 0.0009825865, 0.1731196046, 0.4962072074, 0.0289139561, -0.7230215073, -0.8134431839, -0.0114194304, -0.0442198105, 0.1831377894, 0.708229959, -0.8994500041, 0.290586561, 0.2454743385, 0.6307453513, -0.0527315363, 0.2686098516, 0.2813260257, -1.1294533014, 0.3672372103, 0.3394007683, 0.6080379486, 0.5073235631, -0.3506161273, 0.63197577, 0.5036537051, -0.4100509286, -0.9035462737, -0.1569705009, -0.9696248174, 0.1955482662, 1.4857490063, 0.0423986465, 0.1536924839, -0.0494861193, -0.365110755, 0.1780617982, -0.4112241864, 0.4849365652, 0.7614016533, 0.3003607094, -0.1589067876, -0.1785158217, 0.2323316932, 0.4176079035, -0.4812402427, 0.1852007508, 0.6586741805, -0.0665362701, 0.5387784839, 0.7780083418, -0.1098470762, 0.1802946776, -0.1123489663, 0.2151302248, 0.1447938234, -0.4848706126, -0.4060063958, -0.0553117208, -0.1248304546, -0.2967704237 ]
http://arxiv.org/abs/2406.17262v1
http://arxiv.org/pdf/2406.17262v1
D2LLM: Decomposed and Distilled Large Language Models for Semantic Search
2024-06-25T04:03:04
2024-06-25T04:03:04
Zihan Liao, Hang Yu, Jianguo Li, Jun Wang, Wei Zhang
cs.CL
cs.CL
The key challenge in semantic search is to create models that are both accurate and efficient in pinpointing relevant sentences for queries. While BERT-style bi-encoders excel in efficiency with pre-computed embeddings, they often miss subtle nuances in search tasks. Conversely, GPT-style LLMs with cross-encoder designs capture these nuances but are computationally intensive, hindering real-time applications. In this paper, we present D2LLMs-Decomposed and Distilled LLMs for semantic search-that combines the best of both worlds. We decompose a cross-encoder into an efficient bi-encoder integrated with Pooling by Multihead Attention and an Interaction Emulation Module, achieving nuanced understanding and pre-computability. Knowledge from the LLM is distilled into this model using contrastive, rank, and feature imitation techniques. Our experiments show that D2LLM surpasses five leading baselines in terms of all metrics across three tasks, particularly improving NLI task performance by at least 6.45%. The source code is available at https://github.com/codefuse-ai/D2LLM.
[ -0.2273409516, -0.7636749148, 0.7633332014, 0.2621820569, -0.2339496911, 0.1632942408, -0.2019969523, -0.3494951427, -0.0868672505, 0.3902698755, -0.5730063915, -0.4073038697, -0.7703465223, 0.0428736992, -0.419242084, 0.4712367356, -0.0386493988, 0.0725800395, -0.406283766, 0.1648834348, -0.4940611124, -0.2595048845, -0.3937274516, -0.5254853964, 0.6863880157, 0.0707633495, 0.7348682284, 0.5565353632, 0.4492541254, 0.2977195382, -0.3626609445, 0.3794732988, -0.8294048309, 0.3257168829, -0.3681657016, -0.5433339477, -0.3106227815, 0.1878162622, 0.4266428351, 0.7070766687, -0.049533464, 0.03830171, 0.1878597736, 0.7227169275, -0.4825775623, 0.5741487145, -0.8845972419, -0.0092453538, 0.0155899143, -0.1502326727, -0.3418844342, -0.036069084, 0.2053727359, -0.5053464174, 0.0360174589, 0.0167365726, 0.4887754321, 0.6123210788, -0.2553320527, -0.4377064705, -0.5860443711, 0.911264658, -0.5352649689, 0.5644401908, 0.2458987087, 0.1282910556, -0.4433889091, -0.7384550571, -0.5621307492, 0.1238924488, -0.2450625896, 0.146299392, -0.2351341844, 0.0304567926, 0.0301638413, 0.4473899901, -0.783090651, 0.3788049221, -0.1639143378, 0.1913627088, 0.543443501, 0.1534394324, 0.2714406848, 0.1871079355, -0.4351709187, -0.0808684826, -0.6014873385, -0.3254358172, 0.1403643489, 0.0541255698, 0.1807246059, 0.6684037447, -0.2199936211, 0.731505394, -0.0245871563, -0.0809423178, 0.0074574561, -0.5184245706, 0.0344498605, -0.0024986786, 0.3315389454, 0.3473590612, 0.1165790111, -0.5407009721, -0.276904732, 0.0671446696, 0.165450424, -0.9048154354, -0.3363128901, 0.4100798965, -0.4500636458, -0.1934192479, -0.1502084881, -0.5866136551, -0.1706404686, -0.4272109866, 0.3450153172, -0.2944642901, -0.2026366144, 0.4097086787, -0.3062962592, 0.4253434837, 0.2368418872, -0.6446023583, 0.2838557661, 0.7742831707, 0.6874319911, -0.1770148277, -0.1988917142, -0.5673963428, 0.1199101433, -0.168880105, 0.5059937239, -0.5386057496, -0.274207294, -0.0968570188, -0.2120964229, 0.0342991017, -0.6553157568, 0.2008634061, -1.0211882591, 0.0717919171, -0.1398172677, -0.7696620822, -0.361569494, 0.3158624172, -0.8382343054, 1.1805461645, 0.199408561, -0.6676044464, 0.2140203416, -0.6273494363, -0.3260033131, 0.17019324, -0.041019883, -0.2253739387, 0.2755972743, 0.1529464126, 0.4127438962, -0.5804463029, 0.2848134935, -0.3968158364, -0.6455874443, 0.2433340102, -0.1820638478, 0.7542430758, 0.067130208, -0.360978514, -0.3783262968, -0.5140752792, 0.0227856226, 0.4495523572, -0.5053465366, -0.5060043335, 0.1615558565, -0.0322217941, 0.312525481, 0.4234092832, -0.5691143274, -0.0358377993, -0.5349650383, 0.5124710798, 0.3285580873, -0.479773134, 0.499723345, -0.0594735965, -0.1033035666, 0.0991771221, -0.0320422947, 0.1312994361, -0.3224588335, -0.6953861117, -0.4096754789, 0.2559227049, 0.6186663508, -0.60065341, 0.8551830053, -0.4783345163, -0.323623538, -0.7691532373, 0.4601016939, 0.2328963876, 0.243583709, 0.5590251088, 0.0406538248, -0.3596536517, -0.7171398997, -0.112755999, -0.0497021861, -0.2011321038, 0.279363066, 0.3156139851, -0.6980594397, 1.0275752544, -0.5929906368, -0.4616264701, -0.486338526, 0.0418182313, 0.0476086102, 0.1382631063, 0.3070038855, -0.9899333715, -0.3503113091, -0.2571361959, -0.7898478508, -0.1539948881, 0.3053080738, -0.1182883754, 0.0037440874, 0.3347156346, -0.6472297311, 0.4058715105, 0.3972002268, -0.04032401, -0.0787985027, -0.3571259379, -0.2016139925, -0.8149908185, 0.2086017728, -0.2458036393, -0.1525179893, -0.4826880097, 0.1117840484, 0.0447968729, -0.0354635492, -0.4104937613, 0.5520483255, -0.6579545736, -0.2261788696, -0.4948048294, 0.6743770838, 0.30289644, 0.4075939059, 0.221767813, 0.5033748746, 0.3643326759, -0.6183609962, 0.7124670148, 0.3362703621, -0.391399771, 0.0663355589, -0.7500531673, 0.227448687, -0.2699392438, 0.3485731184, -0.9809163213, 0.0924355313, -0.2237295061, -0.1063359976, 0.4756874442, -0.0418335907, -0.8314878941, -0.3026077449, -0.5680871606, 0.5956447124, 0.618511796, -0.8049488664, 0.4723453224, 0.4049545527, -0.1205011457, -0.4596292973, -0.8295983672, 0.1316389292, -0.0251409132, -0.6677690744, 0.6361483335, 0.0077422531, -0.2237758338, 0.1670648009, -0.0470771752, 0.0004386392, 0.3851819932, -0.1103610545, 0.2969973087, 0.1801968515, 0.0374498777, -0.0574203916, -0.2034006268, -0.1078833044, -0.3634293079, 0.7141506076, 0.2304293662, -0.396430701, -0.172925964, 0.5603321195, 0.455039382, -0.3100132048, 0.4687419832, 0.7343122959, -0.4243699312, -0.2584277689, -0.6528437138, -0.3496213257, -0.4351640344, 0.6923650503, -0.3778180778, -0.9790209532, 0.2211702317, -0.352425158, -0.0752613544, 0.2940674126, 0.6570514441, -0.2007594258, 0.9646024704, 0.4888134301, -0.0255861245, 0.1985280365, -0.4165810049, 0.4383946359, -0.8543163538, -0.5278505087, -0.2757698298, -0.6725767851, -0.6122666597, -0.7611352801, 0.2348188013, 0.1672515273, 0.1095510423, 0.1973728985, -0.5240995884, 0.49774912, 0.5096578598, 0.2337971032, 0.2305985391, -0.0043620099, 0.0339469686, -0.0300236717, -0.7741329074, -0.2340548486, 0.7633837461, 0.3250457048, 1.0541549921, 0.1385772526, 0.7324004769, 0.1022164002, -0.2816156447, -0.9465846419, 0.5017586946, -0.4163791239, -0.5746977329, -0.3577465117, -0.4179551005, -0.9173919559, 0.3236554861, 0.0413225703, -0.4219353497, 0.0767361596, -0.1701136827, -0.0855008811, 0.1721688658, -0.3157259524, 0.7804598212, -0.4806856811, -0.4528593123, -0.4405095875, -0.656575799, 0.2873186171, -0.0538355149, 0.0581941865, -0.4071168005, -0.258266449, 0.4103170335, -0.1622944027, 0.6500947475, -0.1764483005, -0.0924345478, 0.1809585541, 0.1461620182, 0.6404132247, 0.1762043536, -0.0140460012, 0.2807427943, -0.1851756126, -0.415220499, -0.6163744926, 1.009755373, -0.5671995282, -0.5725304484, -0.2366881967, -0.5284434557, 0.0382249057, 0.072037071, -0.04619167, 0.3135314286, -0.1684408337, 0.265326798, 0.9950852394, -0.2142034918, 0.3835493326, 0.462890327, -0.1091109142, -0.0457719341, 0.7148526907, -0.0686506033, 0.0253251232, 0.8452788591, 0.04680923, -0.7644942999, -0.6004644036, -0.3641727269, 0.1819657385, -0.5846845508, -0.2123167366, -0.8107152581, -0.2199147195, -0.3155123591, 0.0441499464, -0.4837313592, -0.164058581, -0.3775427341, -0.0276315324, 0.372035712, 0.5917514563, 0.0020339049, -0.1739790291, -0.7902810574, 0.4157586694, 0.470309943, 0.3997536302, -0.1959824711, -0.3063057363, -0.3128351867, 0.220988974, 0.0743418559, -0.4799923599, 0.303951025, 0.1567816138, 0.7077540755, -0.2137299329, 0.1409642398, 0.6533697248, -0.3560824692, 0.6076228023, -0.0110269263, -0.7340956926, 0.453956455, 0.2300143093, 0.2798770368, 0.5405181646, 0.388840884, -0.2776418626, -0.1286352128, -0.0087482547, -0.9784715176, 0.8054349422, 0.2198366821, -0.0998267308, -0.0211488195, 0.3452262282, 0.0754445195, -0.0432055257, -0.2952880859, -0.1798453331, -0.0922527313, -0.5185619593, -0.0304759797, -0.6424508691, 0.0213251114, -0.1265795529, 0.4690996706, 0.0723459497, 0.1651129425, 0.2313086689, -0.6387918591, 0.5306347013, 0.0013048662, 0.1637198627, 0.3696791232, -0.2385053188, 0.5141204596, 0.1376814395, -0.3340345621, 0.1013975441, 0.3564173877, 0.0962803587, 0.1059033871, 0.243203178, 0.6790756583, 0.4192590714, -0.760459125, 0.4141135812, -0.1125139594, -0.0408929102, -0.1781667918, -0.123391293, 0.4018210769, 0.3510839641, 0.2778834105, -0.5800174475, 0.581864059, -0.5442544818, 0.1831641197, 0.3994012773, -0.15464136, -0.2367835045, 0.5962685347, 0.3590600193, 0.075767003, 0.8263697624, -0.1349475086, -0.4730842113, 0.2187600881, 0.3694758415, 0.9504452944, 0.0364077315, -0.1507854164, 0.0259776674, 0.1762176156, -0.0991370529, 0.1966437399, -0.1729222089, -0.6470110416, -0.4378796518, -0.7606312037, -0.1789194494, 0.0139754005, -0.4463338554, 0.2268438488, 0.0835534558, 0.037106432, -0.0235689562, 0.1665849537, -0.8911899328, 0.0247223023, 0.2700723708, 0.764993012, -0.2833196819, 0.8547847867, 0.6388853788, -0.1864174902, -0.3731279373, -0.2642176449, -0.1524720192, -0.8464206457, 0.8079959154, 0.1886279136, -0.2022143155, 0.12073531, -0.1124566272, -0.811502099, 1.3889033794, 0.3705256879, -0.6662599444, -0.2402444929, 0.4352996349, 0.3072896898, -0.2927272022, 0.3579372168, 0.7069283724, 0.4615009129, 0.1397604495, -0.830073595, 0.0235438589, -0.0159033202, 0.4471726418, 0.0482037254, -0.514949739, 0.6527665257, -0.0689801574, -0.1609532088, -0.1292793155, 0.1826037616, 0.2070780993, 0.2261037678, 0.3336487114, 0.6788346767, 0.472640872, -0.1768997014, 0.8295619488, -0.4635748267, 0.3884396851, 1.0079852343, -0.6895449162, 0.7852043509, 0.4440120459, -0.107425347, 0.1747169495, 0.5689467788, 0.1408261359, 0.8171655536, 0.3528468311, -0.2612657845, -0.3203727603, 0.1024347395, -0.0986026227, 0.7979114652, 0.3088957667, -0.2873081565, -0.5465980172, -0.1031787097, -0.1582986265, 0.2091387063, -0.0330269895, 1.2276742458, 0.1449949592, -0.2884519398, 0.5812246203, 0.096306324, 0.7819203734, -0.3938244283, -0.1133369878, -0.3802368343, 0.4749319553, -0.0867616683, -0.8576883078, 0.3445266485, -0.1298641413, -0.4095202386, -0.2572455704, 0.9066181779, -0.8583303094, -0.4000439048, 0.9240599871, 0.5151126981, 0.2567626238, -0.225593701, -0.7002900243, 0.3623297215, -0.1571430862, -0.2641735971, 0.4853403866, 0.5008929968, 0.2265185565, 0.4944318235, 0.4362829924, -0.2031526566, 0.1052768603, -0.0306882337, 0.998506844, -0.6897713542, -0.0458284616, -1.024490118, 0.3103615046, -0.1490311772, 0.3612179756, 0.4892499745, 0.8413021564, 0.8656759858, 0.0004352988, 0.7095496058, 0.1374944597, 0.4166819155, -0.5652770996, 0.7445117831, -0.5932809114, 0.2544766665, 0.3123896122, -1.0315324068, -0.1894457638, 0.4697880447, 0.1077677086, 0.0209373645, 0.3112260699, 0.8823812604, -0.1406181157, -0.272762686, 0.4072761536, 0.0884502903, 0.269385457, 0.7425554991, 0.7108467221, -0.4551873207, 0.5120270252, -0.1887956709, -0.2912774086, -0.5125491619, -0.5965251327, -0.838719666, -0.3250184953, -0.3777404726, 0.0756318718, 0.0477898791, 0.6946754456, 0.5735374093, -0.3838271201, -0.0657062382, -0.0247325823, 0.2149068415, -0.0133051882, -0.1741508543, 0.2470407933, -0.5430850983, -0.9590342641, 0.6439670324, 0.5313431621, -0.0873891413, -0.4286976159, -0.139260754, -0.2736871839, 0.1028713137, 0.9296757579, -0.4152668118, -0.7948543429, -0.0954279602, 0.1419673115, -0.2953048348, -0.2366054952, 0.5604711771, -0.77794379, 0.5083198547, 0.6116401553, 0.8366440535, 0.8841038942, -0.1595086008, 0.4216032624, -0.6262244582, 0.1755682677, 0.3302051425, 0.3368385732, 0.2478510886, -0.344121784, 0.6336727142, 0.1966999918, -0.3398982882, -0.7036980987, 0.1788974702, -1.0712531805, -0.4923781157, 1.2565256357, -0.1935970187, -0.2216215581, -0.146727249, -0.0793940946, 0.3019758165, -0.1092219278, 0.6667644382, 0.4933456182, 0.0222486071, 0.0294070933, -0.3247242868, 0.2830505371, 0.2397220731, -0.3709032834, 0.1768573225, 0.4006210864, 0.3329780996, -0.0014379888, 0.11774005, -0.4447215199, 0.036818482, 0.1455907971, 0.1097019091, -0.3337568045, -0.1218559295, -0.140928179, 0.0103497067, 0.0572164357, -0.2870932221 ]
http://arxiv.org/abs/2406.17261v1
http://arxiv.org/pdf/2406.17261v1
TRAWL: Tensor Reduced and Approximated Weights for Large Language Models
2024-06-25T04:01:32
2024-06-25T04:01:32
Yiran Luo, Het Patel, Yu Fu, Dawon Ahn, Jia Chen, Yue Dong, Evangelos E. Papalexakis
cs.CL
cs.CL, 68T50 (Primary), 65F55 (Secondary), I.2.7
Large language models (LLMs) have fundamentally transformed artificial intelligence, catalyzing recent advancements while imposing substantial environmental and computational burdens. We introduce TRAWL (Tensor Reduced and Approximated Weights for Large Language Models), a novel methodology for optimizing LLMs through tensor decomposition. TRAWL leverages diverse strategies to exploit matrices within transformer-based architectures, realizing notable performance enhancements without necessitating retraining. The most significant improvements were observed through a layer-by-layer intervention strategy, particularly when applied to fully connected weights of the final layers, yielding up to 16% enhancement in accuracy without the need for additional data or fine-tuning. These results underscore the importance of targeted and adaptive techniques in increasing the efficiency and effectiveness of large language model optimization, thereby promoting the development of more sustainable and accessible AI systems.
[ -0.2626253068, -0.8164444566, 0.2836337984, 0.1619605422, -0.1943874955, 0.635270834, -0.4317685664, -0.2073689103, 0.133244127, 0.3170195222, -0.5958554149, -0.4543528557, -0.5606148243, -0.2041541189, -0.5287823081, 0.5970228314, 0.0711847991, 0.0337359235, -0.012049078, -0.3192902803, -0.3599680066, -0.3563100398, -0.8768713474, -0.5172610879, 0.5277249813, 0.0578365624, 0.7902462482, 0.910721004, 0.7162442803, 0.4086548388, -0.144324109, 0.2730820179, -0.7459519506, 0.1494389623, 0.0381631441, -0.7435824871, -0.5372676849, -0.0481322929, 0.8734843731, 0.921374023, -0.1856461912, 0.5602926016, 0.0879244953, 0.8089700937, -0.8746940494, 0.2458181679, -0.3177678585, 0.2901150882, -0.1880051196, -0.349109441, -0.6838049889, -0.3099879622, 0.1263208538, -0.4919750392, 0.0990806744, -0.0644846931, 0.3039341271, 0.4720412493, -0.3090578914, 0.0130803557, -0.9998673797, 1.1828600168, -0.8333023787, 0.5726856589, -0.1544041187, 0.1939743459, -0.2128689885, -1.0962673426, -0.3166922629, -0.2599852085, 0.0234834775, -0.0097207259, -0.5668293238, 0.3067016304, 0.1890723854, 0.0313867629, -0.5267157555, 0.0678746551, -0.3929599822, -0.0046544839, 0.7027803063, 0.1648013741, 0.3740305901, 0.3069972694, -0.0156657286, -0.4493387043, -0.6987394094, -0.0649011135, 0.1387037337, 0.1747293919, -0.0499582328, 0.5424751639, 0.2558889985, 0.4783539176, -0.2401582003, -0.2181188613, 0.1850017905, 0.2716086805, -0.3510668576, 0.0481911041, 0.5090450048, 0.3305548728, 0.2918477654, -0.2150763422, -0.3055225909, 0.246174261, 0.3410464525, -0.5779423714, -0.219768241, 0.2389555275, -0.5412489772, -0.5183736682, -0.3641269207, -0.6478087306, -0.2639654875, -0.2111693472, 0.3976850808, -0.2403419316, -0.2318131626, 0.026960751, -0.1670178622, 0.3830441535, 0.2303511351, -0.446916163, 0.3503345251, 0.8433537483, 1.1013371944, -0.201853022, -0.1811394542, -0.6259843707, 0.4431495965, -0.6273685694, 0.3937777877, -0.6833443046, -0.2906403244, -0.0688064098, -0.4910677075, -0.1058977321, -0.504311204, 0.4472088516, -0.6909598708, 0.169425264, 0.2656854987, -0.3585980833, -0.3352084458, 0.2077745348, -0.9957577586, 1.081638217, 0.3539758921, -0.5015217662, -0.1655852199, -1.201746583, -0.6801165342, 0.008417123, 0.6276553273, -0.5133220553, 0.4765919745, 0.2679585814, 0.4214531481, -0.4896473885, 0.2294109911, -0.391880244, -0.4828672707, 0.0212333873, -0.286360234, 0.6546790004, 0.3457810581, -0.4000432193, 0.2975028455, -0.644533813, 0.2789675593, 0.1974379122, -0.4708040655, -0.4078402817, 0.2671777904, 0.0295244828, -0.0407058857, 0.1210362464, -0.2306078076, 0.1205403581, -0.5934031606, 1.0432521105, 0.8645185828, -0.3843311369, 0.573538959, -0.2653572559, 0.7023798823, -0.160782665, 0.0581354648, 0.2533131242, 0.0895939171, -0.9241437316, -0.3880896866, 0.2541196644, 0.3098075688, -0.8365868926, 0.1223909706, -0.7589843869, -0.6011449099, -0.7615973353, -0.0196566749, 0.3923069239, 0.3145952523, 0.4229900837, -0.044500079, -0.8519310951, -0.8085422516, -0.444879353, -0.3133467138, -0.143072933, -0.0079190815, 0.2528462708, -0.1804628223, 0.672630012, -0.5081510544, -0.1343046129, -0.5487468839, 0.1807209402, 0.0587011948, 0.4291927814, 0.5527046323, -0.6810721159, -0.3295515478, -0.0482770726, -0.6810731292, 0.0022027707, -0.014146571, -0.0427043997, 0.1807831675, 0.5813536048, -0.8444136977, 0.247079581, 0.5931738615, 0.0824731514, 0.3029949665, -0.222959131, -0.3095876575, -0.8454729319, 0.0717411116, 0.0233713109, -0.4241527319, -0.9545516372, 0.5968950987, -0.0601876304, -0.084824197, -0.433155179, 0.4179422557, -0.5299907923, -0.1830214858, -0.1299879402, -0.0295128319, -0.12394315, 0.5559548736, -0.1212975234, 0.9776028991, 0.4077152014, -0.4468453228, 0.4522697031, 0.0688194931, -0.2082253546, 0.3713047504, -0.7573081851, 0.3607081473, -0.4151107371, 0.241290316, -0.7909495234, 0.2057656199, -0.0391192324, -0.1353309304, 0.2870116234, 0.0074800453, -0.1759451181, -0.5504925251, -0.8432117701, 0.5495108962, 0.5910635591, -0.5254821181, 1.2316964865, 0.4909412265, 0.061829973, -0.6441470385, -0.8514614701, 0.3160355687, -0.523271203, -0.603363812, 0.3514720798, -0.1949750334, -0.4079560041, -0.1180391014, 0.0323527083, 0.1945035905, 0.2759647965, -0.1682067215, 0.0713850707, -0.6125280261, 0.0240858905, -0.1455068737, -0.0530449115, 0.1279952824, -0.676040709, 0.9983841777, -0.2236814797, -0.0247727837, -0.2568311989, 0.2416342497, 0.8221997619, -0.4432652593, 0.6928672194, 0.8368827701, -0.2010496259, -0.4835039675, -0.4559774697, 0.1161082536, -0.5679554343, 0.7805344462, -0.3386514783, -0.8615033627, 0.3989624679, -0.1700162441, 0.178757593, 0.3407959342, 0.6659039259, -0.1651304513, 1.33656919, 0.6537767053, -0.4463770092, 0.5277051926, -0.4908212721, 0.3906263709, -0.9627430439, -0.1226323396, -0.3654251993, -0.8437997103, -0.6987172365, -0.438539207, 0.4576580226, -0.3430325985, -0.4147646725, 0.2746291757, -0.4962036014, 0.4459478259, 0.7421789169, 0.282538414, 0.0784583762, -0.0444566794, 0.1065985262, 0.1531726867, -0.7736371756, -0.3047070205, 1.125638485, 0.4732320607, 0.6428150535, 0.2220643759, 0.4995163679, 0.7055151463, 0.2694174051, -0.949429214, 0.7244613767, -0.1459715813, -0.1484598517, -0.4047494233, -0.6861255169, -0.9686765075, 0.3251460791, -0.0897221193, -0.481785506, -0.342661798, -0.0589866452, 0.0433924533, 0.5629998446, -0.8751586676, 0.3640131056, -0.1405735463, -0.2462646812, -0.662705183, -0.4677470028, 0.3089939356, -0.1608408988, 0.1943500787, 0.0686741546, -0.2847239077, 0.9176205397, -0.5691110492, 0.5088129044, -0.3695018291, -0.0951801315, -0.0306740608, 0.3259063065, 0.8374909163, -0.2751686871, -0.2232222706, 0.0223617461, -0.1098877937, -0.4849583805, -0.7749005556, 0.5535943508, -1.0426214933, -0.7405138612, -0.0318571962, -1.0140866041, -0.217466861, 0.2042640448, -0.2880782783, 0.4879974723, -0.1409495473, 0.3645685613, 0.5321497321, -0.2244955003, 0.7803219557, 0.207776159, 0.1303235292, -0.4593631625, 0.6789019108, 0.0369320847, 0.0651067421, 0.6030447483, 0.1529705524, -0.3781421185, -0.8564186692, -0.0311719812, 0.2330970764, -0.7108647227, -0.2966753244, -0.5014143586, -0.2543636262, -0.2352059484, -0.2836822569, -0.4447554052, -0.5167732835, -0.1598564088, -0.1651335508, 0.1231461465, 0.724203229, 0.2158271819, 0.6571050286, -0.656750083, 0.1904238313, -0.0112378299, 0.3779585958, 0.3334908187, -0.3819094896, -0.2791538537, 0.2081532776, 0.0515867136, -0.1830456853, 0.6775348783, 0.5485599637, 0.4508283436, 0.1386491209, 0.0586208999, 0.9596402049, -0.524787128, 0.5551330447, 0.0552627109, -1.1704170704, 0.246268943, -0.115531221, 0.4512886107, 0.1790027618, 0.1373573244, -0.4504148066, -0.4700163603, -0.4737004042, -0.8423045278, 0.6018317342, 0.1807751507, 0.3378953636, 0.4374764264, 0.2365499437, -0.401913017, 0.1379545331, -0.6750237942, -0.3146033883, 0.1197356805, -0.5656015873, -0.1073376983, -0.3274644315, -0.0061465665, -0.3213447034, 0.7844728827, -0.22437796, 0.2990453839, -0.2421244979, -0.6393119097, -0.1606504321, -0.0636742711, 0.8147109151, 0.7736654282, -0.0029483908, 0.409319073, 0.4965691268, -0.7512680888, 0.3049087226, -0.3408245742, -0.0986968204, -0.2322740406, 0.7571864724, 0.6798551679, 0.2481955439, -0.6284887791, 0.1608639061, -0.1428093612, -0.0479215756, -0.2852014303, 0.132157132, 0.077338241, 0.6214364171, 0.5358887315, 0.0998454913, -0.1316150725, -0.1846757233, 0.2200731635, 0.6254361868, -0.2453989685, -0.4033770859, 0.640562892, 0.0041638613, -0.4162019491, 0.6132072806, 0.3538615108, -0.5983059406, 0.3229204118, 0.6441268921, 0.8897631168, -0.4156520665, 0.1630318314, 0.121285893, 0.4554125071, -0.0500296056, -0.0596834682, 0.1175688803, -0.7135843635, -0.6225056052, -0.6168236732, -0.1828902662, 0.1002650186, -0.435156703, 0.3194414675, -0.836838305, -0.1079826131, 0.0036582132, 0.2409425229, -0.501305759, 0.0216288362, 0.2217897475, 0.8740418553, -0.5971034765, 0.8720400333, 0.7152783871, -0.1183127016, -0.908139348, -0.2602562904, -0.1356498301, -1.0112971067, 0.5725401044, -0.0900112167, -0.3613773584, 0.4896329343, -0.5713559389, -1.0586292744, 1.1412824392, 0.8495016098, -0.2270649225, -0.3198886812, 0.6723268628, 0.5293974876, -0.3132883906, 0.5496169925, 0.8140383363, 0.5969356894, 0.1437094063, -0.697432518, -0.0475409143, -0.3826828003, 0.4964720011, 0.4599368572, -0.654407084, 0.7500698566, -0.0332519934, -0.1692965627, -0.1766046584, 0.850148797, 0.0196569953, -0.1178039461, 0.5476370454, 0.4678354859, 0.9069682956, 0.015362706, 0.8103806376, -0.2969414294, 0.3983086348, 0.5594648719, -0.3625745773, 0.8072405457, 0.5299232006, -0.2938645482, 0.5035138726, 0.3228690028, -0.0375418104, 0.4330002367, 0.1393105537, -0.2091332674, -0.1569003314, -0.1635476053, -0.0178543068, 0.7002396584, 0.2905825675, -0.1407803446, -0.3285883367, 0.1560565382, 0.1165877879, -0.0539716817, -0.5633648038, 0.6883348823, 0.0545723364, -0.3655416369, 0.9010205865, 0.3263919652, 0.6794825792, -0.4927468002, 0.0738426894, -0.275085777, 0.4677083194, -0.2120196968, -0.5294032097, 0.3528060019, -0.0573695973, 0.0853520408, -0.2583680451, 0.8029990792, -0.4526198208, -0.6179065704, 0.4025184214, 0.3739666641, -0.2131797522, -0.0048488565, -0.6066034436, 0.1107037887, -0.0216228962, -0.4513544142, 0.0685563609, 0.128155008, -0.1940445006, 1.2600332499, 0.8070755601, 0.2614977658, 0.0843067989, -0.1143406108, 1.0633950233, -0.5865854621, -0.3863185346, -1.0546233654, 0.4249257147, 0.1189100444, 0.1782588214, 0.502024591, 0.6373653412, 0.8019931316, -0.180184111, 0.6921741962, 0.0792075694, 0.2873776257, -0.6006758809, 0.9024854302, -0.5202693939, 0.4191019833, -0.1892666519, -1.1932924986, -0.6855813861, 0.4377464652, -0.2001731545, 0.0875018686, 0.6812803745, 0.8595452309, -0.1838514656, -0.0621462055, 0.4152517319, 0.3504029214, 0.5665776134, 0.650474906, 0.8600644469, -0.3925586045, 0.5344302058, -0.184820801, 0.0568576343, -0.0700433105, -0.8348213434, -1.0354837179, -0.4637283981, -0.3234722614, -0.077964969, 0.1744908541, 1.1998013258, 0.6865409613, -0.8211692572, -0.5471417904, 0.0412623212, 0.1258633882, -0.2241437882, -0.2113204151, 0.5147669911, -0.2765825093, -0.7056855559, 0.4942598045, 0.3094598055, -0.337112397, -0.3769563437, -0.1941787153, -0.1917074472, 0.0696216673, 0.9134934545, -0.0674372837, -0.4451369345, -0.5356556773, 0.0594022945, 0.0259490814, 0.1964434981, 0.8071138263, -0.9268244505, 0.0117478091, 0.4821031392, 0.7407742143, 0.6805083156, -0.1154541597, 0.8827565908, -0.8610733151, 0.3377587199, 0.4445700347, 0.2987160385, 0.2082720697, -0.1218744814, 0.7170802951, 0.0872625038, -0.0870080963, -1.1236120462, 0.011357571, -0.7463422418, -0.1312877983, 0.8996919394, -0.0771569014, -0.6699390411, 0.1734663248, 0.1329616159, 0.3985218108, -0.088289164, 0.7392256856, 0.3217433095, 0.3121412396, -0.5970519185, -0.3413801789, 0.2660381794, 0.5472735167, -0.6528459787, 0.1502745152, 0.1744269133, 0.0790175572, 0.0150194271, 0.0649804845, 0.0793080702, -0.0093228864, -0.3815280199, 0.0885216072, -0.244006753, -0.246095255, -0.2937532961, 0.369795382, 0.12598373, 0.1268765628 ]
http://arxiv.org/abs/2406.17260v1
http://arxiv.org/pdf/2406.17260v1
Mitigating Hallucination in Fictional Character Role-Play
2024-06-25T03:56:33
2024-06-25T03:56:33
Nafis Sadeq, Zhouhang Xie, Byungkyu Kang, Prarit Lamba, Xiang Gao, Julian McAuley
cs.CL
cs.CL
Role-playing has wide-ranging applications in customer support, embodied agents, computational social science, etc. The influence of parametric world knowledge of large language models (LLMs) often causes role-playing characters to act out of character and hallucinate about things outside the scope of their knowledge. In this work, we focus on the evaluation and mitigation of hallucination in fictional character role-play. We introduce a dataset with more than 2,000 characters and 72,000 interviews, including 18,000 adversarial questions. We propose RoleFact, a role-playing method that mitigates hallucination by modulating the influence of parametric knowledge using a pre-calibrated confidence threshold. Experiments show that the proposed method improves the factual precision of generated responses by 18% for adversarial questions with a 44% reduction in temporal hallucination for time-sensitive interviews. The code and the dataset will be available at https://github.com/NafisSadeq/rolefact.git.
[ -0.466630578, -0.9775477052, 0.4490711689, 0.3240996599, 0.0949814469, -0.0628015772, -0.0956919268, -0.4747749269, 0.5067769289, 0.8393573165, -0.6359069943, -0.341225028, -0.2743469477, 0.0111357486, -0.1393951625, 0.8570693731, 0.2269957811, 0.1357613206, -0.4657302499, 0.0883951262, -0.4477058351, -0.7093302011, -0.8057904243, -0.2913811505, 0.5856332183, 0.1907660067, 0.937712729, 0.0987802222, 0.2975877523, 0.2237150818, 0.2830348313, 0.3915863335, -0.8450881243, 0.586632669, -0.0351515859, -0.6809669733, -0.3093311787, 0.0103373239, 0.5340173841, 0.4992322922, -0.0549120978, -0.0286053158, 0.0272464007, 0.2511250675, -0.5945566297, 0.3904211223, -0.4780953825, 0.2227229923, 0.0807763785, -0.5460479259, -0.4141578078, -0.3249656558, -0.1944334656, -0.8219299316, 0.5236507058, 0.0164689962, 0.6280671954, 0.4830920398, -0.1491092443, -0.2307577878, -0.8973293304, 0.5066881776, -0.5735223889, 0.0912756845, 0.9159209728, 0.3751782775, -0.154875651, -0.0742468163, -0.5829162598, -0.4883805811, -0.1940121502, -0.0201506186, 0.2233812362, 0.0550300442, 0.7393541932, 0.0812407956, -0.6559516788, -0.1330964714, -0.2506394684, -0.3257322311, 0.5552316308, 0.1227392554, 0.263727963, -0.1253579706, -0.036898382, -0.2250636667, -0.6546022296, -0.0294802655, 0.4668743908, 0.0281506516, 0.4524034858, 0.6544131041, -0.0462404825, 0.1321750432, 0.1511705816, 0.1175914705, -0.0668384582, 0.086098738, -0.0769350156, 0.2875374556, 0.3519756496, 0.3561164439, 0.4448929131, -0.3576516211, -0.0451253727, 0.3837305605, 0.5890343785, -0.7859403491, -0.1239573285, 0.1545358002, -0.1773620546, -0.3574374616, 0.0689930841, -0.8811212778, -1.0927124023, -0.0977293476, 0.7258309722, -0.587685883, -0.1099799275, -0.0105175013, -0.0949632674, 0.1828844696, 0.2561674714, -0.6303243041, 0.3766396642, 0.5741933584, 0.6570258141, -0.0057564359, -0.393515408, -0.9629442096, 0.1832463741, -0.6077136993, 0.5666470528, -0.4002268612, -0.4519490898, -0.18801561, 0.0838330239, -0.1469410509, -0.6631521583, 0.4110900164, -0.4628126323, -0.0339352116, -0.4680614769, -0.3096962571, -0.0367577858, 0.425283581, -0.9281976223, 0.7695156932, -0.1763233989, -0.455326587, 0.3265445232, -0.4208860695, -0.654376328, 0.1022116244, -0.3740515113, -0.3175994158, 0.1618861407, 0.3421832025, 0.437594682, -0.1974453479, 0.2687510848, -0.3970738947, -0.8229340911, 0.5282495022, -0.4598549008, 0.5176192522, -0.0413364433, -0.5691633224, -0.1388615221, -0.4298970699, -0.232432887, 0.0114156557, 0.3458121419, -0.4404123127, -0.0130189387, -0.1224759966, 0.2455878705, -0.1494175345, -0.2470053434, -0.0630150959, -0.3359832168, -0.083727397, 0.5138660669, 0.3779004812, 0.123964794, -0.7445037365, 0.7714813948, -0.2729642391, 0.1744886935, 0.1633859575, -0.2856379151, -0.7126765847, -0.2747320831, 0.1041984335, 0.4321594834, -1.1983454227, 0.5573630333, 0.0918113962, -0.476259023, -0.2823434472, -0.2347802669, 0.4153303206, 0.4969293475, 0.4976415336, -0.07586357, -0.4933991134, -0.7479481697, -0.3419884145, -0.4260065556, -0.2493764609, 0.333788991, 0.3718816936, -0.1123118475, 0.6282181144, -0.5787717104, -0.5633111, -0.0674446896, 0.2880190611, -0.2567143738, 0.5554404855, 0.3575728536, -0.8582189083, -0.1239383146, -0.4847132266, -0.8224720955, -0.1212697029, -0.6098009944, -0.1158567816, 0.2968305945, 0.7354128957, -0.9929565191, 0.6743128896, 0.4025544524, -0.5850641727, 0.7056188583, -0.196583733, 0.8423880339, -0.8173183203, 0.3942925334, -0.2423330098, -0.1325536072, -0.5781731606, 0.0695342049, -0.2448808402, -0.1447550058, -0.0947758779, 0.4206237793, -0.3457775414, -0.0406992175, -0.0454833806, 0.1793225557, 0.1061485633, 0.4817878306, 0.1386507452, 0.899505496, 0.2233895063, -0.7237679958, 0.1560692489, 0.2963580191, -0.4473447502, 0.48958233, -0.5202227235, 0.0581082962, -0.0992388651, 0.2553499043, -1.0151090622, -0.2248743623, 0.3567228615, -0.4055149853, 0.1598149985, -0.0196729563, -0.6828401089, -0.037647482, -0.313972801, 0.3971202374, 0.3764256239, -0.3656248152, 0.629937768, 0.29726547, -0.1043262109, -0.4464193285, -0.7109421492, 0.2050742507, -0.4004936516, -0.5379704833, 0.7109797597, -0.6103611588, -0.2716298997, -0.3112824261, -0.3086643815, 0.0004333871, 0.0870444551, 0.197751388, 0.1107258871, 0.0547325462, 0.1598336101, 0.1256026179, 0.0512811281, 0.2057889551, 0.3158444762, 0.7818447948, 0.0039060228, -0.4773759842, -0.2260194868, 0.3439005315, 0.6858077049, 0.1423147023, 0.7988193631, 0.5304476619, -0.5518965721, -0.2538228333, -0.9065381885, -0.5755663514, -0.4335882962, 0.3787500262, -0.4206257164, -0.6289215684, 0.8583670259, 0.2899735272, -0.3416163623, 0.2250402868, 0.2946109772, 0.1259340048, 0.9215582609, 0.085040994, 0.1983577162, 0.2334388345, 0.0018842195, 0.1639832556, -0.5243771076, -0.2831892967, -0.3036750853, -0.233009547, -0.4245839417, -0.8012908101, 0.3564089239, 0.0930823013, -0.0353507362, 0.3496034741, 0.0530192368, 0.5418525934, 0.2483918816, 0.4696674049, 0.2545982599, -0.0450585037, 0.0865211859, -0.2322967052, -0.5355568528, -0.3392086327, 0.8667201996, 0.2273561805, 0.7547798157, 0.3423940539, 0.6762390733, 0.5710514784, -0.1501805186, -0.4890070558, 0.7497001886, 0.0767648146, -0.8060708046, -0.7797509432, -0.5476017594, -0.5873489976, 0.0613169484, -0.3816727698, -0.6465929151, 0.2997312546, 0.1388083994, -0.6072276235, 0.0896893144, -0.4644048214, 0.6500613093, 0.0455322117, -0.5785815716, -0.3033037186, -0.4582116008, 0.3867273331, -0.1457600445, -0.0888314322, 0.214781791, 0.1813824922, 0.5378965735, -0.1229460165, 1.1278686523, -0.2903599441, -0.0926918089, 0.1679728776, 0.6891630888, 0.742433846, 0.5852045417, -0.2082016915, 0.1417526603, 0.2967977524, -0.2605533004, -0.9103536606, 0.7151161432, -0.4953646362, -0.7780679464, -0.5592551827, -0.809110105, -0.6248221397, -0.1873060167, 0.2926801443, 0.2657342851, -0.781437397, 0.4184258282, 1.0868905783, -0.4128364623, 0.2399813086, 0.2362354994, -0.2121421993, -0.3239590824, 0.7911165357, 0.2079022378, 0.2260547131, 0.2546229661, 0.127395317, -0.2835798264, -0.0510292649, -0.1041552126, 0.2938389182, -0.5798854232, -0.1231731325, -0.6859594584, -0.3692184985, -0.7187579274, -0.0439758562, -0.2370803356, -0.6010459065, -0.3879511654, -0.0046214028, 0.170513466, 0.4091203511, -0.0095364898, 0.0735910609, -0.2711515129, 0.5593678951, 0.260727495, 0.2647921443, -0.1170227081, -0.4147645235, -0.0418337397, -0.0298913717, 0.0945952088, -0.6999338865, 0.4454208612, 0.1286329776, 0.7961884141, 0.5047982931, 0.490318507, 0.9528028369, -0.2885710001, 0.7658704519, -0.0752584264, -0.964093864, 0.1493234187, -0.2937234044, 0.0928007439, 0.7821349502, 0.3189187646, -0.726773262, -0.4355250001, -0.5731317997, -0.4192358255, 0.6309459209, 0.586412549, -0.0260986779, -0.0114210146, 0.3487958014, 0.2804590464, 0.3167824149, -0.5870500207, 0.0607078224, -0.1621187478, 0.0587511845, -0.6197463274, -0.3207345009, -0.3848609626, -0.1377877444, 0.6859223247, -0.1293158531, 0.2607762218, 0.4059354067, -0.4293881059, -0.1185823455, -0.0820323676, 0.9727826715, 0.5721646547, -0.2479100972, 0.2557111681, 0.1781564057, -0.4987403452, -0.1492393464, 0.1664623171, -0.1763615459, -0.1433702558, 0.4316526949, 0.4312165082, 0.3143160641, -0.5958183408, 0.3783791959, -0.1290743351, -0.2785891294, -0.3965744078, 0.1826200783, -0.1632443815, 0.4693624377, 0.2516090572, 0.020791851, 0.2173157781, -0.5439876914, 0.49169752, 0.3267597854, -0.3284656405, -0.0928666219, 0.5769643188, -0.064453505, -0.4371626973, 0.3938136995, -0.1220977083, -0.5019177198, 0.8916485906, 0.6643935442, 0.8408676982, -0.4393215179, 0.6322793961, 0.1713920683, 0.5158626437, -0.1805085242, 0.1755036414, 0.1078342497, -0.5969726443, -0.1177186668, -0.3297802806, -0.308575958, 0.3650456071, -0.4467703402, 0.3091128767, -0.528106451, -0.0577019788, -0.4442877471, 0.1544305384, -0.5403838158, 0.0468114689, 0.0265406501, 0.3883517087, -0.8867545128, 0.5595088601, 0.0942154154, -0.5628432035, -0.3073802292, 0.7635880709, -0.1846240163, -0.5170807242, 0.5082010627, 0.2541989982, -0.2474722713, 0.000109495, -0.2257911861, -0.5648617744, 1.0724527836, 0.3821501434, -0.2831863761, -0.1898244917, 0.3284394145, 0.6248846054, -0.461892128, 0.2551813126, 0.4254012704, 0.4252147079, 0.1687543392, -0.5128627419, 0.4255225062, -0.2726773918, 0.0180580579, -0.2652161419, -0.4881590307, 0.5881889462, -0.0212632325, -0.0082728714, 0.1381772012, 0.5524728298, 0.5375449657, 0.3208153844, 0.8866321445, -0.0645449832, 0.8522785306, 0.2889503539, 0.6024338603, -0.3403143585, 0.0442119054, 1.0480360985, -0.4493055642, 0.3263069093, 0.7216117978, 0.3528850675, 0.2359109074, 0.5123374462, -0.1204361096, 0.4349741638, 0.4084269702, -0.2896266878, -0.5832879543, 0.038216345, -0.3232213855, 0.3466212451, 0.4119850397, -0.0852202401, -0.0059230844, 0.2134448439, -0.0362720191, 0.2292560935, 0.0579270311, 0.3666014969, -0.082223855, -0.8754962087, 0.4544548392, -0.2934551537, 0.3080424666, -0.6327201724, -0.4436989725, -0.3720203936, 0.1324675828, 0.0144861704, -0.218905881, 0.2672986388, -0.2101911604, -0.1539604962, -0.1090219766, 0.5780270696, -0.5289693475, -0.5115297437, 0.3457309008, 0.2807772458, 0.2351291031, -0.5198321342, -0.4882434309, -0.0295904689, -0.2334672809, -0.2535356581, 0.2008742243, 0.4019675255, -0.2116604447, 0.4754018784, 0.5178125501, 0.0954085812, -0.2311210185, 0.2086991817, 0.7227156758, -0.6310683489, -0.70795995, -0.5936298966, 0.2918740511, -0.265057683, -0.2254938334, 0.7417471409, 0.5392388701, 0.4847916067, -0.2441247702, 0.5381408334, -0.0545140691, 0.233587563, -0.6952672005, 1.2449270487, -0.4593664408, 0.6042116284, -0.5496476889, -0.8977716565, -0.470589757, 0.6750065684, -0.2561581135, 0.1886779517, 0.8482952714, 1.2410566807, 0.0809722915, 0.055817388, 0.9325026274, 0.1535272896, 0.3468078971, 0.385414958, 0.8736746311, -0.4312285185, 0.544675827, -0.2626050711, -0.3093858361, -0.3424522579, -0.7706954479, -1.3989391327, -0.647916615, -0.3403254747, -0.8296670318, 0.3060445487, 0.802228868, 0.5240170956, -0.689812243, -0.2336462736, -0.0824596137, -0.0397057123, -0.552893579, -0.2548273504, 0.264341414, -0.3789014816, -0.5232637525, 0.6270141006, -0.2226885259, -0.1993282586, -0.4882082641, -0.2177403569, -0.2783362865, 0.4847382307, 0.4851819873, 0.1322759241, -0.6298822761, -0.4042544663, 0.3737013042, -0.0097055472, -0.0970621333, 1.1001380682, -0.743277967, 0.3450709581, 0.3619247675, 0.4169371724, 0.5616827607, 0.0714967176, 0.707292676, -0.7413308024, 0.0568434931, 0.433650583, -0.0433298014, 0.1083101332, -1.0588421822, 0.5460159779, 0.3914124966, -0.4280613661, -0.8106851578, 0.1656377316, -0.7432108521, -0.5346446633, 1.1633410454, 0.0108517967, -0.1206958592, -0.1469712108, -0.187315762, 0.3868983686, -0.2446438074, 1.3077529669, 0.9352759719, -0.1777953506, -0.0580699965, -0.4961005747, 0.8612904549, 0.512984395, -0.8173825145, 0.4079683423, 0.6044800878, -0.0564578027, 0.1433036476, 0.4424666166, -0.0809835196, 0.1799556613, 0.1268010437, 0.1742611527, -0.0758510828, -0.8056840897, -0.2520899475, 0.2190623134, -0.3291870654, 0.1713575274 ]
http://arxiv.org/abs/2406.17257v1
http://arxiv.org/pdf/2406.17257v1
Leveraging Parameter-Efficient Transfer Learning for Multi-Lingual Text-to-Speech Adaptation
2024-06-25T03:50:54
2024-06-25T03:50:54
Yingting Li, Ambuj Mehrish, Bryan Chew, Bo Cheng, Soujanya Poria
cs.CL
cs.CL, cs.SD, eess.AS
Different languages have distinct phonetic systems and vary in their prosodic features making it challenging to develop a Text-to-Speech (TTS) model that can effectively synthesise speech in multilingual settings. Furthermore, TTS architecture needs to be both efficient enough to capture nuances in multiple languages and efficient enough to be practical for deployment. The standard approach is to build transformer based model such as SpeechT5 and train it on large multilingual dataset. As the size of these models grow the conventional fine-tuning for adapting these model becomes impractical due to heavy computational cost. In this paper, we proposes to integrate parameter-efficient transfer learning (PETL) methods such as adapters and hypernetwork with TTS architecture for multilingual speech synthesis. Notably, in our experiments PETL methods able to achieve comparable or even better performance compared to full fine-tuning with only $\sim$2.5\% tunable parameters.The code and samples are available at: https://anonymous.4open.science/r/multilingualTTS-BA4C.
[ -0.3929549158, -0.3670730889, 0.2358624488, 0.4472318888, -0.3193473518, 0.0190789308, -0.3975327611, -0.360771656, -0.0793402046, 0.2589664757, -0.3770567179, -0.3150194287, -0.3380928934, 0.2984729409, 0.1284502447, 0.9762643576, 0.1076301709, -0.0152995586, 0.5086987615, -0.2780027092, -0.3622192144, -0.524864316, -0.686373353, -0.1379255503, 0.5072634816, 0.4889121056, 0.2670821846, 0.4673607647, 0.2594803274, 0.241111353, -0.1134997606, 0.4126570821, -0.3708566725, 0.0624739528, -0.2693039179, -0.2736822665, -0.4029662609, -0.3289350569, 0.9286118746, 0.5432776213, -0.0276650656, 0.0448215045, 0.1396834999, 0.4314171672, -0.6181430817, 0.2006826103, -0.7758892775, 0.1224313751, -0.0743038803, -0.20586887, -0.6714829803, -0.2419229746, 0.3384039402, -0.792001009, -0.0459734127, -0.0740507245, 0.411534965, 0.0050498466, -0.4220540226, -0.1560090482, -0.8975129724, 0.8045282364, -0.6263760328, 0.9921404123, 0.2807142138, 0.2504325509, 0.0584355704, -0.7307305932, -0.350987792, -0.2539309263, -0.0091752391, 0.1266082078, -0.0039584502, -0.0602977164, -0.0298732501, -0.1059281826, -0.7290531397, 0.1287969053, -0.3313804269, -0.448836714, 0.2699390352, -0.2169973701, 0.0432898663, -0.0382097512, -0.433832556, -0.3698046505, -0.4089529812, -0.0262872595, 0.2833200097, 0.8079204559, -0.3152950108, -0.1588066965, 0.2830339074, 0.6724880338, 0.1820296943, -0.2178802192, 0.3620301485, -0.5325351954, 0.0731755123, 0.2608703077, 0.7639446855, -0.10750328, 0.484803915, -0.2392403036, 0.0671836361, -0.4971656203, 0.1005428508, -1.10341084, -0.0670103729, 0.033969216, -0.2800785005, 0.0460953414, -0.1347106695, -0.7415245771, -0.0676773414, -0.2898992598, 0.4096239805, -0.5594239235, -0.3967905641, 0.1382383555, 0.0229108948, 0.2099297941, 0.0863573626, -0.9954464436, 0.1236640215, 0.3026327789, 0.9912468195, -0.2609001398, -0.7991988063, -0.8815504313, 0.4460154772, -0.4647199214, 0.5183503032, -0.3437871337, -0.4528095722, -0.1758780777, 0.1952698678, -0.3495282531, -0.4639612734, 0.6107677221, -0.4184170663, 0.0630410537, -0.0338306725, -0.1791145504, -0.1728806943, -0.1075734869, -0.6712948084, 0.9092237949, -0.1210338697, -0.4811094701, 0.0582637377, -0.716966033, -0.714984417, -0.0813674778, 0.2706613839, -0.471318692, 0.0246915817, 0.2541992664, 0.5495352149, -0.2307100445, 0.2907084227, -0.1251271367, -0.2532674372, 0.2713514864, -0.636105597, 0.6309292912, 0.3761771023, -0.2822435796, 0.1660024971, -0.9132853746, 0.1104688421, -0.238293916, -0.5531929135, -0.3274964988, -0.3032038808, 0.6389496326, 0.1401715279, 0.0687281117, -0.3002105057, -0.1144161075, -0.4448167086, 0.5708650351, 0.6261470318, -0.1041991487, 0.4647803903, -0.2460143417, 0.3233518302, 0.0767117292, 0.1006583869, -0.0029512006, -0.1278711259, -0.4126207232, -0.4220862091, 0.6110009551, 0.4190824628, -0.7553052902, 0.217828542, -0.3148994744, -0.6551354527, -0.5802862644, -0.1415835321, 0.42278561, 0.5004341006, 0.4705786407, -0.1297217757, -0.503595233, -0.6366322637, -0.293705374, -0.2548160255, -0.0900537595, 0.1282854378, 0.2292981595, 0.1714796871, 0.4933174551, -0.0821781307, -0.1318477988, -0.1263526529, 0.144315958, 0.0212464258, 0.503479898, 0.7150039077, -0.8456217647, -0.730638206, 0.4201288819, -0.2861615419, -0.1288495958, -0.2306932211, -0.1019234434, 0.1524269879, 0.5533511639, -0.1988204271, -0.2380397469, 0.8052176833, -0.1230849773, 0.7433445454, -0.4958359003, 0.157834664, -1.4046145678, 0.410977453, -0.0582537875, -0.3482034802, -1.0728379488, -0.1103532836, 0.1763980538, -0.2744937539, -0.8330375552, 0.6231411695, -0.4300828576, -0.1001130342, -0.2274449021, -0.0432068743, -0.1331005991, 0.6394193172, 0.2292639911, 1.0979391336, 0.6315983534, -0.699020803, 0.0892920792, 0.1937299371, 0.0732854605, 0.6103215218, -0.4404915273, 0.2384283543, 0.0688647106, 0.2860857844, -0.6658874154, 0.1040088981, 0.1923540086, -0.294885993, 0.1459783614, -0.1849052608, -0.1720019579, 0.1845443547, -0.3072654307, 0.5723335147, 0.3844026923, -0.6221497655, 0.8444627523, 0.1524092257, -0.2928852141, -0.4159159958, -0.7277021408, 0.0049828161, -0.4221973419, -0.2399816513, 0.7380966544, -0.2990095317, 0.3256652355, -0.1420028508, 0.0720469281, -0.2755313814, -0.1329906583, -0.3063158095, -0.0894463584, -0.4181961417, 0.0830618218, 0.0541372225, -0.2213715464, -0.2401133925, -0.5058683157, 0.4479201138, -0.2179573476, -0.2008893043, -0.5930314064, 0.4153183103, 1.0996420383, -0.4452333152, 0.5023613572, 0.9353548884, -0.2000003457, -0.27391541, -0.1419461221, -0.2742197216, -0.4721196592, 0.7190649509, -0.833104074, -0.6689924002, 0.6094802618, -0.3962065876, 0.0053749029, 0.1689018905, 0.7305732965, 0.3766199946, 0.8025394082, 0.5536547303, -0.1244124547, 0.6544917822, 0.0974101573, 0.0984985381, -0.8995317817, 0.0211887546, -0.6072756052, -0.0882165805, -0.9530235529, -0.4483129978, 0.6893880367, -0.212520197, -0.220976308, 0.4863650203, -0.3749467432, 0.2295984477, 0.6573355198, 0.1133230478, 0.2318231463, 0.141824618, -0.2180671394, -0.0201118886, -0.8398091793, -0.1230749115, 0.945184052, 0.1395355612, 0.4454292655, 0.22169213, 0.3300057352, 0.0392692275, -0.3031162322, -0.7491955757, 0.3869248927, -0.5642011762, -0.2322520167, -0.3886550665, -0.4303171337, -0.9388151169, 0.5022699237, -0.2137837261, -0.5227724314, 0.4124734104, 0.0351378508, -0.2680222988, 0.2542062998, -0.7225972414, 0.6647323966, -0.2597112656, -0.4949494004, -0.3023891747, -0.7933569551, -0.2342810631, -0.4827543497, 0.2444450259, 0.1049395651, 0.0206593648, 0.7391555309, -0.0301311426, 0.7646567822, -0.24347426, -0.087975271, -0.0560628138, -0.0092406794, 0.402100116, -0.1426448375, -0.3756940961, 0.1214859039, 0.127346769, -0.2492921203, -0.5801967382, 0.5134937167, -0.7947635651, -0.1243499741, -0.0759712309, -0.7645065188, -0.6027643681, 0.1902092099, 0.074360542, 0.5552957654, -0.1855982393, 0.2908136249, 0.6001580954, -0.200223729, 0.6453716159, 0.6563652158, 0.0294528045, -0.5291473866, 1.1810898781, 0.1772574633, 0.320869118, 0.508109808, 0.5860889554, -0.4065195322, -0.6346799731, -0.8152236342, 0.3184009492, -0.4522171915, -0.0430074073, -0.2841814756, -0.3219222724, -0.252732873, -0.1199035645, -0.6520280838, -0.2001875788, -0.3764032423, 0.1766505837, 0.4942425489, 0.2427596748, -0.2655294538, 0.358984828, -0.8651183844, 0.3886224627, 0.3128550947, 0.4193098545, -0.0084126461, -0.7880191803, -0.4260234535, -0.0974164307, -0.1687746495, -0.8125112653, 0.2229460627, 0.6611698866, 0.4111418128, 0.0443625301, 0.1190667748, 0.7471056581, -0.6625860929, 0.5534722209, 0.1823241413, -1.0493680239, 0.2331388593, -0.1669595838, 0.437183857, 0.406006217, 0.5707464814, -0.6761661768, -0.1168712229, -0.2494354695, -0.7565121055, 0.8303883672, 0.0977795795, 0.1023048535, 0.5610378981, 0.2923671603, 0.2585497499, -0.1661238223, -0.5490876436, -0.1197384521, -0.1368112564, -0.3659224212, -0.0695381984, 0.0201962236, 0.1728267372, -0.2635174692, 0.8797765374, -0.4257123172, 0.0712458044, 0.0515156575, -0.1515280902, 0.2456029356, 0.3951865137, 0.7506949902, 0.5046702623, -0.0053282036, 0.2509322762, 0.404646039, -0.5403276086, 0.3935745358, 0.2790935636, 0.10610158, 0.0435417667, 0.2324511558, 1.1695162058, 0.2812201083, -0.4146620333, 0.2369537055, -0.0004860351, -0.4616602063, 0.2132519931, -0.2239892185, 0.3059152365, 0.2109531015, 0.2502774, 0.0277402233, 0.1403312832, -0.3529068828, 0.2945837379, 0.0572308786, -0.2575030029, -0.6433933377, 0.6035666466, 0.2491624355, -0.4336163998, 0.3263779581, 0.0927456692, -0.4378093183, 0.2389277667, 0.9453288317, 0.8971657753, -0.8155823946, 0.219504565, 0.2466403842, 0.0347840451, 0.0326897539, 0.1098074466, -0.041056376, -0.4763434529, -0.652972281, -0.6646219492, -0.6098618507, 0.2147290558, -0.345993489, 0.421308279, -0.0960756764, 0.0842416063, 0.1139166728, -0.4072917998, -0.3898881376, 0.1250943691, 0.0973564982, 0.6037678123, -0.9470168948, 0.9350605607, 0.7780578136, 0.0067322049, -0.9261366725, 0.1139376163, -0.3900321722, -0.6333189607, 0.4302027225, -0.2217004746, -0.5014413595, 0.2153704762, 0.2725408375, -0.8259488344, 0.5748226643, 0.8971719742, -0.5912739038, -0.0156506039, 0.4721392989, 0.5700513124, -0.097919926, 0.3219334185, 0.4345880449, 0.6211737394, 0.1037478819, -1.3514376879, -0.042240601, 0.0088039776, 0.1976372749, 0.0417778082, -0.77361691, 0.5910978913, 0.1020787507, 0.1793926507, -0.3094042242, 0.4514143169, 0.1681756079, -0.0432266109, 0.6221814156, 0.0465555117, 0.6994652152, 0.3193686903, 0.4522096515, -0.5653167367, 0.2081367075, 0.8433468938, -0.1051735207, 0.9237043262, 0.4696370363, -0.0921781957, 0.2530164123, 0.5234651566, 0.3312488198, 0.821870327, -0.0187038518, -0.2690403759, -0.1720244437, -0.1329764575, -0.3382536173, 0.8603515029, 0.2763895988, -0.1851187497, -0.2694453895, 0.4068108201, -0.0799939185, -0.1242363751, -0.1274132878, 0.9316813946, -0.0616187602, -0.5121436119, 0.9847143292, 0.0296620987, 0.6544572711, -0.7591617107, -0.0230729524, -0.1417654306, 0.1881915331, 0.0039976719, -0.4634483159, 0.3139135242, -0.0739056692, -0.240853861, -0.2622963786, 0.616710186, -0.6122811437, -0.3925895393, 0.3399412334, 0.6750603318, 0.1827995032, -0.0240499564, -0.7087087035, -0.0161465742, 0.0218110494, -0.2217038423, 0.388767451, 0.4449716806, -0.2174994648, 0.5005676746, 0.7131469846, 0.4108993709, 0.0023105622, 0.1786796153, 0.4748488963, -0.3649539649, -0.8117642999, -0.7795649171, 0.3581837714, 0.3669500351, -0.3929845095, 0.4599710405, 0.6097049713, 0.8449425697, -0.2867957652, 0.8863709569, 0.2559783161, 0.3717050254, -0.5759096742, 0.6372455955, -0.6129093766, -0.0745786354, -0.2280745357, -0.7821260691, -0.2984241247, 0.4402954578, -0.0088312728, 0.0345399678, 0.6794644594, 0.8426804543, -0.3580994308, 0.0438870788, 0.4605066478, 0.0241365042, 0.2878500223, 0.5770301819, 0.4472639561, -0.336773783, 0.7447094917, -0.1505317539, -0.1359727085, -0.2690747082, -0.9261060953, -0.4061764777, -0.9054197073, -0.2893371284, -0.0523990095, 0.4813539386, 0.853993535, 1.0519539118, -0.8700712323, -0.5422503352, -0.0874392837, -0.0597267598, -0.4663701952, -0.1588265449, 0.7210957408, -0.3755429387, -0.9854539037, 0.5444342494, 0.104959622, -0.000543743, -0.0274379216, -0.1560760736, -0.1162688136, -0.0106213987, 0.6769382358, 0.3135225773, -0.4232261777, -0.3660151362, 0.030666532, 0.2032434195, 0.2245077044, 0.7483110428, -0.5754830837, 0.5425357819, 0.40656811, 1.0017582178, 0.6385018826, -0.2171113193, 0.6010372639, -0.9130232334, 0.2305433154, 0.1375995278, 0.0499714762, 0.4061652422, -0.1160297021, 0.2059605718, 0.2183409482, -0.5872374177, -0.6846684217, 0.1635280997, -0.9961901307, -0.4194837511, 1.1347945929, -0.0728441179, -0.0617245436, 0.0285190288, -0.3740843534, 0.5288819075, -0.3079497814, 0.4017435908, 0.3774602115, -0.2888146341, -0.1763407141, -0.4027736187, 0.5084419847, 0.5256263614, -0.7997755408, 0.2857016027, 0.1796291769, 0.3457179368, -0.0117637962, 0.3996918499, 0.1302494258, 0.3728049099, -0.0819102004, -0.0026641688, -0.0923163593, -0.4121926427, -0.4127129316, 0.2703130543, 0.1804538667, -0.4519714713 ]
http://arxiv.org/abs/2406.17255v1
http://arxiv.org/pdf/2406.17255v1
MPCODER: Multi-user Personalized Code Generator with Explicit and Implicit Style Representation Learning
2024-06-25T03:45:28
2024-06-25T03:45:28
Zhenlong Dai, Chang Yao, WenKang Han, Ying Yuan, Zhipeng Gao, Jingyuan Chen
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated great potential for assisting developers in their daily development. However, most research focuses on generating correct code, how to use LLMs to generate personalized code has seldom been investigated. To bridge this gap, we proposed MPCoder (Multi-user Personalized Code Generator) to generate personalized code for multiple users. To better learn coding style features, we utilize explicit coding style residual learning to capture the syntax code style standards and implicit style learning to capture the semantic code style conventions. We train a multi-user style adapter to better differentiate the implicit feature representations of different users through contrastive learning, ultimately enabling personalized code generation for multiple users. We further propose a novel evaluation metric for estimating similarities between codes of different coding styles. The experimental results show the effectiveness of our approach for this novel task.
[ -0.5543696284, -0.0874708518, 0.3375792801, 0.3650450706, 0.0411782861, 0.2624849379, -0.3808322847, 0.0637136102, 0.1516396403, 0.2996575832, -0.4356286824, -0.6342957616, -0.4670253694, 0.3706575334, -0.1502632052, 0.8583334088, 0.0956436321, 0.0306199491, -0.2646404803, -0.1099011078, -0.488052398, -0.8737310767, -0.3444426954, -0.1121885851, 0.6103322506, 0.5385081172, 0.1829984933, 0.3586628139, 0.3687544763, 0.3402888775, 0.3550939858, 0.165408656, -0.4580419958, 0.0473602712, 0.1687622517, -0.0506884791, -0.1040257588, -0.3823703229, 0.2928859293, 0.1576592028, -0.2090933919, 0.4394538701, 0.0828647539, 0.4177371562, -0.5809875131, 0.0991673693, -0.6120322347, 0.2116241604, 0.133362636, -0.4586069584, -0.4257154763, -0.7046782374, -0.2864094675, -0.212793842, 0.1625985056, -0.1706434041, 0.4757991731, -0.0137134502, -0.560174644, -0.4376422465, -0.7796962261, 0.674238503, -0.6786039472, 0.3589737415, -0.0156919826, 0.4952574074, 0.2934644222, -0.9045872688, -0.7634592056, -0.3531647027, -0.2792288363, -0.1050410867, -0.0607649982, -0.3213199377, 0.1663919538, 0.210678339, -0.3695703447, -0.089913331, -0.3820572197, -0.1075883806, 0.5340906382, 0.2222864628, 0.5091258883, -0.0841130689, -0.4625273645, -0.0078996541, -0.5362100601, 0.0810289308, 0.6390919089, 0.009871182, -0.1922052652, 0.257832408, -0.1676226109, 0.3887021542, -0.051915478, -0.4559755623, 0.6026884317, -0.3072220087, 0.1636130214, -0.0799971744, 0.7880323529, 0.5097723603, 0.4132289886, -0.2082915157, -0.3147766888, -0.0587644465, 0.3149762452, -0.9089753032, -0.3546280563, -0.1127518192, -0.541905582, -0.3623763621, 0.3534736931, -0.8793370724, -0.4345352352, -0.416698128, 0.0167493951, -0.2654931843, -0.2352339029, -0.0496063642, -0.1122523174, 0.1662277877, 0.0812397376, -0.9487021565, 0.229938969, 0.2737338543, 0.5402687192, -0.0708800331, -0.5607220531, -0.4055760801, 0.284337163, -0.0527235121, 0.4326971471, -0.7426031232, -0.4468218386, 0.1039656922, -0.400154233, 0.2886305749, -0.3688766956, 0.1038420424, -0.3524862826, -0.0159108024, -0.1667450666, -0.2440990061, 0.0671006143, -0.0078543564, -0.431333065, 0.6233739853, 0.3979123533, -0.6360130906, 0.46885553, -0.537828505, -0.18502675, 0.2141837627, -0.5230763555, -0.7066698074, 0.2072827071, 0.1553922743, 0.6170548201, 0.1004464105, 0.2537040412, -0.4818302393, -0.6321623921, 0.4480559528, -0.1372051984, 0.2428171188, 0.3945138454, -0.106841512, 0.4759011269, -0.8457593918, 0.0278437417, 0.1685848981, -0.7116873264, 0.0505213924, -0.0160212088, 0.2948284149, 0.5136247277, 0.38001737, -0.4685046673, 0.3222468197, 0.2448339462, 0.4030472338, 0.9112020135, 0.0811432377, 0.1030148566, -0.2400309294, 0.5114166141, -0.2284218073, -0.1575974822, -0.4979479313, -0.0162884723, -0.6322922707, -0.2996648252, 0.0978115201, 0.3055516481, -0.5825760961, 0.4990506172, -0.3500477076, -0.1018091664, -0.2015625238, 0.6418940425, 0.7854289412, 0.1600936204, 0.2801011503, -0.4299612939, -0.7036883235, -0.6963558197, -0.1473105401, 0.1595141441, -0.2273249626, 0.6848838925, 0.4010209143, -0.7003769875, 1.0244003534, -0.7878434062, -0.2344243973, -0.4120766222, 0.058268901, -0.2241408378, 0.5896102786, 0.694583118, -0.9202415347, -0.5611363649, 0.1332791746, -0.5286778808, -0.1222618818, -0.1323809475, 0.0859469995, 0.1524857134, 0.5475010276, 0.1400291622, 0.0038425392, 0.681435585, -0.342653513, 0.5648824573, -0.3755362928, 0.2607859969, -1.2070937157, 0.2788283825, 0.2393181771, -0.1423994154, -0.3596233428, 0.2926612794, 0.107087411, -0.4453173578, -0.3796114922, 0.4107935429, -0.4226040542, -0.2177295685, -0.0179230142, -0.4147456884, -0.1043328643, 0.8972287178, 0.0345463417, 1.0231643915, 0.2146935463, -0.4153803885, 0.3723622859, 0.0176523197, -0.3799978793, 0.2971586883, -0.6559273601, 0.6515433192, -0.0553455688, 0.0671831518, -1.0515688658, -0.4103454053, -0.0468917936, -0.3279896677, 0.2247730047, -0.4300053418, -0.5730574131, -0.3033511341, -0.3476040661, 0.1290768236, 0.9534823895, -0.7264344096, 0.3820151091, 0.1621344835, -0.1776587963, -0.3169666529, -0.3926478624, -0.0760222152, -0.2780003548, -0.5283702016, 0.252825886, -0.1714896709, -0.0410847366, -0.1180806085, -0.2814139426, -0.183413431, 0.0486503355, 0.3160010278, 0.0415684171, -0.250870496, 0.034604881, 0.0889514759, -0.2443347722, -0.0414225794, -0.0540583096, 0.7805054784, -0.2161105424, -0.4551249444, -0.1582352668, 0.4794968665, 0.2802974582, -0.6677692533, 0.6233019829, 0.9295170903, 0.0111690499, -0.2903541028, -0.6455131769, 0.1237085834, -0.5407691598, 0.4524480104, -0.6799767613, -1.1233285666, 0.4041699469, -0.4103944302, -0.2048780173, 0.0797755048, 0.7089834213, 0.070677422, 1.1265922785, 1.0686333179, 0.0880669132, 0.5273456573, -0.1120068207, -0.080439806, -0.7840046883, -0.5439730287, -0.5765277743, -0.2757636011, -0.2981381118, -0.1095986962, 0.2110583782, 0.245391205, -0.4561724663, 0.2998286784, -0.6693191528, 0.7501472831, 0.5640578866, 0.2033781409, 0.1614690572, 0.2179310322, -0.2245201021, -0.1158049703, -0.2234046459, -0.4818120897, 0.909213841, 0.2161281109, 1.0375000238, 0.4067032039, 1.0551338196, 0.3269439638, 0.1421618462, -0.4464052618, 0.1582479328, -0.3061579764, 0.1414392143, 0.2354412228, -0.59422189, -0.4291899204, 0.0481144376, -0.0999797359, -0.7363646626, 0.2499391288, 0.3622398674, -0.2505782247, 0.0205773637, -1.0626140833, 0.9849134088, -0.2035053223, -0.1574790031, 0.0946320966, -0.54555583, 0.4578262866, -0.3115737736, 0.0146199288, -0.0413867049, -0.2136120051, 0.368131727, -0.1896895021, 0.9406561255, -0.1780869812, 0.1041591987, -0.0705584511, 0.2551958263, 0.2613555491, 0.3112933934, 0.0174206588, -0.0272922572, -0.3785563409, -0.1158501878, -0.5803183913, 0.9835889935, -0.6494602561, -0.3336298168, -0.1278232187, -0.2335394174, -0.0988340452, 0.1767714471, 0.2210638076, 0.5740897655, -0.1913937926, 0.1248753965, 0.5382947326, -0.4071332216, 0.6759337783, 0.3083764613, -0.2262536287, -0.6121470928, 1.1945153475, -0.4558542669, 0.0047190916, 0.337056607, 0.2426689118, -0.0438925438, -0.4456116259, -0.3949976861, -0.0510719828, -0.7107334137, -0.196953848, -0.6148343086, -0.0342616923, -0.2956123352, -0.5392193198, 0.0408171713, 0.1697818041, -0.1436018497, 0.3018604517, 0.3909419477, 0.7737386823, 0.418295294, 0.288908273, -0.9413534999, 0.4913038909, 0.4941279888, 0.4475598633, -0.1718343347, -0.1874673367, -0.0676966906, -0.380751133, -0.2772923708, -0.8319471478, 0.4688281715, 0.2714959681, 0.6115764976, 0.278303057, -0.1436553597, 0.5153112411, -0.7145018578, 0.6470154524, 0.5148404241, -1.0618542433, 0.3859083951, 0.0376244001, 0.5074712634, 0.5921824574, 0.5126304626, -0.7510271072, -0.0630899966, -0.2126820087, -0.5569577217, 0.523614347, 0.0556183867, 0.6064389348, 0.0764231086, 0.3688745499, 0.2892794311, 0.2482444048, -0.7445418239, -0.2111641616, -0.4016894102, -0.3805780709, -0.1315023154, -0.4044031203, 0.0528327711, -0.185208559, 0.0860792175, -0.6226041317, 0.5145322084, -0.1232022718, -0.0889566541, 0.2608938515, 0.5891285539, 0.6907402873, 0.9190061092, -0.1162292585, 0.0825801641, 0.0893184319, -0.2462317795, 0.1201894656, 0.1623854637, 0.0907068551, -0.1071554422, 0.1618827134, 0.6809765697, 0.1791844964, -0.5853926539, 0.7483336329, -0.3779541552, 0.0688394234, -0.4647183418, 0.2284222096, 0.2306967974, -0.0439246334, 0.1188291088, 0.5905222297, 0.1219954714, -0.3912151158, 0.4062822759, 0.1482902169, -0.4240953922, -0.2384761721, 0.5625133514, 0.6203833222, -0.3228338957, 0.4217337668, -0.4399320185, -0.538810432, 0.5258389115, 0.6834687591, 0.9705296159, -0.1114683226, 0.0742573962, 0.2828449607, -0.1427896321, 0.3350292146, 0.3427399397, -0.3243698776, -0.5793578029, -0.4612839222, -0.9368419647, -0.1076833233, -0.1628426164, -0.4963156283, 0.5899372697, -0.6243349314, 0.260491401, -0.1990214437, -0.2688634694, -0.5475007892, -0.1839131564, 0.3358984292, 0.6674341559, -0.5107125044, 1.0493425131, 0.7169615626, -0.6846871376, -0.7140162587, 0.1773672253, 0.2311679125, -0.5416807532, 0.8128449321, 0.2321351767, -0.3629379272, -0.0188007001, -0.4212104082, -0.4467467964, 0.9557554126, 0.5863943696, -0.6759006977, 0.0935469642, -0.2244818956, 0.4148391187, -0.8057444692, 0.1889200956, 0.3862390518, 0.0103840576, 0.1160899773, -0.5935332775, 0.0196552351, -0.4879565239, 0.4808884561, 0.2996611893, -0.5659214258, 0.7345190048, -0.4271608293, -0.0709287375, 0.0099654449, 0.3937619627, 0.3102628291, 0.0675588995, 0.0796688572, 0.1830164641, 0.4230197966, 0.050757166, 1.3115144968, -0.5128371119, 0.3659254611, 1.0877068043, -0.2263057232, 0.6553961635, 0.130968079, -0.0567666031, 0.6771719456, 0.0623216294, -0.2660188973, 0.4450392723, 0.3998738229, -0.3508974612, -0.0802214667, 0.1729183644, -0.5331367254, 0.3218924701, 0.0912705585, -0.6114301682, 0.0814180896, -0.0622123666, 0.1630863845, 0.3275858462, -0.1264024228, 1.066647172, -0.021138072, -0.1694563478, 0.4568761885, 0.3232387006, 1.1822272539, -0.852953732, -0.4286982119, -0.4159845412, 0.3591369689, -0.4496635497, -0.66774863, 0.1224956214, 0.1708899736, -0.116345048, -0.3673219383, 0.7673349977, -0.4264885187, -0.4545616806, 0.1403028369, 0.1958329827, -0.2262219638, 0.165112868, -0.527048409, 0.2455809712, 0.195115909, 0.1115967631, 0.3862210512, 0.1735825986, 0.3625265062, 0.6886088252, 0.6487719417, -0.1223086119, 0.3591653109, 0.2921518981, 0.9628885388, -0.6176518798, -0.370990634, -0.8681094646, 0.3683867455, -0.0870516077, -0.6228290796, 0.9179366231, 0.6852174401, 1.0913295746, -0.6549888253, 0.7357091904, -0.0913638845, 0.0992426649, -0.5591788888, 0.7291230559, -0.2542724609, 0.4173607826, -0.519646585, -1.1374824047, -0.2612531185, 0.3646597564, 0.1720106006, 0.3995014727, 0.4739007056, 0.6273291707, -0.3005026579, -0.3914188445, 0.2192379832, -0.3477303982, 0.3915453851, 0.7103540301, 0.8726198077, -0.0662653521, 0.7851825356, -0.5493916273, -0.1548998356, -0.1301564574, -0.8555119634, -0.8240763545, -0.5582641959, -0.2993935645, -0.2873538435, -0.0272841547, 1.1551553011, 0.8951733708, -0.6596428752, -0.449422121, 0.0950606838, -0.0197296124, -0.2018238157, -0.1939442307, 0.087170206, -0.4519058764, -0.7339949608, 0.0770800337, 0.0581413619, -0.0437745936, -0.3844054937, -0.6039104462, 0.3191764057, -0.2499637008, 0.5890129209, 0.3200289309, -0.5977110863, -0.2176775336, -0.2517588437, -0.3412795961, 0.2393278331, 1.3000879288, -0.766197741, 0.40744403, 0.6352698803, 0.6608467698, 0.4067691863, 0.0780385658, 0.4477737248, -1.2718631029, -0.1099376082, -0.0661224648, 0.4513958395, 0.3137857318, -0.492336303, 0.3346065581, 0.0824182928, -0.3649528921, -0.551482141, 0.3398814201, -0.9197001457, -0.2664803863, 1.1692777872, -0.3701816499, 0.1243587658, 0.0544079244, -0.5329799652, -0.1778084487, -0.7623520494, 0.3563528359, 0.2142685205, -0.251860261, -0.4714133441, -0.1776319146, 0.4869128168, -0.1981367916, -0.8702138066, -0.2073438019, 0.5947201848, 0.5207872391, 0.2497055084, 0.5942396522, -0.0492463671, 0.4332715571, 0.1875459701, 0.5060718656, -0.6787004471, -0.4032113552, -0.7203238606, 0.437843889, 0.2637217939, 0.1133124903 ]
http://arxiv.org/abs/2406.17253v1
http://arxiv.org/pdf/2406.17253v1
How Well Can Knowledge Edit Methods Edit Perplexing Knowledge?
2024-06-25T03:41:02
2024-06-25T03:41:02
Huaizhi Ge, Frank Rudzicz, Zining Zhu
cs.CL
cs.CL
As large language models (LLMs) are widely deployed, targeted editing of their knowledge has become a critical challenge. Recently, advancements in model editing techniques, such as Rank-One Model Editing (ROME), have paved the way for updating LLMs with new knowledge. However, the efficacy of these methods varies across different types of knowledge. This study investigates the capability of knowledge editing methods to incorporate new knowledge with varying degrees of "perplexingness", a term we use to describe the initial difficulty LLMs have in understanding new concepts. We begin by quantifying the "perplexingness" of target knowledge using pre-edit conditional probabilities, and assess the efficacy of edits through post-edit conditional probabilities. Utilizing the widely-used CounterFact dataset, we find significant negative correlations between the "perplexingness" of the new knowledge and the edit efficacy across all 12 scenarios. To dive deeper into this phenomenon, we introduce a novel dataset, HierarchyData, consisting of 99 hyponym-hypernym pairs across diverse categories. Our analysis reveal that more abstract concepts (hypernyms) tend to be more perplexing than their specific counterparts (hyponyms). Further exploration into the influence of knowledge hierarchy on editing outcomes indicates that knowledge positioned at higher hierarchical levels is more challenging to modify in some scenarios. Our research highlights a previously overlooked aspect of LLM editing: the variable efficacy of editing methods in handling perplexing knowledge. By revealing how hierarchical relationships can influence editing outcomes, our findings offer new insights into the challenges of updating LLMs and pave the way for more nuanced approaches to model editing in the future.
[ -0.1234210059, -0.8664048314, 0.7870479822, -0.038926065, 0.0059943418, 0.404910624, -0.064804852, -0.3105111718, 0.0419497117, 0.2782655954, -0.4892040789, -0.6837147474, -0.8301148415, 0.2040691525, -0.4087211788, 0.9758647084, -0.0771486163, -0.2762694061, -0.2737655938, -0.1228923947, -0.368720144, -0.9626889229, -0.1567538381, -0.2951271236, 0.7020292878, 0.4786585867, 1.247810483, 0.6927185059, 0.7193356156, 0.3269785643, -0.7554444671, 0.0454397388, -0.7365924716, -0.0233315025, -0.3204895258, -0.7059156299, -0.7978322506, 0.0500396602, 0.6803137064, 0.8353212476, -0.0241145622, 0.0457317531, 0.0148309153, 0.514325738, -0.80098629, -0.2135693729, -0.9574287534, 0.2078214735, -0.3354019523, -0.3025183082, -0.0070342487, 0.0086023994, 0.4469871819, -0.9618221521, -0.0020463604, -0.0508524664, 0.7969943881, 0.3899711967, -0.2033709437, -0.4344941378, -0.6854045391, 0.3178935945, -0.8496472836, 0.2937837839, 0.2543104291, -0.147726059, -0.298566848, -0.5465732813, -0.757861495, 0.117723614, -0.0669590309, -0.11513675, -0.3559990227, 0.1357482821, 0.8317096829, 0.2384918481, -0.0622471049, 0.278752625, -0.019920392, 0.0461476333, 0.3542274535, 0.2725393474, 0.3448898196, -0.5915563107, -0.2529327571, 0.1702410281, -0.8688168526, 0.0317980871, 0.52059412, -0.1289134324, 0.180128172, 0.8915771246, -0.1921016872, 0.4719258547, 0.2025716007, -0.3896544874, 0.1315408498, -0.1351436973, -0.4814602733, -0.0946874246, 0.3572352827, 0.361513406, 0.0146796331, -0.1803724021, -0.2532370985, -0.3364675343, 0.1218490824, -0.2675595582, -0.2500408292, 0.131812498, -0.0972389057, -0.3914237618, -0.2811379731, -0.3569281399, -0.800940156, -0.1882112175, 0.6088297367, -0.4093197584, -0.0706899539, 0.3034419417, -0.1145332679, -0.0966373608, 0.7127560973, -0.5743396282, 0.0071581029, 0.7488892674, 0.5402507782, -0.0550999828, -0.5019322634, -0.0999426618, 0.2802023888, -0.4253793955, 0.6517724395, -0.727335453, -0.2666823566, -0.1635170579, -0.2967558205, -0.0469608158, -0.5830985904, 0.2003457844, -0.7868224978, -0.0458084606, -0.4286260307, -0.8455538154, 0.1050697714, 0.2262652963, -0.4730378389, 0.6355931163, 0.0718264058, -1.1190621853, 0.3614869416, -0.5725012422, -0.2918874919, -0.1318864375, 0.1325541139, -0.1539877355, 0.2659868002, 0.0610166937, 0.1351157725, -0.0968478248, 0.2683552206, -0.1432985067, -0.0936457142, 0.513151288, -0.0909033641, 0.5587551594, -0.0305686649, -0.0180767979, 0.1367365122, -0.6269988418, -0.4355923235, -0.1074519381, -0.2974501252, -0.6382004023, -0.1029556543, -0.5579308271, 0.2687946558, 0.3629908562, -0.3000073433, 0.4929536879, -0.0578859188, 0.242181778, 0.7520446181, 0.2050519735, 0.3564743996, -0.4815481305, 0.7843580246, 0.1614345163, 0.2223126143, -0.0429345034, -0.4310723841, -0.6354678869, 0.1149694026, 0.5617726445, 0.7517147064, -0.8260469437, 0.0592388138, -0.2135169953, -0.2956911325, -0.5922296047, 0.4646368623, 0.530489862, 0.7530812025, 0.4136927724, -0.1056693122, -0.4659466743, -0.8654914498, -0.5784210563, -0.2044097632, 0.114418216, 0.198189348, 0.5532268882, -0.2587144971, 0.7351983786, -0.5362013578, -0.0244267527, -0.016730262, 0.277534306, 0.1136916205, 0.4778259099, 0.2344357967, -0.6387320161, -0.1528474092, -0.1163375676, -0.907073915, -0.1860559881, -0.2325303108, -0.1629111618, 0.0791601092, 0.6807070971, -0.5744680762, 0.4389252961, 0.311934948, -0.1546080559, 0.8617635965, -0.2221100479, 0.3015595078, -0.8872381449, -0.2705245018, -0.106396541, 0.27766487, -0.6908464432, 0.2189331651, 0.0495378263, 0.3318874836, -0.496594727, 0.1813020706, -0.4353359342, 0.1435305625, 0.1300533116, 0.1308661103, -0.2670730352, 0.324680984, -0.2194374651, 0.4807202518, 0.2631213069, -0.291785866, 0.2027276456, 0.5422210693, -0.6242518425, 0.4620513916, -0.3804967701, 0.2699100673, -0.2639886439, -0.0455907881, -0.8892684579, -0.2623622417, 0.0505059771, -0.2995715141, 0.1007421315, -0.2285820395, -0.6458687186, -0.0330689922, -0.1562664211, 0.4296613634, 0.2384728938, -0.2458188534, 0.4242018163, 0.365226984, -0.4447207749, -0.9251461625, -0.7339348197, 0.5673243999, -0.303964287, -0.6471134424, 0.4651670754, -0.019445831, -0.5119869113, 0.2717483044, -0.4260849953, 0.0235695038, 0.2378039807, 0.035265144, 0.2270306498, -0.0729287043, 0.1667436957, 0.27199471, -0.049249623, 0.0870277584, 0.0163065642, 0.0160070676, 0.391651541, -0.3011584878, -0.5679547787, -0.0317335837, 0.6677513123, -0.1443555355, 0.5593799949, -0.1470122635, -0.4968200326, 0.0937600657, -0.758190155, 0.1664994508, -0.4153223336, 0.6246641278, -0.8421141505, -1.0069042444, 0.6466175318, -0.1825222522, -0.0275879223, 0.4436356723, 0.2473739982, -0.2940852046, 0.848295331, 0.6211230159, 0.1139800251, 0.3735417426, -0.2233279347, 0.2202471197, -1.0846937895, -0.2366381586, -0.4903427064, -0.4100280404, -0.7026498914, -0.5293962955, 0.5308161378, 0.3716630042, -0.0055991933, 0.1712374687, 0.068445161, 0.5489815474, 0.1956577301, 0.1638702899, 0.921066761, -0.0892096087, -0.1418743134, -0.2203309387, -0.9763570428, -0.5293227434, 1.2424556017, 0.3935874701, 0.8613387346, 0.3420098126, 0.5758064389, 0.1556022167, 0.3197890222, -0.6437314153, 0.3528895974, -0.3439974487, -0.5640005469, -0.6204598546, -0.3665837049, -0.6277253032, 0.0572451949, -0.7039901614, -0.6956154108, 0.5096617937, 0.3499993682, -0.4660286009, 0.7184699774, -0.6162883043, 0.6913224459, -0.0513520092, -0.3164856434, -0.1671326011, -0.6957867146, 0.3615416586, -0.2606206238, 0.5159223676, 0.257111311, -0.0758333355, 0.7352092266, -0.3403492868, 0.5664937496, 0.0139900446, -0.5090096593, -0.1616315395, 0.3571332097, 0.539203763, 0.0373025946, -0.2953610718, -0.0471581593, -0.039469108, -0.3913983703, -1.0828721523, 0.5466656685, -0.7569600344, -1.2092652321, -0.2404416353, -0.9414997101, -0.522511363, -0.060192775, 0.2588221729, 0.3380246162, -0.017537469, 0.1173363253, 0.8716626763, -0.4073835313, -0.1128095761, 0.4442404807, -0.1969503462, -0.1052076146, 0.7047855258, 0.6965608597, 0.5655171275, 0.5588830709, 0.1941066086, -0.0371923409, -0.9962713122, -0.1831864715, 0.0437373519, -0.7144995928, 0.0765253454, -0.8626950979, -0.2218413353, -0.3522481322, -0.2960323691, -0.0427645855, -0.6323809624, -0.0108631467, -0.166137144, 0.1730978191, 1.0639885664, -0.1072903275, 0.3492672741, -0.4375675917, 0.5044218302, 0.5364267826, 0.1697918773, 0.0048266654, -0.749917686, -0.1392971426, 0.0083365273, -0.0073324535, -1.0237156153, -0.0761426985, -0.2520266473, 0.4379693568, 0.1886980832, -0.0218451899, 0.9838507175, -0.2259153277, 0.4662088752, -0.0630678982, -1.1175692081, 0.3475168645, -0.372992605, 0.3476319909, 0.3438510001, 0.5491344929, -0.6877353787, -0.6673642993, -0.7113919258, -0.6662214994, 0.5628468394, 0.0822537467, 0.0649291053, 0.3598838747, 0.7913402319, 0.0283187963, 0.3598461747, -0.4103320837, -0.287886411, -0.0236734487, 0.2049089074, -0.1256089211, -0.6500117779, -0.1165380999, -0.6196522713, 0.5633891821, 0.3680538535, -0.2228103727, 0.3970819414, -0.4480981231, -0.3118891418, 0.5500630736, 0.5308918357, 1.0122323036, -0.216593191, 0.2105611861, 0.5022131205, -0.2903464139, 0.1190483272, -0.0370445549, -0.3273707628, -0.3040444851, 0.7347524762, 0.8550552726, 0.4225330055, -0.2375812829, 0.1850494146, 0.1272232234, -0.4631836116, 0.2404424101, 0.1266044676, 0.1988714337, 0.1955321729, 0.406603545, 0.1113575622, -0.0072917542, -0.6548007131, -0.1277320832, 0.1781107932, 0.0212293845, -0.196747914, 0.4235312641, -0.0689947456, -0.4259753227, 0.3862447143, -0.231096372, -0.7076579332, 0.4884385169, 0.4548217952, 0.4932846129, -0.2799834907, 0.1360703707, 0.0505886711, 0.4846401513, 0.2545215189, -0.149633944, 0.2296234667, -0.9493221641, -0.5003563166, -0.4122427404, -0.7618180513, 0.3785218, -0.4449422657, 0.0757836252, -0.5012430549, -0.1443097591, 0.3196706772, -0.1360270083, -0.5545681119, 0.1779085249, -0.3148424625, 0.9452866316, -0.7405743599, 0.7343248725, 1.0775065422, -0.120741643, -0.7660293579, 0.3291624784, 0.3403903246, -0.4777302444, 0.4480308294, -0.5433234572, -0.123506099, 0.1190967634, -0.6253252029, -0.780654788, 0.7615244389, 0.4609367847, -0.6785858274, -0.4383552969, 0.1476115733, 0.594497323, -0.2615349293, -0.1329280287, 0.8465566635, 0.6768823862, 0.1788164079, -0.8928486705, 0.0148593727, -0.2763050199, -0.1624108553, -0.063619107, -0.2562835813, 1.0118587017, -0.4646614492, -0.0323105454, 0.0811781064, 0.2858867347, -0.0226225518, 0.1576689631, 0.5750183463, 0.8161346912, 0.8527006507, 0.1031536609, 0.8179706931, -0.1127369031, 0.1215309352, 1.2834903002, -0.2496287823, 0.6257721186, 0.4700126648, -0.2242878526, 0.7234783173, 0.3223696947, 0.2313971967, 0.0125191938, 0.3930169642, -0.2427505553, -0.3827364147, 0.0214069113, -0.3139498234, 0.3988366723, 0.4411839545, -0.0183474757, -0.0938885808, -0.0385396406, 0.3844623864, 0.14368622, -0.1598173231, 0.8345121741, -0.1419773549, -0.5067690611, 0.4967787564, 0.0427912883, 0.6285250187, -0.3857474327, -0.0181697849, -0.1313791573, -0.3299339116, -0.4878590107, -0.9696491361, 0.1359533668, 0.2715076506, -0.2396489233, -0.0623513833, 0.48008582, -0.2299040109, -0.3156653047, 0.2390595078, 0.8890237808, -0.071408987, -0.1131772473, -0.4957378805, 0.058928065, -0.0839938149, -0.2020337582, 0.3346932232, 0.8864799738, -0.1008230597, 0.6174666882, 0.6231269836, 0.3055965602, -0.0405846946, -0.0400257595, 0.8079719543, -0.7162843943, -0.2751079798, -0.7325289845, 0.5140937567, 0.0711486563, -0.5772150755, 0.7472640276, 0.297133714, 0.9169745445, 0.1182902083, 0.8532256484, 0.0167581327, 0.3779695332, -0.5787258744, 0.7419623733, -0.5794072747, 0.6710807681, -0.8355127573, -0.6158033609, -0.3775054812, 0.2495790124, -0.7816516161, -0.2381455749, 0.9341395497, 0.8430169821, 0.1688905358, 0.0496018156, 0.4470297694, 0.9798690081, -0.038049262, 0.56494385, 1.1308567524, -0.1104678512, 0.2334693968, -0.5863018036, -0.3767155111, -0.0049310243, -0.904191792, -0.7732508779, -0.5021778345, -0.3251164854, -0.220333159, 0.6222509146, 0.7760635018, 0.3797534406, -0.5537627339, -0.1752065271, 0.1418031603, 0.7817278504, -0.042159602, -0.13059856, 0.341245085, -0.2323667258, -0.4721872509, 0.1941046864, 0.1072786897, 0.0313933305, 0.0059746411, 0.0688794479, -0.4627624452, 0.0710831508, 0.6619223356, 0.075641498, -0.6098946929, -0.2915075719, -0.0807046369, 0.0128481155, 0.0795158222, 0.7645847201, -0.6220318079, 0.4579695463, 0.3580292761, 0.6529814601, 0.2684747279, 0.1940618455, 0.3886592686, -0.3149093688, -0.2572898865, -0.0400221869, 0.1904999763, 0.3338488638, -0.4637015164, 0.1636201739, 0.4908479154, -0.3879499137, -0.8256486058, 0.0705391467, -0.6298570037, -0.3593316674, 1.0107626915, -0.2580822706, -0.026274126, -0.2395244688, -0.2301104814, 0.2872733772, 0.0024571957, 1.0382195711, 1.1175860167, -0.2597859204, 0.0056775124, -0.502161622, 0.6060114503, 0.7032234669, -0.6948345304, 0.0764733106, 0.4682239592, 0.4117071033, 0.0362357721, 0.2600439489, -0.1395306587, 0.4252524376, -0.2011063248, -0.1401794553, -0.1630156934, -0.4662255645, -0.4275858998, 0.3708323836, 0.3217180371, 0.5004757643 ]
http://arxiv.org/abs/2406.17245v1
http://arxiv.org/pdf/2406.17245v1
Unlocking Continual Learning Abilities in Language Models
2024-06-25T03:24:06
2024-06-25T03:24:06
Wenyu Du, Shuang Cheng, Tongxu Luo, Zihan Qiu, Zeyu Huang, Ka Chun Cheung, Reynold Cheng, Jie Fu
cs.LG
cs.LG, cs.AI, cs.CL
Language models (LMs) exhibit impressive performance and generalization capabilities. However, LMs struggle with the persistent challenge of catastrophic forgetting, which undermines their long-term sustainability in continual learning (CL). Existing approaches usually address the issue by incorporating old task data or task-wise inductive bias into LMs. However, old data and accurate task information are often unavailable or costly to collect, hindering the availability of current CL approaches for LMs. To address this limitation, we introduce $\textbf{MIGU}$ ($\textbf{M}$agn$\textbf{I}$tude-based $\textbf{G}$radient $\textbf{U}$pdating for continual learning), a rehearsal-free and task-label-free method that only updates the model parameters with large magnitudes of output in LMs' linear layers. MIGU is based on our observation that the L1-normalized magnitude distribution of the output in LMs' linear layers is different when the LM models deal with different task data. By imposing this simple constraint on the gradient update process, we can leverage the inherent behaviors of LMs, thereby unlocking their innate CL abilities. Our experiments demonstrate that MIGU is universally applicable to all three LM architectures (T5, RoBERTa, and Llama2), delivering state-of-the-art or on-par performance across continual finetuning and continual pre-training settings on four CL benchmarks. For example, MIGU brings a 15.2% average accuracy improvement over conventional parameter-efficient finetuning baselines in a 15-task CL benchmark. MIGU can also seamlessly integrate with all three existing CL types to further enhance performance. Code is available at \href{https://github.com/wenyudu/MIGU}{this https URL}.
[ -0.0835886225, -0.7363947034, 0.4055440426, 0.2747772932, -0.1025960669, 0.220980823, -0.634167552, -0.3457766175, -0.248253718, 0.2665747404, -0.4494221509, -0.5022714734, -0.3730753362, -0.2275721878, -0.1343726814, 0.8968148232, 0.0789580345, 0.1749492735, -0.1664513499, -0.4917124808, -0.8171311021, -0.3499563634, -1.0641167164, -0.6595262289, 0.8788596988, 0.4577421248, 0.4128400087, 0.4587504566, 0.0781052932, 0.1761722863, -0.0510209948, 0.1818737984, -0.7231091261, 0.0579939038, -0.2286898941, -0.363882333, -0.3013878763, -0.1010338217, 1.0394995213, 0.7355591655, -0.2470644414, -0.1606349647, 0.6048983932, 0.8622832298, -0.567632854, 0.2214899212, -0.9220587015, -0.1807767153, -0.2442945242, 0.0669839904, -0.4774944484, -0.1983118057, 0.0577468313, -0.3795664907, -0.0128680002, -0.2818019688, 1.2006483078, 0.2958987653, -0.0594801232, -0.1962047815, -0.9880484939, 0.9379326701, -0.6302232146, 0.6073117852, 0.1901819706, 0.3022657335, -0.3110496402, -0.5543532968, -0.1237918586, -0.588593483, 0.0509596877, 0.2343236953, -0.0737684667, 0.1681416333, -0.0879461393, 0.5346528292, -0.3817158043, 0.3307549953, -0.0177721661, -0.0093204873, 0.270737946, -0.0216389224, 0.2478322089, 0.2099413872, -0.279219538, 0.1313767433, -0.698302865, 0.0450773649, 0.0451901592, 0.108084619, -0.0793915391, 0.0096098864, -0.0351604596, 0.7303289175, 0.032749448, -0.0623134822, 0.1452217251, 0.0119720623, -0.1543484628, -0.4892444909, 0.5958862901, -0.1083355844, 0.2602383196, -0.7392730117, -0.3932543397, 0.0169319138, 0.2428413033, -0.3187963665, -0.3097498119, 0.1834443808, 0.0367841013, -0.0712679625, -0.013636441, -0.5508824587, 0.0950825587, -0.4979242384, 0.5656458139, -0.6156674623, -0.3783033192, 0.1231506318, 0.1712159514, 0.1544979662, 0.1270997822, -0.8092250228, 0.279260993, 0.5230728388, 0.9676883817, -0.533769846, -0.5055900216, -0.6424151659, 0.3496235609, -0.3129024506, 0.5652478337, -0.4512408674, -0.2784256935, -0.1045940667, 0.1474210471, -0.3940696716, -0.739867866, 0.3036691248, -0.3916493356, -0.1283392906, -0.1800693572, -0.5035693049, -0.043821495, 0.1083993018, -0.5582042336, 1.1392657757, 0.305765748, -0.3128140569, 0.3034402132, -0.6535406113, -0.270260781, 0.1651964337, -0.0581323765, -0.679267168, 0.1461326182, -0.0560150146, 0.4290755987, -0.119806923, 0.7214805484, -0.249504894, -0.2980467379, 0.0456591174, -0.4833089709, 0.5384406447, 0.2349984199, -0.3638038635, 0.1432659328, -0.6631672382, -0.2831451893, 0.2050799876, -0.5198810697, -0.2296688408, 0.0434036665, -0.2048864365, 0.0469093882, 0.2219098657, -0.374137938, 0.2220865935, -0.1865582317, 0.3887359798, 0.9628086686, -0.044582583, 0.5159135461, -0.7127609253, 0.4522557855, 0.1317539066, 0.1598819345, -0.0934657827, -0.2407845706, -1.1591444016, -0.2007679045, 0.2516014576, 0.6636351943, -0.6121163964, 0.198679775, -0.4363333881, -0.8148477077, -0.2082701772, 0.6172773838, 0.5858855844, 0.5645637512, 0.4841884971, -0.1637922078, -0.3098359108, -0.5956261754, -0.3280384839, -0.0745220855, -0.1181582063, 0.4804928899, 0.2585532963, -0.2597553432, 0.7731038332, -0.1131428927, -0.2643254399, -0.4185919166, 0.1395377964, 0.1681645811, 0.9278925657, 0.5317421556, -0.3667096496, -0.3422690332, 0.1876678616, -1.0279359818, -0.1230583116, -0.6493199468, -0.2837549448, 0.4249552786, 0.515137732, -0.50127244, 0.1294018477, 0.5830837488, -0.1099381894, 0.6642177105, -0.1956425011, -0.2486926019, -0.8137026429, 0.2567922473, 0.106309481, -0.2710613906, -0.6923884153, 0.2428524941, 0.1443767101, -0.0736468285, -0.383292973, 0.6716817021, -0.6250109076, 0.1819449216, -0.1106645465, 0.0045245849, -0.0748730823, 0.8116138577, -0.2185507715, 0.6121196151, 0.8673484325, -1.1081448793, -0.0422077514, -0.2212865055, -0.1952806711, 0.3414139152, -0.665143311, 0.3309602141, -0.2411971241, 0.0944992155, -0.6111565828, -0.0290784985, 0.3211694956, -0.3110337555, 0.6578562856, -0.438272506, -0.4374911189, -0.1941682845, 0.1807842404, 0.1669756025, 0.5313765407, -0.5137791634, 1.0081213713, 0.3287683129, -0.0525060445, -0.4673668146, -0.4783997536, 0.2900757194, -0.3122916818, -0.3554154336, 0.3447336257, -0.3524799645, -0.0679868683, -0.0159889646, -0.2929911613, 0.1564788818, 0.3533121943, 0.0773492754, 0.3939456344, -0.1481538415, 0.4222000539, 0.1114194542, -0.1968144178, -0.0631869957, -0.7889768481, 0.7150565386, -0.3013688922, -0.0379806943, -0.3197842538, 0.1227351874, 0.6263116598, -0.2751492858, 0.8213979602, 0.6608982086, -0.4964717031, -0.2466458976, -0.864023149, -0.0088048559, -0.4757759869, 0.2370052785, -0.4362472892, -0.904858768, 0.6233138442, -0.1668596715, 0.3718899786, 0.3130503595, 0.2366574854, -0.2161931992, 0.5580253005, 0.6817731857, -0.4177674353, 0.6900331378, -0.4492470324, -0.2137216926, -0.7662394047, -0.4372560978, -0.3173215389, -0.2297355086, -0.0912207365, -0.085260056, 0.358435899, 0.6925494075, -0.0295863673, 0.340483427, -0.2740704119, 0.4415639043, 0.4857470989, 0.3627020121, 0.0895423144, -0.0281260777, -0.3734694421, 0.1865947098, -0.959730804, -0.1723347157, 0.9985554218, 0.29634583, 0.6788948178, 0.0693753436, 0.6929408312, 0.2913639843, 0.4446536303, -0.6157544851, 0.5933383703, -0.106148012, -0.0887588561, -0.2385659963, -0.5355067253, -1.0128309727, -0.080113329, -0.0677728504, -0.7186571956, -0.0276957266, 0.5367478728, -0.0560192801, 0.5741470456, -0.6689540148, 0.7781608105, -0.2503566146, -0.6379835606, -0.3291200697, -0.3949705064, 0.100073576, -0.1655761003, 0.0068742055, -0.0947852731, 0.1670232862, 0.5911262631, -0.1616120934, 0.8225165606, -0.3985109925, -0.1934071034, 0.3464938104, 0.2343214601, 0.6031603813, 0.2213764191, 0.0666077957, 0.4047321379, -0.338514179, -0.7130357623, -0.5158932209, 1.0768194199, -0.5769726634, -0.8060756326, -0.2790798247, -0.6749646068, -0.3200888634, 0.1740523577, 0.0701068491, 0.6115777493, -0.0299231689, 0.1015431359, 0.7781076431, -0.156315431, 0.5483217239, 0.3867688477, -0.080708012, -0.3419158757, 1.2883927822, 0.1362246126, 0.5292513371, 0.1505791992, 0.3873918355, -0.119875595, -0.6034404635, -0.4226065278, 0.4287422895, -0.6258068681, -0.1985888034, -0.7953528762, -0.3764081299, -0.0891322792, -0.201585114, -0.2303512543, -0.0583293177, -0.4263235927, -0.0140960701, 0.223546952, 0.5452201366, -0.3304439485, 0.04361232, -0.778599143, 0.3057042062, 0.3900345862, 0.4633204937, 0.2877037525, -0.5491053462, -0.4639829695, 0.0744965672, -0.3009949625, -0.5570255518, 0.1253342628, 0.5598025322, 0.7286807299, 0.3614067733, -0.2658229172, 0.7966410518, -0.4668304622, 0.7317647338, -0.0532204062, -0.8078469038, 0.6999877691, -0.5483090281, 0.6938952804, 0.4701324701, 0.3762178123, -0.5889354348, -0.8583477736, -0.4994570315, -0.7227887511, 0.4164618552, 0.1536726207, 0.2066912204, -0.1327667683, 0.4950358272, 0.1642748117, -0.2105653137, -0.8247832656, -0.3579567969, -0.2917345762, -0.0508509837, 0.0141632855, -0.2019708008, 0.1578588337, -0.3947387934, 0.877953589, -0.0032971771, 0.2264097631, 0.0974964648, -0.4065354466, 0.1116243005, 0.2314131409, 0.5208181739, 0.743714273, -0.145546928, -0.1477922797, 0.3617270291, -0.4851383865, 0.0532306321, -0.0427363925, -0.3371858597, 0.2344810814, 0.0376449339, 0.6753631234, 0.3844586611, -0.5852170587, -0.0210683346, 0.2486238033, -0.0302909315, -0.6765118837, 0.3268330693, 0.1251627803, -0.0112645952, 0.5100795627, 0.2515654564, -0.2677995265, -0.3791383803, 0.3745438159, 0.3620688617, -0.643427968, -0.3448595107, 0.8156936765, 0.0849481076, -0.0739272758, 0.5306819677, -0.3477148712, -0.2379202098, 0.3648796678, 0.7098807096, 0.9414829612, -0.3079327941, 0.0131686982, 0.5641949177, 0.1165144444, -0.2000367939, 0.0811048597, -0.0113069899, -0.7126145363, -0.3972311914, -0.6358426809, -0.1297179908, 0.4711854458, -0.6356835365, 0.1109967455, -0.6527950168, -0.0449736938, -0.4809904099, -0.3056907952, -0.5844871998, 0.1467214525, 0.0299955439, 0.6742507219, -0.5023191571, 1.1783854961, 0.3432429731, -0.3157697618, -0.6392940879, -0.1222757623, 0.1082124338, -0.62497437, 0.3874802589, 0.186123848, -0.3887102008, 0.3879935443, -0.4764389694, -0.6484224796, 1.2034947872, 0.4155445099, -0.7851412296, -0.2483543307, -0.0859276429, 0.2418042719, -0.1526373625, -0.2482523322, 0.6719828248, 0.3082278669, -0.0551017597, -0.6027383804, -0.2061543018, -0.3050669432, -0.0691910833, 0.2569039464, -0.631480515, 0.5441990495, -0.2213794589, -0.5268889666, 0.2530542016, 0.844370544, 0.3580208421, 0.1263245791, 0.5491572022, 0.8642284274, 0.7265589833, -0.3674709201, 0.8883719444, -0.4983246028, 0.3701684773, 1.1738290787, 0.1348183155, 0.5222081542, 0.2526775301, 0.1697505265, 0.6030874252, 0.2861286402, -0.1049393788, 0.3710384369, 0.2027205676, -0.5927029252, -0.3301265538, -0.2777199447, -0.1401155144, 0.1537385434, 0.5055097342, 0.0071574147, -0.1295896769, 0.2368481755, 0.4538773, 0.1600235999, -0.5926035047, 0.7106859088, 0.1829836965, -0.7013912797, 0.9689136147, -0.1185579672, 0.7737691402, -0.861610651, -0.0561292768, -0.5311476588, 0.0834976211, 0.0317106657, -0.3220292926, 0.2014452368, 0.0033043714, 0.0787840709, -0.0902068689, 0.6049827337, -0.6211547256, -0.4732404351, 0.4015556276, 0.3093571365, -0.1090248525, 0.0721798539, -0.6110607386, 0.0491612777, -0.1752384156, 0.0731452107, 0.2955618799, 0.1953681558, 0.1073503792, 1.1825469732, 0.6352494359, 0.2177268714, 0.0898052454, 0.2677179575, 0.8653146029, -0.5472120643, -0.2480739504, -0.7822728753, 0.6176243424, 0.1373310387, -0.3003509045, 0.5025015473, 0.3713255823, 1.104796648, -0.236992538, 0.6692608595, 0.0715985596, 0.2034644186, -0.9633635879, 0.8972710967, -0.6242415309, 0.2424596399, -0.1827740669, -0.8963595033, -0.3590251207, 0.2426965535, -0.0230183527, 0.0511016846, 0.7786211371, 0.720821321, -0.0848504901, -0.4728186727, 0.4715187848, 0.2479265481, 0.328705132, 0.929895103, 0.584989965, -0.2918041945, 0.5915144086, -0.1835636199, -0.1275627017, 0.1853400022, -0.547903657, -1.0064547062, -0.6263666749, -0.4350959659, -0.3623118997, 0.377668947, 0.6268168092, 0.4761120081, -0.8080214858, -0.3204542398, -0.408557117, -0.0536195822, -0.4603906572, -0.2481371462, 0.2726319432, -0.7652415633, -0.781714499, 0.5370260477, 0.3873423338, 0.1522110254, -0.2275758833, -0.4308697283, -0.2618216574, 0.0200103596, 0.3950410783, 0.6601507068, -0.8291280866, -0.5645837784, -0.0060986038, 0.0154811274, 0.2437408566, 0.5336365104, -0.9843071699, 0.2983987331, -0.089389123, 1.0353790522, 0.2616581619, -0.360450983, 0.5826993585, -0.7292125225, -0.0128317373, 0.1955672503, 0.4863742888, 0.2742509842, -0.1894936562, 0.5130527616, 0.3758567274, -0.620459497, -0.5270760059, 0.433973968, -1.0918132067, -0.1226608008, 1.1004604101, -0.4033769667, -0.0173789598, -0.2333535999, 0.1012158617, 0.368899852, -0.3616329134, 0.815939188, 0.6015057564, 0.4291402102, -0.4043669701, -0.4477160871, 0.4044346511, 0.6393574476, -0.6724781394, 0.0049245241, 0.377214551, 0.5060549378, -0.2521029711, 0.4071858823, -0.2521077693, 0.3506715894, -0.3843322396, -0.0138837034, -0.2240144759, -0.7742800117, -0.4382091463, -0.1730989665, 0.2685931921, -0.0599671565 ]
http://arxiv.org/abs/2406.17241v1
http://arxiv.org/pdf/2406.17241v1
What Do the Circuits Mean? A Knowledge Edit View
2024-06-25T03:09:53
2024-06-25T03:09:53
Huaizhi Ge, Frank Rudzicz, Zining Zhu
cs.CL
cs.CL
In the field of language model interpretability, circuit discovery is gaining popularity. Despite this, the true meaning of these circuits remain largely unanswered. We introduce a novel method to learn their meanings as a holistic object through the lens of knowledge editing. We extract circuits in the GPT2-XL model using diverse text classification datasets, and use hierarchical relations datasets to explore knowledge editing in the circuits. Our findings indicate that these circuits contain entity knowledge but resist new knowledge more than complementary circuits during knowledge editing. Additionally, we examine the impact of circuit size, discovering that an ideal "theoretical circuit" where essential knowledge is concentrated likely incorporates more than 5% but less than 50% of the model's parameters. We also assess the overlap between circuits from different datasets, finding moderate similarities. What constitutes these circuits, then? We find that up to 60% of the circuits consist of layer normalization modules rather than attention or MLP modules, adding evidence to the ongoing debates regarding knowledge localization. In summary, our findings offer new insights into the functions of the circuits, and introduce research directions for further interpretability and safety research of language models.
[ -0.242013678, -0.7690325975, 0.970723331, -0.4171016812, -0.0840786248, 0.2203379422, -0.069706209, -0.454631269, -0.0875131935, 0.4821714461, -0.310007304, -0.2519313991, -0.6537154317, -0.2781736553, -0.4220369756, 0.9953048229, -0.2928889692, -0.3490853608, -0.0367418975, 0.0748060718, -0.4069252908, -0.3753872216, -0.1516902, -0.3516931236, 0.7650135756, 0.1837733388, 0.9380113482, 0.806273818, 0.4060764909, 0.2685660422, -0.447735101, 0.0590255819, 0.0332520902, -0.1788351238, -0.4400560558, -0.5710267425, -0.4994524121, 0.0360075496, 0.3796068132, 1.0161916018, 0.143443808, 0.0634126738, -0.1234320253, 0.7168531418, -0.6155388355, 0.2987175286, -0.9423266649, 0.0788579434, -0.2752175927, -0.0007240944, -0.5481387973, -0.0645822436, 0.2152067572, -0.7381098866, 0.1266057193, 0.2055470347, 0.8319801092, -0.1229015514, -0.7049567699, -0.3115353286, -0.7851825953, 0.4994220436, -0.3277332783, 0.4426789582, 0.2015702724, 0.2833870351, 0.128093183, -1.0006343126, -0.7234342098, 0.2111370862, -0.280844003, -0.0189509932, -0.399887681, 0.4085644484, 0.4828059077, 0.3505187631, -0.199386254, -0.3146935105, -0.6049588919, -0.1856123805, 0.2749787569, -0.0139260693, 0.8151707649, -0.446189791, 0.0726788566, 0.4014417231, -0.856859386, -0.0836448371, 0.4447387457, 0.0468392484, 0.1071314067, 0.5681740046, -0.0816646442, 0.8220199943, -0.0589027181, 0.1152969599, -0.042526681, -0.169356212, -0.5215778947, 0.1640923768, 0.5749756098, 0.1816548854, 0.5932688713, -0.4619599879, 0.0275507085, -0.2895579934, 0.402657479, -0.4665547609, -0.8098802567, -0.1041979417, -0.4704980254, -0.3723810613, 0.0853754953, -0.3149385452, -0.2406146824, -0.6318131089, 0.4797350764, -0.2778734267, -0.354087919, 0.2336766273, -0.2827733755, -0.0471989214, 0.2161327153, -1.2578165531, 0.5346065164, 0.4331106544, 0.7113637328, 0.1185222641, -0.2202675343, -0.0132451346, 0.2761603594, -0.2968638837, 0.8180693388, -0.4770971537, -0.3737501204, -0.4545948505, 0.2721385062, -0.3122660518, -0.3610459566, 0.368929565, -1.0303353071, 0.1412215382, -0.5185039043, -0.5165518522, -0.2142136842, -0.1485583633, -0.7445512414, 0.8278024793, 0.1432107836, -1.1958998442, 0.163765654, -0.5704949498, -0.7308764458, -0.2193846107, 0.032843262, 0.0506394878, 0.258770138, 0.028761331, 0.0720483065, -0.0366224647, 0.2193005234, -0.2045898885, -0.0062550418, 0.2858502865, -0.263063252, 0.7614639997, 0.1152001396, -0.3513655365, 0.1778875291, -0.7378838062, -0.0018573022, -0.1621675342, 0.1557992697, -0.5618128777, 0.3135761917, 0.0061337426, 0.4711892307, -0.0997122824, -0.6135867238, 0.1394281685, -0.7705488205, 0.9803818464, 0.8291807771, 0.3087922335, 0.6899685264, 0.0309113469, 0.2836889029, 0.0518512651, 0.2871959805, -0.1444338858, -0.7371597886, -0.762408793, 0.4499231279, 0.3106354177, 0.4955820441, -0.6444035769, 0.5560141206, -0.0950204656, -0.4174782634, -0.3424363136, 0.1660386175, 0.110722743, 0.7090060711, 0.4884155989, -0.057940878, -0.3626401424, -1.1066571474, -0.530005753, -0.2908017635, -0.1220972463, 0.0912391245, 0.6105676293, -0.0391108766, 0.9632282853, -0.7125429511, 0.0199075583, -0.2584233582, -0.0867091939, -0.0568788424, 0.193216756, 0.211167872, -0.5462653041, -0.2914486229, 0.4889219105, -0.8675124049, 0.2538392842, -0.1866014898, -0.2666209042, -0.2941705883, 0.4235584438, -0.5688146353, 0.498739928, 0.0406465009, -0.1491396278, 0.3062756062, -0.2452123314, 0.0167044476, -0.9056609869, -0.1877343059, -0.2262800038, 0.0393519364, -0.7123895288, 0.0546283498, 0.3592174947, 0.1842542142, -0.3784690797, 0.565656364, -0.5767426491, -0.1385805309, -0.3447429836, 0.5295052528, 0.3565682173, 0.3507053852, -0.0473060384, 0.4956254065, 0.443256259, -0.3665601015, 0.4318170547, 0.2907985747, -0.6492177844, 0.2282836586, -0.6755105257, 0.3369495571, 0.0447852537, -0.2177201509, -0.6823812723, -0.4312704504, 0.0126378415, -0.196162194, 0.0655834824, -0.0243428685, -0.7791194916, -0.2418604642, 0.045189254, 0.5474972725, 0.3890252113, -0.5318774581, 0.5925931931, 0.8107833266, -0.1732494533, -0.122621581, -0.8009855747, 0.0965415016, 0.054389406, -0.7009081841, 0.2981730402, 0.2553974986, -0.5544131994, 0.1912944317, -0.0915210322, -0.2960963249, 0.2655380368, 0.2835570574, 0.3629790246, -0.0580329821, 0.7058178782, 0.677649498, 0.0112840757, 0.4413683712, -0.4896499515, 0.0070434706, -0.007076168, -0.3288970292, -0.5287304521, 0.0993721038, 0.4050372243, -0.3701951802, 0.4911360443, -0.0122143822, -0.6843631268, -0.020035753, -0.1478530914, 0.1309117377, -0.4860794544, 0.3374072909, -0.4800280035, -0.9244624376, 0.4208281934, -0.0478298552, -0.2251624167, 0.7669936419, 0.4011918008, 0.0268987473, 1.0059562922, 0.5340949893, -0.0201182738, 0.2011518925, 0.0669929907, 0.7461754084, -1.0295858383, -0.392814219, -0.3286649585, -0.2852039933, -0.5169574618, -0.285929352, 0.2858431935, 0.2494050264, -0.3874941468, 0.3002615869, -0.5553426147, 0.7941845059, 0.289003849, 0.3249785304, 0.5315486193, 0.0249140169, -0.1859432459, -0.1912282705, -0.7011771202, -0.5210974216, 1.1462560892, 0.325335443, 0.6062759161, -0.004389551, 0.1873723119, 0.1376387626, 0.3801112175, -0.8157681823, 0.1836066246, 0.1811365783, -0.7901438475, -0.0839607269, -0.2455011755, -0.5966740847, -0.1096752435, 0.0588845275, -0.9815238714, 0.2076127827, 0.1516032666, -0.3485043943, 0.8707224131, -0.8518089056, 0.9607242346, -0.3474705815, -0.2014443725, -0.131897226, -0.7427236438, 0.5151093602, 0.1006969064, 0.6046570539, 0.3384860754, 0.3218719959, 0.7415628433, -0.2940000892, 0.6522396207, 0.0367805175, -0.1533038318, 0.5550045371, 0.2173349708, 0.320358187, 0.0411551483, 0.1387302279, -0.0702625215, 0.0455817431, -0.287907064, -0.8398272991, 0.7097170353, -0.7857989073, -0.5402287841, -0.1382942349, -0.6296688914, -0.3014053404, 0.4212574065, 0.2839781642, 0.5489335656, -0.0978563577, -0.1427289546, 0.9852045774, -0.294886291, 0.0858526751, -0.0522642806, -0.4481505156, -0.1557549685, 0.9267352223, 0.2043411136, 0.5522420406, 0.6235902905, -0.0783094168, -0.2090943158, -0.3520533741, -0.4598973989, 0.0200501475, -1.0199875832, 0.2128903717, -0.9689360261, -0.4164811075, -0.1305640638, -0.036669638, -0.1143933833, -0.801903069, -0.192563355, -0.6646862626, 0.2533687651, 1.0755479336, 0.1640932113, 0.4183189869, -0.6621333361, 0.3403830826, 0.6557885408, 0.4747075737, 0.106190674, -0.4851478934, -0.4527496994, -0.1645985991, -0.4506586194, -1.1592583656, -0.0497636944, -0.093738772, 0.3812490702, 0.2707011104, -0.2319300473, 0.5028364658, -0.6210465431, 0.7256086469, 0.067830503, -1.4730596542, 0.8566852808, -0.172806859, 0.20430924, 0.2569791377, -0.0060653114, -0.6264818907, -0.3911904991, -0.8060246706, -0.6318417788, 0.5044434071, 0.2753560841, 0.3244131207, -0.1741445363, 0.6201879382, -0.1907080263, 0.1984637976, -0.7539104819, -0.3696719706, -0.2815583348, -0.2019360214, 0.3988905251, -0.2789354324, -0.1608949304, -0.4642961323, 0.4499310851, 0.0741184726, 0.2700561881, 0.0577063635, -0.315323174, -0.2248944342, 0.5405293107, 0.2658705413, 0.8352683187, -0.0456894375, 0.6275792122, 0.1227313504, -0.4599714577, 0.0252020769, -0.2182032764, -0.3336064517, -0.0320715867, 0.5873936415, 0.940105319, 0.3485443294, -0.4481682181, 0.2014787644, 0.0530039221, -0.1905634701, 0.1827422678, 0.1902693808, 0.2247492522, -0.0386336781, -0.0648179352, 0.4711853266, 0.5400534272, -0.6381642818, 0.2911168933, 0.1307590008, -0.78207165, -0.7092115879, 0.727830708, 0.1534772664, -0.1159809753, 0.573533237, -0.1902207136, -0.6254988909, 0.6884668469, 0.045768287, 0.9205228686, 0.0645636916, 0.3154419661, 0.3920994997, 0.7895986438, 0.0509762503, -0.1532079428, -0.1225069314, -0.8488480449, -0.4101523161, -0.407466799, -0.2822631299, 0.0137634184, -0.9551706314, 0.1100461558, -0.5648958683, 0.114079833, 0.3476146758, -0.3774221539, -0.42309618, 0.3671192229, -0.2600759268, 1.0769616365, -0.7885747552, 1.2415112257, 0.6026419401, -0.1620304585, -1.0428581238, 0.0972266421, -0.0583572835, -0.4302171767, 0.7678542733, -0.0350872613, 0.0485624224, 0.0331561752, -0.2566174269, -0.6175710559, 0.8897775412, 0.2177775204, -0.6086530685, -0.3338491917, 0.0027471276, 0.5169135928, -0.1955766976, 0.310700804, 0.9076177478, 0.4451484978, -0.2666452825, -0.7139057517, -0.0650504231, -0.3937960267, -0.0137131447, 0.4032700062, -0.1905268431, 0.8399958611, -0.3589039445, -0.1871718168, -0.1696625203, 0.2987380624, -0.1323994696, 0.2700304389, 0.2248082906, 0.2912165523, 0.8094681501, -0.1515066475, 1.1387680769, -0.4582488835, 0.5645937324, 1.3335715532, -0.1985114515, 0.5286742449, 0.5529742241, -0.3888444304, 0.7181079388, 0.6520721316, 0.251044184, 0.6015217304, 0.2547513545, -0.2947912216, -0.4215810597, 0.213640362, -0.1994352788, -0.0528801791, 0.2543136775, -0.6432634592, -0.1693203449, 0.0784684345, 0.0080034006, 0.1553571522, -0.3678588271, 0.5786207914, 0.1707465947, -0.3663143516, -0.1397078484, 0.1268209666, -0.1710651368, -0.194858402, 0.0128824143, 0.0466209911, 0.072404176, -0.28547436, -1.1111072302, 0.5999975204, 0.0090377266, -0.5873514414, -0.1969414353, 0.8927702904, -0.0248769429, -0.7180354595, 0.4121320844, 0.464104861, -0.2188707143, -0.2525423765, -0.4150648117, -0.2332618386, 0.038118735, -0.2023586631, 0.320091933, 0.7762253284, -0.1268957704, 0.3720642626, 0.1909746379, 0.1492292434, 0.1432248056, -0.0943000019, 1.0142045021, -0.7242851853, -0.2717280984, -0.7662730217, 0.6344272494, -0.0298413578, -0.345622927, 0.5375737548, 0.5089919567, 0.9539647102, 0.0330956727, 1.2147376537, -0.1125907823, 0.3108665645, -0.6770019531, 0.6890330315, -0.2622589171, 0.6157409549, -0.21186997, -0.5870547295, -0.2893003821, 0.5494840741, -0.735311687, -0.0541412719, 0.9204455614, 0.5785495043, -0.2542142868, 0.4184180796, 0.2410177588, 0.5157955289, 0.2679049075, 0.5803578496, 0.8364337087, -0.7694798708, 0.2456284463, -0.4719138741, -0.1624845415, 0.4424169362, -0.374612689, -0.982853651, -0.5730933547, -0.2308333218, -0.230733335, 0.0848651752, 0.4639357924, 0.4285396636, -0.8194264174, -0.1439408809, -0.5894134641, 0.7379978299, -0.0415903777, -0.1917576939, 0.6117992997, -0.3239884675, -0.3836324215, 0.0862745494, 0.7111715078, -0.3500036895, -0.0535696335, 0.1101304293, -0.0794780403, 0.0612917021, 0.8336529136, 0.0447377786, -0.8725882769, -0.6266438365, 0.2695863545, 0.1301899701, -0.0455465391, 0.9327812791, -0.6349765658, 0.8256092668, 0.2630095184, 0.4252402782, 0.314746052, -0.4281325936, 0.4372524917, -0.5391160846, 0.0634503365, -0.2344076484, 0.4332953393, 0.1398826241, -0.3254028857, 0.2179261148, 0.6279703379, -0.5184988976, -0.689925909, 0.5101285577, -0.9988616705, -0.2430787385, 0.9523926377, -0.1285843104, -0.2154835463, -0.3478380144, -0.3010670841, 0.1928257346, 0.1927249432, 0.8353516459, 0.8291406035, -0.2634473145, -0.3685465753, -0.8569014668, 0.5110679865, -0.0309764314, -1.0591007471, 0.0908013359, 0.2845309973, 0.4623329043, 0.2034665495, 0.2843401432, -0.1810874641, 0.3742161691, -0.1648774892, 0.0646790788, 0.1334640682, -0.4294599593, 0.0394004397, 0.1990574747, 0.1516133547, 0.287699759 ]
http://arxiv.org/abs/2406.17233v1
http://arxiv.org/pdf/2406.17233v1
Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement
2024-06-25T02:37:53
2024-06-25T02:37:53
Yunlong Feng, Yang Xu, Dechuan Teng, Honglin Mu, Xiao Xu, Libo Qin, Wanxiang Che, Qingfu Zhu
cs.SE
cs.SE, cs.CL
Decompilation transforms compiled code back into a high-level programming language for analysis when source code is unavailable. Previous work has primarily focused on enhancing decompilation performance by increasing the scale of model parameters or training data for pre-training. Based on the characteristics of the decompilation task, we propose two methods: (1) Without fine-tuning, the Self-Constructed Context Decompilation (sc$^2$dec) method recompiles the LLM's decompilation results to construct pairs for in-context learning, helping the model improve decompilation performance. (2) Fine-grained Alignment Enhancement (FAE), which meticulously aligns assembly code with source code at the statement level by leveraging debugging information, is employed during the fine-tuning phase to achieve further improvements in decompilation. By integrating these two methods, we achieved a Re-Executability performance improvement of approximately 7.35\% on the Decompile-Eval benchmark, establishing a new state-of-the-art performance of 55.03\%.
[ -0.3678283989, -0.748950839, 0.306951791, 0.0967453271, -0.2621460557, 0.131489411, -0.170934245, -0.5284221172, 0.0359450802, 0.6546640396, -0.4060225487, -0.4053671062, -0.2139657885, 0.0296450872, -0.4304434657, 0.7363244891, -0.1148676723, -0.2496827692, -0.3542802036, 0.0575887039, -0.3776237071, -0.5595209599, -0.2996892333, 0.051926747, -0.079908587, 0.5369932055, 0.4401701093, 1.2419297695, 0.7370904088, 0.3889501691, 0.0277159959, 0.1018023565, -0.6963207722, 0.0926582739, -0.2205548584, -0.036559578, -0.8207871914, -0.1723197699, 0.6322495341, 0.37498492, -0.0567777827, 0.3714923561, 0.4188052714, 1.0229194164, -0.9893910885, 0.0730329305, -0.4390497804, 0.0004887679, -0.1472573876, -0.5255032778, -0.4715899229, -0.1574592441, -0.3967003524, -0.4099509418, 0.3396622241, -0.1831180602, 0.7016621828, 0.7934110761, -0.3424378633, -0.0224014763, -0.6276674271, 0.7843390703, -0.7722399235, 0.5958570838, 0.195272103, 0.0645756274, -0.2630241513, -0.8287088871, -0.0994069204, 0.1536718905, -0.1764552742, -0.0442997441, -0.0860781074, 0.3650813699, 0.1483639628, 0.7226330042, -0.4578169882, 0.1536609083, -0.4530602694, -0.4410681725, 0.7818353772, 0.183317706, 0.2319159508, -0.1993413568, -0.7061881423, -0.0196049735, -0.7213699222, -0.1636511385, 0.2101200223, 0.1760664433, -0.0033268419, 0.4112899303, -0.3767527938, 0.5364331007, 0.1992067099, -0.0909923092, 0.4050697386, -0.5366723537, -0.5648097992, 0.2139457911, 0.4190939367, 0.3774391115, -0.2558774352, -0.1586187333, -0.3992298841, -0.0604368784, 0.5257113576, -1.0785186291, -0.3748018444, 0.3715192378, -0.6912397146, -0.1884829402, -0.1471135467, -0.6303984523, 0.1575225145, -0.5896817446, 0.3394231498, -0.3687689006, -0.0955196023, -0.0181514155, -0.0342306681, 0.4513347149, 0.2406868339, -0.8126247525, 0.0960193872, 0.8193140626, 0.5257239342, -0.2749814093, -0.1877570748, -0.7488987446, 0.2441741675, -0.4861066937, 0.7580612302, -0.3819981217, -0.3680358529, -0.3232388794, 0.1053462029, 0.1764757633, -0.7307314873, 0.4659437239, -0.516486764, -0.0950898379, -0.2346240431, -0.8046647906, -0.0980507806, 0.2517100275, -0.3829598129, 1.0940639973, 0.3352201879, -0.5407904983, 0.0548316129, -0.5450482368, -0.362311542, -0.1600227952, -0.1719591171, -0.1668955535, 0.3094934821, 0.1531386226, 0.4261224866, 0.009445237, 0.319129467, -0.3177788854, -0.5466225743, -0.2670823038, -0.4214368165, 0.6709691286, 0.5690282583, -0.3536254466, 0.1158602834, -0.9887740016, 0.2342686504, -0.118805021, -0.6176355481, -0.2625892162, -0.0584000871, -0.2803408802, 0.1862572134, 0.6989155412, -0.4282683134, 0.1721570939, -0.77770257, 0.1041133851, 0.7879152894, 0.0664657503, 0.638594687, -0.0733507946, 0.4051711559, -0.2439082861, -0.1076249182, -0.1927517951, 0.1797482222, -0.752614975, -0.3270541131, 0.1098967791, 0.4662374556, -0.3896632791, 0.5707059503, -0.0788666233, -0.199991107, -0.3228109777, 0.3559572101, 0.9656538963, 0.7791986465, 0.6244431734, -0.2026299536, -0.7151401639, -1.0900496244, -0.1141014025, 0.1589403003, -0.0708874092, 0.009401706, 0.2181319445, -0.4613001645, 0.8448663354, -0.656527698, -0.0291507579, -0.015408651, 0.0400117524, -0.3892599046, 0.9364686608, 0.4539399445, -0.4799540937, -0.3046228886, -0.0338337906, -0.6022292376, -0.3653416038, 0.1487240642, -0.3666289747, 0.4785924852, 0.9355245233, 0.2438536435, 0.5296000242, 0.6860983372, -0.2763769329, 0.7367592454, -0.3392000794, 0.22897695, -1.2363848686, 0.0987883657, -0.4457799196, -0.2105009258, -0.471226573, 0.4781100452, 0.3304382265, -0.1219159141, -0.5866912007, 0.4685782492, -0.6343384981, -0.4918352664, -0.5557377934, 0.0809655488, 0.2589142025, 0.5595704317, 0.0467043221, 0.976708591, 0.3586747348, -0.6416392326, -0.1068188995, 0.1823100746, -0.307271868, 0.288769722, -0.5143079162, 0.1873808801, -0.1028821021, 0.005853768, -1.1297670603, -0.3319085538, 0.0133663369, -0.1085683405, 0.6033299565, -0.1208754778, -0.0287715122, 0.0695278645, -0.3434574902, 0.5978060961, 0.2636326849, -0.8014016151, 0.3871980608, 0.2162383497, -0.0384975113, -0.6385420561, -0.8006288409, -0.18961896, -0.1776151955, -0.5637546182, 0.7106139064, -0.3571077883, -0.1992862821, -0.1234269142, -0.5045726895, -0.1599443555, 0.2779598236, 0.1124422178, 0.2092980295, -0.3739068806, 0.0677755103, 0.4657699466, -0.3700891435, 0.0994515941, 0.1654248983, 0.4472073615, -0.2416483313, -0.2671865523, -0.5079228282, 0.4211314023, 0.4002687931, -0.3332428038, 0.356533587, 0.5851917863, -0.2867230773, -0.0380326584, -0.493555516, -0.0791166648, -0.5735576749, 0.3185599744, -0.5386637449, -0.8395947218, 0.599006176, -0.2190632969, 0.0743418634, 0.2800340652, 0.2312312573, -0.0188774597, 0.8214627504, 0.5752203465, 0.0636138469, 0.5597351789, -0.4063560069, 0.12506634, -1.2196811438, 0.009897138, -0.616951108, -0.4190386832, -0.4836955667, -0.3569277823, 0.0548325852, 0.4497106373, -0.4158229232, 0.577842772, -0.7737805843, 0.642419517, 0.3480605185, 0.1662353724, 0.252081424, -0.1594407558, 0.1613393724, 0.0666436255, -0.4544782937, -0.3932436407, 0.7029038072, 0.2165374756, 0.6775105596, 0.0530058071, 1.3025791645, 0.2242202759, 0.0561932772, -0.7738339305, 0.4749279916, -0.1168285608, -0.4246637821, -0.3444007039, -0.4330117702, -0.784422636, 0.2706686258, 0.195585683, -0.8207272887, 0.4377460182, 0.2454483956, -0.5018997788, -0.1169578508, -0.8831486702, 1.0958306789, -0.0875330195, -0.2582533956, -0.2703838944, -0.6389474273, 0.4548321068, -0.0477585122, 0.176237762, -0.0875895768, -0.123362273, 0.7077289224, -0.5213452578, 0.6155416965, -0.0350516923, -0.5529062748, 0.3083843589, 0.4582657218, 0.5963299274, -0.0766442791, -0.1709596366, 0.1621393561, 0.2556352019, -0.4248666763, -0.7128605247, 0.8139282465, -0.4370892644, -0.70674932, 0.0972694457, -0.4539243579, 0.012675846, 0.323479712, 0.2811850905, 0.8679405451, -0.1236210838, 0.4287921786, 0.3189336061, -0.1103579924, 0.7907479405, 0.3648412824, -0.0325689167, -0.4016511142, 0.7892499566, -0.0976183042, 0.4456564188, 0.5880101919, 0.2059221715, -0.2746454179, -0.4449646175, -0.1689694971, -0.1789382845, -0.7353235483, -0.6298000216, -0.5021036267, -0.2435526848, -0.4902975559, -0.7049279213, -0.8133523464, -0.3101902604, -0.3989595771, -0.0907175317, -0.19290784, 0.3180472255, -0.1721686572, 0.1979932636, -1.0788921118, 0.4310416281, 0.0481795482, 0.2796474397, -0.1181811094, -0.6118853688, -0.3188378513, 0.130812183, -0.3370127082, -0.654867053, 0.3338298202, 0.1045613885, 0.3993741572, 0.4983956218, 0.3881731331, 1.1147134304, -0.25586918, 0.6404227018, -0.1849169284, -1.1050256491, 0.6380682588, -0.1630345732, 0.3688980639, 0.6908245087, -0.07657893, 0.2179843932, -0.2903843522, -0.4416515529, -0.8960076571, 0.7323701978, -0.0038449666, -0.0109545765, -0.2213831097, 0.3636265695, 0.0253798626, -0.0294109583, -0.3840184808, -0.0940025374, 0.0851791948, -0.0218633395, 0.0002865119, -0.6316199899, -0.0180447176, -0.4508385062, 0.6228771806, -0.3253079057, 0.4086123109, 0.3786525726, -0.2351949513, -0.0425412953, 0.2805898786, 0.6084062457, 0.7185492516, -0.3640660942, 0.1719773263, 0.1148720011, -0.2483808547, 0.1665881127, -0.1654963642, 0.1224514395, -0.5787034631, 0.3389870226, 0.4148787558, 0.5650777817, -0.4966082573, 0.2384728044, 0.1785837561, -0.0135368304, -0.0934686512, 0.3129416406, -0.1131515652, 0.3123799562, 0.2153789699, 0.0781917647, 0.5030972958, -0.4955643415, 0.5488668084, 0.4005982876, -0.0377614014, -0.044099953, 0.5438527465, 0.2870374024, -0.1782908291, 0.6419448256, -0.3328216076, -0.2952976227, 0.7245216966, 0.8665309548, 1.0204924345, -0.3013132215, -0.0452920943, 0.5623263121, 0.0421228297, 0.0794855282, 0.1709443778, -0.5573461056, -0.7601228952, -0.6386921406, -0.8203923702, 0.0084275212, -0.0618259385, -0.8930624127, 0.0958073288, -0.2266992182, 0.3700648248, -0.4289583564, 0.0305654295, -0.3233619928, 0.3142180145, -0.2014424801, 0.8244761825, -0.5108833313, 0.8310236335, 0.4036078751, -0.1791727096, -0.8123853207, 0.2435091287, 0.0051363818, -0.5120846629, 0.4831785858, 0.3381145597, -0.3108290434, 0.2786195874, -0.3634462655, -1.2871774435, 1.1464408636, 0.6570420861, -0.6004446149, 0.0564894006, -0.274374038, 0.4340405762, -0.2795135677, -0.0282464605, 0.8643532395, 0.3555256426, 0.1513889432, -0.7919576168, 0.2640422583, -0.0911255181, 0.0889499485, 0.4571958482, -0.6437073946, 0.4338999093, -0.1703792363, -0.5741091967, 0.0453442931, 0.8560135961, -0.0166941881, 0.2978735268, 0.1778784841, 0.6123985052, 0.5964249969, 0.111853756, 0.908408463, -0.7823653221, 0.4729650021, 1.4186058044, -0.0093295816, 0.9479922652, 0.5053275824, -0.0447155051, 0.5359206796, 0.5138594508, 0.4940153658, 0.5419551134, -0.2654181421, -0.0111031877, -0.2655800283, 0.2963228524, -0.4432036579, 0.8308542371, 0.2922652364, -0.3547829688, -0.4761972725, -0.1433223784, -0.0928649604, 0.1544004232, -0.1699739099, 0.8453620672, -0.1730161309, -0.5528129935, 0.9727216959, -0.0579673238, 0.5012560487, -0.2105616629, -0.1155956239, -0.5017700791, 0.2391325086, -0.4489129186, -0.5831340551, 0.9829591513, -0.2768198252, -0.1407970488, -0.2612268329, 0.8632631302, -0.374289304, -0.1650719941, 0.3263333142, 0.1200862527, 0.289700985, -0.0893979073, -0.4836259484, 0.3454326689, 0.1970704645, -0.4212088883, 0.530651927, 0.1088598594, 0.2239110768, 0.5901634097, 0.465383023, -0.436063081, -0.0572348163, -0.2961249948, 0.9452171326, -0.6818386912, -0.3714376092, -0.8035411835, 0.6670289636, 0.1868389249, -0.0554372072, 0.8149610162, 0.9318048358, 1.0009390116, -0.1127028316, 0.3048283458, -0.236166954, 0.1470755786, -0.7358565331, 0.2693575621, -0.7720504403, 0.3994414508, -0.3898415267, -1.0596290827, -0.1764779985, 0.5038042068, -0.1832925975, 0.0063408655, 0.6409785151, 1.0172313452, -0.1515119821, -0.3340096176, 0.4101406038, -0.0657444149, 0.2095604837, 0.3633283973, 0.3265051246, -0.4595830739, 0.3027696013, -0.5537044406, -0.2016460001, -0.3912671804, -1.0040103197, -0.4516168237, -0.6639236212, -0.4398139417, -0.3463795781, -0.1717687845, 0.7462704778, 0.6875735521, -0.6558337808, -0.0354695693, -0.2409916669, -0.0037299891, -0.2394467145, -0.3740324676, 0.509236753, -0.7339867949, -0.7136257887, 0.9891290069, 0.4677791297, -0.0307084341, -0.2099019289, -0.1963910013, 0.0937063918, -0.0597993992, 0.7482907772, 0.363514781, -0.5451901555, -0.4745348394, -0.1084703654, -0.1222531274, 0.35580042, 0.6547476053, -0.6840468049, 0.5189866424, 0.9017144442, 0.7950770855, 0.3700938821, 0.7406167388, 0.4882031679, -1.0191597939, 0.1955737323, 0.0133704944, 0.3935546875, -0.0523526371, -0.8131589293, 0.6430565119, -0.120996356, -0.781129241, -0.7109647989, 0.232659936, -0.9127768278, -0.3615113497, 1.0678167343, -0.0873947144, -0.5105593801, 0.1240404546, -0.3451119363, 0.3279227316, -0.2782584131, 0.7974204421, 0.3543516695, -0.4771472216, 0.0181633141, -0.0023394779, 0.4973038435, 0.2456380576, -0.8282566071, 0.370873332, 0.8669956326, 0.4190716445, 0.2182734162, 0.5779342055, -0.3439336717, 0.2228349298, 0.0911751464, 0.3280952275, -0.2720413506, -0.463334769, -0.4784533381, 0.1579419672, -0.1556370109, -0.5181452036 ]
http://arxiv.org/abs/2406.17232v1
http://arxiv.org/pdf/2406.17232v1
Beyond Demographics: Aligning Role-playing LLM-based Agents Using Human Belief Networks
2024-06-25T02:37:29
2024-06-25T02:37:29
Yun-Shiuan Chuang, Zach Studdiford, Krirk Nirunwiroj, Agam Goyal, Vincent V. Frigo, Sijia Yang, Dhavan Shah, Junjie Hu, Timothy T. Rogers
cs.CL
cs.CL
Creating human-like large language model (LLM) agents is crucial for faithful social simulation. Having LLMs role-play based on demographic information sometimes improves human likeness but often does not. This study assessed whether LLM alignment with human behavior can be improved by integrating information from empirically-derived human belief networks. Using data from a human survey, we estimated a belief network encompassing 18 topics loading on two non-overlapping latent factors. We then seeded LLM-based agents with an opinion on one topic, and assessed the alignment of its expressed opinions on remaining test topics with corresponding human data. Role-playing based on demographic information alone did not align LLM and human opinions, but seeding the agent with a single belief greatly improved alignment for topics related in the belief network, and not for topics outside the network. These results suggest a novel path for human-LLM belief alignment in work seeking to simulate and understand patterns of belief distributions in society.
[ -0.3938154578, -0.363807559, 0.5656949282, 0.2150020301, 0.1138036624, 0.4149583876, -0.1777390838, -0.3535203636, 0.4860310853, 0.5684918761, -0.5135481358, -0.3076202869, -0.2044815719, -0.0194547512, 0.2427020818, 0.4841601849, 0.2386027575, 0.1457568258, -0.5484701991, 0.2305752933, -0.3987929523, -0.5188643336, -0.7641435862, -0.8610041738, 0.6629576683, 0.2344704419, 0.9745103121, 0.7158577442, 0.2395594269, 0.3364785016, 0.1824145019, 0.5922535658, -0.6044304967, 0.1236986667, -0.4264988303, -0.664534688, -0.6574314833, 0.2817957699, 0.6956333518, 0.7092450261, -0.3017209172, -0.031489186, 0.2303473204, 0.3025632799, -0.1752374619, 0.1296748668, -0.4897202551, 0.0591505691, -0.0412358083, -0.4981386364, -0.3750364184, -0.4295795262, 0.1135701984, -0.6326729655, 0.3236151636, 0.1659659296, 0.6428131461, 0.0627561435, -0.7204183936, 0.1192003265, -0.7737535238, 0.7497696877, -0.721824944, 0.1284784526, 0.4561370313, 0.141790837, -0.715015173, 0.1350456029, -0.6215921044, 0.0430774391, 0.0646789521, 0.0090377554, 0.2084828168, 0.1417481899, 0.1956300586, -0.40177086, -0.5267491341, 0.3162316084, -0.2136068493, -0.1655244529, 0.9977993965, 0.3514561057, 0.3702178001, -0.0829626471, -0.1793623716, -0.2687250674, -0.863746047, 0.1935375929, 0.642924428, 0.5664188862, -0.1390607059, 0.6656227708, 0.0053122966, 0.3623501062, 0.3249075413, -0.3422042429, 0.2683824599, 0.1174132153, -0.0212060846, 0.359896034, 0.5779742002, 0.7114337683, 0.6040171385, -0.1258182824, 0.0332530029, 0.3556288183, 0.5134117007, -0.6014816165, 0.1793491393, -0.1222622618, -0.6513577104, -0.5781966448, 0.3245404065, -0.7088556886, -1.0656144619, -0.4491964877, 0.1241806149, -0.2865659595, -0.5057861209, -0.1425494254, -0.1627821773, 0.3651620448, 0.6806859374, -0.9066372514, 0.3410957754, 0.937353611, 0.6170876622, -0.2719789743, -0.2389347553, -0.170841977, 0.2899300754, -0.6766112447, 0.5223099589, -0.7196928859, -0.2653723955, -0.0027170654, 0.0395746864, -0.1252424419, -0.5747616887, 0.0608873293, -0.7381010056, -0.0457349978, -0.4681410789, -0.7535521984, 0.2067191154, 0.420589447, -0.4443758428, 0.8641628027, -0.439507395, -0.5213885903, 0.5213961005, -0.5695987344, -0.0820261762, -0.0346551798, -0.5556793213, -0.0049782908, 0.1189419031, -0.1056353003, 0.4078004956, -0.32821697, 0.3322772384, -0.7052285075, -0.4820381105, 0.6374985576, -0.5407006145, 0.682480216, 0.1128129363, -0.3654366732, 0.0356172472, -0.1839272082, -0.1980981231, 0.0447345152, -0.0735320076, -0.2900740504, 0.4189388454, -0.4987844527, 0.3048655391, 0.0860359594, -0.6228660941, 0.5299168229, -0.4223278761, 0.0871592537, 0.9759141207, 0.0130066127, 0.7974621654, -0.8059214354, 0.6036230326, -0.096244283, 0.0460704751, 0.3236937523, -0.7027320266, -0.306699872, 0.0723075792, 0.0312223528, 0.5096411109, -0.5153891444, 0.5640910268, -0.3791915476, -0.3850498497, -0.2551797032, 0.1176214591, 0.1099910587, 0.3975502253, 0.046216622, -0.2618850172, -0.5880332589, -0.8154109716, -0.1437505782, -0.7548378706, 0.0003146015, 0.3979739547, 0.2976563573, -0.2449267805, 1.204788208, -0.4243965745, -0.1152475998, 0.0232512318, 0.025012508, 0.1090906635, 0.4332795739, 0.3288360834, -0.8171213269, -0.4316197634, 0.1979904026, -0.8022963405, -0.0534878559, -0.1023724452, -0.3026414514, 0.0924163163, 0.3077652156, -0.6401132345, 0.5303797722, 0.4326715171, -0.4384503663, 0.3831138015, -0.2013528794, 0.294919908, -1.3636226654, -0.2787560523, 0.3810360134, -0.3157410622, -0.4956542552, -0.3387363255, -0.1426968426, 0.0845952109, -0.20269081, 0.580081284, -0.4278891087, -0.2571433187, -0.3309615254, 0.1901069731, -0.0783849284, 0.1324735135, 0.0965854153, 0.9754548669, 0.3096745908, -0.3246750832, 0.2896238565, 0.2743946016, -0.1216204688, 0.6104251742, -0.3945336342, 0.1238821968, -0.5489653945, 0.4933925271, -0.9521820545, -0.4324973524, 0.2037394196, -0.3463321626, 0.2305316031, -0.3591812551, -0.4051603377, -0.1130494699, -0.1563579291, 0.2481921166, 0.7127293944, -0.1842853129, 0.7995854616, 0.40566203, -0.1558475494, -0.662977159, -0.4437741041, 0.3187549412, -0.6064366698, -0.7994127274, 0.6243870854, 0.1569457203, -0.5283972621, -0.0299871955, -0.0094148936, 0.158143118, -0.0559727363, 0.4011996984, 0.3663654625, -0.2703851163, 0.4244322479, -0.1321152896, 0.1581877023, 0.0112521984, -0.3915801644, 0.5604382753, 0.1709427238, -0.4868634045, -0.3106530607, 0.2056902945, 0.3608359694, 0.1071359366, 0.8834763169, 0.1096927524, -0.3757417798, -0.1388871074, -0.7381129861, -0.1992910802, -0.5199660659, 0.1555486023, 0.0923375562, -0.9145379663, 0.5129818916, -0.2453309745, 0.0222224891, 0.1394485384, 0.3924492598, -0.7322910428, 1.0312811136, 0.3872424364, 0.2071143836, 0.4761944115, 0.1265939027, -0.170726344, -0.7237682939, -0.237430498, -0.1842694879, -0.5035740137, -0.6022627354, -0.9179894924, 0.1456276625, -0.0972196013, -0.5639204383, 0.1469042152, -0.1324160844, 0.2767396271, -0.042385865, 0.2972967923, -0.1097962335, 0.1923360974, -0.1784836054, -0.1711801142, -0.4053308666, -1.0347993374, 1.0183320045, 0.3512528539, 0.8471472263, 0.398619324, 0.9696654677, 0.6359559298, 0.651684761, -0.43134287, 0.5477220416, -0.1068135127, -0.7660009861, -0.5926672816, -0.5439063907, -0.973849237, 0.3923852444, -0.4910354614, -1.0594213009, 0.5446497798, 0.2963149846, -0.2574161291, 0.2341833115, -0.4529366493, 0.6789249778, -0.2662546635, -0.2943672538, -0.2537361085, -0.6408669949, 0.095435217, -0.107831873, 0.1764968187, -0.3491359949, -0.0526202172, 0.6391320825, -0.516982317, 1.558475852, -0.3674212098, -0.3908603191, 0.2755117416, -0.113283895, 0.604981482, -0.108828254, -0.4992333055, -0.1240229979, -0.1340341866, -0.3383971155, -1.0471490622, 0.5528436899, -1.1895809174, -1.0152540207, -0.2384715825, -0.5035729408, -0.3781251609, -0.0553741083, -0.2782350183, 0.2568988502, -0.5825102329, 0.19646433, 0.8511176109, -0.0887078345, 0.0256990883, 0.1280548871, -0.2826450765, -0.2809469104, 0.6487895846, 0.1195066571, 0.4132313132, 0.4098798633, 0.2851999104, -0.4736314118, -0.0193686225, -0.1221841574, 0.2928681374, -0.4625041187, -0.0707964972, -0.5848611593, -0.0094349664, -0.5188026428, -0.10261406, -0.2012661397, -0.0807115734, -0.2676932812, -0.1199498475, 0.2342589647, 0.6138125658, 0.0186115094, 0.5619007945, -0.5853213668, 0.1943827718, 0.3911884129, 0.1659402698, 0.1630153358, -0.3875179589, 0.0179491621, 0.6549162865, -0.1429447532, -1.1096343994, 0.1462458372, 0.0714929476, 0.6199455857, 0.6867477298, 0.0522979125, 0.9907960892, -0.476455152, 0.634775281, 0.3134940565, -0.6321824193, 0.1835637391, -0.4347114861, -0.3293897212, 0.368863374, 0.173729524, -0.7042322159, -0.072223343, -0.4022713304, -0.2773013115, 0.8094356656, 0.3331460059, 0.3469170332, -0.0442804135, 0.5205075741, -0.0923168808, 0.0701470524, -0.3074358106, -0.1868246049, -0.2146603167, -0.3881983459, -0.3159581423, 0.0494208708, -0.3389346004, -0.1072437093, 0.4863830209, -0.3310030699, 0.190626055, 0.1140051186, 0.1680224389, -0.4482837319, 0.092977263, 0.594737947, 0.6327592134, -0.1621925384, 0.2790693641, 0.1925910413, -0.2995765507, 0.7100573182, 0.0206057373, -0.0637093037, -0.6176462173, 0.3591223955, 0.5352326035, -0.0127389412, -0.3358418345, 0.5203052163, -0.1333652139, -0.1406376958, -0.4027156532, 0.4004673362, 0.6206901073, 0.5685516596, 0.3900488317, 0.1935853213, -0.4184043407, -0.7943659425, 0.221253559, 0.5581182241, -0.3478581309, -0.3119667768, 0.5269228816, 0.2042785883, -0.708315134, 0.5650110245, -0.0860958621, -0.2654295266, 0.9635869265, 0.7312348485, 0.6512339115, -0.313929081, 0.6231799126, 0.0242095459, 0.2971234024, -0.3095914721, 0.1279106736, 0.1849296987, -1.4528782368, -0.6926814914, -0.374079138, -0.2278551906, -0.4862154126, -0.3481114209, 0.1747196615, -0.1669815779, -0.5757239461, -0.1382129639, 0.1296985447, -0.8055189848, 0.1406554133, 0.2287854552, 0.6162188649, -0.9736696482, 0.8543738127, 0.9745114446, -0.2032788843, -1.01463449, 0.3705420494, 0.1613295823, -0.7892718315, 0.6795473695, 0.033779636, -0.1950795501, -0.1777492017, -0.6030439734, -1.0734064579, 1.3409826756, 0.4838760197, -0.4080890715, -0.2792694867, 0.3148168027, 0.6786336899, -0.9210307002, 0.166821599, 0.0698603913, 0.4685090482, 0.3086107969, -0.6263384819, 0.2188329101, -0.253993541, 0.1630817652, 0.1099359691, -0.6546967626, 0.5587151051, -0.0632375255, -0.0762331337, -0.1006892249, 0.9396772385, 0.7733524442, 0.3697598279, 0.9246191382, 0.0315535739, 1.0011510849, 0.3685422242, 0.7284286618, -0.0691503137, 0.1177032366, 0.9242719412, -0.9369090199, 0.3830705285, 0.400562942, -0.1710749269, 0.5131875277, 0.7685440183, 0.1078726575, 0.0943300202, 0.3217264116, -0.0146833975, -0.7586062551, -0.3015528917, -0.200738892, 0.5470897555, 0.3650417924, -0.1825085878, 0.0049828729, -0.4836797118, -0.2239558399, 0.1806502789, 0.0169352293, 0.6956669688, 0.1252031028, -0.6707541943, -0.0024723511, -0.1007325873, 0.6752406955, -0.4864226878, -0.4621295631, -0.0340990722, -0.2409587353, -0.3286590278, -0.7500835061, -0.0165154506, -0.0364267007, -0.215194881, -0.2644489706, 0.8135102987, -0.4438737035, -0.3043802977, 0.2762085497, 0.6480373144, 0.2639043629, 0.2248765677, -0.4295242727, -0.2705504894, -0.0785623193, -0.1437241137, 0.5316773057, 0.6412228942, -0.5229417086, 0.5010033846, 0.8663781285, 0.3486352563, -0.1882448345, 0.1423025429, 0.7682045698, -0.6331624985, -0.5484445691, -0.9350240231, 0.4062000513, -0.5482386351, 0.0973347053, 0.5548966527, 0.2856186628, 0.3744573891, 0.2611705959, 0.6757049561, 0.1413304806, 0.161662519, -0.1862732321, 0.7771993876, -0.4432510436, 0.2647832334, -0.4060953856, -1.1857802868, -0.0202114545, 0.599978447, -0.2415596396, 0.2068021595, 0.1205333397, 1.0231958628, -0.0059459871, -0.1079709828, 0.4714462757, -0.0609991252, 0.5660325289, -0.0401454344, 1.1151756048, 0.1421609968, 0.1866857409, 0.1008036658, -0.360898912, -0.1349385679, -0.9656777978, -0.9369578958, -0.2035003006, -0.2316219807, -0.4092044532, -0.019593941, 1.5919604301, 0.7554556727, -0.3806859851, -0.5344535708, 0.1668593436, 0.1378878653, -0.3867211342, -0.2956255674, 0.178238377, 0.0352441743, -0.4696206152, 0.3554622829, 0.123811461, -0.072694689, -0.3819074035, -0.4756808281, -0.138255924, 0.4689010084, 0.4059654176, 0.1354452074, -0.8043305278, -0.5322358608, 0.160372138, -0.2958807051, 0.0745752677, 0.8347827196, -0.5047685504, 0.3921989501, 0.3218338788, 0.5268771052, 0.1148282886, 0.6211945415, 1.0370838642, -0.7777459025, -0.036174532, 0.1873605102, 0.2515460253, 0.2892007232, -0.7263410091, 0.3890565932, 0.154068917, -0.5262627006, -0.5643700957, 0.2998366058, -0.7689031363, -0.0082831662, 1.2565078735, -0.0569023192, -0.3044578135, -0.253703177, -0.1548983604, 0.3698273003, -0.7397397161, 0.7093839645, 0.5726522207, -0.3175122738, -0.0864605308, -0.2040585279, 0.2373881191, 0.2444970906, -0.7697989345, 0.0831495672, 0.4418892264, 0.17494151, 0.2874801159, 0.8154139519, 0.0899149179, -0.0660380647, -0.2296060473, 0.2530753613, 0.1466653794, -0.0891902819, 0.0198543482, 0.1010877118, 0.1042066813, 0.2010469288 ]
http://arxiv.org/abs/2406.17231v1
http://arxiv.org/pdf/2406.17231v1
CogMG: Collaborative Augmentation Between Large Language Model and Knowledge Graph
2024-06-25T02:37:12
2024-06-25T02:37:12
Tong Zhou, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL
Large language models have become integral to question-answering applications despite their propensity for generating hallucinations and factually inaccurate content. Querying knowledge graphs to reduce hallucinations in LLM meets the challenge of incomplete knowledge coverage in knowledge graphs. On the other hand, updating knowledge graphs by information extraction and knowledge graph completion faces the knowledge update misalignment issue. In this work, we introduce a collaborative augmentation framework, CogMG, leveraging knowledge graphs to address the limitations of LLMs in QA scenarios, explicitly targeting the problems of incomplete knowledge coverage and knowledge update misalignment. The LLMs identify and decompose required knowledge triples that are not present in the KG, enriching them and aligning updates with real-world demands. We demonstrate the efficacy of this approach through a supervised fine-tuned LLM within an agent framework, showing significant improvements in reducing hallucinations and enhancing factual accuracy in QA responses. Our code and video are publicly available.
[ -0.588465631, -1.0153710842, 0.6239165664, -0.040447358, 0.034520898, 0.4443216324, 0.0199054983, -0.6578733325, 0.3598181605, 0.6370947957, -0.763414681, -0.6417133808, -0.3224006891, 0.1688925326, -0.0094949231, 0.7011371255, 0.0748214573, -0.0581690595, -0.7420114279, -0.2243672311, -0.5439603925, -0.4311137795, -0.7183527946, -0.5958445668, 0.3190729022, 0.3780003488, 1.1743190289, 0.2637033463, 0.4260016978, 0.3015308678, 0.0694514886, 0.8822365999, -0.621481061, 0.1195880473, -0.0527204834, -0.3880355358, -0.902982831, -0.1843266189, 0.2125778198, 1.0427957773, -0.1247094572, -0.0418944582, 0.1090463549, 0.4519251585, -0.3615965843, 0.4286696911, -0.3461446762, -0.0157319438, 0.4513401985, -0.1798989922, -0.3219296634, -0.4907392561, 0.3209135234, -1.0905332565, 0.1955867261, 0.3706038594, 0.7461323738, 0.6768413186, -0.2460468709, -0.1917099208, -0.4483153224, 0.3714800179, -0.6160241365, 0.341127336, 0.3845359087, 0.2749192417, -0.5632283092, -0.776333034, -0.615229249, -0.1331918836, -0.2782431841, 0.1213497445, -0.2512216568, 0.5685874224, 0.2682616413, 0.4308624864, -0.5246587396, 0.0539155081, -0.2510597408, -0.5021190047, 0.737631321, 0.0767421797, 0.580395937, 0.048540704, -0.3329904377, -0.0810559392, -0.6144314408, -0.2309804559, 0.1601786166, 0.0143237608, -0.0272115376, 0.5958724618, -0.1996529996, 0.9277953506, 0.3282616735, 0.0331077911, 0.3601807952, -0.2948123515, -0.2918866873, 0.1601891667, 0.5698055029, 0.5483893752, 0.0849066004, -0.6209614873, 0.2455229908, -0.2576214075, 0.2648485303, -0.5387461185, -0.2927718759, 0.3291831613, 0.1294977218, -0.1256439835, -0.0859466046, -0.5397952795, -0.7041154504, -0.2513331771, 0.5217609406, -0.2841085792, -0.1646133959, 0.3118184209, -0.206613183, -0.0055078729, 0.4716404378, -0.479260236, 0.2416381091, 0.6019932032, 0.4887162745, -0.2043542117, -0.2936026752, -0.5870625377, 0.4898291826, -0.39901492, 0.6233342886, -0.3600107133, -0.1447681785, -0.0821451321, 0.1322542727, -0.0281125959, -0.6867690682, 0.1152737662, -0.9074177742, 0.5901283622, -0.3692726493, -0.8390526175, -0.5739093423, 0.6763903499, -0.7166324854, 0.9145935178, 0.6200932264, -0.5962756872, 0.1181062162, -0.5753490925, -0.1045989022, 0.2727361321, -0.2258052826, -0.3217857182, -0.3417078555, 0.5493858457, 0.3226488531, -0.1060955599, 0.3378433287, -0.5003240108, -0.524029851, -0.0164167099, 0.2321022451, 0.6441192031, -0.0101993214, 0.0524655171, 0.3539220989, -0.7062578201, 0.1188585982, -0.1140739545, -0.163452968, -0.2837430537, -0.1449317932, -0.637008369, 0.0694106072, 0.5048624873, -0.1742917448, 0.2444076836, -0.6209498644, -0.0046999808, 0.4152781069, 0.3728151321, 0.6137632132, -0.4977637529, 0.7441484332, -0.061347574, 0.1822964102, 0.2734101117, -0.4636063874, -0.7568275332, -0.2888422012, 0.0194327794, 0.5525550842, -1.3223752975, 0.6170447469, -0.2501292527, -0.1412918717, -0.6407173872, 0.2821803689, 0.1164886206, 0.5813198686, 0.5893158317, -0.2176307589, -0.7005764246, -0.7432946563, -0.1134781688, -0.3792411089, -0.1615921706, 0.3348627985, -0.0656164512, -0.5134189725, 1.0270969868, -0.7194116116, -0.4523018897, -0.1564529985, -0.0144886244, -0.0709620118, 0.1311104894, 0.3061952889, -0.57265836, -0.2073872536, -0.0032266309, -1.0014413595, -0.2739623189, 0.1616022885, -0.057252828, 0.1024099439, 0.6773525476, -0.4300427437, -0.0115551287, 0.8204012513, -0.3113042414, 0.4064616859, -0.3213632405, 0.2163164914, -1.2768518925, -0.4608487189, -0.3550468981, -0.5967648625, -0.5399340987, 0.3993620872, -0.2665521204, -0.1189285666, -0.1494494975, 0.3700771928, -0.4756473303, -0.0415129438, -0.2940668464, 0.622081697, 0.3307458758, 0.6226526499, -0.1562827528, 0.8314712644, 0.4975953102, -0.5046935678, 0.6722272038, 0.3554953039, -0.0756928399, 0.3659112155, -0.3448809981, 0.4793676138, 0.0384813175, 0.1391860843, -0.729813993, -0.4832942784, 0.6157194376, -0.441704154, 0.0516815484, -0.0421076342, -0.6280149221, -0.3173215091, -0.1212577447, 0.2199028134, 0.4247610271, -0.6727692485, 0.762580514, 0.4949498475, -0.0999809206, -0.3902389109, -0.5186499953, 0.1165426299, 0.0881553143, -1.0050486326, 0.2758831084, -0.025341697, -0.3658951223, 0.1807469279, -0.0537850633, -0.1336176991, 0.0156530663, 0.1256290227, 0.1673728824, -0.1433619857, 0.4437202513, 0.1119645834, 0.0424250253, 0.1314937919, -0.3517502248, 0.6308908463, -0.0059743347, -0.4974097311, -0.1004964709, 0.1050382629, 0.2860500515, -0.0451723821, 0.7184815407, 0.7972583175, -0.5028884411, -0.0739944726, -0.7129577994, -0.2987558544, -0.5294737816, 0.4518065453, -0.2148534358, -1.4072628021, 0.6738294959, -0.0667926371, -0.5182422996, 0.2792854607, 0.3019829094, -0.0167794675, 1.0191559792, 0.6475545764, 0.0276353527, 0.1665223241, -0.1426781267, 0.2682001889, -0.7867885828, -0.4063842595, -0.0897288248, 0.0319029465, -0.4838555455, -0.6848335862, 0.6770676374, 0.3398717344, 0.1348844469, 0.0692953989, -0.6045499444, 0.4284600914, 0.3096842766, 0.4017894268, 0.5203438997, 0.0416215956, 0.0245345253, 0.1898633242, -0.9313265085, -0.3287710845, 0.7228983045, 0.1782348454, 0.6497987509, 0.1080146134, 0.5811583996, 0.3417269289, 0.0702832788, -0.6011513472, 0.6231176257, 0.3052256107, -0.5053236485, -0.5550268888, -0.4367904961, -0.8069946766, 0.275595665, -0.2764165103, -0.5936120749, 0.1186853722, 0.1989930421, -0.5451203585, 0.1540348977, -0.8184040785, 0.7418530583, 0.1134142205, -0.3393739462, -0.3951025307, -0.4514010251, 0.3292597234, -0.0566706322, 0.134983629, 0.1145597324, 0.0010220059, 0.5012850165, -0.6345904469, 0.7758722901, -0.1558836848, -0.3515800834, 0.5252740383, 0.1015325487, 0.8783326149, 0.0241800211, -0.0204808395, -0.1287758052, -0.009725295, -0.5279524922, -0.8609933257, 0.5247867703, -0.8201544285, -0.9168544412, -0.1088913381, -1.0653793812, -0.6388043761, 0.0801739395, -0.0949445665, 0.2151793689, -0.0972483531, -0.0407427959, 0.6525524259, -0.3233627379, 0.110745661, 0.3831723928, -0.4594776034, -0.5397057533, 0.8272565603, 0.0410551094, 0.3640663922, 0.0619104393, 0.0720820948, -0.3596061468, -0.7188643813, -0.1995709389, 0.1560613662, -0.6861820817, 0.0339246988, -0.7547987103, -0.2600583732, -0.7700309157, -0.1036241353, 0.2071391493, -0.2417181134, -0.3540426791, -0.2137466669, 0.536039114, 0.689306736, -0.1085937917, 0.4473185241, -0.9085630178, 0.4321908355, 0.6405113339, 0.1824519932, -0.1674271822, -0.1507439166, -0.4082628787, 0.2049512714, -0.1120966524, -0.911678493, 0.2813949883, -0.1404093802, 0.4608086944, 0.1569004506, 0.2452237606, 1.0401631594, -0.0015779892, 0.8237298727, 0.0851108134, -0.7918762565, 0.2047465891, -0.4972220659, 0.2525841892, 0.5463416576, 0.0478573777, -0.5391480327, -0.7223726511, -0.623821497, -0.6416275501, 0.6065859199, 0.1094022989, -0.1876284778, 0.0724333748, 0.4606130123, 0.0109301787, 0.3448930383, -0.5106548667, 0.0042912327, 0.0496214107, -0.2830944657, 0.0226759911, -0.0720037892, -0.4198822081, -0.2608499527, 0.7323831916, -0.5205478668, 0.0452645272, 0.4148190618, -0.4028087854, -0.2907892168, 0.1174604595, 0.40725106, 0.7715835571, -0.3343483806, 0.1116934344, 0.591721952, -0.2884338796, -0.0424054936, 0.3240280747, -0.1139368191, -0.2535983324, 0.3893203139, 0.752666831, -0.1064690575, -0.5221150517, 0.5269206762, 0.043993827, -0.1905968636, -0.2940694988, 0.2680414617, 0.1055788919, 0.6274338365, 0.3318839073, 0.0895017534, 0.109925054, -0.3975370228, 0.2236581743, 0.4123055637, -0.7731407285, -0.0898313001, 0.428797096, 0.1873373836, -0.3336605132, 0.3860853612, -0.6591053605, -0.5842573047, 0.6173602939, 0.3732649088, 0.606765449, 0.196072489, 0.3930195868, 0.1094294712, 0.4025788903, -0.0691845492, 0.1887079477, 0.0288809147, -0.9045590162, -0.7254375815, -0.0418739133, -0.640663445, 0.0974951982, -0.4449751973, 0.1413676292, -0.204898715, 0.0417820625, -0.5922636986, 0.2423833907, -0.459989965, 0.2715477943, 0.0336447544, 0.5050807595, -0.5433222651, 0.7578507662, 0.7242928147, -0.5396547318, -1.0551992655, 0.0748929828, -0.3158581853, -0.8479871154, 0.1143186837, -0.1056545526, -0.2302319258, 0.2783615291, -0.687887907, -0.7242746949, 1.30426085, 0.6040320992, -0.4143621624, -0.297269851, 0.3570854962, 0.8356927633, -0.3483676016, -0.0001581198, 0.3529379964, 0.4458900988, 0.2777814865, -0.7405695319, 0.3476709127, 0.1581588387, -0.4366576076, -0.040383406, -0.7239766121, 0.3733866215, -0.3275993764, -0.0647479296, -0.1309606433, 0.6018481851, 0.4190705419, 0.4524078071, 0.5260713696, 0.7560663819, 1.1842148304, -0.145629108, 0.9857841134, -0.349342078, 0.258839488, 1.2466658354, -0.2719195485, 0.2120580375, 0.3968549967, -0.0338303372, 0.4759519994, 0.7509053349, 0.0132607864, 0.2570616305, -0.0104167806, -0.3104050756, -0.5606384873, -0.2731030881, -0.527102232, 0.1069853082, 0.2550199628, -0.0798207521, -0.2239848226, -0.0375913791, -0.0276553314, -0.0216382109, -0.3643881977, 0.940464437, -0.0315334462, -0.8393797874, 0.6219832897, -0.2485282123, 0.2974010706, -0.2361400127, -0.1333274096, -0.19863002, -0.0059138043, -0.4482864439, -0.5596899986, 0.3376168013, -0.5092357993, -0.0020329899, -0.0888143629, 0.9768334627, -0.7458707094, -0.2362990528, 0.5542874336, 0.7965225577, -0.0762716308, -0.2450371832, -0.4161287546, -0.2618008852, -0.0920556411, 0.22622329, -0.0477064587, 0.4135646224, -0.0414362811, 0.7277191877, 0.5264965296, 0.1025091112, 0.2049465328, 0.3701945245, 0.9206705689, -0.3410169482, -0.4028984308, -0.6243021488, 0.2333736718, -0.2945423722, 0.4068235457, 0.8427951336, 0.597825706, 0.8306394815, 0.0200494584, 0.7607174516, 0.0978842229, 0.364720583, -0.4397215247, 0.7594570518, -0.5491045117, 0.3188608587, -0.2004958689, -0.8061494827, -0.4535357058, 0.3251913488, -0.4165830612, -0.1945576668, 0.7195258141, 1.1242032051, 0.2133926153, -0.0475672744, 0.5532724857, 0.3744404316, 0.2208282948, 0.5189884305, 0.9546552896, -0.4583382905, 0.6505822539, -0.0774279013, 0.0356681198, -0.1654365808, -0.5888752341, -1.0535424948, -0.4228277802, -0.6104713082, -0.6643844247, 0.2144916654, 1.1110069752, 0.6476626992, -0.6871998906, 0.0851283371, -0.1422670931, 0.5605940223, -0.224460572, -0.2450879216, 0.3022527397, -0.3718372285, -0.5454019904, 0.4497781694, 0.306899935, 0.1429029405, -0.4072849751, -0.299795419, -0.1433679461, 0.0037970329, 0.5038423538, 0.0436005704, -0.562977612, -0.6559659839, 0.263174504, -0.0622433573, 0.2730476856, 0.4105372429, -0.9194639325, 0.6562898159, 0.617797792, 0.7202733755, 0.4773858786, 0.2078829408, 0.6813315749, -0.9642766714, 0.0423490256, 0.1323777735, 0.1426198483, 0.4100079536, -0.5351298451, 0.5867016912, 0.3786373734, -0.4236830175, -0.7316047549, 0.2227206975, -1.0576344728, -0.1441347301, 1.1947106123, -0.0034859949, -0.2874289751, -0.4857607782, -0.4103957713, 0.5987517238, -0.182656303, 1.0251553059, 0.8852443099, -0.1813940257, -0.3091406524, -0.1315941215, 0.5598890781, 0.2349199206, -1.0933899879, -0.3077782989, 0.8202372789, 0.1229556799, 0.3053313792, 0.7406121492, 0.0394236632, 0.2797729969, -0.2099199891, 0.3347706199, -0.4455752075, -0.0010433563, -0.2505542338, 0.541739583, 0.2918402851, -0.2142893076 ]
http://arxiv.org/abs/2406.17224v1
http://arxiv.org/pdf/2406.17224v1
Large Language Models are Interpretable Learners
2024-06-25T02:18:15
2024-06-25T02:18:15
Ruochen Wang, Si Si, Felix Yu, Dorothea Wiesmann, Cho-Jui Hsieh, Inderjit Dhillon
cs.AI
cs.AI, cs.CL, cs.CV, cs.LG, cs.SC, 68T05
The trade-off between expressiveness and interpretability remains a core challenge when building human-centric predictive models for classification and decision-making. While symbolic rules offer interpretability, they often lack expressiveness, whereas neural networks excel in performance but are known for being black boxes. In this paper, we show a combination of Large Language Models (LLMs) and symbolic programs can bridge this gap. In the proposed LLM-based Symbolic Programs (LSPs), the pretrained LLM with natural language prompts provides a massive set of interpretable modules that can transform raw input into natural language concepts. Symbolic programs then integrate these modules into an interpretable decision rule. To train LSPs, we develop a divide-and-conquer approach to incrementally build the program from scratch, where the learning process of each step is guided by LLMs. To evaluate the effectiveness of LSPs in extracting interpretable and accurate knowledge from data, we introduce IL-Bench, a collection of diverse tasks, including both synthetic and real-world scenarios across different modalities. Empirical results demonstrate LSP's superior performance compared to traditional neurosymbolic programs and vanilla automatic prompt tuning methods. Moreover, as the knowledge learned by LSP is a combination of natural language descriptions and symbolic rules, it is easily transferable to humans (interpretable), and other LLMs, and generalizes well to out-of-distribution samples.
[ 0.0393605269, -0.5057174563, 0.7613774538, 0.329788506, -0.1889270395, 0.2062179744, -0.5616047978, -0.5985457301, 0.0312731862, 0.4023937285, -0.498986125, -0.39839378, -0.7989889979, 0.1587752551, -0.4515968263, 0.7127149105, -0.0313128494, 0.1574065089, -0.0294724759, -0.0923455432, -0.4364368618, -0.477827996, -0.7931490541, -0.661111474, 0.4166840613, -0.0272850562, 0.6480620503, 0.6008256674, 0.2472512424, 0.3368393183, 0.0173236895, 0.1506965756, -0.2790105641, 0.1042877138, -0.3650242984, -0.6661556959, -0.1136576086, -0.1218297482, 0.5435553789, 0.6765476465, -0.2165052146, 0.0744977593, 0.1534633934, 0.3951651752, -0.4274522364, 0.6983681321, -0.5693405271, 0.0389115065, 0.0477856956, -0.0386988223, -0.6797934771, -0.3929108679, -0.1012983546, -0.4244610667, -0.3174315691, -0.0138188591, 0.5425956845, 0.4373882413, -0.2809028924, -0.1128902584, -0.6175279021, 0.9474378824, -0.7987394929, 0.439599216, 0.3008939326, 0.6311389804, -0.333083719, -0.6788541675, -0.507430315, -0.4280645847, -0.2612952292, -0.1808469743, -0.1733781844, 0.0510007367, 0.435998559, -0.0905520022, -0.4124580026, 0.4037995636, -0.2292815596, -0.0109893233, 0.7514796853, 0.251241684, 0.4135479033, -0.0844099894, -0.0719488189, -0.1500116438, -0.7801778316, -0.0029535706, -0.063831389, 0.6251160502, -0.1670200676, 0.6099092364, -0.1037167013, 0.9175271392, -0.2332592607, -0.1853877753, -0.0610562302, 0.0989769027, -0.2518282533, 0.1338510811, 0.6480087638, -0.0247013569, 0.6612144709, -0.3512158394, -0.404458344, 0.1204017848, 0.2579956055, -0.6169157624, -0.0024101103, 0.0762682557, -0.4342296422, -0.1749728322, -0.1092540547, -0.382671684, -0.6006351709, -1.1247415543, 0.5033135414, -0.585141778, -0.2306271046, 0.1555188894, 0.0286678746, 0.1303328425, 0.5757245421, -0.7017937899, 0.4534035623, 0.9115642309, 0.8096647263, -0.1377944499, -0.2427734435, -0.5058861375, 0.2011149526, -0.2418921292, 0.3976639211, -0.5928919315, -0.0077788411, 0.0247156397, -0.1350078732, -0.1841006428, -0.5089151263, 0.3463279009, -0.4128117859, -0.0963515192, -0.1225613356, -0.4432363212, -0.1570125818, 0.2405713946, -0.6261552572, 0.8315102458, 0.1576736867, -0.4508148432, 0.3103556335, -0.6200903058, -0.5544875264, -0.0111839902, -0.3566177487, 0.0261074882, 0.2591799796, 0.0851031169, 0.6938435435, -0.4219899774, 0.5140945315, -0.3108890951, -0.466345787, 0.3203632832, -0.1786111295, 0.6654748321, 0.1980392337, -0.5437965393, 0.3028140664, -0.7876756191, 0.181335479, 0.2148548216, -0.296533972, -0.3938919902, 0.2319960445, -0.1194565073, 0.4941441119, -0.0451904275, -0.2516030669, 0.0605044886, -0.5479972959, 0.4921514988, 1.0627820492, -0.5718563795, 0.3721977174, -0.1483215839, 0.4698083997, -0.1350124329, -0.1030217931, 0.0659557581, -0.0761936456, -0.8154161572, -0.3198224008, 0.0769553185, 0.5072830319, -0.8693954349, 0.6501067877, -0.4199426174, -0.4374447465, -0.2735662162, 0.1573151648, 0.2295403033, 0.2760028839, 0.2693527639, 0.0102955671, -0.4772538245, -0.8841388226, -0.4357074499, -0.1794471145, 0.0375776365, 0.0477240533, 0.4437083304, 0.1521841288, 0.7236744165, -0.3994112313, -0.185408473, -0.6921595335, 0.0530902892, 0.5298059583, 0.2646353245, 0.2964932919, -0.3407765329, -0.4688034654, -0.030534301, -0.8811126947, -0.0887069479, -0.2355373055, -0.0469971709, -0.0535109527, 0.5599757433, -0.9379588366, 0.1934386343, 0.1655502319, -0.27617535, 0.5928319693, -0.0408703834, -0.2885333002, -0.8609300256, 0.0444526933, 0.2338183075, -0.2761552036, -0.4723976552, 0.1228574142, -0.0136857545, -0.0991169512, -0.4459567666, 0.8343837857, -0.38994807, -0.2349512726, -0.2440875918, -0.1072056368, -0.184733972, 0.4606133699, 0.1395110637, 0.564776063, 0.5667256117, -0.4939636588, 0.1474582255, 0.0400742665, -0.532749474, 0.574862361, -0.6317166686, -0.1369823366, -0.3623896837, 0.3764589131, -0.4831525087, -0.1651432365, 0.3181598783, 0.0169015992, 0.4745335877, 0.183782652, -0.6393985748, -0.2047243118, 0.0106127523, 0.1269288659, 0.5432325602, -0.6966506839, 0.8674907684, 0.0721959397, -0.1735900491, -0.6499429345, -0.5402684808, 0.1531867534, -0.1194157824, -0.313621819, -0.0097603081, 0.2320987433, -0.5034826398, -0.0883745551, -0.0086730123, 0.1022523344, 0.1832130551, 0.474068135, 0.2446978688, -0.1135868654, 0.4086953402, -0.0719759986, -0.0741549507, 0.3300273716, -0.2813896239, 0.5335868597, -0.1325621754, -0.4824549258, -0.5817907453, 0.151393339, 0.6614237428, -0.2275846452, 0.9266321659, 0.3829117715, -0.3191120625, -0.6140797734, -0.292889446, -0.3439225852, -0.4124234915, 0.3519677818, -0.4474542141, -0.6674832702, 0.0886180848, -0.3071811795, 0.2399953753, 0.2942514718, 0.4363833666, -0.0430245362, 1.2206989527, 0.5506990552, -0.1872691512, 0.4281051159, -0.0433642641, 0.209905833, -0.4244789779, -0.2680802047, -0.510115087, -0.6646393538, -0.1535555571, -0.3095026314, 0.147744149, -0.0877500996, -0.5781303644, 0.2888894081, -0.4782012701, 0.585611701, 0.4298738837, 0.1925062984, 0.167230621, 0.1073475033, -0.0238368846, -0.0342956185, -0.5136218667, -0.4684031904, 1.0245372057, 0.3387066126, 0.8806602955, -0.0245942827, 0.6675512791, 0.2553813457, 0.6031751633, -0.7884936929, 0.7480979562, -0.3464914858, -0.2361336052, -0.1672518104, -0.5333322883, -0.7533284426, 0.3768327832, -0.3285811543, -1.0585491657, -0.0689765364, 0.0628078431, -0.1318873316, 0.3637419641, -0.7259497643, 0.7252087593, -0.7376533747, -0.2372006625, -0.4812759161, -0.6577868462, 0.4416694343, -0.2380730361, 0.2574062347, -0.1441520751, 0.144524321, 0.5239265561, -0.3069762588, 1.1398522854, -0.1893732995, 0.0323257446, -0.1316103041, 0.1718828827, 0.7134104967, -0.3052219152, -0.3855400085, 0.1966836154, 0.0666120201, -0.2138606012, -0.8703306317, 0.568644762, -0.8438006639, -0.6313316822, -0.4837425053, -0.7553197145, -0.2268479317, 0.1536082327, -0.2723837197, 0.3195545971, -0.1265172213, 0.0871994272, 0.3697516918, -0.3153452575, 0.2432771027, 0.4786836803, -0.3992938399, -0.0291312039, 0.8902028203, -0.0276233982, 0.2299087644, 0.4504938126, 0.2218608707, -0.5011381507, -0.490477711, -0.3306478858, 0.4158663154, -0.8210847378, -0.0213263668, -0.4642314017, -0.3241012692, -0.1585433781, -0.0923187286, -0.0798817277, -0.4793364108, -0.1975830942, -0.033661928, 0.1788971573, 0.7334380746, 0.0178666674, 0.4084371328, -0.6418641806, 0.1466302723, 0.0180479661, 0.2783741057, 0.115963757, -0.4022316635, -0.1512606889, 0.0597362891, 0.035528414, -0.6883615851, 0.4690601528, 0.179938063, 0.6839880943, 0.2985794544, -0.0058141807, 0.5286939144, -0.3420290053, 0.330699563, 0.4912413657, -0.8363832831, 0.5079604983, -0.0438664816, 0.3545273542, 0.3876164258, 0.4212258458, -0.430036664, -0.3744095862, -0.3390419185, -0.5608249307, 1.004663825, 0.0402823165, 0.0780935511, 0.210356921, 0.2720800638, 0.1076642945, 0.2730843127, -0.8543018103, 0.0832949802, -0.0936055407, -0.6560831666, -0.4037139416, 0.086873278, -0.2304076105, -0.3925461471, 0.5010740757, -0.2551204264, -0.0942784771, -0.3419721127, -0.3308935761, 0.0875302777, 0.3680085838, 0.2238291502, 0.8374906778, -0.1455764323, 0.4019765854, 0.022382522, -0.0396385975, 0.1939893961, 0.1659054011, -0.1571814865, -0.2608584166, 0.4521482885, 0.9518327713, 0.2167608291, -1.0731327534, 0.2377225161, -0.0095083741, 0.0203962326, -0.3824774027, 0.2920793891, 0.1818121076, 0.4889193773, -0.0034243795, 0.0062535894, -0.2092758119, -0.5946062207, 0.0342333689, 0.4377254546, -0.3420998752, -0.3038981855, 0.5285289288, 0.0423394665, -0.1880455464, 0.8124895096, 0.0331867971, -0.4446504414, 0.6212264895, 0.627740562, 0.7527989149, -0.0914724544, 0.3041228354, 0.3031936884, 0.3760508597, -0.2516426444, 0.2974074185, -0.0632750541, -0.6425010562, -0.6621864438, -0.9379124641, -0.1224759445, 0.2190970927, -0.4027784169, 0.2363799363, -0.6747013927, 0.029414868, 0.1682888567, -0.3518307507, -0.6688486338, 0.1757879853, 0.0820594281, 1.022552371, -0.9439054728, 0.9130215049, 0.8098710179, -0.3455338776, -1.1163618565, -0.3437601924, 0.1092332974, -0.912972033, 1.1431943178, 0.3253432512, 0.2238755077, -0.133420378, -0.5499703288, -0.6412728429, 0.7970492244, 0.6414819956, -0.5302253366, -0.1207334474, 0.3815693855, 0.5921068192, -0.1838505268, 0.3143553436, 0.850597918, 0.6413461566, 0.2705646455, -0.795575738, 0.2738522291, -0.1668085605, -0.3064931333, 0.4198469818, -0.1952756941, 0.6531926394, -0.0787594765, -0.1475508213, -0.066477567, 0.4789980352, 0.4485025406, 0.1253273934, 0.5981456637, 0.6439059377, 0.5856015086, -0.2625025213, 1.1594810486, -0.2766093016, -0.224481672, 1.1626646519, -0.4234735966, 0.935785234, 0.4566757977, -0.2506985366, 0.4586157799, 0.5188133121, 0.0594163723, 0.2410157174, 0.5097927451, -0.3155033588, -0.6748936176, -0.3401829302, -0.0937539786, 0.474558264, 0.5210020542, -0.4842564166, -0.5038212538, -0.1861230582, -0.0500640087, 0.1185432374, -0.2853321731, 0.47290048, 0.4504999816, -0.7698948979, 0.4600838423, 0.0203516465, 0.4668030143, -0.8831003308, -0.2401927859, 0.1109811589, 0.4421843886, -0.2339726388, -0.8235498667, 0.2566896677, -0.2187228203, 0.0583512411, -0.4028720856, 0.9158024788, -0.3359188735, -0.5299381614, 0.3269790411, 0.6827840209, 0.1775209159, -0.1227511242, -0.8126916289, 0.0559869036, -0.1296904981, -0.1147755533, 0.594493866, 0.2270462662, -0.366406858, 0.9324697852, 0.7675688267, 0.3039082587, -0.1709426939, 0.2182733864, 0.8356102705, -0.5902061462, -0.4815602899, -0.8573261499, 0.3214444816, -0.1142146885, 0.1815170795, 0.4064373076, 0.2949599326, 0.4050720036, -0.0264731105, 0.761490941, -0.0500864871, 0.3831250966, -0.6020033956, 0.6480196714, -0.591142118, 0.3239353299, 0.0356240943, -0.9685236216, -0.3739727139, 0.6003982425, -0.4820595682, 0.0433957912, 0.4684348106, 0.6842978597, -0.1231636256, 0.0331262499, 0.2478896976, 0.290068239, 0.2827159464, 0.7249403596, 1.1201658249, 0.2343616337, 0.2476375997, -0.1239565089, -0.2370479107, -0.0397848934, -0.7982275486, -0.9062571526, -0.2400276363, -0.0227290597, -0.1910874099, 0.136168927, 1.1201575994, 0.7394914031, -0.6908333898, -0.4382487833, -0.033121746, 0.2076597065, -0.3446148038, -0.2084612697, 0.4989917278, -0.4235726595, -0.656650722, 0.4665523469, 0.1726622283, -0.0277457014, -0.230398789, -0.3568678796, -0.1138343439, 0.0138796829, 0.8860312104, 0.4163343608, -0.7831171751, -0.2787393928, -0.0615094677, 0.0078368625, -0.2672908604, 0.7791012526, -0.9190406799, 0.3092388213, 0.4197313786, 0.736581862, 0.3262393475, -0.1463264078, 0.7383650541, -0.6312855482, 0.2090096027, 0.2258922309, 0.5123496056, 0.1164213717, -0.1112000048, 0.6554786563, -0.0341764241, -0.2277742773, -0.7922399044, 0.1731046736, -0.9444258809, -0.5872545838, 1.1580240726, -0.0882787853, -0.1186847165, -0.0934958979, -0.1291920245, 0.1578378826, -0.2927555144, 0.8181243539, 0.5842536688, -0.2444409132, -0.3115970492, -0.5042716861, 0.3524414301, 0.4817592204, -1.025031209, 0.047519654, 0.661198616, 0.0517149791, 0.0758571103, 0.3007822335, 0.0376065075, 0.1103953719, -0.3498892486, 0.1737312675, -0.2496591657, -0.3386618495, -0.3030860424, 0.1370033473, 0.3180910945, 0.1999708414 ]
http://arxiv.org/abs/2406.17213v1
http://arxiv.org/pdf/2406.17213v1
Detecting Frames in News Headlines and Lead Images in U.S. Gun Violence Coverage
2024-06-25T01:56:47
2024-06-25T01:56:47
Isidora Chara Tourni, Lei Guo, Hengchang Hu, Edward Halim, Prakash Ishwar, Taufiq Daryanto, Mona Jalal, Boqi Chen, Margrit Betke, Fabian Zhafransyah, Sha Lai, Derry Tanti Wijaya
cs.CL
cs.CL
News media structure their reporting of events or issues using certain perspectives. When describing an incident involving gun violence, for example, some journalists may focus on mental health or gun regulation, while others may emphasize the discussion of gun rights. Such perspectives are called \say{frames} in communication research. We study, for the first time, the value of combining lead images and their contextual information with text to identify the frame of a given news article. We observe that using multiple modes of information(article- and image-derived features) improves prediction of news frames over any single mode of information when the images are relevant to the frames of the headlines. We also observe that frame image relevance is related to the ease of conveying frames via images, which we call frame concreteness. Additionally, we release the first multimodal news framing dataset related to gun violence in the U.S., curated and annotated by communication researchers. The dataset will allow researchers to further examine the use of multiple information modalities for studying media framing.
[ -0.4110592306, -0.9581707716, 0.5346367359, 0.2346652448, -0.5422757268, 0.049988348, -0.0388720222, -0.4025113881, 0.204873085, 0.2816699445, -0.2178915143, -0.4647929966, -0.9336807728, -0.0820272267, -0.5743488073, 0.9166181087, -0.0885175467, 0.1848815382, 0.2651509047, -0.1539071053, -0.4090473652, -0.3956288099, -0.4584876299, -0.0347019546, 0.4342567027, 0.0191304032, 1.0497738123, 0.6546735764, 0.9957703352, 0.1836025715, -0.2489574403, -0.2334247082, -0.2614732981, -0.0354366079, -0.0559596308, -0.1875113398, -0.3139463067, 0.4394383132, 0.5844013691, 0.2965007126, 0.656688869, 0.0457207672, -0.1677193642, 0.6172440052, -0.7290933728, 0.0111280633, -0.3408997059, 0.2278064936, -0.5494681001, -0.5544292927, -0.4028006792, -0.3336699307, -0.081129849, -0.4013280869, 0.3167304397, -0.0672786906, 0.9977042675, 0.0273781475, -0.6831915975, -0.3595232666, -0.5242832899, 0.1661983579, -0.3316809237, 0.4175327122, 0.5002378225, 0.0886299163, -0.2467106283, -0.1624898016, -0.4176162183, -0.0380812064, -0.2543246746, 0.0255672596, -0.3311742842, -0.0828646347, 0.4435134828, 0.4676668346, -0.6582456231, -0.3221637309, -0.8259245157, -0.2984477282, 0.7045588493, 0.0636919439, 0.460678637, -0.170351848, -0.4625862539, -0.1521035731, -0.4230829775, 0.395737499, 0.316831857, 0.0779005662, -0.2116570026, 0.8073104024, -0.1496559232, 0.7915942669, 0.2261000127, -0.3821543455, 0.3643229902, -0.6850633621, 0.0790118054, 0.237879023, 0.619024694, 1.0240232944, 0.0475591794, 0.2120090127, -0.0201100428, 0.1704068184, 0.1605762392, -0.8566109538, 0.1467440575, -0.1556672901, -0.7995559573, -0.218605876, 0.2636086345, -0.5665614605, -0.5423180461, -0.0679832622, 0.3151570261, -0.0875944644, -0.3740860522, 0.0011889174, -0.6449922323, 0.3340210319, 0.0047194283, -0.5896314383, -0.2442255169, 0.4755472243, 1.0687627792, -0.122201398, -0.0364595316, -0.3201492429, 0.0442348719, -0.7067227364, 0.839617312, -0.6945086718, -0.3120040596, -0.1565104425, 0.2380021662, 0.4003495276, -0.2741992176, 0.4995088875, -0.7781746387, 0.1187583581, -0.1592099071, -0.3648889959, -0.1774621159, 0.2940433323, -0.8210760355, 0.5671770573, -0.0512582138, -0.8838183284, 0.7964561582, -0.1762933582, -0.5947747231, -0.4371070564, -0.243416056, -0.6988685131, 0.2977332771, 0.1933795363, 0.3795205057, 0.2332665324, 0.3178040087, -0.3039049804, -0.3625990748, 0.102366142, -0.4536713958, 0.4235265851, 0.2875255644, -0.0513186567, 0.0948577449, -0.5743505359, -0.526581049, 0.099447608, -0.309812814, -0.3251304924, 0.0752571076, 0.056049522, 0.014610311, -0.1660035998, -0.6719561815, -0.2288819849, 0.1523917317, 0.0559837893, 0.3338226676, 0.1700095981, 0.6316705346, -0.5284568667, 0.2029039413, 0.2665912807, 0.1523817778, -0.7235150933, -0.6359302998, -0.0808117911, -0.0685158297, 0.0353827998, 0.604631722, -0.2895967662, 0.1460068822, 0.2168091387, -0.1859350652, 0.1694919765, -0.3826033771, 0.0923468992, 0.5206918716, 0.2671132684, -0.6704161763, -0.6464229226, -0.7745103836, -0.4070240557, 0.1388754845, 0.2342521995, -0.2682787478, 0.1940487474, 0.3499650061, 1.1407865286, -0.484169364, -0.3656528294, 0.018867543, 0.5778672099, 0.2472603917, 0.3180807531, 0.673740685, -1.2479549646, -0.2924570739, -0.4901017249, -0.8579180241, -0.0096994843, -0.2127311379, -0.017963184, -0.0736585334, 0.7235218287, -0.2081233412, 0.8960883021, 0.3730146289, -0.4737525582, 0.3732175529, 0.3550006449, 0.6562922001, -0.8543522358, -0.3081580102, 0.3386529088, -0.2171764523, -0.449408859, -0.4058620334, -0.0052078916, -0.7137089968, -0.2893882394, 0.2253103256, -0.4520538747, -0.3847377598, -0.7197351456, 0.0644467771, 0.2595877349, 0.1046153754, 0.3147905469, 0.9330847859, 0.6087611914, -0.1475108713, 0.3766694367, 0.1832468361, -0.5505836606, 0.7160946131, -0.3488258421, -0.1985736787, -0.8461779356, 0.6265311837, -0.9082978368, -0.439196378, 0.2951179147, -0.5659291744, 0.1514791995, -0.1462015659, -0.078272298, -0.2039156258, -0.2523365021, 0.0985946655, -0.1319854707, 0.1207789108, 0.1486308277, 0.6959517598, -0.0529693291, -0.5544368625, -0.8124212623, 0.2202463746, -0.1604720205, -0.6355981827, 0.3921528757, -0.0307414941, -0.2872850299, 0.4208573997, -0.395182699, -0.5422390103, 0.0922832564, 0.3152239621, 0.2164443135, -0.4451738298, 0.5060123801, -0.0993816331, -0.3585621119, -0.0039510424, 0.4246307015, 0.2139511704, -0.0915359631, -0.1479369551, -0.6244448423, 0.8984175324, 0.6329881549, -0.424354583, 0.5899128318, 0.7229896784, -0.2991409004, 0.4696248174, -0.3403120935, -0.4845118523, -0.3311887383, 0.3304266036, -0.2724235952, -0.6821599603, 0.1568218023, 0.1746073961, 0.0176223945, 0.145452559, 0.3968751132, -0.0253595281, 0.9184194803, 0.6036634445, -0.1150220484, 0.9631988406, 0.1199154556, 0.2170914412, -0.4687517881, -0.0152020482, -0.1680975854, -0.5593866706, -0.0714624599, -0.3035998642, 0.3484783471, 0.3505030274, -0.1742835343, 0.5087196231, -0.5700637102, 0.7758313417, 0.3700493574, 0.324682951, 0.7174705267, -0.0532686561, 0.4596869349, 0.1476927847, -0.1524200439, -0.4504146278, 1.2696954012, 0.1284174025, 0.8217735291, -0.0315079801, 0.4324799478, 0.4373091757, 0.428964287, -0.9152081609, 0.2664251626, 0.0481574349, -1.0143589973, 0.0031239281, -0.0790295228, -0.9061040878, 0.2352613062, -0.6350629926, -0.3979261518, 0.2542014122, -0.0585624203, -0.589182198, 0.1125838086, -0.5487366915, 0.5718342066, -0.1770031452, 0.0086241774, -0.2917485833, -0.5635095835, 0.2583518326, -0.0437231809, 0.432597667, -0.7787451744, 0.0376399681, 0.5512637496, 0.1417072862, 0.4742023647, 0.2670277059, 0.1946012378, 0.2573617101, -0.4583608508, 0.1937784553, 0.2772783041, 0.2035111338, -0.0596495531, -0.1084174439, -0.2247925103, -0.3758745193, 0.2261240631, -0.2876657546, -0.6222954392, -0.5673314929, -0.7617402077, 0.0122230826, 0.2947793901, 0.6996396184, 0.7760664225, -0.0196102522, 0.4843326211, 0.7104970813, 0.3306153417, 0.9039945006, 0.4557656348, -0.248188749, -0.3258297741, 0.1776908934, 0.4115555286, -0.1183850616, 0.2785463929, 0.0577626713, -0.0015384188, -0.4703645706, -0.4017450213, -0.356859833, -0.4488379061, -0.3315031826, -0.2993879616, -0.2153791636, -0.2238653302, -0.3403052092, -0.4027991295, -0.1672522128, -0.3489569128, -0.1849338412, 0.3212927282, 0.4046992064, -0.1718556732, 0.4528721273, -1.0079245567, 0.6731448174, 0.3909326196, 0.4379616082, -0.5807847977, -0.2074624002, -0.2540806532, -0.1327409744, -0.6791323423, -1.5105311871, 0.0489309579, -0.049151957, 0.5935654044, 0.455562681, 0.3507903516, 0.1984636784, -0.5998812318, 0.6056523323, 0.4200047553, -0.6657562852, 0.7904481292, -0.4143934846, 0.1323711425, 0.4149138033, 0.635230422, -0.1096948981, -0.3906257451, -0.2609944642, -0.4260492325, 0.3233704865, 0.0236573946, 0.5029078722, -0.182682991, 0.0504692271, -0.2648853362, 0.144478634, -0.8113074303, -0.2288923264, -0.136188373, -0.0487792902, 0.1509420723, -0.3958814442, -0.58657372, 0.0028863889, 0.2804418802, -0.0768919885, 0.0951211229, 0.4008515775, -0.2940097451, -0.326891005, 0.3432379365, 0.6999642253, 0.9301002026, -0.2657167614, 0.316740334, -0.4111020863, -0.6163352728, 0.3871755898, 0.1034581363, -0.1695150584, 0.3122299314, 0.2127934396, 0.9177631736, 0.3653234541, -0.4508283138, 0.887090981, 0.0719755664, 0.0311594959, -0.1189816222, -0.0107704233, -0.253441602, 0.8604584336, 0.8815132976, 0.4663282931, 0.456853956, -0.8811787963, 0.745737493, 0.5177949071, -0.355186224, -0.2045432031, 0.6970824003, 0.3607358932, -0.1687784791, 0.1720777303, 0.0284753535, -0.2510923743, 0.6277035475, 0.6388016343, 0.558159709, 0.1255427152, 0.3114558756, 0.3739538789, 0.3803780377, -0.201132983, 0.0161558855, 0.0708772838, -0.9969334602, -0.3618194461, -0.2815322578, -0.3800557852, -0.0892512426, -0.8280225992, 0.2421017736, -0.4264204204, -0.847900033, 0.297465831, -0.1047148779, 0.0169811416, 0.1236820966, 0.842425406, 1.0263403654, -1.169880867, 0.7236179709, 0.5384160876, -0.3728137314, -0.3247058094, 0.2086355835, 0.5209786892, -0.3583177924, 0.4774464369, 0.5679529905, 0.0491750464, -0.130091995, -0.4618726969, -0.8035187721, 0.8887439966, 0.4777545631, 0.0097466204, 0.054281339, -0.3705000877, -0.2074432671, -0.6771042347, -0.012755448, 0.3865972459, 0.5597651601, 0.2674190998, -0.8239148259, -0.3242757916, -0.2748351991, -0.0550609604, 0.4901679158, -0.7271658182, 0.92172122, -0.2644089162, -0.396945864, -0.3605369925, 0.7316457629, 0.22172831, 0.8979876041, 0.1804586649, 0.641286552, 0.4554124177, -0.2800593674, 0.7399998307, -0.34812361, 0.3224371374, 1.0300837755, 0.1861619204, 0.7495145202, 0.2920745909, -0.0335878581, 0.4324092865, 0.5811299682, -0.1676750034, 0.6452397704, -0.2453283966, -0.21875076, -0.1605487466, -0.1176022962, -0.582367897, 0.7058024406, 0.2884209454, -0.5827261806, -0.8017376065, 0.6100311875, 0.3454499841, 0.1738886535, -0.4378030896, 0.5944214463, -0.0658092275, -0.2464145124, 0.0223430246, -0.0093765426, 0.6685256362, -0.4813842177, 0.0884564891, -0.2021104246, -0.2238366455, -0.1552618444, -1.2137051821, 1.0486859083, -0.1257793158, -0.7092426419, -0.405205816, 0.8154996634, -0.3891234398, -0.2089029551, 0.046070125, 0.0930424482, 0.0086706923, -0.4246838093, -0.5137324333, 0.5570811033, -0.3717979491, -0.5670782924, 0.3217390776, -0.0618225411, -0.0921194553, 0.1570670158, 0.6271912456, -0.1447070092, 0.1557878852, -0.6317374706, 0.8364388347, -0.6121504307, -0.3049808741, -0.6125365496, 0.5098712444, -0.4752271771, -0.5636170506, 0.5158576965, 0.6678189039, 0.5023071766, 0.1050262973, 0.4600041509, -0.2110407203, 0.130589366, -0.6068562269, 0.5745594501, -0.2174160182, -0.2948984504, 0.1152300611, -0.6907861829, -0.5328317285, 0.7410615087, -0.3832208216, -0.5040100217, 0.5931261778, 0.7800252438, 0.0401637889, 0.2903745472, 0.2994342148, -0.3760057092, -0.2444147766, 0.2981968522, 0.5400815606, -0.3725921512, 0.6678981781, -0.3220333457, -0.4923633337, -0.0655061826, -0.8424826264, -0.8546585441, -0.5988452435, -0.35320279, -0.1655800194, 0.1431949884, 0.6378732324, 1.0193301439, -0.6462737322, 0.1854193807, 0.1565071642, 0.3638189137, -0.1001936644, -0.2292464077, 0.3369714916, -0.4571917057, -0.7414221764, 0.5122953057, 0.5451495647, 0.0767493322, 0.1821116656, 0.456343472, -0.2014425993, 0.0614071228, 0.5770199895, 0.2163833827, -0.2983438373, -0.4537779689, -0.040278852, -0.4455818236, 0.3358252048, 1.046351552, -0.7189158201, 0.6135758162, 0.6592013836, 0.5685928464, 0.3536151052, 0.1732682735, 0.5556322932, -0.67141819, 0.6541752815, 0.0043046153, 0.2323940843, 0.1108996123, -0.4900006354, 0.3607519567, 0.4354872406, -0.4740816951, -0.5801935196, 0.4024398327, -1.0593146086, -0.3460103273, 0.8933666945, -0.1531778723, -0.1400060356, -0.2562349141, -0.23390387, 0.2021657974, -0.4120853245, 0.314226836, 0.8490956426, -0.1477605402, -0.8164415359, -0.7530750632, 0.325504154, -0.2652503848, -0.6148001552, -0.355016619, 0.7492762804, 0.0663089082, 0.2625201643, 0.6678221822, -0.1806828827, 0.3713608384, 0.1062649414, -0.4461709261, -0.2657375932, -0.3983869255, -0.046189554, 0.4640770257, -0.6177836061, -0.4717092812 ]
http://arxiv.org/abs/2406.17186v2
http://arxiv.org/pdf/2406.17186v2
CLERC: A Dataset for Legal Case Retrieval and Retrieval-Augmented Analysis Generation
2024-06-24T23:57:57
2024-06-27T15:55:57
Abe Bohan Hou, Orion Weller, Guanghui Qin, Eugene Yang, Dawn Lawrie, Nils Holzenberger, Andrew Blair-Stanek, Benjamin Van Durme
cs.CL
cs.CL, cs.CY
Legal professionals need to write analyses that rely on citations to relevant precedents, i.e., previous case decisions. Intelligent systems assisting legal professionals in writing such documents provide great benefits but are challenging to design. Such systems need to help locate, summarize, and reason over salient precedents in order to be useful. To enable systems for such tasks, we work with legal professionals to transform a large open-source legal corpus into a dataset supporting two important backbone tasks: information retrieval (IR) and retrieval-augmented generation (RAG). This dataset CLERC (Case Law Evaluation Retrieval Corpus), is constructed for training and evaluating models on their ability to (1) find corresponding citations for a given piece of legal analysis and to (2) compile the text of these citations (as well as previous context) into a cogent analysis that supports a reasoning goal. We benchmark state-of-the-art models on CLERC, showing that current approaches still struggle: GPT-4o generates analyses with the highest ROUGE F-scores but hallucinates the most, while zero-shot IR models only achieve 48.3% recall@1000.
[ -0.4112641513, -0.3726234138, 0.7661631107, -0.1644276381, -0.2879695594, -0.2243241966, -0.0946278423, -0.3780589104, 0.0275448449, 0.7375338674, -0.2315808982, -0.54678303, -0.4359367192, -0.0507070161, -0.7194603682, 1.1398723125, 0.1593462229, 0.1828591079, -0.3074586987, -0.5575001836, -0.7332769632, -0.9023607969, -0.306638658, -0.1365167499, 0.4656489491, 0.5284340382, 0.4342053533, 0.2337746769, 0.5754264593, 0.1348374039, 0.1549452245, -0.1640660912, -0.7419156432, 0.283352524, -0.4414677322, -0.1370110214, -0.4046544135, 0.0164748169, 0.1598149836, 0.4924608767, -0.3025869131, 0.3494303226, -0.4466593862, 0.8431155682, -0.9198331237, 0.0528015196, -0.884118855, 0.0263522845, -0.3322451711, -0.2795555592, -0.6856648326, -0.3942582905, 0.3360892534, -0.6262776256, 0.5959026217, 0.1554559022, 0.6765282154, 0.2700352669, -0.3726678789, -0.6578251123, -0.5890480876, 0.4807633758, -0.4816773534, 0.4070792198, -0.0055575268, 0.4054429233, -0.2945716977, -1.099247098, -0.4137272835, -0.3877838552, -0.1597198099, 0.3415470719, -0.0793934986, 0.0286167469, 0.4334075153, 0.1535083055, -0.5551232696, -0.2457794994, -0.5558745265, -0.2125023603, 0.6208788753, 0.0417472161, 0.0285274517, -0.0501148775, -0.1883162409, -0.1797596961, -0.6288061142, -0.1954803616, 0.4261116982, 0.2461040318, 0.3440470994, 0.5104355812, -0.0074380925, 0.7466062903, 0.0665154681, 0.2483252436, 0.0586879067, -0.2362312526, -0.0927478224, 0.4092133045, 0.5352153778, 0.2893823981, 0.2259356081, -0.026507495, -0.3119860888, -0.267249465, 0.475603044, -0.7673823833, -0.2747383416, 0.4006418288, -0.4761378467, -0.0922548026, 0.5282557607, -0.7787642479, -0.4806005359, -0.626760006, 0.0069436664, -0.2144892663, 0.0371370204, 0.1885519326, -0.5051501393, 0.2414770424, 0.2540585101, -0.3930410147, 0.4273103178, 0.5633292794, 0.5827146769, -0.0154067492, 0.1100626886, -0.871280849, 0.1691855937, -0.2610008419, 0.8220717311, -0.7323873639, -0.5488751531, 0.1257264167, -0.1041027531, 0.0187640898, -0.6336948872, 0.8382688165, -0.7444929481, -0.058091972, -0.3737131357, -0.5601513982, -0.0052589229, 0.1317014992, -0.9280326366, 0.6848573685, 0.1753407866, -0.9363204241, 0.6791789532, -0.7352677584, -0.5358042717, 0.2735489905, -0.3305517435, -0.4857615232, 0.1598732322, 0.0388310403, 0.2960897386, -0.3341457844, 0.5807844996, -0.2743674815, -0.3554979265, -0.0577211641, 0.1646387428, 0.5932878852, 0.4817315042, -0.2089444548, 0.1135490313, -0.5841602683, -0.0658006668, 0.0932904929, -0.1948718876, -0.3439231515, 0.0045852596, -0.3118455708, 0.2200610191, 0.1599175483, -0.335963726, -0.0132419318, -0.0171927456, 0.3268525898, 0.5092571974, 0.2124765217, 0.3131860495, -0.2607560158, 0.4332670569, -0.1476128846, 0.0165281016, -0.016773792, -0.2080546767, -0.6921460629, -0.0762028173, 0.6345357895, 0.5292077065, -0.5594575405, 0.2347390354, -0.5079953074, -0.3194324672, -0.4067460001, -0.1820862591, 0.2188334465, 0.4701734185, 0.5041023493, -0.2521724999, -0.8826107979, -0.892854929, -0.582401216, -0.0154454773, 0.2133500725, 0.4253916442, 0.8749561906, -0.0446877852, 0.985927999, -0.1521694809, -0.2200800031, -0.3522017896, 0.2628501952, 0.3871733248, 0.2186685652, 0.4407498837, -0.9361268878, -0.4699903131, 0.0407358706, -0.7457039952, -0.1604888439, -0.4000680745, -0.1906693727, 0.0207327548, 0.6777323484, -0.3246595562, 0.7649862766, -0.256778568, -0.3137521148, 0.7824365497, -0.2379605472, 0.2825654149, -0.5305121541, 0.6174730659, -0.0632292181, -0.3281591237, -0.6570750475, 0.1219832078, -0.0697040856, 0.0128353834, -0.3067831695, 0.5859423876, -0.494756043, -0.3000593185, -0.2090593427, 0.2588109374, 0.0508969203, 0.2507740855, 0.0275498983, 0.6624245644, -0.0608796887, -0.5337289572, 0.1333166063, 0.3236804008, -0.3138961196, 0.7046958804, -0.5592756271, 0.319821775, -0.0451795831, 0.227401793, 0.0095818825, -0.4548866451, 0.075538516, -0.1264441013, 0.238099888, -0.4633052945, -0.6321187019, -0.5549610853, -0.1306046098, 0.3033211529, 0.1962639987, -0.6055149436, 0.5859702229, 0.5615732074, -0.0511740074, -0.7729178667, -0.3193065524, 0.0023821634, -0.1396696121, -0.2887804806, 0.3734893799, 0.0621902347, -0.5068127513, 0.1062847748, -0.0908452347, -0.0200157259, -0.1294952929, 0.3117823005, 0.1545976847, -0.0094123548, 0.206496194, 0.004077571, 0.1210425198, 0.0296186544, -0.2690551579, 0.5225176215, -0.2124363929, -0.3756957054, -0.0884397775, 0.3516727984, 0.5367250443, -0.28742823, 0.2749316692, -0.0239888784, -0.1007321328, -0.1617667675, -0.7288877964, 0.0418306254, -0.362913698, 0.0197527371, -0.5737445354, -0.8543604612, 0.4794947207, -0.004887071, 0.2438421845, 0.5980429649, 0.6196030974, 0.1537923366, 0.5092997551, 0.2632287741, -0.1235249043, 0.4224674404, -0.1668176055, 0.2272899449, -0.576814115, -0.1802870482, -0.4911657572, -0.0198032279, -0.1997834444, -0.2169640064, 0.481195569, 0.0267250668, -0.4494578242, 0.2967936397, -0.6411647797, 0.5451495051, 0.7926080823, 0.0350405648, 0.3719884753, -0.0856985599, -0.3038158715, 0.4173421562, -0.6233753562, -0.4336859584, 1.2662787437, -0.0017731261, 0.2667243481, -0.0314138308, 0.7441507578, 0.6122190356, 0.2669760287, -0.5857858658, 0.634614706, -0.3084250093, -0.8894332647, 0.0487946011, -0.2563830614, -0.8807974458, 0.10485401, -0.2614783943, -0.5400878191, 0.4785082936, 0.0766198114, -0.4930279851, 0.0697408915, -0.5104062557, 0.7052260637, -0.1436911523, -0.7131108642, -0.2425555289, -0.8120328784, 0.4261395335, -0.0001068405, 0.1738476455, 0.1083003506, 0.433034271, 0.5737109184, -0.7144477367, 0.3972309828, -0.3953677416, 0.3199580014, 0.956351757, 0.2087450624, 0.5781925917, 0.124368377, -0.2922668755, -0.2529534698, 0.3272530735, -0.2046841681, -0.5242549777, 0.5533802509, -0.2068766952, -0.682098031, -0.6259579659, -0.5473331809, 0.1539756656, 0.2391323596, 0.0734648257, 0.4154067636, -0.3629513979, 0.208251521, 0.4349955618, 0.1482260823, 0.1254150867, 0.5991410017, 0.099506557, -0.3456785679, 0.7894553542, 0.2259686738, -0.3319827318, 0.0537142232, 0.0468656905, -0.2539044619, -0.6400337815, -0.2303501815, 0.1356471926, -0.8733133674, -0.2515401244, -0.4601167738, -0.2307955027, -0.4065565169, -0.0872294605, -0.2015478462, -0.3427511752, -0.1750442088, -0.079446964, 0.3363499045, 0.7159216404, -0.0705935955, -0.0102187581, -0.6693477631, 0.1748226285, 0.058705911, 0.2857385278, -0.2687178552, -0.509762466, -0.1400909275, -0.285994947, -0.2131883204, -0.5883693695, 0.3342831433, 0.0070874859, 0.5348002315, 0.0824017897, 0.237390399, 0.6707668304, -0.6282538176, 0.5152670741, 0.0148172202, -0.7461942434, 0.6979777813, -0.2465494573, -0.0906092525, 1.0673794746, 0.2239251137, -0.2469187826, -0.0229992364, -0.8251448274, -0.7344976664, 0.5700873137, 0.26902017, -0.3231751323, 0.0116749657, 0.8879826665, 0.2625996768, 0.2220540643, -0.3806970716, 0.2921414673, -0.3171860874, -0.4053612649, 0.4804287553, -0.1590233594, -0.3058593273, -0.2763112783, 0.64998281, -0.1844444126, 0.0857918039, 0.4926328957, -0.2786913216, 0.3626440465, 0.2315245271, 0.5636270046, 0.6215472817, -0.3128146529, 0.0946402848, 0.1131480932, -0.4096540809, -0.1319879144, 0.1963227689, -0.0805413947, -0.0082014473, 0.29003793, 0.6304581165, 0.0144751845, -0.9409177303, 0.5723572969, -0.2197615355, -0.3795442581, -0.7388967872, 0.1417099237, -0.291094631, 0.2681157887, 0.3058658838, 0.0482680239, 0.4862971008, -0.5638226271, 0.5802870393, 0.3307163417, -0.3836927414, -0.0520559773, 0.6473574638, 0.2049638778, 0.1106797457, 0.6077691317, -0.2123005986, -0.3531751037, 0.5879470706, 0.1845707893, 0.5821462274, 0.3246845007, -0.0061104465, 0.6424479485, -0.1072234064, -0.5110016465, 0.2170637548, -0.0606750734, -0.3612526655, -0.0730263516, -0.4198379219, -0.3935574591, 0.0647970363, -0.7528300881, 0.4995512962, -0.2935838699, -0.2502463162, -0.1701491624, -0.0629582107, -0.7185879946, 0.0207729284, -0.1958876699, 0.868424356, -0.4198575318, 0.763902545, 0.2272271514, -0.6380446553, -0.4115773439, -0.1802058816, -0.0962437466, -0.3308400512, 0.7564026713, 0.0835416317, -0.1411965042, 0.0114844143, -0.803968966, -0.4878762662, 1.2795091867, 0.3000295758, -0.7882055044, -0.0694629475, 0.1187404692, 0.6838356853, -0.6845273376, 0.2624521255, 1.0967081785, 0.4906665683, 0.253485322, -0.6160524487, 0.0406889319, -0.3301669657, -0.2337399721, 0.0529157557, -0.3998425901, 0.5779302716, -0.3540665209, -0.4460635483, 0.1575219184, 0.4372731149, 0.5504202247, 0.5169161558, 0.3489578366, 0.5991539359, 0.8762817383, -0.1384850591, 1.2748775482, -0.5266575217, 0.2578267753, 1.664005518, -0.4764745235, 0.8063480854, 0.4988589585, 0.2572344542, 0.6365573406, 0.2677533329, -0.3126186132, 0.4599558711, 0.3532024622, -0.2002850324, -0.3198598027, -0.2178061306, -0.0431081876, 0.1103148684, 0.4817698002, -0.4819531143, -0.0719982162, -0.3037980199, -0.1385250688, 0.2437109351, -0.2318813205, 0.809134841, 0.0358127169, -0.8252444863, 0.1953568161, -0.397195667, -0.0098297978, -0.2392378002, -0.2976010442, -0.2011090368, 0.1567877382, -0.2721068561, -0.8635732532, 0.2659889162, 0.1554698497, -0.266058594, 0.1063705161, 0.867685318, -0.0873102769, -0.2963860035, 0.4017779529, 0.4055552781, 0.2737460732, 0.0412696935, -0.7198938727, -0.0525238439, -0.1141694188, -0.1348881871, 0.0852494463, 0.3516677916, -0.3357714415, 0.5613864064, 0.5995842218, 0.0402017087, 0.120502919, 0.4963837266, 0.9824541807, -0.6333121657, -0.1025157198, -0.5514656901, 0.6502639651, -0.5217749476, -0.13069354, 0.1308009028, 0.732722044, 0.6659581661, -0.0561385863, 0.9476274848, -0.3236646652, 0.703969419, -0.628133893, 0.4596470296, -0.2535913587, 0.3493300676, 0.1257947534, -0.6775020361, -0.3777395785, 0.3771594465, -0.4261851609, -0.1039606035, 0.6186353564, 0.6730853319, -0.0714435205, 0.0299529396, 0.1796805412, 0.013319239, 0.4935237765, 0.4123503864, 0.7233097553, -0.4687740505, 0.6480789185, 0.0272870176, 0.0418773219, -0.4798498452, -0.7405134439, -0.9804129004, -0.4451099336, -0.0937523097, -0.3553812504, 0.2908707559, 0.786775589, 0.4747151136, -1.0717988014, -0.2213308215, -0.5086944103, -0.0582602359, 0.1537971944, -0.2059051394, 0.4358905554, -0.5891028047, -0.4418926537, 0.393825978, 0.1035906523, -0.2328836769, 0.1127774715, -0.0511817038, -0.3913661838, 0.0625802055, 0.4034699798, 0.4941571355, -0.5990140438, -0.5777354836, -0.133469522, -0.0612916127, 0.2297612727, 1.3853110075, -0.80414325, 0.7198165655, 0.519841969, 0.4335507154, 0.6387596726, 0.243900463, 0.7901164293, -0.6490296125, 0.1508788764, 0.4674069285, 0.6254523396, 0.0895491764, -0.1027421877, 0.8915241361, 0.1934634745, -0.7925055623, -0.7394387126, -0.0220115203, -0.8086692095, -0.4819509685, 0.86577636, -0.0773305893, -0.2202288508, -0.3493022919, -0.2398876846, 0.3058029115, -0.5267385244, 0.5898852348, 0.6471507549, -0.2252312005, 0.032195881, -0.9037377834, 0.4956127107, 0.0653847605, -0.6560639143, 0.1103866771, 0.7287661433, 0.2963915467, 0.349153012, 0.5478239655, -0.3147631884, 0.4032048583, 0.0006051192, 0.3589285612, 0.0444188192, -0.4437516332, -0.1523594111, 0.4365501106, -0.1898178458, 0.3416640162 ]
http://arxiv.org/abs/2406.17185v1
http://arxiv.org/pdf/2406.17185v1
Vaporetto: Efficient Japanese Tokenization Based on Improved Pointwise Linear Classification
2024-06-24T23:47:20
2024-06-24T23:47:20
Koichi Akabe, Shunsuke Kanda, Yusuke Oda, Shinsuke Mori
cs.CL
cs.CL
This paper proposes an approach to improve the runtime efficiency of Japanese tokenization based on the pointwise linear classification (PLC) framework, which formulates the whole tokenization process as a sequence of linear classification problems. Our approach optimizes tokenization by leveraging the characteristics of the PLC framework and the task definition. Our approach involves (1) composing multiple classifications into array-based operations, (2) efficient feature lookup with memory-optimized automata, and (3) three orthogonal pre-processing methods for reducing actual score calculation. Thus, our approach makes the tokenization speed 5.7 times faster than the current approach based on the same model without decreasing tokenization accuracy. Our implementation is available at https://github.com/daac-tools/vaporetto under the MIT or Apache-2.0 license.
[ -0.2316069603, -0.3731926382, 0.4224423766, 0.1288167089, -0.5315132737, 0.1116066948, -0.057678733, -0.40481776, 0.2496346384, 0.2694624364, -0.1215761453, -0.5763511658, -0.5781239271, -0.3559113443, -0.3450412452, 0.6105194688, -0.2790131271, 0.2566766143, 0.2476943582, -0.0821234062, -0.4339361787, -0.7914245725, -0.8912772536, -0.0112299928, 0.3945941031, 0.3726020455, 0.3976371884, 0.8210788965, 0.5711377859, 0.3779300451, 0.0191248879, -0.1644156724, -0.5450388789, 0.0545896292, 0.0872822031, -0.6199628115, -0.4921919107, -0.445012778, 0.4318865836, 0.3706045747, -0.1070443019, 0.2269029468, 0.0021942616, 0.2492970526, -1.0772885084, 0.132197991, -0.517450273, 0.1924440712, -0.3282805681, -0.4169275761, -0.3202948868, -0.594481349, -0.2527730465, -0.7834217548, 0.1275051981, -0.011557674, 0.6834538579, -0.0243893825, -0.2671581209, -0.0725916773, -0.6444464326, 0.6453070641, -0.7375975251, 0.1889731139, -0.1375500262, 0.57616359, 0.0472972766, -1.028090477, -0.4385690689, 0.1170616969, 0.174360618, -0.0888226032, -0.145742476, 0.4902060926, 0.361805886, 0.1416761577, -0.4262019992, 0.4623228312, -0.3196643889, -0.3552114666, 0.3154891431, 0.3098894358, 0.3284589946, -0.5160660744, -0.5636513829, -0.1140183806, -0.5864227414, 0.4076725543, 0.3103130162, 0.3143310249, 0.3095625043, 0.2882348001, -0.2590737641, 0.6777918935, -0.0201428011, -0.3613350987, 0.2830325663, -0.3959662318, -0.0836065859, 0.313213557, 0.7965250015, 0.5010746717, -0.0568413921, 0.1934069991, -0.2588166893, -0.2946299613, 0.1846531779, -1.2908657789, -0.2606035769, 0.1088306457, -0.8984122872, -0.4038033783, 0.507586658, -0.6914432049, -0.0780192018, -0.1375340521, 0.5144764185, -0.6452528238, -0.1415694356, -0.1187956259, -0.5260409117, 0.2392600179, 0.4264658093, -0.7726628184, 0.2291971743, 1.2089099884, 1.3081852198, -0.232220158, -0.1387715936, -0.3836417794, 0.3051399291, -0.2783117294, 0.6207427979, -0.4011884928, -0.7984665632, -0.3338390291, -0.4548900127, 0.0778667182, -0.3900974989, 0.1941695809, -0.0224646851, 0.1598491669, -0.3157387376, -0.4746236801, -0.2931302488, 0.0703138635, -0.3687051833, 1.0880081654, 0.1371845603, -0.6409047246, 0.5445910692, -0.7193850279, -0.3273382187, 0.3661513031, -0.0159282349, -0.1243641675, 0.3469679058, 0.261407882, 0.4272740483, -0.1125336066, 0.5156276226, -0.243009761, -0.8289115429, 0.0126252705, -0.5824933648, 0.8865767717, 0.2340348959, -0.7104170322, 0.2612810433, -0.9342640638, 0.4015919864, -0.380548507, 0.0284033064, -0.525223732, 0.0181234982, 0.1353773922, 0.0993878096, 0.557646811, -0.3196111321, 0.4002546668, -0.6193172932, 0.3034850061, 1.0115013123, 0.1778972894, 0.1519914865, 0.1187841743, 0.7367378473, -0.0375389121, 0.7682372928, -0.191254884, -0.5343059897, -1.1734435558, -0.4819414914, 0.3085274398, 0.4811411798, -0.922670722, 0.86122787, -0.1691459268, -0.8252661228, -0.2054014951, -0.2859305441, 0.5418865681, 0.6478427649, 0.2509468198, -0.6760892272, -0.7092093825, -0.8941125274, -0.0986530036, -0.3535319567, 0.0162902158, 0.0488266349, 0.2682080865, -0.0490280241, 0.7194988132, -0.6343415976, 0.1182416528, 0.0314186662, 0.384368062, 0.3876378238, 0.7187922597, 0.7486075759, -0.4402891397, -0.6250975728, 0.2122715563, -0.4480423629, -0.1207182854, 0.0786996558, -0.2354488373, -0.0629324391, 0.3823741674, -0.1520220935, 0.7802810073, -0.0044443263, -0.2441551983, 0.1892743558, -0.1926948577, 0.4933810234, -1.1279972792, 0.4150299132, -0.3483480811, -0.3475316167, -0.7225568295, -0.0022442227, -0.0169772748, -0.2842674255, -0.5248803496, 0.118309997, -0.2076674402, -0.0760959759, -0.418408215, 0.0211466756, -0.0807310715, 0.5117205381, -0.1125434786, 0.8077515364, 0.8104290366, -0.7263745666, 0.4202114344, -0.3338628113, -0.2323207259, 0.8392552137, -0.5784521699, 0.0807913765, -0.1877135485, 0.1301695406, -0.7665649652, 0.2810561359, 0.4305794239, -0.3289276659, 0.097177282, 0.0266480651, -0.1266672611, -0.4726216495, -0.7495406866, 0.3649018109, 0.451377064, -0.6785151362, 0.5716324449, 0.3015457094, 0.0557630435, -0.6612862945, -0.4507531524, -0.0200456437, -0.3116202652, 0.0389751904, 0.4644297659, 0.1986041814, 0.1186951101, -0.1565457135, -0.1658467501, -0.1966089755, 0.2077046633, 0.2573970854, 0.2580692172, -0.1211587116, 0.0976605266, 0.1986906081, -0.5569190383, -0.2494000047, -0.6099749207, 0.7553742528, 0.0994559228, -0.1860103458, -0.9416716099, 0.2163447738, 0.4240692854, 0.0382166356, 0.6342929602, 0.6305016875, -0.3444957137, -0.2475785166, -0.2351355255, 0.1877503842, -0.5528952479, 0.5487665534, -0.6731106043, -0.5642613173, 0.4811464548, -0.0021717385, -0.1136636809, 0.5069932938, 0.4457209408, 0.2105123401, 1.0829485655, 0.5054388642, -0.2997453809, 0.7891284227, -0.4981062114, 0.4874997139, -0.6785440445, -0.5553301573, -0.9519206882, -0.3730925322, -0.5528947711, -0.5678533316, 0.5323286057, 0.3482113183, -0.381714344, 0.6031842828, -0.8600537777, 0.5053489804, 0.5736815333, -0.0120666716, 0.1103350669, -0.4481015801, -0.0815724432, 0.0012200275, -0.9073988795, -0.2648155093, 1.1560336351, 0.1927361935, 0.4664695263, 0.0960340798, 0.9125598073, 0.1260147393, 0.253156513, -0.9236884713, 0.6596086025, -0.1559548378, -0.2223958075, -0.0858863145, -0.5364521742, -0.758279264, 0.3212543726, 0.0186477751, -0.8654619455, 0.3471518159, 0.1701388061, -0.1710003465, 0.3459480703, -0.5877223611, 0.8931165338, -0.7877141237, 0.0623071827, -0.2856110334, -0.1393673271, 0.3174006343, -0.0967891216, 0.0220839195, 0.0082940431, -0.4824308753, 1.0623660088, -1.2190573215, 0.6307182908, -0.9640848041, 0.1556272954, 0.1659892201, -0.1070298478, 0.2836304605, -0.0016488446, -0.1331769377, 0.2379728258, 0.2644792795, -0.3509055674, -0.9447104335, 0.7364723682, -0.8376551867, -0.3407753408, -0.4464995563, 0.1275823563, -0.0267675575, 0.4919043183, 0.5926440358, 0.5488981009, -0.1820914447, 0.0503124148, 0.1186923981, 0.0867326409, 0.5442372561, 0.2422665805, -0.5380179286, -0.699770689, 0.9958266616, 0.3295091987, -0.1484542489, 0.5569837689, 0.2482304275, -0.2860561609, -0.9029178023, -0.2460281402, -0.2644023597, -0.8130981326, -0.5066777468, -0.222317338, 0.0121519575, -0.4940930009, -0.2935661972, -0.5192641616, -0.7955537438, -0.4737698138, 0.0373148024, 0.2658485472, 0.6292713284, 0.2054751366, 0.7161235809, -0.5298385024, 0.3579359651, 0.1218750924, 0.5395405293, 0.3012471199, -0.3560684919, -0.2470098585, -0.1849521846, -0.1908304095, -0.7880545259, 0.1627535224, 0.1732751578, 0.6966608167, 0.7236696482, -0.159941107, 1.3326519728, -0.2637884915, 0.8421929479, 0.7180587053, -1.6257115602, 0.7034467459, 0.1114739999, 0.0750263259, 1.0590715408, 0.5935656428, -0.5548685789, -0.0933606997, -0.5223745108, -1.1519397497, 0.4965346456, -0.1248026416, -0.0467909724, 0.1643065661, 0.5635172129, 0.1457803994, 0.3815213144, -0.4525854886, -0.2064648122, -0.5572267771, -0.3715147376, -0.0579145625, -0.1381976306, 0.4448378682, -0.6190823317, 0.7847779989, -0.2285975665, 0.1542354375, -0.0396657474, 0.0934567526, 0.2019566745, -0.2389134467, 0.3583367467, 0.755186379, -0.0089346012, -0.1054260656, 0.1191010922, -0.4558650255, 0.3452472091, -0.1920695603, -0.4939249158, 0.0100474786, 0.286950469, 1.2120945454, 0.3777706027, -0.5104294419, 0.7398647666, -0.1727656722, -0.0693450719, -0.2916828096, 0.5574494004, -0.4373878837, -0.0170938913, 0.1739629656, 0.1015664116, 0.5709993243, -0.4804115593, 0.1265594512, 0.4056348205, -0.2737208009, -0.0162449535, 0.5846797228, 0.4335951507, -0.6338061094, 0.3888424039, 0.0050178254, -0.7094696164, 0.4893357456, 0.4449493289, 1.1338287592, -0.353203088, 0.1107410342, 0.5797311068, -0.0450957753, -0.103674233, 0.1690547913, -0.4915452302, -0.4428525567, -0.1675545871, -0.5245093703, -0.6340245008, -0.3644037247, -0.7156150937, 0.5875229836, -1.0666632652, -0.2973871827, -0.2168373466, -0.1061443165, -0.2424608767, 0.0012858917, -0.0900187641, 0.8685349226, -0.5313808918, 1.088263154, 0.0629593283, -0.1228441745, -0.9182989597, -0.0596189611, -0.2225630879, -0.5901835561, 0.5349289179, 0.4336760342, -0.3674860597, -0.0897926539, -0.0651146844, -0.9578804374, 1.2666628361, 0.1572207808, -0.8979073167, 0.0414841175, -0.0085955048, 0.5885618329, -0.2793108523, 0.4887940288, 0.662507534, 0.5567714572, 0.0680449232, -0.8763088584, -0.1806024462, -0.491538614, 0.6697114706, 0.3816518784, -0.704102695, 0.6969975233, 0.4550777972, -0.041951783, 0.2320388556, 0.6042455435, 0.0796230882, 0.1892013997, 0.4487770498, 0.4831860065, 1.2195856571, -0.2125725746, 0.7859940529, -0.56254071, 0.5049760938, 0.6898002028, -0.1924929917, 0.9557892084, 0.4668267071, -0.2905869782, 0.724502027, 0.3167667091, -0.0489926189, 0.2905223668, 0.3601083457, -0.2024143189, 0.1594808698, 0.1469960511, -0.2895369232, 0.9481265545, 0.0127491588, -0.1500033587, 0.0867865682, 0.3728174269, 0.1988537461, -0.03451626, -0.7476231456, 0.7110773325, -0.3097288907, -0.6611056924, 0.8035875559, 0.4535695016, 1.0733237267, -0.7986623645, 0.2083930224, 0.0838799551, 0.1803174317, -0.1907168329, -0.3043168485, 0.2315347791, 0.2916971445, 0.1545042992, -0.3057173491, 0.6390487552, -0.0221007895, -0.6503516436, 0.1276318729, -0.06520731, 0.1042501926, 0.2165404111, -0.7662975192, 0.1938299686, 0.0726052895, -0.2277340889, 0.0172182433, 0.1771710813, -0.0308607351, 0.5057162642, 0.572480619, 0.3474902511, 0.0891873837, 0.1136608124, 0.7271517515, -0.8933845758, -0.9026350975, -0.9146455526, 0.3463504314, -0.4376936257, -0.422322154, 0.8305177093, 0.9463879466, 0.6446979642, 0.101090543, 0.7907348871, -0.2084764987, 0.2536291778, -0.7325536013, 0.5112145543, -0.3346261382, 0.2466554791, -0.2860921323, -0.9422875643, -0.4891982973, 0.6706390977, -0.1924509108, 0.2867948711, 0.7173938751, 0.7309191823, 0.1168274954, -0.2499942929, 0.131635502, -0.064415589, 0.7244702578, 0.9283074737, 0.5194931626, -0.4910369217, 0.2080328315, -0.6356087327, -0.3451767862, -0.302531302, -0.9330796003, -0.5952964425, -0.3919475377, -0.2279356122, -0.1276813298, -0.1309236437, 0.7570794225, 0.7600254416, -0.964206636, -0.3827335238, -0.3352683187, 0.0819311813, -0.0752120838, -0.2843771875, 0.4182348847, -0.3317681253, -0.8659390211, 0.2008562833, 0.6549690366, -0.155559212, -0.4024500847, -0.184650898, 0.2597759664, -0.087198548, 0.3682080805, 0.1859840006, -0.3931106925, -0.5244899392, -0.3959391415, 0.130720824, 0.2697837353, 1.295150876, -0.7996656895, 0.6079381704, 0.7793343067, 0.2035609633, 0.766254127, 0.1796642691, 0.4846951962, -0.4067590535, 0.6536586285, 0.2666707337, 0.3961695731, 0.0832277238, -0.3662877083, 0.1197168231, 0.5486671329, -0.1034587994, -0.6921592951, 0.0405219421, -1.0249190331, -0.4594556987, 0.5933932662, -0.2638454437, -0.6005911827, -0.0387972146, -0.3972357512, 0.2311176509, -0.1018484384, 0.4583549201, 0.2406714559, -0.2881154418, -0.0398837179, 0.0611447804, 0.3356380761, 0.0465148538, -0.863512516, -0.1903342009, 0.3399251699, 0.2801243067, 0.1074803621, 0.9790843725, -0.117045261, 0.3938087821, 0.0627990887, 0.2692767978, -0.2642713785, -0.4336952567, -0.515550375, 0.4411054552, 0.37252599, -0.2571464181 ]
http://arxiv.org/abs/2406.17169v1
http://arxiv.org/pdf/2406.17169v1
Multi-LogiEval: Towards Evaluating Multi-Step Logical Reasoning Ability of Large Language Models
2024-06-24T23:02:56
2024-06-24T23:02:56
Nisarg Patel, Mohith Kulkarni, Mihir Parmar, Aashna Budhiraja, Mutsumi Nakamura, Neeraj Varshney, Chitta Baral
cs.CL
cs.CL, cs.AI
As Large Language Models (LLMs) continue to exhibit remarkable performance in natural language understanding tasks, there is a crucial need to measure their ability for human-like multi-step logical reasoning. Existing logical reasoning evaluation benchmarks often focus primarily on simplistic single-step or multi-step reasoning with a limited set of inference rules. Furthermore, the lack of datasets for evaluating non-monotonic reasoning represents a crucial gap since it aligns more closely with human-like reasoning. To address these limitations, we propose Multi-LogiEval, a comprehensive evaluation dataset encompassing multi-step logical reasoning with various inference rules and depths. Multi-LogiEval covers three logic types--propositional, first-order, and non-monotonic--consisting of more than 30 inference rules and more than 60 of their combinations with various depths. Leveraging this dataset, we conduct evaluations on a range of LLMs including GPT-4, ChatGPT, Gemini-Pro, Yi, Orca, and Mistral, employing a zero-shot chain-of-thought. Experimental results show that there is a significant drop in the performance of LLMs as the reasoning steps/depth increases (average accuracy of ~68% at depth-1 to ~43% at depth-5). We further conduct a thorough investigation of reasoning chains generated by LLMs which reveals several important findings. We believe that Multi-LogiEval facilitates future research for evaluating and enhancing the logical reasoning ability of LLMs. Data is available at https://github.com/Mihir3009/Multi-LogiEval.
[ -0.3429858983, -0.8251213431, 0.6384547353, 0.2784062326, -0.2689681053, 0.0942905024, -0.1901396215, -0.3995067775, -0.1271924227, 0.5381228924, -0.5782901645, -0.7055991888, -0.5995634198, 0.1285091788, -0.2819342017, 0.9094436765, 0.142903015, 0.1037546396, -0.2772643864, -0.3895508051, -0.5910328627, -0.428153336, -0.6342505217, -0.4059358239, 0.4951097667, 0.3811357617, 0.5859256983, 0.0579277091, 0.3295490146, 0.2693042159, -0.2014352977, 0.2739415467, -0.33100757, 0.0656732768, -0.1478970051, -0.4897319674, -0.5670961738, -0.1051191539, 0.8975008726, 0.4489757419, -0.1814168692, 0.2813488543, -0.1991929263, 0.82700634, -0.6522477269, 0.2380625904, -0.6714570522, 0.0160838999, -0.0324511118, -0.0484882817, -0.6424732804, -0.4043040276, -0.0112126982, -0.3000942469, -0.0837062374, 0.0743570253, 0.3342144787, 0.1415764689, -0.781281352, -0.2323643714, -0.4365030825, 0.8841903806, -0.7919801474, 0.6771786213, 0.0136686759, 0.220861882, -0.2440179884, -0.4661362767, -0.4747108519, -0.4205488265, -0.2169153243, 0.0130289979, -0.0305586029, 0.1487784833, 0.4069282413, 0.2518261075, -0.7009706497, -0.0714365393, -0.1097443178, -0.2275671661, 0.7018944025, 0.3658151031, 0.0697659031, -0.1176134348, -0.4505178034, -0.2152134925, -0.5020653009, 0.3354634941, 0.2587149143, 0.2610065341, 0.1778207272, 0.4846235812, -0.2257472575, 1.0833183527, -0.3422835767, -0.7257378101, 0.411344409, -0.7536215782, -0.338984549, 0.0965029374, 0.7172050476, 0.2113123387, 0.2883259356, 0.1683746576, -0.2734043896, 0.1865773648, -0.0872100443, -0.7806369662, -0.1123909056, 0.218480885, -0.3388758004, -0.0712459162, -0.1796047986, -0.9118179679, -0.4868945479, -0.2309701294, 0.5649535656, -0.5324019194, -0.2587560415, 0.6812110543, -0.1545609981, 0.2953318059, 0.6223755479, -0.55426687, 0.4473816752, 0.6303635836, 0.5720584393, 0.1827858686, -0.590212822, -0.7973120809, -0.1302070618, -0.3633772731, 0.9409762621, -0.8052151203, -0.124293223, -0.3466754258, -0.1883555055, -0.3524116576, -0.416824311, 0.931429565, -0.4924590588, -0.0489794798, 0.0291081332, -0.6159417033, -0.4069296718, 0.41173473, -0.755300045, 0.8341593742, -0.3326611817, -0.7079093456, 0.5138878822, -0.7777515054, -0.7522186637, -0.0609761477, -0.289180696, -0.2205171734, 0.1171003655, 0.3858615756, 0.2888964117, -0.615445137, 0.1870565861, -0.4093095064, -0.2475356609, 0.0880217403, -0.7206693292, 0.9167137146, -0.0924758166, -0.2481592894, 0.0843251199, -0.8700663447, 0.2039681971, -0.0945205241, -0.4214705229, -0.3747848272, -0.0366907641, -0.4155115187, 0.4876408875, 0.1059784293, -0.4712663293, 0.2733100951, -0.1548843235, 0.2192746252, 0.661861062, 0.1935947239, -0.0189974103, -0.0948723406, 0.454192251, 0.1622845531, 0.3728176951, -0.4565366209, -0.7463728786, -0.6964511871, -0.6064684391, 0.2011757493, 0.6896197796, -0.4013159871, 0.264108181, -0.0837897211, -0.5041450262, -0.5296325088, 0.3035807312, 0.4860984385, 0.4113897979, 0.489176333, -0.2168227732, -0.1308821291, -0.9132440686, -0.5241482854, -0.4024930298, 0.062177293, 0.1956321299, 0.6005134583, -0.1909965277, 0.4675156772, -0.3252739608, 0.0590655282, 0.0142551521, 0.423843801, 0.6097458005, 0.1366118044, -0.0471221246, -0.5253484249, 0.0041910443, -0.0232478771, -0.7193830013, 0.1949374676, -0.3057198524, -0.1829526275, 0.2034257352, 0.1334720999, -1.0631732941, 0.5175917149, 0.45160079, -0.6142117977, 0.7602021694, -0.1194892377, 0.4683072269, -0.5197776556, -0.0655938908, 0.2108671069, -0.2183685303, -0.659968853, 0.1077237427, 0.1130582839, 0.2454056591, -0.2766207755, 0.5589148998, -0.4049275815, -0.1222392172, 0.1797687113, 0.3025497198, 0.3168561161, 0.3454224169, 0.1234678701, 0.3930248618, 0.6379137039, -0.5919007659, 0.5803975463, 0.1776880324, -0.8134770989, 0.614054203, -0.4392664731, 0.2665602565, -0.1483350396, 0.4495589137, -1.0782608986, 0.1633815914, 0.0660372153, -0.2171039283, 0.0331110843, -0.1633933634, -0.8826654553, -0.3152052164, -0.2992240787, 0.4717293978, 0.195233196, -0.4586339295, 0.7321448326, 0.0697507933, -0.0898654982, -0.7182592154, -0.4608395696, 0.2052609324, -0.3055109978, -0.9308668375, -0.1783971936, -0.2561046183, -0.4404129088, -0.0721800551, -0.3272699416, -0.0054327436, -0.0475736298, -0.1417320967, 0.3597455323, -0.3232302368, 0.3145806193, 0.0012562982, -0.0727787986, 0.1350669265, -0.5309221745, 0.2179097682, -0.6386498213, -0.6281815767, -0.1975428313, 0.0636226609, 0.8230425119, -0.5601686835, 0.7187701464, 0.5024536848, -0.448094517, -0.0562627651, -0.7121139169, -0.1134051308, -0.2787776291, 0.1695953161, -0.7164891958, -0.9166012406, 0.1843201369, -0.0873217657, 0.2200291902, 0.4246660173, 0.6516657472, 0.1940613687, 0.9059609175, 0.096077852, -0.0224336311, -0.2266619802, 0.0663834363, 0.5093762279, -0.5323976278, -0.4494746029, -0.4744536877, 0.0050234678, -0.5462717414, -0.6710537076, 0.2917949855, 0.391333282, -0.2120636404, 0.1526869237, -0.0348687135, 0.4847019911, 0.2215477079, 0.0487754941, 0.8710483909, -0.2040710449, -0.4127286375, 0.3193095922, -0.6375901103, -0.5361867547, 0.9539551139, 0.4516090453, 0.9218887687, 0.24886702, 0.56729877, 0.2475252151, 0.1611188203, -0.9133532047, 0.680870533, 0.062675111, -0.9345562458, -0.7315148115, -0.5852199197, -0.7044335604, 0.678635478, -0.0917021111, -0.9325492382, 0.0849161819, 0.0898422822, -0.309124589, 0.3170524538, -0.75170362, 1.0724585056, -0.5063050985, -0.2700373828, -0.4945700169, -0.6617075801, 0.8426746726, -0.3546318412, 0.5266646743, -0.2733525634, 0.0323765725, 0.3954129815, -0.2900134921, 0.6325718164, -0.2327850312, -0.3234141469, 0.5328856707, 0.2079799175, 0.487044096, 0.3408729136, -0.1863359958, 0.1668117493, 0.2934102118, -0.3704716861, -0.7654007077, 0.5416305661, -0.2673642337, -0.5615242124, -0.3460969627, -0.3494796455, -0.3924103081, 0.101382874, -0.2912744284, 0.5196387172, -0.0456031114, 0.1365943998, 0.6245601177, -0.1883437186, 0.2277028114, 0.3186040819, -0.3903239071, -0.4018156528, 0.7639195323, -0.2025301903, 0.3717577755, 0.5192283392, 0.2168862522, -0.6670534015, -0.3305293024, -0.6448730826, 0.1964587122, -1.0613725185, -0.1086569652, -0.4638445079, -0.0385822803, -0.1143866479, 0.3837407827, -0.2733640373, -0.4501498938, 0.2664701939, -0.1661441773, 0.3469679058, 0.7232391238, 0.0997527838, -0.3644332588, -1.0143238306, 0.3842329085, 0.4900556207, 0.3766074181, 0.0419996269, -0.4846304655, -0.0373487733, -0.2328456491, 0.0183754228, -0.7016250491, -0.0708335936, 0.1340127885, 0.6892619729, 0.3196111023, -0.2205087245, 0.9016101956, -0.5881942511, 0.4977680445, 0.4100990891, -1.086006403, 0.4555538595, -0.027121786, 0.3988976479, 0.6940391064, 0.3091879785, -0.5851509571, -0.1629176587, -0.4072750509, -0.627014637, 0.4625636041, 0.2553768158, -0.2052404135, 0.0657826662, 0.0790148675, 0.1986993849, 0.4341789782, -0.6983128786, -0.1568839699, -0.0310482178, 0.115055494, -0.2691531181, -0.0191665981, -0.0311018173, -0.4645528495, 0.5509161949, -0.1422662884, 0.1259497553, 0.0491815992, -0.2274311781, 0.1229987741, 0.5663403273, 0.5780196786, 0.9437557459, -0.2142483741, 0.3171413541, 0.4128267169, -0.0850370899, 0.3180189729, 0.0629220456, 0.2479820848, -0.0537674353, 0.8321069479, 0.8269487619, 0.1930226535, -0.9043151736, 0.4635182917, -0.2481229156, -0.1849714816, -0.0988945365, -0.0063733682, 0.2386012077, 0.3871687651, 0.112186864, 0.0865109414, 0.1712807417, -0.6995071769, 0.3143713474, 0.3411875665, -0.1195893362, -0.1345549971, 0.1799777597, -0.0168004539, -0.1523587406, 0.7626358271, -0.4157207012, -0.2268959582, 0.3796531558, 0.3482653499, 0.6799187064, -0.2267059535, 0.1997224987, 0.4696165621, 0.6953415871, 0.0469737723, 0.3089728951, 0.0341132954, -0.8369861245, -0.8788653612, -0.8072892427, -0.2466726303, 0.3660221398, -0.5338599086, 0.3193572462, -0.4251182675, -0.0378085338, 0.0364781767, -0.1827144027, -0.7738856077, 0.2453126609, 0.1067314669, 1.2341811657, -0.8207597733, 0.7386370897, 0.6821309924, -0.2287923098, -0.4884053767, 0.1325308084, 0.137831673, -0.721029222, 0.6068155766, 0.3438537419, -0.6438169479, -0.1938107312, -0.2484448552, -0.5101887584, 0.9878014922, 0.2786225975, -0.6888798475, 0.1917258203, -0.0143752182, 0.5793294311, -0.4794931412, 0.5820702314, 0.945012331, 0.8340466022, 0.1576489657, -0.9064918756, -0.0052192467, -0.1549604833, -0.1387070417, 0.3874527216, -0.685099721, 0.6844449639, -0.2595561147, -0.0420143753, -0.2179080993, 0.2327304929, 0.6628776789, 0.2752307951, 0.8690927625, 0.8809410334, 1.0078955889, 0.1782612801, 0.9765086174, -0.2662850618, 0.2997220159, 1.0955715179, -0.5088561177, 0.851246655, 0.3051471114, -0.212728098, 0.7323608994, 0.6018619537, 0.2597620785, 0.2170196772, 0.4185371995, -0.6313027143, -0.6878665686, 0.0135922423, -0.0047828611, 0.5560032129, 0.4740101397, -0.0111177666, -0.1790301353, -0.3368288577, -0.0804811493, -0.2931489348, -0.2964899242, 0.584015131, 0.1048098952, -0.6473654509, 0.708458364, 0.0603986792, 0.2507136166, -0.5346257091, -0.3219776154, -0.1531464159, 0.024882542, -0.2382252514, -0.9314938784, -0.1136910841, 0.1309797466, 0.1393319815, 0.1117035598, 0.8531689644, -0.133075878, -0.7280507088, 0.7617232203, 0.6218188405, 0.4052810371, 0.0211609639, -0.7816436887, 0.0361529142, -0.0576329529, -0.3611560166, 0.1408884078, 0.6196529269, -0.1063843817, 0.7339025736, 0.4895308316, -0.1081414521, 0.1211471558, 0.4521668851, 0.7186630368, -0.8469839096, 0.051330816, -1.1918110847, 0.7178640366, 0.0811501816, -0.2683533132, 0.6004918814, 0.6524879932, 0.8534933925, 0.0378809124, 0.8048149347, 0.1119170934, 0.1742368788, -0.8206936121, 0.0364325903, -0.5556318164, 0.2362928241, -0.430637151, -0.8811945319, -0.3110640049, 0.6270393729, -0.1864379346, 0.1406085938, 1.0455087423, 0.6745560765, -0.0054187067, 0.2923043668, 0.5360538363, 0.2451614588, 0.090676859, 0.8066960573, 1.0906351805, -0.1757810712, 0.5545043349, 0.1167659014, -0.4518763721, 0.074016571, -1.0846819878, -1.0487644672, -0.2925688624, -0.1805590987, -0.1873916984, 0.0265743714, 0.8632817864, 0.5455297828, -0.7286745906, -0.4691983759, -0.0127750533, 0.3057820499, -0.2759473026, -0.1629833728, 0.072121866, -0.4223251343, -0.3345368505, 0.682074964, 0.712161243, -0.4405078888, -0.3888031244, -0.1714210808, -0.6187713146, 0.1481032223, 1.0653297901, -0.0721907467, -0.8515899777, -0.2780436575, -0.240266785, 0.300822258, 0.2145590037, 0.8199642301, -0.6474352479, 0.5395801663, 0.5022523403, 0.7462202311, 0.7599253058, -0.0082848649, 0.1554586142, -0.3938825727, -0.0458774045, 0.1386709213, 0.4311625063, 0.0984244049, -0.0995043963, 0.4521199465, 0.2494032234, -0.4615903497, -0.5634558797, 0.3851106167, -0.4713961184, -0.2362833768, 0.9703782201, -0.3146049082, 0.0574258715, -0.0066887559, 0.0045348974, -0.0531751141, -0.3935678899, 0.3205784857, 1.0702829361, -0.6306137443, -0.3462176323, -0.9434105754, 0.0710046068, 0.4657890201, -1.1154390574, 0.1515373141, 0.7261555195, 0.2301591635, 0.2363868505, 0.6655666828, -0.2115031481, 0.0268400274, 0.0573393516, -0.0711818635, 0.4353853166, -0.9051623344, -0.5439924002, 0.0290527456, 0.3622670472, 0.0179069899 ]
http://arxiv.org/abs/2406.17163v1
http://arxiv.org/pdf/2406.17163v1
Paraphrase and Aggregate with Large Language Models for Minimizing Intent Classification Errors
2024-06-24T22:30:26
2024-06-24T22:30:26
Vikas Yadav, Zheng Tang, Vijay Srinivasan
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLM) have achieved remarkable success in natural language generation but lesser focus has been given to their applicability in decision making tasks such as classification. We show that LLMs like LLaMa can achieve high performance on large multi-class classification tasks but still make classification errors and worse, generate out-of-vocabulary class labels. To address these critical issues, we introduce Paraphrase and AGgregate (PAG)-LLM approach wherein an LLM generates multiple paraphrases of the input query (parallel queries), performs multi-class classification for the original query and each paraphrase, and at the end aggregate all the classification labels based on their confidence scores. We evaluate PAG-LLM on two large multi-class classication datasets: CLINC, and Banking and show 22.7% and 15.1% error reduction. We show that PAG-LLM is especially effective for hard examples where LLM is uncertain, and reduces the critical misclassification and hallucinated label generation errors
[ -0.1017630547, -0.9892476201, 0.7700838447, 0.3748196065, -0.2697588503, -0.0254241265, -0.2919465303, -0.1125400364, -0.0145824607, 0.8127089739, 0.1127858832, -0.6669849157, -0.7580641508, 0.1088539734, -0.4695056677, 0.9957818985, 0.0408745892, -0.0981604308, -0.4522527456, -0.2760770023, -0.1348216385, -0.9374630451, -0.9372668862, -0.1029185206, 0.3644852638, 0.5348801017, 0.7368622422, 0.4488131702, 0.5905331969, 0.2731074989, -0.2484229803, 0.3964605927, -0.4097745717, 0.2112967223, -0.0457622297, -0.4422560632, -0.6210885048, -0.191504389, 0.8049030304, 0.775498569, -0.3727978766, 0.0916936472, 0.3347520232, 0.6263136268, -0.7811166644, 0.4525215328, -0.6305367947, -0.3467646539, -0.1035834923, -0.1881410927, -0.596277535, -0.4558623135, 0.0272723865, -0.3615538776, 0.0681477636, 0.1991413385, 0.419882983, 0.2299969494, -0.3773798347, -0.5437451601, -0.4946195185, 0.9607948661, -0.7942481041, 0.0793348029, 0.4003456235, 0.1376065314, -0.2003115565, -0.8898492455, -0.5401328206, -0.2108089775, -0.1335944384, -0.142008245, -0.0415528007, 0.2211877406, -0.0277265348, 0.3901882768, -0.4333429337, 0.1198347211, -0.1970904469, -0.1009301841, 0.5347175002, 0.2152553648, 0.0011254227, -0.1071437821, -0.3563629389, -0.1135778651, -0.7156191468, -0.0877080634, 0.1021342576, 0.4006105959, 0.2461679876, 0.6525580883, -0.2448912859, 0.7161251903, -0.2051721215, -0.5555596948, 0.0590563715, -0.3166504502, -0.3386917412, 0.1298717856, 0.8999569416, 0.545345366, 0.1894527674, -0.2864556313, -0.1834169775, 0.0721272752, -0.0875950605, -0.5874259472, 0.0041619535, 0.1331070364, -0.5010921359, -0.3899278045, -0.1579478383, -0.9739141464, -0.349362433, -0.3226599991, 0.3617915809, -0.2346700877, 0.2119044363, 0.2588810921, -0.0787949786, 0.4133626819, 0.3179855943, -0.5659371614, 0.5431701541, 0.701605916, 0.8948076367, -0.2971867919, -0.4965494275, -0.6781377792, 0.5417144299, -0.2168433368, 0.7825866342, -0.5243245363, -0.3834979534, -0.055968143, -0.4199397862, -0.3292379081, -0.6173611283, 0.9487024546, -0.4504197538, 0.1103624403, 0.0004519567, -0.7900263071, -0.3083790541, 0.2953966856, -0.4378982484, 0.7947548628, -0.1822809577, -0.6660861969, 0.1909609288, -0.4042329788, -0.5607831478, -0.0468072109, -0.0337599404, -0.3800052702, 0.1935726553, 0.3954429924, 0.6656752825, -0.6520929933, 0.4444723129, -0.3705816865, -0.1661233753, 0.3027271032, -0.6130443811, 0.4132550955, 0.3112869859, -0.137544781, -0.0556902923, -0.5738407969, -0.1664227992, 0.0658596903, -0.5159699917, -0.5559058189, 0.1886096299, 0.0602011792, 0.2749520242, 0.4639125764, -0.1877226532, 0.1458573043, -0.0579307638, 0.3117587566, 0.7128750682, 0.1835419089, 0.4268577099, -0.5686226487, 0.3500644565, -0.1439189464, 0.1170919761, 0.1206982806, -0.5551441908, -0.7749746442, -0.1817997396, 0.176060006, 0.5904368162, -0.7246308327, 0.3861245811, -0.4215480685, -0.5166823268, -0.1185411289, 0.3829488754, 0.3650923967, 0.5106447339, 0.5301760435, -0.0573665723, -0.2230425328, -0.8081593513, -0.4942364991, -0.2432079762, 0.1348283291, 0.3364171386, 0.1155806854, -0.0618453473, 0.6564279795, -0.6948959231, -0.3438269794, -0.5951632261, 0.1813289076, 0.2127645165, 0.3167735636, 0.5904865861, -0.8478076458, -0.5388873816, -0.177458629, -0.7427389026, -0.1021153703, -0.2081875503, -0.0523474291, 0.1828387529, 0.4888314307, -0.7040777802, 0.1261274964, 0.4480879903, 0.0035762154, 0.311914891, -0.330321461, 0.1764145941, -1.1220612526, -0.2526114583, 0.0324532241, -0.0843044892, -0.6365159154, 0.1243753955, -0.0078697661, 0.0999640748, -0.453771919, 0.3780965209, -0.257697165, 0.1106681898, -0.311491251, -0.0447661094, -0.1716912091, 0.4628376365, 0.0818286911, 0.6322143674, 0.8643707633, -1.0518198013, 0.218058899, 0.248762995, -0.4027588069, 0.4863861799, -0.4770841002, 0.0743170753, -0.2394844741, 0.3245269358, -1.0903918743, -0.5332300663, 0.1650096774, -0.1750622243, 0.2481463701, -0.0263902228, -0.5777930617, -0.1677936167, -0.3368244767, 0.2843973935, 0.569668889, -0.6855177879, 0.6886326075, 0.3890530765, -0.4957591295, -0.5743708014, -0.5590473413, 0.3403078616, -0.6622293591, -0.4892496467, 0.0549166538, 0.0461844504, -0.4100700915, -0.3267460167, 0.0281683244, -0.260445863, 0.0950465873, -0.1267690659, 0.1455542147, -0.054589659, 0.1492137611, 0.1756520122, 0.2362392247, 0.0410156585, -0.2228592932, 0.6628229618, -0.1390648335, -0.3086343408, -0.2294234037, 0.3767722249, 0.905443728, -0.1813989729, 0.9695456624, 0.1933050454, -0.0700893924, 0.0394859575, -0.7348561883, 0.1149162352, -0.4443868995, 0.2758112848, -0.2278964818, -0.5978143811, 0.3147133291, -0.0858134925, 0.2498965114, 0.4895488024, 0.5234601498, 0.0728601441, 0.8622079492, 0.2546513379, -0.2296909839, 0.2256347239, 0.0633800775, 0.1274940968, -0.5619161725, -0.1670197397, -0.5801594853, -0.1922186017, -0.4932096303, -0.5617567897, 0.4949910045, 0.2032672465, 0.1635277867, 0.0613919795, -0.2010421753, 0.4674973488, 0.6067016125, 0.2311955541, 0.4102944732, 0.1563192904, 0.2320145518, 0.1456039995, -0.7700172663, -0.6963008642, 1.4034899473, -0.025959624, 0.9009328485, 0.21694763, 0.9914104342, 0.0550602153, 0.3979531527, -0.7902420759, 0.6922294497, -0.4051157534, -0.4339319766, -0.300601393, -0.621537745, -0.8082566261, 0.4228724241, -0.0159384515, -0.4175130129, 0.1161280349, 0.2709215879, -0.1713158935, 0.4228012562, -0.7121736407, 0.7862969041, -0.1766823977, -0.20771873, -0.145606339, -0.5972907543, 0.6170981526, -0.4049847424, 0.5458727479, -0.0153865162, -0.2657873929, 0.838075161, -0.3815522194, 0.7754465938, -0.0524795651, -0.0006242504, 0.7143950462, -0.0550164916, 0.8485895991, -0.098980017, -0.2843685448, 0.0507138111, -0.3273205161, -0.4159993231, -0.4498923123, 0.634791553, -0.4705492854, -0.5968978405, -0.263635993, -0.616415143, -0.2654160857, -0.1301178783, 0.3868797719, 0.2748547792, -0.0352059752, 0.6163783073, 0.5473051667, -0.0761638284, 0.5401995778, 0.1102409884, 0.0404702388, -0.4176424146, 0.9242653251, 0.1040364206, 0.4892565608, 0.3690599501, 0.5048992634, -0.4499657452, -0.8809368014, -0.0726519376, 0.1962850392, -0.9409188628, -0.2037868053, -0.8711665273, 0.0528095141, -0.7015661597, 0.0428499281, -0.0396581739, -0.4522585273, -0.1710352451, 0.0952609181, 0.2712268829, 0.6084246039, 0.0778346434, 0.715441525, -0.9747187495, 0.3114855587, 0.4786269665, -0.0082648704, -0.0352315158, -0.7013198733, -0.0329727419, -0.225995034, -0.2969249785, -0.8654470444, 0.5135518312, 0.5393084288, 0.7662737966, 0.2007238716, 0.2418089062, 0.5840237141, -0.376493603, 0.732722044, 0.169304058, -0.8891596198, 0.3587461114, -0.1666910946, -0.030202318, 0.685765624, 0.4694588482, -0.497250706, -0.7134670019, -0.6085538864, -1.2489269972, 0.5684832931, 0.2039934397, 0.0827502161, -0.2494411618, 0.3174919784, 0.0988395885, 0.3226692975, -0.855457902, -0.370411545, 0.1888687462, -0.4373848736, -0.401501894, -0.4371805787, -0.0023707377, -0.0582535453, 0.6198951006, -0.1459052265, -0.1331885457, -0.0493772812, -0.3071617782, 0.3237417936, 0.4991136193, 0.4512182474, 0.6994659305, -0.0254439767, 0.2905258238, 0.4198349416, -0.3428692818, 0.2137879729, -0.0666245744, -0.0735042691, -0.0343795195, 0.3591420949, 0.4978070557, 0.2521242201, -0.7075160742, 0.4920899868, -0.0469149314, -0.2892628908, -0.1305354387, -0.0434421748, 0.0931509137, 0.1078044102, 0.3527289033, 0.0134658916, 0.3975531459, -0.3656321466, 0.0590245463, 0.2089155763, 0.1797174215, 0.1460992098, 0.4925359488, -0.0528754443, 0.038183976, 0.4893789291, -0.1752628088, -0.3647395968, 0.448595345, 0.5431534052, 0.8978037834, -0.2954441905, -0.017092457, 0.2589410245, 0.1782047153, -0.649235785, -0.0541410334, -0.1243300736, -0.6346978545, -0.5648478866, -0.9227467775, -0.7219341993, 0.1671557128, -0.6632237434, 0.1819844097, -0.3623838723, 0.1311435997, -0.0635497645, -0.6588028073, -0.3678064048, 0.1320352405, 0.0667973831, 0.3925041556, -0.8710061312, 0.7598946095, 0.8717963696, -0.229121685, -0.8298184872, 0.1322451979, -0.3633632958, -0.6792362332, 0.6912901998, 0.1098604798, -0.0266623497, -0.0427570306, -0.4278353453, -0.8353454471, 0.8505530357, 0.2410528064, -0.5137888193, -0.1082862541, 0.1098351851, 0.3130122423, -0.2306831479, -0.0807759985, 0.7676804066, 0.5143454671, 0.3983612955, -0.8405150175, -0.1479471922, 0.3335273266, -0.1939374357, 0.2312553823, -0.5741720796, 1.1505628824, -0.0102557484, 0.177325666, 0.0087820366, 0.5400936604, 0.3735312819, 0.5010442138, 0.5637463331, 0.5569409728, 0.8086759448, 0.0094374251, 1.2382751703, -0.23720406, 0.3756392896, 1.2370921373, -0.2447612137, 0.9397621155, 0.4699243307, -0.2896041572, 0.0534606241, 0.5345951915, 0.3772778809, 0.4170610607, 0.0167909879, -0.5897200704, -0.452345252, 0.1616275162, -0.1726499945, 0.5959553719, 0.5442414284, -0.5063159466, -0.3526574671, -0.0585034676, 0.020324409, 0.0580481105, -0.59047544, 0.976388216, 0.1800086647, -0.7758191824, 0.5465825796, 0.050873138, 0.7602499723, -0.3918269873, 0.1479014158, -0.383381933, 0.358833909, -0.0840450227, -0.6549220085, 0.3049571216, 0.060741514, 0.0324001238, -0.2531678379, 0.6292133927, -0.4885140061, -0.6775431633, 0.1491282284, 0.4293135107, 0.5287725329, -0.385758698, -0.486733079, -0.2806934416, -0.0974492952, -0.2756342888, 0.361895591, 0.5063285232, -0.0723877773, 0.6513472795, 0.5716762543, 0.0649318919, 0.2995970547, -0.0639456362, 0.6852810383, -0.5763527751, -0.4504160881, -1.1964404583, -0.0570068285, -0.2061724663, -0.1333402097, 0.9014993906, 0.7336765528, 0.5454841256, -0.1397184432, 0.7425788641, 0.0839705542, 0.4146555066, -0.6124875546, 0.4200770557, -0.5033612251, 0.2028795332, -0.3679380715, -1.1779568195, -0.4265510142, 0.5205389261, -0.3398457766, -0.1157416999, 0.6891015768, 0.6407217979, 0.0925177708, -0.236783728, 0.3877314627, -0.0370801799, 0.4261591136, 0.6188922524, 0.8834255934, -0.2927127481, 1.0460056067, -0.2949554622, -0.1919334829, -0.3467329443, -0.7129249573, -0.8243794441, -0.0921138301, -0.3990131617, -0.2659944892, -0.196717903, 0.8296208978, 0.2560663521, -0.7891200185, -0.4173703492, -0.3417125344, 0.3061657548, -0.1719047278, -0.2081878334, 0.4551256001, -0.8562020659, -0.9447606802, 0.3747867644, 0.1822857559, 0.1608984917, 0.2021876276, -0.1129407287, -0.2592713535, 0.073039487, 0.7393215895, 0.0445136838, -0.6411030293, -0.111961171, -0.1620175242, -0.1699515432, 0.0256968513, 0.7091470361, -0.3912034631, 0.0423796847, 0.5119088888, 0.7781811953, 0.43942523, 0.1791513264, 0.3132056892, -0.7117807269, 0.1143004373, 0.3097918928, 0.4814075232, 0.228773132, -0.1767566204, 0.3607544005, 0.1921657473, -0.7026104331, -0.7634042501, 0.0339281633, -0.9399693012, -0.4630226791, 1.4102330208, -0.2101515681, -0.3296083212, -0.23804003, -0.2351333201, 0.1850134134, -0.273168385, 0.6188753247, 0.7192360759, -0.1557906419, 0.1221097335, -0.4383666813, 0.3604109585, 0.5651547909, -0.9330570102, 0.2933256626, 0.6843954325, 0.2869374156, 0.1482769847, 0.4019880891, -0.0409285352, 0.195479691, -0.023936864, -0.0160900522, 0.1564903706, -0.2206475735, -0.1571096182, 0.5553454161, 0.4659047723, -0.3578563333 ]
http://arxiv.org/abs/2406.17158v1
http://arxiv.org/pdf/2406.17158v1
DEXTER: A Benchmark for open-domain Complex Question Answering using LLMs
2024-06-24T22:09:50
2024-06-24T22:09:50
Venktesh V. Deepali Prabhu, Avishek Anand
cs.CL
cs.CL, cs.IR
Open-domain complex Question Answering (QA) is a difficult task with challenges in evidence retrieval and reasoning. The complexity of such questions could stem from questions being compositional, hybrid evidence, or ambiguity in questions. While retrieval performance for classical QA tasks is well explored, their capabilities for heterogeneous complex retrieval tasks, especially in an open-domain setting, and the impact on downstream QA performance, are relatively unexplored. To address this, in this work, we propose a benchmark composing diverse complex QA tasks and provide a toolkit to evaluate state-of-the-art pre-trained dense and sparse retrieval models in an open-domain setting. We observe that late interaction models and surprisingly lexical models like BM25 perform well compared to other pre-trained dense retrieval models. In addition, since context-based reasoning is critical for solving complex QA tasks, we also evaluate the reasoning capabilities of LLMs and the impact of retrieval performance on their reasoning capabilities. Through experiments, we observe that much progress is to be made in retrieval for complex QA to improve downstream QA performance. Our software and related data can be accessed at https://github.com/VenkteshV/DEXTER
[ -0.4097898304, -1.021574378, 0.7998150587, 0.2113096565, -0.077778779, 0.2925960124, -0.0808268636, -0.5318992138, 0.1559053808, 0.3837476373, -0.5493821502, -0.5289098024, -0.2449000776, 0.2243306786, -0.0717089027, 0.4434295297, -0.3624532521, 0.3494846523, -0.4166676402, -0.2391139865, -0.502423048, -0.3960626423, -0.271856159, 0.1741944253, 0.4365404844, 0.2837066948, 0.5857403874, 0.4585694075, 0.638795495, 0.2082258612, -0.0250840597, 0.4255833626, -0.7452568412, 0.5297732949, -0.4178095758, -0.5034929514, -0.6008661985, -0.0154244807, 0.7632645369, 1.0158671141, 0.0800424591, 0.3982595801, -0.2642645836, 0.235437125, -1.0797445774, -0.202415809, -0.7874170542, -0.0583432019, -0.3470491767, -0.3678125441, -0.2654914558, -0.3867840171, 0.3921982944, -0.681402564, 0.0933767855, 0.3179422617, 0.6943947673, 0.1887389719, -0.4002805054, 0.0330023952, -0.6237570643, 0.7201144099, -0.702036798, 0.446926266, 0.0919172168, 0.5039914846, -0.2669773102, -0.9565274119, -0.5180131793, -0.0118532423, 0.2761780024, 0.412977457, 0.0044656694, 0.194196552, 0.4842105806, 0.4392878115, -0.5878110528, -0.0483061373, -0.2057040781, -0.1625667959, 0.4104830027, 0.5311663151, 0.2652736306, 0.3013750315, -0.4573554993, 0.059112478, -0.7172660232, 0.454307586, 0.2432000488, 0.0600104444, 0.1476077884, 0.952301383, -0.4831513166, 0.7121937275, -0.2026261836, 0.0867403597, 0.2304838151, -0.2939745486, -0.2243933827, -0.3079454005, 0.4296145141, 0.2854503691, 0.1255778968, -0.3717526793, -0.3902260363, -0.2281040549, 0.4455248415, -0.761384666, -0.0662560835, 0.366155982, -0.3145549297, 0.3463640511, 0.2439431101, -0.4684316516, -0.1474516988, -0.2821529806, 0.6967435479, -0.1864737272, -0.0362201221, 0.3643017709, -0.1753991842, 0.2998758554, 0.5952116251, -0.4894729555, 0.7362356782, 0.7289457917, 0.6835311055, -0.5362789631, -0.2338778824, -1.1957550049, 0.0053362637, -0.1703370661, 0.7027395368, -0.393307507, 0.0120199015, 0.0556646958, 0.1424861848, -0.3615932167, -0.8686434627, 0.5252263546, -0.8879280686, -0.0988547876, -0.3002473712, -0.5385833979, -0.1608407348, 0.6132467389, -0.7823413014, 0.9065272212, 0.3353490233, -0.6235412359, 0.0299502648, -0.2749969661, -0.3574971259, 0.3204069436, -0.033157263, -0.1236714721, -0.0278600529, 0.0137982117, 0.6097617149, -0.5947219729, 0.2634778023, -0.6748504043, -0.6487163901, 0.2846351862, -0.1831055433, 0.4039813578, 0.018566737, -0.1706087142, 0.2738589048, -0.617213428, 0.2247468382, 0.0293648709, -0.451941669, -0.4415753484, -0.0376383029, -0.2031823397, 0.1033637822, 0.3520065844, -0.8793578148, 0.2057451457, -0.3312169015, 0.1958548278, 0.5465943813, -0.0475571752, 0.1442938596, -0.5941173434, 0.5311743021, 0.2527782917, 0.1996308267, 0.1337194145, -0.4126991332, -0.3442529142, -0.568951726, 0.2653618455, 0.5467602611, -0.7801367044, -0.000573738, -0.340534091, -0.3439992964, -0.8519631624, 0.1850341856, 0.4688766897, 0.5507972836, 0.6722272635, -0.4768313468, -0.2399035841, -0.8754236698, -0.4116504788, 0.1750812829, -0.1539862156, 0.632842958, 0.3364448249, -0.2041850984, 0.9404981732, -0.6031184793, 0.0026239443, -0.0646846965, -0.1394803673, 0.1902206689, 0.3124737144, 0.3059718311, -0.7589149475, -0.2815464437, -0.2341285497, -0.6255261302, -0.1526109725, 0.1405593157, -0.4107602537, -0.2108611763, 0.3681000471, -0.7647899389, 0.1981388628, 0.3840548098, -0.3474512398, 0.8907455206, -0.0203672852, 0.1989966631, -0.8337218165, 0.3944867551, -0.0789531171, -0.3944075406, -0.4516925812, 0.1731005013, 0.3282038271, 0.2157348692, -0.685939312, 0.7210409641, -0.4295527935, -0.4044250846, 0.4228028059, 0.3904080987, 0.1738504171, 0.5881242752, -0.0981651917, 0.9965356588, 0.2874412835, -0.5498194098, 0.3674153686, 0.1875026375, -0.4775655866, 0.4322706759, -0.8848488331, -0.1577743143, 0.0292763691, -0.0224350058, -1.0662608147, -0.203635633, 0.0394647047, -0.1289535761, 0.2222721875, -0.0591872223, -0.674803555, -0.3411360085, -0.540864408, 0.6299576759, 0.25061813, -0.4466420412, 0.6903477907, 0.2000254989, -0.1848571599, -0.6249177456, -0.1124890968, -0.30710572, 0.1717461944, -0.7075837851, 0.4642942548, -0.3668539226, -0.4338774681, -0.0925494283, -0.4650650322, -0.1186304018, 0.5184925795, 0.0770777166, 0.3454565108, -0.4640230536, -0.0812000409, 0.4477600455, 0.2547228038, 0.2646790743, 0.1254179627, 0.5082636476, -0.1970745176, -0.497853756, -0.1168482006, 0.3319333196, 0.7353199124, -0.4566099942, 0.5270770788, 0.3103604615, -0.2413595319, -0.3448401392, -0.6676071286, -0.2659268081, -0.3966302574, 0.123011969, -0.6427133679, -1.0931504965, 0.7672271132, -0.5182782412, 0.0849099383, 0.2846924365, 0.5714861751, -0.2876445353, 1.0571871996, -0.0189100504, 0.2721362114, 0.1549292505, -0.3168953955, -0.1219780594, -1.1338127851, -0.3008565009, -0.369550705, -0.2502756119, 0.0011953687, -0.4019850791, 0.5594634414, 0.4099489748, -0.3750288486, 0.0626005754, -0.05449659, 0.2049841583, 0.7592185736, 0.2747963071, 0.3692941964, -0.5135295391, -0.3561966121, 0.2768236697, -0.6370466948, -0.4321769476, 1.099460721, 0.2464443892, 0.6988247633, 0.4114667475, 0.2913692296, 0.2306343615, 0.251612097, -0.6503515244, 0.516772449, 0.1158166453, -0.5110980272, -0.2852372825, -0.5242869854, -0.9328558445, 0.5090456009, -0.2498425096, -0.6003439426, -0.0316653512, -0.221789822, -0.5033320189, 0.3123551905, -0.4462415874, 0.9759861827, -0.0449416712, -0.5695419312, -0.0221290272, -0.9821938276, 0.4665829837, -0.0094186617, -0.2227839679, -0.3173983395, -0.010223588, 0.5838168263, -0.3502064943, 0.5712841749, -0.0019587388, 0.003476328, 0.0512963757, 0.3778122962, 0.4726478159, 0.2403157353, -0.1513189822, -0.0147484681, 0.4811745286, -0.4878122211, -0.5757552385, 0.6356441975, -0.8748252392, -0.7213270068, -0.1015553847, -0.8242592812, -0.6963054538, 0.3186298311, -0.0767798349, 0.6869707704, -0.1579426825, 0.2550339997, 1.0740103722, 0.0075680437, 0.112566717, 0.5958359241, 0.0950184613, -0.4124335051, 0.6097486019, 0.0383228622, 0.4622440338, 0.498688519, -0.0951221511, -0.2589993179, -0.7370557785, -0.6907185316, 0.3706257641, -0.6475022435, -0.3911508918, -0.9641306996, -0.1242181584, -0.3332522213, -0.0958624855, -0.1365838349, -0.419796437, -0.4314878881, 0.2371253222, -0.0620717742, 0.215349555, 0.5132279396, -0.0524433888, -0.9839724302, 0.6538556814, 0.4531369805, 0.582033813, -0.0367333107, -0.327351898, -0.1607879996, 0.1238688529, -0.2738257647, -0.461938858, 0.1161746606, -0.0487920679, 0.8970932364, 0.112384364, 0.5663658977, 0.5766912103, -0.1331557333, 0.6767963767, -0.1935483068, -0.8536529541, 0.2947446406, -0.3387082517, 0.2559995651, 0.7840886712, 0.6566243172, -0.1241752654, -0.3821196556, -0.4191950262, -0.7556751966, 0.675136447, 0.0076722912, -0.2457335144, -0.0545455627, 0.3848513961, 0.1907209158, 0.4291861355, -0.1922555566, -0.0331436358, 0.0261270721, -0.3006286621, 0.1524392664, -0.2970502675, -0.3006116152, -0.1756658703, 0.5118436217, -0.3362526596, 0.0635909662, 0.4696926177, -0.4294745326, -0.2266257852, 0.1869286597, 0.629360497, 0.5598940253, -0.5364901423, 0.1449449211, 0.1476916969, -0.5960657597, -0.1803258806, 0.2330858111, -0.1036489308, -0.3255512118, 0.4728096128, 0.5307503939, 0.1726254374, -1.3160700798, 0.8302946687, -0.1583456099, -0.215540424, -0.0214491524, 0.1646171659, -0.1519386917, 0.5472844243, 0.4137496054, -0.0880294293, 0.4306833148, -0.5954342484, -0.0536379702, 0.5638265014, -0.3567575514, -0.2995551229, 0.752177, 0.0723268688, -0.0283584762, 0.7004801631, 0.0358916931, -0.4946875274, 0.5965313911, 0.464626193, 0.742541194, 0.1123367175, -0.1147426888, 0.078715764, 0.0565410554, -0.089431569, 0.8874314427, -0.2410482168, -0.6856438518, -0.3826909661, -0.4985750318, -0.7388039231, -0.2135085166, -0.7201515436, -0.186281994, -0.4729764462, -0.0945601612, -0.139542833, 0.2628825605, -0.6888998747, 0.1847062409, -0.2762031555, 1.2318768501, -0.2722021639, 0.5518822074, 0.8110305667, -0.3369664252, -0.790674746, -0.0960361436, -0.2044149637, -0.6120548844, 0.6280657053, 0.2063829452, -0.3911713362, 0.2449963242, -0.615475297, -0.6433636546, 1.3537627459, 0.2438826859, -0.3537062705, 0.1364710629, -0.0485079363, 0.4974839985, -0.3819224536, 0.3572742343, 0.343080014, 0.358784914, 0.0913096294, -0.9230587482, 0.3223799169, -0.473939836, -0.1437615752, 0.1213557571, -0.4886890054, 1.0847100019, -0.2458054125, -0.2637009323, 0.4168685675, 0.4159541428, 0.4521018863, 0.6630597711, 0.3110638261, 0.4684048295, 0.6829548478, -0.133843407, 0.8717089295, -0.3099504113, 0.053860072, 1.0988351107, -0.7058196068, 0.9485315084, 0.3937135935, 0.0640193224, 0.3444654644, 0.5778944492, 0.1937462389, 0.4536577165, 0.5739706159, -0.3582657278, -0.4510789216, -0.1799320281, -0.221366778, 0.0301146768, 0.4103831649, 0.013662355, -0.1618709713, -0.0153108332, -0.3081066608, 0.0386270881, -0.4513039589, 0.8158656955, -0.0940796137, -0.8171845078, 0.558414638, -0.0556886047, 0.5258367062, -0.5958576202, -0.015763469, -0.2281281054, 0.1455602199, -0.0934779048, -0.9177010059, -0.010451803, -0.4466962218, -0.129597947, 0.1618158519, 0.561499238, -0.4019626379, 0.2680691779, 0.3161638379, 0.9094629288, 0.0362249352, -0.2805454731, -0.3826833963, 0.057905741, -0.5469934344, -0.3482192159, 0.2903141677, 0.6301620603, -0.2191911638, 0.9413737655, 0.7873271704, -0.07410831, 0.2092586309, 0.1970880479, 1.1686820984, -0.6864120364, -0.0479826555, -0.4386808276, 0.2898960412, -0.0225227531, -0.4170463681, 0.8196508288, 0.7974203825, 0.9238392711, -0.1560875475, 0.4447820783, 0.2651011348, 0.6815609932, -0.5797124505, 0.4391746819, -0.6065083742, 0.2260217071, -0.2664943039, -0.916464746, -0.4424282014, 0.0278908256, -0.1773567647, -0.1947579533, 0.5409952402, 0.706500411, -0.263218224, 0.0484761819, 0.4438447952, 0.2378819287, 0.2888109982, 0.4921416044, 1.0435380936, -0.3123453856, 0.2111063004, -0.0615164749, -0.1067897603, -0.4660205543, -0.4193975031, -0.9103640318, -0.4382084012, -0.0595287308, -0.4438260198, 0.0209076833, 1.0250036716, 0.4724293947, -0.6289189458, -0.1025310755, 0.2245708406, 0.2588660121, -0.5023649335, -0.2112472951, 0.2474165857, -0.3616394997, -0.5347507, 0.4993766844, 0.3701810241, 0.0592197403, -0.2342882305, -0.0270761773, -0.4584410191, 0.1786910892, 0.8610449433, 0.2993619144, -0.5899341106, -0.2989191711, 0.4749239981, -0.3188452423, -0.0168853924, 0.9126107097, -0.8567345142, 0.4497926831, 0.6694889069, 1.0209929943, 0.5018470883, 0.2128027827, 0.5194847584, -0.3763963878, -0.6486203671, 0.5915876031, 0.441519618, -0.0883028433, -0.1636323035, 0.6756353974, 0.3479214609, -0.4417380095, -1.0102719069, 0.0659488961, -1.5549762249, -0.3264443874, 0.982221663, -0.4177490771, -0.2118788362, -0.6092295647, -0.1669203341, 0.0503363386, -0.1879103631, 0.4644708931, 0.3095457554, 0.0645289272, 0.0881662816, -0.3803329766, 0.0848230869, 0.3161855042, -0.932423234, -0.0326748416, 0.5472127199, 0.3436968029, -0.1517478973, 0.698806107, -0.1237624884, 0.5341311693, -0.3228216171, -0.0079129478, -0.2827709913, -0.5008394718, -0.0318430439, 0.5373653173, -0.0310226176, -0.0515961051 ]
http://arxiv.org/abs/2406.17135v1
http://arxiv.org/pdf/2406.17135v1
Testing network clustering algorithms with Natural Language Processing
2024-06-24T20:54:32
2024-06-24T20:54:32
Ixandra Achitouv, David Chavalarias, Bruno Gaume
cs.SI
cs.SI, cs.CL, cs.CY, physics.soc-ph
The advent of online social networks has led to the development of an abundant literature on the study of online social groups and their relationship to individuals' personalities as revealed by their textual productions. Social structures are inferred from a wide range of social interactions. Those interactions form complex -- sometimes multi-layered -- networks, on which community detection algorithms are applied to extract higher order structures. The choice of the community detection algorithm is however hardily questioned in relation with the cultural production of the individual they classify. In this work, we assume the entangled nature of social networks and their cultural production to propose a definition of cultural based online social groups as sets of individuals whose online production can be categorized as social group-related. We take advantage of this apparently self-referential description of online social groups with a hybrid methodology that combines a community detection algorithm and a natural language processing classification algorithm. A key result of this analysis is the possibility to score community detection algorithms using their agreement with the natural language processing classification. A second result is that we can assign the opinion of a random user at >85% accuracy.
[ -0.7342403531, -1.0150697231, 0.1158065274, 0.426489085, -0.149571836, 0.5566374063, -0.4146883488, -0.7677148581, 1.0343389511, 0.4329493344, -0.4850302637, -0.4058612585, -0.4924331903, 0.4448386133, -0.4114648104, 0.7405225039, 0.0434751622, -0.010197632, -0.1562793851, -0.3198407292, -0.0898831412, -0.5481074452, -0.8748468161, -0.3023586869, 0.3609936833, 0.1449679434, 0.4294970632, 0.6484579444, 0.4502883852, 0.439653039, -0.1679092646, 0.1598042995, -0.3991601765, 0.0051195449, -0.1432925016, -0.4661315978, -0.1677297503, 0.0475097373, 0.4308105707, 0.7082953453, -0.1160087883, 0.4340785742, -0.0664383993, 0.5402659178, -0.4908359945, -0.2090721279, -0.6078503132, 0.3584460616, -0.1399841011, -0.2758584023, -0.2306767702, -0.786490798, -0.1101388633, -0.2813057303, 0.5013911724, 0.2345934659, 0.4307217896, -0.1588686109, -0.5898336768, -0.3097302616, -0.9283803105, 0.6397261024, -0.4893798828, 0.0427446738, 0.580771029, 0.5489556789, -0.1660290211, -0.5070728064, -0.8001235127, 0.0506849103, -0.0909428, 0.1959480643, 0.0594486482, 0.0694657043, 0.048971545, 0.8847358823, -0.6313335299, 0.1270672679, -0.6552836299, -0.1821554899, 0.667519331, -0.1191501394, 0.3834171593, -0.1121144295, -0.1202590019, 0.1878007203, -0.3524899483, 0.0197548009, 0.5885335803, 0.2849666178, -0.016022779, 0.5860080719, -0.554764092, 0.3565578759, 0.2273239195, 0.0852165297, 0.4197743237, -0.243782267, -0.2897245884, 0.1735242009, 0.8241148591, 0.4036513865, 0.6176742911, -0.0234440286, 0.183873415, 0.5838051438, 0.1525775641, -0.3837880492, -0.1587872207, -0.0533015616, -0.8751448393, -0.5284347534, 0.3457071185, -0.5499178767, -0.4777562916, -0.0652695596, 0.1113419235, 0.1216352507, -0.6994822621, -0.1025307924, -0.2821004987, 0.0422091112, -0.0652466193, -0.5333445072, 0.7130398154, 0.5574808121, 1.0647933483, -0.3810165524, -0.0751026794, -0.3193961084, -0.0387835689, -0.1736849993, 0.8845319748, -0.5555924177, -0.2599757612, 0.0134791052, 0.1112855077, -0.021787148, -0.5134926438, 0.239813596, -0.6000512838, 0.2514291108, -0.3177053034, -0.7274398208, -0.1576642692, 0.5587780476, -0.6386362314, 0.9181507826, -0.045134902, -0.637953639, 0.3850947618, -0.797786057, -0.7065666914, 0.2264134586, -0.0885448679, 0.1400319934, -0.002760048, -0.0840305611, 0.4847348034, -0.1127652526, 0.0078816898, -0.7491517663, -0.32478562, 0.4912901521, -0.0203209594, 0.7486152053, 0.3079509139, -0.4633111954, 0.0893299282, -0.6453977823, 0.162073344, 0.1412279159, -0.4264046848, -0.5705990791, 0.2617537081, -0.0579751953, 0.1950118393, 0.0311974734, -0.6835544705, -0.1183644235, -0.4520552456, 0.5339477062, 0.7321910262, 0.2154314369, 0.4577904046, 0.0314716436, 0.3719204366, 0.0219894778, 0.2788575888, 0.3089013398, -0.7129777074, -0.9515869021, 0.2241428941, -0.0731507465, 0.4926306307, -0.9481034875, 0.8116829395, -0.0447797962, -0.6311129928, -0.1800569594, 0.0838492215, 0.0348967798, 0.1312527955, 0.220627293, -0.8357571363, -0.4351853132, -0.9085731506, -0.3159247339, -0.2268818468, 0.0317435116, 0.0021226816, 0.1920746565, -0.3633404374, 1.0267766714, -0.5776546597, -0.2826987207, -0.3263947964, 0.2981820703, 0.2461693436, 0.3360337615, 0.2041674405, -0.8791524172, -0.779055357, 0.2564653754, -0.6914055347, 0.0587647222, 0.5429599285, 0.100346528, 0.1375504136, 0.342520535, -0.1557519883, 0.4662306905, 0.4986514747, -0.2574262917, 0.3379748464, -0.0435841605, 0.2672040761, -1.2001576424, -0.262902528, 0.290872246, -0.1949852258, -0.7830789089, 0.2146776319, -0.4375489056, 0.1856828332, -0.0542524867, 0.1491434574, -0.4898522496, -0.3149106205, -0.5355699658, -0.0281083751, -0.1481958181, 0.4077777863, 0.0069437344, 0.1100964472, 0.4950523973, -0.7354565859, 0.5747387409, -0.1450675726, -0.4735829532, 0.844303906, -0.5091650486, 0.3610856831, -0.2213875502, 0.4585762322, -1.0719765425, -0.356985718, 0.273065418, -0.3983129859, -0.4459196329, -0.2297251523, -0.6671488285, -0.4942620397, -0.1687100828, 0.5756378174, 0.2779653668, -0.3086664677, 0.5263882875, 0.7246599197, 0.1931044012, -0.0636782944, -0.7991309166, -0.0672119856, -0.5743265152, -0.771897316, 0.1421907097, -0.1711016297, -0.3850902319, 0.1095749661, 0.1871214807, -0.5660418868, 0.2425793111, 0.2721746862, -0.2013252825, -0.329646498, 0.1379106641, -0.0308586489, 0.1108599454, -0.0119743738, -0.0704201981, 0.6366025805, -0.3615264595, -0.4033409357, -0.0396935791, 0.4886889458, 0.3669643402, -0.3764169812, 0.8390873671, 0.8405560851, -0.6706413031, -0.301687479, -0.7602826953, -0.1897988319, -0.547097981, 0.1191227809, 0.0192460045, -1.2143559456, 0.8078671098, 0.0622709468, -0.2238094211, 0.4130592942, 0.4143953025, -0.0805928037, 0.8515812159, 0.5394448638, -0.203174457, 0.056364812, -0.0366332531, 0.6184911132, -0.386464268, 0.2198226303, -0.5818363428, -0.7164204121, -0.9313520789, -0.2859644294, 0.4563576877, -0.1008808762, -0.0166138876, 0.3787678778, -0.4978759587, 0.8363486528, 0.5482288003, 0.0399192721, 0.5581207871, 0.2723358572, 0.0413188003, 0.177800864, -0.4238259494, -0.339826405, 0.5083019733, 0.228305161, 0.3834513724, 0.2550402284, 0.5989102125, 0.6249037385, 0.5393304229, -0.805701375, 0.5503413677, -0.1857613176, -0.7263604403, -0.2692744732, -0.4649924636, -0.8881847858, 0.196772173, -0.4043534994, -0.8426355124, 0.1508692205, 0.0786577761, -0.1736598313, 0.4163145125, -0.6552678347, 0.7616776824, 0.0496783406, 0.0354013816, -0.4865597188, -0.5825281739, 0.4030639231, 0.0011853409, 0.5350708961, -0.1712861657, 0.5474944711, 0.6628335714, -0.2115029544, 1.0786168575, 0.0400695689, 0.376352191, 0.5295778513, 0.3109589219, 0.1460055113, -0.2509438694, -0.0127674434, 0.1958031356, 0.1584713012, -0.0946861953, -0.5349652171, 0.7849233747, -0.6853474379, -0.23839131, -0.1669931263, 0.0802334994, -0.0319604836, 0.1330590099, 0.2744201124, 0.4188117683, -0.2409425229, 0.0953641832, 0.3540218472, -0.0310627595, 0.3366118371, 0.3065484464, -0.4137825966, -0.4086586535, 1.1263399124, 0.2562977672, 0.2600087821, 0.2325896919, 0.487516135, -0.1209763438, -0.4967090786, -0.1193362772, 0.1453521103, -0.8560138941, 0.1840824634, -0.4439066947, -0.2303945869, -0.4252074063, -0.1224095225, -0.0299558043, -0.171331659, -0.0325559899, -0.2430233657, -0.004517863, 0.9679891467, 0.1487231404, 0.3795878589, -0.7259375453, 0.0621482134, 0.309948504, 0.625995934, 0.1841862798, 0.0857871696, -0.2368738055, -0.1311069876, -0.1620443016, -1.1682293415, 0.125271067, 0.240234077, 0.4615046978, 0.5671718121, -0.0003001772, 0.605858922, -0.0749607459, 0.6878176332, 0.0682629868, -0.7154759765, 0.3766038716, -0.3890092075, -0.09107963, 0.7607263327, 0.4140966833, -1.0078030825, -0.4250579178, -0.5679862499, -0.6514831781, 0.3526169062, 0.3122724593, -0.0601930134, -0.4437176287, 0.2867262363, -0.0378384329, 0.3305223286, -1.0661934614, -0.3744309247, -0.0367068462, -0.1601676643, -0.0147331711, 0.0598684475, -0.0670175925, -0.1807216853, 0.4115117192, -0.3763387799, 0.1202903762, 0.2173728496, -0.0460781083, -0.4458192885, 0.0152119324, 0.2970645428, 0.8739926815, 0.05513978, 0.3447606266, 0.0049971063, -0.2680835128, 0.1070596948, -0.4470883608, -0.1143989861, -0.1499311477, 0.3069042265, 0.4574551582, -0.1720831692, -0.3090128005, 0.5149341822, -0.2483918518, -0.0260984916, -0.7097593546, 0.0749263018, 0.1225661337, 0.016942909, 0.5034818649, 0.2497667372, 0.367811501, -0.6888248324, -0.0207603332, 0.3444672525, -0.6155785918, -0.4065895379, -0.0488932393, 0.3443467319, -0.5504502654, 0.3690367043, -0.5664372444, -0.6599146128, 0.7949048281, 0.3926593661, 1.0589799881, -0.1945380718, 0.5301330686, 0.3740501702, 0.4816910923, -0.0458875187, -0.0210464392, 0.130778566, -1.339381218, -0.6643174887, -0.8967548609, -0.1047457606, -0.1660680473, -0.682787776, -0.0411919281, -0.6294646263, -0.2867501676, -0.1398458183, -0.2762397528, -0.4101932049, 0.2478220165, 0.1076743305, 0.7598944902, -1.169154048, 0.4944777191, 0.8220733404, 0.0521450602, -0.578166008, 0.1019362584, 0.17561014, -0.4230621755, 0.4179725945, 0.4847767949, -0.0105689894, 0.0196906794, -0.3801491559, -0.8340976834, 0.7709350586, -0.2043664902, 0.0157087427, 0.414981395, 0.1394816786, 0.8439749479, -0.4436663985, 0.2612304389, 0.3864883482, 0.4010373652, 0.0914283395, -0.9315550327, 0.0071395189, -0.5697344542, -0.1182495654, 0.2581268847, -0.5797439814, 0.6340279579, 0.4617301822, -0.3583341837, -0.3606152833, 0.7832180858, 0.2222824395, 0.4632256031, 1.1345796585, 0.2907039523, 0.7835177183, 0.0568885393, 0.9076113701, 0.0325731263, 0.2582133114, 0.6223328114, -0.3023329079, 0.6836518645, 0.3345967531, -0.3517887294, 0.8666735291, 0.9610428214, 0.0107765337, 0.1677241474, 0.4242989719, -0.2782689333, -0.2410642058, -0.3567840159, -0.180291146, 0.388579011, 0.1464845985, -0.2987119555, 0.00155653, -0.2250573337, -0.349960655, 0.3500317335, -0.5945840478, 0.7176015973, 0.1182476208, -0.7290021181, -0.0737744123, 0.4239820838, 0.8637905121, -0.4573208392, 0.2233051509, -0.1095104739, 0.025027737, -0.4451850951, -0.4849954247, 0.5836915374, -0.2475348115, -0.1921456456, 0.1612464041, 1.0671098232, -0.2293593138, -0.749576807, 0.5606222153, 0.5437634587, 0.2071422786, -0.1766416728, -0.380058378, -0.2728529871, -0.1496707648, 0.0816399828, 0.3118861914, 0.0727848858, -0.335937798, 0.4045386612, 0.8107357621, 0.1381946355, 0.458571285, 0.128466174, 0.513389647, -0.5004175305, -0.991026938, -0.9758608341, 0.1252408177, -0.4639981985, -0.2556191087, 0.8885393143, 0.3442002833, 1.0290697813, 0.1059337929, 0.8120210767, -0.4069925547, 0.3455618918, -0.1970544606, 0.5988241434, -0.2650543451, -0.1817752719, -0.3079549074, -1.0407762527, -0.1243503392, 0.5722993016, -0.2294621319, 0.0883452594, 0.7743545771, 0.7193894386, -0.197561115, 0.6487836838, -0.0389248207, 0.1954982877, 0.2229803801, 0.0829275027, 0.8910818696, -0.0335980207, 0.2058879584, -0.5289214253, -0.4587003589, 0.0698167309, -0.8219724298, -1.1515479088, -0.594142139, -0.2727680802, -0.3485501707, -0.6050127149, 1.1700389385, 0.497581929, -0.884693861, -0.6109130383, -0.0162439253, 0.2068503499, -0.4857729673, -0.3591741323, 0.0044035441, 0.2362125218, -0.4463031888, 0.5436302423, 0.3703295887, -0.2258275896, -0.6932225227, -0.02337569, -0.2299963236, -0.1717305332, 0.6484315991, 0.1753295809, -0.5743806958, -0.3641044497, 0.0612884313, 0.2184924185, -0.0137659283, 0.8343795538, -0.3092913628, 0.458081305, 0.6535030007, 0.5863270164, 0.4157454073, 0.0999141261, 0.538336575, -0.7983745337, -0.3058587015, 0.0242426861, 0.2684012651, 0.4205381274, -0.4555498958, 0.4439101219, 0.7716304064, -0.4333361983, -0.6000871658, 0.3454031646, -0.8551303148, -0.1216022149, 0.9696011543, 0.0948983356, -0.3242388666, -0.4257035851, 0.0886208862, 0.3379265964, 0.0066378135, 0.8945497274, 0.6325502396, -0.0298571717, 0.2031583041, -0.280703485, 0.0448462069, 0.0082212789, -0.8384763002, -0.5493208766, 0.2007445097, 0.3626976311, 0.6141674519, 0.8549194336, 0.1999287754, -0.0492693037, -0.7909692526, 0.0345482491, 0.1769213229, 0.0486078747, -0.1884833723, 0.7014272809, -0.2220107764, 0.1138939112 ]
http://arxiv.org/abs/2406.17104v1
http://arxiv.org/pdf/2406.17104v1
Automated Adversarial Discovery for Safety Classifiers
2024-06-24T19:45:12
2024-06-24T19:45:12
Yash Kumar Lal, Preethi Lahoti, Aradhana Sinha, Yao Qin, Ananth Balashankar
cs.CL
cs.CL
Safety classifiers are critical in mitigating toxicity on online forums such as social media and in chatbots. Still, they continue to be vulnerable to emergent, and often innumerable, adversarial attacks. Traditional automated adversarial data generation methods, however, tend to produce attacks that are not diverse, but variations of previously observed harm types. We formalize the task of automated adversarial discovery for safety classifiers - to find new attacks along previously unseen harm dimensions that expose new weaknesses in the classifier. We measure progress on this task along two key axes (1) adversarial success: does the attack fool the classifier? and (2) dimensional diversity: does the attack represent a previously unseen harm type? Our evaluation of existing attack generation methods on the CivilComments toxicity task reveals their limitations: Word perturbation attacks fail to fool classifiers, while prompt-based LLM attacks have more adversarial success, but lack dimensional diversity. Even our best-performing prompt-based method finds new successful attacks on unseen harm dimensions of attacks only 5\% of the time. Automatically finding new harmful dimensions of attack is crucial and there is substantial headroom for future research on our new task.
[ -0.4010512531, -0.7975341678, 0.5069861412, 0.0417327322, 0.1941904724, 0.2165133357, 0.1671458781, -0.2949511111, 0.0138927912, 0.2429205328, -0.4342617691, -0.8107260466, -1.0221601725, -0.0912413225, -0.3096238375, 1.1126031876, 0.2131308764, -0.1164077744, -0.0488984175, -0.0297257137, -0.3868460357, -0.7450447083, -0.8762315512, 0.0919149071, 0.9741901755, 0.4287303686, 0.8602351546, 0.6286793947, 0.8453853726, 0.3833814561, -0.3853531182, -0.0089947907, -0.3910732865, 0.2180945873, -0.0670511425, -0.4075393677, -0.2501169443, 0.110659264, 0.1645958573, 0.5982978344, 0.1695571095, -0.1015941352, 0.0646534264, 0.729156971, -0.8972521424, 0.0385255851, -0.7579878569, 0.3819882274, -0.2006260753, -0.2280685008, -0.4771069586, -0.5660531521, 0.1055267751, -0.3645446301, 0.3790221512, -0.0870091021, 0.4242554009, 0.507379353, -0.8602201939, -0.4547341466, -0.7347974777, 0.5924891233, -0.2404986769, -0.0303131472, 0.0648400784, 0.5584017634, -0.6248782277, -0.5301733613, -0.1423866004, -0.5052488446, 0.0373535715, -0.1176410168, -0.2801109552, 0.1278496236, 0.3931920528, 0.1716455817, -0.5364948511, 0.1417284161, -0.2572096586, -0.3651892245, 1.0845217705, 0.3495195508, 0.433175534, -0.0300671048, -0.435056299, -0.3585407138, -0.5755818486, 0.0872382522, 0.749440968, 0.274618268, 0.0649917871, 0.267637521, 0.0290514603, 0.1573956311, -0.073718071, 0.0095753754, 0.1513833851, -0.2852987647, 0.0878187716, 0.2115917355, 1.0192705393, 0.2192467749, -0.1972601116, -0.0782402158, -0.0784181133, 0.2989522219, 0.5816654563, -0.5844417214, -0.8493897319, 0.0171823781, -0.2616954148, -1.0127339363, 0.0007194681, -0.7714191079, -1.1663452387, 0.3370958567, 0.6102394462, -0.3635369241, -0.0467706956, -0.1220333204, -0.5494099855, -0.1161229461, 0.291215837, -0.4685449898, 0.0243702903, 0.3224665225, 0.7413004041, -0.1732482314, -0.1158047095, -0.6255962849, -0.2357827127, -0.4391306639, 0.8405085802, -0.2936815321, -0.6344242692, -0.1493266225, -0.0740315691, -0.0061791674, -0.5343176723, 0.838139832, -0.4223176539, 0.1450609863, -0.5163208246, -0.2716997564, -0.3815027177, 0.3244650662, -0.7975728512, 0.5291736722, -0.0683686361, -1.0133976936, 0.3633458614, -0.8960422873, -0.6047008634, -0.1432088017, 0.0377504677, -0.785797298, -0.0230143983, 0.0621331483, 0.320174247, -0.1422194093, -0.1087225303, -0.7113263011, -0.2323645949, 0.2776623964, -0.5944378376, 1.1187186241, 0.2446288466, -0.5772978663, 0.3403350115, -0.7521612644, -0.0398331396, 0.3771561384, -0.3768159747, -0.2057970166, 0.3102266788, -0.0742665157, 0.1990679204, 0.2017516494, -0.6363744736, -0.1042727008, -0.1378842592, 0.1327868551, 0.9383708239, 0.2480172217, 0.1366394013, -0.458738178, 0.5042872429, 0.1645121723, 0.5539060235, 0.1068228483, -0.4477905929, -0.720331192, -0.0744926259, 0.1549666673, 0.7152011991, -0.6026764512, 0.6372654438, 0.1112651601, -0.9248104692, -0.0190378521, -0.060110569, 0.4753377736, 0.2945488691, 0.425447017, -0.2777594328, -0.4095493257, -0.8110278845, -0.2981184423, -0.3689229786, -0.0607609861, 0.3176426589, 0.3987943828, -0.6114605665, 0.4657816291, -0.5522748828, -0.2661638558, 0.1663642824, 0.2611667812, -0.4834387898, 0.4004784226, 0.6889181137, -0.7556801438, -0.3670643866, -0.16474244, -0.9451647401, 0.0905417129, -0.0047482871, 0.0640750751, 0.1056949422, 0.3437289894, -0.1878908873, 0.2093758285, 0.3168936968, -0.2652049959, 0.3418007791, 0.0400819965, 0.1359531879, -0.7162060738, -0.1565022618, -0.0910241306, 0.1182438284, -0.9915635586, 0.0815324858, 0.0389256515, -0.1192089915, -0.6097827554, 0.0931137055, -0.1264065653, 0.2376120239, -0.2348626405, -0.0370359831, -0.221949771, 0.3203598261, -0.5313491821, 0.3193061054, 0.7585314512, -0.6566546559, 0.5188111663, -0.0647826567, 0.2338842601, 0.436181128, -0.5083550215, 0.1602350324, -0.2268852443, 0.358622998, -0.8971552849, -0.4169313908, 0.4410165548, -0.5226130486, 0.3728982508, -0.0381624177, -0.2476190478, -0.4591378868, -0.684471488, 0.2378847301, 0.2379909754, -0.7338504195, 0.410720259, 0.6383653283, -0.1029425487, -0.7403238416, -0.3618150353, 0.2737412453, -0.4675628543, -0.6765303612, 0.0120592369, -0.2030420303, -0.3195972443, -0.2259473354, -0.1918887198, 0.0908903852, 0.6774641871, 0.5587605834, 0.0087150075, 0.1056886688, -0.0334628895, -0.1968152225, -0.1361295581, 0.6887976527, -0.0485212728, 0.2914506197, -0.2822578847, -0.429816097, -0.3752045929, 0.4024289548, 0.5783955455, 0.0283943154, 0.5169979334, 0.5339738727, -0.3799264133, -0.1014445648, -0.2310215831, 0.0344635136, -0.5541505218, 0.4558004737, 0.1256367266, -0.727837503, 0.393145293, 0.0423772149, 0.3046429157, 0.8566148281, 0.1523400396, 0.0227879733, 1.5092946291, 0.5385167599, -0.2154403627, 0.2990731895, -0.1104661971, 0.2172463387, -0.2625796795, -0.3648028672, -0.5061603785, -0.3587945104, -0.9574962854, 0.0666737035, 0.765363574, -0.1520441324, -0.4684584737, 0.2219928205, -0.5327779651, 0.2825753391, 0.7632685304, 0.3355492353, 0.0504541807, -0.1488127857, 0.1541241407, 0.2112789303, -0.6119003892, -0.3718977571, 1.2459111214, 0.5110346079, 0.7406867743, 0.2530436516, 1.0258764029, 0.3537360132, 0.538782239, -0.7255498767, 0.6359388232, -0.2868688703, -0.6572332978, -0.3221675456, -0.5563200712, -0.9815021753, -0.0148501508, -0.2628838122, -0.1307348311, -0.0660198405, 0.4172740579, -0.3598608971, 0.4585118592, -0.6668727398, 0.7077818513, -0.5049909353, 0.0115095153, -0.0752381235, -0.8201525211, 0.464264065, -0.2647899091, 0.1021377966, 0.1621123403, 0.3423049748, 0.6926220655, -0.3134464324, 0.9343700409, -0.4997063279, -0.2281111628, 0.2753897011, 0.0928123668, 0.6342892051, -0.1358593106, 0.2109482735, 0.0011663387, -0.3664990664, -0.3328583241, -0.3958576024, 0.6485328674, -0.6003362536, -0.721350193, -0.7409945726, -0.5622124672, -0.0686332956, 0.103996329, 0.3979799151, 0.0212698672, -0.3530305922, 0.2366323322, 0.9619494081, -0.5842751861, 0.4265436828, 0.376101613, 0.4141342938, -0.3917325437, 1.1932941675, 0.1450164467, 0.1086441875, 0.2486490458, 0.2502208352, -0.1552888155, -0.7017349601, -0.1414175183, -0.3587217927, -0.73607409, -0.3081757128, -0.6795946956, -0.4821159542, -0.4296147525, -0.1849699169, -0.2324762195, -0.2642202377, -0.1234758347, -0.1411778182, 0.3589763045, 0.8625468016, -0.2270214409, 0.1295015961, -0.7986243963, 0.1159165427, 0.6501950622, 0.0631534681, -0.3462125659, -0.0974384248, 0.0338252522, 0.2000572979, -0.8132776618, -0.8794089556, 0.2791678309, -0.1304444522, 0.4264512062, 0.5830709338, 0.4588846862, 0.157216385, -0.289506495, 0.7886471152, 0.2148890942, -0.5064097047, 0.6628630757, -0.3752388358, -0.0908114314, 0.3664905727, 0.65599823, -0.221940577, -0.5583602786, -0.9368398786, -0.7077739239, 0.2124612182, 0.3164238036, -0.0885551274, -0.2008421868, -0.0874297917, -0.0464427583, -0.0395888574, -0.5568005443, -0.5700697303, -0.2367249727, -0.0578286275, -0.0932705998, -0.1674213409, -0.4378903508, 0.2456997633, 0.6367906332, 0.1250538379, 0.1649051011, -0.0519669168, 0.1521607935, -0.2338783145, 0.3875358105, 0.3619498909, -0.0886711851, -0.0700542107, 0.4558823109, 0.4057715237, -0.6073223948, 0.3229308426, 0.5837153792, -0.1517022252, -0.2449543476, 0.3677814305, 0.4391873479, -0.1525460333, -0.4981316328, 0.5939350724, -0.3014602065, -0.3961618245, -0.5811052322, 0.6756911278, -0.3696524799, 0.3323097527, 0.191310063, 0.5145691633, 0.5026822686, -0.4889276326, 0.3836091161, 0.8040198088, -0.428368032, -0.0940416604, 0.8137837648, 0.2436733544, -0.3317949474, 0.1174536496, -0.3789449334, -0.7000755668, 0.8455799222, 0.1607015878, 1.0116285086, -0.5035023689, 0.221424818, 0.2548673749, 0.4578712285, 0.0447461866, 0.1303165406, 0.1866633892, -0.3596530557, 0.4108343124, -0.3099863827, -0.4755892158, 0.3440069854, -0.5584211946, 0.0288064834, -0.7733534575, -0.1243386343, 0.187585637, 0.0836451575, -0.3650409579, 0.5022797585, 0.0164482109, 0.4588034749, -0.963871181, 0.1785790175, 0.5588809252, -0.1817195714, -0.4403404891, 0.0990243852, 0.6007433534, -0.3459699452, 0.4636266232, 0.3377410173, -0.1217273101, -0.2839406133, -0.5293858647, -0.8280053735, 0.9779176116, 0.2361718863, -0.3713642061, 0.1115649566, 0.1764484644, 0.6502704024, 0.1107095107, -0.0998916775, 0.2262288481, 0.4391979873, -0.0192608777, -0.4756168127, 0.2503032982, -0.4402111769, -0.0793751255, 0.3445344567, -0.5802468061, 0.7669324875, -0.4022848308, -0.3571027815, -0.2365960479, 0.4959262609, 0.1014465839, 0.611133635, 0.8467585444, 0.6245812774, 0.7481196523, -0.0853575915, 0.9106347561, -0.077321656, 0.0364726335, 0.8564746976, -0.0341501199, 0.4438320696, -0.0888887048, -0.0410194322, 0.2748662233, 0.7143242359, -0.273137331, 0.4006131291, 0.3309770525, -0.5548455119, -0.0701272935, -0.0473863631, -0.3040560484, 0.1687777191, 0.261585027, -0.5022985339, -0.2419756651, 0.2141177505, 0.1431100816, -0.0983075127, -0.087094292, 0.7861459851, -0.2799550891, -0.4946071506, 0.5737389922, 0.0317575373, 0.6344527006, -0.3038150966, 0.066739291, -0.0465597622, 0.2353373319, -0.1992538422, -0.6972919703, 0.3146446347, -0.0537431575, -0.0161075033, 0.092812404, 0.6477813125, -0.117725201, -0.313477248, 0.3621240556, 0.0112130633, 0.0104644056, -0.1955817491, -0.4174177051, -0.292999953, -0.0359410644, -0.1516916454, 0.4473361671, 0.3314655423, -0.0214526523, 0.8017941117, 0.5956643224, -0.0959023684, 0.1449739784, -0.0343929306, 0.992860496, -0.6080915332, -0.3471266925, -0.711899817, 0.3470466435, -0.197437793, -0.1834006757, 0.8201804161, 0.4430880547, 0.7582594752, 0.1186075211, 1.0866886377, -0.1485691816, 0.3916472197, -0.2364376038, 0.8153288364, -0.4063574374, 0.4655554593, -0.3006076515, -0.4770045578, -0.559535563, 0.2646463215, -0.1448658258, -0.100500837, 0.7064278126, 0.9702124, 0.2120772749, 0.0581467152, -0.0022938596, 0.2366932482, 0.7453045845, 0.5641469359, 0.8969455361, -0.5096274614, 1.0209401846, -0.4185968935, -0.511115551, -0.0797196925, -0.7482650876, -1.1137006283, -0.3640272021, -0.4658600092, -0.4655146301, 0.308704108, 0.5859348178, 0.2601417899, -0.9046791196, 0.4179172814, -0.353641212, 0.1734570265, -0.0518129654, -0.2878125608, 0.2882656455, -0.4192868471, -0.424829334, 0.4847656786, 0.0745896846, 0.2009285241, -0.3377144635, 0.0202563982, 0.1726351976, 0.0408684984, 0.5791574121, 0.3955614567, -0.3992057443, -0.5601211786, -0.2145794481, -0.2964084744, -0.3330618143, 0.4430383146, -0.2929973602, 0.3354330361, 0.5543394089, 0.7330967784, -0.2880656421, -0.2532411516, 0.4010107815, -0.7075463533, -0.1633914262, 0.3328177333, 0.2447269112, 0.2445180863, -0.7864739299, 0.5173432827, 0.3021366298, -0.6346110106, -0.8308304548, 0.422732681, -0.5285609961, -0.3413713574, 0.9476006627, -0.1254547983, 0.0714114383, -0.1534885019, -0.2197417021, 0.2931594551, -0.166610837, 1.3186169863, 0.2962820828, -0.0618044361, 0.3172508776, -0.2453505546, 0.8157114387, 0.2013839483, -1.0278023481, 0.0200623516, 0.5314336419, 0.1069653332, 0.5808247328, 0.1322185844, -0.1888782829, 0.4563556015, 0.2395795286, -0.2108124048, 0.0530015081, -0.7025131583, -0.2428892851, 0.4142093658, -0.2023128569, -0.3114183247 ]
http://arxiv.org/abs/2406.17095v1
http://arxiv.org/pdf/2406.17095v1
Attention Instruction: Amplifying Attention in the Middle via Prompting
2024-06-24T19:35:11
2024-06-24T19:35:11
Meiru Zhang, Zaiqiao Meng, Nigel Collier
cs.CL
cs.CL
The context window of large language models has been extended to 128k tokens or more. However, language models still suffer from position bias and have difficulty in accessing and using the middle part of the context due to the lack of attention. We examine the relative position awareness of LLMs and the feasibility of mitigating disproportional attention through prompting. We augment the original task instruction with $\texttt{attention instructions}$ that direct language models to allocate more attention towards a selected segment of the context. We conduct a comprehensive investigation on multi-document question answering task with both position-based and index-based instructions. We find that language models do not have relative position awareness of the context. Nevertheless, they demonstrate the capacity to adapt attention to a specific segment using matching indexes. Our analysis contributes to a deeper understanding of position bias in LLMs and provides a pathway to mitigate this bias by instruction, thus benefiting LLMs in locating and utilizing relevant information from retrieved documents in RAG applications.
[ -0.2408182323, -0.9147644043, 0.9186295271, 0.1290726215, 0.0509451255, -0.1142828092, -0.0880263895, -0.1845091432, -0.1344916224, 0.3130465746, -0.7421017289, -0.3806592226, -0.7183951735, -0.0225521512, -0.3844552934, 0.8126444817, 0.0592300743, 0.0562088862, -0.4703475237, -0.0227946509, -0.8392193913, -0.6132414341, -0.5902466178, -0.0919947848, 0.5988208652, 0.7147333622, 0.3206036985, 0.5914590359, 0.3212248683, 0.4042828679, -0.1872947216, 0.0423990302, -0.5914544463, 0.2147722989, -0.299348712, -0.8431338668, -0.2878175378, 0.1494895369, 0.9563145638, 0.7380460501, -0.0823202282, 0.1501897126, 0.05334628, 0.9361568093, -0.687754333, -0.1840616167, -0.6662381291, -0.136159122, -0.2878800333, -0.4083079994, -0.5637738109, -0.0010156299, 0.333468765, -0.3539049327, 0.3760342896, 0.2869896889, 0.6191424727, 0.5276682973, -0.3148342371, -0.3019595444, -0.5158769488, 0.9681221247, -0.2181728631, 0.3291612864, 0.4348543286, 0.1634146869, -0.0978399068, -0.279428333, -0.4241317809, 0.0889472067, 0.002854693, 0.1142544076, -0.026624795, 0.1257421225, 0.4774365127, 0.0525849611, -0.3880561888, 0.0181489121, -0.2740405202, 0.0444967113, 0.0921411961, 0.1656636894, 0.3219045699, 0.0535474345, -0.4526794851, -0.1091260687, -0.6394541264, 0.0710659102, 0.1863438785, 0.0471945852, -0.1110074669, 0.5223678946, 0.068113111, 1.036488533, 0.5023084283, -0.2133552283, -0.1807726026, -0.1674336791, -0.343652457, 0.1569446921, 0.0652009398, 0.4171954095, 0.0801785737, -0.0423624963, 0.0073667266, -0.348112613, 0.5368853807, -0.3842802346, 0.4511063099, 0.221593678, -0.3390509784, 0.128634572, -0.099991776, -0.6503689289, -0.3412756026, -0.4272470474, 0.1910704225, -0.1155155078, 0.3220894039, 0.01250936, -0.1431334764, 0.5497068167, 0.4451456368, -1.2468781471, 0.113336958, 0.8317058682, 0.7146933079, -0.1727511436, -0.3019668758, -0.4445374906, 0.5826248527, -0.2176245451, 0.8773286939, -0.725515008, -0.4081557691, -0.1319741905, 0.2166322917, -0.4546280503, -0.3409728408, 0.348826021, -0.6544168591, 0.5483699441, -0.4637845755, -0.5508075356, -0.1893789917, 0.4870129824, -0.5022750497, 1.0750069618, 0.1904014498, -0.8937610388, -0.1604295969, -0.7755653262, -0.3984089494, -0.2848179638, -0.1325575262, -0.0350330546, 0.1656913608, 0.4444228113, 0.4011297822, -0.2215404958, -0.1527076066, -0.0263256729, -0.6155264974, 0.3952476084, -0.4992887676, 0.5332250595, -0.0686383024, -0.2896347046, 0.1327711195, -0.3478185534, -0.3603676558, 0.0657435954, -0.3893468976, -0.6680446267, -0.2582954168, -0.4762834311, 0.0965695605, 0.3770236373, -0.1904158145, 0.2537820935, -0.4957599044, 0.1714990735, 0.9695256948, 0.1335015446, 0.9237701297, -0.292237699, 0.7717384696, -0.0876639113, 0.2566684783, -0.3163237274, -0.2369718105, -0.8751520514, 0.0605105981, 0.0595276542, 0.6507197022, -0.5641354322, 0.0196411423, -0.0640087277, 0.0451193042, -0.5986276865, 0.0743787065, 0.6303957701, 0.8530198932, 0.0986451134, 0.0310770106, -0.3930578828, -0.9726188779, -0.0281397235, 0.0681308508, 0.1279518902, 0.3665681481, -0.0013768482, 0.0022637532, 0.6067543626, -0.6131022573, -0.1303563416, -0.2769839764, -0.2436655462, 0.2340595871, 0.103004016, 0.4042795002, -0.7621603012, -0.639923811, -0.4217630625, -0.4127241969, -0.2411308587, -0.125422433, -0.5339108109, 0.222753793, 0.8587683439, -0.5515046716, 0.1117355227, 0.4209648371, -0.0645881444, 0.415255338, -0.2773516476, 0.0978367254, -1.2064665556, 0.0857887268, 0.0333314128, -0.183284238, -0.7077899575, -0.118713893, 0.121098347, 0.028798962, -0.5687514544, 0.8352924585, -0.8762018681, -0.2813960016, -0.6161217093, 0.4874592721, 0.2707140148, 0.5213375092, -0.0523186512, 0.970662415, 0.4625233412, -0.6173294783, -0.0525799058, 0.2785220444, -0.21173805, 0.8889524341, -0.5028024912, 0.3766456842, -0.4479735792, 0.1466570646, -1.1381804943, -0.1849534661, 0.2587762177, -0.3231086433, 0.7740116119, -0.1897267252, -0.0833215117, -0.3558322787, -0.46275267, 0.1543638259, 0.1707298309, -0.3391141891, 0.296351254, 0.5853752494, -0.4184478819, -1.1276506186, -0.5540151, -0.1734450459, -0.3095525205, -0.4437685907, 0.3370928764, -0.1046010777, -0.3789272606, -0.1147216558, -0.2769002616, 0.1169174612, 0.1780395806, 0.1995684952, 0.4276147187, 0.0433374792, 0.328261584, -0.0640914813, -0.2675944567, 0.0241888072, -0.2553313673, 0.370015949, 0.174477607, -0.5088819265, -0.3833097816, 0.558496058, 0.5391764045, 0.0210016705, 0.6502500176, 0.3438068032, -0.2624944746, -0.1730938405, -0.7498892546, -0.385795325, -0.5005794764, 0.4068713188, -0.164468646, -0.9984439015, 0.2562867999, 0.0922517329, -0.0122416327, 0.0882158875, 0.6751654148, -0.29788661, 1.077119112, 0.7934116125, -0.3891017437, 0.8554013371, 0.0502703153, 0.2197595835, -1.2999490499, -0.0066834092, -0.7452629209, -0.5203793049, -0.1566966921, -0.6213526726, 0.5148671269, -0.0516061857, 0.1562764943, -0.1867276281, -0.7689931393, 0.8011738658, 0.6725662351, 0.0797030032, -0.1496663839, 0.0652947724, -0.1754125059, -0.0576976947, -0.8010123968, -0.5330459476, 0.7233177423, 0.3330720663, 0.6723616719, 0.0094908085, 0.4506888986, 0.029364638, 0.2889049649, -0.7549133301, 0.54888767, -0.0978401303, -0.7430871725, -0.5143677592, -0.0087195234, -0.9762313366, 0.1987318844, 0.3101350963, -0.9413850307, 0.1432916522, -0.0022283373, -0.5344289541, -0.1046592817, -0.9863396883, 0.7570312619, -0.1666576862, -0.6093327999, -0.0872030184, -0.7337598205, 0.2030864209, 0.2605801523, 0.3336284161, -0.1514429152, -0.1438454688, 0.681851685, -0.2396608293, 1.1064432859, -0.4297937751, -0.1700036228, 0.3847540915, -0.2660488486, 0.6478952169, -0.2003786713, -0.1291052699, -0.4718541801, -0.2595170438, -0.4104599953, -0.6582788229, 0.7806072235, -0.4971555471, -1.28066957, -0.3026700616, -0.9883344769, -0.4048169553, 0.1261595935, -0.016200399, 0.2115000784, 0.0925195366, 0.076755017, 1.09370327, -0.1498618126, 0.5161207914, 0.647708714, 0.2882882953, 0.0896131694, 0.6025685072, -0.0158929639, 0.1412564069, 0.7348592281, 0.2869656682, -0.7240813375, -0.5234386921, -0.372618258, 0.2711710334, -1.0485371351, 0.0757156387, -0.7165568471, 0.0095761269, -0.3787053227, -0.4505620301, 0.0438843593, -0.3623729348, -0.2543830872, -0.1325645149, 0.2042129338, 0.5448769331, 0.306529969, 0.529086709, -0.9013501406, 0.1392527521, 0.4497154951, 0.006619459, 0.3133513331, -0.6886375546, -0.3627298772, -0.1474282593, -0.277964741, -0.9095704556, 0.1882921159, -0.0979026929, 0.9566799998, 0.2781004906, -0.0711622238, 0.649985671, -0.6314584613, 0.6919736862, -0.0558778271, -0.8321318626, 0.5656796098, -0.1667460948, 0.8149292469, 0.49414289, 0.4164238572, -0.6578575969, -0.4159162641, -0.4184548259, -0.6543203592, 1.1735919714, -0.3252852559, 0.292006582, -0.0720113516, 0.5882040262, -0.1574708223, 0.0546783917, -0.5197100043, -0.0710468441, 0.3062627316, -0.4349414706, 0.121988073, -0.5842549801, -0.3516684473, -0.0148114022, 0.6213622093, -0.127508536, 0.3529916704, 0.3241457939, -0.1275458783, -0.063004598, 0.3765322566, 0.9393265843, 0.7023027539, 0.0338773504, 0.2574441135, 0.2535029352, -0.5005696416, 0.1982195079, -0.0364215448, -0.4006694853, -0.1258214712, 0.1586379111, 0.8412589431, 0.4846796393, -0.3424507976, 0.4839933813, -0.0337969698, 0.1935040951, 0.0696723983, 0.1295801848, 0.4008671641, 0.3227005899, 0.4105693996, -0.472589463, 0.0638967827, -0.3723504841, 0.047381144, 0.5660890341, -0.5300344229, 0.0094739879, 0.6107851267, 0.2088512033, -0.208416909, 0.3386977017, 0.2345262468, -0.5392078757, 0.7301857471, 0.6163387299, 0.7092797756, -0.4433724284, 0.0292032603, 0.1876698434, 0.2823091149, -0.0393746942, 0.2867503464, -0.1742902547, -0.6195957661, -0.413621515, -0.3409726918, -0.557448864, -0.1422731578, -0.4304926991, 0.0948061123, -0.3459299505, -0.0807484984, 0.0818381757, -0.1299831569, -0.3825468421, 0.0441647246, 0.1037186831, 0.7464455366, -0.4821407497, 0.8653454185, 0.8510140777, -0.0719188377, -0.6510608196, 0.1774657518, 0.2070715129, -0.9901491404, 0.3846128285, 0.3895836473, -0.2265253365, 0.0995795354, -0.6516869068, -0.8403276205, 1.0380034447, 0.2555080652, -0.638666153, -0.1982435584, -0.0661260933, 0.3078765869, -0.2993994951, 0.204289794, 0.34924227, 0.4829801619, 0.1057301834, -0.4954795539, 0.0972581953, 0.0565121286, 0.055914104, 0.1370636821, -0.8091214299, 0.6509248018, -0.3088014424, -0.2629103363, -0.3617339134, 0.2989284694, 0.4131685495, 0.4280902445, 0.5215046406, 0.2777038813, 0.8396982551, 0.0118334601, 1.3110672235, -0.330703944, -0.1051817909, 1.2238169909, -0.4394963682, 0.63432163, 0.8813953996, -0.1250017881, 0.3197522461, 0.6082883477, 0.3424390852, 0.5866183043, 0.0608783402, -0.299041599, 0.0994998068, -0.2711975276, -0.1474131346, 0.1709745228, 0.6225994229, -0.3600012958, -0.1878184527, 0.0468448959, -0.0807559416, 0.1504411995, -0.4062623978, 0.8135949373, 0.2076663226, -0.9422029257, 0.518014431, 0.0372157656, 0.4337096214, -0.5884556174, -0.0330459327, -0.3246769905, 0.1310586631, 0.0469324104, -0.7277188897, 0.301990062, -0.0588968247, -0.7382856607, -0.4067934155, 0.8899941444, -0.5085933208, -0.2216091603, 0.0857939348, 0.4585162401, 0.1563117504, 0.0024487874, -0.7874027491, 0.0386453234, 0.1242258921, -0.3522817791, 0.4961622059, 0.628600955, -0.3439106941, 0.609102428, 0.6394692063, -0.3280702829, 0.1993222088, 0.2839612067, 0.6587045193, -0.5365470052, -0.549172163, -0.8337608576, 0.4202514589, -0.1902183741, 0.0735187307, 0.9123407602, 0.1433732957, 0.6690786481, -0.1976885051, 0.684319973, 0.2310495526, 0.7170220613, -0.6173758507, 0.4183993042, -0.4703305364, 0.3764854968, -0.097198315, -0.9560061693, -0.1737495065, 0.4644849002, -0.6868132949, 0.0365914218, 0.770388782, 0.9108693004, 0.0510923713, -0.2948984504, 0.3584846556, 0.1112583429, -0.0616169088, 0.685431242, 0.8704047203, 0.0070080962, 0.4511198103, -0.0754150376, -0.3141055107, -0.5093535781, -0.7286862135, -0.7910814285, -0.344668597, -0.0368864983, -0.0450589731, 0.1462909132, 0.6272420287, 0.6591340899, -0.5569852591, -0.0751280934, 0.0974823907, 0.6167836785, -0.1522524059, -0.200130567, 0.5400022864, -0.4397825897, -1.1316730976, 0.6111831665, 0.6047846675, 0.2451981902, -0.357951045, 0.0581296198, -0.6753898859, 0.1854058206, 0.5767342448, 0.2483262718, -0.6370508075, -0.2045204192, 0.4094660878, -0.5352965593, 0.1240272671, 0.7889287472, -0.212648958, 0.4010018408, 0.6387942433, 0.7048738599, 0.3250519335, 0.3786236048, 0.6076635122, -1.2338529825, 0.4647816122, 0.0167776532, 0.2393580973, 0.4816382527, -0.7039784789, 0.4324771762, -0.0544069223, -0.6025980115, -0.6068967581, 0.0056307814, -0.8373473287, -0.4244051874, 1.1492114067, -0.0184799619, -0.7118377686, -0.268843025, -0.6257616878, 0.2545680702, -0.3013031483, 0.8875598907, 1.0389977694, -0.1469148993, -0.4881843328, -0.8206623793, 0.3073097169, 0.8504785895, -0.7334353328, 0.1500658244, 0.4975431859, 0.0951651186, 0.0706019849, 0.8125023842, -0.1641141921, 0.2131386846, -0.2861433923, -0.0167124402, 0.1427048147, -0.393994987, -0.4573529959, 0.2061806619, 0.1240644306, -0.350858748 ]
http://arxiv.org/abs/2406.17055v2
http://arxiv.org/pdf/2406.17055v2
Large Language Models Assume People are More Rational than We Really are
2024-06-24T18:15:27
2024-07-01T17:29:54
Ryan Liu, Jiayi Geng, Joshua C. Peterson, Ilia Sucholutsky, Thomas L. Griffiths
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
In order for AI systems to communicate effectively with people, they must understand how we make decisions. However, people's decisions are not always rational, so the implicit internal models of human decision-making in Large Language Models (LLMs) must account for this. Previous empirical evidence seems to suggest that these implicit models are accurate -- LLMs offer believable proxies of human behavior, acting how we expect humans would in everyday interactions. However, by comparing LLM behavior and predictions to a large dataset of human decisions, we find that this is actually not the case: when both simulating and predicting people's choices, a suite of cutting-edge LLMs (GPT-4o & 4-Turbo, Llama-3-8B & 70B, Claude 3 Opus) assume that people are more rational than we really are. Specifically, these models deviate from human behavior and align more closely with a classic model of rational choice -- expected value theory. Interestingly, people also tend to assume that other people are rational when interpreting their behavior. As a consequence, when we compare the inferences that LLMs and people draw from the decisions of others using another psychological dataset, we find that these inferences are highly correlated. Thus, the implicit decision-making models of LLMs appear to be aligned with the human expectation that other people will act rationally, rather than with how people actually act.
[ -0.3500930071, -0.7134812474, 1.1009253263, 0.2799384892, 0.1362010092, 0.0174703803, -0.3610475063, -0.7395749688, -0.0302827861, 0.1551766396, -0.465693146, -0.1380718499, -0.4899778366, -0.0228424221, -0.1839525998, 0.6692607999, 0.1111780629, 0.3407619298, -0.3282105923, -0.0963490531, -0.2587254941, -0.7422490716, -0.8964016438, -0.742256403, 0.4892758727, -0.0011476196, 1.0798025131, 0.4406031966, 0.1410734355, 0.2573040426, -0.0011225032, -0.1132414788, -0.594225347, -0.0693863109, -0.2926213443, -0.6786918044, -0.333291471, 0.3622855842, 0.5160454512, 0.6500586271, 0.0004580275, -0.0382736884, -0.1575094014, 0.6815881729, -0.4296526313, 0.2375571281, -0.493216455, -0.1083434299, 0.1362413466, 0.017588703, -0.5673199296, -0.2719458342, 0.3449403942, -0.5187197328, -0.0761343241, 0.3909447789, 0.7021496296, 0.3880432248, -0.6337421536, -0.216071263, -0.9801205397, 0.8486804366, -0.6616211534, 0.3018710911, 0.6290141344, 0.1698444337, -0.5155191422, -0.3981586397, -0.7610372305, -0.5505416989, -0.1634702235, 0.0262300968, -0.0174496919, 0.3088679016, 0.6120648384, -0.1059502289, -0.3018191457, 0.2323689461, -0.2907419503, 0.1078216434, 0.7816396952, 0.2507374883, 0.2135321498, 0.0623743162, -0.4017364085, -0.0361875109, -0.8016508222, 0.147065416, 0.2551718056, 0.041995395, -0.0362442471, 0.6262640953, -0.0099423127, 0.4869942069, 0.1787692457, -0.194464758, 0.0831451043, 0.0239978507, -0.3458608687, 0.3236597776, 0.7433687449, 0.5759963989, 1.0214232206, 0.0376671478, -0.1679998934, 0.3288080394, 0.1611998081, -0.5473874211, 0.0035838697, 0.4476357996, -0.3722318411, -0.0253529996, 0.010476158, -0.5742869973, -0.5155367255, -0.6787554622, 0.3781986535, -0.1542787701, -0.2349970788, 0.1123215854, 0.0906387791, 0.2909168601, 0.6196275949, -0.8671174645, 0.4336948097, 1.0334146023, 0.6243226528, -0.2793933749, -0.7201296687, -0.3019435704, 0.3229608238, -0.716404736, 0.839771688, -0.7216736078, -0.3665244281, -0.1300071627, -0.2244518548, -0.090040639, -0.3558761477, 0.4942984283, -0.4736477137, 0.077021189, -0.6377881765, -0.6336519718, -0.282055825, 0.1619828343, -0.5325651169, 0.6995031238, -0.0069029168, -0.4899801314, 0.6898031831, -0.4971348643, -0.2367039472, -0.0839289576, -0.4744068086, -0.0930407941, 0.2945123613, -0.0461555645, 0.3936065137, -0.651755929, 0.515783906, -0.6943830848, -0.458663702, 0.7786579132, -0.5414549112, 0.7539319396, 0.1658867002, -0.355959326, 0.2392188907, -0.2223255038, -0.0215692818, 0.0433230214, -0.3062105179, -0.5314954519, 0.3993428349, -0.2180459499, 0.5108853579, 0.1075081751, -0.3388653994, 0.4018599093, -0.1645819992, 0.531971693, 1.1642632484, -0.4177418649, 0.6894818544, -0.6130260825, 0.263004154, -0.2395867556, 0.1917665601, 0.2676079571, -0.5302120447, -0.7424199581, -0.419791013, 0.072103411, 0.4421382248, 0.0218099579, 0.080233328, -0.4440087378, -0.2329038233, -0.3750537336, -0.1436821073, 0.1719876677, 0.2621896565, 0.0846026614, 0.1903739423, -0.5003798008, -0.9419018626, -0.4263590872, -0.5586872697, 0.0368976295, 0.3506355286, 0.4894155562, -0.2851982713, 1.0991082191, -0.2475843579, 0.0607975125, -0.2158622146, 0.2523321509, 0.1490944773, 0.4708720148, 0.3807822764, -0.7675486803, -0.3263342381, -0.0441143177, -0.7063328624, 0.0254431665, -0.2729829848, -0.2147129774, 0.4383058548, 0.3547386229, -0.8533706665, 0.252466023, 0.4186595976, -0.4848830402, 0.3874375522, -0.3426664174, 0.0938071683, -0.7616561055, -0.238161236, 0.1736374944, -0.1539026499, -0.448807478, -0.3075895607, -0.0250022318, 0.4915717542, -0.3166530132, 0.7655104995, -0.398966521, -0.5503914356, -0.0851508155, -0.1456001103, -0.1952189207, 0.4525327086, 0.0999492481, 0.8827082515, 0.4082701206, -0.5407275558, 0.1529928446, -0.0776778013, -0.4898239374, 0.6723220348, -0.6714202166, -0.0106107565, -0.3848591745, 0.5121697187, -0.8396524191, -0.5314130783, -0.0085900882, -0.3498571217, 0.186914131, -0.1323670298, -0.553067863, -0.2154283077, -0.1373369098, 0.344399482, 0.8216878772, -0.5734018087, 0.9642783999, 0.5214400291, -0.2262073904, -0.4989236891, -0.7786370516, 0.0485222787, -0.2996754348, -0.6644173861, 0.018000653, -0.2185697258, -0.9506652951, -0.1071759462, 0.091594547, -0.1982264221, 0.0104400041, 0.3480995595, 0.6531352401, -0.1632699519, 0.0867087618, -0.2705431879, -0.0677903593, 0.3452810943, -0.2105629295, 0.4464213252, -0.2372409552, -0.590482533, -0.3730190098, 0.1546173394, 0.8774898052, 0.1437604576, 0.7984765768, 0.1955634505, -0.4087459743, -0.0152328052, -0.8060532212, -0.1517575085, -0.4097186625, 0.2338341624, -0.3462112546, -0.8614656329, 0.4941122532, -0.0134613067, 0.0164020006, 0.4099410176, 0.5716316104, -0.3244505823, 1.6528710127, 0.3671331108, 0.0130675547, 0.2180591822, 0.1195751727, 0.0911517888, -0.8395223618, -0.2232332826, -0.472396493, -0.3643566072, -0.7922392488, -0.2589308321, 0.1131138429, 0.0109257009, -0.7077141404, -0.1705421805, -0.1316851974, 0.6989542842, 0.4444883168, -0.2548593879, 0.2497145534, 0.0233090352, 0.0430767983, -0.1054305509, -0.5829973817, -0.7519631982, 0.9708860517, 0.3893999755, 1.0180994272, 0.1632691473, 0.2077749521, 0.2401680052, 0.77648139, -0.8493553996, 0.4504505992, 0.1464195698, -0.6963711381, -0.2660093307, -0.4970963299, -0.9153692722, 0.4020596147, -0.3092459738, -0.8917619586, 0.2416125387, 0.1119282693, -0.3940335512, 0.1526064575, -0.8918919563, 0.5370646715, -0.5081317425, -0.4815400541, -0.3646670878, -0.4680295885, 0.6272335649, -0.1633818597, 0.3376118541, -0.4235458672, -0.1725245565, 0.5743220448, -0.1826461852, 0.8660806417, 0.0331965312, -0.1025172621, 0.2047998905, 0.2066885084, 0.738489151, 0.0453644171, -0.323585242, 0.301850915, -0.0588234775, -0.3872680068, -0.5973195434, 0.8292473555, -1.0729964972, -0.7619698644, -0.7025967836, -0.5162675977, -0.1522305161, -0.062005233, 0.1273299903, 0.3290591836, -0.2960456908, -0.0867116675, 0.5323724747, -0.074175097, 0.1776349992, 0.5104656219, -0.3274824023, -0.2438470572, 0.6501102448, 0.229925409, 0.3933663666, 0.2270150036, 0.3023580015, -0.4734534621, -0.3188022971, -0.1430297643, 0.4818878174, -0.7478030324, 0.3612034321, -0.6039779186, 0.1478489041, -0.3106520474, -0.3821145594, -0.2286781967, -0.1551303864, -0.1198992655, -0.2498223782, 0.2582752109, 1.1674128771, -0.0260604639, 0.0739314631, -0.6050075889, 0.0707770139, 0.5713759065, 0.211294651, 0.1547182798, -0.3845417798, 0.0977614895, 0.2436604947, 0.1407503635, -0.5640679002, 0.3824979365, -0.1341720223, 0.8186794519, 0.3204504848, 0.0140577862, 0.720582068, -0.4661211967, 0.697815001, -0.018014567, -0.831181705, -0.0119513366, -0.3915415704, 0.017102493, 0.4159572423, 0.4321315587, -0.5935793519, -0.0507270023, -0.6105378866, -0.5641466379, 0.9124111533, 0.0299753472, 0.1091493443, -0.145042792, 0.2326354682, 0.0116825029, 0.161269635, -0.8450258374, -0.210050866, 0.0548390076, -0.2543825805, -0.2491959184, -0.3230501413, -0.0403194241, -0.1852763295, 0.4765700102, -0.0778076053, 0.4058375061, 0.1448807716, 0.0703493655, -0.4555296302, 0.2487657964, 0.8672836423, 0.8769161105, -0.2612560689, 0.186014995, 0.3213317394, -0.1281579137, 0.2561267018, -0.1835408509, 0.0167193227, -0.4895127118, 0.3382730186, 0.8534386754, 0.2118680328, -0.946856916, 0.5240844488, -0.2726663947, -0.1166340411, -0.7984603047, 0.1797025353, 0.2193395644, 0.416801542, 0.4189712405, 0.300023973, -0.1275638342, -0.6998003125, -0.1499291807, 0.6090186834, -0.3153382242, -0.3921294808, 0.5356853604, 0.2242673337, -0.555321455, 0.7211161256, -0.1540112197, -0.5721638799, 0.7168456316, 0.4052199721, 1.0002421141, -0.0195074044, 0.0365133584, 0.359280616, 0.4222996533, -0.6013335586, 0.030497225, 0.1515806913, -0.915596664, -0.8304662704, -0.3832927644, -0.3745066226, 0.3153904974, -0.410146445, 0.1670286059, -0.4014471769, -0.0914128795, -0.2661871314, -0.1569541842, -0.5578784347, 0.0779843628, 0.273119837, 0.8637101054, -0.7163094282, 0.8462191224, 0.5053189397, -0.2809225619, -0.8260139823, 0.245679915, -0.0795289427, -0.8671178818, 1.069960475, 0.2666697204, -0.0591258518, -0.1000810266, -0.7058495879, -1.1007175446, 0.8993268013, 0.5865473747, -0.4964472651, -0.1618699431, 0.0712382719, 0.5292332172, -0.5953236818, 0.4855212569, 0.589003861, 0.7567489743, 0.2033954263, -0.8914933205, -0.0453851148, 0.0399567671, -0.0254341643, 0.2471603155, -0.7388027906, 1.1683527231, -0.4974274039, -0.2295849919, -0.1125761196, 0.447586596, 0.3561265171, 0.1782821417, 0.5929943919, 0.3739715219, 0.7635155916, -0.1039939225, 1.4662519693, -0.0966841578, 0.1798244566, 1.2065266371, -0.6770225763, 0.850428462, 0.3641373813, -0.3188500404, 0.3351280689, 0.7830768228, 0.2181054354, 0.2528035045, -0.0549552739, -0.2061227262, -0.7044578791, 0.0488578416, -0.0753200874, 0.4068350494, 0.7227779031, -0.3493864834, 0.1286544651, -0.5498850346, 0.0238858704, -0.1527626216, -0.2787908912, 0.8833039999, 0.0158544853, -1.1187740564, 0.5216143727, -0.1609801054, 0.5983247757, -0.4483408332, -0.0021644859, 0.0737553537, 0.0374601334, -0.1730106473, -0.9593203664, -0.0056305211, -0.0388173386, -0.2550082803, -0.120832175, 0.514266789, -0.2278715074, -0.3166431785, 0.4644352198, 0.5586748123, 0.2105564773, 0.0133969747, -0.8163532019, 0.0385223366, 0.056318026, -0.5012385249, 0.4690678716, 0.2418187857, -0.3114341199, 0.8301536441, 0.9298383594, 0.1622969508, 0.0369373262, -0.0037712285, 0.4533261061, -0.6264263988, -0.348639667, -1.1475422382, 0.2628106773, -0.1418688595, -0.1718709171, 0.4053620994, 0.2551186085, 0.8362050653, 0.1994724721, 1.0561188459, 0.4012562037, 0.2131605595, -0.5689197183, 0.3381636143, -0.3013992608, 0.2913074791, -0.1274605393, -1.0565222502, 0.0376334786, 0.9250536561, -0.7277061343, 0.4179475307, 0.675257802, 0.7032926083, 0.163416326, 0.1455698311, 0.4661675096, 0.5537968874, 0.2848193944, 0.522249639, 1.2192796469, 0.1661589295, 0.2179391831, 0.0991235673, -0.2924207151, -0.3798906803, -0.9710078835, -0.8903910518, -0.4246641695, 0.0262932796, -0.1545207649, -0.1089856252, 1.5261325836, 0.7024137974, -0.6159394979, -0.4009692967, -0.254707247, 0.1570178866, -0.0347361155, -0.2151214033, 0.0403749011, -0.1563311666, -0.9591238499, 0.1762572527, 0.3227218091, 0.3632289469, -0.4409343898, -0.4101299047, -0.139914453, 0.4792557061, 0.6105266213, 0.2263951004, -0.9814973474, -0.3267333508, -0.1555676758, -0.5138374567, 0.1352439821, 0.6251178384, -0.8093209863, 0.0873451754, 0.4821392, 0.4531109929, 0.1898236126, -0.071760945, 0.8019036651, -0.0491368324, -0.0382506363, 0.0894615576, 0.5529721975, 0.3418016136, -0.4227600694, 0.4763674438, 0.04105483, -0.7957003117, -0.6330432892, 0.3567259312, -0.79214257, -0.4559694529, 1.3738992214, 0.0480521061, -0.4845167696, -0.1766268164, -0.3518913984, -0.0021700235, -0.7926091552, 0.8381341696, 0.818359375, -0.2715879381, 0.1498776227, -0.7697528005, 0.5513709784, 0.3652684391, -0.7810253501, 0.2912327349, 0.7025852203, 0.141937837, 0.0915085599, 0.6300330758, 0.3151441216, 0.2106278241, -0.2115749717, -0.1964947879, 0.1674299538, -0.0213696659, -0.2364867479, -0.0410927609, 0.3847353756, 0.3977165222 ]
http://arxiv.org/abs/2406.17038v1
http://arxiv.org/pdf/2406.17038v1
modeLing: A Novel Dataset for Testing Linguistic Reasoning in Language Models
2024-06-24T18:00:59
2024-06-24T18:00:59
Nathan A. Chi, Teodor Malchev, Riley Kong, Ryan A. Chi, Lucas Huang, Ethan A. Chi, R. Thomas McCoy, Dragomir Radev
cs.CL
cs.CL
We introduce modeLing, a novel benchmark of Linguistics Olympiad-style puzzles which tests few-shot reasoning in AI systems. Solving these puzzles necessitates inferring aspects of a language's grammatical structure from a small number of examples. Such puzzles provide a natural testbed for language models, as they require compositional generalization and few-shot inductive reasoning. Consisting solely of new puzzles written specifically for this work, modeLing has no risk of appearing in the training data of existing AI systems: this ameliorates the risk of data leakage, a potential confounder for many prior evaluations of reasoning. Evaluating several large open source language models and GPT on our benchmark, we observe non-negligible accuracy, demonstrating few-shot emergent reasoning ability which cannot merely be attributed to shallow memorization. However, imperfect model performance suggests that modeLing can be used to measure further progress in linguistic reasoning.
[ -0.0655646473, -1.1367893219, 0.6885880232, -0.003740961, -0.0392253436, -0.2103859335, -0.1454177946, -0.2063474059, -0.4196834564, 0.3540947139, -0.5960211158, -0.4376446605, -0.4069262147, 0.0398124047, -0.6224344373, 0.6802484989, 0.0649273098, 0.0297876205, -0.6263082027, 0.087496914, -0.4320171475, -0.330865711, -0.5363907814, -0.6036769748, 0.2246143818, 0.3374392986, 0.7797827721, 0.7371784449, 0.4552371502, 0.2269338369, -0.0458067916, -0.1550463885, -0.3040823042, 0.0671683997, -0.2226112187, -0.9316533208, -0.1481394917, 0.2086350918, 0.633795023, 0.8939249516, -0.097868301, 0.2063348442, -0.3444106281, 0.4408169687, -0.4598310888, 0.3684203923, -0.8963691592, -0.0303816888, -0.4190027714, 0.3069760799, -0.5106060505, -0.2687957883, -0.0198615212, -0.5058265924, 0.2126476765, 0.0851131901, 0.8285159469, 0.3825707436, -0.287176162, -0.0880023763, -0.6862258911, 0.5715212226, -0.9575685859, 0.2305628657, 0.473418504, 0.7216889858, -0.1537673175, -0.5612702966, -0.660890758, -0.6766638756, -0.0137239061, -0.0515600927, -0.1155643463, -0.1871587187, 0.456078887, 0.2497452348, -0.9009361267, 0.0273715649, -0.2330942303, 0.1507779956, 0.7688379288, 0.3447145224, 0.4542856812, -0.008504563, 0.0231467504, -0.0037311146, -0.9746023417, -0.0944296122, 0.540830195, 0.474018693, -0.1019558832, 0.8576979041, -0.3012636006, 0.8012122512, -0.3432955146, 0.249239713, 0.0910465792, -0.2661046684, -0.2286680639, -0.3172519803, 0.7209683657, -0.1194016859, 0.4152952433, -0.1865975112, -0.2423517406, 0.3879979551, -0.0249889754, -0.4491744339, -0.7039401531, -0.0699691176, -0.3063310087, -0.2871474624, -0.1287229806, -0.5815472603, -0.2287885249, -0.2030807734, 0.3990971446, -0.5559946895, -0.4061172307, 0.1433077306, -0.1147141159, 0.0794269964, 0.1407496631, -0.8838143349, 0.410664171, 1.0779206753, 0.6564207673, -0.1180487275, -0.455552429, -0.2274520695, -0.3300936222, -0.6073886752, 0.9325991869, -0.7834321856, -0.1967428178, -0.0998611748, -0.2679648399, -0.1883368641, -0.6472405195, 0.4449788928, -0.3132757843, 0.1165238619, 0.0185563136, -0.980923593, -0.0494149625, 0.4325219691, -0.6373190284, 1.1279220581, 0.1010673195, -0.3929537237, 0.2105369717, -0.743093431, -0.2132045478, 0.2067738771, -0.3779439628, -0.4146967828, 0.2964749932, 0.0045785131, 0.043156717, -0.4164661765, 0.2987904847, -0.5451322198, -0.3697201312, 0.2989860773, -0.3023456633, 0.9004642963, 0.1048994288, -0.2279413044, -0.2531539202, -0.8297113776, 0.2846445441, 0.3543647826, -0.1332780123, -0.2174518257, 0.1481961906, -0.1375714988, 0.2436379939, 0.035128478, -0.4688403308, 0.5143913031, -0.5655623078, 0.3150395453, 0.5181729794, -0.1886963248, 0.3786911666, -0.5468090177, 0.5911610723, -0.0584098399, -0.00162841, -0.318590194, -0.884893477, -0.831628561, -0.1342806369, 0.4696104825, 0.5787355304, -0.5000188947, 0.061245501, -0.1958068758, -0.6476781368, -0.4979805946, -0.0139118573, 0.3652638197, 0.3590771556, 0.0833756402, 0.0807225257, -0.3899338543, -1.0257977247, -0.6374641061, -0.3984659314, -0.0553549305, 0.2859859169, 0.9333717227, 0.0532296225, 1.0280774832, -0.3125427365, 0.1070772037, -0.2985415459, 0.5815031528, 0.3464883268, 0.5409587622, 0.516254127, -0.5384576917, -0.3449579775, -0.0869771391, -0.8190529943, -0.2225433439, 0.0467774719, 0.0520544797, -0.0256531816, 0.417335242, -0.7698085904, 0.4770211279, 0.3040089011, -0.337107718, 0.77108711, 0.0228983108, -0.0964783281, -0.5468383431, 0.1264122427, -0.2444892526, -0.041600097, -0.5594339371, 0.3802692592, -0.0154948132, -0.2580641508, -0.473811537, 0.7549253106, -0.37152946, -0.0647554696, -0.2659721673, -0.0960124582, -0.1470007598, 0.227758497, 0.0124818301, 0.5967469215, 0.6528279781, -0.4351139367, 0.4244325161, 0.1075682715, -0.6538760662, 0.4689598382, -0.76001513, 0.4542918205, -0.2196126431, -0.2504431307, -0.7299113274, -0.2741675675, -0.1096068397, -0.4953987896, 0.0496361405, -0.4516181052, -0.6650850177, -0.350615412, 0.1981299222, 0.4057107866, 0.5337043405, -0.2933695614, 0.4168262184, 0.1395331621, -0.1875864714, -0.1669641435, -0.7887191176, -0.0709005594, -0.1196794957, -0.7334478498, 0.0086113606, -0.22481668, -0.566229105, 0.2527295053, 0.1142308116, -0.3826408088, 0.4358343184, 0.0886870772, 0.2571671903, -0.6616281271, 0.3069632351, -0.2146609426, -0.0221063104, 0.1671982706, -0.1980946511, 0.3358285129, -0.2989470661, -0.616743505, -0.278772831, 0.5038964748, 0.2991754413, -0.2704074085, 0.5574819446, 0.0666310713, -0.7261123657, -0.5312376022, -0.4114788175, -0.2552906871, -0.3639261723, 0.4291762412, -0.6733158827, -0.6492608786, 0.5116565228, 0.0049743466, -0.1030075699, 0.4356181324, 0.5902557373, 0.0187269915, 1.1648507118, 0.5127894282, -0.0617148094, 0.1638337821, -0.1959275454, 0.2401003391, -0.340357244, -0.0559368916, -0.7941426039, -0.2120648921, -0.3271252811, -0.3387067318, 0.1144815907, 0.158229664, -0.4189406633, 0.2785439193, -0.156592235, 0.9671285748, 0.6937968731, -0.2518438995, 0.4606307447, -0.4319877326, -0.3230926692, -0.0976222903, -0.6518102884, -0.660505116, 1.1766742468, 0.0268169027, 0.9899932742, 0.0332920067, 0.5426360965, 0.046410691, 0.2901711166, -0.614217937, 0.4189442992, -0.0481172763, -1.04776752, -0.2194629312, -0.5430710912, -0.76876086, 0.2997916639, -0.2135412544, -0.9309408069, -0.0327458568, 0.2977143824, -0.2984527946, 0.2143309861, -0.6212391853, 1.1931673288, -0.2495183796, -0.145331189, 0.0049577318, -0.4026996493, 0.7483333349, 0.1898914278, 0.1321353018, -0.4663814902, 0.2658593655, 0.4268583059, -0.3886982501, 0.6935831904, 0.1265530437, 0.3242240548, 0.2949154079, 0.5584278703, 0.491174221, 0.0642712489, -0.196917966, -0.0651008114, 0.0318560228, -0.4357699156, -0.8573581576, 0.5169398189, -0.5419288278, -0.4876324534, -0.5001461506, -0.7575310469, -0.2675979435, 0.1817344278, 0.2507244349, 0.27368325, -0.4044233263, 0.059262529, 0.5081876516, 0.1593564004, 0.2354047298, 0.5583456159, -0.175334692, 0.0201785192, 0.6942045689, -0.0809499398, 0.3843506575, 0.3329520226, 0.3559106588, -0.1990162134, -0.7888363004, -0.3009185493, 0.2145349979, -0.7030517459, -0.0270595793, -0.3267084658, -0.25564605, -0.419593811, 0.2117637247, -0.711288929, -0.6584913135, -0.0289113261, 0.0258314721, 0.0529082194, 1.0045231581, 0.0596528538, 0.1995744109, -0.445289731, 0.1742486805, 0.3946920633, 0.2751586735, -0.245687291, -0.3689123392, -0.1089352593, 0.1853139102, -0.2301597595, -0.844154954, 0.3158171475, 0.3385900557, 0.7335076332, 0.2244354635, -0.2879458666, 0.4580769241, -0.6837025285, 0.8798672557, -0.2454790175, -1.0117666721, 0.8027044535, -0.513497591, 0.4246601164, 0.5779387355, 0.204319939, -0.5566138625, -0.4627764821, -0.7776788473, -0.2911440432, 0.5553461909, 0.2244385183, -0.1210052818, -0.1094433814, 0.3462459743, 0.0663007274, 0.185339272, -0.7078438401, -0.2254147977, -0.0282820575, -0.3213042319, -0.1688743532, -0.0998385176, -0.111175403, -0.3059224784, 0.7338872552, -0.2726769447, 0.1569150686, -0.2081754655, -0.397867918, 0.0800389126, 0.1426779628, 0.618176043, 0.6306393147, -0.010634142, 0.241129607, -0.1487905234, -0.1217787489, 0.1799991131, 0.2005059868, -0.4480991364, 0.048807174, 0.4987797141, 0.6944915056, 0.2924832702, -0.6687666774, 0.6126514673, 0.0686879829, -0.2061953843, -0.17710118, 0.0570933111, 0.2769266069, 0.273702085, 0.0611713976, 0.0694017857, 0.1881836951, -0.6992592216, 0.2613944411, 0.4887925684, -0.1477268785, -0.5303426385, 0.8184310198, -0.1159301475, -0.4111834466, 0.819414854, -0.4276890755, -0.3938877583, 0.7574829459, 0.6267869473, 0.7761923075, -0.1846255064, 0.2467939854, 0.3566121161, 0.5241211653, -0.3830817342, 0.2844859362, 0.1784030646, -0.7261410952, -0.2810277641, -0.2723068595, -0.4170338511, 0.2946150899, -0.3571248651, 0.3311550021, -0.2653707564, 0.066444166, 0.227065593, -0.1274206191, -0.6951555014, -0.0553669743, 0.3660878837, 1.1392914057, -1.1450853348, 0.824313283, 0.6226686239, -0.5304851532, -0.5118205547, -0.45136711, 0.4655468762, -0.7050763369, 0.7469379306, 0.0460854732, 0.2571266294, -0.2205990106, -0.7030971646, -0.8966152668, 0.718557477, 0.7160461545, -0.391302675, -0.1501493752, 0.3335430622, 0.4750635624, -0.5711554885, 0.43321082, 0.8753629327, 0.3629639447, -0.0451134704, -0.9384419918, -0.2429635972, -0.6346194744, 0.0892572179, 0.100960806, -0.1540663242, 1.2975656986, -0.1411118805, -0.2416325063, 0.5407868028, 0.4822950959, 0.3127110004, 0.2209907919, 0.2734207213, 0.9652485847, 0.773755908, -0.3852920532, 1.2238301039, 0.182703808, 0.4077243507, 1.5836163759, -0.4314819276, 0.8988054991, 0.1682797968, -0.2204513103, 0.5132969022, 0.4903235734, -0.0414793827, 0.5199124813, 0.6307655573, -0.1657960564, -0.5217217803, 0.1379716396, -0.3831648231, 0.6055047512, 0.3021164238, -0.1457476765, -0.4744750857, -0.0900957659, -0.0291095618, 0.3547260165, -0.0276544522, 0.7320539951, 0.0750620589, -0.7455608845, 0.473398596, -0.1527261287, 0.3402826786, -0.3812500834, -0.1696428657, -0.3210277259, 0.278775245, 0.1271627992, -0.5568158031, 0.3853045106, -0.0030804358, -0.0754727349, 0.0484535098, 0.5497485995, -0.5792324543, -0.7874975204, -0.0959651396, 0.7317948341, 0.4166465104, -0.2142108232, -0.8134751916, 0.0079042185, -0.476682663, -0.1306153387, 0.0576532558, 0.4464343488, -0.0769616961, 0.8020200729, 0.4352191985, 0.2220438719, 0.5332410336, 0.2329771072, 0.5591477752, -0.6902530193, -0.4894237816, -1.0220257044, 0.3712695241, -0.0728226081, -0.4613946378, 0.6026719213, 0.8156812787, 0.8721609116, -0.1808125526, 0.8130454421, 0.1102792397, 0.4968147576, -0.4882558286, 0.8143705726, -0.3152923882, -0.0343095213, -0.0471939109, -0.6883980036, -0.4030079544, 0.6221328974, -0.3300488293, -0.0097951237, 0.8337402344, 0.9366326332, -0.139328748, 0.2508023977, 0.4556774199, 0.3299918771, 0.2730089128, 0.848092258, 1.170732379, -0.4322547913, 0.3085824549, -0.4345024824, -0.0811847448, -0.1039787456, -0.9367036819, -1.104465723, -0.5727443099, -0.4766584635, 0.0650324151, 0.1877798885, 0.6852381825, 0.916323483, -0.7981305718, -0.2726299465, -0.408103615, 0.2729414105, -0.3544638455, -0.2348284274, -0.017803574, -0.5485312343, -0.7845191956, 0.6870524883, 0.1401170045, 0.1378222406, -0.2889710069, 0.1207531542, -0.4547139406, 0.0914092287, 0.2715591788, 0.3518711925, -0.8319138288, -0.2875050306, 0.0708264485, 0.0957264081, -0.0417238139, 0.8955357671, -0.807933867, 0.5392720103, 0.6427673697, 0.6356501579, 0.5823076963, -0.2563112378, 0.6639475822, -0.6369391084, 0.2282435298, 0.5440378189, 0.5073085427, 0.2743493915, -0.0619138815, 0.5506664515, 0.4257657528, -0.4413550198, -1.0654989481, 0.3069142997, -0.493686378, -0.137098074, 0.7669187188, -0.2596418858, -0.3669916689, -0.0006832632, 0.289172858, -0.0947284997, -0.0345016979, 0.7329967618, 1.0331388712, -0.0385304652, -0.3371351361, -0.7817400098, 0.5665151477, 0.4281219542, -1.0489537716, -0.0020028879, 0.3785533011, 0.3226521909, 0.0789378211, 0.5343273878, -0.1722265184, 0.5081486106, 0.3674901426, -0.1847784072, -0.1075352058, -0.4172215164, -0.3424316049, 0.115760535, 0.1475549787, -0.0579203255 ]
http://arxiv.org/abs/2406.16858v2
http://arxiv.org/pdf/2406.16858v2
EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees
2024-06-24T17:59:11
2024-06-30T15:03:25
Yuhui Li, Fangyun Wei, Chao Zhang, Hongyang Zhang
cs.CL
cs.CL, cs.LG
Inference with modern Large Language Models (LLMs) is expensive and time-consuming, and speculative sampling has proven to be an effective solution. Most speculative sampling methods such as EAGLE use a static draft tree, implicitly assuming that the acceptance rate of draft tokens depends only on their position. Interestingly, we found that the acceptance rate of draft tokens is also context-dependent. In this paper, building upon EAGLE, we propose EAGLE-2, which introduces a new technique of context-aware dynamic draft tree into drafting modeling. This improvement leverages the fact that the draft model of EAGLE is well-calibrated: the confidence scores from the draft model approximate acceptance rates with small errors. We conducted extensive evaluations on three series of LLMs and six tasks, with EAGLE-2 achieving speedup ratios 3.05x-4.26x, which is 20%-40% faster than EAGLE-1. EAGLE-2 also ensures that the distribution of the generated text remains unchanged, making it a lossless acceleration algorithm.
[ -0.2041601837, -1.031780839, 0.5349504948, 0.6399607062, -0.2146898806, 0.3140423894, -0.0006720521, -1.1171051264, 0.3644466698, 0.3403875828, -0.6955131888, -0.1837035418, -0.6378022432, 0.0022083367, -0.6486136317, 0.2198378742, -0.151514858, -0.4761854112, 0.3547448516, 0.1407411695, -0.0449422598, -0.0617080517, -0.8785961866, -0.3114819229, 0.2632530332, 0.4166086912, 0.6671795249, 1.0245629549, 0.2729960382, 0.2137673795, -0.396029532, 0.0827410966, -0.23185803, 0.3254519999, 0.1592172086, -0.4757892191, -0.6349571943, 0.085938029, 0.7950024009, 0.4822040498, 0.0124281328, 0.2575536072, -0.235714972, 0.6942877173, -0.68071419, 0.1219117939, -1.0068545341, 0.1340404898, -0.3730612397, -0.3865883946, -0.543456912, -0.0218419991, 0.3506343365, -0.9136176705, 0.1694651246, 0.1540947855, 0.5667728782, 0.1320560127, -0.5486859083, -0.4098944962, -0.5203443766, 0.7803530693, -0.6338986754, 0.4352841377, 0.411029458, 0.5520314574, -0.1755769551, -1.0329692364, -0.7511268258, -0.0940842256, 0.2539057732, 0.0155543834, 0.1007670015, 0.0300947148, -0.0589129888, 0.2182281464, -0.4025017619, 0.3515243232, -0.0857456326, -0.1428486407, 0.6484772563, -0.0874836594, 0.1121451855, 0.0228214003, -0.2091391385, -0.313896209, -0.828173697, 0.3240345716, 0.4475824535, 0.5612872243, -0.0520219915, 0.4545173347, -0.3576088846, 0.678068161, 0.4132574201, -0.2271933556, 0.3330029249, -0.294783771, -0.3208954632, 0.1453322023, 0.3787093461, 0.2174270004, 0.0750978366, -0.0586686358, -0.1762787104, -0.1468839794, -0.1596705317, -0.9655613899, 0.2018211037, 0.5620527864, -0.6157506704, -0.3897644281, -0.0908398405, -0.4818584621, -0.3959513307, -0.0950826332, -0.3653874397, -0.2930251956, -0.6442970037, 0.1181132495, -0.1459842324, 0.278437674, 0.5111982822, -0.9848499298, 0.2057280988, 0.9209688902, 0.7910824418, -0.0711922124, -0.3071867824, -0.9815844297, 0.0828494951, -0.7631767988, 1.2624672651, -0.8503841162, -0.2353823632, 0.1287723482, -0.2318889201, 0.1473764032, -0.5011712909, 0.6387747526, -0.8448556662, -0.2053459883, -0.5887242556, -0.4561054409, -0.1974117011, 0.1974880248, -0.7703727484, 1.2625257969, 0.2291418463, -0.7671924233, 0.6934411526, -0.5846349001, -0.4294147491, 0.1344161481, -0.1872891933, -0.0573122613, -0.0519190207, 0.128369242, 0.2324115038, -0.2578755319, 0.0753392056, -0.6663233042, -0.7731217742, -0.2374954224, -0.2492824942, 0.8907485604, 0.6574693322, -0.4034881592, -0.1596223414, -0.3716672063, 0.2367389053, -0.2094690502, -0.7016120553, -0.2030908912, 0.2830115557, 0.2946591079, 0.0881593153, -0.091742605, -0.4125939906, 0.2766028047, -0.7952570915, 0.1905768663, 0.4616097212, -0.0799515098, 0.4794105589, -0.1771782041, 0.4321633577, -0.171431303, -0.2654791772, -0.1134062633, -0.2962065935, -0.6384851336, -0.4739904404, 0.1856744587, 0.6522439718, -0.7499251366, 0.3912921846, -0.1345968097, -0.4502639771, -0.1475173831, 0.1518782526, 0.329374522, 0.1391429305, 0.0300574172, 0.0883249938, -0.6908416152, -0.6188476682, -0.5947352648, -0.7288060188, 0.1219298616, 0.2060407102, 0.2191398442, 0.0101286825, 0.7575234771, -0.0443083122, 0.0018374941, -0.2575461268, 0.5627864599, -0.11539343, 0.3800016344, 0.9144287705, -0.624196291, -0.7359648347, -0.1754848063, -0.6128894091, -0.2703083158, -0.15249376, -0.1873203367, 0.346706301, 0.6342499256, -0.6321619749, 0.0893521458, 0.6694875956, -0.58933568, 0.2633903027, 0.0056644171, -0.0060892273, -1.0728998184, 0.0936859623, -0.0450577959, -0.1032185629, -0.5154619813, 0.3958304524, 0.1434121132, 0.2776008546, -0.7504995465, 0.947408855, -0.7920743227, -0.1733707488, -0.4479928315, 0.0121794688, -0.196393013, -0.0153758302, 0.1159807667, 1.0981014967, 0.5748838782, -0.3955413401, 0.0307795461, 0.0470953323, -0.5417576432, 0.1954700053, -0.4079210758, 0.1374980211, -0.1514923126, 0.8344233036, -0.8864443898, -0.1865722835, 0.200267747, -0.2468626499, 0.2716002464, 0.0982557014, -0.6358402371, -0.2785196006, -0.4603198469, 0.3923342526, 0.3448506892, -0.5073949695, 0.6860727668, 0.3749918044, -0.1035667509, -0.9419310093, -0.9795371294, 0.1322657019, 0.0676114559, -0.5227931142, 0.3920849562, -0.0046528066, -0.4112775326, 0.0544097237, -0.1272989064, -0.29030931, 0.1364090294, 0.1222748086, -0.3011849523, -0.3448402882, 0.0364855453, 0.4179840684, -0.0927407667, -0.1196371764, -0.4402809739, 0.2216273397, -0.1387411058, -0.3790613711, -0.6655023098, 0.2678361237, 0.8074114919, -0.2777399123, 0.4672445357, 0.2460796386, -0.4713941813, -0.3233790994, -0.7593485117, -0.193677485, -0.4531942308, 0.4627695084, -0.4719143808, -0.9111963511, 0.3945759833, -0.161007151, 0.4920346141, 0.3721389472, 0.5219087601, 0.0798971057, 0.978309691, 0.6866025925, 0.0127458023, 0.6841965318, -0.2648926079, 0.1198963597, -0.7273939848, -0.0164316911, -0.5691819191, -0.2964527011, -0.3101694882, -0.6234549284, -0.1255790442, 0.2999118268, -0.0581399836, -0.0020904965, -0.1963497251, 0.5017359853, 0.4347547889, -0.1835219264, 0.3331798017, 0.2877295613, -0.0971152261, 0.2526256442, -0.5689359307, -0.6756998897, 1.1389220953, 0.4432348311, 0.2277788222, 0.2115778923, 0.3432906568, 0.1645403206, 0.6715699434, -0.641935885, 0.5414866209, -0.3143663108, -0.9851354957, -0.3039688468, -0.0002144074, -0.6301594973, 0.2636192441, -0.3020865321, -0.8414688706, 0.1491404623, 0.6255428195, -0.5644044876, 0.3158431053, -0.6373738647, 0.4143705368, -0.0260288268, -0.3361691236, -0.3237437606, -0.3337952197, 0.8150515556, -0.4905668795, 0.0289988518, -0.3577824533, -0.1772611141, 0.6241942644, -0.570938468, 0.6762117743, -0.3603830636, 0.0220242292, 0.8496917486, 0.3670926094, 0.9759838581, 0.0906664506, -0.7075885534, -0.3131195307, 0.2292148024, -0.3174915016, -0.6943412423, 0.748724103, -0.6349842548, -0.3713211715, -0.4880461991, -0.7618364096, -0.1283980608, 0.1189783737, -0.0425665528, 0.2564566433, 0.0181814618, 0.2649480402, 0.1805990785, -0.1139990091, 0.5376808643, 0.7693014741, -0.2671495974, 0.0908889845, 0.3836967349, 0.3918019831, 0.0501218811, 0.4399122596, -0.0345368683, -0.6474938989, -0.6328204274, -0.4877072573, 0.2016208619, -0.5192942023, 0.1337390244, -0.8525131345, 0.0414345637, -0.3190050125, -0.216964066, -0.5312748551, -0.6396836638, -0.0575513542, -0.3190544248, 0.4094780684, 0.3045492172, 0.1113105193, 0.5645424128, -0.4372429848, 0.128213197, 0.1109127179, 0.4395602345, 0.2640819252, -0.5327796936, 0.1837689579, -0.0052614287, -0.202011466, -0.6360194087, 0.0026183934, 0.3084288836, 0.5101025105, 0.5469817519, 0.1281322241, 0.7956523299, -0.358541131, 0.7776572108, -0.1046261564, -0.7946155667, 0.1556123197, -0.2584216297, 0.3190498054, 0.8192753792, -0.1930621117, -0.3973402679, -0.6120911837, -0.3998608589, -0.697108686, 0.8262215853, 0.1529568881, 0.1136042625, -0.0535888337, 0.6699762344, -0.0732234865, 0.0030557592, -0.2455660999, -0.1352656782, -0.0983281061, -0.1607629061, -0.0702065155, -0.633205235, 0.396697104, -0.1176815182, 0.7367188334, -0.1891259104, 0.1742401123, 0.1072441265, 0.0915579125, -0.5081751347, 0.00308163, 0.7077746391, 0.6228683591, -0.464542836, 0.4558670521, 0.2745643556, -0.4589221776, 0.2322473526, 0.1645817757, -0.4518471956, 0.0352377966, 0.6661301851, 0.6508572698, 0.0297475196, -0.78908813, 0.28739658, -0.0586973578, -0.486317724, -0.3414972126, 0.0368227698, 0.2851708531, 0.3875478208, 0.4892372191, 0.0290200152, 0.2074080408, -0.5116069913, 0.2969676852, 0.6537847519, -0.151833117, -0.3258322477, 0.7492868304, 0.3504860699, -0.4871741533, 0.5011507273, -0.3811556399, -0.230425179, 0.6587878466, 0.6592146158, 0.9585104585, -0.1329585612, 0.1403196603, 0.3741703331, 0.2549423277, -0.3862640262, 0.571282506, 0.0207298789, -0.5907996893, -0.6738882065, -0.6289442778, -0.2644488811, 0.3980869651, -0.1594106853, 0.0814511031, -0.4696758687, -0.180289343, -0.0883027837, 0.3305253685, -0.4791715145, 0.0619269535, -0.0263693891, 1.822939992, -0.9516031146, 1.0375338793, 0.7585135698, -0.0348390266, -1.1492116451, 0.2783194482, 0.3807181418, -0.6472216249, 0.8719722629, 0.2642338574, -0.388094008, 0.2110823095, -0.1596412808, -1.0579224825, 1.1912950277, 0.3133985102, -0.4729423821, -0.0369287953, -0.0476741828, 0.474055618, -0.4178680778, 0.5767319202, 0.5365375876, 0.7533012033, 0.3237735331, -0.744437933, 0.0442242399, -0.3851734102, 0.2102712393, -0.1236839741, -0.6495469213, 0.9364308119, 0.0887146965, -0.3056077659, 0.2134088129, 0.9790247083, 0.8237349987, 0.2882900536, 0.895644784, 0.2583780885, 0.9182258844, 0.2036486417, 0.9825489521, -0.7578722239, 0.0829762444, 0.9316183925, -0.6092089415, 1.2053248882, 0.7656621933, 0.0670543835, 0.4109642208, 0.9071740508, 0.5869980454, 0.4268793464, -0.0318200737, -0.4572705626, -0.2741104066, -0.0622068644, -0.4059569538, 0.4069970846, 0.010661562, -0.2917723358, -0.3013900518, -0.5151907206, 0.1557480991, -0.0268245097, 0.1661928147, 0.2609111071, 0.0448211581, -1.0577263832, 0.6008001566, 0.4087243378, 0.5272343159, -0.62349087, -0.0495904796, -0.2895819545, 0.2608757615, 0.0333583355, -0.6255888939, 0.3921553493, 0.1410765052, -0.1982723624, -0.2681807876, 0.3686020374, -0.3016284108, -0.8892849684, 0.2970939577, 0.5266817808, 0.3066658676, -0.1373969167, -0.625010252, 0.5645387769, -0.4074619412, -0.7409622073, 0.1237998679, 0.3769818246, -0.3204357624, 0.644400835, 0.8094195127, 0.2336569875, 0.0345780179, -0.2210133821, 0.5229209661, -0.179614976, -0.6934942007, -0.6975579262, 0.2610471547, 0.0456232205, -0.2431555837, 0.4420620501, 0.7442013621, 0.5921213031, 0.2339862883, 0.8488567472, -0.0484932959, 0.7829181552, -0.6112785935, 0.737113595, -0.7072498202, 0.4881028831, -0.1358485967, -0.8884183764, -0.3532730043, 0.6101837754, -0.1341199577, 0.0004509094, 0.8162286282, 0.9932993054, -0.2751188278, -0.0295116492, -0.254039228, 0.0970750451, 0.6137332916, 0.5896609426, 0.6416438818, -0.3991609812, 0.4358177483, -0.1890657842, -0.3171733618, -0.5061112642, -1.3341606855, -0.7403140664, -0.4193741977, -0.0257869326, -0.2585970759, 0.2331758589, 1.1305158138, 1.15647614, -0.6168079972, -0.3955759704, -0.319573611, -0.1767100692, -0.5546117425, -0.168769598, 0.4528064728, -0.296197474, -0.73883605, 0.6353715062, 0.1302895695, 0.0514213406, -0.0771067739, -0.4586744606, -0.2681001723, 0.3643707335, 0.5670566559, 0.4592499137, -1.203017354, -0.4294113517, 0.031674318, -0.1670279205, -0.328316927, 0.8435072303, -0.8731248379, 0.5254709721, 0.6350420713, 0.8423436284, 0.5518417954, 0.2598747909, 0.3934730291, -0.4222860336, 0.6954451203, -0.1932596564, 0.0126699312, 0.065991722, -0.2818255424, 0.2656359673, 0.2289366871, -0.0208958685, -1.0950415134, 0.2493350208, -0.7972669601, -0.4217603803, 1.1229152679, 0.086571686, -0.1463931203, 0.023350656, -0.2700566947, 0.318195045, -0.326979816, 0.6687375307, 0.5519862175, -0.120395869, -0.2352204919, -0.6264057159, 0.574703753, 0.4497936666, -0.7441007495, 0.247077167, 0.2546968162, 0.2454091758, -0.1708807647, 1.2068763971, 0.2596366405, 0.3106596172, 0.2315966338, -0.1631087512, -0.4740169346, -0.394353956, 0.0646937266, 0.2472338825, 0.6170318127, 0.2020912915 ]
http://arxiv.org/abs/2406.16851v2
http://arxiv.org/pdf/2406.16851v2
Losing Visual Needles in Image Haystacks: Vision Language Models are Easily Distracted in Short and Long Contexts
2024-06-24T17:58:03
2024-07-03T03:55:59
Aditya Sharma, Michael Saxon, William Yang Wang
cs.CL
cs.CL, cs.AI, cs.CV
We present LoCoVQA, a dynamic benchmark generator for evaluating long-context extractive reasoning in vision language models (VLMs). LoCoVQA augments test examples for mathematical reasoning, VQA, and character recognition tasks with increasingly long visual contexts composed of both in-distribution and out-of-distribution distractor images. Across these tasks, a diverse set of VLMs rapidly lose performance as the visual context length grows, often exhibiting a striking logarithmic decay trend. This test assesses how well VLMs can ignore irrelevant information when answering queries -- a task that is quite easy for language models (LMs) in the text domain -- demonstrating that current state-of-the-art VLMs lack this essential capability for many long-context applications.
[ -0.2164822966, -0.7377222776, 0.7320033908, 0.2976604998, -0.577298224, -0.2855196893, -0.0425183661, -0.6240410805, -0.2374147922, 0.6560373306, -0.488054812, -0.4101602137, -0.4060080945, -0.004102712, -0.6308421493, 0.4252097011, -0.05384342, -0.2123737186, -0.7743573189, -0.2925794125, -0.7182677388, -0.383690089, -0.4435203671, 0.2155217379, 0.6379648447, -0.0129135959, 0.5267928839, 0.787645936, 0.7358310819, 0.2548030615, -0.1981571168, 0.2121803015, -0.4500313401, 0.42102018, -0.3440851271, -0.2250047773, 0.0129844425, -0.2629723549, 0.7234933972, 0.5622218251, -0.0228139628, 0.1267944574, -0.1078851521, 0.5675125122, -1.1451737881, 0.1394999623, -0.744343698, -0.1991488039, -0.3691319525, 0.0267563015, -0.356382221, -0.1797873825, 0.1928310543, -0.4304706454, -0.0252147336, 0.0560658462, 1.0862551928, 0.6662688255, -0.6084143519, -0.1288917363, -0.5750864148, 0.8566219211, -0.2565548122, 0.5867060423, 0.3933912814, 0.6095041037, 0.0378023386, -0.9892535806, -0.508901298, -0.1547384262, 0.0803854987, 0.1700109392, -0.0911506861, -0.1573505253, 0.4444879591, -0.0407327637, -0.3355250061, -0.1189362705, -0.4201929867, -0.0353111252, 0.4534654915, 0.5968383551, -0.0931114852, -0.1526810527, -0.5256775618, -0.1719398052, -0.8129506707, 0.2239858508, -0.2001670152, -0.1393675059, 0.2560877502, 0.4342300892, -0.3542440534, 1.0745437145, -0.2757492065, 0.1206984147, 0.1422074139, -0.4378939569, -0.4460501969, -0.5474894047, 0.6828330159, 0.5536141992, -0.0403633788, 0.0397004932, -0.3350364268, -0.1173910424, 0.2018550634, -0.7215793729, -0.2575035989, -0.0116002467, -0.3068314493, -0.1761145145, -0.2612107098, -0.9725358486, -0.484157294, 0.0534583069, 0.5331920385, -0.2965078056, 0.246697098, 0.0217946749, -0.3328244984, 0.5252314806, 0.5372728109, -0.5574144721, 0.0971192047, 0.5341895223, 0.6632006764, -0.3721035421, -0.2845766544, -1.0651497841, -0.2378348708, -0.474339962, 0.678180933, -0.473944962, -0.3819920719, 0.1287405491, 0.2958419323, 0.0133444015, -0.8203984499, 0.608630538, -0.4851402938, 0.1379235685, -0.4519415796, -0.2886091173, -0.0204701032, 0.2837290168, -0.6818883419, 1.2398322821, 0.2097116411, -0.4499062598, 0.5362482667, -0.2611816525, -0.2117939293, 0.4167642593, -0.3472327292, -0.4229746163, 0.0568426065, 0.0234103482, 0.3977656662, -0.50723207, 0.1089960635, -0.4214265943, -0.6341593266, 0.2578309774, -0.4769738317, 0.7107934356, 0.0194927473, -0.5694666505, 0.0767738223, -0.8637205362, 0.1357717812, 0.1132251546, -0.3226032257, -0.8962675333, 0.4750778675, 0.0646114796, 0.4751310647, 0.1526731402, -0.2622551024, -0.0303065535, -0.1269744486, 0.3277526796, 0.7081085443, -0.1095294431, 0.0033735919, 0.085815154, 0.2961946726, 0.2018160373, 0.264778018, -0.3229177594, -0.3852718771, -1.1448460817, -0.5203368068, 0.0422168784, 0.4841644168, -1.2530068159, 0.1152913049, -0.3438126147, -0.3780933321, -0.2702966928, 0.0724909231, 0.5244248509, 0.6186489463, 0.2678166926, -0.3497664034, -0.3380258381, -1.1215251684, -0.502941072, -0.1260238588, -0.0626947135, 0.3852576315, 0.6798839569, -0.2863533497, 0.7905337811, -0.3161648512, -0.0406345017, 0.2517268062, -0.1580371261, -0.0469373204, 0.1948632896, 0.459284842, -1.0823552608, -0.2774522007, -0.14078255, -0.8691483736, -0.0717562363, -0.1644333899, -0.1627832353, 0.3069655895, 0.7286393642, -0.6913034916, 1.0086995363, 0.354446739, -0.7076422572, 0.7077206969, 0.0596715659, 0.0238830075, -0.5261085629, 0.2876406014, 0.0629134327, -0.4546173811, -0.4016825557, 0.2851835787, 0.4350285232, 0.1163461208, -0.6591566205, 0.8654913902, -0.6088521481, -0.0578846149, -0.0510358401, 0.1736121923, 0.2816987634, 0.3036735058, 0.3318286836, 0.8194472194, 0.647331357, -0.8171181083, 0.4581747949, 0.0640274733, -0.6567935348, 0.388233453, -0.7771672606, -0.0368448794, -0.1457594931, -0.1996574998, -0.8596081138, -0.1887601316, 0.1650074124, -0.0206973609, -0.1113798171, -0.0052351025, -0.2746942341, -0.5150247216, -0.1312818229, 0.6174942851, 0.8719393611, -0.6442349553, 0.5567657948, 0.1994667202, 0.0954749361, -0.7888991833, -0.6364998817, 0.1346574724, -0.342712909, -0.3252254128, 0.086291194, -0.058541324, -0.5378912091, -0.030240126, 0.0405848995, -0.4214763343, 0.092890352, 0.3342904747, 0.236890763, -0.1117819473, 0.393774122, -0.3006626368, 0.3084953725, 0.381385684, -0.1472270191, 0.2152617574, -0.3229908645, -0.4486299157, -0.0964167863, 0.3947893679, 0.8077723384, -0.3504997492, 0.6429561377, 0.3521371782, -0.3095532954, -0.1819589585, -0.4836363196, 0.1475730091, -0.4874977171, 0.7553351521, -0.4733189642, -0.5876339674, 0.5558151007, 0.0883444101, 0.0307479389, 0.488851279, 0.6009908319, -0.0543060452, 0.7155071497, 0.5863555074, 0.4727067351, 0.5721842051, -0.0380772054, -0.0611688159, -0.7607022524, -0.4713291824, -0.2665879428, 0.2015309483, -0.2856801152, -0.8072761893, 0.2872076631, 0.0552274249, 0.0738145038, 0.2380423099, -0.473755002, 0.7001204491, 0.5963329673, 0.03081364, -0.0682141334, -0.3498111069, -0.0789510384, -0.1343601495, -0.6050470471, -0.2737621665, 0.7153843045, 0.1384614408, 0.6993892193, -0.0051981243, 0.4328457713, 0.0022156534, 0.2112845778, -0.9611402154, 0.6967415214, -0.0023586235, -0.4545052052, -0.4185580611, -0.3802666664, -0.9050754905, 0.5257685184, -0.0456088185, -0.6757215261, 0.5133509636, 0.1952360421, -0.2655008137, 0.0524496846, -0.3632940054, 1.0982177258, -0.2256790996, -0.9771072268, 0.2694893181, -0.6032068729, 0.5477787852, -0.267536968, 0.0792530552, -0.0592113398, -0.2555465698, 0.5602966547, -0.3276014328, 0.5761681199, 0.0243654326, 0.0292445123, 0.4978491366, 0.1075894088, 0.5738955736, -0.1251284778, 0.064342387, 0.1178582087, 0.1845899224, -0.4604006112, -0.6328234076, 0.4026831985, -0.1034556404, -0.6589129567, -0.4206364751, -0.3119172454, -0.1024601385, 0.2430116534, 0.3148179054, 0.458062917, -0.1856382489, 0.5398070216, 0.8410921693, -0.2796346247, 0.5965663195, 0.0845754966, -0.2807098031, -0.1400425434, 0.7360201478, -0.1055949554, 0.3448682725, 0.1408678144, -0.0439238586, -0.4736069143, -0.4031664133, -0.4645371735, 0.0253327582, -1.1609852314, -0.0395390876, -0.3946919143, -0.1823964268, -0.1491226256, 0.1370801777, -0.384847194, -0.1530940533, -0.2281212509, 0.4235117733, -0.0287338868, 0.5711306334, 0.415441066, -0.1518877447, -0.760727644, 0.1708292365, 0.717120707, 0.2653601468, -0.1961196065, -0.5114337802, -0.4329795241, -0.1996033341, -0.1637437791, -0.7507835031, 0.5050147176, 0.1565012336, 0.5956398845, 0.2959005833, 0.0278696753, 1.0239508152, -0.5803138614, 0.9697266221, 0.2388641089, -0.9483648539, 0.3289425075, -0.2624070942, 0.6787096858, 0.4208650887, 0.1758138239, -0.5398802757, -0.2894689739, -0.3250049949, -0.9374464154, 0.1812349111, 0.2659645677, -0.1133611724, -0.1523553431, 0.3034285307, -0.0640589222, 0.1444154829, -0.7458799481, 0.0212047976, -0.1906066835, -0.1778663844, -0.0466501303, -0.3670283258, -0.0989717245, -0.3697543144, 0.2046261728, -0.157246083, 0.1945299357, 0.3802257776, -0.048164852, 0.1941606104, -0.1108593792, 0.7780660391, 0.7982302308, -0.045600377, 0.3961791992, 0.1480984986, -0.4475308061, -0.236172691, -0.1609713733, -0.1890428215, 0.2502597868, 0.4035062194, 0.8414016366, 0.0800421983, -1.2336266041, 0.7361102104, -0.3127467036, -0.3152816892, -0.5093168616, 0.010154889, 0.07989005, 0.1828497797, 0.4179778099, 0.1459962726, 0.2429947257, -0.5183250904, 0.2742503583, 0.5825724006, -0.6523808837, -0.097157225, 0.8076558113, 0.2037740797, -0.3221592605, 0.573351562, -0.0096626598, -0.4565721154, 0.8071537614, 0.0414915234, 0.8167196512, 0.0629536808, -0.2628279924, 0.205359444, 0.3867734373, -0.1389764249, 0.1326141804, -0.1111084595, -0.2502572834, -0.362154901, -0.4195364416, -0.2136270851, 0.2628164589, -0.6765323281, 0.3810197115, -0.1381780058, -0.0166331455, 0.0796810165, -0.4243151546, -0.7843852043, 0.3635978997, 0.0934241414, 0.969408989, -0.4692970812, 0.9336109161, 0.4526477158, -0.1512365341, -0.2728080451, -0.0176080931, -0.1347627193, -0.5692003965, 1.0306370258, 0.2967385054, -0.3286425173, -0.4499819279, -0.7209711671, -0.8343417048, 0.9851627946, 0.2115838081, -0.6172028184, 0.0137243709, -0.2118715793, 0.5492386222, -0.2551570833, 0.0991984978, 0.331543535, 0.2033055425, 0.2696492672, -0.8429108262, 0.0795092732, -0.2904394269, 0.0954962671, 0.3245308399, -0.6591038704, 1.126968503, -0.1723798066, -0.364405334, 0.4004184902, 0.5016467571, 0.2507058978, 0.5918539762, 0.5282865763, 0.1746572107, 0.5159514546, -0.1592741311, 1.0190553665, 0.0471843705, 0.3165732324, 1.1013394594, -0.3824329972, 1.0925052166, 0.8056796789, 0.332166642, 0.4110807776, 0.6543467641, 0.1451696903, 0.7618495822, 0.2188435495, -0.2728893757, -0.7368026972, 0.1525654346, -0.1771309078, 0.5509375334, 0.4052798748, -0.4207573235, 0.0085412543, -0.0435918607, -0.3582289517, 0.0006272896, -0.1559976339, 0.4349114597, 0.1114987954, -0.9481031299, 1.0085135698, -0.2942294478, 0.3071360886, -0.4052907526, -0.2079467773, -0.1915865242, 0.3470341861, 0.3270382285, -0.6698684692, 0.3860702217, -0.1541743279, -0.0382996798, 0.0304704066, 0.73947227, -0.4574955404, -0.3926709294, 0.2936207056, 0.4536477625, 0.2687364519, -0.030076284, -0.6333453059, 0.2318091989, -0.1634249985, -0.4333544672, 0.2538761795, 0.6568785906, -0.4478011727, 1.0771085024, 0.3551310897, -0.1133327186, 0.1968915015, -0.3000109494, 0.9791223407, -0.9512167573, -0.249945417, -0.9895539284, 0.4454754889, -0.4093831778, -0.5017525554, 0.9235643744, 0.4393583536, 0.5940400362, -0.2531665862, 0.4643033445, 0.0436991528, 0.2192563862, -0.7062281966, 0.527754426, -0.960496664, 0.1440344155, -0.0968448669, -0.731058836, -0.3720960915, 0.4403497577, -0.230226934, -0.0608166866, 0.9155486226, 0.5370590091, 0.0328116864, -0.5774273872, 0.8538293839, -0.0410743132, 0.1601235569, 0.8533086777, 1.2212620974, -0.56297189, 0.6784858108, -0.1200682744, -0.0246574767, -0.3760152161, -1.0394330025, -1.1176477671, -0.7551794648, -0.3297508359, -0.2809877098, 0.296900928, 0.3111770153, 0.7547622323, -0.3044111133, -0.0315336734, 0.0227338541, 0.1883784682, -0.3604621589, -0.2507284582, 0.2527420819, -0.1472030282, -0.6955349445, 0.2185824364, 0.4841048419, 0.0506935269, -0.2966559827, -0.024940148, -0.0420112573, 0.150482282, 0.8005205393, 0.3671401441, -0.9276176095, -0.4371504486, 0.2222417891, -0.321074605, -0.0856209025, 0.4944707155, -1.0857621431, 0.6519414783, 0.5036365986, 0.4940904081, 0.3295497894, 0.0082496861, 0.2893117666, -0.5948108435, 0.3871486485, 0.4222952425, 0.3257803619, 0.1810174435, -0.2501403689, 0.4591895342, 0.4294223189, -0.5799803734, -1.1182487011, 0.1615247279, -0.9777294397, -0.3628802299, 1.1942927837, -0.1955984235, -0.771163702, -0.134362489, -0.044432871, -0.2664881945, 0.0141315069, 0.7481100559, 0.685636282, 0.1703677028, -0.4847874939, -0.5301188827, 0.7736253738, 0.4648976028, -0.8385928869, 0.31153211, 0.7468704581, 0.2609696686, 0.1940077245, 0.5975087881, 0.036786925, 0.6343626976, 0.2792064846, 0.0758735165, 0.029179981, -0.4550892115, -0.3252757788, 0.1957140565, -0.096371524, -0.3716248274 ]
http://arxiv.org/abs/2406.16845v1
http://arxiv.org/pdf/2406.16845v1
RaTEScore: A Metric for Radiology Report Generation
2024-06-24T17:49:28
2024-06-24T17:49:28
Weike Zhao, Chaoyi Wu, Xiaoman Zhang, Ya Zhang, Yanfeng Wang, Weidi Xie
cs.CL
cs.CL
This paper introduces a novel, entity-aware metric, termed as Radiological Report (Text) Evaluation (RaTEScore), to assess the quality of medical reports generated by AI models. RaTEScore emphasizes crucial medical entities such as diagnostic outcomes and anatomical details, and is robust against complex medical synonyms and sensitive to negation expressions. Technically, we developed a comprehensive medical NER dataset, RaTE-NER, and trained an NER model specifically for this purpose. This model enables the decomposition of complex radiological reports into constituent medical entities. The metric itself is derived by comparing the similarity of entity embeddings, obtained from a language model, based on their types and relevance to clinical significance. Our evaluations demonstrate that RaTEScore aligns more closely with human preference than existing metrics, validated both on established public benchmarks and our newly proposed RaTE-Eval benchmark.
[ -0.2318145782, -0.4188628197, 0.5740057826, 0.0350553207, -0.0292321909, -0.0027757138, -0.0983794704, -0.6275430918, 0.0977921486, 0.2420738488, 0.0579799004, -0.8213300705, -0.6411219239, 0.0591187775, -0.2942188084, 1.2704703808, 0.0574144013, 0.5238882899, -0.6352236867, -0.2083009034, -0.4153198302, -0.2577474117, -0.8979648948, -0.5032485127, 0.4221771657, 0.3157089651, 0.8259379268, 0.734117806, 1.2157162428, 0.0988874957, 0.0256689414, 0.095619075, -0.0950542018, 0.1916445941, 0.0127431164, -0.1469993144, -1.1092997789, 0.0163397547, 0.650924623, 0.5650420785, -0.2322332114, 0.3946432173, -0.3677954972, 0.8478637338, -0.5670846105, 0.3134779334, -0.1871533543, 0.1644544601, -0.1219941974, -0.4755681455, -0.4574977458, -0.6061730385, 0.0881385803, -0.3443036377, 0.3583602011, 0.0024763246, 0.8944716454, 0.020600507, -0.3715558052, -0.5512519479, -0.5614437461, 0.4331916571, -0.4697324932, 0.280349046, 0.1807659864, 0.482080549, 0.2153504342, -0.9256398678, -0.1747441143, -0.5754809976, -0.2009509802, 0.2571789324, -0.5827560425, 0.028455453, 0.2302866727, 0.5379381776, -0.7463954091, 0.0798473731, -0.3268839419, -0.3814601004, 0.7309154868, 0.593678534, 0.7817572951, -0.4755426943, -0.3479840457, -0.0177825168, -0.6137859225, -0.1095010564, 0.1184579432, 0.1552049071, -0.1241422072, 0.670879066, -0.4366991818, 0.4009478092, -0.0895405933, -0.4004870355, 0.6034182906, -0.1659185886, 0.0806306675, 0.4921307564, 0.7846264839, 0.8265649676, -0.0527646728, -0.0778703094, -0.3869639933, 0.617620647, 0.4672403336, -0.9326683879, -0.0421095043, 0.2366568595, -0.8178350329, -0.6266176701, -0.2944268882, -0.2459424287, -0.117059201, 0.0137022911, 0.3914338648, -0.7498849034, -0.4200068414, 0.1336846054, -0.0050231046, -0.1339262426, 0.2004841119, -0.2591586411, 0.4159405231, 0.6071890593, 0.7809553146, -0.0028115909, 0.0824601576, -0.5233118534, -0.0819746852, -0.4630008638, 1.2232984304, -0.4222367704, -0.70064044, -0.243151173, -0.3898602426, 0.246706292, -0.5517110229, 0.7638399005, -0.3950881064, 0.1988126636, 0.1952943057, -0.64525491, -0.1465782821, 0.3999583721, -0.7009840012, 0.8602695465, 0.3344462812, -0.8632344604, 0.6778330207, -0.8357403874, -0.5101719499, 0.4325638711, -0.2481017858, -0.4976020157, 0.2600444257, 0.1179073825, 0.2661352456, -0.8017905354, 0.5820426941, 0.1181150451, 0.1100227237, 0.2724041045, -0.2450798303, 0.2056284398, 0.5304492712, 0.1156732962, 0.0568371825, -0.6724970341, 0.3441115916, 0.0556953885, -0.053155601, -0.4174673557, 0.0824581906, 0.0830537826, 0.0694191158, 0.2194806486, -0.7474284768, -0.1665252894, -0.3044286966, 0.2530906498, 0.1976426393, 0.2776709497, 0.3859104216, -0.7396141887, 0.7862915993, 0.1980527192, 0.3752108514, -0.0994424298, -0.3540129662, -0.3908957541, -0.2852012217, 0.250275135, 0.15622437, -0.1176194325, 0.1591680497, -0.6157638431, -1.1402705908, -0.7112700343, -0.5272377133, 0.7239890099, 1.0436702967, 0.2571922839, -0.9471638799, -0.3093874753, -1.2762399912, -0.3555406332, -0.3373930454, 0.1835283637, 0.4062315226, 0.259560734, 0.0763164386, 0.7656007409, -0.6737456918, -0.5344996452, -0.2744803727, 0.1767091006, 0.2085067034, 0.4514330328, 0.4056565762, -0.6469649673, -0.4515430927, -0.2161193639, -0.9017886519, -0.0382777378, 0.1519378126, 0.0274866764, 0.065699406, 0.3014551401, -0.2179518491, 0.4264653921, 0.4809405804, -0.3522150218, 0.3212731183, -0.4719490111, 0.5257403851, -1.0918831825, 0.2796888053, 0.2592487037, -0.3510600328, -0.4422005415, -0.0734435916, 0.1893560439, -0.4304150641, -0.5018365383, 0.5538539886, -0.6202397346, -0.3392789364, -0.0387012027, 0.0394364595, 0.1234852597, -0.2748930156, 0.1221813485, 0.6776521802, 0.6667010188, -0.5942713618, 0.0098422663, 0.3650524318, -0.5871338248, 0.8426837921, -0.7721287608, 0.2848319411, -0.3210210502, 0.2026305944, -0.4645524919, 0.0246214997, -0.2845050395, -0.8436313272, 0.2553066909, -0.3414157927, -0.2755917609, -0.3137103021, -0.0395218879, 0.4323351383, 0.6322948337, 0.080713369, 0.3800201416, 0.7798328996, -0.1033654585, -0.4791921675, -0.6124883294, 0.066771619, 0.0617859215, -0.6777677536, 0.3829450309, -0.100068219, -0.3474135399, 0.516381681, 0.0579328537, -0.2193860561, 0.1151866317, 0.6880934834, 0.4642731845, -0.675293982, 0.1336308122, -0.0579007715, -0.5018618703, 0.2237775773, 0.0609935708, 0.56121099, -0.2742910385, -0.2902955115, -0.5359332561, 0.3364272118, 0.448450923, -0.3893195391, 0.4365595579, 0.3846126497, -0.6179174185, 0.2306588143, -0.5057378411, 0.0173477996, -0.3018535376, 0.5322756767, -0.3881191313, -0.7345698476, 0.3127986789, 0.1557359993, -0.0254492462, 0.865557909, 0.7475366592, 0.0542171113, 1.2562845945, 0.3054189384, 0.1483919173, 0.0137196453, -0.1474210471, 0.2096272707, -1.0383082628, -0.4361949861, -0.677513361, -0.0979053155, -0.5428359509, -0.262214154, 0.7650461197, -0.2150298357, -0.0270662662, 0.0596784651, -0.8943088055, 0.4491335154, 0.05810396, 0.1512072831, 0.4954315126, 0.0145080201, 0.4233263433, -0.2386030704, -0.6399843097, -0.6761934161, 1.2432895899, 0.2623890042, 0.610250771, -0.0093367351, 0.6146556735, 0.7163824439, 0.874815464, -0.9355967045, 0.3935388625, -0.5596669316, -1.0132924318, 0.0347198583, -0.4392631948, -0.8521810174, -0.1745870709, -0.3555347919, -0.1618571281, -0.2431431264, 0.0486397594, -0.4047478735, 0.1107175648, -0.359970659, 0.6504389644, -0.2385276556, 0.2600197792, -0.6442672014, -0.2132868171, 0.2179711014, 0.0613456778, 0.3160920143, -0.740937233, -0.1403499693, 0.8673117757, -0.176883325, 0.3044654429, -0.0350054912, 0.5159151554, 0.2119020969, 0.466688484, -0.0493202619, 0.4787448943, -0.1177719161, 0.3520350456, -0.1344233751, -0.23923482, -0.1908433288, 0.7228469849, -0.7782378793, -0.0639411509, -0.6837515831, -0.5926924944, -0.0861810446, 0.3040753901, 0.4910075665, 1.2145943642, -0.638365984, -0.2661149204, 0.2946024835, -0.3964185417, -0.0298847053, 0.7880850434, -0.0871237144, -0.4815365076, 0.8160297275, 0.0431355126, 0.1433272809, 0.4809576571, 0.1049695387, -0.0947512165, -0.7518982887, -0.2754410803, 0.2044078857, -0.700715363, -0.5974177718, -0.9215686917, -0.5315801501, -0.2477373332, -0.1577666551, -0.7162644267, -0.2688837945, -0.0236474369, 0.0908684209, 0.4895715714, 0.7534324527, -0.1216565743, -0.0059255115, -0.9233209491, 0.074680917, -0.3191598356, 0.3727146685, -0.1846971363, -0.5280359387, -0.2571481466, -0.3388392627, 0.006377554, -0.6339247227, 0.6521834135, 0.2388304025, 0.4946975708, 0.0814498588, 0.0470944308, 0.4573858976, -0.4651199281, 0.6845023036, 0.6006673574, -0.9043912292, 0.8505554199, -0.0697593018, 0.0762787685, 0.6465806365, 0.5475757718, -0.7422248721, -0.51072824, -0.9461091161, -0.8687531352, 0.393465966, -0.1625485122, 0.1720564961, -0.4220259488, 0.294410497, 0.0888809338, -0.125612855, -0.249719575, -0.2695378661, 0.2092993259, -0.1820619106, -0.0708288476, -0.4179507792, -0.2402371764, 0.0518914051, 0.3805588186, -0.0869137123, 0.3511799574, 0.6239103675, -0.4935798645, -0.1985624284, 0.3517229557, 0.4612892568, 0.9068012834, -0.2912019491, 0.2376399487, 0.0024319629, -0.7043130994, 0.2393782139, -0.2088413984, -0.1415655613, 0.32132411, 0.4722286463, 0.5721284747, 0.036150407, -0.5086558461, 0.7091703415, -0.4336502552, -0.0621469431, -0.5370739102, 0.0311831031, -0.0877484977, -0.2322495729, 0.1765564233, 0.4074510634, 0.3823809922, -0.2536495924, 0.4372884333, 0.0842060223, -0.9568210244, -0.3830796778, 0.6114185452, 0.2278222293, -0.3023074269, 0.97870332, -0.1814881414, -0.1822077036, 0.8104869723, 0.4864454567, 0.7478878498, -0.100478448, 0.4985508919, 0.9340408444, 0.2603540123, -0.0064774528, 0.3619487584, 0.617167294, -0.7187390924, -0.3922787607, -0.5518092513, -0.1823779941, -0.1867396832, -1.2339129448, 0.35843876, -0.6268139482, -0.6935203671, 0.3628970385, -0.0882672668, -0.7756643295, 0.5937283635, 0.1535855979, 1.0616127253, -0.6492567062, 0.6169369817, 0.83279562, -0.7600331306, -0.9710276723, -0.3654391766, -0.0628276765, -0.8486992717, 0.8644172549, 0.1304969341, 0.073485218, -0.0976636484, -0.0328226089, -0.7457479835, 1.0928095579, 0.1470118016, -0.3337989748, -0.0284223091, -0.3164320588, 0.6807820201, -0.8257152438, 0.8161664009, 0.4038601816, 0.1261989325, -0.568743825, -1.0822461843, 0.2096572667, -0.2484065294, 0.051475931, 0.4047498405, -0.495312959, 0.765011847, -0.4301669598, -0.4167365134, -0.2052979469, 0.4902895987, -0.0301335454, 0.6449658275, 0.5623472333, 0.6292554736, 0.5343103409, -0.0464625657, 1.5379209518, -0.5309076905, 0.3221553266, 0.8130909801, -0.3459976614, 0.591398716, 0.0166382845, -0.0974493101, 0.5459823012, 0.4043568075, 0.014339109, 0.3808857203, -0.0000148974, -0.1815674752, -0.3375733793, -0.7138848305, -0.7268872261, 0.5192220211, 0.2584810555, -0.498516947, -0.2895731032, -0.2542190552, 0.1730872542, 0.0876048431, -0.2334544212, 0.8938727379, 0.1263692826, -0.5390779376, 0.2718856633, -0.0229860395, 0.3649347723, -0.6621310115, 0.174861744, -0.378085047, 0.0683606192, -0.5645803809, -0.8948696256, 0.483607769, 0.2858499587, -0.5373021364, -0.0227376577, 0.579623878, -0.0178911369, -0.3894458711, 0.1406037956, 0.4602359235, 0.301042676, 0.2173290998, -0.6211083531, -0.0913750008, -0.1635088027, -0.1403963566, 0.4882283211, 0.1269186884, -0.1094799116, 0.6433336735, 0.605709374, 0.6061102748, -0.6126635671, 0.3032853901, 0.7145872116, -0.5864316821, -0.4520383179, -0.5550878048, 0.4279203117, -0.0644980669, -0.6838219762, 0.3098648489, 1.0199452639, 0.5421823263, 0.1507460475, 0.5741422772, -0.2232211828, 0.5685551167, -0.3167714477, 1.1042494774, -0.5919126868, 0.114850007, -0.1218033135, -0.7064234614, -0.2361638546, 0.2636916339, -0.2556631267, -0.2432806641, 0.9931253791, 0.7939875126, 0.1181381568, -0.2002528459, 0.334794879, 0.0073079118, 0.3048987389, 0.5852769017, 0.8656161427, -0.3592274189, 0.5326157808, -0.2790115178, -0.2418728471, -0.0440199226, -0.7273499966, -0.2776855528, -0.5511103272, -0.6521729827, -0.6949104667, 0.1534486264, 0.6281625628, 0.7296118736, -0.4893235862, -0.1243832931, 0.433405906, -0.3072983921, -0.0785424113, -0.2588009238, 0.4936845303, -0.3696542084, -0.3935762346, 0.1862872094, 0.6067792177, -0.2444916964, -0.0896097794, -0.0227297693, 0.4616755545, -0.1487234086, 0.2750260532, -0.1004303172, -0.278249532, -0.1565009952, -0.013604763, -0.8252379894, 0.3740845919, 1.0097783804, -0.6389833093, 0.5607119203, 0.4884254038, 0.3309040368, 0.4250451028, -0.3833893538, 0.5205338597, -0.2863977551, 0.1311750263, 0.7353054881, 0.2208262831, 0.4702512026, -0.4369524717, 0.5343996882, -0.032538183, -0.4822417498, -1.0607231855, 0.2832678258, -1.0365729332, 0.0384987928, 0.7797614932, -0.0766393021, -0.2909246385, 0.1362924427, 0.1891918629, 0.3400733471, -0.5943384171, 0.5982411504, 0.1906225234, -0.3831154406, 0.1804340631, -0.5295590758, 0.5483164787, 0.4228388965, -0.926199913, -0.4080341756, 0.5824289918, 0.6067934036, 0.205172345, 1.101246953, -0.8127992749, 0.7229935527, 0.0575256087, 0.576038897, -0.2068197727, -0.0377448127, -0.1903181076, 0.1982476711, 0.4093017876, 0.1230796278 ]
http://arxiv.org/abs/2406.16842v1
http://arxiv.org/pdf/2406.16842v1
Exploring Factual Entailment with NLI: A News Media Study
2024-06-24T17:47:55
2024-06-24T17:47:55
Guy Mor-Lan, Effi Levi
cs.CL
cs.CL
We explore the relationship between factuality and Natural Language Inference (NLI) by introducing FactRel -- a novel annotation scheme that models \textit{factual} rather than \textit{textual} entailment, and use it to annotate a dataset of naturally occurring sentences from news articles. Our analysis shows that 84\% of factually supporting pairs and 63\% of factually undermining pairs do not amount to NLI entailment or contradiction, respectively, suggesting that factual relationships are more apt for analyzing media discourse. We experiment with models for pairwise classification on the new dataset, and find that in some cases, generating synthetic data with GPT-4 on the basis of the annotated dataset can improve performance. Surprisingly, few-shot learning with GPT-4 yields strong results on par with medium LMs (DeBERTa) trained on the labelled dataset. We hypothesize that these results indicate the fundamental dependence of this task on both world knowledge and advanced reasoning abilities.
[ -0.4707498848, -1.1193916798, 0.7609236836, 0.0680736899, -0.1832626462, -0.0786274374, -0.1416017562, -0.6284224987, 0.20179075, 0.340786159, -0.4537791312, -0.4175565541, -0.5067546964, 0.2215599418, -0.2609749734, 1.1904019117, 0.1275364459, -0.1137487292, -0.4243409932, -0.3911089003, -0.3318296671, -0.353856355, -0.5329419374, -0.1902053505, 0.5679892302, 0.3185106218, 0.7222551703, 0.4835020602, 0.6294091344, 0.2772070467, 0.058647804, 0.3265407383, -0.4778569043, -0.0149117447, -0.1586252898, -0.7196524143, -0.0607550256, 0.5026813149, 0.5928456783, 0.5808314681, 0.1734055579, 0.3647125363, -0.216283977, 0.6887912154, -0.6744448543, 0.0149275735, -0.6593013406, 0.1364780366, -0.0841110051, -0.4933115542, -0.3299983442, -0.6218706369, 0.2775602043, -0.807076335, 0.4831527472, 0.4701623917, 1.1531970501, 0.4249783754, -0.700245142, -0.3593911529, -0.9041785002, 0.7162219286, -0.7231822014, 0.4675123096, 0.5126289129, 0.2997665405, 0.0395261012, -0.5548796654, -0.8328885436, -0.1948529184, -0.4546020925, 0.451529175, -0.1614685953, -0.0205453653, 0.5271880627, 0.3408293426, -0.5846898556, -0.1468891948, -0.4955080152, -0.1113023758, 0.6204912066, -0.1762001365, 0.2976153791, -0.3538503349, -0.3384029269, 0.3494107127, -0.8115980029, -0.2195990533, 0.4541124105, 0.1135251224, -0.1656846702, 0.718591392, -0.1917814165, 0.606456995, -0.0899282172, -0.261703223, 0.1846170574, -0.6365334988, -0.1810080856, 0.4381347299, 0.6486834884, 0.3098334968, 0.1099199429, -0.2978058159, 0.0661411136, 0.3784420788, 0.0254360512, -0.6084254384, -0.0994046926, 0.1701514572, -0.2219421118, -0.3272007108, 0.2592305243, -0.5423787832, -0.2866559625, -0.6904740334, 0.5071889162, -0.4382452965, -0.1996997148, 0.1597273499, -0.2815087438, 0.469640255, 0.1464150697, -0.5801669955, 0.3475848138, 0.8290379643, 0.9175562859, 0.062160939, -0.0204969011, -0.583409071, 0.2524561882, -0.4586963356, 0.8553932309, -0.5563024879, 0.0416355729, -0.0403055474, -0.2617446482, -0.1128363088, -0.3125384748, 1.0997955799, -0.5199032426, 0.548558414, -0.3932295442, -0.7878090143, -0.493532002, 0.6056831479, -0.8519338369, 0.9028269649, -0.3249837458, -1.2404121161, 0.5043156147, -0.6824790239, -0.4932830334, -0.2279937416, -0.1960877627, -0.3882370889, 0.0882641524, 0.2258172631, 0.1234846562, -0.2577068508, 0.578740418, -0.2940583229, -0.4000006616, 0.4515333176, -0.664963603, 0.5844739676, 0.0563275479, -0.3346351981, -0.2322524637, -0.8802214265, -0.3243824244, -0.0896443054, -0.3892252445, -0.4356478155, 0.0111783398, -0.1517365128, 0.138688758, -0.1463374943, -0.8116803169, -0.0229242593, -0.4029071629, 0.2013190985, 0.1861178577, 0.3337015212, 0.4541215897, -0.3738025725, -0.0262000952, -0.0939495265, 0.0058753351, 0.062800914, -0.5039928555, -0.8841276169, -0.1335746795, 0.6003781557, 0.6705586314, -0.806769073, 0.2315704674, -0.2672139704, -0.1663313508, -0.5174518228, -0.0353376791, 0.2340462357, 0.6572751999, 0.27540344, 0.0684887022, -0.861769557, -1.0803990364, -0.3726851642, -0.1180683374, 0.1269505024, 0.0870103613, 0.5704810023, -0.0241133291, 1.2362027168, -0.5526410937, -0.2537313998, -0.2266233414, 0.5958153605, 0.3043738306, 0.2838022709, 0.6175913215, -1.1305968761, -0.1717257649, -0.1339185536, -1.145075202, -0.0035486771, -0.3446728587, -0.1661644578, 0.4174812734, 0.3518509567, -0.7301195264, 0.6421952248, 0.2551595271, -0.2229146212, 0.4683068991, -0.0543530434, 0.3012848198, -0.7378752232, 0.0365967117, 0.479503423, -0.1798135787, -0.6879646778, -0.0858569443, -0.2734463513, 0.0429485478, -0.4163404405, 0.2104968578, -0.2520570457, -0.1809749156, -0.2639796138, 0.2218904942, 0.2547764182, 0.3215603232, 0.2040455639, 0.5062868595, 0.4623093307, -0.5479889512, 0.2967600226, 0.2660064399, -0.23547557, 0.48077631, -0.6186231971, -0.0422753543, -0.3537092805, 0.4821364284, -0.7956444621, -0.2560818195, 0.2838973403, -0.426014185, 0.0451155081, -0.2118738592, -0.6483829618, -0.0817296728, -0.2246249169, 0.0914152563, 0.271412164, -0.4680653512, 0.5958895683, 0.1746185571, 0.0784228817, -0.4056348801, -0.8037526011, 0.1637225151, -0.449593097, -0.4835087657, 0.2271530181, 0.1311783195, -0.5693772435, 0.1855044216, -0.2105747759, -0.2274093628, -0.1290924102, 0.1260683537, 0.3011025488, -0.513364315, 0.2624451518, -0.0789959133, 0.0011158471, 0.2402784526, 0.026743345, -0.0058379588, -0.2914772332, -0.3259554803, -0.5047730207, 0.2543642223, 0.1755830497, -0.3096340597, 0.7775985003, 0.8076635003, -0.3612156808, 0.1289533377, -0.7119011879, -0.3132089972, -0.37870875, 0.0104685137, -0.1862573922, -0.6270935535, 0.268617928, 0.0163283553, 0.1168224737, 0.3056560159, 0.0061184452, -0.1381105036, 0.7282579541, 0.4160992801, 0.0249308702, 0.070069477, -0.4651881456, 0.2856456637, -0.4265934229, -0.0641825721, -0.1471578479, -0.383667618, -0.7993897796, -0.2321622074, 0.34360677, -0.1195414513, -0.1713754833, 0.0390802473, -0.0478433706, 0.8032883406, 0.6569305658, 0.1700731367, 0.5775113702, -0.208530724, 0.3866565228, -0.1212685108, -0.7403445244, -0.4003386796, 0.9653757215, 0.2835849822, 0.5496587157, 0.3937752545, 0.6532241106, 0.1487743855, 0.343746841, -0.7487934828, 0.4382075369, -0.0608464256, -0.8423469663, -0.1158453226, -0.4797353446, -0.5477968454, 0.2127691358, -0.6523225307, -0.3209591508, 0.2213656902, 0.0495461337, -0.3517138362, 0.2224173099, -0.7213917375, 0.4837088287, -0.2770490348, -0.5817322731, -0.1914371699, -0.768324554, 0.8065672517, -0.0502275229, 0.3078770638, -0.1656344682, 0.118358165, 0.663875401, 0.1318062991, 1.0263990164, -0.0570255369, 0.0083115352, 0.5817317963, -0.1051405445, 0.1941446811, 0.4765128195, -0.1126367822, -0.0302738268, -0.2187892199, -0.3006293774, -1.0878874063, 0.6063950062, -0.5012094378, -0.7281175852, -0.6586706638, -0.5429312587, -0.2204141021, 0.0853950605, 0.1135907471, 0.8151679635, -0.2770400941, 0.2578821778, 0.804587543, 0.040687684, 0.3962819874, 0.5736631751, -0.0145794665, -0.1884128004, 0.9926565289, 0.1914970279, 0.1421120316, 0.3949994147, 0.4417182505, -0.5106270313, -0.3762522042, -0.3289373517, 0.4533454478, -0.7654854059, -0.0541120172, -0.5413272381, -0.263861686, -0.2000567615, 0.0897974744, -0.1695815325, -0.5576406717, 0.0162039008, -0.4193649292, 0.4136380851, 0.7692912221, -0.1294294149, 0.0304895379, -0.6588226557, 0.4708113372, 0.3443148136, 0.0783933029, -0.5303940177, -0.4404189289, -0.0955623314, 0.1999090165, -0.4255276024, -0.8617645502, 0.0649207309, 0.500960052, 0.5141501427, 0.4031555057, 0.359988004, 0.5237110853, -0.5249942541, 0.5625025034, -0.0884118006, -0.7141728401, 0.5936111212, -0.3987415433, -0.0470928177, 0.6338955164, 0.8097583652, -0.2531128824, -0.557280302, -0.7875153422, -0.370080173, 0.3243164122, 0.4128859043, 0.0011871519, -0.0298035145, 0.3224548995, 0.0724340677, 0.1846448481, -0.6622398496, -0.2296055406, -0.3155607581, -0.2803168893, 0.0612147786, -0.1844478101, -0.4741938114, -0.4675014317, 0.6318680644, -0.2487750649, 0.2925672233, 0.4318066835, -0.1213692948, 0.1820562333, 0.3481346667, 0.6370255947, 0.752820015, -0.3561185002, 0.481475234, 0.2896767557, -0.2093648016, 0.0524432212, 0.2181126177, -0.2626668513, 0.2416465133, 0.5451835394, 0.9093665481, 0.3864009678, -0.3423452675, 0.5990499854, 0.0526336096, -0.3782785833, -0.3153669834, -0.0685953647, 0.1039249077, 0.1030209512, 0.365386039, 0.1365003884, 0.5768796206, -0.8530536294, 0.3589273989, 0.2729623914, -0.3314626217, -0.5070821643, 0.4497778416, 0.2180553228, 0.1842031628, 0.4168475568, -0.3550306261, -0.5070801377, 0.486469835, 0.7005831003, 0.4704188406, 0.3763202429, 0.4625049531, 0.4661618173, 0.3016198575, -0.1225124821, 0.087315321, 0.2067429274, -0.8623949289, -0.8225072026, -0.3896337152, -0.4577305019, 0.1117020473, -0.5729104877, 0.3241733015, -0.2749345899, 0.0424575396, 0.3297085166, -0.0439496264, -0.5900840163, 0.3468291163, 0.2185945064, 0.7525225878, -1.2198309898, 0.6352572441, 0.6949689984, -0.6271443367, -0.6391580105, 0.3374383152, 0.1899816692, -0.3198227882, 0.7886595726, 0.2888795137, -0.0260958411, 0.0515468419, -0.6767775416, -0.7935428619, 0.9107663631, 0.4049708843, -0.1733768582, 0.0748058632, 0.2489786297, 0.4457903802, -0.2404063195, 0.2435655743, 0.7845384479, 0.5935797095, 0.2349998206, -0.500585258, 0.0380863026, -0.1040138304, -0.386222899, 0.1334715337, -0.5879847407, 0.4192069471, -0.333370477, -0.4366123378, -0.4794343114, 0.9537060261, 0.245376572, 0.7490273118, 0.446036309, 0.6971729994, 0.6398991942, -0.1380643249, 0.9297730923, -0.006851384, 0.2241220027, 1.060281992, -0.2811941803, 0.7451916337, 0.376647234, -0.0865906104, 0.594181776, 0.4768050909, 0.0218976475, 0.3088810742, -0.1049825773, -0.4431379139, -0.2626900077, -0.3239320219, -0.0724976882, 0.7430633307, 0.346057266, 0.0338847935, -0.2914700508, -0.0294617433, 0.158394739, 0.3007913232, -0.048317302, 0.7814278007, 0.0555661172, -0.6623309851, 0.4312002957, -0.2306380421, 0.7475269437, -0.4425466657, -0.1626765728, -0.1787078083, -0.2453021407, -0.3986356854, -0.8055173159, 0.6893825531, -0.0748803541, -0.1711714268, 0.295555234, 0.8170638084, -0.5756618381, -0.5866552591, -0.2170923352, 0.5461013317, 0.0368233956, 0.1372638643, -0.4850384891, -0.0341705307, -0.1638648212, -0.2290902734, 0.0625663698, 0.5590360165, 0.0518199615, 0.4582149684, 0.7506887913, -0.0064432221, -0.0388587713, 0.0474856235, 0.6914426088, -0.5033923388, -0.2743840516, -0.8847215772, 0.2975015342, -0.4206599593, -0.2413423955, 0.9246813059, 0.8424643874, 0.5391686559, 0.0749536455, 0.9396319389, -0.0693209767, 0.4986840189, -0.8420509696, 0.4515994489, -0.2041271776, -0.0427861959, 0.0623132028, -0.943985343, -0.5402956009, 0.3643467426, -0.63437289, -0.3593101203, 0.8932383657, 0.7261481881, -0.2750335634, 0.5400001407, 0.1215407476, -0.0120733799, 0.2287605256, 0.2473922223, 0.9019260406, -0.3595166802, 0.3832266629, -0.3680956662, -0.1000206992, 0.0869412124, -0.9755880833, -0.8723982573, -0.3625790179, -0.570128262, -0.1294656396, 0.2833543718, 0.7540101409, 0.4783373773, -0.7041251063, 0.1621691287, -0.2728103101, 0.0964571908, -0.0717306286, -0.2649045587, 0.3503026068, -0.442783922, -0.6513232589, 0.4907808602, -0.0513759553, 0.1126724929, -0.1180988774, 0.095779106, -0.6180747747, 0.2387606353, 0.5114397407, 0.2418618202, -0.6690917015, -0.6218655705, -0.12742275, 0.1922541857, 0.0016499893, 0.8342529535, -0.7827208042, 0.2315885425, 0.4444252253, 0.7588397861, 0.3448173106, 0.343603909, 0.5102664232, -1.0651218891, 0.3460540175, 0.0528242998, 0.1978143454, 0.5623174906, -0.3393939435, 0.790379107, 0.5169577599, -0.5406155586, -0.7860680819, 0.347235173, -0.8778412342, -0.0929058716, 1.287565589, 0.0816217884, -0.3038482368, -0.3132490516, -0.1966597885, 0.3443439007, -0.1796609312, 0.5703625083, 0.5020871758, -0.1970783621, -0.2034551501, -1.0622293949, 0.6082901955, 0.1887085587, -0.8210858703, -0.2869009972, 0.4580905437, 0.2239602059, 0.3704473376, 0.3356536329, 0.2673391998, 0.1444205344, 0.076871261, -0.1791723818, -0.043987643, -0.2883703411, 0.1022882015, -0.1208198518, -0.1548104733, -0.2651486397 ]
http://arxiv.org/abs/2406.16838v1
http://arxiv.org/pdf/2406.16838v1
From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Models
2024-06-24T17:45:59
2024-06-24T17:45:59
Sean Welleck, Amanda Bertsch, Matthew Finlayson, Hailey Schoelkopf, Alex Xie, Graham Neubig, Ilia Kulikov, Zaid Harchaoui
cs.CL
cs.CL, cs.LG
One of the most striking findings in modern research on large language models (LLMs) is that scaling up compute during training leads to better results. However, less attention has been given to the benefits of scaling compute during inference. This survey focuses on these inference-time approaches. We explore three areas under a unified mathematical formalism: token-level generation algorithms, meta-generation algorithms, and efficient generation. Token-level generation algorithms, often called decoding algorithms, operate by sampling a single token at a time or constructing a token-level search space and then selecting an output. These methods typically assume access to a language model's logits, next-token distributions, or probability scores. Meta-generation algorithms work on partial or full sequences, incorporating domain knowledge, enabling backtracking, and integrating external information. Efficient generation methods aim to reduce token costs and improve the speed of generation. Our survey unifies perspectives from three research communities: traditional natural language processing, modern LLMs, and machine learning systems.
[ -0.2993516922, -0.758898735, 0.6225365996, 0.3947195709, -0.0821097121, 0.0190147702, -0.2743254602, -0.4391301572, 0.135245651, 0.4234269261, -0.5693733096, -0.123163037, -0.5451883674, 0.1762584299, -0.4494004846, 0.6732481122, 0.2705023587, 0.1883776784, -0.0623783767, 0.1203757972, -0.2875401378, -0.5967976451, -0.8968764544, -0.2548339963, 0.2892805338, 0.2267498672, 0.4978292286, 0.9195615649, 0.2677927613, 0.276930362, -0.1243028566, 0.1650973856, -0.2578422725, 0.128066361, -0.195703879, -0.6305593252, -0.3875196874, -0.2232772261, 0.9104575515, 0.9738734961, -0.1339969486, 0.5615350604, -0.0832441375, 0.5277347565, -1.1199994087, 0.1579177082, -0.7273802757, 0.05602438, -0.3660393655, -0.2922047675, -0.7323057055, -0.2929518521, -0.1322084665, -0.3151049316, 0.4764477909, 0.0941410512, 0.2508322001, 0.063312389, -0.6309403181, -0.391628921, -0.8570614457, 1.3133779764, -0.9046926498, 0.2482258976, 0.1897051185, 0.2181951106, -0.1869426221, -1.007474184, -0.4137811065, 0.1206920967, -0.1713681966, -0.20347628, -0.2789872289, 0.3133364022, 0.4500754178, 0.4226063192, -0.1703183502, 0.2179441005, -0.0388974063, -0.2095975578, 0.5251732469, 0.2517296076, 0.2186181992, -0.3548255861, 0.2460517883, -0.0674562678, -0.868573308, -0.2717038095, 0.2100836635, 0.2107437402, 0.3458124995, 0.5299876332, -0.0350492522, 0.8363258243, -0.0007787164, -0.137791127, -0.0711060017, -0.7026286125, -0.2451292723, -0.1196260676, 0.7805255055, 0.0135674365, 0.1337065846, -0.2277161926, -0.0898493826, 0.0283190515, -0.1071393043, -0.8605175614, 0.1422079057, 0.13934654, -0.5792934895, -0.2829603553, 0.039265465, -0.9560291767, -0.1464720666, -0.2690117657, 0.022136407, -0.112902157, -0.4009171128, 0.112722151, -0.1238849089, 0.3351758122, 0.0490855984, -1.2124761343, 0.5084041357, 0.8692082763, 0.8075580597, 0.0812566355, -0.1053071246, -0.9130217433, 0.2051393539, -0.5727975368, 0.4441749752, -0.4972514212, -0.1507081687, 0.2172387987, -0.2635448873, -0.1285631955, -0.3069889545, 0.5738219619, -0.7012062669, 0.2089045793, -0.2673918009, -0.6251226068, 0.1020716876, -0.0667276531, -0.7463899851, 1.0298658609, -0.1626762748, -0.9704420567, 0.395150125, -0.860915184, -0.6770495772, -0.108224012, 0.0116391834, -0.1994160563, 0.6077128053, 0.5125857592, 0.5492127538, -0.5762858391, 0.1854085177, -0.1278007925, -0.1237110049, 0.1841545403, -0.5674318671, 0.8508550525, 0.6154737473, -0.5154367685, -0.179079324, -0.8133612871, 0.2202718705, 0.2282451093, -0.3782083988, -0.1940969229, 0.4892641306, -0.2095845491, -0.0846649036, 0.1386204064, -0.5602450371, 0.1589215398, -0.4578156471, 0.9759525061, 0.5920240283, 0.0423994176, 0.626899004, 0.1043250933, 0.4057638347, -0.1580086499, -0.002600743, -0.6008640528, -0.1618148834, -0.7069663405, -0.2684419453, 0.5798147321, 0.3005260825, -0.6656165123, 0.3233931959, -0.4474153221, -0.1337647885, -0.4747447073, 0.0305732787, 0.3145938814, 0.1832266748, 0.2638407946, 0.186001122, -0.5538124442, -0.6610673666, -0.5270824432, -0.1131287888, -0.1990966499, 0.3252705336, 0.2313778847, -0.2277717292, 0.8781418204, -0.5486729741, 0.4451247752, -0.3757231832, 0.2481721342, 0.157454446, 0.3119605184, 0.5172386765, -0.6390286088, -0.2687276602, -0.1654026061, -0.4918921292, -0.1919150501, 0.0225888416, 0.1277509928, 0.4147979319, 0.7608522773, -0.5403551459, 0.2461796254, 0.6238396168, -0.1730652004, 0.4334748983, -0.2027857006, 0.1046874002, -1.1523995399, -0.0092509631, -0.4582605362, -0.3781933784, -0.8184276819, 0.3276323676, -0.023459658, 0.0791652575, -0.1639058441, 0.6205224991, -0.9016494155, -0.4848146737, -0.2581605017, 0.0976103693, -0.1292088479, 0.2371235043, 0.0160279982, 0.5493900776, 0.5130221844, -0.7110793591, 0.1308895051, -0.3494647741, -0.2900691032, 0.1086207554, -0.4660640955, 0.2468843609, -0.0411335453, 0.371845603, -0.9879042506, -0.2868510783, -0.1175244823, -0.3160862923, 0.2243858427, -0.1333864629, -0.9041685462, -0.4637009501, -0.2307330966, 0.8532486558, 0.5366200209, -0.7037317157, 0.714379549, 0.1904401183, 0.0427616425, -0.7812693119, -0.8187137842, 0.1692642868, -0.1191957146, -0.5223306417, 0.0973558873, 0.1206364185, -0.5262352228, 0.0646327585, 0.1069975868, 0.0596828908, 0.1906939298, -0.1133796275, -0.1397156119, -0.3233384192, 0.1237087101, 0.1111648306, -0.0770671591, 0.0779279843, -0.6645414829, 0.7340765595, -0.012671777, -0.4383055568, -0.1620097011, 0.3639058173, 0.5584573746, -0.3259196281, 0.8607612252, 0.5501185656, -0.2628623843, -0.3488248885, -0.639498651, -0.1569437981, -0.4228284061, 0.1556359529, -0.3770076632, -0.7614371777, 0.4975250661, -0.2302566022, 0.5405544043, 0.8205432892, 0.7952415347, 0.1074073538, 1.1435936689, 0.55179286, -0.1168627888, 0.7596655488, -0.223371461, 0.1504205465, -0.6125198007, 0.1646909565, -0.7154781818, -0.2317449898, -0.4554522038, -0.669705689, 0.1001133844, 0.0998115391, -0.1732417643, 0.1214747205, -0.2083549649, 0.515234828, 0.6685727835, -0.3309720755, 0.4587409198, 0.2273527831, -0.1148972958, 0.1951905042, -0.9427707195, -0.1718672514, 1.3378256559, 0.2736847699, 0.6556432247, 0.1103402749, 0.6979415417, 0.3035951555, 0.2973398864, -0.6147025228, 0.4590792954, -0.1474773139, -0.737306416, -0.5502299666, -0.799554646, -1.0228402615, 0.2715159953, -0.1559432894, -0.4918423891, -0.0133240521, 0.2833471, -0.0244797375, 0.6593997478, -0.6408173442, 0.4251516461, -0.0690127313, -0.2285969704, -0.4985119104, -0.651481986, 0.5861570239, -0.141392976, 0.4309284687, 0.2840691507, -0.10060817, 0.5745139718, -0.5066619515, 0.7014129758, -0.1606951803, -0.1396891624, 0.4993955493, 0.1637038887, 0.6368655562, -0.0182187296, -0.1848089844, 0.1094184071, 0.1688770652, -0.5702161193, -0.5633063316, 0.3262063861, -0.4534366727, -0.3047527671, -0.0941125751, -0.5091166496, -0.2189405262, 0.2905099094, 0.5541598797, 0.6032304764, -0.2797451317, 0.1590085477, 0.677013576, -0.2215718776, 0.6852821112, 0.2899998128, -0.2714578807, -0.4096950591, 0.8799189925, 0.1415549219, 0.5241841078, 0.7658712268, 0.2593069375, -0.3254679739, -0.5340528488, -0.4150920808, 0.3748874366, -0.4965150058, -0.1079297438, -0.5379610658, -0.151129961, -0.68447119, -0.0378716178, -0.3983980417, -0.6254953146, -0.3118082881, -0.2470793128, 0.0170542244, 0.7339432836, -0.2926287353, 0.4636690021, -0.7929691076, 0.3517506123, 0.2539501786, -0.001826703, 0.2947615087, -0.1780306697, -0.3123470545, 0.0132984007, -0.0344883949, -0.6230375767, -0.0701054558, 0.2382382601, 0.5061794519, 0.5564103723, -0.1929740906, 0.5185776353, -0.6685400605, 0.8895491362, 0.2566671371, -1.1310060024, 0.2703915536, -0.2291479558, 0.1909922659, 0.2139813751, 0.0028784983, -0.6436796188, -0.1651240885, -0.6810724139, -0.6263795495, 0.4839030206, 0.1542181522, 0.2548928559, -0.1881088465, 0.5190806985, -0.0342854187, 0.2131012976, -0.6443942189, -0.2266755998, -0.0569796823, -0.3046251535, -0.353820771, -0.4141020775, -0.1051464155, 0.0158982296, 0.2027768344, -0.3880500495, 0.3128957748, -0.1083509699, -0.312433362, -0.0908052027, 0.4940463305, 0.5973264575, 0.8304713964, 0.1108250692, 0.2938546836, 0.2459854633, -0.2602803707, 0.1946079731, -0.1547163427, -0.171790272, -0.0134638874, 0.9417757392, 0.8700770736, 0.1999705434, -0.5145820975, 0.5137248635, -0.1084337384, -0.4143738151, -0.0582809635, 0.0120564289, 0.1097012609, 0.1492561996, 0.4310064316, -0.3062869906, 0.1992878914, -0.6566048265, 0.0314961672, 0.6410081387, 0.1192072183, -0.5112358332, 0.6058281064, 0.083767727, -0.2095702887, 0.6542204618, 0.0703524649, -0.2121951431, 0.4640230536, 0.7408215404, 1.0616184473, -0.1012446433, 0.1185879409, 0.3943282068, 0.217881918, -0.269549638, 0.1109728739, -0.3829320073, -0.561188221, -0.8887465596, -0.8529601693, -0.17387335, -0.0465357788, -0.6968694329, -0.0816190392, -0.4175130427, -0.2401780337, -0.1314025074, 0.0144287208, -0.6826556325, -0.0606762879, 0.139283821, 1.1477944851, -0.7875455022, 0.3659631908, 0.4116366208, 0.1163033545, -0.760409236, 0.0233083591, -0.2145842612, -0.6950876117, 0.5794761777, -0.2806177735, -0.2776506245, 0.1925736219, -0.6225324869, -0.8350825906, 0.9948043227, 0.5471966267, -0.450610429, -0.4696290791, 0.1888558865, 0.5426861048, -0.3640863299, 0.2381875664, 0.9926241636, 0.366756022, 0.0956196114, -0.6073876619, -0.0174534507, 0.2178393751, 0.0570455156, 0.548417449, -0.5791104436, 0.8732640147, -0.1974059492, -0.4333817661, 0.1399027258, 0.8183125257, 0.2258183807, 0.1330512911, 0.605512917, 0.6275069714, 0.8106569648, 0.0174095463, 1.1237508059, -0.3397603035, 0.3815050423, 0.8352339268, 0.0911022499, 0.6418409348, 0.4479241669, -0.333927989, 0.5331554413, 0.7000524998, 0.1933990717, 0.2377833128, 0.3442739546, -0.3124430776, -0.1780489832, 0.1873988211, -0.222511813, 0.1439510584, 0.3890449107, -0.45357427, -0.4027329087, -0.1111073568, 0.042444136, -0.3827528954, -0.484985441, 0.9293203354, 0.0893032998, -0.8005019426, 0.2661741674, 0.2532119155, 0.4040468335, -0.6287769079, 0.0363796577, -0.3211128712, 0.1463457346, -0.1836624891, -0.4697272182, 0.0094753429, 0.1089124456, -0.3583967984, -0.2166237086, 0.5848636031, -0.2082951814, -0.7079697847, 0.2129883319, 0.5313310623, 0.2458992004, 0.0876315832, -0.3596785963, -0.0770040601, -0.1671230495, -0.4218552113, 0.1128175184, 0.6325518489, -0.1261317432, 0.6021091938, 0.6583346128, 0.3011898696, 0.6660904288, 0.1664259285, 0.6060410738, -0.7095537186, -0.3450849056, -1.1171627045, 0.1918323338, 0.2199965417, 0.0351560041, 0.7679283619, 0.4133320749, 0.6195524931, 0.0611385554, 0.7404434681, -0.119939819, 0.4088376164, -0.8026940227, 0.161314711, -0.5235925913, 0.0208866578, -0.3577836752, -0.9779004455, -0.3522231877, 0.0641164556, -0.2010975033, 0.0987918451, 0.6213380098, 0.4623096287, -0.0490742512, -0.2378489524, 0.1340825558, 0.0735912994, 0.6223578453, 0.4128066301, 0.7439863682, -0.253672272, 0.550327003, 0.1503165662, -0.2732371986, -0.3196828365, -1.0321621895, -0.7657808661, -0.3812687099, 0.1431407481, -0.202519089, -0.3638440669, 0.6749497056, 0.7838032842, -0.6904948354, -0.3292603493, -0.4041158855, 0.308175534, -0.4283679128, -0.2095006257, 0.5022115707, -0.7963356972, -1.0107218027, 0.3273271322, 0.0192290358, -0.2637855113, -0.5254443884, -0.0216127168, 0.0278022401, 0.4589240253, 0.8325971961, 0.4329165816, -0.5959962606, 0.0048380229, 0.122878857, -0.0831741467, -0.148734495, 1.4266120195, -0.4823056757, 0.2715231776, 0.8086571097, 0.9190187454, 0.7879242897, 0.1737832129, 0.8027752042, -0.663351953, -0.0266240146, 0.0295629408, 0.421774894, 0.1101324782, -0.1917167157, 0.5537040234, 0.3360015452, -0.5197650194, -1.1050583124, 0.5109679103, -0.4140839875, -0.4625963867, 1.0366102457, 0.1744780988, -0.3927199244, 0.2227776349, 0.1762506813, 0.1891044378, 0.0837020352, 0.2860190272, 0.8753788471, -0.2118451297, -0.0492554717, -0.5872215033, 0.503105104, 0.4340951741, -0.7215109468, 0.4419763386, 0.5484276414, 0.3911567926, 0.2841846645, 0.755888164, -0.1642706543, 0.0577801503, 0.1573630869, -0.0180837549, 0.0586144291, -0.4752783179, -0.4566492438, 0.2754201889, 0.0708706453, -0.0263724979 ]
http://arxiv.org/abs/2406.16833v1
http://arxiv.org/pdf/2406.16833v1
USDC: A Dataset of $\underline{U}$ser $\underline{S}$tance and $\underline{D}$ogmatism in Long $\underline{C}$onversations
2024-06-24T17:41:53
2024-06-24T17:41:53
Mounika Marreddy, Subba Reddy Oota, Venkata Charan Chinni, Manish Gupta, Lucie Flek
cs.CL
cs.CL, cs.AI, cs.LG
Identifying user's opinions and stances in long conversation threads on various topics can be extremely critical for enhanced personalization, market research, political campaigns, customer service, conflict resolution, targeted advertising, and content moderation. Hence, training language models to automate this task is critical. However, to train such models, gathering manual annotations has multiple challenges: 1) It is time-consuming and costly; 2) Conversation threads could be very long, increasing chances of noisy annotations; and 3) Interpreting instances where a user changes their opinion within a conversation is difficult because often such transitions are subtle and not expressed explicitly. Inspired by the recent success of large language models (LLMs) for complex natural language processing (NLP) tasks, we leverage Mistral Large and GPT-4 to automate the human annotation process on the following two tasks while also providing reasoning: i) User Stance classification, which involves labeling a user's stance of a post in a conversation on a five-point scale; ii) User Dogmatism classification, which deals with labeling a user's overall opinion in the conversation on a four-point scale. The majority voting on zero-shot, one-shot, and few-shot annotations from these two LLMs on 764 multi-user Reddit conversations helps us curate the USDC dataset. USDC is then used to finetune and instruction-tune multiple deployable small language models for the 5-class stance and 4-class dogmatism classification tasks. We make the code and dataset publicly available [https://anonymous.4open.science/r/USDC-0F7F].
[ -0.664665401, -0.6826114655, 0.6687437892, 0.1015931293, -0.1797625721, -0.0982235074, -0.4555013478, -0.5564361811, -0.1982134134, 0.5407211781, -0.4206049442, -0.7104927897, -0.5768114924, 0.3794558644, -0.115813069, 1.317511797, -0.1030241773, -0.1447520107, -0.0561063848, -0.3895583749, -0.06881468, -0.6942981482, -0.7360986471, -0.3983361721, 0.6919353008, 0.4304103851, 0.7665509582, 0.4642401934, 0.2069880217, 0.349427253, 0.0547939576, 0.0535372682, -0.2558522522, 0.0838622153, -0.2932668626, -0.4343267381, -0.4397120178, 0.5520957112, 0.3589145243, 0.573266983, -0.1294647455, 0.3040463924, -0.112314418, 0.3111329675, -0.2840904593, 0.437194705, -0.5786429048, -0.1712014973, -0.1876938939, 0.2090287358, -0.2703291476, -0.2287956476, 0.100318931, -0.4207116961, 0.2013483793, -0.0472509786, 0.9780573249, 0.2139091045, -0.4022611678, -0.2117570043, -0.5268196464, 0.9629526734, -0.7620260715, 0.2460063398, 0.8170140982, 0.194245249, -0.0418889932, -0.625487566, -0.7579618692, -0.3995373249, -0.1440133005, -0.0412042625, 0.0258581005, 0.1442930996, 0.5422433615, 0.307418704, -0.1289644241, 0.3189045489, -0.0260080546, -0.1339393556, 0.7910172939, 0.1524399668, 0.0477200001, -0.4132326841, -0.348811537, 0.0183951873, -0.4180249572, 0.2385897934, 0.4757906199, 0.2618155181, -0.1753362119, 0.4927535355, -0.4079070687, 0.6439765692, 0.2068895549, -0.1202752367, 0.2148267478, -0.362077564, -0.1768023372, -0.3521859348, 1.0441799164, 0.1534034312, 0.1936391294, 0.0034313505, -0.1632407457, 0.1480693668, 0.2587396502, -0.7680969238, -0.1117873266, 0.1174075231, -0.1603474319, -0.4634065926, 0.2452051044, -0.7757816315, -0.4865231216, -0.860386014, 0.0782793388, 0.0231086835, -0.0546053313, 0.0347801335, 0.1357603818, 0.2282943577, 0.5106913447, -1.032523632, 0.3673359156, 0.7247716188, 0.6602750421, 0.0186905768, -0.0871975496, -0.2326056659, -0.1440109909, -0.1297457665, 0.8574732542, -0.6860044599, -0.1925544739, -0.0775258839, 0.265122354, -0.0260642599, -0.1617570668, 0.5622379184, -0.407215476, 0.3202310801, -0.4107064009, -0.4731422961, -0.162879765, 0.45679757, -0.4921449423, 1.061288476, 0.2236422002, -0.9372392893, 0.2740043402, -0.7666279674, -0.324665159, -0.103092216, -0.4276207685, -0.3852841258, -0.0403251797, 0.4282323122, 0.7523659468, -0.5135564208, 0.2809575796, -0.467025578, -0.0868494883, 0.4753220975, -0.1912715435, 0.6872615218, 0.2305299044, -0.7041355371, 0.0788832083, -0.7561913133, -0.0442121029, 0.100177221, -0.4850243032, -0.3813194335, -0.1219281405, 0.0216246061, 0.3689586818, 0.1327092499, -0.5179843903, 0.4152145684, -0.4044283032, 0.5464064479, 0.9607453346, 0.0155215384, 0.2916318476, 0.0227760915, 0.3588453233, -0.0107781142, 0.1021864638, -0.1420927346, -0.4901752174, -0.8901026845, -0.1875412464, 0.3680332601, 0.5162069798, -0.5394896865, 0.5724202991, -0.2171861827, -0.4456983507, -0.5800529718, 0.2466395646, 0.3439105153, 0.3634063601, 0.3167963028, -0.2320453674, -0.4163216352, -0.8586810827, -0.0887589082, -0.2400263548, -0.1638174802, 0.3209572434, 0.4993555546, -0.5227746367, 0.9550810456, -0.346016109, -0.3593097329, -0.1587808281, 0.7506069541, -0.1043329313, 0.2064262629, 0.3448446691, -0.5453489423, -0.423199445, 0.2004234344, -0.6786273718, -0.2748041451, -0.3490846753, -0.150171265, 0.4826344252, 0.5644065142, -0.6101248264, 0.4897386432, 0.4817718863, -0.2101054788, 0.3442622721, -0.0237908531, 0.2988665104, -1.1570055485, 0.1508522928, 0.3444020748, -0.2568230927, -0.354131192, -0.1606884897, -0.2457144707, -0.019035764, -0.1211014837, 0.515275836, -0.4537833929, 0.1736434698, -0.2491523772, 0.1812729388, -0.2222144306, 0.7068779469, 0.0448078066, 0.6614200473, 0.2372934222, -0.3043958545, 0.4749582112, 0.2409299463, -0.0994367525, 0.6514801979, -0.4810522199, 0.4035986364, -0.0729296431, 0.3603186607, -0.8000908494, -0.3754696548, 0.4261735976, -0.2980059981, 0.2130342573, -0.249484539, -0.6747869253, -0.297647804, -0.2500415444, 0.0665344819, 0.3169125617, -0.4523093104, 0.515527904, 0.668307662, -0.1459834427, -0.4576771855, -0.4104407132, 0.2835589051, -0.0259212963, -0.2654650807, -0.0943132415, 0.1170547456, -0.2779462934, -0.1686252654, 0.0904825106, 0.1867758185, 0.0101570273, 0.5616110563, 0.0354403518, -0.0000555563, 0.2497632056, -0.1284547448, -0.3916538954, 0.1103953868, -0.252378583, 0.4269036055, -0.4956687391, -0.4068789184, -0.676717937, 0.3141176105, 0.5363806486, -0.1023852155, 0.4764444828, 0.7267868519, -0.286529243, -0.1911203265, -0.8137947917, -0.1323993951, -0.4267463088, 0.2842506468, -0.263094753, -0.8498148918, 0.3664922416, -0.110127762, 0.3690976202, 0.5345463753, 0.7078132033, -0.2117745131, 1.2506498098, 0.5455771089, -0.6018573046, 0.4311250448, -0.2551147342, 0.0350351147, -0.4536288977, 0.0571659505, -0.6682761312, -0.3689390719, -0.478769958, -0.4946745038, -0.051430244, -0.2552663088, -0.2856989801, 0.2526103556, -0.3875295222, 0.3760514259, 0.5064482093, -0.087652564, 0.2225156873, 0.179503724, -0.0176000036, -0.2316579968, -0.2890658677, -0.6814039946, 1.0590803623, 0.4397269785, 0.8579819798, -0.2854151428, 0.5480183959, 0.3340038657, 0.5853295922, -0.8147665858, 0.7070832253, 0.0314737745, -0.4996883869, -0.2661892176, -0.4905168116, -0.7963144183, -0.0257954672, -0.2640386522, -0.6222736835, -0.0816915482, 0.1567556858, -0.2967987955, 0.353091687, -0.4666604698, 0.9872436523, -0.2430894971, -0.0817536116, -0.1684843153, -0.9129483104, 0.1410205662, -0.0644883364, 0.2393857837, -0.2117010951, -0.0334271081, 0.6306370497, -0.3863962591, 1.2781367302, -0.2383333296, -0.0444948263, 0.3434077203, -0.283577919, 0.585036397, 0.1588186175, 0.1216823608, 0.4254361391, -0.2685859501, -0.1860179156, -0.5047214031, 0.5650345087, -0.9764980078, -0.5434613228, -0.6448836327, -0.2155293375, -0.2459755838, 0.0031500091, 0.068419829, 0.2833906114, -0.1743079722, 0.1111170873, 0.4554833174, 0.1313491166, 0.2306113839, 0.2455753684, -0.0623007715, -0.4892181754, 0.6317578554, 0.0123027461, 0.1812609732, 0.0592186525, 0.2170434743, -0.2899745703, -0.3692443073, -0.5192988515, 0.4470784962, -0.7822040319, -0.1923775971, -0.8290680647, -0.1591425687, -0.2908111215, -0.1222065836, -0.3095084131, -0.4056586325, -0.4605195224, -0.2310884148, 0.4360912144, 0.7119781375, 0.0884199515, 0.4010035694, -0.6416081786, 0.3811691105, 0.5479918718, 0.2636290193, -0.3290677071, -0.4995365143, -0.2454364002, 0.2255594432, -0.3305985034, -0.718357265, 0.0169363618, 0.2207669616, 0.5037155747, 0.584764719, 0.1278464943, 0.759221375, -0.3228678107, 0.7634118795, 0.1326484531, -0.9137037396, 0.5345489979, -0.3565183878, 0.2160314471, 0.8560988903, 0.5838933587, -0.8061760664, -0.6696825027, -0.6830275655, -0.7403534651, 0.8984761238, 0.1422262937, 0.1212170795, -0.0943465531, 0.4591688514, 0.1369214058, 0.2318589091, -0.8207060695, -0.1085558534, -0.19843629, -0.4860573411, -0.123200573, -0.249297604, -0.3591457605, -0.4380081296, 0.7091889381, -0.4181066155, -0.0363586359, 0.0301295426, -0.0559887998, -0.0962264314, 0.3488467336, 0.359276861, 0.5233590007, 0.0370033197, 0.2442617714, 0.245602861, -0.3997453451, 0.1261517853, 0.3147122562, -0.2152362168, -0.1456690729, 0.0654059947, 0.8259485364, 0.4194198549, -0.4743328094, 0.5587881804, -0.1679204404, -0.1941676289, -0.4559626877, -0.1723819971, 0.1520331651, 0.1138968915, -0.0274368655, 0.1693035811, -0.1220259443, -0.5472952127, 0.1591150463, 0.3656503856, -0.4336228967, -0.6956447959, 0.5468924046, 0.3019309938, 0.0228758678, 0.5805969834, -0.3299787641, -0.5951964259, 0.1850304157, 0.0684375465, 0.9391223192, -0.0928502902, 0.2871889174, 0.5637538433, 0.193718031, -0.269903779, 0.024569191, -0.2776739895, -0.5262051821, -0.3069226742, -0.8052231669, -0.3480781019, 0.0706103444, -0.4850740433, 0.4227486551, -0.7053278089, -0.5211874247, 0.2504510581, 0.0832782909, -0.774559319, 0.0353514478, 0.3153646588, 0.3524594009, -1.0049604177, 0.7737876773, 0.801753521, -0.6529784203, -0.8124882579, -0.1407102793, 0.2253723592, -0.63480407, 0.6374728084, 0.2830445468, -0.1162342504, -0.069461599, -0.8276404142, -0.5364587307, 0.7921196222, 0.0334873535, -0.4310986698, 0.0428843684, 0.3530154228, 0.7003579736, -0.3783372641, 0.0689055547, 0.7384595871, 0.5881383419, -0.0262838826, -0.9251760244, 0.1265823543, -0.0958441272, -0.1189593375, 0.1842272133, -0.4872536957, 0.8526473045, -0.1788914353, -0.344030261, -0.107561253, 0.5544975996, -0.0221100505, 0.1674145609, 0.866098702, 0.7710502148, 0.5042812228, -0.2033560276, 0.8510397077, -0.0611214004, 0.5172738433, 1.0412470102, -0.1040550023, 0.8266716599, 0.3682949543, -0.3650147021, 0.4789063036, 0.7288520932, -0.1464490592, 0.0690722167, 0.2469008118, -0.2853204906, -0.4487214983, 0.1232655793, -0.1655919403, 0.478284508, 0.3651660085, -0.1933697909, -0.2987521291, -0.0204633586, 0.4585958123, 0.071871765, -0.1165654957, 1.1435074806, 0.2197032869, -0.6920521855, 0.4615554512, 0.1615301371, 0.6493401527, -0.5798475742, -0.0130112171, -0.0910780281, 0.1940827668, -0.1780290455, -0.6022889614, 0.1073685437, 0.2001158595, -0.0398365259, -0.1961635351, 0.5694663525, -0.5273842216, -0.6057683229, 0.1193105429, 0.2126976252, 0.1909195781, -0.2158859819, -0.9254501462, -0.1331931204, -0.0055163186, -0.5551447272, 0.2957825661, 0.4919256568, -0.3354783654, 0.4305154383, 0.9360544086, 0.0815153271, -0.0589493513, 0.3231754899, 0.9719355106, -0.8053820729, -0.4133653939, -0.7392706275, 0.4383485615, -0.41602844, -0.2910323143, 0.570130825, 0.2439833432, 0.9140350223, 0.0078044683, 0.8700967431, -0.1220212355, 0.5964816809, -0.2707167566, 0.7769830823, -0.4722266197, 0.1735265553, -0.153422147, -0.6419692039, -0.4151975811, 0.7804600596, -0.318947047, 0.0266499016, 0.5544276237, 0.5965063572, 0.0456457585, 0.1962517649, 0.0157157741, 0.1465959847, 0.5318779349, 0.2317968011, 0.8217157722, -0.2932757735, 0.5439655781, -0.3825834692, -0.2456459999, -0.2583856285, -0.809923768, -1.1232907772, -0.5600440502, -0.483671993, -0.2466850132, -0.253013581, 1.3153660297, 0.693476975, -0.9504252076, -0.1743671298, 0.0154593, -0.1596688926, -0.0491005294, -0.1982594728, 0.3095762432, -0.6317692995, -0.771707952, -0.0379141457, 0.2042120993, 0.1745197475, -0.4241944849, 0.0602668002, -0.2224404663, 0.0042536929, 0.507420361, 0.5903673768, -1.0935260057, -0.5870072246, -0.1936957389, -0.3929926753, 0.0665456429, 0.9155626297, -0.568857789, 0.5972405672, 0.1838367432, 0.7867016196, 0.4285140932, 0.3339937925, 0.4602285028, -0.846380353, 0.2995099425, 0.2756131291, 0.2934951186, 0.3432869017, -0.1684584618, 0.4844337702, 0.3719497621, -0.7792800665, -0.6408035755, 0.1640272141, -1.1775346994, -0.0810431167, 1.2453404665, -0.30610618, -0.1744726002, -0.3594022095, -0.5806472898, 0.1422882676, -0.4500190318, 0.9115903974, 0.8143348694, 0.087440446, 0.0098124398, -0.6874157786, 0.7456983328, 0.0926443338, -1.0452201366, 0.3587706983, 0.6851351261, 0.3167496622, 0.1362990141, 0.745331347, -0.0615898892, -0.1009459943, -0.1630441695, 0.239492178, -0.1462732106, -0.157342568, -0.2938505709, 0.0762175247, 0.0217785239, -0.1570214182 ]
http://arxiv.org/abs/2406.16829v1
http://arxiv.org/pdf/2406.16829v1
Understanding and Mitigating Tokenization Bias in Language Models
2024-06-24T17:38:02
2024-06-24T17:38:02
Buu Phan, Marton Havasi, Matthew Muckley, Karen Ullrich
cs.CL
cs.CL, cs.AI, cs.LG
State-of-the-art language models are autoregressive and operate on subword units known as tokens. Specifically, one must encode the conditioning string into a list of tokens before passing to the language models for next-token prediction. We show that, for encoding schemes such as maximum prefix matching, tokenization induces a sampling bias that cannot be mitigated with more training or data. To counter this universal problem, we propose a novel algorithm to obtain unbiased estimates from a model that was trained on tokenized data. Our method does not require finetuning the model, and its complexity, defined as the number of model runs, scales linearly with the sequence length. As a consequence, we show that one can simulate token-free behavior from a tokenized language model. We empirically verify the correctness of our method through a Markov-chain setup, where it accurately recovers the transition probabilities, as opposed to the conventional method of directly prompting tokens into the language model.
[ -0.1373619735, -0.5870605111, 0.2657859027, 0.0265393537, -0.4597689211, 0.040614035, -0.2815645039, -0.1552059948, 0.1698441654, 0.4918941855, -0.3857710063, -0.3440157771, -0.6471527219, -0.2275754362, -0.4844678342, 1.1111114025, 0.1438042372, 0.5206676722, -0.1089610904, -0.1388511211, -0.5535617471, -0.8740134835, -0.5773388147, -0.4148994982, 0.0907138437, 0.0335577056, 0.6467584968, 0.7339090705, 0.2988522351, 0.1338755637, -0.2174070179, -0.0779498816, -0.3154831529, 0.0440276861, -0.1498686969, -0.6351355314, -0.1457665712, 0.1936382502, 0.5245434642, 0.9208624959, -0.231137827, 0.3050526977, -0.1982495487, 0.3652292788, -0.6251668334, 0.1040850729, -1.0076678991, 0.1298633665, -0.3128041923, -0.1277249902, -0.782453537, 0.030778056, -0.1324178427, -0.4157348275, 0.2722570002, 0.2889185548, 0.527143836, 0.1085930318, -0.4671795964, -0.064671278, -0.6231385469, 0.8781489134, -0.7916892171, 0.5133870244, 0.5544204116, -0.033542309, -0.2422255129, -0.4251917899, -0.4960904717, -0.2046565115, 0.036603488, -0.2541563213, -0.2455691248, 0.2489489317, 0.3586545289, 0.2816295326, -0.2393506765, 0.1885642558, -0.2866072059, -0.3577927947, 0.2575100362, -0.0379422568, 0.3394731879, -0.1060226485, -0.4063633382, -0.0155419949, -0.5426837802, -0.0282119475, 0.5789294243, 0.4566304386, 0.2254654318, 0.5889866948, 0.0128162187, 0.5591042638, 0.2462509573, 0.3262805343, 0.2211962491, -0.4523844421, -0.2999787927, 0.012594996, 0.5410217047, 0.3904118538, 0.502073586, -0.3922848701, -0.342885226, 0.1559531987, 0.1056810543, -0.651835382, -0.1169930845, 0.1311351359, -0.485630244, -0.2723780572, -0.0308548473, -0.6185437441, -0.2833955884, -0.1379628032, 0.2722712159, -0.1631802768, -0.3499229252, 0.0727338344, -0.2762842774, -0.0175022092, -0.2210338414, -1.0648878813, 0.5846648812, 0.5237200856, 0.7599160075, -0.104739584, -0.1268285364, -0.6875942945, 0.0064376369, -0.5987529755, 0.4130639136, -0.7256766558, -0.4116768837, -0.0055428124, -0.2040003091, -0.0401432477, -0.3672762513, 0.3602166176, -0.6569363475, 0.0073655588, -0.2298996747, -0.7530280352, 0.2488839626, -0.019592749, -0.6361077428, 1.0100786686, -0.0174699035, -1.0524470806, 0.5803713202, -0.4866183698, -0.2352374643, -0.3369858563, 0.0624203011, -0.158960253, 0.6061646342, 0.5126318932, 0.114204593, -0.1344745606, 0.4485124946, -0.3138549626, -0.3082192838, 0.3189989626, -0.6163876653, 0.7149373889, 0.2353515178, -0.3262564838, 0.1442105621, -0.4707159996, -0.1253271848, -0.0616544411, -0.2130274773, -0.6062145233, 0.0245809462, 0.0789905861, 0.0719896406, -0.0176794603, -0.6812690496, 0.2789945304, -0.6006020308, 0.4147789776, 1.0968002081, -0.0741936713, 0.7428740263, 0.0571693592, 0.5243171453, 0.3488900959, 0.2602106035, -0.3978612125, -0.3231756985, -0.9109021425, -0.0409208797, 0.7817572355, 0.2951484323, -0.5878155828, 0.2770997584, -0.1535734236, -0.0927369222, -0.5307578444, -0.0460159704, 0.5055584908, 0.3808671534, 0.3232161105, -0.6624728441, -0.8328259587, -0.8126531243, -0.6624961495, -0.2647028267, 0.0409971252, 0.068815589, 0.4317620099, -0.0663041621, 1.1029469967, -0.1870028228, 0.0585797839, -0.1676614732, 0.2032295465, 0.2225337327, 0.833699882, 0.3713101745, -0.3846848309, -0.1419021189, -0.200627923, -0.150331825, -0.206072703, -0.0340943635, -0.1864048094, 0.4093463719, 0.6776608825, -0.4608667493, 0.6833110452, 0.4392096698, -0.5696427822, 0.3629611135, -0.2718889117, -0.2612282932, -0.9164448977, 0.2194327861, -0.0835609213, -0.3032087386, -0.7317461371, -0.040993236, -0.1304261386, 0.1344071031, -0.2026320398, 0.8819938302, -0.5670720339, -0.139022544, -0.391641289, -0.147384271, -0.1343998313, 0.4808964133, -0.0128202941, 0.6847521067, 0.5233569741, -0.5936937332, 0.01666734, 0.0254216995, -0.2991233766, 0.2021224499, -0.594405055, 0.2543517053, -0.3822441101, 0.4511761069, -0.8785873055, 0.2053940594, 0.026688993, -0.6253275871, 0.2034934014, -0.4338683486, -0.4768910408, -0.2793055177, -0.0470446423, 0.7735564113, 0.6543633342, -0.476474911, 0.4873656929, 0.6280399561, 0.3221824467, -0.9003415704, -0.7134023905, 0.0382065438, -0.0671610087, 0.0965241268, 0.1219868287, -0.0944840088, -0.2029095441, -0.1008323058, -0.2826535106, 0.0622906461, 0.2632007301, 0.0070986152, 0.1950608641, 0.1689266264, 0.171251744, -0.0284608211, -0.1489988863, 0.124679938, -1.0081905127, 0.8307221532, 0.3431019783, -0.5708935857, -0.255549401, 0.2168531716, 0.5553179979, -0.2338393927, 0.7375760078, 0.5136821866, -0.6062784195, -0.2842944264, -0.6585227251, -0.3071849048, -0.3797215521, 0.4475156665, -0.3281521201, -0.6016076207, 0.6983343363, 0.2982125282, 0.1607786864, 0.2674693465, 0.6527687907, 0.4449428916, 1.3461693525, 0.6662694216, -0.4496942163, 0.5882830024, -0.0772325024, 0.2341258824, -0.8499340415, -0.2240614146, -0.4926951826, -0.1079239994, -0.5339664221, -0.624876976, 0.019536091, 0.0976815894, -0.1207791567, 0.2041733563, -0.2996712625, 0.6758856177, 0.8606914282, -0.2233110666, 0.1182503849, 0.0809898004, -0.7650117874, 0.1152281687, -0.7517319322, -0.1826953143, 1.2441738844, 0.3157592416, 0.7346004844, -0.1141431853, 0.4070320129, 0.427976191, 0.280169934, -0.6243957877, 0.2378724962, -0.1356764138, -0.8597119451, -0.2752184868, -0.3883577883, -0.8229681849, 0.356990546, -0.1018365622, -0.9752922058, 0.297993809, 0.3610185981, -0.074793376, 0.5694669485, -0.4727565348, 0.643471539, 0.058715146, -0.0948296413, -0.1014322639, -0.4454035163, 0.294521749, -0.0562800467, 0.4624156952, -0.1663313806, 0.0521141626, 0.8785597682, -0.5458946824, 0.8644288182, -0.3979539275, 0.1102008969, 0.1382559836, 0.1804291159, 0.5676108599, -0.0855874345, -0.0939373747, 0.0042794212, 0.0628068, -0.7197068334, -0.4990535378, 0.4198521078, -0.6201655269, -0.4211992621, -0.3850619793, -0.5133733749, -0.3864928782, 0.1793191433, 0.3216888011, 0.4275118709, -0.4211324155, -0.2014206648, 0.3996590078, -0.0495720729, 0.5414244533, 0.2677364945, -0.4600744843, -0.4905268848, 0.5684632063, 0.1534199417, 0.2820116878, 0.1221831888, 0.2889307439, -0.4707481861, -0.5725287199, -0.4818122685, 0.0587531067, -0.7066039443, -0.0697542876, -0.595983088, 0.0600044206, -0.5243435502, 0.2914249301, -0.2973088622, -0.557051003, -0.1083527654, -0.3402549922, 0.1405137777, 0.7024990916, -0.1048855409, 0.3020837605, -0.5712088943, -0.181665197, 0.1264419705, 0.5006864667, 0.2835742533, -0.7451558709, -0.3394940794, 0.0476503409, 0.2756786048, -0.7553030849, 0.3498778939, 0.1098273247, 0.6253999472, 0.4188182652, 0.0478158034, 0.6743504405, -0.716365993, 0.7775368094, 0.1815972179, -1.416514039, 0.3434249461, -0.1885689348, 0.2151248157, 0.5236076713, 0.0855297893, -0.895357132, -0.3042194247, -0.7442196608, -0.8906430006, 0.656042397, 0.2058152705, 0.4880642295, -0.424952805, 0.4752624631, -0.0175139997, 0.4081337452, -0.6693874002, -0.1764030755, -0.1837798804, -0.25678882, -0.1566276848, -0.4247935414, 0.0733828917, -0.1950022876, 0.8050414324, -0.2388997227, 0.1425787508, -0.0161684044, -0.3264976144, -0.0737165064, 0.1073100194, 0.4402530193, 0.5172095299, 0.0064494931, 0.297447145, 0.2839875817, -0.4202863872, 0.1218595356, -0.1852031499, -0.3962894976, 0.2827846706, 0.1426405311, 1.0485249758, 0.0355011486, -0.6356070638, 0.7047434449, -0.1154548004, 0.1552502364, -0.1326100379, -0.3369803429, -0.1505811214, -0.088007845, 0.3479453921, 0.0732712671, 0.0334352963, -0.4869459569, 0.2673898041, 0.7747398615, -0.661742866, -0.5426752567, 0.8359903693, 0.2086578161, -0.2034331113, 0.6041178703, -0.0276786555, -0.5655882955, 0.5981402397, 0.7003372908, 0.8976675868, -0.2121177912, -0.0105201593, 0.4000640512, 0.3333746493, -0.3557570279, 0.1049067304, -0.0808214173, -0.8549393415, -0.3887459934, -0.8039054871, -0.2320816517, 0.0421669744, -0.7587814927, -0.0367619991, -0.420089215, -0.5684580207, -0.2199785262, -0.279618293, -0.6624232531, 0.1630715877, 0.2197728455, 1.0848356485, -0.9959048033, 0.9146872759, 0.3938997686, -0.4346308708, -0.689776361, 0.053219106, -0.1808036417, -0.9318519235, 0.6736591458, 0.0997438803, 0.070896849, 0.0040026507, -0.4574051201, -0.9883256555, 0.4819410741, 0.361022979, -0.3159526885, -0.2046258301, 0.1144496724, 0.3939873278, -0.4204611182, 0.4398080409, 0.7326973677, 0.2990965247, -0.1306399405, -0.9803853631, 0.0245977063, -0.303378284, 0.3966657221, 0.1773570329, -0.3565143049, 0.8563459516, -0.07749594, -0.2158743441, 0.1066553816, 0.7061787248, -0.0327140763, -0.1019807681, 0.7009144425, 0.5191383958, 0.8825338483, 0.0451324508, 0.7880688906, -0.6737282872, 0.4735191762, 1.0467084646, -0.0496958233, 0.6112052202, 0.844119072, -0.0561966114, 0.3682599664, 0.6118616462, 0.0904293433, 0.3759024143, 0.7761477828, -0.1190314367, -0.2218967676, -0.4582563341, -0.0410458781, 0.3654311001, 0.0333909765, -0.6012411118, -0.0468057916, 0.1159510761, 0.1975958645, -0.0063045197, -0.3589562476, 0.7406907082, -0.0583339743, -0.8409796953, 0.4801518023, 0.2439188212, 0.8040603995, -0.3692531884, 0.2513480186, -0.4280828536, 0.0829189569, 0.0164407529, -0.1451509148, 0.1979738772, 0.1492402256, -0.2131688893, -0.0616385341, 0.328854084, -0.5437136889, -0.637008965, 0.1414702237, 0.6150270104, 0.1226205677, 0.1711560637, -0.3947323263, -0.0288480613, -0.116853632, -0.1999630183, 0.3643150926, 0.239435941, -0.4112050831, 0.5774344802, 0.7892834544, 0.2747170031, 0.3007421196, 0.3805723786, 0.7030087113, -0.478520602, -0.6444741488, -1.1094311476, 0.214694649, -0.0812148228, -0.1384746134, 0.5712079406, 0.5862316489, 1.0023605824, 0.0137068201, 0.7703000307, 0.332362324, 0.2296570688, -0.6019638777, 0.5430536866, -0.2231700271, 0.3499988019, -0.0324831419, -0.6251035333, -0.3002665937, 0.3854804635, -0.109993197, 0.138647899, 0.5515298247, 0.7570952177, -0.0456494428, -0.2654155195, 0.2111006528, -0.0350281969, 0.200071618, 0.2589157522, 0.531611979, -0.4111922085, 0.2825913727, -0.0622943975, -0.1057205871, 0.0318840593, -0.8971749544, -1.0796990395, -0.5424056649, -0.0466804802, -0.4992945492, 0.2582712471, 1.2507487535, 0.933339417, -0.9322978258, -0.3617538512, -0.3163039386, 0.191106081, -0.1632077992, -0.1355686933, 0.2846493423, -0.6504238844, -0.9406100512, 0.1498059481, -0.0685595199, 0.1343572289, -0.511526227, 0.0940016732, -0.0671578273, 0.6151753664, 0.2402367443, 0.0393620096, -0.7980768085, -0.2882427871, -0.0368472598, 0.1432858855, 0.1272486597, 1.1413751841, -0.8597917557, 0.57265836, 0.4613788426, 0.6146779656, 0.3595291674, 0.0358473398, 0.8863589168, -0.9914447069, 0.2288733572, 0.009305845, 0.5022185445, 0.3187349737, -0.2377846539, 0.3837351203, 0.3187951148, -0.2361671627, -1.1496511698, 0.5021321177, -0.4224070907, -0.2945982814, 1.1088783741, -0.0354206786, -0.3395676017, -0.1326780766, 0.0224763565, 0.3865555227, -0.414568156, 0.6443058848, 0.7755159736, 0.1824773103, 0.0962603688, -0.2308561504, 0.7118625045, 0.5459646583, -0.2571789324, 0.3784879744, 0.1944982708, 0.3862349093, -0.1158247441, 0.7908329368, -0.0811366439, -0.0666004121, 0.0914862305, 0.2100457847, -0.0324951075, -0.039329417, -0.6081494689, -0.087229982, 0.2914240956, -0.3105944991 ]
http://arxiv.org/abs/2406.16828v1
http://arxiv.org/pdf/2406.16828v1
Ragnarök: A Reusable RAG Framework and Baselines for TREC 2024 Retrieval-Augmented Generation Track
2024-06-24T17:37:52
2024-06-24T17:37:52
Ronak Pradeep, Nandan Thakur, Sahel Sharifymoghaddam, Eric Zhang, Ryan Nguyen, Daniel Campos, Nick Craswell, Jimmy Lin
cs.IR
cs.IR, cs.AI, cs.CL
Did you try out the new Bing Search? Or maybe you fiddled around with Google AI~Overviews? These might sound familiar because the modern-day search stack has recently evolved to include retrieval-augmented generation (RAG) systems. They allow searching and incorporating real-time data into large language models (LLMs) to provide a well-informed, attributed, concise summary in contrast to the traditional search paradigm that relies on displaying a ranked list of documents. Therefore, given these recent advancements, it is crucial to have an arena to build, test, visualize, and systematically evaluate RAG-based search systems. With this in mind, we propose the TREC 2024 RAG Track to foster innovation in evaluating RAG systems. In our work, we lay out the steps we've made towards making this track a reality -- we describe the details of our reusable framework, Ragnar\"ok, explain the curation of the new MS MARCO V2.1 collection choice, release the development topics for the track, and standardize the I/O definitions which assist the end user. Next, using Ragnar\"ok, we identify and provide key industrial baselines such as OpenAI's GPT-4o or Cohere's Command R+. Further, we introduce a web-based user interface for an interactive arena allowing benchmarking pairwise RAG systems by crowdsourcing. We open-source our Ragnar\"ok framework and baselines to achieve a unified standard for future RAG systems.
[ -0.7642362714, -0.3428736329, 0.4861020446, 0.0367216393, -0.1681909859, 0.5373899341, 0.1040788218, -0.5668849349, 0.4588381946, 0.7418422103, -0.4242911339, -0.3466083407, -0.1681105644, 0.1015467569, -0.4285639524, 1.2519577742, -0.2516925037, -0.3786206245, -0.2643065453, -0.3802400529, -0.6439622641, -0.1939498186, -0.6978539228, -0.4312125742, 0.7726893425, 0.549534142, 0.4433104396, 0.7134926319, 0.673209846, 0.243105188, -0.189785257, 0.1664965153, -0.5027308464, 0.5259290934, -0.447496146, -0.2817008495, -0.8659681678, 0.3585586548, 0.6047398448, 0.3318524361, -0.1317978203, 0.6058740616, -0.0676788092, 0.5458769202, -0.7062162757, -0.2374018431, -0.7844664454, 0.1208242923, -0.4980653822, -0.5106432438, -0.3716153204, -0.0403167382, -0.1453775316, -0.9282791615, 0.4397068918, 0.3923454583, 1.0171399117, 0.1856811643, -0.350612849, -0.33371526, -0.6695335507, 0.9097463489, -0.2391280234, 0.4916424155, 0.2425608635, 0.6897804141, -0.2019386292, -1.3272647858, -0.1958190352, -0.342120707, 0.18920739, 0.4110875726, 0.179010123, -0.1845685244, 0.1335394084, 0.4833180904, -0.6739476919, -0.0526098944, -0.2022647262, 0.1085140854, 0.4125262499, 0.3373795152, 0.0800034702, -0.0883777291, -0.6338811517, -0.0369742624, -0.8398070931, -0.361505419, 0.0944128186, 0.1603584588, 0.0115214484, 0.4833321571, -0.1048421487, 0.5120274425, 0.2588453591, 0.0800126344, 0.2703754902, -0.2781297266, -0.0718085468, -0.34399423, 0.3419824541, 0.2370409966, -0.2805438042, -0.3928588629, -0.4843707681, -0.1546118855, 0.8139139414, -0.4667905569, -0.025898505, 0.2228654027, -0.3855724335, -0.4134379625, -0.1211167499, -0.9940229654, -0.4847609699, -0.4747872055, 0.2967763543, -0.017451182, -0.2878800035, -0.3498883545, -0.438878715, 0.4574315548, 0.187621519, -0.4716255665, 0.3034439981, 0.9406231642, 0.82382828, -0.3369668126, -0.222857058, -0.7892972231, 0.2692237794, -0.475096941, 1.0442484617, -0.3699181378, -0.5498682261, -0.1952259094, -0.1124877706, 0.2748797834, -0.7156594992, 0.7282771468, -0.9273825288, 0.2254479378, -0.1984335035, -0.3595036268, 0.1731858104, 0.495513767, -0.8128188848, 1.0161247253, -0.0041120728, -0.8070387244, 0.4557318985, -0.920383513, -0.1725099683, 0.4506206512, -0.0701056793, -0.5786761045, 0.2478435636, -0.012726699, -0.081043072, -0.5568298697, 0.4687597454, -0.2652032971, -0.5358456969, -0.0842576846, -0.2062232494, 0.7191588879, 0.6557604074, -0.5531133413, -0.0341198258, -0.5313352942, 0.323581934, -0.0273150243, -0.4097093642, -0.125070706, -0.1513785124, 0.2287301272, -0.141180858, 0.4441942871, -0.234719649, 0.0424168408, -0.248211816, 0.0067804889, 0.6628879905, 0.0000161483, 0.4454172254, -0.453856796, 0.8826506734, -0.4960264862, 0.2767014802, -0.1585370153, -0.154749766, -0.6178479791, -0.1467626244, 0.6415592432, 0.4851519763, -0.8319771886, 0.0247359369, -0.1899724007, -0.5795962811, -0.3440022767, -0.1802979559, 0.4183731079, 0.5400075316, 0.2906163633, -0.294796139, -1.0141505003, -0.8099193573, -0.4818424881, -0.0354145356, -0.2136442214, 0.3586954474, 0.2570545375, -0.2090862244, 0.9912910461, -0.130903542, -0.1692416817, -0.3875137568, 0.3139616549, 0.1066362709, 0.4471895993, 0.3917495906, -1.1209022999, -0.4170547724, 0.1576508135, -0.9324415922, -0.2406944484, 0.3160509169, -0.2889667451, 0.1348992735, 0.6839144826, -0.2848778367, 0.3921371102, 0.5257763267, -0.2345790565, 0.5424390435, -0.0285388734, 0.3169227242, -1.2828483582, 0.6680699587, -0.3665819764, -0.253198266, -0.4017920792, 0.5626639128, -0.1274560541, -0.3900412023, -0.165658012, 0.8964397907, -0.4737349153, -0.484996289, -0.3117284775, 0.5187352896, 0.2915347517, 0.0548012853, -0.5267065167, 1.0129351616, -0.0590728223, -0.4415745437, 0.211116448, 0.057516098, -0.03729463, 0.8523003459, -0.6495351791, 0.2695330679, 0.1210897565, 0.4492098987, -0.6308812499, -0.2304729074, 0.0054068989, -0.7542706728, 0.4453473389, -0.1663529575, -0.2986763716, -0.3295865059, -0.2520866096, 0.3644661903, 0.3850864768, -0.6898682714, 0.8634194732, 0.8452000618, 0.0593626499, -0.7946122885, -0.4279336035, 0.6407178044, -0.4444018602, -0.3823444843, 0.5520328283, -0.1452350318, -0.2947147191, 0.135424301, -0.2776315808, -0.1753272861, 0.1743014604, 0.189886108, 0.3584368825, -0.2038879842, 0.0359198228, -0.1676521003, -0.4698444903, -0.2290384173, -0.4599192142, 0.3800986111, -0.2460157573, -0.150503695, -0.0693396926, 0.3660232127, 0.5369406343, -0.4944851696, 0.0205786787, 0.664059639, -0.3202572465, -0.0219759978, -0.6545372009, 0.1001100019, -0.4975656271, 0.1466907114, -0.4743483365, -0.9728437662, 0.4858042598, -0.4991303086, 0.4732685387, 0.5567774773, 0.394259572, -0.4583180547, 0.8529554605, 0.8312686682, 0.1788733453, 0.4287714362, -0.4004797935, 0.0790138096, -1.2309656143, -0.135715276, -0.7301755548, -0.5066162944, -0.8476669192, -0.4661608934, 0.6514977813, 0.0127882166, -0.2930229604, 0.3308881819, -0.4512003958, 0.6231606603, 0.529543519, -0.2800295651, 0.2858169973, -0.0318276808, -0.2728503644, -0.0962516293, -0.6478626132, -0.4377399981, 1.1579264402, 0.1396550238, 0.5469248891, -0.2951515615, 1.1371189356, 0.4512419403, 0.7901226878, -0.4482909441, 0.5472946167, -0.3778948188, -1.120349884, -0.1653129011, -0.3125286996, -1.0212665796, 0.0668133646, 0.0879208148, -0.3910922408, 0.1432372034, 0.2817139626, 0.0794095099, 0.3796418309, -0.4814989865, 0.8693047762, -0.2203695476, -0.5511951447, -0.1741607487, -0.5868410468, 0.2840320766, 0.0250145756, 0.2756058276, 0.0210985765, -0.3971382082, 0.7185291052, -0.1225349754, 0.3851433098, -0.2417210937, 0.1610335261, 0.5043373108, 0.1157300472, 0.5170610547, 0.0147014735, -0.165729329, -0.0871976614, -0.3086364567, -0.2800447047, -0.4871958792, 0.8049222231, -0.36141482, -0.4299049079, -0.4447421432, -0.473793745, -0.2788212895, 0.3427117169, 0.3329814076, 0.4844289124, -0.4094904065, 0.379652679, 0.5020115972, 0.0070739752, 0.0522393398, 0.3510502577, -0.442288518, -0.710739851, 1.0682706833, 0.0041252058, 0.0191449337, 0.3697761595, 0.1032740474, -0.3253636956, -0.4434190094, -0.3770909905, 0.098636128, -0.444783777, -0.4310672879, -0.4467977881, -0.1145480871, -0.2018899471, -0.4080722034, -0.4755753279, -0.3435101807, 0.0220387075, 0.1336645335, 0.1700734496, 1.0102310181, -0.3713791966, 0.0374068357, -0.5300642252, 0.5428361893, 0.1241690293, 0.7629140019, -0.194653973, -0.5764762163, -0.5775937438, -0.1074122787, -0.536000967, -0.418191582, 0.2087396532, -0.0573466085, 0.6277133822, -0.2449637204, -0.0191013943, 0.7790811062, -0.5492470264, 0.6165688634, -0.0085552018, -0.7312050462, 0.4193442166, -0.5247650743, 0.1772162616, 0.8382357359, 0.151863277, -0.6502078176, -0.5195387006, -0.8181340098, -1.0128525496, 0.5694214106, 0.0721081868, -0.3262254298, 0.2242070735, 0.3263010681, -0.0196822304, 0.2315308601, -0.2884806693, -0.0159521606, -0.2001419067, -0.067763336, -0.0000855993, -0.1416476816, -0.1647642702, 0.1383659542, 0.6309391856, -0.0466810949, 0.1604627967, 0.016787637, 0.120395489, -0.0223497897, 0.1512572318, 0.268645972, 0.68819803, -0.31776613, 0.1059308797, 0.2379262745, -0.6899988055, 0.0888160467, 0.0305997804, -0.2471455634, 0.1277676225, 0.0486477688, 0.4844070077, 0.3146796227, -0.6027758718, -0.0434400067, -0.0308887213, -0.0641679838, -0.5642752647, -0.1875192523, 0.1296098232, 0.3698447049, 0.3683591187, 0.0269943271, 0.4374216199, -0.374476403, 0.5310218334, 0.2524104416, -0.287122786, -0.0354259014, 0.8363062143, 0.2566046715, -0.4562591314, 0.2360249311, -0.4753871262, -0.4734677672, 0.5119120479, 0.403213948, 1.3095318079, -0.1804771274, 0.1562916189, 0.3253040612, 0.3490923345, 0.0573458374, 0.0315215476, -0.0659243762, -0.1987390965, -0.4694927037, -0.7068824768, -0.7073534131, 0.1377771944, -0.6134866476, 0.3914911449, -0.4145613313, -0.312377274, -0.2137028575, 0.3027740717, -0.6259858012, 0.175999403, -0.2131301165, 1.0165338516, -0.3202277422, 0.3057260811, 0.7677419186, -0.2655799091, -0.6417149305, 0.1125459373, 0.0646101236, -0.6774531603, 0.5567905307, -0.1322877109, -0.1835429221, -0.0884032249, -0.6665106416, -0.9532307386, 1.3167091608, 0.0478807837, -0.2474913746, -0.1871206611, -0.2210961729, 0.5997980833, -0.4416279197, 0.0737334266, 0.4493305385, 0.5936780572, 0.3064371943, -0.793140769, -0.3207403421, -0.2533921599, 0.0937969014, 0.309007585, -0.4132225513, 0.7484163642, -0.023225002, -0.359645009, 0.3459843397, 0.4552177489, 0.6329828501, 0.8745328188, 0.4281207621, 0.8601074219, 0.5088891983, -0.0808417201, 1.0833027363, -0.1981128454, 0.3251477182, 1.4409062862, -0.3470272422, 1.0227798223, 0.3299070299, -0.044356484, 0.3668465316, 0.3645479083, 0.1519351304, 0.2279727161, 0.0777411088, -0.2044821978, -0.0832127482, -0.2720302045, -0.2032865733, 0.4940187335, 0.3248349428, -0.0578612164, -0.4840126336, -0.0764885619, 0.0698572993, 0.1358559281, -0.1228205189, 0.7630100846, -0.055515036, -0.7827385068, 0.6793911457, -0.0872599781, 0.5609307885, -0.4078811407, -0.1604865938, -0.5195156336, 0.1070718914, -0.1381446421, -0.7913833857, 0.4181205332, 0.3761585653, -0.1285223365, -0.3717713356, 0.7478658557, -0.1388952434, -0.345026195, 0.2059561759, 0.4966098368, 0.2638261318, 0.2176285684, -0.6978632212, 0.3724808991, -0.0171334725, -0.1951767802, 0.3841637075, 0.5765506029, -0.1644954532, 0.5786659718, 0.515250802, 0.0580083579, 0.0301785637, -0.0042326776, 0.8190363646, -0.7204523087, -0.2808938622, -0.0019816463, 0.5256927609, -0.290971756, -0.3001180887, 0.5775858164, 0.7860407829, 0.7456803918, 0.2201109827, 0.7282623649, -0.3865389526, 1.1220808029, -0.1590180397, 0.805927515, -1.0350915194, 0.2463321835, -0.0832486898, -0.9179295897, -0.1867449284, 0.1701799035, 0.0963853002, 0.2743620872, 0.5342262983, 0.7061989903, -0.1215343922, -0.0754015967, 0.2167436928, 0.112643607, 0.5669870377, 0.2040604204, 0.6863794923, -0.4779957533, 0.8449041843, 0.035154555, -0.3662300408, -0.4082639217, -0.8373172879, -0.3875063062, -0.7514024377, 0.0182037503, -0.256786406, 0.3508100212, 0.4423195124, 0.4316266775, -0.6075178385, -0.4800507128, -0.1282864213, 0.1859467179, -0.0438306406, -0.2524099052, 0.0306137744, -0.7276194692, -0.6749095321, 0.4560210109, 0.4528167546, -0.1456821412, -0.1930924803, -0.0405423492, -0.2528681755, -0.2328208089, 0.4796565175, 0.6528123617, -0.5881265998, -0.3174071014, 0.3410463929, 0.0194118489, 0.0114780217, 0.9962981343, -1.0169032812, 0.5402989388, 0.489656806, 0.7678852677, 0.5570141673, -0.0516244099, 0.6705162525, -0.6283231378, -0.0894511938, 0.6334577203, 0.0867791176, 0.2659132779, 0.1387891769, 0.8620262146, 0.1723077744, -0.9116667509, -1.1221741438, 0.1906054616, -0.8612046838, 0.0417419709, 0.6311272383, 0.064322859, -0.2470331639, -0.3133650422, -0.1119844317, 0.2383995354, -0.1411295533, 0.7819759846, 0.2885875404, -0.0726988092, 0.163107425, -0.7670231462, 0.4503216743, 0.2624698579, -0.8579170108, 0.1521167159, 0.4546997249, 0.2278802693, 0.4171724916, 0.5463821292, -0.5357043147, 0.4369643629, 0.2381190956, 0.16335769, 0.0068293875, -0.6172642112, -0.098283723, 0.1929080486, 0.0246616025, -0.1498329341 ]
http://arxiv.org/abs/2406.16810v1
http://arxiv.org/pdf/2406.16810v1
PISTOL: Dataset Compilation Pipeline for Structural Unlearning of LLMs
2024-06-24T17:22:36
2024-06-24T17:22:36
Xinchi Qiu, William F. Shen, Yihong Chen, Nicola Cancedda, Pontus Stenetorp, Nicholas D. Lane
cs.LG
cs.LG, cs.AI, cs.CL
Recently, machine unlearning, which seeks to erase specific data stored in the pre-trained or fine-tuned models, has emerged as a crucial protective measure for LLMs. However, unlearning approaches for LLMs that have been considered thus far have focused on the removal of independent data points and have not taken into account that the stored facts are logically connected to one another and form an implicit knowledge graph. To facilitate the development of structural unlearning methods, which are essential for the practical application of unlearning, we propose PISTOL, a pipeline for compiling multi-scenario datasets for benchmarking structural LLM unlearning. Additionally, leveraging sample datasets synthesized using PISTOL, we conducted benchmarks with four distinct unlearning methods on both Llama2-7B and Mistral-7B models. This analysis helps to illustrate the prevailing challenges in effectively and robustly removing highly inter-connected data, batched data, or data skewed towards a specific domain. It also highlights the choice of pre-trained model can impact unlearning performance. This work not only advances our understandings on the limitation of current LLMs unlearning methods and proposes future research directions, but also provides a replicable framework for ongoing exploration and validation in the field.
[ -0.1098896265, -0.6269176006, 0.1749024391, -0.2531363368, -0.4070916772, 0.4853619635, -0.1513744742, -0.0255543292, -0.438593477, 0.4691937268, -0.6935705543, -0.9272348881, -0.6521695256, -0.1564313322, -0.5695183277, 1.0148712397, -0.0948217064, 0.3469597399, -0.0164208524, -0.0090482887, -0.4642564058, -0.4759962857, -0.2293994725, -0.5348590612, 0.1829813272, 0.3500745296, 0.3163321018, 0.8564138412, 0.3157747984, 0.3026659191, -0.3107866049, 0.2155107409, -0.734264791, 0.2479093373, -0.1364112049, -0.4423336983, -0.2399768531, -0.026724495, 0.775372088, 0.8509560823, -0.2252026945, 0.3415731788, 0.5071420074, 0.7479801178, -0.713944912, 0.4938466549, -0.8132263422, 0.3786748648, -0.4186399281, -0.1298289299, -0.3614911735, 0.0442885235, -0.0355320834, -0.4640113711, 0.4057578743, -0.0095004784, 0.2964769602, 0.4255155623, -0.6368529201, -0.2068564147, -0.5215578079, 0.5035127997, -0.4638292193, 0.3926497698, 0.0258905534, 0.2799656391, -0.6508141756, -0.9352983236, -0.0149473967, 0.4184523821, 0.0833468288, 0.1514587998, 0.0316810124, 0.0846167803, 0.1574860215, 0.2349627018, -0.5538449287, 0.2281044275, -1.0212790966, -0.3033126891, 0.4336572587, 0.1805025786, -0.1321729571, -0.2116049379, -0.5935713053, -0.0267762486, -1.3263609409, 0.065711908, 0.5102985501, 0.497289896, -0.1032590866, 0.7571740746, -0.1646612287, 0.4035983086, -0.319209218, -0.1564769894, 0.4087659121, 0.1051081717, -0.2071746737, 0.1243283227, 0.66453439, 0.2923642397, 0.2416083068, -0.4357915819, -0.175614655, 0.0457193926, 0.3382950425, -0.6229733825, -0.3679548204, 0.2207940221, -0.5756560564, -0.2873075008, -0.010963711, -0.7293909192, -0.541772902, -0.3691037893, 0.2567961812, -0.2399230748, 0.0013150797, -0.0548568964, -0.3582791388, -0.0298386812, 0.0200054254, -0.4717304409, -0.0415867269, 0.5548990965, 0.7396950126, -0.2558395565, -0.3712709844, -0.606782794, 0.3968650401, -0.2910478711, 0.6122081876, -0.56717062, -0.6446323395, -0.0974143371, 0.035410963, 0.1991008818, -0.7730247974, 0.4336150587, -0.260229826, 0.1228319705, -0.1716837287, -0.8506490588, -0.2423122674, -0.0164455213, -0.3329758346, 1.0814028978, 0.0590186454, -0.3874628842, 0.6846602559, -0.3050120175, -0.1926859766, -0.1437767297, -0.2683835924, -0.7158989906, 0.1150114834, 0.0629497021, 0.7174972892, -0.3430882096, 0.7474811077, -0.8085548878, -0.4990862608, -0.1893691123, -0.4021787643, 0.6446663141, 0.3935065866, -0.4442167282, 0.0601434149, -0.8446115255, 0.0110331476, -0.0861987248, -0.4673067033, 0.1456881911, 0.1673794985, -0.3726318777, 0.2315271199, -0.0086340634, -0.3871040046, 0.336330384, -0.3497290611, 0.5139279366, 0.9633537531, 0.0663331673, 0.4224065542, -0.2525370717, 0.2029182613, 0.3942680359, 0.1011711806, -0.2172355503, -0.1670844555, -0.6903749108, -0.4173627496, 0.1528561264, 0.4295535982, -0.5420424342, 0.1999039054, 0.1443635821, -0.6563150287, -0.1884479374, 0.6722778678, 0.8842341304, 0.7197062969, 0.5319621563, -0.3905465901, -0.8193356991, -0.6481918693, -0.3649423718, -0.0466544479, -0.1054874733, -0.3097914159, 0.4924859107, -0.0107073355, 0.8182998896, -0.5392060876, -0.4366262853, -0.1866882145, 0.2102249116, 0.0976225436, 0.270942986, 0.2025578171, -0.5697819591, -0.02916844, -0.3987986445, -1.3337967396, 0.0728514642, 0.1042146087, 0.0162352547, 0.0251225717, 0.6757807732, -0.4397080243, 0.7940719128, 0.2134911865, 0.1464958191, 0.5360304713, -0.0037330491, -0.0568489805, -1.0755717754, -0.0504246093, -0.081327498, 0.1717606485, -0.5181355476, -0.0621677041, -0.0220708158, -0.3246352971, -0.7961878181, 0.5474882126, -0.8359667063, -0.4482656717, -0.0668346807, -0.0101817865, -0.0753027871, 0.7636646032, 0.1062453613, 0.6576538086, 0.6951093078, -0.5850166082, 0.2899312973, 0.3012956083, -0.4322414994, 0.1657242626, -0.6332018375, -0.0985261798, -0.1565040797, 0.3195002079, -0.8088060021, 0.1018619239, 0.2386644036, -0.0973458886, 0.332919389, -0.5817260742, -0.4278869331, -0.1237608939, -0.4350485504, 0.1173276305, 0.3436984718, -0.5754776001, 0.4384925663, 0.4476236999, -0.0338051766, -0.920624733, -0.4747428596, -0.2533558309, -0.5666068196, -0.3137379587, 0.3091607392, -0.0306902993, -0.155006513, -0.1443313509, -0.5054822564, -0.1720162034, 0.0642097071, 0.7882003784, 0.3197136819, 0.0289540105, 0.3347136378, 0.1533264071, -0.3295429647, 0.0614105426, -0.0313244835, 0.4582702219, -0.0026642822, -0.6071255803, 0.0115568088, 0.0720606521, 0.228361845, -0.1441695094, 0.6644841433, 0.5193164945, -0.339476645, -0.4335007071, -0.2196918577, -0.12140394, -0.555259943, 0.1819032282, -0.2327217907, -0.8089851737, 0.6085198522, -0.7097263336, 0.5347256064, 0.1530708373, 0.591878891, -0.2522475719, 0.5378750563, 0.4423483312, -0.1762650013, 0.188483879, -0.482539922, 0.1441478282, -0.8786953688, -0.5788716674, -0.3935118318, -0.3910645545, -0.2593685389, -0.2754899859, 0.6473429799, 0.5225117207, -0.5746941566, 0.3200469613, -0.4300199151, 0.600614965, 0.3603550494, 0.3955910504, 0.4640901983, 0.006873779, -0.3591122329, 0.1756906807, -0.5765906572, -0.5982585549, 1.8098351955, 0.0280908402, 0.7041597962, -0.0000109528, 0.8292867541, 0.3405103385, 0.2407150567, -0.4248195887, 0.448566258, -0.1360500306, -0.7322842479, -0.1924482584, -0.5130819082, -0.9116945863, 0.1842518896, -0.2541489601, -0.6216697693, -0.024651356, 0.2590371072, -0.1170295551, 0.6367520094, -0.6707445979, 0.7845609188, -0.0471597202, -0.3190943301, -0.0961998776, -0.8157752156, 0.576133728, -0.2201048136, 0.1043536142, -0.3006031811, 0.1778069139, 0.4750029445, -0.4985847473, 1.1090860367, -0.2467979193, -0.0339640751, 0.3490633667, 0.0189707335, 0.4054668844, 0.1365118325, -0.2080627233, 0.4767563641, -0.1366873831, -0.1666671634, -0.4397179782, 0.2854861319, -0.6228760481, -0.34126544, -0.2004667968, -0.4747465551, -0.3725284338, 0.1388979256, 0.5993391275, 0.7304959893, -0.3100853562, 0.2968256474, 0.5653139949, -0.007986811, 0.634583056, 0.5069544315, 0.0745080486, -0.0906830505, 0.7086265087, 0.2819011509, -0.0462455414, 0.279414624, -0.2522481382, -0.3513141274, -0.911511302, -0.3527511358, -0.112318255, -0.7375653982, -0.5717899203, -0.224456504, -0.2665790319, -0.2530126274, -0.3234930634, -0.4744408429, -0.3762559593, -0.311868608, -0.2692876458, 0.2119095623, 0.6910560131, -0.0853473023, 0.449623704, -0.8789041638, 0.4117870033, -0.0142338453, 0.3295072019, -0.0678980574, -0.5684243441, -0.1528442204, 0.1250017881, -0.6063553095, -0.6158044934, 0.3743623793, 0.2627161741, 0.7610408068, 0.3804424107, 0.3189663887, 0.7155228853, -0.4137786925, 0.4070390761, 0.1153110489, -0.8697009087, 0.5804648995, -0.4483805299, 0.0222249571, 0.4817367494, 0.5677407384, -0.0634177551, -0.3352316618, -0.4843473434, -0.846749723, 0.4225626886, -0.0956924036, -0.3851780891, 0.2453791201, 0.5798942447, 0.1236823052, 0.5336789489, -0.3492414355, -0.3447514772, 0.0374257676, -0.1688923836, -0.1436903477, -0.0456717312, -0.3231105506, -0.1413080543, 0.676923275, -0.1801614165, 0.0074139666, -0.3615178168, -0.4434819818, 0.1296809912, 0.277498126, 0.027058186, 0.6394082308, -0.2059083283, -0.0647207052, 0.4082792699, -0.3956850171, 0.3724502027, -0.2508607209, -0.1403221786, -0.4374610186, 0.4344257414, 0.3928253055, 0.5844213367, -0.7667469978, 0.247863248, 0.2312616259, -0.211509496, -0.3292503357, 0.2769215703, 0.011778879, 0.4767737389, 0.2681384981, 0.0194092784, 0.1917428672, -0.6928041577, 0.5158057213, 0.4051294029, -0.2901530564, -0.1483005732, 0.4901946187, 0.0987276733, 0.1142182946, 0.8131752014, 0.01531839, -0.2937321663, 0.4801709652, 0.1874321103, 0.5071653128, -0.0637957081, 0.1387353688, 0.1688205451, 0.2805228531, -0.1716933995, -0.0061734407, -0.0240733549, -0.638538003, -0.1550388187, -0.5798606873, -0.3892470002, 0.1648378223, -0.8393027186, 0.3912782371, -0.6727284789, 0.1523352712, -0.2160247415, 0.1857724786, -0.5599367023, 0.1746465564, -0.2279853374, 0.6421548128, -0.8006079197, 0.7808164358, 0.2468292862, -0.2387799323, -0.8274533749, -0.4428842962, 1.072868228, -0.9171819687, 0.4913768172, 0.057821624, -0.1534604132, -0.2691038549, -0.3174423873, -0.5229841471, 1.1933703423, 0.7874442935, -0.5206532478, -0.0878552645, 0.2257604897, 0.2270570397, -0.2671239376, 0.1595777422, 0.5774919391, 0.2387267947, 0.1616751701, -0.5536462665, -0.2316405922, -0.3743607104, -0.4714546204, 0.3651540577, -0.6154499054, 0.8636461496, -0.2642587721, -0.1958476901, 0.0246862955, 0.5058867335, 0.4697336257, 0.4294771552, 0.1940687746, 0.6882600784, 0.7330449224, -0.2007879168, 0.3015015423, -0.3107166588, 0.2377075702, 1.4965349436, -0.4585308433, 0.8193768859, 0.1561662406, -0.0218176953, 0.2583639324, 0.7314825058, -0.0888147652, 0.4860667586, 0.2140500546, -0.3442645669, -0.2001463622, 0.3039384782, -0.4988670349, 0.8986421227, 0.2701846957, -0.3106245399, -0.5859784484, -0.1470655054, 0.1004543006, -0.1753843278, -0.1991066039, 0.7518507838, 0.0659137815, -0.2237241566, 0.4111713469, -0.0354361758, 0.5266594887, -0.8169357777, -0.0497328937, -0.4722830653, 0.3556040227, -0.3182219863, -0.6851429939, 0.4558519423, 0.2134485245, -0.2233866453, -0.3666435182, 0.6397332549, -0.5150916576, -0.1226261482, 0.3933274746, 0.6144373417, 0.2989857793, 0.0367893651, -0.7558645606, 0.0785793439, -0.0984773189, -0.3435088694, 0.8272222877, 0.485049963, 0.0347761512, 1.1098452806, 0.8158937693, -0.0954992175, 0.0964025185, -0.0526725464, 1.1519526243, -0.4437776506, 0.0667363703, -0.6685228944, 0.6517948508, 0.1372573823, -0.4702475667, 0.8056311607, 0.9696123004, 0.9286414385, 0.1948278099, 0.5487344861, 0.4407705963, 0.5186508894, -0.8833419681, 0.7373723984, -0.4430472255, 0.7896695137, -0.2887129486, -1.0090420246, -0.0696027577, 0.2187946141, 0.2070601285, 0.0972573385, 0.5185549259, 1.0056134462, -0.09886875, 0.0875133649, 0.2491593957, 0.0350362249, 0.1857256889, 0.5530441999, 0.6787418723, -0.4281328022, 0.6745564938, -0.2092492431, 0.0166259147, 0.2605723441, -0.967689395, -0.8993118405, -0.584400773, -0.0726720318, 0.0219912771, 0.287317574, 0.5952414274, 0.6522772312, -0.5315520167, -0.4294453263, -0.0157100838, 0.1984347552, -0.0146045359, -0.0904042199, 0.3795892, -0.3122557998, -0.3100973368, 0.9480233788, 0.4035805166, 0.0075613256, -0.2071045935, -0.0973109826, 0.0672992095, -0.359123677, 0.4468131959, 0.4429109991, -0.387444824, -0.1554486603, -0.2933319211, 0.3605448604, 0.0259350166, 1.0562628508, -1.0344237089, 0.2422992736, 0.1844433546, 0.4178254008, 0.6006762385, -0.2148375213, 0.7040290833, -1.2748205662, 0.4172371626, -0.2559169233, 0.6376337409, 0.030258812, -0.2520836294, 0.8653252721, 0.2398796976, -0.3640062213, -1.0831679106, 0.1269314736, -0.5164778829, -0.5478879809, 0.6997793913, -0.4110655189, -0.0376339369, -0.4772238433, 0.1723840684, 0.6471950412, -0.2172014117, 0.7592760921, 0.5317720771, 0.0202552453, -0.085955441, -0.3440250158, 0.4225986898, 0.2548312247, -1.0031911135, 0.4416455925, 0.6769240499, 0.4245287776, -0.3925022483, 0.3734590709, -0.3851972818, 0.0970957503, 0.0734380707, 0.0876462907, -0.4786533117, -0.9275314212, -0.2526646554, 0.4290727377, -0.453111589, 0.045103848 ]
http://arxiv.org/abs/2406.16807v1
http://arxiv.org/pdf/2406.16807v1
Beyond Thumbs Up/Down: Untangling Challenges of Fine-Grained Feedback for Text-to-Image Generation
2024-06-24T17:19:34
2024-06-24T17:19:34
Katherine M. Collins, Najoung Kim, Yonatan Bitton, Verena Rieser, Shayegan Omidshafiei, Yushi Hu, Sherol Chen, Senjuti Dutta, Minsuk Chang, Kimin Lee, Youwei Liang, Georgina Evans, Sahil Singla, Gang Li, Adrian Weller, Junfeng He, Deepak Ramachandran, Krishnamurthy Dj Dvijotham
cs.LG
cs.LG, cs.CL, cs.CV
Human feedback plays a critical role in learning and refining reward models for text-to-image generation, but the optimal form the feedback should take for learning an accurate reward function has not been conclusively established. This paper investigates the effectiveness of fine-grained feedback which captures nuanced distinctions in image quality and prompt-alignment, compared to traditional coarse-grained feedback (for example, thumbs up/down or ranking between a set of options). While fine-grained feedback holds promise, particularly for systems catering to diverse societal preferences, we show that demonstrating its superiority to coarse-grained feedback is not automatic. Through experiments on real and synthetic preference data, we surface the complexities of building effective models due to the interplay of model choice, feedback type, and the alignment between human judgment and computational interpretation. We identify key challenges in eliciting and utilizing fine-grained feedback, prompting a reassessment of its assumed benefits and practicality. Our findings -- e.g., that fine-grained feedback can lead to worse models for a fixed budget, in some settings; however, in controlled settings with known attributes, fine grained rewards can indeed be more helpful -- call for careful consideration of feedback attributes and potentially beckon novel modeling approaches to appropriately unlock the potential value of fine-grained feedback in-the-wild.
[ -0.5468578339, -0.5102263093, 0.7475861907, -0.2090534121, -0.1613925695, 0.0413386673, -0.4219896197, -0.5404345989, -0.1699531674, 0.2660206854, -0.5121253729, -0.2235433459, -0.7560861111, -0.0364185199, -0.2239442319, 1.2503089905, 0.03896657, 0.0763912126, -0.4288606048, 0.1864634752, -0.3669653237, -0.486323148, -0.8568161726, -0.6040011644, 0.8166889548, 0.7296994925, 0.9984759092, 0.521756947, 0.6846596003, 0.233815968, 0.0614688545, 0.342232883, -0.5407619476, -0.2820583582, -0.3094813228, -0.4520093501, -0.2400798202, 0.1795006692, 0.2264149487, 0.5539176464, 0.150387466, 0.2127922177, 0.5040969849, 0.9758192301, -0.8221819997, -0.0509228297, -0.3978447914, 0.1409559697, -0.167244643, -0.4951998293, -0.3404276073, -0.4636569917, 0.0632744133, -0.4982337058, 0.2351190299, -0.2908501029, 1.0304763317, 0.299695611, -0.1630640328, -0.5666999817, -0.9223806262, 0.8882049322, -0.4490678608, -0.0190516766, 0.3159052432, 0.3030492067, 0.0192631185, -0.6241742373, -0.2311864346, -0.3830485046, 0.0602931231, 0.1161505282, -0.024807319, 0.0039915997, -0.0786130652, 0.5110976696, 0.2882923186, 0.3129267395, -0.109167695, -0.0857941508, 0.6161696315, 0.1179777831, 0.1791443974, -0.3948783576, -0.2908700407, -0.3962534666, -0.4850136638, 0.855720818, 0.365876019, 0.5323637724, -0.0282802712, 0.6266932487, -0.2812967002, 0.6013171673, 0.5533205271, 0.032639116, -0.2646045983, -0.1858376861, 0.0922843665, -0.1812452972, 0.7051514387, 0.9873381257, 0.1646563411, -0.1426596195, -0.5432060361, 0.3157014549, 0.4187699258, -0.8413327932, -0.1603731811, 0.062193729, -0.7043167949, -0.8947200179, 0.1705698669, -0.9038571119, -0.6110163331, -0.5844591856, 0.6563868523, -0.1419104934, 0.1079778373, -0.0081285313, -0.3627355397, 0.169857204, 0.6568520069, -1.2197152376, 0.1567287594, 0.6308178306, 0.778182447, -0.1005622447, -0.1236237139, -0.5570449829, -0.3511807323, -0.3449503183, 1.25867486, -0.7810229063, -0.4172571599, -0.1946763247, -0.1626290679, 0.3759019673, -0.5608680844, 0.4285597205, -0.1816775054, -0.0168655589, -0.6414402127, -0.32534495, 0.1970553249, 0.3362818956, -0.485172987, 0.8491529226, 0.0494599752, -0.7037324905, 0.5788184404, -0.4884934723, -0.0786489621, -0.0279158633, -0.4164678454, -0.1482602358, 0.5348925591, 0.2259418219, 0.5548011661, -0.4702589512, 0.3662862778, -0.5469065905, -0.1851062775, 0.3200181723, -0.5842353106, 0.1844733506, 0.2868304849, -0.5278981328, 0.0930192024, -0.7067455053, 0.0580246411, 0.2567251325, -0.3760821521, -0.1573320776, 0.1810112894, 0.2256493419, 0.1152055413, 0.206207782, -0.566814363, 0.2831661105, 0.0107260281, 0.644755125, 0.9471369982, -0.3161966205, 0.6805002689, -0.6154107451, 0.272837013, -0.1411581933, 0.1557280719, -0.2929295599, -0.198993817, -0.5499464273, 0.1897637397, 0.6521893144, 0.2268677801, -0.6317889094, -0.0671768486, -0.0469102971, -0.4754715264, -0.5579692125, -0.0164010152, 0.5238729119, 0.4313207865, 0.1653331965, -0.748370707, 0.08154919, -0.6563521624, -0.1196193397, -0.0309441164, -0.3116549253, 0.5283287764, 0.2480319738, -0.0115975747, 0.9803396463, -0.6375675797, -0.2858014703, 0.0653467551, 0.5193909407, -0.3389467299, 0.5495496988, 0.4888667762, -0.6961438656, -0.0368540958, 0.2547830641, -0.2310952097, -0.0327289626, -0.3913803697, 0.0577369593, 0.1577868611, 0.2209224403, -0.3741001487, 0.4208913743, 0.4431048632, -0.3791896701, 0.7322934866, -0.3379549384, 0.6331077218, -0.8248009682, 0.1138366237, 0.1998015344, -0.3002010584, -0.2389432639, 0.2382877916, -0.0083838142, -0.0399858095, -0.3466940522, 0.3859829605, -0.0620004125, -0.0984137654, -0.486106962, -0.1809053123, 0.1984073222, 0.5543593764, 0.2168855518, 0.6570050716, 0.3767382801, -0.6364874244, 0.3135768175, -0.0008748012, -0.2010606378, 1.015088439, -0.7101348042, 0.1790171415, -0.1272221357, 0.1782143563, -0.9997525215, -0.6117911935, -0.0184172485, -0.6704616547, 0.4085838497, 0.0732018724, -0.3519377112, -0.3562355936, -0.5681971312, 0.349146992, 0.4399944842, -0.7340152264, 0.2042642087, 0.4533664584, -0.0754257813, -0.245848, -0.6012810469, 0.1175221354, 0.0194340982, -0.5617706776, 0.4662669003, -0.0135763455, -0.0939475968, -0.1231333688, -0.0664164573, 0.0820708424, 0.026337428, 0.1549856514, 0.1893884391, 0.1599635929, 0.1311147809, -0.0355040915, -0.271412462, -0.042681206, -0.2885037363, 0.4084754288, -0.3368487358, -0.3112286329, -0.3794130087, 0.3823120296, 0.4256654382, -0.0303099863, -0.0477638692, 0.5267179012, -0.2103761733, 0.0837702155, -0.2652467787, -0.4665217102, -0.4812773168, 0.1522568315, -0.073131524, -1.0179909468, 0.4480882287, -0.3786951303, 0.199761644, 0.3636553288, 0.5320491195, -0.399196893, 1.3981026411, 0.5671795011, 0.2417271733, 0.4048845172, -0.2976194918, -0.1610543877, -0.6272185445, -0.3779658377, -0.6206761599, -0.6174873114, -0.6038726568, -0.2449712902, 0.0958170593, 0.0777829438, -0.1162070855, -0.0527110174, -0.8327579498, 0.5872003436, 0.6476060748, 0.448246479, 0.2814834118, -0.0445555262, 0.0705171227, -0.0337258428, -0.5068172812, -0.7300137281, 0.7134022713, 0.3236200213, 1.1663818359, -0.4042756259, 0.682387352, 0.4189641178, 0.0722824335, -1.0131251812, 0.3414434195, -0.613078475, -0.2971205115, -0.1548451632, -0.3098897338, -0.9005836248, -0.2117178887, -0.4014924765, -0.7245440483, 0.3857145905, 0.7234309912, -0.8966219425, 0.4040184021, -0.885885179, 0.8352084756, -0.3265086114, -0.6539919972, -0.0334037542, -0.8069303632, 0.0632047355, 0.1599960625, 0.2307628542, 0.0954723433, 0.3599315882, 0.4154761732, -0.4491558373, 1.0395556688, -0.0978767201, -0.2426653504, 0.1449387372, 0.047388088, 0.2971646786, 0.0859155729, 0.2972893119, 0.0222181156, 0.1952529699, -0.3743074536, -0.6436775923, 0.7483793497, -0.8630779982, -0.4182025194, 0.0355419554, -0.4338750541, -0.1457507759, 0.0871337354, 0.6982654333, 0.9529429078, 0.0065327943, 0.2045760006, 0.4813570976, -0.1349205524, 0.5107543468, -0.1137548164, -0.274617672, -0.4216363728, 1.2175072432, 0.018728666, 0.4568993151, 0.3484944701, 0.3489973545, -0.1788993627, -0.3106316626, -0.6908661127, -0.2684815824, -0.6175139546, -0.3671330512, -0.1746946126, 0.0367380269, -0.0651728958, -0.6741307378, -0.8051491976, -0.5002049804, -0.6101895571, 0.1866788268, 0.0541157126, 0.9913527369, -0.0678664669, 0.2346210033, -0.9684206247, 0.2470994741, 0.5326383114, 0.6896839142, 0.3279670775, -0.3032482862, -0.2297725379, 0.3043938577, -0.8431296945, -0.562790215, 0.1521388143, -0.0821674094, -0.1017726213, 0.5261013508, 0.1036737636, 0.6990488768, -0.3541772664, 0.9948351979, 0.3623069525, -0.8964820504, 0.4965645969, -0.3391477764, 0.561470747, 0.7024561167, 0.1255251467, -0.3522966504, -0.4238724411, -0.5478034019, -0.829665184, 0.7773367763, 0.0861789808, 0.2320942581, 0.103008464, 0.4831908941, 0.4549324214, 0.1805588305, -0.710070312, 0.144277066, -0.4194094241, 0.0836222321, -0.0216682255, -0.1484371424, -0.112555474, -0.318857789, 0.2390854061, -0.2345002443, 0.2025334239, 0.3949868083, 0.1913489848, -0.4709301889, 0.5395106077, 0.4848778248, 0.266556561, -0.2170234472, 0.3070842326, -0.3521388471, -0.1996021867, 0.2608708441, -0.1281802952, -0.3054091036, -0.2936103344, 0.0040235426, 1.0595109463, 0.4528720379, -0.2735067904, 0.3255957663, -0.057682842, -0.368966639, 0.2459453642, 0.0919998735, -0.2518770695, 0.1052568853, 0.2327513695, 0.6937536597, 0.2987068594, -0.5951880813, 0.0189027078, 0.6744765043, -0.6666731834, -0.459204644, 0.623781383, 0.513291955, -0.394357115, 0.212863937, -0.1444791108, -0.2452002317, 0.6256546378, 0.4184812307, 0.7169220448, 0.236232698, 0.7071582079, 0.2000629753, -0.0385222733, -0.3230716288, -0.0445861742, -0.3390832245, -0.6462231874, -0.3214344382, -0.4835955799, -0.6420919299, -0.0397365801, -0.9234925508, 0.2975363731, -0.3743302226, -0.6883241534, 0.4578733444, -0.0736108199, -0.6048877239, 0.2800866663, 0.4588325024, 0.6620944738, -0.6496508718, 0.4181135297, 0.9376922846, -0.4133082628, -1.0920684338, -0.0056102034, 0.0540146641, -0.5554961562, 0.4006021917, 0.5180490613, -0.3380974233, 0.1982038319, -0.9185873866, -0.5850159526, 0.8205780983, 0.3643400967, -0.3932974935, -0.1635920256, 0.167451039, 0.4214570224, -0.2736301124, 0.4557008743, 0.6441054344, 0.4935668409, 0.4859805405, -0.7714579105, -0.1141549051, -0.2509360909, 0.3656821251, 0.4055573046, -0.8049539924, 0.5498159528, -0.4828319848, -0.2336004227, 0.1923499852, 0.3029190004, 0.0797667205, 0.6229589581, 0.4798074365, 0.6642446518, 0.4708166718, -0.2207563072, 1.3833355904, 0.0754299611, 0.480902195, 0.7437611222, 0.073837027, 0.719130218, 0.7506822348, -0.2049975544, 0.3795095384, 0.9753936529, 0.0201107878, 0.6917920709, -0.0677077696, 0.1902376413, -0.4545236826, -0.3783074915, -0.2151038796, 0.3752887547, -0.0183271784, -0.1601990014, -0.5352079272, 0.0688867196, -0.3471308649, 0.1796590537, -0.6810868979, 0.8251525164, -0.0103302784, -1.0120626688, 0.3666687906, -0.1473798603, 0.9971857071, -0.3422218561, -0.0831683278, -0.1661500782, 0.169746995, -0.4560984969, -1.0259544849, 0.1605699211, 0.1841258258, -0.5842101574, -0.173103556, 0.7533735633, -0.2262594104, -0.3522602618, -0.0480044037, -0.1292976886, -0.2580130398, -0.1148123816, -0.4925666451, 0.0618797652, 0.0596827269, -0.2114530951, 0.5706989169, 0.3407893777, -0.0336573906, 0.3756075501, 0.6632136106, -0.0583283901, -0.3312896192, 0.0184224267, 0.8708472848, -0.6487001181, -0.5191767812, -0.9380505085, 0.6739861965, 0.0108257104, -0.3349559605, 0.3534291089, 0.0721812695, 1.0445172787, -0.2835663259, 0.6499508619, -0.0627698898, 0.0298922155, -0.5654557943, 0.5655167103, -0.7565503716, 0.1327455938, -0.4357913136, -0.6462652683, -0.2081488967, 0.3892026544, -0.2674673498, 0.0512134023, 0.5231255293, 0.5550751686, 0.0608525798, 0.1941805631, 0.1357658505, -0.2498010546, 0.2779535651, 0.522004962, 1.1412043571, -0.0667498708, 0.4606121778, -0.508577764, -0.4755262733, -0.21011509, -1.0499969721, -0.4894380569, -0.6129170656, -0.204788968, -0.2078054249, -0.2732709944, 1.0609368086, 0.7623762488, -0.7880316377, -0.1541631967, -0.4163645208, -0.1084403619, -0.0973943174, -0.2846876681, 0.1749381423, -0.6327189207, -0.7561389804, -0.3590535522, 0.4300482869, 0.2248051763, -0.1025140435, -0.1385532469, 0.3860881031, 0.2786721885, 0.6189343333, 0.4161186218, -0.705956459, -0.37578246, -0.0102945389, -0.3186876774, 0.2683481276, 1.0345544815, -0.6934159994, 0.5108203292, 0.3717621863, 0.718767643, 0.1995891035, 0.1703189909, 0.6275803447, -0.6520783305, -0.0421625748, -0.0074184122, 0.101350002, 0.5616839528, -0.5566812158, 0.1131957173, 0.0363283791, -0.9851595163, -0.7140186429, 0.2929914594, -0.9986690283, -0.2919962704, 1.0380154848, 0.1005247235, -0.1745243967, 0.4550857842, -0.7588861585, 0.0878492221, -0.5989524126, 1.2744128704, 0.7935287356, -0.1681302488, -0.0830710158, -0.0724822134, 0.7163169384, 0.5987386107, -0.892308116, 0.0863316879, 0.767428875, -0.1635371447, 0.3035971522, 0.5068214536, -0.2937318981, 0.5371747613, -0.3165981174, -0.0004542842, -0.0743307024, -0.4203917086, -0.5502995253, 0.2343770713, 0.4245301187, -0.1714611202 ]
http://arxiv.org/abs/2406.16801v2
http://arxiv.org/pdf/2406.16801v2
RES-Q: Evaluating Code-Editing Large Language Model Systems at the Repository Scale
2024-06-24T17:08:17
2024-06-25T18:04:23
Beck LaBash, August Rosedale, Alex Reents, Lucas Negritto, Colin Wiel
cs.CL
cs.CL
The instruction-following ability of Large Language Models (LLMs) has cultivated a class of LLM-based systems capable of approaching complex tasks such as making edits to large code repositories. Due to the high sensitivity and unpredictability of LLM behavior in response to changes in prompting, robust evaluation tools are needed to drive future iteration of these systems. We propose RES-Q, a natural language instruction-based benchmark for evaluating $\textbf{R}$epository $\textbf{E}$diting $\textbf{S}$ystems, which consists of 100 handcrafted repository editing tasks derived from real GitHub commits. Given an edit instruction and a code repository, RES-Q evaluates an LLM system's ability to interpret the instruction, navigate the repository to gather relevant information, and construct an appropriate edit that satisfies the specified criteria. We argue that evaluating LLMs in this way addresses issues with traditional benchmarks and provides a more holistic assessment of a model's abilities. We evaluate various state-of-the-art LLMs as language agents in a repository-editing system built on Qurrent OS, our language agent development software. Despite their 1% pass@1 performance difference on HumanEval, we find Claude Sonnet 3.5 outperforms GPT-4o by 12% pass@1 on RES-Q, indicating RES-Q's capacity to differentiate model capability as traditional benchmarks approach saturation. We further investigate token efficiency, performance relationships with existing benchmarks, and interesting disparities between closed and open-source LLMs. Code and dataset are available at https://github.com/Qurrent-AI/RES-Q.
[ -0.1948750019, -0.5765340924, 0.3894820809, -0.0675147846, 0.1152303517, 0.2557177842, -0.5971317887, -0.2464982122, -0.0596518181, 0.4214032292, -0.2625732422, -0.5001470447, -0.3967084885, 0.4832214117, -0.3140445352, 0.6648202538, -0.1276766062, 0.1267125607, -0.2696673274, -0.2713719904, -0.4492915869, -0.4072969556, -0.3232572973, -0.1443506926, 0.4003790915, 0.3026026785, 0.7036584616, 0.6055415869, 0.6260142326, 0.3707966506, -0.1519608796, 0.0893403292, -0.6751042604, 0.3698478937, -0.381093502, -0.4249348342, -0.6090237498, -0.1518803537, 0.8340723515, 0.1412669122, -0.0125786737, 0.4323823452, -0.0322614089, 1.0127606392, -0.8437097669, 0.1007886454, -0.536177516, -0.1871448159, -0.0058274874, -0.0716753677, -0.5727968812, -0.6391715407, -0.0018700515, -0.4535464048, -0.2097130865, -0.0169654321, 0.6819517016, 0.4167346656, -0.0184653401, -0.2714034021, -0.575475812, 0.7156015038, -0.5586592555, 0.7318279147, 0.2014408708, 0.3951781988, -0.2371958345, -0.888264358, -0.3654071093, -0.3882583976, 0.1808926165, -0.029646121, -0.4974222779, 0.1246149093, 0.4300473332, 0.4178686738, -0.4064450264, -0.0422547609, -0.225412339, -0.217665419, 0.2833434939, 0.2103645951, 0.350281924, -0.1402050257, -0.2164089978, -0.1774354875, -0.7421011329, -0.0289284084, 0.2537668943, 0.2528867126, 0.0808267668, 0.6141593456, -0.3555204272, 0.7569596171, -0.1607128382, 0.0891044214, 0.1130852178, -0.2591972947, -0.3399415612, -0.2395603061, 0.6623943448, 0.4111842215, 0.3858475685, -0.3084692359, -0.7649797201, -0.0905360356, 0.450509429, -0.8800752163, -0.1871491522, 0.1025293618, -0.3582640588, -0.0942235216, 0.0017430563, -0.612564683, -0.561226666, -0.3480134904, 0.5399338007, -0.4652118087, 0.0061345659, 0.0906217545, -0.0832118392, 0.2548598647, 0.3729960918, -0.4448710382, 0.3732378185, 0.8900817037, 0.8221020103, 0.1025547385, -0.4362721145, -0.7242541909, -0.2084556371, -0.2759063542, 0.8312674165, -0.8088574409, -0.2240346074, -0.1278382689, 0.0182047449, -0.0580967218, -0.6272958517, 0.4638880491, -0.8572886586, -0.1320538521, -0.222519204, -0.7510166168, 0.0039344523, 0.389724344, -0.7619249225, 0.8702302575, 0.6271455288, -0.695561111, 0.0957650691, -0.5931485295, -0.0104712918, 0.0631156564, 0.0455058627, -0.1363295317, 0.028861139, 0.0431032367, 0.0463870056, -0.5674751401, 0.130249545, -0.0902133659, -0.801502943, 0.4768964052, -0.3353360891, 0.5252712965, 0.1498446912, -0.1693921685, 0.2951570749, -0.5308294296, 0.2042558938, -0.0356434062, -0.4735019207, -0.2989053428, -0.242223382, -0.2607307434, -0.1973052174, 0.3667034507, -0.3875524998, 0.4272741973, -0.1946758032, 0.5811493397, 0.7767127156, 0.101124458, 0.3845738769, -0.5346409082, 0.9034776092, -0.6213108301, 0.2831403017, -0.2710162699, -0.1628418267, -0.6103998423, -0.496118784, 0.7674925923, 0.4884291887, -0.7723307014, 0.1195580065, -0.4791065156, -0.5532407761, -0.7566533685, 0.0499149337, 0.7829232812, 0.1460586041, 0.3577505052, -0.2224694788, -0.4810018539, -0.9725143909, -0.6596890688, -0.3444373012, -0.0212241001, 0.2574564517, 0.5080178976, -0.2735739052, 0.7921482921, -0.1917289346, 0.248111397, -0.0273745637, -0.031418521, -0.0108320657, 0.2373064309, 0.2784473598, -0.3426662385, -0.2945570946, -0.0845727995, -0.5210175514, -0.3865818977, 0.0441782884, -0.1716724634, 0.2424064428, 0.396677494, -0.4235946238, 0.2394405603, 0.4559758008, -0.2188813984, 0.687284708, -0.3227696419, 0.58599931, -0.6754809022, 0.0946824849, -0.0433749296, -0.1699272543, -0.5456289649, 0.5246036649, 0.5254124403, -0.0184318703, -0.4495925307, 0.412772119, -0.5752205253, -0.5888934731, -0.1114431992, 0.3040824831, 0.2109337002, 0.407610476, -0.2692945004, 1.0305132866, 0.1427128166, -0.3349804878, 0.4599989951, 0.029242212, -0.6131613255, 0.3672628701, -0.7204049826, 0.4728872478, 0.362462908, 0.1850413084, -0.7097768188, 0.0468887351, 0.2076061219, -0.3815358877, 0.1488785595, -0.374741286, -0.6932333112, -0.1327267289, -0.4418787062, 0.4051261246, 0.4436537325, -0.3232477307, 0.3747680485, 0.1779999435, -0.1595299244, -0.6100885272, -0.4819175005, 0.3271238804, 0.0804642811, -0.4946484566, 0.1636687815, 0.0430495329, -0.5297814012, 0.1733016223, -0.0325431451, -0.0675655529, 0.139447853, 0.1502278596, 0.3111436963, -0.3250133693, 0.1904336512, -0.0553351529, -0.0581831448, 0.1075457111, 0.0199613813, 0.3370932341, -0.5563831925, -0.5375599265, -0.5538085699, -0.3297002614, 1.0193969011, -0.4793369174, 0.4401651621, 0.0178150088, -0.3487949371, -0.0510186367, -0.487914443, -0.0975974798, -0.3845997453, 0.4132294059, -0.4403884411, -0.8313088417, 0.5344743729, -0.1389401108, 0.2297768146, 0.1983152926, 0.413336575, 0.3819912374, 0.5311330557, 0.2808426619, 0.1163188517, 0.5209131241, -0.2079907954, 0.0015315255, -1.10752213, 0.0411139578, -0.8097822666, -0.3558295965, -0.6733400226, -0.8372371793, 0.1882859617, 0.2482509613, -0.5159719586, 0.5546550155, -0.5320141912, 0.5770936608, 0.3696136177, 0.0032136897, 0.515319109, -0.3900429904, 0.0236019827, 0.0269085113, -0.635463953, -0.847622931, 1.108022809, 0.6245353222, 0.8544788957, 0.1545121521, 0.6786806583, 0.5703182817, 0.7207930684, -0.7274978757, 0.6082941294, 0.0653180853, -0.2846566439, -0.5575943589, -0.4236050248, -0.6223759651, 0.353972584, -0.1543733627, -0.4403012097, 0.1382884085, -0.0921835601, -0.2456256151, 0.3847461641, -0.8901407123, 0.9310756326, -0.0497731119, -0.3993323147, -0.2744393647, -0.1445833296, 0.23368828, -0.087266095, 0.2444667518, 0.0943607539, -0.4116530418, 0.400223732, -0.3417801261, 0.4596508443, -0.2038489729, -0.0815366805, 0.4152094722, 0.4957411885, 0.5798675418, 0.0210210923, -0.4754933417, -0.0529713854, 0.2182168365, -0.353821367, -0.82307446, 0.6530939341, -0.717657268, -0.5885403752, -0.1372558177, -0.3662678897, -0.1422825009, -0.0006428222, -0.1833603382, 0.76978755, -0.3631115258, 0.3993239403, 0.4440738261, -0.5486949086, 0.0863321349, 0.7339317203, -0.4377186, -0.4585953653, 0.8488003612, 0.139315933, 0.4669078588, 0.3490982354, 0.2271223068, -0.3161831796, -0.5708902478, -0.7364399433, 0.1127401665, -0.7330147624, -0.427151531, -0.4603687227, -0.1352156848, -0.1861245334, -0.1396946311, -0.424294889, -0.245387122, 0.0779199749, 0.224491626, 0.4338620901, 0.9849509001, 0.2788216472, -0.2117928118, -1.1034712791, 0.1508553326, 0.2889767289, 0.5941258073, 0.0519230515, -0.9999101162, -0.3322542906, 0.0111613898, -0.118731685, -0.7898625135, 0.1386974305, -0.0168728847, 0.5079731941, -0.1039850041, 0.3895007372, 0.496946305, -0.3958077729, 0.593091011, -0.2565978169, -1.1406878233, 0.414180398, -0.2062278241, 0.4977070093, 0.6009219289, 0.015790116, -0.6439136863, -0.7295327187, -0.3171607554, -0.3633683026, 0.7028722167, 0.0935639217, -0.0122924969, -0.100892134, 0.4474226236, -0.0271934047, 0.1201596186, -0.4279221594, 0.0710077137, 0.0349746495, 0.1962350905, 0.3229629099, -0.3358010948, 0.1907947809, -0.0026979246, 0.4839324951, 0.0004994988, 0.047258582, 0.2560446858, -0.3579008579, -0.2872655392, 0.6913231015, 0.6751875877, 0.9771353602, -0.3160337806, -0.0766824707, 0.2915660739, -0.3786916137, 0.0260646325, -0.1381131113, -0.0640566871, -0.265573144, 0.6094284058, 0.6730889678, 0.4908457994, -1.1283284426, 0.4223898053, -0.3733533323, -0.1076543182, 0.0505905747, 0.1795973629, 0.0897538885, 0.5188792348, 0.1955325305, -0.0652235448, 0.0760847777, -0.5304869413, 0.1192164049, 0.039103061, -0.4833119214, -0.2764200866, 0.1338309199, 0.289737463, -0.7741223574, 0.7362645268, -0.2997918129, -0.5985509753, 0.6992385983, 0.2536702752, 1.092543602, -0.1119388193, 0.0040342752, 0.3541990221, 0.4606819153, 0.0068853679, 0.1712648869, 0.1021630764, -0.5663549304, -0.560654223, -0.4326935709, -0.7262305021, 0.0232419614, -0.8312804103, 0.2209415436, -0.4615682364, -0.1905254871, -0.2261907458, 0.0894543082, -0.4832175076, -0.1848848015, -0.2734667957, 1.1632652283, -0.4904907048, 0.7868978381, 0.9980993271, -0.170007199, -0.5784544349, 0.0988681838, -0.1088386178, -0.6324118972, 0.6375501752, 0.0450051725, -0.2205438018, -0.0821764767, -0.3304612637, -0.5403226018, 1.1645052433, 0.5583078265, -0.94648242, 0.2455198467, -0.3000113666, 0.8142071962, -0.3201271594, 0.5338231921, 0.7523411512, 0.4217377007, -0.2877475917, -0.962862432, 0.0914349705, -0.2304331511, 0.0644662604, 0.3992885351, -0.6719580889, 0.7422004938, -0.2960980833, -0.2676653862, 0.1966933012, 0.3997170627, 0.4322291017, 0.0880937651, 0.5636399388, 0.5754448175, 0.6242364049, 0.0099160234, 1.1423678398, -0.7131652236, 0.3550831974, 1.125639677, -0.4359823763, 1.0845627785, 0.312235117, -0.438885957, 0.4171555042, 0.4020993412, 0.2218137681, 0.1595139056, 0.6331466436, -0.2136346251, -0.0988452137, -0.1139043272, -0.3147710264, 0.2845440209, 0.1851539463, -0.1895907819, -0.0656296536, -0.1837202311, -0.2574585974, 0.4308559895, -0.1779713929, 0.623939693, -0.1187926382, -0.5652870536, 0.7039776444, 0.0750014633, 0.2824814618, -0.2283386439, -0.2680034339, -0.3443930447, -0.0488660932, 0.0555603355, -0.9095864296, 0.1182144433, 0.5643537641, -0.1425464898, -0.2855043113, 0.5916948915, -0.0480657667, -0.033937633, 0.4140935242, 0.5494886041, 0.1919474006, -0.0275558308, -0.8926402926, 0.5902833343, -0.0161122289, -0.5154826045, 0.4875342846, 0.73351717, -0.0532056093, 0.8798272014, 0.3640381694, 0.1145961806, -0.3568095267, 0.3203337193, 0.914078176, -0.6891591549, -0.1060251966, -0.7228863835, 0.1679287851, 0.1701976806, -0.3208160698, 0.4275032878, 0.528175354, 0.8683280945, 0.0839728341, 0.5711916685, 0.0174680948, 0.6044856906, -0.5162093043, 0.5363940001, -0.3309657872, 0.575145185, -0.171122238, -1.11898458, 0.0920255482, 0.4033218324, -0.5273989439, 0.0651022568, 0.6066868901, 1.0921953917, 0.3695625365, 0.0651517287, 0.4274667203, 0.185144946, 0.1367812604, 0.441642195, 1.3089137077, -0.5054269433, 0.4368838072, -0.1415397078, -0.2019437402, -0.2861532271, -0.732355237, -0.6880527735, -0.3854868412, -0.2619353533, -0.3311259449, 0.3681031168, 1.1678309441, 0.2391374111, -0.7128629088, -0.2078340203, 0.1018409654, 0.2949372828, -0.1422310621, -0.2043801099, 0.2887791097, -0.383992523, -0.7869693041, 0.434145391, 0.504612565, -0.2499879599, -0.4852978885, -0.2673491538, 0.0085224407, -0.0159683675, 0.4349220991, 0.2915319502, -0.7948876023, -0.4871416092, 0.2734376788, -0.6205653548, -0.1243755817, 0.8197740912, -0.7447342277, 0.6413567662, 0.642757237, 0.9668921828, -0.1608525515, 0.1714928895, 0.6195908785, -0.1769763827, -0.3190053105, 0.3583876789, 0.2419868708, 0.2959923446, -0.0618243366, 0.5649974346, -0.019660065, -0.9336884022, -1.0260640383, -0.1726979315, -0.4948068857, -0.1894491762, 1.0317332745, -0.4355254173, -0.3060846329, 0.0175921582, -0.1936989129, 0.256629765, -0.4608976543, 0.6228829026, 0.7199103236, 0.0805680752, -0.307985127, -0.7641676664, 0.2117510885, 0.2272081822, -0.6611892581, 0.417090863, 0.6805853844, 0.1305452138, -0.1355685294, 0.4851568937, -0.1984978467, 0.5648459792, -0.0151564181, 0.4585421383, -0.1840597987, -0.2881323695, -0.636824429, -0.111230284, 0.5640315413, 0.0320340544 ]
http://arxiv.org/abs/2406.16797v2
http://arxiv.org/pdf/2406.16797v2
Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMs
2024-06-24T16:58:23
2024-06-25T13:46:41
Ashwinee Panda, Berivan Isik, Xiangyu Qi, Sanmi Koyejo, Tsachy Weissman, Prateek Mittal
cs.CL
cs.CL, cs.AI
Existing methods for adapting large language models (LLMs) to new tasks are not suited to multi-task adaptation because they modify all the model weights -- causing destructive interference between tasks. The resulting effects, such as catastrophic forgetting of earlier tasks, make it challenging to obtain good performance on multiple tasks at the same time. To mitigate this, we propose Lottery Ticket Adaptation (LoTA), a sparse adaptation method that identifies and optimizes only a sparse subnetwork of the model. We evaluate LoTA on a wide range of challenging tasks such as instruction following, reasoning, math, and summarization. LoTA obtains better performance than full fine-tuning and low-rank adaptation (LoRA), and maintains good performance even after training on other tasks -- thus, avoiding catastrophic forgetting. By extracting and fine-tuning over lottery tickets (or sparse task vectors), LoTA also enables model merging over highly dissimilar tasks. Our code is made publicly available at https://github.com/kiddyboots216/lottery-ticket-adaptation.
[ -0.1192591041, -0.6123428941, 0.0818960145, 0.6122119427, -0.4184988439, 0.0449315608, -0.1135568991, -0.4481160939, 0.3026957512, 0.7938585877, -0.5166290998, -0.0640139803, -0.7088145614, -0.0831298158, -0.3169138134, 1.0765917301, -0.0097662518, 0.1700284034, -0.3736456931, 0.0374101065, -0.693734169, -0.3909570575, -0.9483088255, -0.2438138723, 0.6135796309, 0.3133734763, 0.3202407956, 0.2518863976, 0.6944242716, 0.4130398333, 0.0747175664, 0.3541107774, -0.9637644887, 0.0943055078, -0.4024999738, -0.7050399184, -0.3538883626, -0.2307130545, 0.5832071304, 0.6606298089, -0.0835826471, 0.16042988, 0.4740834236, 0.6740801334, -0.7474286556, 0.2245336622, -0.9662810564, 0.0967127085, -0.0355889276, -0.7719753981, -0.3494203091, -0.27502653, -0.2844670415, -0.8833045959, -0.0226034634, -0.0019305907, 0.672876358, 0.5696268082, -0.1439981461, -0.3558523953, -0.9516474009, 0.6704694033, -0.3521393239, -0.0084856041, 0.4109006822, 0.0926568285, -0.6278999448, -0.0131522296, -0.462556839, -0.0670121908, 0.454952091, 0.2625598013, -0.291215837, 0.1102291271, 0.2221377045, -0.1305874586, -0.4093151689, 0.1185476854, -0.3954077065, -0.0922600478, 0.5783862472, 0.1821145862, 0.1772115827, -0.1139262542, -0.2926953733, 0.0198903419, -0.709168613, 0.0056500179, 0.3929403722, 0.3552697599, -0.0816515237, 0.4335331023, -0.1285354495, 0.7101830244, 0.3196756542, -0.3898281455, 0.0622774065, -0.360966295, -0.1847529113, -0.1077266783, 0.4186262488, 0.2170238793, 0.3560811579, -0.4779989123, -0.2468516082, -0.2686550617, 0.1342568547, -0.5381684303, -0.059275303, 0.0677455142, -0.4872008264, -0.212947011, -0.2285476923, -0.6286287904, -0.8747442961, -0.3404610753, 0.9426856637, -0.2401814163, -0.0157400742, 0.2077261358, -0.1095885932, 0.2323723286, 0.4969216883, -0.9491753578, 0.3650387824, 0.7694082856, 0.7045210004, -0.2325059772, -0.6940021515, -0.8961693645, 0.2275115848, -0.456507057, 0.9138114452, -0.0162430275, -0.1647219658, -0.2350603938, 0.046082709, -0.3869358897, -0.8642804027, 0.3440588713, -0.7558646798, -0.1012670919, -0.0428111479, -0.2665438354, -0.0702067763, 0.0436101928, -0.7634737492, 0.6926051974, 0.2113241106, -0.2711375356, 0.455391407, -0.5411301255, -0.6068214178, -0.0265468452, 0.3003021479, -0.428470552, 0.5014662743, -0.0025913187, 0.3386431038, -0.2178033441, 0.1436385959, -0.5327596664, -0.7309581637, 0.3033626676, -0.4480982721, 0.7837561965, 0.067778565, -0.0893081501, 0.1648767442, -0.8716252446, -0.4698618054, 0.0359089673, -0.5212692618, -0.5210799575, 0.298091799, 0.168625012, 0.2502315044, 0.2820966542, -0.1361032575, 0.3141268194, -0.4316946268, 0.0249100607, 1.1508047581, -0.1144920066, 0.5964030623, -0.6247198582, 0.4311006367, 0.3994926512, 0.2266642749, 0.2937201858, -0.3117814958, -0.8249571919, 0.0565792955, 0.5011297464, 0.827285707, -1.0896898508, 0.4118774235, -0.3884931803, -0.1634801626, -0.4460726976, 0.5836527944, -0.0406325348, 0.0426127575, -0.0852100104, -0.6784125566, -0.8360306621, -0.5026956797, -0.1843898594, 0.0384991616, 0.0990664139, 0.3333649039, 0.5683454275, 0.1918441355, 0.7102865577, -0.2077857256, -0.676510036, -0.1201739758, -0.0939293951, 0.2984084785, 0.6522449851, 0.6652667522, -0.6442831755, -0.3406296968, 0.0987377688, -0.4416925311, -0.1639641672, -0.6829238534, -0.1117616966, 0.2755100727, 0.1739826053, -0.3935942054, 0.3138647079, 0.8353655934, -0.5773124695, 0.2537489235, -0.3222210705, 0.1395722777, -1.2655582428, -0.2783239484, -0.2711985409, -0.2119163275, -0.4141684175, -0.2276001573, -0.2283162177, -0.0273058806, -0.1993782818, 0.3701787293, -0.4634448588, -0.2856970131, -0.7758992314, 0.2204304338, -0.2284743786, 0.4276098013, -0.2357307673, 0.8802895546, 0.6800724268, -0.4647074342, 0.362865746, 0.0465954505, -0.4242120087, 0.6846647859, -0.0601214468, 0.0071457652, -0.2491289973, 0.037018124, -0.9047210217, -0.0682340488, 0.5296882987, -0.2206046134, 0.3524897695, -0.14608787, -0.2959097922, -0.0170189161, -0.2850709558, 0.351154089, 0.3324767053, -0.5250306726, 0.9310229421, 0.4280671179, -0.2922374904, -0.5520398617, -0.3405330181, 0.5316939354, -0.1624451429, -0.311458528, 0.2067866027, -0.1821105927, -0.0313232876, 0.1589211822, -0.0032811156, -0.2520521879, 0.4311492741, 0.3253399134, 0.3272444308, -0.186915651, 0.0272457693, 0.1504246294, -0.2407910377, -0.1153293923, -0.3489769995, 0.3161313236, 0.6077413559, -0.261172384, -0.2456032485, 0.308113575, 0.609246552, 0.231523335, 0.8052582741, 0.5485511422, -0.4680495858, -0.3997270167, -0.62468642, -0.1180363148, -0.4422222972, 0.831700027, -0.5531466603, -0.912471652, 0.6418311, -0.2548034191, -0.2367752194, 0.077182658, 0.6354337931, 0.1001370475, 0.4972721934, 0.8328577876, -0.4142430425, 0.7749902606, 0.1412566304, 0.1990608573, -0.6631780267, -0.0250646584, -0.5742647052, -0.3729534149, -0.3767710924, -0.8501421809, 0.165534243, 0.2480972409, 0.2013012916, 0.2040009499, -0.2470366061, 0.8111820221, 0.506934166, 0.1167181805, 0.3127192557, 0.0288364217, 0.6437210441, 0.2288584411, -0.9757266045, -0.0600415058, 1.3131949902, 0.0542510562, 0.7596848011, 0.1203367189, 0.8432896733, 0.1472430825, 0.6177033782, -0.5372693539, 0.5373906493, -0.3997288346, -0.5498508215, -0.4559698403, -0.7206315994, -1.0608038902, 0.3347064853, -0.4061805904, -0.9607247114, 0.3908310533, -0.068724826, -0.5547181368, 0.3019366264, -0.6909492612, 0.6428815126, -0.1213920936, -0.5805912018, -0.4320956767, 0.0747868046, 0.5212510824, -0.6926764846, 0.3915878236, -0.1326154023, -0.1694007516, 0.8934682608, -0.0569011904, 1.1609908342, -0.0670504943, -0.134580031, 0.2076491863, 0.0386413448, 0.8803901672, -0.2618873119, -0.1272648424, 0.1397050023, 0.0818807334, -0.5543377399, -0.5266125798, 0.9299301505, -0.9327932, -0.621009469, -0.3092828989, -1.0555692911, -0.1765114069, -0.0356679484, -0.2070361227, 0.1490377635, 0.0623701625, 0.0277127866, 0.5080741048, -0.1601135284, 0.4787888825, 0.4095392525, -0.0361147076, -0.4934915304, 1.2765994072, 0.2035398185, 0.0788414478, 0.4782190025, 0.0212180391, -0.048091542, -1.0706467628, -0.2584348619, 0.0831511095, -0.6404093504, -0.2571234107, -0.1885462701, -0.0445888676, -0.4907392859, -0.0501902848, -0.1197377592, -0.5310825706, -0.5769903064, 0.3336429894, 0.208707571, 0.8982178569, -0.3207464218, 0.2535997033, -0.6150433421, 0.385653317, 0.3229230344, 0.5821737647, 0.2130732238, -0.8478237391, -0.4221217632, -0.4931681752, -0.319719404, -0.8595938683, 0.0580617748, 0.2240308523, 0.4526565075, 0.1861057431, -0.0987031534, 0.9101367593, -0.4765722752, 0.4089859128, 0.3979400396, -0.9777249694, 0.0027486689, -0.2159806788, 0.020478338, 0.3145367503, -0.0195605941, -0.2512005568, -0.2602765262, -0.1330091059, -0.6451302171, 0.9972593188, 0.0525333546, 0.2510068119, 0.4243914485, 0.4155721664, 0.087293677, 0.1429114938, -0.9779466391, -0.0438376144, -0.0246640891, -0.2693242729, -0.3411745131, -0.4721783698, -0.202609241, -0.2605400085, 0.6737058759, -0.3201048076, -0.0742566884, -0.1418190747, -0.0411356762, -0.4518177211, 0.12227007, 0.8434776664, 0.7322165966, 0.0745262578, -0.0725781843, 0.5873152614, -0.5686479807, 0.1593624055, 0.3664015532, -0.152358979, -0.3485273123, 0.4827410281, 0.6995382309, 0.6384817362, -0.5768101215, 0.3566224277, 0.1775832623, -0.3992238045, -0.0484514497, 0.2466683984, 0.2115481198, 0.5369287133, 0.5004613996, 0.1148204282, -0.05418754, -0.4801605344, 0.1690277457, 0.5975879431, -0.3068341315, -0.0875191018, 0.555452764, 0.335686475, -0.5231269002, 0.036507152, -0.3229614198, -0.3744266927, 0.6303079128, 0.7157697082, 1.0196816921, -0.1639383882, 0.0744659901, 0.1272713393, 0.513358295, 0.0292916838, 0.4020139277, 0.0181878824, -0.7914538383, -0.9906917214, -0.640832603, -0.2241308242, 0.1030145884, -0.1976789534, -0.011516206, -0.2900097072, 0.1158182994, -0.1216005012, 0.0521829501, -0.3139566779, -0.1880767494, 0.243422851, 0.8063781261, -0.740722239, 0.8392875195, 0.5306743979, -0.2340424806, -0.7089111209, -0.189937219, -0.1691719294, -0.6167984605, 0.6404463649, -0.5146817565, 0.1289143711, 0.013037676, -0.2485864162, -1.121021986, 0.9528973103, 0.3248263597, -0.771658659, 0.2260168195, 0.2656842172, 0.187395364, -0.3080016077, -0.047593113, 0.3710011244, 0.3284195662, 0.1930907518, -1.2014652491, 0.0650458187, 0.1558189243, -0.1247627735, 0.2713847756, -0.5898429751, 0.6307225823, -0.2032662779, 0.1541740596, 0.4058368206, 0.3967301548, 0.2233105898, 0.4179837406, 0.7157627344, 0.2385928631, 0.7171819806, -0.2359094024, 0.608207643, -0.3823251724, 0.4809475243, 0.9187902212, -0.5136886239, 0.6952157021, 0.8691188693, -0.3488480449, 0.139611423, 0.3935826421, 0.082284525, 0.4506469965, 0.5926220417, -0.1672649831, -0.560968399, 0.041206222, -0.1384958178, 0.5598673224, 0.0643282086, 0.1673747599, -0.395526737, 0.2918579578, -0.4979310632, -0.1451680064, -0.5001823306, 0.8954076767, 0.045960784, -0.7166957855, 0.5670211911, -0.1955203563, 0.6808440685, -0.6305404902, -0.072555922, -0.1393474042, 0.4807911515, -0.0259637069, -0.2592187226, 0.2220212817, -0.2560293972, -0.3460642993, 0.0495312102, 0.9841580987, -0.3861996531, -0.475792408, 0.3666939437, 0.5482586622, 0.0525096916, -0.0050467425, -1.0172169209, 0.4703012109, 0.0807864144, -0.2535122633, 0.8288257122, 0.581025064, -0.003165724, 0.7456402779, 0.8775749803, 0.4400742054, 0.0442779399, 0.1827117205, 0.8128271103, -0.7444295287, -0.4224892557, -0.5872411132, 0.2267333418, 0.0342624523, -0.3011195064, 0.6867246628, 0.641800642, 0.7010518312, -0.2589227259, 0.5744326115, 0.2637520134, 0.0077997679, -0.6116137505, 0.5699887872, -0.6711677313, 0.401742667, -0.3810613155, -0.8546062112, -0.3703209162, 0.404128015, -0.2980407476, -0.0636492223, 0.5891003609, 0.9090620875, -0.0161782391, -0.2011954337, 0.5857046247, 0.1553119719, 0.0368012302, 1.1608319283, 0.9629225731, -0.6067122221, 0.9040186405, -0.2360289544, -0.5011657476, -0.3711493611, -0.9198084474, -0.8281633258, -0.538069725, -0.4507744312, -0.5606760979, 0.3618531525, 0.8016184568, 0.750680089, -0.90443331, -0.6022500992, 0.117822431, 0.6574186087, -0.5983870029, -0.2052940428, 0.3375155628, -0.4248242378, -0.9212557077, 0.2672431469, 0.5902455449, 0.0186081938, -0.2158343494, -0.1527240127, -0.0439816155, 0.2594868839, 0.6452747583, 0.1186254248, -0.4244244993, -0.3200604618, -0.2737304866, 0.0174535736, -0.2133190781, 0.8952625394, -0.6030643582, 0.1551682353, 0.3350294232, 0.8108541965, 0.1366335452, -0.1817004979, 0.2868045866, -0.2208869755, 0.2654793561, 0.090963915, 0.2622439265, 0.0267833248, -0.3805736899, 0.3224745989, 0.4731028378, -0.5417938828, -0.9762381911, -0.0559127554, -1.2670966387, -0.5684942007, 1.1770017147, 0.2292704582, -0.4950014949, -0.5643007755, -0.1745508909, -0.0402599573, -0.0568455644, 1.2209703922, 0.839941442, 0.0324428305, -0.047876101, -0.4086235166, 0.4390025735, 0.4820254743, -0.8525081277, 0.0639856905, 0.1964500844, 0.4285223484, 0.1345158368, 0.7383078337, 0.2183770835, 0.5747171044, 0.1388275027, 0.0689317062, -0.0593486093, -0.2109708637, -0.5757353902, 0.5034629107, 0.2563877106, -0.3764536977 ]
http://arxiv.org/abs/2406.16783v2
http://arxiv.org/pdf/2406.16783v2
M2Lingual: Enhancing Multilingual, Multi-Turn Instruction Alignment in Large Language Models
2024-06-24T16:45:13
2024-06-28T10:14:53
Rishabh Maheshwary, Vikas Yadav, Hoang Nguyen, Khyati Mahajan, Sathwik Tejaswi Madhusudhan
cs.CL
cs.CL, cs.AI, cs.LG
Instruction finetuning (IFT) is critical for aligning Large Language Models (LLMs) to follow instructions. While many effective IFT datasets have been introduced recently, they predominantly focus on high-resource languages like English. To better align LLMs across a broad spectrum of languages and tasks, we propose a fully synthetic, novel taxonomy (Evol) guided Multilingual, Multi-turn instruction finetuning dataset, called M2Lingual. It is constructed by first selecting a diverse set of seed examples and then utilizing the proposed Evol taxonomy to convert these seeds into complex and challenging multi-turn instructions. We demonstrate the effectiveness of M2Lingual by training LLMs of varying sizes and showcasing the enhanced performance across a diverse set of languages. We contribute the 2 step Evol taxonomy with the guided generation code: https://github.com/ServiceNow/M2Lingual, as well as the first fully synthetic, general and task-oriented, multi-turn, multilingual dataset built with Evol - M2Lingual: https://huggingface.co/datasets/ServiceNow-AI/ M2Lingual - containing 182K total IFT pairs, covering 70 languages and 17+ NLP tasks.
[ -0.1844801009, -0.619151473, 0.1137691364, 0.2899267673, 0.1177360341, 0.2127880305, -0.5221675038, -0.1847667694, 0.05392351, 0.3118577003, -0.7366570234, -0.5509127975, -0.4720942974, 0.1435397118, -0.1775693893, 1.0321817398, -0.1160108969, 0.3502157629, -0.2287769467, -0.2879095078, -0.5484800339, -0.4116737545, -0.6944392323, -0.27590096, 0.536948204, 0.7422300577, 0.4537371695, 0.7017179132, 0.2931161821, 0.3438635767, 0.3381541669, 0.7518340349, -0.3591051102, -0.0406761058, -0.1786670536, -0.3734071851, -0.5166560411, -0.203210175, 0.6115611792, 0.6094625592, -0.3745436072, 0.2164755464, 0.302239567, 0.5928164721, -0.2413370162, 0.3183034956, -0.3585572541, -0.0347875729, -0.3189056814, -0.1945787668, -0.6014040112, -0.0615660027, -0.0844338462, -0.8316075206, -0.0244948845, 0.1320411563, 0.4726464748, 0.1137739941, -0.5263238549, -0.3971420527, -0.651640296, 0.7854813337, -0.7233324051, 0.7104608417, 0.2053125203, 0.3190155029, 0.1151277572, -0.4240919054, -0.5389528275, -0.1120557562, 0.0535525791, 0.1235932037, -0.0395904891, -0.0035527432, -0.0317820236, 0.2506433427, -0.7438291907, 0.6018406749, -0.3237853646, -0.2553703487, 0.6322821379, 0.1273667514, 0.2708978653, 0.1223969758, -0.3522776365, -0.1301936209, -0.8118767738, -0.0827225819, 0.526698947, 0.6200070977, -0.2408128381, 0.8328777552, 0.0397822224, 0.8256569505, 0.1970808953, -0.3547797501, 0.2230387628, -0.3485167027, -0.0166401546, 0.1881336272, 0.7771575451, 0.5044189095, 0.1584500968, -0.0685501918, -0.3175264299, -0.1733285189, 0.1073861867, -0.7813677788, -0.0661070049, 0.1540872008, -0.0098650297, -0.1021004543, -0.1508805454, -0.6802864075, -0.2349712998, -0.8704953194, 0.3718903065, -0.7031864524, -0.1959692836, 0.0715977922, 0.4390706122, 0.4021993876, 0.1903825551, -1.1888153553, 0.1312765926, 1.0626784563, 0.7670473456, -0.142304942, -0.6017659307, -0.6157037616, 0.1958881766, -0.3423582613, 0.5922611356, -0.5703337789, -0.0531992242, 0.2370946854, 0.3035764694, -0.1513657123, -0.3556601703, 0.3085836768, -0.3362976611, 0.6149564385, 0.101840727, -0.723267138, -0.1981737763, 0.489969939, -0.393494159, 0.9934393764, -0.0209148191, -0.3998171985, 0.1421580911, -0.6145488024, -0.692877233, -0.0372589082, -0.4251244664, -0.3289008141, -0.2055239826, 0.1258535534, 0.3781998158, -0.2459270507, 0.1832711697, 0.1068022549, -0.0429378897, -0.0968552455, -0.5914875269, 0.7788778543, 0.0703345388, -0.4625234306, 0.3056456149, -0.7158786058, 0.1205091253, -0.0307364222, -0.3993856311, -0.2769778669, -0.2192185968, 0.1120527908, 0.2270287424, 0.3623778224, -0.5111619234, 0.6377834082, -0.2942976356, 0.4001658559, 0.8479970694, -0.4282383025, 0.5230814815, -0.0919374451, 0.6935299039, -0.0059266658, 0.1335966289, -0.1711020917, -0.6054470539, -0.706792891, -0.2309865654, 0.4055253863, 0.820338726, -0.9487946033, 0.1474957466, -0.4926032722, -0.3074707091, -0.9189965129, 0.2659413218, 0.7713805437, 0.2506614029, 0.4020812809, 0.13880907, -0.5906825662, -0.8923078179, 0.0738090798, 0.3803512454, 0.1034326926, 0.0628276765, 0.1444420367, -0.5758506656, 0.3829876482, -0.3548211157, -0.3918988407, -0.1423633844, 0.0921181589, 0.2007870525, 0.6825989485, 0.2839886248, -0.6304239631, -0.7053584456, 0.5215610266, -0.4620825052, 0.0642213374, -0.1128482893, -0.3581968248, 0.4419867694, 0.4521439373, -0.609131813, -0.2903152406, 0.8332883716, -0.2346386313, 0.541179657, -0.4329770207, 0.0484862886, -1.4041229486, -0.2323056757, -0.0047513442, -0.1533150822, -0.6069571972, 0.2597161829, 0.2436681837, -0.1052981764, -0.3691515625, 0.6341570616, -0.6789858937, -0.0455345213, -0.1571025401, 0.0525217205, -0.0169196017, 0.4366674125, -0.1194945648, 0.9920625687, 0.4661288261, -0.4553668201, 0.3689361811, 0.3692389727, -0.2025070935, 0.666323781, -0.1746896207, 0.1442580074, 0.0483015738, -0.0607054457, -0.6974144578, -0.3429164588, 0.0814706832, -0.287096262, 1.0243968964, -0.2965590656, -0.4519624412, -0.1707926691, -0.1383307427, 0.2698693573, 0.3643836081, -0.6711101532, 0.6792490482, 0.1686546057, -0.0587110259, -0.764385879, -0.6126405001, 0.0900539458, -0.1505021304, -0.5106548667, 0.4182850122, -0.1737509221, -0.0876412988, -0.2299661189, -0.1654207408, 0.1045947522, -0.1659609526, -0.0986637026, 0.321744889, -0.4872285128, 0.1015179381, 0.2916343808, -0.2912876308, -0.2158960551, -0.7330216765, 0.656981647, -0.1610139757, -0.4101518095, -0.3763794303, 0.5131015778, 0.6175065041, -0.3701559305, 0.8019165397, 0.8098503351, -0.2178460509, -0.2633099854, -0.357667774, -0.1354993582, -0.4840102196, 0.4170348346, -0.4124389887, -0.8068833351, 0.0469206125, 0.1041822657, 0.5295582414, 0.4135620892, 0.6312945485, -0.2735943794, 1.1947438717, 0.7039387822, -0.0609798208, 0.3032374084, -0.3099657297, 0.2416937351, -0.7843196988, -0.2974018753, -0.2277955562, -0.3870206177, -0.8664649725, -0.5664045215, 0.1300142854, -0.079539977, -0.2437622249, 0.2947954237, -0.5644634962, 0.4561357498, 0.6574761868, -0.0442497283, 0.0159534719, 0.1787338704, -0.2134386301, -0.1392218471, -0.8385174274, -0.6592196226, 1.0780035257, -0.0017429149, 0.6102964878, 0.3894816339, 0.7422043085, 0.0859610364, 0.359624505, -0.8545438647, 0.3662651479, -0.690061748, -0.4675315917, -0.2881470025, -0.3416107595, -0.9270943999, 0.1927592605, -0.1254423857, -0.3764417171, -0.2245895267, 0.2966653109, -0.3115518093, 0.1544749588, -1.0015147924, 0.97341609, -0.7514114976, -0.5003536344, -0.054433167, -0.513541162, 0.232302025, -0.0071846023, 0.4186403751, 0.0118910084, -0.0959418491, 0.5634104609, -0.4253128767, 0.8730764985, -0.1400232613, -0.4293096662, 0.0537198335, 0.0573328398, 0.5027752519, -0.2524041831, 0.0033937127, 0.0087564476, 0.0094132181, -0.4059406519, -0.4847412109, 0.9357064962, -0.7680322528, -0.5702543855, -0.2090165913, -0.6616380811, -0.3326232135, 0.3389882147, 0.179245159, 0.6436377168, -0.0064517832, 0.1551295519, 0.6764647961, -0.1121238023, 0.0845472515, 0.6115869284, -0.3759599328, -0.4505647719, 1.3607803583, 0.3060180843, 0.3714980185, 0.6900941133, 0.229107514, -0.2617349029, -0.4824281335, -0.8475906253, 0.1317471266, -0.53294909, -0.3532505333, -0.5851774812, -0.0931153074, -0.4478794932, -0.1163268089, -0.371733129, -0.4640246034, -0.266918093, -0.1775420606, 0.4245895147, 0.5673236847, -0.0879976675, 0.3931786716, -0.7955904603, 0.1177842543, 0.2998209894, 0.2869335115, -0.2042653412, -0.5389372706, -0.4024223089, 0.2893178761, -0.3173906207, -0.5647756457, 0.3596785665, 0.6467115283, 0.5029830933, 0.4257133007, -0.3505247831, 0.7423681021, -1.0250909328, 0.4793671668, 0.2643735111, -0.6593638659, 0.1129612029, -0.3742364943, 0.2421156466, 0.3032645285, 0.5682572722, -0.7076476216, -0.1365915984, -0.3034927845, -0.9313413501, 0.6606888771, -0.0769390389, 0.2561511397, 0.0886762217, 0.2133708745, 0.469786942, 0.1684413999, -0.5714585781, -0.3154873848, -0.1325649321, -0.8414009213, -0.3097200692, -0.3244134784, -0.3317654431, -0.1586150378, 0.9304067492, -0.432939589, 0.2564299405, -0.3948610127, -0.1478186399, 0.1709830761, 0.2540165782, 0.8928893209, 0.4862916172, 0.1722795665, 0.1496122628, -0.1002969816, -0.3723416328, 0.2292546779, 0.3304472268, -0.0665909499, -0.2505403459, 0.5032907128, 0.7012240291, 0.4842546284, -0.5952709317, 0.2900986075, 0.1762830615, -0.1071291044, -0.2533706427, -0.0894702822, 0.3016137183, 0.3815480471, 0.0811608508, -0.0819678307, -0.0686762407, -0.4650397599, 0.2203588337, 0.3923430443, -0.1860478669, -0.4410073757, 0.504262805, 0.2645997107, -0.4574385583, 0.7580879927, -0.3233565688, -0.4657199681, 0.3517647982, 0.810464859, 0.6977702379, -0.4385297894, 0.1475050896, 0.4868846834, 0.5220898986, 0.1827984154, 0.3590863645, 0.1457137764, -0.7250804901, -0.5898044705, -0.5580676198, -0.3390392661, -0.0668638796, -0.5011110306, 0.263923496, -0.1741759032, 0.1242074519, 0.0193806272, -0.1316895783, -0.6149231195, 0.001398891, 0.4323622584, 0.7689372301, -0.8469882607, 0.9383606315, 0.8528173566, -0.2936789989, -0.7972291112, -0.2530480921, 0.3250095248, -0.9319115281, 0.4658626914, 0.3532140255, -0.0559525155, 0.1122815609, -0.2773371637, -0.771927774, 1.042478919, 0.3585186005, -0.9034545422, -0.1270021647, 0.3938961327, 0.4666080475, -0.522413969, 0.010352917, 0.4671073854, 0.5423039794, -0.0420184173, -0.6706946492, -0.3394701183, -0.1752645671, -0.1675085872, 0.4427593946, -0.6581437588, 0.59892869, -0.1916421801, -0.0326269567, 0.0246322397, 0.6968343854, 0.2391507775, 0.3029651642, 0.2631886303, 0.5960335732, 0.8564184308, -0.2608478367, 0.9018667936, -0.3666410148, 0.1253127754, 1.3788950443, -0.1921020895, 0.780872345, 0.5145757794, -0.0922171399, 0.2226959616, 0.7328824401, 0.1286738217, 0.40872702, -0.0629276037, -0.1400318891, -0.1044705063, 0.0851331949, -0.2247212678, 0.4973538518, 0.4218810499, -0.055036895, 0.0531380959, 0.3024613559, 0.2458541095, 0.0578299612, -0.3424117863, 0.7617109418, -0.0662377179, -0.6185997725, 0.6335747242, -0.0025219608, 0.8452002406, -0.6377675533, -0.1088749468, -0.3983671963, 0.3301664591, -0.3660022914, -0.7976157665, 0.1025831774, 0.0762057751, -0.1159777492, -0.385733366, 0.1172296256, -1.0307085514, -0.6690535545, 0.1385804415, 0.3307976425, -0.0311533902, 0.3728680015, -0.7921258211, -0.1513798088, 0.3677912951, -0.0554823279, 0.3620011508, 0.6263750196, -0.1323799044, 0.6553890705, 0.6304917336, -0.1948824227, 0.4411458075, 0.0635802075, 0.5278595686, -0.2836291492, -0.1786506921, -0.6743844748, 0.6670870185, 0.0584335737, -0.3809243143, 0.9720377922, 0.8529604673, 1.1273467541, -0.2055666298, 0.4763721526, -0.0799590051, 0.2488354146, -0.7639412284, 0.4984523356, -0.6693597436, -0.0108053461, 0.1000985056, -1.0314341784, -0.0859369934, 0.3296299875, -0.2002595663, -0.0481184684, 0.4343359768, 0.8180982471, -0.3674786389, -0.140902102, 0.3646662235, 0.1765792668, 0.362101078, 0.2117506564, 0.6483879089, -0.287694037, 0.4058185816, -0.4646941721, -0.2429834604, -0.1986068636, -0.7518165708, -0.5432001352, -0.7560371161, -0.3277669549, -0.0781408921, 0.0068690968, 1.2454704046, 0.6224197149, -0.947558701, -0.4120366275, 0.0909457132, -0.0838669166, -0.5276325345, -0.1975428909, 0.3302187026, -0.5106194615, -0.8222461939, 0.5961062312, 0.2045222074, 0.0854805559, -0.2754067481, -0.2122114152, -0.4203075767, -0.1272595674, 0.9126592278, 0.2651063502, -0.6584570408, -0.1096167937, 0.1414562315, -0.1060394272, 0.0606379136, 0.6602306366, -0.0784051344, 0.660030663, 0.1012296006, 0.8955379128, 0.2735678554, -0.2658092082, 0.6893314719, -0.9483231902, 0.2291745692, 0.134661153, 0.3711178005, 0.5079500675, -0.312929064, 0.5101273656, -0.1521102637, -0.5313196778, -0.6109948158, 0.1154045388, -0.7733659148, 0.0422204025, 1.2680608034, 0.0134931039, -0.1204214841, 0.3190190196, -0.4369097352, 0.3027175367, -0.1715655476, 0.5358535051, 0.69101578, -0.0152777527, -0.1935476661, -0.6469734311, 0.2870976031, 0.3184964955, -0.7376067638, 0.1520201266, 0.6183258891, 0.1488403976, 0.1328250319, 0.0463745929, 0.0467504524, 0.1350682527, -0.2722338736, 0.2773586214, -0.2509307861, -0.4390454888, -0.2832278907, -0.2170824558, 0.0955444276, -0.2381769568 ]
http://arxiv.org/abs/2406.16779v1
http://arxiv.org/pdf/2406.16779v1
It Is Not About What You Say, It Is About How You Say It: A Surprisingly Simple Approach for Improving Reading Comprehension
2024-06-24T16:43:11
2024-06-24T16:43:11
Sagi Shaier, Lawrence E Hunter, Katharina von der Wense
cs.CL
cs.CL
Natural language processing has seen rapid progress over the past decade. Due to the speed of developments, some practices get established without proper evaluation. Considering one such case and focusing on reading comprehension, we ask our first research question: 1) How does the order of inputs -- i.e., question and context -- affect model performance? Additionally, given recent advancements in input emphasis, we ask a second research question: 2) Does emphasizing either the question, the context, or both enhance performance? Experimenting with 9 large language models across 3 datasets, we find that presenting the context before the question improves model performance, with an accuracy increase of up to $31\%$. Furthermore, emphasizing the context yields superior results compared to question emphasis, and in general, emphasizing parts of the input is particularly effective for addressing questions that models lack the parametric knowledge to answer. Experimenting with both prompt-based and attention-based emphasis methods, we additionally find that the best method is surprisingly simple: it only requires concatenating a few tokens to the input and results in an accuracy improvement of up to $36\%$, allowing smaller models to outperform their significantly larger counterparts.
[ -0.4388554692, -1.1004743576, 0.7599397898, 0.263266027, -0.4433468878, -0.129414618, -0.2255583107, -0.6099666357, -0.3717054129, 0.3869424164, -0.2548672855, -0.1638109982, -0.5669058561, 0.3520518541, -0.3521048427, 0.6817710996, 0.2726103365, 0.2464578003, -0.3024045825, -0.2861675918, -0.5785318017, -0.389632225, -0.8086885214, -0.3767682016, 0.6255235672, 0.4779301286, 0.6102895141, 0.921038866, 0.5158051252, 0.3337257504, -0.5236725807, 0.1219860241, -0.2813163102, 0.2152510583, -0.1559147388, -0.5340998173, 0.0833969638, -0.1983383, 0.5482314229, 1.0318284035, 0.0413556024, 0.1083148718, 0.2186776549, 0.6230186224, -0.7030436397, 0.0066707283, -0.1971031725, -0.272390604, 0.0041640876, -0.5382844806, -0.6022889018, -0.0364012234, 0.581946671, -0.3775032759, 0.1618620455, 0.1602111012, 0.7029399872, 0.3762601018, -0.5937806368, -0.2762905955, -0.7021948695, 0.7618387938, -0.7439273596, 0.5111779571, 0.6094048619, 0.0773132741, 0.2777762711, -0.6876416206, -0.4287832379, -0.0868784487, -0.2397065014, 0.0372464806, 0.1230395883, 0.2064538598, 0.4305517375, 0.3379016519, -0.5311439037, -0.2918887734, -0.4729220569, 0.0846989676, 0.4461857975, -0.0219284985, 0.3841209114, -0.2248473018, -0.1508244872, -0.134441644, -0.2455686033, 0.6155506968, 0.0317334048, 0.4758730233, 0.2242276222, 0.7488164902, -0.5019560456, 0.8929351568, 0.2673573792, -0.0742785037, -0.0842124969, -0.7029377818, -0.3143969476, -0.1525846273, 0.3258889616, 0.5077165961, 0.2409478724, -0.2151469141, -0.0078646578, -0.2145590484, 0.3315138221, -0.6032202244, -0.0837638453, 0.2716788352, -0.1513673514, -0.053319294, -0.0212805327, -0.570489347, -0.3976235688, -0.391315192, 0.3889252543, -0.3223166764, 0.2076595873, 0.137585327, -0.2335290462, 0.5852078199, 0.310575366, -1.1687738895, 0.4314897656, 0.7089591026, 0.5326272845, -0.043774303, -0.1814773232, -0.5634359717, -0.0496537164, -0.293939203, 1.0362830162, -0.6404256225, -0.3310600519, -0.0854114518, -0.0423400551, -0.2869253159, -0.4257635772, 0.6698274612, -0.7946141958, 0.4238180816, -0.513582468, -0.7533332705, -0.2627824247, 0.1872439682, -0.6268339157, 1.2174432278, -0.291965127, -0.801998198, 0.4290853143, -0.5688078403, -0.746127665, -0.1878986806, 0.198961556, 0.1081971675, 0.1867746115, 0.6290730834, 0.1893360019, -0.1139326245, 0.0481580496, -0.0622486398, -0.5979273319, 0.483590275, -0.4263605177, 0.495125711, -0.0746321306, -0.2752218843, -0.0545951314, -0.4857258797, 0.2606231868, -0.1132843122, -0.4722361565, -0.4394163191, -0.131966114, -0.0412934311, -0.0674614757, 0.0347127132, -0.4408804178, -0.0855122283, -0.9625471234, 0.4879562259, 0.2307216972, 0.2578240633, 0.9939538836, -0.3122813404, 0.5548365116, -0.2201553285, 0.087256819, -0.4754448533, -0.4266284108, -0.7447681427, 0.2474089861, 0.5565376282, 0.5918813944, -0.6668843627, 0.0370784476, 0.2406002134, -0.2399555147, -0.4725171626, 0.1086926833, 0.437695235, 0.9510215521, 0.4923481941, -0.1774311364, -0.3179646134, -0.7654955387, -0.5376468897, -0.3934159577, 0.1385530531, 0.1924671829, 0.102617301, 0.4044470191, 0.8239250183, -0.6760132313, 0.37240237, -0.5750893354, 0.2471076399, 0.0426301956, 0.2808462977, 0.1811677516, -0.7419957519, -0.4784589112, -0.2002757788, -0.2995454669, -0.0838310048, 0.1461967528, -0.2783795297, 0.1364403665, 0.50181216, -0.5487481952, 0.2814100981, 0.0942018479, -0.3532509208, 0.4000553787, -0.1826234609, 0.153740868, -0.7887333035, 0.1603469253, 0.0663000196, -0.1660724729, -1.0046801567, 0.2430605739, 0.2306901962, -0.0460790358, -0.5671812892, 0.8487283587, -0.2907339633, 0.2497123182, -0.2782597244, 0.1011107042, 0.3735793531, 0.5096887946, -0.0540205874, 0.7887117863, 0.5054504871, -0.6904138327, -0.1836596876, 0.185421288, -0.3940095603, 0.6400184631, -0.8657444119, 0.3716314733, -0.3859598339, 0.0707860738, -1.3417303562, -0.1924403608, 0.2550086379, -0.5227611065, 0.4386020899, -0.0445351601, -0.3278967738, -0.2745976746, -0.0855476335, 0.3800392449, 0.398167938, -0.3793988526, 0.5212984085, 0.0738375336, -0.3855628967, -0.7117202878, -0.9657915235, -0.161971435, -0.2660823166, -0.650162816, 0.229234919, -0.2687697709, -0.4018077254, -0.2421881258, -0.2972131968, -0.6994262338, 0.3402772546, -0.1594528407, 0.0776357949, -0.3418758214, 0.5041429996, 0.1276693195, -0.0051701227, -0.0505123287, 0.0435429588, 0.3363868296, 0.0698567703, 0.0796941742, -0.5298058987, 0.4361473322, 0.3873913884, -0.394375205, 0.6219922304, 0.1465140432, -0.0764673576, -0.3888016343, -0.4678154588, -0.5771726966, -0.4754878581, 0.2814434171, -0.2453036904, -0.7538623214, 0.1478396207, 0.2897295058, 0.1611209065, 0.0438786373, 0.2502803206, -0.616396904, 1.2364959717, 0.6956867576, 0.2230954915, 0.6190869808, 0.0057090665, 0.3606714904, -0.8151563406, 0.0967955589, -0.5674032569, -0.2857886851, -0.024233928, -0.5132347345, 0.0700245127, 0.2495987266, 0.212685883, 0.1412604451, -0.3694641888, 0.6797772646, 0.4950124621, 0.1746866554, 0.5661332011, -0.078819029, -0.0604730211, -0.0705136284, -0.5956596732, -0.7043067813, 1.0064858198, 0.3345588148, 0.4656560421, -0.0805519298, 0.459623307, -0.0431194715, 0.1813085228, -0.9797241688, 0.3702760935, 0.2355749309, -0.8460808396, -0.7009842992, -0.1191529334, -1.1218947172, 0.6379420161, 0.0603545792, -0.6031663418, 0.2886006236, 0.2918222547, -0.8832624555, -0.3032148778, -0.9870870709, 0.764344573, -0.1183044016, -0.4167081118, 0.057212729, -0.6994999647, 0.1982630491, 0.3431401253, 0.1520988345, -0.0408518463, -0.0989798978, 0.6348670721, -0.3507288396, 0.5779480338, -0.0989070162, 0.17237629, 0.5083016157, -0.2486561984, 0.2135831863, 0.0894335508, -0.2650972903, -0.4913083315, 0.2546991408, -0.4674706161, -1.1104075909, 0.0950833112, -0.4366566241, -0.6340502501, -0.234814465, -0.6678103209, -0.5216698647, 0.1939685941, 0.1791281402, 0.8198934197, -0.2335944474, 0.2290059775, 0.9478916526, 0.1418270916, 0.632517457, 0.4396798313, 0.0323941894, -0.1570810974, 0.466881007, 0.2889152467, 0.3563497961, 0.5560512543, 0.2855045497, -0.6712982655, -0.4050784707, -0.5670084953, 0.5383226871, -0.9617109895, 0.1994018853, -0.9883754253, 0.0977218896, -0.5573052764, -0.1037150249, -0.0183627829, -0.4593872726, -0.3451919854, -0.2102101892, 0.217032209, 0.5964784622, 0.3499194384, 0.5051301122, -0.3634963334, 0.2212987542, 0.5285663009, 0.0872251615, 0.1927532703, -0.6426745653, -0.1553649902, -0.1211618781, -0.3452913165, -0.9789453745, 0.2390678972, -0.0234304518, 0.5346088409, 0.1479725689, 0.144879967, 0.6535895467, -0.4221612811, 0.6901423931, -0.3079150915, -0.9067601562, 0.4115361869, -0.038453944, 0.7756807804, 1.1720004082, 0.1011087522, -0.5565806627, -0.4670524001, -0.5324130654, -0.7741995454, 0.7770699859, -0.0148793263, 0.2181115448, 0.0611680485, 0.3679660261, -0.118989937, 0.1974316239, -0.5022250414, -0.3058955073, 0.0829785392, -0.2166727632, -0.2080853432, -0.2967536747, -0.1303227991, -0.4682581425, 0.5481265783, -0.2442713678, 0.2439668477, 0.54282552, -0.3837703466, 0.1645763218, 0.3979825675, 0.7083681226, 0.8857116103, 0.0035210631, 0.3769040108, 0.3428834379, -0.2624288201, -0.0749148354, 0.0552046187, -0.4315194786, -0.0035555982, 0.4893278778, 0.7447991371, 0.5736123323, -0.6099225283, 0.3386277556, -0.1677726656, -0.1182300523, 0.3945471048, 0.1054014787, 0.3397274017, 0.2101551592, 0.3150264919, -0.1406072229, 0.4296439886, -0.6786356568, 0.1308009177, 0.0767313018, -0.4374841154, -0.1532279551, 0.3676388264, 0.3177713156, -0.3090625703, 0.2966939509, 0.0867744088, -0.5111427903, 0.7846572995, 0.480301857, 0.6700764298, -0.2244926095, 0.3375401497, 0.4873623252, 0.2746692598, -0.1818003803, 0.6300362945, -0.6455065608, -0.543865025, -0.5773525238, -0.4713359773, -0.4568063021, -0.2106737196, -0.7446044683, 0.0742813349, -0.4203012586, -0.2408680171, 0.0882309601, 0.1914883256, -0.4481732249, 0.4503134191, -0.0097060241, 0.9747129679, -0.7134236097, 0.5646641254, 0.8469896913, -0.3059366643, -1.0282753706, 0.3552367985, -0.4213693142, -0.4647243321, 0.1088500023, 0.3352351487, 0.249052763, 0.2902148366, -0.527692914, -1.2281044722, 0.6875689626, -0.0389602371, -0.2775290012, -0.1452939063, -0.0403095074, 0.7151861191, -0.0247866381, 0.4975354373, 0.7443962097, 0.7139782906, 0.1993361712, -0.6479356289, -0.1747855693, -0.2605783641, -0.0071511469, -0.0357208885, -0.4879433513, 0.4519714415, -0.3514352143, -0.4862731099, 0.0974464789, 0.802877903, 0.0541223064, 0.5800356269, 0.4329378009, 0.2870758474, 1.0605031252, -0.1042680517, 1.4820357561, -0.0608232915, 0.054458946, 1.1577094793, -0.1242332309, 0.7537365556, 0.6237375736, -0.0671672747, 0.2802574933, 0.8636256456, 0.3350970447, 0.69775635, -0.0690158159, 0.0579773486, -0.1043498665, -0.1477289796, -0.1492870897, 0.147372365, 0.0152707901, -0.4047893584, -0.1768260449, 0.2257277519, -0.1725745052, 0.3061367869, -0.0934946164, 0.8986991048, 0.1139118075, -1.1361689568, 0.4911838174, 0.0820150524, 0.3804195821, -0.2949258983, 0.215331018, -0.3664177656, -0.087400116, 0.1114286408, -0.8189226985, 0.2372111827, -0.0011228154, -0.6275327206, -0.1965188384, 0.3755629957, -0.5299115777, -0.5648156404, 0.0301671475, 0.4746505022, 0.030294057, 0.0134435156, -0.609945178, 0.0680090785, -0.3148887455, -0.3591259718, -0.107677415, 0.2907791436, 0.0361551195, 0.4345565438, 0.5173454285, -0.1811405122, 0.2389059514, 0.2111350745, 0.5188195705, -0.6963421702, -0.5370905399, -0.7205644846, 0.7000282407, -0.1473713368, -0.6252576709, 0.7520046234, 0.138779074, 0.5461186767, 0.1834653765, 0.4751611352, 0.1795043051, 0.6412009597, -0.3684195876, 0.3450208604, -0.506821394, -0.0434014313, -0.2720061839, -0.9537628293, -0.4558198452, 0.4094014168, -0.6701587439, 0.0753614306, 1.1084578037, 0.6710143685, 0.24219504, 0.3029192388, 0.4628278613, 0.0493956506, -0.0324883573, 0.2428632528, 0.9635797143, -0.4616086483, 0.3408872783, -0.4808181822, -0.1013463587, -0.1638274789, -0.4081739783, -0.7916973233, -0.2770994902, -0.2449910939, -0.1037990153, 0.1156141981, 0.5159283876, 0.7479476333, -0.6163066626, -0.1748703122, -0.03292007, 0.4047417641, -0.354038626, -0.1708660424, 0.1927821189, -0.5415356755, -1.023547411, 0.5475281477, 0.1986711025, -0.1170628071, -0.0180869009, 0.1153302193, -0.4153164327, 0.5457838774, 0.5592418909, 0.3231550753, -0.7356624007, -0.1547486484, 0.3568946421, -0.5204262137, 0.2522694468, 0.7391541004, -0.5309968591, 0.7454753518, 0.8106413484, 0.9206933379, 0.3613134921, 0.6455150843, 0.596061945, -0.4636235237, -0.126397565, 0.2113266885, 0.1266046166, 0.4161252975, -0.5781889558, 0.3765573502, -0.1020152047, -0.5269367099, -0.8676426411, -0.1120623201, -0.9732714891, -0.4585682154, 0.9309238195, 0.3022533655, -0.437522471, -0.3801435232, -0.4720050991, 0.1458593011, -0.3435813487, 0.5276905894, 1.0450376272, -0.2787403762, -0.321351856, -0.5891976357, 0.4537757635, 1.18027246, -0.5109914541, 0.0486400463, 0.2526182234, 0.0981526002, 0.0769208968, 0.5972810984, 0.0415892377, 0.5114458799, -0.3741235137, -0.3371576369, 0.2550911307, -0.4267498255, -0.6729124784, 0.4294180274, 0.1707325429, 0.0390839502 ]
http://arxiv.org/abs/2406.16778v1
http://arxiv.org/pdf/2406.16778v1
Finding Transformer Circuits with Edge Pruning
2024-06-24T16:40:54
2024-06-24T16:40:54
Adithya Bhaskar, Alexander Wettig, Dan Friedman, Danqi Chen
cs.CL
cs.CL
The path to interpreting a language model often proceeds via analysis of circuits -- sparse computational subgraphs of the model that capture specific aspects of its behavior. Recent work has automated the task of discovering circuits. Yet, these methods have practical limitations, as they rely either on inefficient search algorithms or inaccurate approximations. In this paper, we frame automated circuit discovery as an optimization problem and propose *Edge Pruning* as an effective and scalable solution. Edge Pruning leverages gradient-based pruning techniques, but instead of removing neurons or components, it prunes the \emph{edges} between components. Our method finds circuits in GPT-2 that use less than half the number of edges compared to circuits found by previous methods while being equally faithful to the full model predictions on standard circuit-finding tasks. Edge Pruning is efficient even with as many as 100K examples, outperforming previous methods in speed and producing substantially better circuits. It also perfectly recovers the ground-truth circuits in two models compiled with Tracr. Thanks to its efficiency, we scale Edge Pruning to CodeLlama-13B, a model over 100x the scale that prior methods operate on. We use this setting for a case study comparing the mechanisms behind instruction prompting and in-context learning. We find two circuits with more than 99.96% sparsity that match the performance of the full model and reveal that the mechanisms in the two settings overlap substantially. Our case study shows that Edge Pruning is a practical and scalable tool for interpretability and sheds light on behaviors that only emerge in large models.
[ -0.6509225965, -0.8984325528, 0.7265786529, 0.015298035, -0.1454023272, -0.1179706752, -0.2114927024, 0.0595508106, -0.0602324717, 0.2761956453, -0.9626249671, -0.2506965697, -0.4519224167, -0.3098420203, -0.4830561578, 0.6967753172, -0.0231956188, -0.2693047822, 0.0060024229, 0.0588863157, -0.4441617131, -0.2674788237, -0.5759016871, -0.6340421438, 0.2378349155, 0.4687018394, 0.7953299284, 0.7195079327, 0.5179156065, 0.2914566398, -0.3964502513, 0.1544674039, -0.3512352407, -0.008521759, 0.0246846788, -0.3079072237, -0.1518967897, -0.0925630704, 0.4069051743, 0.7543797493, -0.1276783198, 0.1313940138, 0.0392469727, 0.7371621728, -0.4339911938, -0.0768733621, -0.5578503013, 0.1169472709, -0.2246682942, -0.3045613468, -0.6220197678, -0.3116013706, -0.0743835941, -0.5235053897, 0.489518255, -0.2222514749, 1.0650638342, 0.3416366279, -0.4216216803, -0.3257612586, -1.0287611485, 0.548535645, -0.2089906037, 0.6121096015, 0.1935333312, 0.409712106, -0.1571588516, -1.1356810331, -0.3756560087, -0.1394671202, -0.1816218495, 0.0341520831, -0.4993844628, 0.3426133394, 0.5900434852, 0.386407584, -0.5173428059, -0.1052322462, -0.5226620436, -0.3804731965, 0.2085824609, -0.0238652956, 0.5539598465, -0.0376719236, -0.156712234, -0.3319740891, -1.0181429386, 0.2693292499, 0.6426516771, 0.0501493961, 0.4778058529, 0.2660060227, 0.2271700352, 0.7460497618, -0.0369402319, -0.008509852, -0.0213582646, -0.2044427991, 0.0158490464, -0.2511592209, 0.4796767533, 0.3596669137, 0.5483609438, -0.0066451011, -0.3620471358, 0.0373446271, 0.4997321963, -0.7857095003, -0.7945349216, -0.1718114316, -0.4963136911, 0.0821570382, 0.0645605177, -0.6110708714, 0.0661379099, -0.3263323903, 0.4384175539, -0.4930028915, -0.2336210161, -0.2306704968, -0.4108102322, 0.2192135006, -0.0212623812, -0.9327113032, 0.5914976597, 0.6966008544, 1.066044569, 0.1621593982, 0.0313991643, -0.6313390136, -0.3320066333, -0.4378272891, 0.6859240532, -0.6531147957, -0.6062586308, -0.1736628562, 0.0954043269, -0.233237192, -0.6655555367, 0.9039916992, -0.5872061849, -0.289517194, -0.3600134552, -0.2975873053, -0.1602592617, -0.1654835641, -0.8637125492, 1.0411765575, 0.099989742, -0.5417386293, 0.0650303513, -0.5629122853, -0.6928266287, -0.0924225301, -0.1140556633, -0.5950517058, 0.3499035835, 0.4737704396, 0.0151654668, -0.0400643721, 0.3872160912, 0.1038031206, -0.6482447386, -0.1982467175, -0.5258239508, 0.8254044652, 0.1130110323, -0.4946965277, 0.1717832685, -0.3723784685, 0.0861776695, 0.1284739971, 0.2285630256, -0.2346388996, 0.1028369591, -0.0267032385, 0.2891296148, -0.1838787049, -0.425722599, 0.0891332626, -0.5630781651, 0.903819859, 0.8822941184, 0.1529156268, 0.5260010362, -0.2203544974, 0.4785642624, -0.2345126867, 0.3455153704, -0.4608382583, -0.3841154873, -0.9953266978, 0.1304387301, 0.1131558567, 0.3125540912, -0.58858639, 0.4713267684, -0.1743755788, -0.4733777344, -0.4541144967, -0.095775485, 0.1542646885, 0.5697885156, 0.6018390059, -0.2139130533, -0.2038272619, -1.1994153261, -0.3578145504, 0.1007348001, -0.3208550811, 0.284568876, 0.4276080728, -0.1836527884, 1.1191866398, -0.5855249166, -0.2643567622, -0.3801750541, 0.1332251579, 0.1767105311, 0.5809227824, 0.1751734316, -0.9079532623, -0.3956374526, 0.0402157195, -0.3295388222, -0.0177330468, -0.2062816322, 0.1533987522, -0.4231734574, 0.4923687279, -0.4386695921, 0.6415530443, 0.0984454975, 0.2597535253, 0.1819825768, -0.1761447936, -0.2321230322, -0.4355737865, -0.0427025557, 0.2408993393, -0.0311041009, -0.7989004254, 0.0684436709, 0.3523177505, -0.1942739338, -0.1417733729, 0.3909777403, -0.5510940552, -0.0695016161, -0.3328224123, 0.0509151891, 0.0556267947, 0.7902511954, 0.0806282237, 0.8941674232, 0.4333910346, -0.5260331035, 0.0029979693, 0.0515433699, -0.0873264596, 0.236788705, -0.8047825098, 0.3131871819, -0.2132221907, 0.3153809607, -0.6724738479, 0.0109474985, 0.0948941559, -0.3183278441, 0.1577221155, -0.3895088732, -0.2344957888, -0.5694684982, -0.2085357308, 0.3320003748, 0.8535773754, -0.9550830722, 0.7772960067, 0.4320914745, -0.195233047, -0.2337115258, -0.3657884598, -0.1628959775, 0.0032314903, -0.8034563065, 0.5657204986, 0.1400290281, -0.1465462446, -0.1010987759, -0.6574905515, -0.1802442968, 0.145422712, 0.3944594562, 0.1521720141, -0.0152027188, 0.1715774089, 0.3461533785, -0.3793312609, 0.3118567169, -0.4845245183, 0.6175983548, -0.3634509742, -0.6045036316, -0.450430572, 0.2111373842, 0.3930030763, -0.4678504467, -0.0163704082, 0.574778676, -0.4972674549, -0.5627323389, -0.4347163439, -0.5315246582, -0.6123211384, 0.2152822912, -0.4703848362, -0.541249454, 0.3846653104, -0.4848570228, 0.0331564434, 0.5681140423, 0.1537532508, 0.2138305753, 1.1720076799, 0.814627409, 0.1790492088, 0.5379393101, -0.5452260971, 0.7966908216, -0.8313071728, -0.3835720122, -0.5089239478, -0.4444240034, -0.4647598565, -0.0630414858, 0.6751637459, -0.1437798589, -0.0866687372, 0.442229569, -1.0209964514, 0.6894983053, 0.8563249111, 0.215259999, 0.2305596918, 0.1580238789, -0.2171888798, -0.1724536419, -0.9030976295, -0.4461378753, 0.7543227673, 0.4666247964, 0.5581073761, -0.368449837, 0.552295506, -0.1170009896, 0.3598622382, -0.8848488927, 0.3989355862, 0.040793702, -0.3622879088, -0.225522548, -0.4968164861, -0.7874963284, -0.0372272171, 0.2602372169, -0.8403629661, 0.2472004294, 0.177463755, -0.2506841719, 0.486066848, -0.7442421913, 0.9245169163, -0.1038074419, -0.2174126804, -0.098497048, -0.708091259, 0.2508116663, 0.2975057065, 0.2422193438, 0.2817421556, 0.3822312653, 0.7617085576, -0.6537382007, 0.4040756822, -0.2570384145, 0.1775454134, 0.6041123271, 0.2536730468, 0.7093126774, -0.2259859443, 0.3269660473, -0.172683239, -0.3608642817, -0.16083619, -0.7984452248, 0.7409592271, -0.6066489816, -0.6753367186, -0.149810642, -0.3762403727, -0.142015636, 0.0917575881, 0.5971621871, 0.820856452, 0.0741174445, 0.0371672697, 0.8578691483, 0.0500894636, 0.6210191846, -0.1079869121, 0.1569040567, -0.0414526835, 1.2242646217, 0.3242118061, 0.0940229669, 0.1948109865, 0.0597306304, -0.1993022561, -0.5539539456, -0.4235133529, 0.0541688651, -0.8128956556, -0.0683324635, -0.7618294954, -0.5018651485, 0.1733830273, -0.2708698511, -0.437148869, -0.4876875579, 0.0629402548, -0.2951724231, 0.172697857, 0.6797189713, 0.0166693851, 0.7386242151, -0.6928139329, 0.1859006882, 0.3896403611, 0.3125376999, 0.3263256252, -0.3824947476, -0.0372940041, -0.0341490172, -0.7005974054, -0.8341374993, 0.341016531, 0.0273379236, 0.5211708546, 0.2946971655, 0.0567947067, 0.6759310961, -0.5839883685, 0.5192950964, 0.1029339582, -1.2234069109, 0.6008939147, 0.0771183595, 0.1664936543, 0.4979872108, 0.3934451938, -0.5425871015, -0.2509790361, -0.9623582959, -1.2003729343, 0.3456287682, 0.4438884258, 0.027502846, 0.0318794288, 0.1831898093, -0.0736376718, -0.0848876312, -0.7353872657, -0.290127188, -0.2306653559, -0.2025478035, 0.3603923619, 0.0363861695, -0.283967644, -0.1409655809, 0.5551070571, -0.0786853954, 0.2451570928, 0.2226292044, -0.3212990463, -0.1599921584, 0.0788674578, 0.3063924909, 0.8569896817, 0.0817295164, 0.3342086971, 0.1188729778, -0.5634643435, 0.2511909306, 0.115209043, -0.3456326723, 0.3408358991, 0.4312412143, 0.7069767118, -0.0857751593, -0.6129273176, 0.6523476243, -0.1132950112, -0.0827187896, -0.268031925, 0.1745285988, 0.030869415, 0.0217113681, 0.7121679783, 0.21882765, 0.3842989802, -0.2227353305, 0.5992173553, 0.5754882693, -0.6685948372, -0.275595814, 0.4634054601, 0.2370929122, -0.7246773243, 1.0734807253, -0.2335973233, -0.8414469957, 0.9733746648, 0.2579168677, 0.8614040017, -0.0795261338, 0.200809136, 0.502512753, 0.7109864354, -0.2077849805, -0.4361928403, -0.2146515846, -0.3492367566, -0.370095104, -0.1144701838, -0.3908385336, -0.0279099904, -0.7603207231, 0.2836488485, -0.3756334782, -0.0168962181, 0.0494067781, -0.0580086075, -0.5334870815, 0.1862213016, -0.3109422326, 1.0336140394, -1.1093811989, 0.739590764, 0.2306987792, -0.1641357243, -1.0366309881, 0.088149786, -0.0787797421, -0.6413792968, 0.4593320191, 0.5139122605, -0.1770118624, 0.0816907063, -0.2370535731, -0.5121474862, 1.0650652647, 0.0957207605, -0.7860147953, -0.2006397545, -0.451271683, 0.3095774055, -0.0481015742, 0.7471339703, 0.81075418, 0.5979981422, 0.2783442438, -0.7263956666, 0.1130442992, -0.4542050362, -0.0461662561, 0.6982415318, -0.4213691354, 0.9098507166, -0.1978265047, -0.5309438705, -0.273381263, 0.5423206687, 0.0424812175, 0.4982242584, 0.6693829894, 0.4059810936, 0.7625285387, -0.3296256959, 0.740301311, -0.385591656, 0.5434031487, 0.6698806882, 0.0395705961, 0.2550080121, 0.530454874, -0.1265655011, 0.3895229399, 0.8016142249, -0.0296368413, 0.5749760866, 0.3896144032, 0.049756702, -0.2781885564, 0.1004953161, -0.2699353099, -0.2554409802, 0.3862321973, -0.1533491313, -0.3999271393, -0.0522822738, 0.0826509669, 0.213796854, -0.3106155694, 0.5644847155, 0.0867855549, -0.8452122211, 0.4224420488, 0.0614821129, 0.308002919, -0.3878580928, -0.3329269588, -0.3265063167, 0.0814746171, -0.2664421499, -0.5531924963, 0.4802409112, -0.2978629172, 0.0738412738, -0.4228332341, 0.9306052327, -0.0942561924, -0.4703304172, 0.2890787125, 0.5160043836, -0.1505642533, -0.1805910468, -0.1819625348, 0.1107795909, 0.1659287214, -0.3966277242, 0.1897889525, 0.2697272301, -0.1964609474, 0.7943148613, 0.499861449, -0.0963766798, -0.1275533885, -0.1818861514, 1.2342017889, -0.5536942482, -0.3303129077, -0.9163054824, 0.4251430929, -0.2025460899, -0.2755514681, 0.3996969759, 0.5538919568, 0.8549482822, 0.2931798995, 0.7430346012, 0.1253930926, 0.1025060937, -0.4929951131, 0.1990047097, -0.2581146061, 0.3329847753, -0.0215724446, -1.0197554827, -0.1164045632, 0.9133422375, -0.5003756881, 0.0754117072, 0.8593423963, 1.0135989189, -0.478156358, 0.3609212935, -0.0836781859, -0.0812268332, 0.3860967457, 0.5626154542, 0.7884395123, -0.2376070023, 0.7625025511, -0.4599961936, -0.5040636659, -0.0453993715, -0.6045235991, -0.7603318095, -0.5937583447, -0.0543089211, -0.1823335439, 0.0595797338, 0.7325085998, 0.6990171075, -0.3800790608, -0.167477116, -0.662588954, 0.5969676971, -0.5334814191, -0.2500770092, 0.4354203641, -0.3384510279, -0.5844934583, 0.5014211535, 0.2882202566, -0.1897376329, -0.1422257423, -0.0305186994, 0.2140059173, -0.0518115573, 0.1645516008, 0.2650337219, -0.5548829436, -0.2012216151, 0.4083554149, 0.1864574552, 0.17095761, 1.2149879932, -0.7285980582, 0.2823795974, 0.2542116046, 0.5799590349, 0.9491117001, 0.0455954447, 0.7203698158, -0.6458583474, -0.0152141172, 0.3970113099, 0.2008661926, 0.1052290648, -0.1752902418, 0.5020548105, 0.1701590121, -0.6178680062, -0.8925030231, 0.5455368161, -0.6003630161, -0.3020298183, 0.8128291965, -0.0641661957, -0.2485912442, 0.1315953583, -0.2411049902, 0.049776461, -0.2299399525, 0.3748466969, 0.5255736709, -0.2373482138, -0.2465845793, -0.603074193, 0.5618029237, 0.2514002919, -0.3800789416, -0.0216946322, 0.1912667602, 0.0131044099, 0.3587399721, 0.3756651878, 0.2591106296, 0.3671294451, 0.0431635641, -0.1045444086, -0.2943591774, -0.806871295, -0.2487788945, 0.3162995279, -0.0594836697, -0.0107851224 ]
http://arxiv.org/abs/2406.16777v1
http://arxiv.org/pdf/2406.16777v1
Blending LLMs into Cascaded Speech Translation: KIT's Offline Speech Translation System for IWSLT 2024
2024-06-24T16:38:17
2024-06-24T16:38:17
Sai Koneru, Thai-Binh Nguyen, Ngoc-Quan Pham, Danni Liu, Zhaolin Li, Alexander Waibel, Jan Niehues
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are currently under exploration for various tasks, including Automatic Speech Recognition (ASR), Machine Translation (MT), and even End-to-End Speech Translation (ST). In this paper, we present KIT's offline submission in the constrained + LLM track by incorporating recently proposed techniques that can be added to any cascaded speech translation. Specifically, we integrate Mistral-7B\footnote{mistralai/Mistral-7B-Instruct-v0.1} into our system to enhance it in two ways. Firstly, we refine the ASR outputs by utilizing the N-best lists generated by our system and fine-tuning the LLM to predict the transcript accurately. Secondly, we refine the MT outputs at the document level by fine-tuning the LLM, leveraging both ASR and MT predictions to improve translation quality. We find that integrating the LLM into the ASR and MT systems results in an absolute improvement of $0.3\%$ in Word Error Rate and $0.65\%$ in COMET for tst2019 test set. In challenging test sets with overlapping speakers and background noise, we find that integrating LLM is not beneficial due to poor ASR performance. Here, we use ASR with chunked long-form decoding to improve context usage that may be unavailable when transcribing with Voice Activity Detection segmentation alone.
[ -0.30157727, -0.4933283925, 0.2789641619, 0.3888251185, -0.4451873004, 0.6084045172, -0.3577302694, -0.6347687244, 0.1713663042, 0.5411080122, -0.7472604513, -0.2555857599, -0.5172070861, 0.3226663768, -0.6635176539, 0.7873882651, -0.1806687564, 0.4168692529, -0.1329756379, -0.0780480057, -0.6024794579, -0.3689987957, -0.6094035506, -0.6559516191, 0.3855315149, 0.2479332834, 0.3431571722, 0.7739704847, 0.4058547914, 0.2839413881, -0.261428237, 0.216884926, -0.3914708793, 0.331127584, -0.1114195511, -0.3082488775, -0.7630620003, -0.3129609823, 0.8833096623, 0.60857445, -0.0647480413, 0.2066382468, 0.2566366494, 0.376221329, -0.3401225209, -0.036600668, -0.691652596, 0.0156735964, -0.4375781417, -0.499375999, -0.2742437422, 0.0294448454, 0.0284647532, -0.4609194398, -0.1471777707, 0.0935255215, 0.5074486732, 0.6223484278, -0.5284977555, -0.3844089508, -0.8897806406, 0.8306929469, -0.8544661999, 0.510160923, 0.2973659635, 0.2695563138, -0.4141399264, -0.8605974317, -0.3626318872, -0.0628892258, 0.2612432241, 0.3778226972, -0.2481064349, 0.3577046692, 0.0380394608, 0.5006579161, -0.4258514643, 0.3322601616, -0.2058781981, -0.216933012, 0.6485490203, 0.1518285871, 0.0762161091, 0.0892895386, -0.3162649274, 0.0255067088, -0.7072304487, 0.0030835448, 0.0888829529, 0.5934460759, -0.1391079575, 0.6130824685, -0.1692946553, 0.6421607733, 0.230118081, -0.4060064256, 0.2080578059, -0.5223575234, -0.1364507377, 0.3887886703, 0.7352153063, 0.0507354811, -0.177921176, -0.1572909653, -0.4483371377, -0.3789546788, 0.0871489719, -0.6604684591, 0.1896240711, 0.3594284654, -0.2597930133, -0.2232533395, -0.1441730708, -0.3697400391, -0.242317006, -0.5119189024, 0.6703467965, -0.062844947, 0.0337329693, -0.0990724638, -0.0899024308, 0.0630789101, 0.5495709777, -0.3508215845, 0.4799300432, 0.5235548019, 0.8918116689, -0.4155173898, -0.1840638965, -1.1121872663, 0.178348124, -0.3402870595, 0.5439296961, -0.1496372074, -0.5032632947, 0.039950639, -0.0708706528, 0.1747465879, -0.6440340281, 0.5039174557, -0.4759419262, 0.068813853, -0.2809398472, -0.6756185293, 0.091962941, 0.2342024446, -0.4513499439, 1.2956066132, -0.0814195201, -0.4064954221, -0.0051425532, -0.6265969872, -0.472927928, 0.2426219434, 0.0324067138, -0.250192374, 0.1074476764, -0.018064931, 0.3571566045, -0.3627990484, 0.4785044491, -0.0789290145, -0.2915565073, 0.3867282867, -0.4096875489, 0.552963078, 0.113268666, -0.6142920256, 0.3874697983, -0.7347431779, 0.1227970943, -0.3094601631, -0.7088310719, 0.0096963253, 0.0771762878, 0.3815461993, 0.3369126916, 0.1564371139, -0.5756926537, 0.0835226923, -0.3940307796, 0.6577795744, 0.5816714168, -0.3119399846, 0.5565136671, -0.3541993201, 0.4880315661, -0.1887966394, 0.0027007598, 0.0470619723, -0.6695424914, -0.9155102968, -0.385769397, 0.4369280338, 0.7480732203, -0.8526852131, 0.6176515818, -0.4962849021, -0.2614027262, -0.5763335824, 0.1256832182, 0.469771117, 0.4311901629, 0.6013946533, -0.2900834084, -0.6804918647, -0.4795475006, -0.087678656, -0.0974305943, -0.0518819429, 0.0059660356, 0.2635307908, -0.434989512, 0.9763721824, -0.0006688667, -0.3795016408, -0.4011780024, 0.1306147575, 0.0303674154, 0.3933696747, -0.172456488, -0.6271933317, -0.5881323218, 0.2138364315, -0.3381167054, -0.5095822215, -0.0398867913, 0.0475751087, 0.1903726757, 0.7733009458, -0.5075423717, 0.5411732197, 0.6453558207, 0.0208477415, 0.3919007778, -0.2532373667, 0.0574096851, -1.2363718748, -0.092754446, -0.3575491905, -0.8545283675, -0.8901427984, -0.0224825032, 0.1493712664, -0.0073848646, -0.6668488383, 0.6153231263, -0.5610974431, -0.3772493303, -0.5477513075, 0.3934643567, -0.0839366466, 0.0583993606, -0.1531462073, 0.7732424736, 0.2986922264, -0.4738588929, 0.3315136433, 0.2378712595, -0.143273592, 0.4033556581, -0.3258742392, 0.0729149729, 0.1171819195, 0.8303704262, -0.8044709563, -0.3541987836, 0.2223148644, -0.4047740102, 0.582749486, 0.0946108624, -0.582898736, -0.1724050045, -0.2841426432, 0.3995199203, 0.4902173281, -0.6058318615, 0.6759605408, 0.2975248992, -0.3357636929, -0.4026293159, -1.0061193705, 0.4970833361, -0.2471773326, -0.4635891318, 0.9425198436, -0.3668966293, -0.196782887, -0.1801967025, -0.1522156298, -0.039058499, -0.2430149764, 0.1790416837, 0.0127000613, -0.3133451641, -0.0453825705, 0.2418652922, -0.0352317207, -0.2226126492, -0.5297832489, 0.5849916935, 0.165686205, -0.3755156398, -0.5047254562, 0.43437621, 0.5810072422, 0.0292145684, 0.2972047627, 0.7516975999, -0.4189230502, -0.1553147137, -0.7778511643, 0.0383491144, -0.4695456326, 0.3183044493, -0.4288994074, -1.1362565756, 0.5955308676, -0.1184786931, 0.0561720692, 0.3412329853, 0.5629921556, -0.236405015, 0.8540802002, 0.3928169608, -0.108358182, 0.5703282356, -0.0254633464, 0.1322490871, -1.1643662453, -0.3302750885, -0.356921792, -0.4479064941, -0.5909050703, -0.8282658458, 0.3858703673, 0.2697969079, 0.1678583324, 0.3637554049, -0.3397755623, 0.3167775273, 0.5894297957, 0.0746227801, 0.5683723688, -0.1246444136, 0.12643601, 0.0631988943, -0.729665041, -0.2267735153, 0.9164218307, 0.3393379748, 0.5732910633, 0.0708884373, 0.6667227149, 0.247582525, 0.2301699966, -0.9795019627, 0.5087711215, -0.3199951649, -0.5423022509, -0.2875325382, -0.4918791056, -0.6726965904, 0.2411209792, 0.0705055445, -0.5109746456, -0.0206317287, 0.1309408098, -0.2584900558, 0.1913988739, -0.1593812406, 0.301227808, -0.2728152871, -0.0547680296, -0.1336138248, -0.911018312, 0.2068852037, -0.4169686735, 0.4616261721, 0.009382871, -0.2264987677, 0.5846198201, -0.5949222445, 0.8424729109, 0.1435809433, -0.2969837189, 0.1844549179, -0.1826556176, 0.6425857544, -0.1983419508, -0.0850295797, 0.1756719947, 0.0726450458, -0.1278697848, -0.3386016786, 0.8226906061, -0.6733837128, -0.4581679702, -0.4524653256, -0.7899999619, -0.276298821, 0.2043673992, 0.5468161702, 0.7360858917, -0.0634407103, 0.34129408, 0.6542175412, -0.0739616603, 0.6512455344, 0.4249491394, -0.3171764314, -0.8398117423, 0.8677421212, 0.43655774, 0.6419368386, 0.563336134, 0.4023345113, -0.449260205, -0.6921460629, -0.7449743748, -0.0049376213, -0.8726198077, -0.4137634933, -0.6815443039, -0.3686912358, -0.433273077, -0.2444346696, -0.3792204857, -0.5845565796, -0.5444466472, 0.2940322161, 0.2138774693, 0.884696722, -0.0597254187, 0.5905531049, -0.8385853171, 0.2354323119, 0.0547809526, -0.1838630587, -0.221243009, -0.991892755, -0.2962683439, 0.1935939789, -0.3222149312, -0.5925137401, 0.4451748729, 0.537397325, 0.3644776046, 0.0794007629, 0.1465214938, 1.2512872219, -0.6919836998, 0.7423892617, 0.237649858, -1.1811269522, 0.4160418808, -0.4699308574, 0.6680290103, 0.5407665968, 0.0450801961, -0.4017626345, -0.6478986144, -0.2230519801, -0.9518648982, 0.8396881223, 0.4251191914, 0.0794845149, 0.3613985181, 0.2552517951, 0.0271341577, 0.2111412138, -0.6340171695, -0.1848500818, -0.0268081855, -0.3606287241, -0.139781341, -0.0413760692, -0.0414773859, -0.3467452824, 0.8880524039, -0.0687213689, 0.0233995393, 0.1184243113, -0.2136691511, -0.3366990685, 0.2200519741, 0.8136105537, 0.340955168, -0.120066531, 0.1085073799, 0.5297042131, -0.5991443992, 0.2166748494, 0.1722899228, -0.0561805107, 0.2034414709, 0.4340772927, 0.7364061475, 0.5288162827, -0.6248860955, 0.4359458387, 0.0895332471, -0.260061413, -0.2927738428, -0.3389398456, 0.081016317, 0.3381525874, 0.4623523951, 0.2598824203, 0.2162577212, -0.5427650809, 0.1135060117, 0.3809348047, -0.4818263054, -0.3899592757, 0.6282684207, 0.3799615502, -0.4852149785, 0.1687179059, -0.2159860432, -0.6106133461, 0.2116630971, 0.8100663424, 0.9969577193, -0.3858671486, -0.2074986398, 0.1314546913, 0.2876203656, -0.3945700824, 0.0730099902, -0.1626758575, -0.3011488914, -0.7644181252, -0.7410659194, -0.5725144148, 0.2387673557, -0.6809405088, 0.5131798983, -0.1017233431, -0.2210554332, -0.394446671, -0.2106907964, -0.3399110436, 0.2956147492, 0.1602136791, 0.8146451116, -0.4760887325, 1.0634816885, 0.5623780489, -0.0271723736, -0.6776736379, 0.3635665774, 0.2262338698, -0.5808438063, 0.4949587584, 0.1347412914, -0.3427034914, 0.323533535, -0.1342803091, -1.2596535683, 1.3135670424, 0.380931735, -0.7195410132, -0.0688884035, 0.3617387414, 0.3035496771, -0.2600224614, 0.0565810129, 0.3724603355, 0.3235207796, 0.4971348047, -1.4806399345, -0.0628222376, -0.0063200374, 0.0894139484, 0.1626833826, -0.3510423601, 0.5966793299, 0.2649970353, -0.1478825957, 0.3390486538, 0.5862383842, 0.2924734652, 0.4012105763, 0.4312935472, 0.3415508866, 0.5840120316, -0.0651362166, 0.8396307826, -0.1070683151, 0.0391809084, 1.3591029644, -0.2113153636, 1.2186368704, 0.6753913164, -0.1196701303, 0.1772772819, 0.7200188041, 0.5615721345, 0.5990651846, 0.3403197825, -0.5284695029, -0.2129019946, -0.3016191125, -0.4572013617, 0.4327659011, 0.3263106346, -0.027655974, -0.0871835053, 0.3329946995, -0.1161681265, -0.2235845476, -0.4397601485, 0.8479596972, 0.453966707, -0.5528780818, 0.5126712322, 0.097148262, 0.8825161457, -0.6884427071, 0.27055493, -0.074355036, 0.178281635, -0.3188373148, -0.5565688014, 0.3502252698, 0.1183471233, -0.1065603346, -0.6019009948, 0.764089644, -0.7449699044, -0.5547776222, 0.4405429363, 0.4003769755, 0.2203454375, -0.1876862496, -0.4814220071, 0.4808131754, -0.0029673961, -0.1180165708, 0.4412510991, 0.436272949, -0.2525155246, 0.7072309256, 0.6637054086, 0.2597516775, 0.3414264619, 0.2928803563, 1.0309391022, -0.3885646462, -0.4737169147, -0.8903169632, 0.9145982862, 0.0864654705, -0.1452448517, 0.7597601414, 0.6230661273, 0.768324554, 0.1371924281, 0.7110698819, 0.0151937027, 0.3914030492, -0.5829443932, 0.5412663221, -0.6882292032, 0.219963789, -0.3046630025, -1.0373651981, -0.4113968909, 0.3186527789, 0.0321768411, -0.3121038377, 0.6854487062, 0.6878900528, -0.0422000363, -0.1034218445, 0.4958509803, 0.0638969392, 0.3842412531, 0.0141544342, 0.9447286725, -0.7322227359, 0.8251335025, -0.1286795288, -0.3176446855, -0.3070658445, -0.956992507, -0.7557050586, -0.6904679537, -0.4937107265, -0.3009953797, -0.0372853167, 1.0793964863, 0.7486432195, -0.8315415382, -0.5561721325, -0.2407934368, -0.3106869161, 0.0895715058, -0.1196266785, -0.1708940715, -0.2476540059, -0.7372923493, 1.0871562958, 0.5060794353, 0.0776778385, -0.2351030409, -0.4259451628, -0.1434727907, 0.0943420082, 0.7891495824, -0.1136068851, -1.2112221718, -0.1140443459, 0.0544925258, 0.0283914153, 0.0781449825, 0.7135055065, -0.5312029719, 0.5875807405, 0.516143918, 0.7399922013, 0.770562768, 0.074170962, 0.6338834167, -0.9158047438, -0.0818731934, 0.2411714345, 0.1785233468, 0.4749405086, -0.2304302305, 0.2263742834, 0.0466312394, -0.6638186574, -1.1046090126, 0.0950077698, -1.0933798552, 0.0559157394, 1.2177960873, -0.0154400123, 0.047276143, -0.3068924546, -0.1870314926, 0.4870187938, -0.3865725696, 0.3139651716, 0.6502876282, -0.2625259161, -0.0304131117, -0.7014521956, 0.4371444881, 0.3027696609, -0.8464050293, -0.1206338555, 0.2897258699, 0.1699474603, 0.1355459094, 0.8476358056, -0.001510368, 0.0514933467, -0.3326609135, -0.0894358456, 0.0556790605, -0.107501626, -0.536021471, -0.2654815614, 0.0894623473, -0.2194239646 ]
http://arxiv.org/abs/2406.16772v2
http://arxiv.org/pdf/2406.16772v2
OlympicArena Medal Ranks: Who Is the Most Intelligent AI So Far?
2024-06-24T16:31:12
2024-06-26T15:00:04
Zhen Huang, Zengzhi Wang, Shijie Xia, Pengfei Liu
cs.CL
cs.CL, cs.AI
In this report, we pose the following question: Who is the most intelligent AI model to date, as measured by the OlympicArena (an Olympic-level, multi-discipline, multi-modal benchmark for superintelligent AI)? We specifically focus on the most recently released models: Claude-3.5-Sonnet, Gemini-1.5-Pro, and GPT-4o. For the first time, we propose using an Olympic medal Table approach to rank AI models based on their comprehensive performance across various disciplines. Empirical results reveal: (1) Claude-3.5-Sonnet shows highly competitive overall performance over GPT-4o, even surpassing GPT-4o on a few subjects (i.e., Physics, Chemistry, and Biology). (2) Gemini-1.5-Pro and GPT-4V are ranked consecutively just behind GPT-4o and Claude-3.5-Sonnet, but with a clear performance gap between them. (3) The performance of AI models from the open-source community significantly lags behind these proprietary models. (4) The performance of these models on this benchmark has been less than satisfactory, indicating that we still have a long way to go before achieving superintelligence. We remain committed to continuously tracking and evaluating the performance of the latest powerful models on this benchmark (available at https://github.com/GAIR-NLP/OlympicArena).
[ -0.5716109276, -0.248867631, 0.899862051, -0.1307576746, -0.1290557534, -0.0371179432, 0.1127173603, -1.0117424726, 0.0072961496, 0.2667766809, -0.2185249925, -0.4455054402, -1.0142554045, 0.0662126988, -0.7137215734, 1.1394190788, 0.2355536669, 0.3278621137, -0.3543568552, -0.4335612357, -0.387151897, -0.4326459765, -0.7481566072, -0.679612577, 0.6882977486, 0.3450768292, 0.4519108236, 0.7364271879, 0.7313476205, 0.3529790342, 0.0200970918, 0.0006536136, -0.2856768072, -0.076084286, -0.221288234, -0.6576545835, -0.7086883783, 0.34556216, 0.1201000884, 0.4637268782, 0.3116396368, 0.4659781158, -0.2569014728, 0.6255115271, -0.1831047684, 0.1916731149, -0.6058582664, -0.1062967256, -0.2571723163, 0.1603403836, -0.1130373627, -0.322643131, 0.1245082915, -0.6842125654, 0.0015664884, 0.3071986735, 0.5038545728, 0.4689691365, -0.2687041163, -0.0069417544, -0.6813166738, 0.7308963537, -0.5668722391, 0.0684949234, 0.2694796026, 0.3680921197, 0.1873943806, -0.9799750447, -0.4878621697, -0.6570261121, 0.6058636904, 0.5225070715, -0.1746808887, -0.3037843406, 0.0115310457, -0.1064022109, -0.7914649844, 0.3260827065, -0.625315547, 0.2870777845, 0.992551744, 0.2103838474, 0.2160508335, 0.4118248224, -0.083304286, 0.0702413768, -0.4735756516, -0.2167553157, 0.4044454992, -0.0547526702, 0.0026410136, 0.6078233123, -0.2118294686, 0.2419528514, -0.2069596648, 0.4231491685, 0.1220953912, -0.0305434298, 0.2174676955, 0.3863121867, 0.9669326544, 0.3849211037, 0.412216872, -0.4678607881, -0.2738208175, 0.1871802956, 0.3439521492, -0.5440158844, -0.5843588114, 0.351238668, -0.4682520926, -0.1861423999, 0.2486895621, -0.3463209569, -0.4578683972, -0.1434776187, 0.7566928267, -0.3437199891, -0.0972136408, -0.2898536921, -0.0301693585, -0.143780008, 0.408572495, -0.6239331961, 0.1404076368, 1.1194941998, 0.8208479285, -0.135035947, -0.5811502337, -0.2365274727, -0.2299753428, -0.6213156581, 0.8995630145, -0.6147388816, -0.0854491964, -0.4313360453, -0.4567854404, -0.0976930633, -0.5700564981, 0.4820837975, -0.7352433801, 0.0595367849, -0.205838263, -0.6678754091, -0.2268718034, 0.3003126085, -0.743307054, 0.7236237526, -0.2099052221, -0.6774225235, 0.3439678848, -0.9838908911, 0.022477217, 0.1690963507, -0.060082484, -0.3201864958, 0.0091434922, 0.0935618281, 0.3682196736, -0.7653543353, 0.2232959569, -0.5089166164, -0.4995625913, 0.4459667504, -0.1838004887, 0.4746668637, 0.2524543405, -0.5826884508, 0.2600454986, -0.791380465, -0.0170180537, -0.0663468912, 0.0550568476, 0.1251631081, 0.049378898, -0.1447789669, 0.3514303863, 0.367588222, -0.7604472041, 0.0179501213, -0.1139274612, 0.7205305099, 0.8577447534, -0.1306353658, 0.1618997157, -0.631809175, 0.3763899803, -0.2409594506, 0.4220626652, 0.3261356056, -0.9718812704, -0.546649456, -0.304309845, 0.5222241879, 0.7182235718, -0.3730866611, 0.3940939307, -0.3825798929, -0.9799317718, -0.5998620391, -0.2135468423, 0.3112714589, 0.5387966633, 0.2463818938, -0.1218060032, -0.0106039178, -0.990327239, -0.5023776293, -0.379914254, 0.1843993813, 0.078022249, 1.0783289671, 0.0233170316, 0.593018651, 0.0046924925, -0.0414237864, -0.3082480729, 0.5533342957, 0.3471984863, 0.7128078938, 0.4589525461, -0.8229637146, -0.3874459863, 0.2579371929, -1.1292665005, 0.0537930951, 0.2427191585, -0.0792766213, -0.2063267827, 0.2489931732, -0.4479114413, 0.4123743773, 0.3241591454, -0.2365496755, 0.6288817525, -0.2139025182, 0.4389621019, -0.8104593158, 0.5382444859, -0.0599434189, -0.1513410956, -0.7038671374, -0.0261076074, -0.1729173362, -0.0557362549, -0.2396889329, 0.6098378301, -0.0292785093, -0.0734097809, -0.1915544271, 0.1863335371, -0.4171263874, 0.1831684858, -0.3048285246, 0.5748078227, 0.8062037826, -0.5113340616, 0.6888070107, 0.1037906334, -0.5038641095, 0.4345390499, -0.8013452888, 0.1887055188, -0.2594434619, 0.0751217529, -0.6780796647, -0.109332785, 0.1696072519, -0.6771181226, -0.0781007856, 0.0803194568, -0.4254594743, -0.482534945, -0.2402291, 0.6560609341, 0.3288187385, -0.4121763408, 0.3019172549, 0.4671327472, -0.3604363501, -0.5245264769, -0.8665909767, 0.1018302292, -0.2373096794, -0.5321172476, 0.0572687089, -0.3321872354, -0.2862893343, 0.1575282663, -0.0010778685, -0.0263273548, 0.2613119483, 0.1824224591, 0.2175061554, -0.1889639646, -0.1122535244, -0.4101592302, -0.4801826477, 0.0247086491, -0.3425777853, 0.2824885249, -0.4979495406, -0.4490967691, -0.8617241979, 0.2780647576, 0.9871051311, -0.5811854601, 0.9512760043, 0.3404979706, -0.2944660783, 0.2344562858, -0.3955056071, -0.0417292491, -0.3295188248, 0.4632141888, -0.140327096, -0.6148195267, 0.8720902205, 0.0798453614, 0.1131260991, 0.5737426281, 0.2594576478, 0.0448508337, 1.6514440775, 0.5619383454, -0.4302451611, 0.4583314657, -0.6364879608, 0.2247428745, -0.9216928482, -0.4427475333, -0.6860851645, -0.7270308137, -0.7038454413, 0.1616985053, 0.8542200327, -0.2000284046, -0.688722074, 0.0039475947, -0.6228485703, 0.2823438644, 0.9638195634, 0.1062807888, 0.184376806, -0.4988602102, 0.0357804373, 0.222026512, -0.9652368426, -0.5500326157, 1.3949056864, 0.13277556, 0.5114462376, -0.0448674411, 0.8856745958, 0.3705508411, 0.6015740633, -0.2765265703, 0.568639636, -0.1655943096, -0.9065086246, -0.1814745814, -0.6034337878, -1.0156970024, 0.0703876838, -0.2411124855, -1.0190330744, 0.006554212, 0.1563110054, -0.4970115125, 0.4674253464, -0.2405688763, 0.9032636881, -0.4519222081, -0.4316040277, -0.3243014514, -0.7645418644, 0.4617925584, -0.1053601652, 0.2924840748, -0.2294646502, -0.0171608515, 0.9615780711, -0.4446391463, 0.1954889148, 0.036774911, 0.5035099387, 0.2216169536, -0.2178432494, 0.3160219193, 0.1909009069, -0.4863882363, 0.1613308042, -0.0895468369, -0.5726300478, -0.2399496436, 0.9331975579, -1.2426797152, -0.357170254, -0.636351347, -0.2232702821, -0.13844423, 0.38980335, 0.7081059813, 0.8145090342, -0.0116153751, 0.124242045, 0.586582303, 0.1095612049, 0.3235777915, 0.1083193794, 0.1163620055, -0.5105178356, 1.1066814661, 0.4863254726, -0.3010935783, 0.4029781222, 0.1301703453, -0.3146312237, -0.896371007, -0.5526601076, 0.2877847254, -0.5045560598, -0.0359827206, -0.4908572733, -0.1917875111, -0.3501207829, 0.0234883912, -0.7557019591, -0.5804317594, -0.0263964273, 0.098725453, 0.0372801311, 1.2780007124, 0.0761822909, 0.0626976117, -0.6244935989, 0.1449081302, 0.4461051524, 0.3386289775, -0.1005883142, -0.3815226853, -0.354809016, -0.2231419235, -0.1153535545, -0.6181699634, -0.0762722492, -0.060763821, 0.8262913227, 0.3454214334, 0.0261550453, 0.2849062681, -0.3354719579, 1.1758890152, 0.2101934105, -0.5876170993, 0.3054818511, -0.282900095, 0.3552749455, 0.597882688, 0.1904516667, -0.317301482, -0.6495203376, -0.8390915394, -0.8418672681, 0.9222350717, 0.0187730473, -0.156873256, 0.0416135751, 0.3783323169, 0.2548081577, 0.4342311621, -0.6696118712, -0.2493415326, -0.2257982045, -0.41954723, -0.0084122224, 0.2064212263, -0.1484069228, -0.0007648479, 1.0802556276, 0.0113417385, 0.378262043, 0.1686885357, 0.0178063419, 0.0179619659, -0.1890908331, 0.5143722892, 1.0816680193, 0.1380808651, 0.0523276851, 0.0613151565, -0.2607253492, -0.1598055959, 0.3845212162, -0.3092316389, -0.4721103013, 0.8683956265, 0.6576408148, -0.1921819597, -0.6184488535, 0.3348694742, -0.2247924805, -0.2304809242, -0.3100569546, 0.3678021729, -0.1732134521, 0.7743632793, 0.3455998003, 0.4285044968, 0.2430119365, -0.6875977516, -0.0340568088, 0.3336644173, -0.4002938867, -0.4983823895, 1.414003849, 0.2541129589, -0.2417444289, 0.5370149016, -0.1067198664, -0.7192457914, 0.7349487543, 0.1194507256, 0.8794824481, -0.0083068637, 0.1804329902, 0.2013564259, 0.3083274961, -0.4229040146, 0.3108325303, 0.1088204309, -0.3524490595, 0.0550858155, -0.2470522821, -0.420275569, 0.1555207819, -0.2989955544, -0.2171689421, -0.4000661671, -0.3514416516, 0.0327210501, 0.3603297174, -0.6632329822, 0.2703828812, 0.3630293608, 0.9678480029, -0.7407983541, 0.4466424286, 1.0845149755, -0.3366725743, -0.5409522057, -0.2596451044, -0.1536089629, -0.4738085568, 0.3817851245, 0.179131642, -0.1703281999, 0.1952591836, -0.7461004257, -0.8544880152, 1.2260839939, 0.3953665197, -0.1838828921, 0.4885761738, 0.0521211587, 0.5486280322, -0.369508177, 0.6488881707, 0.470300138, 0.7328281403, -0.2579555809, -0.7906327248, -0.4197434485, -0.6106496453, -0.1505006403, -0.0346863195, -1.1711105108, 0.8018329144, 0.0037189273, 0.3144317269, 0.7466512918, 0.9118096232, 0.2598676682, 0.8505818248, 0.228992939, 0.8105965257, 0.8505765796, -0.1227561757, 1.0483629704, -0.5671150684, -0.0093918471, 0.715362072, -0.2997327447, 0.6225582957, -0.0706661567, 0.1065342277, 0.1946208775, 0.6037954092, 0.018088365, 0.461845994, -0.0990475044, -0.0267468113, -0.3253747821, 0.0911049023, -0.3343665302, 0.4350388646, -0.1554462761, -0.2307244092, 0.0512681529, 0.1006276682, 0.1865691096, 0.040934965, -0.5215266943, 0.5487728119, -0.1142267585, -1.1175328493, 0.2850261033, -0.0029213699, 0.2128440738, -0.5879510045, 0.0979748145, -0.323361814, 0.3522399962, 0.0968182012, -0.6205095053, -0.3702467382, 0.3393250108, -0.0303957853, 0.0864892602, 0.2546651661, -0.1115690246, -0.5333504677, 0.1909056902, 0.4505027831, 0.4156101644, -0.057913281, -0.9957233667, 0.0128610125, -0.469558239, -0.3497174382, 0.2220681608, 0.5071134567, -0.2388654053, 0.9532274008, 0.4353701174, 0.1601482183, 0.2929879725, 0.1030196697, 0.7221671939, -0.4670542777, -0.6771059632, -0.6569911242, 0.3556843698, -0.1837853491, -0.9059504271, 0.4260694385, 0.76733464, 0.4903487861, 0.3122402132, 0.9034166336, -0.0248954501, 0.2139222026, -0.2918902338, 1.0219703913, -0.7542417645, 0.1730664968, -0.2054870576, -1.0137661695, -0.3516927958, 0.3982416093, -0.5363529921, 0.3287034035, 0.5271883011, 0.5452976227, 0.0388245322, 0.2481039613, 0.3631954491, 0.438811332, 0.5148346424, 0.514885962, 0.9993713498, -0.2598776221, 0.5148064494, -0.1794433743, -0.65006423, -0.5002088547, -0.5658419728, -0.6812998652, -0.4629651904, -0.3250396848, 0.276871264, 0.349491924, 0.7730295062, 0.9744559526, -0.8279611468, -0.0112361712, -0.1760368198, 0.00878595, -0.4721689522, -0.0916140676, 0.2582370043, -0.0870516971, -0.96319592, 0.3840624988, 0.3595652878, -0.4939058125, 0.0391963869, -0.0960953906, -0.2047945112, 0.2183754891, 0.2513379753, 0.3524806201, -0.3880291283, -0.5704929233, -0.2238166183, -0.1137711182, -0.1902626306, 0.354798615, -0.6796919703, 0.3604879379, 0.5315944552, 0.4348162115, 0.5240079761, 0.0355168879, 0.2983692288, 0.1822509766, -0.2197578251, 0.5302739143, 0.3787135482, 0.142336756, -0.1358339489, 0.7829015851, 0.2881095409, -1.2445422411, -0.655174017, 0.0718681291, -0.7683904171, -0.291493088, 0.4088883102, 0.001629911, -0.4567902684, 0.0581421591, 0.0485651605, 0.4012630284, -0.2959440649, 1.1536015272, 0.6063213944, -0.93944031, 0.0306917038, -1.0203919411, 0.0286429934, 0.547326684, -0.7337811589, -0.3029095531, 0.095692955, 0.1059007198, 0.2859362662, 0.3706235886, -0.1709542871, 0.5707039237, 0.166667223, -0.0817923248, -0.3502809107, -0.8053222895, 0.0737543255, 0.173337847, 0.1366861016, -0.2525525689 ]
http://arxiv.org/abs/2406.16767v1
http://arxiv.org/pdf/2406.16767v1
The GPT-WritingPrompts Dataset: A Comparative Analysis of Character Portrayal in Short Stories
2024-06-24T16:24:18
2024-06-24T16:24:18
Xi Yu Huang, Krishnapriya Vishnubhotla, Frank Rudzicz
cs.CL
cs.CL
The improved generative capabilities of large language models have made them a powerful tool for creative writing and storytelling. It is therefore important to quantitatively understand the nature of generated stories, and how they differ from human storytelling. We augment the Reddit WritingPrompts dataset with short stories generated by GPT-3.5, given the same prompts. We quantify and compare the emotional and descriptive features of storytelling from both generative processes, human and machine, along a set of six dimensions. We find that generated stories differ significantly from human stories along all six dimensions, and that human and machine generations display similar biases when grouped according to the narrative point-of-view and gender of the main protagonist. We release our dataset and code at https://github.com/KristinHuangg/gpt-writing-prompts.
[ -0.5336284637, -0.5992535949, 0.8577410579, 0.1964495033, -0.1584115177, 0.1211508438, -0.2055767775, -0.5170540214, 0.3791831434, 0.2603718638, -0.8914166093, -0.479200542, -0.4113574326, 0.5689894557, -0.1935109645, 1.1970516443, -0.1023470834, -0.2607863545, -0.4081636369, 0.0386940464, -0.4761526287, -0.4782238305, -0.5332792401, -0.071612671, 0.8968546987, 0.2041592598, 0.6899012327, 0.3765546978, 0.5602958202, 0.2169467956, 0.2872183323, -0.1431851536, -0.3903711736, 0.2586442828, 0.0451496914, -0.1155014634, -0.0599560663, 0.3351297379, 0.598000288, 0.4561319649, 0.1672608256, 0.1890916228, 0.2074394375, 0.6669474244, -0.2202054858, 0.0270773508, 0.0780732781, 0.14016518, -0.2702099085, -0.0976984352, -0.0417210646, -0.7371718287, 0.1894474179, -0.5274692178, 1.1807491779, 0.0884045139, 0.7138442397, -0.0892209113, -0.2143591493, -0.4882116318, -0.6546065211, 0.5316254497, -0.2560705543, -0.1422753781, 0.0579569153, 0.4493571222, 0.2935713828, -0.6394152045, -0.7307549119, -0.4420652092, -0.4461320341, -0.0839553028, -0.3669366539, -0.2272868305, 0.5384878516, 0.6064929366, -1.2314130068, 0.0880157053, -0.4683699608, -0.278241843, 0.7879288793, 0.5170006752, 0.5536504984, -0.4219377935, -0.0982945338, -0.2935521305, -0.7523444295, -0.0927481055, 0.876462996, 0.1330242902, -0.330155611, 0.5992267132, -0.0569780134, 0.3677632213, -0.0590256937, -0.1414166689, 0.3912535608, -0.2142787576, 0.0899805427, 0.0966092944, 1.1436936855, 0.8284853101, 0.3542904854, 0.0418385118, -0.0948179588, 0.2566210926, 0.2348544598, -0.7203813791, -0.3703834116, -0.0387710221, -0.6391243935, -0.3100009561, 0.1572310627, -0.7111209631, -0.9911031127, -0.2788125575, 0.1751377732, -0.3455931246, -0.1421403885, -0.1013120115, -0.5998325944, 0.0055123321, 0.0927454084, -1.0079568624, 0.0289707799, 0.6248043776, 0.8935036063, -0.172435984, -0.4307711124, -0.0526074022, -0.3246901333, -0.1407705098, 0.8932065964, -0.3193047643, -0.3961749077, -0.2868683636, -0.223721832, 0.0434790216, -0.6937016845, 0.6343076229, 0.0564506873, 0.5585919023, -0.6919627786, -0.2889938056, 0.0020001342, 0.0209433306, -0.855458498, 0.7913373113, 0.3960782588, -0.8924124837, 0.6746462584, -0.7019800544, -0.2984983921, 0.0448256657, -0.2654233873, -0.3885922432, 0.2643297613, 0.4256598055, 0.569472909, -0.4771114588, 0.0937528163, -0.1745915115, -0.4428064227, 0.3029714823, -0.3143889606, 0.5235427022, 0.2147004455, -0.1538432091, 0.0351856425, -0.6522781253, -0.1919647455, 0.4461739659, 0.0399639569, -0.000640596, -0.1874342114, -0.0951211825, 0.0450258963, -0.060685996, -0.6205160022, 0.3520148098, -0.0428861305, 0.6117607355, 0.2868773043, 0.4124073386, 0.1048703417, -0.568349421, 0.8327085376, -0.0703377351, 0.0182216708, -0.1081784591, -0.597099781, -0.2244736552, -0.3320150673, -0.018983772, 0.3529472947, -0.6320774555, 0.2934435606, -0.1444771588, -0.5079693794, -0.5369746685, -0.2896434665, 0.4008064568, 0.5452793241, 0.2339865118, -0.1203631312, -0.5183279514, -1.0182620287, -0.5452703834, -0.3118291795, -0.6454955339, -0.0606387816, 0.3784296513, 0.0145908687, 0.8841099739, -0.7119708061, -0.0176407732, -0.6288068295, 0.5887916684, 0.2189984024, 0.3289460242, 0.868970871, -0.440888375, -0.7596322298, -0.2532726228, -0.8440881371, -0.4096494615, -0.3050047755, 0.0877062753, 0.0374665521, -0.0106871082, -1.0283610821, 0.4217399955, 0.2735235691, -0.6666334867, 1.0500862598, -0.0342420228, 0.4628151655, -0.8717962503, -0.0645342469, 0.2964548767, -0.0157448202, -0.3673249781, -0.3415057957, -0.1794278473, -0.346126914, -0.2006336451, 0.3611604273, -0.5251342654, -0.4568741322, 0.0513941236, 0.2388675064, 0.4095169902, 0.3129278719, -0.027610464, 0.959117949, 0.3403365612, -0.1603606343, 0.7154177427, 0.2062723786, -0.5485264659, 0.7537860274, -0.7514163852, 0.2124708593, -0.2690216899, 0.2174607217, -0.6951010823, -0.3796586394, 0.3537565768, -0.6611612439, 0.0008424221, 0.1102490798, -0.7827852964, -0.5458254218, -0.4496768117, 0.1238799915, 0.8015535474, -0.2754422128, 0.3070606291, -0.1423877478, -0.6757394671, 0.0118323071, -0.5071149468, 0.1509787142, -0.7994663715, -0.5798922777, 0.3211715519, -0.1039909497, -0.4930103123, -0.0168091152, 0.3579210341, 0.1664918661, -0.4187328517, 0.2455529571, -0.0411804244, -0.2850601077, 0.0638657734, -0.0417641401, -0.2877072692, 0.3029786348, 0.0968022346, 0.3817338049, -0.0747256875, -0.2290614098, -0.5787501335, 0.6372109652, 0.424028784, 0.0166354794, 0.5817012787, 0.7885431051, 0.0657295734, 0.0023980357, -0.2849510014, -0.1143514737, -0.3629263043, 0.183518067, -0.3638957441, -0.7938746214, 0.67373842, 0.634704113, -0.1255538017, 0.8137552142, 0.5416777134, -0.2501042485, 1.0943832397, 0.5835718513, 0.1014500931, 0.254126966, -0.0518361479, 0.2300052196, -0.6080379486, -0.0395983942, -0.4559770226, -0.5335304737, -0.4725587666, 0.0256153848, 0.3831323683, -0.0190632716, -0.4692896307, 0.1346560419, -0.5435174704, 0.885471642, 0.6338763237, -0.0779389963, 0.2379985005, -0.0327789411, 0.1515368074, -0.4675453603, -0.4992661476, -0.7542203069, 0.7913069129, 0.3412512839, 0.4064229429, 0.0436803438, 0.6375225782, 0.5876101851, 0.1678779572, -0.3650045693, 0.365096122, -0.3097446263, -0.3449913561, -0.0766653493, -0.6388402581, -0.7248313427, 0.0945339203, -0.0988338888, -0.8349334598, 0.0990073234, 0.008853239, -0.7220156789, 0.1978607923, -1.1355046034, 0.9538033009, -0.1449456513, -0.0035146254, 0.1064537838, -0.6675786972, 0.2368748337, 0.1437149197, -0.3232848346, -0.2874201536, 0.4027504325, 0.7753667235, -0.5589537024, 0.9294928312, -0.2883065343, -0.0224483944, 0.7444096208, 0.1740091592, 0.2326999456, 0.2150004953, 0.0358810052, -0.0843038484, -0.0790590793, -0.2897652984, -0.673949182, 0.6003706455, -0.8714516759, -0.3744654059, -0.4294216633, -0.6355509758, -0.0965673625, -0.1869881451, 0.7363190651, 0.5268987417, -0.4622572958, -0.1100252047, 0.1961780339, -0.4075162113, 0.5757656693, 0.0513147786, -0.1110832766, -0.2830230892, 0.899836123, -0.0339548886, 0.2067569792, 0.2113230675, 0.3497263789, -0.5053317547, -0.2386294752, -0.3385653794, 0.395776093, -0.6394010782, -0.1120808944, -0.4933454394, -0.1366614848, -0.1959969252, -0.3746420741, 0.0513137467, -0.3090316951, -0.4486835301, -0.4720733464, 0.5761882663, 0.9789299965, -0.1102476344, 0.2282734066, -0.8006173968, 0.4770334065, 0.3746572435, 0.0932152718, -0.186206162, -0.2461155504, 0.0256008152, -0.0712175742, -0.4257445335, -0.7391136885, 0.4947384894, 0.1336594522, 0.2031188607, 0.3175881207, 0.0169835519, 0.4406486452, -0.2079422921, 1.2478638887, 0.3174413741, -0.8079641461, 0.4994325042, -0.6777118444, 0.3676544726, 0.4255039096, 0.45761621, -0.7076354623, -0.2245207876, -0.7526180744, -0.4893617034, 0.3872079551, 0.4414176643, 0.0085015837, -0.0614094846, 0.429112047, 0.6417879462, 0.1233288944, -0.6265100837, 0.1568942964, -0.3300053477, -0.4260214865, -0.3328204453, -0.343059063, -0.0042281304, -0.2415226698, 0.1221278384, -0.046369087, 0.610573411, 0.0962286741, -0.0092561822, -0.055378858, 0.0665642992, 0.6001892686, 0.7418724895, -0.0964407772, 0.188422665, -0.01427182, -0.610852778, -0.0142329661, -0.0454837866, 0.005386468, 0.1431821436, 0.9764832258, 1.1089730263, -0.2617257535, -0.5559462905, 0.3788437247, -0.2863363624, -0.5041496754, -0.0501077697, 0.1962729245, -0.0626982078, 0.4998235404, 0.2215669304, -0.1894216835, 0.0756236017, -0.6002675295, -0.1539914757, -0.2124585062, -0.1529790759, -0.6868053079, 0.4413114488, 0.2634458244, -0.201356858, 1.0075725317, -0.4528535604, -0.2711482644, 0.7869663239, 0.4193666577, 1.1374961138, 0.1907871962, 0.6430150867, 0.4340743721, 0.072786063, 0.1364652365, 0.2979061604, 0.2305101901, -0.4817466438, -0.2223429531, -0.6233837008, -0.1439059526, 0.2544974685, -0.6237034798, 0.2005810142, -0.15001297, -0.0758404955, 0.1240005717, 0.0704367831, -0.5820376277, 0.1390265822, -0.0180368926, 0.3001993597, -1.0455161333, 0.2376035005, 0.4833592176, -0.506868422, -0.5762545466, 0.2851313949, 0.1190323532, -0.298323065, 0.5018213391, 0.3357846439, 0.1661206037, -0.0751013234, -0.3501684964, -0.3560699821, 1.1056821346, 0.4893502891, -0.4647586346, -0.1024405137, 0.4890699983, 0.9200685024, -0.5444319844, 0.0263992101, 0.6445813179, 0.3978971243, -0.1720125973, -0.7231280208, -0.0289995354, -0.2561523318, 0.0528147556, 0.1194077656, -0.3077996373, 1.0166962147, -0.4404357076, -0.5265448093, 0.1239129454, 0.5224586129, 0.521237731, 0.3383448124, 0.2714444399, 0.4161707163, 0.5755341053, -0.2483202666, 1.3492299318, 0.065420039, 0.2492512017, 0.8727975488, -0.3257431984, 0.1599954516, 0.1495450288, -0.366427213, 0.4824285209, 0.9038789868, -0.0802783519, 0.4284880757, 0.2718072236, -0.342746377, 0.0192236807, 0.1817009002, -0.500482738, 0.0787838474, -0.0186987929, -0.5081673265, -0.2524336576, 0.2497575134, -0.00763248, 0.1054154783, -0.1477705836, 0.8510611653, 0.1236814409, -0.4109697342, 0.3074841201, -0.2443240434, 0.3243024349, -0.3692122102, -0.0105114793, -0.3503817022, -0.1132092699, 0.0041528107, -1.2036137581, 0.5010457039, 0.4358265996, -0.5499335527, -0.4389875829, 0.6525076628, -0.2095379829, -0.4093902111, -0.2846131325, 0.6027115583, 0.225234583, -0.4345681667, -0.4701514244, 0.0127871865, -0.1677429974, -0.1995017231, 0.2158253789, 0.8008253574, -0.2629795372, 0.3115345538, 0.3006258905, -0.0820165053, -0.1616813242, 0.4465980828, 0.6001204848, -0.895681262, -0.8371237516, -0.8621255755, 0.653540194, -0.1027562246, -0.6598470211, 0.6877233386, 0.493253231, 0.4000031352, -0.5223503709, 0.9364225864, -0.324116081, 0.8669233322, -0.5950806737, 0.806846559, -0.0764102638, 0.1520707756, -0.1247748956, -1.1851409674, -0.1260303557, 0.3294011056, -0.4160242379, 0.3302721083, 0.956628561, 0.5757963657, 0.0974666551, 0.108493425, 0.0336719081, -0.0385198742, 0.2227211595, 0.4165036678, 1.235023737, 0.0709222555, 0.1110414267, -0.1727761179, 0.0055045676, -0.0112915384, -0.8698301315, -0.9405294657, -0.7789908648, -0.351585567, -0.0259196647, 0.0775620267, 0.4291332066, 0.2745063007, -0.4763038754, 0.0954471305, -0.079883337, -0.1026696414, -0.2177675962, -0.2928646505, 0.2782607675, 0.0106809633, -0.4483709633, 0.114384234, 0.0135704214, 0.239420563, -0.3711063266, -0.0521433949, 0.4826776981, -0.0931361988, 0.5584283471, 0.1909248382, -0.446505338, -0.5568885803, -0.2295814008, -0.0750135854, 0.1814061403, 1.2195919752, -0.6602066159, 0.0349969827, 0.7069000602, -0.0039522746, 0.3099346459, 0.2128520906, 0.6400141716, -1.1306787729, -0.1013903692, 0.2502967715, 0.2152082026, 0.5352889299, -0.6777265668, 0.4042629004, 0.4403582215, -0.5768933296, -0.4879004657, 0.4199317694, -0.8117830753, -0.1585613787, 0.9420832396, -0.0571383983, 0.0446332023, 0.1082718596, -0.4784130454, 0.0343115069, -0.2579246163, 0.8589739799, 0.7946295142, -0.5639142394, -0.4005950391, -0.6629123688, 0.6670208573, -0.1089261919, -0.8909714222, 0.202654317, 0.7235916257, 0.1930802315, 0.0252652615, 0.5918875337, -0.0396982022, 0.133886978, 0.3521997035, 0.2066061199, -0.093866989, -0.400706917, -0.074989222, 0.3807778955, -0.2441068441, 0.0937769935 ]
http://arxiv.org/abs/2406.16758v1
http://arxiv.org/pdf/2406.16758v1
Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
2024-06-24T16:06:50
2024-06-24T16:06:50
Euiin Yi, Taehyeon Kim, Hongseok Jeung, Du-Seong Chang, Se-Young Yun
cs.CL
cs.CL
Large language models (LLMs) have revolutionized natural language processing and broadened their applicability across diverse commercial applications. However, the deployment of these models is constrained by high inference time in multilingual settings. To mitigate this challenge, this paper explores a training recipe of an assistant model in speculative decoding, which are leveraged to draft and-then its future tokens are verified by the target LLM. We show that language-specific draft models, optimized through a targeted pretrain-and-finetune strategy, substantially brings a speedup of inference time compared to the previous methods. We validate these models across various languages in inference time, out-of-domain speedup, and GPT-4o evaluation.
[ -0.1945654452, -0.7260662913, 0.6463073492, 0.4003056884, -0.1648001075, 0.2264549285, -0.2701801062, -0.6289482117, 0.2312846333, 0.7325904369, -0.7222998738, -0.2000476271, -0.5699359179, 0.3669771254, -0.2908104956, 0.7469434738, -0.1823789924, 0.0029362412, 0.1592286527, 0.1481169909, 0.0535428748, -0.7900106907, -0.9014365673, -0.1921392977, 0.3973103464, 0.1785773337, 0.5547618866, 0.694150269, 0.0283616055, 0.2985039055, -0.03125678, 0.3308403492, -0.4734892845, 0.0796974301, 0.0695450902, -0.7318922281, -0.4792263508, 0.0015578585, 0.5942937732, 0.6093705893, -0.0628990903, 0.0618680008, -0.2495794147, 0.3408508003, -0.8315518498, 0.0520191081, -0.9734825492, 0.0151770618, -0.3850610554, -0.2469877154, -0.8131811619, -0.2382440716, 0.01673913, -0.9216127396, 0.5474278927, 0.0865197405, 0.6841028929, 0.0553907789, -0.4653557241, -0.1674496233, -0.6486501694, 0.6395670176, -0.8339169621, 0.7057504654, 0.4279690087, 0.3428171873, -0.132753849, -0.8462536931, -0.6648592949, -0.2358160466, 0.0780528933, 0.011704836, 0.2590798438, 0.1204860508, 0.1475780904, 0.184664309, -0.5490287542, 0.2463873029, -0.0027755818, -0.5005200505, 0.6044065952, 0.0945448428, 0.0001269324, 0.1663746238, -0.199154228, 0.0970167816, -0.6075261235, -0.2524791658, 0.7436133027, 0.1866876632, -0.2060557455, 0.4328370988, -0.3169992268, 0.6441770196, 0.1445297897, -0.2515664101, 0.1808642, -0.5235877633, -0.1748198569, -0.0949377939, 0.6838931441, 0.0324662104, 0.3396756053, -0.414545536, -0.20626764, 0.2267260849, -0.1463183314, -0.7597541809, -0.2056261152, 0.2108423114, -0.2573268712, -0.0405211411, -0.2797121406, -0.5613577366, -0.1342647672, -0.1081862748, -0.0529189445, -0.4623545706, -0.3979871869, 0.4836888015, -0.2326304615, 0.1789113134, 0.3271397054, -1.3487013578, 0.0823777243, 0.5471441746, 0.6031332016, -0.2458265424, -0.6603291631, -0.7018754482, 0.4019613564, -0.7041621804, 1.124723196, -0.632817626, -0.3697085381, -0.0194472689, -0.0927596912, -0.2735551, -0.1427888721, 0.7194991708, -0.8212170005, -0.0894936472, -0.1699717492, -0.63495785, 0.196565643, 0.5975228548, -0.7363059521, 0.7887628078, -0.0248295683, -0.769903481, 0.6616942883, -0.3210815489, -0.5371708274, -0.0443377495, -0.0576392896, 0.0089908829, 0.0300764032, 0.6771657467, 0.6962916851, -0.3926411867, 0.1538429111, -0.4184922576, -0.551273942, 0.0386033989, -0.768806994, 0.46642676, 0.4192915261, 0.1104279533, 0.1453369558, -0.7647083402, 0.0677433014, 0.1686335951, -0.6520690918, -0.1667959541, -0.2986166477, 0.11035835, 0.0299035441, 0.030849779, -0.3136499524, 0.2531799376, -0.5533065796, 0.4642722011, 0.6082100868, -0.0357223675, 0.4967671633, 0.0015937249, 0.7723085284, -0.0232708678, 0.0754646063, -0.4536425471, -0.0652907267, -0.8174042106, -0.3816491067, 0.5211361647, 0.4513094723, -1.2991913557, 0.0189632569, -0.2102463692, -0.3111116588, -0.6441076398, 0.1034466475, 0.4824109077, 0.1065910012, 0.191622749, 0.2439866662, -0.4407854676, -0.75495857, -0.591802001, 0.0114386361, 0.2147156894, -0.0694461316, 0.2425607592, -0.3221657872, 0.3156110644, -0.3197695911, 0.2212973535, -0.8485478163, 0.3111964464, 0.2116774619, 0.362131834, 0.6440889835, -0.5875543356, -0.518686235, -0.0285994262, -0.6125993729, 0.0636135861, -0.3561910689, -0.2674898207, 0.3054942787, 0.8623284698, -0.7315489054, 0.0220709145, 0.6380488276, -0.3129769564, 0.7273647189, -0.4737159312, 0.2035516053, -1.0375192165, -0.0973808393, -0.0221032985, -0.1629225165, -0.6558442116, 0.3508628607, 0.2152148187, -0.02306577, -0.5338546634, 0.8992603421, -0.8527648449, 0.2037726045, -0.1299600154, -0.0993897617, 0.110085234, 0.3922412694, 0.3873499632, 0.8255493045, 0.5434826612, -0.5085140467, -0.029341856, -0.1331570596, -0.2819818556, 0.1478905082, -0.4753225148, 0.3955516517, -0.0355490372, 0.4957746863, -0.7384238243, -0.3900868297, 0.0121680051, -0.000942714, 0.4102602601, -0.2594817877, -0.7714907527, -0.4375248849, -0.2170579582, 0.6489142776, 0.0206978712, -0.5174742341, 0.863645494, 0.2205411345, 0.0452438593, -0.8052079082, -0.7403644919, -0.0206401758, -0.1227663532, -0.5714136958, 0.2770895064, -0.0518040396, -0.2245807201, -0.3171963692, 0.1305070072, -0.2100599408, 0.1550269276, -0.2534880638, 0.1455587596, -0.2045866996, -0.162236616, 0.4254942536, -0.3265329301, -0.1005160958, -0.3620753288, 0.4975762963, 0.1507784575, -0.4669683278, -0.275701642, 0.4865684509, 0.4770027995, -0.3988315761, 0.6006443501, 0.6864667535, -0.069577083, -0.4493422508, -0.9926205277, -0.2340022177, -0.4419911504, 0.3851994276, -0.8076145053, -0.783077836, 0.5821543932, -0.2243966907, 0.1156731769, 0.3793932498, 0.5021591783, 0.5513780117, 0.8422500491, 0.7604886293, 0.0334770195, 0.2628712654, -0.3674628139, 0.0923007056, -0.59824121, -0.0964951292, -0.5224436522, 0.1720903367, -0.3468129933, -0.7549306154, 0.1619119644, 0.0163825862, 0.1470372677, -0.021243738, 0.0747109875, 0.8550752401, 0.5411859751, -0.0454351529, 0.3785162568, -0.169931069, -0.539185226, 0.1196754575, -0.9833149314, -0.4445088506, 1.1750968695, 0.3027434349, 0.7804080248, -0.0605614036, 0.5856081843, -0.1290448904, 0.2269863933, -0.6234824657, 0.4819868207, -0.2718617618, -0.8355505466, -0.2313605398, -0.295035243, -0.5798715949, 0.3693738878, -0.259695977, -0.4913323522, 0.0586044416, 0.4394522905, -0.4394927919, 0.2912713289, -0.9996009469, 0.8483299613, -0.2153540105, -0.5041905642, -0.3405359089, -0.4830600917, 0.5678632259, -0.3455609977, 0.1671790481, -0.2141929269, 0.0951530337, 0.3825256526, -0.248693645, 0.7044641376, -0.0147933429, -0.1024192423, 0.1979272813, 0.2892326415, 0.7380612493, 0.2508251369, -0.6704244614, 0.2482425123, -0.0450248532, -0.4627522826, -0.4105154574, 0.614854753, -0.7028138638, -0.5777536631, -0.2567870021, -0.774502039, -0.581405282, 0.2151143104, 0.5415071845, 0.3439157307, -0.3756886721, -0.3602996767, 0.5106746554, -0.1183237955, 0.4151266813, 0.6579346061, -0.0387937799, -0.074542582, 0.6097681522, -0.0199990347, 0.38367787, 0.5824218392, 0.0887397081, -0.4597456753, -1.0251188278, -0.6569815278, 0.3460430801, -0.8081331253, 0.1082482636, -0.8089850545, -0.0029703313, -0.4844619334, -0.2372644991, -0.4818768203, -0.3230389059, -0.1359529197, -0.221890226, 0.2014933079, 0.5258544683, 0.1882754713, 0.3932119906, -0.7581738234, 0.4501782656, 0.017314598, 0.2070141733, 0.1007389501, -0.5234500766, -0.3880183995, -0.0856629387, 0.0367747173, -0.5161998868, 0.2787377536, 0.1494493335, 0.8479582071, 0.4394013584, -0.0727671832, 0.7425954342, -0.7615563869, 0.7586868405, -0.0102008507, -0.9088821411, 0.2427748144, -0.3608241379, 0.4482622743, 0.490054965, 0.4702333808, -0.358399123, -0.5726642609, -0.3145447671, -0.8629233837, 0.6231383681, -0.1106030643, 0.2535467446, -0.278699249, 0.412835598, 0.4948677123, -0.0140031772, -0.4775083661, -0.0235665701, -0.0407400504, 0.12267638, -0.3161361516, -0.632106781, 0.1875109822, -0.1124807149, 0.6570723057, -0.4706498086, 0.0842204615, 0.01327175, -0.1602077037, 0.1296483427, 0.3090859652, 0.5026664138, 0.6461353898, -0.0323150828, 0.1119384095, 0.4090605378, -0.3046221733, 0.1843982488, 0.3586120903, 0.1611809582, 0.0409775376, 0.8146224022, 0.8942308426, 0.318135649, -0.4896759689, 0.1221116111, -0.4413878322, -0.3892392516, -0.0589717478, 0.0411242209, 0.2489114404, 0.2432770431, 0.2199451029, 0.1046809852, 0.0912228376, -0.420507133, -0.0542789958, 0.3266039789, 0.2596278489, -0.4794391394, 0.8204391599, 0.2926540077, 0.0813179091, 0.4873595536, -0.377612263, -0.3342161477, 0.3678762019, 0.6546410918, 0.8717220426, -0.2020093352, 0.0383567102, 0.1526356041, 0.1987144947, -0.4051403105, 0.390976876, 0.0565577112, -0.9448859692, -0.7367902398, -0.7041202188, -0.2777170539, 0.1124953255, -0.326331079, 0.1355891079, -0.2969793677, -0.1210294217, 0.0106027359, -0.1630863398, -0.8782701492, -0.0126491813, 0.0890759006, 1.2330709696, -0.7886485457, 1.1860166788, 0.5229799151, 0.0948408023, -1.0315397978, 0.3048149943, -0.0350914672, -0.7722732425, 0.7174267173, 0.0794890448, -0.3462808132, 0.0664175153, 0.0438462198, -0.7151139975, 0.7090594769, 0.9258539677, -0.8416740894, -0.3205632865, -0.0112110348, 0.4978654683, -0.2319010645, 0.4299106896, 0.7686781883, 0.4036623538, 0.1468770057, -0.9301661849, -0.0721982494, -0.2734099329, 0.0276574641, 0.0559592135, -0.5477829576, 0.9344366193, -0.390214175, 0.0088257426, 0.1495804191, 0.7425307631, 0.3149971962, 0.1088457033, 0.439930886, 0.3734286427, 0.8119584918, 0.106171973, 1.4862915277, -0.5610342622, -0.1088605225, 1.1031457186, -0.4588534236, 0.8043779135, 0.5147304535, 0.1454583257, 0.2175611258, 0.7960837483, 0.3780389726, 0.5139389634, -0.0403359793, -0.3593554795, -0.4553427696, -0.1332446188, -0.322460562, 0.4272387326, 0.4229153395, -0.313305527, -0.0809285715, -0.0709290653, 0.0990227535, 0.1036319807, -0.2898117006, 0.5748447776, 0.0757064819, -0.9173848629, 0.6968675256, 0.2384421825, 0.7481641769, -0.8157504797, 0.2276026011, -0.2837843895, 0.4340443611, 0.2254690975, -0.3636658788, 0.1856025904, -0.0207054894, -0.0702921823, -0.3059882224, 0.4252462983, -0.4406781793, -0.8216388822, 0.4550217092, 0.7895273566, 0.0254451893, -0.1301038563, -0.6688086987, 0.3220214546, -0.1881174445, -0.476315707, 0.1090390533, 0.9051001668, -0.2931823134, 0.6163342595, 0.8169211745, 0.3450267613, 0.0903322622, 0.4864424765, 0.8373329639, -0.3334217966, -0.7789452076, -1.0301408768, 0.2774648964, 0.2532721758, -0.3728283644, 0.8759503961, 0.4938504994, 0.8732706308, -0.3344212472, 0.846991241, 0.5159968734, 0.2518107891, -1.0536247492, 0.5931379795, -0.2981523573, 0.311185658, -0.087282978, -0.6517546177, -0.2060524672, 0.2903179824, -0.3498727977, 0.049193304, 0.7680664659, 0.8220533133, -0.26917696, -0.1050400734, 0.3169728518, 0.027909318, 0.3672417998, 0.601867497, 0.9111168385, -0.1851148754, 0.4405654967, -0.2834570706, 0.013702997, -0.1276797801, -1.1727849245, -1.3589226007, -0.3245725036, -0.0467377752, -0.1059484929, 0.2245856673, 0.9308340549, 1.0688912868, -0.6007145047, -0.269818157, -0.0874000117, -0.006506681, -0.2873145044, -0.1221562549, 0.2766697407, -0.3713297248, -0.784270525, 0.6147297025, 0.0726526529, 0.1756692529, -0.213350296, -0.1447028518, -0.2890540957, 0.3287668824, 0.6226559281, 0.0175744146, -0.7944847941, 0.2050609589, 0.0381740108, -0.0055171251, -0.3049347997, 1.1661669016, -0.6268625259, 0.3611314893, 0.4198940694, 0.6462197304, 0.6490256786, -0.2090929598, 0.9585301876, -0.8046419024, 0.8862737417, 0.1395373493, 0.5062593222, 0.2044556886, -0.5674672127, 0.3469948769, 0.1518651098, -0.1751604676, -0.7872747183, 0.1829227805, -0.4156019986, -0.3979177177, 1.2010428905, -0.3764664829, -0.1764777154, -0.1826791912, -0.1411955804, 0.2385536432, -0.4179276824, 0.5934221745, 0.6501521468, 0.0607944317, -0.1402986497, -0.559297502, 0.5384939909, 0.2520513833, -0.9046872258, 0.2637053728, 0.2071315795, 0.1045763344, -0.0417878143, 1.0144097805, 0.252615273, 0.2150140852, 0.3812111318, -0.1163411364, -0.2809286714, -0.5540719628, -0.0739298761, 0.0749476701, 0.3703048229, 0.2723126411 ]
http://arxiv.org/abs/2406.16751v2
http://arxiv.org/pdf/2406.16751v2
Towards Zero-Shot Text-To-Speech for Arabic Dialects
2024-06-24T15:58:15
2024-06-25T14:18:21
Khai Duy Doan, Abdul Waheed, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.SD, eess.AS
Zero-shot multi-speaker text-to-speech (ZS-TTS) systems have advanced for English, however, it still lags behind due to insufficient resources. We address this gap for Arabic, a language of more than 450 million native speakers, by first adapting a sizeable existing dataset to suit the needs of speech synthesis. Additionally, we employ a set of Arabic dialect identification models to explore the impact of pre-defined dialect labels on improving the ZS-TTS model in a multi-dialect setting. Subsequently, we fine-tune the XTTS\footnote{https://docs.coqui.ai/en/latest/models/xtts.html}\footnote{https://medium.com/machine-learns/xtts-v2-new-version-of-the-open-source-text-to-speech-model-af73914db81f}\footnote{https://medium.com/@erogol/xtts-v1-techincal-notes-eb83ff05bdc} model, an open-source architecture. We then evaluate our models on a dataset comprising 31 unseen speakers and an in-house dialectal dataset. Our automated and human evaluation results show convincing performance while capable of generating dialectal speech. Our study highlights significant potential for improvements in this emerging area of research in Arabic.
[ -0.4349300563, -0.4882435501, 0.4683559835, -0.058769647, -0.3519266248, 0.2975769043, -0.2037878335, -0.4820172191, 0.2720321119, 0.4010781348, -0.4625681639, -0.7772814035, -0.4793202877, 0.1922088265, -0.5744937658, 0.9125154614, 0.3453757465, -0.0659043789, 0.4406785071, -0.1930772811, -0.3593020737, -0.5669623017, -0.6380445957, -0.0015524717, 0.462672472, 0.9412092566, 0.975346446, 0.6819857955, -0.3319928646, 0.1916587353, -0.04882567, -0.0764673725, -0.1127368361, 0.4008919001, 0.0315880217, -0.0327315591, -0.4583702087, -0.4535442293, 0.678694129, 0.657974422, -0.0991462469, 0.0776156932, -0.2347233444, 0.5841551423, -0.6430030465, -0.0596617386, -0.6245975494, -0.0376617201, -0.4731472731, 0.1437994987, -0.4348221421, -0.1072309688, 0.2835479081, -0.0924896747, 0.3230497539, -0.1078773811, 0.598249197, -0.1591200978, -0.6566268802, -0.1303335577, -0.860401988, 0.6774349213, -0.7526002526, 0.6071431041, 0.128567785, 0.4459876418, 0.0725427493, -0.5834504366, -0.5584181547, -0.4211327136, 0.3661277294, 0.1007341668, -0.1984215677, 0.1468557566, -0.1962932944, 0.2051394731, -0.5926138759, 0.0056824177, -0.1082142442, -0.2262314111, 0.6000219584, 0.0784029886, 0.3094033301, -0.0031693554, -0.1271160841, 0.0328099765, -0.8140317798, -0.0297637675, 0.2105497271, 0.8670153022, -0.3524513841, 0.400723964, -0.365895927, 0.7760962248, -0.0526340082, 0.1108116955, 0.1391979009, -0.4624451399, -0.0972497091, 0.4028701186, 0.8015971184, -0.1287823766, 0.3016768992, -0.3406268656, -0.2772095501, -0.2094443589, 0.112651512, -0.9361695647, -0.0221848395, 0.3729650378, 0.031581942, -0.1314649135, -0.0891449973, -0.73911798, -0.2533529401, -0.0691547617, 0.5833176374, -0.5924799442, -0.3075531721, 0.1236102432, -0.1807310581, -0.1127781942, 0.3081173599, -0.9039283395, 0.2964340746, 0.2329258472, 1.1276576519, 0.2479093522, -0.1707340926, -0.3606969416, 0.3965280354, -0.6279675961, 0.5490922332, -0.3856381178, -0.5486536026, 0.2171764672, -0.5955026746, 0.2027487457, -0.5540502667, 0.4995033145, -0.2399807274, 0.0169232413, -0.1730902493, -0.3181034625, 0.061154563, -0.1157352105, -0.652133286, 0.9653337598, 0.2678854167, -0.2867794633, -0.0002255485, -0.6580958366, -0.5802851915, -0.0320783369, -0.277564466, -0.5633764267, 0.2832854688, 0.2843173146, 0.2100986987, -0.3754623532, 0.1708827615, 0.0053032232, -0.3623571694, 0.1208221912, -0.5921316743, 0.7321693301, 0.3869929314, -0.6287292838, 0.1569535434, -0.8232527971, 0.3027059436, -0.0335771479, 0.2046438605, 0.0310048945, 0.0956471637, 0.3644489348, 0.2144403309, -0.055376064, -0.642559588, -0.14056319, -0.686289072, 0.4146773517, 0.519274056, -0.1587052196, 0.1957985312, -0.5288699269, 0.4084485769, 0.1326517761, -0.1401031315, -0.5415803194, -0.4107589722, -1.005531311, -0.5542622805, 0.4149857461, 0.3064812124, -0.8795835376, 0.4100500047, -0.3645628095, -0.7199093699, -0.4360322058, -0.3218950927, 0.4069200754, 0.3106325865, 0.510781467, -0.4886553884, -0.5715337992, -0.8232716322, -0.1208855957, -0.3330595195, -0.1804676801, 0.1977432072, 0.267634064, 0.131170243, 1.2263212204, -0.0864795372, -0.2365725487, -0.2828861773, 0.2256496698, -0.1442849636, 0.1385937333, 0.7298070192, -0.3610118628, -0.8151643276, 0.2527529895, -0.2662214041, -0.3392349482, 0.0661626011, 0.1756804585, 0.5283699632, 0.2487142086, -0.475667268, 0.5262721777, 0.4426005781, -0.45784536, 0.6622208953, 0.2078645974, 0.1092932224, -1.1960961819, -0.0519994348, -0.0253279563, -0.3478653431, -0.9924386144, -0.0683057383, -0.2618923485, -0.3983362317, -0.5541012883, 0.7049017549, -0.4516598582, -0.0347842611, -0.2607820928, 0.1643735915, -0.0350061879, 0.3337582946, 0.155786559, 1.1937497854, 0.5440265536, -0.3775521517, 0.2212103903, 0.1579273939, -0.4568423629, 0.3712049127, -0.6315077543, 0.3948070705, 0.042950321, 0.1109104007, -1.1486548185, -0.0648990944, 0.3311901689, -0.7023406625, 0.1577126682, -0.100363113, -0.2565157712, 0.1244233027, -0.3406421244, 0.5283250213, 0.3499694467, -0.2544139028, 0.4855206609, 0.2853555083, -0.7108851671, -0.3777828217, -0.3614672124, 0.5720064044, 0.0612861402, -0.6098405123, 0.423351109, 0.2674938142, -0.2598257065, -0.0732124075, -0.0277131088, -0.4374034107, -0.0736164525, 0.2089974582, -0.0106929718, -0.4891088009, 0.2773727179, 0.2448827028, 0.0192934088, -0.1710762084, -0.5000500679, 0.6274605393, 0.0596538857, -0.3481463194, -0.6655187607, 0.7654674053, 0.759101212, -0.2031471431, 0.6500372291, 0.3973458111, -0.2213847488, -0.2180779129, -0.3289960921, 0.0344955847, -0.4627743065, 0.7159216404, -0.4583705366, -0.7846613526, 0.2195064425, 0.0846852809, -0.0710571632, 0.3688963056, 0.6001799107, 0.0613399446, 0.8905225396, 0.6775417328, -0.4561509788, 0.5646083951, 0.044941131, 0.293841213, -0.1603648067, -0.0416909866, -0.9322192073, 0.067629151, -0.4273701012, -0.2835374177, 0.7411242127, -0.2894221544, -0.5305361152, 0.2099428028, -0.1198948249, 0.2217149436, 0.7319734693, -0.0128407767, 0.0973600075, 0.361397922, -0.1430021822, 0.0046358318, -0.764241159, -0.5784628391, 1.0755553246, 0.0528933927, 0.2474723458, 0.5140579939, 0.7641798258, 0.6550739408, 0.1213704571, -0.7904103398, 0.480651468, -0.0847526863, -0.4611289203, -0.53803128, -0.2351548225, -0.8809764385, 0.0979083851, -0.0111709125, -0.667289257, -0.1157460064, 0.0802760571, -0.6318221688, 0.3303725719, -0.7485069036, 0.5394649506, -0.0765324607, -0.4074253738, -0.3012807071, -0.7033569813, -0.1407818198, -0.1153603941, 0.1955978125, -0.0774842128, 0.060410697, 0.5517796278, -0.6679238081, 0.8125982881, -0.1771849394, -0.2062006146, 0.5522220731, -0.0496340171, 0.1147692129, -0.244281143, -0.4768679738, 0.4989848435, 0.1951171607, -0.6463087797, -0.4585519135, 0.3288062513, -0.9934939742, -0.5579176545, -0.5352064967, -0.5496278405, -0.4768668115, 0.0539987907, 0.1771258414, 0.731803, -0.4346391559, 0.0251714308, 0.2761620283, -0.2168425024, 0.5356270671, 0.639503479, -0.339494735, -0.747860074, 0.855245769, 0.3241998553, 0.3644574583, 0.2613787949, -0.037872918, -0.3932884336, -0.6982318759, -1.11142838, 0.1146998331, -0.3056337535, -0.2322788239, -0.0984228328, -0.4375581443, -0.7085248828, -0.0066894838, -0.4145025015, -0.5976436138, -0.2559637725, 0.0435233749, 0.3081354499, 0.8458938599, 0.0477851778, 0.6330475807, -1.0998458862, 0.2679813504, 0.1068883762, 0.1524651647, 0.1163623556, -0.9617110491, -0.6306343675, 0.3582626283, -0.381665349, -1.1953235865, 0.5384423733, 0.4539917707, 0.0009965551, 0.4593945146, 0.2811824083, 0.6658986807, -0.9053338766, 0.9481243491, 0.16862683, -1.4569451809, 0.4081529081, -0.3864913583, 0.4347138703, 0.2669431269, 0.1814344674, -0.9976243377, -0.39135921, -0.271289885, -0.913125217, 0.7462575436, 0.4587517381, 0.4114296734, -0.0083157634, 0.3594467938, 0.1718931496, 0.3413821757, -0.4132360518, -0.5462840796, -0.1737314761, -0.4654015601, -0.1507274806, -0.4376839399, 0.096220836, -0.1744279861, 0.8447996974, -0.0205762442, 0.3100701571, 0.1380723864, 0.0345630944, -0.2537309825, 0.6600404382, 0.7289155126, 0.4661774337, -0.1627676338, 0.0966256633, -0.1033083498, -0.2897145748, 0.5349975824, 0.2429838032, -0.4318586886, 0.5338537693, 0.2884248197, 0.9167631865, -0.0818677992, -0.71832335, 0.35907498, 0.2318452746, -0.1415120661, -0.3869133294, -0.047519803, -0.2296629995, 0.1854281425, 0.5270118117, 0.0843575969, -0.0360910036, -0.7445345521, 0.3252064586, 0.5129901171, -0.4287810922, -0.5912005305, 0.4880787432, 0.5244798064, -0.747133255, 0.3489821851, -0.1303007305, -0.5023500323, 0.5269178748, 0.5293532014, 0.9461500049, -0.6018638611, 0.4596391618, 0.1810031086, 0.122573778, 0.2588112652, 0.3933956921, -0.2889734209, -0.6720495224, -0.2876825035, -0.2716322839, -0.770511508, 0.0686349049, -0.5475158691, 0.4414364398, -0.3027740717, -0.2894782424, 0.0488984622, -0.1123228446, -0.1674521267, 0.3578130603, 0.3318687975, 0.7518393993, -0.9837138653, 1.1342145205, 0.4103187025, -0.2663716674, -0.5769312382, 0.2391788661, -0.0286042094, -0.6197705865, 0.2660768032, 0.170391202, -0.5498683453, 0.271797806, -0.3409020007, -0.9399616122, 0.7306269407, 0.6348125339, -0.7143403292, 0.1663453281, 0.7031879425, 0.4624000788, -0.0502042137, 0.4219808578, 0.383131355, 0.1726649106, 0.1845757365, -1.1813756227, -0.3449972272, -0.0604380518, -0.1395377219, 0.3483754992, -0.7078362107, 0.9338450432, -0.2817261517, -0.3221314251, 0.6145893931, 0.7241843343, -0.1215488091, 0.4807557166, 0.2738496065, 0.5324531198, 0.5244671106, -0.0702685192, 0.691524744, -0.4287751019, 0.0981656089, 1.2316387892, -0.6832324266, 0.9750660658, 0.3538419604, -0.2798316181, 0.5924057961, 0.3149040937, 0.5245666504, 0.6402228475, 0.0911366865, -0.9984727502, -0.1597595662, -0.4452355802, -0.5349935293, 0.6262982488, 0.2684161961, -0.2735873759, -0.3548609912, -0.2137509584, 0.0643497333, 0.0796460956, -0.2176813483, 0.5867106915, -0.2061446905, -0.485316664, 0.7131671309, 0.4595034122, 0.2739489973, -0.8168572783, -0.036526721, -0.2499289662, -0.0329895206, 0.1149430126, -0.4602295458, 0.3476815224, 0.246035561, -0.1446207464, -0.0905441567, 0.4324247241, -0.6191362739, -0.4509394169, 0.0807219371, 0.9004796743, 0.0958282426, -0.2691912651, -0.2476639599, -0.0004539354, 0.1863891631, 0.1784826368, 0.2896144092, 0.5463941693, -0.1518830955, 0.4669690132, 0.3037475348, 0.2471049279, -0.0397533886, 0.1804302782, 0.6311749816, -0.910255909, -0.4225121439, -1.048682332, 0.3851081133, 0.2579312027, -0.1435807347, 0.8259330392, 0.6619169712, 0.8636499643, 0.0659455433, 1.1386779547, 0.0841203183, 0.5831890106, -0.3573782742, 0.7200562954, -0.4659114182, 0.0273029804, -0.3093266189, -0.4087635577, -0.2498905808, 0.3748681247, 0.0683107525, 0.1614529192, 0.4471600652, 0.9343238473, 0.2753475606, 0.1640797555, 0.7928119898, 0.2806337476, 0.1887795627, 0.3856320381, 0.8356574178, -0.4509294629, 0.5777860284, -0.2293255925, 0.0474203117, -0.0339222066, -0.7367956042, -0.5176304579, -0.5479018688, -0.2909393311, -0.2657004297, 0.5220785737, 1.2045969963, 0.7854306102, -1.0696487427, -0.7442134619, 0.1320425123, -0.0008350724, -0.2115968168, -0.1181547344, 0.2516295612, -0.1152810901, -0.885042727, 0.5151080489, 0.5253797174, 0.19667992, 0.0013914146, -0.0624749921, -0.1153097302, 0.3702158928, 0.650206089, 0.3434863389, -0.7523651123, -0.4231838882, -0.1476774663, 0.1123333126, 0.3320578933, 0.6877003908, -0.9652415514, 0.5255390406, -0.0909829959, 0.5556570888, 0.2205997854, -0.1439899504, 0.5061296225, -1.0744298697, 0.3313744366, 0.3176080287, 0.11547748, 0.4039078355, 0.2025020272, 0.2010258734, 0.2279641777, -0.2768896222, -0.7293992639, 0.39590922, -0.7452129722, -0.1591399759, 1.0715744495, -0.1046549007, 0.2030459344, -0.478603214, -0.3990510404, 0.5223419666, -0.6522780061, 0.9526472688, 0.6244958639, -0.0417825915, -0.1013799235, -0.2801734805, 0.2791664898, 0.7891507745, -0.6414507627, -0.0013223951, 0.7032589316, 0.1099753305, -0.0056773135, 0.7070092559, 0.2785908282, 0.3650124371, -0.0525168106, 0.1177192181, -0.0765710995, -0.4826845229, -0.4895454049, 0.2431939095, 0.3985238969, -0.4644856453 ]
http://arxiv.org/abs/2406.16748v1
http://arxiv.org/pdf/2406.16748v1
OCALM: Object-Centric Assessment with Language Models
2024-06-24T15:57:48
2024-06-24T15:57:48
Timo Kaufmann, Jannis Blüml, Antonia Wüst, Quentin Delfosse, Kristian Kersting, Eyke Hüllermeier
cs.LG
cs.LG, cs.CL
Properly defining a reward signal to efficiently train a reinforcement learning (RL) agent is a challenging task. Designing balanced objective functions from which a desired behavior can emerge requires expert knowledge, especially for complex environments. Learning rewards from human feedback or using large language models (LLMs) to directly provide rewards are promising alternatives, allowing non-experts to specify goals for the agent. However, black-box reward models make it difficult to debug the reward. In this work, we propose Object-Centric Assessment with Language Models (OCALM) to derive inherently interpretable reward functions for RL agents from natural language task descriptions. OCALM uses the extensive world-knowledge of LLMs while leveraging the object-centric nature common to many environments to derive reward functions focused on relational concepts, providing RL agents with the ability to derive policies from task descriptions.
[ -0.2770780027, -0.8238787055, 0.4797635078, 0.0928312838, 0.1774145812, 0.0296473838, -0.4276450276, -0.613745451, -0.1611771882, 0.5053392649, -0.5768687725, -0.2550057471, -0.5665155649, -0.0427184999, 0.2338121533, 0.981343329, -0.2334025353, -0.0564826168, -0.5136788487, -0.1292380542, -0.5739235878, -0.4138213396, -0.7812402844, -0.8381819725, 0.7263098359, 0.5377891064, 0.4803295434, 0.4661509395, 0.3350330293, 0.2888045609, 0.2195324153, 0.16014947, -0.4811315536, 0.0155611066, -0.7365477681, -0.3900381327, -0.6548482776, 0.0684474334, 0.2011577785, 0.4261729121, -0.2809080482, 0.1478332281, -0.1112327799, 0.4819943905, -0.8849912286, 1.0204242468, -0.4864377975, 0.3390930891, 0.4830330312, -0.2299871594, -0.6023085117, -0.1986270696, 0.2524823248, -0.5700299144, -0.2908951938, -0.0102698486, 0.7473827004, 0.3017076552, -0.0975571498, -0.4590653181, -0.6380250454, 1.1165597439, -0.3824081421, 0.0238051973, 0.3638716042, 0.6137371063, 0.0285346229, -0.4282847345, -0.3908003271, -0.783503294, -0.2233386338, 0.1338733137, 0.2929573059, -0.0533340201, 0.1098749861, 0.2968630791, -0.2448922545, 0.2208646685, -0.0644450635, -0.146276772, 0.9469403625, 0.511210084, 0.2474938035, -0.0149391722, -0.7459478974, -0.4533439279, -0.4807119966, 0.5961265564, 0.2553064227, 0.5949200988, -0.0496498607, 0.6474454403, -0.3278394938, 0.7879196405, -0.2285448164, -0.3199024498, -0.0190963019, -0.0858440474, -0.1540805846, 0.2318351418, 0.7503331304, 0.4374845028, 0.368781209, -0.4115357995, -0.5295459628, 0.1377003044, 0.6890887618, -0.9789674282, 0.1633698046, 0.3613482714, -0.2509474456, -0.5386058092, 0.2021400779, -0.7624083161, -0.5266038775, -0.517644465, 0.5650125742, -0.1919943094, -0.4467408955, 0.5060014129, -0.0458275862, 0.3731385171, 0.3395725191, -0.7651635408, 0.4751287401, 0.6704853773, 0.2562717497, -0.4285155833, -0.5528773665, -0.8061426878, -0.1824151427, -0.0652401522, 0.7894670367, -0.4751245677, -0.4070703089, 0.2125449777, 0.115304254, -0.2716287673, -0.5496183634, 0.2787786722, -0.5381022096, -0.073942706, -0.0565229319, -0.4109601378, -0.3919962049, 0.8429719806, -0.3923812509, 0.9801231623, 0.4494439363, -0.2996156514, 0.2637014985, -1.0195008516, -0.3963766694, 0.0668463781, -0.2210803926, -0.3273073137, -0.0504425764, 0.1224538684, 0.483248651, -0.32030195, 0.2251200676, -0.3515048325, -0.142306596, 0.5961183906, -0.0443583988, 0.2185582966, 0.1317258775, -0.5437088013, 0.2678910196, -0.4243328571, 0.2147808671, 0.396051228, -0.2398699671, -0.1361927986, 0.2975319922, -0.0446137674, 0.1139334515, 0.5415665507, -0.638532877, 0.2788794637, -0.2895618975, 0.2987591326, 0.507447958, -0.0946512744, 0.4464999437, -0.3418416083, 0.7978019118, -0.1939495355, 0.3067379594, -0.07035584, -0.0978779122, -0.4704353809, -0.2456252277, -0.0326496474, 0.6183244586, -0.5290362239, 0.3720974028, -0.1329548955, -0.4893554747, -0.3089059591, -0.0229863245, 0.5273208618, 0.5088359714, 0.382314086, -0.4072958827, -0.059155982, -0.7218526602, -0.1668097377, -0.3449315429, 0.2923794985, 0.5947233438, 0.5214566588, -0.1279158592, 1.0486559868, -0.7212876081, -0.6754273176, -0.5438145399, 0.1477180868, -0.1232515052, 0.2231071442, 0.3005292118, -0.7344352603, -0.3614408076, 0.3443350494, -0.8702561259, 0.0199707486, 0.0397833884, 0.0477491915, -0.0485376343, 0.5541644692, -0.3478193581, 0.3922849894, -0.0741010234, -0.4250521064, 0.5808830857, -0.2929757833, 0.1134143621, -0.3726808727, 0.112547867, -0.1332858652, -0.4887731373, -0.2214231044, 0.4328241348, 0.0041447086, 0.0635116994, -0.8213868141, 1.0539293289, -0.2439778447, -0.2018931806, -0.5662344098, 0.3153721988, -0.0169858113, 0.8403327465, 0.444504261, 0.3655182719, 0.5442401171, -0.6497139931, 0.3756187558, 0.0855390877, -0.0482390039, 0.9483523965, -0.6973582506, 0.0351055861, -0.1669643819, -0.1287291944, -0.5955839157, -0.0289750043, 0.2044266164, -0.3742823005, 0.0662971884, 0.0198576879, -0.2382832915, -0.1670589, -0.2079037875, 0.4208147824, 0.211830765, -0.533829689, 0.743635416, 0.4791743755, -0.0685314238, -0.6898621917, -0.3258495629, -0.4734458029, -0.1212280467, -0.1383615732, 0.1486606449, 0.0033037795, -0.2167994827, 0.1919748038, -0.0139492825, -0.0095090354, 0.4220835567, 0.430876106, 0.4765161574, -0.1058620661, 0.2065393925, -0.4423268437, -0.1182038784, 0.4424233735, -0.1811288148, 0.5187877417, -0.4339722395, -0.4607947171, 0.037019942, 0.0647990406, 0.3645333648, -0.5524752736, 0.5063900352, 0.7251121402, -0.1876990497, -0.5415909886, -0.2162209302, -0.2900093794, -0.3808074594, 0.7126723528, -0.45638901, -0.7168161273, 0.2610254884, 0.0516765676, 0.2026512474, 0.2697396576, 0.6907289028, 0.5025779605, 1.0253911018, 0.4058355093, -0.0683166608, 0.4500506818, -0.3171955645, -0.0984734073, -0.7250017524, -0.6620773673, -0.4756123722, -0.1389358193, 0.0281637087, -0.4334821105, 0.0612813905, -0.0529873185, -0.3202750385, 0.2636010349, -0.5713726878, 0.5104448199, 0.1766053885, 0.1245035082, 0.1943086982, -0.0695426017, 0.0260476768, 0.3127583265, -0.3014370203, -0.5656240582, 1.0148791075, 0.5095704794, 1.067361474, -0.159236744, 0.537830174, 0.4215532839, 0.6045101881, -1.2894001007, 0.5203749537, 0.2410895675, -0.3006152511, -0.4678049684, -0.4417990148, -1.0808298588, 0.4258181155, 0.026471179, -0.9244893789, -0.1466977447, -0.0100025525, -0.2450165451, 0.0296186339, -0.5561346412, 1.2991575003, -0.5021921992, -0.4530543685, -0.2312944531, -0.2724970877, 0.2382215858, 0.3053788841, 0.2943952382, -0.3452525139, -0.0639627948, 0.6696970463, -0.4239111543, 0.7554822564, -0.4532364011, -0.070961237, 0.5246650577, 0.3715660572, 0.4989322126, 0.3076350689, -0.1073849499, -0.4305335581, 0.1088716015, -0.4574968517, -0.7847994566, 0.6037114263, -0.8114475608, -0.4451138079, -0.4271194041, -0.8431329727, -0.3806532323, 0.0566438586, -0.3935754001, 0.3929632604, -0.335608542, -0.2053323835, 0.4821985364, -0.2220167518, 0.2774440944, 0.8929033875, -0.6359286904, -0.0287430622, 1.1747363806, -0.5111403465, 0.4510542154, 0.4560092986, 0.3835451603, -0.6292433143, -0.2008949667, -0.4512855113, 0.1015625224, -0.6330369115, -0.0369736627, -0.331851989, -0.1174098849, -0.0419879705, -0.0914220139, -0.6015087962, -0.0105945347, -0.0218004081, -0.2149849385, 0.2410444915, 0.9863773584, 0.26426512, 0.1178246364, -0.5354979038, 0.1715638787, 0.5775786638, 0.1899831742, 0.2050426155, -0.2964814901, -0.3051000237, 0.0914165303, -0.4548121393, -0.538911283, 0.5002331138, -0.0818222985, 0.7878887057, 0.1835665256, 0.2473364174, 0.3506636024, -0.2249121815, 0.6897817254, 0.2401966155, -0.7402399778, 0.3572775126, -0.0385296009, 0.1084668785, 0.4009625018, 0.2191701829, -0.4307347238, -0.3855479062, -0.4650135338, -0.6911018491, 1.1009173393, -0.2468163371, -0.075883396, -0.0584735312, 0.1938589364, 0.1841021031, 0.2762148082, -1.0336478949, -0.0420132242, -0.304556638, -0.3358440399, -0.2396777123, 0.1107959226, -0.2041181922, 0.2272394747, 0.4688811004, -0.4415728152, 0.3709214926, 0.4167438447, -0.5076476336, -0.1781405807, 0.4308781326, 0.6329056025, 0.6114891171, -0.4006983042, 0.3190708458, 0.0389062688, -0.0302546807, 0.3248802722, -0.0059629241, 0.2967233062, -0.54036659, 0.2930900156, 1.0049268007, 0.2843889594, -1.2921535969, 0.704312861, -0.1252819598, -0.1390342712, -0.3715770841, 0.298352778, 0.1384290755, 0.2749477327, 0.1296720207, -0.3180356622, -0.0729941353, -0.8413724303, 0.2079115957, 0.5157214403, -1.0998376608, -0.2767626941, 0.4543579221, -0.1578753293, -0.424885124, 0.3968061805, -0.5705984831, -0.6131637692, 0.9299657941, 0.325397104, 0.8200901747, -0.1242057309, 0.5497357249, 0.356223017, 0.0758669227, -0.1523499191, 0.1753301173, -0.0329256877, -0.7095782757, -0.2619983554, -0.6788410544, -0.5398980379, 0.0208498947, -0.9510164857, 0.1075718924, -0.2720734179, 0.0549356155, -0.090131782, -0.1384929121, -0.7360354066, 0.2306170613, 0.0794976875, 0.7034844756, -0.7207692266, 0.5884321332, 1.0416828394, -0.7161334157, -1.0477511883, -0.508300066, -0.4125023782, -1.1156203747, 1.1787325144, 0.1285213083, -0.0728776827, -0.2884145975, -0.1465327591, -0.3113591969, 1.0027674437, 0.1780743599, -0.0378434695, -0.075575009, 0.5310512185, 0.5952103734, -0.8344935179, 0.8166807294, 0.3533222377, 0.6478000879, -0.0261264853, -0.76073879, 0.1277654767, -0.004930858, -0.1319197863, 0.1816131175, -0.3618684113, 0.8639569879, -0.1971632689, 0.1356070638, -0.1266682446, 0.456456542, 0.3758234978, 0.325150609, 0.8107466698, 0.3158848286, 0.2341761291, 0.1083184108, 1.302827239, -0.0742187724, 0.6638296247, 1.088277936, -0.3419983983, 1.0052068233, 0.5203862786, -0.1726833582, 0.5367854238, 0.52985394, 0.1571580172, 0.3785848618, 0.4847417772, 0.078561388, -0.5509569049, -0.4059411287, -0.0687611252, 0.4044397473, 0.3119923174, -0.1319079995, -0.5501903296, 0.1712396294, -0.2087108344, 0.3798397779, -0.607875824, 0.7483432293, 0.1344719529, -1.1692993641, 0.4999710023, 0.0818956047, 0.3605034947, -0.5757040977, -0.2025075853, 0.0018226228, 0.5672627687, -0.1449805647, -0.8425357342, 0.1269171536, -0.2579986155, 0.0137669062, -0.2462743223, 0.5331144333, -0.6603865623, -0.1959389746, 0.6550744176, 0.4564436972, 0.0494990908, -0.3106587827, -0.9419705868, -0.0897265822, -0.2304974645, -0.2616340816, 0.6079699993, 0.1477241516, -0.1049676985, 0.8342469931, 0.2755092978, 0.0897662044, -0.1389671862, -0.1960674524, 0.4725843668, -0.599114418, -0.5765706301, -0.7405290008, 0.4617003202, 0.1409475803, 0.0779747441, 0.3990525007, 0.4441986978, 0.8109050393, -0.4668282866, 0.4993578792, -0.1672805399, 0.4428103864, -0.5039782524, 0.4060549736, -0.8947014809, 0.1955866218, 0.0371549353, -0.6847540736, 0.2309521139, 0.5831373334, -0.5107384324, -0.019441098, 0.816889286, 0.8723332286, -0.0032989827, -0.1919303536, 0.4412193, -0.1703234166, 0.4415484071, 0.8517681956, 1.2808388472, -0.136919871, 0.5818313956, -0.3124952614, -0.0520665385, -0.4361031651, -0.7733607888, -1.0389436483, -0.2792895138, -0.6342868209, -0.1168083027, -0.1410046369, 1.01963377, 0.8005163074, -0.741085887, -0.7129973769, -0.1056446284, 0.4426704347, -0.6570815444, -0.3290351033, 0.3532914817, -0.7532635927, -0.8847075105, 0.3884298503, 0.3035087287, -0.472560972, -0.5237677097, -0.5965173244, 0.1123892441, 0.0553727746, 0.6999853849, 0.4826893508, -0.7915889025, -0.4386260211, 0.0333256759, -0.3493549824, 0.0187342316, 0.8436886668, -0.8133882284, 0.5454965234, 0.3271008432, 0.7573001385, 0.3542107046, -0.0213157907, 0.6109611988, -0.4426586032, 0.2175811827, 0.2604121864, 0.2756677568, 0.1579291373, -0.2943198085, 0.5188264251, -0.0294000283, -0.4803397655, -0.9697742462, 0.3491044641, -1.2804777622, -0.2610203922, 1.1250363588, -0.6316890121, -0.6649387479, 0.0355376229, -0.4277729988, -0.0821426958, -0.4534652233, 0.7060988545, 0.3431605399, 0.053411644, -0.0561023504, -0.4393380284, 0.549302578, 0.5323675871, -1.1519942284, 0.0823822394, 0.079445377, 0.2539914548, 0.1759920567, 0.3536565006, -0.2772875428, 0.4280737936, -0.2861984372, 0.468816936, -0.6331959963, -0.1789016575, -0.1217295006, 0.4734658599, 0.6077668667, -0.3316861093 ]
http://arxiv.org/abs/2406.16747v1
http://arxiv.org/pdf/2406.16747v1
Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers
2024-06-24T15:55:59
2024-06-24T15:55:59
Chao Lou, Zixia Jia, Zilong Zheng, Kewei Tu
cs.CL
cs.CL, cs.LG
Accommodating long sequences efficiently in autoregressive Transformers, especially within an extended context window, poses significant challenges due to the quadratic computational complexity and substantial KV memory requirements inherent in self-attention mechanisms. In this work, we introduce SPARSEK Attention, a novel sparse attention mechanism designed to overcome these computational and memory obstacles while maintaining performance. Our approach integrates a scoring network and a differentiable top-k mask operator, SPARSEK, to select a constant number of KV pairs for each query, thereby enabling gradient-based optimization. As a result, SPARSEK Attention offers linear time complexity and constant memory footprint during generation. Experimental results reveal that SPARSEK Attention outperforms previous sparse attention methods and provides significant speed improvements during both training and inference, particularly in language modeling and downstream tasks. Furthermore, our method can be seamlessly integrated into pre-trained Large Language Models (LLMs) with minimal fine-tuning, offering a practical solution for effectively managing long-range dependencies in diverse applications.
[ -0.6320146918, -0.5622351766, 0.277572453, 0.8088313341, -0.2953214049, -0.117514655, -0.4857725501, -0.3150952458, 0.5512613654, 0.3392968178, -1.0093390942, -0.0285963137, -0.6579197049, 0.0135877421, -0.3313864172, 0.9753072858, 0.1426802725, -0.5162646174, -0.0746228173, -0.2529767752, -0.5648268461, -0.2030131966, -0.6551749706, -0.003731888, 0.9639599323, 0.154792279, 0.6633036733, 0.8653352261, 0.3475497663, 0.3871852756, 0.0561893173, -0.0517030545, -1.0295802355, 0.3896958232, 0.0894009694, -0.0137419747, -0.3947946131, -0.0999356434, 0.6679867506, 0.7573929429, 0.0497832745, 0.369574815, 0.3762090802, 0.8498522043, -0.9102936387, 0.2279184461, -0.626337111, 0.0840509832, 0.036056798, -0.0992394015, -0.3254953027, -0.0036122696, 0.087632224, -0.8351544142, 0.4288413823, -0.1171602979, 0.7433199883, 0.9985371828, 0.0085821869, 0.204429701, -0.6037893295, 1.0372247696, 0.1462214589, 0.7859781981, 0.4553155005, 0.3460544944, 0.0334755927, -0.6075801849, -0.1237511113, -0.2493679374, -0.1804101765, 0.3370272517, -0.0897264779, 0.2533174455, 0.4955589473, 0.1544639319, -0.4647323489, -0.088207297, -0.1181361675, -0.2601261437, 0.2726855278, 0.1895404011, -0.3171218932, -0.160722509, -0.2637222707, 0.2059895992, -0.4170966446, -0.1239300892, 0.2426036447, 0.147508055, -0.0922980607, 0.2658804655, -0.4710655808, 0.6804943681, 0.5612443089, 0.2119541019, -0.2021161467, -0.3411489129, -0.1005395055, -0.0886118263, 0.6492297649, 0.0067943237, 0.1654308885, -0.4467870593, -0.0898196995, -0.1188956127, 0.5291665792, -0.6767519116, -0.3320631981, -0.0016815114, -0.4201358259, -0.0488454923, -0.5310181975, -1.0787787437, 0.1185927615, -0.317011714, 0.3980024457, 0.1680366248, 0.0289230756, -0.1707583219, 0.3129271865, 0.2292955816, 0.3804802299, -1.2859642506, 0.3996001482, 0.5670349598, 0.8291479945, -0.2514330745, -0.201051563, -0.9061107039, 0.1421961784, -0.3869744241, 0.7458007932, -0.2635468841, -0.056342829, -0.245264262, 0.0596920736, -0.1213301793, -0.4312953651, 0.2554985583, -0.5803982019, -0.2065053135, 0.0030574226, 0.1357404888, 0.3477289975, 0.0897786766, -0.896361649, 1.5627835989, 0.5809904933, -0.5488392115, 0.3606612682, -0.4372124672, -0.5454370379, 0.3674673438, 0.0203482341, -0.4618964791, 0.0549821034, 0.2878239751, 0.5341481566, -0.2097266167, -0.0444625393, -0.3337757885, -0.4750218093, -0.0234378371, -0.359860003, 0.2977538407, 0.1239008084, -0.4399864376, 0.1134796292, -0.7511048317, -0.1824147105, 0.1384542882, -0.4153927267, -0.3050667942, -0.0881216899, 0.1544433534, 0.2045775652, 0.3110131621, -0.5379508138, 0.1623232365, -0.5881089568, 0.3987162709, 0.8930915594, -0.2160359472, 0.6544485092, -0.0012759152, 0.5746062994, -0.4714889526, 0.304977566, -0.2631727159, -0.1439003646, -1.0294172764, -0.6967605352, 0.3349695504, 0.1996479183, -0.3075035214, 0.5190647244, -0.4934979379, 0.0760909915, -0.639778316, 0.4124746323, 0.0511543453, 0.4596856534, 0.2608206272, -0.224759981, -0.4985282421, -0.913626492, -0.0289671011, 0.1448953897, -0.1605987549, 0.692491591, 0.1016607955, -0.2422508001, 0.7198469639, -0.7305644155, -0.345002383, -0.2576145232, -0.1715250015, 0.1428739578, 0.3107974827, 0.2411639094, -0.5429864526, -0.8603332043, -0.0675061643, -0.1647323519, -0.1419323385, -0.3671913445, -0.502414465, 0.1599654704, 0.6030135155, -0.870252192, 0.3172401786, 0.1516221464, 0.1712517738, 0.0625500903, 0.1536422521, -0.0597137921, -0.8509429693, 0.1542736739, -0.0628750101, -0.4261509478, -0.3561151624, -0.1672483534, 0.1241401732, -0.318590045, -0.1740057319, 0.4877013564, -0.323432833, -0.0473749079, -0.1972020566, -0.0270379223, -0.0461049005, 1.020870924, -0.0376162045, 0.6162057519, 0.3755056262, -0.4101321995, 0.5072390437, 0.1164190471, -0.2616742849, 0.3144519329, -0.4630942941, 0.2075656801, -0.2389253825, 0.0584397353, -1.4089142084, -0.2586043179, 0.2429402769, -0.3958686888, 0.7213299274, -0.3384945989, -0.4162275493, -0.4135681093, -0.3011473119, 0.5855925679, 0.5774872899, -0.6876308918, 0.7265859246, 0.075067766, -0.4377667904, -0.9159758091, -0.437356174, 0.034355823, -0.1228605136, -0.602928102, 0.0904561207, 0.0419279374, 0.2387921959, -0.0847755075, -0.3419834673, -0.0703428015, 0.2179363966, 0.1283658743, 0.1430595964, -0.2909376323, 0.1580989808, 0.0573090725, -0.5691694021, -0.0229787659, -0.3356459737, 0.4813274443, 0.3697267473, -0.0180671532, -0.2997823954, 0.8310649991, 0.6383407116, -0.2371861786, 0.4694737792, 0.5607190728, -0.2689715326, -0.5712214708, -0.7815915942, -0.3570560813, -0.540874362, 0.8556498885, -0.2339520305, -1.1048990488, 0.3384431005, -0.045657292, -0.1423996538, 0.4302962124, 0.762067914, -0.0858519003, 1.1001046896, 0.7099682093, -0.5144884586, 0.4807869196, -0.1104717329, 0.4555099308, -0.7660247684, 0.0067030122, -0.3575183451, -0.3973000348, -0.3886122704, -0.3460797369, 0.2746698558, -0.1204371825, -0.0897160247, 0.3665657341, -0.6930654645, 0.5847842693, 0.1946677268, -0.1046632007, -0.1507288814, 0.1584105194, 0.1475310177, -0.1637032032, -0.8412487507, 0.3174304962, 0.8509088755, 0.4732482433, 0.9816632867, -0.2487147003, 0.4174196422, 0.2067938596, 0.4068288207, -0.9455624819, 0.5056333542, -0.1546239853, -0.3474832177, -0.4466239214, -0.4228540361, -0.9913402796, 0.0473095104, 0.3020017445, -0.7182529569, 0.038597405, 0.2784003913, -0.7023767233, -0.3182995021, -0.6588013768, 0.9705069661, 0.0826911926, -0.7087355852, -0.3573087454, -0.7347967029, 0.1594047695, -0.2907617092, -0.2184321284, -0.1650899053, -0.2400332242, 0.4161053002, -0.0738212317, 0.8012672067, 0.0546081625, -0.0446709953, 0.1519809067, 0.0897589028, 0.6392948031, 0.0974531099, 0.4290762544, 0.0476551242, -0.5488122106, -0.4230790138, -0.6597043872, 1.0629607439, -0.5122948885, -0.5210418701, -0.1461417824, -0.7787513733, -0.1888393462, -0.0383515544, 0.1239290908, 0.2414464504, 0.1567217261, 0.2644743323, 0.8795835376, -0.1398416758, 0.4476544261, 0.2913342118, 0.4366496205, -0.3702957034, 0.9562106729, 0.2429230213, 0.3052165508, 0.6011679173, -0.0651060492, -0.410315603, -0.1978518516, -0.4310341179, 0.2826347649, -0.6423601508, -0.4013894796, -1.0733491182, -0.3334388435, -0.3925138116, -0.2544425726, -0.586728096, -0.4544168115, -0.1196226701, 0.1155846119, 0.3637979329, 0.335434705, -0.0330220051, 0.2882401049, -0.4659206569, 0.7872823477, 0.6377379894, 0.7863843441, 0.2297420353, -0.4804904163, -0.6663438082, -0.5333710909, -0.1901155859, -0.3113056421, 0.3287515342, 0.2913174927, 0.5298624635, 0.2168696523, -0.2073978335, 0.7967646718, -0.6543127298, 0.3886335194, 0.0001972224, -0.6677002907, 0.302980572, -0.4305928946, 0.5233277678, 0.3345082998, 0.3889696598, -0.462815702, -0.4008969367, -0.1554543823, -1.0299209356, 0.9459114671, 0.2340507656, 0.2361365706, -0.0772599876, 0.4370626807, -0.0473722965, -0.0233503133, -0.6570031047, -0.3753610849, -0.3739939332, -0.4240292311, -0.110636048, -0.4498866796, 0.0899305642, -0.2237439901, 0.4762766957, -0.2617661655, 0.5364155173, 0.1908348054, -0.1591393203, -0.5800637007, 0.0119457077, 0.5666482449, 0.0949508101, -0.1378030479, 0.0146768447, 0.2982388735, -0.737214148, 0.03536864, 0.4395416975, 0.0107230553, -0.1877162904, 0.1768011302, 0.5257654786, 0.5627034903, -0.3745903075, 0.393660754, -0.1698860675, -0.1582898051, -0.147818327, -0.1715966165, 0.1732716858, 0.1020716503, 0.3500398099, 0.026660556, 0.2319272608, 0.2696601748, 0.4159129858, 0.3986858726, -0.4402123392, -0.1183625758, 0.8355069757, 0.1501081288, -0.0437710211, 0.513692379, 0.2099727392, -0.4292736053, 0.6322214007, 0.2285769284, 1.0798250437, -0.4665626585, -0.2646766603, 0.5535104871, 0.304032892, 0.1270458698, -0.1717212498, -0.6821494102, -0.1137333885, -0.9791076183, -0.7709050775, 0.2490481883, 0.3766088188, -0.3515042067, 0.081677407, -0.6204331517, 0.0136728389, 0.1582577229, -0.0887684077, -0.5488895774, -0.0273445249, 0.0846979618, 0.5180277228, -0.4891484678, 0.7221320271, 0.0720491707, 0.0458456986, -0.5233979225, -0.1261806041, -0.4008028209, -0.7310402393, 0.9356591105, 0.4180209637, -0.3083008826, 0.142618373, -0.5059598684, -1.2376321554, 0.6193329096, 0.3104394376, -0.6231104136, 0.1826360673, 0.2454808056, 0.3796658814, -0.0873729959, 0.1051096842, 0.4689362645, 0.2047257423, 0.0349883474, -0.7596147656, -0.0949058458, -0.1361014396, -0.0164423306, 0.7888806462, -1.1050204039, 0.4987520278, 0.0860417187, -0.1553227007, 0.3098243177, 0.8659897447, -0.3035287261, -0.1247165799, 0.5456551313, 0.7381474972, 0.0525307767, 0.0173356999, 0.782056272, -0.3274971247, 0.353569746, 0.9110009074, -0.15338552, 0.3237317204, 0.5454930663, -0.14884305, 0.0753131136, 0.5647513866, -0.0085321032, 0.8540930152, 0.3387553692, -0.4766913652, -0.5089222193, -0.1315434873, -0.1204934195, 0.2361145914, 0.4539381564, -0.2222530544, -0.3715393245, -0.0240992904, -0.4157523811, -0.0659740418, -0.4857751429, 0.8216612935, 0.0425353721, -0.8880835772, 0.8446651697, -0.1486866772, 0.5275142789, -0.7536444664, -0.1923933029, -0.2109725177, 0.3469529152, 0.1078896895, -0.2512622774, 0.2626731992, -0.2222468555, -0.4559508264, -0.2668987811, 0.843456924, -0.5505343676, -0.2931275666, 0.3636991084, -0.1032545418, -0.1472978741, -0.136934191, -0.7175802588, 0.0215082131, -0.1692820042, -0.2541131675, 0.5971319675, 0.3996859789, 0.0549495965, 0.7620058656, 0.55771631, -0.2303001434, 0.4143460989, 0.0423705466, 1.0105348825, -0.5295660496, -0.7494305372, -0.5906738043, 0.1816458553, 0.1182545349, -0.2047115713, 0.635538578, 0.531719327, 0.5572496653, -0.1649610698, 0.4762431383, 0.3061967194, 0.5311026573, -0.1983962059, 0.6472818851, -0.4245039821, -0.0932332575, -0.1302425116, -1.0536551476, -0.2972861528, 0.6778856516, -0.0480000712, 0.2372052372, 0.5628239512, 0.6956912875, -0.344949156, -0.4619835913, 0.5064287186, 0.2733379304, -0.1201397479, 0.8894893527, 0.8541744351, -0.3815992475, 0.7189046144, -0.4893581867, -0.0444311425, -0.1150995269, -0.6269049048, -0.9960718751, -0.3948342502, -0.3441665769, -0.2595327199, 0.002435487, 0.7325539589, 0.8697912097, -0.5685480833, 0.0517458543, 0.0468863808, -0.0508652329, -0.0500483923, -0.2694804072, 0.5180978775, -0.6945236921, -0.6477591395, 0.2529681027, 0.6615596414, -0.1722567827, -0.4001743793, -0.0516308695, -0.0350585058, -0.0476618223, 0.6732415557, 0.2877611816, -0.5793786049, -0.2495875061, 0.3674574494, -0.1615566015, 0.2243904471, 0.8792248368, -0.892486155, 0.4509876966, 0.3982006013, 0.9486289024, 0.6333777308, -0.0383134708, 0.2970033586, -0.9636732936, 0.463953048, 0.4876866341, 0.1251952499, 0.2330957204, -0.8192697167, 0.3239633739, 0.301882416, -0.7075374126, -0.6567763686, 0.1311075985, -1.2647680044, 0.0435754955, 0.990257442, 0.0586693212, -0.4368939102, -0.4661666155, -0.0787778795, 0.0558641814, -0.5469225049, 0.8278659582, 0.6866908073, 0.1682016999, -0.4098059833, -0.6017771959, 0.7520586848, 0.8381096721, -0.3906960487, 0.4877580106, 0.249955222, 0.1662989259, -0.0192958135, 0.557002604, 0.07559558, 0.5741087198, -0.0967235714, -0.1706327498, 0.21024324, -0.480740428, -0.422983259, 0.2106867284, -0.2263827771, -0.1073568687 ]
http://arxiv.org/abs/2406.16746v2
http://arxiv.org/pdf/2406.16746v2
The Responsible Foundation Model Development Cheatsheet: A Review of Tools & Resources
2024-06-24T15:55:49
2024-06-26T02:19:01
Shayne Longpre, Stella Biderman, Alon Albalak, Hailey Schoelkopf, Daniel McDuff, Sayash Kapoor, Kevin Klyman, Kyle Lo, Gabriel Ilharco, Nay San, Maribeth Rauh, Aviya Skowron, Bertie Vidgen, Laura Weidinger, Arvind Narayanan, Victor Sanh, David Adelani, Percy Liang, Rishi Bommasani, Peter Henderson, Sasha Luccioni, Yacine Jernite, Luca Soldaini
cs.LG
cs.LG, cs.AI, cs.CL
Foundation model development attracts a rapidly expanding body of contributors, scientists, and applications. To help shape responsible development practices, we introduce the Foundation Model Development Cheatsheet: a growing collection of 250+ tools and resources spanning text, vision, and speech modalities. We draw on a large body of prior work to survey resources (e.g. software, documentation, frameworks, guides, and practical tools) that support informed data selection, processing, and understanding, precise and limitation-aware artifact documentation, efficient model training, advance awareness of the environmental impact from training, careful model evaluation of capabilities, risks, and claims, as well as responsible model release, licensing and deployment practices. We hope this curated collection of resources helps guide more responsible development. The process of curating this list, enabled us to review the AI development ecosystem, revealing what tools are critically missing, misused, or over-used in existing practices. We find that (i) tools for data sourcing, model evaluation, and monitoring are critically under-serving ethical and real-world needs, (ii) evaluations for model safety, capabilities, and environmental impact all lack reproducibility and transparency, (iii) text and particularly English-centric analyses continue to dominate over multilingual and multi-modal analyses, and (iv) evaluation of systems, rather than just models, is needed so that capabilities and impact are assessed in context.
[ -0.2561678886, -0.4291836023, 0.1972852647, 0.3604350388, -0.0578345694, -0.0777073056, 0.2936491668, -0.4868105352, -0.2719798982, 0.9553797245, -0.672983706, -0.1011923403, -0.4533241093, -0.0718971044, -0.5640221238, 1.1666697264, -0.0144880647, 0.187278524, -0.5983349681, 0.07358744, -0.6557838917, 0.0130271353, -0.3217429221, -0.1953939348, 0.2354597747, 0.2950514853, 0.7324795127, 0.8228260279, 0.8089735508, 0.264131844, -0.151477322, -0.1822181493, -0.5942969322, -0.1553088129, -0.3340203762, 0.0638346374, -0.7482900023, 0.5475190878, 0.1608859748, 0.8398791552, -0.1783124208, 0.6345619559, 0.0421140566, 0.4035137296, -0.8973380923, 0.4056813121, -0.0686613247, -0.1074103713, -0.2425783128, -0.0109570753, -0.340692997, -0.1146962196, 0.0912522674, -0.6368188858, 0.2696545124, -0.3327903748, 0.3015955091, 0.5173600316, -0.5527660251, -0.4148473144, -0.773892045, 0.9154227972, -0.4847800136, 0.657679081, 0.6029918194, 0.2964945138, -0.2027466893, -1.0283504725, -0.2229334563, -0.3609975576, 0.1138943806, 0.0125817191, -0.0185173228, -0.0000755483, 0.1364199966, 0.1810069382, -0.2349485457, -0.0720749721, -0.8351602554, -0.6280174255, 0.9749698043, 0.0225769859, 0.2483231574, -0.332275629, -0.3236710727, -0.2613917291, -0.8692638874, 0.1082105413, 0.4820765555, 0.167218253, -0.2434676886, 0.663633287, 0.1677938402, 0.7733967304, -0.2221482694, -0.0904685259, -0.0751915574, -0.7705404162, -0.1755816191, -0.0389277413, 0.2464714348, 0.3318366706, 0.0823194832, -0.1734172553, -0.3687077463, 0.1209372133, 0.6722809076, -0.8570510745, -0.4265993536, 0.3276351988, -0.4564574361, -0.319906652, 0.0262146126, -0.7719377279, -0.6408218145, -0.4684027731, -0.0202507358, 0.0192828588, -0.3463832736, -0.0574844442, -0.4156451523, 0.083906889, 0.2940124869, -0.5769981742, 0.280831784, 0.6646156311, 0.4215004146, 0.0700260401, -0.2126634419, -0.532789588, 0.1904465854, -0.5403279662, 0.4746697247, -0.5221742392, -0.8280391097, -0.200833708, -0.0202522893, 0.4216348529, -0.3551807404, 0.3864397109, -0.1995518506, -0.0793853924, -0.3711959422, -0.2997943163, -0.2776459157, 0.1350056082, -1.0486629009, 0.7676790357, 0.2465249598, -0.4364696741, 0.5772166252, -0.8142597675, -0.4547593892, 0.0022304358, -0.1188128218, -0.2770049274, -0.1121178642, 0.0115383714, 0.4782125354, -0.4939504862, 0.6447089911, -0.2540924549, -0.2977614701, -0.2311133593, -0.2858509719, 1.2809964418, 0.2430794686, -0.5354509354, 0.2568727732, -0.6965423822, 0.0922337174, -0.1478340477, -0.3169527352, 0.0116609149, 0.0828605071, 0.4990506768, 0.1127914339, 0.20552136, -0.2474541813, -0.2552986145, 0.1749560833, 0.6405018568, 0.9238916636, -0.0314672813, 0.478682071, -0.1653754115, 0.8276759982, -0.0504155122, 0.4915317595, -0.3215440214, -0.3629791141, -0.5315436125, -0.1638513356, 0.1091103554, 0.3133441806, 0.0109255696, 0.284314543, -0.1303407252, -0.865269959, -0.5950270295, 0.2539932132, 0.5265696049, 0.7039327025, 0.3328230381, -0.3178038895, -0.4449191689, -1.0108405352, -0.0934791192, -0.3385277987, 0.4447658658, 0.3785853684, 0.8500506878, -0.4291249216, 1.0752049685, -0.0855313316, -0.2466624677, -0.0363229103, -0.0283490978, -0.4093010724, 0.78810817, 0.7716719508, -1.3174369335, 0.102338478, -0.2162308097, -0.5066267848, 0.0600913689, -0.0184978526, -0.1107712388, -0.0986271873, 0.4951575696, -0.6554584503, 0.3468608856, 0.5175099969, -0.5677964091, 0.4874911308, 0.1873494387, 0.0110461805, -0.8537221551, 0.7367855906, 0.0129990699, -0.1448249668, -0.327126801, 0.4932573736, 0.3181218803, -0.3203864694, -0.3991048038, 0.8226343393, -0.5779172778, -0.2779932022, 0.1462823898, 0.1108946428, 0.2651961744, -0.253541708, -0.2157966942, 1.0630482435, 0.2810759544, -0.6647430062, 0.4692889452, 0.4572989345, -0.1840848923, 0.5489300489, -0.7137468457, 0.0036910882, -0.1503260732, 0.4247789681, -0.043305371, -0.4074320495, 0.2232401222, -0.2781247795, 0.2737042904, -0.0366255865, -0.3999872506, -0.2653823495, -0.1092085242, 0.1993130147, 0.2635327876, -0.242613852, 0.5504173636, 0.859442234, -0.0105334446, -0.8584275842, -0.9604504108, -0.0933264717, 0.0256891008, -0.5716819167, 0.3218783736, -0.2058070153, -0.5417627096, 0.3504826725, -0.3094910979, -0.450383395, 0.4491175115, 0.3599585891, 0.0032122871, -0.0262985602, 0.0067872535, -0.3054181933, -0.0998204052, 0.4858734906, 0.0475760922, -0.0143467104, -0.1083906069, -0.4230362177, -0.0031181222, 0.4315787852, 0.7062823176, -0.6749323606, 0.1918866336, 0.4117978811, -0.6644479632, -0.2071559578, -0.3403262794, -0.4159433544, -0.4037596881, 0.4445820749, 0.0274444781, -0.6078962088, 0.4871470034, 0.159127906, 0.2721094489, 0.421959579, 0.2187184542, 0.2281111181, 0.9092363119, 1.2202204466, -0.0641719326, 0.1782236993, -0.5064482689, 0.4105300903, -0.7324928045, -0.5424204469, -0.5223814249, -0.0699955523, -0.3932141364, -0.3322178423, -0.0531872287, 0.2931841314, -0.2705856264, 0.2517951131, -0.6206898689, 0.4508027732, 0.4093758464, -0.0299449936, 0.1981142759, -0.5243400335, 0.3043580055, -0.11180906, -0.557294488, -0.7208246589, 1.0897977352, 0.2419789135, 0.6143419147, 0.0528751947, 0.5735935569, 0.4784865081, 0.6346723437, -0.6401750445, 0.4129975736, 0.173176378, -1.2075991631, -0.1474062651, -0.2271637321, -0.5297820568, -0.365319103, 0.2257343084, -0.343795985, 0.3074259758, 0.1906395257, -0.4067658186, -0.0688631833, -0.6108952761, 1.1951489449, -0.103532739, -0.2860092819, -0.4700685441, -0.4367437065, 0.4749437273, -0.2039176077, 0.1986505836, 0.0988041312, 0.0701458529, 0.6577545404, -0.3613958657, 0.9004594684, -0.1717669964, 0.0205356367, 0.7031922936, 0.012077054, 0.3553239405, 0.1578250229, -0.1801279634, -0.1668234169, 0.054573752, -0.4470345974, -0.1835193485, 0.7563138604, -0.7059306502, -0.5391325355, -0.5258336663, -0.519974649, -0.0762165189, 0.6235810518, -0.0253940243, 0.28037256, -0.6526723504, 0.4138503075, 0.57032758, 0.1612354666, 0.2895611525, 0.3878428638, -0.0225227121, -0.0591088384, 0.5735209584, 0.3019127548, 0.0422869995, -0.2316998541, -0.0276394021, -0.0392643064, -0.4039555192, -0.3812698126, -0.1351823807, -0.8646574616, -0.3800218999, -0.4585760236, -0.2798027396, -0.5321133733, -0.3226734102, -0.5190115571, -0.2715947628, -0.3856572807, -0.4903776348, 0.4385257363, 0.8205696344, -0.2178070694, 0.0833162889, -0.6725367308, 0.2190898359, 0.1515768021, 0.3221259117, -0.1303258836, 0.2100031227, -0.1780056059, 0.2217010856, -0.3975844681, -0.7489829659, 0.1207083315, 0.0486484841, 0.6839362383, 0.2584335208, 0.1194690168, 0.7119085193, -0.1653848737, 0.8390187025, -0.1164956912, -0.9028182626, 0.5907459855, -0.5274609327, -0.0433455631, 0.5181899667, 0.3186327815, -0.1893188655, -0.0164998509, -0.8199455142, -0.7852098942, 0.7491933107, 0.2567104399, 0.2535172403, 0.1464778334, 0.2286614329, 0.025104763, 0.3757009804, -0.6576470137, 0.066601865, -0.3211517632, 0.022314433, -0.0358526334, -0.0763239488, -0.6530816555, -0.0162007287, 0.8101145029, -0.1099121273, 0.0073186336, 0.1689835787, -0.1841170788, -0.2070301622, -0.0491020009, 0.392732203, 1.0690939426, -0.1591158807, -0.2218766809, -0.359316498, -0.8020991087, -0.0662821755, 0.529161036, -0.3787975907, -0.3839814961, 0.3033493459, 0.4492145479, 0.3761391938, -0.8083600998, 0.5104202628, 0.2752486169, 0.2817038298, -0.4203320146, 0.1372065395, 0.266373992, 0.1700168699, 0.1184296235, 0.3848327994, 0.3846085966, -0.481364429, 0.3832972944, 0.326665014, -0.5596616864, -0.1292448342, 0.6522731185, 0.6250979304, -0.2808404267, 0.8593956232, -0.1284890175, -0.1533789784, 1.1150871515, 0.4071708918, 0.7997250557, -0.1710808873, 0.5187807679, 0.119583413, 0.68383497, -0.2610149086, 0.4577391744, -0.0338166468, -0.4151373506, -0.2959799767, -0.3703711927, -0.3908180594, 0.3036539555, -0.6791737676, 0.3767289221, -0.6668803692, -0.1385726184, 0.070070751, 0.2021774352, -0.8939924836, 0.4609194398, -0.2880771756, 1.1448949575, -0.6486740112, 0.3742882609, 0.787694037, -0.6810495853, -0.7867771387, -0.2982772589, 0.3750436306, -0.3901736736, 0.3448148072, 0.3034065068, -0.2552601397, 0.1473430246, -0.8452186584, -0.8892551064, 1.3099406958, 0.5228542686, -0.233338207, 0.0848060399, -0.1462051719, 0.3511115611, -0.3588936031, 0.0680812299, 0.5344334841, 0.7348807454, -0.4727346301, -0.828704834, -0.0063335281, -0.442366451, -0.2324337959, 0.1398720294, -0.553555727, 0.7123421431, -0.428420186, -0.1013970003, 0.0825198516, 0.2849930823, 0.4464051127, 0.3551619649, 0.0987444371, 0.2717303038, 0.5885264277, 0.053807538, 1.0694380999, -0.4520778358, 0.1498640776, 0.7681928873, -0.1159739494, 0.6340177059, 0.6626286507, 0.1911248565, 0.0007947177, 0.7531254888, -0.1594724506, 0.3841076493, 0.061832875, 0.1413304061, -0.2574696839, -0.552500844, -0.3917707503, 0.4733344316, 0.3057587147, -0.4316248596, -0.2912509441, -0.1517683566, 0.0646330938, 0.1032756642, -0.264416337, 0.1517567635, 0.225370273, -0.5687940121, -0.1069510058, 0.1707762182, -0.0523186959, -0.511808455, -0.3223465681, -0.1435043216, 0.214796409, -0.2550229132, -0.8051374555, 0.4957951605, 0.1028489769, -0.3879230022, -0.6012178063, 0.6045737863, 0.0997514576, -0.6193732619, 0.4479492903, 0.5801342726, -0.1232071444, 0.1442734152, -0.7497153878, 0.1087627038, -0.2117473334, -0.4033547342, -0.0297434125, 0.2515366971, -0.4520195723, 0.9162067175, 0.7738908529, -0.0136861987, -0.082558535, -0.1298327297, 0.8124451637, -0.5773777962, -0.4974335432, -0.3878718019, 0.8554775119, -0.0888362303, -0.8023600578, 0.5048499703, 0.3706994057, 1.008218646, 0.0543633923, 0.8286784887, -0.329127878, 0.0099926079, -0.2236949503, 1.0256521702, -0.3391940594, 0.0819574222, -0.2218027264, -1.030490756, -0.2799808383, 0.7660017014, 0.0968151316, 0.3781918287, 0.130514577, 0.6231495738, -0.1865584701, 0.0967234597, -0.1952881217, 0.1970610321, 0.4789534509, -0.1246669739, 0.3491654694, -0.4792633057, 0.4882993996, -0.5084201097, -0.2991001904, -0.1590157747, -1.2318495512, -0.5902152061, -0.5860810876, -0.4066132903, -0.1636694819, 0.234494105, 0.5764703751, 1.0326662064, -0.7697674036, -0.213357091, -0.4490038157, 0.002325485, -0.3430439234, -0.2326116115, 0.0456974171, 0.1581189781, -0.3518832922, 0.4996697903, 0.0256563574, -0.038686052, -0.931214571, -0.1467038393, -0.0097005134, 0.003339095, 0.2891997695, 0.445371598, -0.6028001308, -0.1810924113, 0.2429417074, -0.1800234914, -0.480605036, 0.6770331264, -0.63611269, 0.5766091943, 0.4373536408, 0.547469914, 0.0662202016, -0.3338940144, 1.0090682507, -0.3948376775, 0.2906766832, 0.7062135339, 0.3294143379, 0.6126339436, -0.5591722727, 0.848212719, -0.1752701402, -0.6542761326, -1.1328361034, 0.3357490599, -0.6105534434, -0.0824703798, 0.7102962136, -0.1552818567, -0.0720729828, 0.0688679144, -0.104229182, 0.1577188075, -0.3030872345, 0.8163092136, 0.8472830653, 0.0610965043, -0.1266471744, -0.6918917298, 0.7065327168, 0.1088925526, -0.9119935036, 0.184352681, 0.9114764929, 0.1126456931, 0.4086060524, 0.508179605, -0.2608255744, 0.5788270235, 0.175097689, 0.1351461112, -0.1125297546, -0.716803968, -0.1730270982, -0.2656756639, -0.0471193157, 0.2919127941 ]
http://arxiv.org/abs/2406.16743v1
http://arxiv.org/pdf/2406.16743v1
Adversarial Contrastive Decoding: Boosting Safety Alignment of Large Language Models via Opposite Prompt Optimization
2024-06-24T15:51:30
2024-06-24T15:51:30
Zhengyue Zhao, Xiaoyun Zhang, Kaidi Xu, Xing Hu, Rui Zhang, Zidong Du, Qi Guo, Yunji Chen
cs.CL
cs.CL
With the widespread application of Large Language Models (LLMs), it has become a significant concern to ensure their safety and prevent harmful responses. While current safe-alignment methods based on instruction fine-tuning and Reinforcement Learning from Human Feedback (RLHF) can effectively reduce harmful responses from LLMs, they often require high-quality datasets and heavy computational overhead during model training. Another way to align language models is to modify the logit of tokens in model outputs without heavy training. Recent studies have shown that contrastive decoding can enhance the performance of language models by reducing the likelihood of confused tokens. However, these methods require the manual selection of contrastive models or instruction templates. To this end, we propose Adversarial Contrastive Decoding (ACD), an optimization-based framework to generate two opposite system prompts for prompt-based contrastive decoding. ACD only needs to apply a lightweight prompt tuning on a rather small anchor dataset (< 3 min for each model) without training the target model. Experiments conducted on extensive models and benchmarks demonstrate that the proposed method achieves much better safety performance than previous model training-free decoding methods without sacrificing its original generation ability.
[ -0.3128252327, -0.8159874082, 0.1058980748, -0.1313621104, -0.4710131884, -0.1958388239, -0.048614841, -0.2835598588, -0.0348852202, 0.4386303127, -0.6339607239, -0.4305277467, -0.4485245049, 0.0567834191, -0.2816339433, 1.0041568279, 0.1329084933, 0.4754154682, -0.0537057966, -0.2586915195, -0.412799418, -0.5509450436, -1.1457873583, -0.1865505129, 0.4294538498, 0.2466955632, 0.9807397723, 1.1382060051, 0.3161719739, 0.2982500196, -0.1612151861, 0.1871512383, -0.4354649484, 0.1673313528, -0.1405064762, -0.3754564822, -0.2002992779, -0.1701540351, 0.3973621428, 0.4887283146, 0.032436952, -0.3276072145, 0.2584528625, 0.5936290622, -0.804797709, -0.0771447867, -0.3667794764, 0.0224273261, 0.1920052767, -0.493224889, -0.4003333449, -0.5373954773, -0.0594747774, -0.6512745023, 0.2302773446, 0.2701429427, 0.7737137079, 0.4095660448, -0.4190153778, -0.3127557635, -0.2356526256, 0.6884309649, -0.7714906931, 0.1078760624, 0.1920374036, 0.0861074701, -0.252732724, -0.1600524038, -0.5045208335, -0.042293001, -0.0761222318, 0.0531524532, -0.2256432921, 0.4100889862, 0.1129430309, 0.0887847245, -0.7467911243, 0.5697692633, 0.0952476338, -0.2759782374, 0.4834915996, 0.4927260578, 0.3938658535, 0.1762427837, -0.3903077245, -0.4907850921, -1.058591485, 0.1132488027, 0.694588542, 0.5601838231, -0.2054933012, 0.3443260789, -0.0533703268, 0.6241540313, 0.2798644602, 0.2030448765, -0.0396827348, -0.1682346761, -0.0889399275, 0.2810862064, 0.895123601, 0.6086286306, 0.042643141, -0.202052474, -0.3814779222, 0.4567641914, 0.213215366, -0.9147931933, -0.3877193332, 0.13715446, -0.4372861087, -0.749358356, -0.2434165776, -0.8714434505, -0.7703694105, -0.2692397535, 0.446626842, -0.4928171635, 0.072673656, -0.0295047481, 0.0075559556, 0.1785982549, 0.1842455566, -0.9938543439, 0.1560490876, 0.6937549114, 0.6286956072, -0.1378980428, -0.241162613, -1.0757631063, -0.1450334638, -0.6441527009, 0.544549346, -0.4371702373, -0.5102930665, 0.0981739983, 0.0249511506, 0.0258305352, -0.2975955904, 0.5800343752, -0.8151310086, 0.2610091865, -0.4877682626, -0.4052347243, -0.1585734785, 0.282975018, -0.5752236247, 0.4266402423, -0.2117429376, -0.9584502578, 0.0020876932, -0.3325960338, -0.7266854644, -0.1764903367, -0.2514313161, -0.5699261427, 0.0126130963, 0.6594400406, 0.0946188346, -0.4195996523, 0.0754331201, -0.3545123339, -0.5203088522, 0.1384447664, -0.6527777314, 0.9617236257, 0.4620017409, -0.4854525626, 0.4365753531, -0.6147722006, -0.0916495994, 0.2705190778, -0.2853425443, -0.2750369012, -0.0837928057, -0.0988133624, 0.2204534411, 0.1734673977, -0.3668242991, -0.0628375486, -0.6368559003, 0.1732484549, 0.952262938, -0.0262071062, 0.5236289501, -0.3617857099, 0.9085937738, 0.087566942, 0.0412355028, -0.3643417656, -0.2158662677, -0.7366390228, -0.1837824285, 0.254252255, 0.7631321549, -0.9862982631, 0.6572578549, 0.0663278028, -0.0523409359, -0.7842279077, 0.0298026372, 0.8961220384, 0.9313057065, 0.4617960453, -0.0325769149, -0.5227117538, -0.7180533409, -0.150720045, -0.2637489438, 0.1825975329, 0.3690103292, 0.0441343635, -0.1237187907, 0.5158433914, -0.4725463986, -0.033756461, -0.19371517, 0.0879025385, 0.0438048542, 0.5896146894, 0.4657340348, -0.7091827989, -0.390234381, -0.0813971609, -0.6451773643, -0.2698867619, -0.1214941442, -0.18344374, 0.3598035574, 0.8486477137, -0.383659333, 0.1857810616, 0.5697939396, -0.4233415723, 0.5114974976, -0.3185307682, 0.2313958853, -0.9899831414, 0.3301244378, -0.2329122126, -0.037850529, -0.6020337939, 0.3225086033, 0.1362850517, -0.296331495, -0.3229890466, 0.66636163, -0.4299207628, 0.2286548913, -0.5253081918, 0.116885379, 0.0876274258, 0.4521132708, -0.0380710885, 0.8597302437, 0.6920769811, -0.5800167322, 0.4894727767, 0.1842647046, 0.0073517072, 0.5554454327, -0.5874009132, 0.1293129921, -0.3401375711, 0.2482126355, -1.0713437796, 0.0071351086, 0.4534500539, -0.3596978784, 0.540225625, -0.1606740505, -0.1616535187, -0.1515528411, -0.3847639561, 0.6554554105, 0.613717556, -0.8983000517, 0.3012873232, 0.2560685277, -0.2165048271, -0.9490212202, -0.5911415815, 0.1420872062, -0.4416816831, -0.4607294202, 0.0645670667, -0.0954073966, -0.0386357009, -0.033316236, -0.0732112676, 0.2997322083, 0.3922514319, 0.0741759539, 0.5105655789, -0.345202893, -0.0691996217, 0.0170991905, -0.327488929, 0.092842944, -0.2094853073, 0.4325116575, 0.0117026465, -0.3827247918, -0.590474844, 0.4918337762, 0.2947617471, -0.0966772586, 0.826026082, 0.4895945489, -0.1872474253, -0.0990683958, -0.2701981068, -0.4255219102, -0.5208377242, 0.3685440719, -0.1965619028, -0.579793632, 0.4477160275, 0.2967858613, 0.0387226045, 0.2208237052, 0.2712804079, 0.1069330797, 1.5132642984, 0.4746886194, -0.3663614094, 0.6349785328, 0.1015918627, 0.1766596735, -0.5457871556, -0.082262516, -0.7368798852, -0.2492629141, -0.4478625357, -0.067234993, 0.3079121113, 0.2221821696, -0.3372378945, 0.1752004176, -0.423042506, 0.6918604374, 0.5531841516, 0.2359554768, 0.0646733046, -0.0830426589, -0.351025939, 0.1020734534, -0.8124815226, -0.3113104105, 0.9047855735, 0.1707765609, 1.189922452, 0.0126364203, 0.6330657601, 0.0129306633, 0.0307342764, -0.6932670474, 0.628256619, -0.4066380858, -0.1832582653, -0.2093500793, -0.6965695024, -1.0097308159, 0.2688699961, -0.2849512398, -0.3817985058, 0.2743541598, 0.4966503978, -0.5347627401, 0.1921694577, -0.8082578182, 0.8603460193, -0.3089641631, -0.1616980284, -0.1380406469, -0.9180995822, 0.2732607424, 0.2437375784, 0.1019839346, 0.3644777238, -0.1008539647, 0.5155703425, -0.3801490068, 0.7968255877, -0.3119002581, -0.3028001785, 0.0542448834, 0.1841271669, 1.0672210455, -0.1827869415, -0.0290002376, -0.3705671132, -0.2722647786, -0.4090336859, -0.5911493301, 0.882574439, -0.7088894844, -0.6785600185, -0.2544391751, -0.5857556462, -0.2819500864, 0.1920461804, 0.5829750299, 0.6829253435, -0.2657882869, 0.0558001772, 0.9161957502, -0.4291935563, 0.3808515966, 0.4244069457, 0.1799737513, -0.5710263848, 1.0063422918, -0.399523437, 0.2832602262, 0.5408953428, 0.1264094859, -0.5281531811, -0.8023059964, -0.5532804132, -0.0365885943, -0.9238211513, -0.4465555549, -0.6059436202, -0.0642242506, -0.4984353781, -0.4309121966, -0.1888774037, -0.2953084707, -0.6728747487, 0.073215358, 0.0449853353, 0.3951053321, -0.1258425415, 0.2458619028, -0.70873487, 0.4512766898, 0.2141015977, 0.0701907799, 0.0670367703, -0.4969550073, -0.190776825, 0.1244186386, -0.144093737, -0.708393991, 0.3336855173, -0.0865636766, 0.4798870981, 0.6997948885, 0.5889946818, 0.6207920313, -0.4053421617, 0.5246514082, 0.4410041273, -0.7187483311, 0.3018454611, -0.2574167252, 0.3139042854, 0.467705369, 0.2312295884, -0.4296126068, -0.2084049582, -0.3017564714, -0.9127147198, 0.9297456741, -0.1947086155, -0.0182841569, -0.1947619915, 0.073732838, -0.0512835272, -0.0333205983, -0.4433312714, -0.2356013656, -0.3325698674, -0.5553545356, -0.2161991894, -0.173371613, -0.4924216568, 0.4271731377, 0.906014204, -0.3287802935, 0.0916484371, -0.0506724678, -0.0766355097, -0.2750173509, 0.3663667142, 0.6257755756, -0.0418002307, 0.0059223138, 0.2977320552, 0.1718208939, -0.1968747824, 0.3207296431, 0.3414902687, -0.1228368431, -0.4154027104, 0.2139066607, 0.7353333831, 0.0768319219, -0.6851966381, 0.7078066468, -0.2230335176, 0.1531575918, 0.3176809847, 0.3102073073, -0.1496455669, 0.3570416272, 0.1641517282, 0.144464314, 0.1071257815, -0.1528331339, 0.1420845389, 0.8569081426, -0.3669145703, -0.153932035, 0.8105382919, 0.42911461, -0.2162469029, 0.5019083023, -0.225035727, -0.4639786184, 0.7703087926, 0.6954358816, 1.0341008902, -0.2792606056, -0.0891419202, 0.2917548418, 0.2017597258, -0.1287422031, 0.0445262715, 0.0899000019, -0.6717295051, -0.115798831, -0.4164635241, -0.3517810106, 0.2757525444, -0.7730184793, 0.3667992949, -0.4935261607, 0.1368245929, -0.3337970674, -0.1033321917, -0.2360887229, 0.4273919463, 0.0840145051, 0.7031918168, -0.805877924, 0.6450146437, 0.5758632421, -0.0354517139, -0.5001956224, 0.1432893872, 0.1934633851, -0.880633831, 0.2721494436, 0.2660358846, -0.4985166192, 0.0515923686, -0.4021306038, -0.5040630698, 0.8080006242, 0.6524899602, -0.6269251108, -0.2269560099, -0.2676824629, 0.4529514015, -0.4339961708, 0.0291919429, 0.3254420161, 0.0675634593, 0.126782909, -0.4015287757, 0.503038466, -0.2839612663, 0.0689499676, 0.2162238657, -0.4678071737, 0.6049305797, -0.5221962929, -0.5663903952, 0.4784429371, 0.5024257898, 0.2628862858, 0.0269280784, 0.4972872138, 0.6735438704, 0.5074547529, 0.0730459243, 1.066519022, -0.4784775674, 0.0333454534, 1.0992816687, 0.0075387331, 0.5279142857, 0.3383597732, 0.1818799227, 0.1176220402, 0.5298871398, 0.1210485026, 0.8949829936, 0.0180432238, -0.3125933409, -0.3029952049, -0.1660929769, -0.6234309673, 0.0540380664, 0.2931405902, -0.4571369886, -0.3203022778, -0.1427339464, 0.0763987303, 0.2256752253, -0.3077839315, 0.8152768612, -0.0887524709, -0.8907091618, 0.8565653563, 0.0732785612, 0.7852196097, -0.467219919, 0.1081867293, -0.317230016, 0.3145709932, -0.0471754372, -0.4825991988, 0.0685591698, -0.027775256, -0.0768865123, -0.0589764677, 0.4074130356, -0.57580477, -0.0553128347, 0.2499750108, 0.0025402191, -0.2473982126, 0.2409290075, -0.8178756237, -0.0113544222, 0.0622835606, -0.1059635431, 0.5531572104, 0.3047222793, 0.1625244915, 0.6379081607, 0.701846838, 0.0665513203, -0.2132625282, -0.0214957464, 1.0018132925, -0.6575224996, -1.0079039335, -0.8750603795, 0.2268204242, 0.2530720234, -0.1594288796, 0.5720446706, 0.3465256989, 0.4837788939, 0.0677046627, 0.7307076454, 0.2933195233, 0.212328136, -0.8576823473, 0.5648853779, -0.4400743544, 0.4581789374, -0.1832240671, -0.5515555143, -0.327596575, 0.4296159148, -0.1438893825, 0.0390284024, 0.525652945, 1.2190978527, 0.0594352596, 0.08728645, 0.2555995584, 0.0825533196, 0.3810604811, 0.6698366404, 0.805185318, -0.3722713888, 0.9024547338, -0.048447866, -0.197020337, -0.4385842681, -0.9040605426, -1.037103653, -0.2336769253, -0.2941823006, -0.6655703783, 0.4054370821, 0.9607393146, 0.5531115532, -1.0938347578, 0.1523474902, -0.3904464841, 0.0801007599, -0.1521113217, -0.2333645672, 0.5249940157, -0.6018035412, -0.6702893376, 0.7119396329, 0.1318620741, 0.47654742, 0.0155694596, -0.4460310042, 0.0155389141, 0.134344846, 0.0414321534, 0.5617301464, -0.6256827712, -0.0813785866, -0.1587857008, -0.4403982162, -0.0680583939, 0.682205081, -0.7049478292, 0.4999864697, 0.63570261, 1.0305150747, -0.0492404625, 0.3494124413, 0.8029721975, -0.7374622226, 0.2241245806, 0.2282293439, 0.3647803366, 0.5499987602, -0.6749145389, 0.1131717861, -0.0298791993, -0.5110089779, -0.8849011064, 0.3968634009, -0.5715035796, -0.4850530326, 1.1612797976, -0.3789467514, -0.0470735021, -0.1915195286, -0.3365384638, 0.3213919401, -0.5902983546, 0.819648087, 0.441519469, -0.0545216985, -0.0949363932, 0.2327020317, 0.7923888564, 0.6713413, -0.6334503293, 0.2222844958, 0.5924447179, 0.059726119, -0.0269475281, 0.2411449701, -0.0881016403, 0.5408481359, 0.2168125957, -0.3103477955, -0.3483885229, -0.2987377942, -1.0413305759, 0.1906332672, 0.0150962221, -0.4464771152 ]
http://arxiv.org/abs/2406.16732v2
http://arxiv.org/pdf/2406.16732v2
CLIMATELI: Evaluating Entity Linking on Climate Change Data
2024-06-24T15:36:00
2024-06-27T14:44:51
Shijia Zhou, Siyao Peng, Barbara Plank
cs.CL
cs.CL
Climate Change (CC) is a pressing topic of global importance, attracting increasing attention across research fields, from social sciences to Natural Language Processing (NLP). CC is also discussed in various settings and communication platforms, from academic publications to social media forums. Understanding who and what is mentioned in such data is a first critical step to gaining new insights into CC. We present CLIMATELI (CLIMATe Entity LInking), the first manually annotated CC dataset that links 3,087 entity spans to Wikipedia. Using CLIMATELI (CLIMATe Entity LInking), we evaluate existing entity linking (EL) systems on the CC topic across various genres and propose automated filtering methods for CC entities. We find that the performance of EL models notably lags behind humans at both token and entity levels. Testing within the scope of retaining or excluding non-nominal and/or non-CC entities particularly impacts the models' performances.
[ -0.7034521103, -0.655408144, 0.2692344487, 0.0321634226, -0.2338208854, 0.0878996775, -0.4399217367, -0.9445847273, -0.0036915534, 0.4437921345, -0.614697516, -0.5531138182, -0.4557775855, 0.4191920757, -0.5387936234, 0.9491567612, 0.2358623445, -0.2001727223, -0.3793898821, -0.0361945033, -0.1448410004, 0.0114029609, -0.9563596845, -0.2736480236, 0.6968031526, 0.5295730233, 0.9178641438, 0.4067968726, 0.4172534347, 0.2966608405, -0.1978837997, 0.1661503613, -0.6225342751, 0.3031465709, -0.4559174478, -0.0348942615, -0.1120076552, -0.1496870369, 0.5627884269, 0.4366560876, 0.1266192049, 0.6177483201, 0.0473819524, 0.4290319085, -0.7524251342, 0.2735160291, -1.2053261995, -0.3553894758, -0.3486048877, 0.0508911274, -0.3994126916, 0.0429120176, 0.2067347616, -0.8885508776, 0.7658201456, 0.7182296515, 0.6633388996, 0.573092103, -0.4193536937, -0.3061551452, -0.6425332427, 0.4232710302, -0.4092671871, 0.6476198435, 0.2274215966, -0.1238555834, -0.0980530158, -0.5039397478, -1.0230457783, -0.3779509962, -0.1721598059, -0.180951193, -0.0768398494, -0.2128963023, 0.3002887964, 0.2453785986, -0.42409271, 0.0523913465, -0.5500029922, -0.2552953959, 0.7966532707, 0.0541163385, 0.4008936584, -0.5696922541, -0.392087996, -0.1678222567, -0.8668036461, -0.3278849423, 0.5612303615, 0.4447074234, -0.1139347255, 0.4741839767, 0.0256104711, 0.413092941, -0.02383033, 0.2806539237, -0.1569186151, -0.4569594264, -0.2326543331, 0.3191231787, 0.634285152, 0.3519499004, 0.0279152077, -0.2296621352, 0.1394669563, -0.2296157777, -0.0751752108, -0.6988299489, -0.6918829083, -0.2120868266, -0.1349136531, -0.118612051, 0.080314979, -1.1628642082, -0.6678434014, -0.3811264336, -0.0860132203, 0.1105735153, -0.4724724293, -0.2733714581, 0.1050096005, -0.0475974828, 0.2888977528, -0.6582698822, 0.3474886715, 0.5776221752, 0.6390148401, -0.3642810881, -0.152471453, -0.2770747542, 0.0850550085, -0.1865088493, 0.8928166032, -0.8498920798, -0.6334559321, -0.3084966838, 0.1879380792, 0.0323927067, -0.2131575346, 0.3769897819, -0.7683609128, 0.0142170871, -0.5862995982, -0.5969920754, 0.1500722617, -0.1746038496, -1.1683369875, 1.2374640703, -0.2384946793, -1.0570052862, 0.8141089082, -0.8113533854, -0.1445899308, 0.1342356801, 0.3215649128, -0.5330877304, -0.3952649832, 0.1065277979, 0.0547243804, -0.7273583412, 0.4532130063, -0.5778838992, -0.1315852702, -0.0371867903, -0.3242725134, 0.7292337418, 0.338024348, -0.3558343649, 0.1823206693, -0.6259281635, -0.3341917992, -0.080590114, 0.0400943123, -0.6230110526, 0.2036954314, 0.5689537525, -0.0164283775, 0.1993324459, -0.4562236369, 0.2695741057, -0.0462966412, 0.4506605864, 0.6829153895, 0.2530884445, 0.3321548104, 0.0313046314, 0.1961957365, 0.0762328207, 0.091595009, 0.1055428833, -0.7627983689, -0.8498156071, 0.2108087391, 0.2995180488, 0.4665238261, -0.9343252778, 0.0303134248, -0.2283337414, -0.8994238377, -0.430290699, 0.2893676758, 0.0257544294, 0.5812200308, 0.6297079921, 0.2286738902, -0.4711677432, -0.7311509848, -0.4089019299, -0.6411142945, 0.1013023555, 0.2891842425, 0.9593448639, -0.137684986, 1.0026950836, -0.518635869, 0.2593404949, 0.1311974972, 0.1162986532, -0.2045139074, 0.3170238733, 0.5447850227, -1.2226263285, -0.3635034859, -0.1316885054, -0.234443903, -0.2175101489, -0.1198355108, -0.2088627517, 0.1403645724, 0.3778848648, -0.4027267098, 0.5839335918, 0.4273697436, -0.6823462844, 0.3548707068, -0.0840522647, 0.6087552309, -0.7808506489, 0.272705555, 0.3941965103, -0.1476098746, -0.5411575437, -0.0897191018, -0.1760383695, -0.1041711047, -0.5376929641, 0.8070626855, -0.5108927488, -0.1583318263, 0.0172287356, 0.2828435898, 0.0707801357, 0.0975623056, 0.011795124, 0.7938037515, 0.4741639495, -0.6937134862, 0.3470764458, 0.133774966, -0.1961184591, 0.4321433902, -0.3460731208, 0.4358180761, -0.2443128973, 0.2856281996, -0.729665041, -0.1118905172, 0.3186921775, -0.1317090094, -0.0191219337, -0.0681208, -0.6582922339, -0.355553627, -0.0015681288, 0.4661921859, -0.0042819167, -0.4605683684, 0.3646611571, 0.4161906242, 0.1789581776, -0.1177044287, -0.3166226149, 0.303597033, -0.5219963193, -0.3450798094, 0.4192707837, -0.3913560808, -0.454521656, 0.498440057, -0.1781688929, -0.3495269418, 0.5253872275, 0.3498959839, 0.3953815997, -0.0993037075, 0.4437554777, -0.1311316788, 0.1657404155, 0.2089139372, -0.2910132706, 0.1637660116, -0.0372314937, -0.0765618384, -0.3559982479, 0.1144248173, 0.5858982801, -0.1103922576, 1.1994119883, 0.6086885333, -0.7600107789, 0.1401235908, -0.5711134076, 0.0702290684, -0.3665385544, 0.0628409088, -0.1495397091, -0.8277299404, 0.4457355738, -0.0418283045, 0.0183425285, 1.0435422659, 0.3414927125, 0.3032372594, 0.4392306209, 0.8560394645, -0.3613137305, 0.3526686728, -0.0247768108, 0.3950932324, -0.6679034829, -0.5981752276, -0.868745625, 0.0539152287, -0.8997458816, -0.4062318206, 0.1516521126, 0.1519315094, -0.3595911264, 0.6568257213, -0.5480342507, 0.4726722836, 0.1572135091, 0.1481791288, 0.6112000942, -0.2830598652, 0.3634482622, -0.0144030694, -0.4183137119, -0.4914317131, 0.666780293, -0.0718313381, 0.564219892, 0.1206724048, 0.1574068218, 0.8793333173, 0.7304166555, -0.2650125623, 0.4189759493, 0.0783615634, -0.7494066358, -0.6428908706, -0.3211968541, -0.7452532649, 0.0649340674, -0.5218954682, -0.4900154769, 0.3713714778, 0.2520181239, 0.1141058356, 0.6857370734, -0.4507848918, 0.7016249299, 0.0019017733, -0.4882401526, -0.3581472933, -0.2324457914, 0.2802458405, -0.2860157788, 0.4154562354, -0.4523768723, -0.1917275488, 0.5697469115, -0.3080377579, 0.6637920737, -0.2069823742, 0.1060088351, 0.4224641919, -0.1306214929, 0.2005729675, 0.5114465356, -0.4542274773, 0.3417595625, 0.0716556087, -0.4354936182, -0.2045249194, 1.0458453894, -0.6566880345, -0.539943397, -0.3371798992, -0.038890373, 0.0216845982, 0.0869173259, 0.3008834124, -0.0232201628, -0.4277525544, -0.0276523456, 0.6871007681, -0.1369795501, 0.2501000464, 0.4699950814, -0.0587522723, -0.2116404921, 0.6029676795, 0.0795974955, 0.0417944416, 0.0940968022, 0.0460897833, -0.1065752506, -0.2986425459, -0.56791538, 0.0081400815, -0.6645952463, -0.2984196842, -0.5471637249, -0.0229780134, -0.4797286987, 0.004667534, -0.1115085334, 0.106453687, -0.5563133359, -0.0537308417, 0.6321947575, 0.9315726757, 0.1695961654, -0.1781388074, -0.2662037611, 0.2074248791, 0.0261811037, 0.1500076056, -0.0175305735, 0.0501557142, -0.228139028, 0.0784548, 0.022310596, -1.2172470093, 0.2198766321, 0.6379974484, 0.3150321245, 0.147798866, 0.3282053173, 0.893933773, -0.507481277, 1.0229626894, -0.0368324369, -1.3646038771, 0.7795905471, 0.0874181613, 0.1114010364, 0.553445816, 0.4644120932, -0.5888119936, -0.3119623959, -0.5825917721, -1.005081296, 0.1805932671, 0.3506238461, -0.0576969422, -0.2318639904, 0.7220596075, 0.0236631762, 0.1555638313, -0.412966609, -0.5242255926, -0.1953291595, 0.2188569903, -0.1015832424, 0.028984433, 0.2377961129, -0.3699269295, 0.8909417391, -0.12634027, -0.0407460183, 0.5097228885, -0.2734081745, -0.3452503681, 0.1905992627, 0.3899447322, 0.5286703706, 0.2870272994, -0.0927390531, 0.6521903872, -0.2670828402, -0.1280045509, -0.0717879161, -0.267375946, 0.2097560018, 0.3469726741, 0.9556801319, 0.7050375342, -0.4152549803, 0.1276237667, -0.1290765554, 0.313593477, -0.4334036708, 0.1305069029, -0.0015658865, 0.0739476904, 0.3902371228, 0.0935774967, 0.4329554737, -0.5171450973, 0.2102232873, 0.0561074875, -0.3346985579, -0.4285578132, 1.201302886, 0.2397478223, 0.0416294374, 0.8356670141, -0.007771411, -0.4642132521, 0.6950154901, 0.2881655991, 0.5845225453, -0.254711777, 0.2384635657, 0.7607330084, 0.4570057988, 0.1408388019, -0.2182253748, -0.4349357486, -0.5621672273, -0.2765620947, -0.5833147764, -0.6779543757, -0.06319464, -0.7526577711, 0.5874982476, -0.2083384097, -0.1407732815, 0.1254479587, 0.1769337356, -1.1032028198, 0.2414282113, 0.3457386792, 1.1613030434, -1.0874314308, 0.8638601899, 0.6520844698, -0.2363364697, -0.563090086, 0.0686072707, 0.1876947284, -0.247974351, 0.6939110756, -0.0292579997, -0.4060901403, 0.0542919822, -0.8892583847, -0.8955853581, 1.2425686121, 0.2960057855, -0.5990578532, -0.0704555437, -0.133867532, 0.6405204535, -0.4125885069, 0.2289116234, 0.6561945081, 0.9586375952, 0.0478584357, -0.772464931, 0.0519961976, -0.3880265355, 0.0046141357, 0.3098373711, -0.7379428744, 0.3555860519, -0.182345435, -0.5223422647, 0.0049323137, 1.031935811, -0.0205661543, 0.7021369338, 1.0583311319, 0.3228391111, 1.1214731932, -0.2639315426, 0.8563037515, -0.5776836872, 0.798971355, 1.0480591059, -0.5415076017, 0.8821514845, 0.1519839019, 0.068464458, 0.5817247033, 1.0045639277, -0.2964270413, 0.4171003103, 0.2492655367, -0.3916553557, -0.3850237727, -0.3805611134, -0.1055801436, 0.1139203459, 0.5339294672, 0.0489844717, -0.1039880216, 0.0501845255, 0.2131787986, -0.0316411257, -0.3710039556, 0.6090046763, -0.128258571, -0.6008866429, -0.072112307, -0.1302702725, 0.3565635979, -0.0382717475, -0.1129816025, 0.0448715277, -0.5987325311, -0.5203272104, -0.5799564123, 0.5635815859, 0.3717254698, -0.254273057, -0.0194961131, 0.5747684836, -0.6847258806, -0.4123049974, 0.4713326991, 0.0280405376, 0.166236192, 0.0135038178, -0.8621321917, 0.1436219215, 0.0333555378, -0.3301874101, -0.0575417802, 0.1683618426, -0.2470991015, 0.6910705566, 0.9200442433, 0.0037550069, 0.0338699147, -0.1676791608, 0.9907433987, -0.6039318442, -0.1626108736, -0.7473064065, 0.4385834038, -0.32791996, -0.5154632926, 0.51918751, 0.5734117031, 0.8549532294, 0.2737175822, 0.4732603431, -0.2483494133, -0.0720196366, -0.6455835104, 0.6908909082, -0.4024348259, 0.4621963799, -0.1807355136, -1.2128967047, -0.0798421279, 0.0672863126, -0.3306283355, -0.0827832744, 0.6898033023, 0.599660635, 0.268097192, 0.138055414, 0.2705902457, 0.3364311755, 0.2667761445, 0.1363264322, 0.3695232272, -0.2845832705, 0.3790792823, -0.3255648613, 0.2977021635, 0.0599675514, -1.0971997976, -0.7905649543, -0.9230434895, -0.7949922085, -0.2770359516, 0.1499813944, 0.8465045094, 0.6578957438, -1.0064944029, 0.289621681, 0.0808510855, 0.4063791931, 0.2849585414, -0.2628926933, 0.3991421461, 0.1954308003, -0.8697209358, 0.3802182376, 0.237370953, -0.428827107, -0.6785590053, 0.082031779, -0.1330396682, 0.0448732339, 0.1177942529, 0.227366358, -0.9889894724, -0.5443536639, -0.1606410742, 0.0631146207, -0.2171597034, 0.8903082013, -0.8221535683, 0.3747093081, 0.4417719245, 0.538367033, 0.4592515528, -0.1109743416, -0.0263589118, -0.1562402546, -0.1264862865, -0.1887062639, 0.4398005009, 0.6460953355, -0.8901489973, 0.4854136705, 0.4182400405, -0.7851619124, -0.5637351871, 0.0195194408, -0.6703784466, -0.0720489174, 0.7499960661, -0.2136287838, -0.2890534699, -0.2146707177, 0.1005875468, 0.2554457188, -0.5845149755, 0.7185931802, 0.9687330127, -0.004402881, -0.2208974808, -0.6108647585, 0.5355188251, -0.1173425242, -0.8708461523, -0.0609315112, 0.517883718, 0.5243386626, 0.1595927328, 0.3043723106, 0.2979816198, -0.0305880178, -0.2334120572, 0.1437978446, 0.2400626391, -0.3737485707, -0.064302735, -0.0162297543, 0.0039352104, 0.470587939 ]
http://arxiv.org/abs/2406.16722v1
http://arxiv.org/pdf/2406.16722v1
Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mamba
2024-06-24T15:27:21
2024-06-24T15:27:21
Yuchen Zou, Yineng Chen, Zuchao Li, Lefei Zhang, Hai Zhao
cs.CL
cs.CL
Transformer, a deep neural network architecture, has long dominated the field of natural language processing and beyond. Nevertheless, the recent introduction of Mamba challenges its supremacy, sparks considerable interest among researchers, and gives rise to a series of Mamba-based models that have exhibited notable potential. This survey paper orchestrates a comprehensive discussion, diving into essential research dimensions, covering: (i) the functioning of the Mamba mechanism and its foundation on the principles of structured state space models; (ii) the proposed improvements and the integration of Mamba with various networks, exploring its potential as a substitute for Transformers; (iii) the combination of Transformers and Mamba to compensate for each other's shortcomings. We have also made efforts to interpret Mamba and Transformer in the framework of kernel functions, allowing for a comparison of their mathematical nature within a unified context. Our paper encompasses the vast majority of improvements related to Mamba to date.
[ -0.5948001146, -0.3839035332, 0.785885334, 0.083443135, -0.1467959285, 0.2723415792, -0.2363412976, -0.2014528364, 0.1507838666, 0.4486786425, -0.4505818486, -0.1799920201, -0.7292429805, 0.03097439, -0.4512423575, 0.7052648664, 0.276932627, -0.0230671186, 0.0637449995, -0.1974299848, -0.7249546051, -0.5136823654, -0.4265694022, -0.7786189318, 0.5240972638, 0.1773768812, 0.9642761946, 0.2329401672, 0.3682903051, 0.3323979676, -0.3271842897, 0.1307525784, -0.3794846237, 0.2825421095, -0.2223643959, -0.3773943484, -0.2091199458, -0.1639613807, 0.6995615959, 1.1994006634, -0.0676121861, -0.1156637743, 0.2831054628, 0.8902463913, -0.5556717515, 0.3081024885, -0.4801178575, 0.0285723228, -0.0072075408, 0.0762275234, -0.3206996024, -0.274666369, 0.428209722, -0.6313275695, -0.0246979147, -0.0433207713, 0.7553446889, 0.3479506969, -0.9065444469, -0.3541828394, -1.0493649244, 0.7459056973, -0.547604084, 0.4437728226, -0.091514498, 0.5628539324, -0.4554039538, -0.8677448034, -0.4650246203, -0.1741618812, -0.076844126, 0.1804795712, -0.4436384141, 0.0177357253, -0.226910755, 0.5512789488, -0.1639831811, 0.1675177813, -0.6097878218, -0.2133068442, 0.514341414, 0.3109969795, 0.1339152604, -0.3950284719, -0.1665949672, -0.1328558624, -0.7302271128, 0.3273979425, 0.3110427558, 0.5152189136, 0.0820484012, 0.5388108492, -0.1482349634, 0.8524612188, -0.1269343346, 0.2769593596, 0.0505693257, -0.1674167663, -0.3847092688, 0.1659967303, 0.9193741679, 0.2534882128, 0.1565954387, -0.2228133231, -0.0731084198, -0.0909979641, 0.8302541971, -0.3662385941, -0.3828000128, -0.067562595, -0.3914114833, -0.3733798563, 0.0838045254, -0.7293952107, -0.6687324643, -0.4049429893, 0.2161688209, -0.369684875, -0.4695835412, 0.2386967838, 0.1972043663, 0.2972568572, 0.1656639278, -0.8237335086, 0.3479483426, 0.9827364087, 0.9407325387, -0.037743073, 0.0630061701, 0.1411434561, -0.2334840745, -0.3871027529, 0.835046351, -0.8136944771, -0.9419765472, 0.0982423052, -0.1174055561, -0.1057805121, -0.1992634982, 0.7199190259, -0.4828562438, 0.1997456551, -0.386095047, -0.2677298784, -0.8392120004, 0.3420819342, -0.9361183047, 0.8859972358, 0.0211029351, -0.2721109986, 0.0615511537, -1.0909405947, -0.7527217865, -0.3087159395, 0.1045810357, -0.2436586171, 0.1854904592, 0.3183139563, 0.3669477403, -0.6355977654, 0.4920430779, 0.114936091, -0.472691983, 0.3537466824, -0.3368341923, 0.8973939419, 0.3228845596, -0.052890636, -0.0886992291, -0.9669783711, -0.1383426487, 0.0067639672, -0.4832438827, -0.2977696061, 0.1732728183, -0.315346539, -0.0197662991, -0.0376546122, -0.471755296, 0.4403428435, -0.7312452793, 0.8073759675, 0.4781323373, 0.1636650115, 1.2653357983, 0.2494651824, 0.4952459633, 0.2597971261, 0.2144931108, -0.5471420288, -0.7179324031, -0.9687140584, 0.268561393, 0.3450692892, 0.4035547376, -0.7389340997, 0.4272570908, -0.3516269028, -0.736092627, -0.6040433049, -0.3567495346, 0.0463072658, 0.6991285086, 0.699187696, 0.0115532456, -0.5427546501, -0.8876625896, -0.3387610614, -0.0863547102, -0.0984710455, 0.2447549701, 0.0941313133, -0.2317533344, 1.0593833923, -0.4591339231, -0.3471916318, -0.3428197205, 0.0317593999, 0.4613600373, 0.4852378964, 0.3955467641, -0.9081480503, -0.0614355728, 0.0474070944, -0.6388179064, 0.1243548691, -0.2951867282, 0.0195974223, -0.3227717876, 0.4579865634, -0.5791526437, 0.3766766191, 0.4827535748, -0.0190645382, -0.0771081522, -0.0491381139, -0.0363156572, -1.0991446972, 0.0652457774, -0.0730736032, 0.3806010783, -1.0154548883, -0.06691733, -0.0008464658, -0.1000473723, -0.2251758873, 0.1779044122, -0.5844660997, -0.0286656618, -0.2980349362, 0.2685078979, 0.0599958077, 0.4849435985, -0.4618878067, 0.5332624316, 0.8311563134, -1.030579567, 0.379245311, 0.3017221987, -0.2317563891, 0.2944912314, -0.650343895, 0.1126859039, -0.2223483771, 0.2208165228, -1.1742811203, 0.3260428607, 0.4861991107, -0.5881115198, 0.2708981931, -0.2470462173, -0.1450367272, -0.4039905369, 0.0600746386, 0.3913588226, 0.5754021406, -0.4498510063, 1.1411734819, 0.4751290381, 0.2110542357, -0.6750870347, -0.7246028781, 0.504453361, -0.0224676672, -0.4465076625, 0.2436587363, 0.5269065499, -0.2533700168, -0.1334620863, -0.0970674455, -0.0670437515, 0.2787230909, 0.592859149, 0.2499571443, -0.5142194629, 0.3080635965, 0.1463135928, -0.4754880369, 0.3078332543, -0.6652393341, 0.4725065231, -0.4669999778, -0.2039601505, 0.0496997908, 0.1027799621, 0.3851866722, -0.5255925059, 0.6922287941, 0.2485571504, -0.0978479534, -0.0371939465, -0.1520124227, -0.0393269993, -0.5463722348, 0.1094795316, -0.3726952374, -0.9190375209, 0.483056426, -0.5071650743, 0.1572801918, 0.6290309429, 0.2325808257, -0.0705845654, 0.7546467185, 0.9377600551, 0.0076611196, 0.0824966058, -0.338417083, 0.9788736105, -1.1167519093, -0.6360396147, -0.7047179937, -0.7419192195, -0.7442666292, -0.1150703579, 0.402502954, -0.1609744579, -0.2352991849, 0.5757944584, -0.5959618092, 0.2910303473, 0.3856213689, -0.3250474632, 0.2585964203, -0.3458938897, -0.4869152606, -0.0847822279, -1.018455267, -0.5627728701, 0.9244965911, 0.2802295685, 0.7483195066, 0.0488789938, 0.2641145885, -0.0649434477, 0.3281430006, -0.9788838029, 0.6492696404, 0.069302775, -0.5705449581, -0.4220364988, -0.147020027, -1.194853425, 0.455789566, -0.3553088009, -0.65159899, 0.4171798527, -0.025931878, -0.5678806901, 0.6378452778, -0.4637010992, 0.5498785973, -0.157665506, 0.0920847878, 0.0988295451, -0.8993752003, 0.4438643157, 0.0134045128, 0.1806120425, 0.0293020997, 0.0096637802, 0.4295224249, -0.2065672874, 0.6850904226, -0.2022992671, -0.2768552899, 0.4054780006, 0.362410903, -0.0463409163, -0.0035645186, -0.0783101767, 0.4618188143, -0.3823367655, -0.0276403558, -0.8286928535, 0.6470181942, -0.5777151585, -0.4771272242, -0.3553870618, -0.3962810338, -0.2887550592, 0.4035320282, 0.2909342349, 0.451687932, -0.2182208747, 0.3721574545, 0.57213521, -0.2892579138, 0.7184869051, 0.191835314, -0.3966098428, -0.1367197931, 0.6040532589, 0.0687190369, -0.0664901808, 0.5415474772, 0.0437483341, -0.4351725578, -0.3819120526, -0.5020327568, -0.0644335374, -0.8495271802, -0.3100475371, -0.602833271, -0.3515219688, -0.0282593966, -0.2143245488, -0.7652935386, -0.4582337141, -0.5159672499, -0.191620633, 0.1103972271, 1.1715618372, 0.0253705289, 0.5469548702, -0.8019905686, 0.0304612834, 0.0435469598, 0.2534350157, 0.4623651206, -0.3827044368, -0.2053366452, 0.21677953, -0.3026087284, -0.7847803831, 0.124655515, -0.1027784273, 0.5564629436, 0.3718721569, -0.0124441246, 0.5755799413, -0.7343457937, 1.002471447, 0.3715826273, -0.9886537194, 0.4151235223, -0.06917236, 0.2839685678, 0.4380464554, 0.4042250216, -0.6086958647, -0.154589057, -0.390599221, -0.7905263305, 0.172576502, 0.4073891044, 0.3576000631, 0.4002449811, 0.4643832743, -0.1101614833, 0.1391554326, -0.6004116535, -0.387101233, -0.6322350502, 0.100488618, -0.2304366827, 0.06477198, 0.1217448413, -0.2934441566, 0.3798469007, -0.1228651181, 0.2549932003, 0.1694057435, -0.1348121464, 0.0984704494, 0.3146935701, 0.5424450636, 0.5635430217, 0.4554752111, 0.236989066, 0.255571425, -0.4447598159, 0.3801401556, -0.1293223202, -0.2978976667, 0.1061503738, 0.1537364721, 0.7755975127, 0.7796860337, -0.131902054, 0.2875146866, -0.022821486, -0.2413588166, -0.1563879997, 0.3008385599, 0.2001366913, 0.3802370727, 0.5680631995, 0.5578232408, 0.3048776388, -0.3820155263, -0.1315755993, 0.3910502791, -0.753338635, -0.3089736104, 0.739018321, 0.2887249589, -0.613453567, 0.7084502578, 0.097923167, -0.7100229859, 0.4662955999, 0.1446746886, 0.756688118, -0.33626616, 0.2347852886, 0.3489013314, 0.7781110406, 0.0835681185, -0.1117622256, -0.2457593381, -0.8229609132, -0.3862657249, -0.5748183727, -0.2847958505, -0.1033268273, -0.810080111, -0.041666247, -0.4908820391, -0.4266459644, -0.0151368184, -0.1849043667, -0.3802113831, 0.2336498797, 0.18497549, 0.9046192765, -0.5091910362, 0.7022508979, 0.7097461224, -0.3544405699, -0.779881537, 0.064863503, -0.0266390517, -0.5456742048, 0.4801204205, 0.1607445776, -0.5864548683, -0.0673425794, -0.4044620097, -0.9655081034, 1.1750378609, -0.129046604, -0.53727597, -0.0602319725, 0.2807911336, 0.6919057965, -0.2670195401, -0.1274753809, 0.8698731661, 0.6641842127, 0.081182681, -0.6658701897, -0.0691613629, -0.1809982061, 0.3509283364, 0.4181712866, -0.5727957487, 0.8358775377, -0.3349248767, -0.3829837739, 0.1460022032, 0.9358523488, -0.3146873116, 0.0406400859, 0.4183030427, 0.2348837256, 0.7176960707, -0.4469862878, 0.8431289792, -0.2076461315, 0.3409031034, 0.7386863232, -0.3784606159, 0.5323697329, 0.4333825409, -0.1997512877, 0.6726918221, 0.385076493, -0.2443230301, 0.4500264525, 0.1514948606, -0.1680033207, -0.1020203158, 0.2553845644, -0.315860182, 0.6196922064, 0.4177135825, -0.2115596384, -0.4326209426, 0.2168346643, 0.0842270032, 0.1753435582, -0.4535483122, 0.6632170081, 0.4206273556, -0.7574232817, 0.3371040225, 0.1623018831, 0.3924921453, -0.4980537295, -0.0154893063, -0.221867606, 0.1737558395, -0.1046276465, -1.0117173195, 0.393686831, -0.2817030549, 0.1540570259, -0.1022228599, 0.9104338288, -0.0522856377, -0.4046621323, 0.3938907385, 0.3951062262, -0.1414350122, -0.0715117604, -0.5595468879, 0.0612258166, -0.0752124116, -0.3266490698, -0.0701030418, 0.4347064495, 0.479524523, 0.821886301, 0.7770628333, -0.2687807679, 0.2310173362, 0.0881664455, 1.0663200617, -0.7933757901, -0.6678125858, -0.8769521713, 0.6332041025, 0.0162157174, -0.3460016549, 0.6934790611, 0.4264825284, 0.5348629951, 0.1163776219, 0.6351191401, 0.2196969241, 0.2802554071, -0.5981805325, 1.0085254908, -0.4349658489, 0.3021458387, -0.0920399055, -1.0419845581, -0.5525260568, 0.729788661, -0.2679769397, 0.1024896055, 0.7003445625, 0.6290687919, -0.2355378121, 0.4493026733, 0.2373646349, 0.1648231447, 0.4571750164, 0.6050108671, 0.9972268343, -0.757301569, 0.6847638488, -0.1022679061, 0.1692505926, -0.2029504329, -0.9068972468, -0.7472497225, -0.8898643851, 0.1306480914, -0.2765210271, -0.3272639513, 0.3625945449, 0.5844756961, -0.6499739885, -0.2374944389, -0.1274003536, 0.2003654987, 0.0031259833, -0.1221592128, -0.1130162627, -0.1788036823, -0.4443377256, 0.7418843508, 0.6814679503, 0.0083720423, -0.6367944479, -0.1500710249, -0.1058460772, 0.1254253834, 0.7319395542, 0.3721412122, -0.5957515836, -0.1007989049, 0.2755282223, 0.0310728494, 0.3945859373, 1.1778827906, -0.9892639518, 0.2597077191, 0.1794959307, 0.9713281989, 0.3809080124, -0.2816724777, 0.7488968372, -0.3856457472, 0.0356164649, 0.324369669, 0.4533908665, 0.5038904548, -0.1971757263, 0.5113912821, -0.0534882396, -0.3855687678, -0.7068240643, 0.3460003734, -0.9749972224, -0.3235455155, 0.8515007496, 0.1969739944, -0.2547853291, -0.1434800029, -0.2077003568, 0.2921343446, -0.1562503874, 0.5127007365, 0.6865081191, -0.005718844, -0.138820529, -0.3261838555, 0.2621210515, 0.2796574831, -0.3940950632, -0.2367338687, 0.2588582337, -0.0425859876, 0.5812584758, 0.08120507, -0.1226209253, -0.0975091755, -0.1224543378, -0.2504262328, -0.1621781439, -0.6618044376, -0.6782875657, 0.2317881286, -0.3407946229, -0.0509617105 ]
http://arxiv.org/abs/2406.16714v1
http://arxiv.org/pdf/2406.16714v1
AutoDetect: Towards a Unified Framework for Automated Weakness Detection in Large Language Models
2024-06-24T15:16:45
2024-06-24T15:16:45
Jiale Cheng, Yida Lu, Xiaotao Gu, Pei Ke, Xiao Liu, Yuxiao Dong, Hongning Wang, Jie Tang, Minlie Huang
cs.CL
cs.CL, cs.AI, cs.LG
Although Large Language Models (LLMs) are becoming increasingly powerful, they still exhibit significant but subtle weaknesses, such as mistakes in instruction-following or coding tasks. As these unexpected errors could lead to severe consequences in practical deployments, it is crucial to investigate the limitations within LLMs systematically. Traditional benchmarking approaches cannot thoroughly pinpoint specific model deficiencies, while manual inspections are costly and not scalable. In this paper, we introduce a unified framework, AutoDetect, to automatically expose weaknesses in LLMs across various tasks. Inspired by the educational assessment process that measures students' learning outcomes, AutoDetect consists of three LLM-powered agents: Examiner, Questioner, and Assessor. The collaboration among these three agents is designed to realize comprehensive and in-depth weakness identification. Our framework demonstrates significant success in uncovering flaws, with an identification success rate exceeding 30% in prominent models such as ChatGPT and Claude. More importantly, these identified weaknesses can guide specific model improvements, proving more effective than untargeted data augmentation methods like Self-Instruct. Our approach has led to substantial enhancements in popular LLMs, including the Llama series and Mistral-7b, boosting their performance by over 10% across several benchmarks. Code and data are publicly available at https://github.com/thu-coai/AutoDetect.
[ -0.3441599309, -0.5959596634, 0.6599911451, 0.1737314016, 0.2456365526, 0.2302655578, -0.0629815832, -0.3518725336, -0.0593323708, 0.3685584664, -0.4593287706, -0.4219394624, -0.7144600153, 0.0785650164, -0.661755383, 0.6746355891, -0.3378716409, -0.1794797629, -0.2248180956, -0.0127085866, -0.5913712978, -0.4169607759, -0.388695091, -0.1872876734, 0.0704553723, 0.6093294024, 0.5274150968, 0.6031501889, 0.63557899, 0.4591831267, 0.4914177954, 0.0710170791, -0.1562778205, 0.3357943594, -0.2908869386, -0.2104373425, -0.6999546289, -0.3388941884, 0.5589300394, 0.5137792826, 0.0822169781, 0.1288191527, 0.405970484, 0.471159786, -0.8026677966, 0.3517262936, -0.7128213644, -0.0009234674, -0.3099811971, 0.170827657, -0.1105109006, -0.0045192088, -0.164026767, -0.1332608014, 0.2631952763, -0.2260432541, 0.7735854387, 0.8139519095, -0.4634210467, -0.0959345549, -0.463891387, 0.695345819, -0.7378389239, 0.2515591085, 0.2082366943, 0.4083387256, -0.3087821305, -0.4766246378, -0.4795585871, -0.3276017308, 0.021872608, 0.0517461747, -0.3737076223, -0.0206813142, 0.0483150817, 0.4277431667, -0.8323948979, 0.4065974355, 0.2502031326, -0.4276835918, 0.6787697673, 0.3719626665, 0.5044488907, 0.0231352374, -0.2229076475, -0.2682778537, -0.6738137007, -0.2340336889, 0.4161483943, 0.1244668588, 0.1176529676, 0.3968965411, -0.1477145702, 0.5010794997, -0.0842682049, 0.089759998, 0.1287322491, -0.1973652095, -0.1892634779, -0.1972362846, 0.8439387679, -0.0367562473, 0.1297875345, 0.0743303522, -0.7098072767, 0.1869887859, 0.0738412961, -0.6900085807, -0.4210650027, 0.150027439, -0.1207945123, -0.5367844105, 0.1117373556, -0.7056154013, -0.5859385133, -0.2033516914, 0.5320520997, -0.2883276343, -0.3668524027, 0.1244628578, 0.2315705866, 0.0792203546, 0.069770664, -0.9235799313, 0.3533364534, 0.5913959146, 0.5311912894, -0.3113185167, -0.6242214441, -0.397367835, 0.0767698735, -0.2820154727, 1.0584754944, -0.1459541619, -0.1828404069, -0.2934838235, 0.0890368, -0.2845013142, -0.592356205, 0.3328999281, -0.0375301614, -0.2927122116, 0.1076305509, -0.4952118099, 0.2150476575, 0.3772420883, -0.7004385591, 1.1015570164, 0.3654920459, -0.7350661159, -0.0000565479, -0.5335428715, -0.3109802604, -0.0196978226, -0.2588791251, -0.6968666315, -0.0613181442, 0.4204022884, 0.5117986798, -0.4932123125, 0.3061648011, -0.5051589608, -0.2092983723, 0.1845224053, -0.7435088158, 0.7665263414, -0.0829335228, -0.7394658923, 0.1573192328, -0.9771122932, 0.0630650297, 0.3581612408, -0.1467643082, -0.2699180245, 0.0565691218, 0.0075518331, 0.0072610509, 0.2871870995, -0.3516321778, 0.1558223516, -0.4331833124, 0.127441749, 0.9500210285, -0.0664898083, 0.2086801976, -0.1945454925, 0.6761886477, 0.0252289884, 0.4104007781, -0.1369518638, -0.0480993129, -0.9242172241, -0.2322833538, 0.1105494276, 0.6558759212, -0.60568434, 0.6938033104, -0.0418067947, -0.5075785518, -0.4522988498, 0.5526337028, 0.5831323862, 0.4202868044, 0.2034277618, -0.4606717825, -0.4611486495, -0.926440537, -0.2523220778, -0.4565401375, -0.1623256803, 0.0061817323, 0.599511981, -0.674700439, 0.7218109369, -0.3450655341, -0.4885497093, -0.3358986676, -0.0198545698, -0.1505342424, 0.4486443698, 0.5428040624, -0.4660992324, -0.5813454986, -0.0689152554, -0.7617224455, -0.6010439992, 0.0204979461, 0.2150976062, 0.4460886717, 0.474521488, -0.1480952203, 0.4081801474, 0.6976088881, -0.4405385852, 0.6911919117, -0.1147296429, -0.2204445153, -0.9164498448, -0.1691001654, -0.1450453699, -0.0040291324, -0.2828997076, 0.0006994083, 0.15800412, 0.1702650785, -0.0024839093, 0.5651840568, -0.5450598001, -0.1919062436, -0.3046825826, -0.0399044603, 0.0952632949, 0.1848324239, -0.3433608115, 0.7622723579, 0.734140873, -0.3499496281, 0.5628231764, 0.021495359, -0.1071212739, 0.6964797378, -0.6451917887, 0.09578228, 0.2169317901, 0.1148647591, -0.9804315567, -0.524730444, 0.2304618359, -0.3547370136, 0.3269051313, -0.2482860386, -0.6157571077, -0.3881305158, -0.3078255057, 0.2441668212, -0.0002596114, -0.791644752, 0.6551008821, 0.4084468782, -0.1648658812, -0.7066079974, -0.3834583759, 0.3449194729, -0.2072236985, -0.6519538164, 0.0307257064, -0.2964963615, -0.2983196676, -0.1960108727, -0.1511032432, -0.2703287303, 0.5988735557, 0.476598382, 0.3555032015, -0.2265251279, 0.2310928702, -0.0935720354, -0.3119897544, 0.1127812415, -0.2579163313, 0.4205611944, -0.6365837455, -0.946485877, -0.2455167174, 0.1195768788, 0.6870404482, -0.3072758913, 0.106905736, 0.526124835, -0.1798726618, -0.6617247462, -0.6092948318, -0.2339452207, -0.5203462243, 0.4983930588, -0.4323480427, -0.5665286183, 0.5128256083, -0.0221661627, -0.103715837, 0.3449397981, 0.4218246043, 0.2168718278, 1.1453310251, 0.7950004339, -0.6716444492, 0.2083624452, -0.1789536923, 0.1013147309, -0.5311591029, 0.058514908, -0.3880657852, 0.1338899285, -0.315317899, -0.1026259288, 0.3028332293, -0.1297276318, -0.207468316, 0.548038125, -0.4487071931, 0.63050735, 0.2073347718, -0.3183590472, 0.3598255515, -0.2325021029, -0.2017254829, 0.0063285623, -0.6390098333, -0.5919638872, 1.1935422421, 0.6277195811, 0.9256009459, 0.1331535131, 0.9842286706, 0.1561377645, 0.4751555622, -0.7070158124, 0.4664489925, 0.1256323606, -0.3813976645, -0.4748666286, -0.4188946784, -0.8443356752, 0.1602178961, 0.1395752728, -0.4673515558, 0.3111002147, 0.2330722362, -0.1804093719, 0.3699115813, -0.7659526467, 1.0586279631, -0.5392309427, -0.3358806968, 0.2211495042, -0.36190781, 0.4004276395, -0.5602343678, 0.1864003986, -0.1451596618, 0.1118884534, 0.4497235715, -0.5384278297, 1.082185626, 0.0263907351, -0.5398891568, 0.1223677844, 0.3009460568, 0.6107510924, 0.0563564375, 0.1005977914, -0.0813232809, 0.0950248688, -0.3108552992, -0.5028817654, 0.7024771571, -0.4991351664, -0.4708141088, -0.4387948513, -0.5532386899, -0.2950429022, 0.2763606906, 0.0935482755, 0.3121169508, -0.5482956767, -0.2134513408, 0.5536862016, -0.1629632562, 0.6805055141, 0.9284462929, -0.0402384885, -0.0687214509, 1.1339182854, 0.0300550237, 0.3417226374, -0.1011334583, -0.0059111631, 0.002102521, -0.7259272933, -0.387720108, 0.0055942149, -0.8527154326, -0.4831940532, -0.3702133, -0.2394678146, -0.5834701061, 0.0115598403, -0.785204947, -0.2355537564, -0.0594563298, -0.1047769859, 0.0717126355, 0.8461565971, -0.3281383812, 0.2955243289, -0.5947516561, 0.1643262058, 0.5908228755, 0.3721036017, 0.0272241812, -0.4682492018, -0.0866375715, -0.4382138252, -0.4801754057, -0.5645968914, 0.6794665456, 0.1532801837, 0.4787752628, 0.4864409864, 0.1951069981, 0.4174509943, -0.3748692572, 0.3206789494, -0.0706796572, -0.9678490758, 0.5048242211, -0.1912445426, 0.1163569018, 0.6277328134, 0.030662179, -0.2344766408, -0.8895822167, -0.7226073146, -1.0518269539, 0.3607886136, 0.075621374, -0.0959759355, -0.0486515947, 0.025961753, -0.1098165959, -0.190463081, -0.810156405, -0.0648614466, -0.1791405231, -0.3597124815, 0.0153680295, -0.1043606997, -0.1520322412, -0.1116847172, 0.6876981258, -0.383438468, 0.0535962097, 0.146502912, -0.6207315922, -0.0558064058, 0.323708266, 0.1356567144, 0.6233487725, -0.1381050944, 0.4026171267, 0.2487908751, -0.4506168962, 0.3207181394, 0.3081556857, 0.0237356573, 0.074418515, 0.6829280257, 0.3248673379, 0.2427201718, -0.8701984882, 0.7981229424, -0.0355594009, 0.1417068243, -0.6610427499, 0.2507222295, -0.1432491988, 0.4222555161, 0.2297048867, -0.3095850348, 0.2323317826, -0.5192195773, 0.4527265728, 0.5165546536, -0.4927045703, -0.2578553557, 0.4325161874, -0.0321358554, -0.1529777944, 0.3324458599, -0.1821067482, -0.7738958597, 1.0849933624, 0.4760425687, 1.0912024975, -0.7815669775, 0.1477177292, 0.1276237369, 0.5868840218, -0.2142203003, 0.0718761459, 0.1414003521, -0.8330721855, -0.145007357, -0.4724691808, -0.4445072711, 0.0770574883, -0.4670017958, 0.1839773357, -0.4313186407, 0.1534877867, -0.0162924062, -0.1473615766, -0.3918925822, 0.0896370485, 0.0160076078, 0.5068747997, -1.0052247047, 0.9372674823, 0.3475700021, -0.5328737497, -0.8813166618, 0.1689838469, 0.3433511257, -0.852909863, 0.7432545424, 0.1029294282, -0.2129496783, 0.0553928949, -0.4467790425, -0.733643353, 1.1285700798, 0.3881303072, -0.6888228059, 0.1350152642, 0.2757467031, 0.4496165812, -0.4127286375, 0.3397373855, 0.8415869474, 0.6425612569, -0.3389844596, -1.0622454882, 0.1770420074, -0.2084451467, -0.2028352022, 0.2620033622, -0.5046284795, 0.6904319525, -0.1244821548, -0.1586475372, 0.0611000061, 0.2199047506, 0.1105988324, 0.3854296207, 0.7180012465, 0.5544103384, 0.6155923605, 0.0265445095, 0.889035821, -0.2037401795, 0.2939036787, 1.1043543816, -0.4185602069, 0.5631931424, 0.2016351819, -0.0783495754, 0.2847121656, 0.3081375659, -0.3385449052, 0.1977318823, 0.3439057469, -0.3000058234, -0.292745918, 0.2205670178, -0.209192574, 0.4898187518, 0.3011183739, -0.2062990069, -0.4600192308, 0.1454763561, 0.0317949243, 0.0659482107, -0.1651067138, 0.7078649998, 0.1224041656, -0.4759697318, 0.8748562336, -0.0334804282, 0.5064682961, -0.4926861227, -0.0362007245, -0.4687788188, 0.556951344, -0.164304778, -0.5568572283, 0.316885978, -0.0239864513, 0.0771680921, -0.1633889526, 0.98231709, -0.1793603748, -0.4145002365, 0.694848299, 0.4528644681, 0.0907709822, -0.3073209226, -0.7215176821, 0.2035223991, -0.1849872023, -0.1747447699, 0.4936017394, 0.5602760911, -0.2307768017, 0.8884482384, 0.381090641, -0.048427891, -0.1792632788, 0.1821914762, 0.9393073916, -0.4721596539, 0.0027315419, -0.933358252, 0.2877495885, -0.0877309889, -0.0529899336, 0.900570035, 0.4532820582, 0.67232126, 0.0526698977, 0.8670907617, 0.1739406586, 0.5777909756, -0.2381180078, 0.8056215048, -0.4425093532, 0.7952726483, -0.4519934654, -0.963978529, -0.3841136098, 0.4883112609, -0.1397292912, -0.1857910901, 0.7404946089, 1.1306509972, -0.1837803274, -0.6299064755, 0.3622995913, 0.3674520254, 0.3819909096, 0.8599381447, 0.8971048594, -0.462025404, 0.8132014275, -0.2007652223, -0.3213142753, -0.2226554006, -0.7197777033, -1.0185121298, -0.3970753551, -0.4720109999, -0.3294470012, 0.168738991, 0.6796361804, 0.3348031342, -0.8785461783, -0.2893272638, -0.3264953792, 0.3053780198, -0.0537124723, -0.2238407135, 0.5075243115, -0.5796014667, -0.4891244173, 0.6987159848, 0.3133332729, 0.2835444212, -0.5328801274, -0.0108354595, 0.3061518967, 0.1493847072, 0.3101584017, 0.6034634113, -0.4399265051, -0.3580055237, -0.1961058527, -0.2404004782, -0.1864647418, 0.6047711372, -0.5353411436, 0.3293538392, 0.2288172245, 0.7623839378, 0.1455098838, -0.3839901388, 0.6472875476, -0.5458526611, 0.0634194836, 0.2963068485, 0.4189532101, 0.3520240784, -0.1973406076, 0.629765451, 0.2824345827, -0.5962064862, -1.1515616179, 0.3476892114, -0.6398970485, -0.4004907608, 0.9020555019, -0.2251309603, -0.1517837793, -0.3666683137, -0.0127277086, -0.0397286937, 0.1020990685, 1.1790388823, 0.5692754984, 0.2757126093, -0.0596284755, -0.7040509582, 0.4703871012, 0.5663648248, -0.9962351322, 0.2754279375, 0.5119171739, 0.5302160978, -0.1137819216, 0.4434110224, -0.2122668773, 0.2230524868, -0.1415954381, 0.3758585751, -0.1780927777, -0.4470554888, -0.6170213223, -0.124977462, 0.189434275, 0.1051499695 ]
http://arxiv.org/abs/2406.16694v1
http://arxiv.org/pdf/2406.16694v1
Task Oriented In-Domain Data Augmentation
2024-06-24T14:58:11
2024-06-24T14:58:11
Xiao Liang, Xinyu Hu, Simiao Zuo, Yeyun Gong, Qiang Lou, Yi Liu, Shao-Lun Huang, Jian Jiao
cs.CL
cs.CL
Large Language Models (LLMs) have shown superior performance in various applications and fields. To achieve better performance on specialized domains such as law and advertisement, LLMs are often continue pre-trained on in-domain data. However, existing approaches suffer from two major issues. First, in-domain data are scarce compared with general domain-agnostic data. Second, data used for continual pre-training are not task-aware, such that they may not be helpful to downstream applications. We propose TRAIT, a task-oriented in-domain data augmentation framework. Our framework is divided into two parts: in-domain data selection and task-oriented synthetic passage generation. The data selection strategy identifies and selects a large amount of in-domain data from general corpora, and thus significantly enriches domain knowledge in the continual pre-training data. The synthetic passages contain guidance on how to use domain knowledge to answer questions about downstream tasks. By training on such passages, the model aligns with the need of downstream applications. We adapt LLMs to two domains: advertisement and math. On average, TRAIT improves LLM performance by 8% in the advertisement domain and 7.5% in the math domain.
[ -0.1779554486, -0.7891326547, 0.6187710166, 0.3739878237, -0.0897087604, 0.2569854558, -0.3667806089, -0.57878685, 0.1135792732, 0.6655727029, -0.7152912021, -0.3387955725, -0.5068498254, 0.0915022343, -0.1426703632, 0.9047672153, 0.0177593008, 0.1812826395, -0.8234322071, -0.1227178648, -0.3955226839, -0.8901718259, -0.727273643, -0.301805824, 0.2252162546, 0.3900781274, 0.4511907697, 0.4285276532, 0.3219351172, 0.3030461967, 0.2515656352, 0.5270567536, -0.6523164511, 0.3366569281, -0.349242568, -0.3564727306, -0.7526407838, -0.0731040314, 0.5518833399, 1.0095106363, 0.5145871639, -0.0825001448, 0.2154506892, 0.6790350676, -0.3504313231, 0.3211053014, -0.5766804218, -0.271471858, -0.36246261, -0.3238494396, -0.2334925383, -0.3416146636, 0.2584181726, -0.7309343219, 0.2996287346, 0.1082765013, 0.7081037164, 0.0967266336, -0.4342134595, -0.0975864306, -0.519712925, 0.9633971453, -0.5838265419, 0.3755609989, 0.6381297708, -0.0120295454, -0.4001947045, -0.5153650641, -0.5992535949, -0.1284062415, -0.136668101, -0.1520006359, 0.0805454478, -0.0057439748, 0.1739619225, 0.4873910248, -0.6988189816, 0.1184847057, -0.0910676494, -0.201540634, 0.6879149675, 0.3192196786, 0.0800738633, 0.0777993873, -0.2782616019, -0.2376524806, -1.0256677866, 0.1767858416, 0.4112333953, 0.4956825972, 0.0793838352, 0.6110264659, -0.2260417789, 0.8914292455, 0.2204894572, -0.095623672, 0.3652377427, -0.2005770952, -0.2497869432, -0.3718169034, 0.4744583368, -0.0342985354, 0.0358639956, -0.2970431149, -0.3799413443, 0.1929822713, 0.3745202422, -0.8843328953, 0.0745604932, 0.4092670977, -0.1476393789, -0.1697945297, -0.156130597, -0.4516953528, -0.2203731388, -0.6728115678, 0.3747421503, -0.6749098897, -0.0486614555, 0.0682940856, 0.1570182294, 0.1248966902, 0.3419084251, -0.9234346747, 0.2909764647, 0.8598911166, 0.4539282918, -0.6128292084, -0.1095186248, -0.7842384577, 0.1674078554, -0.149685815, 0.7168869972, -0.9248123765, -0.4177755415, 0.062463887, 0.232716471, -0.3119640946, -0.673391521, 0.5798439384, -0.7959396243, 0.0342327207, -0.1772675514, -0.9275147319, -0.2240756154, 0.242124483, -0.6625569463, 1.2075579166, 0.6807519197, -0.3132879436, 0.5793178082, -0.7109673023, -0.8456529975, 0.2242063135, -0.2200925499, -0.4733223915, 0.0685122162, 0.3956674933, 0.5267891884, -0.3015982211, 0.3199287057, -0.3242521286, -0.3681993186, 0.3758699894, -0.0550215058, 0.5705829859, 0.1412252635, -0.1693785787, -0.044455342, -0.6660717726, 0.0088243233, -0.0575818382, -0.4017852247, -0.4805256426, 0.0531180948, 0.1460188478, 0.2059574872, 0.3145378828, -0.7530595064, 0.3290892243, -0.3970226347, 0.1754724681, 0.7734631896, -0.2347694188, 0.5676759481, -0.4376012385, 0.5835058093, 0.0848803967, 0.0614491552, 0.1275094301, -0.3834412396, -0.775501132, -0.4175313711, 0.1010396779, 0.3755514622, -0.9527548552, 0.5356396437, -0.5055570006, -0.0492049418, -0.3238300383, 0.339494735, 0.215824306, 0.4501826763, 0.3330169618, -0.4126789272, -0.4936052561, -0.6074040532, -0.1559297144, 0.0157501567, -0.035438206, 0.4552236497, 0.2164746672, -0.4060096145, 1.0577806234, -0.6017949581, -0.3775366545, -0.5348283648, 0.0495481975, 0.3718124032, 0.4791100025, 0.6093485355, -0.8631751537, -0.4892237484, 0.0237809271, -0.6430264115, -0.0985602885, -0.0215294883, -0.3917479813, 0.0727507696, 0.1878310889, -0.4590489864, 0.169951573, 0.4771033525, -0.4018330872, 0.4792472124, -0.0329097137, 0.1832643896, -0.8532306552, -0.0781007856, 0.1727454811, -0.5304015875, -0.8821160793, 0.0491769165, 0.0353961736, -0.2290874422, -0.2312726229, 0.7660034895, -0.2014911175, -0.0262918659, -0.5337737203, -0.2476117611, 0.2194017619, 0.7013614178, 0.2830519676, 0.984059155, 0.8451036811, -0.9350311756, 0.3135589957, 0.5056505203, -0.3476451337, 0.8202003837, -0.2789194286, 0.2713473439, -0.0869840682, 0.0973733217, -0.5051665902, -0.3082575202, -0.0045998902, -0.3278181851, 0.4696878493, -0.0172871444, -0.4550182223, -0.2516911924, -0.1275250316, 0.445135504, 0.3592200875, -0.7091298103, 0.7244313955, 0.4254864156, -0.3572957218, -0.277222693, -0.5003946424, -0.0518219322, -0.1605747044, -0.7752657533, 0.5701365471, -0.0244877823, 0.0494994149, 0.0048197433, -0.0279401708, -0.2125477046, -0.2948966324, 0.2004080117, 0.5125771761, -0.0952359587, 0.2129851282, 0.0529394038, 0.1694174558, 0.0547097661, -0.599905014, 0.2960321307, 0.2940564454, -0.318909198, -0.0499280915, 0.4925132096, 0.3454216421, -0.1373602003, 0.5486108661, 0.3167033792, -0.0056537832, -0.6108825803, -0.4497934878, -0.1800433993, -0.5224841237, 0.4122965634, -0.4365486205, -1.1681423187, 0.0659543499, -0.1841948032, 0.0300559364, 0.18699269, 0.3376041651, -0.2284535468, 0.7875558734, 0.9767893553, -0.2791183293, 0.5393003225, -0.4429555535, 0.3176553845, -0.8942038417, -0.0724940002, -0.1674610376, -0.2414643168, -0.275346905, -0.7369372845, 0.5473207235, -0.2685233653, -0.1377972066, 0.4991252124, -0.0904142186, -0.0358865187, 0.3367079794, 0.342674762, 0.1504183561, 0.3360439539, 0.2243136615, -0.1711844057, -0.5718206167, -0.30033499, 1.4129811525, 0.1761070639, 0.8580405116, 0.0272484384, 0.3005191088, 0.4218976796, 0.4179531038, -0.738237977, 0.6407489777, -0.577919662, -0.4252665341, -0.3587134182, -0.503213644, -0.5577166677, 0.095190376, -0.1761357635, -0.4082191586, 0.329477489, 0.2675729096, -0.1566846669, 0.0871154815, -0.3230129182, 0.5645312667, -0.3203036785, -0.7045692205, -0.2559148073, -0.2371672392, 0.2497494519, -0.4765170217, 0.0310571641, 0.007980017, 0.2085602731, 0.4094053507, -0.6676498055, 0.7848950028, -0.1760586053, -0.0584839694, 0.2440649867, -0.180503875, 1.0196340084, -0.1243755594, -0.285767585, -0.2783320844, -0.490824908, -0.4513787925, -0.7496473193, 0.6776129007, -0.5143758059, -0.5791144967, -0.195005089, -0.8032402992, -0.9347683787, -0.2777312696, -0.0222590845, 0.6397051811, -0.2402317971, -0.0065573519, 0.7626796961, -0.2185061276, 0.1608281881, 0.6432918906, 0.1163323671, -0.0905682221, 1.1832695007, -0.5134379268, 0.3908980489, 0.5214412212, -0.1533896774, -0.6025931835, -0.40896824, -0.3976771235, 0.1719560921, -0.6253856421, -0.1622930914, -0.7274535298, -0.1754716933, -0.4932035208, -0.1298233271, -0.0758651868, -0.2999807894, -0.269405514, -0.0165892858, 0.7056159973, 0.4315398633, 0.2375447303, 0.3331617117, -0.6355893016, 0.3308739364, 0.3601360917, 0.2689368427, -0.3545262516, -0.6157315373, -0.5146132112, 0.0751570761, -0.2771831453, -0.3268343508, 0.4762090743, 0.513677001, 0.5553360581, 0.2603809536, -0.1733071506, 0.6354302764, -0.3368290663, 0.5553320646, -0.0624192767, -0.744555831, 0.2598845363, -0.2546375096, 0.0193784926, 0.4734348059, 0.3502561152, -0.1473369151, -0.6897277832, -0.2180171311, -0.7970733047, 0.6842469573, 0.2030247897, 0.3310861588, 0.1952958256, 0.2703942657, 0.4223853648, 0.3661411107, -0.4676396251, -0.1155893281, -0.1747069806, -0.1186812893, -0.1420581341, 0.0427127555, 0.0544166043, -0.546977818, 0.7956048846, -0.4803033769, 0.2757760286, -0.0253188647, -0.4194145799, -0.0213056859, 0.256657511, 0.1920650452, 0.7897289991, -0.1388859898, -0.1854180992, -0.141025275, -0.7343709469, 0.2509275079, 0.2734244168, -0.1877736896, -0.101606898, 0.2155833989, 1.0090278387, 0.0829756856, -0.7279559374, 0.533487916, 0.3843487203, -0.2177314162, -0.1415993124, 0.1321261674, -0.2310360223, 0.2254233807, 0.4121856689, -0.0435966328, 0.0198765472, -0.641757071, 0.2931429744, 0.5379995704, -0.1288326234, -0.340500176, 0.6912523508, 0.220958367, 0.406419009, 0.4385698736, -0.2563254535, -0.5318800807, 0.4422104061, 0.6548687816, 0.8626074791, -0.0441065989, 0.3028597236, 0.1720412523, -0.165767014, 0.0699884817, 0.6024284959, -0.0003349183, -0.7850295901, -0.859241128, -0.8473178148, -0.2709321976, 0.4230623245, -0.3117248714, 0.0481769629, -0.1472823322, -0.2564507723, -0.1763427258, -0.0010882207, -0.9418256879, 0.5361297131, -0.2328258604, 0.7235329747, -0.7437950969, 1.1947864294, 0.7779380679, -0.1955493093, -0.5837525725, 0.0810410753, -0.3290780783, -0.6927764416, 1.0035581589, -0.1507071108, -0.0516533256, -0.1388198137, -0.3831675351, -0.708765626, 0.8378955722, 0.3531695306, -0.4312489927, 0.1045684367, 0.5723903179, 0.4725959897, -0.7841132879, -0.2187227756, 0.5889549255, 0.4705072641, 0.2002769858, -0.5287220478, 0.0643837675, -0.2160504907, 0.1218735501, -0.0014409439, -0.3232566714, 0.8486536145, 0.0056348988, -0.0604616925, -0.0346651971, 0.7354547381, 0.205381453, 0.1512586176, 0.5160352588, 0.5873243809, 0.487967521, -0.1062731892, 1.0790897608, -0.234011516, 0.0238709114, 0.9426372647, -0.5895139575, 0.5629063249, 0.3929646313, -0.3099742234, 0.449475348, 0.5619431138, 0.0988633633, 0.6108303666, 0.0440297835, -0.6244972348, -0.355078727, -0.1533546597, -0.0489807911, 0.4145466387, 0.535445869, -0.2511270344, 0.0641383603, 0.2174341679, -0.1476902217, 0.1152022332, -0.387581557, 0.5108969212, 0.0494415686, -0.7457072139, 0.5125066042, -0.0360833704, 0.5976777077, -0.7727241516, -0.0555460639, -0.3796859384, 0.1704668105, -0.145322606, -0.6341280937, 0.2058369368, 0.1022168249, -0.2618727088, -0.4522322416, 0.7371380925, -0.5733558536, -0.4979993105, 0.1785854846, 0.5596648455, -0.0698735416, -0.2307545692, -0.367322892, 0.0624540523, -0.2211254984, -0.12354891, 0.559410274, 0.363571763, -0.2926284969, 0.6135437489, 0.7130721211, 0.3255317807, -0.129741624, 0.2292742282, 1.3255677223, -0.4449704587, -0.5857909918, -0.3631505072, 0.3735439777, -0.2132853568, -0.0308524705, 0.6943582892, 0.733746469, 0.7242267728, -0.2618654668, 1.0639531612, -0.1825589687, 0.6985085607, -0.6856633425, 0.3471345603, -0.6080275774, 0.2188760638, -0.1603311002, -1.0676734447, 0.0922635868, 0.2403806895, -0.4473037422, 0.0874996856, 0.6820582747, 0.9914988279, -0.3572882414, -0.0564367548, 0.3701078594, -0.0739709362, 0.2378975153, 0.7005798221, 0.6817809939, -0.1540896595, 0.0941365585, 0.0041898447, -0.2378439605, -0.1352946609, -0.6807638407, -0.9778549075, -0.7256866097, -0.1982577294, -0.16770567, 0.1357570589, 0.8129587173, 0.8487259746, -0.8550437093, -0.317258805, -0.0390884541, -0.2346699685, -0.4328572154, -0.2544986904, 0.3882763982, -0.6474606991, -0.8845499158, 0.8836726546, 0.3459065855, -0.1458567232, -0.2876285315, -0.1686780751, 0.0648867562, 0.1359781176, 0.8418316841, 0.3115462363, -0.2747291028, -0.2127815038, 0.054825712, -0.123035118, 0.0903658569, 1.286483407, -0.8177034259, 0.3448199928, 0.3745822906, 0.8655161858, 0.590783298, 0.1894547641, 0.9925014377, -0.9475495815, 0.2758065462, 0.357378006, 0.2187636048, 0.5534843802, -0.693107307, 0.4441489875, 0.2430690825, -0.4249830246, -0.3548619151, 0.3582090437, -0.8829063177, -0.2667523623, 1.1813665628, -0.2170813531, -0.1223280355, -0.414699167, 0.1958545446, -0.1242302358, -0.3398433626, 0.4532112479, 0.3927798271, -0.2743865252, 0.1854628623, -0.6438673735, 0.9190903902, 0.3274713755, -0.9728711843, 0.0578606613, 0.6113936305, 0.2608789802, -0.3477715254, 0.7695609331, -0.150990054, 0.088664338, -0.4110891819, -0.1537318528, -0.129730463, -0.2832095325, -0.058405675, -0.072166577, 0.0517990291, -0.1809760034 ]
http://arxiv.org/abs/2406.16690v1
http://arxiv.org/pdf/2406.16690v1
Scaling Laws for Linear Complexity Language Models
2024-06-24T14:51:31
2024-06-24T14:51:31
Xuyang Shen, Dong Li, Ruitao Leng, Zhen Qin, Weigao Sun, Yiran Zhong
cs.CL
cs.CL
The interest in linear complexity models for large language models is on the rise, although their scaling capacity remains uncertain. In this study, we present the scaling laws for linear complexity language models to establish a foundation for their scalability. Specifically, we examine the scaling behaviors of three efficient linear architectures. These include TNL, a linear attention model with data-independent decay; HGRN2, a linear RNN with data-dependent decay; and cosFormer2, a linear attention model without decay. We also include LLaMA as a baseline architecture for softmax attention for comparison. These models were trained with six variants, ranging from 70M to 7B parameters on a 300B-token corpus, and evaluated with a total of 1,376 intermediate checkpoints on various downstream tasks. These tasks include validation loss, commonsense reasoning, and information retrieval and generation. The study reveals that existing linear complexity language models exhibit similar scaling capabilities as conventional transformer-based models while also demonstrating superior linguistic proficiency and knowledge retention.
[ -0.047166653, -0.5154843926, 0.6275664568, 0.4572969079, 0.2477837205, -0.376290679, -0.2701337039, -0.37974298, -0.2434311211, 0.6166867018, -0.3036256433, 0.129082948, -0.6214447618, -0.12021029, -0.3467589617, 1.0469595194, 0.0340000093, 0.0797822848, -0.1693613678, -0.4713653624, -0.3285547197, -0.4066003263, -0.6997487545, -0.3970881999, 0.6968809366, 0.2660761774, 0.8895609379, 1.0018166304, 0.7558355331, 0.2853389084, -0.4392302334, -0.4655435681, -0.8672425151, -0.042227827, -0.2709920406, -0.4313186705, -0.7302057147, -0.2768396139, 0.5867901444, 0.9226149917, -0.0556606613, 0.2550657988, 0.0472552255, 0.5327891707, -0.3504567742, 0.1279858053, -0.5176050663, -0.1128664613, 0.0194400549, 0.2920987904, -0.5719504356, -0.4046677053, 0.1744090319, -0.395803988, -0.035896983, 0.1070469022, 0.6421940327, 0.2091782093, -0.4377616048, -0.6797856688, -0.7288953662, 1.0246764421, -0.9830557108, 0.3685445786, 0.1657946557, 0.0850371793, 0.2299682647, -0.9623762369, -0.2214013934, -0.4517160654, -0.0332281478, -0.4431406558, -0.5462583303, 0.1973093599, 0.3908945322, 0.50440377, -0.5275632739, 0.2061780542, -0.5041804314, -0.1309239417, 0.1954979897, 0.3191218078, 0.2392448187, 0.0409609713, -0.3801406324, 0.1448913664, -0.5309358835, -0.0473611094, 0.0670772344, 0.3637600243, -0.0853375569, 0.5490816236, 0.0139543228, 0.5243750811, 0.1900002658, -0.2898378372, 0.1053543612, -0.5884085894, -0.1622813642, -0.4051002562, 0.3700120747, 0.020550387, 0.2498547733, -0.3523545265, -0.4326488972, -0.408711493, 0.4351960421, -0.8131994605, 0.0324183665, 0.262529254, -0.5710782409, -0.2295823842, -0.5866562724, -0.3786915243, -0.3407472074, -0.3881046772, 0.9306280613, -0.2432589382, -0.4004593194, 0.224482283, 0.2294529825, 0.3891120553, 0.1714631915, -0.9761067033, 0.5347961783, 0.881803751, 0.7662732005, -0.077225551, 0.0338240974, -0.5081140399, -0.3597604036, -0.260805279, 0.1460035443, -0.3721576333, 0.3769114912, 0.1182951778, -0.221220836, -0.0510465205, -0.3986004293, 0.6720570326, -0.7414351106, -0.0587702021, -0.2350187898, -0.6257963181, -0.1846106499, 0.1066979244, -0.8127148747, 0.7742763758, 0.166543141, -0.6356405616, -0.002336445, -0.491234988, -0.4081964493, 0.1621270627, 0.1818173826, -0.4659129083, 0.2913203239, -0.203503862, 0.5438295603, -0.4440684021, 0.1739078015, -0.3586158454, -0.1011870429, -0.1096158549, -0.3355075419, 0.775917232, 0.3436020911, -0.4075914025, 0.0948211029, -0.7505500317, 0.0918815807, 0.1407920122, -0.5617867112, -0.1951831281, 0.0257644411, 0.1804379225, 0.1367004514, 0.4997891784, -0.2424238026, 0.0475531071, -0.3171344399, 0.6354202628, 0.5134723783, -0.0716817155, 0.6573624611, -0.0770422071, 0.5162532926, -0.0518069379, 0.2406177223, -0.235230267, -0.3358347714, -1.0824791193, 0.0606047958, 0.1294952929, 0.3606229722, -0.3341129124, 0.0657196641, -0.4754938781, -0.3913829327, -0.1694659293, 0.3168401718, 0.6022707224, 0.3452111483, 0.2248712033, -0.1637997031, -0.4381960332, -0.8965799809, -0.1023693755, -0.0484712794, -0.058677569, 0.5548272729, 0.5128375888, -0.1438911408, 0.6447671056, -0.1388895363, -0.010931571, -0.5579525828, 0.0470998548, 0.4879256487, 0.2654087842, 0.4859777987, -0.569711864, -0.2350642085, 0.1615926325, -0.4810966253, -0.1518054157, -0.0121755796, 0.370102942, -0.0139014376, 0.7097645998, -0.3547402918, 0.1533942968, 0.510260582, -0.291560024, 0.2009091526, -0.4269481599, -0.4484289587, -0.8683792353, 0.2568561435, -0.1601904631, -0.357093215, -1.2723858356, 0.2897388041, 0.2943384945, 0.0521067008, -0.4291528761, 0.3432052433, -0.4418569803, -0.3396401107, -0.2881612778, -0.1152768135, -0.0558989421, 0.7862962484, -0.138642922, 0.5386936665, 0.2955744267, -0.8021712899, 0.1632510722, -0.3404647112, -0.1089952365, 0.2537934184, -1.1191661358, 0.1690096557, -0.1524583995, -0.0112677719, -1.0996603966, 0.0121004069, -0.2301533818, -0.1641781032, 0.16096057, -0.1409724057, -0.4368847311, -0.3301149607, -0.0307867508, 0.6799466014, 0.4268350303, -0.3169097304, 0.6942948699, 0.1976783872, -0.1526314765, -0.4461472631, -0.542863071, 0.0755908489, -0.2269724309, -0.5662468672, -0.2143102139, -0.205379948, -0.4941996336, -0.1576534808, 0.1089708507, -0.1739993691, -0.0237871241, 0.0605043247, -0.1190566942, -0.7625257373, 0.1882249564, -0.3771147132, 0.1243637353, 0.0776498318, -0.7231277823, 0.7917492986, -0.4980044067, 0.0102481702, -0.1590759754, 0.085696958, 0.9755592942, -0.329549551, 0.6675801277, 0.4469923675, -0.4214935005, 0.2325977236, -0.6405142546, 0.0978818834, -0.4206036925, 0.5736136436, -0.3337806761, -0.7522562146, 0.8232088685, 0.1662966609, 0.3214088082, 0.6167529225, 1.003821373, 0.1154262871, 0.687833488, 0.7285342813, -0.230502218, 0.3844029009, -0.0978429914, -0.0912314355, -0.6319898367, 0.0361301601, -0.5124240518, -0.3655003011, -0.4704129398, -0.7907979488, 0.1631742865, -0.0672673434, -0.4475145936, 0.6171727777, -0.0728906021, 0.6065123081, 0.1908421367, -0.1102479473, 0.2102262378, 0.0210194085, -0.162874639, 0.0075756824, -0.6512811184, -0.2023208439, 1.2940409184, 0.8896225095, 0.8388992548, 0.4310823083, 0.1981093287, 0.3850909472, 0.2113474011, -0.8216575384, 0.3706295788, -0.2759196162, -0.7068583369, -0.6032338142, -0.6447750926, -0.9128745794, 0.1642123312, 0.2035562247, -0.4823405743, 0.2779950202, -0.0254638288, -0.2586892545, 0.4224742651, -0.5682713985, 0.5419703126, -0.2395515591, -0.5585486889, -0.3877085447, -0.6655042171, 0.2012747079, -0.0925752744, 0.1440617293, 0.1742085069, -0.3337053657, 0.5844420791, -0.4053781331, 0.7283800244, -0.0697470084, -0.4089009464, 0.1599175483, 0.1294331849, 0.6968352199, -0.1048029289, -0.0605802499, -0.0154820262, -0.5960066915, -0.5887073278, -0.3107371628, 0.5312946439, -0.7691313028, -0.344288826, -0.0064139185, -0.8305210471, -0.0407699011, 0.4980869889, 0.0870705321, 0.6769608855, 0.0591787621, 0.5614134073, 1.1657636166, 0.0146635845, 0.5654864311, 0.5111789703, -0.1949842721, -0.2677924931, 0.776848793, 0.1884487569, 0.7960522771, 0.4783580303, 0.1976762116, -0.2482452244, -0.6341350675, -0.2598752975, 0.3037312329, -0.7164956331, -0.0441349037, -0.7449692488, -0.4335542321, -0.3415677547, 0.0761247948, -0.6050618291, -0.6450932026, -0.1208522096, 0.0715068579, 0.2854920626, 1.1430341005, -0.0342350043, 0.0217982568, -0.1516643614, 0.3078507483, 0.4660767615, 0.5688828826, 0.1855695397, -1.1177096367, -0.4578029811, -0.3235150874, 0.0134479161, -0.4534446597, 0.0899106413, 0.4009517431, 0.3566107452, 0.5108884573, -0.2193810493, 0.290992111, -0.6789065599, 0.3078518212, 0.201141715, -0.8233610392, 0.1784280837, -0.4467154741, 0.4864896536, 0.2392767668, 0.1496072561, -0.4222514629, -0.4427320063, -0.4049656689, -0.7410369515, 0.6593651772, 0.2973383069, 0.5997407436, 0.4882378578, 0.7397406101, -0.0941732973, -0.1939568073, -1.1098743677, -0.1181245446, -0.1017728075, -0.2398274988, -0.0457944795, -0.5888331532, 0.1250727475, 0.0697571263, 0.2347723097, 0.1335550547, 0.0506232791, -0.0358605087, -0.1971660256, -0.0474760383, 0.3293232024, 1.033970952, 0.6656236649, -0.1618284285, 0.0614797175, 0.3291276395, -0.7042661309, 0.3392911851, -0.2586996257, -0.1863227934, -0.2872307003, 0.3931507468, 1.0007088184, 0.4744183719, -0.5442420244, 0.404743284, -0.2129277885, -0.3091059327, -0.1752919555, -0.046865955, 0.4463211894, 0.3201061189, 0.2339262366, 0.006627765, 0.1074691489, -0.2213463485, 0.211622864, 0.0718339756, -0.5757458806, -0.3130313158, 0.8389002085, 0.1271679997, -0.296620369, 0.5361486077, -0.1954845488, -0.286390394, 0.601883471, 0.5654737949, 0.5980731845, -0.1940230578, -0.1449199021, 0.4511334002, 0.7290198207, -0.0921617523, -0.0450303704, 0.0561637953, -0.4726065993, -0.3800033629, -0.6220725179, -0.3439673483, 0.3112946153, -0.6791197658, 0.0566662326, -0.6948523521, -0.151025027, 0.0123743154, 0.1140415668, -0.57934618, 0.2332374156, 0.2858858705, 0.7907349467, -0.6190149188, 0.7560341358, 0.337107569, -0.2534164488, -0.6652138829, -0.1641069353, -0.0010299551, -0.9189332724, 0.7443727851, 0.0541551299, -0.0796606019, 0.0243814886, -0.3051122725, -1.2030569315, 0.9952602386, 0.4178312421, -0.670158565, -0.0691199377, 0.3300147653, 0.8526528478, -0.5083137155, 0.2614688575, 0.4327822924, 0.0746947676, 0.2440621108, -0.9052963853, -0.1082405373, -0.1409089267, 0.2229003906, 0.0504578464, -0.7494488358, 1.2394156456, -0.4915067554, 0.0174547676, 0.0143534848, 0.9512122273, -0.0012483993, 0.0960917175, 0.67616117, 0.7286538482, 0.5974837542, 0.1864312142, 0.8740429878, -0.3194668591, 0.4314417243, 1.1540602446, -0.2402347922, 0.9731760621, 0.207978189, -0.1750086099, 0.3627498746, 0.145122394, 0.0619297922, 0.0100400429, 0.4541618228, 0.0346988104, -0.0972056314, -0.2109898478, -0.163406387, 0.3636841178, 0.4042797983, -0.5647946, -0.0816215798, -0.0346036032, 0.335093528, -0.1052857712, -0.575294435, 0.7315739989, -0.0626483634, -0.5219017863, 0.7261533141, 0.0282513183, 0.3336433768, -0.4745218754, 0.4158242941, -0.5250498652, 0.5278943181, 0.0558631569, -0.602802515, 0.0765362605, 0.169012472, -0.5106306672, -0.3924830854, 0.5793708563, -0.3759501874, -0.6953142285, 0.371430248, 0.1461331546, 0.1916456223, 0.1370062828, -0.5048406124, 0.107637763, -0.0067157769, -0.3965021074, 0.168715626, 0.382959187, -0.0247569922, 0.9707884789, 0.1401212066, 0.0382564031, 0.604670167, 0.2653944194, 0.7364812493, -0.3972814083, -0.198165834, -0.5624815226, 0.1876969784, 0.0359375142, -0.1189855114, 0.6185669899, 0.5427145362, 0.168166101, 0.068590425, 0.374050647, 0.0280189347, 0.338075906, -0.3020586967, 0.5759611726, -0.6627806425, 0.3144290447, 0.1483727396, -0.7904848456, -0.2312314063, 0.1145101786, -0.1852436811, 0.192473501, 0.3481207788, 0.716401875, -0.1265488267, -0.3731561601, 0.4907642901, 0.5707349181, 0.3171595335, 0.979288578, 0.1225484014, -0.5547803044, 1.0356624126, 0.1702367514, -0.2445052564, -0.4065580368, -0.6310555339, -0.8009467125, -0.4561337233, -0.2036053687, -0.4635807276, -0.2492761612, 0.4819811881, 0.7020213008, -0.8937067389, -0.4204941988, -0.2254980654, -0.0209202841, -0.1283455193, -0.1835722029, 0.2831531167, -0.7362088561, -0.4554116428, 0.0435484685, 0.6319611669, 0.0220390242, -0.6474377513, -0.2503979504, -0.0272683613, 0.6097807884, 0.5816380382, 0.4790633321, -0.8796790242, -0.1166451201, 0.2406080812, -0.602089107, -0.0003310381, 0.9598919749, -0.2321829796, 0.4883535504, 0.6583710313, 0.633726716, 0.3328157663, -0.3559182882, 0.5524166226, -0.6785547733, 0.0927498117, 0.2121578753, 0.3610588908, 0.1221134886, -0.0981687009, 0.3738171756, -0.0040846826, -0.7263214588, -0.643065691, 0.2259062976, -0.8163882494, 0.0882310122, 1.2341510057, -0.174264878, -0.1766783297, -0.1868520677, 0.0778244287, -0.219890818, 0.0122604612, 0.3572399616, 0.8166520596, 0.0465661958, -0.4029196203, -0.7333562374, 0.3057878315, 0.628575623, -0.5963706374, 0.4026875794, 0.1427081376, 0.2811276615, 0.2971173823, 0.555172205, -0.1614623517, 0.1900935769, -0.0053513404, -0.0176265445, 0.3980210125, -0.0886403695, -0.5985568762, 0.3617434204, 0.0712066069, 0.4473387599 ]
http://arxiv.org/abs/2406.16678v1
http://arxiv.org/pdf/2406.16678v1
Segment Any Text: A Universal Approach for Robust, Efficient and Adaptable Sentence Segmentation
2024-06-24T14:36:11
2024-06-24T14:36:11
Markus Frohmann, Igor Sterner, Ivan Vulić, Benjamin Minixhofer, Markus Schedl
cs.CL
cs.CL, cs.AI, cs.LG
Segmenting text into sentences plays an early and crucial role in many NLP systems. This is commonly achieved by using rule-based or statistical methods relying on lexical features such as punctuation. Although some recent works no longer exclusively rely on punctuation, we find that no prior method achieves all of (i) robustness to missing punctuation, (ii) effective adaptability to new domains, and (iii) high efficiency. We introduce a new model - Segment any Text (SaT) - to solve this problem. To enhance robustness, we propose a new pretraining scheme that ensures less reliance on punctuation. To address adaptability, we introduce an extra stage of parameter-efficient fine-tuning, establishing state-of-the-art performance in distinct domains such as verses from lyrics and legal documents. Along the way, we introduce architectural modifications that result in a threefold gain in speed over the previous state of the art and solve spurious reliance on context far in the future. Finally, we introduce a variant of our model with fine-tuning on a diverse, multilingual mixture of sentence-segmented data, acting as a drop-in replacement and enhancement for existing segmentation tools. Overall, our contributions provide a universal approach for segmenting any text. Our method outperforms all baselines - including strong LLMs - across 8 corpora spanning diverse domains and languages, especially in practically relevant situations where text is poorly formatted. Our models and code, including documentation, are available at https://huggingface.co/segment-any-text under the MIT license.
[ 0.0896594152, -0.9446004629, 0.7707349658, 0.4796232581, -0.5808874369, -0.1694358587, -0.0473013073, -0.450665921, 0.1588370502, 0.6675159931, -0.7048758864, -0.700502336, -0.4126452208, 0.2706599832, -0.5381875634, 0.874322474, 0.241862148, -0.1025754511, -0.2712626755, -0.3598870635, -0.4813486934, -0.7072588205, -0.3230058849, -0.0017401346, 0.2478393763, 0.3920745552, 0.3993127048, 1.1266387701, 0.382933706, 0.2815700471, -0.2733935714, 0.2655991912, -0.120218657, 0.431289643, -0.0927166417, -0.3834284544, -0.0254904218, -0.0028410559, 0.7205474973, 0.9701768756, -0.1237042248, -0.3315186501, -0.2502893806, 0.5334801674, -0.7322729826, -0.3756226003, -0.9583698511, 0.0102647319, -0.2647432387, -0.1834138632, -0.5382239223, -0.459644407, 0.2416163683, -0.8967059851, -0.1096343324, 0.3966500759, 1.1254823208, 0.4245998859, -0.2548226416, -0.2740164995, -0.2911040783, 0.7649895549, -0.2601045966, 0.4410858452, 0.0028068032, -0.1843599677, 0.0483337902, -0.8826771975, -0.0859569386, -0.1205134764, 0.1431535482, -0.0167118981, -0.1459620893, -0.1522138268, 0.1005984768, 0.2346623093, -0.6095202565, 0.0652956888, 0.1160785928, -0.222006917, 0.2386742234, 0.2262590677, 0.7088007331, -0.2860504687, -0.616995573, 0.1931336671, -0.7174962163, 0.0851176381, 0.2327536345, 0.4167224169, -0.0834051222, 0.447088033, 0.2138894349, 0.9249327183, -0.2347835153, -0.2058812678, -0.1228854805, -0.3394174874, -0.3000862002, -0.0687904581, 0.75043118, -0.0897016078, 0.5043829679, -0.1298276335, 0.1333236098, 0.0662296265, 0.3685275614, -0.6901415586, -0.4068461955, -0.2412256747, -0.3456614316, -0.0956942961, 0.0876229107, -0.503700614, -0.3730515838, -0.2977970839, 0.0426979586, -1.0652563572, 0.2708203793, 0.4049286544, 0.011835847, 0.2177162468, 0.2013615817, -0.7192519307, 0.2579391599, 0.6930755973, 1.0008159876, -0.4642904997, -0.4435832202, -0.6222816706, 0.1548796147, -0.0892508402, 1.2164360285, -0.8435983658, -0.333327055, 0.1297984719, 0.0221806914, -0.686668396, -0.4709877372, 1.072445035, -0.26531142, 0.2631483078, -0.1144239902, -0.892726779, -0.0259543229, 0.3096239269, -0.4831073284, 0.6891046762, -0.0331127271, -0.8099947572, 0.3624465764, -0.9158489704, -0.7033938169, 0.0204598941, 0.0243081916, -0.5919329524, 0.0310544446, 0.5947332382, 0.125902012, 0.02156673, -0.0262653381, -0.3206683993, -0.2213330269, 0.292137742, -0.231562525, 1.0776677132, 0.1498949677, 0.1622044444, 0.4466487467, -1.1694225073, 0.1918924302, 0.0710943565, -0.2584000826, -0.4522604644, 0.1105133519, 0.614574194, -0.328371793, 0.0506551154, -0.5118327141, 0.1865692586, -0.5047283769, 0.6410790682, 0.6484927535, 0.2624512613, 0.625513494, -0.0931653008, 0.6188728809, -0.2036679387, 0.1602457315, -0.7550829053, -0.1304554343, -0.7931944132, -0.8048378825, 0.5903188586, 0.5559270382, -0.36692518, 0.8652538061, -0.1531923413, -0.0689846873, -0.3764175475, -0.0496438369, 0.1408278495, 0.3713352978, 0.2666632533, -0.0920027271, -0.9749106765, -0.626526773, -0.5054704547, -0.127517432, 0.0571076311, -0.0365117081, 0.3568126261, 0.0064418754, 1.0506715775, -0.7786764503, -0.4244657457, -0.5231369734, -0.1328710467, -0.1040821448, 0.4751887321, 0.3806014061, -0.6958639026, -0.4474610984, -0.2181478292, -0.5381976366, -0.305254519, -0.2542643845, -0.3149554729, -0.1235885173, 0.6287781596, -0.4708368182, 0.2614433169, 0.138507098, -0.6395998597, 0.520394206, -0.1592275798, -0.27017501, -1.0341992378, 0.1278933883, -0.0493858792, -0.5072761178, -0.596876502, 0.1703732014, -0.0458160266, -0.2249133289, -0.3480801582, 0.2779374123, -0.2776772082, 0.1399959326, -0.3016133904, 0.2470662892, 0.2867996097, 0.0359500349, -0.0129343746, 0.8022812605, 0.3729588687, -0.4709357321, -0.2746018171, 0.7847643495, -0.6041291952, 0.8663779497, -0.6077638865, -0.0127048027, 0.0434834957, 0.1336560994, -0.5443042517, -0.193631798, 0.2884917855, -0.3134973049, -0.1544886976, 0.1002502888, -0.1600466222, 0.2860444188, -0.0800539032, 0.1778603047, 0.3159308434, -0.452024579, 0.5083454847, 0.3887521029, -0.1619455963, -0.2148672342, -0.4530456364, 0.1196885854, -0.1670109183, -0.7852604985, 0.5149489641, -0.1247379556, -0.1224017665, -0.0888692215, -0.2757835984, -0.5383168459, 0.3503555655, 0.1833193302, 0.1868777275, -0.1538078934, -0.127445966, -0.015839139, -0.1526845098, -0.1817903668, -0.4879478216, 0.5265738368, 0.0483372919, -0.2171387374, -0.3951283395, 0.5689701438, 0.3141065538, -0.3994957209, 0.3812220991, 0.3430890441, -0.1981492341, -0.5016821623, -0.3010093868, 0.2994826138, -0.383500576, 0.2777189612, -0.3554766476, -1.1956814528, 0.1769148111, -0.0229629856, -0.1697829217, 0.2103397399, 0.1630214006, -0.0892077759, 0.6476582289, 1.2292886972, 0.017129248, 0.6574918628, 0.3364718854, 0.3625843823, -0.6875298023, -0.1135127321, -0.9004381299, 0.1553460509, -0.2517572045, -0.0900415406, 0.1923581362, 0.165978983, -0.1698859632, 0.3710370064, -0.5455977917, 0.8515437841, 0.4816961288, -0.1353135705, 0.3800865114, 0.0252206735, -0.2795810997, -0.1866410673, -0.7055718899, -0.4494577646, 0.6214309931, 0.0384814516, 0.3673150837, -0.5268262625, 0.4833732545, 0.2598211765, 0.0489266291, -0.7174394131, 0.4625619352, -0.4681874216, -0.5200980306, -0.1053765416, -0.3869842291, -0.9978513718, 0.4550028741, -0.1280898899, -1.0291156769, 0.0431234688, -0.3130102754, -0.6222687364, 0.3671385646, -0.5901390314, 1.0855808258, 0.0120136635, 0.2231801152, 0.4826728404, -0.6699619293, 0.0769525841, -0.1693305224, 0.1664154083, -0.4003905356, -0.1641774178, 0.8016650081, -0.4730304182, 0.4771125615, 0.0358207114, 0.1549107432, 0.3201279938, -0.1406794488, 0.1232380271, -0.0154058617, 0.1385141164, -0.2061367482, 0.2907135189, -0.3899659514, -0.3929051161, 0.4742477238, -0.6263456345, -0.1323254257, -0.4305719733, -0.690413177, -0.2838765085, 0.3571796119, 0.3282037079, 0.1143140942, -0.5961937904, 0.3577614725, 0.4588910639, -0.083320573, 0.6423988938, 0.5449445248, -0.0882166475, -0.6868846416, 0.7182552218, -0.3177242875, -0.3566128314, 0.5742070079, 0.0256734155, -0.4324016273, -0.5826622248, -0.2308030874, 0.0690067038, -0.539718926, -0.1006121188, -0.7827262878, -0.1454345882, -0.2243016809, -0.4470971525, -0.3271617591, -0.3638459146, -0.5153346658, -0.0064795781, 0.0454657823, 0.4203127027, 0.1735700071, 0.745262444, -0.741279304, 0.1742102653, -0.1922441125, 0.2235863358, -0.6199358702, -0.4580357969, -0.1113779694, -0.5117480159, -0.4474472404, -0.7187789679, 0.2425976992, 0.5427199602, 0.1514862478, 0.5509452224, 0.0469645858, 0.6091332436, -0.674064219, 0.7687112689, 0.4637158215, -1.2397023439, 0.4313732386, -0.3553276062, 0.3945597112, 0.955856204, 0.177617088, -0.6854485273, -0.0952060148, -0.3643914759, -0.8723390102, 0.6064084768, 0.3899366558, -0.0552380681, 0.0082036043, 0.5152955651, 0.3202514648, -0.0291428026, -0.9398006201, -0.1199529842, -0.0715449974, -0.2680862248, 0.1524039507, -0.0975753292, -0.0118464753, -0.0457567349, 0.5444910526, -0.0358404256, -0.1873129606, 0.2269611508, -0.4681327939, 0.2665258944, 0.5732454658, 0.3311591446, 0.7662308216, -0.10513933, -0.0167330895, -0.232984215, -0.5430858731, 0.4237428606, 0.238460198, -0.76425457, 0.1582993716, 0.3866806328, 0.7446472645, 0.2822992206, -0.5551633835, 0.5192222595, -0.0820008442, -0.344625622, -0.1252782047, 0.0034785839, -0.2720837891, 0.0323584825, 0.1678845137, 0.3456871808, -0.1131633967, -0.5073673725, 0.3919168711, 0.1477256268, -0.6086678505, -0.3000108004, 0.7536752224, 0.3081343174, -0.4037080407, 0.4485227466, -0.0986320153, -0.5899720788, 0.2565115988, 0.6339496374, 1.0730942488, -0.0767915472, 0.5137040615, -0.0242510475, 0.3937688768, 0.0993531868, 0.2406988442, 0.0713325962, -0.7359516025, -0.7502154708, -0.8268861771, -0.2972998917, 0.0002780897, -0.5311214328, -0.0904342085, -0.6677965522, 0.0313489363, 0.1256089807, -0.2719915509, -0.3750215173, 0.5306637883, 0.1189083457, 0.9843098521, -0.9129155874, 0.7174018025, 0.9961513877, -0.3927515149, -0.4424337149, 0.2107529044, -0.3690878153, -0.7282280326, -0.0322847553, 0.3722046614, 0.1216863617, -0.1964326054, -0.7590862513, -0.7226369977, 0.5279990435, 0.4998041391, -0.3302168846, -0.2488704175, 0.317401439, 0.3994558156, -0.7527714372, -0.0447434522, 0.9438912272, 0.4752714932, -0.0306446105, -0.3146184385, 0.0741553977, -0.1447076052, 0.3035055697, 0.1270529032, -0.3954533935, 0.4581190348, 0.0833475739, -0.3546207845, 0.6953100562, 0.7081441283, 0.0261775944, 0.2558031976, 0.8133239746, 0.7361531258, 1.0128513575, -0.4719530046, 0.9525690675, -0.3755192459, -0.0592112392, 0.9685814381, -0.364092499, 0.6719451547, 0.4641302228, -0.112289384, 0.5939660072, 0.5291064978, -0.0955114588, 0.5147755146, 0.1172900721, -0.1011339948, -0.6504471302, -0.4414819777, -0.1952418834, 0.7696731091, -0.0817007497, -0.1247607097, -0.109959662, 0.0655265227, 0.1956874281, 0.5429774523, -0.1027247012, 0.7493317723, 0.1662111282, -0.7015393376, 0.258095324, 0.1825167239, 0.6059361696, -0.8759662509, 0.3817681372, -0.2065017819, 0.0915971026, -0.1589133143, -0.2662626207, 0.3548623025, 0.1729698926, -0.2255709469, -0.0139008621, 0.7526068687, -0.2719188929, -0.4541488588, 0.116061002, 0.5992456079, -0.0885692313, -0.4093160033, -0.7617830038, 0.4299805164, 0.3931953013, 0.116181165, 0.2823726237, 0.5624677539, 0.3463389575, 0.5322619677, 0.6285219193, 0.0667538419, -0.0200036187, 0.269412905, 0.7982491851, -0.8010423779, -0.8054451346, -0.7484308481, 0.55930233, -0.2485172302, -0.6913787127, 0.6877837777, 0.68663764, 0.550263226, 0.1683680415, 0.7395128012, 0.0795971975, 0.4246051908, -0.4901744723, 0.5197399855, -0.5296605825, 0.083632879, -0.3296147287, -1.2112835646, -0.7239360213, 0.6364668012, -0.2533204257, -0.2983731329, 1.1149954796, 0.1761360317, -0.0488550141, 0.3599595726, 0.3690985143, 0.0110596959, 0.2529972494, 0.2058692425, 0.8198367357, -0.2015174031, 0.9814534187, 0.0156789385, -0.0720301867, 0.1869675815, -0.8647919297, -0.7027247548, -0.2787804306, -0.4003772438, -0.0542134121, 0.2950212359, 0.7963487506, 0.856934309, -0.7121564746, -0.1285681129, -0.1820061654, 0.1860753745, 0.0184330102, -0.1834207177, 0.4439971745, -0.8499119878, -0.5209303498, 0.8661631942, 0.6401996613, -0.175889805, 0.3074943125, 0.229404673, -0.4098287225, 0.3594614565, 0.5566348433, 0.3381994367, -0.3957564235, -0.2438810766, 0.0794705823, 0.1957956702, 0.5073772073, 1.0735878944, -0.1663792282, 0.2227573544, 0.0504048727, 0.8612328172, 0.3254585862, 0.3559553921, 0.4196677804, -0.9248225093, 0.183693409, 0.3720391095, 0.5845241547, 0.5590983629, 0.1616123021, 0.4596424401, 0.4080252647, -0.6668314934, -0.7236680388, 0.4240043163, -1.1465262175, -0.4893104434, 0.9741651416, -0.4588201642, -0.4154640436, -0.1389878988, -0.4173159003, -0.0732210129, -0.3192334771, 0.5165342093, 0.4940902591, 0.0615352318, 0.0085739559, 0.2738997638, 0.4368331134, 0.7998093963, -1.1641762257, -0.0098069841, 0.67555511, 0.3588399887, 0.0064282962, 0.6124376059, -0.116153203, -0.0096817827, 0.0446804166, -0.1389109194, 0.0766409859, -0.5412762761, -0.360340029, 0.6912853718, -0.1958498806, -0.2068994343 ]
http://arxiv.org/abs/2406.16674v1
http://arxiv.org/pdf/2406.16674v1
Computational Approaches to the Detection of Lesser-Known Rhetorical Figures: A Systematic Survey and Research Challenges
2024-06-24T14:31:34
2024-06-24T14:31:34
Ramona Kühn, Jelena Mitrović, Michael Granitzer
cs.CL
cs.CL
Rhetorical figures play a major role in our everyday communication as they make text more interesting, more memorable, or more persuasive. Therefore, it is important to computationally detect rhetorical figures to fully understand the meaning of a text. We provide a comprehensive overview of computational approaches to lesser-known rhetorical figures. We explore the linguistic and computational perspectives on rhetorical figures, emphasizing their significance for the domain of Natural Language Processing. We present different figures in detail, delving into datasets, definitions, rhetorical functions, and detection approaches. We identified challenges such as dataset scarcity, language limitations, and reliance on rule-based methods.
[ -0.714353919, -0.9011458755, 0.628674984, 0.0325738862, -0.3842193484, 0.2640109062, -0.11488159, -0.7757940292, 0.3354051113, 0.4146398604, -0.6889025569, -0.2530455887, -0.7638847232, 0.3321447968, -0.24654603, 0.3083221018, 0.2690881193, 0.0210480746, -0.2761715949, -0.0895891264, -0.3138006032, -0.5873166919, -0.7001848817, -0.2796487808, 0.5147234797, 0.2790009975, 0.6252046227, 0.7006216645, 0.627125144, 0.3143473864, -0.2482260466, -0.0086700879, -0.4256432354, 0.3804193437, -0.2819762826, -0.3948964775, 0.2206139416, -0.0533140004, 0.6668372154, 0.9675944448, 0.1547686607, -0.1104806736, -0.2408118397, 0.7364272475, -0.5509620905, 0.2128344625, -0.5655415654, 0.118680723, -0.7807630301, -0.2781454325, -0.5737969279, -0.6489120126, 0.0917452872, -0.5555092096, 0.2870431542, 0.1406994611, 0.5375132561, 0.081145443, -0.4849324524, -0.5255528688, -0.7204958797, 0.8933188915, -0.4287593663, 0.0616402663, 0.3773463964, 0.4803425968, -0.2673479915, -0.7621269226, -0.3624012172, -0.1772294641, -0.3637232482, -0.2273712158, -0.8045811057, -0.0075402143, 0.4471652508, 0.2939266264, -0.7150890827, 0.064747937, -0.2616047561, -0.3965483606, 0.5039483309, 0.1446491927, 0.5413222909, -0.4414671957, 0.0924451128, -0.102857016, -0.7774445415, -0.147153765, 0.3350614905, 0.2700495422, -0.0789578632, 0.5027116537, -0.2208201736, 0.7909536362, -0.0252618175, 0.2584536672, -0.2101050168, -0.1776058078, 0.0898597836, 0.0975757316, 0.6701521277, -0.3011397719, 0.5232622623, 0.3270991743, 0.1248341128, 0.0239204504, 0.1176498905, -0.6408339143, -0.397922039, -0.2363955081, -0.5411090255, -0.1784387827, -0.2786003351, -0.6540820003, -0.9817530513, -0.3879462779, -0.289311558, -0.4107615948, -0.2041276246, -0.2366999984, -0.2628077269, 0.1732649207, 0.430255264, -0.6203490496, 0.3578761816, 0.8853312135, 0.6975954175, -0.0259654876, 0.1047427729, -0.3466727436, -0.0783304125, -0.535718143, 1.5125660896, -1.1288913488, -0.2901367545, 0.1549967527, -0.1045219451, -0.1355200857, -0.5691694617, 0.9711347222, -0.3623850942, 0.207848385, -0.6320358515, -0.7026430964, -0.2756182253, 0.2606657445, -1.0113816261, 0.820769906, 0.1317009032, -1.0113832951, -0.0675747693, -0.7023109794, -0.5939448476, 0.2737287879, -0.4839583933, 0.0145880915, 0.5360577106, 0.1031374484, 0.3823480904, -0.6018231511, 0.0746199787, -0.0527994037, -0.2661657929, 0.5518693328, -0.4958662391, 0.7696380615, 0.3080030382, -0.2354370058, -0.0505275019, -0.6484267712, -0.0586010963, 0.2845200002, 0.2867482007, -0.4757130742, 0.1716669351, 0.2843738794, -0.1306259632, 0.093483083, -0.3348176181, 0.0580385886, -0.5832958221, 0.5055912137, 0.4176321626, 0.2853289843, 0.1748643368, -0.4896247089, 0.8205782771, -0.3939534724, -0.2481588721, -0.3249558508, -0.9026615024, -0.2530574799, -0.4027204514, 0.5086715221, 0.465425998, -0.83839643, 0.0022422022, -0.100221239, -0.6185336709, -0.0318229795, -0.360262394, 0.2569952309, 0.4909681678, -0.0213906989, 0.0100694168, -0.6674292684, -1.1310356855, -0.5017204285, -0.1143091172, 0.0138202049, 0.1641904712, 0.5874003768, 0.4076377153, 0.9500200748, -0.6907891035, -0.1239303872, -0.1804779768, 0.7029091716, 0.0518717542, 0.3010696471, 0.8825260997, -0.8322529197, -0.57725811, 0.0396177843, -0.5752327442, -0.2108369917, -0.1107293442, 0.1508346349, -0.117711246, 0.611255765, -0.7193374038, 0.5233942866, 0.0394298807, 0.059798751, 0.5143621564, 0.122801654, 0.4292160571, -0.5657118559, 0.0269837864, 0.1458091587, -0.0045465883, -0.9524687529, 0.0823380277, -0.1773462147, -0.046933867, -0.418615818, 0.3825813532, -0.4455667436, -0.0349959061, -0.4608294666, 0.2817741632, -0.0455009677, 0.173553437, 0.2890680432, 0.6456477046, 0.5623786449, -0.430749625, 0.2427256703, -0.0929292515, -0.403251946, 1.1469038725, -0.6592901349, 0.2848569453, -0.3137535155, 0.3213773668, -1.2892733812, -0.402538836, 0.6901625395, -0.4999917448, 0.1919778883, -0.373478502, -0.5528219938, -0.1555932015, -0.4813670516, 0.7054675221, 0.2160979658, -0.2520213723, 0.4146891534, 0.7345632315, -0.4264257252, -0.29873088, -0.643337369, 0.2122113556, -0.2334282845, -0.4884056747, 0.3734463453, 0.047219824, -0.6137216687, -0.1808855385, 0.1146917045, -0.2367080748, -0.2270276695, 0.1299339235, -0.083034046, -0.2750554681, 0.1121605188, 0.0231296495, -0.1442279518, 0.1002310291, -0.1734284908, 0.4592168033, 0.0333121866, -0.5114159584, -0.5126412511, 0.6434344649, 0.4145362079, 0.14503555, 0.2990227044, 0.4126071036, -1.0032125711, 0.1014881879, -0.384360522, -0.0985645056, -0.4812361598, 0.0390624739, -0.2168477029, -0.6807533503, 0.4251175523, -0.1382844597, -0.2522135973, 0.6781256795, 0.3927344978, -0.2005020231, 0.8376925588, 0.3493449688, -0.0389316604, 0.3534242809, 0.0103290817, 0.2605491281, -0.390622586, -0.1083797067, -1.222247839, -0.3135301769, -0.5413401127, -0.5724414587, 0.0412248187, -0.4035102725, 0.0013917499, 0.2344013155, -0.9434078932, 0.6559230685, 0.1301558763, -0.3917472064, 0.2723075747, 0.3122009635, -0.0489245243, -0.5289999843, -0.434463948, -0.6052138805, 0.5729691982, 0.1982985139, 0.4105677903, 0.049580548, 0.3775993288, 0.6342418194, 0.1443274468, -1.0541975498, 0.6046248674, 0.0578460954, -0.6657212973, -0.1347274482, -0.4718488157, -1.3686548471, 0.2041002959, 0.0093255891, -1.0082689524, 0.2721546292, 0.0573774651, -0.0303164627, 0.1598324627, -0.4524710774, 0.6062500477, -0.1807193011, -0.0317934453, -0.268602699, -0.4103167057, 0.1916305125, 0.2024345547, 0.6856445074, -0.0609191693, -0.0443490259, 0.8563476801, -0.0306799375, 0.8950592875, -0.1208328977, -0.1994287074, 0.7494650483, 0.1535417885, 0.5793568492, -0.2085319757, 0.0483708829, 0.0802073553, 0.1143363565, -0.5121452808, -0.4621564448, 0.6859912872, -0.2918706834, -0.2767769396, -0.7399952412, -0.3237346113, -0.2464638054, 0.0683619678, 0.4785766006, 0.3642280698, -0.5409807563, 0.0697869807, 0.6581436396, -0.0540162846, 0.3336806595, 0.102634728, -0.0397826955, -0.4424931705, 1.0770932436, 0.1574515849, -0.1450213492, 0.7356883287, 0.278883487, -0.4222877324, -0.8732864857, -0.2000511736, 0.290920198, -0.9012641907, 0.0751252919, -0.2085748017, -0.0334963985, -0.3175592721, -0.1910658032, -0.1706851274, -0.7196882367, -0.6080388427, 0.1443561465, 0.4995195866, 1.0909721851, -0.0791373625, 0.3660112023, -0.3004343212, 0.3818071783, 0.1472553313, 0.1967803389, -0.0561773255, -0.2971359789, 0.2317330092, 0.15794985, -0.1609981358, -1.1559200287, 0.2861160338, 0.1225670129, 0.5106045008, 0.386700511, 0.0991206169, 0.5359914303, -0.3173547387, 0.8268556595, 0.1568610519, -0.7330316305, 0.5856792927, -0.6813161373, 0.3522134125, 0.6047682166, 0.5830554366, -0.6125661731, 0.0297556408, -0.5346257687, -0.4708494246, 0.601513207, 0.5366637111, -0.0828071311, 0.0604525954, 0.2805685699, 0.0003185749, 0.1132059172, -0.3639338315, -0.2743156552, -0.0016692039, -0.1825328171, 0.0316708721, 0.09992823, -0.1785566062, -0.2894311845, 0.4084654152, -0.2830083072, 0.2215079218, 0.0333833322, -0.1795894951, -0.0458352491, 0.405777216, 1.1472452879, 0.6418683529, 0.1032001525, 0.2944204509, -0.0288209822, -0.6888200045, -0.1212651506, 0.1814399064, -0.1563269347, 0.256462723, 0.3914579749, 0.4265550673, 0.5120612979, -0.7564681172, 0.2300876677, -0.2746071219, -0.1237867177, -0.4883892536, -0.4420247674, 0.287076056, 0.0678881034, 0.654958427, 0.3714745343, 0.4130794406, -0.6245946288, 0.1505170316, 0.6578779221, -0.3543023169, -0.4158983231, 0.2012219578, -0.0647586063, -0.5354380012, -0.0039107194, -0.3774518371, -0.6038511992, 0.8765996099, 0.419736743, 0.5813059807, 0.2117984444, 0.6547582746, 0.0839560628, 0.2823949456, 0.0307920147, 0.1261136234, -0.0617035404, -0.310770154, -0.1563845426, -0.1433471441, -0.8561668992, 0.2884138823, -0.4612130523, 0.1494022757, -0.5980507135, -0.1871380508, 0.6432539225, 0.0140412068, -0.4163708687, -0.1938108951, 0.5033108592, 0.6127970219, -0.5038571954, 0.3527544141, 0.807687223, -0.0625526458, -0.3820495605, -0.1734210551, 0.5213139057, -0.4352224171, 0.4277506173, -0.0463060923, -0.5192286968, -0.1929128766, -0.7740399241, -0.7537348866, 0.4376009107, 0.7336685061, -0.3172666132, 0.1878955811, 0.3901444376, 0.6972394586, -0.5400518775, 0.5645709038, 0.5610696673, 0.7858194709, 0.4716305733, -0.5814321041, 0.0580585301, -0.3113065064, -0.0965544432, 0.2342718989, -0.2812989652, 0.9449439049, 0.2179755419, -0.5008031726, 0.1957386434, 0.6099829078, 0.5835665464, 0.7095504999, 0.2313411385, 0.0515391417, 0.9575986862, -0.2481598854, 0.8088645935, 0.0130953621, 0.3082177937, 0.9385507107, -0.2650562227, 0.6417005062, 0.2513917387, -0.3296526074, 0.5869705081, 0.7805374861, 0.0768322051, 0.1193805784, 0.5114819407, -0.2105579525, -0.2874638438, -0.400742054, -0.5579397082, 0.4573889077, 0.7676695585, -0.1326771677, -0.4381349683, 0.0208064225, -0.0554282404, 0.5892270803, -0.2350483537, 0.4661278427, 0.1022355333, -0.5844599605, 0.7374233007, -0.0732398555, 0.6035655141, -0.3939231038, -0.4039123058, 0.2049099356, -0.1896038353, -0.108468309, -0.684533596, 0.4258372188, 0.0153225651, 0.0552387312, -0.2683213651, 1.4459135532, 0.0937682465, -0.538683176, -0.147575438, 0.4652196169, 0.2623515725, -0.3615701497, -0.6207029223, 0.2274362594, -0.162012741, -0.0203067213, 0.3267069757, 0.4775945246, -0.040448498, 0.5877890587, 0.4381029606, -0.0714208633, 0.0749361068, 0.0396200679, 0.6647337079, -0.7451957464, -0.4213416278, -0.6517112255, 0.0803546533, -0.3247904181, -0.273016274, 0.555708468, 0.4165196717, 0.453223139, -0.2844709456, 0.8002601862, -0.0787471458, 0.5486995578, -0.3644090593, 0.8736826181, -0.2094056606, 0.2864469588, -0.3854780197, -0.4891756177, -0.3171642721, 0.7654776573, -0.5085477233, -0.0708120167, 0.6999504566, 0.4418893158, 0.0720877424, 0.7727037072, 0.1346220374, -0.0697839931, 0.1484934837, 0.3423800468, 1.3219671249, -0.2786752582, 0.5913347602, -0.3846619129, 0.0919235945, -0.184083119, -0.9958157539, -0.9353350997, -0.8714945912, -0.6591275334, 0.3174134195, -0.314548403, 0.7083315849, 0.6908730865, -0.9504094124, -0.2143429369, -0.2666998208, 0.653842926, -0.1704107225, -0.2775150537, 0.1908152401, -0.0194082223, -0.6169245839, 0.5654569864, 0.3786258399, 0.063732557, -0.1038571969, 0.2582737207, -0.4217179716, 0.5781015754, 0.5574628711, 0.7534834146, -0.6544524431, -0.3711530566, -0.0666745678, -0.0442617163, 0.2058620751, 1.513202548, -0.941898644, 0.0628150031, 0.8306961656, 0.419339776, 0.3719957471, 0.0026463263, 0.0934547335, -0.7402373552, 0.0928956494, 0.681258142, 0.29694435, 0.41123873, -0.4733668268, 0.4263114631, 0.4254156351, -0.2312190086, -1.0341044664, 0.5419562459, -1.2193938494, -0.3951841891, 0.5967285037, 0.129591465, -0.2448636442, -0.5371193886, -0.4392699301, -0.1076138169, -0.2958170772, 0.3723631501, 0.7735210061, -0.4954133034, -0.3816034496, -0.470043689, 0.6505832672, 0.1622400284, -1.0625349283, 0.0997861773, 0.6799581051, 0.0051175277, 0.5103632808, 0.6529423594, 0.0031704626, 0.3417238295, 0.0583562665, -0.6247548461, 0.3104904294, -0.2058146, -0.2970169187, 0.7134712338, 0.090925701, 0.194258526 ]
http://arxiv.org/abs/2406.16672v1
http://arxiv.org/pdf/2406.16672v1
CAVE: Controllable Authorship Verification Explanations
2024-06-24T14:27:54
2024-06-24T14:27:54
Sahana Ramnath, Kartik Pandey, Elizabeth Boschee, Xiang Ren
cs.CL
cs.CL, cs.AI
Authorship Verification (AV) (do two documents have the same author?) is essential for many sensitive real-life applications. AV is often used in proprietary domains that require a private, offline model, making SOTA online models like ChatGPT undesirable. Other SOTA systems use methods, e.g. Siamese Networks, that are uninterpretable, and hence cannot be trusted in high-stakes applications. In this work, we take the first step to address the above challenges with our model CAVE (Controllable Authorship Verification Explanations): CAVE generates free-text AV explanations that are controlled to be 1) structured (can be decomposed into sub-explanations with respect to relevant linguistic features), and 2) easily verified for explanation-label consistency (via intermediate labels in sub-explanations). In this work, we train a Llama-3-8B as CAVE; since there are no human-written corpora for AV explanations, we sample silver-standard explanations from GPT-4-TURBO and distill them into a pretrained Llama-3-8B. Results on three difficult AV datasets IMdB2, Blog-Auth, and FanFiction show that CAVE generates high quality explanations (as measured by automatic and human evaluation) as well as competitive task accuracies.
[ 0.0293163471, -0.5170358419, 0.6193861365, 0.265779078, -0.3082043529, -0.0293473806, -0.1102603003, -0.5494328141, 0.0587610379, 0.6452355385, -0.6316516399, -0.3955898285, -0.8812742829, 0.406288445, -0.1823851615, 1.2061191797, -0.4776749611, -0.1383750737, -0.3655866086, -0.1652614772, -0.4170581698, -0.2766575217, -0.6883023977, -0.3475129008, 0.5422244072, 0.1164195463, 0.4649634361, 0.7627081871, 0.3412622511, 0.227156058, 0.0029594656, 0.264329493, -0.7271429896, 0.1282014102, -0.1567521095, -0.4645544291, -0.4744807184, -0.0774861872, 0.2150014043, 0.2168556899, 0.0439612791, 0.1228108257, -0.1356328577, 0.3571434915, -0.5883216858, 0.3248816431, -0.4561268985, -0.0352593064, -0.1153474972, -0.4167305529, -0.5931286812, -0.5529836416, 0.0032720349, -0.9045182467, 0.2481721938, 0.042646274, 0.8610826135, 0.5913978219, -0.4603588283, -0.5641970634, -0.7228862047, 0.6235860586, -0.4076594412, -0.0362327918, 0.5187886953, 0.408264637, -0.0246309619, -0.7118560672, -0.6210880876, -0.0767630786, -0.3366945386, 0.1097313017, -0.0836557299, -0.0659194216, -0.0573507436, 0.1940224618, -0.5608345866, 0.1022345498, -0.4126295149, -0.3663905859, 0.8145756125, -0.1410856545, 0.1906488538, 0.0961848423, -0.5322434306, 0.054461278, -1.1881130934, 0.303842783, 0.4185704291, 0.0855435729, -0.0139315175, 0.7669314742, 0.1013636589, 0.4021508992, 0.1127772033, 0.0215224437, -0.139601782, -0.1667508185, -0.0617200024, 0.3353603184, 0.7080269456, -0.0025981404, 0.3450427055, -0.3229317069, -0.1055848897, -0.00477533, 0.1270350218, -0.6457625628, -0.2258665711, 0.4183422923, -0.2131468952, -0.408867538, 0.0400731638, -0.5054678321, -0.8242510557, -0.1535240561, 0.7977606654, -0.0298196152, -0.3976871669, 0.0496727005, 0.0153987901, 0.1348236799, 0.553026855, -0.630032897, 0.2585893571, 0.6295092702, 0.6153270006, -0.1729961187, -0.2675439417, -0.9248501062, 0.2003787458, -0.4503014386, 0.3532284498, -0.3581745625, -0.0179613121, -0.1455748528, -0.1312876195, -0.0277141463, -0.2066452652, -0.0269084256, -0.7072736621, 0.2800987065, -0.2704296708, -0.4207912087, -0.2533175647, 0.1499058306, -0.5298429132, 0.706302166, -0.0946394727, -0.8716387153, 0.3159152269, -0.7144418955, -0.1265883744, 0.0894492641, -0.386788398, -0.3297995925, -0.2867935896, 0.3727598786, 0.5371398926, -0.063694872, 0.3746915162, 0.2237305641, -0.4227153957, 0.1596963853, 0.1497271061, 1.0343332291, 0.0786530748, -0.8189404607, 0.1768175066, -0.6414306164, -0.3762279451, 0.1926764697, -0.3058787882, -0.2817622721, -0.0945775658, -0.5314840674, -0.2138275802, 0.4462003708, -0.5851731896, 0.0712008625, 0.1459487826, 0.3226230741, 0.9157881737, 0.0495308526, 0.1198011115, -0.1965454519, 0.8236235976, -0.1154579967, 0.0552999303, -0.198928535, -0.6973041296, -0.3423582613, -0.7407479882, 0.3508576155, 0.6575254798, -0.6090295911, 0.1450059265, -0.2002171427, -0.45331949, -0.5534305573, 0.1769324392, 0.7409818769, 0.4265222847, 0.3204612732, -0.188326031, -0.367972672, -0.6175056696, -0.4699026048, -0.088505961, -0.3022710979, 0.7177832127, 0.5081573129, -0.2692605853, 1.0728350878, -0.2437630147, -0.3078892529, -0.0704282373, 0.3383722007, 0.1500964612, 0.4660442472, 0.3417780995, -0.9710710645, -0.303080529, -0.0225369632, -1.0054298639, -0.2776637673, -0.2226461321, -0.1468556225, -0.1518811733, 0.7446790934, -0.7131945491, 0.5195102692, 0.533206284, -0.5304315686, 0.6362430453, -0.2576408982, 0.0969917625, -0.7759977579, 0.1014557183, -0.201068446, -0.5668303967, -0.313564539, 0.3657156527, -0.1881688684, 0.0923905373, -0.3806279004, 0.4860903621, -0.4556783736, 0.1119249314, 0.1413530409, 0.290482074, -0.0029790681, 0.7737679482, -0.1231131181, 0.6087787747, 0.7125219703, -0.6106638908, 0.3452720642, 0.3823156655, -0.2143494636, 0.3305762708, -0.9184439778, 0.3918577433, -0.3336421251, 0.5999364853, -1.2045154572, -0.4892275631, 0.2402370274, -0.5443359017, 0.2624239028, -0.3694961369, -0.3930614591, 0.195422098, -0.0311722532, 0.4482192099, 0.4375497401, -0.6647797823, 0.77810359, 0.2111033797, -0.3693714738, -0.844468832, -0.6600115299, -0.0560331456, -0.1783338636, -0.5255814791, 0.1223866269, -0.1366910189, -0.4532489181, 0.0883555636, -0.2203191966, -0.3033742309, 0.1046689302, 0.5828123093, 0.2422321141, -0.209889859, 0.0073342989, 0.2332732826, -0.0704998299, -0.0269766543, -0.0772294328, -0.0432046242, -0.1882662624, -0.1288127154, -0.5651109219, 0.3806490004, 0.614880383, -0.3616105914, 0.8490874171, 0.3449118435, -0.3703091741, 0.0141504249, -0.3626332879, -0.1136850491, -0.4137404263, -0.3118678927, -0.4458198547, -1.2786282301, 0.6779530048, -0.0767860487, 0.2616541982, 0.5891965032, 0.5857740641, 0.134325102, 0.9311630726, 0.5881783366, 0.2985241115, -0.0142209353, -0.236947909, 0.2948418558, -0.6201314926, -0.46348387, -0.5179098248, -0.1446429789, -0.5044522882, -0.2248597592, 0.2750644982, 0.0522704758, -0.2421295494, 0.6352886558, -0.6182513833, 0.8275750875, 0.5623122454, 0.0576365404, 0.5249893665, -0.3559791148, -0.0347680226, 0.1612319201, -0.3652448058, -0.7560001612, 0.987596333, 0.3262298405, 0.8075497746, 0.4210972786, 0.8480527401, 0.6063860655, 0.2614888549, -0.3065409362, 0.438500315, 0.0257087331, -0.9823106527, -0.5380104184, -0.4183156192, -0.9764240384, 0.1990441531, -0.1424558759, -1.0363429785, 0.2062748969, 0.3975740373, -0.5812094808, 0.0810926259, -0.7069058418, 0.6393277049, 0.1055879593, -0.4358323812, -0.0121250954, -0.9458175898, 0.5756617785, -0.2373188585, 0.3587809801, 0.0810181201, 0.1539374888, 0.719358623, -0.5035600066, 0.9099699259, -0.3927346468, -0.1114831194, 0.2297206372, 0.5266386867, 0.744197309, 0.3206670284, -0.0886413231, 0.3128558099, -0.0359740108, -0.3114711046, -0.3367596269, 0.7188267112, -0.9779735208, -0.5157412291, -0.3100230396, -0.2907203138, 0.0898355916, 0.3772626519, 0.5838972926, 0.3960752189, 0.0314639434, 0.4023762941, 0.8787922859, -0.2040767521, -0.1524007767, 0.1901891083, 0.0922907516, -0.1030103341, 0.7115284204, -0.1388260424, -0.0383455269, 0.6113005877, 0.357023865, -0.2592943609, -0.4473924935, -0.564427495, 0.2590079904, -0.6917918324, 0.0251786932, -0.7574605346, -0.0933625624, -0.2492272258, -0.4455328286, -0.2535375655, -0.5379135609, -0.2725118101, -0.2695055306, 0.3122168779, 1.0288761854, -0.033226233, 0.4942212403, -0.3110040724, 0.6168151498, 0.6450394988, 0.2565956712, -0.2563337386, -0.3860696852, -0.026087014, 0.0681095496, 0.0024391459, -0.9065802693, -0.0535647832, 0.3071193099, 0.4731308222, 0.4151574373, 0.1398029923, 0.251876086, -0.360290736, 0.984911561, -0.1258853376, -0.9978116751, 0.5841293335, -0.5014328957, -0.2202810496, 0.5640303493, 0.4749403298, -0.1141165122, -0.6804044843, -0.6871961951, -0.7793180346, 0.8615359068, 0.5616551638, -0.0627762303, 0.4376191199, 0.5005754828, 0.6510302424, 0.3059846163, -1.0338383913, 0.0856472403, -0.3388203084, 0.0048660715, -0.1962655038, -0.1687626839, -0.6448399425, 0.2501572669, 0.7718624473, 0.0519388728, 0.1902164072, 0.4154134095, -0.2882491648, -0.1510090083, -0.0713101476, 0.8035158515, 0.9734292626, -0.2310717404, 0.4646385908, -0.2144643068, -0.3128598928, 0.0744458213, -0.1213876531, 0.0042604571, 0.0482517257, 0.7064922452, 0.7513757348, -0.2351963967, -0.4741748869, 0.8878068328, -0.3158853352, -0.4579785764, -0.2535037696, 0.185115993, 0.1104297861, 0.246705696, 0.2729488611, 0.1167966202, -0.1441857964, -0.1527525783, -0.0906491801, 0.0440259576, -0.3229142427, -0.3433268964, 1.0881903172, 0.1802087426, -0.3511339128, 0.4351423681, -0.2016867399, -0.3360034525, 0.7337486744, 0.3327765465, 0.8215869069, -0.0950862616, 0.2872716784, 0.2720191181, 0.4944666922, -0.0606627129, 0.092116721, -0.4898090363, -0.5325477719, -0.47914958, -0.2856996059, -0.8341934681, 0.0186054669, -0.5724125504, 0.0016979715, -0.55532974, 0.3640267551, 0.1086884364, -0.2589695156, -0.6079852581, 0.2879279256, -0.1709581017, 0.7585629821, -1.134835124, 0.3025134206, 0.4275535047, -0.2761621475, -0.9999160767, -0.2370875627, 0.2126642615, -0.986941874, 0.4416163266, 0.2894419134, -0.4475956857, 0.1381806433, -1.0386588573, -0.4972138703, 1.2620817423, 0.5393497348, -0.1974470764, 0.249592483, -0.3899805546, 0.6325699687, -0.2932900786, -0.0127682257, 0.1372726709, 0.5136309266, 0.2567566931, -0.7840326428, 0.2696400881, -0.3088239133, -0.44933635, -0.1794755012, -0.4413483739, 0.7636714578, -0.3506831229, -0.0454488322, -0.0260308925, 0.4638287425, 0.6345197558, 0.4649915397, 0.7164795995, 0.2402852774, 0.9258034825, -0.0595700257, 1.1159361601, -0.0641139373, 0.1611050665, 1.1163518429, -0.129765898, 0.5083594918, 0.4861630499, 0.0384757631, 0.7385345101, 0.8582604527, 0.2710904181, 0.5490326285, 0.2966490686, -0.1502433568, -0.403986603, -0.0630669668, -0.3649918437, 0.6257495284, 0.0253836177, -0.2531168163, 0.0788284168, -0.1521776915, 0.1913655251, -0.1116416603, -0.1354992986, 0.7269442081, -0.0050438144, -0.9715934396, 0.4612847865, -0.1370050311, 0.3133873343, -0.7585331202, -0.0426123664, -0.2197909355, 0.2397944778, -0.3211379647, -0.4567281902, 0.0671452358, 0.4269680381, 0.0590606928, -0.4229611158, 0.4364760518, -0.4573145211, -0.1045547649, -0.0988938957, 0.2569459677, 0.7610353231, -0.0551379807, -0.1587214321, -0.1868789643, -0.034591157, -0.4460959136, -0.1569598466, 0.5896049142, -0.3736525774, 0.7226327658, 0.5493494868, 0.1990962625, 0.2060643882, -0.1415662467, 0.6225845218, -0.1258937716, -0.8098761439, -0.7909415364, 0.5239694118, 0.1142745614, -0.364520669, 0.493439585, 0.4528849125, 0.6533702016, -0.1244067401, 0.8865750432, -0.2176001668, 0.3217952549, -0.5657768846, 0.8366554976, -0.7432275414, 0.1697741002, -0.2302877754, -0.7499544621, -0.440948993, 0.5091186762, 0.0894067883, -0.0247803703, 0.7199100852, 0.8502539396, -0.0906885862, -0.1005156934, -0.0423866101, 0.3575093746, 0.5384936333, 0.4435495436, 0.5825865269, -0.2716431618, 0.6762184501, 0.0336388312, -0.6981090307, -0.4622215629, -1.2676355839, -0.8811047673, -0.5905257463, -0.5125131607, -0.3058435619, 0.0364767946, 0.4773864746, 0.8464810252, -0.7941390276, 0.0152495131, -0.224961251, 0.4156786203, -0.5011839867, -0.1380430311, 0.564268887, 0.3083066046, -0.448313117, 0.4127490222, 0.234518975, -0.0419617444, -0.2970188558, -0.3439077437, 0.0199399386, 0.3341296911, 0.1897122562, 0.4566676915, -0.8070634007, -0.2992596626, 0.0437369607, -0.1487965584, -0.083818987, 0.933807373, -0.4703455269, 0.8095796704, 0.5159900188, 0.5554910898, 0.6689504385, 0.1982733756, 0.5765370727, -0.8359669447, -0.1150297523, 0.1607035249, 0.2315734774, 0.3756541312, -0.9007722735, 0.6862574816, 0.0683758259, -0.8109041452, -0.8720952868, 0.093422763, -1.1375596523, 0.0046890504, 1.1071749926, -0.5913060308, -0.1059122384, -0.14514561, -0.2920009494, 0.499944061, -0.1369369924, 1.0932465792, 0.7971770763, -0.2659558356, -0.0689691454, -0.292003572, 0.5241624713, 0.1186707392, -0.6614257693, 0.148104459, 0.2045615911, 0.2115785331, 0.221146211, 1.0070428848, -0.1515369415, 0.4818148315, 0.0507888123, 0.129670158, -0.5610269904, -0.6516601443, -0.1415026039, 0.0074591753, -0.0379544646, -0.4044108689 ]
http://arxiv.org/abs/2406.16655v1
http://arxiv.org/pdf/2406.16655v1
Large Language Models Are Cross-Lingual Knowledge-Free Reasoners
2024-06-24T14:03:04
2024-06-24T14:03:04
Peng Hu, Sizhe Liu, Changjiang Gao, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang
cs.CL
cs.CL
Large Language Models have demonstrated impressive reasoning capabilities across multiple languages. However, the relationship between capabilities in different languages is less explored. In this work, we decompose the process of reasoning tasks into two separated parts: knowledge retrieval and knowledge-free reasoning, and analyze the cross-lingual transferability of them. With adapted and constructed knowledge-free reasoning datasets, we show that the knowledge-free reasoning capability can be nearly perfectly transferred across various source-target language directions despite the secondary impact of resource in some specific target languages, while cross-lingual knowledge retrieval significantly hinders the transfer. Moreover, by analyzing the hidden states and feed-forward network neuron activation during the reasoning tasks, we show that higher similarity of hidden representations and larger overlap of activated neurons could explain the better cross-lingual transferability of knowledge-free reasoning than knowledge retrieval. Thus, we hypothesize that knowledge-free reasoning embeds in some language-shared mechanism, while knowledge is stored separately in different languages.
[ -0.2025901973, -0.3338487744, 0.8143795729, 0.187034741, 0.1159375012, -0.1692903638, -0.4928600192, -0.7128592134, 0.1258907616, 0.3675933778, -0.173040092, 0.0808508173, -0.6070686579, -0.0749157742, -0.3609692752, 0.6182360053, -0.3237800598, 0.0000136366, -0.3493868113, -0.2744897604, -0.2929328084, -0.4552111328, -0.5069358945, -0.6840025187, 0.704867661, 0.0539776906, 0.7186074257, 0.2489501387, 0.0534830093, 0.2090814561, -0.1403509974, -0.0385037772, -0.1845697612, 0.0624195896, -1.0230371952, -0.6884744763, -0.100795038, -0.3620027304, 0.5548316836, 0.7996971607, 0.1683339477, -0.0898314044, 0.0679416582, 0.4389725327, -0.5930127501, 0.374110043, -0.6167476177, -0.145657599, 0.1506132036, -0.0357137211, -0.471150279, -0.1930543482, 0.2964259982, -0.78908813, 0.0378756225, -0.1111673489, 0.8265398145, 0.0066610659, -0.4509161115, -0.2408276498, -0.5354422331, 0.7163895369, -0.3807910979, 0.5519637465, 0.4998035729, 0.2882809639, 0.2764062285, -0.3696250916, -0.5916451812, -0.263741225, -0.3659439087, -0.3703688681, -0.5208120942, -0.1880383939, 0.3003788292, 0.0968552977, -0.4334466755, 0.0214643739, -0.4129982591, -0.3759815097, 0.6573033929, -0.3861481249, 0.6896293759, -0.1458750665, -0.3185248077, -0.1002024561, -0.6220697165, 0.0275747124, 0.1285816729, 0.4018295705, -0.1072732732, 0.4802596867, -0.2475567013, 0.5164417624, -0.2706434131, 0.1977889538, 0.0549559332, -0.4550617933, -0.0470862612, 0.0539869368, 0.8087625504, 0.1332875788, 0.6851478815, -0.5633279085, -0.148172155, -0.2570043206, -0.0591629148, -0.4625776112, -0.1127117053, -0.1884348094, -0.4541801214, 0.2971409857, -0.3663460314, -0.3961735368, -0.1983309537, -0.279835999, 0.6715149879, -0.5583714247, -0.6722331643, 0.264220655, -0.2066320181, 0.3362804651, 0.2290971875, -1.0584305525, 0.1573467702, 0.7641559243, 0.6667259932, -0.2997127175, -0.4574863911, -0.2342720032, 0.2494391948, -0.5001369715, 0.6435142159, -0.3749678433, -0.0161971357, -0.0763191208, 0.361830771, -0.5788619518, -0.4634596705, 0.1108046621, -0.7990025878, 0.0214906689, -0.8334627748, -0.3231975734, -0.7751618624, 0.2244431078, -0.779840827, 0.5437880754, -0.0598148853, -0.7045978904, 0.2511672974, -0.3847005665, -0.7007504702, -0.0978977084, -0.096558027, 0.4268752038, 0.1049584225, 0.2325982898, 0.4308772683, -0.4938622415, 0.2838688791, -0.2939074337, -0.1574303508, 0.3765423, -0.322960794, 1.1812900305, 0.0121760927, -0.4263114333, 0.0963575616, -0.4788708389, 0.1911232024, 0.0487595648, -0.2282175571, -0.7473160625, -0.1930909902, -0.4121715724, 0.4874841571, 0.2085892558, -0.5636911392, 0.1017759666, -0.1726195514, 0.4590927064, 0.3484567106, -0.1126755178, 0.806032896, -0.2384411991, 0.2225117683, 0.1397709399, -0.1966274232, 0.2516847253, -0.5419830084, -0.7612404823, 0.0402157381, 0.2505196035, 0.7990252972, -1.0739063025, -0.1571478397, -0.4990333617, -0.2596257329, -0.3077305853, -0.0183925033, 0.5158830285, 0.2046676427, 0.500559032, 0.0028102419, -0.0374070518, -1.0986235142, -0.3969368935, -0.0450192802, 0.0840051174, 0.2161627114, 0.5819420815, 0.1482211202, 0.3833773434, -0.1008482873, 0.0576437749, -0.563226819, -0.0840239748, 0.0635139048, 0.5600831509, 0.6213360429, -0.5265961885, -0.3660096824, 0.5498110652, -0.9053512216, 0.0343659967, -0.3414111435, -0.424746573, 0.2512103617, 0.4284943044, -0.8566355705, 0.2739365101, 0.4253614545, -0.4172905684, 0.4600680172, -0.2893970311, 0.1713359654, -0.7949334383, 0.1961977035, -0.2822716534, 0.172535494, -0.5102074146, 0.1634732038, 0.1133222654, 0.0737876371, -0.3843329847, 0.9487951994, -0.6680624485, -0.3889679015, -0.1752275229, 0.137469396, 0.1762054414, 0.5581470132, 0.1928146929, 0.5117648244, 0.9432471991, -0.6428833604, 0.3993763626, 0.1103575751, -0.5342882276, 0.4118454754, -0.6363703012, -0.1165251955, 0.0417973474, -0.1598388702, -0.6144794226, 0.0567787029, 0.1004942358, -0.4339261353, 0.1752651036, -0.18003048, -0.5313636065, 0.0945643187, 0.3968711495, 0.6220262051, 0.2593087256, -0.5473505259, 0.5944583416, 0.00702783, -0.1209504604, -0.6582030058, -1.1241241693, -0.1810923964, 0.081211336, -0.7406027317, 0.2313856184, 0.3127444088, -0.4587317705, 0.4596492052, -0.0458780453, -0.1970989108, -0.1475538164, -0.0238932632, 0.1379595399, -0.3136282563, 0.3926135302, 0.2092524469, -0.0545289665, 0.2075843364, -0.5233413577, 0.3245965838, 0.031740088, -0.6176452637, -0.1702505052, 0.648244679, 0.7744575739, -0.442866385, 1.0598289967, 0.3568351567, -0.3402832448, -0.3659127653, -0.2780152559, -0.0790071562, -0.3280408382, 0.2338430583, -0.72330302, -0.9187853932, 0.7817400694, 0.2787026465, -0.0043730955, 0.4628456831, 0.3442602754, 0.4191420376, 0.8079693317, 0.458412528, 0.1513120532, 0.1599960774, -0.2483172268, 0.3761741817, -0.6370327473, -0.5366893411, -0.3678337932, -0.2777695954, -0.3878032863, -0.6758172512, -0.1868683398, 0.3083080053, -0.3649107814, 0.4148832858, -0.1980288178, 0.4711016119, 0.7047458887, -0.147432819, 0.3158679903, 0.1499708295, -0.6213701963, 0.1235347614, -0.8766716123, 0.0690793768, 0.6384000778, 0.0638167262, 0.621712327, 0.1851620078, 0.2739026546, -0.1732347608, -0.1263802648, -0.8737163544, 0.7135498524, -0.4355393946, -0.6739264131, -0.1844704747, -0.606153965, -0.806497097, 0.5965794921, -0.1672189832, -0.9435034394, 0.3951638341, -0.3103352487, -0.0659741759, 0.9260442257, -0.6995657086, 0.7297710776, -0.4703316092, -0.4917857647, -0.41690135, -0.4309384525, 0.3532232046, 0.1591612697, 0.2100212127, -0.148697868, 0.228182584, 0.6427490711, 0.0324181467, 0.5158478618, -0.1401790828, -0.2907107174, 0.2774400413, 0.6092649102, 0.0778910816, -0.2151866704, -0.1672209203, 0.3634083271, 0.0355301127, -0.3638227284, -0.8869131207, 0.7049303651, -0.6943172812, -0.8555998206, -0.1865980178, -0.9424857497, -0.167427659, 0.4138784409, 0.1565516591, 0.1882211864, 0.3023823202, 0.2273551524, 0.6539119482, -0.3908008933, 0.4101341069, 0.3408558965, -0.5036685467, -0.055879388, 0.969289124, 0.359700799, 0.4907846451, 0.7459246516, 0.0445331521, -0.2885899246, -0.3019315004, -0.3835480213, 0.4540367424, -0.8621233702, 0.2810839117, -0.5228209496, -0.2786658406, -0.2820110321, -0.2659484148, -0.3745719194, -0.7311986685, -0.1105160415, -0.1551921219, 0.2089139968, 0.4382377863, -0.4435344636, -0.2669023871, -0.911192596, 0.3357224464, 0.5861285925, 0.398756206, 0.5003667474, -0.3445787132, -0.1507252008, 0.1135921627, 0.337118715, -0.9604073167, 0.351791352, -0.0582896471, 1.0042681694, 0.1658070385, -0.0526120029, 0.3029225767, -0.1834152192, 0.6908376813, 0.2891554236, -0.9682093263, 0.2562949955, -0.2174502164, 0.3109682798, 0.1517282724, 0.6435548067, -0.5333488584, 0.0740201771, -0.3834134042, -0.6206147075, 0.7654879689, -0.0518443324, -0.0246623103, 0.0398244001, 0.0829957351, 0.1696777344, -0.227172181, -0.6811800599, 0.1762804985, -0.157177642, 0.3967152536, 0.1182263345, 0.0371519923, -0.327106297, -0.3747875392, 0.5647054315, -0.1822810769, 0.3711683452, 0.1800406575, -0.2529782951, 0.1155250743, 0.5856004953, 0.2154557109, 0.534271121, 0.3765731752, 0.3619578481, 0.25195539, -0.0234686881, 0.1798410863, 0.166014865, -0.1900554001, -0.1169368625, 0.5598367453, 1.0676921606, 0.262547493, -0.4849979877, 0.4423007369, 0.0115698222, -0.6197371483, 0.1248278469, 0.0357703231, 0.4699770212, 0.6747294664, 0.2264334857, 0.0605017096, -0.0851228982, -0.5401643515, 0.0744628757, 0.3882946968, -0.3142771125, -0.4141155183, 0.5524566174, -0.2258838564, 0.0626073554, 0.8028264642, -0.2948116958, -0.6150696278, 0.4982984364, 0.6356837749, 0.7667704225, -0.00818979, 0.3835982382, 0.4661098123, 0.3499943018, -0.3127643764, 0.3709698915, -0.3446830213, -1.0401492119, -0.763266325, -0.4333634675, -0.0712478161, -0.03017487, -0.652657032, -0.3186002076, -0.1238395423, 0.1442908943, -0.028358601, -0.2916572392, -0.6082891226, -0.050409846, 0.1646372825, 0.9373357892, -0.6767635942, 0.9288913012, 0.6797827482, -0.3877311349, -1.2687641382, -0.1319868118, -0.2938770056, -0.8692701459, 1.0341128111, 0.0353969522, -0.234995693, -0.3631289005, -0.1602935046, -1.0686700344, 0.8351587653, 0.6448398829, -0.4157208204, -0.2854942381, 0.1690633446, 0.5320190787, -0.101600267, -0.0916449577, 0.4035708308, 0.401162535, 0.2405115962, -1.4209034443, 0.5225346684, -0.2733251154, -0.1987692863, 0.2003934979, -0.4709396958, 1.0644614697, -0.4197843373, -0.2949032485, -0.2457285523, 0.2821910977, 0.0912370458, 0.0204870757, 0.3194426, 0.7594623566, 0.6294618249, -0.1101076379, 1.0770299435, -0.2415650189, 0.059824612, 0.7971255779, -0.2397240996, 0.8513297439, 0.3576447368, 0.1648677737, 0.846536696, 0.0658397824, 0.1596043855, 0.5138334036, 0.1665103883, -0.2636685967, -0.5875913501, -0.1007467881, -0.3389261961, 0.4930422008, 0.4356839359, -0.4737887084, -0.3075227439, 0.0891441628, 0.1462959945, -0.1791869551, -0.5491114259, 0.5063952804, 0.2553695738, -1.1431792974, 0.8224551082, -0.3571934998, 0.4862042665, -0.4623266459, -0.0050245463, -0.0619468503, 0.1842315197, -0.3018116951, -1.1839962006, 0.5818144083, -0.228054598, -0.2889235318, -0.3780865967, 1.0698342323, -0.5196620822, 0.0046960423, 1.0048223734, 1.0602293015, 0.2115322798, -0.081086956, -0.5820636749, -0.4136760831, 0.135576427, -0.3038363457, 0.6172710061, 0.6654215455, -0.5222423077, 0.7239233255, 0.712503612, 0.4119709134, 0.206054762, 0.207044825, 0.6477717757, -0.6477705836, -0.4476737082, -0.528006196, 0.1984306872, 0.1724886447, 0.0818168893, 0.6617580652, 0.1756056398, 0.98806566, -0.1246845499, 0.8679151535, -0.3101176322, 0.2464571744, -0.4932361245, 1.0492072105, -0.7853993773, -0.0287436824, 0.1914920956, -0.6750108004, -0.2480907589, 0.6279996634, -0.6613714099, -0.1190580353, 0.9151476622, 0.65827775, -0.1385573298, 0.1070922464, 0.4330370128, 0.0609114952, 0.0169917699, 1.0898160934, 0.8034282923, -0.0347129256, 0.6864737868, -0.2816813886, -0.0792769715, 0.1966176033, -0.776910603, -0.7984184623, -0.6846948862, -0.1382489353, -0.2725759745, 0.0162621774, 0.410230279, 0.7203063965, -0.7281748056, -0.1685847044, -0.020069398, 0.456756562, -0.5283226967, -0.2376616746, 0.4115486443, -0.133737132, -0.4018289447, 0.4810706675, 0.0491287746, -0.1663167477, -0.1280669123, 0.0700878352, -0.3608811498, 0.0458341725, 0.6340436339, 0.5562449694, -0.6657067537, -0.4381878972, 0.3189166784, -0.0156613123, -0.245397225, 0.9281966686, -0.6599595547, 0.3553634584, 1.0786602497, 0.7143805027, 0.5093074441, -0.6154626608, 0.5429666042, -0.4849947095, 0.0454708785, -0.0322807841, 0.6341210008, 0.3705904186, -0.1443432122, 0.2450752556, 0.2668504715, -0.4985772967, -0.4479658008, 0.3639478683, -0.9022634625, -0.6884017587, 1.4708590508, -0.4529890418, -0.1626992822, -0.1602366716, 0.2173466682, 0.5618161559, -0.0645707175, 0.3157314062, 0.8590620756, -0.3911521733, -0.2969695032, -0.6059268117, 0.3510997891, 0.4561098814, -0.6811511517, 0.0665293932, 0.3159067929, 0.4923578501, 0.572860539, 0.4726856053, -0.287393868, 0.3255056441, 0.3472622037, -0.0434760787, -0.0424899682, -0.4649148285, -0.1670012772, 0.4416853786, -0.1696675271, -0.0764529407 ]
http://arxiv.org/abs/2406.16635v1
http://arxiv.org/pdf/2406.16635v1
ShadowLLM: Predictor-based Contextual Sparsity for Large Language Models
2024-06-24T13:41:08
2024-06-24T13:41:08
Yash Akhauri, Ahmed F AbouElhamayed, Jordan Dotzel, Zhiru Zhang, Alexander M Rush, Safeen Huda, Mohamed S Abdelfattah
cs.LG
cs.LG, cs.AI, cs.CL
The high power consumption and latency-sensitive deployments of large language models (LLMs) have motivated techniques like quantization and sparsity. Contextual sparsity, where the sparsity pattern is input-dependent, is crucial in LLMs because the permanent removal of attention heads or neurons from LLMs can significantly degrade accuracy. Prior work has attempted to model contextual sparsity using neural networks trained to predict activation magnitudes, which can be used to dynamically prune structures with low predicted activation magnitude. In this paper, we look beyond magnitude-based pruning criteria to assess attention head and neuron importance in LLMs. We developed a novel predictor called ShadowLLM, which can shadow the LLM behavior and enforce better sparsity patterns, resulting in over 15% improvement in end-to-end accuracy without increasing latency compared to previous methods. ShadowLLM achieves up to a 20\% speed-up over the state-of-the-art DejaVu framework. These enhancements are validated on models with up to 30 billion parameters. Our code is available at \href{https://github.com/abdelfattah-lab/shadow_llm/}{ShadowLLM}.
[ -0.2391712368, -1.05344522, 0.4988912046, 0.4580138326, -0.1804149747, -0.1056352034, -0.3089870811, -0.2374720573, 0.2468519956, 0.6643690467, -0.441124022, -0.3882739246, -0.5065452456, -0.2483365834, -0.4769772291, 0.6256254911, 0.2002453357, 0.0883882418, -0.4338145852, -0.0423849896, -0.5002244711, -0.6671435833, -0.5948491096, -0.412758708, 0.6448886395, 0.0082623558, 0.6137393117, 0.4347032309, 0.4020935893, 0.2709248662, -0.412558049, -0.0588922836, -0.5535346866, 0.2077523321, 0.0797663778, -0.1686706543, -0.8097212315, -0.2296964079, 0.7175678611, 1.0431293249, -0.3691091835, 0.1047865823, 0.2802673578, 0.5347121954, -0.8439933062, -0.029099511, -0.6013374329, -0.1090766639, -0.0885748416, -0.2817462385, -0.3832490444, -0.0537327044, -0.0509173833, -0.2847755849, 0.1497973651, 0.0851422027, 0.4885029793, 0.5284742117, -0.1772496998, 0.3890970051, -0.7699811459, 0.8585203886, -0.7746106982, 0.6519036889, 0.4063108563, 0.100160189, -0.2506358325, -0.6165016294, -0.3967084289, -0.2944167852, -0.178026408, 0.0735012516, -0.3487211466, 0.2223381847, 0.364720583, 0.1805597842, -0.6868727803, 0.0891640112, -0.0380131155, -0.0476574525, 0.2429146022, 0.2374140173, 0.0127184829, 0.0006079758, -0.3128508031, 0.1682284921, -0.8078768253, -0.1547996104, 0.2545278072, 0.0087779034, -0.0309881419, 0.1876661777, -0.1091321036, 1.0949690342, 0.3448479772, -0.0134946145, 0.0120825805, -0.1071822718, -0.3085137904, 0.0622206144, 0.5876139402, 0.2043824047, 0.0051172082, -0.3939182758, -0.1916298121, -0.1962068379, 0.1720872223, -1.0066792965, -0.1470449269, 0.3385224044, -0.3105638921, -0.400988847, -0.1591486037, -0.603641212, -0.4253408313, -0.2309297323, 0.1785698235, -0.4629847705, -0.4839470983, 0.269015789, 0.3136071265, 0.0245888419, 0.4070693254, -0.7697552443, 0.4333497584, 0.668508172, 0.7785747051, -0.5696811676, -0.342364341, -0.761045754, 0.2746784687, -0.2575927079, 0.4452370703, -0.4980607331, 0.0823147595, -0.1650669277, -0.0301429462, -0.1802264452, -0.5994955897, 0.1229429096, -0.6578187943, -0.0217466652, 0.0466273166, -0.3388860226, -0.3171221912, 0.3119618595, -0.7350542545, 0.9470201731, 0.1873636395, -0.5574564338, 0.1648367494, -0.3582133949, -0.588778615, 0.3806863129, 0.0645596161, -0.3941074014, 0.473223716, 0.0594127402, 0.7614830732, -0.2074701041, 0.8100007772, -0.3545713127, -0.5897970796, 0.4789767861, -0.5626018047, 0.5271778703, -0.0809426755, -0.425612092, 0.1312680393, -0.967797637, 0.1281940043, -0.1681744009, -0.1831998676, -0.5096169114, 0.0701343194, 0.3942120969, 0.2443793714, 0.1518552899, -0.0591180362, 0.042480275, -0.6615527868, 0.4011497498, 0.7577577829, -0.1500666738, 0.3085979819, -0.0512056015, 0.7244791389, -0.0942818522, 0.0280227363, -0.0858555064, 0.0018524167, -0.7675780654, -0.3544926047, 0.3100757301, 0.3323784173, -0.4923230112, 0.7285252213, -0.4416612983, -0.2024948299, 0.0639444813, 0.0232490078, 0.4975752532, 0.2590798438, 0.2866856456, -0.2923209369, -0.6913498044, -0.8115736246, -0.0359339975, -0.0325578637, 0.1574090868, 0.369482249, 0.2669210434, -0.2093873918, 0.9929482937, -0.3132824898, -0.298037529, -0.4111108482, -0.0904094279, 0.1451791078, 0.4650877714, 0.3779325187, -0.8239726424, -0.2370976657, -0.2082684338, -0.5745130181, -0.3685441315, -0.0265500993, 0.0913419873, 0.0527124703, 0.5783466697, -0.657943964, 0.2717009485, 0.8848994374, -0.252479285, 0.3761296272, 0.0969096869, -0.0279412903, -1.0967409611, 0.3974375725, 0.0076753381, -0.3094615042, -0.7946315408, -0.1989008039, 0.0392348655, 0.0539660119, -0.5121861696, 0.798070848, -0.6166553497, -0.1744825691, -0.3497457504, -0.0620539971, -0.1538789272, 0.7170827389, 0.1167656109, 0.7761696577, 0.4125138521, -0.7405711412, 0.1694325507, -0.2903041244, -0.2868478894, 0.4289351404, -0.7162416577, 0.0373704545, 0.1951258183, 0.1664060354, -0.7878282666, -0.0459045097, 0.0216522701, -0.3285154402, 0.3376318216, -0.0700503439, -0.4401223063, -0.0709045976, -0.2149492651, 0.5249528289, 0.4267652333, -0.3969128728, 0.8224562407, 0.4200088084, -0.0722900182, -0.8466499448, -0.5568114519, 0.1775014699, -0.2329351455, -0.5232311487, 0.5905123353, -0.1786431372, -0.2695594132, -0.0585938022, -0.0670801923, 0.1223213822, 0.4042446017, 0.7245321274, 0.0959360525, -0.0586751141, 0.0094788186, -0.205625996, -0.2613838315, 0.0974425822, -0.4158710539, 0.910570085, 0.0046709157, -0.2935043871, -0.1358366162, -0.0519272313, 0.5982456207, -0.0471558608, 0.6715480089, 0.5951128602, -0.5277641416, -0.418679893, -0.9326217175, -0.3884592056, -0.5121331811, 0.8281874061, -0.1437864304, -0.8685981035, 0.4254050553, -0.115299724, -0.5189909339, 0.0375868715, 0.5727487803, 0.0892018452, 1.0297654867, 0.8995999098, -0.2220158428, 0.7726696134, -0.3070445657, 0.0471410267, -1.0723421574, -0.0445049144, -0.016754875, -0.2412229925, -0.0500782132, -0.4165378213, 0.1814968139, 0.3906502128, 0.2224866003, 0.3419711292, -0.4573245049, 0.5145034194, 0.2302517742, -0.0730525106, 0.2228266746, 0.314198941, -0.0217644591, -0.113269724, -0.6806287766, -0.4051176906, 0.7611740828, 0.215484187, 0.8531299233, -0.0922112018, 0.1694945991, 0.1672476232, 0.3295392692, -0.7462043166, 0.8342831135, -0.0327472202, -0.2756824195, -0.2178851664, -0.4518851638, -1.0066357851, 0.3267997205, -0.0035981718, -0.7667267323, 0.0103960978, 0.3930594623, -0.4624407589, 0.2582400143, -0.2635617256, 0.7919646502, -0.3997604549, -0.7678660154, -0.3119445145, -0.3180603981, 0.2218663096, -0.0041023125, -0.0659638643, -0.1093530282, -0.1772166491, 0.7389762998, -0.1520959586, 1.0610123873, -0.1217079163, -0.1439847201, -0.0248464942, 0.2403176874, 0.5886207223, 0.0851924792, 0.0453564897, 0.561547935, -0.2563025951, 0.0284032077, -0.5971816182, 0.9222607613, -0.4543135166, -0.612770021, -0.426737994, -0.59023875, -0.2945046127, 0.2047663033, 0.1649855822, 0.3031959832, -0.3683509827, 0.4207345545, 0.7669183016, -0.1044932455, 0.5574320555, 0.7117190361, -0.310308367, -0.6002925038, 0.928003788, 0.2183413953, 0.1111450866, 0.4149116874, 0.04116074, 0.0692831129, -0.9322155118, -0.280423075, 0.0859549716, -0.3423371613, -0.2880010009, -0.7837151289, -0.4026844203, -0.3257101774, -0.1358689815, -0.2603988647, -0.366356343, -0.2242656201, -0.0694578961, 0.2143893093, 0.3756774664, 0.1635202318, 0.560310483, -0.445217818, 0.0847075656, 0.1636660993, 0.3729504347, 0.0413676053, -0.4513574541, -0.3662225604, -0.1917088032, -0.2085319608, -0.6880372167, 0.7256772518, 0.0384073444, 0.5527330637, 0.2297558635, -0.2212540209, 0.730448246, -0.4030955136, 0.6857785583, 0.3004942834, -0.9511821866, 0.5336862206, -0.2316346169, 0.3526571393, 0.1896688342, -0.0050239353, -0.7096760869, -0.3353678882, -0.672965765, -0.9935871363, 0.8512906432, 0.1076717749, -0.0035563943, 0.2834436595, 0.4649738669, 0.0824399963, 0.2888141274, -0.7442379594, -0.2044495046, 0.2106594145, -0.1988979727, -0.2121897489, -0.5564411283, 0.051599659, -0.0472009033, 0.5678989291, -0.2771861553, -0.0745249987, -0.1339637637, -0.463031292, -0.3150642812, 0.1577467322, 0.5642050505, 0.7714618444, -0.2454030812, 0.2020227164, 0.4887102246, -0.7422475815, 0.0905685425, 0.1937026232, -0.5128337145, -0.0360880196, 0.4252168238, 0.8837752938, 0.3622972667, -0.6205049157, 0.6743962765, 0.05857265, -0.0204273332, -0.6601192951, 0.1281327456, -0.0343263447, 0.0517626218, 0.4446849525, 0.1426456571, 0.0604571477, -0.0483972169, 0.1272543669, 0.7001166344, -0.5423931479, -0.5395472646, 0.5925203562, 0.2258452326, -0.1282209009, 0.1874391586, 0.0660147592, -0.4005082846, 0.7308328748, 0.4609259367, 1.0340846777, -0.3089265823, -0.258559078, 0.3192415833, 0.1726879478, -0.1572466195, -0.0930129439, -0.0525802895, -0.6524384022, -0.6516012549, -0.7798068523, -0.1985349655, 0.6602329612, -0.4150525928, 0.3220736682, -0.4774350524, -0.3074665964, -0.1339960843, -0.1267448515, -0.349491179, 0.1545338184, 0.2570530772, 0.5115413666, -0.6473864317, 1.0717128515, 0.5500112772, -0.0942635909, -0.3402064741, 0.0850362852, -0.1724064052, -0.559366703, 0.8255434632, 0.4842254221, -0.4315915108, 0.1040922776, -0.5814756751, -1.1628113985, 1.1415038109, 0.6812528372, -0.8091321588, -0.0262319334, -0.0222516935, 0.3435594738, -0.2653861642, 0.256724149, 0.3584055007, 0.2774817646, -0.0161238723, -0.6511685252, 0.2590813339, -0.1036430448, 0.3592405319, 0.2170540243, -0.5771917105, 0.7920126319, -0.1674173623, -0.3678779006, 0.0008499622, 0.549457252, 0.3219930828, 0.1830573827, 0.5562747717, 0.5271029472, 0.4430705011, -0.2548053265, 0.8422588706, -0.6626839638, 0.1993553489, 1.0342655182, -0.3606351614, 0.7218385935, 0.7556596994, -0.0418759584, 0.2882037759, 0.4363686442, -0.0543766357, 0.5475029349, 0.3057548702, -0.0775429085, -0.3833763599, -0.1429577917, -0.373721242, 0.0937772021, 0.456250459, -0.2960547507, 0.2747597098, 0.2226078659, -0.0640306845, -0.0275765266, -0.2549013793, 0.7400277257, 0.1015853509, -0.6660606265, 0.786654532, 0.0356261134, 1.025328517, -0.5671542287, -0.0673536286, -0.3205873668, 0.6473842263, -0.229193002, -0.3702492118, 0.1544426978, -0.2660118937, -0.3365557492, -0.3174116015, 0.8678932786, -0.5300630927, -0.4693732858, 0.6047093868, 0.5812305808, -0.1403618157, -0.3480984867, -0.6875029802, 0.224886328, -0.276455164, -0.638014257, 0.4975797534, 0.1472790837, -0.1176213026, 0.7638194561, 0.7332746387, 0.4621222615, -0.1440923959, 0.2356956303, 0.8038515449, -0.7187460661, -0.2697483003, -1.0878373384, 0.2233186662, -0.1008367389, -0.119867377, 0.8524035215, 0.5838242769, 0.6369303465, 0.0993446037, 0.5183635354, 0.0530676469, 0.1816094071, -0.5990569592, 0.781058073, -0.5937797427, 0.3824228048, -0.1795255691, -0.9355997443, -0.434980154, 0.5694819689, -0.3186798692, 0.3310947716, 0.7580443621, 1.063557744, -0.0830831155, -0.3831167519, 0.6288465858, 0.2717072368, 0.0177102257, 0.6807664633, 0.9795293808, -0.2295024544, 0.6039321423, -0.5071305633, -0.0993451625, -0.4841708243, -0.8900176287, -0.8994590044, -0.428912729, -0.6043223143, -0.4750426412, 0.2693487704, 0.6359667778, 1.1532571316, -0.8193106651, -0.2311506718, -0.3233661354, 0.001446221, -0.6072924733, -0.2616205215, 0.4472730756, -0.0913723037, -0.5233056545, 0.3027355969, 0.4721176922, 0.1024810374, -0.4928266108, -0.2079901248, 0.0757481754, -0.1385724545, 0.6300667524, -0.0153446579, -1.0602476597, 0.0579261258, 0.0540169142, -0.379543364, -0.115158312, 0.8733496666, -0.9538065791, -0.0593624711, 0.2732172608, 0.3692734838, 0.5104714632, 0.0105674909, 0.5762451291, -0.9338548779, 0.3929263353, 0.4535076618, 0.4176426828, 0.4131256342, -0.6414116025, 0.5384367108, 0.2629886866, -0.3420494795, -0.9788194895, 0.0150889764, -1.0471249819, -0.3420053422, 1.504929781, 0.0920447335, -0.5035607815, 0.1465430111, -0.1353468299, 0.0036263627, -0.3042843938, 0.6115662456, 0.5375941396, 0.1896595955, -0.4495834708, -0.6097169518, 0.5614975691, 0.871530354, -0.6291863918, 0.5512672663, 0.6684286594, 0.2580545843, 0.1538226455, 0.5892079473, 0.0081942799, 0.310331434, -0.2621403635, 0.3732358813, -0.347638309, -0.3345909119, -0.6853199005, 0.3761644065, -0.0908407569, 0.1286641359 ]
http://arxiv.org/abs/2406.16620v2
http://arxiv.org/pdf/2406.16620v2
OmAgent: A Multi-modal Agent Framework for Complex Video Understanding with Task Divide-and-Conquer
2024-06-24T13:05:39
2024-06-25T02:43:41
Lu Zhang, Tiancheng Zhao, Heting Ying, Yibo Ma, Kyusong Lee
cs.CV
cs.CV, cs.CL
Recent advancements in Large Language Models (LLMs) have expanded their capabilities to multimodal contexts, including comprehensive video understanding. However, processing extensive videos such as 24-hour CCTV footage or full-length films presents significant challenges due to the vast data and processing demands. Traditional methods, like extracting key frames or converting frames to text, often result in substantial information loss. To address these shortcomings, we develop OmAgent, efficiently stores and retrieves relevant video frames for specific queries, preserving the detailed content of videos. Additionally, it features an Divide-and-Conquer Loop capable of autonomous reasoning, dynamically invoking APIs and tools to enhance query processing and accuracy. This approach ensures robust video understanding, significantly reducing information loss. Experimental results affirm OmAgent's efficacy in handling various types of videos and complex tasks. Moreover, we have endowed it with greater autonomy and a robust tool-calling system, enabling it to accomplish even more intricate tasks.
[ -0.4236159623, -0.9529421926, 0.6738885045, 0.2395969331, -0.0818114728, 0.2677802145, -0.2578249276, -0.1787323654, -0.1706164777, 0.3281032741, -0.5294374824, -0.2990846634, -0.6766006351, -0.19141078, -0.204156369, 0.507951498, -0.3487066925, 0.3007599711, 0.0581397675, -0.4781146646, -0.397488445, -0.3800125122, -0.5206198096, -0.320631355, 0.3500480056, 0.5455730557, 0.8620672226, 0.796645999, 0.5637925267, 0.5344856977, 0.3311071992, 0.5649524331, -0.3606496155, 0.4375566542, -0.3475015163, -0.3309178948, -0.4679579735, -0.4046793282, 0.5219311118, 0.4852707684, -0.1168613955, 0.0627877265, -0.446472466, 0.2704389989, -1.1061745882, 0.2029135078, -0.2924384475, 0.2822613716, 0.0333080404, -0.467931211, -0.1867254078, 0.2281423956, 0.1631657779, -0.5775150061, 0.1938245445, -0.2079189271, 0.4422489703, 0.5488778949, -0.5356276631, 0.1014619619, -1.0838282108, 0.4346677661, -0.0558067858, 0.5255018473, 0.4388659, 0.6814027429, -0.034695603, -0.4859092534, -0.6058586836, -0.0783984438, 0.5810451508, 0.1687476188, -0.0913370997, 0.2463499308, 0.0058072763, 0.3331553936, -0.4697890282, 0.0006448813, -0.1573232263, -0.3204321563, 0.3862380087, 0.4862030447, 0.4804367423, -0.1314166337, -0.4375894666, -0.1714254767, -0.0028413844, 0.2660056651, 0.0832909867, -0.1292357296, 0.064417474, 0.8731697202, -0.2048207968, 0.6224818826, -0.0872891918, -0.4463984668, 0.0945565775, -0.2122720033, -0.8509788513, 0.0232776292, 0.6714304686, 0.3535791934, -0.1299761832, 0.0618089363, -0.0060135173, 0.0401264429, 0.2268889248, -0.928008616, -0.3245334029, 0.1493565887, -0.2715796232, 0.1592311114, 0.3682747483, -0.696733892, -0.5065043569, -0.6036048532, 0.6053681374, -0.7009090781, -0.1968259811, 0.2501035035, -0.0942920372, 0.2127406597, 0.8922819495, -0.2341298014, 0.0960326195, 0.2727718353, 0.7431245446, -0.2204570919, -0.6600245237, -1.0837585926, 0.3821919262, -0.1090624183, 0.4987535179, -0.4721309841, 0.139351666, 0.2368215621, 0.1775317341, -0.0925483182, -0.2829902768, 0.422654897, -0.8693856597, -0.0482309833, -0.0479621291, -0.1962783784, -0.452827245, 0.7191861272, -0.7946757078, 0.4893978238, -0.3186317384, -0.1904539168, 0.2509547174, -0.8321851492, -0.3799149096, -0.1185928732, -0.2680716217, -0.0338003561, -0.1694153547, 0.2693870366, 0.3578901291, -0.2346809953, 0.0674768761, -0.1995258778, 0.1949067414, 0.285997659, -0.80800879, 0.0512322523, 0.2901114821, -0.1826952398, 0.3450396359, -0.6209679842, -0.2402551174, -0.0014395, -0.36274001, 0.0384828113, 0.0518192574, 0.0927995071, 0.1637319177, 0.0795890167, -0.6820103526, 0.124338232, 0.247735709, 0.6073356271, 0.6786569953, -0.2461749762, 0.6383942962, 0.0893867835, 0.743289113, 0.1343943328, 0.3064715564, -0.5206583142, -0.1321979314, -0.5805388093, -0.4753156304, -0.3281133473, 0.3745873272, -0.8538498282, -0.0628292188, -0.1837151796, -0.2202501297, -0.3454801738, 0.1402307898, 0.2970167696, 0.1323182285, 0.3475721776, -0.1803877354, -0.3028161228, -0.5870822072, 0.0557846166, 0.2621310353, -0.0530381575, 0.3223170936, 0.4278392792, -0.48477, 1.1138923168, -0.7924553752, -0.7074616551, -0.2345878184, 0.2145433575, -0.1287776232, 0.2814065218, 0.2142356783, -1.3912831545, -0.1900664121, 0.3357124031, -0.9345015287, 0.3752944767, -0.1557150632, -0.0311221872, -0.0962293521, 0.6795222163, -0.6035460234, 0.5073114634, 0.3024426997, -0.3153576553, 0.4998742938, -0.6263783574, 0.6270418167, -0.7779563665, -0.3045157492, -0.1798336357, -0.6452031732, -0.4808415473, 0.0786544234, -0.2259776145, -0.1514804065, -0.5747635961, -0.0296840761, -0.4266234934, -0.1738007814, -0.1999409199, 0.281547457, 0.0158660244, 0.5946583152, 0.0220824014, 0.6685100794, 0.6410998106, -0.56793648, 0.8133887649, 0.1926775277, -0.1305282563, 0.9138488173, -0.301210165, -0.0572677143, -0.5308619142, -0.013859869, -0.9704167247, -0.906874001, 0.127213046, -0.4467943609, 0.1429799348, -0.2382682562, -0.4753780067, -0.0287242532, -0.2235195935, 0.6937810183, -0.040747907, -0.6153584719, 1.0775156021, 0.2998070419, 0.1370878518, -0.6562379599, -0.4834833443, 0.2278992236, -0.1590378284, -0.8925096393, 0.2481143177, -0.2061097324, -0.2059957236, 0.0981674045, -0.5017328858, -0.6297412515, -0.3867145181, 0.4751974642, -0.0534163527, -0.1425426751, 0.1722952574, -0.2141416371, 0.1439653635, 0.0239441395, -0.1826034784, 0.5122747421, -0.2464834601, -0.7195891142, -0.0704475269, 0.6425457001, 1.034306407, -0.5750021338, 0.3593132496, 0.9979256392, -0.3146199584, -0.2831423283, -0.7212062478, 0.2157332897, -0.4889700115, 0.8061742783, -0.6496716142, -0.9721857905, 0.6266117096, -0.0138392756, -0.2584669292, 0.0880876407, 0.6827200055, -0.0849672109, 1.1614162922, 0.6477146745, -0.0469144247, 0.6857128739, -0.3764915764, 0.02087803, -0.3593817651, -0.666926682, -0.0657543465, -0.1356262118, 0.0937588364, -0.760242939, 0.7232837677, -0.0576279648, -0.5198814869, 0.1750672609, -0.2929299474, 0.8083429337, 0.2035353184, 0.3708437979, 0.4948691726, 0.0357124805, 0.3214944303, 0.0772178695, -0.5289114118, -0.3112597466, 0.5588120222, 0.4228746295, 1.197750926, 0.6609330773, -0.0949803218, 0.726070106, -0.3379607201, -0.9124845862, 0.5850347281, 0.1661293656, -0.4572462738, -0.3576252162, -0.2066520751, -0.957377255, 0.5103649497, 0.2048226148, -0.6445054412, 0.1492160708, -0.0909491926, -0.3106187284, 0.6349374056, -0.4904857576, 1.0676518679, -0.4628564715, -0.6882275939, -0.4186902046, -0.8890632391, 0.4206510484, 0.1616293639, 0.2890769541, 0.13708435, -0.2676813006, 0.3149375021, -0.7614198327, 0.5780991912, 0.0355369374, 0.154736951, 0.4557190239, 0.4296749532, 0.0576429106, 0.2109689713, 0.4052217305, -0.4949894547, -0.1199793145, -0.2625372112, -0.6121219993, 0.5711157918, -0.976857841, -0.4051478207, -0.288172394, -0.60397017, 0.261217922, 0.1617693454, 0.0838043168, 0.5940040946, -0.0808326527, 0.3832755089, 0.7788365483, -0.0390492976, 0.6649843454, 0.4317203164, 0.014477375, -0.5958396792, 0.9155611396, -0.10828311, 0.4323260486, 0.4796023071, -0.0894457921, -0.0867628232, -0.1856763065, -0.5224530101, -0.2410378754, -1.0308505297, -0.3618525863, -0.6137593985, 0.0080180196, -0.0735395029, -0.2136766911, -0.4208350778, 0.3454914987, -0.1296067536, -0.290490061, 0.3549411297, 0.6557908654, -0.0943720192, 0.3619832993, -0.9119992852, 0.5589904189, 0.7658935189, 0.3214728832, -0.1855489463, -0.3866043389, -0.3227229118, -0.2212308794, -0.5299729109, -1.1309177876, 0.46122244, 0.3403240144, 0.4635241032, 0.6713598967, -0.0415533707, 0.9063805342, -0.294624418, 0.8547796607, 0.1815443039, -1.0391944647, 0.2749322653, -0.5091344118, 0.2214979827, 0.4422145486, 0.2744626105, -0.2676444948, 0.1074947938, -0.3951737285, -0.8359542489, 0.958907783, 0.3893093467, -0.240702033, 0.4500126839, -0.0619143583, -0.1285425127, 0.3913502991, -0.5418044329, 0.0659553856, -0.4594345093, 0.1526624858, 0.0051070107, 0.0952994078, -0.2632076442, -0.0344549455, 0.1245897636, -0.3230041862, 0.1583873481, 0.8094412684, -0.7315748334, -0.3247731626, 0.4337510169, 0.6345322728, 0.5635036826, -0.3129211962, 0.4670902789, 0.2037027031, -0.5855585933, 0.5295646191, 0.0743893981, 0.4691144526, -0.1006337255, 0.4255623519, 0.5979126692, -0.0652780756, -1.1897623539, 0.7324739099, 0.241372332, -0.0862044692, -0.5062983632, -0.102430962, -0.3353543282, 0.591272831, 0.33529526, 0.3830336034, 0.3262374103, -0.8747310638, 0.2184623033, 0.1147985309, -0.4726808965, -0.4821057916, 0.7604960203, -0.0020978265, -0.4561268389, 0.2753091753, -0.3378313184, -0.7464844584, 0.8047383428, 0.0072121779, 0.7413650155, -0.2975851595, 0.3443058431, -0.1159059182, 0.2695347667, -0.1870275289, 0.2628928721, -0.3732943535, -0.7561753392, -0.7808781862, -0.1787026376, -0.3798677921, 0.0564958677, -0.5785776973, 0.0006123643, -0.3285556138, -0.0713845566, 0.0766018108, -0.6264840364, -0.8812752962, 0.3421280384, 0.2408214957, 0.7241487503, -0.6515707374, 0.6556877494, 1.0645003319, -0.741345942, -0.8254339099, -0.4584221542, 0.1053267047, -0.5634667277, 0.7259601951, 0.1196224019, -0.4394256771, -0.5034784675, -0.5222588778, -0.5195040107, 1.0668460131, 0.4452877641, -0.1519825459, -0.0288817082, 0.3149819076, 0.3904545903, -0.4419645965, 0.5233591199, 0.6226719618, 0.5897963643, 0.4811202884, -0.8467025757, -0.3776982129, -0.1469447166, -0.54675138, 0.2686676383, -0.4555825889, 1.1044285297, -0.2789954841, 0.2096419036, -0.1401923448, 0.3293488324, -0.1388154924, 0.5884484053, 0.6178207397, 0.3934011459, 0.233235389, 0.1522177309, 0.6406061053, 0.3114331067, 0.2146390378, 1.3056977987, -0.08076749, 0.4894383252, 0.3373120725, -0.0082543334, 0.2211374342, 0.406607151, 0.0758968145, 0.3151450157, -0.0860059336, -0.3844022751, -0.9507748485, -0.2576350272, 0.0597937368, 0.9267137647, 0.3301077485, -0.1840192825, -0.5711932778, 0.5319137573, -0.0792893991, 0.2487042695, -0.5423685908, 0.8292089105, -0.2907630503, -0.6158363223, 0.1438589096, -0.0641635358, 0.2581902146, -0.6727608442, -0.0260205306, 0.1873510629, 0.5371302366, -0.4366602004, -0.8661741614, 0.047066085, 0.0467529558, -0.2931576669, -0.0387322232, 0.6470279694, -0.7461560369, 0.0691563338, 0.3121087849, 0.4605130553, 0.0823765993, -0.6373025775, -0.4039060473, 0.3139276803, -0.0155130131, -0.1732409745, 0.163687259, 0.729178369, -0.0472433046, 0.8110833168, 0.39297387, -0.3760075569, 0.1198164597, 0.0205082018, 0.9496648908, -0.4945915639, -0.3294248581, -0.9310231805, 0.6968610883, -0.1388512552, -0.0455742069, 0.7195135951, 0.5726029277, 0.6457706094, -0.2226625681, 0.7146086097, -0.1590124071, -0.2051410526, -0.268614471, 0.2193679363, -0.751490593, -0.1139711291, -0.3422910273, -0.8097227216, -0.2189046592, 0.428080827, -0.068740271, -0.3595899045, 0.4999503195, 0.5676556826, -0.4097898304, -0.0200685561, 0.3486430347, 0.1932091862, 0.8620610833, 0.5001306534, 1.0335919857, -0.2587844729, 1.0235050917, 0.1789666414, -0.2492984086, -0.3787562549, -0.6382433176, -0.8284221888, -0.4556222856, -0.1542482525, -0.0011403114, -0.1080650464, 1.1262774467, 1.0280945301, -0.2973930538, -0.3768647015, -0.0094207851, 0.0534108281, -0.0779244751, -0.1713145971, 0.2507298589, -0.1015154049, -0.7761689425, 0.6661621928, 0.5693693757, -0.255982697, -0.4925346673, -0.2189040631, -0.1368067265, 0.0322786383, 1.034247756, 0.4760681689, -0.6678070426, -0.3065336049, 0.1899179369, 0.0972812846, 0.2457064837, 0.9421580434, -0.5140346289, 1.0358453989, 0.7313218713, 0.7307186127, 0.6947072148, 0.1097869501, 0.5927790403, -0.4698407054, 0.2300135195, 0.1904830933, 0.544665575, 0.1883127391, -0.1672353297, 0.4780898988, 0.1254916638, -0.7005481124, -0.6798294783, 0.4127487242, -1.5048007965, -0.2763267756, 0.8958110809, -0.1319027394, -0.277351141, -0.2253706157, -0.7010220289, 0.1821313947, -0.8008522391, 0.1601365358, 0.2579979599, -0.1791463941, -0.3676161468, -0.5612042546, 0.211398676, 0.3433068097, -0.6696274877, -0.1445683688, 0.6487777829, 0.1765364259, 0.4477462173, 0.2736130059, 0.1448940933, 0.3640131652, -0.3316856921, -0.0180649254, -0.4324130714, -0.757340014, -0.3243560195, 0.8076509833, -0.2271909714, -0.7529129982 ]
http://arxiv.org/abs/2406.16611v1
http://arxiv.org/pdf/2406.16611v1
Evaluation of Language Models in the Medical Context Under Resource-Constrained Settings
2024-06-24T12:52:02
2024-06-24T12:52:02
Andrea Posada, Daniel Rueckert, Felix Meissen, Philip Müller
cs.CL
cs.CL, cs.AI
Since the emergence of the Transformer architecture, language model development has increased, driven by their promising potential. However, releasing these models into production requires properly understanding their behavior, particularly in sensitive domains such as medicine. Despite this need, the medical literature still lacks technical assessments of pre-trained language models, which are especially valuable in resource-constrained settings in terms of computational power or limited budget. To address this gap, we provide a comprehensive survey of language models in the medical domain. In addition, we selected a subset of these models for thorough evaluation, focusing on classification and text generation tasks. Our subset encompasses 53 models, ranging from 110 million to 13 billion parameters, spanning the three families of Transformer-based models and from diverse knowledge domains. This study employs a series of approaches for text classification together with zero-shot prompting instead of model training or fine-tuning, which closely resembles the limited resource setting in which many users of language models find themselves. Encouragingly, our findings reveal remarkable performance across various tasks and datasets, underscoring the latent potential of certain models to contain medical knowledge, even without domain specialization. Consequently, our study advocates for further exploration of model applications in medical contexts, particularly in resource-constrained settings. The code is available on https://github.com/anpoc/Language-models-in-medicine.
[ -0.0779233426, -0.4131337404, 0.6571696997, -0.1055460647, -0.0446268655, -0.022848485, -0.3808933496, -0.3017143309, -0.2681459486, 0.5918359756, -0.5014884472, -0.2787549794, -0.7505135536, 0.2831014991, -0.3007794619, 1.1332206726, -0.0949304923, 0.2726317048, -0.3923195004, -0.2550000846, -0.5317828655, -0.6342583299, -0.3527849913, -0.4855644405, 0.2672700882, 0.1174055934, 0.4970336854, 0.6406701207, 0.7512655854, 0.2788428664, -0.1958170086, -0.0897595659, -0.2596468329, 0.1838159412, -0.1801814735, -0.2012897134, -0.3058332801, 0.0875571892, 0.4250476658, 0.953091979, -0.0632926077, 0.2270260453, -0.1455096155, 0.3231242001, -0.6147584319, 0.1328173131, -0.4704810381, 0.0869411081, -0.139230147, 0.1090338379, -0.4634409845, -0.2275140584, 0.5433135033, -0.286935091, 0.3656924367, 0.0330171213, 0.9321069717, 0.3864533007, -0.4644450247, -0.2478799224, -0.9468377233, 0.8257296085, -0.6048361659, 0.386287272, 0.4327168465, 0.3900228143, 0.2409510612, -0.8886734247, -0.4007459879, -0.4357188344, -0.1787740588, 0.008009728, -0.4578070343, 0.2088157982, 0.1666408181, 0.4213579893, -0.4906832576, 0.246899277, -0.5157559514, -0.132637307, 0.2480221391, 0.3456026316, 0.5374551415, -0.4142090976, 0.0601387471, -0.0063018212, -0.4256910682, -0.2189620286, -0.2304756194, 0.1783947647, -0.2180225402, 0.5545378327, 0.0802480429, 0.8794645667, -0.2484531403, -0.2237867117, 0.0718412697, -0.5304319859, -0.3861519694, -0.4288933277, 0.9614387155, 0.1765957475, 0.150018245, -0.2109250873, -0.2443057001, 0.2018052787, 0.7264990807, -0.9462907314, -0.1437437683, 0.1513157636, -0.6506119967, -0.3577638865, -0.5158853531, -0.6153752804, -0.4486192763, 0.0146548208, 0.0798404142, -0.5140703917, -0.2577265501, 0.1823793501, 0.1822289675, -0.2360983044, 0.0358126834, -0.9077823758, 0.4990519583, 0.3668406308, 0.8097758889, -0.1732683182, 0.0390759446, -0.0106441127, -0.2824686766, -0.3182329535, 0.783528626, -0.5880196691, -0.5855275989, 0.0417528637, -0.1494349688, -0.3798774183, -0.6948570013, 0.7563318014, -0.3035874963, 0.321950376, 0.106230475, -0.5662429929, -0.1375137419, 0.1805836409, -0.7150601745, 0.4206275344, 0.4534215629, -0.6312294006, 0.3127523363, -0.7948297858, -0.5147684813, 0.2673196197, -0.4192313552, -0.5699286461, 0.395557344, 0.0934371129, 0.6015042663, -0.8263789415, 0.5619464517, 0.0548135601, -0.076483421, 0.436679095, -0.4887194633, 0.6282734275, 0.3952268958, -0.0719843805, 0.1116107553, -0.7006446123, -0.0251897946, 0.2866648138, -0.2134285122, -0.3336687088, 0.0630751699, 0.3188856244, 0.2455841452, -0.023726603, -0.473878324, 0.0331452787, -0.5438553095, 0.5640317202, 0.0922279656, -0.0194316972, 0.4882587194, -0.2986018062, 0.8566514254, -0.2367043644, 0.3608594537, -0.2412985712, -0.2975839078, -0.613694191, -0.2873424292, 0.5235669613, 0.4954484999, -0.6878085732, 0.2458060235, -0.4544557929, -0.6354435682, -0.8483706117, -0.2232066691, 0.5855045319, 0.6842906475, 0.4005827308, -0.1131711602, -0.2064464986, -0.9545130134, -0.0839417577, -0.2172625661, -0.2485361546, 0.7733383775, 0.4282344282, -0.4172750115, 0.6933551431, -0.3671465814, -0.0886991322, -0.5037712455, -0.0499660596, 0.0229272209, 0.3077537715, 0.6477819085, -0.7128997445, -0.1286506355, 0.1822776198, -0.6441751719, -0.3511485755, 0.0075834696, 0.2203655243, 0.0018664048, 0.1783626229, -0.330257833, 0.3808594942, 0.8701559901, -0.3160758317, 0.3727307916, -0.2851688862, 0.124789536, -0.9517323971, 0.4532517791, 0.1001731306, -0.158790946, -1.0349647999, -0.0327173993, 0.1633480191, -0.3591852486, -0.2767096758, 0.7269430161, -0.3301307857, 0.3943952918, -0.385476619, -0.247503981, -0.0379079916, 0.1594837904, 0.2591151297, 0.5424699783, 0.5393679142, -0.5518132448, -0.1114947572, 0.2454044372, -0.4446952641, 0.2517288327, -0.7619295716, -0.1282874197, 0.0438712984, -0.0541088693, -0.5536886454, -0.2935109735, 0.1177566051, -0.2088929862, 0.4219610691, -0.1525892168, -0.3530565202, -0.451482892, 0.2292720824, 0.6585021615, 0.6965444088, -0.1261116862, 0.4018581212, 0.5943030715, -0.2449001968, -0.2125996351, -0.4542614222, -0.1569454223, 0.0004647203, -0.2382514179, 0.4217788875, -0.0417665839, -0.169252187, 0.019100083, -0.177523762, -0.3828444183, 0.1378381252, 0.3283107281, 0.4983362556, -0.1154680923, 0.3503762782, 0.1208779588, -0.1004273891, -0.0606147684, -0.0592887625, 0.5009028912, 0.0064625815, -0.3518066704, -0.3233786225, 0.1857303977, 0.7850979567, -0.3734969199, 0.6683603525, 0.2267403603, -0.6037436724, -0.0230119396, -0.555745244, -0.1511886716, -0.3735151291, 0.633967638, -0.0751339868, -0.9588167667, 0.2640034854, -0.1874912232, -0.0681253672, 0.531435132, 0.7139576077, 0.2840728164, 0.8919557333, 0.7554206848, 0.1789498031, 0.2739757597, -0.0722659007, 0.2711262703, -0.6583610773, -0.2373424172, -0.6539261937, 0.167165041, -0.4869960546, -0.4105455577, 0.5756962299, -0.3107846379, 0.0325791463, 0.2271625102, -0.7335059643, 0.2675008774, 0.0825516433, -0.0361388475, 0.1001066193, -0.2030466795, -0.2663396001, -0.0524240918, -0.9507591724, -0.6761790514, 1.0909096003, 0.5189971328, 0.610648334, -0.402274698, 0.3032574356, -0.1474265158, 0.5723894835, -0.9138038158, 0.2576410472, -0.5281735659, -0.6788832545, -0.0961546302, -0.6052848101, -0.9356814623, -0.0258517172, -0.3768950105, -0.4666653872, -0.0228138212, 0.1314024031, -0.80678159, 0.249813363, -0.6819875836, 1.0489650965, -0.2429618239, 0.0315402448, -0.1054781303, -0.546895802, 0.2985039949, -0.577265799, 0.1720368117, -0.1795303673, -0.0593588576, 0.6392756104, -0.3694329858, 0.7574808002, 0.0429564491, 0.0676144958, 0.0791603923, 0.1530455798, -0.1293441057, -0.1686585248, -0.1207399219, 0.4302608073, 0.1697394997, -0.1313353777, -0.4381203055, 0.3590065539, -0.5996278524, -0.2823041677, -0.216168344, -0.5754616857, -0.3701339364, 0.2759378254, 0.5988313556, 0.4760110378, -0.3679309487, 0.0821123645, 0.4435311854, -0.6440483928, 0.3124273717, 0.582798183, -0.0589502268, -0.1810170561, 0.6536468863, 0.1778933704, 0.1421532482, 0.2960833609, 0.2932236195, -0.1756128669, -0.8758097291, -0.416637361, 0.2945243418, -0.1809586585, -0.3699164391, -0.7524471283, -0.6062450409, -0.274920851, -0.0074985982, -0.4324986339, -0.2618280649, -0.2186810076, 0.1573150903, 0.1085478216, 0.9539294243, 0.483766526, 0.4135245681, -0.9776483774, 0.1992097944, 0.0595941134, 0.6786184311, -0.0588514395, -0.4984009564, -0.3502722085, -0.313285768, -0.2706611753, -0.9237022996, 0.525416255, 0.1198022142, 0.5380183458, 0.2584350109, 0.0329620279, 0.3142240047, -0.9495563507, 0.6254317164, 0.2110571563, -0.8995586038, 0.6960531473, -0.1182052121, 0.4706661403, 0.4724218845, 0.4631181359, -0.5689986944, -0.4834129214, -0.5696186423, -0.6725082994, 0.7744487524, 0.3996854424, 0.2932074368, -0.1108230725, 0.4212810695, 0.1448943317, 0.1190203205, -0.6709883213, -0.1032658666, -0.0268171504, -0.3621835709, 0.093055144, -0.2860465348, 0.0074041919, -0.0987638086, 0.4011318684, -0.0407097638, 0.2011097968, 0.1361401379, -0.0979737043, -0.1191857755, 0.4128558934, 0.5340243578, 0.4766695201, 0.1079060733, -0.1503635943, 0.2346430719, -0.6297050118, 0.1133404821, 0.252679646, -0.1476074904, 0.0327891856, 0.4971535504, 0.920093894, 0.2017282844, -0.9485911727, 0.6570575833, -0.3633367717, 0.0204169061, 0.1853013039, 0.0372407027, -0.1887070686, 0.0735045075, -0.0825370327, 0.3147818744, 0.190779224, -0.010361068, 0.0531847849, 0.2910471857, -0.3830683529, -0.4569694698, 0.7327374816, 0.1982292235, -0.3105611503, 0.6597183943, -0.039203532, -0.3610644937, 0.4229280055, 0.5423805714, 0.8706620932, -0.3864649236, 0.1726064086, 0.3042780161, 0.2271881849, -0.0314293839, 0.0180443097, 0.1265632361, -0.7608938217, -0.5496131778, -0.7494506836, -0.3071438372, 0.3667152226, -0.5266894102, 0.1878617555, -0.3835472763, -0.6275749207, 0.2119797021, -0.1354543418, -0.8084177971, 0.202958703, 0.2526139021, 0.8318259716, -0.7244319916, 0.8547052741, 0.8527264595, -0.3162891865, -0.5704749823, 0.0619226471, -0.2195326686, -0.7656951547, 0.4979654551, 0.064636521, 0.0118398797, -0.2974148095, -0.2118006051, -0.3981350958, 0.7347800732, 0.5074759722, -0.5136865973, -0.3900173008, 0.1674822569, 0.9167177677, -0.3529545069, 0.3199526072, 0.5469480753, 0.0729116797, -0.1532405764, -1.3969103098, 0.0265892819, -0.4202435613, 0.2549776137, 0.1242256463, -0.3554511666, 0.7247912288, -0.2913556695, -0.3763383329, 0.2130694091, 0.1150381565, 0.0780131742, 0.0786204338, 0.4226536751, 0.1990825683, 0.6113554239, -0.1026348546, 1.2952600718, -0.5859466195, 0.3276775777, 0.6251710057, -0.300173521, 0.6845954061, 0.1832339913, -0.0831960812, 0.252812624, 0.377545774, -0.0356966257, 0.3830385506, 0.2000243068, -0.3412513435, -0.2311124951, -0.5642954111, -0.1988306791, 0.5832723379, 0.4499974847, -0.6906633973, -0.0951622874, 0.2481795996, 0.0311918333, 0.1268974543, -0.2486391515, 0.8344422579, 0.1517589539, -0.6036462784, 0.5634768009, 0.0552378222, 0.4077243507, -0.5621283054, 0.1344853491, -0.0825503543, 0.0074707884, 0.0486591235, -0.4258258641, 0.3760529757, 0.4156480134, -0.265602529, -0.3837904334, 0.8954076767, -0.2506841421, -0.6000801921, 0.2369332314, 0.7620758414, 0.0077329385, 0.176050216, -0.4675657749, 0.0272087213, -0.0862607285, -0.0918769017, 0.1901900619, 0.4242814779, -0.0439561829, 0.6563131213, 0.2237027884, 0.3710012436, -0.2666403353, 0.1532548517, 0.7222592831, -0.5447583199, -0.2616504133, -0.9428579211, 0.2977961302, 0.1768631786, -0.3099929094, 0.2771229148, 0.4181536436, 0.5560507774, -0.2328893095, 0.8828678727, 0.1206376031, 0.6079651713, -0.2699856758, 1.1403131485, -0.5901994109, 0.154749617, -0.1118218899, -0.2770121992, -0.634319663, 0.5289083719, -0.4159847796, 0.1510332376, 0.628500402, 0.4521047473, -0.0146101797, -0.0230494961, 0.5563797355, 0.1378338784, 0.0666874647, 0.5804368258, 0.7655075192, -0.2454660982, 0.5184684396, -0.3001028001, -0.3207924664, -0.0527399331, -0.7124091387, -0.9648011327, -0.628133297, -0.2825321257, -0.1158747748, -0.1044141576, 0.9260034561, 0.9413284659, -0.8134445548, -0.201752305, 0.1101947054, -0.1769735068, 0.0535161644, -0.0835289881, 0.3230167329, -0.3988066316, -0.6886057258, 0.3204005659, 0.344938606, 0.271725446, -0.1528567523, 0.1093389019, 0.2867797315, 0.1202806607, 0.5618106127, 0.1998266429, -0.6815078855, 0.1403138638, 0.3495491147, -0.2478386909, -0.1144829839, 1.0309590101, -0.8468241096, 0.5590353608, 0.2435355037, 0.7964153886, 0.0590613112, -0.4255666733, 0.6412138939, -0.6385654211, -0.1521016359, 0.6314386129, 0.4664772749, 0.381550312, -0.1789706349, 0.4307872951, 0.0527184047, -0.6207167506, -0.9397753477, 0.187352851, -0.596363306, -0.393091768, 1.002084136, -0.0179833397, 0.0149464374, -0.0093661789, -0.1840349883, 0.4655548632, -0.0176061802, 0.7813634872, 0.5789055228, -0.2397327125, 0.0197517667, -0.8159956932, 0.6406072378, 0.3990565538, -0.8973079324, 0.1353200823, 0.3923297524, 0.1789828986, 0.2781573236, 0.7695846558, -0.3279006779, 0.1619732231, -0.2388927788, 0.1716902703, 0.1852159947, -0.3643715084, -0.6038694978, 0.1495786458, 0.1415767074, -0.0199138653 ]
http://arxiv.org/abs/2406.16605v1
http://arxiv.org/pdf/2406.16605v1
CLEAR: Can Language Models Really Understand Causal Graphs?
2024-06-24T12:46:15
2024-06-24T12:46:15
Sirui Chen, Mengying Xu, Kun Wang, Xingyu Zeng, Rui Zhao, Shengjie Zhao, Chaochao Lu
cs.CL
cs.CL, cs.AI, cs.LG, stat.ME
Causal reasoning is a cornerstone of how humans interpret the world. To model and reason about causality, causal graphs offer a concise yet effective solution. Given the impressive advancements in language models, a crucial question arises: can they really understand causal graphs? To this end, we pioneer an investigation into language models' understanding of causal graphs. Specifically, we develop a framework to define causal graph understanding, by assessing language models' behaviors through four practical criteria derived from diverse disciplines (e.g., philosophy and psychology). We then develop CLEAR, a novel benchmark that defines three complexity levels and encompasses 20 causal graph-based tasks across these levels. Finally, based on our framework and benchmark, we conduct extensive experiments on six leading language models and summarize five empirical findings. Our results indicate that while language models demonstrate a preliminary understanding of causal graphs, significant potential for improvement remains. Our project website is at https://github.com/OpenCausaLab/CLEAR.
[ -0.1056879908, -0.908395648, 0.9628021121, 0.2840873301, -0.0007178605, -0.1759125143, -0.0581472293, -0.7641521692, -0.5222905278, 0.5306814313, -0.5245410204, -0.4835758805, -0.6461663842, 0.02554808, -0.6179146171, 0.6890062094, -0.1031276435, 0.0825222507, 0.0161081478, -0.1555004716, -0.567792058, 0.0621067472, -0.9178317785, -0.6749207973, 0.6678087711, 0.2541293502, 0.7560886741, 0.8413372636, 0.3800650537, 0.3638829291, -0.1775329858, -0.0616347231, -0.7445865273, -0.1325320005, -0.6722855568, -0.3703762591, -0.233767435, 0.0810273811, 0.5954523683, 1.4780249596, 0.0775889903, 0.1714629829, -0.0023680383, 0.4306717515, -0.6082640886, 0.6129263043, -0.3147862554, -0.1705125272, 0.0283296723, 0.172671631, -0.8650246263, -0.3337965906, 0.0113043012, -0.716244638, 0.3516203165, 0.2255738378, 1.0814681053, 0.1693192422, -0.999550283, 0.0334500447, -1.0483219624, 0.2871136963, -0.6557961106, 0.6021316648, 0.237714231, 0.4855186641, -0.3150078654, -1.1104928255, -0.6318888664, -0.1118316799, -0.223843053, -0.0352477655, -0.3549295664, 0.2271681875, 0.5207089186, 0.1242648363, -0.6281586289, 0.1214168221, -0.4651921391, -0.2036602646, 0.3983929455, 0.217772454, 0.7424618602, 0.0088892141, -0.1537501067, 0.3317804039, -0.6140884161, -0.0056507122, 0.1911862791, 0.3841167688, -0.2854495049, 0.2357999086, -0.442165494, 1.0312197208, -0.3487300575, 0.2341671735, -0.2591282129, -0.3392849565, -0.431755811, -0.0373018049, 0.634578824, 0.0815739781, 0.5472207665, -0.4035544693, 0.2342375815, 0.0974545851, 0.0424416251, -0.6911591887, -0.4505749643, 0.1021365523, -0.4271369278, -0.0122075323, -0.0896946713, 0.0476871431, -0.754288733, -0.4941671789, 0.1696070731, -0.3151825666, -0.4472445846, 0.6700737476, -0.2263042182, 0.013133212, 0.5295987725, -0.5359501243, 0.4589940012, 0.9061125517, 0.5278013945, 0.4016093314, -0.4319964945, -0.2761660814, 0.2040487975, -0.4603090286, 0.8593044281, -0.3608191013, 0.0903045014, -0.0257231537, -0.0259375274, -0.2188203037, -0.1464479864, 0.8111286759, -0.6627459526, 0.1066222042, -0.4042925835, -0.7003541589, -0.5837836862, 0.0773044154, -0.8112579584, 0.374837786, -0.3270556033, -0.7074690461, 0.6353243589, -0.2289773822, -0.4105626047, 0.0910253599, -0.0076017305, 0.0248664208, 0.0988447741, -0.0286128316, 0.2644300163, -0.6766129136, 0.8080599904, -0.5745687485, -0.2880007029, 0.3115705252, -0.4030351341, 1.1053618193, 0.2373427302, -0.3610918522, 0.2776650488, -0.7145204544, -0.1450958997, 0.0997365043, 0.1300459206, -0.2480500787, 0.3579607308, -0.1850696802, 0.3577331603, 0.0612350665, -0.4892969429, -0.0952612013, -0.3475487828, 0.4361574352, 0.6428237557, -0.0857797414, 0.1375117153, 0.069931291, 0.0428256132, -0.2508694828, 0.2519437075, -0.1563230157, -0.5884152055, -0.7049896121, -0.1779494286, -0.0635778233, 0.2321720272, -0.2000891715, 0.2791951597, -0.2611455023, -0.4618727863, -0.1817490011, -0.1616578847, 0.6241450906, 1.0182514191, 0.2395235896, -0.1314622611, -0.334841162, -0.8430001736, -0.676163137, -0.4917471409, 0.1070397124, 0.277128756, 0.6926831603, -0.0513836779, 0.9190579653, -0.8460191488, 0.3866006732, -0.2507102787, 0.3912585974, 0.3895157874, 0.2328342944, 0.1603218913, -0.6949685812, -0.1629704386, -0.0139784124, -1.0470707417, -0.3087863326, -0.026519658, -0.149716273, -0.5535058975, 0.8733426332, -0.2336176932, 0.4091963768, 0.242301017, -1.0433204174, 0.5593237281, -0.2474128008, 0.1074614823, -0.2936413288, 0.4596713185, -0.0811813921, -0.3313560486, -0.9587588906, -0.0129026342, 0.088996172, -0.3025710583, -0.3162692189, 0.7384095192, -0.1960605383, 0.071996592, -0.0967478529, 0.2638069391, 0.1567458063, 0.3982324302, -0.1042189226, 0.0868498832, 0.5229891539, -0.5494064093, 0.0265584402, 0.0167703964, -0.5836926699, 0.4802927077, -0.8780081272, -0.1585676074, -0.3769498467, 0.2487935573, -1.1902405024, -0.3396162987, 0.2579294443, -0.2674435675, 0.0720622614, -0.1382646859, -0.6547219753, -0.3037881553, 0.4806134999, 0.4109947085, 0.1863591224, -0.4188675284, 0.3094568551, 0.3280951977, 0.2324135303, -0.4267264307, -0.425691992, 0.0231253449, 0.1195209473, -0.7986773252, -0.0041276729, -0.0515506677, -0.5231569409, 0.1063701063, -0.2330753505, -0.3718355894, 0.392111659, 0.2272058874, -0.2540857792, -0.1160983145, 0.3274638951, -0.0901358351, -0.3363875747, 0.1555169076, -0.363966912, 0.3940913081, -0.2236555219, -0.4663821757, -0.6320518255, -0.0674037635, 0.4993433952, -0.3244344294, 0.8123805523, 0.3763286769, -0.5774233937, -0.0040342435, -0.349761188, -0.0105865933, -0.4265762269, 0.1586893052, -0.3565213978, -0.8298865557, 0.7574359775, -0.3184479475, -0.2689881325, 0.5441255569, 0.1880560368, 0.1065308377, 1.4048216343, 0.6817455888, 0.1233518422, 0.3174390793, 0.0187114887, 0.3610008359, -0.3327246606, -0.3936855495, -0.8302328587, 0.1096529365, -0.3827012777, -0.0524101704, 0.0291541405, 0.6011021137, -0.851446569, 0.0784647912, -0.186814636, 0.5911512971, 0.0703970492, 0.1032129973, 0.418697536, -0.3603549898, -0.0885666832, 0.2914559543, -0.4923447371, -0.64242661, 0.5509231687, 0.3501430154, 0.606951654, 0.2174449414, 0.2697559893, 0.0631532222, 0.4184288085, -0.2487921715, 0.6161457896, 0.0504220612, -0.8182790279, -0.3207868636, -0.5249396563, -1.1248284578, 0.3235254586, 0.0041941395, -0.9853730798, 0.1942760944, 0.1955470443, 0.1660239846, 0.2974332571, -0.749733448, 1.4749513865, -0.0116833383, -0.3723520935, -0.3301032484, -0.7445855737, 0.7640151381, 0.2361011654, 0.5824614763, -0.4791805446, 0.2972276211, 0.7205053568, -0.5653889179, 1.0133836269, -0.1980574727, -0.1744326949, 0.294220686, 0.1962572932, 0.1909689158, -0.1180124208, -0.1880911142, 0.2484340519, -0.299426347, -0.5728597641, -0.7615514994, 0.4697381854, -0.6640371084, -0.4348429739, 0.0007908545, -0.4890633821, 0.0244926419, 0.7016444802, -0.1497680396, 0.6006131768, -0.2977938652, -0.3516983688, 0.5282186866, -0.2501548827, 0.0543356761, 0.8695583344, -0.2698507607, 0.0410871319, 0.7700205445, -0.1916799098, 0.3778786361, 0.3408189118, 0.5721160173, -0.2018669695, -0.4988316, -0.1531568468, 0.5418329239, -1.0917283297, 0.2652188838, -0.4645889103, 0.1621117294, -0.4158990085, -0.1149524152, 0.0027482277, -0.3769184649, -0.0451079272, -0.208195731, 0.0697011799, 1.0672307014, -0.0873834118, 0.3386698961, -0.4680438042, 0.3920007944, 0.2602468133, 0.5046446323, 0.2254759371, -0.2737907469, -0.0706148222, -0.0478825644, 0.0514182337, -1.124774456, 0.113865383, -0.1373383254, 0.6025081277, 0.6794701815, -0.1401155144, 0.6973211169, -0.7007032633, 0.5743469596, 0.1847933829, -1.2214052677, 0.591383934, -0.4932559431, 0.3942432702, 0.4151734114, 0.3531673253, -0.6731345057, -0.7507041693, -0.6230747104, -0.6070509553, 0.6541707516, 0.2101812959, -0.2862766087, -0.0032878034, 0.5536088347, -0.1524690539, -0.0276379399, -0.7800009847, -0.3197211623, -0.0063289274, -0.2264393121, -0.2208607793, -0.0041438485, -0.1401425004, -0.2056627423, 0.2189408243, 0.0554803424, -0.0118807284, 0.0493437275, -0.3147263527, -0.1106236055, 0.2302073836, 0.5229149461, 0.9977239966, -0.1419377774, 0.5433692336, -0.0409708321, -0.2116098553, -0.0098274611, 0.1109077409, -0.1729108989, -0.2779308856, 0.9798512459, 0.8429557085, 0.4863930047, -0.6498416066, 0.36929968, -0.2607161999, 0.1482311636, 0.2833772004, 0.1125987098, 0.1815233976, 0.0707191229, 0.0091655897, -0.1051021144, 0.4134190381, -0.5714352131, 0.0846398249, 0.1518167853, -0.6207995415, -0.453815788, 0.9340965748, 0.1141142994, -0.1296859235, 0.6228030324, -0.2290460169, -0.5239837766, 0.8551920056, 0.7207972407, 0.7587792277, -0.1197153777, 0.1484838277, 0.5224749446, 0.5637925863, -0.1157449037, 0.3533239365, 0.01017839, -0.8084164262, -0.5778965354, -0.353564322, -0.3701115847, -0.2217571735, -0.4699692726, 0.1869987845, -0.252361536, 0.1581217647, 0.3680095375, -0.1934239715, -0.6689397693, 0.4147454798, -0.0428339429, 0.8772367835, -1.2483751774, 0.4803746045, 0.2840099037, -0.7324331403, -0.9387370944, -0.3377600014, 0.0454603583, -0.6343921423, 1.1247526407, 0.325797528, -0.3855315447, -0.0461894833, -0.6957367659, -0.7292631865, 0.6562348604, 0.6323860884, -0.2819856405, 0.1629878581, 0.118229188, 0.5783981681, 0.0733117685, 0.4006052911, 0.5874398351, 0.6708461046, -0.1650553942, -0.788154304, 0.3929629326, -0.1713516861, -0.3579312861, 0.3179076016, -0.2141177505, 0.832147181, -0.3409373164, -0.6276459098, -0.2782556415, 0.73270154, -0.0176256262, 0.503465116, 0.5282638669, 0.3797183037, 1.0646047592, -0.0885639787, 1.2494854927, -0.4069774449, 0.4411201477, 1.1475923061, -0.3083396554, 0.2712759078, -0.1223414764, 0.0139036058, 0.7591408491, 0.3732945025, 0.441340059, 0.2879034281, 0.4554052055, -0.1680342704, -0.5923393369, -0.3217790425, -0.064933978, 0.1943415403, 0.4187702537, -0.1356226355, -0.4608533382, -0.1891332567, 0.2751403451, 0.2165701389, -0.4087894559, 0.4399072528, 0.0512317307, -0.7001331449, 0.3959662616, 0.1130478606, -0.2395825833, -0.5704820752, -0.0190009885, 0.0080730217, 0.2979973853, -0.2531045079, -0.8859760761, 0.2818265855, -0.0754156411, -0.0748918131, -0.26019454, 0.8312814236, -0.2973290384, -0.2866782248, 0.3394508362, 0.4286123216, 0.1795694232, 0.1182477772, -0.4933012128, 0.0293023996, -0.2909606099, 0.2150184661, -0.2162347734, 0.5083916783, -0.2424889654, 0.8216527104, 0.5344612598, 0.0103514325, -0.0436535329, 0.4523202181, 0.4987297058, -0.68402946, -0.3722659051, -0.9626128078, 0.5126869082, -0.1778949201, -0.2072612047, 0.8399079442, 0.3965028524, 0.6793931723, 0.195092991, 0.4854010046, 0.1285590231, 0.1063222587, -0.3683406115, 0.7170684934, -0.4661882222, -0.0052916589, -0.3969913423, -0.1942450553, -0.7041379213, 0.4378628135, -0.6011167169, -0.0309730284, 0.7952635288, 0.52596277, -0.0521897785, 0.176079154, 0.1235231757, 0.5442852378, 0.7404455543, 0.4814514816, 0.9238030314, -0.1063170061, 0.4010056257, 0.0135570327, -0.3492848873, 0.0691851452, -0.913087368, -0.7667728066, -0.4531204998, -0.4423029423, -0.2232282758, 0.0190476999, 0.011789483, 0.5334170461, -0.5219243765, -0.3502006531, -0.6694899797, 0.7753052711, -0.395519793, -0.1928721964, 0.5737592578, -0.5177562237, -0.3956135511, 0.294011265, 0.3400790393, -0.3403686881, -0.0788186491, 0.0200330783, -0.2674226165, 0.1912616193, 0.5686584711, 0.5349005461, -0.6699259877, -0.5212781429, -0.2565430403, -0.2506455779, -0.457529366, 1.1305817366, -0.49358055, 0.8374894857, 0.8594038486, 0.0192363393, 0.4638497829, -0.3333426416, 0.6592739224, -0.3005601466, 0.1015596837, -0.1818098575, 0.7067402005, 0.1735165715, -0.0458070636, 0.5624916553, 0.2368765324, -0.4311603904, -0.954685092, 0.6604306102, -0.7644987106, -0.6660073996, 0.7830502391, -0.1252443939, -0.0397756174, -0.5846663713, -0.0795529634, 0.6501410604, 0.1809987426, 0.4284739494, 0.4458499849, -0.3678774834, 0.1877523363, -0.6174359918, 0.3158534169, 0.2001804858, -0.8653786182, 0.3393965364, 0.7508327961, 0.2047461569, 0.0396197252, 0.7623439431, 0.0746280625, 0.2768018544, -0.010360498, -0.0726610944, 0.0329223871, -0.4593233466, -0.3350913823, 0.2398786098, 0.2684344053, 0.3437296748 ]
http://arxiv.org/abs/2406.16567v1
http://arxiv.org/pdf/2406.16567v1
Data Augmentation of Multi-turn Psychological Dialogue via Knowledge-driven Progressive Thought Prompting
2024-06-24T12:02:56
2024-06-24T12:02:56
Jiyue Jiang, Liheng Chen, Sheng Wang, Lingpeng Kong, Yu Li, Chuan Wu
cs.CL
cs.CL
Existing dialogue data augmentation (DA) techniques predominantly focus on augmenting utterance-level dialogues, which makes it difficult to take dialogue contextual information into account. The advent of large language models (LLMs) has simplified the implementation of multi-turn dialogues. Due to absence of professional understanding and knowledge, it remains challenging to deliver satisfactory performance in low-resource domain, like psychological dialogue dialogue. DA involves creating new training or prompting data based on the existing data, which help the model better understand and generate psychology-related responses. In this paper, we aim to address the issue of multi-turn dialogue data augmentation for boosted performance in the psychology domain. We propose a knowledge-driven progressive thought prompting method to guide LLM to generate multi-turn psychology-related dialogue. This method integrates a progressive thought generator, a psychology knowledge generator, and a multi-turn dialogue generator. The thought generated by the progressive thought generator serves as a prompt to prevent the generated dialogue from having significant semantic deviations, while the psychology knowledge generator produces psychological knowledge to serve as the dialogue history for the LLM, guiding the dialogue generator to create multi-turn psychological dialogue. To ensure the precision of multi-turn psychological dialogue generation by LLM, a meticulous professional evaluation is required. Extensive experiments conducted on three datasets related to psychological dialogue verify the effectiveness of the proposed method.
[ -0.739266634, -1.0417497158, 0.8207656741, 0.4139866233, -0.1601814628, 0.2150668055, -0.3935629427, -0.1078487188, 0.1376259178, 0.4651226103, -1.3940556049, -0.3905854225, -0.1637308151, 0.1057576388, 0.0685806647, 0.8364737034, 0.2358677983, 0.2908292115, -0.2117378712, 0.0684155971, -0.8771621585, -0.4231214523, -0.6953387856, -0.5226374269, 0.117742382, 0.337172389, 0.6019037962, -0.1228427216, 0.0560258366, 0.2989608943, 0.0289324261, 0.5740125179, -0.4180081785, 0.4867430031, -0.0143118408, -0.374982655, -0.8059262633, -0.1166931763, 0.6145871878, 0.5741745234, -0.3277858794, -0.0016032765, -0.1156174168, 0.8246258497, -0.4966726601, 0.1917171329, -0.5717873573, 0.081496805, 0.0879954398, -0.3796207309, -0.379648447, -0.6319858432, 0.1624996513, -0.5521347523, 0.2895858586, -0.4464705586, 0.206613183, 0.1640796065, -0.1466899812, -0.3090907931, -0.9462306499, 0.5552865267, -0.7858013511, 0.3133199811, 0.3088060915, 0.3014565706, -0.3478785753, -0.3473255932, -1.0398520231, -0.1699929237, 0.2524838746, 0.2441020757, 0.0687019452, 0.1674922109, 0.4030124843, 0.2805991769, -0.269333899, -0.1580908895, 0.0786581859, -0.1104031578, 0.619971633, 0.5301680565, -0.1247370914, 0.0575167462, -0.0519584566, -0.2339382768, -0.569940865, -0.0411569215, 0.5147294402, 0.2664557695, 0.1332780421, 0.4342578351, -0.5324395895, 0.7901058793, 0.5313549042, -0.4224139452, 0.4412965477, -0.6317796707, 0.0482426547, 0.0061661587, 0.8254748583, 0.5462235808, 0.5045809746, 0.0418214463, -0.0560376868, 0.0865271464, 0.3073760271, -0.6489164829, -0.0985407531, 0.3130677044, -0.1783130169, -0.1980841756, -0.2926253974, -1.1305698156, -0.5386383533, -0.5099053979, 0.1504573077, -0.7665053606, -0.5290131569, 0.1641932875, 0.0103955017, 0.1389615834, 0.4349349439, -0.6835930347, -0.1407293677, 0.480560571, 0.6299860477, 0.0204323251, -0.0357975625, -0.3785858154, 0.1255194396, -0.2530190647, 0.730494082, -0.7894685268, -0.5701587796, 0.2409380525, -0.3071900308, 0.047198724, -0.3621889055, 0.4246515036, -0.4590828121, 0.5259680152, -0.0718682408, -0.4921475053, 0.0371762775, 0.4164561629, -0.3712693453, 0.9833530188, -0.0687569305, -0.7010580897, 0.4810513258, -0.9308029413, -0.4657660723, 0.2129907906, -0.373726517, -0.263733685, -0.0993132964, 0.6829372644, 0.2700133324, -0.1215994209, 0.5391498804, -0.349206537, -0.1563485712, 0.6311613321, -0.7922452688, 0.4125521779, -0.016709229, -0.2631245255, 0.0684288815, -0.8910397887, 0.2964528203, -0.1948611587, -0.1825644225, -0.0016838902, -0.1647269577, -0.3780561984, 0.4006667137, 0.1765163541, -0.6280186176, 0.3972172439, -0.3722457886, 0.0507690199, 0.9147456288, 0.391801089, 0.2555953562, -0.1464450806, 0.6206341982, -0.007278475, 0.2797697484, -0.2400621176, -0.6574705243, -0.5831632018, -0.2518351972, 0.0142541016, 0.5363090038, -1.0430256128, 0.6133090258, -0.144984737, -0.4047679901, -0.8251006007, -0.0103552388, 0.0741160959, 0.6928268671, 0.3355636597, -0.0933713913, -0.5511142015, -0.6474139094, -0.1863527298, -0.1886603534, -0.1311737299, 0.384242028, -0.0184482094, -0.3070599139, 1.2213033438, -0.8407490253, -0.1795851588, -0.372623682, 0.363225311, 0.3455100656, 0.3421409726, -0.0115553187, -0.5591722131, -0.2719567418, -0.5174683332, -0.6682242751, -0.08296711, -0.4103266299, -0.3020043373, 0.0228975732, 0.1487820297, -0.8075410724, 0.3064463437, 0.1849254966, -0.1195305735, 0.9822872281, -0.1060470864, 0.2988480031, -1.068048954, -0.1374909431, 0.0131687652, 0.1182158366, -0.8962755203, -0.3990414143, -0.1306492239, -0.0647122711, -0.1653883606, 0.1829467416, -0.1551212519, 0.3749599159, -0.3920617998, 0.2295947969, -0.0797313452, 0.5890923738, 0.400772959, 0.8776803613, 0.7261571884, -0.8055495024, 0.5069681406, 0.4398139119, -0.4032453001, 0.7860393524, -0.1004274711, 0.4837712348, -0.1079610884, 0.5425060391, -0.8923698664, -0.1839583367, 0.1119871438, -0.3207663, 0.2461442351, 0.1305520087, -0.5405161977, -0.5117369294, -0.3214022219, 0.3211155236, 0.4631607831, -0.3775233328, 0.5057173371, 0.1898771971, -0.5440979004, -0.4864574373, -0.3728129864, 0.1076288819, -0.242471993, -0.8826626539, 0.3367325068, -0.3363055885, -0.0390391573, -0.5439269543, 0.060165152, 0.3027412593, -0.4627887309, 0.067074351, 0.5221569538, 0.0925404727, 0.3234679699, 0.123659052, -0.0669794679, 0.3723760843, -0.2635945678, 0.8926949501, 0.0790711716, -0.5031635761, -0.431575954, 0.3744721711, 0.4831353426, -0.1272766739, 0.7200552821, 0.8662967086, -0.0567243658, 0.0810539201, -0.8828774691, -0.5717769861, -0.5261279345, 0.2264719158, -0.3900062442, -0.7037388086, 0.2872139513, -0.4828398824, 0.0254901107, -0.1077083424, 0.8762818575, -0.1376457214, 1.5298418999, 0.3908108771, 0.077635847, 0.6801329255, -0.2288201898, 0.3830663562, -1.1079195738, -0.45154351, -0.0271668993, -0.1587759852, -0.3680934906, -0.3852614164, 0.6259580851, -0.1616048217, -0.120076783, -0.2217140645, -0.5006696582, 0.0334741101, 0.2637003958, 0.4029602408, 0.4517276287, 0.0549200438, -0.1345875859, -0.2327607125, -0.550376296, -0.2379835248, 1.1127302647, 0.2255619913, 0.950083971, 0.0006178899, 0.624103725, 0.2109293938, 0.2273275107, -0.7889145613, 0.6441283822, 0.6010264158, -0.3507508039, -0.3195828795, -0.4736567438, -0.6789304018, 0.0454549678, -0.2967072427, -0.7127823234, 0.2013111711, 0.063456513, -0.390602529, -0.1004889831, -0.486086607, 0.2099755406, -0.2204146832, -0.2536028624, -0.4703255594, -0.4603762329, 0.4777258039, -0.1326761544, 0.1935772449, 0.1918685436, 0.3592765629, 0.7423818111, -0.4130768776, 0.7900864482, -0.5237441659, -0.4182108045, 0.3817447424, -0.0395205505, 0.7892770171, 0.2672595084, -0.0609062165, -0.3855134547, -0.4053634405, -0.1269894838, -0.7875334024, 0.4094128907, -0.5443452001, -0.8758874536, 0.0210906845, -0.7648694515, -0.9812855124, -0.0373679772, 0.2527533472, 0.3716325164, -0.0891472101, -0.2141391337, 0.7388235331, -0.1194254979, 0.2962763309, 0.7170492411, -0.1250266284, -0.6212525368, 0.7839152813, -0.1984306127, 0.3567878902, -0.0566115081, 0.0895681158, -0.705837667, -0.3692320883, -0.3876107931, 0.1791844666, -0.6287226081, -0.256757021, -0.6551219821, 0.0656607524, -0.592776835, 0.1806426793, -0.1634929776, -0.356184423, 0.1147247925, -0.2099359334, 0.7319718599, 0.4446353316, 0.023683561, 0.3298538029, -0.6573907137, 0.3722915947, 0.3659353256, 0.25624156, 0.2550218403, -0.3750063777, -0.2311230302, 0.3990724683, -0.7040736675, -1.0443953276, 0.2616244555, 0.1229559183, 0.485822916, 0.5922731161, 0.1535143107, 0.8896912336, -0.3931989074, 0.9096575975, 0.4109528363, -0.6440765858, 0.933114171, -0.2588434517, 0.5129497051, 0.5468240976, 0.1415085196, -0.4420480728, -0.6501235962, -0.6371025443, -0.6795045137, 0.7128311396, 0.2619584501, 0.1619214118, -0.0346035436, 0.2112186849, 0.1937807947, 0.4654851258, -0.4318083227, -0.2417461127, -0.2216153592, -0.0946059078, 0.1771687269, 0.1662033498, -0.3700916469, -0.274871856, 0.6629168987, -0.4179799557, 0.4570816755, 0.2125713974, 0.168700844, -0.1438118517, 0.4942545295, 0.3961519599, 0.60198313, -0.1723751426, -0.3829425275, 0.2162486166, -0.5610243678, 0.2614843547, 0.0109239919, -0.1196075752, -0.071902588, 0.0939212218, 0.8591604829, -0.3975952268, -0.5540142655, 0.1550517231, 0.0094149476, -0.0384828448, -0.2362865359, 0.1453942955, 0.1117711589, 0.3058299124, 0.5130107403, 0.1614256352, 0.0951170176, -0.6256311536, 0.0559646897, 0.558724463, -0.0973385423, -0.0382296406, 0.0613981746, 0.2571433187, -0.3955198228, 0.8604602218, -0.1618468463, -0.5739386082, 0.0205404852, 0.6281786561, 0.8449832797, -0.1937354952, 0.4538310468, 0.2466824055, -0.2760772705, 0.0230137557, 0.578501761, -0.3498586416, -0.9026557207, -0.9757668376, -0.4373185635, -0.5285557508, 0.5851862431, -0.8382135034, 0.1053798348, -0.180424884, -0.6255067587, -0.3272603154, -0.1219254062, -0.6909911036, 0.1288657635, 0.2613495886, 0.9798026085, -0.6422604918, 0.7293789387, 0.6068388224, -0.2790118456, -0.6218343377, 0.378901124, -0.1977107227, -0.6643238068, 0.3213069439, -0.0012827957, -0.4097019732, 0.008225034, -0.4088081717, -0.3667928874, 1.0024601221, 0.2739048302, -0.5516936779, -0.0257736538, 0.2556491494, 0.7130793929, -0.6120741963, 0.4260275662, 0.6230753064, 0.6621779203, 0.1719010621, -0.6353469491, 0.1556889713, -0.2441847324, -0.1734603345, 0.0823076814, -0.573030889, 0.4544174969, -0.2293958217, 0.0138277607, -0.0840128362, 0.6736129522, 0.7617459893, 0.3041844666, 0.521974206, 0.3836984634, 0.8966379762, 0.0530847237, 0.7384189367, -0.3887131214, 0.0430432409, 1.0149956942, -0.421866715, 0.495740205, 0.4750844836, -0.2828664184, 0.9020900726, 0.4919692278, 0.0668056756, 0.6743742824, -0.0990216583, -0.7187661529, -0.4336931705, -0.0138881849, -0.4295395315, 0.1696226001, 0.7905203104, -0.1458280534, 0.0638091788, 0.2386930287, -0.209117189, -0.0980698466, -0.1765714586, 1.1130549908, -0.0913289636, -1.1848590374, 0.7046815157, -0.2726989985, 0.6251959801, -0.5811082721, -0.0809885263, -0.204732731, 0.2108965814, -0.2147009671, -1.0962197781, -0.0863983184, 0.1577982008, -0.2273738235, -0.2681332231, 0.6900839806, -0.599116385, -0.431722641, 0.0586381331, 0.710762918, -0.0206169039, -0.2891964912, -0.759288013, -0.2336994261, 0.1806313694, -0.1297485232, 0.369292438, 0.5705798864, 0.1273282468, 0.8000790477, 0.7645874023, 0.2751165032, -0.1498772949, 0.6774527431, 1.1409327984, -0.5143241882, -0.6921274066, -0.8109397888, 0.547139883, -0.3586336672, -0.0567125641, 0.5700458288, 0.2583098114, 0.305944562, -0.1644887626, 1.0041509867, 0.0113146119, 0.341070503, -0.5673086047, 0.3395001888, 0.0068673361, 0.304271251, -0.5173942447, -0.9617128372, 0.3745379746, 0.6082437038, -0.5384914279, 0.107130155, 0.5091432929, 1.0078488588, 0.1888473034, 0.4924319386, 0.0515079238, 0.0310369227, 0.5283173919, 0.5797240734, 1.1138827801, 0.0043849316, 0.6741399765, 0.0097599793, -0.5236891508, 0.0563111156, -0.7231837511, -0.8161127567, -0.4474353492, -0.3379999697, -0.6035279036, -0.1023839861, 0.8061868548, 0.5963176489, -0.6029484868, -0.0162088256, -0.4189355969, -0.1157713458, -0.4418559074, -0.3750478327, 0.1375130266, -0.5395687819, -0.5842687488, 0.7540132403, 0.1511540413, -0.1072598472, -0.6380349398, -0.326298207, -0.1938919425, 0.1252549589, 0.4569036961, -0.1691761911, -0.5637887716, -0.0558620133, -0.0052944329, 0.3797816932, 0.1709120423, 1.069283247, -1.1685667038, 0.7492240071, 0.3129832745, 0.3127089143, 0.6583396196, 0.1559073329, 1.1273373365, -1.0695656538, -0.0619703718, 0.3166529238, -0.0316496007, 0.5201081038, -0.6292395592, 0.2535863817, 0.1922252327, -0.3727560639, -0.7455541492, 0.5728643537, -0.6483407021, 0.0158109572, 1.0156105757, -0.0378668532, 0.3064930439, -0.1832223088, -0.5092376471, 0.4084771872, -0.7494384646, 0.9315086007, 0.8732798696, -0.8184085488, -0.1879272014, -0.2079567909, 0.7514330745, 0.533077538, -0.7147254348, 0.345892787, 0.416467309, -0.1064733192, 0.4368663728, 0.6743488312, -0.1036667675, 0.2688974738, -0.1194510385, -0.1015124395, 0.011978698, -0.0395289883, -0.1249914095, 0.1374849826, -0.2270071805, -0.0294944607 ]
http://arxiv.org/abs/2406.16563v2
http://arxiv.org/pdf/2406.16563v2
Are there identifiable structural parts in the sentence embedding whole?
2024-06-24T11:58:33
2024-07-02T14:14:48
Vivi Nastase, Paola Merlo
cs.CL
cs.CL, 68T50, I.2.7
Sentence embeddings from transformer models encode in a fixed length vector much linguistic information. We explore the hypothesis that these embeddings consist of overlapping layers of information that can be separated, and on which specific types of information -- such as information about chunks and their structural and semantic properties -- can be detected. We show that this is the case using a dataset consisting of sentences with known chunk structure, and two linguistic intelligence datasets, solving which relies on detecting chunks and their grammatical number, and respectively, their semantic roles, and through analyses of the performance on the tasks and of the internal representations built during learning.
[ -0.1872832477, -1.0703066587, 0.8349320889, 0.166401431, -0.2063913941, 0.2027469724, -0.09238749, -0.3495458066, 0.4820877612, 0.3516670763, -0.4133434892, -0.0893936679, -0.7147188187, -0.069927834, -0.7928732634, 0.6629337668, 0.0337566845, -0.069280453, -0.52079916, -0.0316483378, -0.5488595963, -0.4286232591, 0.0535848252, -0.150522545, 0.2915152907, 0.2937285006, 0.8617726564, 1.1593519449, 0.3122070432, 0.340433687, -0.0741971061, 0.0398506969, -0.0645938963, 0.3227927387, -0.2816496491, -0.8913524151, 0.1402647048, -0.2157534957, 0.8709858656, 0.7854120731, 0.1338155866, 0.1179836318, -0.0319530405, 0.4483540058, -0.4603568316, 0.3669688106, -0.3784666359, 0.2083240449, -0.4572239816, 0.0967151597, -0.4076060057, 0.0029687113, 0.0291207004, -0.1912963539, 0.1451349705, 0.0210738983, 0.9887146354, 0.3366851807, -0.5302463174, -0.4786427617, -0.6588489413, 0.6322450638, -0.2671704292, 0.3977329433, 0.4228778183, -0.1132584661, -0.2079173625, -0.4123498201, -0.4453157485, -0.0003509726, -0.6134335995, -0.0694391951, -0.2629736364, 0.0007776782, 0.0807280615, 0.4262845218, -0.3930489123, 0.0810384005, -0.4640620053, -0.2772247493, 0.4835231304, 0.0665605739, 0.7979201078, -0.5507948995, -0.1788662225, -0.1126794666, -0.5859544277, 0.1334542036, 0.4132269323, 0.1167149246, -0.118741639, 1.0483224392, 0.0506373569, 0.6539229155, -0.0185606778, 0.2187516391, 0.3380275369, -0.1777340621, -0.1501119882, 0.3174767196, 0.5896258354, -0.2939673066, 0.4022703171, -0.443949908, -0.1592880636, 0.2596308589, 0.4803928733, -0.3526453078, -0.1593800187, 0.3855801523, -0.3409675062, -0.0869525, 0.5171711445, -0.3578110337, -0.0734632537, -0.205485329, 0.2925013304, -0.6483542323, -0.3114825189, 0.0377844386, -0.5044239163, 0.4318603277, -0.3390719295, -0.8298367262, 0.3644317091, 0.9602916241, 0.7527318597, 0.2062156647, -0.4247766733, -0.504840374, 0.0368019678, -0.2355926484, 0.8810243011, -1.0050264597, -0.0175267421, 0.1422174871, 0.2403234392, -0.1829865873, -0.4223237336, 0.2495571822, -0.4290745556, 0.1804891825, -0.1868104041, -1.0455203056, -0.2364807725, 0.0591625832, -0.9236952066, 1.012812376, 0.1927130669, -0.8647649884, 0.2297756821, -0.3556285501, -0.5330753326, 0.1392540336, -0.558169961, -0.3668875098, 0.6622377038, -0.0001126854, 0.6141290665, 0.0282483958, 0.2783447504, 0.1134373397, -0.2848555148, 0.7085413933, -0.0982788652, 0.299484849, -0.0175513923, -0.3376325965, 0.1732474566, -0.7587051392, -0.1163036674, 0.2159887552, -0.4061388671, -0.5666463971, 0.3223589659, -0.0607020743, -0.0067552957, 0.1174610853, -0.8943224549, 0.0997004732, -0.2095006853, 0.7405104637, 0.5100750923, 0.0416639894, 0.4502429664, -0.3353149295, 0.2859545946, 0.6161990762, -0.2211689949, -0.3457904756, -0.5629003644, -0.9898506999, -0.3526023626, 0.481675595, 0.4956353605, -0.6050912738, 0.751203835, -0.4304836094, -0.0919271186, -0.744461298, -0.1771519184, 0.3672281802, -0.0693012252, 0.3397655785, -0.0380303115, -0.6357033253, -1.1126759052, -0.4148057401, 0.0451651923, -0.1911464036, -0.204400748, 0.7768266797, 0.1362395883, 1.1614367962, -0.5886077881, 0.0764022171, -0.2805955708, -0.1084179506, -0.1246785074, 0.4197294116, 0.3255968094, -0.9238661528, -0.1389132142, -0.2898721695, -0.78964746, 0.2361742854, -0.2681874931, -0.1352404505, -0.5433254242, 0.577229321, -0.5446083546, 0.3343600929, 0.2585028112, -0.7634205222, -0.0168393701, -0.2522366643, -0.2063830197, -0.9224629998, -0.5672743917, 0.0036125358, -0.3927557468, -0.7580824494, 0.033076752, 0.2883615196, 0.2649396062, -0.2075906545, 0.0823616236, -0.6517481804, -0.1329337806, -0.1235640794, 0.2884778082, -0.0557813719, 0.429397583, -0.0089828968, 0.2739107609, 0.4570814669, -0.2077961564, 0.1732419133, 0.3009573817, -0.7843986154, 0.538528204, -0.6624016166, -0.0480980165, -0.6472026706, -0.0610273182, -0.8668889999, -0.5342978835, -0.0052458048, -0.1410984695, 0.174929142, -0.1724655181, -0.5353855491, -0.1889348328, -0.0627467036, 0.4003902972, 0.4721724689, -0.2933866382, 0.6107956171, 0.5960317254, -0.0004897567, -0.3809529841, -0.9205152988, -0.2254790664, -0.1304994375, -0.5996887088, 0.5001516938, 0.377063632, -0.3208070993, 0.6376478672, -0.0101612508, -0.3188849092, -0.0056242719, 0.5921153426, 0.1012466401, -0.4091678858, 0.5043930411, 0.0654583648, 0.2542761564, 0.0327233039, -0.2555042803, 0.5740481615, -0.0913709253, -0.3662347794, -0.1170137748, 0.4914296865, 0.5468401909, -0.3617447317, 0.9250847697, 0.2913216352, -0.5232568383, -0.2987510264, -0.431308955, 0.0870965794, -0.3778478503, 0.5235599279, -0.5481093526, -1.0545510054, 0.4761400223, 0.2851654291, -0.2569352388, 0.6587310433, 0.3242497742, -0.1158241928, 0.5473243594, 0.5794683695, -0.1094871163, 0.5735800862, -0.1346640587, 0.168122232, -0.8283154368, -0.5602455735, -0.3689068258, -0.5639297366, -0.3940421045, -0.5423320532, 0.0116051231, 0.1241204217, -0.3768498003, 0.4407829344, -0.5301643014, 0.7464774251, 0.5143056512, 0.27782318, -0.0286004897, -0.225641191, -0.2016222328, 0.1293364018, -0.5696189404, -0.3052430749, 0.6921585202, 0.455855757, 0.4778949916, 0.0348149911, 0.2949800193, 0.3552457392, -0.359757781, -0.8509934545, 0.2756620049, -0.2245639712, -0.4707993865, -0.0719718635, -0.4239586592, -0.980697751, 0.3046523333, -0.2460861802, -0.5931614041, 0.2668593228, -0.5133419037, -0.166320771, 0.343927145, -0.724781692, 0.6851102114, -0.2464563847, 0.2945402563, -0.0838250145, -0.6052528024, 0.0147165097, 0.1834741682, 0.2720841765, -0.2510232329, 0.0611080192, 0.9924026132, -0.3365837634, 0.8471568227, -0.0449435562, 0.4214152396, 0.4664501548, -0.1040236577, 0.2769941092, -0.3244625628, 0.2917506099, -0.0589674786, 0.0897658393, -0.5511261225, -0.7376359105, 0.4060080945, -0.7535505891, -0.3324193954, -0.2938251495, -0.6319209337, 0.0693347231, 0.0404527485, 0.117697075, 0.721056819, -0.1323043853, 0.6848109961, 0.5265225172, 0.0028910579, 0.6073079109, 0.2223110944, 0.0646599084, -0.0196608584, 0.6035916805, 0.28199929, 0.0639975592, 0.7394812703, 0.156513989, 0.0379377492, -0.279038161, -0.3156477213, 0.4310668707, -0.6337952018, -0.0622618161, -0.6279557347, -0.5232790709, 0.0250853617, 0.0577093214, -0.4209380746, -0.5331850648, -0.1220556423, -0.5972556472, 0.3623176515, 1.3932753801, 0.3594551384, 0.4182530046, -0.8788164854, 0.0161202047, 0.0699609146, 0.3018939495, 0.1244605854, -0.2402212322, -0.4731751084, 0.0768490061, 0.1344048083, -0.8799217939, 0.0605124645, 0.1889186203, 0.5860369205, 0.3466862738, -0.1933885962, 0.4364057481, -0.620379746, 0.9557932019, -0.2610557973, -0.9693636894, 0.4673790038, 0.1482259929, 0.422709167, 0.1786236465, 0.6687490344, -0.4734293222, -0.5785649419, -0.556676805, -0.6053144336, 0.4120052159, 0.2585127354, 0.2059382349, -0.4142059386, 0.4235839546, -0.0963463709, -0.000281752, -0.5828852057, -0.0257925279, -0.2111279219, -0.5426803231, 0.2949234843, -0.6297702789, -0.1373270154, 0.050728783, 0.0755117089, 0.1811570525, 0.4041705728, 0.226420626, -0.5538653135, 0.3809623718, 0.4059711993, 0.3606533408, 0.3400588334, 0.1324444562, 0.4439077377, -0.2462412119, -0.5744346976, 0.1215404347, -0.2718340755, -0.013997186, -0.0082057249, 0.8722907305, 0.8096260428, 0.512904942, -0.6157747507, 0.6321427822, 0.0777197927, 0.0397319123, -0.3604756594, 0.0737176463, 0.0820408687, 0.538005054, 0.2315174192, -0.178775996, -0.1895167232, -0.8489449024, 0.4593349099, 0.1561848372, -0.7827756405, -0.6664101481, 0.3182111084, -0.1907957047, -0.2697460651, 1.0001991987, 0.0038971133, -0.7908724546, 0.5982062221, 0.4856970906, 0.6844823956, -0.0994495153, 0.3840428889, -0.1382716745, 0.3424927294, -0.1473400444, 0.3368034065, 0.0257236753, -1.0617594719, -0.414329052, -0.6298196912, 0.0539500155, -0.3494145274, -0.8089630604, -0.039001558, -0.1415740699, 0.1591245234, 0.3207341135, -0.5265869498, -0.6678430438, 0.1422087252, 0.2462159246, 0.7019689679, -1.0927805901, 0.8468693495, 0.5766322613, -0.5865027308, -0.6606764793, -0.0879505351, -0.1167108044, -0.637568891, 0.7069811821, 0.1649808735, 0.2174365819, -0.4593087435, -0.2731811702, -0.8572528958, 0.8066622615, 0.1491628885, -0.239553526, -0.5586432815, 0.5137045979, 0.3903430402, -0.6038831472, 0.2644609809, 0.6257102489, 0.339025408, -0.0424977392, -0.531509161, 0.1785028726, -0.2269797623, -0.078234069, 0.4640217721, -0.4477797151, 1.0633989573, 0.3276458085, -0.3732132316, -0.2137550414, 0.7375267744, -0.3998144865, -0.3444185555, 0.5311200023, 0.6469680071, 0.9288549423, -0.4184993207, 1.1106770039, -0.2566480041, 0.1353422403, 1.0244259834, 0.3632190228, 0.9681902528, 0.1721886694, -0.0765045509, 0.9714635611, 0.4730927944, -0.1889115721, 0.6206555367, 0.3057336807, -0.0117332349, -0.0444021672, -0.0325848125, -0.0546421334, 0.7596457601, 0.6595847011, -0.4835984707, 0.0197613202, 0.2974151075, 0.2387981117, 0.0046216561, -0.1941586584, 0.7054020166, -0.0424110852, -0.573844254, 0.0829458013, 0.0274353623, 0.4875851572, -0.5666098595, 0.0314437039, -0.0321441367, 0.2003309131, -0.4382404089, -1.0652097464, 0.7407603264, -0.1673791111, -0.4221554995, -0.2763955593, 0.5569325089, -0.6163578629, -0.4362506568, 0.1508843154, 0.4501622319, 0.1335725188, -0.3182695508, 0.0298792627, 0.0335637778, -0.0028219256, -0.1816461682, 0.316714555, 0.7050997019, -0.018706236, 0.3101637959, 0.2370193154, 0.0096326685, 0.4776523113, -0.076015763, 0.8822171688, -0.9504308701, -0.5118079782, -1.055236578, 0.5965270996, -0.2786601782, -0.2393942028, 0.751216948, 0.6993017793, 0.8751941919, 0.0298540685, 0.6043698192, -0.1146104634, 0.2568161786, -0.6498271227, 0.3825522661, -0.1199796125, 0.0213610511, 0.1069418192, -0.8027023077, -0.2111208886, 0.557954669, -0.2898100019, -0.4316502512, 0.9104643464, 0.3742061853, -0.2121012509, 0.370565176, 0.2242625505, 0.3998140991, 0.2531033754, 0.3377382159, 0.9566796422, -0.3356196284, 0.2476667166, -0.2168364823, -0.0753631592, 0.0248052869, -0.4026782513, -0.8409748673, -0.9845044017, -0.1623762846, -0.1128970906, -0.2162098885, 0.5966752768, 0.5491928458, -0.6859738827, -0.1334693581, -0.0330512263, 0.2205728441, -0.1948633194, -0.238256827, 0.4827629924, -0.2582479417, -0.415722847, 0.6582314372, 0.4064787328, -0.0321750566, -0.2281288803, 0.5990470052, -0.3646350503, 0.4514756501, 0.5428695679, -0.078296043, -0.6873677373, -0.8085793257, 0.0065598995, -0.0033500963, 0.2353085577, 1.0444190502, -0.6078622341, 0.3603380322, 0.6779980659, 0.754801929, 0.5474812388, 0.1132782325, 0.5333789587, -1.1193970442, 0.4359628558, 0.1059652641, 0.6455987692, 0.2305066288, -0.4301055372, 0.4286940992, -0.049331218, -0.4044850171, -0.491678834, 0.3209245801, -0.743016839, -0.4560521841, 0.8257936239, -0.3438112438, -0.5425364971, -0.2426934689, 0.1662538648, 0.1070588008, 0.082847774, 0.3370624185, 1.0743033886, -0.2310463041, -0.1043134034, -0.3440713882, 0.1261659414, 0.1203161553, -0.5909987092, -0.2846410573, 0.3651581705, 0.3068310022, 0.524061203, 0.0487594604, -0.1970335245, -0.3205687404, 0.3100642264, -0.2927397788, -0.0509978533, -0.5465908051, -0.0569587685, 0.5660282373, -0.343318671, -0.5235314369 ]
http://arxiv.org/abs/2406.16562v2
http://arxiv.org/pdf/2406.16562v2
EVALALIGN: Supervised Fine-Tuning Multimodal LLMs with Human-Aligned Data for Evaluating Text-to-Image Models
2024-06-24T11:56:15
2024-06-27T03:57:05
Zhiyu Tan, Xiaomeng Yang, Luozheng Qin, Mengping Yang, Cheng Zhang, Hao Li
cs.CV
cs.CV, cs.CL
The recent advancements in text-to-image generative models have been remarkable. Yet, the field suffers from a lack of evaluation metrics that accurately reflect the performance of these models, particularly lacking fine-grained metrics that can guide the optimization of the models. In this paper, we propose EvalAlign, a metric characterized by its accuracy, stability, and fine granularity. Our approach leverages the capabilities of Multimodal Large Language Models (MLLMs) pre-trained on extensive datasets. We develop evaluation protocols that focus on two key dimensions: image faithfulness and text-image alignment. Each protocol comprises a set of detailed, fine-grained instructions linked to specific scoring options, enabling precise manual scoring of the generated images. We Supervised Fine-Tune (SFT) the MLLM to align closely with human evaluative judgments, resulting in a robust evaluation model. Our comprehensive tests across 24 text-to-image generation models demonstrate that EvalAlign not only provides superior metric stability but also aligns more closely with human preferences than existing metrics, confirming its effectiveness and utility in model assessment.
[ -0.5051145554, -0.7978248, 0.4677233696, 0.1999436617, -0.2753751576, 0.1648230106, -0.3828242719, -0.287723273, -0.0044034105, 0.4094406068, -0.4513808787, -0.7419440746, -0.4967341423, 0.1459013075, -0.4313369095, 0.8997958302, -0.3550592959, 0.1499675363, -0.6243401766, -0.2809806764, -0.3507218063, -0.2079159766, -0.5753329396, -0.0777535513, 0.5595939755, 0.2943763137, 0.88056916, 0.4736606479, 0.7119013071, 0.3368700147, 0.3178876638, 0.8368587494, -0.5217676163, 0.3063519895, -0.1328861713, -0.081246689, -0.4876143932, -0.0670319349, 0.5132114291, 0.4189577401, 0.0819843262, 0.6570012569, 0.1028075069, 0.7879293561, -0.8014971614, -0.0885647088, -0.7436350584, -0.1305744946, 0.015460033, -0.6453877091, -0.5953086615, -0.3710702956, -0.3224101961, -0.5114849806, 0.0690045133, 0.4577105939, 1.0895975828, 0.3860450685, -0.4064435661, -0.1479783505, -0.6767130494, 0.8510323763, -0.302567631, 0.482003808, 0.3816279769, 0.2558660209, 0.0350649878, -0.6091226339, -0.3664495349, -0.3770682514, -0.1152960882, 0.2062993646, -0.1390040666, 0.0895327032, -0.1469713449, 0.1680478752, -0.5964182019, 0.3940572739, -0.3533809781, -0.2077742517, 0.6564862132, 0.4692963362, 0.3255330622, 0.0184012186, -0.7884685397, -0.0070195678, -0.7628461123, 0.0955796987, 0.4032236338, 0.167266354, -0.1233340129, 0.7333171964, 0.0453953631, 0.5897099972, 0.2725284696, -0.0335723124, -0.0239939466, -0.4491277337, -0.2463084608, -0.0861799344, 0.9825313091, 0.9680678844, -0.0157550834, -0.1282907426, -0.5679942966, 0.1878912896, 0.4920016527, -1.0019317865, -0.0925531313, 0.3215146959, -0.6522833109, -0.4291420579, 0.0420319326, -0.7468692064, -0.2095962912, -0.8135488033, 0.5743851066, -0.3722694814, 0.1669162512, -0.0799902529, 0.2379380465, 0.0221316237, 0.5718169212, -0.9778054357, 0.1842214167, 0.6362977624, 0.9671981931, -0.2917667925, -0.4264315963, -0.6305603385, -0.0517326221, -0.7332082391, 0.9431492686, -0.5182505846, -0.097972028, 0.0692780688, -0.008009769, 0.0425824448, -0.394300431, 0.6607444286, -0.4594452083, -0.0063458937, 0.2800142765, -0.3654153049, 0.1159673557, 0.4034501016, -0.5822787881, 1.1258214712, 0.2034444958, -0.4226357639, 0.4550589323, -0.509995997, -0.1859051436, -0.0949350595, -0.1328996122, -0.7406839132, 0.4306535125, 0.5632449389, 0.7913575768, -0.315441072, 0.2803990543, -0.2543586791, -0.3839442432, 0.5092545748, -0.8044552207, 0.3495333791, 0.2256253064, 0.0514564961, 0.446152389, -0.6703761816, 0.3331503868, -0.1503928006, -0.2088585347, -0.3049621284, -0.1384602785, 0.4850826263, 0.1110742316, 0.3114005327, -0.329072237, 0.1560584456, -0.0977379233, 0.2478315979, 0.8357353806, -0.132307291, 0.6206231713, -0.3729112744, 0.6033818126, -0.3192465901, 0.3395466506, -0.4422151148, -0.1551543325, -0.8893683553, -0.5213851929, 0.4588432312, 0.1327902079, -0.5582928658, 0.5258885026, -0.6714130044, -0.5954306722, -0.9444792271, 0.3186418712, 0.4472975433, 0.1574681252, 0.3851615191, -0.5176981688, -0.2263952047, -1.1486308575, 0.1539656371, 0.0487751253, 0.0238178764, 0.4053344727, 0.4244972169, -0.4638483822, 0.7573898435, -0.164947927, -0.4451517761, 0.2101829201, 0.604209125, -0.3308259249, 0.4218076468, 0.6436905265, -0.5726316571, -0.5125342607, 0.3220680356, -0.5563639402, -0.2177468687, -0.4989905059, -0.3739266098, 0.3345051706, 0.3598264456, -0.565330267, 0.3783022463, 0.9656538367, -0.2434398234, 0.7050301433, -0.3455018997, 0.6263552904, -0.9182646275, 0.0298335087, 0.1491403431, -0.4660517871, -0.4858066738, 0.1832442731, 0.4456040859, -0.0701435357, -0.4860553443, 0.6633527279, -0.5342812538, 0.1757712066, -0.1869500577, 0.0793538764, 0.4333266914, 0.293918401, 0.0081550293, 0.8827345967, 0.5215270519, -0.3824742734, 0.4433270097, 0.1564287096, -0.596370399, 1.0732321739, -0.4992910326, 0.2457993031, -0.1287716329, 0.0229576081, -0.9816643596, -0.1830119789, -0.1276555657, -0.4271276593, 0.4823144972, 0.0873732865, -0.5669397712, -0.0749145895, -0.5128564835, 0.6252425909, 0.2105266005, -0.7326609492, 0.6777361035, 0.1690146178, -0.0854225904, -0.4711005092, -0.3532830477, 0.1816527247, -0.1631784141, -0.6545854211, 0.3965384662, -0.0169623122, -0.1835945249, -0.1653598249, 0.1276942343, 0.027804831, -0.1693186164, 0.706938684, 0.4863212705, -0.2046482563, 0.2208509594, 0.1858502179, -0.2384227365, -0.2071971893, 0.0733289272, 0.5303202271, -0.2382767498, -0.6910367608, -0.6810287237, 0.2436537296, 0.7999427319, -0.3417129219, 0.6105101705, 0.8209789395, -0.1348956823, 0.0422051772, -0.6649742723, -0.1674332172, -0.4787798524, 0.5406304598, -0.3135792017, -0.617449522, 0.1696895212, -0.3279413283, 0.1100056916, 0.3341279626, 0.8827803135, -0.4778516293, 1.1366152763, 0.4971769452, 0.1202934682, 0.2328904569, -0.1051738262, 0.0309585594, -0.8924002051, -0.2920072079, -0.2640299499, -0.505749464, -0.2319591641, -0.5398063064, 0.2718847096, 0.1030217037, -0.2388633788, 0.2292665243, -0.5264719725, 0.5454016328, 0.2515742481, 0.256026268, 0.2951153517, 0.2220064253, 0.1288860887, -0.2751761079, -0.2356592119, -1.0174044371, 1.1604244709, 0.4580549598, 1.1520826817, -0.0195934568, 0.4913158417, 0.2692923546, 0.6118493676, -0.7034808397, 0.3474344015, -0.1018468589, -0.4523645043, -0.220591858, -0.2094686031, -0.9576683044, 0.1196569651, -0.5589547753, -0.6765048504, -0.0141899372, 0.2632327974, -0.460893482, 0.0363957323, -0.8727762103, 0.8822197318, -0.9178692102, -0.6961510777, -0.1608774662, -0.4120826721, 0.2465838045, -0.2987040579, 0.1583873928, -0.3818835616, -0.294894129, 0.3225174844, -0.1855469048, 0.7829341292, 0.2176180631, -0.1996529698, -0.0226876326, 0.3118068874, 0.4568629563, 0.0345792584, 0.0240787584, 0.2561548054, 0.1087690368, -0.1323312521, -0.8045491576, 0.7997063994, -0.7465274334, -0.1761457175, 0.1039173901, -0.4450809062, -0.0384802148, -0.1659156382, 0.1925912201, 0.5384849906, -0.4351899028, 0.3166542053, 0.2243804932, -0.0727399513, 0.1963033378, 0.2186829746, -0.508233726, -0.6139822006, 1.0779474974, -0.3556298316, 0.4577021003, 0.5276107788, -0.1787899137, -0.4428977072, -0.4011975527, -0.7313269973, -0.0598451085, -0.7099131942, -0.6395685673, -0.3055129349, -0.1021474153, -0.0719395652, -0.5402165055, -0.7300093174, -0.2211571783, -0.5926446319, 0.1037396342, 0.2400485873, 0.3981488645, 0.3065286279, 0.2437057793, -0.801417172, 0.3572298586, 0.1879754066, 0.3373807371, -0.2171263695, -0.7168468833, -0.2171713263, -0.0361867584, -0.6300367117, -0.4377338886, 0.4663659334, 0.4594106078, 0.3055000305, 0.7491348982, -0.0566448756, 0.9875166416, -0.6008146405, 0.7432240844, 0.588531971, -0.8550108075, 0.5173633695, -0.0814484432, 0.0588687994, 0.7648503184, 0.2792327702, -0.3482591808, -0.3984597027, -0.3925636113, -0.9694304466, 0.2105728984, 0.2259634882, 0.6239347458, 0.3504738808, 0.1437693983, 0.4044517875, 0.0072641573, -0.7347374558, -0.1113810837, -0.11691311, -0.5206146836, 0.0764521137, -0.2282134145, -0.3502036333, -0.3836826682, 0.5180658102, -0.2963202, 0.0958637893, -0.2396980226, -0.2931966782, -0.2461423278, 0.2185960114, 0.8786382675, 0.7034811974, -0.0769305378, 0.3119115531, 0.0186512582, -0.3096990883, 0.3962582648, -0.087809369, -0.0861491486, -0.0753288269, 0.3826355636, 0.9940629601, 0.261204809, -0.7901696563, 0.680015564, -0.1372200549, -0.3214395344, -0.1508384794, -0.0033182269, -0.2855149806, 0.2540383637, 0.2150530964, 0.5278509855, -0.2079984695, -0.1914801002, 0.0997368023, 0.7464446425, -0.5388906002, -0.2945435643, 0.7014541626, 0.3937901556, -0.3610451519, 0.4882908762, -0.0791812614, -0.2505919635, 0.4779488146, 0.4017907083, 0.8255608082, 0.0591468737, 0.3362048566, 0.3699859977, 0.4561669827, -0.0169645157, -0.0948884711, -0.0006735785, -0.6963364482, -0.2528848052, -0.7789083719, -0.2751767635, 0.1266586185, -0.5555245876, 0.5254665613, -0.3666072488, -0.5040203929, -0.0667029694, -0.3088160455, -0.7677081227, 0.0951857716, 0.2290681303, 0.5097647905, -0.9057099223, 0.5085989237, 0.678417325, -0.3099975288, -0.5310798287, -0.2110471129, -0.1060010865, -0.8187259436, 0.7141838074, 0.4523534477, -0.1925348639, -0.0247213524, -0.6121612787, -0.714535296, 1.2221240997, 0.5231463313, -0.7300704718, 0.435788542, 0.0519844927, 0.5825235248, -0.5591938496, 0.5157235861, 0.4360307753, 0.608009696, -0.083640866, -0.9206136465, -0.1783864945, -0.2760225832, 0.2221616954, 0.1574149728, -0.5348445773, 0.3965279162, -0.3253889978, -0.3634350002, 0.4984959066, 0.597443223, 0.2231732458, 0.3663086295, 0.2043538839, 0.577434063, 0.536474824, -0.2236218899, 0.8691937327, -0.4984139204, 0.5800480843, 0.9624648094, -0.1088259295, 1.0393987894, 0.7268592119, -0.1650716066, 0.159541294, 0.8230298758, -0.2793276906, 0.5541282892, -0.1278162897, -0.2168165892, -0.4704202712, -0.2905457616, 0.0357016847, 0.5728906989, 0.3537595272, -0.7104414105, -0.1269905716, 0.0466100127, -0.3987485766, 0.3055862486, -0.4044126868, 0.6213228106, -0.1511511654, -0.4684613943, 0.7719498277, 0.0524205193, 0.7263751626, -0.286162436, 0.0806741193, -0.14886415, 0.0839746818, -0.3749670088, -0.7868093848, -0.0128277875, -0.0429526977, -0.1101770252, -0.339715302, 0.6082955003, -0.6012713313, -0.8076705933, -0.112409614, 0.2523382306, 0.0174013115, 0.0173526611, -0.6772819757, 0.3616727293, -0.2689047456, -0.1362876743, 0.2535680234, 0.4070821106, -0.0773700476, 0.6261282563, 0.5908504128, 0.1015052646, -0.1178469509, 0.3027604222, 0.6082409024, -0.1789313108, 0.1973161697, -1.1506145, 0.639049232, -0.0416344739, -0.4322787821, 0.5329189897, 0.8474442959, 0.524414897, -0.2173874676, 0.5219986439, 0.3522828519, -0.1041235179, -0.8353500366, 0.8695469499, -0.7464925051, 0.0233955067, -0.2539068758, -1.0547395945, -0.4820875525, 0.5478872657, -0.0624279939, -0.0897890702, 0.5833087564, 1.2658098936, -0.2055945992, -0.414088577, 0.5687537789, -0.274828881, 0.2006378174, 0.2953356504, 1.0732812881, -0.4364159107, 0.3727714419, -0.2006112337, -0.2485059351, -0.3008583188, -1.00391078, -0.9770810604, -0.7619010806, -0.3740558624, 0.0392710939, -0.1268006563, 1.0793937445, 0.8599177003, -0.603418529, 0.0540313646, 0.2640820742, -0.2353637367, -0.194395259, -0.2069384903, 0.6220487356, -0.3559823632, -0.9136353135, -0.1059379056, 0.7846003175, 0.2149119973, -0.5573738813, -0.2533505857, 0.3413389921, 0.0651838258, 0.8015792966, -0.0580605045, -0.9348371625, -0.1735060662, -0.1142387614, -0.4665666521, 0.1705820113, 0.6536028385, -0.4646632075, 0.616876781, 0.0752049088, 0.7082579732, 0.2247725427, 0.437156409, 0.3913678527, -0.9380909204, 0.1682426631, 0.0000038285, 0.3207505345, 0.5647030473, -0.2870745063, 0.244973883, -0.292216152, -0.6919714808, -0.7593969107, -0.1496840268, -1.0584685802, -0.0097175492, 1.261302948, 0.0675207749, -0.1407417357, 0.1138452813, -0.5820031166, -0.1370897293, -0.4209697843, 1.0117886066, 0.5517104268, -0.0200121049, -0.4527177215, -0.6015262008, 0.2274233401, 0.2966452837, -0.9132005572, 0.1276442409, 0.6722580791, -0.1314981729, 0.2672773302, 0.4572385252, 0.065546371, 0.2901345491, -0.2965768874, 0.2137864977, -0.1619440019, -0.4017102122, -0.0715799928, 0.0306922141, 0.2845754623, -0.1801324487 ]
http://arxiv.org/abs/2406.16554v1
http://arxiv.org/pdf/2406.16554v1
LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training
2024-06-24T11:43:07
2024-06-24T11:43:07
Tong Zhu, Xiaoye Qu, Daize Dong, Jiacheng Ruan, Jingqi Tong, Conghui He, Yu Cheng
cs.CL
cs.CL
Mixture-of-Experts (MoE) has gained increasing popularity as a promising framework for scaling up large language models (LLMs). However, training MoE from scratch in a large-scale setting still suffers from data-hungry and instability problems. Motivated by this limit, we investigate building MoE models from existing dense large language models. Specifically, based on the well-known LLaMA-2 7B model, we obtain an MoE model by: (1) Expert Construction, which partitions the parameters of original Feed-Forward Networks (FFNs) into multiple experts; (2) Continual Pre-training, which further trains the transformed MoE model and additional gate networks. In this paper, we comprehensively explore different methods for expert construction and various data sampling strategies for continual pre-training. After these stages, our LLaMA-MoE models could maintain language abilities and route the input tokens to specific experts with part of the parameters activated. Empirically, by training 200B tokens, LLaMA-MoE-3.5B models significantly outperform dense models that contain similar activation parameters. The source codes and models are available at https://github.com/pjlab-sys4nlp/llama-moe .
[ -0.4827428162, -0.8473672271, 0.564158082, 0.4500172734, -0.2292319536, 0.2566486597, -0.4068215787, -0.4329150319, 0.3859452009, 0.74725914, -0.2202786207, -0.0217937175, -0.8214055896, 0.1645061374, -0.4750739038, 0.8063444495, 0.044065915, 0.0254503489, -0.0456077717, 0.1585630924, -0.7178676724, -0.310048908, -0.5056704879, -0.2285951972, 0.4021981657, 0.4775546491, 0.6204336882, 0.5610098839, 0.1172382161, 0.3780793846, 0.058469668, 0.1800516099, -0.8596790433, 0.2159902304, -0.0215833243, -0.5845732093, -0.5061385632, 0.025136508, 0.7444722056, 0.7499651909, -0.4584439993, -0.0133571643, 0.0613970682, 0.1461434066, -0.4729174674, 0.0163544659, -1.2357397079, -0.2151750028, -0.351002872, 0.0232372563, -0.4824498892, -0.0812466964, 0.0520052351, -0.5995613337, -0.0795429721, 0.0849832743, 0.6899673939, 0.4206760228, -0.4144355357, -0.1903962642, -0.5212070942, 1.0278198719, -0.842700243, 0.2365118414, 0.541097939, 0.1574302465, -0.5677450299, -0.4509930313, -0.6394223571, -0.3709463179, 0.2974896729, 0.0148366578, 0.1704352498, -0.125123173, -0.1606798172, 0.210672304, -0.1358330399, 0.5103467703, -0.4201741219, 0.0250853244, 0.8161207438, 0.0451305658, 0.1133070961, 0.1816841513, -0.4102082551, 0.1554824412, -0.917517364, -0.3603790104, 0.3328727484, -0.0132612996, 0.064158462, 0.544017911, -0.2472864836, 0.6938515902, 0.3779421151, -0.5586262345, 0.1202464029, -0.0547199324, 0.0568001047, -0.0363152549, 0.8012160659, 0.0172374789, 0.5338190794, -0.4278918803, -0.4445886314, -0.2245267332, 0.2842127681, -0.649017334, -0.4230566025, 0.1203029826, -0.225334838, -0.4475743771, -0.2613600791, -0.3894606233, -0.2344575673, -0.4557005465, 0.4930782914, -0.2483244687, -0.63069278, 0.1513292044, 0.2318644822, -0.0205843039, 0.3577578366, -0.7729715109, 0.0750473142, 0.4712901711, 0.5396059155, -0.1868071705, -0.5115891099, -0.5624286532, 0.4187747538, -0.5436095595, 0.9045008421, -0.7528442144, -0.5301733613, -0.077879861, -0.3840254247, 0.0391791463, -0.7284603715, 0.0312884748, -0.7434576154, -0.0184630305, -0.1055561975, -0.4243670106, -0.1817429215, 0.3464317024, -0.4727380276, 1.2111897469, 0.0778637826, -0.4551867545, 0.2523834705, -0.3468720019, -0.4087441266, 0.092125617, -0.202665329, -0.0020405196, 0.2608631253, 0.4466254711, 0.9044273496, -0.2710215747, 0.6662991643, -0.5446467996, -0.165482074, 0.3325691521, -0.3310979605, 0.6941741705, 0.0985464901, -0.1322756708, -0.1467302889, -0.7809236646, -0.4414040446, 0.2097229511, -0.5848332047, -0.2323428988, 0.1953172088, -0.3486764729, 0.1808832139, 0.5094666481, -0.2778863013, 0.3920980692, -0.1464823484, 0.4288472235, 0.9014362097, 0.0045729759, 0.3986634314, -0.2945261598, 0.4704716802, 0.3030566573, -0.0679301694, -0.3439813852, -0.6545187235, -0.9723774791, -0.4608025551, 0.2323063761, 0.4892492592, -0.9353869557, 0.5889286399, -0.6100157499, -0.6383586526, -0.5382573605, 0.6603384018, 0.1099836975, 0.5246803164, 0.367451489, -0.3305228055, -0.2791084051, -0.7486159205, 0.2539200783, -0.2580355108, 0.0208076481, 0.0452786684, 0.4483536184, -0.4039524794, 1.102027297, -0.3653769791, -0.0092201559, -0.2871581316, -0.023794625, 0.2721900046, 0.5398533344, 0.6517192125, -0.3395729661, -0.3152055144, 0.0487309955, -0.6664764285, -0.2106370628, -0.0767460093, -0.274034977, -0.3355455399, 0.3712538183, -0.6267827749, 0.0006347318, 0.5892754793, 0.3324503303, 0.642611742, 0.0162099898, -0.2209606171, -1.3098911047, -0.1152618453, -0.1180277169, -0.2523624599, -0.6126528382, 0.2454978824, -0.2296053171, -0.0128335292, -0.2836103737, 0.7062658072, -0.505199492, 0.0592886209, -0.4006360769, -0.0726045817, -0.3112174869, 0.684591949, 0.0095564146, 0.6590331197, 0.7916077971, -0.7246861458, 0.4571364522, 0.1112772822, -0.3916700184, 0.4150952101, -0.7954161763, 0.3048796654, 0.0354459509, 0.386385262, -0.8097912669, -0.4532677531, 0.3354549408, -0.1607489586, 0.4103111923, -0.1879707873, -0.6547108889, -0.273747623, -0.0600966699, 0.4856311083, 0.5841693282, -0.3842379451, 0.9657581449, 0.5732724667, -0.6657274365, -0.6207824945, -0.6168109775, 0.2690884173, -0.1265167445, -0.6910073161, 0.129080683, -0.0491535626, -0.229861483, 0.0053823045, 0.0996232182, -0.2244975418, 0.241820544, 0.140313834, -0.0410398245, -0.2709204555, -0.0059667835, 0.4133335948, -0.0109941261, 0.0280943625, -0.2103133351, 0.7008364797, 0.1472501606, -0.3803150356, -0.2932626009, 0.4360134602, 0.4021478295, -0.406134814, 0.6738978028, 0.3735954165, -0.0867291093, -0.2442079782, -1.1299619675, -0.1777807921, -0.4778239429, 0.5389911532, -0.4435965717, -0.8644120693, 0.6548079252, -0.1493398994, 0.2950478494, 0.3829426169, 0.8673523068, -0.0893087611, 0.6815732718, 0.5621497035, -0.4884915352, 0.5424802303, -0.042500779, -0.1592989564, -0.6806492209, -0.1473360658, -0.2075416744, -0.3547848761, 0.058631856, -0.5964609385, 0.3157109618, 0.3261055648, -0.2150643468, 0.1653294563, -0.06223974, 0.4235039055, 0.4069750905, 0.24771671, 0.0907627046, 0.1475656331, 0.0847777501, 0.5905029178, -0.9275376201, -0.4034733772, 1.5087789297, 0.5282837749, 0.7477123737, -0.1291771829, 0.7898731828, -0.0623419136, 0.7467848659, -0.598923564, 0.7442396283, 0.1115046814, -0.7185376883, -0.1611044258, -0.3991657197, -0.7519125938, 0.2403844595, -0.2601304352, -0.4124142826, 0.1806253642, 0.2504247129, -0.2580218613, 0.2188286036, -0.6907534003, 0.1806038171, -0.4338878393, -0.1393401027, -0.4309464395, -0.5933785439, 0.5817215443, -0.5744473338, 0.1486109793, -0.2115700394, -0.1672536433, 0.6859161854, -0.4912928343, 0.9893425703, -0.0357181951, -0.449262917, 0.4522333443, -0.0115904184, 0.5823387504, 0.1659089625, -0.2227791995, 0.3915784657, -0.5811032653, -0.6894210577, -0.4156173468, 0.4720263779, -1.052564621, -0.7746049762, 0.174257338, -0.5394097567, -0.317815721, 0.2043904811, 0.0263864305, 0.5028089285, 0.198398754, 0.3844542503, 0.6569972038, 0.0642386004, 0.2709277868, 0.2368691117, -0.3266243041, -0.5339852571, 0.7991184592, 0.3215667605, 0.1817377657, 0.259852767, 0.0461446494, 0.0674405172, -0.7863125801, -0.4376292825, 0.2416701466, -0.5116701722, -0.2537550926, -0.6052518487, -0.0897217467, -0.2553194761, -0.1611013412, -0.5212944746, 0.0260465983, -0.3769666255, -0.0061570895, 0.3321993649, 0.8384269476, 0.0804760084, 0.8448324203, -0.8884339333, 0.203372255, 0.602109015, 0.2085990757, 0.3748580813, -0.6114180684, -0.4585088491, 0.2583999336, -0.1881913096, -0.9587622285, 0.1287397593, 0.2666957378, 0.8784276247, 0.7219746709, -0.2093397081, 0.7203922868, -0.5914320946, 0.7747923136, 0.1506042182, -0.6802219748, 0.1891478896, -0.6178586483, 0.0094851935, 0.5555440187, 0.4066476226, 0.0962914228, -0.5642635226, -0.323788166, -0.8268905282, 0.4855735004, 0.0457465872, 0.4225514829, -0.0918338597, 0.4805782735, 0.4564005435, 0.3026240766, -0.6314223409, 0.1623064429, -0.2536560893, -0.2703888416, -0.0487885959, -0.4090477824, -0.0958131105, -0.0667757988, 0.5540342927, 0.0071286168, 0.0561898164, -0.3470124602, -0.4523725808, 0.230183959, -0.1318641305, 0.4894863665, 0.7637016177, -0.0478166193, -0.1077167615, 0.3582360744, -0.5852108002, 0.1955613494, 0.0710142106, 0.1066033244, -0.2876327932, 0.4916371405, 0.751976192, 0.4933157563, -0.6056492925, 0.3467000723, 0.2925282419, -0.1864054203, -0.2490504533, 0.2381263077, 0.2117276341, 0.1702874452, 0.6648058891, -0.05637585, -0.3751297593, -0.3869665265, 0.0666453689, 0.1610371321, 0.2138960809, -0.4231539071, 0.5229526758, 0.6800094247, 0.0546438545, 0.7106156945, -0.247631833, -0.5190441012, 0.4102283716, 0.4643006623, 0.5544928908, -0.4059540927, -0.0941952541, -0.0427461118, 0.2840430439, -0.4243783951, 0.0822024047, -0.2055656314, -0.9681711793, -0.7387628555, -0.5429887176, -0.3120499551, -0.0994100496, -0.3933854401, 0.1848098487, -0.5057388544, -0.1510848999, -0.5249794722, -0.099501431, -0.7376971841, 0.2436647713, 0.0777971148, 0.6354593039, -0.780426681, 0.9310032129, 0.7033409476, -0.242074281, -0.9208651185, -0.0800417513, -0.3095383048, -1.0995337963, 0.69160074, 0.0552612655, 0.0281328149, 0.252615422, -0.8372172117, -0.9937566519, 1.0009678602, 0.3996927738, -0.7962682843, -0.0501580052, -0.056435395, 0.2218080759, -0.3829295337, 0.2039485723, 0.3610879779, 0.2374702245, 0.0459010527, -0.8466132879, -0.1673885882, -0.3199169934, -0.0142386509, -0.0425585397, -0.6892760396, 0.9241185188, 0.0334466435, 0.1953500062, 0.1363355815, 1.1535137892, 0.6598429084, -0.1856386214, 0.7401735187, 0.7427155375, 0.7544103265, 0.1745819449, 0.7505494356, -0.5979568958, -0.0294094812, 0.9895780683, -0.3674009442, 1.1143425703, 0.3387980163, -0.1153629199, 0.5891808867, 0.6638765335, -0.0385846868, 0.4177288115, 0.1072021723, -0.1454804838, -0.5394744277, 0.1193554401, -0.675560832, 0.36689803, 0.5048811436, 0.0202724915, -0.022826286, 0.0571572334, 0.2155834734, -0.3970915079, -0.4128475487, 0.5960270762, 0.240300104, -0.5907761455, 0.3826431632, -0.0996183604, 0.9378189445, -0.6778290868, 0.3534828722, -0.4435075223, -0.2830330729, 0.0020616075, -0.6370690465, -0.2278496176, 0.0972284228, -0.1322707981, -0.0158106666, 0.5302326083, -0.5855760574, -0.7133777738, -0.0163892824, 0.4602897465, 0.2687058449, -0.0262488853, -0.431335628, -0.0060040159, -0.2296319753, -0.5450030565, 0.3795137107, 0.5640437603, 0.0049510957, 0.8397062421, 0.6967397332, 0.1989597976, 0.5588278174, -0.1337249726, 1.091242075, -0.1833640635, -0.4591124952, -0.5844240785, 0.6812876463, 0.0286956448, -0.4537777901, 0.5184122324, 0.2204417437, 0.8873767257, -0.1693490595, 0.6691158414, 0.1756956577, 0.205350101, -0.6687296629, 0.7659161687, -0.6646850705, 0.1546304673, -0.2048564255, -1.1503129005, -0.0161147993, 0.4415948987, -0.3207394183, 0.3232138455, 0.1241081506, 0.7890958786, -0.1449404806, -0.3558560908, 0.1700432003, 0.4427915215, 0.4549515545, 0.4494249821, 0.9712744355, 0.0049034241, 0.4654287398, -0.1067729741, -0.230438903, -0.5061321259, -0.8461111784, -0.9231204391, -0.3351435363, -0.2618746459, 0.1650143266, -0.257571429, 0.9812511206, 0.8843953609, -0.5764369965, -0.241566658, 0.178238377, -0.0211642012, 0.0828627199, -0.0966986492, 0.1192431524, -0.3834455013, -0.689396739, 0.6411312222, 0.2637034059, -0.0438833199, -0.5559564829, -0.1447778642, -0.0799296051, 0.1790402383, 0.6256433725, 0.0873861164, -0.7526963353, -0.0972635448, -0.184493944, 0.0962640941, -0.1337622553, 0.3634492457, -0.7343907356, 0.4029571712, 0.4469245672, 1.0909174681, 0.169994086, 0.0459885299, 0.8526451588, -0.6630802751, 0.2831356525, 0.0612100028, 0.487205267, 0.2275913656, -0.035300266, 0.2965606153, 0.2182960361, -0.5972887278, -0.9438257813, 0.1508872807, -1.0099256039, -0.1841254085, 1.231290102, -0.1653105617, 0.034134753, -0.1678753048, -0.2586608231, 0.0672056079, -0.4634156823, 0.7815244794, 0.8128072023, 0.2321896404, -0.0655270442, -0.5339081883, -0.179959774, 0.4910106361, -0.6268740296, -0.452090174, 0.2636214793, 0.4550962746, 0.0505190268, 0.7111848593, 0.2207071036, -0.0368425734, 0.1268196106, 0.0611406788, -0.3067974746, -0.5456100702, 0.1029025093, 0.1834179759, 0.1518542171, 0.0453932658 ]