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
sequencelengths
768
768
http://arxiv.org/abs/2407.02333v1
http://arxiv.org/pdf/2407.02333v1
Why do LLaVA Vision-Language Models Reply to Images in English?
2024-07-02T15:01:55
2024-07-02T15:01:55
Musashi Hinck, Carolin Holtermann, Matthew Lyle Olson, Florian Schneider, Sungduk Yu, Anahita Bhiwandiwalla, Anne Lauscher, Shaoyen Tseng, Vasudev Lal
cs.CL
cs.CL, cs.CV
We uncover a surprising multilingual bias occurring in a popular class of multimodal vision-language models (VLMs). Including an image in the query to a LLaVA-style VLM significantly increases the likelihood of the model returning an English response, regardless of the language of the query. This paper investigates the causes of this loss with a two-pronged approach that combines extensive ablation of the design space with a mechanistic analysis of the models' internal representations of image and text inputs. Both approaches indicate that the issue stems in the language modelling component of the LLaVA model. Statistically, we find that switching the language backbone for a bilingual language model has the strongest effect on reducing this error. Mechanistically, we provide compelling evidence that visual inputs are not mapped to a similar space as text ones, and that intervening on intermediary attention layers can reduce this bias. Our findings provide important insights to researchers and engineers seeking to understand the crossover between multimodal and multilingual spaces, and contribute to the goal of developing capable and inclusive VLMs for non-English contexts.
[ -0.4217601717, -0.5338863134, 0.5078175068, 0.25352332, -0.3912621737, -0.0050376011, 0.1577858776, -0.8669065237, 0.1553331763, 0.5217744112, -0.6020604968, -0.0335057229, -0.5505982637, 0.0857614428, -0.3746896982, 0.4714965522, -0.3999893665, 0.3637590706, -0.529737711, -0.3356151879, -0.5100178719, -0.5042597651, -0.5128392577, -0.3305153847, 0.8519791961, 0.1038678959, 0.5453344584, 0.2355451435, 0.5471479893, 0.1979980916, 0.0774449185, 0.2970968783, -0.3627336323, 0.110213697, -0.1078746319, -0.7709642053, -0.0625921339, -0.3695762455, 0.5192614198, 0.5126502514, 0.1620404869, 0.2120583206, 0.1830521226, 0.6862155795, -0.7411689162, 0.2024010569, -0.5268650651, 0.0227875002, -0.3903535306, -0.2830626369, -0.642524004, 0.4113676846, -0.1604654342, -0.2839954495, -0.1299216002, 0.209633112, 1.0624493361, 0.2217876464, -0.6476414204, -0.0906217769, -0.6886779666, 0.84960711, -0.3821638227, 0.7694401145, 0.2186233103, 0.2426134348, 0.1677752435, -0.1192430854, -0.5608108044, -0.1516454667, -0.2263841927, 0.2441349924, -0.349185735, -0.015639646, -0.0255842563, -0.1415949762, -0.5697673559, 0.1478617042, -0.540271461, -0.2569568455, 0.5224923491, 0.0907010213, 0.3709740341, 0.1042728946, -0.237174511, -0.1748916358, -0.8253384233, 0.0973011777, 0.4117122293, 0.1972183734, -0.2305391729, 0.8461555243, 0.1377313286, 0.8313201666, -0.2169705331, -0.3186211884, 0.1194645613, -0.2969022989, -0.1783182472, -0.1902087331, 0.6092441082, 0.9423204064, 0.4369011819, 0.206317082, -0.2170794904, 0.323076576, 0.0515853465, -0.4602858424, 0.1108215973, 0.0760028362, -0.3874628544, -0.098641932, -0.4478084445, -0.5280566216, -0.3929041922, -0.1365864277, 0.1558526456, -0.0753366128, -0.2254043519, 0.0083873197, -0.0997411907, 0.4048232138, 0.431733042, -0.809366405, -0.0900429264, 0.0580721945, 0.5109003186, -0.1308670491, -0.4750375748, -0.1886247993, 0.1307278425, -0.5395382047, 1.2050825357, -0.5656304359, -0.3123550713, 0.1539233327, 0.2313091606, -0.0126510281, -0.3982793093, 0.1049075499, -0.6088634729, 0.3039835691, -0.3224335909, 0.108005695, -0.1642063111, 0.281047374, -0.6130132675, 0.7282227874, -0.2911061049, -0.7969838381, 0.4410910606, -0.2611632347, -0.3923572004, -0.2237518579, -0.5255619884, -0.2241924703, 0.4321509004, 0.2962145805, 0.0609042905, -0.4196374714, -0.0326907933, -0.3196438253, -0.194681406, 0.1617836505, -0.5651240349, 0.6974265575, 0.2058862448, -0.0384652801, -0.075834237, -0.5203377008, -0.2232038677, 0.57481879, -0.4031791091, -0.781309545, 0.1564648598, 0.3557196259, 0.3134645224, 0.095734857, -0.5538945198, -0.0044145645, -0.1884483844, 0.026916055, 0.6932250857, -0.3268256187, 0.6100780368, -0.1053856239, 0.5613541007, 0.2749594152, 0.2250199467, -0.3271049857, -0.5982095003, -0.7521588206, -0.1054392308, -0.1308827996, 0.6591674685, -1.1270155907, -0.6443663239, -0.0833247975, -0.0337562673, -0.9447466731, 0.2595029771, 0.4830319881, 0.4631316662, 0.0399585478, -0.3589133322, -0.5341848135, -1.6313874722, -0.4057427347, -0.3200048506, 0.1448742896, 0.4968448281, 0.2844957411, -0.3490610123, 0.5160362124, -0.1174512058, -0.3669658005, -0.3940466344, -0.4102592766, 0.1091664359, 0.0082320655, 0.9114409089, -0.8740983605, -0.5238027573, 0.2825999558, -0.8333066702, -0.2008604258, -0.2049085945, -0.0070488551, 0.494317323, 0.2947846055, -0.5074653625, 0.680495441, 0.7503456473, -0.2317335308, 0.5095325112, -0.0434309095, 0.2965093255, -0.8384733796, -0.3246822655, 0.1772519648, -0.0946373641, -0.3916463852, 0.3690111637, 0.4174223244, 0.0755414739, -0.9088052511, 0.8929062486, -0.7034903765, -0.2963433266, -0.2382017672, 0.0274758544, 0.5028383136, 0.4678741395, -0.0177555475, 0.8981396556, 0.5601422191, -0.350538969, 0.3494703174, 0.2625919878, -0.1560399383, 0.8034384847, -0.586926043, -0.0697742328, -0.608733654, -0.1168960407, -1.3446879387, -0.1860737801, 0.2228169441, -0.3370708525, 0.5059806108, -0.1947471201, -0.4079222381, -0.4423663616, -0.2985793948, 0.6961066127, 0.3479725718, -0.6197729707, 0.703971386, 0.3318546712, -0.0037044524, -0.684620738, -1.2896522284, 0.3110086024, -0.0567993298, -0.876640141, 0.0909340307, 0.0052167326, -0.6356344819, 0.0360823944, 0.0408822522, -0.1779782921, -0.0997491628, -0.1199178249, 0.4186848998, -0.2322750241, 0.0480789952, 0.003806422, 0.252659291, 0.1300843805, -0.1293988973, 0.4092587531, 0.0889448971, -0.6646727324, -0.3693039119, 0.6202355027, 0.7775762677, -0.2836437523, 0.6807900071, 0.0893618688, -0.0934014767, 0.0221884791, -0.504046917, 0.0220846497, -0.430762738, 0.7229070067, -0.5036020279, -0.4843760729, 0.6076313853, 0.3822632134, 0.2033843398, 0.2290052921, 0.6577835083, -0.5214274526, 1.020228982, 0.7860485315, 0.3128358424, 0.5218384266, -0.0232229829, 0.3114725947, -0.901850462, -0.4101468623, -0.211234957, -0.2516374886, -0.3950186372, -0.3192695081, 0.4615714848, -0.6376626492, 0.3018976748, -0.0393083356, -0.2222863436, 0.5060765147, 0.436825037, -0.049951978, 0.0665236264, 0.5104126334, -0.1927795112, -0.4196154773, -0.69510746, -0.2202225029, 0.9576324821, 0.2827281654, 1.1571527719, 0.1888516694, 0.3708943129, 0.0062205526, 0.134131521, -0.7122899294, 0.5044843554, -0.1766602844, -0.6358222365, 0.0545619056, 0.1190352291, -1.0242468119, 0.6274782419, -0.1422374398, -0.4331524074, 0.1399692446, 0.343985945, 0.2357552946, 0.361531049, -0.7460768223, 0.4741871357, -0.579361856, -0.9927459955, -0.116961509, -0.2856060863, 0.5538290143, -0.1338065565, 0.7423658967, 0.1898016334, 0.0237818025, 0.2602720857, -0.0995260328, 0.9906398058, 0.0136510311, -0.4635598958, 0.1572575569, 0.2114160061, 0.3739507198, -0.2284999937, 0.2888340652, 0.3008286357, -0.3648617268, -0.6228266954, -0.3974189162, 0.4807994664, -0.6886755824, -0.8264009356, -0.2186929584, -0.5908293724, -0.2152241617, 0.0501409881, 0.3708415329, 0.4765113294, 0.1210686415, 0.0500343814, 0.6284193397, -0.5299420357, 0.5000277162, 0.3085147142, -0.573184073, 0.0143687902, 0.4794955552, 0.2209469229, 0.3938902617, 0.3567941189, -0.1721465737, -0.3799516857, -0.3855228126, -0.7411805987, 0.5199629664, -1.0511068106, 0.0719825178, -0.4606759846, 0.0177076496, -0.39417997, -0.160169214, -0.4046969116, -0.168579042, -0.1489022672, -0.0627745092, 0.0524531715, 0.7017022371, 0.3079257309, 0.1442700177, -0.4969480932, 0.3104763329, 0.3416320682, 0.3145430088, -0.0444764793, -0.7120105624, -0.1840821952, 0.0564955808, -0.1459978819, -1.1390074492, 0.4634742141, 0.261438638, 0.6707861423, 0.0708474591, -0.35812819, 0.6291822791, -0.7679979801, 0.8044786453, 0.2037290484, -0.267210871, 0.5285829902, -0.2090756446, 0.5930731893, -0.0132381702, 0.1368326545, -0.4973466396, -0.5653471947, -0.1094079614, -1.005142808, 0.2536404431, -0.1022262722, 0.3993086517, -0.0807575732, -0.0654463544, 0.0765780136, 0.0978607014, -1.1536442041, -0.2240368277, -0.1696711183, -0.0761649385, 0.0971059054, -0.5633143783, -0.1815431416, 0.0226946808, 0.4710394442, -0.1655772924, 0.2495741844, 0.2790312469, -0.5110941529, -0.1281599998, 0.1746015847, 0.8323740959, 0.5641428828, 0.2327862829, 0.2747759223, 0.0661665052, -0.2917652726, 0.1184030473, -0.381996274, -0.3999676704, 0.3218151629, 0.5519583225, 0.9493964911, 0.1801825464, -0.6949039102, 0.3929425776, -0.1675162464, -0.2628847361, -0.2271478772, -0.4836307764, 0.0803872272, 0.2061314285, 0.588306129, 0.257955879, 0.0849049389, -0.4874720871, -0.1369950175, 0.746932745, -0.1580316573, -0.4177507162, 0.8462709188, 0.2118625194, -0.1548140049, 0.251406461, 0.2141957432, -0.2589677572, 0.6243153811, 0.5779358149, 0.7815833092, -0.0530257002, 0.146803692, 0.1730998904, 0.7525754571, 0.2862386703, 0.3075763285, 0.2891184688, -0.7400048375, -0.483712256, -0.4611037672, -0.141168043, -0.028040126, -0.3612779677, 0.2556634843, -0.2182429284, -0.076087445, -0.1159187183, -0.7021539807, -0.8995336294, 0.2020823509, 0.645462513, 0.7515044212, -1.0887525082, 0.7283955216, 1.1277990341, -0.3678284883, -0.4979654849, -0.2896467447, 0.1609108597, -1.2479979992, 0.9314004183, 0.0466574058, -0.2033668607, -0.4136944413, -0.5055090189, -0.9063971639, 0.5832793713, 0.5539793968, -0.5956389904, 0.0057520787, 0.2327681333, 0.4533015788, -0.463768065, 0.1640019119, 0.0943248346, 0.3922808766, 0.0939347148, -1.1439555883, -0.2516043782, -0.4003348649, 0.2824689448, 0.1057077646, -0.7289015651, 0.8445258141, -0.4216502309, -0.1797755212, -0.3840281665, 0.416362375, 0.2502483726, 0.3908147216, 0.2648423314, 0.2961324155, 0.2707956433, 0.01347249, 1.4320757389, -0.0924018323, -0.0807025507, 0.6462447643, -0.4239197671, 0.8064776063, 1.2517943382, -0.2320576906, 0.444904983, 0.6846477985, 0.156004101, 0.8096892238, -0.1920419186, -0.0221775118, -0.0815896243, -0.3018170893, -0.2062919736, 0.4705372453, 0.230860427, -0.3303784132, -0.2138783038, 0.3637410998, -0.1260877252, 0.0655102283, -0.376675874, 0.51181072, -0.0036873464, -0.4753701389, 0.7568879724, -0.3519886732, 0.7469288111, -0.4201238155, 0.072735481, -0.5937194824, 0.0182725135, -0.2083037198, -0.8509351015, 0.3627603948, -0.2053175122, -0.2578401268, -0.3538838923, 0.6948378086, -0.5329220891, -0.7305900455, 0.6236355305, 0.5572943687, 0.1650455594, 0.3389905989, -0.6445417404, 0.4259416461, 0.2588151991, -0.3819150627, 0.3372300565, 0.2236509621, -0.5421733856, 0.6857514381, 0.383374244, 0.1262388825, 0.1827069372, 0.1488966495, 0.7734917998, -0.3065948486, -0.2378943115, -0.8475237489, 0.775105834, 0.0431469828, 0.0221913271, 0.6483661532, 0.3603487909, 0.9759052396, -0.4030071795, 0.9396036863, 0.2877974212, -0.0537919216, -0.7038396001, 0.462582618, -1.1960911751, 0.3562512994, -0.0928553119, -0.9809026718, -0.3425228596, 0.4794825912, -0.0569767356, -0.1324034184, 0.6799417734, 0.637406528, -0.0253279265, -0.752900362, 0.7448282242, 0.2813761234, 0.365125984, 0.6204266548, 0.9192051888, -0.4613167942, 0.5839741826, -0.0038443438, -0.2349671423, -0.2882977426, -0.8022891879, -0.8542419672, -0.5084276199, -0.1415841579, -0.1462861896, 0.1524633765, 0.3603446484, 0.3640689552, -0.4511728883, -0.2814399898, 0.4610313177, 0.0581880063, 0.1998127103, -0.1364512742, -0.1191028282, -0.0484431498, -0.6684792638, 0.217299059, 0.6203023791, 0.3324982822, -0.4528296292, 0.0921840072, -0.1601793766, 0.206746757, 0.6345302463, 0.2804001868, -1.1670401096, -0.1299477965, 0.5102919936, -0.2439605296, 0.1280235201, 0.2249720246, -0.5877798796, 0.5707126856, 0.311894387, 0.5553063154, 0.4482022822, -0.5938901901, 0.6650370359, -0.873336494, 0.8854805827, -0.1786295027, 0.7361306548, 0.6320155263, -0.3765334487, 0.4005922973, 0.2849985659, -0.167789951, -0.8480844498, 0.5145453811, -0.6939651966, -0.3924143016, 1.1777982712, 0.2953683436, -0.7377054691, 0.1397283226, -0.6131162047, -0.3710121512, -0.0184480306, 0.6960688829, 1.0040382147, -0.0291407295, -0.7117051482, -0.7877717018, 0.0473888256, 0.6415089965, -0.3950772882, -0.0258079879, 0.6934361458, 0.1034579724, 0.2281648964, 0.7408625484, -0.0818009973, 0.5405362248, -0.0749325231, 0.3300318122, 0.1946772486, -0.3709775507, -0.2640469372, -0.0297824554, 0.2895653546, -0.1356223077 ]
http://arxiv.org/abs/2407.02328v1
http://arxiv.org/pdf/2407.02328v1
Efficient Sparse Attention needs Adaptive Token Release
2024-07-02T14:58:44
2024-07-02T14:58:44
Chaoran Zhang, Lixin Zou, Dan Luo, Min Tang, Xiangyang Luo, Zihao Li, Chenliang Li
cs.CL
cs.CL
In recent years, Large Language Models (LLMs) have demonstrated remarkable capabilities across a wide array of text-centric tasks. However, their `large' scale introduces significant computational and storage challenges, particularly in managing the key-value states of the transformer, which limits their wider applicability. Therefore, we propose to adaptively release resources from caches and rebuild the necessary key-value states. Particularly, we accomplish this by a lightweight controller module to approximate an ideal top-$K$ sparse attention. This module retains the tokens with the highest top-$K$ attention weights and simultaneously rebuilds the discarded but necessary tokens, which may become essential for future decoding. Comprehensive experiments in natural language generation and modeling reveal that our method is not only competitive with full attention in terms of performance but also achieves a significant throughput improvement of up to 221.8%. The code for replication is available on the https://github.com/WHUIR/ADORE.
[ -0.2063909769, -0.6976152062, 0.2887862325, 0.4649944305, -0.228360042, -0.0328502245, -0.5846236944, -0.2434616983, 0.3953634501, 0.4302416444, -0.4779613018, -0.0666495338, -0.7422309518, 0.0455410406, -0.5577358603, 1.0141775608, 0.0136109926, -0.3842369616, -0.0628040284, -0.3121488094, -0.6694486141, -0.2585909367, -0.8453409076, -0.0138680656, 0.7727425694, 0.4243615866, 0.6973980665, 0.891735673, 0.5886073709, 0.3713360429, -0.4534085393, 0.1597042382, -0.8199474216, 0.0874297172, -0.2389859557, -0.3370969296, -0.7944723368, -0.3033886552, 0.6670972109, 0.7041451335, -0.2137006819, 0.2801586092, 0.1682529747, 0.6629055738, -0.8680153489, 0.0183288045, -1.0180003643, -0.0929743424, 0.0780048966, -0.1768848896, -0.5975479484, -0.1092869639, -0.0354789793, -0.8768250942, 0.1618572026, 0.0419792086, 0.5947309136, 0.6921267509, -0.242203027, -0.0256802384, -0.5946413875, 0.8850562572, -0.4737205207, 0.380417943, 0.21639283, 0.0488867201, -0.2180000097, -0.768111527, -0.3135451078, -0.0362595282, -0.0299521293, 0.0564104207, -0.3588322699, 0.024337491, 0.1615388095, 0.3234602511, -0.2099869549, -0.075441651, -0.2348081321, -0.315103054, 0.2609868646, 0.2894805372, 0.1492068917, -0.1294147521, -0.2179520875, 0.0605276078, -0.6476131082, -0.3420423865, 0.0908064544, 0.3646101356, -0.100915581, 0.500556767, -0.0780867562, 0.5567927361, 0.4684261382, 0.0284454487, 0.116401054, -0.4231293499, -0.3479063213, 0.0879221782, 0.4731458127, 0.3020080626, 0.0817625001, -0.5686812401, -0.2981694341, -0.0125969099, 0.6913805008, -0.5932815075, -0.0437646545, 0.4402032197, -0.3606321514, -0.2157053351, -0.4159788489, -0.8443689942, -0.3056831956, -0.3137451112, 0.4955261946, -0.2761505842, -0.2096701711, 0.1417548209, 0.0746012852, 0.0991408974, 0.4450520277, -1.2617281675, 0.4444965422, 0.5480370522, 1.0404738188, -0.4713950157, -0.0825065821, -0.8261258602, 0.4184708595, -0.3215120435, 0.6638368368, -0.2072096318, -0.0911178514, -0.1436975002, -0.0184873361, -0.2420314848, -0.7212921977, 0.4711665213, -0.6604341269, -0.2841584384, -0.3210425377, -0.1091216058, 0.3390955031, 0.2670476139, -0.8582347631, 1.0660700798, 0.2135510147, -0.8369791508, 0.1470272243, -0.5987958908, -0.4590065777, -0.0105830263, 0.3761206269, -0.3137090206, 0.2744580507, 0.2484807372, 0.3533515632, -0.0777012259, 0.2367202789, -0.0137273045, -0.5201277137, 0.2686166763, -0.5047725439, 0.4303226769, 0.3455459177, -0.3960106075, 0.3833706081, -0.8331053257, -0.2435546815, 0.1072390601, -0.5487272143, -0.0384924673, -0.0490896478, 0.4847431183, -0.2336711735, 0.4864534736, -0.4428492486, 0.2892803848, -0.6012820005, 0.6832951903, 0.8976615071, 0.076127626, 0.7142002583, -0.1796142608, 0.4140440524, 0.1295997947, 0.1771994233, -0.3040215671, 0.0433909446, -1.0907882452, -0.622726202, 0.3456632793, 0.2503494024, -0.6263406873, 0.4770661891, -0.4060724378, -0.1420845687, -0.7429984808, 0.3315052092, 0.3492919803, 0.2886125147, 0.3788252473, -0.0957655832, -0.3106458485, -0.7397006154, -0.1333007216, 0.097565867, 0.0904046446, 0.4419686198, 0.2501744926, -0.3163298368, 0.8730767965, -0.6263287067, -0.4459144175, -0.3921440542, -0.0140279839, -0.0382955112, 0.507294476, 0.3932250142, -0.6315155625, -0.2973470092, 0.0289930236, -0.1354857385, -0.0425499864, -0.332005173, -0.451191783, 0.3073628843, 0.4565962553, -0.8190621138, 0.1415437907, 0.4033405483, -0.1225240454, 0.2245688289, -0.326661855, -0.0607860461, -1.2339545488, 0.5256677866, -0.1516640633, -0.3324694932, -0.4603295624, 0.1345130503, 0.0944023654, -0.1282312721, -0.4382312894, 0.665297091, -0.5530719757, -0.167170465, -0.3900731504, 0.3143580258, -0.0820575953, 0.7646394968, -0.2904058397, 0.7183392048, 0.4106260538, -0.5232485533, 0.4722839296, 0.1921328157, -0.1060513109, 0.121289432, -0.71484375, 0.0890651047, -0.3036170304, 0.086193122, -1.2437666655, -0.5880805254, 0.2879890203, -0.340582341, 0.7977055311, -0.0051796301, -0.5252868533, -0.2087822855, -0.3889251053, 0.4223213494, 0.334423691, -0.4948711395, 0.6341027021, 0.5392658114, -0.2753182054, -0.5561187863, -0.8320870399, 0.2311083823, -0.0293518286, -0.0827762857, 0.065724425, -0.0342725217, -0.1087198406, 0.3203651011, -0.2608095706, -0.0146774873, 0.2349893898, -0.1093956456, 0.0143572427, -0.0970506445, 0.2122622877, 0.0861037299, -0.447455287, -0.1876075566, -0.3599045873, 0.3751108646, 0.1875391752, -0.2105488032, -0.3628157377, 0.3752904236, 1.0366569757, -0.2774368525, 0.6380776167, 0.4493359625, -0.5714196563, -0.260796845, -0.6091371775, -0.1747035384, -0.4925515056, 0.6773681641, -0.0630338192, -0.9401600957, 0.5922237039, 0.1321830153, 0.1785196811, 0.3733137548, 0.8193508387, 0.237788856, 1.0751321316, 0.8384856582, -0.4629902244, 0.5663559437, -0.1856203228, 0.2021800727, -0.8342937827, -0.0262048095, -0.4476582706, -0.5143556595, -0.2153914124, -0.4699767232, 0.3018804789, 0.0062250295, -0.0381015688, 0.2942379117, -0.7703102231, 0.4105570316, 0.2586301863, 0.0758566409, 0.2306000143, -0.0526696704, -0.0256522465, -0.1898314208, -0.8621900082, -0.2606937289, 0.8504872322, 0.2331753075, 0.969547689, 0.0822986662, 0.3420967162, 0.1187820062, 0.519993186, -1.0331634283, 0.4200247824, -0.1522782743, -0.3594840467, -0.3864934146, -0.6121953726, -0.8598998785, 0.1744866073, 0.0827593952, -0.864433825, -0.0772408918, 0.4654074013, -0.6955153942, 0.1470029652, -0.8131404519, 1.0432398319, 0.1099195778, -0.4984586537, -0.3518840075, -0.5661706924, 0.3669889867, -0.2357600033, 0.028222803, 0.1319777966, -0.4744808376, 0.5514717698, -0.2969032228, 0.9789945483, -0.0552396365, -0.2673674524, 0.3308840692, 0.096758604, 0.7423243523, -0.11066515, 0.1158839762, -0.4087396562, -0.2567913234, -0.496873647, -0.6269327402, 0.8997849822, -0.7876279354, -0.458712846, -0.1677887142, -0.824449122, -0.1710563898, 0.1275350749, 0.0117482068, 0.6975054145, -0.0921792388, 0.222723484, 0.9930274487, -0.2024913728, 0.6062355638, 0.2583106756, 0.1909172237, -0.6589850783, 0.9944235682, 0.2457209677, 0.3425234556, 0.5750923753, 0.0135644944, -0.1927443594, -0.5844489932, -0.5808951855, 0.1671769917, -0.510017097, -0.560141325, -0.9843806624, -0.1033315286, -0.3641148806, -0.3290707171, -0.6030817032, -0.4738301039, -0.4339303076, -0.0325979479, 0.6931949258, 0.709189713, 0.0281503145, 0.5343216658, -0.7685939074, 0.5238589048, 0.217746824, 0.4597530663, 0.4725899696, -0.7158321142, -0.5616930723, -0.1585030258, -0.2215908617, -0.5435494781, 0.3991872072, 0.2010956109, 0.4596223831, 0.2091026455, -0.0274435859, 0.8274703622, -0.6258588433, 0.646746695, 0.1029548794, -0.9947510958, 0.4118847251, -0.5145863891, 0.7316321135, 0.5297073126, 0.0511583015, -0.5860921741, -0.8543309569, -0.3443439901, -1.2622630596, 1.0669260025, 0.070207499, 0.425031662, -0.2753875852, 0.5773600936, -0.2640254796, 0.1780474484, -0.5305463672, -0.1323027909, -0.0943641067, -0.696521163, 0.0715081617, -0.5341989398, 0.0026262638, -0.0093530323, 0.6473506689, -0.447157383, 0.2836404741, 0.1470906883, -0.2646339536, -0.5080742836, 0.2221137583, 0.6289169192, 0.5356490612, -0.0902300403, 0.2905579805, 0.2435485125, -0.818960309, 0.1003300622, -0.0800253078, -0.2077282816, -0.3768734634, 0.2966242433, 0.5757967234, 0.9545149207, -0.84582901, 0.5839682817, -0.080163382, -0.0362941958, 0.3444234133, -0.0765759647, 0.2388516814, 0.0099431844, 0.4882273078, 0.2632200122, -0.0199890286, -0.3092289269, 0.4400808513, 0.2047982663, -0.4308732748, -0.4508457482, 1.0302504301, 0.3999512494, 0.1686156094, 0.2421036363, -0.0812068284, -0.4965354502, 0.4962351322, 0.5643358827, 0.9850903749, 0.0615020618, -0.0202235021, 0.4787598252, 0.4266212285, -0.126723662, 0.1810961515, -0.2027639747, -0.5142412782, -0.8546566963, -0.7936960459, -0.1004869044, 0.0006447193, -0.5396358967, -0.0359781049, -0.5778390765, -0.159448415, -0.2431282699, 0.0719643757, -0.1906201243, -0.0265798345, -0.0754927024, 0.9679858088, -0.636677742, 0.6031569242, 0.5994043946, -0.1768690199, -0.5868397355, 0.0689624473, -0.1473622918, -0.4987451732, 0.4700656831, -0.0393154994, -0.0969205275, 0.4006320238, -0.4374509454, -1.2291365862, 0.9671494365, 0.6841146946, -0.6515718102, 0.1419339627, -0.2203750312, 0.5578507781, -0.0176948663, 0.0006059824, 0.4040401578, 0.3689653873, 0.2515075803, -0.9630821347, 0.0641186312, -0.0732316896, 0.0942792296, 0.4391028583, -1.1747937202, 0.4566996098, -0.4439164996, -0.298304379, 0.323418051, 0.8218092918, -0.0079144454, -0.3759300709, 0.500084281, 0.8523250222, 0.6096435785, 0.0397506133, 0.8757464886, -0.4429412186, 0.3452861309, 0.958538115, -0.2681904435, 0.8988553882, 0.6452736259, 0.0859160647, -0.2389596701, 0.3268175423, 0.3083004951, 0.8203081489, 0.1505627334, -0.2505987883, -0.1892948449, -0.3688726425, 0.0664118305, 0.287830025, 0.1710121632, -0.0642351583, -0.2260843366, 0.0679648891, -0.0051661157, 0.034400966, -0.6955417991, 0.9832987785, -0.0137601653, -0.7129158378, 0.5958441496, 0.0626176968, 0.5232916474, -0.568987608, 0.0054752091, -0.2534072995, 0.5799049139, -0.0532594211, -0.3053367436, 0.4100006521, 0.3778857589, -0.3617957532, -0.4491192698, 0.7850118279, -0.7058769464, -0.4038966, 0.2579975128, 0.2181209773, -0.2277685404, 0.1728446186, -0.3982152939, 0.6100789905, -0.0258866288, -0.4469204843, 0.4378791749, 0.4967168272, 0.1409834623, 0.7071615458, 0.4301097095, 0.243902877, 0.4856498539, 0.0382088684, 1.2687700987, -0.4617792964, -0.372739017, -0.6710307002, 0.6160281301, 0.2245095968, -0.2951202393, 0.5823947191, 0.5947691202, 0.4265245199, -0.0371154621, 0.6253882051, -0.0578431785, 0.323924005, -0.423016876, 0.7430878282, -0.6030117273, -0.0100518195, -0.1378203034, -0.855130434, -0.3619816005, 0.3859985471, 0.2638834119, -0.1994190067, 0.4841852188, 0.7675870657, -0.2703911364, -0.393319279, 0.3460700512, 0.5566372275, 0.033350151, 0.857837677, 0.5172227621, -0.5793303251, 0.8514694571, 0.033645913, -0.3541900516, -0.2539904118, -0.7596635818, -0.6166606545, -0.2738324404, -0.3705506027, -0.0472084843, 0.0801839978, 0.9743512273, 0.549225986, -0.9034854174, 0.1385890543, -0.0040642186, 0.0899368376, -0.2054968029, -0.2517814934, 0.4742621481, -0.8593156934, -0.8431231976, 0.2183330208, 0.6096500754, -0.0696586221, -0.4144553244, 0.050112769, -0.0344191715, 0.0829650238, 0.567759037, 0.1182351485, -0.6264841557, -0.5301158428, 0.1641836464, -0.4951918125, -0.0753313825, 0.8991284966, -0.6077565551, 0.4147630632, 0.4913937449, 1.1969673634, 0.3559091985, -0.0104015088, 0.4698929787, -1.0240597725, 0.4093310237, 0.1918186992, 0.4040282369, 0.3630733788, -0.5052973628, 0.2270070463, 0.2999842763, -0.4368261397, -0.99632442, -0.0150975259, -1.2683787346, 0.0102837337, 1.219111681, -0.0076710568, -0.6427430511, 0.019673584, -0.4325453043, 0.237951085, -0.4516686797, 0.725767076, 0.5958695412, 0.3856984079, -0.1950673014, -0.4156752527, 0.3933678865, 0.4044802785, -0.5340402126, 0.8493523002, 0.4649218917, 0.1555798352, 0.2563173175, 0.8381813169, -0.1501084864, 0.3078944385, 0.0074811117, 0.0573095381, 0.1284502298, -0.5273880959, -0.4322079718, 0.1817460209, 0.0728351325, -0.0536636263 ]
http://arxiv.org/abs/2407.02320v1
http://arxiv.org/pdf/2407.02320v1
Exploring the Role of Transliteration in In-Context Learning for Low-resource Languages Written in Non-Latin Scripts
2024-07-02T14:51:20
2024-07-02T14:51:20
Chunlan Ma, Yihong Liu, Haotian Ye, Hinrich Schütze
cs.CL
cs.CL, cs.AI
Decoder-only large language models (LLMs) excel in high-resource languages across various tasks through few-shot or even zero-shot in-context learning (ICL). However, their performance often does not transfer well to low-resource languages, especially those written in non-Latin scripts. Inspired by recent work that leverages transliteration in encoder-only models, we investigate whether transliteration is also effective in improving LLMs' performance for low-resource languages written in non-Latin scripts. To this end, we propose three prompt templates, where the target-language text is represented in (1) its original script, (2) Latin script, or (3) both. We apply these methods to several representative LLMs of different sizes on various tasks including text classification and sequential labeling. Our findings show that the effectiveness of transliteration varies by task type and model size. For instance, all models benefit from transliterations for sequential labeling (with increases of up to 25%).
[ 0.2762855887, -0.1984396428, 0.5886780024, 0.0326714255, -0.3157382309, 0.2385885119, -0.5644662976, -0.260317862, 0.0766984522, 0.2554094791, -0.3991058767, -0.5556884408, -0.5465000272, 0.7303721905, -0.1270924211, 0.7422485352, -0.155594632, 0.3917318285, -0.13614209, -0.1096689403, -0.4470531344, -0.2756506503, -0.6439967752, -0.2759097815, 0.9066922665, 0.7824679017, 0.233625859, 0.8338013887, 0.4700211585, 0.2123988718, 0.0755710676, 0.0762280151, -0.5107537508, 0.4321849644, -0.1947595477, -0.5821514726, 0.2123990059, -0.0872327685, 0.9421918988, 0.7236008644, 0.0520939194, 0.3675904274, 0.1803544611, 0.3991114497, -0.7061439753, 0.3180677295, -0.6824592352, 0.0021469099, -0.3768925071, -0.4595800042, -0.8400290608, -0.2387624979, 0.0376345366, -0.5663205385, 0.0653016716, 0.3851082325, 0.2531479597, 0.2968564332, -0.2093761116, -0.364040345, -0.7058585286, 1.1554809809, -0.4356649816, 0.2668177187, 0.2751325667, 0.3225506842, 0.0423236601, -0.3843050301, -0.2049782723, -0.0845731869, -0.2446121871, -0.1744942218, -0.2062422335, 0.0785975382, 0.614767611, 0.1701155752, -0.422537148, 0.5315508842, -0.2581975162, -0.3268185258, -0.0078726253, 0.128411293, 0.4653054774, -0.3461206257, -0.2353166342, -0.0880124047, -1.2066375017, 0.1133371666, 0.1099227741, 0.9514489174, -0.232244581, 0.4177216589, 0.1673142463, 0.8420855403, 0.2017826736, -0.7170370817, 0.0519070067, -0.2808625996, -0.2335987687, 0.3144646287, 0.5464632511, -0.0905940011, -0.069679901, -0.4366151989, -0.3097317517, -0.3714923859, -0.0356498547, -0.9286563993, 0.265111953, -0.2062258273, -0.599121511, 0.1426766068, -0.2350304723, -0.5071366429, -0.5447080135, -0.1721656322, 0.4281032085, -0.555585444, 0.0961616486, -0.1544252485, -0.1793966293, 0.4415897727, 0.5862717628, -0.9092162251, 0.0589358658, 0.3546536565, 1.003298521, -0.0690519512, -0.1447613835, -1.0784556866, 0.0384500846, -0.334792614, 0.7268503904, -0.7675964236, -0.3619501591, 0.3603973985, -0.0098120226, -0.2871345282, -0.5863122344, 0.5240074396, -0.4792161286, -0.0424365401, -0.7203907967, -0.4070100188, -0.1100137159, 0.0262288637, -0.6393011808, 0.843665123, 0.3751129508, -0.7340657115, 0.3295198977, -0.5246174932, -0.7269691825, 0.3087418079, -0.1780041307, 0.1377877593, 0.3415764868, -0.0978484079, 0.3356423676, -0.7189412713, -0.1684695035, 0.2300815284, -0.8747954369, 0.1480451524, -0.4481491745, 0.6337441206, 0.2820339799, -0.3623494208, -0.0070331655, -0.6333729029, -0.0619989559, -0.0328691565, -0.6449477077, -0.2756038606, -0.2394083589, 0.1760040969, 0.3130893409, 0.180466935, -0.6599062085, 0.2769034207, -0.3342721164, 0.3337707222, 0.666682899, -0.308447361, 0.9084761739, -0.3722137809, 0.8491638303, 0.0629099756, -0.4251097739, -0.6092095375, -0.119507201, -0.7957856655, -0.6742658019, 0.4138300717, 0.301309824, -1.2694075108, -0.1112491041, -0.3402465582, -0.3469034433, -0.6402615905, 0.232404694, 0.6013227105, 0.8524381518, 0.3562976718, -0.1203371361, -0.5531840324, -0.7544428706, -0.3512033522, -0.2999511659, -0.0141898748, 0.303126514, 0.3404490948, 0.0380657725, 0.6308630705, 0.0872364491, -0.2380202711, -0.8041500449, 0.1177531704, 0.2465658039, 0.270126462, 0.4798467159, -0.3211020529, -1.0434826612, -0.1840075105, -0.4653888047, -0.2344030142, -0.1623030454, 0.1078244299, 0.3420743644, 0.454203397, -0.4336014092, 0.057321921, 0.3509503603, 0.1533403248, 0.4451776147, -0.3058584332, 0.1117238775, -0.9823957086, 0.2241683006, 0.1282638013, -0.2493455559, -0.7513617277, -0.1078798845, 0.261285454, -0.1994950324, -0.8259211183, 0.9189564586, -0.6147614121, -0.189470768, -0.2766387463, 0.0041010296, -0.156076625, 0.3183394074, 0.249245435, 1.1068686247, 0.771346271, -0.4397434294, -0.067704536, 0.0415350273, -0.7295120955, 0.5064406395, -0.3062010407, 0.0395880938, -0.3867752254, 0.5416545272, -0.899528861, -0.2434801012, 0.3335086107, -0.1388785094, 0.6102753282, -0.4905050397, -1.0092273951, 0.1307409555, -0.2145395577, 0.6568647027, 0.732473731, -0.7362519503, 0.4081169367, -0.1262692511, 0.0914638191, -0.5859542489, -0.600628078, -0.0686405152, -0.3927980363, -0.2676796615, 0.3355220556, -0.0846994594, -0.3433743417, -0.431024909, 0.0122250579, 0.0959907547, -0.0605890192, 0.2152800262, 0.1535420418, -0.2901303172, 0.1922868639, -0.1517903358, -0.0537405089, -0.413767159, -0.5405292511, 0.4755308926, 0.1796414256, -0.2896068394, -0.6943195462, 0.4182096422, 0.5956196785, -0.1196382418, 1.0792213678, 0.5127482414, -0.241656214, -0.2709034085, -0.3333587646, -0.1390323192, -0.4686219394, 0.0684775412, -0.2582940757, -0.8788204193, 0.5367125273, -0.112275742, 0.0862566978, 0.3027211726, 0.5402520299, -0.2702365816, 0.5894626379, 0.8172860146, -0.0517282225, 0.8406999707, -0.1660933048, 0.2707710266, -0.9084331393, -0.0276342444, -0.7146113515, -0.4602208138, -0.6462110281, -0.644500792, 0.3690291047, -0.1707764268, -0.2299920768, 0.4624923766, -0.0477596447, 0.653991878, 0.6039279699, -0.2159352452, 0.1562620848, 0.4025910497, -0.2121539116, -0.2999963164, -0.9313978553, -0.4470140338, 0.9335276484, 0.1092753261, 0.9173189998, 0.0395687446, 0.9527255893, 0.0961291343, 0.2890545726, -0.9704092741, 0.4027106166, -0.2724043727, -0.4376195669, -0.1246448085, -0.472192049, -0.9472975731, 0.3499707878, 0.0699736327, -0.6477233768, 0.1248662248, -0.0499634594, -0.5384966135, 0.3129288852, -0.4670378566, 0.6924299598, 0.0623698942, -0.3314966261, 0.0182509478, -0.5789883733, -0.0419452563, -0.1287071407, 0.1870748848, 0.1361873001, -0.0892389491, 0.6336043477, -0.1166535243, 0.8940361142, -0.105657354, -0.0758439824, 0.4504247606, 0.2984521389, 0.6702874303, -0.2306730896, -0.304258436, 0.1128238663, -0.2817544341, -0.3395017385, -0.4621602595, 0.5703005195, -0.614631474, -0.6106778979, -0.5953977704, -0.6427330971, -0.0980391875, 0.1728452891, 0.489844054, 0.700543344, 0.0838521346, 0.2790030539, 0.7535817623, -0.471375674, 0.5617662072, 0.88076967, 0.2785605192, -0.0639622584, 0.8858773112, 0.1843723506, 0.2987793982, 0.7493413687, -0.1113882363, -0.2630335391, -0.4642422795, -0.6650536656, 0.5024037361, -0.9982257485, -0.5249439478, -0.3998689651, -0.0874838829, -0.2482657135, -0.4650205374, -0.1710170954, -0.3057541251, -0.5402231812, -0.0430054329, 0.1020409688, 0.4444870949, -0.0832394585, 0.50731498, -0.6953752637, -0.0869779512, -0.1173431054, 0.0939893872, 0.1451928616, -0.8858148456, -0.5482807159, -0.1761650294, -0.1337003112, -0.7175463438, 0.4444276094, 0.136126861, 0.3943219185, 0.2834650278, 0.0301196687, 0.6938241124, -0.8741052151, 0.6850143075, 0.302411586, -0.7114726901, 0.2314023823, -0.3109960854, 0.5607799888, 0.5280038714, 0.3201963305, -0.8749099374, -0.2573422194, -0.1559654623, -0.5628336072, 1.2385630608, 0.0336176232, 0.2707112432, -0.3029986024, 0.3438906372, 0.4144117236, 0.1094530597, -0.7099049091, -0.2472117692, 0.238052085, -0.331844449, -0.1451465487, -0.3345746994, 0.1084797978, 0.0541832037, 0.4928126335, -0.2910631895, 0.213210687, -0.006550862, -0.5792276859, -0.4895722568, 0.4949442744, 0.4269273579, 0.4115153253, -0.0035118768, 0.2252338529, 0.0625220165, -0.0580018535, 0.3501403034, -0.229207024, -0.3987652957, 0.090849258, 0.6162897944, 0.7153952718, 0.6889510155, -0.7506716251, 0.3952247202, -0.1581975073, 0.3625527024, -0.0609900616, -0.0193716846, -0.1610717773, 0.1789457947, 0.5044407248, 0.0373937674, -0.0237464607, -0.6674515605, -0.2223406583, 0.4424284697, -0.3287920952, -0.479723841, 0.3657286763, 0.2057912946, -0.2341246009, 0.7491170764, -0.226023525, -0.2753998637, 0.5222759247, 0.9868691564, 0.8446602225, -0.1692370176, 0.4361390471, 0.7295852304, 0.2675189376, -0.262901783, 0.0565577336, -0.327273488, -0.4140180349, -0.4470873177, -0.8735601306, -0.4438616931, -0.0358467177, -0.4997163713, 0.3704890013, -0.4257051647, 0.0148995221, -0.2015081942, -0.0656656399, -0.9196767807, -0.1227778867, 0.2647939324, 0.9557629824, -0.705793798, 0.8424057961, 0.6226712465, -0.3383048475, -0.5672481656, 0.1925386041, 0.0289132688, -0.7179184556, 1.2089357376, 0.4818193913, -0.2930009961, 0.0683339164, -0.3114874661, -1.1695691347, 1.1077237129, 0.8172059059, -0.42162624, -0.1770032346, 0.1536871642, 0.5219362378, -0.5471292734, 0.3533602059, 0.1870760918, 0.3350873888, 0.2411878556, -0.9757571816, 0.0141686117, 0.2032658607, 0.2247004956, -0.0443902165, -0.6471992135, 0.7976709008, -0.3497699499, -0.7240106463, 0.2477058023, 0.6729998589, 0.0987977684, -0.1142715216, 0.2030875087, 0.0840757787, 0.67996943, 0.0391437635, 1.1782482862, -0.3680937886, -0.0141178891, 0.9732244611, -0.3094596565, 0.6638146639, 0.5349043608, 0.1065476313, 0.6315959096, 0.7338759899, 0.2778608203, 0.6646216512, 0.1201217696, -0.2624885142, -0.3259820938, -0.533226788, 0.0222228188, 0.4085713029, 0.0771005526, -0.5468195081, -0.4830957651, 0.0736782029, 0.0668810904, -0.1104297042, -0.4613999426, 0.6421306729, 0.1777696908, -0.7337695956, 0.67093575, 0.3396333754, 0.6608445644, -0.6265386939, 0.0645266548, -0.2926259041, -0.0298594479, 0.0332198068, -0.3014623523, -0.0516294837, 0.3794846237, -0.4521120787, -0.5797430277, 0.5245268941, -0.6265181899, -0.422899425, 0.2223340273, 0.4755078852, 0.2757477462, 0.259889096, -0.3797156811, 0.0961004719, -0.1381145716, 0.1618306935, 0.7420274615, 0.3309653103, 0.0521078855, 0.5383182764, 0.3701389134, 0.0872475281, -0.0048299534, 0.0522331297, 0.56892699, -0.4973489344, -0.2779854834, -0.9060364366, 0.3773988783, 0.3666805327, 0.0361992121, 1.0157781839, 0.5531901121, 0.777485013, -0.2737084627, 0.7553389668, 0.0723294839, 0.2915768027, -0.5400588512, 0.4004606307, -0.6530949473, 0.1278471202, -0.028541686, -0.9759464264, -0.2817694545, 0.5799910426, -0.2497074455, -0.0867230818, 0.8307481408, 0.5446856022, 0.0205674674, -0.325378418, 0.5293632746, -0.0818185657, 0.1037453264, 0.59741503, 0.7032968998, -0.31341061, 0.4878848791, -0.0743598938, -0.0901057869, -0.3408202827, -0.7189319134, -1.0103774071, -0.6205632091, -0.2335544825, -0.2426970899, -0.1818189025, 1.2511804104, 0.4555492997, -0.5494881868, -0.4029464424, 0.4770097136, 0.2664458454, -0.0381830484, -0.1164915711, 0.2979029417, -0.7228528857, -1.0155379772, 0.7421026826, 0.5304954052, -0.0183819365, -0.1885934472, -0.0714504868, 0.1546533108, 0.155873239, 0.5733790398, 0.3704437613, -0.7562461495, -0.147300154, 0.1787211746, -0.4391747713, 0.2983501256, 1.0862336159, -0.7398463488, 0.4915750623, 0.4697867334, 0.4766887128, 0.0702378005, -0.1340038776, 0.4455893338, -0.9267000556, 0.2331180722, 0.1333379447, 0.5312842131, 0.728507936, -0.317861855, 0.1257772595, 0.0136637092, -0.2258297652, -0.8638294935, 0.3190048039, -0.4979857802, 0.0079323826, 1.560161829, -0.2573537827, -0.3941873014, 0.1229347065, -0.076820083, 0.1892218441, -0.5503884554, 0.5506212115, 0.7570869327, 0.0186832398, -0.0132687679, -0.2249699086, 0.6642808914, 0.1181911752, -0.3797214329, 0.2786513865, 0.5350231528, 0.4765561521, 0.0654181316, 0.8346794248, -0.0910115242, 0.2597579658, -0.1967016757, -0.2726475, 0.0908717811, -0.5742737055, -0.5985273123, -0.1654290259, 0.2298314124, 0.1625867933 ]
http://arxiv.org/abs/2407.02317v1
http://arxiv.org/pdf/2407.02317v1
Soft Language Prompts for Language Transfer
2024-07-02T14:50:03
2024-07-02T14:50:03
Ivan Vykopal, Simon Ostermann, Marián Šimko
cs.CL
cs.CL
Cross-lingual knowledge transfer, especially between high- and low-resource languages, remains a challenge in natural language processing (NLP). This study offers insights for improving cross-lingual NLP applications through the combination of parameter-efficient fine-tuning methods. We systematically explore strategies for enhancing this cross-lingual transfer through the incorporation of language-specific and task-specific adapters and soft prompts. We present a detailed investigation of various combinations of these methods, exploring their efficiency across six languages, focusing on three low-resource languages, including the to our knowledge first use of soft language prompts. Our findings demonstrate that in contrast to claims of previous work, a combination of language and task adapters does not always work best; instead, combining a soft language prompt with a task adapter outperforms other configurations in many cases.
[ -0.4628509283, -0.571660459, 0.3761490583, 0.4321980774, -0.0891417116, 0.0778660923, -0.7030120492, -0.3947251439, -0.0685499832, 0.2921988964, -0.562533915, -0.1796786487, -0.3765607774, 0.4058837891, 0.1395723969, 1.13446486, -0.0652570277, -0.2797544599, 0.2391069382, -0.4154934585, -0.9259342551, -0.1336438954, -0.8152327538, -0.2266913503, 0.6884786487, 0.7022356391, 0.8183807135, 0.0646057948, 0.2748422921, 0.2762538195, -0.0688074678, 0.4007543921, -0.3860358894, 0.0637853891, -0.8630077839, -0.5013988614, -0.05525003, -0.3810085952, 0.5452109575, 1.0743485689, 0.2214008123, 0.0558125712, 0.3826789558, 0.7353134751, -0.6847781539, 0.0868876278, -0.5980321169, 0.1612671912, -0.1412400901, -0.4214583039, -0.2623668015, -0.2861813605, 0.2371828258, -0.7966524959, 0.071827732, 0.0395641662, 0.5415649414, 0.2085706145, -0.3325743079, -0.4087457955, -0.7034609914, 1.0354521275, -0.4705345929, 0.5215685964, 0.1901340187, 0.2495902926, -0.1081830338, -0.5560773015, -0.3881371319, -0.0527928062, -0.3181115687, -0.3064768612, -0.2698286772, 0.0462174602, 0.1525722742, 0.0278108045, -0.4804710746, 0.2729170918, -0.3212629557, -0.2994616926, 0.377353996, 0.0742054507, 0.6706523895, -0.0939506441, -0.1416635513, -0.0226243157, -0.6511942744, 0.3321184218, 0.1013051644, 0.9645431042, -0.082748428, 0.3805561364, -0.3349831998, 1.0761140585, 0.313898176, -0.1993649304, -0.0576081052, -0.7149165869, 0.111769028, 0.1191107854, 0.5584623218, 0.4714637995, 0.4191213846, -0.5101211071, -0.2080744952, -0.3106645942, -0.0655165985, -0.6326028109, 0.1165203601, -0.1512020379, -0.3729644716, 0.1202067584, -0.4875710905, -0.8418356776, -0.4709932804, -0.5003420711, 0.3330720961, -0.458460927, -0.248024106, 0.2444969714, -0.3194007277, 0.287997961, 0.4362674057, -1.3734681606, 0.4026796222, 0.6863316298, 0.8488230705, -0.3540478349, -0.3342216909, -0.9027991295, 0.129805848, -0.210071668, 0.949926734, -0.6185404062, -0.1926437765, 0.3296718597, 0.2204361409, -0.3591133654, -0.5676918626, 0.4784442186, -0.1906784624, 0.4211533368, -0.6737293601, -0.0656660646, -0.2126485109, 0.1121429503, -0.5967962742, 0.9513428211, 0.4130411744, -0.4487118423, 0.4416653216, -0.7117019296, -0.9376627207, 0.1761091202, 0.0823933929, 0.4545310438, 0.2034234107, 0.2975698113, 0.4710075557, -0.3340751231, 0.0311826877, 0.1905196011, -0.3963325024, -0.0298294816, -0.3167131543, 0.8272314072, 0.1879526228, -0.4624198675, 0.0032841046, -0.6685876846, 0.0468512177, -0.1274323612, -0.5457947254, -0.6523521543, -0.5486174822, 0.3132396638, 0.3071579635, 0.3797835112, -0.1409425288, 0.2858205438, -0.4606664777, 0.2513939738, 0.5005574226, -0.3181793988, 0.8157171607, -0.3149596155, 0.6272588968, -0.0586150214, -0.0891751945, -0.0987075567, -0.4841695428, -0.5795016885, 0.1457802504, 0.3076433539, 0.8545832634, -1.2875871658, 0.081883505, -0.0683028847, -0.3039228618, -0.6005322933, 0.8071244359, 0.4148916602, 0.4733836055, 0.40637815, -0.1415919363, -0.2766807079, -0.8174271584, -0.740634501, -0.0651562437, -0.0256515201, 0.2835413218, -0.0676927492, 0.0491854958, 0.7725458145, -0.1075749248, -0.2340551168, -0.6636151671, 0.2786383033, 0.4398587942, 0.4907638729, 1.027564764, -0.7348482609, -0.8035453558, 0.2044729441, -0.3180657029, -0.4044148028, -0.296969533, -0.0995050222, 0.3949774206, 0.501472652, -0.3724301457, -0.1259516478, 0.6939998865, -0.6713291407, 0.3676067293, -0.351424545, 0.2788836956, -0.7203785777, 0.047895357, 0.0816382617, -0.1983908117, -0.9178557992, -0.0693257898, -0.1854094863, 0.1050472036, -0.8224207163, 0.897510767, -0.553249836, 0.227819249, -0.3134239912, 0.190286085, 0.080747053, 0.6371451616, -0.0200906042, 0.9305564761, 0.6201550961, -0.6633601189, 0.2752800286, 0.1300518662, -0.1084781438, 0.9304696321, -0.5916523933, 0.2599723339, -0.0413265191, -0.2469640225, -0.8994263411, 0.2616961598, 0.2644336522, 0.0993604511, 0.4396356344, -0.3077790439, -0.432748735, 0.133763805, -0.3993349969, 0.5983068943, 0.3836438656, -0.545060575, 0.7215920091, 0.0806901976, -0.5625866652, -0.3561964631, -0.7514168024, 0.1870101541, -0.2224303186, -0.6942391396, 0.3633657098, -0.097230345, -0.266584456, -0.0098968958, 0.1290344, -0.0238296296, -0.0084933368, -0.1380071044, 0.0722540021, -0.5316296816, -0.1389641762, 0.282245487, -0.2595534027, -0.2486418635, -0.3447220325, 0.3661685288, -0.335216701, -0.1285682023, -0.3004716039, 0.5847718716, 0.4216633141, 0.0704551786, 0.7652866244, 0.9689003229, -0.2341944277, -0.2267047614, -0.5039835572, -0.042031955, -0.5312709808, 0.1454628855, -0.5000152588, -0.9683529139, 0.4992203712, -0.3883838058, 0.2209752798, 0.1970635951, 0.5184941888, 0.3289286494, 1.0456151962, 0.9094620943, -0.0733390152, 0.7663240433, 0.2042391002, 0.2496632934, -0.6448692083, 0.1223751158, -0.7042631507, -0.4946289957, -0.7117778063, -0.4510480464, 0.1269093901, 0.1583227962, 0.1041628197, 0.5421203375, -0.2776388824, 0.437894702, 0.8245082498, -0.176208511, 0.3218891919, -0.0032931112, -0.1218721792, -0.1328864545, -1.1573038101, -0.2699441612, 0.5373337269, 0.064056091, 0.6742758751, 0.1886905283, 0.3864141703, 0.0258158166, -0.1079035401, -0.847612679, 0.5890072584, -0.7233781219, -0.3961437941, -0.3410559893, -0.2407323867, -1.1786015034, 0.1847619116, -0.2803944647, -0.8377197981, 0.4690827131, 0.0383174792, -0.5708589554, 0.0988850072, -0.990239799, 0.9211888313, -0.256177187, -0.6031407118, -0.1538547426, -0.4319102764, -0.0548713952, -0.0247960985, 0.3613383174, -0.0918660015, -0.261842519, 0.7679594159, -0.1288218349, 0.8410174847, -0.3057051897, -0.4032993913, 0.1532453746, 0.2239866257, 0.5174580216, -0.0402427614, -0.1737785339, 0.0053776093, -0.0096520483, -0.4001000226, -0.8666141629, 0.713906467, -0.4763583541, -0.5003127456, -0.0588626862, -0.9234269857, -0.5213809609, 0.4221543372, -0.0332891233, 0.4817602634, 0.0962412208, 0.032782834, 0.6219927669, -0.5205748081, 0.5137021542, 0.7973966599, 0.0260568429, -0.0526873991, 1.0224024057, 0.1505465358, 0.3365849257, 0.4025846422, 0.389779985, -0.1424852461, -0.5539188981, -0.7694710493, 0.1966825873, -0.7104910612, -0.2033734024, -0.3439829051, 0.1074995399, -0.5635026693, -0.6073479652, -0.2104264498, -0.6097154021, -0.268294096, 0.1957308054, 0.4816943109, 0.4155329168, -0.1919032782, 0.2581658661, -1.0944442749, 0.6812484264, 0.4167269766, 0.4432527423, -0.4050238132, -0.4491201043, -0.2733006775, -0.0439579301, 0.3116393387, -0.7079336047, 0.1815029532, 0.4723565578, 0.6917552352, 0.1650751382, 0.2531546354, 0.5994179845, -0.4826456904, 0.8695085049, 0.2453386933, -0.9022119641, 0.5842692256, -0.3797735572, 0.6021981835, 0.9365348816, 0.377863884, -0.7675063014, -0.3173840642, -0.1632741243, -1.0403254032, 0.9125241637, -0.1211241707, 0.3295629025, 0.2903117537, 0.2315880805, 0.4099831879, -0.0944812, -0.3512058258, -0.2186026126, 0.0908717811, -0.2990288436, 0.0700208023, 0.0573107824, -0.1688949466, -0.3460997343, 0.4100761712, -0.6425741911, -0.1197801456, 0.0111326957, -0.3640521467, -0.3864465654, 0.5336761475, 0.4270004332, 0.6681416631, 0.1753629148, 0.2510742247, 0.6443458796, -0.4412326813, -0.0327125527, 0.2047200054, -0.3108181953, 0.193220064, 0.4024139345, 0.9122184515, 0.7156837583, -0.6695787907, 0.1885879487, -0.2127943486, 0.0024754673, 0.4382733107, 0.411550492, -0.0990573391, 0.3279705048, 0.2270831317, 0.0854629502, 0.2530872226, -0.7413452268, -0.0906456038, 0.4438745081, -0.3923588991, -0.4055534005, 0.3694541752, 0.4078660905, -0.4657088518, 0.2487391233, -0.1414355338, -0.5496212244, 0.121991396, 0.6284954548, 0.7391952872, -0.1950510293, 0.2497077286, 0.1054472104, 0.2672480941, 0.028744461, 0.4484215379, -0.2890833318, -0.556237042, -0.6608832479, -0.5180891752, -0.4622836411, -0.183950156, -0.4676309526, 0.4717714787, -0.2254538387, 0.0465486683, 0.0164042767, 0.236710012, -1.034330368, -0.1482924819, 0.251429528, 1.0786888599, -0.8818363547, 0.6114243269, 1.0443254709, -0.0963131636, -0.8110491633, -0.1652887464, -0.1696702391, -0.942974627, 0.5836826563, -0.1415126175, -0.306945771, -0.0355564728, -0.1552897245, -0.560752511, 0.624992609, 0.5510389805, -0.5735967755, -0.0525984056, 0.4844668806, 0.4418591261, 0.0368007123, 0.1313157678, 0.8754083514, 0.9082824588, -0.0996631309, -1.3347287178, 0.6027498245, -0.2306816727, -0.0059598847, 0.1742135137, -0.471211642, 0.4936161041, -0.2133892328, -0.1520731598, -0.2035998553, 0.6662797928, 0.0595732629, 0.3564746976, 0.9377835393, -0.0224803779, 0.6715724468, 0.0545840971, 0.7124558091, -0.5533195138, -0.1642596275, 0.7638465762, -0.2017709464, 0.5812479854, 0.8711922765, -0.0753679276, 0.6142076254, 0.0972560644, 0.2929241657, 0.5547756553, -0.0743212104, -0.2452806532, -0.1348163188, -0.5988539457, -0.2796979547, 0.2162751704, 0.5712891221, 0.0013321514, -0.429774791, 0.2925226688, -0.0616405867, -0.0550120324, -0.3953779936, 0.976954937, 0.1254596412, -1.0720757246, 0.7124431729, 0.0042056399, 1.1955909729, -0.6515135765, -0.1524189413, -0.2430729717, 0.06117687, -0.2803385258, -0.9901627302, 0.4607812762, 0.0325168595, 0.0082737608, -0.8381499648, 1.1929869652, -0.6178231239, -0.2638753057, 0.3436088562, 0.7727555633, -0.0401603468, -0.0561915562, -0.7205450535, -0.2309579402, -0.1155546829, -0.2320913225, 0.5783783197, 0.9454051256, -0.0323684402, 0.3002399504, 0.7841678262, 0.2902140617, 0.0717536435, 0.3782421052, 0.9023207426, -0.7019128799, -0.4992451668, -0.5591009259, 0.4534287453, 0.2617408335, -0.4696737826, 0.7376656532, 0.1782895476, 0.6959911585, 0.0254212487, 0.7479568124, -0.2077935934, 0.3243623376, -0.6717827916, 0.4481998682, -0.6015334725, 0.1656054258, -0.2875454426, -0.7531872988, -0.2078528851, 0.461407572, -0.2639402151, -0.1091148183, 0.6318382025, 0.6646674275, -0.1499016434, 0.036107894, 0.2040620595, -0.0583241396, 0.1471122205, 0.8173813224, 0.6424480677, -0.1865666807, 0.7266017795, -0.5685589314, -0.1815651506, -0.4036424458, -1.0462458134, -0.8525791168, -0.6166449785, -0.345220238, -0.3790294528, 0.2825128436, 0.9470521808, 0.6657205224, -0.9784562588, -0.2573126554, 0.1163382977, 0.4008966386, -0.4863148034, -0.2753766477, 0.178409934, -0.8241863847, -0.790797472, 0.609529078, 0.2062043399, -0.1685921997, -0.299606353, -0.0466215238, -0.1053755358, -0.0700340718, 0.7937133312, 0.5396333933, -0.3284050524, -0.3089539707, 0.1878466457, -0.0920985192, -0.1720540375, 1.1864850521, -0.9234927893, 0.0370226167, 0.8911525607, 0.6857703328, -0.0498752594, -0.2163482159, 0.9711508751, -0.7784083486, 0.2924821079, 0.1228262782, 0.3181772232, 0.4731010795, -0.3911203742, 0.328846097, 0.080293037, -0.283195734, -0.7607216835, -0.0012667192, -1.0918953419, -0.47657305, 1.3770279884, 0.0392787643, -0.3081888556, -0.6316481829, -0.5156759024, 0.1981633902, -0.3676708043, 0.4947403967, 0.6414549351, -0.2974404693, -0.0938645452, -0.5668277144, 0.644226253, 0.6953881383, -0.7740105987, 0.0182964113, 0.1887894273, 0.3290199041, 0.3939668834, 0.5722528696, 0.3328103423, 0.3605554998, -0.2568191886, -0.469527185, 0.0628826097, -0.3119869828, -0.4775238037, 0.1047798693, 0.0243932661, 0.2095523179 ]
http://arxiv.org/abs/2407.02310v1
http://arxiv.org/pdf/2407.02310v1
Evaluating the Ability of LLMs to Solve Semantics-Aware Process Mining Tasks
2024-07-02T14:44:49
2024-07-02T14:44:49
Adrian Rebmann, Fabian David Schmidt, Goran Glavaš, Han van der Aa
cs.CL
cs.CL
The process mining community has recently recognized the potential of large language models (LLMs) for tackling various process mining tasks. Initial studies report the capability of LLMs to support process analysis and even, to some extent, that they are able to reason about how processes work. This latter property suggests that LLMs could also be used to tackle process mining tasks that benefit from an understanding of process behavior. Examples of such tasks include (semantic) anomaly detection and next activity prediction, which both involve considerations of the meaning of activities and their inter-relations. In this paper, we investigate the capabilities of LLMs to tackle such semantics-aware process mining tasks. Furthermore, whereas most works on the intersection of LLMs and process mining only focus on testing these models out of the box, we provide a more principled investigation of the utility of LLMs for process mining, including their ability to obtain process mining knowledge post-hoc by means of in-context learning and supervised fine-tuning. Concretely, we define three process mining tasks that benefit from an understanding of process semantics and provide extensive benchmarking datasets for each of them. Our evaluation experiments reveal that (1) LLMs fail to solve challenging process mining tasks out of the box and when provided only a handful of in-context examples, (2) but they yield strong performance when fine-tuned for these tasks, consistently surpassing smaller, encoder-based language models.
[ -0.2572419345, -0.6573785543, 1.1628158092, -0.0988998488, -0.213110134, -0.1794359535, -0.3057851195, -0.5639233589, -0.0654426515, 0.7675205469, -0.8617943525, -0.6755596399, -0.8234173656, 0.1636710167, -0.5459858775, 0.8476433754, -0.3408352435, -0.1048198417, -0.3224755228, 0.166150853, -0.4449374676, -0.666054666, -0.5611400604, -0.5308455825, 0.2017680556, 0.3546021879, 0.3429789841, 0.3822277784, 0.4221129715, 0.3123997152, -0.1592032015, 0.3007650077, -0.3018174767, 0.4619294107, -0.1856388748, -0.5650757551, -0.5134202838, 0.0654318556, 0.5305967927, 0.9261279106, -0.0055246712, 0.2973769307, 0.1315414011, 0.3117703199, -0.5032329559, 0.4319106042, -1.0878704786, 0.0279888771, -0.3575054109, -0.369633317, -0.1167870313, 0.1652145833, 0.0054420326, -0.4228857756, 0.2284521013, 0.0495584346, 0.5565595627, 0.3683196306, -0.0890426114, -0.5644901395, -0.6193355918, 0.9039021134, -0.7033991218, 0.2732419372, 0.6094384193, 0.081497699, -0.5496788025, -0.7843834758, -0.369376272, -0.1358141154, -0.1121705472, -0.1282650232, -0.0180025753, 0.0089191506, 0.5226563811, 0.4410630763, -0.1727301627, 0.2989056706, 0.0543429069, -0.1671279222, 0.2285319865, 0.5891206264, 0.1106789261, -0.1236684322, -0.2165281773, 0.2907910943, -0.5051353574, -0.0336463712, 0.297770381, 0.3655483127, 0.2491099089, 0.6768863201, -0.5122283697, 0.5435220599, -0.3630536497, -0.0419863425, 0.0285211038, -0.1191568822, -0.3916942477, -0.1067684144, 0.406303972, 0.106834583, 0.1458339095, -0.4226932824, -0.4282674491, 0.1974866837, 0.1464575529, -0.844592154, -0.0733894557, 0.2197328508, -0.3529574275, -0.0956337005, 0.029424144, -0.1899602115, -0.370811522, -0.4465427697, 0.4330512285, -0.3741693497, -0.2834296823, 0.1687492728, -0.313518852, 0.1573606879, 0.1905193478, -0.7910224199, 0.4859852493, 1.1843014956, 0.8316953778, -0.3531973064, -0.2435225695, -0.9482222199, -0.0120012509, -0.244483456, 0.8439125419, -0.7012922764, -0.3597559333, -0.1306687593, 0.2798898816, 0.0155763272, -0.7752510309, 0.7471168041, -0.5574399233, -0.3705309927, -0.2407738715, -0.8159149885, -0.0861812681, 0.44112432, -0.4529556632, 1.1423377991, -0.0783465654, -0.6615778208, 0.6150413752, -0.5462086201, -0.2528285086, 0.0648308769, -0.0966021568, -0.251370728, 0.4300127625, -0.1387564391, 0.9121654034, -0.2897119224, -0.1000019386, -0.4825031459, -0.2479837984, 0.5009797812, -0.2401003391, 0.3267392814, 0.3666605353, -0.198888883, 0.1749589741, -0.604036808, 0.0000668417, -0.0960028246, -0.1057056114, -0.4022581875, 0.296502471, -0.2168293893, 0.331235975, 0.1102218628, -0.5000506639, -0.1319421828, -0.4876493514, 0.4435536861, 0.7703094482, 0.0611569658, 0.2324136198, -0.1418702751, 0.4024126232, 0.0384600312, -0.0823298022, -0.3736339808, -0.4194941223, -0.6887592077, -0.2727989852, 0.0687085912, 0.473068893, -0.3653253615, 0.4547348619, -0.1617160738, -0.3927632868, -0.096962966, 0.5615774393, 0.0243481118, 0.4429442883, 0.09685947, -0.5505328178, -0.6252599955, -0.5951612592, -0.4205237031, -0.0458848402, -0.2488507479, 0.2744285464, 0.4089003801, -0.4854092002, 0.9270992875, -0.3113687634, -0.3027260303, -0.0847100616, 0.1651539207, 0.5093426704, 0.1441185921, -0.1802019179, -0.480034411, -0.1390595585, -0.035603635, -0.8305726051, -0.2619028091, 0.1713702083, 0.0189149622, 0.4561041594, 0.7189070582, -0.5068742037, 0.273840934, 0.4678841531, -0.3100297451, 0.4571835399, -0.3346257508, -0.2151707411, -0.6694105268, -0.0395242125, -0.0267364178, -0.4208849669, -0.6708567739, -0.0342771113, -0.1112991124, -0.0725656003, -0.4995654821, 0.3610439897, -0.6277371049, -0.3353758752, -0.7393485308, -0.0910654217, -0.3526639342, 0.2205080539, 0.2924016416, 0.2914870977, 0.7926197648, -0.8483012915, 0.2776722014, -0.2362443507, -0.6501073241, 0.4140306413, -0.2425384521, 0.0087342625, 0.0537761003, -0.0749495253, -0.8666731119, -0.1846136004, 0.1191344783, -0.243360281, 0.140471071, -0.2590964437, -0.8021931648, -0.1112341806, -0.2994649112, 0.0734972432, 0.5349091887, -0.5161876082, 0.6315959096, 0.4865683615, 0.0599700399, -0.2289617658, -0.6692888737, -0.0088247191, -0.6207151413, -0.5039470196, 0.2530153692, 0.0211573951, -0.2802875936, 0.1464856267, -0.5169466138, 0.0922926888, 0.5399906039, 0.5775660276, 0.0735774413, 0.2291858196, 0.08538872, -0.3972969949, -0.4541373253, 0.3526392281, -0.1608739644, 0.5696154833, -0.2129746974, -0.5408142805, -0.2487359196, 0.0592722744, 0.3827308118, -0.0141850859, 0.6855458617, 0.5759875178, -0.7148948312, -0.2229288071, -0.5494473577, -0.2732083499, -0.476182431, 0.309746325, -0.4203540087, -0.9558057785, 0.5910565853, -0.5919672251, 0.1018276215, 0.2973861098, 0.6763221622, -0.2016157955, 0.8920150399, 0.5688431263, -0.013726199, 0.278342098, -0.1756109893, 0.2647616267, -1.0175949335, -0.173322916, -0.4148316085, -0.1739145517, -0.7762756944, -0.4110150635, 0.4035334587, 0.1512952596, -0.1424116045, 0.1862326413, -0.0136480266, 0.3340791166, 0.4118189216, -0.0969020203, 0.5276287198, 0.0200050976, 0.1880693436, 0.0401854627, -0.6315281391, -0.8262887597, 0.9924647808, 0.3529511392, 0.7865044475, -0.1921333224, 0.6579589248, 0.1723282337, 0.2576138973, -0.8812304735, 0.6765092015, -0.0885568708, -0.3322933316, -0.4064813256, -0.1467279792, -1.1149437428, 0.0817406252, -0.3004848957, -0.8388606906, -0.158934623, -0.003125642, -0.1021666974, 0.4399661422, -0.5435527563, 0.8189492226, -0.2432388067, -0.3396592736, -0.3415782154, -0.3310737014, 0.2239556909, -0.1432016343, 0.5307728052, -0.5288364291, -0.1981102377, 0.545855701, -0.5254335403, 0.9635020494, -0.0627556965, -0.1034796908, 0.1391784847, 0.185139209, 0.6488331556, 0.1223117635, -0.188995257, 0.4160948098, 0.1455636621, -0.1400439888, -0.5409446359, 0.9697221518, -0.3183318973, -0.8244439363, -0.5238413215, -0.4501969218, -0.2947063148, 0.1632262319, -0.0531640947, 0.0732322931, -0.1317099333, 0.0381125249, 0.7831094861, 0.1089838594, 0.5563406348, 0.5262801051, -0.0068316148, 0.3893884718, 0.6918051839, 0.067154184, 0.0275234263, 0.2111897171, 0.1082260534, -0.0798250064, -0.7667921185, -0.1633567065, -0.0139650181, -0.7349371314, -0.2411236763, -0.7512587905, -0.0734030902, -0.0163900219, 0.0867936164, -0.2160571516, -0.1830420494, -0.2467977256, -0.094880648, 0.4302129745, 0.4809942245, 0.0652536005, -0.0340768248, -0.7482200861, 0.2877189815, 0.3009288907, 0.7682085037, -0.0686834157, -0.2126504779, -0.206852451, -0.3116883934, -0.098562412, -0.7947109938, 0.1267385483, 0.0259179976, 0.8715329766, 0.255433023, -0.1115654707, 0.4561047554, -0.4596377611, 0.6812489033, -0.3671905398, -0.8907694817, 0.6625745893, -0.0466031954, 0.0298165344, 0.2500659227, 0.3815966845, -0.5455231071, -0.5176618099, -0.7208442092, -1.0778100491, 0.942396462, 0.2469786108, 0.0277573448, -0.1731019765, 0.5406021476, 0.2845101357, 0.0979306847, -0.4191561043, -0.1149145886, 0.2450768501, -0.0094855856, -0.078981407, -0.3302040994, -0.0382285789, 0.0549869649, 0.8470523953, 0.0169304106, -0.0189156029, 0.023164032, -0.4378744364, -0.0165921934, 0.3178227544, -0.0195873417, 0.5796072483, -0.1075514257, 0.324392885, 0.7389347553, -0.1061884463, -0.1752435863, 0.0695372149, 0.1351814717, -0.1481325924, 0.3720406294, 0.7610894442, 0.1198814139, -1.0804482698, 0.1790447682, 0.0654702038, -0.0574235469, -0.4640728831, 0.4076741338, 0.194792226, 0.3928466439, 0.1741753668, -0.1419371516, 0.4927481711, -0.9085296392, 0.0471097939, 0.8984213471, -0.3032153845, -0.1489694417, 0.3631611764, -0.1281877905, -0.3232057393, 0.497333914, -0.201568976, -0.3839658797, 0.4617596865, 0.3905052245, 0.7819517255, 0.0447187535, -0.408929348, 0.027669156, 0.3643717468, -0.1320315301, 0.1916750968, -0.2731157541, -0.7618507147, -0.5195972919, -0.7548413873, -0.5191901326, 0.1884433478, -0.3932017386, 0.423210144, -0.2100939304, -0.1386736631, -0.1577474624, 0.085078232, -0.8240058422, 0.1082090512, 0.3105068803, 0.8074879646, -0.8733687997, 0.7410671711, 0.8399578333, 0.0676342696, -0.3778293133, -0.0999753028, -0.1196129024, -0.7013733387, 0.5566604733, 0.3282028437, -0.1920750886, -0.3122322261, -0.0807092637, -0.7998026609, 1.0589102507, 0.2587105632, -0.3440994918, 0.5317274332, 0.2517753541, 0.5923441648, -0.3097280264, 0.1844094992, 1.0251387358, 0.4145495296, 0.0226092767, -0.7941581607, 0.2424708903, -0.1478369981, 0.1221468449, 0.3013962507, -0.146646902, 0.5227922201, 0.1132883281, -0.2952141762, -0.1381589621, 0.7486410737, 0.4879543185, 0.5077061057, 0.8218715787, 0.5971058607, 0.7393745184, -0.1114358306, 1.1034743786, -0.2913293839, 0.0333100185, 0.9362319112, -0.4063895643, 0.7130393982, 0.4263271689, -0.0002553658, 0.5070747733, 0.7527436614, 0.3931398392, 0.3424680233, 0.352137506, -0.3526869118, -0.565705955, -0.0690657869, 0.0008321128, 0.2148467153, 0.6887088418, -0.1983276755, -0.3024868965, -0.2324859053, -0.1091359705, 0.0566612184, -0.6032887697, 0.8071897626, 0.1915941238, -0.6694083214, 0.0676119402, 0.2919046879, 0.7694032192, -0.669757545, -0.0181834027, 0.0687648207, 0.3034336567, -0.3608057499, -0.8986873031, 0.7048453689, 0.2220476717, -0.1993921101, -0.4173033237, 1.0380862951, -0.0819591209, -0.488286227, 0.329744935, 0.46198681, 0.4013238847, -0.2878870666, -0.3679406643, 0.0878095403, -0.5084678531, -0.2418536991, 0.6006106734, 0.7082490921, -0.3828536272, 0.6218645573, 0.6484894156, 0.1883050948, 0.0045082415, 0.0514080524, 0.707446456, -0.6457085609, -0.3427560329, -1.1861368418, 0.2452579141, 0.090733707, 0.1834431887, 0.803663373, 0.6697966456, 0.989510715, 0.1474603713, 0.7404542565, 0.0980591103, 0.4564506114, -0.790425241, 0.0714396462, -0.3604311943, 0.5634528995, -0.0980087444, -0.8122169375, -0.2784359753, 0.4862453043, -0.3329935372, -0.0812100694, 0.629086256, 0.8401945829, -0.137593776, 0.1268284321, 0.1801402867, 0.0559051856, 0.2352855206, 0.534740448, 0.9141361117, -0.1049479321, 0.3852160573, -0.1741243303, -0.3107922673, -0.0646276921, -1.2749592066, -0.9084975123, -0.4738186598, -0.1177862063, -0.1293528676, -0.1521659493, 0.861658752, 0.5488499403, -0.6631676555, -0.3960529864, -0.2787085772, 0.1532835662, -0.2973648906, -0.1246313229, 0.1501049548, -0.77168262, -0.7477562428, 0.4652132392, 0.4085846543, -0.2804001272, -0.1609590352, -0.1382481754, 0.1055680439, -0.0441154689, 0.7127858996, 0.0935452878, -0.6501857638, -0.1609948128, -0.0444300659, 0.3543320596, -0.2520121634, 1.0900275707, -0.6955729723, 0.2550825775, 0.5575091839, 0.6985244155, 1.0359836817, -0.337723881, 0.2923342586, -0.7072554231, 0.0308442451, 0.0035549963, 0.6198490262, 0.2585479617, -0.317784369, 0.5608744621, 0.1516261697, -0.5440351367, -0.714035809, 0.2470649481, -0.9372603297, -0.3268071115, 1.2200106382, 0.0137200886, -0.1322060078, -0.3058146536, 0.1122932956, 0.2921840549, -0.0071856538, 0.69291085, 0.9532543421, -0.5575333834, 0.277682066, -0.8028634787, 0.4573185146, 0.432277441, -0.6832771897, 0.3416700065, 0.3121451735, 0.5008678436, -0.1617165655, 0.6631223559, -0.131768018, -0.0289076362, -0.6060488224, -0.0953442827, -0.1672326177, -0.0372252613, -0.3577089608, 0.1516243964, 0.430711925, 0.0617973842 ]
http://arxiv.org/abs/2407.02302v1
http://arxiv.org/pdf/2407.02302v1
Towards Human Understanding of Paraphrase Types in ChatGPT
2024-07-02T14:35:10
2024-07-02T14:35:10
Dominik Meier, Jan Philip Wahle, Terry Ruas, Bela Gipp
cs.CL
cs.CL, I.2.7
Paraphrases represent a human's intuitive ability to understand expressions presented in various different ways. Current paraphrase evaluations of language models primarily use binary approaches, offering limited interpretability of specific text changes. Atomic paraphrase types (APT) decompose paraphrases into different linguistic changes and offer a granular view of the flexibility in linguistic expression (e.g., a shift in syntax or vocabulary used). In this study, we assess the human preferences towards ChatGPT in generating English paraphrases with ten APTs and five prompting techniques. We introduce APTY (Atomic Paraphrase TYpes), a dataset of 500 sentence-level and word-level annotations by 15 annotators. The dataset also provides a human preference ranking of paraphrases with different types that can be used to fine-tune models with RLHF and DPO methods. Our results reveal that ChatGPT can generate simple APTs, such as additions and deletions, but struggle with complex structures (e.g., subordination changes). This study contributes to understanding which aspects of paraphrasing language models have already succeeded at understanding and what remains elusive. In addition, our curated datasets can be used to develop language models with specific linguistic capabilities.
[ -0.2245072722, -0.7131720781, 0.5229058862, 0.0332784466, -0.5290142298, -0.127895385, -0.0720934272, -0.1509701312, -0.1146576032, 0.486402601, -0.17292808, -0.4359292984, -0.3944756389, 0.5418645144, -0.3322459161, 1.0162656307, -0.000180702, -0.1831768006, -0.074409768, -0.0877652094, -0.3289552033, -0.4999736845, -0.5039486289, -0.2970056534, 0.4475879967, 0.6226642728, 1.2670434713, 0.6629661322, 0.4603444934, 0.2515002787, -0.2556932867, -0.1877718717, -0.175576821, 0.1321876645, -0.1956914216, -0.5010801554, -0.1549315304, -0.183641091, 0.4423303604, 0.6207284927, -0.1925254017, 0.0834059492, 0.0698848143, 0.6046715379, -0.4098010957, 0.5208870173, -0.7666486502, 0.0828844458, -0.1877668649, -0.0354436748, -0.3214152753, -0.3631548882, 0.3965136707, -0.4541739821, 0.3063237965, 0.1635535657, 0.5163857341, 0.1288135648, -0.4306407273, -0.4253044128, -0.339943856, 0.413623929, -0.8352871537, 0.2963064015, 0.5189851522, 0.2945595086, 0.1164423302, -0.7117530107, -0.4540122747, -0.5712223053, -0.3033814728, 0.0250842646, 0.0778347999, 0.2362434566, -0.1196022853, 0.3939875364, -0.6391271949, -0.1484712958, -0.2611033022, -0.1383951455, 0.4228253961, 0.189572677, 0.5507057905, -0.7305853367, -0.1497375965, -0.1121822, -0.5372846127, -0.1210971624, 0.0656731576, 0.1613708884, 0.1154246554, 0.7191167474, -0.4731953442, 0.4481368661, -0.2210019529, 0.2544940412, -0.0634408221, -0.2496864498, 0.0610407181, -0.2290887982, 0.7057256103, 0.3645157516, 0.5120931268, -0.4603334367, -0.0882208347, -0.0360899717, -0.0389578529, -0.626134336, -0.5254061222, 0.151713565, -0.5201535225, -0.2771778405, -0.076816678, -0.7879597545, -0.3206404448, -0.2741686404, 0.2823613882, -0.7840079665, -0.051657524, 0.343734175, -0.5334756374, 0.2554370761, 0.1969016194, -0.8735877872, 0.1179787293, 0.6114230156, 0.8038234711, -0.091985479, -0.7185742259, -0.0566688068, 0.0819488838, -0.2829894722, 1.0664322376, -0.6349255443, -0.4318696558, -0.169802025, -0.4620954394, -0.2390975356, -0.6020801067, 0.5918094516, -0.3931133151, 0.3135153055, -0.2785708606, -0.5535517931, -0.2397836, -0.0171180852, -0.4812687635, 0.7191047072, 0.0314564817, -0.7715418339, 0.244560346, -0.7025949359, -0.3230579197, 0.3917888999, -0.1520579457, -0.13138403, 0.3141720295, 0.4198696911, 0.4295048714, -0.2417148501, 0.3559312224, -0.1738699228, -0.087101534, 0.5328564048, -0.5797644854, 0.2212218195, 0.5313391089, -0.2362690717, -0.1420027167, -0.5065336823, -0.1069656834, 0.1300854981, -0.2665805221, -0.3102591634, 0.1684657037, 0.041250892, 0.3436299264, 0.3909379542, -0.2169606537, -0.081116192, -0.1534274668, 1.0543198586, 0.6474401951, 0.5355191231, 0.1836742014, -0.5514900088, 0.5544860363, -0.1154036149, 0.1487953067, 0.0202667825, -0.5782386065, -0.3537125885, -0.0591255315, 0.0461592488, 0.4048890769, -0.6887543201, 0.118487455, -0.4123125076, -0.5671413541, -0.4769518077, 0.0240435693, 0.4736786485, 0.4677750468, 0.3639955223, 0.0207957961, -0.0381686166, -0.9511966109, -0.6512895823, -0.3530813456, -0.048499804, 0.3652435243, 0.4740917683, -0.0942256451, 1.0701721907, -0.4209493101, 0.3927690089, -0.5164168477, 0.4019134343, -0.2566881776, 0.0033045118, 0.2512724102, -1.1266795397, -0.6018810272, 0.0551356375, -0.6846173406, -0.1979923844, -0.1051878706, -0.2119278908, -0.3270938396, 0.3397499919, -1.019164443, 0.192835331, 0.1244300753, -0.4564556479, 0.5311837196, -0.0676926449, 0.3556120992, -1.1868652105, -0.0766997784, -0.1889625788, -0.1692676693, -0.5072296858, 0.2903342843, 0.0860327482, -0.4577522874, -0.69104141, 0.5469257832, -0.3166252375, -0.0877788141, -0.1967888623, 0.3165480793, 0.0517332442, 0.379719466, 0.2793072164, 0.8917964101, 0.2756749094, -0.4234070182, 0.0239978898, 0.6248860955, -0.1682504714, 0.1687752903, -0.85831213, 0.1725198179, -0.318312645, 0.2490400374, -1.1666307449, -0.459253341, 0.2330990881, -0.4768815339, -0.1540157646, -0.13918598, -0.4182479084, 0.0024903307, -0.438067019, 0.2366212606, 0.6449255347, -0.1536788195, 0.2544578314, 0.1209786609, -0.4537040889, -0.3176558018, -0.4015969336, 0.4279600382, -0.5984838605, -0.3552829623, 0.1067880616, -0.0805477872, -0.430403322, -0.1490285099, -0.1501584053, -0.1568275541, 0.0792752281, 0.0659418479, -0.0142614674, -0.0279222224, -0.0699894726, 0.0592070632, -0.0736037493, -0.1016710401, -0.0023838263, 0.6549178958, -0.2398392558, -0.1013880968, -0.5614452362, 0.42189762, 0.7388064861, -0.2693919837, 0.4391809404, 0.3567720354, -0.0442655124, 0.2499943078, -0.2063798457, -0.3063513935, -0.4591360092, 0.4218765795, -0.4444998801, -0.6585602164, 0.5221511126, 0.1774493754, 0.1986978799, 0.4612706602, 0.652195394, 0.1296787709, 0.850938797, -0.0627664402, 0.004827919, 0.5025855303, 0.2267863899, -0.1658745855, -0.6342073083, 0.1610563397, -0.504550457, -0.0766678527, -0.3960301578, -0.2252739072, 0.3300316632, 0.2425749302, -0.1538212746, 0.511423111, -0.4211495519, 0.4892135262, 0.5059145689, 0.364189446, 0.3212505877, -0.1846079975, 0.3485161662, 0.109464027, -0.7103513479, -0.7767410278, 1.0363653898, 0.2152029574, 0.6770727038, 0.1018054858, 0.8579239249, 0.3941784799, -0.0577869266, -0.5620331168, 0.7151705623, -0.0924829841, -0.597759366, -0.3570077419, -0.4508748651, -1.0419851542, 0.2579247952, 0.1215723902, -0.671253562, -0.0797726363, 0.2434588671, -0.2036371976, -0.155034855, -0.9414823055, 1.0013816357, 0.011755297, 0.1944379658, -0.15162085, -0.9208569527, 0.0535848886, 0.1394450217, 0.1954111755, -0.1713499725, -0.1492308825, 0.7375124693, -0.2559943795, 0.6741064191, 0.100811854, 0.1643225104, 0.4974922836, 0.4469522536, 0.4923664629, 0.2776979804, -0.2141263783, 0.1302744597, 0.0420388095, -0.4103787839, -0.4701329768, 0.3077007532, -0.7345975637, -0.6578100324, 0.0043249247, -0.8203203678, -0.0274396408, 0.0174565855, 0.5439127684, 0.5172160268, 0.0660323575, 0.2402993888, 0.3706954122, 0.0116859656, 0.4037304223, 0.2290139198, 0.0445963107, -0.4154808223, 0.8468779325, -0.0751900375, 0.5641461015, 0.7082603574, 0.6327980757, -0.3262168467, -0.7400391102, -0.3062494397, 0.2711589038, -0.9942775369, 0.0602114834, -0.634469986, 0.2201394886, -0.6354777217, -0.2332997918, -0.1161165386, -0.6848448515, -0.1841948628, -0.047634013, 0.7156322598, 0.5681611896, 0.2766356468, 0.3453087211, -0.8839172721, 0.6146008372, 0.5416488647, -0.1168099791, -0.203926459, -0.5861214399, 0.013785474, 0.1070845947, -0.2619329095, -1.0933207273, 0.4246805608, 0.5709502697, 0.3137272894, 0.090351738, 0.1819227785, 0.5792250633, -0.5907592177, 1.1164990664, -0.4244016111, -0.9816988111, 0.5865365267, -0.6745253205, 0.1824426204, 0.6102989316, 0.4498471618, -0.7053928971, -0.5822876692, -0.6616281867, -0.9122856259, 0.5110603571, 0.4557125866, 0.1929771006, -0.441066891, 0.6448988318, 0.297362268, 0.2882559299, -0.8151842356, -0.1348252892, -0.1748882085, -0.3675366938, -0.086012736, -0.0258016754, 0.0330739617, 0.200546667, 0.2769111395, 0.0396082439, 0.1845334619, 0.1170503572, -0.3823888004, 0.1936068982, 0.6244872212, 0.32330966, 0.7715875506, -0.353710711, 0.2279174477, 0.1383931935, -0.3608734906, 0.0715671331, -0.052941341, -0.1003115922, 0.0747911334, 0.524255693, 0.702063024, 0.3342788517, -0.8334005475, 0.2048791647, -0.0648739934, -0.0204080809, 0.1830584854, 0.0908055082, -0.0033000163, 0.0821209326, 0.1661462039, -0.1425232291, 0.4172980487, -0.5868411064, 0.243949011, 0.2578532398, 0.0359337032, -0.4901167154, 0.7683227658, -0.0046467562, -0.6098632216, 0.5125419497, -0.0848895162, -0.3640827537, 0.2374819368, 0.4965648353, 1.0034618378, -0.0190340374, 0.464797914, -0.2066342384, 0.0340934992, -0.2711494267, 0.0262464806, -0.296522826, -0.6880673766, -0.1265797615, -0.4892998338, -0.7941737771, -0.0361424237, -0.7584806681, 0.2511849701, -0.0432061814, 0.2101839334, 0.1061676964, -0.5373055935, -0.4170228541, 0.0226018336, -0.0301298052, 0.5569262505, -0.9405940771, 0.6051510572, 0.9196504354, -0.5841444135, -0.7171477079, 0.2949752808, -0.3395521045, -0.963373661, 0.457678616, 0.0132729542, 0.2856335044, 0.2937478125, -0.0945416912, -0.5881204009, 0.9899522066, 0.407137543, -0.0461962633, -0.4434547424, 0.3860941827, 0.4902164936, 0.0111624757, 0.3330676556, 0.667106092, 0.2658691406, -0.1676654071, -0.8877446055, 0.0120099392, 0.0270292368, 0.2694156766, 0.3092700243, -0.4808342755, 1.1323750019, 0.2562258542, 0.051175341, -0.0618701838, 0.316254884, 0.2352975607, 0.1867717057, 0.3015170991, 0.3833209276, 0.0739163533, 0.3805903494, 1.0246790648, -0.3986638784, 0.5499127507, 0.8863834143, 0.0012637435, 0.9482197165, 0.4039121866, -0.2132629305, 0.2902416587, 0.6500986814, 0.6461642385, 0.5786456466, -0.0995834619, -0.2617733777, -0.2504709661, 0.2355133891, -0.1832584888, 0.4904819131, 0.3176964223, -0.2411663979, -0.6469327807, 0.2128221542, 0.050614927, -0.0207907483, -0.2251756191, 1.0700240135, 0.039288342, -0.8713202477, 0.7969998717, -0.1660885066, 0.3292945325, -0.4697962403, -0.0645839572, -0.3463732898, -0.1534208655, 0.0484321937, -0.9537278414, 0.2203445286, -0.1094615757, 0.0995828658, -0.133512795, 0.5736889243, -0.3349201977, -0.1023115218, -0.3139869869, 0.4684433341, 0.5266267061, -0.4012410343, -0.8860249519, -0.3316358328, 0.1873251647, -0.4615940452, 0.3927237093, 0.7881330252, -0.1874103695, 0.7439632416, 0.3001063764, -0.0009664113, 0.0274672583, -0.2961252332, 0.4843625426, -0.7089549303, -0.5487344265, -1.1076534986, 0.3261914253, 0.2173411399, -0.6146482825, 0.9031432271, 0.2559728622, 0.3609084487, -0.3789385855, 0.9067377448, -0.1199331433, 0.3971291184, -0.551440835, 0.483020097, -0.04295763, 0.0465643108, -0.4283424914, -0.8416671753, -0.0850098953, 0.6167215705, -0.3641772866, -0.1569871008, 0.619753778, 0.6787709594, 0.018324459, 0.0961676016, 0.2201575637, -0.1219763681, 0.407335788, 0.4720121622, 0.9592154026, -0.2571924627, 0.7596150637, -0.2192934304, -0.1280808896, -0.2859329879, -0.7432881594, -0.7609711289, -0.5935394764, -0.4313577414, -0.0736879259, -0.0253541097, 0.9854915738, 0.3454662263, -0.5052976012, -0.0585100017, -0.6664388776, 0.0481723659, -0.1667218357, -0.273905158, 0.4430613518, -0.6125856638, -0.6277611852, 0.1903591901, 0.1531767845, 0.0112706488, 0.1762175411, 0.0997890681, -0.0380300954, 0.1254071444, 0.5156333447, 0.2718839645, -0.7683445215, -0.646882534, -0.0075692544, 0.1596468538, 0.1644942313, 0.7791159749, -0.4474651217, 0.1359292716, 0.5754756927, 0.5130189657, 0.062043976, 0.2599070966, 0.4859054983, -0.6639283895, 0.1259927154, 0.447342366, 0.3164325058, 0.2319281995, -0.2471372634, 0.215259403, 0.1868653893, -0.9669271111, -0.6874107122, 0.3188164532, -0.7696551681, -0.500434041, 1.4016674757, -0.1927863061, -0.0584305115, -0.3165827394, -0.5691469312, 0.2125764489, -0.4661928117, 0.9463666677, 0.7026239634, -0.3867605925, -0.1810960323, -0.4211868346, 0.5315341949, 0.4701327384, -0.7966905832, 0.5817857385, 0.3969942033, 0.3605437279, -0.1244957596, 0.4975919127, -0.1366714239, 0.4112122059, -0.0095029604, -0.0530096292, 0.0894521624, -0.0103727914, -0.2230036259, 0.0628387928, 0.5751660466, -0.2767460644 ]
http://arxiv.org/abs/2407.02301v1
http://arxiv.org/pdf/2407.02301v1
CFinBench: A Comprehensive Chinese Financial Benchmark for Large Language Models
2024-07-02T14:34:36
2024-07-02T14:34:36
Ying Nie, Binwei Yan, Tianyu Guo, Hao Liu, Haoyu Wang, Wei He, Binfan Zheng, Weihao Wang, Qiang Li, Weijian Sun, Yunhe Wang, Dacheng Tao
cs.CL
cs.CL
Large language models (LLMs) have achieved remarkable performance on various NLP tasks, yet their potential in more challenging and domain-specific task, such as finance, has not been fully explored. In this paper, we present CFinBench: a meticulously crafted, the most comprehensive evaluation benchmark to date, for assessing the financial knowledge of LLMs under Chinese context. In practice, to better align with the career trajectory of Chinese financial practitioners, we build a systematic evaluation from 4 first-level categories: (1) Financial Subject: whether LLMs can memorize the necessary basic knowledge of financial subjects, such as economics, statistics and auditing. (2) Financial Qualification: whether LLMs can obtain the needed financial qualified certifications, such as certified public accountant, securities qualification and banking qualification. (3) Financial Practice: whether LLMs can fulfill the practical financial jobs, such as tax consultant, junior accountant and securities analyst. (4) Financial Law: whether LLMs can meet the requirement of financial laws and regulations, such as tax law, insurance law and economic law. CFinBench comprises 99,100 questions spanning 43 second-level categories with 3 question types: single-choice, multiple-choice and judgment. We conduct extensive experiments of 50 representative LLMs with various model size on CFinBench. The results show that GPT4 and some Chinese-oriented models lead the benchmark, with the highest average accuracy being 60.16%, highlighting the challenge presented by CFinBench. The dataset and evaluation code are available at https://cfinbench.github.io/.
[ -0.2087731808, -0.4731833935, 0.2854616344, 0.5197515488, -0.1464485526, 0.2573193014, -0.5573135018, -0.5278818607, -0.3077367842, 0.4145088792, -0.3419702649, -0.670350492, -0.2933991551, -0.1699958146, -0.6340841651, 0.8634377718, 0.0601557642, 0.2883245051, -0.1084537655, 0.1531338543, -0.1147124022, -0.3589791059, -1.0094923973, -0.4968080819, 0.3591247201, -0.0973811448, 0.5237540603, 0.2813036442, 0.7502877712, 0.2827240527, -0.1808971763, -0.2647188306, -0.3755370677, -0.422013402, -0.4053644538, -0.2537795603, -0.3973338604, -0.0234330203, 0.5300525427, 0.8031692505, -0.4672353268, 0.2776077092, 0.2396466285, 0.5725781918, -0.526671052, 0.3774891496, -0.6167378426, 0.0816854835, -0.4139418304, 0.0637411699, -0.2996192276, -0.3597522974, 0.2362451106, -0.32464692, 0.0454137549, -0.0242270194, 0.8412435651, 0.0655327514, -0.6556127667, -0.0962856337, -0.2819710076, 0.6053632498, -1.0593115091, 0.5498789549, 0.206463322, 0.6179921627, -0.1684747189, -0.9225130081, -0.3602609336, -0.5003022552, -0.1449630111, 0.3073761463, -0.0325803198, 0.149316147, 0.3174899817, 0.5733217597, -0.5805740356, 0.2386696786, -0.2205677927, -0.2767401934, 0.7083226442, 0.2284280211, 0.0336408466, -0.0297695287, -0.5035709739, -0.4266781807, -0.4403764009, 0.1933885813, 0.2727549672, 0.3782021701, -0.2209431827, 0.1856008172, -0.1710531414, 0.8236123323, -0.0771189705, -0.4027922451, 0.2275521904, -0.3029919565, -0.3211170137, 0.037147034, 0.7571573853, 0.3298399448, 0.1279167235, -0.0798293576, -0.5196278691, -0.3863103688, 0.0480755307, -0.6236433983, -0.0285578649, 0.3027636409, -0.436837554, -0.0378580056, 0.4009019136, -0.7066453099, -0.3937255442, -0.3080026209, -0.0698867515, -0.2310487777, -0.2401595563, 0.060357172, -0.1314551979, 0.8248797059, 0.2577917278, -0.9222486615, 0.463748157, 1.282217741, 0.7960265875, -0.1843933314, -0.2135554105, -0.4080357552, -0.0131791271, -0.5160406232, 0.8931295872, -0.2660375237, -0.1274493635, 0.1027743891, -0.0838718489, -0.1411298215, -0.7449454069, 0.5117432475, -0.3585508764, -0.2558760643, -0.3531704843, -0.7502723336, -0.1718103588, 0.557500124, -0.6618664265, 0.9320375323, 0.3079658747, -0.6881389618, 0.3875001967, -0.3411976993, -0.3109881282, 0.1373786032, -0.2810715139, 0.0162889026, -0.1913802028, -0.0582995526, 0.5743974447, -1.0060946941, 0.748598814, -0.4552547038, -0.4497632384, 0.2076135576, -0.5265424848, 0.7669196725, 0.049430944, -0.4987074733, 0.0516607836, -0.8330246806, 0.122420691, -0.0779678077, -0.3312900364, -0.2214774042, -0.1258294284, 0.3860094249, 0.3278758526, 0.4559341967, -0.4395384192, -0.1199958548, -0.7256299853, 0.3535780013, 1.020373106, -0.2321915627, -0.1057401076, -0.1968712062, 0.4703221321, -0.28687644, 0.0004961871, -0.0034235658, 0.047970634, -0.5702524185, -0.0467759371, 0.5186824799, 0.6213997006, -0.4503464997, 0.5521798134, -0.0956550986, -0.894954741, -0.0410759933, 0.4825153053, 0.4119355679, 0.3703263402, 0.05719053, -0.1356423944, -0.0951272175, -1.099596858, -0.4385958016, -0.2123634964, -0.2068050653, 0.0877190977, 0.5493980646, 0.1578430831, 0.541405499, -0.4435860813, -0.2664520144, -0.3248643279, -0.155157581, 0.6449812651, 0.365570426, 0.8851015568, -0.6609076858, -0.4864428937, 0.392677933, -0.5165137649, -0.0153911132, -0.4608549476, -0.2953564227, 0.1010181531, 0.6330729723, -0.3408633471, 0.0766116902, 0.5172348619, -0.33430776, 0.5446815491, -0.0306180045, -0.2333150208, -0.7430300117, 0.6123936176, 0.166172266, -0.0875499547, -0.3433867395, 0.277983278, 0.3113864064, 0.1696017683, -0.249231413, 0.9428557158, -0.1583718807, -0.2987260222, -0.1397079676, 0.4321810603, -0.3210968375, 0.5089595318, -0.1432254612, 0.5534030795, 0.4148144722, -0.2576922476, 0.7871669531, -0.0462329015, -0.8109940886, 0.5848869681, -0.6849880219, -0.2038992196, 0.3753110766, 0.3533779085, -0.925478518, -0.0042545293, -0.0535057262, 0.1198277175, 0.1827388257, 0.327411294, -0.7920403481, -0.5100215077, -0.156423226, 0.0745943636, 0.0823776573, -0.6396394372, 0.645016849, 0.0374089256, -0.3267436326, -0.7048386931, -0.5853940248, 0.0359890237, -0.0587445386, -0.6930425763, 0.3803460598, -0.14915362, -0.4025559723, -0.2215432525, -0.3975599706, 0.015483737, 0.2936394811, -0.1771037728, 0.4620491862, -0.3558838964, 0.0706343055, -0.0821264088, -0.1595926136, 0.2591825426, -0.13883771, 0.6259147525, -0.2686695158, -0.4412187934, -0.1289327294, -0.1803133488, 0.1866063774, -0.4266656637, 0.5977999568, 0.4629368484, -0.3787920773, -0.3478833437, -0.7956773639, 0.1865550876, -0.5021148324, 0.4281232059, -0.256662339, -0.8896158934, 0.7067288756, -0.1130512729, 0.494371295, 0.7449074984, 0.6136866808, 0.464925617, 0.4110966325, 0.6166481972, -0.5263118744, 0.2523935139, -0.1064847857, 0.148039788, -0.3015169501, -0.1461981535, -0.4792648256, -0.1910254359, -0.3071505129, -0.3316401541, 0.1823691279, 0.032366205, -0.4610580802, 0.326813221, 0.0175355822, 0.5230454803, 0.2845513225, -0.1510961652, 0.2491793931, -0.3214076757, -0.3633801639, 0.1630217731, -0.3898859322, -0.307320714, 1.0293120146, 0.4059770405, 0.4987843931, -0.0508816317, 0.353684634, 0.0350352377, 0.617187798, -0.5984506011, 0.4534806907, -0.4498318732, -0.7185879946, -0.2275070846, -0.5894102454, -0.3637081385, 0.3459778726, 0.0081391549, -0.6609352827, -0.0172547456, -0.1405846626, -0.6128714085, 0.3338225782, -0.099329412, 1.0508183241, -0.7527349591, -0.4571415484, -0.1765287369, -0.4805458188, 0.8289692998, -0.6747671962, 0.2900233567, -0.1529880166, -0.0975850672, 0.7344661355, -0.4684907794, 0.6429153681, -0.1600781232, -0.4811813533, 0.1309838891, -0.1863163859, 0.3304688632, 0.0793686509, -0.4578907788, 0.2289498746, 0.3530585468, -0.3066729307, -0.5058114529, 0.7721803784, -0.4008928239, -0.5292397738, -0.5878350735, -0.2634537816, -0.435646832, 0.2991014421, -0.0711011514, 0.0393128097, -0.6414750814, 0.3562265635, 0.0848084018, -0.5567765832, 0.3380366564, 0.6404240727, -0.3366967738, -0.3478267193, 0.7194084525, 0.0440174006, 0.1424896717, 0.4009275138, 0.1472029686, -0.2594189346, -0.3003792465, -0.1926296502, 0.3391648829, -0.9651923776, -0.2930018902, -0.3086115718, -0.5785011053, -0.3528559506, -0.2052792758, -0.5056798458, 0.0685923845, 0.0378203094, -0.4145973921, 0.0543143786, 0.3918944001, -0.0500614718, 0.1420843601, -0.7743695378, 0.2441767305, 0.2062180936, 0.7201399803, 0.4116021395, -0.4176160097, -0.3525406122, -0.270996958, -0.2415370047, -0.3003062606, 0.2542130649, 0.0874945149, 0.8958216906, 1.0776561499, -0.0068005333, 0.9512370825, -0.0887517184, 0.6403229833, 0.131588012, -1.0926173925, 0.0923119262, -0.2654974163, 0.25343889, 0.7626100779, 0.1549577862, -0.850854516, -0.4001947045, -0.449038893, -1.0390939713, 0.7230146527, -0.0258073583, 0.1785225421, 0.1436413229, 0.4773516953, 0.1052778438, 0.3059332371, -0.6442030072, -0.1491259485, 0.0030571993, -0.0065003787, -0.3259227276, -0.1072401628, 0.0178749878, -0.2261092812, 0.6149694324, -0.2561534941, -0.3887265921, -0.1168671548, 0.3434869945, 0.0563794002, 0.0809521675, 0.3891295195, 1.0316812992, -0.2754939497, -0.2111879885, 0.3072139323, -0.1659832001, -0.2080223262, 0.4494991004, 0.2223990262, -0.1254549176, 0.7657461762, 0.3950709701, 0.5617636442, -1.262668252, 0.6323779225, 0.0116351694, -0.3217321336, -0.8587382436, 0.1060174331, 0.4468075633, 0.3285975754, 0.4883200824, -0.2873906493, 0.0978222713, -0.521163106, 0.1868583113, 0.4287694395, -0.3604306281, 0.0746830329, 0.5993210673, 0.0990512148, 0.3518436849, 0.7246960402, 0.1968372315, -0.3672922254, 0.8913770914, 0.2777900696, 0.8273277879, -0.2144078165, 0.0149824899, 0.539693296, 0.4131141007, -0.5125106573, 0.2389065325, -0.0559983589, -0.5805527568, -0.1960216165, -0.9261165857, -0.5612027645, 0.132939294, -0.7558749318, 0.3540324569, -0.9817150235, -0.0769016147, 0.1079293489, 0.1296730638, -0.6108890772, 0.1918110251, 0.3346329927, 1.5764403343, -0.3433590531, 0.7010064125, 0.313110888, -0.0407634415, -0.7417574525, -0.0200849976, 0.2780730128, -0.6616956592, 0.6308880448, 0.2635900378, 0.1227509603, -0.3905023932, -0.4703921974, -0.9013857841, 1.2683300972, 0.5434959531, -1.0668815374, -0.0853709802, 0.287668258, 0.6900947094, -0.2581934035, 0.3611573577, 1.0078943968, 0.8827598691, 0.1573575586, -1.0570704937, -0.1126416624, -0.5589501262, -0.0189965833, -0.0282202885, -1.2008444071, 0.9252056479, 0.1908056736, -0.1224616095, 0.2145366222, 0.5980440974, 0.4156746566, 0.36126405, 0.6105514765, 0.2131444216, 0.7740504742, -0.3188750744, 1.1203821898, -0.8065348268, 0.2923666239, 1.0446214676, -0.5440087914, 1.0221710205, 0.106907241, -0.3294273317, 0.359888792, 0.880114615, -0.55207479, 0.0180733278, 0.6185591221, -0.0098701417, -0.5799044371, -0.0240463074, -0.3879872262, 0.623988986, 0.2268063724, -0.3295834363, -0.2186598182, -0.2770659626, 0.0490403362, 0.0444095582, -0.2829437256, 0.5416153669, 0.477765739, -0.5798285007, 0.3115598559, 0.4051451385, 0.6355870366, -1.1731475592, 0.2018872499, -0.4562489986, 0.380610615, -0.1724400818, -0.5542182326, 0.1543951184, 0.1298242062, 0.340359807, 0.0966985747, 0.4125554562, -0.18328996, -0.8169828057, 0.7865040898, 0.3018457294, -0.0277036801, -0.34825176, -0.8386061192, -0.1840192378, -0.0690757334, -0.4893130958, 0.3687030673, 0.3868602216, -0.0023391417, 0.7111079693, 0.7728115916, 0.0154482881, -0.3255210519, 0.2066086382, 0.9142132401, -1.1416120529, -0.6264910698, -0.8339586258, 0.1452285498, -0.0299442671, -0.4720826745, 0.7040065527, 0.8962734342, 1.1154059172, 0.1640895456, 0.7053830624, 0.2051992863, 0.1982683092, -0.5518399477, 0.8905671239, -0.7532949448, 0.4463303685, -0.6387411952, -1.1111352444, -0.3035497069, 0.4203224778, -0.3292885125, 0.1625924557, 0.5696026087, 0.5493642092, 0.0061524226, 0.1960397959, 0.5439642072, 0.1628410369, 0.1946074665, 0.7803255916, 0.5186758041, -0.1285104603, 0.6572163701, -0.5574502945, -0.0706607923, -0.0272202622, -0.7172428966, -0.9897551537, -0.2137323767, -0.1108597741, 0.085224703, -0.3056086898, 0.9626235366, 0.3098802567, -0.9004419446, -0.9032717347, 0.3916640878, -0.1223537177, -0.5280768275, -0.2088354826, 0.609716475, -0.234443903, -0.6161770225, 0.3321472704, 0.3669749498, -0.0707700998, -0.4877750874, 0.0525921807, 0.0501362719, 0.0283211004, 0.4737220109, 0.0177810844, -0.7360705137, 0.1146763861, -0.1135253012, -0.2502510846, -0.2126723081, 0.9099200368, -0.3075591922, 0.1783539206, 0.3905249834, 0.7525081038, 0.2994680405, -0.071943298, 0.671387434, -0.2321167141, 0.1636714637, -0.1031794548, 0.5261877179, 0.1168475375, -0.2445745617, 0.6744437218, -0.0122260926, -0.2237162292, -0.5888679028, -0.3924671412, -1.0440142155, -0.4561491013, 0.7661329508, -0.3971739709, -0.2986765802, 0.1183042824, -0.0947095901, -0.09608116, -0.3428716063, 0.5812118053, 0.9670696259, 0.2996962368, -0.1995713562, -0.8333677649, 0.3425361216, 0.4127168655, -0.6942266226, 0.426818192, 0.2958253026, 0.25162673, -0.0428968482, 0.6366454363, -0.0866864994, 0.4313672185, 0.0654821023, 0.0105826184, 0.0938919187, -0.0061778366, -0.1914825439, 0.2693637908, 0.042763412, 0.7712597251 ]
http://arxiv.org/abs/2407.02284v1
http://arxiv.org/pdf/2407.02284v1
Renard: A Modular Pipeline for Extracting Character Networks from Narrative Texts
2024-07-02T14:14:59
2024-07-02T14:14:59
Arthur Amalvy, Vincent Labatut, Richard Dufour
cs.CL
cs.CL
Renard (Relationships Extraction from NARrative Documents) is a Python library that allows users to define custom natural language processing (NLP) pipelines to extract character networks from narrative texts. Contrary to the few existing tools, Renard can extract dynamic networks, as well as the more common static networks. Renard pipelines are modular: users can choose the implementation of each NLP subtask needed to extract a character network. This allows users to specialize pipelines to particular types of texts and to study the impact of each subtask on the extracted network.
[ -0.3173169792, -0.5690563321, 0.1371574849, -0.1638707072, 0.0125852181, 0.2262527049, 0.2299411893, -0.6362681389, 0.7533705831, 0.8090083003, -1.03746593, -0.1502240598, -0.5290558934, 0.5360311866, -0.5293445587, 1.151870966, 0.0575562045, -0.4516679645, 0.1374106705, -0.1271909922, -0.4681560695, -0.4200931489, -0.7700791359, -0.4928108752, 1.1535543203, 0.6697999239, 0.6826581359, 0.9051021934, 0.9453151822, 0.430121392, 0.1939836591, 0.2566424906, -0.5241289735, 1.0352094173, -0.4894679189, -0.5126305223, -0.317361623, -0.1470589936, 0.665987432, 0.2505277693, 0.2674939632, 0.6351411343, -0.2522096634, 1.012031436, -0.6351494193, 0.2833251655, -0.3570545018, 0.2006359994, -0.3120793998, -0.4614048898, -0.368938148, -0.4727060795, 0.3782226443, -0.3607955873, 0.2937296927, 0.4205820262, 1.1962376833, -0.0139218401, -0.2117396146, -0.3286087513, -0.5890741348, 0.866771996, -0.6398504376, -0.0096007325, 0.2016239166, 0.6533520222, -0.0525893196, -1.6892029047, -0.4327881932, 0.3076853156, -0.6812144518, -0.1502774507, -0.1048508883, 0.2977999747, 0.3339959383, 0.5690393448, -0.3804976344, -0.013526802, -0.5799328089, -0.0670942813, 0.8928994536, 0.5358798504, 0.8068926334, -0.6491363645, -0.2026370019, -0.180843994, -0.2074273676, 0.0933848768, 0.586496532, 0.2570203841, 0.283690989, 0.6627115011, -0.0127921952, 0.5900366306, -0.1687401682, -0.1600756049, 0.2355445623, 0.0319100805, -0.5774928331, 0.0200190116, 1.1252856255, 0.1292939037, 0.672819376, -0.0802575573, -0.3175829351, -0.4968251288, 0.1962265372, -0.8009303212, -0.7649794221, 0.4809828401, -1.1288058758, -0.752538383, 0.2132597566, -0.9360904694, -0.385269165, -0.0752433985, 0.063804768, -0.1501934379, -0.3602463305, -0.2322407663, -0.9154806137, 0.080284588, 0.0219469201, -1.1375253201, 0.3714183867, 0.643814981, 0.9890019298, -0.4899916053, -0.4228756726, -0.6680672169, 0.0394083299, 0.0921847597, 0.9365469217, -0.6517521143, -0.0761967972, -0.0669362023, 0.6239176989, -0.0404338613, -0.3550337553, 0.6943826079, -0.6287220716, 0.1778559238, -0.2056546211, -0.3948046267, -0.638399303, 0.3095671535, -1.1118779182, 0.8615571856, 0.1898273528, -1.1597771645, 0.1333399564, -0.4031753242, -0.3689393401, 0.3233932853, -0.0284128841, 0.0341105238, -0.0688159466, 0.1992635876, 0.7253624201, -0.482783407, 0.4089236259, -0.0958384871, -0.2584534883, 0.318351239, -0.3310586214, 1.0122244358, 0.4273906052, 0.1004865542, 0.2783933282, -0.7724567652, 0.1635262072, -0.0926691815, -0.2090439647, -0.4395841658, 0.358089149, 0.1934200227, 0.0347507969, 0.104542613, -0.4534373879, 0.4699355364, -0.5122824907, 0.6422079802, 0.7018048763, 0.3763379157, 0.2818415165, -0.5539847612, 0.7570456862, -0.419142276, -0.1182298213, -0.8514050245, -0.5690306425, -0.792023778, -0.5603353977, 0.315702647, 0.7142625451, -0.9544295073, 0.2526169419, -0.0649024099, -0.4299039543, -0.5495694876, -0.0620568991, 0.15791215, 0.4915182889, 0.2726780176, -0.3429251313, -0.797347188, -1.0779685974, -0.4638630748, -0.4775990844, 0.0517340638, 0.1582067162, 0.4105668962, -0.4611219466, 1.1963174343, -0.7227338552, -0.2845454216, -0.5771010518, 0.3773333132, 0.5910024643, 0.3702135086, 0.1594966054, -0.7182194591, -0.6344798803, 0.2566832006, -0.9651557207, -0.3107984066, -0.3129691482, -0.0237443428, -0.2724280655, 0.5888181329, -0.0513419323, 0.3616012037, 0.5370696783, -0.4052064717, 1.0509474277, -0.1136438474, 0.1735865921, -1.053958416, 0.2558668852, -0.3242037892, -0.4769474268, -0.6382223964, 0.3496002853, -0.1932417601, -0.0717449859, -0.2682198584, 0.7123817801, -0.6998015046, 0.0109605994, 0.0429481156, 0.0375845954, 0.1576132774, 0.3958328068, 0.2363621294, 0.3149261475, 0.4998234212, -0.2102045268, 0.9335301518, 0.1963886917, -0.0535513796, 0.3625539243, -0.8669317365, -0.0387143604, -0.1683775932, -0.2030334473, -1.3085782528, -0.3737423718, 0.207718417, -0.1909700483, 0.3299331069, -0.5494743586, -0.3938322067, -0.3028341532, -0.2999918461, 0.4464590847, 0.3506080508, -0.4759982526, 0.5838067532, 0.5285243392, -0.4567019045, -0.8170375228, -1.0443854332, 0.1110626683, -0.2480685264, -0.6881231666, -0.0791139156, 0.2658506632, -0.4245353639, 0.0856192932, 0.2687457502, -0.7215880752, -0.2100206167, 0.5257630944, 0.1078694537, -0.2737740278, 0.1826569438, 0.159219414, -0.3254919946, -0.0446667522, 0.0470028147, 0.3722441792, -0.0097168153, -0.0279965606, -0.7785481215, 0.3693881035, 0.7606547475, -0.1159672588, 0.5440665483, 0.6360353827, 0.0182312671, -0.4109301865, -0.4975189269, -0.3554169834, -0.5632391572, 0.2467839718, -0.2418098599, -0.8467658162, 0.6289650798, -0.2562646866, 0.2384001762, 0.6419225931, 0.1033038646, -0.2020980716, 0.3137653172, 0.5667081475, -0.2587075233, 0.332116574, -0.3967960477, 0.1504314095, -0.8687133193, -0.3865995407, -0.5250877142, -1.015627861, -0.4988365769, -0.2469961941, -0.2232835889, 0.1450125277, -0.13941136, 0.8155539036, -0.7753711939, 0.5322421193, 0.3901806772, -0.379496187, 0.6802581549, 0.2923837602, 0.0843909755, -0.342358619, -0.7071605921, -0.6860191226, 0.8137425184, 0.4773465097, 0.9285597801, -0.0455244109, 0.9180002213, 0.5867606401, 0.2345648557, -1.0329465866, 0.439276427, -0.1716815084, -0.886777699, -0.4145344198, -0.4263150096, -1.1356647015, 0.1822618991, -0.4355620146, -1.0183286667, 0.7426152825, -0.2340236008, -0.0208893642, 0.6254899502, -0.6665943861, 0.7343658209, 0.0096614603, -0.0706454888, 0.0416419394, -0.7257629037, 0.5086935759, 0.0607552528, -0.0262444187, -0.0697906539, 0.0268228762, 0.8895305991, -0.3126926124, 0.8307460546, 0.3209806383, 0.2255399674, 0.652749002, 0.8192343116, 0.5195874572, 0.2740990818, -0.3655981421, 0.2649128735, 0.6019288301, 0.0132582588, -0.507281363, 0.659394443, -0.615568161, -0.107702814, -0.7239118814, -0.7705542445, 0.3446878791, 0.5784941912, 0.1096895486, 0.7793135643, -0.2584215105, 0.1286057681, 0.1882877499, -0.2469984144, 0.8625398874, 0.1825793386, -0.5014879704, -0.4633503854, 0.9071524739, 0.0628108084, 0.2285057008, 0.6349653006, 0.1662960052, 0.078820698, -0.233579874, -0.0073577003, 0.3214949369, -0.58869344, -0.2417191416, -0.89583987, -0.6123002172, 0.1051273793, -0.2762991488, -0.3398478031, -0.8208137155, -0.4448370636, -0.0010347128, 0.1718216091, 1.0650327206, -0.0535054654, 0.1638210714, -1.1910872459, 0.4812726676, 0.663836956, -0.1423449516, 0.0350392051, -0.3041894138, 0.0926666111, -0.3287353814, -0.1472365409, -0.8846407533, 0.964227438, 0.3604175448, 0.4093970656, 0.641497612, 0.0528254397, 0.7927539349, -0.5107880831, 0.9215043187, 0.2432388216, -0.6145483255, 0.4444228709, -0.4156503975, 0.151337713, 0.6513425708, 0.5527514815, -0.9649161696, -0.0916250646, -0.7280902863, -0.7380139828, 0.7433989644, 0.1581863463, -0.1626788527, -0.2461828738, 0.7431294322, 0.1170773506, 0.2653610408, -0.7000083327, -0.4250726998, 0.2390891016, -0.0355709791, 0.2612142563, -0.6779469252, -0.1597697288, -0.3092829883, 0.2275141031, 0.0431318022, 0.3686475456, 0.4584869444, 0.0185672306, -0.1493698359, -0.1585682929, -0.0036255845, 0.6863712668, -0.3955100477, 0.2684014738, -0.1681799442, -0.7634394765, 0.0007726382, -0.2800115645, 0.0610279664, 0.1430801898, 1.2480287552, 0.3656778336, -0.0315380618, -0.6387399435, 0.3278106749, -0.3059830368, -0.1411889642, -0.1329824924, 0.1557985991, -0.1903546602, 0.7201940417, 0.4046912491, 0.2539438009, 0.2326580286, -0.7232142687, 0.5767521858, 0.0445177406, -0.7539895773, -0.3789634109, 0.3368454576, 0.2299961895, -0.7584849596, 1.0253924131, -0.0147151928, -0.2144894302, 0.7217918038, 0.5921673179, 1.418086648, 0.1620612592, 0.5893476605, 0.636184752, 0.4708562493, -0.1564554721, 0.0752445608, 0.2326440662, -0.712824285, -0.6380408406, -0.7266879678, -0.1125736088, -0.2759085596, -0.7950186729, 0.3932223022, -0.4494832754, -0.0903112516, -0.3890510499, -0.0624336451, -0.2393758297, -0.1182927564, -0.2791220546, 0.9124367237, -0.7038177848, 0.9608194828, 0.4795356393, -0.2359538078, -0.9113797545, -0.1402415931, 0.0451403596, -0.7018222809, 1.3611106873, -0.0411584936, -0.0219213404, 0.0336192437, -0.3541121781, -0.916154325, 1.2786067724, 0.2464888394, -0.7038933039, -0.2708161771, -0.284689188, 0.5900720358, -0.6930954456, 0.3770523071, 0.461733371, 0.5595488548, -0.0402099825, -0.5394585133, 0.0217468012, -0.320435375, -0.2311783731, 0.3298181891, -0.3467221856, 1.006038785, 0.0614166856, -0.4661471844, 0.1526485831, 0.5024989247, 0.0478485636, -0.0502169691, 0.2611449659, 0.1977114528, 0.8964942694, -0.0382872522, 1.1353802681, -0.1148575842, 0.3914176524, 1.1494642496, 0.1763788015, 0.7599244118, 0.5549138784, 0.1144780964, 1.2001742125, 0.4985532761, 0.0760374218, 0.4909565449, 0.0671883374, 0.0516612604, -0.0234714784, 0.1623001099, -0.1721772701, 0.208815679, 0.2539366484, -0.6273841858, -0.036885336, -0.4683842063, -0.1124647036, -0.1586404145, -0.2183454186, 0.5635906458, 0.2265198231, -0.4823954701, 0.2993440628, -0.1777409315, 0.4292871952, -0.8579905629, -0.2970092595, -0.0500328057, 0.1678734571, -0.7055746317, -0.9739093781, 0.5609727502, -0.3508710861, -0.3285537064, -0.3344841003, 1.0957956314, -0.4780709743, -0.4661347568, 0.2144077718, 0.3272322714, 0.284591943, 0.241043359, -0.9391514063, 0.0339677036, 0.0959397703, -0.3314361572, 0.057585407, 0.6935639381, 0.2520519495, 0.8574253917, 0.6902267337, 0.4528414905, -0.1958946586, -0.1603148729, 0.82291013, -0.7582301497, -0.2542482316, -1.0979604721, 0.8418172002, -0.3671179414, -0.448748827, 0.9211543798, 0.1872887313, 0.0719770044, -0.0874433964, 0.6229735017, -0.4692829847, 0.2736053765, -0.1410154253, 0.7876492739, -0.3469256163, 0.2616136968, -0.5804610252, -1.1602820158, -0.37538293, 0.6800351143, 0.1480719298, -0.5778545737, 1.3341898918, 0.6635049582, -0.1573499739, 0.1903156936, 0.1541945934, 0.0405558906, 0.4060019851, 0.3006442189, 0.5617636442, -0.4692130089, 0.3067685366, -0.011697703, -0.279638499, 0.0905453637, -1.1495479345, -1.4170585871, -0.6904627085, -0.097268343, -0.2574130595, 0.0619151033, 0.5581197739, 0.7116339803, -0.8824980259, -0.7625735998, -0.0284415353, 0.4520888031, -0.2887662351, -0.3698114157, 0.4333841801, -0.5898643732, -0.609292984, 0.4028829336, 0.5818498135, -0.4727922082, -0.4823935926, 0.0136476075, -0.600759387, -0.1553704739, 0.4870826304, 0.5631290674, -0.1907969713, -0.3995831311, -0.1999126226, 0.0827760696, -0.1697829068, 1.1693056822, -0.7617427111, 0.9105898738, 1.3054503202, 0.5469229221, 0.6846496463, -0.0419911146, 1.0468876362, -0.7042745948, 0.3680727482, 0.2437809855, 0.2693337798, -0.0556142889, -0.4471341074, 0.8034940958, 0.585768044, -0.9497070909, -0.8087622523, 0.425699532, -0.8563756347, -0.430339396, 1.0745600462, -0.1633111537, -0.3598852754, -0.4510665238, -0.446634531, -0.1275426149, -0.2382294536, 0.3299387395, 0.6476292014, -0.1560986191, -0.2850696146, -0.7110358477, 0.6242718101, -0.204560712, -0.5570090413, 0.0499286838, 0.1436571032, 0.0505446978, 0.3292360306, 0.6089631319, -0.2694229782, -0.2462156415, -0.0891677886, 0.1616113633, -0.2952054441, -0.5572446585, 0.0227087568, 0.5920695662, -0.3080120087, 0.1976002604 ]
http://arxiv.org/abs/2407.02273v1
http://arxiv.org/pdf/2407.02273v1
Multilingual Trolley Problems for Language Models
2024-07-02T14:02:53
2024-07-02T14:02:53
Zhijing Jin, Sydney Levine, Max Kleiman-Weiner, Giorgio Piatti, Jiarui Liu, Fernando Gonzalez Adauto, Francesco Ortu, András Strausz, Mrinmaya Sachan, Rada Mihalcea, Yejin Choi, Bernhard Schölkopf
cs.CL
cs.CL
As large language models (LLMs) are deployed in more and more real-world situations, it is crucial to understand their decision-making when faced with moral dilemmas. Inspired by a large-scale cross-cultural study of human moral preferences, "The Moral Machine Experiment", we set up the same set of moral choices for LLMs. We translate 1K vignettes of moral dilemmas, parametrically varied across key axes, into 100+ languages, and reveal the preferences of LLMs in each of these languages. We then compare the responses of LLMs to that of human speakers of those languages, harnessing a dataset of 40 million human moral judgments. We discover that LLMs are more aligned with human preferences in languages such as English, Korean, Hungarian, and Chinese, but less aligned in languages such as Hindi and Somali (in Africa). Moreover, we characterize the explanations LLMs give for their moral choices and find that fairness is the most dominant supporting reason behind GPT-4's decisions and utilitarianism by GPT-3. We also discover "language inequality" (which we define as the model's different development levels in different languages) in a series of meta-properties of moral decision making.
[ -0.4565191269, -0.4725697041, 0.7022837996, 0.3912529349, 0.0071955635, 0.048944585, -0.2718064785, -0.5434831977, -0.0052572191, 0.5300863385, -0.2726924717, -0.1168599799, -0.5492495894, 0.2433839589, -0.1778342277, 1.0278525352, 0.0133422744, 0.6428674459, -0.1648254097, -0.4987437129, -0.2276588082, -0.83025527, -0.8678837419, -0.4982706904, 0.7337352037, 0.3958342373, 0.7931625247, 0.2245552391, 0.5712223053, 0.376322329, -0.1907577217, -0.1815113723, -0.2291310728, -0.1754274368, -0.4085693061, -0.4335877001, -0.3929997385, 0.1169219986, 0.20028238, 0.644289434, -0.1300508678, 0.3080293834, -0.0000148125, 0.7711871266, -0.4763076007, 0.0302265845, -0.4404618144, 0.1131482124, -0.1461271942, 0.2492372841, -0.279233247, -0.6573141813, -0.11053662, -0.209571287, 0.0319329426, 0.057306394, 1.015712142, 0.0274258237, -0.8961842656, -0.4987117648, -0.5803031325, 1.0610922575, -0.5622524023, 0.3443828523, 0.4397853017, 0.2020081729, -0.0084101763, -0.3308882415, -0.8513401151, -0.1422104388, -0.0772262588, 0.1641739458, 0.0746385083, -0.0454947054, 0.1536067724, 0.0855733156, -0.5866239667, 0.2330255806, -0.3768655062, -0.0952714905, 0.6475691795, 0.2073361129, 0.2603540421, -0.4595938027, -0.2557767928, -0.1729568839, -0.5231801271, 0.2091059387, 0.839051187, 0.1361021996, -0.1730256677, 0.5296038985, 0.3850557804, 0.6912337542, -0.1931284815, -0.2508731484, 0.350238055, -0.4016321003, -0.1782094687, -0.1271543056, 0.9277501702, 0.726521492, 0.857093215, 0.4381048381, -0.3746337295, -0.0411015339, 0.0213471074, -0.4794289768, 0.1824253947, 0.238220498, -0.4806750417, -0.2494058609, -0.2054555267, -0.7910586596, -0.4271073937, -0.3631238341, 0.0569131821, -0.2401152551, -0.3586879075, 0.568007946, 0.0917393789, 0.4577436447, 0.1932314038, -0.9142584801, -0.1806858629, 0.4495972395, 0.769138813, 0.0596289597, -0.2455747724, -0.3506144881, 0.1458451301, -0.280192852, 0.752032578, -0.6468990445, -0.5696942806, 0.0885622054, 0.1567451954, -0.0504087023, -0.3315166533, 0.8914062381, -0.2251339257, 0.182408005, -0.5683258176, -0.022093242, -0.2819100916, 0.3805758357, -0.605900228, 0.7421594262, -0.1377446651, -0.6729441285, 0.2086124867, -0.5583860278, -0.5166196227, -0.2782364786, -0.2547115684, -0.3391570151, 0.2240946591, 0.0731864348, 0.3088038266, -0.3912675381, 0.673838079, -0.4166942537, -0.0035885267, 0.2090279162, -0.5375282168, 1.2372124195, 0.323354274, 0.0385498516, 0.0280801915, -0.4336054921, -0.031249946, 0.4113014638, -0.3909857273, -0.5149563551, 0.154332146, 0.20160456, 0.4911769629, 0.3827604353, -0.4645037949, 0.1864209771, -0.2016751617, 0.3988447785, 1.0088666677, -0.5735426545, 0.2811899483, -0.3095448315, 0.6510459185, 0.0073116212, 0.5245888829, 0.2184064984, -0.6252951026, -1.1135854721, 0.2597696185, 0.0259500649, 0.760667026, -0.6515378356, 0.0487634614, -0.0239233058, -0.1162828729, -0.4410296381, -0.0879746601, 0.4768941402, 0.1693909019, 0.1540063769, -0.1090409905, -0.5088053942, -1.2797058821, -0.3445491493, -0.3967524469, 0.1021252647, 0.3702325225, 0.7162503004, -0.2147470713, 0.7564629912, -0.348602742, -0.2054877579, -0.3535465002, -0.118549414, 0.3795380592, 0.3359703124, 0.805444479, -0.8645023704, -0.3660972714, 0.3924049735, -0.6338822246, -0.0809118971, 0.0243435185, -0.0422825888, 0.2239070982, 0.2824102044, -0.378526032, 0.0760380626, 0.8343912363, -0.2586226463, 0.7173253894, -0.3361133635, 0.0750763938, -1.0520399809, -0.2654982805, -0.0322879776, -0.0665829629, -0.4210421145, -0.07014025, 0.0986458436, 0.0397513956, -0.5485135913, 0.6013690233, -0.2497906387, -0.2470216006, 0.1332802027, 0.4226483405, -0.0265414696, 0.4877078533, -0.1838543266, 0.8094645143, 0.4005191326, -0.5911765099, 0.2714985907, 0.318847537, -0.193903625, 0.6988509297, -0.602451086, 0.0282840617, -0.2741657794, 0.1081548333, -0.6868917346, -0.1189442277, 0.062892966, -0.2812269628, -0.2121298611, -0.2258306891, -0.5196868181, -0.5092375278, -0.112460658, 0.4337545037, 0.3154028654, -0.4301171005, 0.6186314821, 0.6649309993, -0.1834068447, -0.8999781609, -0.6198484302, 0.1286391616, -0.3990378678, -0.6844953895, -0.2369056344, -0.2332422882, -0.5526332855, -0.3144651651, -0.0056958403, -0.1146190464, 0.0245014001, -0.2369942218, 0.097463131, 0.0325544402, 0.2011604756, 0.0628442466, -0.2441297472, 0.2080429792, -0.4773322642, 0.5620233417, -0.6500775814, -0.4401957393, 0.0679006353, 0.4932626486, 0.5431786776, -0.4526547492, 0.4212910235, 0.668697238, -0.1349883676, 0.2437745929, -0.4551405013, 0.2586792409, -0.548725009, 0.2329693139, -0.410054177, -0.9331134558, 0.7394481897, 0.1956457943, 0.1260041744, 0.2424710244, 0.6373313069, -0.1570777446, 1.3098216057, 0.6209011078, 0.0708627775, 0.4058499336, -0.167100817, 0.3840066195, -0.5072997212, -0.2656070292, -0.8218514919, -0.2931553721, -0.9829362035, -0.4092916846, 0.4906781018, 0.1286545992, -0.5311380625, 0.1359761059, -0.2635222673, 0.8038372397, 0.3057415485, -0.3425411284, 0.5623862147, -0.0432165191, -0.6020388007, -0.0722964779, -0.6672741771, -0.9331640005, 0.7363980412, -0.0113763092, 0.7268385291, 0.4781807959, 0.4039136171, -0.0585014559, 0.2559168339, -0.6749575138, 0.6119858623, -0.5677680373, -0.7177073359, -0.0333649553, -0.3382264376, -1.1066116095, 0.4186514616, 0.0376483425, -0.6606352329, 0.2877155542, 0.0345857367, -0.1465974301, 0.5548925996, -0.7452889681, 0.7699243426, -0.8333001137, -0.3280183077, -0.2256342471, -0.7236020565, 0.6275478005, -0.1678633243, 0.7276286483, -0.259893626, 0.0913846716, 0.6258453727, -0.2669339776, 0.710442245, 0.1562785655, -0.5970571637, 0.0345122442, 0.1397127807, 0.4289871454, 0.3819721043, -0.1800929457, 0.3312557638, -0.0504169576, -0.4969895184, -0.3615394235, 0.7427933216, -0.7762144804, -0.9753540158, -0.6049789786, -0.4201363921, -0.1625507176, 0.2567317784, 0.1265153736, 0.2174844444, -0.0180553831, 0.0266099609, 0.4258813858, -0.8351914883, 0.7138053179, 0.6000435352, -0.7334215641, -0.293787539, 0.7767517567, -0.1143731922, 0.5263055563, 0.1269839406, 0.3822977841, -0.4082553685, -0.4035691917, -0.5775880814, 0.3260933161, -0.7487596273, -0.0028544548, -0.692495048, 0.0681717619, 0.0578255653, -0.4594815373, -0.4907463789, -0.2386672646, -0.1358376294, -0.105308488, 0.3613354266, 0.9887399077, -0.3016771078, 0.2502355278, -0.9159828424, 0.123317562, 0.1798630357, 0.4492812157, -0.0050440915, -0.2838767469, -0.3010727763, 0.1065623239, -0.459420085, -0.6373119354, 0.3464131355, -0.3330979943, 0.3794239163, 0.4908165038, -0.0583273396, 0.8259812593, -0.5703017712, 0.7243067622, 0.3200652599, -1.0931048393, 0.1676633805, -0.5281043649, -0.0800705552, 0.2784982324, 0.449852705, -0.7852010727, -0.4847888947, -0.3433296084, -0.784952879, 0.6159091592, 0.3596103191, 0.4601992369, -0.2663773596, 0.1132105812, 0.0363601111, 0.0267183371, -1.1878365278, -0.2732734382, -0.2206563354, -0.0515623428, -0.2274624407, -0.0753559768, -0.0430432521, -0.2637161314, 0.3272470832, -0.0773826838, 0.0270509291, 0.0548803844, -0.0815778449, -0.0529881716, 0.4310396612, 0.8412964344, 0.8215984106, 0.1020541713, 0.0613775849, 0.3715121746, -0.3658929765, 0.557659328, -0.3470009863, 0.0616819076, -0.0538153537, 0.2775000334, 0.7473944426, -0.0335557163, -0.8028638363, 0.3447237313, -0.3621338904, -0.0890139341, -0.6348090172, -0.0243733134, 0.3568632305, 0.3308253586, 0.1989432275, 0.0081719812, -0.0461621284, -0.4064713717, -0.0066861673, 0.5989837646, -0.3442427814, -0.2036949992, 0.681845963, 0.4639616907, -0.6480441689, 0.5427233577, -0.3789780736, -0.7376628518, 0.751583159, 0.2641181052, 0.7710026503, -0.24491629, 0.437827915, 0.3422335088, 0.5914054513, -0.2381982058, 0.3439497054, 0.4818265736, -1.0902998447, -0.6257756352, -0.6989955306, -0.3174702823, 0.0647607297, -0.7370058894, 0.3804293275, -0.1302901655, -0.3155997992, -0.4787468612, -0.1360467374, -0.5167864561, -0.10153649, -0.1982471645, 0.3533947766, -0.7243811488, 0.8372641802, 0.574506104, -0.5202131867, -0.592094779, 0.0360957012, -0.1561881304, -0.7923314571, 0.7871941328, 0.0789366961, -0.3332645595, 0.0199161023, -0.4197957516, -0.7038034201, 0.7070125937, 0.6270602942, -0.8510096669, 0.0110662272, 0.2681746483, 0.499350965, -0.2081531584, 0.3162014782, 0.6029388905, 0.8965903521, -0.2780053914, -1.1241180897, -0.3812268078, 0.0264379177, -0.0223357975, 0.4821411669, -0.9765164256, 1.1227970123, -0.59044379, -0.1387720108, -0.0903474614, 0.1937326342, 0.337644875, 0.2732414901, 0.6282486916, 0.3211891651, 0.7605314255, -0.1176962927, 1.2413278818, -0.2224889249, 0.6690530181, 0.8159137964, -0.5601019263, 0.3027332425, 0.523673892, -0.202469185, 0.3758488595, 0.6643334627, 0.1416677535, 0.0256536957, 0.2687379122, -0.0817911178, -0.4538315833, -0.2414811105, -0.2922693789, 0.562030673, 0.2281770259, -0.0195843074, -0.1787673384, 0.1099555343, 0.2680105865, 0.052107241, -0.1909710467, 0.442068696, 0.2416481674, -0.3941923678, 0.6611077189, 0.12266431, 0.5262044668, -0.5013845563, 0.2929612696, -0.4914069474, 0.1970662773, -0.0984355658, -1.0876026154, 0.2868456244, 0.2337698042, -0.0903077871, -0.3963493407, 0.1160000488, -0.4201357961, -0.757543385, 0.8338218927, 0.8072100878, 0.1995781809, 0.4900048673, -0.9108685255, -0.0247292295, 0.2123659253, -0.2298123091, 0.2761182785, 0.609136939, -0.4719147682, 0.9840792418, 0.7408812046, -0.1157567129, -0.164103657, 0.2828291953, 0.5272458792, -1.0214984417, -0.3697632551, -0.9685126543, 0.4282584786, -0.0270128939, -0.3791271448, 0.6572628617, 0.4454905987, 1.1360253096, -0.1474198848, 0.8888653517, 0.0194998756, -0.0504150093, -0.8000196218, 0.628220439, -0.7943109274, 0.4053843915, -0.4011720717, -0.7204456925, -0.1706044525, 0.9057643414, -0.3157433569, 0.377913177, 0.9831193089, 0.728192091, 0.0540715978, -0.0264087357, 0.4058741629, 0.2229676545, 0.4685612917, 0.7768565416, 1.1141949892, -0.2119761109, 0.824709475, 0.1518054008, 0.2303104997, 0.0685304776, -0.9646167159, -0.9053089023, -0.5306737423, 0.1252980083, -0.2940884829, -0.0696764067, 0.8005911112, 0.3511136174, -0.7525510192, -0.8204776049, 0.0731289983, 0.8144876361, 0.0459620059, -0.1677185148, 0.1336617172, -0.1810709834, -1.0306016207, -0.0631032959, 0.244864583, 0.1633605957, -0.4139478505, -0.2650239766, -0.3577564657, 0.1559209228, 0.7688083649, -0.2560670078, -0.8032214046, -0.4892985225, -0.1088994145, -0.082833387, 0.2240906656, 1.1687651873, -0.259663105, 0.1998033375, 0.3222956359, 0.2424856275, 0.2393323481, -0.2409764081, 0.8013923168, -0.4291083515, 0.3570280373, 0.2307506651, 0.6182363033, 0.3446906805, 0.0044183847, 0.496494621, 0.1642349213, -0.6320243478, -0.7300568819, 0.650782764, -0.6018923521, -0.3561667204, 1.2223228216, 0.07814008, 0.0711466819, -0.4458854795, -0.2698293924, 0.0901412219, -0.4233872294, 0.4573930204, 0.9626672268, -0.0482396558, -0.0414272435, -0.9876024723, 0.4100232422, 0.4504558742, -0.5998647213, 0.0693528205, 0.536029458, 0.1554714888, 0.0936666057, 0.4074561, -0.0767682791, -0.1372825801, -0.5060551763, 0.2615423203, 0.321909368, -0.2363104522, -0.4104118049, 0.0009122241, -0.1089642346, 0.2836982608 ]
http://arxiv.org/abs/2407.02243v1
http://arxiv.org/pdf/2407.02243v1
Robust Zero-Shot Text-to-Speech Synthesis with Reverse Inference Optimization
2024-07-02T13:04:04
2024-07-02T13:04:04
Yuchen Hu, Chen Chen, Siyin Wang, Eng Siong Chng, Chao Zhang
cs.CL
cs.CL, cs.SD, eess.AS
In this paper, we propose reverse inference optimization (RIO), a simple and effective method designed to enhance the robustness of autoregressive-model-based zero-shot text-to-speech (TTS) systems using reinforcement learning from human feedback (RLHF). To assess the quality of speech produced by the TTS system without human annotations, RIO introduces a novel concept termed as reverse inference based on the Bayesian principle, which suggests that a high-quality generated speech should be able to be used as a prompt for subsequent generation using the same TTS model. By leveraging reverse inference as the standard to select exemplars used in RLHF from the speech samples generated by the TTS system itself, RIO steers the subsequent optimization towards a direction of enhancing the TTS robustness. The RIO framework, comprising sampling, automatic annotating, and learning, obviates the need for a reward model or pairwise preference data, and significantly improves the stability of zero-shot TTS performance by reducing the discrepancies between training and inference conditions. Our experimental results verify that RIO can effectively improve both subjective and objective metrics, including mean opinion scores, word error rates, and speaker similarity. Remarkably, RIO can also diminish the incidence of bad outputs to nearly zero percent, rivalling the robustness when using ground-truth speech as the prompt.
[ -0.3510698676, -0.8750119805, 0.4029688239, 0.0773537308, -0.4893665612, 0.0468471982, -0.0285891164, -0.1884273291, 0.1960491538, 0.5247559547, -0.7327876091, -0.6324223876, -0.4106019139, 0.0581150129, -0.4390605986, 1.1664518118, 0.3864904046, 0.0147394817, 0.1752738804, 0.0137126623, -0.3124444187, -0.3036274314, -0.8388126493, -0.2602039874, 0.5756756067, 0.2803213596, 0.56666255, 0.6803970337, -0.2260948569, 0.1434722096, 0.0229720678, -0.0597922765, -0.5016668439, 0.5576255918, -0.339817524, -0.3064181507, -0.208946079, -0.1100029498, 0.628079772, 0.3282927573, -0.1034081876, 0.2089405507, -0.0182638671, 0.3713404536, -0.9443927407, -0.2066189945, -0.6394785643, 0.1702434123, 0.3132798076, -0.3384524882, -0.4279720485, -0.5232884288, -0.0083203753, -0.4182756841, 0.3483939171, -0.0678467527, 0.7131655812, 0.4769683778, -0.0179928485, 0.2872602642, -1.0227333307, 1.0402189493, -1.0501945019, 0.6990943551, 0.2892195284, 0.1952634007, -0.2384478003, -0.3583113849, -0.6089851856, -0.4215309918, 0.2249284536, 0.4335748255, -0.0411232263, 0.2475076616, 0.0476039536, -0.1812150329, -0.693991363, 0.1888388246, -0.1013675332, -0.3012571335, 0.6379480362, -0.0152345905, 0.1533544511, -0.0189379416, -0.1287599951, -0.3373460174, -0.9079187512, -0.2037536651, 0.5180640221, 0.6619684696, 0.0335361026, 0.4101747572, -0.2788798809, 0.7350562215, -0.0419587269, -0.4019563794, 0.1231120154, -0.0679814145, -0.4406097531, 0.0908210352, 0.8857961297, 0.1115510538, 0.0326091573, -0.4089522958, -0.3297109902, 0.1161525548, 0.3163161576, -0.6802595258, 0.2624418139, 0.5231825113, -0.1181597859, -0.5397111773, -0.0173922647, -0.9812300801, -0.1065090895, -0.1669410467, 0.7095260024, -0.1864783019, -0.1018449962, -0.1716127396, -0.2443207055, 0.1725142598, 0.2221632451, -0.81912148, -0.0491748378, 0.5859488845, 0.7011753917, -0.0168985687, -0.4771987796, -0.9504686594, 0.2864443362, -0.6648657918, 0.8098476529, -0.2035304159, -0.6882719398, -0.1881066263, -0.2937583029, -0.0647289082, -0.2659776211, 0.764875412, -0.2716265619, 0.4639513493, 0.2030464262, -0.145798862, 0.0999430418, 0.1516950428, -0.2366163135, 0.8683617711, -0.1076873541, -0.506903708, 0.4386677146, -0.3911540806, -0.5927735567, -0.3369241655, -0.2358845919, -0.6840814352, 0.131539911, 0.3896467388, 0.0980888084, -0.2861244977, 0.4252798259, -0.4261893928, -0.5163473487, -0.0404750668, -0.6132888198, 0.5103480816, 0.4704240561, -0.5399612188, 0.2584623396, -0.7460462451, 0.1058624163, -0.0628197789, -0.2668465674, -0.0369376056, 0.1989298016, -0.181216225, -0.0347438864, -0.3242858946, -0.6689491272, 0.0031003554, -0.8423066735, 0.4187519848, 0.4892803729, 0.2787635028, 0.4012991786, -0.2750755548, 0.6767598987, -0.2137411088, 0.189872086, -0.0939659849, -0.3867627084, -0.3910588622, -0.3080377877, 0.4458981454, 0.8300055265, -0.7915498614, 0.5153028965, -0.1763661355, -0.5130345821, -0.6461561918, -0.3431715071, 0.5756777525, 1.02000916, 0.3749229908, -0.2303416729, -0.5133758783, -0.8621385098, -0.4284080565, -0.5678347945, -0.288680017, 0.0350259617, 0.3284981549, 0.0331179537, 1.0661076307, -0.296421349, -0.0453123301, -0.2943044305, 0.561632216, 0.1463490278, 0.5572841763, 0.4510298073, -0.4784150124, 0.0279382933, -0.3496829569, -0.3447984159, -0.4939364195, -0.3812648952, -0.0784139186, 0.4562242925, 0.3887533844, -0.2561517954, 0.5995854139, 0.3270016909, -0.0257575903, 0.5451817513, -0.1034377217, 0.3438257575, -0.8548781872, 0.210874632, -0.0019114689, -0.172072351, -0.4838727713, -0.098894693, -0.3551366627, -0.2643475533, -0.4584548175, 0.5509974957, -0.1328013092, -0.2783571482, -0.2964453101, 0.3712171912, 0.24372603, 0.5788799524, 0.3464249671, 1.0045142174, 0.3854233027, -0.4598440826, 0.1011670008, 0.1774550825, -0.014599991, 0.6183770895, -0.85616678, 0.1427023262, -0.3773903847, 0.3212636411, -1.1575715542, 0.0120776528, 0.3887703419, -0.9525929689, 0.4020022452, -0.3667217493, -0.0406611674, -0.1724767536, -0.5551546216, 0.0392718911, 0.6101436019, -0.3227449954, 0.4934418201, 0.3007926941, -0.2382553369, -0.7630516887, -0.9907774925, 0.1717869341, -0.3657462597, -0.198282972, 0.3161354363, 0.3237390816, 0.0723510832, -0.1839845031, -0.1043795273, -0.0001705768, -0.0258124471, 0.0952017531, 0.1755278856, -0.0574333891, 0.0870306641, 0.5867868066, -0.28488639, -0.132649079, -0.4210870862, 0.1414753944, 0.254147023, -0.2832021117, -0.6356928349, 0.3986715972, 0.4971829355, 0.0538711436, 0.4128755629, 0.593396306, -0.0905717388, -0.2861813903, -0.3137647808, -0.5340932012, -0.3549857736, 0.3389662802, -0.2900191247, -0.6331027746, 0.2541975975, 0.1014390066, 0.1458568573, 0.2635761499, 0.4526545703, 0.023259012, 1.0484074354, 0.1374956667, -0.2531520724, 0.6631449461, -0.1624730974, 0.0811197013, -0.662188828, 0.1204982549, -0.8497904539, -0.0732279345, -0.6291252375, -0.0121161966, 0.4495002031, 0.0128457621, -0.6306120753, 0.5018116236, -0.6799553037, 0.1710558683, 1.0517294407, 0.1287791282, 0.213012442, 0.0666495115, -0.1268278211, 0.0412707254, -0.7885418534, -0.4855583906, 0.9177695513, 0.1672950238, 0.8787416816, -0.03033855, 1.0928052664, 0.3582884371, 0.1775019616, -0.7474673986, 0.4564450681, 0.2366377264, -0.5147969127, -0.5791367888, -0.5355994105, -0.9486962557, 0.296276927, -0.5354136229, -0.9414042234, 0.0343499742, 0.3544591665, -0.6397493482, 0.0739725828, -0.7512874603, 0.6377975941, -0.086045146, -0.8485725522, -0.0860208571, -1.0096110106, 0.0006911379, 0.234941572, 0.1738853604, 0.2064757049, 0.0749863163, 0.85989362, -0.13276802, 0.774302125, -0.3161214292, -0.2092860788, 0.630309701, 0.1914092749, 0.4468246698, 0.1456939429, -0.1271099895, 0.0169251952, 0.2036765665, -0.2485329807, -0.8413167, 0.5718072653, -0.8202537894, -0.7087649703, -0.1736065745, -0.0611985736, -0.6313769817, 0.1882214844, 0.4221328497, 0.5033960342, -0.1429256797, -0.0285319909, 0.3158477247, -0.5021804571, 0.5941444635, 0.333758384, -0.1201102808, -1.1465985775, 0.9020851851, -0.0085392278, 0.3123779893, 0.661922276, 0.3470185399, -0.6964336634, -0.8218299747, -0.7962329388, 0.2836716473, -0.2455437332, -0.2352025211, -0.2748751342, 0.0384850651, -0.7218185067, -0.1787283421, -0.45417431, -0.6998003125, -0.4734077752, -0.1826388985, -0.0874619782, 0.2854309678, -0.2455553859, 0.5348118544, -0.9742289782, 0.5101385117, 0.2333170623, 0.1891466826, -0.1870003194, -0.9613937736, -0.026682185, 0.28664428, -0.4853186905, -1.0629860163, 0.5311694741, 0.0426019244, 0.5405246019, 0.2947052717, 0.3105686009, 0.5428053141, -0.1430006623, 0.9170212746, 0.1584688574, -0.974951148, 0.7915989757, -0.5657272339, 0.2110577226, 0.5479700565, -0.0633561835, -0.3341031373, -0.5631093383, -0.6655498147, -0.8479194045, 0.6957167387, 0.3017526865, 0.0262432881, 0.0687681511, 0.3279222548, -0.0038576357, 0.3848900199, -0.579664588, 0.0042713513, -0.4137233496, -0.1609349251, 0.0624460578, -0.1114122123, -0.068996489, -0.0703995004, 1.1352373362, -0.1820103675, 0.3164202273, 0.5021595359, 0.2244201601, -0.2104401141, 0.5227279067, 0.9317817092, 0.4094855189, -0.3610895872, 0.0006093103, 0.1936552525, -0.3331274688, 0.1798246503, -0.0978439674, -0.490426898, -0.0649705902, 0.3226231039, 0.9353737831, -0.1042040437, -0.5547602177, 0.2898169756, 0.1809952855, -0.2070346773, 0.0232938118, 0.2142238468, -0.2570700347, 0.248878479, 0.3754944205, -0.0927945971, 0.1323535442, -0.3426628113, 0.2068159431, 0.4389365315, -0.3986443579, -0.2739202678, 0.9748405218, 0.2320044637, -0.5443149805, 0.2190039456, -0.0494058467, -0.2759492099, 0.3960924447, 0.5031532645, 1.2674742937, -0.1986386031, 0.4231097102, 0.5078194141, 0.3031749427, -0.1053942069, 0.2562066615, -0.3161410093, -0.6024751067, -0.6245227456, -0.4374289513, -0.7575993538, 0.113240853, -0.5086548924, 0.4147274792, -0.3111987412, -0.4285159707, -0.3435743451, -0.2531055808, 0.1406619996, 0.6575404406, 0.0450302102, 0.4469840527, -0.7666891217, 0.7609379292, 0.323818326, -0.4902805984, -0.5624542832, 0.0041129654, -0.1483697146, -0.7119401693, 0.3050573766, -0.2957461476, -0.6060039997, 0.1604689807, -0.6638773084, -0.5100085139, 0.8755298257, 0.7331815958, -0.5095707774, 0.0378954634, 0.1258691996, 0.6272147894, -0.1722431481, 0.431394875, 0.4834071398, 0.3057286143, 0.4566460252, -0.8118394017, -0.1740802377, 0.2252295762, 0.1479281783, 0.1801473349, -0.4038289785, 0.3028000593, -0.4675567746, -0.2315336168, 0.1489713043, 0.705909729, 0.5475642085, 0.5270073414, 0.3445548713, 0.7137482166, 0.1312848628, 0.0283586662, 0.6570498347, -0.1800293773, 0.6066564918, 1.3700746298, -0.0543021895, 0.834625423, 0.7193242311, -0.2136486173, 0.2861788273, 0.4371778667, 0.1875195503, 0.7325619459, 0.1304921061, -0.1553843021, -0.1872212142, 0.0148372045, -0.3194509447, 0.3976194859, 0.0854905993, -0.567617774, -0.4548284709, -0.1225923151, 0.0550626926, 0.0735842511, -0.0770462751, 0.8546904922, -0.2232355773, -0.9397939444, 0.7841284871, -0.1328644454, 0.4721543491, -0.4264115691, -0.073612541, -0.3609047234, -0.1115140095, -0.10836, -0.5488637686, 0.5740865469, -0.0544986539, 0.215488717, -0.2396970689, 0.6533357501, -0.3342707753, -0.1859394312, 0.0502911136, 0.4697206616, 0.1101238206, -0.0814797431, -0.6022669077, 0.0013717773, 0.040704757, -0.4904047847, 0.1532113999, 0.1840899289, 0.0931393355, 0.5419323444, 0.5659042597, 0.3995013237, -0.2923706472, 0.177291438, 0.503097713, -0.8341732621, -0.5788645148, -0.9380898476, 0.3008729517, 0.1645228863, -0.3157339394, 0.435958147, 0.3612551391, 0.6422843933, -0.0855386704, 1.0719126463, 0.2229044884, 0.8189756274, -0.3713155389, 0.6676974297, -0.4461277723, 0.1781390756, -0.6475601792, -0.8307914734, -0.4450694025, 0.5808842778, -0.4902499914, 0.0308998134, 0.2781932652, 1.1287363768, 0.2789566815, 0.1034814045, 0.702575922, -0.0089320093, 0.3789318502, 0.3933019936, 0.8071636558, -0.5290166736, 0.6798583269, -0.0181903336, -0.2047664523, -0.0457640551, -1.0289736986, -0.492424041, -0.4727565944, -0.4229699373, -0.5083342195, 0.254420042, 0.9232020378, 0.6828682423, -0.8724159002, -0.1343508661, -0.5245800614, 0.3567065597, -0.1513516605, -0.280852735, 0.1959160864, -0.2068773061, -0.8746168613, 0.4993580282, 0.4698479772, 0.312446326, -0.1193862781, 0.0519550033, 0.0368764549, 0.3774515986, 0.5530541539, 0.7176093459, -0.6740227342, -0.5591544509, -0.1670728624, 0.1254514307, -0.032310579, 0.6197138429, -1.1490950584, 0.3973121643, 0.7298282385, 0.6091725826, 0.5285156369, 0.2856533825, 0.5582567453, -0.586063683, 0.2695632279, 0.4547443688, 0.1014394015, 0.1883374006, -0.0009721678, 0.4668309391, 0.3591295481, -0.5542140007, -0.8774638176, 0.4167021811, -0.8991969228, -0.2798769474, 1.3154755831, -0.0755046159, -0.2149308473, -0.1300831735, -0.4605325162, 0.6050758362, -0.7103013396, 1.0212734938, 0.1519700736, -0.4773512185, -0.2492660731, -0.0678505749, 0.2353645712, 0.5147114992, -0.7166352868, -0.031335216, 0.6086018085, 0.1477331966, 0.0355886556, 0.4730347693, -0.0867267996, 0.0289562196, 0.0984532833, -0.0807989165, -0.0824038908, -0.3124318123, -0.3525583744, 0.2834675908, -0.0486879535, -0.4743476808 ]
http://arxiv.org/abs/2407.02235v1
http://arxiv.org/pdf/2407.02235v1
Towards a Holistic Framework for Multimodal Large Language Models in Three-dimensional Brain CT Report Generation
2024-07-02T12:58:35
2024-07-02T12:58:35
Cheng-Yi Li, Kao-Jung Chang, Cheng-Fu Yang, Hsin-Yu Wu, Wenting Chen, Hritik Bansal, Ling Chen, Yi-Ping Yang, Yu-Chun Chen, Shih-Pin Chen, Jiing-Feng Lirng, Kai-Wei Chang, Shih-Hwa Chiou
cs.CL
cs.CL
Multi-modal large language models (MLLMs) have been given free rein to explore exciting medical applications with a primary focus on radiology report generation. Nevertheless, the preliminary success in 2D radiology captioning is incompetent to reflect the real-world diagnostic challenge in the volumetric 3D anatomy. To mitigate three crucial limitation aspects in the existing literature, including (1) data complexity, (2) model capacity, and (3) evaluation metric fidelity, we collected an 18,885 text-scan pairs 3D-BrainCT dataset and applied clinical visual instruction tuning (CVIT) to train BrainGPT models to generate radiology-adherent 3D brain CT reports. Statistically, our BrainGPT scored BLEU-1 = 44.35, BLEU-4 = 20.38, METEOR = 30.13, ROUGE-L = 47.6, and CIDEr-R = 211.77 during internal testing and demonstrated an accuracy of 0.91 in captioning midline shifts on the external validation CQ500 dataset. By further inspecting the captioned report, we reported that the traditional metrics appeared to measure only the surface text similarity and failed to gauge the information density of the diagnostic purpose. To close this gap, we proposed a novel Feature-Oriented Radiology Task Evaluation (FORTE) to estimate the report's clinical relevance (lesion feature and landmarks). Notably, the BrainGPT model scored an average FORTE F1-score of 0.71 (degree=0.661; landmark=0.706; feature=0.693; impression=0.779). To demonstrate that BrainGPT models possess objective readiness to generate human-like radiology reports, we conducted a Turing test that enrolled 11 physician evaluators, and around 74% of the BrainGPT-generated captions were indistinguishable from those written by humans. Our work embodies a holistic framework that showcased the first-hand experience of curating a 3D brain CT dataset, fine-tuning anatomy-sensible language models, and proposing robust radiology evaluation metrics.
[ -0.3240409195, -0.5965498686, 0.7783859372, 0.2542543709, -0.3060709834, -0.3733683228, -0.2500911653, -0.5657589436, -0.2743851542, 0.469097048, -0.2552787066, -0.5980070233, -0.5641160607, 0.0225915108, 0.0794423148, 1.0480145216, 0.0869527683, 0.3955006301, -0.3777031302, -0.1158414036, -0.8239972591, -0.2883649766, -0.5800572634, -0.0082410816, 0.558441937, 0.1277361959, 0.7668548226, 0.7694783807, 0.6272463202, 0.1339375824, 0.2706432641, 0.2132226974, -0.0623097755, -0.1217897832, 0.1021334529, -0.0503864065, -0.7070287466, -0.1650507301, 0.3151768744, 0.8501102924, 0.0703341365, -0.2051602304, 0.1265252382, 0.4728893042, -0.5971758366, 0.495613277, -0.448225081, -0.0377979018, -0.0403607674, -0.3846580386, -0.3698464632, -0.0518020913, 0.4555351436, -0.5378979445, 0.1437741965, -0.0380396359, 0.8284782171, 0.0087818336, -0.4423008859, -0.2685781419, -0.3790205717, 0.5830442309, -0.6082217693, 0.2272939682, 0.3502671421, 0.3651023209, 0.2636671066, -0.6693838835, -0.3570567071, -0.4288003743, -0.0624865294, 0.4029417932, -0.1241304576, 0.1094298065, 0.2011383325, 0.1473625153, -0.9232252836, 0.0706223994, -0.3955956101, -0.4311724603, 0.5132746696, 0.3885733485, 0.3429988921, -0.2191361338, -0.4898096919, -0.102236554, -0.6916765571, -0.3309586048, -0.1047084108, 0.3193485141, -0.2598512173, 0.6858123541, -0.0852252617, 0.9960445166, -0.0794046894, -0.3055187166, 0.2703426778, -0.1684659719, -0.1135801822, -0.0109839113, 0.7813954949, 0.6398317814, 0.1288583726, -0.1736363769, -0.152003184, -0.0781324059, 0.5191620588, -0.854383707, -0.2786360085, 0.2814968824, -0.5360753536, -0.0907711014, 0.007718591, -0.4882054031, -0.6080725193, -0.3769419491, 0.5841028094, -0.7598882318, -0.2414970547, 0.4398981929, 0.2726418376, 0.0539288744, 0.3996217847, -0.5964258313, -0.1336428225, 0.3510218859, 0.8000238538, -0.173945412, -0.4031700194, -0.3735761344, 0.2055101693, -0.1065556407, 0.7887821794, -0.2323646992, -0.182096839, -0.2059145421, -0.203627646, -0.1761824489, -0.2597690523, 0.2309740782, -0.3398910463, 0.2746855915, -0.1354874671, -0.057166215, -0.3031198382, 0.4204174876, -0.6335190535, 0.5236879587, 0.3069075942, -0.7516742349, 0.4974036515, -0.7792840004, -0.6150848866, 0.1245228127, -0.2174504995, -0.3175085783, -0.0741977841, 0.3739839196, 0.8127704263, -0.4981041551, 0.4317160547, -0.082104072, -0.2719518542, 0.2194731683, -0.5570032597, 0.5942867398, 0.0872265249, -0.37070629, 0.131553337, -0.5125932097, 0.0308749098, 0.1187743619, -0.1919440925, -0.0580651686, -0.1892620325, 0.2975213528, 0.3611609638, 0.1780551672, -0.5827999711, 0.0142099764, -0.3636085987, 0.4276539981, 0.1398348957, -0.0633373857, 0.0702752098, -0.5844046474, 0.453944087, 0.3695155084, 0.1766530424, -0.2501403689, -0.5141679645, -0.4679839015, -0.6209970713, 0.192233786, 0.4731094241, -0.6042485833, 0.2395537049, -0.8156477809, -0.606747508, -0.4029479325, -0.4301747978, 0.4521335065, 0.5738083124, 0.4119544327, -0.318526566, -0.3375739157, -1.341830492, 0.0248497855, 0.07864099, -0.2323158979, 0.2770376801, 0.2504857481, -0.096686855, 0.7415621281, -0.5057771802, -0.6193667054, -0.2545647919, 0.2500661314, 0.0179184042, 0.3180915713, 0.4756139517, -0.6978919506, -0.4368578494, 0.3835206628, -0.8452740312, 0.1931460798, -0.173932299, 0.2267150879, 0.3914906681, 0.3184877336, -0.6651349068, 0.4275635779, 0.3519139886, -0.1287709475, 0.2416852862, -0.3843066096, 0.3604281843, -0.8995884657, 0.3183961213, 0.0615979731, -0.1802119315, -0.2553440928, -0.1041932777, 0.1379263252, -0.1881019026, -0.3622269332, 0.334877342, -0.6049957275, 0.0256810766, -0.119907707, 0.2021200508, 0.1625985503, 0.6626776457, 0.2473865002, 0.4003665745, 0.6710041761, -0.3826744854, -0.0320380665, 0.0864516124, -0.2498324215, 0.7277066708, -0.511927247, 0.1404616982, -0.2465841621, 0.1446720958, -0.8098245859, -0.35799101, -0.0682865456, -0.3874979913, 0.4344495535, -0.1134670228, -0.4339052439, -0.2936339676, -0.0112579605, 0.4549494088, 0.2217360139, 0.0090074399, 0.6950971484, 0.5424851179, -0.2471996546, -0.4005093277, -0.7987449765, 0.2732131481, -0.0963002518, -0.7046855688, 0.3707095087, -0.0463687144, 0.1429325491, -0.1359176785, 0.0763761997, -0.2197795063, -0.1585521251, 0.318860054, 0.2907631099, -0.3294659257, -0.0503226295, -0.0076665189, 0.0395613052, 0.151989758, -0.2077961117, 0.4563141167, -0.5163235664, -0.5173677206, -0.2299341112, 0.3935565054, 0.829434514, -0.2301443666, 0.2479067892, 0.8482962251, -0.6114181876, 0.2797739506, -0.5632520318, -0.1395893395, -0.275931716, 0.786224544, -0.5968185067, -0.9123988748, 0.3096186817, 0.3466292322, 0.032560572, 0.4233416915, 0.8319721222, -0.008077044, 1.1781840324, 0.3202864528, 0.3850849271, -0.2738007307, -0.0290202256, 0.2708989978, -1.0280665159, -0.3467221558, -0.1026143059, -0.0631462038, -0.2960226834, -0.2681699693, 0.8827556968, -0.2359085083, -0.0420140289, 0.1321079582, -0.7736920118, 0.3045473993, 0.1308722198, 0.3626597226, 0.1379908025, 0.0888454989, -0.1524440199, -0.3184390366, -0.8590174317, -0.4145906568, 1.265715003, 0.1928617805, 0.2879969478, 0.0066965367, 0.1720115691, 0.1573793143, 0.5736802816, -0.8217861056, 0.4417047799, -0.116623871, -0.4992539883, -0.3875234425, -0.0956967846, -1.0983419418, 0.3497811556, -0.1429409385, -0.4907217622, -0.1607847363, 0.0337105356, -0.740152359, -0.0004514559, -0.4177983403, 1.0754826069, -0.3702014387, -0.529607892, -0.1265220195, -0.6920349002, 0.4089747667, -0.2054482549, 0.2875540257, -0.0295598507, -0.0461582318, 0.345912993, -0.0402496532, 0.8463071585, -0.1472914517, -0.1476963907, 0.1664648354, 0.397620827, 0.0177359637, 0.2362329811, 0.1552322358, 0.3258351684, 0.2172821015, -0.1681674719, -0.439206332, 0.762317121, -0.5849214196, -0.337818861, -0.3485263884, -1.0787676573, -0.47605744, 0.3499982953, 0.3763634861, 0.6008281708, -0.2082227021, 0.2508588135, 0.5116541386, -0.3184446096, 0.2725530565, 0.391086787, -0.0686290786, -0.4985234439, 1.0060290098, 0.0163367018, 0.0412532613, 0.5298424959, 0.1676612943, -0.2401736826, -0.7997767329, -0.5639842749, 0.2429930568, -0.7363734245, -0.4212245941, -0.8379024267, -0.2068964839, -0.2299945951, -0.1669332832, -0.3811381757, -0.0988017023, -0.0211977381, 0.3305293918, 0.1580775082, 0.6805731654, 0.0434086658, 0.1974973381, -0.856885314, 0.047379449, -0.0029549105, 0.2156152129, -0.0694147795, -0.3663517237, -0.5534698963, 0.2835913002, -0.392413497, -0.6596633792, 0.5119293928, -0.1573711336, 0.2966786027, 0.031882368, -0.2419246137, 0.7056452632, -0.2747615874, 0.7188788652, 0.334413141, -0.7954941988, 0.4518702626, -0.7518690825, 0.5045374036, 0.37919119, 0.1574000269, -0.2706751525, -0.2889230847, -0.5019048452, -0.8540769815, 0.5925149322, 0.0698167235, -0.0250921864, -0.2843393981, 0.1528072953, 0.2112340927, 0.1141926423, -0.8577544093, 0.2743688524, -0.3488876522, -0.2955147922, 0.0920868888, -0.0288972333, -0.294333756, -0.2667894661, 0.2532954812, -0.5494247079, 0.5464806557, 0.3876780868, -0.2308939397, 0.2407453507, 0.0996116623, 0.8986907005, 0.9100034237, -0.1178754792, 0.1568858027, 0.1215065494, -0.565408349, -0.2517705262, 0.0079543833, 0.2279437482, -0.1308977902, 0.4556643963, 0.7543212771, 0.1904347539, -0.5946292877, 1.0076663494, 0.0512602888, -0.4491228461, -0.2681639791, -0.2482178956, 0.1806086153, -0.0676883087, 0.2262478173, 0.3308598697, 0.2481603771, 0.076778084, 0.1548522115, 0.4830216467, -0.7178173661, -0.2023414224, 0.715390563, 0.101726003, 0.3189327717, 0.7108083367, 0.0667715594, -0.1270350963, 0.4821794033, 0.3842955232, 0.8021709919, 0.1424601376, -0.0249225628, 0.5091602206, 0.4493728578, -0.1543735415, 0.1946660876, 0.1531993896, -0.5790079236, -0.5980604291, -0.3779125512, 0.053081505, 0.5138543844, -0.836161375, 0.4134985805, -0.3955038786, -0.2563990355, -0.0503027216, -0.4301840663, -0.7445794344, 0.4653144181, 0.1524833292, 0.5665704012, -0.4290258586, 0.8162210584, 0.7668359876, -0.5226988792, -0.7117902637, -0.0046937619, -0.1398949474, -0.7672749162, 0.549541533, 0.4309419394, 0.0564984903, 0.0683721751, -0.2572254837, -0.6253557801, 1.1683498621, 0.3747411668, -0.3792211413, -0.0945508927, 0.3743107915, 0.5481219292, -0.6772758365, 0.4184771478, 0.4341054261, 0.58050704, -0.1261782944, -1.0801049471, 0.3777270615, -0.1619606912, 0.0853077322, -0.1498827636, -0.4313744605, 0.7240421772, -0.3783327937, -0.1384134144, -0.1409899741, 0.470192045, 0.3023799062, 0.1553224474, 0.508911252, 0.3503556848, 0.3167085648, -0.0556999743, 1.2579864264, -0.4344682992, 0.0472755395, 0.8110693693, -0.3264357448, 0.4822825193, 0.4861755073, 0.1503650993, 0.2333886921, 0.5291963816, -0.0890031531, 0.4778275192, 0.2229364067, -0.0199368037, -0.479690671, -0.0191164017, -0.2867893875, 0.7872781157, 0.3644651175, -0.3014298677, -0.3761878908, 0.2729668021, 0.0229817592, -0.0669299662, -0.0650311783, 0.5813210011, 0.0290067382, -0.7825133204, 0.7677950263, 0.0057881135, 0.3946816921, -0.5269694924, -0.0746732056, -0.0350940861, 0.06633313, -0.1027756035, -0.7945574522, 0.4930337667, -0.227447629, -0.2872820795, -0.1541870981, 0.185553804, -0.3677220941, -0.3150560558, -0.0103205945, 0.5290563703, 0.2074477077, -0.3679676652, -0.5618990064, 0.1802392155, 0.000156306, -0.244273454, 0.5038502812, 0.4488174915, -0.3849844635, 0.5514336228, 0.3069218695, 0.046460066, -0.4489131272, 0.036954198, 0.7124835253, -0.3274453878, -0.314150244, -0.6906840801, 0.8215684295, 0.086319074, -0.5290954113, 0.3444770277, 0.8658121228, 0.5172814727, -0.3146750629, 1.0479571819, -0.169124946, 0.2454125583, -0.6407008171, 0.9016243219, -0.5732696056, 0.2818580866, 0.0281782802, -0.7346634865, -0.6923764944, 0.5022684336, -0.307366401, 0.3112641573, 1.0898035765, 0.9373930097, -0.1886369735, -0.1331513971, 0.573325038, 0.1893702149, 0.0298780538, 0.9596449733, 0.6600468159, -0.37225914, 0.710550487, -0.065432474, -0.2336530089, -0.0734765381, -0.8999824524, -0.9266859293, -0.7858351469, -0.4489138424, -0.3991262317, -0.2092429399, 0.4330481887, 0.7966079116, -0.4025180042, -0.0368102416, 0.0914463997, -0.5301684737, -0.3225637078, -0.2255292535, 0.7234980464, -0.1633441746, -0.574256897, 0.1814960092, 0.6009716392, -0.0378995277, -0.4150947928, 0.1156261042, 0.1956605315, -0.3243971467, 0.8580455184, -0.2230736017, -0.9232642651, -0.363997668, 0.1505024135, -0.5430793166, 0.1231501028, 0.839115262, -0.6940889955, 0.4853231907, 0.0760296434, 0.5232968926, 0.5119972825, -0.4448483586, 0.5942234397, -0.4549049735, -0.0005281629, 0.4615412951, 0.2166889608, 0.5359916091, -0.4723400474, 0.2875293791, 0.1055345312, -0.4131212533, -0.6318573952, 0.0890880674, -1.4794626236, -0.2769040167, 1.1687283516, -0.161697343, -0.0895223767, -0.3323583901, -0.3930512667, 0.0893666521, 0.0455887057, 0.8191959858, 0.6095554233, -0.3301562965, -0.3310975432, -0.6524655819, 0.3744804263, 0.2497050315, -0.7167437077, -0.0328185782, 0.8099420071, 0.3945167065, 0.1812542826, 0.6498248577, -0.534006238, 0.5879890323, -0.1367895454, 0.3955904841, -0.5825583339, -0.2304423451, -0.070862487, 0.4784014523, -0.075945504, 0.0574530512 ]
http://arxiv.org/abs/2407.02233v1
http://arxiv.org/pdf/2407.02233v1
Synthetic Multimodal Question Generation
2024-07-02T12:57:42
2024-07-02T12:57:42
Ian Wu, Sravan Jayanthi, Vijay Viswanathan, Simon Rosenberg, Sina Pakazad, Tongshuang Wu, Graham Neubig
cs.CL
cs.CL, cs.AI, cs.LG
Multimodal Retrieval Augmented Generation (MMRAG) is a powerful approach to question-answering over multimodal documents. A key challenge with evaluating MMRAG is the paucity of high-quality datasets matching the question styles and modalities of interest. In light of this, we propose SMMQG, a synthetic data generation framework. SMMQG leverages interplay between a retriever, large language model (LLM) and large multimodal model (LMM) to generate question and answer pairs directly from multimodal documents, with the questions conforming to specified styles and modalities. We use SMMQG to generate an MMRAG dataset of 1024 questions over Wikipedia documents and evaluate state-of-the-art models using it, revealing insights into model performance that are attainable only through style- and modality-specific evaluation data. Next, we measure the quality of data produced by SMMQG via a human study. We find that the quality of our synthetic data is on par with the quality of the crowdsourced benchmark MMQA and that downstream evaluation results using both datasets strongly concur.
[ -0.7426634431, -0.9966772199, 0.4012434483, -0.0661773384, -0.0887153521, 0.1743575633, -0.0445055589, -0.1388121992, 0.3001061082, 0.44081074, -1.0457345247, -0.0722419545, -0.1440378875, 0.3675413728, -0.4056221247, 1.0158526897, 0.1388653368, 0.1440527886, -0.4737781882, -0.1885184795, -0.1952709705, -0.4327670932, -0.3797796369, -0.0014654999, 0.7542276978, 0.434453398, 0.7386131287, 0.3611523509, 0.2945812941, 0.3671423793, 0.5075683594, 0.8895695806, -0.575109005, 0.3133632839, -0.0674706474, -0.2753831744, -0.2720329165, 0.2319541723, 0.7555379272, 0.343791157, -0.098264657, 0.5674270988, -0.1542784423, 0.4445545375, -0.4472530186, -0.2993769944, -0.7807393074, 0.0795892626, -0.3174878359, -0.4690740108, -0.2845906317, -0.2268936038, -0.3295382261, -0.7373247743, 0.4574969709, 0.2609092593, 0.6221186519, 0.3087907135, -0.7832891345, -0.3678773344, -0.630256772, 0.6488961577, -0.4297014773, 0.5418242216, 0.3995700479, 0.6340016723, -0.2712279558, -1.0829561949, -1.2493168116, -0.2250739038, 0.0145485383, 0.3513830304, 0.090909712, -0.2571161091, 0.3369634449, 0.4796818495, -1.0509008169, -0.5222136378, -0.7744383216, -0.2361861467, 0.7979541421, 0.4639514089, 0.3406122029, -0.7743361592, -0.5203636885, -0.2230752259, -0.5178906918, -0.018294923, 0.5812243819, -0.0320833735, 0.322009474, 1.0397028923, -0.396920532, 0.603851974, 0.2456420213, -0.34986341, 0.3035208881, -0.8042231798, -0.044423148, -0.2637736797, 1.0388430357, 0.6998223662, -0.1008279696, -0.0284608137, -0.1068929359, 0.0579955131, 0.5849477053, -0.8516067863, -0.1848559827, 0.4457525611, -0.3032640517, -0.2954879999, 0.0279477313, -0.752050221, -0.2563616335, -0.5255747437, 0.7406369448, -0.3900730908, -0.2793675661, -0.1263352036, -0.4353998899, 0.0231030956, 0.1087134108, -0.7236142755, -0.1607587487, 0.4106740654, 0.6048557162, -0.21160914, -0.2870208323, -0.5642353296, 0.372013092, -0.2996245325, 0.7792790532, -0.4119784534, -0.4663819969, -0.3468511701, 0.2231792063, -0.0989092216, -0.5005444884, 0.5474229455, -0.4748532772, 0.8202700019, -0.3094811141, -0.3316534758, -0.0452899709, 0.5809292197, -0.7061946988, 1.1946558952, 0.2469397187, -0.7990069389, 0.4412130415, -0.5467250943, -0.0310308672, 0.1364241838, -0.4267911315, -0.1452665627, -0.0124372998, 0.3027303815, 0.3355326355, -0.4097985923, 0.3777318895, -0.2155760825, -0.1658059955, 0.5665485263, -0.6075359583, 0.4679097235, 0.408863008, -0.0085536242, 0.204654634, -0.9976289868, 0.3987467885, 0.0034571935, -0.6116653681, -0.0080347778, -0.1331743449, 0.1992818415, 0.4719934165, 0.1347146183, -0.6535579562, 0.0260067955, 0.049828466, 0.4121307135, 0.6883097291, 0.1597070992, 0.3084426522, -0.8039714694, 0.7695490718, -0.0561192892, 0.1487241238, -0.2385012358, -0.4536989629, -0.5897262096, -0.1644863784, 0.3052452505, 0.2443382442, -1.3645533323, -0.1650073826, -0.1727842242, -0.6525390148, -0.8570237756, 0.1343640089, 0.1442251503, 0.5442695022, 0.3509468436, -0.0915757045, -0.5361514688, -0.9904285073, 0.0311270114, -0.1377594173, -0.2373286486, 0.5913204551, 0.3722097278, -0.5167135596, 0.8894231319, -0.4899524748, 0.183253184, -0.0146366432, 0.4716288149, -0.0976127908, 0.5228911638, 0.5612675548, -1.1201280355, -0.28252092, -0.1833802462, -0.6207220554, -0.1475118995, -0.15999116, -0.4465890229, -0.0375151932, 0.4080900848, -0.947255075, -0.245266825, 0.76287359, -0.0650572404, 0.9905003905, -0.0852035806, 0.6949704289, -1.5024365187, 0.2404463738, -0.3622430861, -0.1494635344, -0.4955956638, 0.2948148251, 0.1335617751, -0.5180950761, -0.4711838067, 0.7949391007, -0.1937610209, 0.1036650017, -0.0237005707, 0.0804303139, 0.3784539104, 0.4692800641, -0.3680059612, 1.0026657581, -0.0298762862, -0.5246211886, 0.7734102011, 0.1707916111, -0.1827011108, 0.7097132206, -0.7465766668, 0.3331779242, -0.4208982289, 0.2302929312, -1.2456692457, -0.7914184928, 0.1316222996, -0.7693502307, 0.1855580509, -0.0781583264, -0.7327472568, -0.4424735606, -0.4539711177, 0.4925868809, 0.1975972205, -0.4623743892, 0.5217407942, 0.3746252358, -0.324500829, -0.4960729182, -0.3772892356, -0.1141934246, -0.2397782207, -0.9531151652, 0.3422933519, -0.5142939091, -0.167336911, -0.1572262347, 0.044689741, -0.086710453, -0.3441602588, 0.3213953078, 0.1367390007, -0.3127269745, 0.3339462876, 0.2900629342, 0.1886697561, 0.0790015534, 0.0931727886, 0.6522658467, 0.2688718736, -0.3879048824, 0.1298299581, 0.4996293783, 0.7331823707, -0.4209896624, 0.4212242961, 1.1765693426, -0.1067449301, -0.2400593907, -0.6154313087, -0.2950982451, -0.5514350533, 0.1116646156, -0.5563403964, -0.8445793986, 0.1230567023, 0.0418604128, 0.1640176177, 0.3609342575, 0.84617275, -0.3624839187, 1.2721819878, 0.1323368102, 0.4761182368, 0.2195760161, -0.1565779895, -0.2249405086, -0.6121214032, -0.4042193592, -0.2993385196, -0.4744975865, -0.8534477949, -0.8829894662, 0.8309878111, 0.0254999641, 0.0139700156, 0.0832871273, -0.3376644552, 0.2809860408, 0.7301859856, 0.2446015924, 0.3093915582, 0.0250758193, -0.2857451141, -0.106924884, -0.7178006172, -0.4424373507, 1.3626484871, -0.1626861989, 0.5786136389, 0.1525049657, 0.5446953177, 0.4086484909, 0.2179890275, -0.4729700983, 0.5038747191, 0.1849085093, -1.0633063316, -0.2935141921, -0.7117491364, -0.961181581, 0.517957747, -0.5384109616, 0.0116298664, -0.135597229, 0.1021273062, -0.3368081748, -0.2129903585, -0.6628894806, 0.7753173113, -0.090743348, -0.5237495899, -0.1810855418, -0.5523594022, 0.843097806, -0.2033035457, 0.2272759676, -0.1946167201, 0.1029778421, 0.5722419024, -0.3323286176, 0.1481434256, 0.0494565442, 0.0474496, 0.6064420342, 0.1106810719, 0.1697020233, 0.2693459392, -0.0972809047, -0.305757463, 0.3107391596, -0.4056386352, -0.7789796591, 0.8360498548, -0.6318279505, -0.4714332223, -0.1047965735, -0.7971634865, -0.3653840721, 0.1790302694, 0.2905113697, 0.6393191218, -0.1472007781, 0.260356009, 0.3406512439, -0.4294666052, 0.3100682795, 0.3483535349, -0.3375397921, -0.6723275185, 0.9220651388, 0.1545021981, 0.2648307979, 0.08784201, 0.1415546089, -0.5839336514, 0.0963365436, -1.1298444271, 0.1513681412, -0.4266234934, -0.2083582729, -0.7729103565, -0.232940495, -0.3568927944, 0.2042512745, -0.0785151795, -0.7237382531, 0.0133628175, -0.0340506807, 0.1875557899, 0.37536937, -0.1158456057, 0.0276822764, -1.013292551, 0.713432312, 0.687761724, -0.135354355, -0.3094641268, -0.2792839408, 0.0137919141, 0.4721142948, -0.6355342269, -0.8388113379, 0.4214249253, 0.2181915939, 0.5288889408, 0.2993291914, 0.1876285821, 0.8344473243, -0.7158097625, 0.8360392451, 0.0903489888, -0.4041568339, 0.444072783, -0.7147452831, 0.2224362195, 0.4441110492, 0.7430719733, -0.4969590604, -0.356736511, -0.6320542693, -0.4963603318, 0.3126152456, 0.2048570216, 0.4878089726, -0.2688777149, 0.1636893451, 0.2039227486, 0.6452178955, -0.6302000284, 0.0941499695, -0.3588398099, -0.1323127449, -0.0593684092, -0.1793617606, -0.2635883689, -0.1704242378, 0.3049967289, -0.3323709965, 0.2515463531, 0.041259449, -0.0555234663, -0.2299078405, 0.2825272977, 0.7018500566, 0.6993584037, -0.1822475344, 0.2983534336, -0.0473785549, -0.3463507593, 0.1761197746, -0.016303055, -0.2817746997, 0.2225205749, 0.0300326217, 0.3201289773, -0.1030424088, -1.0534067154, 0.3028843701, -0.0882307738, -0.2140938044, -0.2346504778, 0.2906619608, 0.0760486349, 0.3072423041, 0.4440758228, -0.0862993151, 0.1968079805, -0.8230031133, 0.3997447193, 0.5796506405, -0.0147535522, -0.2519219518, 0.780442059, 0.0201852378, -0.0591326654, 0.5238588452, -0.2890342772, -0.2945750356, 0.3303409517, 0.3896368146, 0.2074972838, -0.2168158889, 0.444329083, 0.6007500887, 0.2423214465, 0.2065584213, 0.6243741512, -0.2144406289, -0.5318828821, -0.4104787111, -0.8519744873, -0.3327983022, 0.1992256343, -0.4080441296, 0.1746274233, -0.3820376992, -0.4220397174, -0.0497791879, -0.0546124317, -0.4903154075, 0.414596796, -0.0401185192, 0.4298234284, -0.4627370238, 0.5062106848, 0.5417641997, -0.4900279939, -0.6313835979, -0.1560457796, 0.0084187333, -0.6649790406, 0.5975158215, 0.0358852074, 0.0243658666, 0.080908224, -0.5600594878, -0.8088507056, 1.3536417484, 0.299161613, -0.1468122602, -0.1085430309, 0.3410543203, 0.4477796853, -0.0468934439, 0.2166196853, 0.1749166399, 0.4615741074, 0.2838402092, -0.9035093188, -0.1480621248, -0.4954160154, -0.2893684804, 0.2423795164, -0.6795834899, 1.1314359903, -0.0998228937, -0.3726285994, 0.0361533798, 0.4461757243, 0.6488418579, 0.4834517241, 0.2070622146, 0.5941100717, 0.6733424067, -0.0290516932, 1.0370981693, -0.2018143088, 0.073250711, 0.981947124, -0.0335287601, 0.928556025, 0.5805761814, -0.0642540753, 0.1907059699, 0.5572887659, 0.0246460997, 0.3281494975, 0.2185046971, -0.3219071031, -0.2110275477, -0.1971637905, -0.4077516496, 0.677844584, 0.173252508, -0.3485848308, -0.1101082861, 0.0653131828, -0.1413544416, -0.0716982782, -0.2649852633, 0.576839149, -0.2657957077, -0.758435905, 0.6579450369, 0.2382104099, 0.4821052253, -0.4505004287, -0.0884341449, -0.4170357585, -0.1999394298, -0.1768851429, -0.5811100006, 0.3006465435, -0.0459443405, -0.3776785433, -0.2716062963, 0.6487853527, -0.7226338983, -0.7870624661, -0.4600213468, 0.9189755917, 0.0859444439, -0.0621474162, -0.5657559037, -0.1709855944, -0.2024041861, -0.1047330499, 0.4490044415, 0.6971653104, 0.0908799246, 0.7045642734, 1.1094175577, -0.1694341898, 0.5380958915, -0.2241164297, 0.9140595198, -0.3450465798, -0.2876519859, -0.6412811875, 0.6999820471, -0.1028593183, -0.3427862227, 0.9725287557, 0.7165919542, 0.8161689043, -0.1849931926, 0.570884943, -0.0861355588, 0.6696097851, -0.7125951648, 0.8583110571, -0.8226568103, -0.2445493639, -0.248864308, -0.8948999047, 0.3507614136, 0.4775751829, 0.2058897763, -0.0296749156, 0.4257294536, 1.214116931, -0.3514149487, -0.0551184677, 0.4355366826, -0.1846467108, 0.213672176, 0.3148338497, 1.2517565489, -0.5215887427, 0.596767664, -0.2156182826, 0.1324945241, 0.0215529408, -0.4959726036, -0.7447687984, -0.9411946535, -0.041127868, -0.3926576674, -0.359995693, 0.930578649, 0.7683436275, -0.320243746, -0.1254815608, 0.4534471035, -0.1586836874, 0.3106515408, -0.3230618834, -0.0577910319, -0.1772987992, -0.7168841362, 0.5521959066, 0.0658161715, 0.0947902128, -0.5123237967, -0.0681742206, -0.1150551438, 0.2640834451, 0.8757801652, -0.0951712206, -0.5191761255, -0.1431411207, 0.2475765944, -0.166495204, -0.148047924, 0.9117301106, -0.7114483714, 0.5196529627, 0.5570041537, 0.686498642, 0.6046106815, 0.4496504366, 0.6116951704, -1.0653465986, -0.0505908988, 0.2126504481, 0.1034959108, 0.3038436472, -0.1123054549, 0.3761182129, 0.199485898, -0.5730991364, -0.8826668262, 0.2591501176, -0.8235368133, -0.1961266249, 1.2268289328, 0.2460022569, -0.045393914, 0.0692611262, -0.5247503519, 0.1249495149, -0.0758150741, 0.8434177637, 0.6502381563, -0.2176790535, -0.4518564641, -0.8426276445, 0.5672112703, 0.0571979955, -0.9232255816, -0.2684191763, 1.0327173471, 0.2424097955, 0.3031406701, 0.5771110058, -0.0988730118, 0.4633093476, 0.1344242096, -0.2129805237, -0.2830322087, -0.2671699524, 0.3257445395, 0.5368334651, -0.2601346076, -0.0944809467 ]
http://arxiv.org/abs/2407.02211v1
http://arxiv.org/pdf/2407.02211v1
PromptIntern: Saving Inference Costs by Internalizing Recurrent Prompt during Large Language Model Fine-tuning
2024-07-02T12:21:14
2024-07-02T12:21:14
Jiaru Zou, Mengyu Zhou, Tao Li, Shi Han, Dongmei Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have played a fundamental role in various natural language processing tasks with powerful prompt techniques. However, in real-world applications, there are often similar prompt components for repeated queries, which causes significant computational burdens during inference. Existing prompt compression and direct fine-tuning methods aim to tackle these challenges, yet they frequently struggle to strike an optimal balance between cost-efficiency and performance effectiveness, especially in complex tasks such as NL2Code. In this paper, we propose a novel method namely PromptIntern to internalize the prompt knowledge into model parameters via progressive fine-tuning. Our method enables LLMs to emulate the human learning process for a new task, where detailed templates and examples in a prompt are gradually internalized and phased out progressively as the model grows accustomed to the task. Extensive experiments demonstrate that our method reduces inference tokens over 90%, speedups inference by 4.2 times, and saves 88.3% monetary cost.
[ -0.3735494316, -0.7524256706, 0.4737497568, 0.2308021784, -0.3464777768, -0.2768718898, -0.5256492496, -0.1971999407, -0.3616127372, 0.5924435854, -0.9314060807, -0.349842757, -0.2369691283, 0.3540491164, 0.1303243786, 0.6105132103, 0.1179208979, 0.0791575611, -0.1467270106, 0.0391349234, -0.8636919856, -0.1632841974, -1.3515411615, -0.2045967281, 0.5065960288, 0.576875031, 0.2320286334, 0.5002109408, 0.1115525886, 0.2699485123, -0.3714768887, 0.5934267044, -0.4769839644, 0.6457268596, -0.3655709326, -0.7487537861, 0.1137473956, -0.1611500531, 0.7955197692, 0.7391782403, -0.063622728, 0.1797511876, 0.4132121205, 0.6890915632, -0.5059279799, 0.2225302309, -0.7214933634, -0.0774531141, 0.0454540923, -0.270863384, -0.6089732647, -0.5450526476, -0.0290628243, -0.4675734341, 0.4429620206, 0.1752809435, 0.5954796672, 0.6097681522, -0.0431133024, -0.1911819726, -0.4490888715, 0.6776157618, -0.9135042429, 0.1825671494, 0.2868465483, 0.214602828, -0.4412522316, -0.7821135521, -0.4419757128, -0.4321178198, -0.1563482136, -0.2214983404, -0.3087972999, 0.1427850276, 0.5248453021, -0.0114937611, -0.4314350486, 0.3849317729, -0.0656702891, -0.1150734797, 0.2773055434, 0.3814802766, 0.2012834251, 0.0142843975, 0.0061892187, -0.0122233946, -0.8789486289, 0.3374815583, 0.1855822057, 0.643430233, 0.0873072371, 0.3908764422, -0.4231138825, 0.6599101424, 0.4445601106, -0.0773823112, 0.0389551409, -0.2494705915, -0.1591010243, 0.0560515895, 0.5054597855, 0.5206818581, 0.487493515, -0.0542504117, -0.2211319059, 0.0684519932, 0.0578618757, -1.1159502268, -0.0801676363, 0.130530268, -0.4822678864, 0.0346910506, -0.2729569674, -0.7693007588, -0.5502041578, -0.7016547918, 0.0987978578, -0.512481451, 0.1722143888, 0.1250620335, -0.0976108536, 0.0195280071, 0.6378372312, -0.673332572, 0.0604728982, 0.6254601479, 0.9572290778, 0.0360411927, -0.1640199274, -1.1396940947, -0.2104981989, -0.1083710045, 0.8626902699, -0.6266680956, -0.4624402225, 0.0256491136, 0.167286247, 0.0775024146, -0.6843719482, 0.6277669072, -0.3284314573, 0.2318554819, -0.3224000335, -0.7318903208, -0.0741683245, 0.2111230493, -0.6099941134, 0.9945641756, -0.0560141057, -0.5388305783, 0.2354552448, -0.3569659293, -0.3880753219, 0.1014907435, 0.1019257009, -0.1478732377, 0.3703605533, 0.5076704025, 0.5228149295, -0.6494202018, 0.3550762236, -0.1120239794, -0.3233743608, -0.0278531648, -0.5716149807, 0.6268277764, 0.2220467329, -0.3065611124, 0.2899889052, -0.6194698215, -0.2014785856, -0.1349590868, -0.2695350945, -0.5299558043, -0.0794285834, -0.4392138124, 0.0034106087, 0.2393699586, -0.538890481, 0.6051725745, -0.64485991, 0.4048579037, 0.7300197482, 0.3005059659, 0.5568121076, -0.2145358622, 0.5073002577, -0.0807204768, 0.2248194814, -0.5933114886, -0.4733068943, -0.7870264649, -0.235776335, 0.1125436723, 0.5664439201, -0.7056336999, 0.4235411286, -0.0847776383, -0.344925344, -0.6487082839, 0.0640205666, 0.3041560352, 0.8100284338, 0.4312339425, 0.2489218563, -0.2643748522, -0.8797745109, -0.4357767999, 0.1022189856, -0.3908758759, 0.2965642512, 0.2075621784, -0.1648031771, 0.9164665341, -0.4707325399, -0.0809688568, -0.3127619326, 0.4652324021, 0.5058254004, 0.7217460275, 0.3663656116, -0.4065774679, -0.3419856131, -0.3095624745, -0.3220579922, -0.5955193043, -0.5271622539, -0.1300995201, 0.1520777643, 0.8164249063, -0.729003489, 0.2463957518, 0.2330695391, -0.6123324633, 0.5590639114, -0.4217652678, 0.095828481, -0.8569104671, 0.0060715219, 0.0760683566, -0.1491545737, -0.4492529035, 0.1647724509, 0.3575988412, -0.0120389406, -0.249383837, 0.9369680882, -0.653840363, 0.4590033293, -0.3458054066, -0.0291086026, 0.1794801056, 0.4849195778, -0.3129726052, 1.1485753059, 0.3767848313, -0.8728692532, 0.1318993866, 0.1360476017, -0.488310039, 0.4565270543, -0.8137050271, 0.0991473794, -0.4219525754, 0.3180523217, -0.9626019001, 0.0603487641, 0.2460886687, -0.1504495889, 0.4876259565, -0.3048958182, -0.700948894, -0.1596983671, -0.293502599, 0.2435836941, 0.647572279, -0.8028688431, 0.6269857287, -0.0705798864, -0.4200837016, -0.2891854048, -0.4700981081, 0.1334965676, -0.1783425361, -0.4718917012, 0.3158330321, -0.2103329301, -0.1838437468, -0.2492009103, 0.0239480287, 0.2812190354, 0.1204787567, 0.2056152821, 0.0792917907, -0.1754031628, 0.3906355202, 0.5224408507, -0.1452579945, -0.0278070141, -0.4575206339, 0.7293316126, 0.1521199942, -0.1340609491, -0.7299000621, 0.4120842516, 0.3666115999, -0.3385694623, 0.8158153892, 0.3771096766, -0.3000541925, -0.5266621113, -0.7832194567, -0.4686897993, -0.519308269, 0.2004121989, -0.3100636005, -1.0212779045, 0.4576761723, -0.5557560325, 0.2139333338, 0.2925553322, 0.3870316744, 0.1324870288, 0.8901554346, 0.3438643813, -0.0161725581, 0.588981092, -0.0247061048, -0.1230879948, -0.8529472947, -0.2192460001, -0.8021286726, -0.3574716151, -0.2105485052, -0.5175899267, 0.2861863077, 0.3742896616, -0.5668497086, 0.0559020452, -0.4939298928, 0.6328615546, 0.7907570004, 0.2933988571, 0.2129469216, -0.1135285199, -0.0825111493, -0.0805253536, -0.6296038628, -0.2333566546, 0.6948696375, 0.2420058101, 0.7802700996, -0.044562187, 0.3417332172, 0.1855686903, 0.1029111445, -0.7483697534, 0.5477725267, -0.1606549174, -0.0598442666, -0.3330505192, -0.6132318974, -0.9751199484, 0.0808175653, -0.0363146253, -0.7369663715, 0.3321455121, 0.360059917, -0.4451934993, 0.1872945279, -0.7114815116, 0.6210898757, 0.0536402352, -0.5029602051, -0.2854873538, -0.5709726214, 0.1900713146, 0.0499538183, -0.0831743032, -0.2572226822, -0.1556906402, 0.4948272407, -0.3795711696, 1.1968294382, -0.4748425186, -0.106795013, 0.1593927592, 0.2595887184, 1.0522162914, 0.3173195124, -0.3475722969, -0.0386130624, -0.4732060432, -0.2047617882, -0.7418212891, 0.6878326535, -0.2398231924, -0.5910004377, 0.0375274904, -0.5324648619, -0.2687612474, 0.2003767937, 0.3941134512, 0.8209101558, 0.0933050886, 0.0197711922, 0.9285664558, -0.5247026682, 0.5061219931, 0.5012376904, 0.0784204155, -0.4300989211, 0.3820393384, -0.1515417546, 0.1836247593, 0.5369585752, 0.4452592731, -0.3806014061, -0.6120634675, -0.3330850005, 0.3377822042, -0.6544683576, -0.5446456671, -0.6491926312, 0.2821756899, -0.3859645128, -0.1243928894, -0.2706771791, -0.1232293472, -0.5682256222, 0.0865823925, 0.6400437951, 0.2638721764, 0.1247580796, 0.5824673176, -0.85876894, 0.2526493967, 0.2491036654, 0.2990974486, 0.1277585179, -0.8044079542, -0.0502435938, -0.0091899717, 0.1757000685, -0.5331687927, 0.4990691543, 0.4210351408, 0.4831385016, 0.4729872346, 0.4720629752, 0.7943299413, -0.7381058931, 0.8225679398, 0.1189082861, -0.9675754905, 0.579416275, -0.1000139713, 0.972953558, 0.8334780931, 0.1543055475, -0.6123898029, -0.3081694245, -0.0989718735, -1.0438556671, 0.5079319477, -0.0741703957, 0.2461735904, -0.2663232386, 0.7164817452, 0.3168918192, 0.0964630768, -0.0298972521, -0.1445934623, 0.2293913662, -0.2588133812, -0.0487645529, -0.5746035576, 0.1044880748, -0.4643374979, 0.5720598102, -0.2585831285, 0.131032303, 0.2218582928, -0.1190758869, 0.06795647, 0.1661364883, 0.62714535, 0.3653963804, -0.0520688966, 0.0411067195, 0.3844421804, -0.3428917229, 0.0311251059, 0.141336143, -0.3228841424, 0.1304381788, 0.3842883408, 1.0479323864, 0.5194571614, -0.8084659576, 0.1890597045, -0.3219730854, 0.0759415478, -0.198083505, 0.2112197876, 0.0294105187, 0.5353669524, 0.2588937581, 0.1114324704, 0.1993623823, -0.2749543786, 0.1529940814, 0.2844496667, -0.2002989501, -0.1303944886, 0.6318483353, 0.3525800705, -0.3953049183, 0.8332787156, -0.2870541811, -0.3197788894, 0.4662798941, 0.5566799641, 1.0945968628, -0.321239382, -0.0443318076, 0.7738831639, 0.1730953306, -0.476010263, 0.1849137098, -0.0986659974, -0.4695872962, -0.6764739752, -0.7057557702, -0.2511135638, 0.0383850485, -0.6108767986, 0.2647413909, -0.4647876024, -0.0665560886, -0.1689311266, -0.157878235, -0.6817548871, -0.0590409636, 0.0955408067, 1.2786896229, -0.2891084552, 0.7694880366, 0.3036275804, -0.1672496647, -0.7967597842, -0.0038525742, -0.1286873817, -0.5251396298, 0.7418069243, 0.4601969719, -0.2160928845, 0.2124257833, -0.6807667017, -0.6751728654, 0.8034989834, 0.5063803792, -1.1400259733, -0.136330992, -0.3828243315, 0.2451633513, -0.3080928922, 0.3348093033, 0.7728155255, 0.5477231741, 0.0219810829, -0.6976741552, 0.3528316617, -0.2239312679, 0.1295370162, 0.4418190122, -0.2798781991, 1.0095682144, -0.2871598601, -0.5263941884, 0.3047976494, 0.6249866486, 0.1522117853, 0.076032266, 0.637308836, 0.2683023512, 1.1040959358, 0.0315010175, 0.9404289722, -0.4415465891, 0.2538534105, 1.410377264, -0.2220663428, 0.6574178338, 0.4076986313, 0.0600436181, 0.2972744405, 0.5107392073, -0.0476122871, 0.4735868871, 0.3944916129, -0.4313740432, -0.362655282, -0.2218551487, -0.2031100541, 0.0231161732, 0.3533127308, -0.3050097823, -0.325850606, 0.2003587484, 0.3126963377, 0.0914997607, -0.460262835, 0.9054530859, 0.0341939256, -0.9519047141, 0.6549073458, -0.1207286417, 0.8396288753, -0.7212453485, -0.1801513582, -0.5989459157, 0.2027567625, 0.2382666469, -0.5603464246, 0.089325197, 0.0638626516, -0.2427893281, -0.221736595, 0.4072290659, -0.4904061258, -0.4049118161, 0.1611724645, 0.2095030397, -0.0704185143, -0.5106976628, -0.5001995564, -0.1520976275, 0.1143026277, -0.3886694312, 0.1509895176, 0.7071690559, 0.0648960397, 0.8242607713, 0.74675107, 0.1179476529, -0.2051810622, 0.3372248709, 0.9619271755, -0.7647561431, -0.5952013731, -1.0720514059, 0.5456220508, -0.1805751175, -0.5620361567, 0.5734817982, 0.3485644758, 0.4963351786, -0.2034664452, 0.5735622644, 0.3489843905, 0.5299884081, -0.8846354485, 0.6056732535, -0.4721556604, 0.4088849723, 0.0462533273, -0.7292920947, -0.3703006506, 0.2537950575, -0.0841232315, -0.3567601144, 0.5479941368, 0.9044836164, 0.1354058087, -0.0786741301, 0.1097298712, 0.2405830473, 0.3732714355, 0.3280024827, 0.6910943985, 0.0804586038, 0.2508584559, -0.3312073946, -0.2464784533, -0.2695394158, -0.9177183509, -1.0904625654, -0.3787967861, -0.2606236041, -0.1775552779, 0.152829662, 1.2919704914, 0.4227508605, -0.8152305484, 0.084265925, -0.3224866092, -0.0724505186, -0.2856919765, -0.1959457994, 0.3376507461, -0.8461714983, -0.8312511444, 0.5854603052, 0.0880093277, -0.1285389364, -0.0450195149, 0.1204259768, 0.0502831377, 0.1133717746, 0.7010356784, 0.1968820691, -0.7337217331, -0.2346301526, -0.1164222807, 0.0890876055, -0.1237132549, 0.9757917523, -1.0418351889, 0.3574241102, 0.6766707301, 0.6824572086, 0.1934928, 0.1653795838, 0.8115894794, -0.7933807969, 0.326407522, 0.3493492007, 0.4633151591, 0.2303768098, -0.6039617658, 0.4036376774, 0.0090005761, -0.5648662448, -0.8375057578, 0.3228635192, -0.8657067418, -0.6502936482, 1.2365101576, -0.093190372, -0.1151553467, -0.0448659509, -0.6010094881, 0.3053236604, -0.8109608293, 0.5108500719, 0.1206867471, 0.0603661053, -0.383271575, -0.4812494218, 0.6078517437, 0.3040357828, -0.703684628, 0.4044596255, 0.5787269473, 0.1878911853, -0.2539058626, 0.1309120506, 0.4571151733, 0.0772376582, -0.0005486599, 0.1882267743, -0.3044383526, -0.2760606408, -0.6210380793, 0.2239310741, 0.0022908628, -0.0744606555 ]
http://arxiv.org/abs/2407.02209v1
http://arxiv.org/pdf/2407.02209v1
Generative Monoculture in Large Language Models
2024-07-02T12:17:07
2024-07-02T12:17:07
Fan Wu, Emily Black, Varun Chandrasekaran
cs.CL
cs.CL, cs.AI
We introduce {\em generative monoculture}, a behavior observed in large language models (LLMs) characterized by a significant narrowing of model output diversity relative to available training data for a given task: for example, generating only positive book reviews for books with a mixed reception. While in some cases, generative monoculture enhances performance (e.g., LLMs more often produce efficient code), the dangers are exacerbated in others (e.g., LLMs refuse to share diverse opinions). As LLMs are increasingly used in high-impact settings such as education and web search, careful maintenance of LLM output diversity is essential to ensure a variety of facts and perspectives are preserved over time. We experimentally demonstrate the prevalence of generative monoculture through analysis of book review and code generation tasks, and find that simple countermeasures such as altering sampling or prompting strategies are insufficient to mitigate the behavior. Moreover, our results suggest that the root causes of generative monoculture are likely embedded within the LLM's alignment processes, suggesting a need for developing fine-tuning paradigms that preserve or promote diversity.
[ -0.5305419564, -0.6078157425, -0.0854099318, 0.1741988659, -0.3159658313, 0.1402415037, -0.4376484752, -0.2832970619, 0.2391430438, 0.5414179564, -0.7315234542, -0.6568490863, -0.5115257502, -0.011800372, -0.4891825318, 1.3624823093, 0.0832389295, -0.02892139, -0.5603966117, -0.3818593919, -0.4025212228, -0.7065507174, -0.6624843478, -0.38989079, 0.6586686373, 0.3956705332, 0.7167041898, 0.6240522265, 0.3540269136, 0.2292349339, -0.2939312756, 0.0333686508, -1.0637546778, 0.4332664013, -0.0496713147, -0.4795644879, -0.3076354563, -0.1643489301, 0.6997730732, 0.8576021194, -0.2631156445, 0.2483393103, 0.527308166, 0.8537835479, -0.4450494051, -0.190271467, -0.2255051434, 0.3090605438, -0.3597083092, -0.1734995991, -0.4859931767, -0.2380802482, -0.0656898096, -0.4415744841, 0.3181572556, -0.2213159949, 0.5928397775, 0.0934105068, -0.4856721759, -0.2623927891, -0.9686613679, 0.9268113375, -0.448443085, 0.1065096408, -0.0329011008, -0.1765868515, -0.0137380222, -0.0369688049, -0.4956948459, -0.0091974447, -0.0370163843, 0.2559607029, -0.1661767513, 0.0750775337, 0.2743863463, 0.6128324866, -0.5901700258, 0.3771364093, -0.4237111211, -0.1829063743, 0.4946941137, 0.2590400577, 0.3529853821, 0.0399480946, -0.421575278, -0.236287728, -0.832559526, 0.1794526577, 0.6313022971, 0.1387872994, -0.0830640942, 0.3368735313, -0.1624942273, 0.4417103529, -0.3947102427, -0.043446999, 0.3436546028, -0.5868730545, -0.0988734066, -0.2354734242, 0.6713526845, 0.2944217324, 0.3586153686, 0.1702940315, -0.1946045756, 0.1318120956, 0.3430071175, -0.665250361, 0.1199709922, 0.0551419035, -0.6424852014, -0.4780811071, 0.0758638084, -0.9418792725, -0.4182932675, -0.1861018836, -0.0829667896, -0.1052381247, -0.3960717022, 0.1717306674, -0.3582392633, 0.1166721731, 0.1480216086, -0.9311330914, 0.1048075706, 0.5788298845, 0.7061669827, -0.5315746665, -0.4108769894, 0.0091827745, 0.1290702224, -0.4374391437, 0.3488402367, -0.3956438601, -0.6839280725, 0.1860335916, -0.3589241505, 0.2365628332, -0.7768003345, 0.3888743222, -0.4965469539, -0.0823530704, -0.3169401586, -0.2815666795, 0.0745702162, 0.3403646648, -0.6017952561, 0.6323122978, 0.0496738814, -0.6724401712, 0.7068535089, -0.4114056826, -0.6096696258, 0.0747643188, -0.236790508, -0.3956874907, 0.1880948991, -0.0925395042, 0.0028320651, -0.1571993381, 0.1066635624, -0.4465434551, -0.2524718642, 0.1547208428, -0.5831503868, 0.7909560204, 0.269044131, -0.1022461355, 0.2286995649, -0.4001713693, -0.1848500222, 0.099279359, -0.6444125772, -0.6942103505, 0.1307097822, -0.2479605824, 0.1243516505, 0.1128875539, -0.3506227434, 0.5823295116, -0.180333212, 0.0722581968, 0.8889547586, 0.118210718, 0.430871129, -0.7325794697, 0.8146244287, 0.3582081497, 0.4311410189, -0.2719199955, -0.3854821622, -1.0580815077, -0.2489402592, -0.0578776561, 0.2140898108, -0.7060833573, 0.1926383972, -0.3318886161, -0.4544171691, -0.452996552, 0.5355032086, 0.3786337376, 0.0303632859, 0.1059149429, -0.606292367, -0.4582439065, -0.9370765686, -0.0866785049, 0.0532532297, 0.1696529835, 0.0476802662, 0.2492230386, -0.4718590975, 0.7048054338, -0.3233643174, -0.30484128, -0.3396669328, 0.3882077932, 0.3188532293, 0.5854578614, 0.4684492648, -0.7806816697, -0.3405802846, -0.1045325249, -0.8370138407, 0.0289724059, -0.1046508104, -0.2298786938, 0.3330031335, 0.5050863624, -0.4430361986, 0.2151025534, 0.7495396137, -0.1623561829, 0.5266728997, 0.0615186542, 0.0348121338, -1.0206254721, -0.3468694389, 0.0868332982, 0.0864410251, -0.5494419932, 0.4542202652, -0.3505296111, -0.0344987176, -0.0391066633, 0.1485814005, -0.4821725488, 0.3107565045, -0.1549651325, -0.2343583703, -0.077313602, 0.2128336281, -0.0541386306, 0.7769089341, 0.6326622963, -0.7587020397, 0.2280299366, 0.2289902419, -0.4663204253, 0.1040422842, -0.2215482742, -0.0231653154, -0.4132741988, 0.1004541367, -0.888163209, -0.0827003866, -0.054227449, -0.1324383765, 0.369869113, -0.0313609913, -0.4999695122, -0.4327312112, -0.5147181749, 0.6649973989, 0.6571959853, -0.501049459, 0.134395957, 0.3217236996, -0.3119526803, -0.6673609614, -0.7765382528, -0.1427702308, -0.1524117887, -0.6885583401, -0.1080894545, -0.2378928065, -0.1696517169, -0.2085974813, -0.2923858464, 0.2864337862, 0.1900427788, 0.0439963713, 0.1973822117, -0.4672615528, 0.2810702026, 0.2185333967, 0.3245702684, -0.038675759, -0.3827595413, 0.7249982953, 0.1131892577, -0.5115357637, 0.0479713082, 0.564322412, 0.7705000639, -0.2049645633, 0.9144983888, 0.2197171003, 0.0845505297, -0.8460246921, -0.3715177178, -0.2732181251, -0.4777888358, 0.4107303321, -0.1093623787, -1.1876388788, 0.5055958033, 0.1334113926, -0.0834719986, 0.3264933228, 0.7056215405, -0.0989641771, 0.89771384, 0.8200250864, -0.1814069301, 0.5889977813, -0.2227893323, 0.0821098909, -0.5166941881, -0.1135180593, -0.4051165879, -0.4081385732, -0.9118354917, -0.3248474896, 0.5659365058, 0.0433799624, -0.0685368553, -0.038280353, -0.5063294768, 0.5558543205, 0.7441549897, -0.0404657014, 0.4623216987, 0.1746664494, -0.1790446043, 0.1026511565, -0.9882639647, -0.5256478786, 1.1427369118, 0.3178635836, 1.1488959789, 0.3169170618, 0.9946060181, 0.3985007107, 0.7746654749, -0.7375611067, 0.5072086453, -0.4974582195, -0.7630764246, -0.4203164577, -0.6215717196, -0.8259291053, 0.1836161166, -0.1019329503, -0.4658450782, 0.3669396341, 0.5019892454, -0.1093944311, 0.2767889798, -0.5428190231, 1.0487464666, -0.1439003199, -0.5264394283, -0.2163547873, -0.1271535456, 0.6146143675, -0.2367201596, 0.3014701605, 0.2059390396, 0.2416277379, 0.4818803072, -0.0159489624, 1.10896945, 0.0473426171, -0.4076051116, 0.2492004931, 0.3790991902, 0.3205781281, -0.0320928842, -0.0996304154, 0.2335963696, -0.065402776, -0.4436070919, -0.2155819833, 0.7455146313, -0.9073457718, -0.9626752138, -0.3486777544, -0.6150949001, -0.1470436603, 0.1539694965, 0.5732980967, 0.2350561917, -0.3275227845, 0.4533289969, 0.8756520748, -0.3726532161, 0.0897832587, 0.2171141207, -0.5103936195, -0.0082153603, 1.033570528, 0.1652013808, 0.6376932859, 0.1531425714, 0.11028824, 0.1536673009, -0.8074413538, -0.1858101189, -0.1446677297, -0.8623422384, -0.0510091297, -0.365252912, -0.1637469083, -0.4277240336, 0.0144420881, -0.1338818669, -0.1220209897, -0.2507627606, -0.1485442817, -0.2013101429, 0.862107873, 0.1376762688, 0.1988950074, -0.767721951, 0.1578801274, 0.3328540921, 0.5290738344, 0.1385109872, -0.3690783381, -0.3607738912, 0.0603495091, -0.5253228545, -0.6552733779, 0.1731420308, 0.1167928278, 0.4819042683, 0.6991048455, 0.012866931, 0.2634178996, -0.2253096849, 0.7179346681, 0.2050460428, -0.6957288384, 0.249169305, -0.6083832383, 0.569378376, 0.3960336447, 0.4775786996, -0.8765996695, -0.9233853221, -0.1061487868, -0.9509955049, 0.6864283681, 0.0222013351, 0.7419938445, -0.2445041835, -0.0851238146, 0.3607161641, 0.4781894982, -1.1111645699, -0.339923501, -0.3847100735, -0.027512474, -0.2026712447, -0.621193409, -0.3880537748, -0.2640544176, 0.6595993042, 0.0211785547, -0.0833525658, 0.0121869976, -0.0662939176, -0.3852836192, 0.5100851059, 0.696739316, 0.5945409536, 0.0357140005, 0.1239300743, -0.2491776943, -0.2038787305, 0.2072002888, -0.2408487946, -0.5675657392, -0.241008848, 0.3986299932, 0.7167529464, -0.1567371935, -0.4470199347, 0.3846161962, 0.2343715131, -0.1116167158, -0.2301682085, 0.3185459971, 0.0247857682, -0.0295480471, 0.2652916312, 0.1460278034, 0.0275378954, -0.9179279804, 0.2075809985, 0.6453230977, -0.1206389889, -0.0358113907, 0.4151495993, 0.4210238755, 0.0088894134, 0.6403240561, -0.4705771208, -0.4335524738, 0.771609962, 0.5443770885, 0.8571403623, -0.053572081, 0.238303557, 0.3816486299, 0.7242226601, -0.0470309108, -0.0315775387, 0.0353183635, -1.0809130669, -0.3989786804, -0.9554624557, -0.2177451998, 0.2264102101, -0.6704905033, 0.2527760267, -0.36922279, -0.141373843, -0.0632498413, -0.8191447258, -0.2849607766, -0.0704119653, 0.5576905608, 0.8036673665, -0.9728973508, 0.7175415754, 0.7088021636, -0.6621752977, -0.3858154118, 0.3547716737, 0.1286911368, -0.5333685279, 0.678417623, 0.1299816519, -0.1382827163, -0.1446406543, -0.5435154438, -0.6880493164, 0.6279343367, 0.2667141259, -0.7335603237, -0.0126163643, 0.31993258, 0.7674771547, -0.3104226887, -0.3333486915, 0.2470549941, 0.281042546, -0.084461242, -0.6121607423, -0.0466847755, -0.2806365192, 0.2353927642, 0.4581631422, -0.8128855824, 0.8549795151, -0.0912996382, -0.320286721, 0.1303132474, 0.4122155011, 0.119556196, 0.1425491571, 0.3776770532, 0.5360301733, 0.4594656527, -0.1535664201, 1.1550270319, -0.2296370119, 0.5130486488, 0.9564259052, -0.2407818139, 0.3597409427, 0.5506930947, -0.0563948341, 0.4584002197, 0.463534683, -0.2394472957, 0.2151559591, 0.6115258932, -0.4978144765, -0.4180727601, -0.1848416179, -0.2306837142, 0.356810838, 0.1761611849, -0.3927912116, -0.0692691579, 0.2024286091, -0.1309808493, 0.1564436406, -0.3553600013, 0.8517439961, 0.044992324, -1.0292235613, 0.6543792486, -0.2711022496, 0.9632116556, -0.763227582, 0.0749508962, -0.6068187952, 0.0716336519, -0.3487576246, -0.5973944664, 0.249039337, -0.0815505981, -0.7522795796, -0.5383539796, 0.4908530414, -0.6309714317, -0.3499304354, 0.5941035748, 0.547926724, -0.2291442901, 0.3007069528, -0.269515872, 0.1445596665, 0.1528295875, -0.3338849545, 0.447614789, 0.443110913, -0.1305817217, 0.6349952817, 0.5893037915, 0.2300113142, 0.3410398066, 0.2010734677, 0.939445734, -0.3039179146, -0.3554338217, -0.9264830947, 0.3389707506, -0.0254465919, -0.1817640811, 0.7834566236, 0.5866903067, 1.3275655508, -0.3494662046, 0.9496078491, 0.0609626509, 0.077711679, -0.3729431629, 0.8128558993, -0.7213852406, 0.4321360886, -0.1237395853, -0.8851490617, -0.0438260064, 0.0602504089, -0.0686344877, 0.2609895468, 0.6245856881, 0.8342849612, -0.1305074394, -0.0443796255, 0.5452905893, 0.3907409906, 0.0141517958, 0.0956777483, 1.0900623798, 0.3458070457, 0.7203409076, -0.216166988, -0.3115335405, -0.0019727889, -0.7100247145, -0.6501920223, -0.3897979856, -0.4596038461, -0.3665692508, -0.0104159117, 0.765879035, 0.5628285408, -0.9148320556, -0.6530580521, -0.1719004214, 0.3193996251, -0.2436727583, -0.2414428145, -0.3038185537, -0.6424438953, -0.678093195, 0.0303515494, 0.2953262627, 0.055151213, -0.3884424269, 0.0270053111, -0.0239624139, 0.0588230193, 0.6149555445, 0.2417753339, -0.3562009931, -0.1221512854, -0.1353942305, -0.2298221588, 0.1777027845, 0.9283643961, -0.130607754, 0.8134500384, 0.3787257671, 0.5242671371, 0.1615255475, -0.1063168719, 0.6257965565, -1.0075116158, 0.0173947811, 0.2967728972, 0.3226962984, 0.2580631971, -0.1509836614, 0.1986707002, 0.4559741318, -0.374160409, -0.719871521, 0.6255944967, -0.6602743268, -0.2987139225, 1.2898439169, 0.0637017041, -0.054777272, 0.1605119556, 0.0249574147, 0.2939175963, -0.3277209401, 0.8841745257, 1.1504291296, 0.0933517516, -0.0476947799, -0.4772521853, 0.5629273653, 0.6770023108, -0.7101051807, 0.2561021745, 0.5591813326, 0.3134199083, 0.4148895442, 0.445121944, -0.1519079953, 0.2776545584, -0.2225266099, 0.3608885109, 0.1679649502, -0.2591426373, -0.5500617027, 0.3776069582, 0.4981420636, 0.1263661683 ]
http://arxiv.org/abs/2407.02208v1
http://arxiv.org/pdf/2407.02208v1
How to Learn in a Noisy World? Self-Correcting the Real-World Data Noise on Machine Translation
2024-07-02T12:15:15
2024-07-02T12:15:15
Yan Meng, Di Wu, Christof Monz
cs.CL
cs.CL, cs.AI
The massive amounts of web-mined parallel data contain large amounts of noise. Semantic misalignment, as the primary source of the noise, poses a challenge for training machine translation systems. In this paper, we first study the impact of real-world hard-to-detect misalignment noise by proposing a process to simulate the realistic misalignment controlled by semantic similarity. After quantitatively analyzing the impact of simulated misalignment on machine translation, we show the limited effectiveness of widely used pre-filters to improve the translation performance, underscoring the necessity of more fine-grained ways to handle data noise. By observing the increasing reliability of the model's self-knowledge for distinguishing misaligned and clean data at the token-level, we propose a self-correction approach which leverages the model's prediction distribution to revise the training supervision from the ground-truth data over training time. Through comprehensive experiments, we show that our self-correction method not only improves translation performance in the presence of simulated misalignment noise but also proves effective for real-world noisy web-mined datasets across eight translation tasks.
[ -0.1432160139, -0.6385335922, 0.3155628145, 0.2089848071, -0.2326544821, -0.2868331969, -0.2525452077, -0.55194664, -0.0025060833, 0.4337285161, -0.8170878291, -0.5107380748, -0.6188063622, 0.2632877231, -0.5806437731, 0.9718401432, 0.0663522929, 0.2985774279, -0.0846914425, -0.014734678, -0.4170792699, -0.4816585183, -0.4403859079, -0.1883523166, 0.4981853366, 0.425511241, 0.8018534184, 0.8910737634, 0.5327236652, 0.321389854, 0.0816294327, 0.3109875917, -0.6391942501, 0.3130186498, -0.2869923711, -0.5504879951, -0.1224741563, -0.0009029027, 0.3828882277, 0.4451103508, -0.242333129, 0.0696606636, 0.0940693095, 0.5923823118, -0.2781966329, 0.1479535401, -0.5938404202, 0.2479700148, -0.2231838405, -0.011951373, -0.1351582408, 0.0720015392, -0.2161601186, -0.9238377213, 0.3883714378, 0.197092697, 0.9388526082, 0.8812687397, -0.2202663571, -0.1214762926, -1.0589116812, 0.8704778552, -0.6315789223, 0.7228574753, 0.5361304283, 0.2185842842, -0.3698446453, -0.5340054631, -0.4702471495, 0.2774173319, 0.0151471924, 0.3375942707, 0.0388513841, -0.2300016582, 0.2522318065, 0.1769853085, -0.4796049893, 0.1656615734, -0.5524879098, -0.284953028, 0.4796248972, -0.023503026, 0.2074858546, 0.2134292722, -0.1694372445, -0.4217291772, -0.5454890728, -0.290006429, 0.3623172343, 0.3997151554, 0.0211500973, 0.071121648, -0.3316639066, 0.6108919382, 0.222349301, -0.35022524, 0.2719257474, -0.3072367311, -0.0288453903, 0.2095051855, 0.6268268824, 0.3598131239, 0.292234391, -0.3931505084, -0.33805722, -0.0845091343, 0.6496397853, -0.6099420786, -0.3607918918, 0.0576480888, -0.4475709796, -0.3443880379, -0.1331412643, -0.5469747186, -0.1840320826, -0.6385638118, 0.6276893616, -0.2997609675, -0.2446386963, 0.3562453091, 0.2596213222, -0.0212788768, 0.4714651704, -0.6523203254, 0.2299982756, 0.4891830683, 0.6954504251, 0.0446455181, -0.5324026346, -0.4630772769, 0.2120258361, -0.3902201056, 0.8402129412, 0.0239322335, -0.1832554638, -0.0847059265, -0.0700844154, -0.1222053394, -0.8685618043, 0.498880893, -0.3486571312, 0.1360851973, -0.2319618016, -0.4087156057, 0.0705269054, 0.1972143501, -0.4356380105, 0.9618386626, -0.0189702623, -0.64294976, 0.3969674408, -0.4235367477, -0.5338435769, -0.377515763, 0.056386549, -0.7732714415, 0.0262376536, 0.2875642478, 0.237595588, 0.1874980181, 0.2633841932, -0.1068818942, -0.3884434402, 0.2334134579, -0.4606210589, 0.5373314023, 0.590816319, -0.2825116813, -0.1589201689, -0.6089693308, -0.2299821228, -0.0105408402, -0.2008896172, -0.3520430923, 0.1095454395, -0.288377434, 0.5006607175, 0.048214756, -0.4742713571, 0.201362282, -0.5258423686, 0.1021321639, 0.6801654696, -0.1803047061, 0.2802956104, -0.3313933611, 0.2583419383, 0.6126423478, 0.326823324, 0.0945351943, -0.2937768102, -0.8408911824, 0.1577285081, 0.5503979921, 0.4975667596, -0.4906650186, 0.2364979833, -0.3706693947, -0.2107900083, -0.993743062, 0.5854818225, 0.3255367577, 0.6757067442, 0.8200333714, -0.1615720391, -0.6511492133, -0.6071229577, -0.695530951, -0.0829684138, 0.1564468145, -0.2724051774, 0.3989448845, -0.4425051212, 0.7601061463, -0.3617968261, -0.6549092531, 0.2662275434, 0.3431685865, -0.1658190042, 0.7987411022, 0.1037815809, -0.7656735778, -0.3453115225, -0.1910093874, -0.7856505513, -0.3225651681, -0.1865720749, -0.2468775511, -0.0399147011, 1.0471231937, -0.3873918056, 0.3359665275, 0.4360785782, -0.0374636427, 0.5706634521, -0.4565608799, -0.0265846755, -0.9270725846, -0.1033346802, -0.1023604348, -0.4577190876, -0.4231177568, -0.210314706, 0.0724446177, 0.0458592623, -0.3284289241, 0.3043776453, -0.423160255, 0.1910894215, -0.3900458217, 0.252969414, -0.1836799234, 0.2581523061, -0.2049556971, 0.8758220673, 0.2147129029, -0.9765145779, 0.0386138372, 0.2433191836, -0.3296999633, 0.5330357552, -0.2577508986, -0.1173591167, -0.3040687144, 0.21558173, -0.7342620492, -0.1359417737, 0.3435381353, -0.4609993994, 0.3773938715, -0.2585305572, -0.6151062846, -0.3763467669, 0.4243636727, 0.3210855424, 0.4203843474, -0.6063899398, 0.1108768508, 0.3311085105, 0.093278423, -0.5810126066, -0.7808775306, 0.0446836539, -0.1609269232, -0.4446211159, 0.3340375125, -0.0485829115, -0.1377732456, -0.0402733907, -0.4791978598, -0.1805808544, 0.2484541833, 0.3705703914, -0.2184607685, 0.014556665, 0.5671172738, -0.0250156503, -0.4049604237, 0.1171175614, -0.6599624753, 0.2705114782, -0.0427103415, -0.41220662, -0.480109185, -0.054194171, 0.3452958763, -0.0148449503, 0.5530305505, 0.779094398, -0.3365473747, -0.1962697208, -0.6001362205, -0.3245436847, -0.5033050179, 0.4252764583, -0.4288706481, -0.4171657264, 0.2295435518, -0.5393178463, 0.053632915, 0.5366309285, 0.1943694651, -0.5753132105, 1.1669124365, 0.6125386357, -0.1554462463, 0.5069710016, -0.2506408691, 0.3750067949, -0.5172813535, -0.1065458879, -0.5805522203, -0.6010715365, -0.4826470315, -0.5951176882, 0.2579925954, 0.3186089694, -0.1669271886, 0.4200039804, -0.3116255701, 0.4758172929, 0.643779695, 0.053285934, 0.5641371012, 0.330117166, -0.3167031109, -0.4909988642, -0.7908543944, -0.2235217839, 0.793371141, 0.1038116515, 0.9976571202, -0.0593515076, 0.8589641452, 0.1080607697, 0.1952293068, -0.516725719, 0.1101526245, -0.1381864548, -0.4627680779, -0.3838777542, -0.5755597353, -1.0800807476, 0.3545749485, -0.3123686314, -0.170792222, 0.0587758832, 0.4654629529, -0.0936446562, 0.3467459381, -0.4728001654, 1.0151532888, -0.3658265173, -0.19132258, -0.4254183769, -0.8168796301, 0.0894602984, -0.1361332685, 0.7568486929, -0.0269305538, 0.2913698256, 0.5780493021, -0.3471149206, 1.0445713997, -0.2441146523, -0.2035534978, 0.1730839014, 0.3230501413, 0.5785739422, -0.3237577975, 0.0816851929, 0.2816594541, -0.1222645342, -0.3263254166, -0.6106184125, 0.5286568999, -0.9774122834, -0.4742887616, -0.2710173726, -0.5205381513, -0.1431337148, 0.3152586222, 0.5249193311, 0.0413192175, -0.2733753324, -0.0225028731, 0.7210844755, 0.1106791943, 0.1644632816, 0.7069214582, -0.2781732678, -0.1973428726, 1.2861030102, 0.5267643929, 0.0594838671, 0.2394589931, 0.200036332, -0.3651480973, -0.3504098058, -0.5258325934, 0.1788844317, -0.5385118723, -0.3734021783, -0.7357978821, -0.1543053985, -0.5791176558, 0.0084404862, -0.7438585162, -0.4623451531, -0.1783097088, -0.098071754, 0.1499082297, 0.840860486, -0.5467038155, 0.6847246885, -0.8321064711, 0.2718359232, 0.1683823317, 0.4914318025, -0.2282309085, -0.7276659012, -0.7546631694, 0.4233464599, -0.5087346435, -0.5238060355, 0.4945602119, 0.2389995903, 0.4428741038, 0.2580901086, 0.2637004554, 1.1964832544, -0.4888408482, 0.4104143381, 0.0570398569, -0.8296267986, 0.5801261663, -0.0993195474, 0.2311446071, 0.6197220087, 0.1988963336, -0.779296875, -0.6297857165, -0.7566070557, -0.6579010487, 0.6997529268, 0.2622382045, -0.0550593138, 0.1093478799, 0.5347518325, -0.0502621196, 0.0663037971, -0.7977758646, -0.2782277465, -0.4051857889, -0.4361618459, -0.0937694311, 0.1836597323, -0.014419606, -0.3217735887, 0.9038158655, -0.058919739, 0.0305891335, 0.5093986988, -0.5886940956, -0.4392451346, 0.0199878234, 0.378960073, 0.1316592842, 0.0764228925, 0.1749984622, 0.2325531244, -0.4049747884, 0.1986643672, -0.1517637521, -0.3842193484, 0.1137070507, 0.0785442591, 0.536598146, 0.3257569373, -0.4330090284, 0.6116402745, 0.0179014467, -0.1987372339, -0.1733403653, 0.0324334577, 0.1048624068, 0.0028226657, -0.0042256922, 0.4575308263, 0.1636320204, -0.2207888514, 0.3117738962, 0.0382852182, -0.6052598357, -0.2453626543, 0.6405063868, 0.1390044391, -0.1594334692, 0.7260776162, -0.2678501904, -0.5911253095, 0.4873230159, 0.8302786946, 0.5470712185, -0.4328142405, 0.0984912813, 0.5579838157, 0.4380805492, -0.5572519302, 0.0377628841, -0.1029531658, -0.7444170713, -0.4904368818, -0.5853700638, -0.2314798981, -0.1358788013, -0.536115706, 0.213413015, -0.1662036926, -0.1178847775, -0.3772113919, -0.2288028449, -0.7208380103, 0.4991367459, -0.0285814777, 0.5159941316, -0.9029656649, 0.8699263334, 0.5505163074, -0.3188888729, -0.6639260054, 0.1884242445, 0.0745083913, -0.7874063253, 0.6822804213, 0.2260167599, -0.3017337918, 0.1070556417, -0.8072847128, -1.0983929634, 0.7368048429, 0.3189254999, -0.6499202251, 0.2044256032, 0.3682630062, 0.6252584457, 0.009131032, -0.3550555408, 0.3339411616, 0.5381509066, -0.1732316762, -0.7919822335, -0.2645899057, -0.0624639392, -0.2259621322, 0.2441339493, -0.9045834541, 0.546995163, -0.09529569, -0.3290758431, -0.2513666153, 0.6552128196, -0.334977746, 0.0768386498, 0.5710780621, 0.8504652977, 0.9185134172, 0.0029503431, 0.5619974136, -0.4673862457, 0.4412479401, 1.5570474863, -0.0815748572, 0.657592237, 0.4264434576, 0.0617750958, 0.3632757664, 0.4800905883, -0.0677441284, 0.4444221854, 0.2542982996, -0.0566877127, -0.6353181601, 0.1062894538, -0.3943978846, 0.3685581088, 0.4482861161, -0.1115438044, -0.4429409504, 0.0689239204, -0.1964775175, 0.229722023, -0.0895927772, 0.9927552938, 0.2134792209, -0.5647657514, 0.5051491261, 0.1672523767, 0.5761079192, -0.3261388242, 0.0307138283, -0.1900396645, 0.3893496394, -0.1836119592, -0.4610777795, 0.6965056658, -0.21312581, -0.2455320209, -0.5058760643, 0.6884986758, -0.6734349728, -0.3894700408, 0.4114261568, 0.5593157411, 0.4600299299, -0.3447347879, -0.7116445899, -0.0696117207, -0.0774129406, 0.1520207971, 0.4581369162, 0.7141427994, 0.1347597837, 0.8618851304, 0.6262133121, 0.1057388857, 0.3611504138, 0.0099093439, 0.5441101193, -0.7214432359, -0.5023248792, -0.5992838144, 0.1380961686, -0.0071928306, -0.3177930117, 0.5989255309, 0.5834878087, 1.2715719938, -0.1305797696, 0.5789709091, 0.3969194889, 0.6700009108, -0.4582361579, 0.7086346149, -0.5587581396, 0.1615656465, -0.0890314355, -0.6363403201, -0.4831210077, 0.9537692666, -0.1748659611, -0.3231485784, 0.5004780293, 1.0603039265, -0.2987504601, -0.1297756732, 0.5892115235, 0.8197449446, 0.1450383663, 0.047405798, 0.6773023009, -0.9380834103, 0.9102224708, -0.5011052489, 0.2614979148, -0.2360513359, -0.6057032347, -0.3491946161, -0.461117655, -0.5565422177, -0.460724771, 0.2939769626, 0.949753046, 0.8841904402, -0.8546599746, -0.2188756019, -0.2447462082, 0.2437868863, -0.4780104756, -0.1407371312, 0.0040514111, -0.8919674158, -0.7635398507, 0.5342543125, 0.0435620509, 0.3498277366, 0.1542256027, -0.2365733832, 0.0234886985, -0.2950092554, 0.3159260154, 0.2773859799, -0.6084127426, -0.1137320399, -0.3497068584, -0.4658207297, 0.2565433681, 0.6438029408, -0.7144794464, 0.733207047, 0.1078929901, 0.5411373973, 0.5899451375, 0.1533725709, 0.5431727171, -0.9045960307, 0.1876012981, -0.0990746319, 0.1907478869, 0.2827978134, -0.5327976346, 0.617590785, 0.4297676682, -0.6377145648, -0.5567051172, 0.0463581197, -0.4724758863, -0.3624688089, 0.8021469712, -0.0990163535, -0.2170988172, -0.4838323295, -0.2877330184, 0.6934600472, -0.2105675936, 1.1603953838, 0.7417982221, 0.1603490412, 0.2175299674, -0.5446594954, 0.6365604997, 0.6960945129, -0.3671425283, 0.2639400661, 0.5081595778, 0.5040974021, 0.1465081275, 0.3429816067, -0.190614894, 0.0392117687, 0.0338049233, 0.1884501576, 0.09324985, -0.4546174705, -0.4396539629, -0.3601504862, -0.0415904187, -0.129610613 ]
http://arxiv.org/abs/2407.02203v1
http://arxiv.org/pdf/2407.02203v1
Automatic Adaptation Rule Optimization via Large Language Models
2024-07-02T12:06:40
2024-07-02T12:06:40
Yusei Ishimizu, Jialong Li, Jinglue Xu, Jinyu Cai, Hitoshi Iba, Kenji Tei
cs.CL
cs.CL, cs.AI
Rule-based adaptation is a foundational approach to self-adaptation, characterized by its human readability and rapid response. However, building high-performance and robust adaptation rules is often a challenge because it essentially involves searching the optimal design in a complex (variables) space. In response, this paper attempt to employ large language models (LLMs) as a optimizer to construct and optimize adaptation rules, leveraging the common sense and reasoning capabilities inherent in LLMs. Preliminary experiments conducted in SWIM have validated the effectiveness and limitation of our method.
[ -0.3143674731, -0.6044090986, 0.7163339853, 0.4911649227, -0.4214349687, -0.2665762603, -0.3172854483, -0.3492308259, -0.1583052427, 0.6587969661, -0.616163075, -0.3240387738, -0.4208760858, 0.2790181935, -0.1545292139, 0.5400404334, -0.1808887869, -0.233799234, -0.017256815, 0.0262690708, -0.6973744631, -0.33572191, -0.656342268, -0.3950583637, 0.2065673172, 0.6053544879, 0.5648921728, 0.9086821079, 0.6213436127, 0.2503472865, -0.002797086, 0.3731505275, -0.5624561906, 0.2777799368, -0.4741990566, -0.4503632188, -0.3953776062, -0.4304774702, 0.5268957019, 0.3706581891, -0.2050579637, 0.1209908798, -0.0549011938, 0.7424194813, -0.992561996, 0.4261466861, -0.6480350494, 0.1024967432, 0.3173704743, -0.4950599968, -0.4665887058, -0.2953814864, 0.1961366832, -0.8256116509, -0.2606621683, 0.2397246659, 0.314214319, 0.4654902816, -0.3381780684, -0.6147034764, -0.8206080794, 0.8112470508, -1.0541472435, 0.5442119241, 0.1806132197, 0.1346941143, -0.5483477712, -0.3075958192, -0.537476182, -0.2009821683, 0.189748168, 0.0183990486, -0.1636245102, 0.0667088851, 0.1455350071, -0.0594017729, -0.5818391442, 0.3018150628, 0.0259683877, 0.0452426486, 1.0701951981, 0.2436034977, 0.4317062497, -0.0829367042, -0.1432029009, -0.0386356302, -0.5797038674, -0.0607044771, -0.0837974921, 0.5018591285, -0.1676815003, 0.3830227256, -0.2026218623, 0.7898882627, 0.1302752644, -0.5649886131, 0.0650482997, -0.093480289, -0.107851021, -0.0167284701, 0.3575905263, 0.5751671791, 0.7182084918, -0.1577755362, -0.4964977801, -0.2957887948, 0.190688163, -0.8405606151, -0.0115369819, -0.0928272456, -0.4630127549, -0.1243156418, -0.2822036445, -0.754381597, -0.498950541, -0.7686102986, 0.8602152467, -0.2816574574, -0.1795283407, 0.485117048, -0.0582504123, 0.581296742, 0.4976045489, -0.9584243894, 0.6535230279, 0.6090111732, 0.8837545514, -0.2724337578, -0.2648768425, -0.4979529679, 0.4183261395, -0.406835109, 0.7341010571, -0.3259514272, -0.4096203446, -0.0397303253, -0.0003502897, -0.4735429287, -0.3946795464, 0.5510852933, -0.5692637563, -0.1226347759, -0.0599479526, -0.8159655929, -0.2693028152, -0.1409763247, -0.4877102375, 0.5821415782, 0.0372850858, -0.4031597972, 0.3067786098, -1.1162230968, -0.7666483521, 0.0122659206, 0.2855532169, -0.2622834742, 0.2781528831, 0.3578622043, 0.6454863548, -0.3940016627, -0.0119754421, -0.4645295143, -0.4204311669, 0.2277093977, 0.0467095822, 0.6306581497, 0.4334000349, -0.413998723, 0.1052550226, -0.5474621654, 0.0043461011, 0.3569660485, -0.6533197165, -0.5016135573, 0.6050338149, -0.0635458156, -0.0813439414, 0.1215201914, -0.042513933, 0.3056889772, -0.3131439686, 0.501091063, 0.924996376, 0.1845581532, 0.5132542849, -0.3431920707, 0.460485518, -0.3295232952, 0.1999209076, -0.1174217761, -0.0728611052, -0.786839664, -0.3833842874, 0.063578859, 0.6976367235, -0.3565149009, 0.8151816726, -0.2312332988, -0.3391375542, -0.1801701635, 0.5547701716, 0.0277212411, 0.2500326335, 0.2933014333, -0.1301907152, -0.5216501355, -0.5684819818, -0.2794950008, -0.016203085, 0.1357158571, 0.3478907347, 0.6674849391, -0.4152242541, 0.7655121684, -0.6880139112, 0.0899865031, -0.3204263151, -0.3198880255, 0.4226012826, 0.1690669507, 0.9593942761, -0.6436773539, -0.5071634054, -0.1347216964, -0.7277949452, -0.3260440528, -0.2270600796, -0.1747136712, 0.0776553527, 0.8292882442, -0.2994828224, 0.1974268109, 0.756490469, -0.3692754805, 0.5889873505, -0.524654448, -0.1435302496, -0.9627085328, 0.0431594923, 0.2981337905, -0.354149133, -0.5466035008, 0.2841603756, 0.1080626547, 0.0427253768, -0.091377005, 0.8018032908, -0.6785385013, -0.108343184, -0.5261964202, 0.0378497131, -0.1168269292, 0.3728482127, 0.1728060246, 0.7714990973, 0.6466033459, -1.1529057026, 0.4891772866, 0.2065883428, -0.3603903949, 0.5682444572, -0.680362165, 0.0949161574, -0.281358391, 0.1943910122, -0.8832111359, -0.5085554123, 0.1465159059, 0.141760692, 0.3260753155, -0.146556735, -0.3225442767, -0.5020781159, -0.2626382411, 0.3163876534, 0.5526175499, -0.7856211662, 0.7750918865, 0.4308912754, -0.2548582256, -0.113551341, -0.2828663588, 0.027227534, -0.4735704362, -0.6228889823, 0.051388707, -0.5318862796, -0.328936547, -0.4190096855, 0.0817020237, 0.0281021968, 0.3723117113, 0.1522569805, 0.0463408493, -0.4493259788, -0.0189580023, -0.0239667334, 0.2233528048, 0.0729611441, -0.2803563178, 0.494884491, -0.2122794986, -0.3183412552, -0.4405082166, 0.3054633439, 0.9283254147, -0.1841012388, 0.6774556041, 0.0506522059, -0.179516837, -0.6012611985, -0.5022107363, -0.0899309143, -0.532666862, 0.6528109312, -0.5477847457, -0.5396398306, 0.4965076149, -0.3497422338, -0.0944130495, 0.3439131975, 0.673261404, 0.0029336039, 0.9425442815, 0.7031597495, -0.239788115, 0.5892474055, 0.1423673481, 0.1373704076, -0.8057892323, 0.0217422899, -0.6334373951, -0.1031496376, -0.5251600742, -0.5416872501, 0.2705276012, 0.046619501, -0.4454620779, 0.4228090346, -0.3972047269, 0.5060189366, 0.4642039835, 0.35249421, 0.2072722912, -0.1724002361, -0.1073671058, 0.0987481177, -0.8523119092, -0.1943795681, 1.1464354992, 0.5770509243, 1.2219395638, 0.3712334037, 0.6108570695, 0.375608474, 0.1174699739, -1.1375640631, 0.5152103305, -0.167894721, -0.4653072059, -0.5370536447, -0.400556922, -0.87571913, 0.1767789423, -0.4164194763, -0.6616283059, 0.1311808825, 0.0892962962, -0.1407834589, 0.1189046949, -0.8589609265, 0.5991559625, -0.5398151278, -0.0693288967, -0.2413356006, -0.4515660107, 0.2093070149, -0.7630768418, 0.6290831566, -0.04510298, -0.0986401886, 0.752707839, -0.2091512084, 0.8314859271, -0.1228246316, -0.1005871817, 0.2214682102, 0.1736532748, 0.6334050894, -0.4117637873, -0.1317667216, -0.3158091605, 0.0566538908, -0.4198227525, -0.4189710021, 0.4851399064, -1.0960986614, -0.5366336107, -0.2570024729, -0.7203128934, -0.2973282933, 0.4077423811, -0.1707487702, 0.1414533108, -0.290671885, 0.1727529317, 0.7422621846, -0.2695765197, 0.7146584392, 0.8277547956, -0.2555024028, -0.368583858, 0.7025967836, -0.0960419849, 0.1622910798, 0.3629725277, 0.6046358347, -0.4916828573, -0.9393319488, -0.210032016, 0.5301134586, -0.7228048444, -0.1312347949, -0.098817654, -0.2422988266, -0.4473874569, -0.2528686225, -0.0536653623, -0.0626266003, -0.36553213, 0.2546946406, 0.4328168333, 0.7733023763, -0.2263498455, 0.3808315992, -0.6659357548, 0.4641863704, 0.5721016526, 0.4050391614, -0.0911419243, -0.9631844759, -0.2445301414, -0.1809248179, 0.0146086989, -0.8345587254, 0.2701626122, 0.6460615993, 0.9973913431, 0.4342158139, 0.1055922285, 0.5284335613, -0.6132920384, 0.1043033823, 0.2672115564, -1.0348297358, 0.6182444692, -0.5155923367, 0.3906673789, 0.2310513258, 0.4104945958, -0.5488447547, 0.0841357484, -0.1209952831, -0.6484582424, 0.44505319, -0.041112002, 0.3455887437, 0.23499538, 0.8552626967, -0.1174205244, 0.0099427365, -0.5671178102, 0.198911801, 0.0393421836, -0.3848995864, -0.1445974708, -0.3812941909, 0.0888107419, -0.3471337855, 0.7338045835, -0.6315723062, 0.0659578666, 0.0869741812, -0.4105573297, -0.3989814818, 0.0453454144, 0.8059209585, 0.7432748675, -0.1477099359, -0.0941748917, 0.5156915784, -0.5023266077, 0.1468461901, -0.1791521609, -0.2017924935, -0.4224013686, 0.6011351347, 0.7230581641, 0.3856302798, -0.6150408387, 0.4776367247, -0.0415595397, -0.2774581313, -0.1486729234, 0.5903234482, 0.2604905963, 0.5704758167, 0.3914532959, -0.1800771505, -0.0913155451, -0.6290568113, 0.2605414689, 0.3932687342, 0.2578489482, -0.0287053287, 0.4228969812, 0.3604922295, -0.4448384643, 0.2479129732, 0.2330696434, -0.5073136091, 0.3636036217, 0.8210138083, 0.8229238391, -0.5135304332, -0.1119576395, 0.3917843699, 0.1523167491, -0.3802004457, 0.1661781669, 0.1974023134, -0.9548991919, -0.7019160986, -0.8127512336, -0.4249359369, -0.1091661602, -0.563544929, 0.4283058345, -0.7581562996, -0.0358037427, 0.118556805, 0.0196191296, -0.6945648193, 0.4033234715, 0.3953188956, 1.2634564638, -0.9760711193, 0.5640761852, 0.5117465258, -0.0891312361, -0.835647583, -0.0276689753, -0.1165606156, -1.2136625051, 0.4433724284, -0.235198155, -0.3205768168, -0.0993037671, -0.7893933058, -1.0351155996, 1.0256723166, 0.5255566835, -0.7593451142, -0.1308587939, -0.108457312, 0.5330648422, -0.7304431796, -0.0874604657, 0.6635289192, 0.6257860661, 0.2755066454, -1.1545894146, 0.1641237885, -0.0217739884, 0.1032623053, 0.0434363, -0.6859077811, 0.4485556781, -0.4100309908, 0.3890771866, 0.0236188918, 0.5378755927, 0.2762344182, 0.0827384293, 0.7392492294, 0.2193413228, 0.8419318199, 0.3809241951, 0.8484671712, -0.3219746947, 0.441909641, 1.1090897322, -0.3364551961, 0.955619514, 0.4282020628, -0.0797313303, 0.6136679053, 0.5533027053, -0.1305213273, 0.6476471424, 0.3935824335, -0.2197798193, -0.4825909138, 0.2061669081, -0.0492501855, 0.7020548582, 0.4509478211, -0.420013994, -0.1034578905, -0.3119949996, 0.1221045852, 0.0402841642, -0.6153162718, 0.9931502938, 0.0887865126, -0.5962814093, 0.6382555366, 0.1967147738, 0.4020047784, -0.3741101921, 0.1335089803, -0.0326878317, 0.3437750041, -0.172012791, -0.6751566529, 0.0100880172, -0.1008924842, -0.1893132478, 0.1843923479, 0.9127581716, -0.1300419271, -0.5199514031, 0.4594042301, 0.5134921074, 0.0421876051, 0.0034669125, -0.851965785, 0.1205086559, -0.0414459407, -0.2966376841, 0.2485950142, 0.4887844324, -0.0408819988, 1.0810502768, 0.621358633, 0.1566928476, 0.0507724881, -0.0758086815, 0.7640908957, -0.8062524199, -0.6108571291, -0.956671834, 0.2685872912, 0.1483616084, 0.038890142, 0.559404552, 0.4602098465, 0.3863511384, -0.2240671068, 1.0115430355, 0.3716345131, 0.3252326548, -0.7957718372, 0.5388357639, -0.6475688815, 0.0274296813, -0.4916273952, -1.1945366859, -0.5434234142, 0.9628692865, -0.514716804, 0.0825936869, 0.540130496, 0.7546248436, -0.2669273019, -0.0801759288, 0.4288032055, 0.2125200778, 0.2563274801, 0.754850626, 0.570510447, -0.1204464287, 0.2820957005, 0.1563620567, -0.4359936118, -0.6593512893, -1.2516691685, -1.0009639263, -0.3937036693, -0.3924249411, -0.2358807772, 0.2231114507, 1.1845360994, 1.0355011225, -0.8565108776, -0.5465897918, -0.1250348091, 0.0471331514, 0.112134859, -0.1754282564, 0.2970280051, -0.4256104827, -0.4088400602, 0.5072766542, 0.1713261753, 0.3024715781, -0.1829441041, -0.6220950484, -0.1874509305, 0.5587317944, 0.6782634854, 0.3898898065, -0.3047086, -0.5559636354, -0.0353866331, -0.0127748121, -0.0964029059, 0.6952482462, -0.2613639235, 0.3922895789, 0.3320773244, 0.6279072165, 0.6404213905, -0.0925276875, 0.765309751, -0.1996446699, -0.076622881, -0.0145623796, 0.3893524706, 0.2080822587, -0.1071813479, 0.5602344871, 0.1304778159, -0.6185224652, -0.688187778, 0.132665962, -0.9715420008, -0.4798244834, 1.5201259851, -0.0227541961, -0.4876237512, -0.0549651384, -0.358071357, 0.0435580611, -0.2383970618, 0.8237885237, 0.6052712798, -0.4086302519, -0.2581363916, -0.4225905538, 0.4053866267, 0.0230450518, -0.9465597272, 0.0985040292, 0.3803471327, 0.8973084688, -0.1124074534, 0.3818866313, 0.3978464305, 0.2531049848, -0.2560860813, -0.0803241953, 0.2593275309, -0.2929530442, -0.4140332341, -0.008755927, 0.6690671444, 0.2261725515 ]
http://arxiv.org/abs/2407.02147v1
http://arxiv.org/pdf/2407.02147v1
LlamAr & GemmAr: Enhancing LLMs Through Arabic Instruction-Tuning
2024-07-02T10:43:49
2024-07-02T10:43:49
Hasna Chouikhi, Manel Aloui, Cyrine Ben Hammou, Ghaith Chaabane, Haithem Kchaou, Chehir Dhaouadi
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have greatly impacted the natural language processing (NLP) field, particularly for the English language. These models have demonstrated capabilities in understanding and generating human-like text. The success of language models largely depends on the availability of high-quality instruction datasets, which consist of detailed task descriptions and corresponding responses that are essential for training the models to accurately address a variety of prompts. However, the availability and quality of these resources vary by language. While models perform well in English, they often struggle with languages like Arabic, due to the lack of datasets for fine-tuning Arabic-specific tasks. To address this issue, we introduce InstAr-500k, a new Arabic instruction dataset created by generating and collecting content that covers several domains and instruction types. We then assess this dataset by fine-tuning two open-source models, Llama-3-8B-Instruct and Gemma-7B-IT, on several downstream tasks to scale improvements in their functionality. Based on multiple evaluations, our fine-tuned models achieve state-of-the-art performance on several Arabic NLP benchmarks. These outcomes emphasize the effectiveness of our dataset in elevating the capabilities of language models for Arabic. Our instruction dataset bridges the performance gap between English and Arabic language models by providing resources that amplify Arabic NLP development. Building on this foundation, we developed two state-of-the-art models, LlamAr-8B and GemmAr-7B, which are specifically tuned to excel at a wide range of Arabic NLP tasks.
[ -0.2757284641, -0.5519686341, 0.2288364172, 0.2582500875, -0.2343309373, 0.4418310225, -0.3109799922, -0.4974994063, -0.1669850349, 0.5641787052, -0.3565537035, -0.8494845033, -0.85742414, 0.2215119451, -0.514021039, 1.1240910292, -0.1639189124, 0.2053665817, -0.0420227088, -0.1218092516, -0.6459199786, -0.3579338491, -0.7309148908, -0.3188929558, 0.3347239494, 0.8270942569, 1.0302371979, 0.9960482121, 0.596878469, 0.190228045, -0.1110070944, 0.5778034925, -0.4276019335, 0.1689422429, -0.0678522885, -0.2996376455, -0.4468363523, -0.4844261706, 0.7041957378, 0.6191412807, -0.310112983, 0.3999034464, 0.278083086, 0.8088135719, -0.738551259, 0.1377404034, -0.474078536, -0.1815991253, -0.2977021933, -0.2243127823, -0.3703500926, -0.3966468871, -0.1936871707, -0.1766989529, 0.1764201373, 0.0204333123, 0.7459733486, 0.4759989977, -0.3591308892, -0.6287391186, -0.6958886981, 0.7522605658, -0.8165873289, 0.354985863, 0.5361166596, 0.1630126685, -0.4755986333, -0.5539498925, -0.2815941274, -0.379431963, 0.0761573613, -0.1545695215, -0.320363611, 0.0963218361, -0.0145795634, 0.4875594676, -0.3800089359, 0.4665639699, -0.125586018, 0.0568245351, 0.5372517705, 0.3973032236, 0.2803373039, 0.2783670723, -0.0448136367, -0.0626998991, -1.135355711, 0.0512361377, 0.3918812871, 0.2478637695, -0.2106315047, 0.6212691069, -0.2521767914, 0.8072336912, 0.0950590149, -0.3314130008, -0.2601086497, -0.1738922, -0.1237071231, 0.3700710535, 0.3892340362, 0.1085567474, 0.1879248172, -0.2596331835, -0.4486317337, 0.029200064, 0.2025865316, -1.1261394024, -0.2051044554, 0.125239864, -0.1810467094, -0.0642213151, -0.1056434959, -0.3370800018, -0.3598019779, -0.4288623929, 0.3251317739, -0.3528907597, 0.1095397174, 0.4980921745, 0.4654616117, 0.3154258132, 0.1902837753, -1.2930709124, 0.5004262924, 0.7798858881, 0.7310078144, -0.1683667153, -0.0617719218, -0.4682055414, 0.3250783682, -0.5446996689, 0.7847387195, -0.9862540364, -0.3989531994, 0.3221881092, -0.1571658105, 0.0708315521, -0.8559997082, 0.6235849261, -0.7056280375, -0.0967662111, -0.0586240478, -0.7393972874, -0.3807175457, 0.0431536175, -0.6115060449, 1.3013938665, 0.1221077666, -0.4753734469, 0.0976265073, -0.800039053, -0.4496149421, 0.0194342472, 0.0412064642, -0.3443689942, 0.2113489509, 0.6552479267, 0.5621079206, -0.6104367375, 0.0203710273, 0.2692132294, -0.6858633161, 0.117207475, -0.4435773492, 0.5224523544, 0.0750786886, -0.3670514822, 0.1230302677, -0.778102994, 0.0212261975, -0.1873618364, -0.5399311781, 0.0302003566, 0.0604511388, -0.0294413045, -0.0570000112, 0.4455517828, -0.3639543355, 0.2134486586, -0.5740684271, 0.0808394849, 0.5926730037, -0.0001619396, 0.3443599939, -0.422162801, 0.8779423833, -0.0923705548, 0.0115563134, -0.3017102778, -0.3842724562, -1.1474711895, -0.4153640866, 0.2811927795, 0.462343514, -0.4976198971, 0.2394970506, -0.1837358922, -0.5238161683, -1.0078845024, 0.4863397181, 0.4687800705, 0.3936804235, 0.4796499908, -0.2347839624, -0.4974401295, -0.8244386315, -0.1960112303, 0.2177964598, 0.0350256264, 0.1098049805, 0.3362009227, -0.2458410263, 0.5387468934, -0.2508725822, -0.2156873494, -0.4483693838, -0.1124925911, 0.5632377863, 0.2402615696, 0.3676234782, -0.3320305049, -0.8085675836, 0.174404636, -0.522679925, -0.172746554, 0.1428837776, -0.1289950758, 0.3396179676, 0.3643285632, -0.3939216137, 0.5191399455, 0.6649149656, -0.283516556, 0.4456996918, -0.1948913634, 0.1699472368, -1.1670106649, -0.4351614714, -0.2464897782, -0.099169828, -0.4944334626, 0.2291407883, 0.0336139724, 0.1239039823, -0.4457082152, 0.4862065911, -0.5017192364, 0.0516384877, -0.6049256921, -0.2553974092, -0.1299182773, 0.2535696924, -0.1744045168, 1.3768544197, 0.4631824493, -0.664849937, 0.1269771606, 0.358227849, -0.7839971185, 0.168859601, -0.7850727439, 0.4083673656, -0.0105885556, -0.0335218124, -0.7676523924, -0.37971434, 0.2512063682, -0.0592733845, 0.4229037762, -0.1599373072, -0.7315853238, 0.2071205527, -0.0415537953, 0.3603872061, 0.4214142859, -0.7963914871, 0.5605501533, 0.2341018915, -0.2532373071, -0.9028512836, -0.2222107053, 0.2373704463, -0.1314793378, -0.4195975065, 0.4838966727, 0.1354232281, -0.2023014724, -0.0158168934, -0.1191447899, -0.1311541498, -0.0130434725, 0.4771080315, 0.2414259315, -0.4186661541, 0.2370161861, 0.3727070391, -0.1560506672, 0.0510982014, -0.176955089, 0.5577332377, -0.084958002, -0.5088036656, -0.5811968446, 0.2965505719, 0.2696299851, -0.5508761406, 1.1232461929, 0.5970419049, -0.1764794737, -0.351526469, -0.4670885205, -0.1106908694, -0.5236608386, 0.6453794837, -0.2406673282, -0.9690334797, 0.0965950564, -0.1475708932, 0.4199935794, 0.1181542501, 0.8343505859, -0.129959926, 1.1788372993, 0.8596870303, -0.3956364989, 0.3363572061, -0.1634100527, 0.2072889805, -0.7420691252, -0.1778388917, -0.5804463029, -0.3845372796, -0.4804404676, -0.4117612541, 0.4365606606, 0.0233835876, -0.4442034066, 0.0978227854, -0.3556393385, 0.8726130724, 0.4945244193, 0.0841711387, 0.379424125, 0.3136645555, -0.0136027681, -0.1013858467, -0.8710707426, -1.1054699421, 1.3544306755, 0.1959991306, 0.8249794245, 0.4041059613, 0.6122720242, 0.3949101567, 0.5261690617, -0.6423133612, 0.4046009779, -0.2836840749, -0.3034742475, -0.0243604276, 0.0351992548, -1.0013371706, -0.0110801868, -0.119690761, -0.5177182555, -0.3011655807, 0.2729370892, -0.3328359425, 0.2712486684, -0.5620794892, 0.5257027149, -0.1407329589, -0.4416391551, -0.5132679343, -0.2342082411, 0.1613724679, 0.0609213971, -0.0055675302, -0.2273160219, -0.2440825701, 0.6108032465, -0.27245906, 0.7979040146, 0.1318792403, -0.345528245, 0.3260873854, 0.1735545248, 0.5854603648, 0.0111275679, -0.2425094396, 0.206280306, -0.169413507, -0.5401521325, -0.5979912281, 0.6811990738, -0.9844430685, -0.7689942718, -0.1965648383, -0.8077731133, -0.2351528853, -0.2615098953, -0.0329033993, 0.4479894936, -0.0928730071, 0.2081666142, 0.6353626251, -0.1873551011, 0.4294704497, 0.6712052226, -0.1716922969, -0.280118376, 0.750728786, -0.0820349604, 0.1543800533, 0.5832484365, -0.1424717456, -0.2751354277, -0.8096548319, -0.5902722478, 0.2295242548, -0.7349581122, -0.4703330398, -0.1558774412, -0.3168624341, 0.0587430485, -0.1248186827, -0.3085072637, -0.297866106, -0.5360904336, -0.0792285353, 0.53371346, 1.0874949694, 0.239748165, 0.6583648324, -0.8584651947, 0.2067946792, 0.038612213, 0.1793530881, 0.0900961608, -1.149109602, -0.786677897, 0.118631199, -0.4630177319, -0.6921750903, 0.4435481727, 0.4905377328, 0.0908738971, 0.4245971143, -0.1816729903, 0.7688681483, -0.7999765277, 0.4267248213, -0.3458400369, -0.7931858897, 0.3829180002, -0.1647998244, 0.4433200359, 0.3672322929, 0.5760989189, -0.3625193536, -0.3623615205, -0.0748028383, -0.7772657871, 0.6082551479, 0.1250171512, 0.4078300893, -0.0025705558, 0.5430980325, 0.3364064991, 0.1236817911, -0.2456872761, -0.2573587596, 0.0353027359, -0.6136214137, -0.1021274477, -0.5217245221, 0.0009775802, -0.2859475315, 0.8761910796, -0.0100672739, 0.0294079371, -0.3803455234, -0.2582319081, -0.1268580407, 0.3188656569, 0.4629437327, 0.8527269363, -0.155057013, -0.0006244723, 0.2967251241, -0.7772443295, 0.4204578698, 0.0712904707, -0.1280674785, -0.0585895255, 0.6197986603, 0.6926329732, 0.4567031562, -0.8192350268, 0.0570788756, 0.0677255318, 0.1996386796, -0.3882913291, 0.534363687, 0.2571786344, 0.330363363, 0.3137579262, -0.1225394234, -0.1032377258, -0.1416989565, 0.0400878526, 0.3635589182, -0.2509806156, -0.3363337219, 0.5838164091, 0.0096119922, -0.5331099629, 0.7699745297, -0.0030813266, -0.1541083604, 0.6248218417, 0.8905240893, 0.6213286519, -0.3318814933, 0.1835772842, 0.3166008294, 0.3578293324, 0.1068395749, 0.3708909452, 0.0246376991, -0.8255493641, -0.6160691381, -0.7623204589, -0.6225115657, 0.1838607639, -0.7572355866, 0.1295605898, -0.50764817, -0.0581539236, -0.2398816645, 0.1540941894, -0.8273479342, 0.130096212, -0.0890528187, 0.854911685, -0.6263615489, 0.9568216205, 0.7671940923, -0.1505877525, -0.772400856, -0.1861968338, -0.2213876545, -1.0104387999, 0.6474324465, 0.2003604472, -0.4572605193, 0.2795428932, -0.5768179297, -1.0151319504, 0.9922457933, 0.7203729153, -0.7830958962, 0.2236199081, 0.532791853, 0.4344857633, -0.5184849501, 0.2539045215, 0.778424561, 0.1959217489, -0.1373619288, -0.590262413, -0.1643152833, -0.0476221889, -0.0786780566, 0.3301763833, -0.5390252471, 0.5859642029, -0.345662564, -0.1765342951, 0.2705135345, 0.9629412293, 0.2747875452, -0.0387648828, 0.0553871095, 0.5884406567, 0.6816117167, 0.0426071435, 1.0355098248, -0.6496937871, -0.1780025661, 1.2266088724, -0.2062712163, 1.1395913363, 0.4315611422, -0.2697717845, 0.6943252087, 0.62333709, 0.1834273785, 0.3450665772, 0.0447548293, -0.7956997156, -0.2234644294, -0.475459367, -0.2378266603, 0.7535982728, 0.5149267316, -0.3318963945, -0.1958604008, -0.2922451496, 0.2763183117, 0.3112724721, -0.3786740303, 0.6361854076, 0.0097998157, -0.4296433628, 0.8314510584, 0.375449419, 0.3947983086, -0.6506335139, -0.406239599, -0.4867774546, 0.1611003131, -0.2382322997, -0.4366706908, 0.067829974, 0.4837350249, -0.160721153, -0.0421167053, 0.3227263987, -0.4727377594, -0.8108664155, 0.0313966908, 0.3375842273, 0.1896616817, 0.2115916014, -0.4174833298, 0.1794542372, 0.0694344863, -0.0300573893, 0.4078858197, 0.2706647515, 0.0027172435, 0.8434143066, 0.5628345013, 0.2473476678, 0.0996037945, 0.1857667863, 0.7579389811, -0.5216522217, -0.0176531225, -1.0296773911, 0.3352618814, 0.3167169094, -0.4987186491, 0.876288414, 0.6176612973, 0.8779238462, -0.0862275511, 0.4368539751, 0.4417229295, 0.4782017171, -0.7517564297, 0.6289070249, -0.3047553301, 0.5131314993, 0.1801600307, -1.0286072493, -0.2243050337, 0.5236879587, -0.1380580813, 0.0389927179, 0.4997457266, 1.2813817263, -0.0624361746, -0.0204808097, 0.2293497026, 0.1107845381, 0.1834170222, 0.614730835, 0.9686483741, -0.3094211519, 0.379889071, -0.2391483784, -0.0392348655, -0.1018475443, -0.7807119489, -1.0632191896, -0.3105403185, -0.1831430942, 0.0277403388, 0.3625628054, 1.2422212362, 0.4483595788, -0.994189918, -0.6545757055, 0.0349316075, 0.0805366933, -0.2040509284, -0.1040041521, 0.6883813143, -0.5663412213, -0.7924164534, 0.6644444466, 0.3632475436, -0.0527185313, -0.1052130908, -0.1895624995, -0.0250437353, 0.1899413913, 0.5429917574, 0.1262659431, -0.7047955394, -0.1163413003, -0.0690213963, -0.0021694133, 0.2120833695, 0.4734992683, -0.7141811848, 0.2501044869, -0.2731113732, 1.0904115438, 0.3326959312, -0.1212379783, 0.5473759174, -0.7934052348, 0.238870129, 0.200294137, 0.1832580715, 0.552441299, -0.2703030407, 0.542906642, -0.6253474355, -0.6419032812, -0.5958951712, 0.1707674563, -0.3702127039, 0.137690112, 0.9671714902, -0.0865756795, 0.0773395821, -0.1076683402, -0.3592145741, 0.2440759093, -0.3977914155, 1.1820641756, 0.7890378237, -0.1650811732, -0.126595661, -0.7615159154, 0.5587449074, 0.6928738952, -0.8168814778, -0.2618788779, 0.3042443693, -0.0063630501, -0.5285263658, 0.1283643544, 0.1931891739, 0.3732223511, -0.2082428038, 0.0538323857, -0.2516953945, -0.4467220306, -0.321521163, 0.0418529138, 0.5757141709, -0.251187861 ]
http://arxiv.org/abs/2407.02138v1
http://arxiv.org/pdf/2407.02138v1
Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Tasks
2024-07-02T10:33:31
2024-07-02T10:33:31
Wataru Hashimoto, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL, cs.AI, cs.LG
Trustworthy prediction in Deep Neural Networks (DNNs), including Pre-trained Language Models (PLMs) is important for safety-critical applications in the real world. However, DNNs often suffer from uncertainty estimation, such as miscalibration. In particular, approaches that require multiple stochastic inference can mitigate this problem, but the expensive cost of inference makes them impractical. In this study, we propose $k$-Nearest Neighbor Uncertainty Estimation ($k$NN-UE), which is an uncertainty estimation method that uses the distances from the neighbors and label-existence ratio of neighbors. Experiments on sentiment analysis, natural language inference, and named entity recognition show that our proposed method outperforms the baselines or recent density-based methods in confidence calibration, selective prediction, and out-of-distribution detection. Moreover, our analyses indicate that introducing dimension reduction or approximate nearest neighbor search inspired by recent $k$NN-LM studies reduces the inference overhead without significantly degrading estimation performance when combined them appropriately.
[ -0.4259023964, -0.6021699309, 0.8458245397, -0.0650792196, -0.1680387408, -0.0076075736, -0.361758858, -0.5097399354, 0.1119297594, 0.3284019828, -0.4328775406, -0.5168430805, -0.7227167487, 0.0673863888, 0.2601214945, 0.3088418543, 0.2686108053, 0.0175671447, -0.1615476757, -0.0006654974, -0.0505041257, -0.3449113965, -0.6547686458, -0.1343865842, 0.4714446664, 0.32817626, 1.0266312361, 0.377525121, 0.4834446013, 0.3125572503, -0.35505867, 0.3141764104, 0.0573356338, 0.0810777619, 0.1526222229, -0.4951222539, -0.2734730542, 0.0019887763, 0.7681382895, 0.8163640499, -0.0016924902, -0.0758938491, -0.1931583732, 0.9741239548, -0.8646579385, -0.0832104757, -0.3786496222, 0.3866857588, -0.0540769696, 0.3699676394, -0.2433041185, -0.7421358824, 0.5210658312, -0.4767491519, -0.0904426649, 0.0126802288, 0.8447740674, 0.5778442621, 0.0297938082, -0.1726897657, -0.611349225, 1.0998746157, -1.0897586346, 0.7667561173, 0.9813389778, 0.3036455512, -0.538582027, -0.6725931168, -0.6487072706, -0.4218352735, -0.0437688194, 0.1070615277, -0.0043720566, 0.4127367437, 0.0110256271, 0.4351331294, -0.2686169744, 0.3042654097, 0.1146167964, -0.4565940201, 0.3581257164, -0.2582697868, -0.1291766018, -0.3924445212, -0.3467372358, -0.1023366526, -0.2398376018, 0.0724411905, 0.6383638978, 0.2504623234, 0.0227424689, 0.1802225411, -0.3430207372, 0.6924895644, -0.099867925, -0.4011829495, 0.1488832384, -0.3615100384, -0.4355567098, -0.0105189206, 1.1306340694, 0.3512075543, 0.2666431963, -0.2582066059, 0.0367004424, -0.1943600923, 0.0954362676, -0.7038657665, -0.5204673409, 0.1904962808, -0.4590561688, -0.5309278965, 0.0050314856, -1.2246390581, -0.3537627459, -0.1611666679, 0.180078879, -0.4799927175, -0.3547390997, -0.1451129615, 0.1834626943, -0.3343059719, -0.0202694833, -0.3504656255, 0.1298769712, 0.2724428773, 0.8960813284, 0.0578075573, -0.1036460847, -0.4576926827, -0.243757233, -0.424218148, 0.3936353028, -0.6540392637, -0.1259365231, -0.3092620671, -0.4474707246, -0.0568219051, -0.4914731383, 0.6318017244, -0.672950387, -0.0278736334, -0.0554849654, -0.6896961331, -0.1884901971, 0.1884078979, -0.8584781289, 1.4137717485, -0.0219994225, -1.0258977413, 0.3596090674, -0.3830170035, -0.1082365215, -0.4000122249, 0.0702204183, -0.67067945, 0.4372505844, 0.5357138515, 0.4475371838, -0.1102496833, 0.2357193381, -0.5711628795, -0.1591441482, 0.2395218313, -0.7270701528, 0.5556172132, 0.3700964451, 0.0171669573, -0.0804298669, -0.7984986305, 0.2328727543, -0.2203007191, -0.1615210921, -0.490160197, -0.0928134471, -0.5542370677, 0.1107554138, 0.2633477747, -0.5858738422, -0.1996716857, -0.835034132, 0.2346582413, 0.5908130407, 0.118435666, 0.8747469783, 0.0174220651, 0.3698215485, 0.0962419435, 0.1958324313, 0.4108886719, -0.6064133644, -0.3473648727, -0.2693240643, 0.7542699575, 0.3581267595, -0.8537809253, 0.4899686575, -0.2976746559, -0.5421844125, -0.642993629, 0.100241743, 0.4000427723, 0.6090934873, 0.2948507369, 0.0807060003, -0.5497174859, -0.7321148515, -0.2526349425, -0.2478662729, -0.2243480831, 0.091796428, 0.251262337, -0.098736085, 1.1794331074, -0.3508167565, -0.1422196925, 0.0775197148, 0.3069263697, 0.0602729917, 0.3193521202, 0.2910941541, -0.7095986605, -0.6891437173, -0.182024017, -0.3756806552, 0.0333985053, 0.023007568, -0.0766538531, 0.2767605484, 0.3436569273, -0.4945519865, 0.601698339, 0.7922533154, 0.293934226, 0.4755291343, -0.3541525304, -0.047218442, -1.1313401461, -0.3771283031, 0.3138330579, -0.2822366357, -0.6920385361, -0.1502964646, -0.0120543372, 0.3758013248, -0.1545489281, 0.283970356, -0.496221751, -0.1978238225, -0.1927382499, 0.3518921137, 0.1184651777, 0.2385370135, 0.3908278644, 0.8073621988, 0.6668619514, -0.5940810442, 0.1540610939, -0.1758324802, -0.5219044685, 0.6159557104, -0.1650990546, 0.3142202199, -0.0537972264, 0.1121008471, -0.636844933, 0.0353282504, 0.2642588019, -0.5835184455, 0.423809737, -0.2751919925, -0.5874843597, -0.476231724, -0.3003683388, 0.2255805284, 0.2054233253, -0.5833213925, 0.4789031446, 0.3504668474, -0.0270660147, -0.6144917011, -0.9048079848, 0.1856030226, -0.2326855361, -0.497382015, 0.2169561982, 0.0548903123, -0.2742202282, -0.0520054847, -0.4936736524, -0.6421495676, 0.0546113625, 0.1773801148, -0.0677772462, -0.2033047974, 0.2269495726, 0.0234693941, -0.3297244608, -0.0354838707, -0.3333312273, 0.1192510352, -0.18754673, -0.2416498065, -0.6344099641, 0.0870268941, 0.3649568856, -0.0104759764, 0.8630692363, 0.7879402637, -0.6255616546, -0.2086132616, -0.7160536647, -0.263455987, -0.4941954613, 0.3546426594, -0.3846352398, -0.7962502241, 0.409814477, -0.145562008, -0.4500001967, 0.0167441443, -0.0108213136, -0.3626020551, 0.5837033391, 0.273586154, -0.3825071156, 0.2339596003, 0.119381845, 0.6790676117, -0.6993157268, 0.0522879884, -0.5610775352, -0.2583007514, -0.583163023, -0.7876240611, 0.2183708847, 0.3039279282, -0.0241547469, 0.229710266, -0.4358676374, 0.5247175097, 0.9804968834, 0.2129819095, 0.3433105946, 0.2168916911, -0.3039708734, -0.5397439003, -0.6438649893, -0.4635902047, 0.8645629883, 0.5408491492, 0.4202471972, 0.0335662216, 0.7891899943, -0.0395699851, 0.1560861766, -0.6424292326, 0.3379340768, -0.0763752833, -0.3014425933, -0.5469782352, -0.9596789479, -0.5516728759, 0.0686985776, 0.0451264977, -0.9864118695, 0.159795329, -0.0011239294, -0.6742213964, 0.7902584076, -0.6230900884, 0.5570936799, 0.0091483025, 0.0136324419, 0.0890347883, -0.8025121093, 0.1192064807, -0.0741734058, 0.2694831192, -0.2387494743, 0.073775962, 0.5135038495, -0.5398998857, 0.7130527496, -0.3421858549, 0.0470553637, 0.511555016, 0.2557354271, 0.7915687561, 0.2852231562, -0.5543285608, 0.4168355167, -0.107436493, -0.1068846062, -0.5354906917, 0.7657566071, -0.4681558907, -0.0471981578, -0.3463284075, -0.719235599, -0.5036334991, 0.1694452465, 0.4764461815, 0.0909430161, 0.1319479942, 0.059695065, 0.5431605577, -0.1534636468, 0.7927863002, 0.0400664248, 0.2497208714, -0.6776493192, 0.9276992083, 0.1943255067, 0.4395044446, 0.5811297297, 0.4250530601, -0.6002403498, -0.8713137507, -0.2952318788, -0.1349060237, -0.4757897854, -0.3014636636, -0.4641932249, -0.055857759, -0.2264683694, -0.0606258772, -0.8075845838, -0.1560302377, -0.361331135, -0.2739200294, 0.4875791371, 0.4833993316, -0.195887506, 0.5204488635, -0.8453710675, 0.2315954417, 0.292952776, 0.8523442149, -0.1100175604, -0.4400033057, -0.0648458079, 0.5402745008, 0.2052332461, -0.9480608106, 0.3847376406, 0.2985759676, 0.480237484, 0.2907220125, 0.4738200009, 0.6702925563, -0.0148715479, 0.6366338134, 0.1198829412, -0.6892322898, 0.3769682646, -0.041677922, 0.2606819272, 0.9968161583, 0.2402294874, -0.0781169683, -0.3336584866, -0.4798602462, -0.5552448034, 0.5480211973, 0.5886201262, -0.1807281375, -0.0296851117, 0.2446201593, -0.212751776, 0.31728369, -0.6156935096, -0.5508974195, 0.022449607, -0.388774246, 0.198472321, -0.3783327341, 0.3916942775, -0.2075034082, 0.6527869701, -0.1310788244, 0.2047857344, 0.361767143, -0.1099183485, -0.0157947391, 0.173287496, 0.3232539594, 0.1715900153, -0.5077347755, 0.3376986682, 0.5951446295, -0.6444647908, -0.0242701396, 0.1367978901, -0.1153939068, 0.3162716329, -0.0205415301, 0.4673111141, 0.3403889835, -0.3136069775, 0.5049920082, -0.1761823446, -0.2098161578, -0.3420343399, -0.4071188271, 0.2064397335, 0.2073945552, 0.0343286805, 0.3531011045, 0.1357268244, 0.1735054702, 0.2768324912, 0.2451957315, -0.8299735785, -0.1715767235, 0.2958580554, -0.1945550144, -0.1907203943, 0.4943262339, -0.6591315866, -0.4418361485, 0.5614007115, 0.1308321506, 0.8810713887, -0.3692917526, 0.3980417252, 0.4376761019, 0.4961131513, -0.2802256048, 0.1250243038, 0.1262551844, -0.8476656079, -0.5592079163, -0.9513092637, -0.2941193581, 0.1260527819, -0.5149284005, -0.331730783, -0.4236141145, -0.4090440869, -0.3066900969, 0.1560508758, -0.4978916645, 0.2760700285, 0.148833409, 0.68375808, -0.5637026429, 0.8203113079, 0.5609886646, -0.1043108627, -0.763166368, 0.1611155719, -0.1217545941, -0.209828496, 0.4438860118, 0.181906119, -0.2505506873, -0.1441538483, -0.1067742258, -1.0683066845, 0.8322736025, 0.3951214552, -0.563891232, 0.1675954312, 0.3231672049, 0.5182230473, -0.0600917041, 0.2360830009, 0.6639425159, 0.6756871343, -0.0687001273, -0.9473508596, -0.1849514395, 0.1859751046, 0.2588404417, 0.4105599523, -0.2290541381, 0.52691257, -0.2053483278, -0.1659401953, 0.108268328, 0.9675219059, 0.1793304682, 0.4177518189, 0.667023778, 0.9014641643, 1.1592704058, 0.0166215003, 0.84368366, -0.157390222, 0.3045459092, 1.5406407118, 0.0238707345, 0.8450136781, 0.5880085826, -0.5115221739, 0.3078397214, 0.6155760288, 0.2975400984, 0.5323247313, 0.0464048833, -0.4098877311, -0.3163829446, -0.0931639597, -0.1631454676, 0.2621523738, 0.3901163638, -0.4761942327, -0.1220205724, -0.2889594436, 0.057964284, 0.2578175068, -0.1079242453, 0.5748807788, 0.3534119129, -0.3682135344, 0.101777859, -0.1260140389, 0.7412385345, -0.2332341075, 0.1965727359, -0.054768417, 0.0187345911, -0.0072319368, -0.5438996553, 0.3459173739, -0.3102081418, -0.1443903595, 0.0739615187, 0.9597494006, -0.3064081669, -0.71493572, 0.2935092151, 0.3908321857, 0.0938877091, -0.6357411742, -0.5845936537, -0.3138985932, -0.06742125, -0.3449130952, 0.3801953495, 0.467164278, 0.2798523009, 0.7231929898, 0.65581882, 0.306776315, 0.3519056141, -0.0184934232, 0.3492886722, -0.1770557612, -0.4759036303, -0.7811229825, 0.318008244, -0.2293721884, -0.197968483, 0.6947179437, 0.1110682711, 0.758951664, 0.0752225742, 0.5571283698, 0.2090544999, 0.5133197308, -0.4296285212, 0.6043815017, -0.1970193982, 0.2140280753, -0.3785512447, -1.1092522144, -0.4711616933, 0.9572797418, -0.426679194, 0.2165776044, 0.6276714206, 0.9321792126, -0.0087287556, 0.3449727595, 0.416555047, 0.0376029201, -0.0324803367, 0.3101914525, 0.5489316583, -0.5482420921, 0.5273947716, -1.2418262959, 0.1555142701, 0.089944236, -1.3190245628, -0.7501857281, -0.181701228, -0.3323613405, -0.089371331, -0.1491489112, 0.8491442204, 0.8367272615, -0.9396862984, 0.3510204256, -0.4233117104, 0.2821085751, -0.2800625265, -0.2218598574, 0.4957796037, -0.2298475355, -0.7623906732, 0.6225739121, 0.1428761333, 0.0550784618, -0.0568500198, -0.1899964362, -0.2484416217, -0.1195757985, 0.2245790213, 0.0804765373, -0.7994115353, -0.5642905235, -0.1171313152, -0.1702342629, 0.081967026, 0.1163496673, -0.5361662507, 0.7289211154, 0.5804883242, 0.7809605002, 0.11408142, 0.0426322669, 0.5437107086, -1.2383848429, 0.1611770391, 0.4136226773, 0.2931963205, 0.3767368197, -0.3346223235, 0.4461194873, 0.0525686741, -0.692974925, -0.8130909204, 0.2142411321, -0.5621912479, -0.0470308997, 0.8701356649, -0.2664048374, -0.1136651114, -0.3100321591, 0.2058057487, 0.2569024563, -0.5698251724, 0.5215430856, 0.7255115509, 0.1747658849, -0.2542027831, -0.9023563266, 0.6572120786, 0.6077370644, -0.4796546102, -0.1877826005, 0.3920215368, -0.076648809, 0.3137090504, 0.2699733078, 0.2307001799, -0.1091919243, 0.0760136545, -0.0271373056, -0.1243951172, -0.4456506073, -0.1471553892, 0.1486695558, 0.1575840265, -0.352211237 ]
http://arxiv.org/abs/2407.02136v1
http://arxiv.org/pdf/2407.02136v1
Black Big Boxes: Do Language Models Hide a Theory of Adjective Order?
2024-07-02T10:29:09
2024-07-02T10:29:09
Jaap Jumelet, Lisa Bylinina, Willem Zuidema, Jakub Szymanik
cs.CL
cs.CL
In English and other languages, multiple adjectives in a complex noun phrase show intricate ordering patterns that have been a target of much linguistic theory. These patterns offer an opportunity to assess the ability of language models (LMs) to learn subtle rules of language involving factors that cross the traditional divisions of syntax, semantics, and pragmatics. We review existing hypotheses designed to explain Adjective Order Preferences (AOPs) in humans and develop a setup to study AOPs in LMs: we present a reusable corpus of adjective pairs and define AOP measures for LMs. With these tools, we study a series of LMs across intermediate checkpoints during training. We find that all models' predictions are much closer to human AOPs than predictions generated by factors identified in theoretical linguistics. At the same time, we demonstrate that the observed AOPs in LMs are strongly correlated with the frequency of the adjective pairs in the training data and report limited generalization to unseen combinations. This highlights the difficulty in establishing the link between LM performance and linguistic theory. We therefore conclude with a road map for future studies our results set the stage for, and a discussion of key questions about the nature of knowledge in LMs and their ability to generalize beyond the training sets.
[ -0.5538183451, -0.8625294566, 0.6438359618, -0.0581679754, 0.1013383567, -0.0376008786, -0.2117712051, -0.7194774151, 0.1947448999, 0.4740929306, -0.2041307986, -0.2882308066, -0.6571221352, -0.0526493266, -0.2674952149, 0.7563884854, 0.1729988754, 0.1669337302, -0.0826522559, -0.1868021935, -0.0418234132, -0.6674751043, -0.6197658181, -0.5349248648, 0.6942941546, 0.1032441333, 1.2201653719, 0.9546474218, 0.374853909, 0.3007187545, -0.2881281972, 0.0759268254, -0.2446758002, 0.0235590804, -0.319788605, -0.8010916114, -0.5988736153, 0.2104803324, 0.5206301212, 1.1129934788, 0.0380204506, 0.0266416539, -0.1809441149, 0.7420966625, -0.6799460649, 0.2143609375, -0.4513318837, 0.1817828119, 0.1423688531, -0.290500313, -0.4309977889, 0.0048184134, 0.3423065543, -0.1483385116, 0.3020711541, 0.4239419699, 1.1432967186, -0.0878824145, -0.7654710412, -0.1861033142, -0.8810837865, 0.7342004776, -0.6413622499, 0.4536541998, 0.613882184, 0.104758963, -0.2753116488, -0.2488854975, -0.5557717085, -0.4553171098, -0.2843082845, -0.1781832427, -0.1742603183, 0.484211117, 0.2425976992, 0.5943781137, -0.4986926019, 0.4124669731, -0.2978268564, 0.1373628974, 0.6461029053, 0.2120930851, 0.3505418599, -0.0807872862, -0.2123880982, 0.0784483254, -0.5779005289, 0.2532499135, 0.3263036609, 0.1746450812, -0.0075975903, 0.6790191531, -0.282856673, 0.707577765, 0.0387982801, -0.0762486607, 0.3245340288, -0.1275893748, -0.0758787319, -0.3891257942, 0.8898018599, 0.3187374175, 0.2031245977, -0.327250272, -0.404299885, 0.4746036828, 0.3859100342, -0.4637824595, -0.1899492592, 0.0530633479, -0.3310178518, -0.4454994202, 0.0243380647, -0.6161521673, -0.377702564, -0.4498049915, 0.5346420407, -0.1195110455, -0.3367559314, 0.275883168, 0.0573085174, 0.239492029, 0.0434997045, -1.0602192879, 0.5761814713, 0.822684288, 0.3913414776, -0.1769331694, -0.4710280895, -0.0764969513, -0.0876767784, -0.7840054035, 0.7632545829, -0.6338503957, -0.2129076421, 0.1889301687, 0.0885105506, 0.0963547528, -0.4532029331, 0.2906391323, -0.510904789, 0.3652654886, -0.0044221231, -0.5759317875, -0.379311204, 0.0174867511, -0.4786818624, 0.7475650907, -0.371214062, -0.4771879911, 0.3392474949, -0.2758451402, -0.3995246291, -0.1639951766, -0.2876401842, -0.2734205723, 0.5341898799, -0.2033097297, 0.6861919761, -0.1420524269, 0.2070916146, -0.5438039899, -0.1292811781, 0.4434269965, -0.1703363806, 0.5585256815, 0.0215780213, -0.4631576836, -0.0856326595, -0.6489742398, 0.1286276579, 0.2201745659, -0.3479699194, -0.5718064308, 0.1492495388, -0.4942798018, 0.3558915555, 0.103675589, -0.254286319, 0.1450523734, -0.4952324927, 0.2350130677, 0.7307960391, -0.1757347137, 0.748008132, -0.2628766, 0.6718400121, -0.0419470482, 0.138212651, 0.0449938998, -0.533308804, -1.1278988123, 0.0438337736, 0.3034026325, 0.3502087295, -0.3134403527, 0.5051891208, -0.1391523331, -0.3181468844, -0.6620278955, 0.2629548311, 0.8049463034, -0.1601419002, 0.0696148649, -0.6638264656, -0.1235203296, -1.2807699442, -0.3548600972, -0.2159487754, 0.0460584499, 0.378955394, 0.5046644211, -0.1236580387, 0.6996041536, -0.7640244365, 0.0158705376, -0.2235719115, 0.2777056992, 0.0715622678, 0.0605222248, 0.7759532332, -0.8254362345, 0.103477791, -0.0990950167, -0.4530976415, 0.1488652229, 0.4369499087, -0.1913074255, 0.1618672907, 0.5941585898, -0.5416449904, 0.3536215425, 0.5847603679, -0.6059877872, 0.6328990459, -0.3574654162, -0.2395546287, -0.8812615275, -0.2196149975, 0.1999920607, -0.1007063985, -0.9563415051, 0.3034365177, -0.0485892817, 0.0954800844, -0.0859491527, 0.6094323993, -0.5990843773, -0.1683636904, -0.2801349461, -0.0888394639, 0.1546154618, 0.8468192816, 0.1568051279, 0.0789470077, 0.6949481964, -0.9075039625, 0.0728570223, -0.2024781257, -0.3484269083, 0.4042494297, -0.4706012905, 0.0461517945, -0.5127370954, -0.1174462736, -1.174164176, -0.1565843076, -0.0410521701, -0.3060435653, 0.6974590421, -0.2078672051, -0.4512912631, -0.2776385844, -0.0667182729, 0.2399177104, 0.5697038174, -0.1704077274, 0.3296684325, 0.6397523284, -0.2346652001, -0.7084619999, -0.4418176711, -0.1603052318, -0.2219916284, -0.093975246, -0.0247777402, -0.1644864976, -0.8340253234, -0.1381553113, -0.0827502012, -0.3355308175, 0.3378328383, 0.3129318357, 0.2660578787, -0.3797299266, 0.366746217, -0.3412999213, 0.1103768274, 0.2582537532, -0.2904276252, 0.3430431783, -0.2300293148, 0.1534710526, -0.0023569991, 0.0184864514, 0.586877048, -0.253257215, 0.8470038176, 0.2583462894, -0.1565345526, -0.4916396439, -0.4497909844, -0.0835423842, -0.4356752038, 0.4549690783, -0.323892653, -0.5738112926, 0.189264074, 0.1853780448, 0.2010987401, 0.144360438, 0.4155091047, -0.1333163828, 1.3904095888, 0.9439956546, 0.0680149347, 0.7825551629, -0.4295384288, 0.3161025941, -0.4829293787, 0.0574051403, -0.4644473195, -0.3867352903, -0.6849192977, -0.1906174868, 0.1708434969, 0.1853285581, -0.1142957211, 0.0040536034, -0.2149482518, 0.8048552871, 0.3290362358, 0.2370366752, 0.2886318564, -0.0481379926, -0.0966708064, 0.2905032635, -0.6841837764, -0.4799625874, 1.0090199709, 0.4681591392, 0.5567057133, 0.1692811251, 0.3356077671, 0.0685903579, -0.0328671932, -1.0768355131, 0.7875429988, -0.1726412922, -0.7702151537, -0.2331810445, -0.3037950695, -1.2865486145, 0.522498548, -0.3570983112, -0.558395505, 0.3143306673, 0.335676074, -0.1955866814, 0.174058646, -0.8887888789, 0.7476996779, -0.3696805537, -0.3870455027, -0.2283076644, -0.701690197, 0.4901513159, 0.2385964245, 0.5323921442, -0.1892851889, -0.0786314905, 0.7849476337, -0.2404021025, 0.6651543975, 0.2059565336, -0.3144185543, -0.103684932, 0.594379127, 0.1429033875, -0.4445068538, 0.1688627452, 0.1284959912, -0.2877491713, -0.5879507065, -0.5147309899, 0.887393713, -0.8930885196, -0.7695941925, -0.3360359967, -0.4670577943, -0.2289418876, 0.2830933928, 0.1231250688, 0.6940954924, 0.0557603277, -0.0957632065, 0.6815058589, -0.097078003, 0.2145888656, 0.6732715368, -0.33016482, 0.075465031, 0.9877415299, 0.3682637215, 0.6517708302, 0.5136443973, 0.3782790303, -0.0972825289, -0.6943938136, -0.0187352169, 0.5919603109, -0.7235885859, 0.3543575406, -0.6250033379, 0.0717832372, -0.3744791448, -0.0800242275, -0.2511579394, -0.6565765142, -0.0424251817, -0.2831919193, 0.1596350521, 1.2487676144, 0.3222232759, -0.0452357009, -0.1293781102, 0.5746135712, 0.5006098747, 0.5231284499, 0.0523841493, -0.5274260044, -0.2622426748, 0.0693144277, -0.348641634, -0.7239127755, 0.548541069, 0.0947603807, 0.4218400717, 0.6338678598, -0.0988759771, 0.5447282791, -0.5595869422, 0.6856535077, 0.0356831253, -0.5448459983, 0.2632020414, -0.4124017954, -0.0064571202, 0.1520165205, 0.5320606828, -0.2516395748, -0.6031878591, -0.8877431154, -0.8374192119, 0.6790519953, -0.0426126271, -0.0903748497, -0.0149041582, 0.3021140099, 0.0676735491, 0.4877374768, -0.8086487651, -0.6434262991, 0.0573549643, -0.0006751316, -0.7130842209, -0.2879992425, -0.1717398316, -0.1550280005, 0.5227571726, 0.0508654602, 0.1398153007, -0.1374131739, -0.0094528217, -0.1889750957, 0.6620802283, 0.5126128793, 0.7890372276, -0.1809582412, 0.5416371822, -0.2125213444, -0.2196796238, 0.1612250209, -0.248145476, -0.0516811199, 0.046897158, 0.3128840923, 0.8320716619, 0.453608036, -0.4442286789, 0.4410474598, 0.1275170147, -0.0427084006, -0.3358466029, 0.1612812579, -0.0521571077, 0.1216948479, -0.0319260284, 0.0532032624, 0.1043253765, -1.1769840717, -0.1667149812, 0.6685382724, -0.3266125917, -0.6402373314, 0.4187624753, -0.0142471781, -0.6496741176, 0.0222292151, -0.1982485801, -0.4944649041, 0.4802905023, 0.115064472, 0.8011520505, -0.2588799596, 0.1394078881, -0.102962628, 0.2450463772, -0.3645091355, 0.1434196234, 0.0535165258, -0.9326785207, -0.1073062047, -0.7127847075, -0.2628229856, 0.2550983429, -0.7523425817, 0.3275024891, -0.5419860482, -0.1903077364, 0.4432013035, -0.1375034899, -0.6478494406, 0.094684653, 0.3474266827, 0.459118247, -0.9229854345, 0.5263118148, 0.9657816291, -0.3301475346, -0.6730112433, -0.0635053366, 0.0149419475, -0.8163768649, 0.6022700071, -0.0455810018, -0.0431963243, -0.1617382169, -0.6079688072, -0.7419256568, 0.5963804126, 0.1092780828, -0.1817147136, -0.4419205785, -0.0729489625, 0.8706014752, -0.3329413533, 0.393340379, 0.5334599614, 0.2229595035, -0.2553464174, -0.9932760596, -0.2452028692, -0.3390489519, 0.0025943366, 0.4991131425, -0.6694004536, 0.8325217962, -0.4069415629, -0.0630244687, 0.0410188474, 0.2667072117, -0.1657637656, 0.1856739521, 0.4568607211, 0.5179032087, 0.2879514396, 0.0126912408, 1.32204175, -0.2339166254, 0.2154257894, 0.7733428478, -0.0635206029, 0.8958163261, 0.347889781, -0.1686678082, 0.6668688655, 0.401914835, 0.2314060777, 0.3670429587, 0.3072339892, 0.1068477109, -0.3321268559, -0.2105981112, -0.0614526682, 0.43797189, 0.4757573009, -0.5623353124, 0.2116466165, -0.1505702734, 0.2829377651, 0.0382672995, -0.5312902331, 0.9656188488, 0.2055027187, -0.8165503144, 0.8665475249, -0.1973263174, 0.5223391056, -0.6569263339, 0.0191572141, -0.0857924223, 0.3364846408, -0.1812258959, -0.7796674371, -0.3828926384, -0.4716590047, -0.3128814697, -0.1998170614, 0.2947619557, -0.6375962496, -0.4090972245, 0.3241943717, 0.4172470868, 0.2349043041, 0.3988815844, -0.525609076, -0.4425153732, -0.2894893587, -0.5021213293, 0.6433630586, 0.5480290651, -0.0187374186, 0.7694720626, 0.3658016324, 0.5475713015, 0.236652419, -0.1565116793, 0.4725200832, -0.7134866714, -0.5550208688, -0.6526781917, 0.1441102177, 0.177961722, -0.3200311959, 0.7592778802, 0.1948141307, 1.0276885033, -0.1319217384, 0.5225158334, 0.2378073633, 0.3409572542, -0.470713526, 0.4467116892, -0.7074093819, 0.2801843584, -0.388081938, -0.7244433761, -0.2567383945, 0.3974764347, -0.526358366, 0.0320952125, 0.7890480757, 0.8790456653, -0.0361111425, -0.1041940153, 0.5155979991, 0.8038406372, 0.07984557, 0.356443733, 0.8244930506, -0.1449197233, 0.3664071262, -0.5213118196, -0.2709722817, -0.3330819607, -0.3270747066, -1.0897485018, -0.5653275251, -0.2356075495, -0.3542038798, 0.0597224943, 0.985668838, 0.6823617816, -0.581137836, -0.584882915, 0.0303476565, 0.2712003589, -0.3904363215, -0.2498901635, 0.2608895302, -0.1772878021, -0.7510590553, 0.2853531539, 0.1009587944, 0.2912553251, -0.374623239, -0.031250108, -0.21217978, 0.1911387146, 0.6599506736, 0.4007432163, -0.9775343537, -0.2322460413, -0.2040392607, -0.1178385988, 0.0075534945, 0.8642090559, -0.6254104972, 0.4666436017, 0.6439316273, 0.0025891636, -0.1304028034, -0.1481333971, 0.8217288256, -0.7043280602, 0.2913101315, 0.1373511404, 0.576178968, 0.0338811278, -0.1214803085, 0.278535068, 0.2137649953, -0.5361433029, -1.1064095497, 0.6132341027, -0.7161685228, -0.5521894097, 1.367762804, 0.0480358154, -0.301826179, -0.2835762501, -0.0440378413, -0.1479900032, -0.4043259919, 1.0437322855, 0.6517615914, -0.1717683077, -0.1378495991, -0.6914727688, 0.7027814984, 0.5152391195, -0.3767879605, 0.1248339117, 0.4663173556, 0.2313586324, 0.4465330839, 0.2398771346, -0.0140547659, 0.2466480732, -0.2776599526, 0.0416385457, 0.1592511833, -0.5284545422, -0.5792760849, 0.2343408465, 0.4523300529, -0.0341873206 ]
http://arxiv.org/abs/2407.02122v1
http://arxiv.org/pdf/2407.02122v1
Fake News Detection: It's All in the Data!
2024-07-02T10:12:06
2024-07-02T10:12:06
Soveatin Kuntur, Anna Wróblewska, Marcin Paprzycki, Maria Ganzha
cs.CL
cs.CL
This comprehensive survey serves as an indispensable resource for researchers embarking on the journey of fake news detection. By highlighting the pivotal role of dataset quality and diversity, it underscores the significance of these elements in the effectiveness and robustness of detection models. The survey meticulously outlines the key features of datasets, various labeling systems employed, and prevalent biases that can impact model performance. Additionally, it addresses critical ethical issues and best practices, offering a thorough overview of the current state of available datasets. Our contribution to this field is further enriched by the provision of GitHub repository, which consolidates publicly accessible datasets into a single, user-friendly portal. This repository is designed to facilitate and stimulate further research and development efforts aimed at combating the pervasive issue of fake news.
[ -0.2573316693, -0.8356801867, 0.482888937, 0.0583578125, -0.2995285988, 0.5100967288, 0.2747082412, -0.2944332957, 0.3263531029, 0.4652299583, -0.2186808139, -0.565748632, -0.5220139027, -0.0202437844, -0.8047790527, 1.2074943781, 0.0770036951, 0.2402481288, -0.2299201488, -0.118399635, -0.1235113516, -0.3949258924, 0.0676360801, 0.0262313262, 0.604075551, 0.4428816736, 0.5548202991, 0.6898924112, 0.2344022691, 0.0932294205, 0.1175274327, 0.2420129478, -0.6326054335, 0.0151204895, -0.2274038941, -0.2923548818, -0.1507987976, 0.4243761003, 0.5089734793, 0.3954285085, -0.067856133, 0.5449097157, -0.274102062, 0.6024782658, -0.757781148, -0.2078095526, -0.5064846277, -0.2365521044, -0.6919761896, 0.0785185546, -0.1268295199, -0.7079120874, -0.2067635953, -0.5443489552, 0.4424014986, -0.0418284088, 0.8401607871, -0.1465919018, -0.7805613279, -0.421394974, -0.6433575153, 0.3802198768, -0.4489489198, 0.2960185409, 0.1964312941, 0.4524739087, -0.0179244, -0.6191349626, -0.6662541032, 0.0435735472, 0.2308670282, 0.1009141281, -0.3898845613, -0.2422630638, 0.1571951956, 0.6161914468, -0.7775272131, -0.0127445534, -0.62771523, -0.3124474585, 0.4611408114, 0.004138391, 0.3297577202, -0.2623889446, -0.1028744653, -0.2278741151, -0.5667675138, -0.1194364801, 0.9747264981, 0.2838232815, -0.0941526368, 0.435656935, -0.4763943255, 0.7644726038, -0.0908227637, -0.0440672264, 0.3451601863, -0.694283843, -0.2690134645, -0.0663651302, 0.4306646585, 0.224659279, 0.0520997792, 0.1973612607, -0.3879075944, 0.2840575278, 0.4738882184, -0.3823663294, -0.5143443346, 0.114755474, -0.6978505254, -0.7184999585, 0.4801041186, -0.7985131145, -0.6042314768, -0.3117062449, 0.2079185545, -0.0036598372, -0.6656106114, -0.04395907, -0.449749887, -0.0836170167, 0.3033487797, -0.0124598658, 0.1273203343, 0.4909680188, 0.6103503108, 0.0406637192, 0.146613881, -0.4184602499, -0.1828543097, -0.5951831341, 0.9670760632, -0.4811452925, -0.2763095796, -0.0243096333, 0.1521462202, 0.2986590564, -0.662604928, 0.8285403848, -0.5543562174, 0.4673039615, -0.4617353678, -0.6380777955, -0.3256085813, 0.4900483489, -0.9730809331, 0.9362975359, 0.4387928247, -0.6081323624, 0.472899735, -0.5608149171, -0.3662441373, -0.0223913249, 0.0426218063, -0.6876431704, 0.2642505467, 0.3213321269, 0.1536407918, -0.0453028195, 0.4331834316, -0.4014502466, -0.2679828405, 0.3472189903, -0.4711555839, 0.9455242157, 0.3523697853, -0.1104474962, -0.0966941714, -0.6482198834, -0.2093331218, 0.3013344407, -0.1481959075, -0.3375771642, -0.453257829, 0.3825978637, 0.1221288592, -0.0543802455, -0.6056119204, 0.2982103527, 0.110186033, 0.0606797785, 0.6514390707, 0.120548144, 0.5007938147, -0.5445737839, 0.6481366754, 0.3945020735, 0.5639585257, -0.1429762244, -0.4306663573, -0.3997548521, -0.099130109, 0.7074980736, 0.4509657025, -0.6611559391, 0.4003198445, -0.1690623313, -0.6251971126, -0.5309640169, -0.0625657961, 0.2648942769, 0.4615831077, 0.2202084213, 0.0311311558, -0.5614716411, -0.8634223342, -0.5993430018, -0.1179278344, -0.0245478265, -0.0603953451, 1.0478141308, 0.0455754548, 0.9677150846, -0.3078834713, -0.1245134696, -0.1523518413, -0.0500742123, 0.4463999271, 0.4795490503, 0.7637971044, -1.2761808634, -0.413836509, -0.5221296549, -0.6385728717, -0.0807277709, 0.0572690964, -0.0826431215, 0.204468444, 0.0550445169, -0.518681407, 0.6324133277, 0.5643650889, -0.3777019382, 0.605304718, 0.4158815444, 0.5968336463, -0.9228357077, 0.0027509765, 0.0545551106, -0.4036867619, -0.7987844348, 0.0375538655, 0.2872751057, -0.065506883, -0.403231293, 0.407635659, -0.2427656204, -0.1042604595, -0.1508064717, -0.1483425349, 0.4823952019, -0.3161892891, -0.4412963986, 0.5696049333, 0.6812976599, -0.1896850467, 0.7207431197, 0.1120345294, -0.4796942174, 0.6698069572, -0.5573542714, -0.087879099, -0.1958274692, 0.8573925495, -0.8486363292, -0.6776856184, 0.9355080128, -1.0240482092, -0.011933363, -0.3190947473, -0.8732116222, -0.3247042298, -0.338139683, 0.194648236, 0.3647982478, -0.5803370476, 0.3287861645, 0.7120114565, 0.378798008, -0.4341323972, -0.6756414175, 0.2135481238, -0.248440668, -0.3128958642, -0.0304177999, 0.1598507166, -0.4932215214, 0.1327854395, -0.2688901126, -0.2693184316, -0.1745378822, -0.0188902169, 0.1708221585, -0.1290707439, 0.2071055174, -0.1418316066, 0.1879429668, -0.1216194257, -0.2485488951, 0.0912886113, 0.1756493598, -0.4520478249, -0.5605946779, 0.4775898457, 0.6680069566, 0.0512351058, 0.630153656, 0.4520992935, -0.5949046612, -0.2173967212, -0.5954410434, -0.2787146568, -0.3797566295, 0.0185897835, 0.0552481823, -0.4795005322, 0.5458719134, 0.1200350896, -0.0680024102, 0.1814450473, 0.114736028, -0.1182909384, 0.8186045885, 0.3896223307, -0.4369750321, 0.2277450413, -0.1032389626, 0.3979430497, -0.3069033623, -0.2693341374, -0.6391118765, -0.126579389, -0.5140587687, -0.4485442638, 0.0687288344, -0.0896183178, -0.0617892258, 0.1098112613, -0.8494185805, 0.5911967158, 0.5878069997, 0.2758033276, 0.405234009, 0.1353287995, 0.5508416891, 0.0181419831, -0.4797846973, -0.5995847583, 1.2901279926, 0.2786498964, 0.5729733706, -0.0034217685, 0.3175955713, 0.6886931658, 0.3131696284, -0.4746367633, 0.1753360182, -0.0603401326, -1.2123793364, -0.0949740186, -0.4195823073, -0.7464639544, 0.2329838276, 0.154214412, -0.1216316223, 0.358902216, 0.036870148, -0.061603006, 0.6988518834, -0.4382007718, 0.5906863809, -0.1031560749, -0.0102222655, -0.1570817679, -0.4434603155, 0.7271928787, -0.2180963755, 0.3318752348, -0.346196413, 0.0709172338, 0.4605768621, 0.0943167955, 0.6379334331, -0.2710833848, 0.1171691865, 0.2340209186, -0.130323112, 0.4573857188, 0.1383066028, 0.170985058, 0.43145594, -0.2215166837, -0.6138715744, -0.1740793288, 0.6526728868, -0.4403254688, 0.0441722572, -0.8275676966, -0.4287271202, 0.0294495542, 0.0098467236, 0.2148404419, 0.3687538207, -0.4379259944, 0.2423294932, 0.8501378298, -0.38956815, -0.030212326, 0.6365885735, -0.2914544642, -0.336553812, 0.8448275328, 0.6084389687, -0.1674456, -0.2347671837, -0.0892415494, -0.5272724032, -0.4530843198, -0.4807890952, 0.1122086942, -0.7365204692, -0.2774111629, -0.6155874729, -0.1236699596, -0.578648746, -0.0065261745, -0.4587336183, -0.3179372549, -0.5664556623, -0.2402830422, 0.3934497237, 0.8618366718, -0.2244803607, 0.3997212052, -0.6515159607, 0.7979769111, 0.0846063495, 0.3460408151, -0.4826986194, -0.6354990602, -0.2596091926, 0.3563089967, -0.3354929388, -0.8845940828, 0.4426190257, -0.2609908879, 0.6617540121, 0.4587653279, 0.34640944, 0.3977537751, 0.2111002952, 0.9583724141, -0.1312483847, -0.6854013205, 0.6087130308, -0.8335933089, -0.0177603364, 0.6727386117, 0.7583507895, -0.3547306657, -0.3078982532, -0.8352615833, -0.5768474936, 0.4857959747, 0.4018865228, 0.0392059796, 0.2977502048, 0.0394783169, 0.2739529908, 0.4356654286, -0.8408944607, -0.2032119632, -0.2928262949, -0.093012698, 0.266109556, 0.0613215975, -0.5377906561, -0.4099431634, 0.6171302795, 0.0681909546, 0.0806032643, -0.0930408016, -0.2364782542, -0.1151988953, -0.1167406514, 0.4806751609, 1.1464809179, 0.0079664662, -0.1915180087, -0.2656339109, -0.5155715346, 0.053416539, -0.0402893983, -0.3241329491, 0.5477414131, 0.1710148305, 0.3820204139, -0.1713678688, -0.4327183366, 0.7577980161, -0.0419430695, -0.2911533117, -0.4474181235, -0.1588950306, -0.0340780579, 0.0450298116, 0.9105447531, 0.2746295035, 0.3724140823, -0.5871011019, 0.2177175134, 0.1188082471, -0.2298918813, -0.3707172275, 0.5077116489, 0.2095244825, -0.046646826, 0.8514736295, -0.0741336644, -0.4027536809, 0.8481081724, 0.1633859426, 0.4096206427, -0.0842596292, 0.6817719936, 0.090669319, 0.5308147669, -0.4697245657, 0.0841326788, 0.218700707, -0.7805773616, 0.0333892182, -0.5059759021, -0.4499708414, 0.5479574203, -0.6958817244, 0.1790878028, -0.2065474689, -0.0752763152, -0.0736677796, -0.062272504, -0.4010570645, 0.3910823464, 0.3220637441, 0.9652884007, -1.2201684713, 0.5733183026, 0.5341283083, -0.5223910809, -0.2818063498, 0.2603058517, 0.7045006156, -0.3555319905, 0.1934244931, 0.1812775582, 0.2732684612, -0.0632164925, -1.0405533314, -0.569065392, 0.6240537763, 0.4390311241, -0.4034214616, 0.1742955893, 0.2822474539, 0.1896532774, -0.1802695245, 0.1317521334, 0.6534225345, 0.7569279075, -0.2320933491, -0.5119562745, -0.2868745625, -0.2825734615, -0.1158116236, 0.0711480305, -0.6363950372, 0.8427228928, 0.3623765707, -0.2675203383, -0.2948732078, 0.4536297023, 0.4670183361, 0.7093439102, 0.307629019, 0.585524261, 0.7463360429, -0.4286386371, 0.9031369686, -0.0991587937, 0.2643719912, 0.6735313535, 0.0026088047, 0.0618280917, 0.1402524263, -0.1937321275, 0.3182224929, 1.0107243061, -0.521838665, 0.3682835102, 0.2523330152, -0.241153419, -0.1618473232, -0.3735796809, -0.537969768, 0.5059089661, 0.4839619398, -0.3740079701, -0.3445281386, 0.3925458491, 0.2197163105, 0.1268777251, -0.3772077858, 0.2468494177, -0.2694853842, -0.098070249, 0.1535764933, -0.2703869939, 0.7930132151, -0.5796976686, -0.1880083829, -0.4222739339, -0.1417090595, -0.2832057178, -1.0491827726, 0.3803234398, -0.0743079409, -0.3946163952, -0.3992390037, 0.9886269569, -0.1067078263, -0.3634978235, 0.1562039703, 0.6869851351, 0.3266496062, -0.543530941, -0.7247494459, 0.3426879346, -0.1530509144, -0.3680939674, 0.2706159055, 0.2491423339, -0.1731926054, 0.6202538013, 1.0238704681, 0.1840093285, -0.0075238356, 0.1456781626, 1.0890443325, -0.4762488604, -0.5732235312, -0.3959394395, 0.5878841877, -0.6356731057, -0.459921509, 0.9195669889, 0.8768537641, 1.1221519709, -0.2359050661, 1.0510553122, -0.1294385642, 0.9475164413, -0.1161493808, 0.9663201571, -0.3782081008, -0.0125769386, -0.0853194445, -0.7820925117, -0.2260578275, 0.349947989, 0.1129020751, 0.0381726325, 0.2841796577, 0.7122232318, -0.3361540437, 0.0458341204, 0.2178123295, 0.0517241843, 0.2230384499, -0.0897863209, 1.0233640671, -0.6109987497, 0.728259325, -0.0102397399, -0.0627234206, -0.4392219186, -0.4283393919, -0.5500807166, -0.4998661876, -0.4293847084, -0.3969537318, 0.2807968557, 0.2884492278, 0.8633598089, -0.9578115344, 0.1164667532, 0.1051223502, 0.163262859, 0.0230108947, -0.3414939046, 0.0301071964, 0.168500334, -0.6657621861, 0.4833235741, -0.0587702207, 0.0904664397, -0.4153383076, 0.1650851965, -0.2966608703, 0.1698643267, 0.2987782359, 0.4197645783, -0.4715160131, 0.009693251, 0.0111274105, -0.3723223805, -0.0616572015, 0.7764965892, -0.8767371774, 0.312969774, 0.7705481648, 0.4014362991, 0.2840462327, 0.2932195365, 0.4099364579, -0.7003520727, -0.0040745577, 0.357522428, -0.0425887406, 0.4539260864, -0.6514669061, 0.6053886414, 0.5778567791, -0.6756445169, -1.358112216, 0.1453904659, -0.771246314, -0.5535724759, 0.9098328948, 0.2603174448, -0.1006603241, -0.7386974096, 0.0108945277, 0.338552624, -0.7064577341, 0.8010272384, 0.714037776, -0.0783487037, -0.183390528, -0.8256095648, 0.3587310314, -0.3405884802, -0.9787367582, -0.1678580642, 0.8725758791, 0.5312685966, -0.0631268099, 0.6008393168, -0.2159968466, 0.3539385498, 0.0317501687, 0.0114275822, 0.0145463785, -0.4306882918, -0.3144118488, 0.1338399351, -0.7903847694, -0.3961933851 ]
http://arxiv.org/abs/2407.02119v1
http://arxiv.org/pdf/2407.02119v1
Cost-Effective Proxy Reward Model Construction with On-Policy and Active Learning
2024-07-02T10:09:19
2024-07-02T10:09:19
Yifang Chen, Shuohang Wang, Ziyi Yang, Hiteshi Sharma, Nikos Karampatziakis, Donghan Yu, Kevin Jamieson, Simon Shaolei Du, Yelong Shen
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement learning with human feedback (RLHF), as a widely adopted approach in current large language model pipelines, is \textit{bottlenecked by the size of human preference data}. While traditional methods rely on offline preference dataset constructions, recent approaches have shifted towards online settings, where a learner uses a small amount of labeled seed data and a large pool of unlabeled prompts to iteratively construct new preference data through self-generated responses and high-quality reward/preference feedback. However, most current online algorithms still focus on preference labeling during policy model updating with given feedback oracles, which incurs significant expert query costs. \textit{We are the first to explore cost-effective proxy reward oracles construction strategies for further labeling preferences or rewards with extremely limited labeled data and expert query budgets}. Our approach introduces two key innovations: (1) on-policy query to avoid OOD and imbalance issues in seed data, and (2) active learning to select the most informative data for preference queries. Using these methods, we train a evaluation model with minimal expert-labeled data, which then effectively labels nine times more preference pairs for further RLHF training. For instance, our model using Direct Preference Optimization (DPO) gains around over 1% average improvement on AlpacaEval2, MMLU-5shot and MMLU-0shot, with only 1.7K query cost. Our methodology is orthogonal to other direct expert query-based strategies and therefore might be integrated with them to further reduce query costs.
[ -0.3701806962, -0.5543727279, 0.38978073, 0.0691432729, 0.0293486454, 0.0199360941, -0.1548317522, -0.4928977191, 0.4448914826, 0.7778259516, -0.6001574993, -0.1927342117, -0.2176388949, -0.1712777019, 0.3417108953, 0.8717247248, 0.0324051566, -0.128333956, 0.0254408866, -0.2238886207, -0.0881315842, -0.6018258333, -1.1139765978, -0.3505268991, 0.8275716305, 0.5026488304, 0.6298112869, 1.0889850855, 0.258818835, 0.1578989178, -0.1161214486, 0.5676804781, -0.5357414484, 0.1319604814, -0.1884138733, -0.4326347411, -0.5322217941, 0.2699367404, 0.3728888929, 0.6590877771, -0.5100300312, 0.0279754419, -0.2265930176, 0.927546978, -0.9917986989, 0.3505375981, -0.7504041791, 0.2108944654, -0.1189403981, -0.1112058535, -0.4984125495, -0.4369715452, 0.2395359278, -0.6769329906, 0.1153737679, 0.1525455713, 0.8610897064, 0.3291249573, -0.5119172335, -0.3519961238, -0.3981823325, 0.7690263391, -0.5304324031, 0.4143220484, 0.6958068609, 0.3270684779, -0.1961586475, -0.7527762651, -0.2797217965, -0.3862099051, 0.150641188, 0.3012342453, 0.1744318306, 0.2489649206, 0.0571100675, 0.2281162441, -0.204262659, 0.2535981238, -0.1605521142, -0.2281657457, 0.723828733, 0.0824852511, -0.2919799387, -0.1232383475, -0.5144231319, -0.4909032881, -0.908973217, 0.3811149597, 0.7114624977, 0.5567448139, 0.1991651356, 0.3297273219, -0.4914005399, 0.7464196682, 0.3625169694, -0.1777202338, 0.0870446488, -0.1327791214, 0.1203290373, 0.1486963928, 0.5500767231, 0.1576296687, 0.1411599815, -0.1809957176, -0.4094363153, -0.1200989187, 0.4258537889, -0.6435734034, -0.3107884228, 0.1705322415, -0.4782922566, -0.4447106421, -0.0536004677, -0.6855994463, -0.4501284063, -0.1188271046, 0.3579571843, 0.2488265932, -0.301813066, 0.1275647283, 0.0547590777, -0.0144582046, 0.3312651813, -0.9993704557, 0.2760026157, 0.4323698282, 0.6662338972, -0.4354583323, -0.1595383584, -0.9266080856, 0.0515127704, -0.2564218938, 0.8094890118, -0.4365211129, -0.3300673664, 0.342574954, 0.0141012529, 0.0753768459, -0.6366958618, 0.5465292335, -0.8012590408, 0.0688964427, -0.3478371799, -0.5513803959, 0.1121027693, 0.1908097863, -0.9792330861, 1.1000393629, -0.0022211575, -0.520298779, 0.4978680015, -0.7451856136, -0.2036400586, 0.0238332544, 0.0912356749, -0.4735925198, -0.2598797977, 0.2183847278, 0.3895851076, -0.1687386781, 0.353495419, -0.4001832306, -0.1650453806, 0.1899044663, -0.2715833187, 0.5583555102, 0.4316373169, -0.5950418115, 0.2742820084, -0.8300369978, 0.0018295681, 0.1726549715, -0.7552126646, -0.3868526816, 0.248905763, -0.2208539844, 0.0970604718, 0.0802798942, -0.5348441601, 0.4327054322, -0.5122891068, 0.2810013592, 0.8973234296, -0.0643751696, 0.5661910176, -0.0157696698, 0.476436466, -0.4326081276, 0.4347382486, 0.0441744961, -0.4586453736, -0.8113202453, -0.1500106305, 0.3671957552, 0.3484508693, -0.8654384017, 0.122760348, 0.073196128, -0.3566178381, -0.7021096349, 0.0609790124, 0.6656633019, 0.5970538259, 0.4609942138, -0.235167712, -0.1629661173, -0.886734724, -0.1594632715, -0.4315218329, 0.1924792528, 0.5946156979, 0.1819049865, 0.1878150851, 0.9868245125, -0.8782371879, -0.1617267132, -0.1325414926, 0.2770334184, 0.2026778907, 0.2309114188, 0.3383904696, -0.7797952294, -0.5938626528, -0.2609524131, -0.1599843204, -0.1306895018, 0.0576806143, -0.0838595554, 0.4216388166, 0.1517916471, -0.3697646558, 0.2699923217, 0.4224775732, -0.4837093949, 0.2978406549, -0.2906439304, 0.0970726907, -0.4358458519, 0.0111845573, -0.008451486, -0.2372344136, -0.4316591024, 0.2170545757, 0.2558487058, -0.0032962291, -0.8572961092, 0.8485724926, -0.342502743, 0.0829866678, -0.4436125457, -0.1340771466, -0.2075767815, 1.1209993362, 0.4016751945, 0.6350830793, 0.1444983482, -0.7550944686, 0.5077490807, -0.0442769267, -0.1146636531, 0.25660941, -0.6573211551, 0.1892347932, 0.0511521772, 0.5078863502, -0.8117589355, -0.2488191426, 0.4706106186, -0.2385611385, 0.1337865591, -0.201525569, -0.2258583456, -0.166937843, -0.49738428, 0.260351032, 0.4517121315, -1.0886385441, 0.3165789545, 0.7074302435, 0.0806772038, -0.8113605976, -0.3396242559, -0.2065165639, -0.1136172265, -0.2317986637, 0.4751591384, 0.0574550293, -0.034215562, 0.1086377949, -0.0921450779, -0.081433624, 0.0788991004, 0.1238126606, 0.2678354681, 0.260029912, 0.2595880032, 0.0804620385, -0.2670812309, 0.1137246266, -0.2846865058, 0.411148876, -0.0082895057, -0.3814645708, -0.0943871364, 0.1174923927, 0.2518134415, -0.1849807948, 0.8077542186, 0.4773684442, -0.1126767993, -0.4440002441, -0.6316236854, -0.4766211212, -0.4151262939, 0.2407225668, -0.3305624425, -0.9468218684, 0.2976443172, -0.0800586119, 0.3510483801, 0.2706822455, 0.4832966626, 0.1733087897, 1.339931488, 0.275283277, 0.0351061597, 0.4385278523, -0.1181957722, -0.1442493051, -0.3443466127, -0.496410042, -0.4213208258, -0.1304000467, -0.5246872306, -0.3385119736, 0.3732782602, -0.0877061859, -0.4808018506, 0.0282867495, -0.6266723871, 0.2473294884, 0.9261611104, 0.348633498, 0.1125053614, 0.0620698147, -0.0755652413, 0.1267838925, -0.9968276024, -0.0800799951, 1.2715598345, 0.5104590654, 0.8605738282, 0.0950005502, 0.4633090794, 0.4923455715, 0.0978247672, -0.8856890798, 0.4514370263, 0.0894463807, -0.5179082155, -0.5039845109, -0.5497769713, -1.1051962376, 0.2570891082, -0.4666529, -0.2115717083, 0.3448189199, 0.6235179305, -0.3221981823, 0.4236586094, -0.5468277335, 0.6898028255, -0.4363020957, -0.8743203282, -0.1856244355, -0.7674762607, 0.1864956021, 0.1555352956, -0.0656399801, 0.0409744941, -0.2373751402, 0.893124938, -0.620903492, 0.8622626066, -0.4691461027, 0.0245584566, 0.2629123628, -0.191287145, 0.9645040035, 0.0881741047, -0.1140314564, -0.2094948292, -0.3446566761, -0.5365988612, -0.5404646993, 0.7047236562, -0.9777579904, -0.4770531952, -0.5789858699, -0.3326233327, -0.4102362096, -0.1325383633, -0.0896724537, 0.2861803174, 0.0971718431, 0.0557429381, 1.0280153751, -0.3386287093, 0.352863282, 0.7502757907, -0.1096335277, -0.7538790703, 0.9225934148, 0.0468589887, 0.3332461119, 0.3337320685, 0.4030192792, -0.6557522416, -0.1889915019, -0.621786654, 0.3646611273, -0.5101969242, -0.1757428348, -0.5994118452, -0.0458046719, -0.4675003886, 0.0216870308, -0.8510993719, -0.5804591179, -0.0200250335, -0.1555886269, 0.4573837817, 0.5643208027, -0.1643502116, 0.2702562213, -0.5080196857, 0.0846215189, 0.6653885841, 0.4935219288, 0.3086618185, -0.2789520025, -0.3960072994, -0.075476408, -0.2836741209, -0.7620148659, 0.4667404294, 0.1017027721, 0.8516240716, 0.6698721051, 0.4652172327, 0.4849003851, -0.260890305, 0.7525103688, 0.1549420804, -0.5995197296, 0.5389897823, -0.2118471414, 0.1009861976, 0.5548372269, 0.5194299817, -0.3202683032, 0.0416092277, -0.6951523423, -1.1380842924, 1.0399138927, -0.064253509, -0.1539303064, -0.0247324463, 0.7173076868, 0.1449154317, 0.2721597254, -0.840110302, -0.4957225919, -0.2468639612, 0.2229618728, 0.1710599959, -0.2749667764, -0.1536954492, -0.1270030588, 0.8854077458, -0.2523411512, 0.2065117806, -0.0490888096, 0.2366446704, -0.1221042871, 0.1597954482, 0.3186413348, 0.4638954699, -0.5712863803, 0.2257391065, 0.0469914973, -0.2503758669, 0.1343929172, -0.1302608699, -0.2783018351, -0.3327762783, 0.0839580223, 1.3162713051, 0.2078225911, -0.7533125877, 0.4243843853, -0.0102833146, -0.4344151318, -0.2272986174, 0.2125277817, -0.0042183292, 0.0769006982, 0.3292095363, -0.3061321378, 0.1339703351, -0.5161293745, 0.0223834645, 0.3902139962, -0.7432871461, -0.0286537819, 0.621209383, 0.5026424527, -0.1938692629, 0.6587247252, -0.2400100529, -0.4545785487, 0.5310406089, 0.5739344954, 0.5612848401, -0.2454121709, 0.5768535137, 0.4908327758, -0.0120811714, -0.5455636978, 0.1750580519, -0.2419372499, -0.6908254027, -0.2631973624, -0.539391458, -0.8805552721, 0.1631498635, -0.8527611494, 0.1581322551, -0.3452205062, -0.2464863658, -0.3568153083, 0.1330343187, -0.4219465256, 0.1918019056, -0.1878329515, 0.7255749106, -0.8665567636, 0.8392571211, 0.9572632909, -0.5899345875, -0.9246683717, -0.4242789745, -0.0824219286, -0.8824863434, 0.7596703768, -0.1471820325, -0.088013716, -0.0283392537, -0.4811765254, -0.8188481927, 0.9160174131, 0.2191862613, -0.2601868212, -0.0347872823, -0.1162581742, 0.3924726546, -0.3160794079, 0.5032948852, 0.403412044, 0.5543682575, 0.3763780594, -0.7181386352, -0.0313782059, -0.1478952765, -0.2775121033, 0.3972231746, -0.8265930414, 0.8943741918, -0.0055942368, -0.1241796613, -0.3296329379, 0.5914075375, 0.4450553358, 0.3911218941, 0.8246617317, 0.5736070275, 0.5810242891, 0.1137204468, 1.0745332241, -0.2317720801, 0.3215107322, 0.888943851, -0.3190619051, 0.9867227077, 0.5547271371, -0.2851558626, 0.218377769, 1.0026142597, 0.0818325654, 1.0223237276, 0.3180346787, -0.1823262721, -0.5572454333, -0.4969997704, -0.2803247273, 0.1184924394, 0.0802485719, -0.0735087246, -0.1181907207, -0.0341461115, 0.1516854167, 0.1224288791, -0.4375987351, 0.8352633119, -0.1918517202, -1.1671880484, 0.4528001249, 0.1443765908, 0.7304497957, -0.8249756098, -0.1995600462, -0.3828516006, 0.2281015962, -0.1353065223, -0.5616924763, -0.1100190356, -0.1753935218, -0.0847482905, -0.3747240007, 0.7006269693, -0.5137353539, -0.1201085001, 0.339210391, 0.5058678389, 0.0793334991, 0.0051200776, -0.8980379105, -0.1985184997, 0.0530160666, -0.4909239709, 0.5983471274, -0.0594787709, -0.2400346845, 0.6808499694, 0.8012099266, 0.5198036432, -0.0109827956, 0.0495519191, 0.8494715095, -0.4791264236, -0.7604404092, -0.3785016239, 0.3600229919, -0.2284233272, -0.3160392046, 0.5241577625, 0.3754167557, 0.9151515961, -0.0897106156, 0.6106435657, 0.1932122558, 0.640381515, -0.5452390313, 0.550581634, -0.7579519153, 0.3034043312, -0.0716304928, -0.8917566538, -0.1379598081, 0.6725840569, -0.1421841234, -0.1245392039, 0.5808882117, 0.8901863694, 0.0513223857, -0.2287718803, 0.0337492004, -0.2941457033, 0.3074800968, 0.5008528829, 0.7844572067, -0.0853338391, 0.6137127876, -0.3865152597, -0.508749187, -0.2952192724, -0.9367192984, -0.8930895925, -0.4709883332, -0.3613965511, -0.4192781746, 0.4294812381, 1.3699319363, 0.7471593618, -0.8641040325, -0.4650114179, -0.0251543969, 0.189007923, -0.507252574, -0.2292930633, 0.7481805086, -0.408608973, -0.7681524158, 0.4578352869, 0.0892644897, -0.2925091684, -0.4188705385, -0.487233609, -0.408703357, 0.1961310655, 0.4648533463, 0.6338892579, -0.730687201, -0.1604154706, 0.0726138949, -0.1103848368, -0.1182084009, 0.8483926058, -0.9215379357, 0.6286312342, 0.5572044253, 0.9255720973, 0.7544690371, 0.1353491247, 0.4642429054, -0.3920023739, 0.021598801, 0.009260674, 0.0456720367, 0.004449239, -0.4034188986, 0.8412519693, 0.3744418919, -0.6104847789, -0.9344769716, 0.23437953, -0.9152146578, -0.3705198765, 1.1644271612, -0.3448796272, -0.0949805975, -0.1917358339, -0.1431915462, 0.212294206, -0.8525246382, 1.0350528955, 0.355540812, -0.5792369246, -0.0090176817, -0.3866541684, 0.7418891788, 0.49980551, -0.6596165895, -0.0591598749, 0.5863080025, -0.0545978546, -0.108278051, 0.650806129, 0.1738371402, 0.1927915961, -0.0018085137, 0.281368196, -0.5511776209, -0.4634642601, -0.0497536846, 0.6209729314, 0.2698402405, -0.2906914949 ]
http://arxiv.org/abs/2407.02118v1
http://arxiv.org/pdf/2407.02118v1
Breaking Language Barriers: Cross-Lingual Continual Pre-Training at Scale
2024-07-02T10:06:41
2024-07-02T10:06:41
Wenzhen Zheng, Wenbo Pan, Xu Xu, Libo Qin, Li Yue, Ming Zhou
cs.CL
cs.CL
In recent years, Large Language Models (LLMs) have made significant strides towards Artificial General Intelligence. However, training these models from scratch requires substantial computational resources and vast amounts of text data. In this paper, we explore an alternative approach to constructing an LLM for a new language by continually pretraining (CPT) from existing pretrained LLMs, instead of using randomly initialized parameters. Based on parallel experiments on 40 model sizes ranging from 40M to 5B parameters, we find that 1) CPT converges faster and saves significant resources in a scalable manner; 2) CPT adheres to an extended scaling law derived from Hoffmann et al. (2022) with a joint data-parameter scaling term; 3) The compute-optimal data-parameter allocation for CPT markedly differs based on our estimated scaling factors; 4) The effectiveness of transfer at scale is influenced by training duration and linguistic properties, while robust to data replaying, a method that effectively mitigates catastrophic forgetting in CPT. We hope our findings provide deeper insights into the transferability of LLMs at scale for the research community.
[ -0.4064359069, -0.5224465132, 0.5087665915, 0.3365008235, -0.2645144165, 0.2153892964, -0.5718576908, -0.2846513391, 0.0840643421, 0.4511388838, -0.4670717716, 0.0270578116, -0.6985043287, 0.031706091, -0.2305365205, 0.9309397936, -0.2973640561, 0.0174160544, -0.2106544375, -0.147368446, -0.3533830345, -0.718378365, -0.8032014966, -0.3144144118, 0.7001430392, 0.260727942, 0.5745152235, 0.7508315444, 0.2478202581, 0.3122060299, 0.3053625524, -0.1924035251, -0.6511985064, -0.2072718143, -0.2506084144, -0.5756732821, -0.2110151947, 0.0994613618, 1.0131373405, 1.0161123276, -0.0210468434, -0.0065045259, 0.2907144725, 0.7032902837, -0.4236249626, 0.0804597512, -0.6579449177, 0.0329712816, -0.446143508, 0.0434957892, -0.3714859188, -0.242871359, 0.1725750417, -0.6636757255, 0.0323377475, -0.0151462732, 0.8224271536, 0.1707289815, -0.1094603911, -0.2239666432, -0.8092814684, 0.9148759246, -0.4288338721, 0.7374803424, 0.2468302995, 0.1014713421, 0.2050092369, -0.898006618, -0.4135324955, -0.5835638046, 0.0951865539, -0.2228038013, -0.0325409509, -0.1540394127, 0.0919666067, 0.0578194074, -0.5715739131, 0.2675444186, -0.3607563376, -0.1346539706, 0.4633273482, -0.0652708709, 0.4501838386, 0.4461015463, -0.19587183, -0.0187342558, -1.0901770592, -0.0914114788, 0.0766960829, 0.4066322148, -0.078725867, 0.1047607437, 0.1346463263, 0.4363827407, 0.1523475796, -0.1279658377, 0.2135431916, -0.5051862597, 0.2411005646, -0.0550260432, 0.8102644682, -0.1471316516, 0.6612353325, -0.4594764411, -0.0052996748, -0.1448767781, 0.2360937148, -0.8210578561, -0.3589070141, -0.2752047181, -0.1953185797, 0.1495268792, -0.3494107127, -0.4986729324, 0.0265054461, -0.5699675083, 0.417208612, -0.3963777125, -0.2901018858, -0.0840837955, 0.5337123275, 0.0427298322, 0.1410150528, -1.096113205, 0.2801455259, 0.4268676937, 0.9463065863, -0.2816011012, -0.6726350784, -0.5538419485, 0.0323359221, -0.5302804708, 0.5523427129, -0.5012360811, -0.4072604775, -0.1105559543, 0.0796371549, -0.1999616772, -0.5738276243, -0.0222417861, -0.5660731196, 0.0429962091, -0.2287181318, -0.3700250685, 0.230306074, 0.3759945035, -0.5830149055, 0.7700094581, 0.1882789135, -0.5532200336, 0.4268467724, -0.387891233, -0.5884658694, 0.2402602583, -0.1404746175, -0.2623312771, -0.0557671748, 0.2449114919, 0.1797689497, -0.476916194, 0.2317563146, -0.3592959642, -0.1953536123, -0.1171320453, -0.3973011374, 0.6785308123, 0.0699734986, -0.2797433734, -0.1957766712, -0.6060473323, 0.0470094904, 0.0948358923, -0.5083182454, -0.3586027622, -0.1157411188, -0.2550712824, 0.2103179693, 0.5185367465, -0.5471041799, 0.1177078784, -0.2724094987, 0.3157763779, 0.6527620554, -0.2418946922, 0.635355413, -0.3977692723, 0.682298243, -0.1482653916, 0.047153879, -0.0837433264, -0.0669844151, -0.7830838561, -0.2539522052, 0.3281698525, 0.5847353339, -0.7182706594, 0.3244444728, -0.4931306839, -0.5114387274, -0.311644882, 0.4997745156, 0.3122587204, 0.2308050543, 0.3396002352, -0.426389724, -0.5817189217, -0.6144809127, -0.2813393474, -0.1905629039, -0.2815644145, 0.1272219867, 0.2757526636, -0.2118717879, 0.8745738268, -0.0620473139, -0.0204039086, -0.4223273993, 0.1253921241, 0.0499395803, 0.6350951195, 0.5092972517, -0.4395298064, -0.7662534118, 0.0600012019, -0.63702178, -0.1591894925, -0.348112613, -0.0418368317, 0.1088408604, 0.8906643391, -0.4016450346, 0.0499625877, 0.5852989554, 0.0369983688, 0.5909424424, -0.4411977232, -0.0985766798, -0.8797136545, -0.0218255147, -0.2596921921, -0.085004881, -0.7016996145, -0.1942579001, 0.0273987129, -0.1079794094, -0.5202009082, 0.7259536386, -0.6749011278, 0.1469120532, -0.2323517203, 0.0891798958, -0.2987411916, 0.5119640827, 0.1159701124, 0.6290804148, 0.6804718971, -0.6819664836, 0.1787615418, -0.0126421573, -0.125371173, 0.6225341558, -0.5890125632, 0.2988148928, 0.0248460304, 0.2779538631, -0.5897969007, 0.1734761745, -0.0053356807, -0.1809020936, 0.4027136862, -0.0572495759, -0.4499002397, -0.1977220476, -0.0095875449, 0.7989304066, 0.6059913635, -0.6818082929, 0.6208359003, 0.3483245969, -0.5442069769, -0.1758565456, -0.7025225163, 0.2160307169, -0.2509694695, -0.4742129445, 0.2393116951, -0.1972851753, -0.1202930734, -0.0531095453, 0.1216150075, -0.0964425355, -0.0558145791, 0.0142283672, 0.0845257491, -0.3492856324, 0.1362041831, -0.2392683029, -0.050327532, 0.1624289304, -0.6842310429, 0.7107887864, -0.2338502854, -0.2472985536, -0.2981564999, 0.2695976496, 0.5687775016, -0.3177736104, 0.7600985765, 0.4128844738, -0.1715367287, -0.3189807832, -0.3422473371, 0.003355175, -0.4782105088, 0.4978770912, -0.3761923611, -1.0781469345, 0.3886986673, -0.2350445539, 0.0502392128, 0.2666565478, 0.5953151584, 0.2098214626, 0.7087939382, 0.9567777514, -0.3964935243, 0.597227037, 0.1622755677, 0.3021277487, -0.5094899535, -0.0924223736, -0.4135783315, -0.1677146703, -0.5056703687, -0.5963431001, 0.3197002709, 0.2145705223, -0.5955491662, 0.3595359921, -0.0825462267, 0.5399971008, 0.3377562165, -0.0696429238, 0.129246816, -0.0898184702, -0.1175146177, -0.0083655259, -0.9435596466, -0.1395606399, 1.2878206968, 0.2965593636, 0.7382906079, -0.1446438879, 0.7316533923, -0.0767760798, 0.739536643, -0.4112845659, 0.5493318439, -0.2964406312, -0.4687523246, -0.6454640627, -0.6364878416, -1.0153363943, 0.1669474542, -0.0219149068, -0.6628139615, -0.1338178515, 0.1143770367, -0.1893320531, 0.4830870032, -0.4330362082, 0.6163805723, -0.5529401898, -0.4078911543, -0.2741679847, -0.5505365133, 0.1703271121, -0.6738459468, 0.3623925745, 0.0572293289, -0.0822806507, 0.8206181526, -0.5285349488, 0.8754765987, -0.0897125378, -0.23447299, 0.2628697753, -0.032539364, 0.4837360084, -0.0002717514, 0.1273274273, 0.2421312779, -0.1909661293, -0.6686093807, -0.475091815, 0.5832320452, -0.7639455199, -0.6368641257, -0.1046165153, -0.7976120114, -0.4907253981, 0.3866511583, 0.2564722002, 0.1960111707, -0.2678241134, 0.2518697083, 0.5671578646, -0.2787329257, 0.3602126241, 0.5145416856, -0.1615614742, -0.3061078489, 1.018316865, 0.4182698727, 0.5529116392, 0.3397651017, 0.2778544724, -0.2330262661, -0.5928083062, -0.3091002405, 0.4121679068, -0.3763995171, 0.2305075824, -0.546995163, -0.3937827647, -0.4217134714, -0.438726306, -0.7219224572, -0.072489664, -0.051045727, 0.0920243636, 0.1568623334, 0.5359246731, -0.4658944905, 0.2984285951, -0.9176058173, 0.1538998783, 0.4607684016, 0.3170338571, 0.0096754869, -0.6630592942, -0.4999575615, 0.0364999436, 0.0676984489, -0.3616382778, 0.3110448122, 0.3338172138, 0.6432168484, 0.2853267789, -0.0588744842, 0.6068009138, -0.8277848959, 0.7212471962, 0.4727383852, -0.9598098993, 0.2355042547, -0.2942930162, 0.7477632761, 0.6549297571, 0.6758403778, -0.5160219669, -0.4327817559, -0.4929876924, -0.9433790445, 0.4615525603, -0.1127175838, 0.3264113963, 0.0665476918, 0.3912156224, 0.1012813449, -0.1212732419, -0.7954385281, 0.1196016222, -0.1056313515, -0.0112446556, -0.4430044889, -0.0525322445, -0.0426376835, -0.3931362629, 0.5266796947, -0.0202728473, -0.1352817118, -0.1225581393, -0.3467777073, 0.1830500066, 0.0515506752, 0.3247970939, 0.7358606458, 0.1475591213, 0.2306639999, 0.5968821049, -0.6328562498, 0.4584487081, 0.0521519892, 0.0487129129, -0.1659987569, 0.6260967255, 0.6312152743, 0.2414304167, -0.6709392071, 0.302937746, 0.0998401865, -0.4680042863, -0.2418824285, -0.1426668763, 0.2123491466, 0.2001485378, 0.0283597838, -0.2796294987, -0.6433613896, -0.6212615371, 0.5884033442, 0.155699417, -0.3190171719, -0.4462894499, 0.7159212232, 0.2359128296, -0.2144220471, 0.8401677012, -0.092206955, -0.4304401875, 0.4352121651, 0.5876252651, 0.6310529709, -0.4832684398, 0.0768554583, 0.2746575773, 0.4874292314, -0.4248205721, -0.1715399921, -0.1521817595, -0.8088561893, -0.527841568, -0.682531476, -0.3520970643, 0.175958842, -0.366989702, 0.0385800339, -0.7987359166, 0.1777369231, -0.2902698815, 0.0077111046, -0.7022359371, 0.25487867, 0.2693973482, 0.6759275198, -0.777482152, 1.1301127672, 0.3716287911, -0.237977013, -0.8904957175, 0.0307183061, -0.1001444012, -0.8296275735, 0.6295751333, 0.0612133667, -0.1965176016, -0.0227267593, -0.4447883368, -1.0360324383, 0.8475627899, 0.5505121946, -0.8402660489, -0.1391208768, 0.4771001041, 0.5090199709, -0.4727641642, -0.1419177204, 0.8993558884, 0.3927989006, 0.0317158662, -1.0181381702, 0.1401496679, -0.1678164005, -0.0480339341, 0.2391170859, -0.5875913501, 1.1012387276, -0.1774699241, -0.1868515462, 0.062807709, 0.6832386255, 0.2456932515, -0.0627087429, 0.7741472721, 0.6062743068, 0.7284623384, 0.1892646253, 0.7937566042, -0.4607162178, 0.1077774987, 1.1467204094, -0.3897484541, 0.7049586773, 0.3877551556, -0.3052792251, 0.3974782228, 0.519575119, 0.0741421506, 0.3481352329, 0.6343253851, -0.3933459818, -0.2771577835, -0.0293552671, -0.4232658148, 0.1559926867, 0.1411885619, -0.030346239, -0.3350926936, 0.3422246873, 0.3659779131, 0.0603422038, -0.4297138453, 0.4106613696, 0.2768924236, -0.6007005572, 0.8528026342, -0.3816044033, 0.7369607687, -0.7863130569, 0.4114477038, -0.424341619, 0.2648133039, 0.1778405309, -0.3069656193, 0.3235217631, 0.1705909818, 0.0081157237, -0.5531201363, 0.2354515195, -0.6628009677, -0.5446283817, 0.4455076158, 0.4423753917, 0.3338072896, -0.095370926, -0.50811553, -0.0130269732, -0.0336160846, -0.2864117026, 0.6558558345, 0.5869905353, -0.2482923865, 0.6854203939, 0.6580587626, 0.3480404615, 0.2101203352, 0.0855828151, 0.9194463491, -0.5137703419, -0.6088497043, -0.6546938419, 0.1949632317, 0.341270119, -0.3516210318, 0.5701419711, 0.3849544227, 0.9866377711, 0.1676531732, 0.901695013, -0.0353827141, 0.3271302283, -0.491371125, 0.8396671414, -0.5291475058, 0.2579540908, 0.024403451, -0.8061484694, -0.2963145673, 0.1902037114, -0.388551563, 0.0915979818, 0.8131136298, 0.7023671865, 0.0755562931, -0.3804961145, 0.3780843914, 0.2377411872, 0.404737711, 0.8393482566, 0.6829299331, 0.1771722585, 0.7370615602, 0.0252069756, -0.3302816749, 0.2112096995, -0.6653246284, -0.9327485561, -0.4530497193, -0.201624766, -0.0647979751, 0.2026728839, 0.6526615024, 0.7587577701, -0.5929200649, -0.4433372319, -0.3129677176, -0.225207299, -0.0398456119, -0.0783404484, 0.2574743032, -0.7033082843, -0.6294116974, 0.4652370811, 0.1944082528, -0.0508069992, -0.3816391826, -0.3436512649, -0.2608056664, 0.2774749696, 0.5066714883, 0.689809382, -0.2831614614, -0.5003592968, -0.2396037132, 0.0005078124, 0.0422823764, 0.8294708729, -0.6668179631, 0.303178072, 0.3266942799, 1.0751489401, 0.584215939, -0.353569746, 0.911862731, -0.5429595113, 0.3762735426, 0.2548875511, 0.1050018147, 0.261343807, -0.1104545146, 0.3107205927, 0.3429189622, -0.5593640804, -0.6835529804, 0.3576722443, -0.584189415, -0.4321552813, 0.9414167404, -0.383197844, -0.1374741793, -0.0860206634, 0.1870243102, 0.2089105099, 0.2089866102, 0.6187754869, 0.7452173233, -0.1812651306, -0.3426294327, -0.392847538, 0.3807356358, 0.6463255882, -0.9358823299, 0.0628480837, 0.0845298022, 0.4910853207, 0.0703226179, 0.8912133574, -0.1814210266, 0.0187913459, 0.324834913, 0.049726028, 0.140669778, -0.6894691586, -0.2708108723, 0.1720886976, 0.1111126915, -0.0231283698 ]
http://arxiv.org/abs/2407.02099v1
http://arxiv.org/pdf/2407.02099v1
Helpful assistant or fruitful facilitator? Investigating how personas affect language model behavior
2024-07-02T09:36:54
2024-07-02T09:36:54
Pedro Henrique Luz de Araujo, Benjamin Roth
cs.CL
cs.CL
One way to personalize and steer generations from large language models (LLM) is to assign a persona: a role that describes how the user expects the LLM to behave (e.g., a helpful assistant, a teacher, a woman). This paper investigates how personas affect diverse aspects of model behavior. We assign to seven LLMs 162 personas from 12 categories spanning variables like gender, sexual orientation, and occupation. We prompt them to answer questions from five datasets covering objective (e.g., questions about math and history) and subjective tasks (e.g., questions about beliefs and values). We also compare persona's generations to two baseline settings: a control persona setting with 30 paraphrases of "a helpful assistant" to control for models' prompt sensitivity, and an empty persona setting where no persona is assigned. We find that for all models and datasets, personas show greater variability than the control setting and that some measures of persona behavior generalize across models.
[ -0.2044105232, -0.7839562297, 0.6468048692, 0.4288926423, 0.1470885575, -0.2042266577, -0.0037676706, -0.3349665999, 0.0246075019, 0.5455827713, -0.5698422194, 0.110601075, -0.5469497442, 0.2223680764, -0.2439728379, 1.0963003635, 0.3447134495, 0.2519030571, -0.4544833004, -0.1387468427, -0.682772398, -0.4686886668, -0.9477656484, -0.3624685407, 0.7847890854, 0.4366167188, 1.0095347166, 0.3169077337, 0.1947477907, 0.4420700371, -0.0522818416, -0.1861056536, -0.2237052768, 0.5324321389, -0.3151552081, -0.7113572955, -0.556394875, -0.0046206401, 0.2366625965, 1.0350644588, 0.0898595229, 0.1522315443, 0.4108495712, 0.395336628, -0.406956315, 0.2710268795, -0.3100454211, -0.2185549289, -0.2771774232, -0.1126808673, -0.3872195184, -0.4411541224, 0.2580341399, -0.7280268073, 0.268964231, -0.0650336668, 0.2790342569, 0.1371672451, -0.8435912132, -0.4158195853, -0.9697168469, 0.9014283419, -0.3727722168, 0.1486006379, 0.6429743171, 0.1231853366, -0.3416302502, -0.2077554464, -0.307805568, -0.1950217485, -0.1836206764, -0.2130446136, -0.3640207648, -0.012898122, 0.2952914834, 0.3147316873, -0.3231132925, 0.1271493137, -0.0895535573, -0.2016117871, 0.4572123289, 0.2965439856, 0.4341730773, -0.2438937426, 0.1046290472, 0.1275511235, -0.4536112547, 0.220794782, 0.692281127, 0.2399680465, -0.0507143922, 0.5272321701, -0.1067567095, 0.7805860639, 0.3215134144, -0.3214306235, 0.0906106234, -0.286560446, -0.0801500976, -0.3829216361, 0.4951212108, 0.2880012095, 0.7134216428, -0.1548756361, -0.1523182243, -0.309045583, 0.2797399163, -0.4133305252, -0.3986729681, -0.0572111271, -0.4668672979, -0.0287191309, -0.1143912971, -0.74156183, -0.8750742078, -0.4296436012, 0.2848192155, -0.2791225016, -0.1372645795, -0.3301106989, -0.0563113466, 0.4538972974, 0.5827219486, -1.2771859169, 0.4704710543, 0.414879024, 0.4480378926, -0.0644100904, -0.3385261297, -0.8712975383, 0.0442667753, 0.0326526873, 0.618558526, -0.938331306, -0.7351940274, -0.0573375486, 0.0417884476, -0.2903032005, -0.6284531355, 0.3043098748, -0.1761751473, 0.5224842429, -0.6937975883, -0.2138254791, 0.0894353092, -0.1367650032, -0.4992006123, 0.6156648397, 0.4162936807, -0.7284183502, 0.2851346731, -0.4775398076, -0.3960810602, 0.0737748146, -0.3592506051, 0.009026044, 0.3745634854, 0.1771335155, 0.5730865598, -0.2203508466, 0.1106485128, -0.2384566218, -0.1599300951, 0.7723650336, -0.3821116686, 1.0123659372, 0.0411482826, -0.2222462147, 0.2576422989, -0.6228168011, -0.5051355958, 0.2108222544, -0.3221997917, -0.6387525797, -0.1643576473, 0.0029057635, 0.298325628, 0.1623834968, -0.2495924383, 0.4221092165, -0.0221070927, -0.1557005793, 0.9592226744, 0.3173045218, 0.5718795657, -0.4996001422, 0.9475048184, -0.294683218, 0.2253194451, -0.3018078506, -0.8209164143, -0.8091446161, -0.1189099923, 0.03240747, 0.479027003, -0.7354905605, 0.1715537012, 0.0755189657, -0.2813020051, -0.5778133869, 0.4307730794, 0.2827325761, 0.4713707566, 0.0510476194, -0.1696245223, -0.0927498341, -1.1353287697, -0.3247738779, -0.2442820519, -0.2934878767, 0.558111012, 0.2866023779, 0.0417346992, 0.7808540463, -0.4717188776, -0.1847001612, -0.3945359588, -0.1447260678, -0.1635352075, 0.3108244538, 1.0053873062, -0.754336834, -0.5749665499, -0.3333263695, -0.3358044326, -0.5271092057, -0.2795746326, 0.1094540358, 0.006058115, 0.1480759382, -0.3366714418, 0.2088574022, 0.4430644214, -0.6755705476, 0.4988870621, -0.2786629796, 0.1683071703, -1.0697493553, 0.1356526613, 0.3226264417, -0.0596388206, -0.9898100495, -0.0240803547, -0.3148861229, 0.1539892703, -0.2410588562, 0.6280412078, -0.4416816533, -0.1462581307, -0.3836258948, 0.0393839665, -0.220024243, 0.4313988686, -0.0478587598, 1.016497612, 0.5307331085, -0.8143514395, 0.0852383971, 0.4411072731, 0.1198204607, 0.8754810691, -0.5843696594, 0.4210781455, -0.067747958, 0.0030238582, -1.1686581373, -0.3701176643, 0.3775940537, -0.3739563823, 0.1127168164, 0.1079870015, -0.4784525931, 0.0592859201, -0.2392897308, 0.0991580263, 0.2573123276, -0.262899965, 0.7869276404, 0.3665789664, -0.5752426386, -0.162834689, -0.7228047252, -0.037920054, -0.5025045872, -0.3659276962, 0.1138096154, -0.4628441632, -0.6051167846, -0.4102214575, -0.0743752196, -0.2017426491, 0.4819147289, 0.314499557, 0.2351512611, 0.0509839468, -0.1108646616, -0.0349084362, -0.0052866042, 0.2642475069, 0.3357661963, 0.5959550142, -0.0215959046, -0.2200096101, -0.249200359, 0.4082863629, 0.6012665033, -0.1686495692, 0.8308364153, 0.3587174714, -0.0604677685, 0.2178760916, -0.5143162012, -0.120962292, -0.512547195, 0.1136815995, -0.3953888714, -0.8233602047, 0.8117941618, 0.4419647753, 0.0927544832, 0.1372918189, 0.4732574821, 0.1217964739, 0.9769660234, 0.689614892, -0.1264944971, 0.6561579108, 0.0723150298, 0.1285763532, -0.866902709, -0.4514623284, -0.810190618, -0.294909656, -0.550871253, -0.1644866616, -0.0014085473, -0.3001451194, 0.0005603014, 0.1147402823, -0.2042921782, 0.052511774, 0.5892156959, -0.1503702849, 0.215880096, -0.1951995939, 0.1449859887, -0.2452518195, -0.6321760416, -0.7152331471, 0.8827630877, 0.43049106, 0.8465938568, 0.5484697223, 0.4957370758, 0.1523046643, 0.3017546833, -0.7551125884, 0.8549494147, -0.1801498979, -0.5999785066, 0.0681084022, -0.3020910323, -1.0233540535, 0.018413594, -0.0504693985, -1.0428463221, 0.4487803876, 0.517236352, -0.43723768, -0.1167648882, -0.7719956636, 0.7414540648, -0.3014401793, -0.5145608187, 0.1107792407, -0.6714978218, 0.2679107189, -0.0634116456, 0.1952537596, 0.100222975, -0.1912458539, 0.7291822433, -0.0098506957, 1.0840991735, -0.4454803467, -0.1994370073, -0.0819304958, 0.4304360747, 0.2994376123, -0.2499410361, -0.2753587961, -0.5101399422, -0.1272767484, -0.4377184808, -0.5932769179, 0.9257432818, -0.7747005224, -1.0623503923, -0.3773948252, -0.8082821965, -0.5351347327, 0.0696475133, 0.0454374999, 0.2729374468, -0.1622537225, 0.5268216133, 0.7212594748, -0.4415200055, 0.3038366139, 0.5047292113, -0.211724788, 0.0238483958, 0.6072335839, -0.0063382518, 0.5631486177, 0.176882118, 0.4153079093, -0.1801229715, -0.1630927622, -0.1548724174, 0.1659617573, -0.8287114501, 0.0882333666, -0.6955603957, 0.2467399836, -0.6224123836, -0.0993539318, 0.2279597521, -0.3265831172, -0.6508517265, 0.0288060512, 0.3391580582, 0.7677496076, 0.4958140254, 0.6435745358, -0.4252710342, 0.1707372814, 0.6537579298, -0.0706807077, 0.0259297006, -0.6263363361, 0.1535684615, -0.2106642127, -0.3288607299, -1.1353961229, 0.0656610653, 0.2447559237, 0.9376519322, 0.5669901967, -0.1696579754, 0.5393127203, -0.1799835116, 1.1767987013, -0.1275714338, -0.7850170135, 0.4778772891, -0.5549263954, 0.5305358768, 0.5294814706, 0.3052041531, -0.5391485691, -0.6583006978, -0.5877249837, -0.5725738406, 0.9249716401, 0.1940646768, 0.6318510175, 0.0154482471, 0.5025447011, 0.298203975, 0.3652072549, -0.869651556, -0.7069296837, -0.1873948574, 0.0552619882, 0.076827094, -0.3927854896, 0.242541045, -0.1435136944, 0.4992388487, -0.0650094748, 0.3308058679, -0.1069482863, 0.1756333858, -0.2371172011, 0.5756138563, 0.5043874979, 0.5903732777, 0.1640808284, -0.0025695032, 0.1292332113, -0.2614062726, 0.0980078131, 0.1113301218, -0.27286309, -0.2115416527, 0.3905510604, 0.9111793637, 0.3536803424, -0.2337815464, 0.406108737, -0.1733099967, 0.066675581, -0.0512931123, 0.7992814779, -0.0045227944, 0.0389675498, 0.521723628, -0.0530099422, 0.2150139064, -0.7895988822, -0.1265950799, 0.482049495, 0.0624465868, -0.5502927899, 0.7338495255, 0.3368459344, -0.7893767357, 0.4640610218, 0.0194332171, -0.3683386743, 0.4055446386, 0.6672163606, 0.8614675999, -0.9046099782, 0.3358573318, -0.1448300332, 0.1123385057, 0.2612628937, 0.0398152471, -0.1563345343, -0.6583065391, -0.0850007683, -0.3233891726, -0.4204724133, 0.5325078368, -0.6957007647, -0.0029178238, -0.2769882083, -0.0816531107, 0.1802252233, 0.0904807374, -0.8564674258, 0.2096574157, -0.0971211269, 0.7505319715, -1.1584020853, 0.8325545788, 1.0337529182, -0.450415194, -0.7570279837, 0.5535759926, 0.1501287967, -0.3650738001, 0.3664103448, -0.1764039993, -0.1047115326, -0.1335779428, -0.1527156383, -0.6341226101, 0.9032537937, 0.7437559962, -0.2657271922, -0.1791462153, 0.114390932, 0.75889498, -0.4504867494, 0.0338689797, 0.536044538, 0.5078902245, -0.0123440772, -1.0696378946, -0.1176389977, -0.3444384038, -0.0042713783, -0.2072631568, -0.7033634186, 0.7470500469, -0.120821327, 0.2812523246, 0.3588450551, 0.555634141, 0.3101392388, 0.3096640706, 0.7708696127, -0.3801388443, 0.7433488369, 0.1243773997, 1.287396431, -0.0815876946, -0.2308445275, 1.216452837, -0.3069455922, 0.3308444023, 0.817302525, -0.0607520193, 0.4619703889, 0.4330580533, 0.1036190689, 0.3534168303, -0.1123187691, -0.3708509207, -0.0925366431, -0.3000968099, 0.0117572444, 0.3973458707, 0.2949749827, -0.541110754, -0.0820459649, 0.3988969326, 0.0764931291, 0.343821764, -0.1819204539, 0.6220771074, 0.0583855174, -0.945894599, -0.227842167, 0.0492509156, 0.381398052, -0.7426092625, 0.1284343302, -0.4687693715, 0.1408835202, -0.2904826403, -0.7501739264, 0.2584353387, 0.1346451044, -0.1119003445, -0.3507740498, 0.8161905408, -0.1514382213, -0.3235287666, 0.1242362633, 0.7186359167, 0.1254630536, 0.1745648384, -0.7312554121, -0.097847335, 0.2357344925, -0.4582076371, 0.4363436103, 0.2931084633, -0.2619674504, 0.8293100595, 0.317735076, -0.0431107543, -0.0008712929, 0.1439347565, 0.7995914817, -0.3286785185, -0.3384697735, -0.6829069257, 0.6585119367, 0.1431411952, -0.6007741094, 1.2936865091, 0.3374034762, 0.5048581362, -0.3510083854, 0.5309584141, -0.174058795, 0.3024687767, -0.217052862, 0.2544576526, -0.3879746497, 0.4610358775, -0.5697441101, -0.9309005141, -0.154099986, 0.7748090029, -0.6043145657, 0.624717772, 0.2462823242, 0.6747391224, -0.1059462801, 0.0107223829, 0.2620732784, 0.0715288892, 0.5369326472, 0.1642993838, 0.7081900239, 0.207236737, 0.2173338383, -0.3440386951, -0.1663870364, -0.0795473009, -0.587787807, -0.9552220106, -0.7216274738, -0.4859936833, -0.1052941307, -0.1704749167, 1.0099835396, 0.349365443, -0.7233657241, -0.2696635127, 0.06495478, 0.0133096557, 0.0192681346, -0.2709625661, 0.0075537395, -0.0331393927, -1.1025445461, 0.3448426127, -0.006942776, 0.0907265469, -0.6715198755, 0.0191459954, -0.161014244, 0.1528207511, 0.3976948857, 0.1292560399, -0.7928070426, -0.5025528669, 0.3975630105, -0.0114905741, -0.1043107882, 1.0001044273, -0.551279366, 0.3869965971, 0.1422173083, 0.2848726213, -0.0407019705, 0.0740444884, 0.79753232, -1.0710531473, 0.1314828247, 0.1707547009, 0.4023271799, 0.6779975295, -0.8084772229, 0.1728660315, 0.0177842807, -0.6602990627, -0.5307801366, 0.135969907, -0.8620818257, -0.1902496666, 1.3530100584, -0.1218129322, -0.033235915, -0.3689385653, -0.5808623433, 0.0095818508, -0.5377866626, 0.6425374746, 0.9659994841, -0.5636214614, -0.490408808, -0.6641879082, 0.5036323071, 0.5399748087, -0.7601966262, 0.1449882984, 0.781142056, 0.6041696668, 0.1394496262, 0.7460948229, 0.2890961766, 0.2636079192, -0.4794180691, -0.364608556, -0.086284548, -0.3568042517, -0.7151829004, 0.1215847209, 0.6038818955, -0.0773147494 ]
http://arxiv.org/abs/2407.02067v1
http://arxiv.org/pdf/2407.02067v1
Crossroads of Continents: Automated Artifact Extraction for Cultural Adaptation with Large Multimodal Models
2024-07-02T08:55:41
2024-07-02T08:55:41
Anjishnu Mukherjee, Ziwei Zhu, Antonios Anastasopoulos
cs.CL
cs.CL
In this work, we present a comprehensive three-phase study to examine (1) the effectiveness of large multimodal models (LMMs) in recognizing cultural contexts; (2) the accuracy of their representations of diverse cultures; and (3) their ability to adapt content across cultural boundaries. We first introduce Dalle Street, a large-scale dataset generated by DALL-E 3 and validated by humans, containing 9,935 images of 67 countries and 10 concept classes. We reveal disparities in cultural understanding at the sub-region level with both open-weight (LLaVA) and closed-source (GPT-4V) models on Dalle Street and other existing benchmarks. Next, we assess models' deeper culture understanding by an artifact extraction task and identify over 18,000 artifacts associated with different countries. Finally, we propose a highly composable pipeline, CultureAdapt, to adapt images from culture to culture. Our findings reveal a nuanced picture of the cultural competence of LMMs, highlighting the need to develop culture-aware systems. Dataset and code are available at https://github.com/iamshnoo/crossroads
[ -0.6819188595, -0.2347607911, 0.6407597065, 0.3518048823, -0.3078132868, 0.3003929257, -0.2566845119, -0.9539195299, 0.0312729962, 0.3981854618, -0.5616371632, -0.6420762539, -0.6716227531, 0.3899737, -0.3826399446, 0.4437713027, -0.3241158426, -0.0350371972, -0.1506744474, -0.4664643705, -0.501345098, -0.1189503297, -0.1379494071, -0.1936138719, 0.098679617, 0.660607934, 0.6086362004, 0.5737047195, 0.5229950547, 0.3223058283, 0.2948417068, 0.1814177632, -0.4783751369, 0.0700598583, -0.3654804826, -0.0606020689, -0.4649900198, 0.0772168562, 0.3341889083, 0.5917602181, 0.1884654164, 0.4343631268, 0.1811654717, 0.4425491691, -0.6128042936, 0.1692741811, -0.6666868329, -0.0558654666, -0.1575470269, -0.258150965, -0.3605363965, -0.1780248731, 0.3086781502, -0.8388842344, 0.0088743912, -0.085068211, 0.4702985585, 0.3510824442, -0.9699062109, -0.4850094914, -0.9213234782, 0.7815185189, -0.1451046765, 0.5388182402, 0.2366366982, 0.4502572715, -0.1733383834, -0.9141987562, -0.4454532564, 0.4904275835, 0.247552678, 0.5119692683, 0.146686852, -0.3112899661, 0.1726963222, 0.4395658672, -0.5056856275, -0.0542081557, -0.450545162, -0.3063668609, 0.8676627278, 0.4098102152, 0.3562601805, -0.3124394417, -0.6623569727, -0.1387825161, -0.5741484761, 0.1140138134, -0.1157784835, 0.1725041121, -0.4754766226, 0.0520560965, -0.3438762426, 0.7021048069, -0.0144105935, -0.4317122698, 0.2327435315, -0.2958296239, 0.0940819159, -0.1505628973, 0.4134686291, 0.9028193355, 0.1103093326, 0.0464352444, 0.0462419018, -0.1932806671, 0.1949317008, -0.5561065078, -0.3587590158, 0.3173829019, -0.7998425961, 0.0941706896, -0.1436423957, -0.8382472992, -0.9552834034, -0.5021929741, 0.3807550073, -0.324991256, -0.3682692349, 0.0984489247, -0.1522208601, 0.446151346, 0.6046457291, -0.5570813417, 0.0907564908, 0.3682525456, 1.0089292526, -0.4467778802, -0.3805707991, -0.0010161418, 0.0974114686, -0.244203344, 0.7542960048, -0.3819016218, -0.6205559373, 0.1042974591, 0.6450028419, 0.1060928255, -0.4377732873, 0.7937533259, -0.5543943048, -0.2296756059, -0.6625860333, 0.1656171829, -0.6325182915, 0.4166864455, -0.9731864929, 0.7022485733, 0.0215053894, -0.3606121242, 0.5525141358, -0.3086677194, -0.3825858235, 0.0367667191, -0.1034956947, 0.0455338322, -0.0661470965, 0.4517105818, 0.2396372706, -0.3568851054, -0.1668382585, -0.3711771667, -0.319280982, -0.0970987976, -0.3750103116, 1.0792962313, 0.3506075144, -0.2901766896, -0.1323790699, -0.9250096679, -0.3528809547, 0.1936586499, -0.2632469535, -0.5386756063, -0.0145975081, 0.444099158, 0.5994434953, 0.2120525539, -0.4889811873, 0.1833718866, 0.430434376, 0.3349393606, 0.8168467283, -0.0560283028, 0.5318468809, -0.2760727704, 0.4593958855, 0.2965887785, 0.3779791296, -0.2417898178, -0.3745818138, -0.5702654123, -0.2318715453, 0.3535603881, 0.4247939587, -1.3156052828, -0.0315342322, -0.4686090946, -0.5528312922, -0.3618628681, -0.2073421478, -0.3327906728, 0.2393128276, 0.1952290535, -0.9787616134, -0.7106129527, -0.6112350821, 0.1159708723, -0.1207374111, 0.0154303992, 0.1493652314, 0.5981461406, 0.0298117734, 0.9600378275, -0.2811851501, -0.1530620754, 0.053482879, 0.1047466844, -0.0220024399, 0.524766326, 0.5005335212, -0.9596177936, -0.5283598304, 0.0505424552, -0.9915171862, -0.0092555666, -0.2311889678, -0.318949312, 0.0346306227, 0.2970402241, -0.1434520185, 0.2691840231, 0.825334549, -0.1723852754, 0.4006069899, -0.0936458558, 0.4989586174, -1.0489023924, -0.065691568, 0.0662860572, -0.2345268875, -0.6336005926, 0.0364541337, 0.2470036149, -0.2116967291, -0.458606571, 0.3892366886, -0.6181740761, -0.3377732635, -0.1223565713, 0.2720825374, 0.2030061036, 0.255743742, 0.4008815587, 0.4300641418, 0.3927587271, -0.3705675304, 0.2864665985, 0.3943527341, -0.6585710645, 1.1298797131, -0.1143739969, 0.2207411975, 0.1153438166, 0.7610311508, -0.958414495, -0.3058634698, 0.3455980718, 0.0322582051, -0.2609601021, -0.435664475, -0.2641532421, -0.3374001086, -0.0613479614, 0.8604339361, 0.4644973874, -0.6571065784, 0.9055218697, 0.5077393055, -0.3061157763, -0.2513471842, -0.3909543157, 0.2587812543, -0.463341713, -0.7204630375, 0.1288256049, -0.2370182872, -0.320022285, -0.4730345905, 0.0180774238, -0.2131721526, 0.2946841121, 0.3755446076, 0.1734901667, -0.0656153187, -0.0088687614, -0.2925184667, 0.0592967011, -0.1277616024, -0.4536910951, 0.4363957047, -0.0124783292, -0.5477219224, -0.1663448811, 0.2140374929, 0.9909440279, -0.4795457721, 0.1263153553, 0.9700696468, -0.384856075, 0.149632439, -0.5188665986, 0.0726464614, -0.3999938369, 0.2623483539, -0.520265162, -0.3103440404, 0.902528584, -0.4662623107, 0.108152017, 0.3615971208, 0.5535840392, 0.2151735276, 0.8498478532, 0.6897156239, 0.051942721, 0.0957697704, -0.3030063212, -0.0577293076, -0.9117231965, -0.3260990381, -0.3444092572, -0.5045822859, -0.8241122365, -0.6555720568, 0.729880929, -0.3828741908, 0.0995001271, -0.0691195056, -0.2277632356, 0.5214424729, 0.3121193647, 0.2491815984, 0.7328389287, -0.1128801703, 0.2929275334, -0.0176604763, -0.6199979782, -0.4320943654, 1.0337674618, 0.3753261864, 0.5815326571, 0.0741558895, 0.5606772304, 0.3806637228, 0.2308342308, -0.6782010198, 0.3098446727, -0.3393545151, -0.6583834887, -0.089373, 0.20944646, -0.70557338, 0.508684516, -0.4087421, -0.423386097, 0.8744235635, -0.2291789502, -0.616469264, 0.3793871105, -0.4594568312, 0.6374091506, -0.2390360683, -0.3927841187, -0.0554217584, -0.819388926, 0.3988335729, -0.3410587013, 0.8639755249, -0.2317805886, 0.1007344797, 0.4797967672, 0.2575850785, 0.831050396, -0.2152441889, -0.3765486181, 0.2895397544, 0.4026024342, 0.2685942948, -0.0931782722, -0.1213202253, 0.6111090779, 0.2070188224, -0.5549957156, -0.193362996, 0.5861232877, -0.7818860412, -0.4682587981, -0.1565145701, -1.0479738712, -0.0344592109, 0.027426349, 0.0106994109, 0.6868104339, -0.2740424275, 0.0664495006, 0.1860358417, -0.2513583302, 0.4538858533, 0.3274102211, -0.007610234, -0.4027650952, 0.7844673395, 0.172633782, 0.2469333559, -0.391487509, -0.2442033142, 0.0539522581, -0.5437661409, -0.845679462, -0.1016079858, -1.1788237095, 0.0790641233, -0.3154184222, 0.1982791722, -0.1810272783, -0.3347427249, -0.1070777848, -0.4177915454, 0.1181099415, 0.2381851524, 0.1760759503, 1.0167149305, -0.5051164627, 0.1413439959, -0.836399734, 0.0715713799, 0.2342391014, 0.0609932095, 0.0507567003, -0.3475497067, -0.5349325538, -0.0098295044, -0.3218419552, -0.6326622963, 0.2146057636, -0.0249755345, 0.3052068055, 0.3529728055, 0.3256786764, 0.8941947222, -0.5136452317, 1.0926506519, -0.0125843994, -0.8536801934, -0.0055270111, -0.3161079884, 0.6437852383, 0.5532140136, 0.6128067374, -0.8252078295, -0.1812741309, -0.3635043502, -0.8734471798, 0.5940706134, -0.216433242, -0.1485982686, 0.089423269, -0.0580004193, 0.5867696404, -0.1721829474, -0.686491549, 0.1621583551, -0.2343720645, -0.2615043223, -0.06030019, 0.0640298948, -0.4849039614, -0.0631352291, 0.4086486101, -0.2101362348, -0.2471703291, 0.4122121334, -0.6829602122, -0.1932700872, -0.0777400285, 0.4761560559, 1.1106715202, -0.0375522897, 0.1201771945, 0.4740392268, -0.6363201737, 0.211644277, -0.0117228338, 0.0721693933, -0.1148335859, 0.526406765, 0.4446427226, -0.0904813334, -0.3486364782, 0.2242430151, -0.2292246372, -0.0720037892, -0.535194695, -0.4806328118, -0.1823951751, 0.787174046, 0.6427593827, -0.0647841394, 0.3006005585, -0.584818542, 0.0379544124, 0.149093762, -0.4342218041, -0.4021206498, 0.4908694327, 0.672023952, 0.162321806, 0.6528787017, 0.0421411358, -0.5431720614, 0.6576006413, 0.1614986062, 0.6610418558, -0.245514676, 0.2667853534, 0.3693304658, 0.4067094922, -0.0758880824, 0.0271461941, 0.0469509177, -0.7101251483, -0.4030261338, -0.3899319768, -0.3296699226, -0.1887736768, -0.5711351037, 0.2901138663, -0.1223260313, -0.1123476475, -0.456092149, -0.1537532508, -0.8547261357, 0.2936976552, 0.4802395999, 0.995685041, -1.4173483849, 0.5149099827, 0.6328100562, -0.2354614437, -0.3832755089, 0.2377524823, 0.3762018979, -0.6755838394, 0.6380093694, -0.064591825, -0.029276384, -0.063819468, -0.384126544, -1.0086481571, 1.5873118639, -0.2103578746, -0.4155145288, 0.2125259489, 0.2199778706, 0.2982741594, -0.6525958776, 0.298179239, 0.8741443753, 0.5259261131, 0.0879152939, -1.1264266968, 0.1014547199, 0.0218790881, -0.0765028, 0.0453318767, -0.6342595816, 0.9468978047, -0.0037184858, -0.2355411053, 0.2545799017, 0.31087327, 0.1966489851, 0.4704589844, 1.0820285082, 0.1793487072, 0.6409745216, -0.410122782, 0.7829313874, -0.5638566613, 0.1787783653, 0.7082949877, -0.4502930343, 0.5029420853, 0.4361222386, 0.0261158887, 0.8412310481, 1.2305985689, 0.2021639943, 0.5997858644, -0.1206185967, -0.2055732608, -0.4729356766, -0.3170635402, -0.4300302267, 0.9332934618, 0.4000699222, -0.0683970377, -0.2750605047, 0.2594762146, -0.2548606992, -0.2760229707, -0.4157324433, 0.6751798987, 0.0264776647, -0.4317442477, 0.7974548936, -0.3623825908, 0.2664491534, -0.3730325401, -0.1729314476, -0.2770210505, 0.0341087319, -0.2198114395, -0.5873017311, -0.005600309, -0.4259952307, -0.0266577881, 0.0365923271, 0.7282238007, -0.3983170986, -0.3562335968, 0.2715653777, 0.5520617962, 0.1691153646, 0.1808476597, -0.506859839, 0.5319404006, -0.0058669006, 0.1066620797, 0.2107955813, 0.6739578247, -0.4565748274, 0.3374369442, 0.4968689978, -0.0912327319, -0.2130134404, -0.0819596648, 0.4248032868, -0.4819479883, -0.3860862851, -0.5632183552, 0.8947089314, -0.2925889194, -0.0432363003, 0.5736421943, 0.2820596695, 1.07441926, -0.2470177412, 1.0987688303, -0.256865561, -0.0588080809, -0.5390192866, 0.5185607076, -0.7515919209, -0.0838147625, -0.3950412273, -0.9449179769, -0.185825482, 0.2355329096, -0.4125185907, -0.279388696, 0.7641195655, 0.495675087, -0.3411641717, 0.1749633104, 0.185880512, 0.2642925084, 0.1473870277, 0.4742518067, 0.92556566, -0.3125813901, 0.5560471416, -0.3505501747, -0.3786742389, -0.1349245608, -0.9426339865, -0.3544079065, -0.997563839, -0.1486059278, -0.2350312173, -0.0952965841, 0.8694731593, 0.7618890405, -0.680539906, -0.6640583277, 0.8640828133, 0.0300836507, -0.3055103719, -0.0750566348, 0.3578814268, 0.1144720018, -0.9843905568, 0.2705202997, 0.3685002625, -0.1033725515, -0.4487073123, 0.0468438454, -0.1644574702, -0.2022731155, 0.9480112791, 0.1750151515, -0.6155698895, -0.6120176315, -0.2393202484, 0.239309594, 0.0922278911, 0.8250451684, -0.4639579356, 0.7291120291, 0.4193118215, 0.4308166504, 0.3224313259, 0.1482775509, 0.7808737159, -0.4848034978, 0.4837884009, -0.2159211487, 0.6016762257, 0.6485594511, 0.0296951793, 0.7376574278, 0.296453625, -0.762775898, -0.5134031177, 0.4601364434, -0.8626247048, -0.3900818825, 1.029976964, -0.1251294017, -0.256303817, -0.6264356971, -0.219926402, 0.3337483406, 0.0623372793, 1.0561416149, 0.9124076962, 0.1288221925, 0.0768176913, -0.8040947914, 0.3038721085, 0.051122319, -0.6594142318, -0.0052878782, 0.7755677104, 0.3016286492, 0.5109299421, 0.4121373296, -0.1868656278, 0.3336143494, -0.1828302145, 0.4459405541, 0.3597703874, -0.3152992725, -0.4035066068, 0.0317172222, 0.1801946163, -0.1392178535 ]
http://arxiv.org/abs/2407.02066v1
http://arxiv.org/pdf/2407.02066v1
BiasDora: Exploring Hidden Biased Associations in Vision-Language Models
2024-07-02T08:55:40
2024-07-02T08:55:40
Chahat Raj, Anjishnu Mukherjee, Aylin Caliskan, Antonios Anastasopoulos, Ziwei Zhu
cs.CL
cs.CL
Existing works examining Vision Language Models (VLMs) for social biases predominantly focus on a limited set of documented bias associations, such as gender:profession or race:crime. This narrow scope often overlooks a vast range of unexamined implicit associations, restricting the identification and, hence, mitigation of such biases. We address this gap by probing VLMs to (1) uncover hidden, implicit associations across 9 bias dimensions. We systematically explore diverse input and output modalities and (2) demonstrate how biased associations vary in their negativity, toxicity, and extremity. Our work (3) identifies subtle and extreme biases that are typically not recognized by existing methodologies. We make the Dataset of retrieved associations, (Dora), publicly available here https://github.com/chahatraj/BiasDora.
[ -0.4033276737, -0.6632187366, 0.6655756235, 0.1423653811, 0.038597405, -0.0618803948, 0.036509797, -0.8599520922, 0.4945672452, 0.686989367, -0.7002727985, -0.6886026263, -0.8462122679, -0.2010035515, -0.7403799295, 1.132245779, 0.1501639336, 0.4600055516, -0.1345098913, -0.4460735619, -0.512036562, -0.4361952543, -0.3093138039, -0.0321924537, 0.5099883676, 0.1293033212, 0.4573349953, 0.403712213, 0.6078438759, 0.1410659105, -0.3146962821, -0.0409325995, -0.6611653566, 0.0369483605, -0.3869768679, -0.436082691, -0.4165121019, 0.3267687559, 0.3616618216, 0.7409209609, 0.2242937386, 0.7704328895, 0.0688849017, 0.8346982598, -1.2027286291, 0.2256198525, -0.6754666567, 0.3856199682, -0.5318031311, 0.1115538701, -0.1082248762, -0.4563487172, 0.4710221887, -0.3505743444, 0.5647326708, -0.0189805329, 0.8140774965, 0.3860290647, -0.5109532475, -0.4045136869, -0.8057261109, 0.8389697671, -0.2125069946, 0.1420799643, 0.3810377717, 0.4150591195, 0.4203246236, -0.5648540258, -0.4071288109, -0.0364166573, -0.1662911922, 0.0625922531, -0.5017194748, -0.2028814554, 0.4876327813, 0.2830781043, -0.3457294106, -0.2551005483, -0.7129431963, -0.3509742916, 0.4478504062, 0.3600797951, 0.2432009578, 0.0320763141, -0.2292950153, 0.0279017799, -0.8693058491, 0.0071795275, 0.7011686563, -0.0068467711, -0.221043095, 0.6118736267, -0.120455578, 0.6860006452, -0.0158875696, 0.2050597072, 0.4533216059, -0.4945182502, -0.2499582916, 0.0164784826, 0.7679494619, 0.444974184, 0.2082879096, 0.1697385907, -0.075594075, 0.565901041, 0.2828968167, -0.3346995711, -0.1217275485, -0.0473808385, -0.6776564717, -0.9555056095, -0.1548118144, -1.235809207, -0.8954056501, -0.1247072294, 0.4168934524, -0.0137273176, -0.3458976448, -0.0225260649, -0.4138197601, 0.4994164407, 0.2741057575, -0.7190641761, 0.5011174679, 0.390663594, 0.6590052843, 0.0993576124, -0.2680542767, -0.6913067102, -0.0566302426, -0.5138273835, 0.3538437188, -1.0061610937, -0.2755503654, 0.3150324821, -0.1167199984, 0.1549628228, -0.6696176529, 0.7695287466, -0.3273591697, 0.3126143217, -0.6577017307, 0.0222646054, -0.126785025, 0.1095478833, -0.6890054345, 1.1854342222, -0.0628348663, -0.9607846737, 0.6481112242, -0.4668833017, -0.2076720744, -0.3857090473, -0.3865593672, -0.3225753009, 0.3993370533, 0.3506436646, 0.2908975184, -0.2162375152, 0.3096086681, -0.6736902595, -0.2476117611, 0.0787639394, -0.415681541, 1.0829073191, -0.0270910431, -0.5750132203, 0.396681577, -0.8117908835, -0.6278823018, 0.2104913592, 0.1149171069, -0.7830097675, 0.0202177837, 0.1762275845, 0.1887455136, 0.335875839, -0.5273000598, 0.1406089813, 0.0403824039, 0.0342160612, 0.9896463752, -0.4810942709, 0.5434914827, 0.0873668343, 0.4536884427, 0.3494470417, 0.7133942246, 0.1395474821, -0.4995267093, -1.1533564329, -0.1268595308, 0.0259807818, 0.2800795734, -0.5391592979, -0.2433116734, 0.063945502, -0.3639014363, -0.963526845, 0.1774828881, 0.7328894734, 0.6630312204, 0.3096316755, -0.6411650777, -0.7124847174, -1.3008280993, -0.3320215344, 0.0645644516, 0.0608746, 0.5104528069, 0.6078606844, -0.4834309816, 0.8333137035, -0.5485234857, -0.949660778, -0.1080279052, -0.0159845725, 0.2089394778, -0.0231012199, 1.0007771254, -0.7287279963, -0.4308166504, -0.3487043977, -0.8082714677, -0.3386436701, 0.3503275812, -0.3083874881, -0.0451995209, 0.3581050336, -0.2722117901, 0.734272182, 0.7954117656, -0.5498375297, 0.5226041079, 0.0700683743, -0.2658036351, -0.6380470395, 0.0345196202, 0.3264046609, -0.1290519089, -0.7067916393, 0.012884249, 0.1591374427, 0.1415963918, -0.5467364788, 0.4362065494, -0.7600476146, -0.4672777951, 0.0072418656, 0.1276977658, -0.0730041265, 0.4344347417, 0.2890001237, 0.6444732547, 1.1134598255, -0.5192291737, 0.0142525146, 0.094649069, -0.2218045145, 0.5072413087, -0.6628823876, 0.0378872566, -0.3814941645, -0.1125045717, -0.4832977057, 0.000416106, 0.5130273104, -0.2382685542, 0.0251053516, -0.3772557378, -0.0111193471, -0.2309371233, -0.6477407813, 0.5049242973, 0.4506617188, -0.4669110477, 0.7078924775, 0.9281393886, 0.2982215285, -1.0224457979, -0.3692007065, 0.0205444898, -0.3241835535, -0.3536333442, 0.0648326576, -0.0031666693, -0.7492285371, -0.1209952235, 0.0471746847, 0.0296475645, -0.1005632579, 0.4970861375, 0.2794343233, -0.1890643239, -0.2128837407, -0.0725783557, 0.1488158554, 0.1381970793, -0.0420869142, 0.6646542549, -0.212700516, -0.1886894703, 0.1291912347, 0.3573540747, 0.8139640689, -0.6339848042, 0.7785600424, 0.8501552343, -0.2923074663, -0.133400768, -0.4991242886, -0.0160800647, -0.4302491844, 0.3166927397, -0.1703624427, -0.7327273488, 0.7131664157, 0.4234678149, -0.1527519822, 0.2688302398, 0.659229219, 0.3075532615, 1.0234453678, 1.0585664511, -0.4999889731, 0.6101124287, -0.2701173425, 0.0625618547, -1.1270498037, -0.221157819, -0.4130272865, 0.0565615557, -0.5942205191, -0.5852626562, 0.5110852718, -0.3989190757, 0.1275605857, -0.0869961306, -0.4384661913, 0.4727615416, 0.8544240594, 0.0826806799, 0.0680709332, -0.2539614439, 0.0800300688, -0.1020338759, -0.4724082351, -0.5394369364, 1.5169453621, 0.5816141963, 0.664316535, 0.2338801622, 0.6092162132, 0.4079521894, 0.4623365104, -0.618401587, 0.5085401535, 0.1172661334, -0.9586555362, -0.14904131, -0.0860685557, -0.7235800624, 0.3692376614, -0.3110903502, -0.779121995, 0.4864287972, 0.427608341, -0.0327417366, 0.036822211, -0.5656189322, 0.781423986, -0.0202560481, -0.91863662, 0.0175987035, -0.6329117417, 0.8285152316, -0.0431831852, 0.4049644172, -0.1875128448, 0.1935094893, 0.801682055, -0.1932016015, 1.1742144823, -0.0929082409, -0.1148875803, 0.08218804, 0.1622460037, 0.5257979035, -0.0470656268, 0.3542678654, 0.4123324156, -0.1011143699, -0.4647598267, -0.2396117151, 0.7149885297, -0.7842534184, -0.5029818416, -0.7156496644, -0.4569990039, -0.2281932384, 0.2984220386, -0.0118168872, 0.5965135694, -0.4186591506, -0.2573184371, 1.0278936625, -0.3439165354, 0.267315954, 0.8139337897, -0.5308439732, 0.0345054343, 0.7559549809, -0.0562742352, 0.0327485055, 0.2114695609, 0.1522662044, -0.0939377323, -0.4580614269, -0.226914376, 0.2619665563, -0.5860081911, 0.2852324545, -0.7336999178, 0.0713666007, -0.66988796, 0.1264683753, -0.3509497643, -0.1400180757, -0.3718727529, -0.1706455946, 0.1455339789, 1.1273008585, -0.0116002196, -0.0282196533, -0.3467331231, 0.3607909381, 0.4748610258, 0.2596389949, -0.0122266049, -0.1086592227, -0.013349955, -0.1290504187, -0.1650398672, -1.2586547136, 0.7039264441, -0.1504742056, 0.4532150626, 0.7845456004, -0.1648838818, 0.5417724252, -0.6337543726, 0.805305779, 0.1895230711, -1.0298246145, 0.6864737272, -0.5201611519, -0.1972356886, 0.319947958, 0.3643411398, -0.3113539517, -0.4856117666, -0.4649645388, -0.8049654961, 0.5308393836, 0.2586943209, 0.1757198721, 0.1037839726, -0.1484432966, 0.0684782192, 0.3517563939, -0.8784451485, -0.5759609938, -0.106688723, -0.2205466181, -0.11871133, -0.7192705274, -0.4542441368, -0.2196042538, 0.4571912289, -0.1710094362, 0.1377798915, 0.0937784016, -0.3292862177, -0.1519167721, 0.0253492277, 0.8325368166, 0.7264689207, -0.3639226258, 0.4560687542, 0.056685254, -0.9227663875, -0.2344130874, -0.1936025172, -0.4015487731, 0.1559279114, 0.5024217367, 0.8401303887, -0.07285133, -0.6676091552, 0.7844024301, -0.2486572415, 0.033910308, -0.6994459629, 0.136261031, -0.250223577, 0.4163418412, 0.3658315539, 0.2248042077, 0.5785183311, -0.7954664826, -0.1584517211, 0.7098493576, -1.1809843779, -0.36227718, 0.8213223815, 0.2001867294, -0.0253730416, 0.2193058729, 0.1474903971, -0.5826331377, 0.5419893265, 0.00500722, 0.7868845463, 0.1807177514, 0.3739307523, 0.1034522057, 0.7995539904, 0.2677458823, 0.2063156813, -0.0430113561, -0.8854702711, 0.0699012652, -0.7720255256, -0.1884073019, 0.3767744005, -0.9475215077, 0.1978511661, -0.2092911452, -0.2225104868, 0.0432976037, -0.2074094117, -0.9332090616, 0.0130505962, 0.1896188557, 0.9066591859, -1.3542840481, 0.6914992332, 0.4687771499, -0.6799414158, -0.3768408895, 0.0561501272, 0.3607275486, -1.0317935944, 1.0209115744, -0.0561744049, -0.2337380648, -0.4113393724, -0.6511013508, -0.9595921636, 0.9140272737, 0.060319595, -0.5849809051, -0.0069411858, 0.0549662784, 0.666271925, -0.3967303634, 0.3692534268, 0.6402919292, 0.304009676, -0.2900547385, -0.9171962142, -0.0195396524, -0.3318791091, 0.0928732976, 0.0544601642, -0.5543143153, 0.8449679017, -0.2509895861, 0.0564362444, -0.3173688352, 0.483554095, 0.1592515856, 0.5391287804, 0.1177373528, 0.4746017158, 0.7293078303, 0.059261024, 1.0926139355, -0.1378960609, 0.3077672124, 1.1184928417, -0.535128653, 0.3987209201, 0.8225364685, -0.1354094446, 0.3283252716, 0.4273776412, 0.2086277157, 0.6596886516, -0.0003472922, -0.2584171295, -0.0109786047, -0.384578526, -0.3339945674, 0.3733680248, 0.3550594747, -0.879544735, 0.0123123573, -0.1179101989, 0.004186166, -0.1872934103, -0.5746964216, 0.537637949, -0.0745401606, -0.3458647728, 0.1061213836, -0.3182661533, 0.8710927367, -0.495077759, -0.1982274055, -0.3164982796, 0.2667015493, -0.0795197561, -0.7240730524, 0.1710937321, 0.0766818225, -0.4568012059, -0.2116964906, 1.0065838099, -0.2522361279, -0.5826541185, 0.5152767897, 0.5145055056, 0.0186748598, 0.1033418253, -0.469881624, 0.2810986042, 0.0897502825, -0.0897279382, 0.4581567943, 0.2069815546, -0.2905716002, 0.7173279524, 0.5691760778, 0.4010517597, 0.5391916633, 0.2546651661, 0.8823134899, -0.4157268405, -0.1226491854, -0.7703742385, 0.3236911893, -0.3145136833, -0.5367987752, 1.1018188, 0.5863409638, 0.9776082635, -0.3782859147, 0.8051545024, 0.1645036638, 0.4413540065, -0.4952864051, 0.6506481767, -0.4889467359, 0.3034442067, -0.8127324581, -0.7472951412, -0.1531710178, 0.6530722976, -0.6039457917, -0.1645701379, 0.341629833, 0.9911583066, -0.2602741122, -0.2518796325, 0.4910902381, 0.2516437471, 0.117151849, 0.3708469868, 1.0730206966, -0.281763494, 0.2724021077, -0.1601778418, -0.3757146895, -0.3884480298, -0.7096185088, -1.1770251989, -0.5698091388, -0.1897887588, -0.4126430452, 0.0483548529, 0.4498946965, 0.6029324532, -0.6768017411, -0.2169118375, 0.1177670136, 0.3279906809, -0.0503577404, -0.2730100453, 0.144736439, 0.091990158, -0.7678288817, -0.0745484307, 0.2591172457, -0.0247833822, -0.9536217451, -0.0119237248, 0.101688236, 0.3435525894, 0.7643069029, -0.0123280082, -0.6139686704, -0.1520415694, 0.0224620737, -0.0080614854, -0.1801464409, 0.8815054297, -0.910941422, 0.4641032219, 0.451972127, -0.1023676544, 0.6230902672, -0.6053468585, 0.5651447773, -0.6974623799, 0.2305322289, 0.1327504218, 0.5813082457, 0.2176757753, -0.2196265161, 0.5608549714, 0.2869523168, -0.0029441949, -0.9995253682, 0.5018858314, -0.7690424323, -0.1796255857, 1.279984951, 0.3088138402, -0.499497503, -0.0811649263, -0.5124265552, -0.0135419909, -0.2471008748, 0.9189385772, 0.3928596973, 0.0413173065, -0.1830860823, -0.8187439442, 0.8556516171, 0.1601822376, -0.4956156909, -0.0406092107, 0.8185631037, 0.5354159474, 0.390543431, 0.8210682273, -0.3233142197, 0.1928581446, -0.0422192328, -0.0411035791, 0.1666716486, -0.6118064523, -0.3866665065, 0.2301802337, -0.1729671359, -0.2124186009 ]
http://arxiv.org/abs/2407.02062v1
http://arxiv.org/pdf/2407.02062v1
Are Data Augmentation Methods in Named Entity Recognition Applicable for Uncertainty Estimation?
2024-07-02T08:49:43
2024-07-02T08:49:43
Wataru Hashimoto, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL, cs.AI, cs.LG
This work investigates the impact of data augmentation on confidence calibration and uncertainty estimation in Named Entity Recognition (NER) tasks. For the future advance of NER in safety-critical fields like healthcare and finance, it is essential to achieve accurate predictions with calibrated confidence when applying Deep Neural Networks (DNNs), including Pre-trained Language Models (PLMs), as a real-world application. However, DNNs are prone to miscalibration, which limits their applicability. Moreover, existing methods for calibration and uncertainty estimation are computational expensive. Our investigation in NER found that data augmentation improves calibration and uncertainty in cross-genre and cross-lingual setting, especially in-domain setting. Furthermore, we showed that the calibration for NER tends to be more effective when the perplexity of the sentences generated by data augmentation is lower, and that increasing the size of the augmentation further improves calibration and uncertainty.
[ -0.1686921567, -0.3246684968, 0.5832023025, -0.0348980241, -0.1489948928, 0.2434328198, -0.2159357071, -0.7374933362, 0.1247119382, 0.3619183302, -0.3372526169, -0.2850474119, -0.6097437739, 0.3134309351, -0.201682061, 0.6174666286, -0.067554988, 0.4022803307, -0.2813483775, 0.2143701017, -0.4531980455, -0.5419753194, -0.6618529558, -0.2466629893, 0.5104023814, 0.1588125825, 0.7205157876, 0.4042105973, 0.7211657166, 0.3009953499, 0.0624150075, 0.3509371281, -0.1249705553, 0.1422788352, -0.1166655421, -0.5708267689, -0.3386709392, -0.1494939476, 0.87404567, 0.8900767565, -0.0343567431, -0.2420347929, -0.0163101479, 0.6715132594, -0.6422679424, 0.1405499876, -0.624545753, 0.0808891878, -0.0526601151, -0.2520116568, -0.0595714562, -0.4246747494, 0.5368635654, -0.8955417275, -0.0984025151, 0.1643976867, 0.9203842282, 0.6510014534, -0.2970827818, -0.374278307, -0.9514434338, 0.8171589375, -0.8095636368, 0.5834698081, 0.4253935516, 0.2832702398, -0.3837226033, -0.6810971498, -0.7804546356, 0.052067548, -0.0342078395, -0.0207833387, -0.1151085272, 0.3633745611, 0.4618762434, 0.5912129879, -0.0427603759, 0.3378127515, -0.2424613833, -0.4263189733, 0.8116874695, -0.0796673447, 0.1577143073, -0.1002533287, -0.3887580335, -0.2061644047, -0.6115586162, 0.1124781296, 0.585691452, 0.2474906445, 0.0432786271, 0.3982278705, -0.3168517351, 0.7195753455, 0.1818614006, -0.4438209832, 0.5282160044, -0.2635688186, -0.4011075795, 0.3760514557, 0.526566565, 0.2362665534, 0.3919805884, -0.2564635575, -0.2058672458, -0.2212312818, 0.1670631766, -0.593272388, -0.3211499751, 0.1917132586, 0.1664649397, -0.2660141289, 0.2446594238, -0.7574055791, -0.5968557596, -0.4709613323, 0.4865502119, -0.5126045346, -0.103804335, 0.0994758978, 0.1231475696, 0.2179435939, 0.5149389505, -0.4157835245, 0.1938429922, 0.668320477, 0.2718144357, 0.0481380932, -0.0112785455, -0.4704636037, -0.0263913423, -0.4424695373, 0.3587872684, -0.5336263776, -0.2378230095, -0.3685477078, -0.0283690356, -0.3259143829, -0.3789401054, 0.5941591263, -0.7237221003, -0.0091513805, 0.0113944104, -0.8609458804, -0.3388634026, 0.1658271104, -0.9085757136, 0.8424960375, -0.0049369857, -0.8744155765, 0.7990570664, -0.2147081494, -0.4504236579, 0.190735504, -0.3299541473, -0.5288000703, 0.170141533, 0.4465052485, 0.3728393018, -0.1837982684, 0.4118923545, -0.2066477984, -0.4171434045, 0.777764678, -0.7743381262, 0.3140124977, -0.0775416419, -0.2021894008, -0.3551298976, -0.8311085105, 0.3104663789, -0.3566787243, -0.2225331962, -0.4874346256, -0.1278487444, -0.1679129899, 0.05670093, 0.145221591, -0.6404641867, -0.2015966326, -0.8065956235, 0.040775016, 0.4382223189, 0.242410928, 0.4997590482, -0.1287522167, 0.517746985, 0.1724014729, -0.2308829725, 0.1231796071, -0.4380773604, -0.6365876794, -0.1174290106, 1.164039135, 0.7206121087, -0.8645658493, 0.4694790542, -0.519960463, -0.4730580747, -0.5321362019, -0.2103036791, 0.1143983677, 0.7735139132, 0.2979209423, -0.0543189719, -0.8709572554, -0.6700164676, -0.2041354775, -0.1707953662, -0.0586615652, 0.5111002326, 0.3613955975, -0.1117902473, 0.9177092314, -0.2307659984, -0.0564806573, 0.1434198469, 0.1231388077, 0.0203443952, 0.674133718, 0.2194590569, -1.1644448042, -0.2719381154, -0.1643256396, -0.4247332215, 0.295737654, -0.3432701826, 0.1996754557, 0.0175247993, 0.0233803727, -0.3289990127, 0.7513617873, 0.3911342621, 0.2682181895, 0.3212604523, -0.3747632205, 0.3266606331, -1.2240718603, -0.2340059429, 0.200067535, -0.3134715855, -0.7793234587, -0.268098563, 0.2421699017, 0.2589472234, -0.3033265471, 0.3519107401, -0.7396544814, -0.0641387776, -0.1589849293, 0.0534401797, 0.2168839872, -0.2458060384, 0.3765694797, 0.9174727201, 0.9543109536, -0.7447179556, 0.315220803, 0.0351929143, -0.657377243, 0.5786214471, -0.3622705638, -0.069212392, -0.104207322, 0.164582625, -0.6378626227, -0.3928453028, 0.3387301862, -0.5471253991, 0.7881168723, 0.0045796745, -0.2272712737, -0.3485394418, 0.0327618681, 0.5124836564, 0.2409825027, -0.3583211303, 0.6054510474, 0.5813885927, -0.0594983138, -0.8375260234, -1.179989934, 0.2994650006, -0.3456668854, -0.2868611217, 0.6173402667, 0.0409940332, -0.1611330509, -0.2316678911, -0.3870921433, -0.3752077818, 0.0726529583, 0.4808576703, 0.3396015763, -0.0557662472, 0.4908767343, 0.1518127173, -0.0715165883, 0.0409356505, -0.0511977337, 0.0587992445, 0.0649980158, -0.4148578644, -0.5154706836, -0.0833446234, 0.0872221068, -0.0633887276, 0.681052804, 0.6214763522, -0.8780417442, 0.0759774894, -0.798373878, -0.1427719146, -0.4286855459, 0.2086921483, -0.4568428993, -0.889888227, 0.4828444719, -0.1875645965, -0.5205239058, 0.4810664654, -0.0008569548, -0.1010264605, 0.6866835356, 0.4815429151, -0.0824920908, 0.2574163377, -0.068265304, 0.4683661163, -1.1510511637, -0.2619428635, -0.2332986146, -0.4447118342, -0.7653832436, -0.6081317663, 0.2110306174, -0.0432488881, 0.2059633732, 0.3000071645, -0.4324688017, 0.202913329, 0.3927148879, 0.2662323415, 0.1621373147, 0.1085029468, 0.0998126417, -0.4917187393, -0.3782867491, -0.3621158898, 1.1227656603, 0.5146359801, 0.8016580939, -0.2259034961, 0.8998612761, 0.0156364236, 0.0849492401, -0.7975739241, 0.2903575301, 0.1082405597, -0.4536459744, -0.4236700237, -0.7506418228, -0.7764738202, -0.2694989443, -0.3150797784, -0.9233050346, 0.929338336, -0.0246982835, -0.9230774045, 0.2432056963, -0.4440368712, 0.3298401535, -0.3109054863, 0.1281189919, 0.2436227351, -0.6670202613, 0.0283086319, -0.3777618408, 0.0573511831, -0.0678928569, -0.3467055857, 0.6662297249, -0.3607305884, 0.5905025005, -0.0490319468, -0.0694985613, 0.2936396897, -0.3554357886, 0.7023892999, 0.4563827813, -0.6190353632, 0.3457123935, -0.2014623284, 0.1898722649, -0.722646296, 0.8641762137, -0.3910468817, -0.5180120468, -0.6355416775, -0.9077207446, -0.3405643404, 0.0438550636, 0.2048264891, 0.3975010216, 0.0436981954, 0.2549313605, 0.7280187607, -0.0764169246, 0.4723431468, 0.2973047197, 0.2975816429, -0.6443564892, 0.7895845771, 0.4902003407, 0.1099801213, 0.645411253, -0.2196047604, -0.3474928141, -0.817872107, -0.5356155038, -0.1381263584, -0.4367602468, -0.4480324984, -0.6564778686, -0.4267782867, -0.5665602684, 0.1222839728, -0.1191344038, -0.6876286268, -0.5656486154, -0.3096003532, 0.6137767434, 0.2936369181, -0.0716236308, 0.3490875959, -0.6299481988, -0.031609267, 0.0888838246, 0.48228845, -0.5117544532, -0.4571842849, -0.2004524171, 0.5481021404, 0.3928087354, -1.0282120705, 0.4432295263, 0.4128398299, 0.6165565252, 0.1455957443, 0.2805835903, 1.0107098818, -0.1735972613, 0.4760168493, -0.0650191307, -0.7151005864, 0.3226201832, 0.21380274, 0.0215914119, 0.9632015228, 0.3058624268, -0.1120675653, 0.1566659659, -0.5305885673, -0.9232577682, 0.6067917347, 0.2240987122, 0.2605100572, 0.1903570592, 0.6309390664, -0.1337162852, 0.5753413439, -0.4481508136, -0.5464805365, 0.1906820983, -0.3207193315, 0.0492809303, -0.1313436031, 0.2192556709, -0.2303092927, 0.8651899099, -0.0674689934, 0.0692586675, 0.4323208928, -0.0573037229, -0.1622251719, 0.3196003437, 0.1777631342, 0.3699037433, -0.1288060546, -0.1079162285, 0.4759519994, -0.6881625652, 0.0562268347, 0.8022793531, -0.3748016357, 0.1360721737, -0.045954302, 1.0118730068, 0.4178857803, -0.515173912, 0.3992644846, -0.0186966322, 0.053750664, -0.5503054261, 0.017791599, -0.2398162633, 0.2586463392, 0.4886099994, 0.3055554926, 0.4379655719, -0.0344826914, 0.3340864182, 0.463553369, -0.6243607402, 0.1395468414, 0.4337824583, -0.2188905478, -0.0799864605, 0.5588275194, -0.2296591699, -0.3975501359, 0.6741022468, 0.3794776201, 0.7591099739, -0.4147511423, 0.2070773542, 0.3157456517, 0.3444421291, -0.1294333041, 0.3841096461, 0.0021807055, -0.9481297731, -0.4703666866, -0.7393408418, -0.5249350071, 0.0476317294, -0.6040244102, 0.1411407888, -0.2911713421, -0.5159192681, 0.149500221, 0.1581922024, -0.852376163, 0.8388465643, 0.3615439832, 0.6264597178, -0.3591542542, 0.6049384475, 0.929289937, -0.3353070617, -1.2968047857, 0.1927093565, -0.1492573917, -0.4160916507, 0.5176402926, 0.3528518081, 0.0906585455, 0.1916462183, 0.0857013389, -1.29377985, 1.2981622219, 0.3208647668, -0.6942418814, -0.2996490896, 0.5559921265, 0.4957449436, -0.5594061017, 0.3864460588, 0.4167088568, 0.6855508089, 0.1859529465, -0.9856379628, -0.0665718019, -0.1165629402, 0.1197866127, 0.1834850162, -0.0303712487, 0.6841394305, -0.3111104667, -0.4282085299, -0.0649131015, 0.7269870043, 0.0591222644, 0.4672861993, 0.5966890454, 0.6774739623, 1.0593215227, -0.4432236254, 0.9581106305, -0.414591819, 0.1218426824, 1.3252338171, -0.37787655, 0.5791225433, 0.5148880482, -0.2645489872, 0.6376479864, 0.8293656707, -0.0274468362, 0.2671987712, 0.1665194035, -0.3547934294, -0.1564580351, -0.2464691997, -0.3999213576, 0.3475869298, 0.7728062868, -0.523265481, 0.1297903657, 0.2142543197, -0.1041270196, -0.2954715788, -0.3335677683, 0.7356829047, 0.2531048954, -0.4693336189, 0.1148064658, -0.1290210932, 0.593327105, -0.2735431492, 0.0468276106, 0.430608511, 0.1345211416, -0.3280256689, -0.7766087651, 0.0847033709, -0.2238212824, -0.0116503229, 0.1960425973, 1.1268013716, -0.5640089512, -0.8676278591, 0.036421448, 0.4766196609, 0.175326243, -0.4263178408, -0.5678052306, -0.3342032433, -0.2107577473, -0.320340544, 0.1644619703, 0.3666058481, 0.0767654255, 0.5908403993, 0.5367560387, 0.2975769341, 0.1092567593, 0.1828057468, 0.689135015, -0.2603738308, -0.4363889992, -0.5833256245, 0.5594744086, -0.2474997491, -0.094498679, 0.7878050208, 0.5703876615, 0.8318147063, 0.1014302373, 0.6694241166, -0.0171386227, 0.6268948913, -0.3992826343, 0.5176497698, -0.3615659177, 0.4254271388, -0.4584213495, -0.8265072703, -0.5383346677, 0.5009683371, -0.8191252947, 0.2427190542, 0.3245893717, 0.7462425828, 0.1472101808, 0.1871111095, 0.3526826501, -0.1099718884, -0.2657826543, 0.3674074411, 0.4097748697, -0.893874526, 0.2773186862, -0.8600006104, 0.0075953919, -0.0021479654, -0.9629895091, -0.3611746132, -0.319439739, -0.6233780384, -0.0081362743, 0.164316982, 0.822339654, 0.633440733, -1.0478076935, 0.3492471278, -0.1735411286, 0.1425857246, -0.1773376614, -0.267873913, 0.2600563765, 0.0775292441, -0.9974407554, 0.569866538, 0.2681240737, 0.3819742203, -0.0954260752, -0.003434256, -0.2682434022, 0.1533953696, 0.0033370224, 0.163110882, -0.6685140133, -0.4075790048, 0.0623973422, -0.088689521, 0.0985444784, 0.4023453295, -0.9548476934, 0.7326233983, 0.4208041131, 1.0356773138, 0.0877277255, 0.334725827, 0.5839700103, -0.8698818684, -0.0992878377, 0.3916635513, 0.5151804686, 0.7471722364, -0.9253025055, 0.5412188768, -0.0157875344, -0.5553154349, -0.8325878978, -0.063222371, -0.7321624756, 0.4812776744, 0.8076571226, -0.3256218135, -0.0970678031, -0.1953926384, 0.0603459775, 0.4588834643, -0.4786784947, 0.4104447365, 0.5804110169, -0.1280007213, -0.3214446306, -0.445599407, 0.5568808317, 0.3092465103, -0.7839878201, -0.3730875552, 0.4385777116, 0.1206659451, 0.451418519, 0.1258094758, 0.0266140793, 0.2213508785, -0.1337628812, -0.0602773726, -0.1017227024, -0.2643990815, -0.437045604, -0.1310507208, -0.1147370338, -0.2044072449 ]
http://arxiv.org/abs/2407.02056v1
http://arxiv.org/pdf/2407.02056v1
Integrate the Essence and Eliminate the Dross: Fine-Grained Self-Consistency for Free-Form Language Generation
2024-07-02T08:38:31
2024-07-02T08:38:31
Xinglin Wang, Yiwei Li, Shaoxiong Feng, Peiwen Yuan, Boyuan Pan, Heda Wang, Yao Hu, Kan Li
cs.CL
cs.CL, cs.AI
Self-consistency (SC), leveraging multiple samples from LLMs, shows significant gains on various reasoning tasks but struggles with free-form generation due to the difficulty of aggregating answers. Its variants, UCS and USC, rely on sample selection or voting mechanisms to improve output quality. These methods, however, face limitations due to their inability to fully utilize the nuanced consensus knowledge present within multiple candidate samples, often resulting in suboptimal outputs. We propose Fine-Grained Self-Consistency (FSC) to addresses these limitations by extracting and integrating segment-level commonalities from candidate samples, enhancing the performance of LLMs both in open-ended and reasoning tasks. Based on this, we present two additional strategies: candidate filtering, which enhances overall quality by identifying highly similar candidate sets, and merging, which reduces input token requirements by combining similar samples. The effectiveness of FSC is demonstrated through extensive experiments on various tasks, including summarization, code generation, and mathematical reasoning, using GPT-3.5-turbo and GPT-4. The results indicate significant improvements over baseline methods, showcasing the potential of FSC to optimize output quality by effectively synthesizing fine-grained consensus knowledge from multiple samples.
[ -0.4414921701, -0.366015166, 0.6907177567, 0.1564585567, -0.1917401254, 0.1389365792, -0.4817405939, -0.308552891, 0.1716903895, 0.4781725407, -0.2272380292, -0.5211538672, -0.429325223, -0.0187924616, -0.4068658352, 0.7866420746, -0.3147743046, -0.3107500374, -0.3358288407, -0.0896397904, -0.3033821285, -0.3903838992, -0.3066996932, -0.3388396204, 0.2563071251, 0.6828450561, 0.530636549, 0.8810649514, 0.2627496421, 0.3191505075, 0.3091146052, 0.5090737343, -0.5487906337, 0.2799093425, -0.2868977487, -0.1333749741, -0.3905848563, 0.2034032494, 0.636998117, 0.327922076, -0.3581524491, 0.0014362895, 0.5242649913, 0.6963569522, -0.7366325259, 0.1644003093, -0.7364801168, -0.1916813701, -0.475286305, 0.0008181087, -0.2373507321, -0.4032627046, -0.5198306441, -0.3735574186, 0.3941380084, -0.4261510968, 0.7457370162, 0.4337794483, 0.0378774218, -0.2684515715, -0.6541797519, 0.7618849277, -0.8467005491, 0.5283526778, 0.228905946, 0.3048284352, -0.38126266, -0.6219520569, -0.5401815772, 0.0001393451, -0.0842907131, 0.1936103553, -0.1129272357, 0.1943808496, -0.2650804818, 0.6829533577, -0.3667660654, 0.1500298232, -0.2491772771, -0.4185525179, 0.5698850155, -0.1036337465, -0.0171816107, -0.1469437182, 0.0537714176, -0.0191778038, -0.6618227959, 0.2467481643, 0.2781645656, 0.658310771, 0.0474917032, 0.6593161821, -0.6603187323, 0.5095974803, 0.4093153477, -0.2281278074, 0.0014853104, -0.539708972, -0.3306557238, -0.2068927735, 0.9879171848, 0.1313884407, 0.0607640669, -0.0203785487, -0.4012501836, 0.0468884669, 0.0744159296, -0.7785360813, -0.3291356862, 0.3450388014, -0.4184603393, -0.1513057351, 0.1156721041, -0.4615666866, 0.2095931321, -0.6485129595, 0.0939667448, -0.556750834, -0.1060251966, -0.0374973193, 0.0443350188, -0.057151217, 0.472097367, -1.1103739738, 0.3104134798, 0.6548432708, 0.6412975192, -0.2946535051, -0.349722743, -0.721888423, 0.1921263784, -0.3795029521, 0.9003698826, -0.3136484921, -0.2088931203, -0.3767300844, -0.3898178637, 0.097811684, -0.6687439084, 0.0551670082, 0.0809634179, 0.126355812, -0.1382118762, -0.5099515319, 0.3283442557, -0.0059703635, -0.3509335816, 1.3084242344, 0.384026587, -0.3069091737, 0.4437205493, -0.2660293281, -0.291337043, -0.0163340755, -0.7578536868, -0.0501994118, 0.4994746745, 0.1573004723, 0.4882589281, 0.0267929751, 0.456969291, -0.2894373536, -0.2567135394, -0.2646164, -0.5542015433, 0.1846969277, 0.5919201374, -0.4262784421, 0.1661459804, -0.8716732264, 0.4793776572, -0.1198990196, -0.4668323994, -0.1566742808, -0.0489266254, -0.4919310212, 0.2938069105, 0.4432779849, -0.5481604338, 0.1903184801, -0.3255490363, 0.2546889484, 0.7679302096, -0.167076692, 0.4952010214, -0.3124455214, 0.0986863375, 0.1735333949, -0.0271267444, -0.1106353179, -0.23674196, -0.8574367166, -0.299062103, 0.223014906, 0.2218437344, -0.5011273026, 0.4886126518, 0.1119435355, -0.6260196567, -0.5859220624, 0.5078118443, 0.3663235605, 0.2770379484, 0.4936467111, -0.4117994606, -0.4714067578, -0.934707284, -0.176672861, -0.0470044911, 0.007792322, -0.0046197264, -0.0448027886, -0.0853379667, 1.3593975306, -0.4332809746, -0.2244420946, -0.2100000829, 0.2421974391, 0.1821539402, 0.8315625191, 0.4214811921, 0.0296471883, -0.4701170027, -0.1238527149, -0.4403897226, -0.3359662294, -0.0710411519, -0.1557744443, 0.3015708327, 0.5411848426, -0.1265700758, 0.2345209122, 0.7313687205, 0.068489939, 0.3989412189, -0.4107135534, 0.1560143232, -1.0245476961, -0.2735185325, 0.0116966851, -0.2238105386, -0.4825698435, -0.0345783159, 0.0781564787, 0.269883126, -0.3215707839, 0.6498653889, -0.4228609502, -0.1192125455, -0.3506998122, 0.3075977266, 0.1376217008, 0.2417555004, -0.2063896954, 1.119063139, 0.2412679493, -0.5594277978, -0.0596379116, -0.1270626038, -0.0233923811, 0.4074589312, -0.4584698081, 0.0709010735, -0.1427837312, 0.0789139196, -0.9728499055, -0.3198612928, 0.0079963375, -0.1262604594, 0.3322621286, -0.0718436837, -0.3095033169, -0.2468497157, -0.2171248347, 0.121080257, 0.4027445316, -0.4964902699, 0.4321086705, 0.0851843879, -0.1470908225, -0.4668459594, -0.6712753177, -0.1819344312, 0.2830233276, -0.5615416169, 0.178215459, -0.1203441992, -0.1990057826, -0.1350251287, -0.458014816, -0.0775942728, 0.0640017986, -0.0594471842, -0.0360439122, -0.3768787384, -0.1164981276, 0.5248464942, -0.051459305, -0.5216768384, -0.3562118113, 0.5372464061, -0.3226463199, -0.624966979, -0.506588161, 0.5993309617, 0.3644246459, -0.2189362347, 0.0803126916, 0.3835973144, -0.1556215733, -0.3278650343, -0.7015734911, -0.1191257313, -0.4495858252, -0.1229217798, -0.6955339909, -1.295640111, 0.5364128947, -0.0169743188, 0.3625562489, 0.6977719069, 0.4407585859, -0.1013895646, 0.7612521648, 0.4677779973, 0.1319924593, 0.3832202256, -0.043360468, 0.0897501856, -0.6049866676, -0.0795873478, -0.522030592, -0.0571356341, -0.5725448132, -0.7002049685, -0.0922491699, 0.5222919583, -0.1440948844, 0.2985648513, -0.8502875566, 0.5343933105, 0.837469101, -0.0289771743, 0.5266910195, 0.0737991482, -0.4529984891, -0.0978721157, -0.5804509521, -0.6756116152, 0.7426847816, 0.1701477468, 0.8785309792, 0.0342614651, 1.471601963, 0.1329713166, 0.3306160569, -0.4849940836, 0.5530144572, -0.7117573023, -0.2552857995, -0.313205719, -0.4693511128, -0.7787473798, 0.280731529, 0.0710486248, -0.6005396843, 0.1445338279, 0.4197550714, -0.4258005917, 0.2095800489, -0.5818540454, 0.7195296884, -0.127556026, -0.333589524, -0.1881367415, -0.3185736835, 0.4805441201, -0.0604543872, 0.1476234049, -0.4411661923, 0.3409043252, 0.4494104981, -0.5845779181, 0.9056009054, -0.092540361, -0.3130110204, 0.7238304019, 0.2186223865, 0.3606630862, 0.0002392662, -0.0366106965, 0.3722411394, -0.0055670799, -0.3490875065, -0.5081908703, 0.8722012043, -0.8001813293, -0.7128335834, -0.1604064703, -0.505397141, -0.1455185115, 0.4881926179, 0.1584648341, 0.4060756862, -0.3065843284, 0.1083648428, 0.3638153076, 0.2340895683, 0.5627666116, 0.1665769666, -0.0164645743, -0.8437028527, 0.8988255262, 0.180818215, 0.4984650612, -0.0071375733, 0.3198500872, -0.269259721, -0.7244401574, -0.6246144772, 0.201329723, -0.5994371176, -0.4949588478, -0.4708998203, -0.3950034976, -0.8786953688, -0.3038787842, -0.7287697196, -0.6406981945, -0.3615849018, 0.2613290846, -0.0299345851, 0.9328878522, -0.4946685433, 0.3716231585, -0.9349404573, 0.3793109655, 0.3225605488, 0.6707108617, -0.1551281214, -0.2456226349, -0.030196771, 0.1870073974, -0.5611858964, -0.4583188593, -0.0841007158, 0.3211319745, 0.8645631075, 0.4299790561, -0.0357629098, 0.9981554747, -0.5026266575, 0.7448880672, 0.3637147248, -1.1364153624, 0.6838113666, -0.2415116876, 0.2432802618, 1.0935301781, -0.1351536065, -0.4051036239, -0.9665786624, -0.7171630263, -0.5849349499, 0.5577600002, 0.2814888656, -0.1944562644, -0.3530798554, 0.3399978578, 0.3292903006, 0.1127011478, -0.4426558316, -0.0602000505, -0.5362204313, -0.6264556646, 0.1184576452, -0.0061896103, -0.0397829562, -0.1037058607, 0.5945475698, -0.4446170628, -0.1584842652, 0.4008229077, 0.2352410555, -0.0454154424, 0.5613957047, 0.6964486241, 0.3990952075, 0.011186908, 0.471529007, -0.139532879, -0.2434450686, 0.270146817, 0.0192453321, -0.3436605036, 0.0280750003, -0.0267019328, 0.2988417149, 0.0670133382, -0.2198765725, 0.2653745115, 0.1685814857, -0.3729993105, 0.1118720919, 0.4978203177, -0.0589538366, 0.1319339424, 0.1689472347, 0.243256703, -0.05492815, -0.577367425, 0.5978409052, 0.467040807, -0.0956082121, -0.0299838427, 0.5836097002, 0.2219867706, 0.1009328514, 0.3712553978, -0.3944703639, -0.0181606356, 0.2649349272, 0.636952579, 0.7534029484, -0.4297752678, 0.0723679513, 0.4435751736, 0.0907257199, -0.5807525516, 0.4585261345, -0.194492355, -0.7236286998, -0.6194727421, -0.7222287059, -0.4908243716, 0.0080962079, -0.3405611515, 0.247821331, -0.5278909802, 0.0770884305, -0.2290441394, 0.0369086638, -0.277310431, 0.1979064941, 0.0258089919, 0.8572756052, -0.7527120113, 0.8674890995, 0.240493238, -0.4859468639, -1.2199971676, -0.135369122, -0.093247667, -0.7236839533, 0.1813376248, 0.0629565567, -0.1852771938, -0.1518778205, -0.4635589719, -1.1971255541, 1.0193096399, 0.3323631585, -0.6462277174, -0.033813756, 0.2192293406, 0.2584661841, -0.5962249637, 0.0254580602, 0.7096502185, 0.4567610323, 0.4226624966, -1.0092332363, 0.1065263301, 0.1205486581, -0.1021612361, 0.4140614569, -0.7585391402, 0.6814137697, -0.1370222718, -0.3249329925, 0.2037743032, 1.0419511795, 0.6846779585, 0.3479100168, 0.4232999086, 0.6444760561, 1.0062433481, -0.244664073, 0.4727033973, -0.4208449721, 0.2587962449, 1.628041625, -0.2295705974, 0.7704214454, 0.4489280581, -0.1019374281, 0.6009017825, 0.349865675, -0.0705277547, 0.3635864854, 0.2419355959, -0.1698237807, -0.3762274683, 0.1119476855, -0.3009048998, 0.6659092307, 0.169851914, -0.054356277, -0.687828064, -0.3566306531, -0.0557502471, 0.4391908348, -0.1435028613, 0.7803742886, 0.0043654586, -0.9651248455, 0.5576118827, -0.1379255354, 0.7817789316, -0.4227223098, -0.1020398661, -0.3919656575, 0.1309538633, -0.3100643456, -0.9215402007, 0.5353221893, -0.0860328972, -0.286724478, -0.3176984787, 0.7857610583, -0.6545827389, -0.2539989948, -0.0268575381, 0.8150925636, 0.362944901, 0.0644764602, -0.3808454275, 0.0673716739, 0.1861687601, 0.1285392046, 0.3873454332, 0.734696269, 0.0081920475, 0.260750711, 0.7279422283, 0.3061520457, -0.0273359027, 0.1869273335, 0.8832691908, -0.5849254727, -0.3011505604, -0.6836335063, 0.3523313105, -0.2111926228, -0.2132900953, 0.6035854816, 0.8712545633, 0.9016541243, 0.3031179309, 0.8196206689, -0.1466762722, 0.4149957597, -0.4413977861, 0.4757312536, -0.4805901647, 0.1116793603, -0.1659345031, -0.8535909057, -0.1915174872, 0.5552993417, 0.1227435172, -0.0243819505, 0.6052696705, 0.4877668917, -0.2115743756, -0.1353428215, 0.470736295, -0.0613812432, 0.5662094355, 0.3872005641, 0.4508020878, -0.2871693373, 0.560115695, -0.3373555541, -0.3517355025, -0.0000321297, -0.9696103334, -0.4612405598, -0.3575593233, -0.2024835646, -0.3956858814, -0.1801569313, 0.9307272434, 0.7521814108, -0.8485085368, -0.2339699119, -0.3229946196, -0.0280928593, -0.1113929823, -0.2182153314, 0.0920150951, -0.9808388948, -0.7549179792, 0.6503961682, 0.4802049398, 0.3501457274, -0.2355311364, -0.0452188551, 0.2249970287, 0.216626212, 0.558904767, 0.3331940174, -1.0227329731, -0.6427224874, 0.0329429246, -0.3576759398, 0.4042946398, 0.8471052051, -0.7670669556, 0.1866787076, 0.4577517211, 0.4862414598, 0.170001328, 0.2724336386, 0.4786458313, -0.8243632913, -0.1937421411, 0.0570902824, 0.4650145173, 0.2291478664, -0.296453923, 0.4752857685, 0.0598734841, -0.6945493221, -0.3622291684, 0.3549792171, -1.1570321321, -0.3251447976, 1.0990655422, -0.1246020198, -0.0208156183, -0.113460362, -0.0730709434, 0.2939413488, -0.7674692869, 0.6423178911, 0.6592782736, -0.5045313835, 0.0591949783, -0.1470999122, 0.5264925361, 0.3283164799, -0.8074734211, 0.4888975322, 0.7543455362, 0.4670204222, 0.2984133661, 1.0961847305, -0.2060461342, 0.0127523309, -0.0761275366, 0.1117937639, -0.0339375027, -0.3588555157, -0.1636044979, 0.4125006199, 0.1753221899, 0.0400292501 ]
http://arxiv.org/abs/2407.02049v1
http://arxiv.org/pdf/2407.02049v1
Accompanied Singing Voice Synthesis with Fully Text-controlled Melody
2024-07-02T08:23:38
2024-07-02T08:23:38
Ruiqi Li, Zhiqing Hong, Yongqi Wang, Lichao Zhang, Rongjie Huang, Siqi Zheng, Zhou Zhao
eess.AS
eess.AS, cs.CL, cs.SD
Text-to-song (TTSong) is a music generation task that synthesizes accompanied singing voices. Current TTSong methods, inherited from singing voice synthesis (SVS), require melody-related information that can sometimes be impractical, such as music scores or MIDI sequences. We present MelodyLM, the first TTSong model that generates high-quality song pieces with fully text-controlled melodies, achieving minimal user requirements and maximum control flexibility. MelodyLM explicitly models MIDI as the intermediate melody-related feature and sequentially generates vocal tracks in a language model manner, conditioned on textual and vocal prompts. The accompaniment music is subsequently synthesized by a latent diffusion model with hybrid conditioning for temporal alignment. With minimal requirements, users only need to input lyrics and a reference voice to synthesize a song sample. For full control, just input textual prompts or even directly input MIDI. Experimental results indicate that MelodyLM achieves superior performance in terms of both objective and subjective metrics. Audio samples are available at https://melodylm666.github.io.
[ -0.2173559666, -0.6737293005, 0.5007807016, 0.8716262579, -0.3775415719, 0.3816324472, -0.0520330109, -0.1588041633, 0.2172631323, 0.5643365383, -1.0096366405, -0.912054956, -0.2818828821, 0.140940696, -0.5727212429, 1.1680408716, 0.4188432992, -0.1779815555, -0.0921282843, 0.3124807179, -0.3368202448, -0.5343145728, -0.7978175282, -0.2241956294, 0.7302350998, 0.1423409432, 0.3264930844, 0.260794282, 0.0506848283, 0.2204722017, -0.3244672418, 0.0558722354, -0.4562713206, 0.5591807961, 0.1182436571, -0.4337081015, -0.7665895224, 0.30526039, 0.5036683679, 0.4531846642, -0.1342314035, 0.3431873322, 0.2837646604, 0.6034183502, 0.0885941982, -0.1725094914, -0.5644823313, 0.3272882402, -0.3278392255, -0.30954054, -0.444126606, -0.5426695347, 0.27640903, -0.818145752, 0.2468748689, 0.0938460305, 0.5282673836, 0.3692699671, -0.2558201849, -0.3798782527, -0.8435531855, 0.7519925237, -0.449958533, 0.4150951505, 0.4210603535, 0.2406309694, -0.1824911833, -0.9670789242, -0.1318317354, -0.4307932556, 0.1103949174, 0.5118118525, 0.0528806075, 0.2314445227, 0.2466933876, 0.259352833, -0.6086984277, -0.4587385356, -0.2535590231, -0.0790998414, 0.5345979333, 0.1094631776, 0.3191001713, -0.3778711557, -0.6265466809, 0.196173355, -0.6259436607, 0.1769689023, 0.4860875309, 0.5853463411, -0.3666502535, 0.683131516, 0.4992842078, 0.8937879205, 0.5120748878, -0.0426433086, 0.1041595489, -0.4854975343, -0.4481467605, 0.3227952421, 0.9506283998, -0.0115113035, -0.1341897249, -0.3151644468, -0.4676817656, -0.1834130585, 0.3592146337, -0.3853233159, -0.2534701824, 0.303740412, -0.4516209662, -0.3916673958, -0.0299457964, -0.6248529553, -0.2311374247, -0.6512537599, 0.5774534941, -0.4231582582, -0.2943448424, -0.4134403765, -0.187991187, -0.2958543599, 0.1890122145, -0.4129772484, -0.0064310054, 0.505207181, 1.1939437389, -0.3953894079, -0.3147969246, -0.6886326671, 0.318977356, -0.5661864877, 0.6114553809, -0.1752053648, -0.7387316227, -0.407338351, -0.2397172898, -0.1107795984, -0.6386566758, 0.269967854, -0.3091024458, 0.5482485294, -0.0360846035, -0.6562849879, 0.070537895, -0.2552954555, -0.8517671824, 1.0476263762, 0.5417348146, -0.4916504025, 0.2687600851, -0.7526530623, -0.7180214524, 0.0186117981, 0.08298219, -0.5286860466, 0.4088929594, -0.1838859767, 0.2528113723, -0.2327618152, 0.3944836259, -0.1451758146, -0.3998890519, 0.3050898015, -0.2421210259, 0.662394762, 0.4446298182, -0.1276050359, 0.4124370515, -0.7496548295, 0.2345688194, 0.1467469782, -0.4995345175, -0.1486924291, -0.005550914, 0.6169441938, 0.2509057224, 0.3756351769, -0.1910764277, -0.0626559108, -0.3445037901, 0.3931997418, 0.4318672717, 0.0687685683, 0.549764812, -0.7468560338, 0.7722552419, -0.3648862839, 0.0453869551, -0.1280564964, -0.3955528438, -0.2451407909, -0.3204556704, 0.5413558483, 0.4539561868, -0.4382508099, 0.633721292, 0.1225496158, -0.3022137582, -0.7456264496, 0.0934380889, 0.1741871238, 0.302244395, 0.2318577617, 0.1866712868, -0.8038362265, -0.4611876905, -0.045197621, -0.248883754, -0.4512024522, 0.0321525671, -0.1824667007, 0.3885118961, 0.9797832966, -0.0649895221, -0.4860767424, -0.5483728647, 0.0277037863, 0.2564928234, 0.5774396062, 0.7694438696, -0.8377686739, -0.4524688125, -0.2297497094, -0.4707770944, -0.6604294777, -0.1937044561, -0.3536027074, 0.1585128158, 0.4344399571, -0.5364924073, 0.0523380823, 0.9167023897, -0.4851002693, 0.5236930251, 0.1038100868, 0.3020131588, -1.2940106392, 0.2535248697, -0.1181494594, -0.6023167372, -0.8888813257, -0.188171491, -0.2854835987, -0.3220230043, -0.3079880774, 0.169854641, -0.2628169656, -0.1953088343, -0.358152926, 0.0576902293, 0.1259580106, 0.3216407001, 0.1239994839, 0.8875734806, 0.5065201521, -0.5150139928, 0.18515791, 0.1480024606, -0.2175015807, 0.5645473003, -0.7697630525, 0.3030042946, 0.2369436324, 0.0708887801, -0.9972035289, -0.2205905318, 0.0214459635, -0.7769950628, 0.391461283, -0.2750254571, -0.5268067122, -0.2467518151, 0.1876754761, 0.2416621745, 0.9860789776, -0.44343099, 0.7412953377, 0.1010746807, -0.48962605, 0.3692266643, -0.6120265126, 0.0871876329, -0.5010486841, -0.2653509676, 0.39657107, -0.1743375361, -0.0050500608, -0.1318610609, -0.2398330718, 0.057591103, -0.074219659, 0.3085393906, 0.2873085141, -0.1238901094, 0.300735414, 0.2851327658, 0.0025662296, -0.025931431, -0.6960460544, 0.7044457197, 0.4912952781, -0.1815163791, -0.5163787603, 0.752702713, 0.6872374415, -0.1928019226, 0.1509921402, 0.4121791124, -0.0952696279, -0.4924886227, -0.1258220971, -0.0035182608, -0.4659094214, 0.1015422717, -0.1679958254, -0.7735889554, 0.3740280569, -0.1220712289, 0.2643033564, 0.3606935441, 0.35222435, -0.630081594, 1.3244071007, 0.4571363926, 0.1895172298, 0.8206902742, 0.0324263461, -0.3229238391, -0.6610793471, -0.4163331985, -0.5427299738, -0.3750734329, -0.3580551445, -0.4146996439, 0.7939767241, 0.1666601598, -0.3406600654, 0.1617634594, -0.5999447703, -0.0642972365, 0.8037862182, 0.2584063411, 0.1504091322, 0.0175635312, -0.2537013292, -0.089066565, -0.5896144509, -0.2676811516, 1.0557384491, -0.0010460649, 0.7964224219, -0.0115294643, 0.939121604, 0.5035436153, -0.01327811, -0.7079110742, 0.4349268377, -0.3737244904, -0.4819329083, -0.1113471985, -0.5216332078, -0.5106638074, -0.1228094399, -0.3742494881, -0.5339682698, -0.6861887574, 0.4526733458, -0.3601180613, 0.069141306, -0.6094459891, 0.372479409, -0.3364022076, -0.1829848737, 0.210460946, -0.5352184772, 0.2630114555, -0.30405882, -0.0856739208, -0.131267786, -0.0391320027, 0.6864114404, -0.2478292584, 0.6774384379, -0.2624101341, -0.1817589551, 0.2351405472, 0.2106128186, 0.3293634653, -0.1597976089, -0.0120524568, -0.0754945278, -0.1507120878, -0.3849091232, -0.6158180833, 0.7711000443, -0.4797154963, -0.6094917655, -0.0521484576, -0.5626370907, -0.449280113, 0.174211055, 0.6512759328, 0.3441080153, 0.0134446975, 0.1191854626, 0.6560589671, -0.2790628672, 0.3557249308, 0.1232675612, -0.7584351301, -0.8123811483, 0.5578461885, -0.1881148964, 0.5725261569, 0.3244594038, 0.3166000247, -0.6842791438, -0.6807240844, -0.6172553897, 0.0310758501, -0.213619113, -0.0035368605, -0.496298492, -0.397530973, -0.2649511397, -0.0017141667, -0.39719069, -0.3533487022, -0.5324344039, 0.0602846146, 0.5074267387, 0.7860181928, 0.0640647858, 0.4001526535, -0.9567722678, 0.6132269502, 0.2049002796, 0.395735085, -0.2075683922, -0.3969528377, -0.2092992514, -0.1233068407, -0.050020963, -1.0406838655, 0.0935496166, 0.1907439381, 0.3624125421, 0.1438785493, -0.0547040477, 0.6598752141, -0.5775507092, 1.2001410723, 0.4575214088, -1.0701963902, 0.7883594036, -0.6013666391, 0.5157778263, 0.1596412957, -0.1448061615, -0.4587622583, -0.7805351615, -0.2783233821, -0.7366020083, 0.6866309047, 0.6787648201, -0.0896207616, 0.285568893, 0.1821426004, 0.17966263, 0.4779074788, -0.5121620893, -0.336651355, -0.5077679753, -0.5308798552, -0.3309225142, 0.2511100173, -0.0276833996, -0.1001458988, 0.6090812087, 0.0558079891, 0.4128305614, 0.2530815899, 0.3320356905, -0.3877566755, 0.0932951644, 0.5285331011, 0.239349395, -0.0444175005, -0.1019159704, -0.4094201326, -0.4177708924, 0.2337126583, 0.23957178, -0.5330227017, 0.1922682971, 0.3112769127, 0.9898333549, 0.1477618665, -0.4939812124, 0.2378949076, -0.0944494456, -0.2463180274, -0.4119387865, 0.2431147546, 0.2760528028, 0.2491940409, 0.4983932078, 0.0946863294, 0.0479621626, -0.1066611186, 0.3271890879, 0.2198131084, -0.622781992, -0.3363637626, 1.23189044, -0.0536592677, -0.4596660733, 0.1127563491, 0.1838494092, -0.3287802041, 0.6078810096, 0.7143523097, 1.2291535139, -0.5215414166, 0.1875767112, 0.1161069423, 0.0757093951, 0.1732346117, 0.6418854594, -0.2822284997, 0.0979893953, -0.4399906099, -0.7786223292, -0.0555215254, 0.3549310267, -0.6387137771, 0.2692331076, -0.5287088156, -0.3926928639, 0.0296736732, -0.285644263, -0.3651517928, 0.3665272295, 0.0017877381, 0.9416770339, -0.659812808, 0.6000588536, 0.655046463, -0.1001084, -0.959397316, 0.3858997524, 0.1780823022, -0.2930566669, 0.1364694685, -0.0513365157, -0.164116472, 0.4907664955, -0.5772253871, -0.517062068, 0.8712874651, 0.1839038581, -0.5922164321, -0.3488709927, 0.0843234137, 0.5598607063, -0.3360719681, -0.3389313519, 0.4687711895, 0.418874532, 0.6356024742, -0.8095878363, -0.3386594653, -0.3685401082, 0.0985557809, 0.2874524593, -0.4110142589, 0.805734396, 0.0700916275, -0.2326642126, 0.7187008858, 0.6225875616, 0.5059362054, 0.5390689373, 0.7732741237, 0.3237342238, 0.5585815907, -0.4087086022, 0.8240074515, -0.2553470731, 0.060272079, 1.2406386137, -0.2983315885, 0.3802093565, 0.4198234975, -0.1835517585, 0.0576518774, 0.7753586769, 0.1853931397, 0.8348488212, 0.2341418266, -0.4636372626, -0.3674454987, -0.0442930385, -0.1794838905, 0.4189460278, 0.3061275482, -0.7190070152, 0.08013919, 0.334325254, -0.3260068297, 0.1084374934, -0.4092229605, 1.1000216007, 0.0382913277, -0.8405743241, 0.3312948644, -0.4106525183, 0.4016744494, -0.9701561332, -0.0836070105, -0.1293476075, -0.362475127, -0.0438692048, -0.8349844217, 0.127601862, 0.2530525923, -0.2128050178, -0.3280359209, 0.4662877321, -0.8901708126, -0.4458760321, 0.2968438566, 0.5490205884, -0.2496105283, -0.1032633483, -0.4989722073, -0.1825311184, 0.1355329305, -0.19157888, 0.075568065, 0.4149511158, 0.1688688099, 0.3167677522, 0.7474595308, 0.5788466334, 0.3431410789, 0.4786514342, 0.5485388041, -0.7598612309, -1.0368900299, -0.4700833261, 0.5439642668, 0.0868897438, -0.0815927088, 0.5671460032, 0.6686534882, 0.3727443516, -0.1341365278, 1.3133803606, -0.1256957054, 0.9382391572, -0.8917759061, 0.802749753, -0.8966153264, -0.0485953577, -0.5679011345, -0.9359329343, -0.0850571841, 0.1380286366, 0.4776786864, 0.2171774656, 0.4335091412, 0.4670689404, -0.1956577003, 0.2823360562, 0.5818740726, 0.0126489308, 0.1715319753, 0.7354753017, 1.1654808521, 0.001346022, 0.4577927589, -0.2109791785, 0.0189100318, 0.1598319411, -0.8083958626, -1.0584880114, -0.84471035, -0.1724661589, -0.4601700902, -0.1358297318, 1.2866938114, 0.8559871316, -0.7036758065, -0.102726534, -0.1061474904, 0.0757201388, -0.4117565155, -0.2267754376, 0.2279374897, -0.0701298788, -0.9087298512, 0.716789782, 0.270183295, 0.6785424948, -0.2102854401, -0.1352021098, 0.3596617281, 0.1501064599, 0.4492221475, -0.2007443011, -0.7325746417, 0.0090943128, 0.1682881415, -0.105802156, 0.0934131518, 1.192789793, -0.3446077108, 0.4146832824, 0.3907569945, 0.1065875441, 0.3170327842, 0.3065344095, 0.622173667, -1.0486072302, -0.1380627602, 0.4411741793, -0.0581662133, 0.2741016448, -0.270359695, 0.0245412681, 0.2217901051, -0.2947435081, -0.4905031919, 0.3040758967, -1.3007404804, -0.039411962, 1.1107578278, -0.064882569, -0.1446496993, -0.0237776972, -0.4840815961, 0.5680304766, -0.4146679044, 0.5815801024, 0.4459229708, -0.0282538217, -0.2543812394, -0.4330641031, 0.8943812847, -0.0541896261, -0.7334610224, -0.0734700635, 0.7816170454, 0.2547399402, -0.0760096461, 0.5787408352, -0.2850685418, 0.567976594, -0.1649533808, -0.0954439417, -0.3313180208, -0.5705622435, -0.3368332982, 0.4784251451, 0.0654469207, -0.313413769 ]
http://arxiv.org/abs/2407.02043v1
http://arxiv.org/pdf/2407.02043v1
Concise and Precise Context Compression for Tool-Using Language Models
2024-07-02T08:17:00
2024-07-02T08:17:00
Yang Xu, Yunlong Feng, Honglin Mu, Yutai Hou, Yitong Li, Xinghao Wang, Wanjun Zhong, Zhongyang Li, Dandan Tu, Qingfu Zhu, Min Zhang, Wanxiang Che
cs.CL
cs.CL
Through reading the documentation in the context, tool-using language models can dynamically extend their capability using external tools. The cost is that we have to input lengthy documentation every time the model needs to use the tool, occupying the input window as well as slowing down the decoding process. Given the progress in general-purpose compression, soft context compression is a suitable approach to alleviate the problem. However, when compressing tool documentation, existing methods suffer from the weaknesses of key information loss (specifically, tool/parameter name errors) and difficulty in adjusting the length of compressed sequences based on documentation lengths. To address these problems, we propose two strategies for compressing tool documentation into concise and precise summary sequences for tool-using language models. 1) Selective compression strategy mitigates key information loss by deliberately retaining key information as raw text tokens. 2) Block compression strategy involves dividing tool documentation into short chunks and then employing a fixed-length compression model to achieve variable-length compression. This strategy facilitates the flexible adjustment of the compression ratio. Results on API-Bank and APIBench show that our approach reaches a performance comparable to the upper-bound baseline under up to 16x compression ratio.
[ -0.3441960514, -0.5814520121, 0.4175571203, 0.0930332243, -0.6108159423, -0.0297324974, -0.618118763, -0.4100218713, -0.015012403, 0.4878914952, -0.4839174151, -0.4240299165, -0.3592272997, 0.1272342801, -0.5087477565, 0.7925701737, -0.0525674522, -0.198903814, -0.0729677081, -0.1355450004, -0.8209093809, -0.6347420812, -0.5127022862, -0.0994170457, 0.3485907018, 0.3151315749, 0.6625778675, 0.9562826753, 0.3652051091, 0.2825413048, -0.2120877653, 0.1114631444, -0.2738132775, 0.4293639064, -0.119453311, -0.3584013879, -0.400672406, -0.2366932184, 0.5923972726, 0.7550631762, -0.2639564574, 0.2576260865, 0.2208096236, 0.2803344727, -0.5340134501, 0.1251094937, -0.3438860774, -0.1515575945, -0.2404132187, -0.5434946418, -0.6207494736, -0.0180285964, 0.0258967672, -0.3189176321, 0.4926838279, -0.2054677308, 0.7757843733, 0.3527890444, -0.261801064, -0.1862707436, -0.8688805699, 0.6514452696, -0.7459392548, 0.3751931489, 0.4096616507, 0.2217164487, 0.0890863538, -0.7641072869, -0.2249353081, 0.0622812919, -0.1729919463, -0.3274483383, 0.1303141266, 0.2917097509, 0.5352227092, 0.3635237813, -0.473210901, 0.0708095729, -0.5657539964, -0.4772364795, 0.5938528776, 0.0317353383, -0.0145262899, -0.0734030753, -0.172257334, -0.5630264878, -0.6765902638, 0.0889764801, 0.5181788802, 0.4438863993, -0.0351832919, 0.330601722, -0.2212654948, 1.0140544176, -0.0686195046, -0.4680620432, 0.0517446548, -0.6339949965, -0.2254311144, 0.0121294754, 0.4255640209, 0.4780980647, -0.1386068612, -0.4256685972, -0.4781423211, -0.0824293792, 0.492192626, -0.9306729436, 0.141614005, 0.3753532469, -0.451934427, -0.1576303244, 0.0723780841, -0.5401846766, -0.1920365989, -0.477263689, 0.1898020953, -0.3191854954, -0.091646418, 0.1618735343, -0.4988263547, -0.0187211335, 0.4129057825, -0.7729792595, 0.3106162846, 0.5962144136, 1.1064736843, 0.1013934761, 0.1716870517, -0.7221415639, 0.2692933679, 0.1085502207, 0.8542355895, -0.5030462146, -0.7171618938, 0.0574428812, 0.0857815966, 0.4193685949, -0.3334442973, 0.6741729379, -0.1548350304, 0.0909203663, -0.0906189457, -0.5487352014, -0.0956933349, 0.1143217981, -0.8788384199, 0.7731797695, 0.4301517308, -0.6453307867, 0.1501945555, -0.3709402382, -0.5141400099, 0.1072760001, -0.1048619747, -0.1165842637, 0.3922266364, 0.1405977011, 0.5177907944, -0.4137598574, 0.283495605, -0.1260565519, -0.5994125605, 0.0627504736, -0.4007723331, 0.5042420626, 0.3163412213, -0.0487009063, 0.2789863646, -0.5473683476, -0.0078048143, -0.0569315664, -0.5933892727, -0.3386904597, -0.0616854206, 0.136985153, 0.1677970886, 0.2505090833, -0.3718903363, 0.6590242386, -0.4762014449, 0.4135012925, 0.7101194263, -0.1656052768, 0.5866849422, -0.1914139986, 0.6116827726, -0.3685258329, 0.3789123297, -0.4147620797, 0.004672226, -0.6805768609, 0.0951471254, 0.7069398165, 0.4979854822, -0.7155225873, 0.4263052344, -0.5301200151, -0.4156956673, -0.3639986217, 0.0505104885, 0.3395199776, 0.6176597476, 0.1960431188, -0.6854934096, -0.5567998886, -0.7587680221, -0.1409617811, -0.1505898982, -0.3140670061, 0.3444871604, 0.0651334152, 0.112872608, 0.9379392862, -0.4147046804, 0.0468979552, -0.4155965447, 0.3294790685, 0.3286086619, 0.560715735, 0.4048907161, -0.9164896011, -0.3183338344, -0.3092972636, -0.1696974039, -0.3214274049, -0.2830354571, 0.1684931964, 0.2416076362, 0.4658226073, -0.6371122003, 0.5865151286, 0.5015096068, -0.2818741202, 0.7338651419, -0.2738774419, -0.1590726376, -0.8781442642, 0.2246356308, -0.1612537354, -0.4734228551, -0.656057775, 0.336261183, 0.3162781894, -0.0446557552, -0.5251300931, 0.644136548, -0.5534415841, 0.1512586027, -0.4236852229, -0.0240974631, 0.159217149, 0.458388865, 0.2160960734, 0.7702778578, 0.3419997394, -0.63097471, 0.2714424133, -0.0062045865, -0.1822238266, 0.4461386502, -0.6538567543, 0.4150514305, 0.0196275637, 0.6100157499, -0.3102589548, -0.074559845, 0.1449716687, -0.1810100526, 0.7404001951, -0.4235491455, -0.924254775, -0.2293573171, -0.6198740602, 0.2813889384, 0.5921469331, -0.0811664537, 0.5160476565, 0.1663894653, -0.2559280694, -0.4881515503, -0.6460296512, 0.2187021524, -0.304366976, -0.6307600141, 0.7824178934, -0.4049823284, 0.1077761427, -0.1014842987, -0.5661782026, -0.0511476845, 0.0816600323, 0.0947609171, 0.0654874817, -0.0459050499, 0.2516157329, 0.0849103183, -0.2343150526, -0.228335306, -0.3224522173, 0.7484148741, 0.1140472665, -0.0895775482, -0.1087055206, 0.7810048461, 0.3147142529, 0.0410527736, 0.7209214568, 0.4658123255, -0.2826970518, -0.0785765499, -0.6267117262, -0.3136042953, -0.4927681983, 0.0266493391, -0.4503068626, -0.7306092978, 0.554695487, -0.4212117195, 0.2724380791, 0.1850575358, 0.2864584029, 0.3409905434, 1.0138885975, 1.0571752787, -0.0177065022, 0.6217156649, -0.2178964764, 0.2069295198, -0.7832151651, -0.0490231626, -0.7658916116, -0.2486550212, -0.0643882528, -0.4609804451, 0.1652837098, 0.398339808, 0.2604686916, 0.6114922762, -0.75670439, 0.4297536016, 0.5464883447, -0.043384932, 0.1011080667, 0.0774496719, -0.0782766789, 0.3379666507, -0.9104920626, -0.6206443906, 0.9567826986, 0.3822531998, 0.7376155257, 0.188762188, 0.6280739307, 0.0927933529, 0.118058905, -0.7911784053, 0.4174410999, 0.0348988436, -0.3657766581, -0.2682129145, -0.2595990896, -0.8878574967, -0.1392248124, 0.2676369846, -0.8625448346, 0.2088610083, 0.1364849955, -0.4687394202, 0.0307399351, -0.7516261935, 0.6955524087, 0.0077774883, -0.2129160464, -0.1274493188, -0.8443082571, -0.0028134228, -0.1794339865, 0.2897927761, 0.1081424505, -0.2137113214, 0.5251753926, -0.8853669763, 0.7741109133, -0.1529268324, -0.1246100813, 0.0526908636, 0.0370801091, 0.6478339434, -0.0376863591, -0.1524862796, 0.0224744249, 0.2090670466, -0.4165204167, -0.8945215344, 0.3222531974, -0.1917106509, -0.679592967, -0.1312883049, -0.8137131333, 0.0784572214, 0.2058993578, 0.3229120374, 0.9472154975, 0.0392194353, 0.2989746332, 0.4982326925, -0.1648055166, 0.4926592112, 0.5396765471, 0.1824757457, -0.1093353033, 0.5856826901, 0.182872355, 0.274122715, 0.2682340443, 0.0950203612, -0.2912063599, -0.6629133821, -0.5481815934, 0.0846163481, -1.0604672432, -0.5691511631, -0.307501018, -0.1016091257, -0.6501521468, -0.4567764401, -0.1703072786, -0.6319777966, -0.1641791016, 0.0811558962, 0.2972224057, 0.3610703647, 0.043883279, 0.48677665, -0.9852441549, 0.2168432474, -0.1938317716, 0.4944709241, -0.1678732336, -0.4076176882, -0.3847101629, -0.0255800877, -0.1050609797, -1.0228207111, 0.3705189526, 0.2134658992, 0.4541295469, 0.5057801008, 0.4149353206, 0.8589410782, -0.438231945, 0.7710127831, -0.0814729556, -0.8268859386, 0.6167814136, -0.0399238057, 0.706808269, 0.5386732221, 0.1067328751, -0.6795729399, -0.479821533, -0.6962078214, -1.177721858, 0.7396796346, 0.1686948985, 0.3064317405, 0.0369953811, 0.5654816031, 0.228903845, 0.1389165223, -0.4276709855, -0.0311851911, -0.0982488021, -0.3968954682, 0.0898405015, -0.3011175096, -0.4116443992, -0.1048515439, 0.4126076102, -0.2621525526, 0.1768882424, 0.1829474717, -0.3041195571, 0.2229554504, 0.4255263507, 0.5838515162, 0.6157360673, -0.2877589762, 0.2928704023, 0.1735636741, -0.4269201458, 0.0741555393, 0.1787739694, -0.1797432899, 0.2995452881, 0.2753578126, 0.7424398661, 0.2471046448, -0.8639967442, 0.3925670683, -0.3297108412, 0.0933578461, 0.0222067274, 0.1858883947, -0.0114145391, 0.0535925776, 0.2363528162, -0.1079097986, 0.3596895933, -0.3649291992, -0.0054586856, 0.1709715128, -0.1480503827, -0.1734649837, 0.1390016973, 0.3432982862, -0.4976231754, 0.4632993042, -0.1726823896, -0.2699478269, 0.4150975049, 0.4998016655, 0.7340199351, -0.1650401354, -0.1754058152, 0.2718398869, 0.1897799224, -0.3916358054, 0.0997643024, -0.6925914884, -0.1996796429, -0.6459688544, -0.5855311751, -0.3514657021, 0.0893397927, -0.7238479257, 0.4953660667, -0.373800844, -0.2152277678, -0.2376883924, 0.0408092067, -0.769938767, -0.0414218195, -0.0199752469, 1.5032273531, -0.4059835076, 0.9121534228, 0.270793587, -0.4584780633, -1.0530998707, -0.1619155705, 0.0398209803, -0.0514752753, 0.1282071471, 0.4570459127, -0.126329124, -0.186809063, -0.5030235052, -0.8453038931, 0.9549381137, 0.4383350313, -0.6487802863, -0.2850067019, -0.1714151651, 0.301980108, -0.1220070273, -0.0706261694, 0.5355419517, 0.5280492306, 0.047073666, -1.1827967167, 0.4287945032, -0.366320014, 0.1394462287, 0.2323271036, -0.2199053019, 0.391428709, 0.3328265846, -0.6270099282, 0.2803028822, 0.3655115068, -0.0285807494, -0.0639653057, 0.6251617074, 0.2976391315, 0.6770766973, 0.1044860184, 1.378603816, -0.5225920081, 0.1625707448, 0.9794162512, 0.0859033763, 0.6510657072, 0.4988543689, 0.1799724847, 0.5253814459, 0.8174312711, 0.0756743848, 0.3917406201, 0.0748704895, -0.3156792819, 0.097580865, -0.3044740856, -0.35059461, 0.1398536414, 0.3556657434, -0.3287989795, -0.1153185219, -0.1109503359, 0.162515834, -0.2456558049, -0.0581575148, 0.5960647464, -0.0100517739, -0.870474875, 0.7018693089, 0.4938119352, 0.682733357, -0.7337164879, 0.0774909481, -0.079063803, -0.1957151145, -0.0133216679, -0.5800281763, 0.6141164303, 0.170196265, -0.2117057741, -0.6876286268, 0.9088439941, -0.4383985996, -0.2651223242, -0.1160705835, 0.1464108378, 0.3137233555, -0.1608065367, -0.4709467292, 0.3821722269, -0.2141795754, -0.2668208778, 0.2719851136, 0.3267471194, -0.1727745533, 0.4455521703, 0.6232588291, 0.1788517535, -0.3318819106, 0.3437101543, 1.0600732565, -0.6165446043, -0.625274837, -0.7540977597, 0.6884868741, -0.4556563199, -0.0307366271, 0.5172018409, 0.3455646336, 0.8231873512, 0.1014154479, 0.6238296628, -0.0964273289, 0.1939819753, -0.6103459597, 0.3801778853, -0.4688368142, 0.2787572742, -0.1228787154, -0.7289491296, -0.3592881858, 0.4887595475, 0.1290532798, -0.1910862029, 0.741492331, 0.6329607964, -0.2102373689, -0.4060352445, -0.0524477847, -0.1532311589, 0.3205999732, 0.4425827563, 0.2226036489, -0.1169882491, 0.8570241928, -0.4103380144, -0.0685152933, -0.4381517768, -1.045774579, -0.5147278309, -0.5800325871, -0.4297316968, -0.2202367187, -0.294521898, 0.6979267597, 1.2301005125, -0.2078993469, -0.1605268121, 0.0386534445, 0.1934717596, -0.3026708663, -0.1926456392, 0.2879904807, -0.2758607864, -0.6719528437, 0.4376044273, 0.4962637126, 0.1010904238, -0.4635626078, -0.1507608593, 0.2683165967, 0.261125356, 0.4554027021, 0.32461375, -0.8189065456, -0.2975333631, -0.1173403561, 0.0660529435, -0.0702656135, 1.1298750639, -0.9473145008, 0.5115066767, 0.6499391198, 0.3196566105, 0.4123434722, 0.0719419494, 0.9662863612, -1.3749982119, 0.5189740062, 0.1550397575, 0.3781344593, 0.4789073169, -0.5594995618, 0.7334754467, -0.0441182218, -0.2837876976, -1.1282821894, 0.3549384773, -1.1793725491, -0.7169908285, 1.1252857447, -0.304074496, -0.3114922047, -0.2759511769, -0.5231420398, 0.5255481601, -0.368470639, 0.7130084634, 0.8765054941, -0.0477522463, -0.1965414286, -0.5571269989, 0.4395366907, 0.0051276176, -0.4516404271, 0.1686834991, 0.4440995455, 0.1249700263, 0.3058372438, 0.4693276286, 0.0213042963, 0.3742811382, 0.086620301, -0.0140041439, -0.2455747873, -0.1993622035, -0.5120723248, 0.3039949536, 0.0307184272, 0.1625608802 ]
http://arxiv.org/abs/2407.02042v1
http://arxiv.org/pdf/2407.02042v1
Fake News Detection and Manipulation Reasoning via Large Vision-Language Models
2024-07-02T08:16:43
2024-07-02T08:16:43
Ruihan Jin, Ruibo Fu, Zhengqi Wen, Shuai Zhang, Yukun Liu, Jianhua Tao
cs.CL
cs.CL, cs.AI
Fake news becomes a growing threat to information security and public opinion with the rapid sprawl of media manipulation. Therefore, fake news detection attracts widespread attention from academic community. Traditional fake news detection models demonstrate remarkable performance on authenticity binary classification but their ability to reason detailed faked traces based on the news content remains under-explored. Furthermore, due to the lack of external knowledge, the performance of existing methods on fact-related news is questionable, leaving their practical implementation unclear. In this paper, we propose a new multi-media research topic, namely manipulation reasoning. Manipulation reasoning aims to reason manipulations based on news content. To support the research, we introduce a benchmark for fake news detection and manipulation reasoning, referred to as Human-centric and Fact-related Fake News (HFFN). The benchmark highlights the centrality of human and the high factual relevance, with detailed manual annotations. HFFN encompasses four realistic domains with fake news samples generated through three manipulation approaches. Moreover, a Multi-modal news Detection and Reasoning langUage Model (M-DRUM) is presented not only to judge on the authenticity of multi-modal news, but also raise analytical reasoning about potential manipulations. On the feature extraction level, a cross-attention mechanism is employed to extract fine-grained fusion features from multi-modal inputs. On the reasoning level, a large vision-language model (LVLM) serves as the backbone to facilitate fact-related reasoning. A two-stage training framework is deployed to better activate the capacity of identification and reasoning. Comprehensive experiments demonstrate that our model outperforms state-of-the-art (SOTA) fake news detection models and powerful LVLMs like GPT-4 and LLaVA.
[ -0.541969955, -1.188395977, 0.7685533762, -0.1050965339, -0.2780309021, -0.0016872105, -0.0135259526, -0.6288369298, 0.1804858893, 0.5387177467, -0.4359472096, -0.2239038944, -0.4339075685, -0.1299101561, -0.6142849326, 0.5430731773, -0.039466992, 0.1233715564, -0.0223595146, -0.2628494501, -0.3037174046, -0.684422493, -0.1189776957, -0.1242447123, 0.6077188253, 0.1992381811, 0.5435940027, 0.6468405724, 0.3409127593, 0.3378350735, 0.1780483723, 0.4200485647, -0.2307351232, -0.3256318867, -0.5188985467, -0.3737227917, -0.2504589558, 0.3693115711, 0.3664513826, 0.2385036796, 0.0297731571, 0.1551907063, -0.2548092604, 0.3731838763, -0.6749018431, -0.0807374418, -0.6795440912, -0.2875249684, -0.293554455, -0.1766222864, -0.4181707799, -0.1445667595, -0.2774059474, -0.5860729814, 0.1604516357, 0.2682853639, 1.0051862001, 0.1950875223, -0.5492290258, -0.0479263589, -0.6279247403, 0.6707078815, -0.4079666436, 0.7257645726, 0.2140427679, 0.5357769728, -0.0470013209, -0.494577527, -1.12540555, -0.2321626395, -0.0765553489, -0.082904622, -0.1503271461, -0.1538389474, 0.4325655401, 0.2394333035, -0.4726197422, -0.1013762504, -0.3690295219, -0.5013295412, 0.529720664, -0.1302029938, 0.2858135104, -0.3736611605, -0.6942683458, -0.1026206389, -0.5332264304, -0.1568837315, 0.5421017408, -0.0537410863, -0.0044854553, 0.5803608894, -0.3683489263, 0.745208025, 0.0326956101, -0.4534117579, 0.1492621154, -0.4404687285, -0.4395157099, -0.0709669814, 0.5807161927, 0.4331917465, -0.0574389882, 0.0280988626, -0.1087473407, 0.526725471, 0.4001007974, -0.4399124384, 0.2313459516, 0.1063092202, -0.6400727034, -0.483812511, 0.3276801109, -0.7528104186, -0.4009758532, -0.6384077668, 0.7917092443, -0.4818316698, -0.4639058411, 0.2062977999, -0.1945242733, 0.2363079786, 0.6172122359, -0.1773561984, -0.132592991, 0.8067507148, 0.5061064959, -0.2193316221, -0.5229644179, -0.6604028344, 0.031831868, -0.214041695, 0.7291564941, -0.3405461907, 0.3929941058, -0.0598126277, 0.0115600536, 0.0706113949, -0.3763695955, 0.8093731999, -0.8870826364, 0.3201643825, -0.3959438503, -0.4223330915, -0.5330045819, 0.7176237106, -0.7672362328, 0.6493575573, 0.054499615, -0.8294740319, 0.4854896367, -0.5536726713, -0.5363858938, -0.3221337795, 0.0653175265, -0.3445882797, -0.2247021198, 0.2360256612, 0.2417195737, -0.1919412464, 0.5553531051, -0.4381211698, -0.3808881342, 0.5169022679, -0.659953475, 0.7184641361, 0.2187275887, -0.3576888144, 0.2322182506, -0.5680424571, -0.3774011135, -0.002701415, -0.3197870553, -0.2828543186, -0.3072597086, -0.0380424708, 0.5734318495, 0.0294904057, -0.5781337619, 0.2824299335, -0.010639783, 0.2835530341, 0.4542016685, 0.0780353993, 0.4715871513, -0.335234195, 0.0936214551, 0.3660764992, 0.4795376062, -0.3762793839, -0.2036332637, -0.6244643927, -0.2251476347, 0.33108145, 0.6306618452, -1.2040730715, 0.2667441666, -0.1323674321, -0.2395476848, -0.5511145592, -0.0068991873, 0.2840002477, 0.6438486576, 0.5709715486, 0.1126517132, -0.509974122, -0.8335452676, -0.8563026786, 0.0884636864, 0.2537352145, -0.2298561782, 0.6080772877, -0.1372733265, 0.8558111787, -0.1645165384, -0.3792113364, -0.1759421527, 0.2522242367, 0.0617681332, 0.1425641477, 0.4692480564, -1.4927948713, -0.084000662, -0.1704495847, -0.72827667, 0.0199356768, -0.4394890666, -0.143631205, 0.5060930848, 0.51799649, -0.9564428329, 0.7693641782, 0.3820995688, -0.3492747545, 1.0004212856, 0.1995877624, 0.6446934938, -0.8425824642, -0.0332012884, 0.2218020111, -0.6145715714, -0.6734029651, 0.3998406827, 0.1266029924, 0.0576367751, -0.7054495811, 0.593527019, -0.4419196248, -0.1787302196, -0.5246873498, 0.1207409576, 0.123639293, 0.4619125128, -0.0824393183, 0.400351584, 0.3466611505, -0.4094342887, 0.7767598629, -0.1935989112, -0.5749710798, 0.5763536692, -0.3202992976, -0.2302309424, 0.0125402706, 0.4532446861, -0.6396991611, -0.4882436097, 0.5648558736, -0.6020867825, 0.0584401898, -0.1598687768, -0.9405758381, -0.2994939089, -0.1468425691, 0.216187492, 0.2308703363, -0.746960938, 0.7110102773, 0.1548880786, 0.4769410193, -0.5421658158, -0.6182686687, 0.179892838, -0.12886329, -0.6944274306, 0.3447163701, 0.0297131445, -0.4997664988, 0.2308507413, -0.2934250236, 0.083221592, -0.1224700958, 0.1749428809, 0.188425228, -0.0900714323, 0.0646591559, 0.0497173779, -0.073036097, -0.1144190356, -0.0019236761, 0.4481957853, -0.0511241443, -0.7341151237, -0.6157947183, 0.2915376425, 1.022454977, -0.39863047, 0.7521117926, 0.8436505795, -0.5427448153, 0.0480047986, -0.9544794559, -0.4885489941, -0.3600861132, 0.1416998655, -0.3724361062, -0.6519985795, 0.3013893664, -0.1483179778, -0.2525213063, 0.2229619622, 0.6825999022, 0.1887005121, 1.0060191154, 0.3007572293, -0.0733273253, 0.3315598965, -0.1174286157, 0.2565281987, -0.4271630049, -0.1008789092, 0.0076897587, -0.2763246894, -0.1651481539, -0.7735470533, 0.4438113868, 0.1064144671, -0.0691002309, 0.2195764184, -0.1109590977, 0.5320436954, 0.5663211942, 0.1781457514, 0.547657907, 0.1628938913, 0.0251991861, 0.1822034717, -0.4196916223, -0.2716266811, 0.5437150598, 0.447001785, 0.6139678359, 0.1482376158, 0.1162920818, 0.3925009668, 0.3953085542, -0.7116223574, 0.4847117662, 0.1757343262, -0.8331460953, -0.3272967935, -0.4351359904, -0.3884350955, 0.672686398, -0.277343452, -0.4391985238, 0.1642829329, 0.0288077891, -0.0708954632, 0.6283512712, -0.6502809525, 0.6227555275, -0.2881424427, -0.4626062214, -0.6774269938, -0.6503565907, 0.7870929241, -0.0733277872, 0.5940662622, -0.0228814539, 0.2337061912, 0.047229059, -0.2818983197, 0.8587571383, -0.1136301458, -0.0098668272, 0.178360194, 0.3589923084, 0.314866215, 0.1209842786, 0.0594564229, 0.2789772749, -0.2538825572, -0.2935791612, -0.5812062621, 0.6871871948, -0.3158347607, -0.7968128324, -0.5841841698, -0.5422747731, -0.0463748537, 0.2594400346, 0.2063108832, 0.4026851952, 0.0546021052, 0.2159755081, 0.4476600587, -0.0584168956, 0.304333508, 0.5750998855, -0.4646253586, -0.1157767475, 0.8797425032, 0.0372478254, 0.19763951, 0.3809404373, 0.2921772897, -0.290445298, -0.036889825, -0.8149572015, 0.2077565342, -0.5775002241, -0.1974278539, -0.5830482244, -0.1828913987, -0.3636994362, 0.0553368516, -0.2894772887, -0.2807551324, -0.0425332561, 0.0832274854, 0.0605214052, 0.1386162937, -0.1972073615, 0.0497470051, -0.6769477725, 1.0735468864, 0.4250015318, 0.2575134933, -0.1196443811, -0.6020144224, -0.1886747181, 0.3360843062, -0.4038569629, -1.2388010025, 0.2213604301, -0.2935276628, 0.7047495842, 0.4877811372, 0.0261893701, 0.2276616246, -0.0688472092, 0.5833617449, 0.2078273445, -1.0071747303, 0.5071259141, -0.4587400556, -0.0581176132, 0.1489984393, 0.4074801505, -0.367220521, -0.2729595304, -0.5596153736, -0.2352775335, 0.7008849382, 0.0139592355, -0.1399812549, 0.4022624791, 0.2139743268, 0.1808566302, 0.3646324277, -0.9341423512, -0.1311204135, -0.3549067676, 0.1501784623, 0.2589829862, -0.0674230233, -0.2574737668, -0.5380828977, 0.6318594813, -0.2932036221, 0.0025595019, 0.1526004374, -0.4274331927, -0.0762792155, 0.2511930764, 0.7643105388, 0.9176109433, 0.111984849, 0.3245058358, 0.004437685, -0.2158680856, 0.0753678605, 0.1069887877, -0.2152486295, -0.0937879533, 0.391514957, 0.7808936834, 0.1303866953, -0.4778303504, 0.8768181205, 0.0719058588, -0.3354767561, -0.1327135265, 0.0094493087, 0.0280222166, 0.3270644248, 0.499537915, 0.4224930704, 0.1674112529, -0.9442586303, 0.2195007056, 0.2779345512, -0.1043723151, -0.3844515383, 0.4755990505, -0.0071253893, -0.0021093735, 0.3407863975, -0.3984845579, -0.9670113325, 0.4390471876, 0.4295759201, 0.3237383068, -0.2239831835, 0.501909852, 0.1309873611, 0.488070786, -0.3073593974, 0.1575473696, 0.1175393462, -1.1467761993, -0.7800156474, -0.4696621597, -0.1925004423, 0.4387680292, -0.3536242843, 0.5238249302, -0.2221061736, 0.1524794102, 0.1846067458, -0.1706688106, -0.4177121818, 0.2056141496, 0.2355275899, 1.0880154371, -0.9270793796, 0.9173064828, 0.6130101085, -0.5357833505, -0.5228895545, 0.2503204346, 0.4171646833, -0.545183599, 0.4708379805, 0.3126652241, -0.15120399, -0.3781835437, -0.8439543843, -0.4498269558, 0.7239570618, 0.5850244164, -0.4983641505, 0.0705795735, 0.0397366174, 0.2965740263, -0.2465562075, -0.1746155769, 0.6000845432, 0.8712152243, 0.1775678396, -0.7004173994, 0.1172461733, 0.0296501089, -0.448640883, 0.2637518942, -0.910187602, 0.9550856352, -0.1877022237, -0.1339283139, -0.3064551651, 0.5178535581, 0.4105296731, 0.7192931175, 0.7736622095, 0.7694552541, 0.3538187742, -0.1094304621, 1.1003183126, -0.160302788, 0.2770424485, 0.7669606805, -0.310965687, 0.546184063, 0.5370444655, 0.1634280682, 0.6788061261, 0.2912501097, -0.16689457, 0.235612154, -0.1031966507, -0.178270638, -0.6706536412, 0.0179205257, -0.1808926612, 0.9921138883, 0.4136589468, -0.150775075, -0.2852299511, 0.342605263, 0.1851203889, 0.11881423, -0.2498952001, 0.4082120359, -0.0235840268, -0.6953283548, 0.3794531822, 0.390929848, 0.6100042462, -0.2527892292, -0.172992453, 0.0913065076, 0.0987349078, -0.1541422009, -0.7002635002, 0.2851457596, -0.1458296925, -0.3868093193, -0.2642225921, 1.3160344362, -0.4417654574, -0.2617077231, 0.2736031115, 0.719678998, -0.0688055381, -0.6834844947, -0.6763670444, 0.355247438, -0.1653714478, -0.3120643497, 0.3970024288, 0.4388741851, -0.3048998415, 0.6089110374, 1.1202189922, 0.1430459172, -0.1260941625, 0.1185849681, 0.9093577862, -0.5305966139, -0.6426675916, -0.8066022396, 0.1934415102, -0.3632116616, 0.0228546746, 0.7977792025, 0.5395524502, 0.6380953789, -0.1457973272, 0.7259088755, 0.061957173, 0.821896553, -0.6445691586, 0.7036348581, -0.6606585979, 0.0509242602, -0.0246927869, -0.8504619002, -0.2339122444, 0.3460721374, -0.3175438344, -0.0385892577, 0.6007679701, 0.8117784262, -0.5189234614, 0.2137096077, 0.4694494307, 0.3523765206, 0.2299449742, 0.2064403594, 1.0359913111, -0.3738650978, 0.5560672283, -0.2958662212, -0.1858379692, -0.6762563586, -0.9617938995, -0.7072064877, -0.6106797457, -0.2558954954, -0.4326941073, -0.0992066935, 0.604921639, 1.0029239655, -0.5217354298, 0.3193817437, 0.1400204748, 0.5776492953, -0.4399257302, -0.3265600801, 0.3461024165, 0.130000785, -0.4387596846, 0.4473321736, 0.2559039295, -0.1089325771, -0.624222517, 0.0778411105, -0.4697799981, 0.1659530699, 0.8715569973, 0.2735584676, -0.9923492074, -0.4604682326, -0.0289475918, -0.0904843584, -0.1213125587, 1.0482401848, -1.0020543337, 0.2903672755, 0.5567168593, 0.4137512743, 0.5102462769, 0.3545360267, 0.1016908661, -0.8387661576, 0.2378631085, -0.1825596541, 0.3058589399, 0.4111964405, -0.4067148268, 0.1442046911, 0.7048121691, -0.340477407, -0.8598511815, 0.4403958917, -0.9187537432, -0.6687541604, 1.3018604517, 0.2138831615, -0.4916184545, -0.2745885849, -0.3458743989, 0.3353936076, -0.2341484576, 0.78163445, 0.7668542862, -0.135762468, -0.5339249372, -0.6637370586, 0.345864892, 0.0543210097, -0.9908903241, -0.0318095796, 0.6087602973, 0.2584021986, 0.4787885547, 0.2573618591, -0.2437964529, 0.5278087258, 0.0053509315, 0.0380478017, -0.3517577052, -0.6524668336, -0.093507506, 0.1847914606, -0.6713438034, -0.1602938324 ]
http://arxiv.org/abs/2407.02039v1
http://arxiv.org/pdf/2407.02039v1
Prompt Stability Scoring for Text Annotation with Large Language Models
2024-07-02T08:11:18
2024-07-02T08:11:18
Christopher Barrie, Elli Palaiologou, Petter Törnberg
cs.CL
cs.CL
Researchers are increasingly using language models (LMs) for text annotation. These approaches rely only on a prompt telling the model to return a given output according to a set of instructions. The reproducibility of LM outputs may nonetheless be vulnerable to small changes in the prompt design. This calls into question the replicability of classification routines. To tackle this problem, researchers have typically tested a variety of semantically similar prompts to determine what we call "prompt stability." These approaches remain ad-hoc and task specific. In this article, we propose a general framework for diagnosing prompt stability by adapting traditional approaches to intra- and inter-coder reliability scoring. We call the resulting metric the Prompt Stability Score (PSS) and provide a Python package PromptStability for its estimation. Using six different datasets and twelve outcomes, we classify >150k rows of data to: a) diagnose when prompt stability is low; and b) demonstrate the functionality of the package. We conclude by providing best practice recommendations for applied researchers.
[ -0.2694195211, -0.7679952383, 0.5963835716, 0.5549971461, -0.0229657013, -0.2037983388, -0.3662934303, -0.2139432877, 0.1379388273, 0.3047127426, -0.2803513408, -0.3842977583, -0.4994269609, 0.5603808165, -0.3021983206, 1.2334551811, 0.0547985919, 0.1384044141, -0.6386120319, -0.3528367877, -0.7148143053, -0.717258513, -0.7138665318, 0.024712326, 0.6139764786, 0.254273206, 0.8487039208, 0.4986088574, 0.5249082446, 0.3366795778, -0.3057363033, -0.0297744013, -0.0677449852, 0.6239634752, 0.066359736, -0.2912875116, -0.302302897, -0.0489975139, 0.7212554812, 0.7190315723, 0.057536196, -0.0084035806, 0.3505309224, 0.1559521258, -0.2858117521, 0.2062952816, -0.2047338933, -0.1808551848, -0.1398230344, -0.2570352256, -0.7608437538, -0.7730550766, 0.2237123549, -0.2731851041, -0.0568564385, 0.015508011, 0.5368447304, 0.2309882045, -0.1210237592, -0.3124251068, -0.5154326558, 0.6502071619, -0.5685599446, 0.0175664872, 0.5318952799, 0.3120661676, -0.2917377651, -0.3771029711, -0.2966917753, -0.6624763012, -0.2096230984, -0.2321867347, -0.00582129, 0.0676212236, 0.5599611998, 0.1329819858, -0.4298737943, 0.2722758353, -0.1653186232, -0.5857912898, 0.2801366448, 0.3428913057, 0.5320057869, -0.1114156991, -0.3308006227, 0.1275702715, -0.5186474323, 0.3815415502, 0.292781502, 0.6334531307, 0.1153158993, 0.6368176341, -0.0359764919, 0.5447075963, 0.2409700155, -0.2244344354, 0.2299376577, -0.3330847025, 0.2734736502, 0.1474387199, 0.8467526436, 0.6143748164, 0.1335562021, -0.0483745039, -0.4473407567, 0.1433958411, 0.3119087815, -0.6622138619, -0.3799468875, 0.2467504442, -0.5727664232, -0.1313908547, 0.0768238828, -0.6569610834, -0.7925179005, -0.0659933686, 0.4055407047, -0.556152463, -0.1907391995, -0.204596445, 0.0664607286, -0.1373911351, 0.4545249343, -0.7089714408, 0.247775808, 0.5580112934, 1.182063818, -0.1167064235, -0.54115206, -0.998001039, -0.5655088425, -0.407720685, 0.9256368876, -0.3232754767, -0.2880192101, 0.2219447792, 0.3820717037, -0.0497583523, -0.2121426761, 0.7521797419, -0.2725285292, 0.3862855434, -0.5168502331, -0.709253788, 0.1113283783, 0.3226846755, -0.7044522762, 1.0853267908, 0.1908175945, -1.094746232, 0.3210879266, -0.240648821, -0.1749373227, 0.1015210152, 0.0180488862, -0.6336501837, 0.1198646948, -0.09703549, 0.3941796422, -0.041571673, 0.3039709926, -0.4980968535, -0.5586721301, 0.3714928329, -0.2817354798, 0.6605989337, -0.0611710586, 0.0440623462, 0.2799156904, -0.6995311975, -0.1076639816, -0.2616155744, -0.4167158902, -0.3964545429, 0.1836399287, -0.1668743044, 0.2634752095, 0.0890638158, -0.4714239538, 0.3250471354, -0.0992705822, 0.3120301366, 0.5808061361, 0.089892827, 0.4057789445, -0.4768627584, 0.8603553176, -0.0288849454, -0.0486673377, -0.8006461859, -0.6374620199, -0.5552153587, -0.1789728403, 0.1809820384, 0.6046469212, -0.6719863415, 0.6530428529, -0.2257616073, -0.4634197652, -0.3516218662, -0.265429914, 0.4304686487, 0.6519162655, 0.2478521466, -0.0481333993, -0.3654595315, -0.6880299449, -0.2374579459, -0.4912088811, 0.0499458574, -0.3471444547, 0.33803159, -0.2360055298, 1.1752599478, -0.19749479, 0.0421495065, -0.1844638884, 0.3977669179, 0.243061319, 0.533703208, 0.8392727375, -0.2624201179, -0.1511897445, -0.2908780873, -0.4034894109, -0.4185113907, -0.1038229167, 0.2248721868, 0.5866472721, 0.474770993, -0.5797753334, 0.3385765254, 0.5466535091, -0.6072819233, 0.9610598087, -0.3539927006, 0.3822589815, -0.9518398046, 0.2439745367, 0.3427445292, -0.3262740076, -0.5021162629, -0.3916165829, 0.1753514558, -0.1285315752, -0.0713263601, 0.3477656841, -0.1147091463, 0.1735559702, -0.4535197914, -0.0566240996, -0.0928373039, -0.0240739137, 0.0198824275, 0.7804277539, 0.5099872351, -0.6435269117, 0.4117826819, 0.189167574, -0.2428495884, 0.6888058782, -0.9915913343, 0.142102167, -0.2342270315, 0.2426719517, -1.2722234726, -0.0454275124, 0.314865768, -0.5375548601, 0.0954658836, -0.3773147464, -0.582818687, -0.2839600146, -0.4847767353, 0.2613012195, 0.3093703687, -0.4813461602, 0.2985613942, 0.2937064469, -0.5089101195, -0.5558601022, -0.4902381003, -0.1249922439, -0.2508473098, -0.610663414, -0.1967159957, -0.2480205148, -0.3605193496, 0.0775640681, 0.1002054363, 0.0225097742, 0.2982127666, 0.6152355671, 0.2487475276, -0.2317229658, 0.2680038214, -0.0809262618, -0.4630402923, 0.1451316327, -0.0057829875, 0.4105579853, -0.1621681303, -0.1080963761, -0.3745157719, 0.335332185, 0.6597235203, -0.1761271954, 0.9463875294, 0.2829378545, -0.3937645555, -0.1809763908, -0.2489257604, -0.0077791335, -0.4411373138, 0.3015244603, -0.3391613066, -0.7250829935, 0.836540103, 0.0977390036, 0.1463256776, 0.419020474, 0.4055698514, -0.0956162363, 1.0143897533, 0.8293229938, -0.0346804932, 0.3639902771, 0.4249903858, 0.1528749019, -0.2922947705, -0.2558370233, -0.9837274551, 0.1368716061, -0.3796925545, -0.1761389971, 0.1732885092, 0.2522520423, -0.2543978989, 0.3186748922, -0.4188123345, 0.5219522119, 0.4583409429, -0.1363490522, 0.0748779103, -0.2444197834, -0.1232141331, -0.1033095121, -0.3983462751, -0.9535665512, 0.4393085241, 0.4901931882, 0.5982174277, -0.1475083977, 0.3244050145, 0.469263196, 0.1650170684, -0.6752007604, 0.5346522331, -0.131028071, -0.1718074083, -0.311437279, -0.5274198651, -0.8220945001, -0.1130535677, -0.1997602433, -0.7161718011, -0.0303809959, 0.2713296115, -0.6134895682, -0.1243822053, -0.5735967755, 1.003929019, -0.0986426324, 0.0261648186, 0.3682012558, -0.6907908916, 0.0717850477, -0.0336039513, 0.1854966283, -0.1503107697, -0.1351638585, 0.8876696825, -0.5737323165, 0.8091850281, -0.2847834229, -0.3152143359, 0.2128191143, 0.2673842609, 0.3470937312, 0.112887755, -0.403329879, -0.0486498363, 0.2230208665, -0.2465893328, -0.5952825546, 0.7844106555, -0.573040247, -0.1526619494, -0.7891033292, -0.3313951194, -0.1628232002, 0.1436770856, 0.3733642995, 0.664098084, 0.0233277734, 0.052695103, 0.4942019284, -0.3284396231, 0.718789041, 0.3217852712, -0.3678857088, -0.6757224798, 0.6237002015, 0.3177196681, 0.1193282083, 0.0180036221, 0.2800855935, -0.3627592921, -0.5688339472, -0.3730877638, -0.1651836336, -0.8492805362, -0.3417335451, -0.4351572692, -0.0308530051, -0.1323257238, -0.2209777534, -0.2026807666, -0.4871519208, -0.3288093209, -0.1917454451, 0.694796145, 0.750932157, 0.2191341668, 0.3331438899, -0.9125348926, -0.0514608584, -0.1242961958, 0.6102072001, -0.3818406463, -0.5855018497, -0.2120573521, -0.1546297222, 0.1081258431, -0.9771882892, 0.1126548871, 0.1532990634, 0.606965661, 0.2728683352, 0.4209292531, 0.3684647083, -0.4603191614, 1.1326874495, 0.2574030459, -1.1235338449, 0.7409168482, -0.5441622138, 0.2190964371, 0.7378568649, 0.426056385, -0.7570551634, -0.4733754992, -0.1759726703, -0.8293270469, 0.6931553483, -0.2614062428, 0.0604701228, -0.2732467949, 0.6579079032, 0.4980586171, -0.0369024724, -0.5791520476, -0.1003913209, -0.2434698045, -0.4528939426, -0.2763572931, -0.5033082366, 0.0956150368, -0.0732957125, 0.4560643435, -0.3915634155, -0.0629445389, -0.0023465625, -0.1339166909, -0.1726548374, 0.0416917428, 0.5561423898, 0.8337756991, -0.1458409429, 0.3428419232, -0.2098287195, -0.4974797666, 0.3703260124, 0.024181312, -0.4917907417, 0.0274055135, 0.5280217528, 0.642451942, 0.2120371759, -0.7035210729, 0.6880329251, -0.3419416547, 0.1727179885, -0.21062693, -0.1413272768, -0.3118764162, 0.0243474711, 0.2389625609, 0.3200969994, -0.2436912209, -0.3562792838, 0.4508410096, 0.2109215111, -0.4160428047, -0.5968561172, 0.5018773079, 0.4269783795, -0.4770445228, 0.5969343185, -0.4139890075, -0.6070837975, 0.435955584, 0.5738413334, 0.9704427123, -0.3899610043, 0.5075227618, 0.4589939117, 0.4649625421, -0.5975750089, 0.3962596953, 0.3938031793, -0.4775577188, -0.3889543414, -0.5499092937, -0.4672239423, -0.2217083126, -0.7202547193, 0.4590680897, -0.551191926, -0.3764926195, -0.3456940949, -0.0255669914, -0.0591953993, 0.0673759878, 0.0787905082, 0.7987748384, -1.2295392752, 0.6738157272, 0.9105271101, -0.5481312275, -0.501958251, 0.1538664997, -0.1065806597, -0.3033639789, 0.3657082617, 0.532269299, -0.0236108918, -0.520917356, -0.3854736686, -0.806766808, 0.7789658904, 0.6891393065, -0.57141155, 0.34406811, -0.2097428888, 0.7606832981, -0.1785788685, 0.462369889, 0.4256291986, 0.3129950464, -0.1757930815, -1.156057477, 0.2394984663, -0.4395453334, -0.027946068, 0.2168647349, -0.4371461272, 0.7444655299, -0.2281466424, -0.1759430766, 0.5862833858, 0.524833858, 0.5333604217, 0.5396169424, 0.5501201749, 0.4755099118, 0.9655247331, -0.4082083702, 1.0501563549, -0.3592912555, 0.424197793, 0.7946658731, -0.0379509255, 0.8237856627, 0.3034885824, 0.0014022948, 0.3986014724, 0.7661546469, -0.0881009847, 0.3089984357, 0.2453484684, 0.0744992197, -0.2727350593, -0.1996284723, -0.3218959868, 0.1208834052, 0.0442618243, -0.3513987064, -0.0235002302, 0.2236747742, 0.0868927762, 0.1274190545, -0.3274906576, 0.5532402396, -0.0808817744, -0.647763133, 0.4027778804, -0.4131430387, 0.5304918289, -0.5261631012, -0.0380698554, -0.1401646435, 0.2637923062, -0.1997960806, -0.9909180999, 0.2521597445, 0.0798907354, -0.5423859954, -0.1884177625, 0.678471148, -0.3228182197, -0.5551015139, 0.2302847505, 0.200193435, 0.0785850435, 0.1645041406, -0.2423058152, 0.5510668159, -0.4717961848, -0.2013067454, 0.3404993117, 0.7395820022, -0.0311902035, 0.6991545558, 0.1356676519, 0.0876237154, 0.173598364, 0.0349314697, 0.7337970138, -0.6321116686, -0.4819819629, -0.9198856354, 0.6715291142, -0.0618796945, -0.7124844193, 1.1089158058, 0.2584857941, 0.3467633724, 0.1356133968, 0.7846173048, 0.0613132715, 0.4406625628, -0.4593988955, 0.5371049643, -0.0056709042, 0.4710533023, -0.5519494414, -0.9600660801, -0.6683966517, 0.4783912301, -0.1809780598, -0.1537561715, 0.62906003, 0.457327038, 0.4346189201, 0.1744072735, -0.0225386787, 0.1688185632, 0.3804804981, 0.1945604831, 1.2941004038, -0.0767309293, 0.4625625014, -0.3733919561, -0.4209721088, -0.2322368324, -1.1154618263, -0.881377697, -0.692687273, -0.640735209, -0.7380332947, 0.1038844958, 0.9828488827, 0.4258238971, -0.8479123712, 0.1772938669, 0.0420638993, -0.090357706, -0.3547793031, -0.1719891131, 0.543566823, -0.730278492, -0.3599081039, 0.2305408865, 0.3784468472, 0.0037855997, -0.1431931108, 0.0366502777, 0.3724424243, -0.1062432826, 0.4393514097, 0.3406678438, -0.5802149177, -0.6706386805, 0.0130282845, -0.0921136588, -0.1417505741, 0.8330618739, -0.7880985737, 0.4178502858, 0.6726419926, 0.6903962493, -0.5966596603, 0.2348122448, 0.6623737812, -0.6847083569, -0.0799477473, 0.4206209779, 0.7218977213, 0.4484600425, -0.2565916777, 0.1047905833, 0.2502779663, -1.0379818678, -0.9445235133, 0.0697214305, -0.9544068575, -0.0125688184, 1.2360954285, -0.5843286514, -0.129126668, -0.3082957566, -0.4750610888, -0.0959017053, -0.5858116746, 0.8354820013, 0.7108929753, -0.0549427979, -0.2441129535, -0.0075855525, 0.5529178977, 0.1986171901, -0.5720472336, 0.2673682272, 0.6780300736, 0.3648819327, 0.591349721, 0.6445222497, 0.0440742746, 0.3718637526, 0.0693091378, -0.2425666749, 0.0489623211, -0.4362926781, -0.7858717442, 0.4292673469, 0.2776521742, -0.237610206 ]
http://arxiv.org/abs/2407.02030v1
http://arxiv.org/pdf/2407.02030v1
Breaking Bias, Building Bridges: Evaluation and Mitigation of Social Biases in LLMs via Contact Hypothesis
2024-07-02T07:58:46
2024-07-02T07:58:46
Chahat Raj, Anjishnu Mukherjee, Aylin Caliskan, Antonios Anastasopoulos, Ziwei Zhu
cs.CL
cs.CL
Large Language Models (LLMs) perpetuate social biases, reflecting prejudices in their training data and reinforcing societal stereotypes and inequalities. Our work explores the potential of the Contact Hypothesis, a concept from social psychology for debiasing LLMs. We simulate various forms of social contact through LLM prompting to measure their influence on the model's biases, mirroring how intergroup interactions can reduce prejudices in social contexts. We create a dataset of 108,000 prompts following a principled approach replicating social contact to measure biases in three LLMs (LLaMA 2, Tulu, and NousHermes) across 13 social bias dimensions. We propose a unique debiasing technique, Social Contact Debiasing (SCD), that instruction-tunes these models with unbiased responses to prompts. Our research demonstrates that LLM responses exhibit social biases when subject to contact probing, but more importantly, these biases can be significantly reduced by up to 40% in 1 epoch of instruction tuning LLaMA 2 following our SCD strategy. Our code and data are available at https://github.com/chahatraj/breakingbias.
[ -0.4306692481, -0.9230830073, 0.5321646929, 0.3012520671, -0.127657339, 0.3790343404, -0.2089899331, -0.4628309608, 0.4785515368, 0.5283440351, -0.4711803198, -0.5447405577, -0.6307036877, -0.0693017989, -0.23166278, 0.685387671, 0.0363560766, 0.4450680315, -0.3017721772, -0.1432393193, -0.2502693236, -0.4917989969, -0.4178782403, -0.5385423899, 0.6914288998, 0.7302042842, 0.4911089242, 0.4021382332, 0.382234931, 0.1814335585, -0.4134260714, 0.1050895005, -0.6405546069, -0.0406478122, -0.2303108722, -0.7288886905, -0.0888383761, 0.2953181565, 0.4752106071, 1.0050886869, 0.0954224244, 0.3319045901, 0.347173661, 0.7578255534, -0.5247222185, 0.1332373321, -0.438883841, 0.0161781833, -0.5017178655, -0.0232884549, -0.3947939575, -0.5445789695, -0.0443886817, -0.0308375526, 0.3345906138, 0.0652802214, 0.5705195069, 0.1411457807, -0.548838079, 0.0405003093, -0.464259088, 0.6167660952, -0.5593047142, 0.447243154, 0.7390786409, -0.0400742404, -0.1193707287, 0.0987942666, -0.361939162, -0.396166712, 0.2714006603, -0.1698869765, 0.2678708136, 0.1784895211, 0.7209122181, 0.1453514546, -0.0519506112, 0.0204466134, -0.6025705934, 0.148933202, 0.683440268, 0.0307948329, 0.3136428297, -0.0456675813, -0.2497740984, 0.0468581654, -1.0704905987, 0.0046450696, 0.6941017509, 0.0945994705, -0.4628167748, 0.6065411568, -0.2754517794, 0.260017395, 0.3055611253, 0.023354169, 0.3529483378, -0.0103949606, 0.0475596339, 0.0907007679, 0.5971642137, 0.7541514039, 0.6261786222, -0.2522886992, 0.2058986872, 0.4765012264, 0.0090057189, -0.5912397504, 0.0858532414, -0.0974088609, -0.4030743539, -0.6633580923, -0.1863420457, -0.8540256619, -0.7980132699, -0.2855208218, -0.0598178096, -0.1452433467, -0.3443345428, -0.0410632044, -0.0354668237, 0.3055524528, 0.1099909917, -0.8954616785, 0.3120653927, 0.4115979671, 0.8847401142, -0.1088324264, -0.1909994781, -0.5773512721, -0.0271185786, -0.2229519337, 0.7222509384, -0.678486228, -0.6689500213, 0.1716546267, -0.0865921155, 0.1078714579, -0.6310997605, 0.3900318146, -0.4064193964, -0.1801894307, -0.6450951099, -0.3516434729, 0.2231869847, 0.3134545684, -0.5816422105, 0.9832193851, -0.104315117, -0.9177809358, 0.2809564769, -0.5025717616, -0.509224534, -0.2450824529, -0.2210034132, -0.0887946784, 0.2012583315, 0.0578566901, 0.132021755, -0.5623084307, 0.1969697177, -1.0671713352, -0.3566367626, 0.0909325555, -0.1953875273, 0.9287503362, -0.0300854202, -0.6514716148, 0.0353463106, -0.4876990616, -0.4178772271, 0.1450663954, -0.2479714304, -0.5341447592, 0.1104107425, -0.1473614126, 0.1959707588, -0.0799278766, -0.7757251859, 0.2552746534, -0.2911690772, 0.2321543694, 0.9846801758, -0.0634818971, 0.5077742338, -0.3517647982, 0.4170188308, 0.1448789984, 0.2742406428, 0.3223320842, -0.1665156484, -0.9183054566, 0.2107174993, 0.1886891425, 0.3880499303, -0.8216910958, 0.0345500298, 0.1089409217, -0.5997290015, -0.4709028304, 0.4805491567, 0.4896851778, 0.3787364662, 0.1369080544, -0.449633956, -0.555788815, -0.8205159307, -0.5045186281, -0.1475602835, 0.0165522974, 0.2803651094, 0.2675504088, -0.2236754745, 0.7418630719, -0.3200007677, -0.0962918103, -0.1240679622, -0.2395446301, -0.1046456471, 0.2197208405, 0.2705284357, -0.4786855578, -0.5612162352, -0.4969719946, -0.8170691133, -0.5313633084, 0.2779395282, -0.1680606604, 0.1954310387, 0.7562820911, -0.5357791185, 0.5479403734, 0.4666911066, -0.5408484936, 0.6352157593, 0.3255053759, 0.1152889282, -0.8653914928, -0.368783921, 0.4763430357, 0.1844561994, -0.4375751019, -0.3046248555, -0.1090808213, 0.1693698913, -0.4558849633, 0.537712276, -0.7019506097, 0.0170596465, -0.1157629043, 0.2441424578, -0.1325291544, 0.2073601037, -0.1404366046, 0.4130176306, 0.4556096494, -0.3687966764, 0.234882772, 0.4235959351, -0.5940958261, 0.6805281639, -0.8277735114, 0.4225168228, -0.1841397732, 0.2387669086, -0.9868904948, -0.0359352008, 0.291244626, -0.2214037031, -0.0366053879, -0.163179636, -0.4299238622, -0.2171490043, -0.6514569521, 0.4658844471, 0.27349177, -0.69449687, 0.3250958025, 0.6364338994, -0.1746582389, -0.5221354961, -0.5683236718, 0.1349458843, -0.4283098876, -0.669511199, 0.159089461, -0.1538821906, -0.8169365525, -0.3439795673, -0.147508204, 0.3032167554, 0.1006772071, 0.4476734996, 0.3033831716, 0.2828141749, -0.0858794749, 0.0652898848, 0.1008927077, 0.3878333271, 0.3090491593, 0.7737159133, 0.179040134, -0.7502046824, -0.0679672584, 0.1699045151, 0.6940963864, -0.0683702305, 0.5438422561, 0.1270804703, -0.210854724, -0.1225585341, -0.9706411958, -0.4749703407, -0.472427696, 0.1073134318, -0.2148090154, -0.9392248392, 0.3645337224, -0.2292116731, -0.1185846776, -0.2496795058, 0.4590830505, -0.0901994035, 0.8466236591, 0.7678104639, -0.5121602416, 0.65262568, 0.0405599996, 0.2855013609, -0.9619568586, -0.2047929168, -0.3794552386, -0.349016428, -0.4600288868, -0.6342796087, 0.2397734523, 0.2073241621, -0.1841686964, -0.0815254524, -0.2052980214, 0.7014998198, 0.6197067499, 0.4089484215, 0.2969681323, -0.07185027, -0.2380407453, -0.0438470654, -0.5273599029, -0.5426480174, 1.1913107634, 0.5265337229, 1.0022740364, -0.0232202951, 0.7963298559, 0.438278079, 0.5093010068, -0.5365396738, 0.6156545877, 0.4151406884, -0.4615544081, -0.2209351659, -0.3455982208, -0.6136340499, 0.1526746899, -0.2155658007, -0.8643732667, 0.3341851532, 0.0386013575, -0.0164802838, 0.4156742096, -0.5300896764, 0.3508191109, -0.1930714101, -0.8287616968, -0.3269077241, -0.6606016159, 0.6233166456, 0.1145133749, 0.3496648073, -0.3200811446, 0.4713837206, 0.7267186642, -0.3476511538, 1.526337862, -0.3462428451, -0.3543685377, 0.2847336233, 0.0038857944, 0.5396856666, -0.0074608615, -0.2409933656, 0.4102457464, -0.1002116501, -0.4183462262, -0.2832990587, 0.6294501424, -0.6808045506, -0.6049793363, -0.2514812052, -0.6508495212, -0.3703412414, -0.0694423765, 0.007377571, 0.1259133667, -0.4204235375, 0.1077436879, 0.7163273096, -0.1582017392, 0.1910381764, 0.5398902893, -0.1624834687, -0.2967006564, 0.4741906226, 0.2133996338, 0.4679802358, -0.2695461512, 0.0697219521, -0.3128229082, -0.2213583142, -0.1815479249, 0.3797293901, -0.3735007644, -0.0131962877, -0.3989340365, -0.0170952231, -0.6663283706, -0.0442219339, -0.1151338965, -0.0705266967, 0.1859949231, -0.461987108, 0.2164431214, 0.8173757195, -0.38714692, 0.2949987054, -0.526186347, 0.2826007009, 0.2106107026, 0.4219846129, -0.0555122606, -0.3287684619, -0.3176369071, 0.0500014424, -0.369638294, -1.1735773087, 0.0684462041, -0.34428671, 0.4230982959, 0.5362821221, 0.2802841365, 0.2940262556, -0.5601723194, 0.4477310181, 0.2184577137, -1.0320640802, 0.4422182739, -0.5372937918, -0.0004640123, 0.6155853868, 0.3796885312, -0.6972091198, -0.4237647057, -0.7694804668, -0.7790945172, 0.4409417212, -0.3032040894, 0.0614073761, -0.3048811257, 0.3506242931, -0.4118362367, 0.1751984954, -0.6159663796, -0.3175991476, 0.3470482528, -0.084663339, -0.0790168494, -0.8357050419, -0.480201304, -0.2230224758, 0.5655768514, 0.0061821551, -0.3138349056, 0.19238998, -0.2161584049, -0.2919146121, 0.1055333018, 0.3832907975, 0.4875287414, -0.0102897324, 0.2651149333, 0.5039656162, -0.3732828498, 0.2987993956, -0.1330941916, -0.3634934723, -0.0363478698, 0.0681909546, 0.5863456726, 0.1063785255, -0.5084219575, 0.3268848658, 0.1483090818, -0.1926479936, -0.1263693273, -0.0318865851, 0.3658108711, 0.4254061282, 0.0868632719, -0.4301981926, -0.1164055467, -0.5532090664, 0.279394865, 0.6293746829, -0.6138094068, -0.3160665929, 0.5178964734, 0.6366031766, -0.5667080283, 0.2753131986, -0.0765612647, -0.5673955083, 0.4787403941, 0.5421288013, 0.6169567108, -0.4431520402, 0.2107714713, 0.2019270509, 0.5996341109, -0.0611688904, 0.1039487571, -0.1141879484, -1.1443605423, -0.4863686562, -0.4128185809, -0.7898407578, 0.115477711, -0.8249557018, 0.3992705047, -0.5146995783, -0.0366877578, -0.3096655011, 0.1163370162, -0.4136581123, -0.1340652108, 0.3088440001, 1.0643627644, -1.2122817039, 0.7668703794, 0.485206008, -0.4486377239, -0.4673617184, 0.1026509553, 0.4118184745, -0.7687783241, 0.7805099487, 0.3388266861, -0.1971819103, -0.1931172311, -0.7107216716, -0.6312441826, 0.6972548962, 0.5688102841, -0.7202920914, 0.0468616039, 0.4335340559, -0.0031242415, -0.1181446686, 0.3799926043, 1.0952150822, 0.4725230336, -0.2686356604, -0.9168239236, 0.2366696745, -0.353972584, -0.108894527, 0.0980583429, -1.0835077763, 0.4084249735, -0.49067536, -0.0089896945, -0.2439711392, 0.3853853047, 0.5077260733, 0.3992854357, 0.8714585304, 0.7087585926, 0.7246466279, 0.0322389416, 0.528177321, -0.4707551003, 0.1774015874, 1.1720452309, -0.7552530766, 0.3619133532, 0.80954355, -0.1405822933, 0.5245384574, 0.5859834552, 0.1281724274, 0.2926001847, 0.8514708877, -0.5570911169, -0.0257794559, -0.473475337, -0.364359051, 0.3506905437, 0.2579029799, -0.2368216962, -0.2695472538, -0.0545978621, 0.3643633723, 0.1843891442, -0.109720476, 0.5175452828, 0.283542335, -0.3802165091, 0.3083219826, -0.3327131569, 0.884354949, -0.3929821253, -0.0661492646, -0.4775542617, 0.1416769773, -0.3180236816, -0.4673494995, 0.2273419052, 0.0554140806, -0.3545986712, -0.2008189857, 0.8603785038, -0.537147522, -0.2775193751, 0.7312954664, 0.6224424839, 0.1319368333, -0.1747231632, -0.5006585717, 0.4840631783, 0.2026320696, -0.3331117928, 0.5771052837, 0.3587415516, -0.0196858253, 0.666816771, 0.7162674069, 0.1841832101, -0.1563098878, 0.4072164893, 0.9272807837, -0.7722508311, 0.045129247, -0.9572798014, 0.3497843742, -0.3649537563, -0.18449682, 0.9817064404, 0.4305064082, 0.7800933719, 0.2291889191, 0.9012006521, 0.2080885768, 0.4914365113, -0.199953571, 0.6619965434, -0.0415947847, 0.3576369584, -0.4869415164, -0.9406654835, 0.0430454947, 0.5895514488, -0.700421989, -0.1781398505, 0.466673553, 1.0308121443, 0.1631525457, -0.0058518457, 0.292039752, 0.288983345, 0.3065806627, 0.3654348254, 1.0763435364, -0.189387098, 0.3061498702, -0.3060309589, -0.5364797115, 0.0090386141, -0.6961906552, -1.1878550053, -0.1645636111, -0.2858156562, -0.8369435668, 0.1882162988, 0.9163542986, 0.4374044538, -0.3534255922, -0.5591769814, 0.1240511984, 0.3531036079, 0.330232352, -0.2661037147, 0.0906590223, -0.5348426104, -0.7392588258, 0.4572326243, 0.1568750739, -0.1763455123, -0.4787961245, -0.0251079928, -0.2014861703, 0.0935178921, 0.7646218538, 0.2049553245, -0.3402185142, -0.4372437894, -0.0522070676, 0.0040078531, -0.0283059701, 0.4979567826, -0.5244580507, 0.0692094862, 0.2574644387, 0.5236088634, 0.5209600329, 0.0061100442, 0.6940671206, -0.4904069602, 0.2427659035, -0.0830137283, 0.4293576479, 0.4570725262, -0.3179644048, 0.8586645126, 0.44580248, -0.4840215147, -1.1145138741, 0.4725569189, -0.6890662313, 0.0608349256, 1.5831184387, 0.1248121336, -0.2455506325, -0.2650070786, -0.2591031492, 0.2504123151, -0.2601337135, 1.2438822985, 0.7321608663, 0.01830074, -0.0006761375, -0.4847822487, 0.3696196675, 0.7516469359, -0.7480576634, 0.1935537159, 0.5276782513, 0.5303092599, 0.1570691019, 0.822185874, -0.0852433965, -0.0559043884, -0.1505901814, 0.4440181553, 0.2405438274, -0.1797158718, -0.1335368156, -0.1391266733, 0.1124649867, -0.1743835509 ]
http://arxiv.org/abs/2407.02028v1
http://arxiv.org/pdf/2407.02028v1
Why does in-context learning fail sometimes? Evaluating in-context learning on open and closed questions
2024-07-02T07:52:30
2024-07-02T07:52:30
Xiang Li, Haoran Tang, Siyu Chen, Ziwei Wang, Ryan Chen, Marcin Abram
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
We measure the performance of in-context learning as a function of task novelty and difficulty for open and closed questions. For that purpose, we created a novel benchmark consisting of hard scientific questions, each paired with a context of various relevancy. We show that counter-intuitively, a context that is more aligned with the topic does not always help more than a less relevant context. This effect is especially visible for open questions and questions of high difficulty or novelty. This result reveals a fundamental difference between the treatment of close-form and open-form questions by large-language models and shows a need for a more robust evaluation of in-context learning on the variety of different types of questions. It also poses a new question of how to optimally select a context for large language models, especially in the context of Retrieval Augmented Generation (RAG) systems. Our results suggest that the answer to this question can be highly application-dependent and might be contingent on factors including the format of the question, the perceived difficulty level of the questions, and the novelty or popularity of the information we seek.
[ -0.4609948099, -1.0000936985, 0.6813960075, 0.0272441413, -0.1444939524, -0.1564316452, -0.5586750507, -0.3165846169, -0.4415407181, -0.0401292294, -0.3469853699, -0.1271962374, -0.3431183696, 0.3051954508, -0.2400034964, 1.1489126682, -0.2353367656, 0.0640250817, -0.9417273402, -0.5714076757, -0.5716536045, -0.575442791, -0.6695398092, -0.3503694236, 0.4150467217, 0.6259920001, 0.1754445285, 0.0743565857, 0.6850073934, 0.1943621337, -0.2944653332, 0.1310729533, -0.6433955431, 0.4217658341, -0.3684290051, -0.58331424, 0.3078106344, -0.0159085076, 0.751450479, 1.4116319418, 0.1178143844, 0.3059590161, 0.2982390523, 0.6538947225, -0.8905664086, -0.1189555377, -0.6822730303, -0.0409880392, -0.2535556555, -0.2656247616, -0.2475230992, -0.3380322158, 0.4261748791, -0.3551849127, 0.3539180756, -0.1589601785, 0.6127535105, 0.2303041816, -0.6267103553, -0.5774364471, -0.7905544639, 0.8746501207, -0.168309629, 0.3831035793, 0.1929553002, 0.4294447303, -0.3366209269, -0.5114820004, -0.3967466354, -0.3955464661, 0.1247082204, 0.1008941606, 0.1481851637, -0.5048524141, 0.542478323, 0.2735334039, -0.4339728057, -0.199655056, -0.5080522299, 0.1987506449, 0.1616835445, 0.1890480816, 0.0359021947, -0.0365446806, -0.5738230348, -0.2646313608, -0.8568745852, 0.5992099643, 0.2508276999, 0.304933995, 0.0778278038, 0.4267585576, -0.1959489882, 0.8727166057, 0.0419074409, -0.0486386344, 0.152551055, -0.0848940313, 0.013510637, -0.2041415125, 0.3853924274, 0.197290957, -0.0765117779, -0.1343417317, -0.3244798481, -0.2705623806, 0.2529396415, -0.6581519842, 0.2102951109, 0.167010814, -0.2352933139, 0.0079879239, 0.3733094931, -0.555039227, -0.0342791863, -0.1470787376, 0.6164489388, -0.2985012233, 0.0008842292, -0.0972432196, -0.2740645707, 0.239901185, 0.4281128049, -0.7893416882, 0.4416208565, 0.5434733033, 0.632017076, -0.5061989427, -0.2564121485, -0.6009581685, -0.1149502322, -0.3149324656, 0.8111461997, -0.5820797682, -0.3614434302, -0.1697446257, 0.1079084352, -0.2644864619, -0.9171004295, 0.2438301146, -0.5855306387, 0.4717490971, -0.6984606385, -0.4218209386, -0.0853584856, 0.3894236386, -0.3690338731, 0.9293735623, 0.3300571144, -0.7628650069, 0.7211721539, -0.5938507318, -0.2872161269, 0.008303727, -0.317109257, -0.1731024534, 0.362273097, -0.4112904966, 0.2433246523, -0.4407198131, 0.2141164839, -0.2069647163, -0.6363363862, 0.6231395602, -0.2907349467, 0.6551815867, 0.2185685784, -0.4848846793, -0.1797832996, -0.5969541669, 0.0437908843, 0.1588947475, -0.5592210293, -0.8178364038, 0.0323430598, 0.002861494, -0.0236718841, 0.2573170066, -0.7348249555, 0.0390198268, -0.3090907633, 0.2718799114, 0.496720612, 0.0324815921, 0.4052379727, -0.2974113822, 0.315348506, 0.044197645, -0.0689328089, -0.098648943, -0.5261799693, -0.2134271562, 0.3826253414, 0.1707128286, 0.315744549, -0.4799969196, -0.2456096858, 0.1276411116, -0.5734657049, -0.1614031047, 0.1993516535, 0.6580585241, 1.1131983995, 0.4133167267, -0.5601810813, -0.292879045, -0.6455417871, -0.3148254752, -0.0289104749, 0.0840746909, 0.8747173548, 0.7795463204, 0.0424382761, 1.0628199577, -0.4818330109, 0.1269579977, 0.0149961747, 0.0214927904, 0.1901863962, 0.4877230823, 0.5179889202, -1.1659470797, -0.5298633575, 0.1196109876, -1.0550458431, 0.0085973628, 0.1588284522, 0.2617566288, 0.1900826097, 0.6400259733, -0.4680312574, 0.1665804535, 0.1998421848, -0.1071193591, 0.5247180462, -0.249534443, 0.1168277487, -0.8447318673, 0.4486479163, -0.0186946914, 0.2236212641, -0.576495111, 0.2437123954, 0.1928689033, -0.0929697379, -0.7152348161, 0.7195621729, -0.2544223964, -0.0874505118, -0.1238567382, 0.1680846065, -0.0813841298, 0.2330428958, -0.3072743714, 0.7603051662, 0.4150741994, -0.8484643698, 0.1152176484, 0.1879712343, -0.5318347812, 0.5947439671, -0.84717381, 0.2210762203, -0.423243165, 0.2750009894, -0.9250218272, -0.5919039845, -0.033651147, -0.2053895444, 0.4296005964, 0.0983852595, -0.1179778874, -0.2040737867, -0.0786651969, 0.961186111, 0.3458265364, -0.8089217544, 0.0083397729, 0.0874349922, 0.1827463955, -0.7818896174, -0.4484495521, -0.373072803, -0.4053686261, -0.4600420296, 0.2619795203, -0.2457884848, -0.5870198011, 0.1686985195, -0.41002056, -0.0265306775, 0.4037194848, 0.1638753712, -0.0030311241, -0.3452711403, 0.3039183021, -0.1317825466, 0.1990031004, 0.074218519, -0.1756523997, 0.3176015615, -0.3315862119, -0.5600850582, 0.3057744801, 0.5869210958, 0.4147930741, -0.0781314448, 0.8357922435, 0.1427874863, -0.3984309733, -0.3704138696, -0.3427094221, -0.2940803766, -0.4022764862, 0.3366692364, -0.4701866508, -1.0786480904, 0.5421515703, -0.0331679694, -0.1349089444, 0.4457318783, 0.4666781723, -0.3315546811, 0.7751241326, 0.4911750257, 0.51836586, 0.3546065986, -0.307734251, -0.0102928663, -0.8688986897, -0.4917973578, -0.704934895, -0.2217233479, -0.6195303798, 0.0206283461, 0.7654538155, 0.2910581529, -0.3749622107, 0.1377577782, -0.4511520565, 0.4763377607, 0.5826840997, 0.1109486818, 0.1531749815, -0.0858054683, -0.2558880448, 0.0915845111, -0.7488654852, -0.4677526355, 1.2069919109, 0.0761957392, 0.6909255385, 0.1895680428, 0.6162913442, -0.3019513786, 0.4573597908, -0.6273807883, 0.283750087, 0.0076692747, -0.7593594193, -0.4927616417, -0.5149751306, -1.2459478378, 0.4057742655, 0.0165191367, -0.5819174051, 0.2725412846, -0.0171197038, -0.2517580092, 0.2125363201, -0.8422020674, 0.9582934976, -0.0877480283, -0.5375789404, 0.3215199709, -0.7793582082, 0.3793787956, -0.3765542805, 0.1815784127, 0.2658103108, -0.0460968688, 0.7837343216, -0.2645922005, 0.5773745775, -0.1760194451, 0.2240964174, 0.4816706181, -0.1515973955, 0.0119016878, 0.1535748094, -0.0010241523, -0.1969730854, -0.0092285499, -0.3902937472, -0.9491065741, 0.6167454123, -0.548625946, -0.7655779123, -0.5118735433, -0.4462682307, -0.3548910916, 0.0934446529, 0.529327333, 0.7043879628, -0.2761715353, 0.7459157109, 0.9606007338, -0.2742411196, 0.4549005926, 0.3894591331, 0.1908525527, -0.0576160625, 0.8051983118, 0.211983487, 0.5714471936, 0.2841866612, 0.3996987939, -0.1141462028, -0.3727323413, -0.427836597, 0.1603472382, -0.862623632, -0.0967369303, -0.4930785596, 0.0110055441, -0.0559779145, -0.04048777, -0.0660656169, -0.1174866557, -0.318079412, 0.3231604099, 0.0654394925, 0.8500955105, 0.0923571736, -0.2058361918, -0.5154998302, 0.0784575343, 0.5663152933, 0.4658333659, 0.13252756, -0.5933535099, -0.3321269155, -0.0634748042, -0.6300852895, -0.8218584061, -0.1841455996, 0.2745779455, 0.6652610898, 0.1969909072, 0.063619554, 0.2929443121, -0.5047255754, 0.8096970916, -0.0622066259, -0.5445916057, 0.487731576, -0.2944189906, 0.4802337289, 0.8374968171, 0.7672946453, -0.4199543595, -0.1941049546, -0.6007309556, -0.8468288183, 0.5926954746, -0.0470228381, 0.2059314996, -0.358071357, 0.5788404346, 0.4876797795, 0.2622053027, -0.5504368544, -0.2464083284, -0.0691646561, 0.1139842942, -0.204666391, -0.0952493474, -0.2903025746, -0.2449109703, 0.2657744288, -0.3376727402, 0.1289400458, 0.4368842244, -0.0434190258, -0.4143980443, 0.4005227685, 0.8670811057, 0.8191261292, -0.5371398926, -0.0549624264, 0.3322769701, -0.3982641399, 0.0563233942, -0.170358777, -0.244878605, -0.2292243391, 0.3949589431, 0.6739228368, 0.5930337906, -0.8142516613, 0.5886824131, 0.0108186379, -0.3050719798, -0.1662641019, 0.1325717121, -0.1147165895, 0.0423072316, 0.7830470204, 0.1266887039, -0.0342968106, -1.1320759058, 0.0569626838, 0.731120944, -0.3195133507, -0.0210681576, 0.7080681324, -0.2387475222, -0.4074881077, 0.4072976112, -0.128524065, -0.5458399057, 0.7087160349, 0.7810285091, 0.7154718041, 0.0160602294, -0.0209483504, 0.2940694094, 0.0431221016, -0.1584273279, 0.4657709301, -0.3436463177, -0.4086486101, -0.2005498856, -0.6080319881, -0.8949311376, 0.1593827754, -0.6679803133, -0.00744256, -0.233748734, -0.0577643961, -0.3249019086, -0.1352044195, -0.7769165039, 0.5559787154, -0.4244582951, 0.9175947309, -0.800026834, 0.3644975722, 1.0985037088, -0.5782232881, -0.5176374316, 0.0848755836, -0.4424027503, -0.2010573447, 0.905400753, 0.2797684371, 0.0508238263, -0.4254566431, -0.8343743682, -1.0695890188, 0.8562718034, 0.1682928503, -0.0314294472, 0.0527463891, -0.089742288, 0.7049638033, -0.589600265, 0.2439024448, 0.2360952795, 0.227146551, 0.1945192367, -1.0930720568, 0.0403582193, -0.1619912684, -0.2888590693, 0.2069717199, -0.7335218191, 1.1743781567, -0.2670691311, -0.1362376064, -0.1800588369, 0.4523013532, 0.2948235869, 0.9906150103, 0.4995260835, 0.4101292491, 0.6402595043, -0.2088520825, 1.1167199612, 0.2630139887, 0.3593957126, 0.9286291599, -0.2265453488, 0.9065127373, 0.5825632215, -0.0403745584, 0.6266898513, 0.7682514191, 0.132402882, 0.680272162, 0.294627279, -0.1525443941, 0.094296515, 0.0461528227, -0.5772691965, 0.4989827871, 0.3011242151, 0.0287182406, -0.5044421554, 0.4272130728, -0.402908355, 0.3906922936, -0.0801938698, 0.6448336244, 0.1566521525, -0.9674611092, 0.6923652887, -0.2428653389, 0.4083118737, -0.419370383, -0.0788486153, -0.2500469983, 0.0196938068, -0.2448060811, -0.6724464297, 0.2575344443, -0.0937602222, -0.3025173843, 0.0348617546, 0.4175135195, -0.2696346939, 0.0288006011, 0.0963657871, 0.6509668231, 0.3773158491, 0.0801932961, -0.3566836715, 0.0744149983, -0.392537117, -0.4027769864, 0.6876718998, 0.5560516715, -0.1486370862, 0.6760454178, 0.5339387059, -0.2071869969, -0.0374154672, -0.2495967299, 0.7858191729, -0.4690608084, -0.2536140084, -0.5700749159, 0.3503194451, -0.0285633095, -0.6475451589, 0.8787276745, 0.4961861372, 1.3656973839, 0.0094457287, 0.6042197347, -0.0649252981, 0.5042443871, -0.3145394921, 0.5063821673, -1.0639203787, 0.1876817346, -0.3477903008, -1.2568840981, -0.0604161695, 0.2689813673, -0.4189661443, 0.2298860699, 1.0626331568, 0.4012333155, -0.1149170101, 0.0553198531, 0.264082104, -0.2015881836, 0.1950216293, 0.6619991064, 0.8706137538, -0.3460622132, 0.3969811797, -0.3111197054, -0.4519104362, -0.2466718704, -0.7690998316, -0.8699421883, -0.9841402173, -0.0567949787, -0.4566714466, -0.0030786684, 0.8346556425, 0.3081674576, -0.798730731, -0.318485558, 0.0050885826, 0.3057625294, -0.1350600421, -0.258810401, 0.4487279356, -0.5871273279, -0.63441962, 0.6722092032, 0.029727025, -0.0120945303, -0.1431100368, 0.2220170796, -0.0955622643, -0.1106770635, 0.4278120697, 0.7424387336, -0.5236576796, -0.3201939166, 0.1570991725, -0.2315144241, -0.07856673, 0.8234098554, -0.7987659574, 0.5743821263, 0.3566937149, 0.8067356348, 0.4995290637, 0.1157085225, 0.398165375, -0.677077949, -0.1045965031, 0.2837648392, 0.1340165138, 0.4221444726, -0.3129552901, 0.3864048421, 0.4852641225, -0.7368205786, -1.1860090494, 0.1635391414, -0.7686662674, -0.383466512, 1.0934249163, 0.0621885285, -0.3199345171, -0.1642270535, 0.1299198717, -0.1077803448, -0.0345253609, 0.7890378237, 0.8124671578, -0.348362267, 0.3373816907, -0.8223494887, 0.555121839, 0.614392519, -0.2777046561, -0.3749809563, 0.1452864856, 0.3664511442, 0.2544699907, 0.3894587159, 0.0741553083, 0.5907799602, -0.2258619815, -0.5395711064, 0.0835118368, -0.4576923251, -0.380450666, 0.8034049869, 0.0758092105, -0.0689372718 ]
http://arxiv.org/abs/2407.02005v1
http://arxiv.org/pdf/2407.02005v1
An End-to-End Speech Summarization Using Large Language Model
2024-07-02T07:22:57
2024-07-02T07:22:57
Hengchao Shang, Zongyao Li, Jiaxin Guo, Shaojun Li, Zhiqiang Rao, Yuanchang Luo, Daimeng Wei, Hao Yang
cs.CL
cs.CL, cs.SD, eess.AS
Abstractive Speech Summarization (SSum) aims to generate human-like text summaries from spoken content. It encounters difficulties in handling long speech input and capturing the intricate cross-modal mapping between long speech inputs and short text summaries. Research on large language models (LLMs) and multimodal information fusion has provided new insights for addressing these challenges. In this paper, we propose an end-to-end SSum model that utilizes Q-Former as a connector for the audio-text modality and employs LLMs to generate text summaries directly from speech features. We adopt a multi-stage training approach that includes LLM based ASR and Text Summarization (TSum) tasks as auxiliary tasks. ASR tasks are used to align feature spaces and enhance the LLM's ability to handle longer speech. Then, we utilize a curriculum learning strategy to facilitate the model's transition from TSum to SSum. Finally, our model achieves competitive performance on the How-2 dataset.
[ -0.2809814513, -0.6579253674, 0.4706164002, -0.3294049501, -0.6139538884, 0.3286122382, -0.4162771106, -0.364453882, 0.2194991559, 0.3748123944, -0.540353179, -0.4850418866, -0.6337461472, -0.0245859604, -0.4921852052, 1.1379891634, 0.1051316112, 0.1037314013, -0.3119415641, -0.0017765813, -0.4437082112, -0.6423972845, -0.5413836241, -0.2084507495, 0.3435500562, 0.613068521, 0.3726558685, 0.3413593471, 0.2060941905, 0.2266328782, -0.3231411576, 0.1466958821, -0.6266919374, 0.2720494568, -0.0703935251, -0.4401235282, -0.6108026505, -0.1248115152, 1.0373260975, 0.5817793012, -0.0745586082, 0.371034205, 0.0214838013, 0.4185765088, -0.3321865201, 0.0976724327, -0.463501513, -0.2651044428, -0.218569845, -0.3817293942, -0.2917345166, -0.138700828, 0.0557945855, -0.2380088717, -0.0740185976, -0.0430843532, 0.6408270597, 0.1653608084, -0.7494826913, -0.2342481017, -0.9100937247, 0.7395269871, -0.9306058288, 0.4979277849, 0.3081207871, 0.5726821423, 0.0149079058, -0.4801709056, -0.6302787066, -0.1742958874, 0.3232379258, 0.2821394205, 0.1254281551, -0.0021574476, -0.0467700399, 0.2289723158, -0.6509935856, 0.2417577654, -0.5949282646, 0.1471038312, 0.6047710776, 0.2966533005, 0.3482439816, -0.0938121974, -0.298034668, 0.0086838426, -0.5535840988, -0.0689192265, 0.2025722265, 0.4794953763, -0.5308097005, 0.7864969373, -0.2332982421, 0.4583443105, -0.2370899618, -0.504981041, 0.2554186583, -0.4996244907, -0.1405177563, 0.3103269935, 0.5637563467, 0.4605288208, 0.1826487929, -0.1687576026, -0.2260395288, 0.044408638, -0.2197574526, -0.7507926226, 0.3319653869, 0.2839128971, -0.3675753474, 0.0505975075, -0.2671512961, -0.5714930296, -0.003396028, -0.689099133, 0.5061491728, -0.5137791634, -0.3199038208, 0.0023098423, -0.1139388457, 0.3160184622, 0.2185281813, -0.7023311257, 0.3190354109, 0.5560093522, 1.0555611849, -0.180077374, -0.221597001, -0.6441873312, 0.697860539, -0.118061386, 0.6307613254, -0.5718895793, -0.4932308197, -0.0574405082, -0.2243800163, -0.0760521069, -0.2939769328, 0.3383580148, -0.3532112539, 0.5440837145, 0.0808258131, -0.7001322508, -0.1886126101, 0.1425568908, -0.3578885496, 0.7650527358, -0.012430381, -0.6334071755, 0.0210541468, -0.5044066906, -0.6120789647, -0.0663043186, -0.3073584735, -0.4637568891, 0.1044032425, 0.1223491356, 0.5767843723, -0.4827528, 0.5547472239, 0.0497520119, -0.3478070498, 0.1853899658, -0.2003018409, 0.430302918, 0.0722217411, -0.065278396, 0.3436191976, -0.8327621222, -0.2965602577, 0.1442697644, -0.2930217087, -0.217133984, 0.0261618588, 0.248910442, 0.4644363821, 0.358823806, -0.3884085715, -0.1412116885, -0.2762759626, 0.5787943602, 0.4736947119, -0.1027929932, 0.4454282224, -0.5670679808, 0.4291411936, 0.0334195904, -0.1767686456, -0.5297656059, -0.2417615354, -0.5803034902, -0.3991690576, 0.3200512826, 0.5620893836, -0.6987084746, 0.4790358245, -0.5522089601, -0.4891619384, -0.2156442702, -0.0927520767, 0.3613446057, 0.4115101397, 0.2421571165, -0.1322566718, -0.5682976246, -0.7463288307, 0.1183462963, -0.1615594476, -0.2824835479, -0.1086208299, 0.4400018752, -0.1609366685, 0.9075654149, -0.3125716448, -0.6736447215, -0.8566147089, 0.285328418, 0.1506593227, 0.2494570762, 0.2019127905, -0.5880819559, -0.0916870534, -0.1103468984, -0.5739306211, -0.0239543747, -0.3153636754, 0.1082025245, 0.1093860641, 0.5601206422, -0.4704976678, 0.0277855024, 0.432793498, -0.1141776368, 0.4570961297, -0.1693182439, 0.2221112698, -1.6123561859, 0.1432033181, 0.0863798112, -0.2950376272, -0.7344292998, 0.0185108222, -0.0904353112, -0.3744753897, -0.4184461534, 0.3016252816, -0.4323498011, -0.3627987504, -0.5323001742, 0.4928458929, -0.2110595405, 0.6326152682, 0.1503218114, 0.7700063586, 0.2567155361, -0.5745254159, 0.21243532, 0.2148649096, -0.1626113355, 0.4020746052, -0.5742217302, -0.1996566206, -0.3439701498, 0.4679996669, -1.1268945932, -0.3209273517, -0.2428946793, -0.701135993, 0.4406882823, 0.1974037588, -0.4690771997, 0.112712115, -0.4627247751, 0.4797103703, 0.5355476737, -0.1078905761, 0.8891224861, 0.5508899689, -0.8125158548, 0.004017849, -0.5832623243, 0.3324532211, -0.280857861, -0.6406058669, 0.5669307113, -0.054576125, -0.0273405369, -0.3488201797, 0.1956667155, 0.0309080109, -0.3056232631, 0.1369391978, 0.3674548566, -0.1424904317, 0.0438219979, 0.4013398886, -0.0467373207, 0.0429746993, 0.2760803699, 0.6368434429, 0.280398339, -0.2315085977, -0.6831970215, 0.754901886, 0.7779942751, -0.3216681182, 0.468293488, 0.4351285398, -0.4377347231, 0.1727017462, -0.491991967, -0.0637592301, -0.2885546684, 0.8060903549, -0.1598255336, -0.9545500278, 0.5273374915, -0.0965729132, 0.4144850373, 0.2822607756, 0.721543014, -0.074794963, 1.0564539433, 0.6630445123, -0.2676436603, 0.6411342621, -0.1884947717, 0.1182406247, -0.9326856136, -0.4583223462, -0.3431794345, -0.1568616331, 0.0173634402, -0.5064426661, 0.5676491261, -0.059936583, -0.1019940004, 0.2321628481, 0.1101098284, 0.2265808135, 0.4693087339, 0.0252774935, 0.3586010635, -0.0027842179, 0.2635935247, 0.0314554721, -0.4836150706, -0.2880377769, 0.8409965634, 0.529127419, 0.6013647318, 0.3703452647, 0.6729906797, 0.2320977747, -0.1755165607, -0.7258902788, 0.6381592751, -0.1623979807, -0.1347039193, -0.5403270125, -0.4463785291, -0.379922539, 0.2546001375, -0.2153561264, -0.3899751902, -0.2907030284, -0.1042575613, -0.2363472283, 0.1092835069, -0.4591926336, 0.2622949779, -0.2481116802, -0.1258263737, -0.3667802513, -0.9632522464, 0.5234894753, -0.0966766551, 0.5302842855, -0.0277338531, -0.0464232787, 0.8658412099, -0.2286958843, 0.8310996294, 0.0666710883, -0.1706495583, 0.118107684, -0.1932508796, 0.3343490362, -0.1269507259, 0.2357916087, 0.0169649906, -0.2536624968, -0.1261010915, -0.3700764477, 0.3953923285, -0.784101069, -0.3369237483, -0.3697403669, -0.6234792471, -0.3517941236, -0.0009061891, 0.221244663, 0.7277625799, -0.1767650098, 0.0346878693, 0.7013878226, -0.1805071235, 0.5637361407, 0.4928402007, -0.2112656534, -0.6161236763, 1.0442357063, 0.1380409598, 0.4442859888, 0.5161100626, 0.0345422216, -0.5528905988, -0.5230153203, -0.6011961699, 0.481347084, -0.4740969539, -0.1822129935, -0.659394145, -0.5215488672, -0.7313750386, -0.1369514018, -0.2001443952, -0.4058553874, -0.3982072175, 0.0122014908, 0.1257781684, 0.3875225484, 0.0930211246, 0.5547495484, -0.8850055933, 0.5657362342, 0.2776242793, 0.0020702819, 0.0429968648, -1.1201364994, -0.4050809145, 0.0462576076, -0.154628545, -0.8535507321, 0.497743547, 0.6019513011, 0.4762753248, 0.4080863595, -0.1006959602, 0.5978121758, -0.5563772321, 0.9299725294, 0.5914334655, -0.9630832672, 0.4561596811, -0.5064633489, 0.7206301093, 0.3034799397, 0.2628929317, -0.827250421, -0.6151654124, -0.0816002563, -1.1139982939, 0.5599526763, 0.145835802, -0.0529735424, 0.0736522749, 0.0208141375, 0.0456623249, 0.1472881883, -0.5101287961, 0.026539389, -0.1328911185, -0.4332419038, -0.2306379229, -0.4708661437, -0.0038679759, -0.0108923893, 0.9001435041, -0.0523485206, 0.038651865, -0.1685326248, -0.3335120678, 0.0611922182, 0.6359622478, 0.9573732615, 0.6053193808, -0.1240393519, 0.0451917686, 0.2457846552, -0.2274770588, 0.0358752199, 0.0615072958, 0.154247731, -0.0137680061, 0.403762728, 0.6622678041, 0.5004755855, -1.0165417194, 0.6121743917, -0.0566944517, -0.2898309827, -0.4910283387, -0.2324897051, 0.3109557033, 0.3710842133, 0.6413885355, -0.5070211887, 0.2628411055, -0.6334574223, 0.1918462813, 0.2171933651, -0.1786910444, -0.2039089501, 0.8214728236, 0.20857656, -0.0817084983, 0.2708206475, 0.158800602, -0.4257889688, 0.4241741598, 0.7142658234, 0.6340837479, -0.435554564, 0.0858586282, 0.1383380145, 0.0648548752, 0.0526315458, 0.3238711059, -0.15003784, -0.1390075088, -0.825247705, -0.5380288363, -0.4239295125, 0.0962027311, -0.6718407869, 0.427631408, -0.1799376011, -0.0483027734, -0.1708454639, -0.3110415637, -0.0541219264, 0.3443711102, 0.3912909031, 0.6145583987, -1.0161645412, 0.7175961733, 0.49867028, -0.539722681, -0.4287112653, -0.2748252749, 0.0667707399, -0.4902963042, 0.3618566096, 0.1362118423, -0.2127527446, -0.1395111382, -0.1983664036, -0.8606718183, 1.206887722, 0.2679029405, -0.8787934184, -0.5143034458, 0.2426759154, 0.356472373, -0.4443890452, 0.317387104, 0.3602108955, -0.1697170585, 0.4463300109, -0.9001428485, -0.1436967403, -0.1908047348, 0.16676265, 0.2818911076, -0.6899850965, 0.8330758214, -0.2649091482, -0.2370127439, 0.007295467, 1.2023953199, 0.3586860001, 0.3942857981, 0.436758101, 0.3522655368, 0.2748849392, 0.2869288921, 0.4236092567, -0.3120978177, 0.1137607992, 1.5404366255, -0.3539620638, 1.1317044497, 0.3875164986, 0.0726279542, 0.2736248672, 0.6431911588, 0.3284307122, 0.559815824, 0.0967571884, -0.3564736545, -0.2597438395, -0.2320474982, -0.5352576375, 0.6533015966, 0.468906492, -0.3666502833, -0.4439503551, 0.2614875436, -0.0034657575, 0.0519469269, -0.4375491142, 1.0020422935, 0.1266704798, -0.2389547974, 0.1930033416, 0.1245888174, 0.7346114516, -0.6929843426, -0.0336116552, -0.0383765996, -0.2808704376, -0.0416985303, -0.4728569984, 0.1907604784, 0.0861954987, -0.341585815, 0.1370588094, 0.4152352214, -1.0016175508, -0.439539969, 0.1696998179, 0.4424788058, 0.33976686, 0.0820184201, -0.1807574928, 0.0370887816, -0.1392798424, -0.0267619118, 0.5921216607, 0.2500432432, -0.1399172395, 0.6377658844, 0.5093938112, 0.1429455131, -0.0133990273, 0.41978091, 0.9071621895, -0.6309677362, -0.9251289368, -0.7463275194, 0.5239180923, -0.0753212646, -0.1290539205, 0.4021937549, 0.8978224397, 0.6482269168, 0.2018260658, 0.967877984, 0.1812496781, 0.8922134638, -0.6684737802, 0.6513211131, -0.6294406652, 0.0646647289, -0.2125569135, -0.910792172, -0.0492007509, 0.2497462034, 0.0775559545, 0.0716159642, 0.4934468865, 0.4253439307, 0.0581737198, 0.0927598774, 0.6135936379, 0.0855860338, 0.3602587581, 0.6901001334, 0.5883589983, -0.2805674672, 0.571911931, 0.1584028155, -0.4533225596, -0.3099802732, -0.639827311, -0.950719595, -0.890670836, -0.1693606377, -0.1480298638, 0.0838829726, 1.0422616005, 0.4621875882, -0.4644675851, -0.4874472022, 0.4585010111, -0.2860983908, 0.0834215134, -0.1712093949, 0.402449429, -0.0979961455, -0.7643455863, 0.5213631392, 0.3680872917, 0.1682943106, -0.2792998254, 0.0126451729, -0.2095971853, 0.1311469823, 0.8672832251, 0.1359981447, -0.6489116549, -0.0667532384, -0.3077819645, -0.0216285866, -0.0898052678, 0.8197085857, -0.6014671326, 0.2431572229, 0.3858242631, 0.6473568678, 0.5246426463, -0.061145518, 0.7122384906, -0.6811382771, -0.0611002743, 0.0508309267, 0.4045191109, 0.2450417727, -0.2480562627, 0.1231814176, -0.1567330658, -0.5230697393, -0.7700327039, 0.1826806366, -1.2708756924, -0.2739685774, 1.2521407604, 0.0935812145, -0.2185424268, -0.1829811484, -0.2734260857, 0.8420171142, -0.5192380548, 0.765004158, 0.3621308804, -0.0655219182, -0.3674044311, -0.3786402643, 0.0997625962, 0.2889904082, -0.9545766115, 0.0809704959, 0.6224378943, 0.2328225374, -0.0403376073, 0.7006253004, -0.1761692911, 0.2642871141, -0.2350994498, 0.0768540651, -0.3649939299, -0.491709739, -0.3745721877, 0.2569077909, -0.1121495292, -0.3541416824 ]
http://arxiv.org/abs/2407.02543v1
http://arxiv.org/pdf/2407.02543v1
Towards the Next Frontier in Speech Representation Learning Using Disentanglement
2024-07-02T07:13:35
2024-07-02T07:13:35
Varun Krishna, Sriram Ganapathy
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
The popular frameworks for self-supervised learning of speech representations have largely focused on frame-level masked prediction of speech regions. While this has shown promising downstream task performance for speech recognition and related tasks, this has largely ignored factors of speech that are encoded at coarser level, like characteristics of the speaker or channel that remain consistent through-out a speech utterance. In this work, we propose a framework for Learning Disentangled Self Supervised (termed as Learn2Diss) representations of speech, which consists of frame-level and an utterance-level encoder modules. The two encoders are initially learned independently, where the frame-level model is largely inspired by existing self supervision techniques, thereby learning pseudo-phonemic representations, while the utterance-level encoder is inspired by constrastive learning of pooled embeddings, thereby learning pseudo-speaker representations. The joint learning of these two modules consists of disentangling the two encoders using a mutual information based criterion. With several downstream evaluation experiments, we show that the proposed Learn2Diss achieves state-of-the-art results on a variety of tasks, with the frame-level encoder representations improving semantic tasks, while the utterance-level representations improve non-semantic tasks.
[ -0.224717319, -0.3799399734, 0.305729568, -0.034835279, -0.2489054203, 0.2990491092, -0.0815284178, -0.2966409326, 0.4517810941, 0.0984450504, -0.5789376497, -0.2570616007, -1.0047068596, -0.088754639, -0.2508821189, 0.5472677946, 0.2384785265, 0.3315431476, -0.4560647607, 0.1152985692, -0.5160204172, -0.4201444387, -0.4290480614, -0.5287169814, 0.4054264426, 0.2836797237, 0.070938684, 0.5320856571, -0.0715525076, 0.3781498671, -0.0620054118, 0.0939042196, -0.6228939295, 0.2891049385, -0.3493464291, -0.5853660107, 0.0075421529, 0.2340082228, 0.5555694699, 0.7004544735, -0.408808887, 0.1710682213, 0.3773941994, 0.7056879401, -0.4941280484, 0.6589372754, -0.5472958088, 0.1989442557, -0.3528466225, 0.00540881, -0.4141653776, 0.2151139379, 0.1490721852, -0.3889945745, -0.0156541411, -0.3423967063, 0.3320450783, 0.5510314107, -0.4342028797, -0.3692418337, -0.7701386809, 0.5757121444, -0.432936579, 0.7243403196, 0.7830876112, 0.4355252385, -0.0499595627, -0.7446711659, -0.3622698784, 0.2535990477, -0.2115889639, 0.1926816851, -0.4393847883, -0.079754509, 0.2029371709, 0.2448154986, -0.6183601022, 0.3655481637, -0.4827980995, -0.3695851564, 0.6141473651, -0.1660886109, -0.0623269975, -0.1017297506, -0.4565201402, -0.2030969858, -0.3852028847, 0.1681222916, 0.1850273162, 0.109782733, -0.319067508, 0.2491386384, -0.207455799, 0.4097820818, 0.5503132343, -0.1974465251, 0.5712683797, 0.1686534286, 0.1129368916, 0.5240933299, 0.5891218781, -0.0799222514, -0.2541893125, -0.3185520768, -0.2312783897, 0.0383606739, 0.0990525782, -0.5106022358, -0.4350595772, 0.0845064148, -0.4767133892, 0.1125999317, 0.0663696453, -0.7116901875, -0.3730843961, -0.6523242593, 0.5619871616, -0.3483111858, -0.8246608973, -0.1257643253, -0.0716325194, 0.0928053856, -0.0415317006, -1.2457146645, 0.3075144589, 0.5318295956, 0.7917839885, -0.105525054, -0.0784688368, -0.7066886425, 0.2135658562, -0.482567966, 0.2848313749, -0.3764820993, -0.2151346803, -0.1787265092, -0.0119674644, -0.0492847972, -0.5055907965, -0.1735083014, -0.5196873546, 0.1094736159, -0.1654199809, -0.7997916937, -0.2620844245, -0.2912129164, -0.7285804152, 0.6510720849, 0.1206080541, -0.6756975651, 0.2890416384, -0.2433398664, -0.3929072917, -0.0002695822, -0.6399291158, -0.6327482462, 0.2269570827, 0.1366263926, 0.5854337215, 0.0519304201, 0.1664316207, -0.1606616229, -0.3167710304, 0.0209897459, -0.4344884455, 0.6702467799, 0.3304080963, -0.6095611453, -0.1734224409, -0.6675099134, -0.2401161194, 0.0822093859, 0.1040148214, -0.3281388283, 0.079852961, -0.5534749627, 0.2600999773, 0.2926267385, -0.7112368941, -0.4542603493, -0.4902327359, 0.8128128052, 0.5487368703, -0.0180420615, 0.6636546254, -0.0172142647, 0.1767433435, 0.4270758629, -0.2759537101, -0.0900727287, -0.3271975815, -0.4907828271, -0.3356245756, 0.4025190175, 0.3382819891, -0.7716463804, 0.5287753344, -0.0797993988, -0.3996839821, -0.6437088847, 0.1904918104, 0.5500486493, 0.3929884136, 0.4934731722, -0.1772731841, -0.4277948141, -0.6907846332, 0.0645151362, -0.2200099081, -0.0185396764, -0.2572667003, 0.1973848641, -0.1524002403, 1.1646332741, -0.2031456083, -0.7542355061, -0.1909430027, 0.3521336913, 0.0203311741, 0.6642355323, 0.2100321203, -1.007319808, -0.2368885577, -0.2272409201, -0.7109175324, 0.2483298928, -0.0110246055, 0.2840557694, 0.0534144677, 0.8603695631, -0.2367444187, 0.2908611298, 0.6576046348, 0.1207340136, -0.0660586506, -0.4317850769, -0.2985850871, -1.0337432623, -0.4698840678, -0.0066768955, -0.4289891422, -0.6157928705, -0.6059865952, 0.1602730602, -0.2080525756, -0.3332013786, 0.0444148034, -0.7374671102, -0.2327534258, -0.2859887481, 0.2518592775, -0.0238680728, 0.6776582003, 0.2357148379, 0.7484943867, 1.0610604286, -0.4148820043, 0.4759866297, 0.1860612035, -0.1707351208, 0.315146327, -0.5058425069, 0.3980698287, -0.4246616066, 0.2894099951, -1.0449557304, -0.2070412338, 0.0036556062, -0.6893835664, 0.7803127766, -0.2413543761, -0.2396055013, -0.1660848409, 0.0822534487, 0.350890398, 0.8498260379, -0.850278914, 0.6059717536, 0.8984047174, 0.0105757825, -0.3510075212, -1.0372495651, -0.1661645472, -0.2296718359, -0.2619055212, 0.4705922902, 0.6105362177, 0.2178857028, 0.1155720875, -0.4065470099, 0.0860711113, -0.1539645195, 0.454665482, -0.2566091418, 0.0744156986, 0.3198696673, 0.4010564983, -0.3206838667, 0.247973308, -0.5045517683, 0.4653136134, 0.1146637946, -0.5516824722, -0.590585351, 0.4935224354, 0.1215130538, -0.5255386233, 0.3471673727, 0.8698428273, -0.5585093498, -0.4131752551, -0.3805046976, -0.382055074, -0.5291013122, 0.6953160763, -0.6050284505, -1.2265404463, 0.2399281859, -0.4451982677, -0.3541049063, 0.3847606182, 0.5627501607, -0.4613654613, 0.9149141312, 0.558427155, -0.1971999556, 0.3553483784, -0.5680294037, 0.2497953176, -0.8595457077, -0.6934610605, -0.1069721952, -0.3135403097, -0.7186399102, -0.6742710471, 0.4010869265, 0.4589883983, 0.0318423659, 0.5748499632, -0.4174791873, 0.2834574878, 0.5990518332, 0.2706436217, -0.1536575854, 0.1846254915, -0.0049787597, -0.0423853062, -0.7601304054, -0.1838942021, 0.8759444356, 0.6247314215, 0.7277877331, 0.2894058824, 1.2280794382, 0.6321668625, -0.7126357555, -0.4599137902, 0.3229374886, -0.3183688521, -0.3079327047, -0.4341993332, -0.6568728685, -0.928250432, 0.2609508038, -0.0433262251, -0.8313497305, 0.5340355039, 0.1097042486, -0.2039280087, 0.1447298676, -0.6877679229, 0.5507574081, -0.0332110785, -0.3142699897, -0.5792151093, -0.8309736252, 0.0236979052, 0.0411633216, 0.1851112396, -0.0879693106, 0.2039200366, 0.9650753736, 0.0898834169, 1.151578784, -0.6325724125, -0.1610850543, 0.4325124025, 0.1710995883, 0.2527882159, 0.3188687563, 0.0667196289, 0.4950072169, 0.1133414581, -0.1830271631, -0.6403686404, 0.6565843225, -0.6906707883, -0.6175966263, -0.3631966114, -0.111200504, -0.5271987319, 0.0320009477, 0.1897137165, 0.9404059052, -0.012412848, -0.0025705427, 0.8735389113, 0.1679423004, 0.5535219312, 0.1769900173, 0.0383212976, -0.4161865115, 1.3054234982, 0.0907474086, 0.3057602346, 0.5024830699, -0.02690004, -0.881529808, -0.4159967601, -0.4303656816, 0.2071623951, -0.7214035988, -0.1916687638, -0.3250154853, -0.4295323789, -0.5555772185, 0.4988549352, -0.5047659874, -0.3100476861, -0.793916285, -0.3003205955, 0.0552905463, 0.8237785697, -0.7692239881, 0.1130344719, -0.5112280846, 0.4058493972, 0.6885432005, 0.2830098271, -0.1011354774, -0.6898958087, -0.3771532774, 0.2758727074, -0.2109589428, -0.8370962143, 0.0698983967, 0.4179498851, 0.7384260893, 0.5408377647, 0.3061308265, 0.5029150248, -0.5745155811, 0.6788594127, 0.578558445, -0.9478445649, 0.6171761751, 0.1484540403, 0.0757466853, 0.3460311592, 0.5108818412, -0.2821279168, -0.2854301631, -0.4107142985, -0.3777123094, 0.9616467953, 0.1835110486, 0.375140816, 0.0128312074, 0.1542690694, 0.2056685537, -0.0530513152, -0.4179033637, -0.2749691308, -0.4971336424, -0.2280979902, -0.1395933181, -0.4921198189, -0.0745124444, -0.1265315861, 0.3559582531, -0.0196874049, 0.5164187551, 0.2788143754, -0.158969447, 0.1532134712, 0.0681675225, 0.1939584762, 0.4208879769, -0.0468731634, 0.5270658135, 0.0072092977, -0.2153382003, 0.3937864006, 0.1860652715, 0.2898951769, 0.0693534464, 0.4634257853, 1.1601793766, -0.0720497295, -0.2641117573, 0.7039301991, 0.1491363496, -0.3199955523, -0.3806961179, -0.0051315385, 0.2420670092, 0.5926861167, 0.3571228087, -0.0085656224, 0.3777530789, -0.4501371682, 0.5987217426, 0.2852333486, -0.7222607732, -0.3949786127, 0.7289298773, 0.3153950274, -0.2221006304, 0.3058115244, -0.6517392993, -0.3468097448, 0.2190476954, 0.585120976, 0.716334641, -0.5972146392, 0.3954682648, 0.3518980443, -0.08204557, 0.0192819126, 0.0486801229, -0.6820197105, -0.4150902331, -0.3065850735, -0.4841478765, -0.0409594961, -0.1009842381, -0.8433686495, 0.0517187119, -0.0906719714, -0.1915577799, -0.2320385575, -0.3227913082, -0.2088751644, 0.078095898, 0.6608750224, 0.3808504343, -0.6955739856, 1.0600485802, 0.2889386714, -0.2752099037, -0.7794978619, 0.0533702634, 0.205612421, -0.5086010098, 0.6509087682, 0.3572915196, -0.4913664758, 0.2252997011, 0.1346761882, -1.1083660126, 1.2552987337, 0.5674033165, -1.130946517, -0.0264796913, 0.3936944008, 0.2411906123, -0.1326142102, 0.1455635875, 0.4982924461, -0.2214416862, 0.1332363635, -0.9545316696, -0.1772084981, -0.0295244418, 0.3179009557, -0.0588160232, -0.44407022, 0.7552212477, 0.0391421989, -0.5305367708, -0.3101401031, 1.114759922, -0.0143345641, 0.37703529, 0.6766796708, 0.4608835578, 0.6281288266, -0.2185673863, 0.3580241203, -0.0163984261, 0.4441668391, 1.2995374203, -0.150734663, 0.7595834732, 0.4547349513, -0.3782251179, 0.4979045391, 0.5272635221, 0.2258154601, 1.2528039217, 0.3811951578, -0.2015702277, -0.2451642454, 0.2172397524, -0.4823119044, 0.9230446815, 0.5245159864, -0.0501235537, -0.3964815438, 0.5719870925, -0.3443497419, 0.3577920198, -0.1986240298, 1.2238355875, 0.2641138434, -0.2481522113, 0.6789233685, -0.0721465945, 0.5834422708, -0.5715876222, -0.3248451948, -0.0728981271, 0.1127892733, -0.2430336475, -0.549829185, 0.4566721916, -0.2857176065, -0.1389339864, -0.3405486047, 0.5109760165, -0.8122163415, -0.179609254, 0.7151002884, 0.1812239885, 0.1425211877, 0.0180320088, -0.5505993366, 0.121149227, -0.045787625, 0.1545513719, 0.5021216869, 0.5144794583, 0.1959481984, 0.3870668709, 0.2290857583, 0.0644640326, 0.2001402229, 0.0623292252, 0.9300318956, -0.2287286967, -0.7040550113, -0.6181539297, 0.3730510473, -0.0849122554, 0.1426792592, 0.4446353912, 0.4457811117, 1.1015056372, 0.1460455209, 0.5515259504, -0.1629571319, 0.7849726081, -0.7745910883, 0.7335130572, -0.4580079615, 0.1585942954, -0.0514774919, -0.6707714796, 0.1135509312, 0.7135545015, -0.2259061933, -0.1113399342, 0.3947147131, 0.8184235096, -0.1901484728, 0.1690323949, 0.4899902344, -0.036495056, 0.3376424611, 0.5292421579, 0.823397696, -0.3058864474, 0.2268538475, -0.5011600852, -0.5477547646, 0.2452503443, -0.3886663318, -0.9060890675, -1.3844838142, -0.3811050951, 0.0729776993, 0.0449025631, 0.795591712, 1.0214290619, -0.6795253754, -0.2544697523, -0.2098757476, -0.1649352461, -0.2342841029, -0.1430237293, 0.4053044915, -0.5889287591, -0.630253315, 0.8188197613, 0.2831392884, -0.1441033185, -0.4961457849, -0.422524333, -0.0611484386, -0.3279147148, 0.3933384717, 0.1162232533, -0.754000783, 0.0284044854, -0.4747751653, 0.0271463636, -0.1116657779, 0.6262851357, -0.8932265043, 0.6440283656, 0.1188882813, 0.7789830565, 0.9401146173, -0.1595845073, 0.2397737801, -0.8754185438, 0.3785918653, 0.2619328201, 0.2275339365, 0.2921159565, -0.20089975, 0.0130796265, 0.1082037389, -0.2128667235, -0.5527334809, 0.3335547447, -0.7973603606, -0.2427913696, 0.9495941997, -0.4632166326, -0.1269403547, -0.0895601511, 0.0771988034, 0.493509233, -0.3501004577, 0.6229597926, 0.3074910343, -0.2257130891, -0.3581734896, -0.0506618917, 0.5716168284, 0.4658332765, -0.3840564787, 0.1353594363, 0.3482721746, 0.2331002355, 0.2102455646, 0.5050969124, -0.2865166366, 0.0937431604, 0.1388463676, -0.2673400342, -0.3920218349, -0.4849423468, -0.5108774304, -0.1234942824, -0.1475675851, -0.8658914566 ]
http://arxiv.org/abs/2407.01994v1
http://arxiv.org/pdf/2407.01994v1
Simple Augmentations of Logical Rules for Neuro-Symbolic Knowledge Graph Completion
2024-07-02T07:07:59
2024-07-02T07:07:59
Ananjan Nandi, Navdeep Kaur, Parag Singla, Mausam
cs.AI
cs.AI, cs.CL, cs.IR
High-quality and high-coverage rule sets are imperative to the success of Neuro-Symbolic Knowledge Graph Completion (NS-KGC) models, because they form the basis of all symbolic inferences. Recent literature builds neural models for generating rule sets, however, preliminary experiments show that they struggle with maintaining high coverage. In this work, we suggest three simple augmentations to existing rule sets: (1) transforming rules to their abductive forms, (2) generating equivalent rules that use inverse forms of constituent relations and (3) random walks that propose new rules. Finally, we prune potentially low quality rules. Experiments over four datasets and five ruleset-baseline settings suggest that these simple augmentations consistently improve results, and obtain up to 7.1 pt MRR and 8.5 pt Hits@1 gains over using rules without augmentations.
[ -0.3877383471, -0.4613704681, 0.6113488078, -0.102566421, -0.3702938259, -0.3739098907, -0.052034609, -0.4751684666, 0.5268464088, 0.8731879592, -0.7533665299, -0.4384091794, -0.7349372506, 0.1687434614, -0.3661088943, 0.9200544357, 0.1516486108, -0.0625860095, -0.2763776481, -0.188090086, -0.6424133182, -0.0982882157, -0.3309143186, -0.8066051006, 0.5381654501, 0.3570017517, 0.9524214268, 0.9959331751, 0.4960548878, 0.273309201, -0.3487363458, 0.7541894913, -0.3426786065, -0.0564352684, 0.1261103153, -0.4706976414, -0.5048899651, -0.0604078062, 0.2874191999, 1.0713592768, -0.0806134716, -0.2021567672, -0.0615035333, 0.6750140786, -0.6424827576, 0.290720284, -0.3178858161, 0.160060063, 0.2745785415, -0.268345654, -0.5152419806, -0.7103660107, -0.0234294143, -0.969540894, -0.1023314074, -0.1092868298, 0.7129434943, 0.1427923292, -0.8041635156, -0.101983346, -0.4765057564, 0.2363382578, -0.9447099566, 0.3404399455, 0.617559731, 0.3776582778, -0.2901267111, -0.6920248866, -0.3960727155, -0.2648380101, -0.7316326499, -0.0036597226, -0.2752505839, 0.4068564773, 0.8890308738, -0.0801406056, 0.0234509502, -0.0130361337, -0.4699335396, -0.2232026309, 0.4825434685, 0.1510847956, 0.26840958, -0.5043045282, 0.0514345169, -0.1352142543, -1.1654533148, -0.0802637637, 0.4792521894, 0.2815937102, 0.2111582458, 0.9796593189, -0.6960979104, 1.0227484703, 0.0591214597, -0.0895067081, 0.4362444878, -0.6490848064, -0.148008734, 0.0520091727, 0.3294967711, 0.2625514567, 0.3435495198, -0.4969620109, -0.2913040221, -0.1388319433, 0.3400759995, -0.7839869857, -0.4994412065, -0.354844749, -0.4563936591, -0.2712725401, 0.0847744346, 0.0113276942, -0.6426457167, -1.0783866644, 0.720723629, -0.9108434319, 0.0378673375, 0.1434105933, -0.5839668512, 0.2449204624, 0.7031227946, -0.5138077736, 0.4224270582, 0.7318129539, 0.4402666986, 0.4023112059, -0.1606108695, -0.5591313839, 0.0327987485, -0.6501449347, 0.5726246238, -0.4367961884, -0.0688921511, -0.288446188, -0.0776548758, 0.1426633596, -0.4328083992, 0.5197591186, -0.6560684443, 0.0577375256, -0.7732759714, -0.373319447, -0.4319638908, 0.2964596152, -0.6032462716, 0.6171425581, 0.0268619973, -0.4814977348, 0.5042544603, -0.5406973958, -0.9976902008, -0.0940281823, 0.0564761721, 0.0859518945, 0.2768284976, 0.289016217, 0.2674566507, -0.0378726907, -0.114943102, -0.2565207183, -0.3250845969, 0.1031690463, -0.0110264216, 0.9627347589, 0.0162805989, -0.2498682588, 0.035844788, -0.8664941788, 0.2307847887, -0.1701196581, -0.092569828, -0.5796362758, 0.1412986517, -0.4938713014, 0.4716434479, -0.1008726656, -0.4468497932, 0.3315927088, -0.5656279922, 0.3245056868, 0.8584894538, 0.1390442252, 0.605253458, -0.5238371491, 0.0214926377, 0.1820807606, 0.0573040023, -0.0922858715, -0.5199595094, -0.8352393508, -0.3848871589, 0.3688232303, 0.1611247659, -0.9564063549, 0.7362143397, -0.470421046, -0.4754153192, -0.3508298397, 0.0732885674, 0.2111805826, 0.6137741804, 0.397580117, -0.2876819074, -0.6322807074, -1.0521867275, -0.1394226402, -0.033374317, 0.0006372091, 0.4103612602, 0.3836418092, -0.2218296081, 0.9152173996, -0.6028963327, -0.2603664398, -0.1200913042, 0.0728672147, 0.3127902448, 0.2627846897, 0.4240992367, -0.5337384939, -0.1265424043, 0.0397086404, -0.7169432044, -0.0887862891, 0.0105426963, -0.2927368283, -0.3081378639, 0.3911434114, -0.8732174039, 0.7002218962, -0.0976693481, -0.3138841689, 0.4927020669, -0.1465948969, 0.2678923309, -0.7540397644, -0.1776897013, -0.1871356219, -0.3998451531, -0.8477722406, 0.0416863672, 0.0269390978, 0.0711319596, -0.1610826403, 0.2875886858, -0.2597483695, 0.1514155865, -0.3696202636, 0.184416309, -0.0845507532, 0.3998797238, -0.2303435951, 0.1326822788, 0.4618212581, -0.8490886092, 0.2428767681, 0.3729884923, -0.098963663, 0.4749419391, -0.6459298134, -0.146815151, -0.4931425452, 0.3149729073, -0.9281591177, -0.396520853, 0.4457445145, -0.2070685029, 0.1194695979, -0.2254127264, -0.7379835844, -0.2375558913, -0.0984373763, 0.2342627347, 1.1023938656, -0.7701882124, 1.0216172934, 0.2038356364, 0.3887992799, -0.3924632072, -0.7069086432, 0.0065365853, 0.1302716136, -0.6370868683, 0.3463219404, 0.1644647866, -0.1329299957, 0.2459990233, -0.2588039041, 0.158464998, 0.034499485, 0.4681744277, -0.1061222106, -0.1030182987, -0.0394648723, 0.228478536, 0.0080972742, 0.2548499405, -0.2907547355, 0.5032917261, 0.2478465885, -0.5990204811, -0.4586809278, 0.0462945402, 0.4018282294, -0.1536290795, 0.3591426313, 0.0965857953, -0.7101595998, -0.279073894, -0.46219033, -0.813613236, -0.4540053904, 0.192010656, -0.4620906711, -0.349311322, 0.4117689729, -0.0178279486, -0.2157907784, 0.5055532455, 0.0143958749, -0.1299544871, 1.0723028183, 0.2956461608, 0.4031204581, 0.2963866293, -0.2232560515, 0.0953491777, -0.6602451205, -0.3199098706, -0.3310285509, -0.4643926024, -0.6229999065, -0.1118153706, 0.3671299815, 0.1799972951, -0.2954175174, 0.7739278674, -0.4574038684, 0.653834641, 0.7533857226, 0.7427453995, 0.3686543703, 0.2465220988, -0.1573447734, -0.0591320023, -0.9220793247, -0.0544586182, 0.9787988663, -0.0250694957, 0.6278034449, 0.2502256036, 0.7792778611, 0.1694191992, 0.3320105672, -0.7468599081, 0.7779330015, -0.2323539555, -0.3283465207, -0.1136666685, -0.7723161578, -0.5727778673, 0.1420506239, -0.4380643368, -0.4307030439, 0.2486303151, 0.294100374, -0.2834352553, 0.1855824441, -0.5265714526, 0.4700542092, 0.0221876167, 0.093767114, -0.4615795314, -0.6715373993, 0.6319102049, 0.0902227163, -0.3708165884, -0.0567969605, 0.2194522768, 0.6539309621, -0.756446898, 0.8344576359, -0.2215425223, 0.3423376977, 0.3522566259, 0.1509268135, 0.9296830893, -0.2823347449, 0.1670758426, -0.0702781156, -0.1962245107, -0.1968348622, -0.9716892242, 0.4721033275, -0.6818439364, -0.3955153227, -0.1926951855, -0.4870698452, -0.1571005434, 0.4344299436, 0.0108057735, 0.3970353603, 0.2520550191, 0.3629728258, 0.6753817201, 0.2488082945, 0.0973484591, 0.2384703606, 0.0067041493, -0.6469263434, 0.7357005477, 0.4244104624, 0.2284007519, 0.0037387665, 0.1475050002, -0.3209327161, -0.4494692683, -0.1597342491, 0.3422477245, -0.885800004, -0.3824775815, -0.6775818467, -0.5998722315, -0.5754371285, 0.1130685061, 0.0896621123, -0.8427659273, -0.1023409888, -0.1957122833, 0.5944153666, 0.7543967962, -0.3175270259, 0.480563283, -0.4118098319, 0.6207618713, 0.308355242, 0.0829681754, 0.0071135778, -0.5234199762, 0.0287012514, 0.4759968817, -0.2281196266, -1.0054191351, 0.0942196548, 0.1374009997, 0.5922668576, 0.446790874, 0.0173415896, 0.9276581407, -0.5935459137, 0.1689929664, 0.4410164356, -0.4792127609, 0.3373322189, -0.3717648089, 0.1223695204, 0.6202412844, 0.3469039798, -0.5310048461, -0.0117217004, -0.7368969917, -0.6802191138, 0.7695249319, 0.3978107572, 0.1487845927, 0.0698656365, 0.4747353494, -0.1796047688, 0.3290276527, -0.462886095, -0.1469352543, -0.3417876363, -0.1598471999, 0.1601373404, 0.0329620987, -0.4823728502, -0.4230666757, 0.8590216041, -0.1758937389, 0.0995167643, -0.0534017421, -0.0336473025, 0.1071023121, 0.0310782474, 0.4644873738, 0.538279593, -0.1216733381, 0.2530025244, 0.2483511567, -0.2572374344, 0.0650127754, 0.3662284613, -0.5413959026, -0.2576795816, 0.3188062012, 0.7225193977, -0.003795298, -0.2499377578, 0.3538380265, 0.2778306901, -0.3863115013, -0.0655885488, 0.4070864916, -0.0188602805, -0.1044701636, 0.0487667285, 0.638651669, 0.1052963063, -0.3325520754, 0.3882639706, 0.3934507072, -0.4969048202, -0.1558855176, 0.2733977735, -0.0751530752, -0.0127545223, 1.0145719051, -0.4289346635, -0.4808125794, 0.599024117, 0.561191678, 0.4940394163, 0.4655236602, 0.2787794471, 0.4843663275, 0.6595717072, -0.3235259354, 0.1457376927, -0.1861001849, -0.7576317191, -0.6570274234, -0.2716373205, -0.0145109911, -0.2689090967, -0.2911430299, 0.4386909306, -0.4073453844, -0.1273252964, -0.0127060069, -0.2777902484, -0.6017081141, 0.1643897295, -0.236236617, 1.0656549931, -0.9747755527, 0.5087392926, 0.5118119717, -0.5806191564, -0.9072713256, -0.3233166337, 0.0058125397, -0.6898986697, 0.8406581879, 0.1144828796, 0.1038880199, -0.0597369522, -0.428658694, -0.6850859523, 0.9854249358, 0.4038035572, -0.0924566612, -0.3280626833, 0.4020595849, 0.4801071286, -0.1506287009, 0.4320360124, 0.4712752104, 0.830791235, 0.3933027685, -0.3905088902, 0.4024780989, -0.1829874814, -0.3247909248, 0.4079988003, -0.2982993126, 0.5164176226, -0.2365729064, -0.0155231589, -0.0259851459, 0.6164735556, 0.3830954432, 0.2288595289, 0.6205582023, 1.0194420815, 0.600327909, -0.3826356828, 1.0798393488, -0.1479050815, -0.1770814508, 1.1068938971, -0.0228440333, 0.3844827116, 0.2983574271, 0.1873568594, 0.3530366421, 0.4612089992, 0.0420542285, 0.5159742236, 0.2628756464, -0.0129745658, -0.6130545735, -0.2889585197, -0.3400934339, 0.3546985388, 0.1580895483, -0.4106580615, -0.408192873, -0.1485511214, 0.1011119932, -0.1231238246, -0.4668087661, 0.866381824, 0.0226497091, -0.8407345414, 0.4530584514, 0.0597547516, 0.2895705104, -0.7711527348, -0.3243173361, -0.2561452091, -0.0019826216, -0.4305804968, -0.6502923965, 0.1731103361, -0.4523662031, -0.2428245395, -0.0890097097, 1.0159175396, -0.3090458512, -0.3693718016, 0.0134900091, 0.3175903857, -0.1138587743, -0.0384084545, -0.2305070162, -0.6696377397, -0.0651464388, 0.0298794899, 0.1114428788, 0.5243396163, -0.1705021262, 0.5977092385, 0.8073055744, 0.3179068267, 0.2313240618, -0.1239966378, 1.0859621763, -0.4961824119, -0.1859239638, -0.6480757594, 0.4950465262, -0.3910664618, -0.1380842179, 0.9342818856, 0.554689765, 0.5446885228, -0.1102461368, 0.4549872279, -0.2441799492, -0.1395113915, -0.5172919631, 0.8658164144, -0.4996449053, -0.0352634825, -0.0925949514, -0.8203561902, -0.4753769338, 0.4985909462, -0.2742666304, 0.1637140065, 0.5538380742, 0.9911759496, -0.4630960226, 0.1781579107, 0.2924922109, 0.2196274251, 0.2287961841, 0.34850353, 0.767539084, -0.5039435625, 0.3686755598, -0.5953427553, -0.0833491609, -0.0437500067, -0.9637681842, -0.575640738, -0.3050661683, -0.326094836, -0.8434017897, 0.0814679712, 1.0120568275, 0.9745658636, -0.588822186, 0.1341581345, -0.3240326047, 0.3391353488, -0.5535895824, -0.1895307153, 0.360776782, -0.3997340202, -0.107590273, 0.4432835579, -0.124666281, 0.0869478658, 0.4417893589, -0.3033239841, -0.1650594026, 0.0888437629, 0.7324416041, 0.2578621805, -0.4851798713, -0.2754995823, 0.1519474387, -0.0819146857, -0.0914837494, 0.8470703363, -1.0141814947, 0.3001187146, 0.9661425352, 0.6640415788, 0.3864760101, 0.1740231663, 0.2304016948, -0.8108340502, -0.1933747083, 0.2381265908, 0.4805865586, -0.0275383219, -0.0033744643, 0.6134192944, 0.4429142475, -0.1815887392, -0.8500391245, 0.3712763488, -1.0281003714, -0.0819496214, 1.1131688356, 0.3066363335, -0.2802921832, 0.3381472826, -0.192404747, 0.0521265902, -0.1216341853, 0.4846023917, 0.4358951747, -0.4404698312, 0.2196006328, -0.2107351422, 0.5249552131, 0.2192131877, -0.8437234759, 0.1002294868, 0.9165062308, 0.3040264547, 0.4150388241, 0.3361501396, -0.1801836044, 0.5726223588, -0.1380958408, 0.0093144579, -0.5499833226, -0.5499513149, -0.0115972375, 0.2108299881, -0.0807562098, 0.3024483621 ]
http://arxiv.org/abs/2407.01992v1
http://arxiv.org/pdf/2407.01992v1
Is Your Large Language Model Knowledgeable or a Choices-Only Cheater?
2024-07-02T07:06:53
2024-07-02T07:06:53
Nishant Balepur, Rachel Rudinger
cs.CL
cs.CL
Recent work shows that large language models (LLMs) can answer multiple-choice questions using only the choices, but does this mean that MCQA leaderboard rankings of LLMs are largely influenced by abilities in choices-only settings? To answer this, we use a contrast set that probes if LLMs over-rely on choices-only shortcuts in MCQA. While previous works build contrast sets via expensive human annotations or model-generated data which can be biased, we employ graph mining to extract contrast sets from existing MCQA datasets. We use our method on UnifiedQA, a group of six commonsense reasoning datasets with high choices-only accuracy, to build an 820-question contrast set. After validating our contrast set, we test 12 LLMs, finding that these models do not exhibit reliance on choice-only shortcuts when given both the question and choices. Thus, despite the susceptibility~of MCQA to high choices-only accuracy, we argue that LLMs are not obtaining high ranks on MCQA leaderboards just due to their ability to exploit choices-only shortcuts.
[ -0.38209939, -0.620911777, 0.8391388059, -0.1362141967, -0.0956669375, 0.1225268543, -0.079499796, -0.2672028542, 0.222496897, 1.0398285389, -0.3302865922, -0.4656539261, -0.7734777927, 0.0361138955, -0.0784125626, 0.8522465229, 0.0685482025, 0.073860392, -0.4620607793, -0.3405479789, -0.2808977664, -0.571103394, -0.8560528159, -0.543520391, 0.8212817907, 0.5721865892, 1.1526942253, 0.598457098, 0.1741836816, 0.2663618624, -0.3926157653, 0.1799198985, -0.5104725361, -0.0152922478, -0.4050526917, -0.5133398175, -0.1362600774, 0.0229798071, 0.3857367039, 0.6982122064, 0.156139493, 0.2275155634, 0.0645209625, 0.538282156, -0.5931727886, 0.1140941009, -0.8081936836, -0.1464605331, -0.4130218923, 0.0715703517, -0.4508248866, -0.1107278541, -0.1919213086, -0.2149717063, -0.0599285141, 0.0816992968, 0.7885015607, 0.349529177, -0.8962712288, -0.3727911115, -0.2266768366, 0.9780449867, -0.6979242563, 0.3229722679, 0.5434368253, 0.3620561659, -0.2652863264, -0.5392451286, -0.3579124212, -0.4142419994, -0.1501932889, 0.0736006498, 0.0208356772, 0.085598439, 0.3751191795, 0.0664009526, -0.2694137096, 0.5267066956, -0.3824166059, -0.3348488212, 0.4940772951, 0.1192233562, 0.3652659953, -0.2589107156, -0.1732576638, 0.0292309448, -0.7778232098, 0.1841497123, 0.4398816526, 0.4735928476, 0.2111589909, 0.8520687819, -0.2978785336, 0.8022833467, -0.3578448892, -0.2627694607, -0.0525234714, -0.0024513805, -0.2248206437, -0.1580867022, 0.7398412228, 0.2418224663, 0.4883089662, -0.1092800871, -0.0897188485, -0.112328127, -0.0615848079, -0.7253553271, -0.5756523609, 0.3268856406, -0.220422253, -0.2703308463, -0.1435138136, -0.5167971253, -0.5457003713, -0.0632229894, 0.4102188647, 0.0788039267, -0.0951585099, -0.0499066114, -0.2826035023, -0.0249545854, 0.2061632425, -0.5896348953, 0.2097754776, 0.4648534358, 0.7900910378, -0.1610708535, -0.4274730086, -0.6222203374, -0.0543446504, -0.3928774595, 0.7598692775, -0.7285015583, -0.5276754498, -0.1655369848, -0.035863135, -0.0804615393, -0.7004044652, 0.7214355469, -0.7427250147, -0.0646890923, -0.687943697, -0.553937912, -0.0094203996, 0.0175216086, -0.940664649, 0.7559986115, -0.107371524, -0.9068174362, 0.3712648451, -0.4009792209, -0.4030111432, -0.0962733477, -0.323207736, -0.3080082536, -0.1882396787, 0.3325060308, 0.3016778827, 0.0854754448, 0.1509485543, -0.6502795815, -0.4200516641, 0.6010833979, -0.316610992, 1.0713015795, 0.0856993943, -0.1912996769, -0.1800417602, -0.4215699732, 0.1754079312, 0.1724798828, -0.6143141389, -0.2493475825, 0.0945042372, -0.376645267, 0.7030034065, 0.1507808566, -0.3780569136, 0.1342082769, 0.0697928593, 0.1180986613, 1.2095220089, -0.1141945943, 0.2546474934, -0.5536208153, 0.4512175918, 0.0991880968, -0.1454175562, 0.4918563962, -0.6419735551, -0.8494492173, -0.3771235645, 0.5216758251, 0.4678068757, -0.9453669786, 0.2164575905, -0.0787776932, -0.392559737, -0.6058629155, 0.4646308124, 0.5992479324, 0.5632229447, 0.1782044917, -0.0368760191, -0.3211604953, -1.1559587717, -0.601865828, -0.0057044448, 0.1273364574, 0.7883719206, 0.5988363028, -0.0119494312, 0.7364042997, -0.7594624758, -0.0480224527, -0.2410338521, -0.3249799609, 0.3957199454, 0.1514901072, 0.380512923, -0.7812931538, -0.4452390969, -0.3664443493, -0.5802320838, -0.1468695849, 0.2640534043, -0.3152304888, -0.0357549675, 0.6094893813, -0.44648242, 0.0793627873, 0.6386116743, -0.3998112679, 0.6200729609, 0.0062757782, 0.038145192, -0.7250316143, 0.0089942208, -0.1775800735, -0.1483904719, -0.4716085494, 0.031927269, -0.070130147, 0.0779709667, -0.5333530307, 0.9742377996, -0.1996546388, -0.1027335376, -0.21612598, 0.2500397563, -0.0020310131, 0.4791324139, 0.0171822347, 0.7123810053, 0.5985289216, -0.8241416216, 0.1406495124, 0.3531962335, -0.4643050432, 0.3227723539, -0.4947078228, 0.2838017642, -0.0726373121, 0.3534498513, -0.9016994238, -0.3257160187, 0.0550245941, -0.2355113775, -0.0796548724, -0.2609058619, -0.5047485232, -0.3468352854, -0.1728433818, 0.0239377301, 0.375299871, -0.8194494247, 0.3605414331, 0.3902672827, -0.3001879156, -0.9117263556, -0.7156001329, -0.100298129, -0.0117196776, -0.433814615, -0.0584458336, -0.3849331141, -0.4967472851, -0.1810532808, -0.1484366059, -0.0770396292, 0.2148457319, 0.3631580472, 0.1996520162, 0.0111747654, 0.1748606116, 0.0604222268, 0.0750805065, -0.0506064184, 0.1420679986, 0.4299625754, 0.0016286469, -0.4025846422, 0.0789261907, 0.2441441864, 0.6195015907, -0.2566662133, 0.7717100978, 0.1489788443, 0.0088513633, -0.3475003541, -0.4634755552, -0.0207323283, -0.4799948037, 0.493868202, -0.5548309088, -1.1236258745, 0.6882663965, 0.0846569836, 0.1799741685, 0.3343355358, 0.3907338977, -0.1808854491, 1.2769550085, 0.2841042578, -0.1962145418, 0.299887985, 0.0144485189, -0.0388585068, -0.7191467285, -0.0328295603, -0.6662735343, -0.4041441083, -0.7765795588, -0.1341338307, 0.2780885398, 0.0867068693, -0.4998601675, -0.1671793163, -0.2403371781, 0.9043652415, 0.6447656155, 0.3939775825, 0.3562194407, -0.2541031539, -0.2436512858, 0.1430260837, -0.803979516, -0.411885947, 1.3828727007, 0.0250654276, 0.6667232513, 0.3462181687, 0.6949653029, -0.030926751, 0.1335282624, -0.6315034032, 0.6687391996, -0.340919584, -0.9646174312, -0.3661647439, -0.7294152379, -0.7723028064, 0.4279935658, -0.2107805908, -0.6206693053, 0.0181413461, 0.1695573777, -0.2567479014, 0.5710054636, -0.590457499, 0.7609577179, -0.3259673715, -0.2520095706, 0.3246783316, -0.6133643389, 0.6773318648, -0.1206190586, 0.3447853923, -0.0003183472, 0.0848195031, 0.8693295717, -0.1638918668, 0.8327125907, 0.0039798133, 0.1416524649, 0.1982923448, 0.1679277718, 0.4518606067, -0.0256525893, -0.3156622946, -0.0016323056, -0.2202152312, -0.8556057811, -0.4502606988, 1.0383505821, -0.8507760763, -0.6817939281, -0.3725491464, -0.4136754274, -0.4059209228, 0.3969392478, 0.3452810943, 0.4216561913, -0.0624633804, -0.0486738794, 0.658739686, -0.0631998256, 0.2742586136, 0.2803404033, -0.4023639858, -0.2251504809, 0.7411803007, 0.3443911672, 0.5402379632, 0.0052784411, 0.3568556011, -0.3607816994, -0.6136220098, -0.3898707032, 0.4681266248, -1.1701985598, -0.064211309, -0.5359331965, -0.2947006524, -0.1989722252, -0.1710522473, -0.2135536522, -0.3624615371, -0.2879724503, -0.2811565697, 0.0826827809, 0.8793022633, 0.2179959565, 0.0984594822, -0.5203126669, 0.3877229393, 0.8382670283, 0.4097468853, -0.0670152381, -0.5011327863, -0.1534183323, -0.066494599, -0.2589150369, -0.8185403943, -0.0363131836, 0.0117175113, 0.7842717171, 0.3563928902, 0.0973700881, 0.3296358585, -0.2164015323, 0.8154066205, -0.1893047094, -0.7402176857, 0.1100094244, -0.1173251718, 0.3656407297, 0.8445606232, 0.3759084642, -0.421192497, -0.5559743643, -0.8373651505, -0.333140105, 0.6490638852, 0.0253304895, 0.0709608421, -0.0397748463, 0.2645298839, 0.0350588933, 0.2896301448, -0.9843847156, -0.3915557861, -0.0375531763, 0.014364507, -0.3672825694, -0.1634683907, -0.2822668254, -0.0673100874, 0.6884981394, -0.2508940697, -0.1642073691, -0.2648712397, -0.087594822, 0.117412813, 0.5290332437, 0.3238582313, 0.8647553921, -0.2333844006, 0.445443958, 0.3357877433, -0.2783496082, -0.0916403159, -0.0818592981, -0.1811412424, 0.0686343461, 0.2814625204, 0.5718998313, 0.1127522662, -0.7589457035, 0.5180160403, 0.1936824471, -0.1946751475, 0.1342063248, 0.2728815973, 0.4098723531, 0.1830095351, -0.1749622673, 0.0544587113, 0.0064449161, -0.6714886427, 0.1021720991, 0.7099571228, -0.4158768952, 0.1359141022, 0.3174642622, 0.0857218057, -0.2112573236, 0.8300378323, -0.0263708401, -0.71569103, 0.7724669576, 0.4305849671, 0.3616503477, -0.1621556431, 0.3354672492, 0.1489116549, 0.1682944894, -0.250744909, 0.2486825585, 0.2095712423, -0.9121394157, -0.2438214123, -0.3893249035, -0.6640974283, 0.2833701074, -0.587056756, 0.418572098, -0.4223600328, -0.1002187878, 0.0508249775, -0.0172295477, -0.6083195806, 0.5209444761, -0.0861531273, 0.8036053181, -0.901023984, 0.8633753657, 0.4457909763, -0.2809983194, -0.7345775366, -0.0899575874, -0.0416232497, -0.8961358666, 0.5327404737, -0.0468496867, -0.0945608914, -0.1450107992, -0.8676240444, -0.6683725715, 1.0900954008, 0.3218409717, -0.3555856049, -0.0654749349, 0.0611688457, 0.2057182044, -0.139285475, 0.3718971312, 0.7568712234, 0.5435094237, 0.3052255213, -0.7927156687, -0.0667141303, 0.0077328365, -0.3520954251, 0.2664914131, -0.8889985085, 0.9928122163, -0.3827227056, -0.0257734563, -0.1806385964, 0.1528455615, 0.5391871333, 0.1758872271, 0.5625708103, 0.4207113385, 0.8941134214, 0.0783022717, 1.1142429113, -0.0196928419, 0.218660444, 1.3974065781, -0.1851434708, 0.9083682299, 0.4873239398, 0.0194982588, 0.4061211944, 0.6432335377, 0.0956750438, 0.5514544249, 0.3468609452, 0.0371866412, -0.7933553457, -0.0884964168, -0.0897886455, 0.5740369558, 0.0607473738, -0.4535501003, -0.1604966074, -0.2058124244, 0.4615347087, 0.0294204447, -0.4034163654, 0.5909744501, 0.2720250785, -0.7932705283, 0.4230489433, -0.0767478719, 0.5095458627, -0.6552380323, 0.0565170608, -0.2177381665, -0.1539316773, -0.2820837796, -0.9987643361, -0.2462008446, -0.0937570781, -0.0592915565, 0.0039953897, 0.6336612701, -0.262619704, -0.4539817572, 0.2065288126, 0.7320798039, 0.1465043277, -0.0780450478, -0.7686247826, -0.2248005718, 0.141462341, -0.1320970505, 0.4990436435, 0.0266596638, -0.103962265, 0.7487136126, 0.6595895886, 0.2205268443, -0.0901849866, 0.0516515374, 1.0150972605, -0.6837695241, -0.4600318968, -0.8673692942, 0.4317313731, -0.248035565, -0.4818525314, 0.7940884233, 0.5766970515, 0.6986188293, 0.134180367, 1.0320566893, 0.4070844054, 0.5827592015, -0.8673525453, 0.8006203175, -0.6132893562, 0.3900881708, -0.1870735884, -0.6923537254, -0.1355231106, 0.1486491263, -0.5710116029, 0.2963429093, 0.6489655972, 0.8896945119, -0.1913045198, -0.1392709166, 0.4172047079, 0.2999811172, 0.3711257875, 0.6693971157, 0.9044310451, 0.1063740924, 0.7427939773, -0.0582804047, -0.300962925, -0.1907009184, -0.7284131646, -1.2687608004, -0.2519851327, -0.1079946011, -0.5764558315, -0.0529694408, 0.5017399192, 0.3218795061, -0.6419141293, -0.20502837, 0.3148604631, 0.6972744465, -0.042360954, -0.1551298797, 0.4902925789, -0.028251797, -0.5866353512, 0.2446850985, -0.168294847, -0.0146047706, -0.0963620469, -0.0613265894, -0.1986470073, 0.4697713256, 0.2906526029, 0.258205235, -0.6528325081, -0.4913779199, 0.0444470048, -0.2506805956, 0.2608346343, 0.7042899132, -0.456243366, 0.4462925196, 0.3926623166, 0.3785488009, 0.4566624761, -0.2270682901, 0.0979204103, -0.6231895089, -0.1850897223, 0.2151148915, 0.4733955562, 0.3596181273, -0.1787294447, 0.1798370034, -0.0993151069, -0.787883997, -0.593809545, 0.6164490581, -0.8506243229, -0.5792978406, 1.4372850657, 0.0264575016, -0.2043690979, -0.3450003564, -0.3441712856, -0.0353373773, -0.3219586015, 0.4915336967, 1.0113936663, -0.3622301221, -0.0062227892, -0.6950577497, 0.6065368652, 0.3242255747, -0.7357504964, -0.0327131748, 0.4382788539, 0.5532120466, 0.0942314789, 0.7382727265, 0.0346235558, 0.1481125057, 0.0469482504, -0.3083414137, -0.2787633836, -0.3301528394, -0.3559889197, 0.3056123555, 0.5071285963, 0.0312143303 ]
http://arxiv.org/abs/2407.01976v1
http://arxiv.org/pdf/2407.01976v1
A Bounding Box is Worth One Token: Interleaving Layout and Text in a Large Language Model for Document Understanding
2024-07-02T06:29:05
2024-07-02T06:29:05
Jinghui Lu, Haiyang Yu, Yanjie Wang, Yongjie Ye, Jingqun Tang, Ziwei Yang, Binghong Wu, Qi Liu, Hao Feng, Han Wang, Hao Liu, Can Huang
cs.CL
cs.CL, cs.AI, cs.MM
Recently, many studies have demonstrated that exclusively incorporating OCR-derived text and spatial layouts with large language models (LLMs) can be highly effective for document understanding tasks. However, existing methods that integrate spatial layouts with text have limitations, such as producing overly long text sequences or failing to fully leverage the autoregressive traits of LLMs. In this work, we introduce Interleaving Layout and Text in a Large Language Model (LayTextLLM)} for document understanding. In particular, LayTextLLM projects each bounding box to a single embedding and interleaves it with text, efficiently avoiding long sequence issues while leveraging autoregressive traits of LLMs. LayTextLLM not only streamlines the interaction of layout and textual data but also shows enhanced performance in Key Information Extraction (KIE) and Visual Question Answering (VQA). Comprehensive benchmark evaluations reveal significant improvements, with a 27.0% increase on KIE tasks and 24.1% on VQA tasks compared to previous state-of-the-art document understanding MLLMs, as well as a 15.5% improvement over other SOTA OCR-based LLMs on KIE tasks.
[ -0.3758614659, -0.8895351291, 0.8260195255, 0.3376349807, -0.3925743699, 0.0806275532, -0.2790771127, -0.3880849183, -0.1364239603, 0.8132226467, -0.3921509087, -0.6631445289, -0.6452035308, -0.0929643512, -0.3135512471, 0.6194296479, -0.3815959394, 0.0532591455, -0.4892375767, -0.1837079525, -0.6955400705, -0.4639852643, -0.0906040817, -0.1841724813, 0.1945833713, 0.3510750234, 0.8278657794, 0.9902406931, 0.5052325726, 0.3353730738, -0.3015407622, 0.2469892651, -0.3750563264, 0.0489561781, -0.2285559624, -0.4718979597, -0.3029451668, -0.0315189958, 0.5877099037, 0.7011446953, 0.0876442119, -0.2539625168, 0.0787721127, 0.6511660814, -0.4071331918, 0.3665554821, -0.3681102097, 0.3352715969, 0.0610803328, -0.356983453, -0.6692627072, -0.2794623971, 0.2077428699, -0.8150060773, 0.0655280426, -0.006755169, 0.6689603329, 0.4377497733, -0.5012205839, -0.6411083937, -0.3533855975, 0.4220712781, -0.5862149, 0.7203293443, 0.5867673755, 0.0855349973, -0.0718799233, -0.6796539426, -0.5122473836, 0.0763641819, -0.4228726327, 0.4105164707, -0.0778128281, 0.0489193276, 0.4575639367, 0.3684879839, -0.76603055, 0.2557439506, -0.3930296004, 0.0319418423, 0.3486001492, -0.0709901601, 0.6689166427, -0.3223288059, -0.4186753631, -0.2208744884, -0.5765058398, -0.0701849312, 0.0879663378, 0.0727581903, -0.119422026, 0.6255205274, 0.207726568, 0.7916553617, -0.1869075894, -0.103258729, -0.0852228329, -0.3177374005, -0.3475229144, -0.1251658499, 0.6431617737, 0.161030829, 0.1507744938, -0.3844290674, 0.158251062, -0.2789332569, 0.2770494521, -0.8908735514, -0.0080908239, 0.2214110643, -0.588291347, 0.2655639648, 0.2175290883, -0.7901448011, -0.3378901482, -0.4497877359, 0.3370868862, -0.8602446318, 0.115285635, 0.4159689546, -0.1295990944, 0.3990260959, 0.7005411983, -0.6409705281, 0.2283932865, 0.7972635031, 0.9558101296, -0.1224184185, -0.2981152833, -0.8294195533, 0.1649689078, -0.2781385779, 0.7632732391, -0.4462088346, -0.3345670402, 0.1494396627, 0.059442021, 0.0301065315, -0.5060817599, 0.4798757434, -0.7924001813, 0.5752731562, -0.1444253623, -0.7147212029, -0.1586349905, 0.1051170826, -0.7110590935, 0.8235687017, -0.1277270317, -0.5510042906, 0.3145270348, -0.5259698629, -0.4617383182, 0.2972142994, -0.3575230539, -0.4691714346, 0.2195750028, 0.3579670489, 0.5452145934, 0.0705530792, 0.286949724, -0.1680009216, -0.3296513855, 0.1963673234, -0.2577360272, 0.5430892706, 0.2406374663, -0.275775224, -0.2137137651, -0.6027988195, 0.033341337, -0.0938799381, -0.4197279811, -0.5154425502, -0.0798463821, 0.0714817941, 0.2309324294, 0.271789372, -0.3098509014, 0.3774859607, -0.3057320118, 0.3665117919, 0.479891181, -0.3598390222, 0.8969525099, 0.0018683503, 0.6266763806, 0.0316344798, -0.1849300265, -0.6839618683, -0.1310569048, -0.4566939771, -0.4565000832, 0.2353345007, 0.4755311906, -0.8115301728, 0.6090050936, -0.2254349738, -0.1735390723, -0.1994648874, 0.0630243719, 0.5011657476, 0.1637317687, 0.3119960129, -0.0931145325, -0.2618350685, -0.727737844, -0.2903263271, 0.1879014075, 0.1228896827, 0.2948814631, 0.3976529539, -0.0907172188, 0.976260066, -0.6531267166, -0.4457891285, -0.1488426179, 0.2247072607, 0.3361089826, 0.3076414466, 0.2617369294, -1.0412844419, -0.8678619266, 0.1048989296, -0.8456346989, -0.138552174, -0.0759183094, -0.351242125, 0.0785104632, 0.9363853335, -0.5896943808, 0.9275061488, 0.4989891648, -0.6537930369, 0.1122686267, -0.5475723743, 0.1019990072, -1.0668526888, -0.1720511168, -0.0235878862, -0.3429572582, -0.673787415, 0.1998519748, 0.6676797271, -0.268012017, -0.1873160154, 0.7211103439, -0.9498052001, -0.3687368333, -0.2390795201, 0.495642662, 0.4504007697, 0.2902268171, 0.3924866021, 0.9699041247, -0.0217486732, -0.3025624156, -0.2560044825, 0.698122561, -0.6507798433, 0.584081471, -0.3870206773, 0.0853372067, -0.5622871518, 0.3897299469, -1.1195474863, -0.0534827672, -0.1828000396, -0.2520156205, 0.4676184058, 0.0075004119, -0.5989850163, -0.2011788338, -0.2271191627, 0.3818852305, 0.3980732858, -0.86994946, 0.8274694681, 0.2451650053, -0.2748076022, -0.5505259037, -0.7491499782, 0.1070041731, -0.1361038983, -0.7944763899, 0.3956314921, -0.1506978869, -0.2445093244, -0.0300163664, 0.0857756138, -0.0833206698, 0.0006022164, 0.2393123806, 0.0684669986, -0.2501027584, 0.4273134172, -0.0361139067, -0.163857609, -0.2137049586, -0.452611059, 0.6620134115, 0.2181311548, -0.4068333805, -0.200171873, 0.7494930029, 0.7650991082, -0.3850549459, 0.9821088314, 0.3424371183, -0.4172553718, -0.2253381312, -0.5844241977, 0.2299693674, -0.4507441521, 0.6433904767, -0.7328364253, -0.921854794, 0.4606238902, -0.1063873097, 0.1339309812, 0.1625745893, 0.3352198899, -0.4285672605, 0.804079473, 0.8709968328, 0.1687479168, 0.5476508141, -0.1795461327, 0.4701482654, -0.9395216703, -0.2417306155, -0.6203935146, -0.192036137, -0.2336376309, -0.9203725457, 0.4506376386, 0.3357512951, 0.2068959326, 0.1903625727, -0.3769487441, 0.7559492588, 0.4301579297, 0.2355880737, 0.516643405, 0.2167157829, -0.0154738342, -0.3730325699, -0.6298309565, -0.5645052791, 0.6127181649, 0.5072020292, 0.9081705213, 0.2689788938, 0.5123463869, -0.0135906553, 0.1983385235, -0.6578575373, 0.4497430325, -0.6617483497, -0.0296596028, -0.3192091584, -0.2922158837, -1.0020033121, 0.4706065953, 0.1215558797, -0.8765754104, 0.2318449467, -0.1530524492, -0.1476114541, 0.32833305, -0.6421952844, 0.7244899273, -0.3120709658, -0.3669253588, -0.0086483471, -0.2187381983, 0.1707765609, -0.0036641844, 0.3749457598, 0.2280602902, -0.143992424, 0.5945232511, -0.6313427091, 0.6946687102, 0.1118647978, -0.4517610073, -0.0378821678, 0.1198610887, 0.5877138376, -0.0893050358, -0.1602506489, -0.120772928, -0.0333150104, -0.2925851941, -0.7965813279, 0.631405592, -0.7969286442, -0.4690198898, -0.2400263846, -0.9130751491, -0.1885022223, 0.1733776778, 0.4155523777, 0.8274403811, -0.2657108605, 0.4100615382, 1.2716672421, -0.6084730625, 0.3685792089, 0.4735686779, -0.3888517916, -0.4954181612, 0.5151276588, 0.2386221141, 0.2470472604, 0.8896110654, 0.0947382152, -0.6042550206, -0.3943941295, -0.4296011329, 0.4495263994, -0.8848289847, -0.1971969008, -1.2704529762, -0.2959716916, -0.3777631819, -0.5917453766, 0.0325955413, -0.1302766502, -0.4098693728, -0.1216102019, 0.2557373643, 0.9418933988, 0.0401534066, 0.5358089805, -0.7915503383, 0.3896666765, 0.1890154481, 0.4214788377, 0.010432072, -0.6330881715, -0.302745223, -0.3220428526, -0.0601868145, -0.9482921362, 0.4735502601, -0.1350583583, 0.4130083919, 0.1808496565, -0.2981939018, 0.9074206948, -0.5108271241, 0.3945506513, 0.1657103598, -1.0117412806, 0.3134931624, -0.3443116844, 0.9830554724, 0.4787761271, 0.3027382195, -0.6723415852, -0.3832425773, -0.4518018067, -0.621465683, 0.823266387, -0.0507614762, -0.1166450009, 0.2270670086, 0.5104897618, 0.2565198243, 0.134692952, -0.9170005918, 0.1479685158, 0.1404641867, -0.6048998237, -0.3015452623, -0.5971027613, 0.087819241, -0.051019568, 0.5508667231, -0.2549391389, 0.2116262615, 0.2894759178, -0.6574622393, 0.071868442, 0.283007443, 0.4045721889, 0.6157300472, -0.0422662199, 0.2506220043, 0.0291693825, -0.5809619427, 0.0502107441, 0.2386205941, -0.1461617798, -0.0431401171, 0.6190026402, 0.7246546745, 0.1725865304, -0.6307300329, 0.5754237771, -0.3083740473, -0.4208437502, -0.0158237088, -0.3179298639, 0.1107881367, 0.2648599148, 0.1665890664, -0.5607108474, 0.0315307826, -0.624792099, 0.3197042346, 0.5404345989, -0.4303178191, 0.1074462533, 0.4883703589, 0.0745709389, -0.4514539838, 0.6051639318, 0.1165089011, -0.7583574057, 0.6990568638, 0.7305842638, 0.6377243996, 0.1123969778, 0.2015719712, 0.3747733235, 0.3852986991, 0.0731048957, 0.2165288627, -0.378452152, -0.4305846095, -0.5544429421, -0.6323756576, -0.2422400415, 0.1400067657, -0.5226655006, 0.1474137455, -0.3026412129, 0.2821301818, -0.2424617708, 0.0777709037, -0.7979941964, 0.1826665103, 0.0042842599, 1.2567955256, -0.6835928559, 0.5932801962, 0.6678509712, -0.1071732715, -0.6804485917, 0.1850240678, -0.2545552254, -0.6960171461, 0.7820039392, 0.4149184227, 0.1152751893, -0.1550930887, -0.3972581625, -0.9393191338, 0.9279347062, 0.0859424546, -0.7203059196, -0.0163893178, 0.3443237543, 0.4299626052, -0.246685192, 0.5546494722, 0.3445970416, 0.4586794376, -0.0180998351, -0.6911568642, 0.0488251895, -0.1680418104, 0.1491646618, 0.4968333542, -0.7133220434, 0.5787177682, 0.0552362166, -0.3920617104, 0.2059572786, 0.7161937952, 0.068457596, 0.2222480327, 0.5582057834, 0.6912299395, 0.7953471541, -0.1926762015, 0.8488240838, -0.0266676173, 0.1036844477, 1.3502879143, -0.1708172858, 0.683455646, 0.4046804607, -0.0626751557, 0.4207305908, 0.3616321683, 0.5724707246, 0.5235574841, 0.1606157124, -0.1004053056, -0.141093567, 0.1027042121, -0.3072119355, 0.4127861261, 0.5951613784, -0.3536463082, -0.3333326578, 0.4137480855, 0.0452578999, 0.5032920241, -0.0545794815, 1.1286230087, 0.1435070336, -0.8699402809, 0.0542598031, -0.2112647891, 0.5341666937, -0.604192853, -0.150746271, -0.3094203174, 0.196185112, -0.0811496302, -1.0982391834, 0.1069833487, -0.0972988084, -0.4201844335, -0.6630017757, 0.7009439468, -0.8464588523, -0.2508497238, 0.4359742105, 0.4679036438, 0.0239912979, 0.0993504971, -0.4014607966, 0.4036231637, 0.0821574181, -0.0618068874, 0.4574200511, 0.7321153879, -0.0017385789, 0.4309461713, 0.5369387269, -0.1656423956, 0.0767207071, 0.0429226868, 0.5820541382, -0.7595478892, -0.8911507726, -0.8178796172, 0.5294334292, -0.3804920018, -0.024883857, 0.5614129305, 0.6110103726, 0.5115975142, -0.0031618292, 0.77232337, 0.2039221823, 0.202235952, -0.94368577, 0.5815690756, -0.6374242902, 0.0545644611, -0.2119958848, -0.9290267229, -0.2705186605, 0.6544950008, -0.5960564017, -0.3558799624, 0.8341574669, 0.4124744236, -0.239720419, 0.0470111966, 0.5124000907, 0.3766297102, 0.5233860016, 0.5076612234, 1.0015761852, -0.4508509338, 0.3380509913, -0.1849416047, -0.5050674677, -0.1806823909, -0.8497719169, -1.0126494169, -0.8279627562, -0.2462674081, -0.4527007341, -0.1469133645, 0.4989545643, 0.7954218984, -0.3152126074, -0.1591632217, 0.0127771609, 0.182657972, 0.337000221, -0.2668794394, 0.6028636098, -0.2875237465, -0.7952101827, 0.2616266012, 0.7807388902, 0.155456692, -0.1901834458, 0.0674869046, -0.2161912918, 0.072970055, 0.6951820254, 0.2396875471, -0.6003623009, -0.1821093559, -0.0890583172, -0.3803805411, 0.1640863866, 0.8462077975, -0.660309732, 0.5699216127, 0.6194584966, 0.850030899, 0.680526495, 0.157234937, 0.7421810627, -0.4737674892, 0.3752215803, -0.0557179935, 0.6119940877, 0.2621316314, -0.7687285542, 0.5170652866, -0.4083861411, -0.5504262447, -0.6629603505, 0.1737177223, -0.7841981053, -0.5103145838, 0.99041152, -0.0052156537, -0.4179750383, 0.0614985451, -0.4369523525, -0.0108723035, -0.0892382637, 0.393772155, 0.7440749407, 0.097737439, -0.1445224285, -0.4359292388, 0.2468577325, 0.6235572696, -1.247145772, 0.0959347636, 0.5189411044, -0.0815732479, 0.2662298679, 0.8241749406, -0.1231862605, 0.2733663619, -0.3424521089, -0.1370313019, 0.1851607114, -0.3540832698, -0.4155422151, 0.1674084067, -0.2180142999, -0.0246872921 ]
http://arxiv.org/abs/2407.01965v1
http://arxiv.org/pdf/2407.01965v1
AdaCQR: Enhancing Query Reformulation for Conversational Search via Sparse and Dense Retrieval Alignment
2024-07-02T05:50:16
2024-07-02T05:50:16
Yilong Lai, Jialong Wu, Congzhi Zhang, Haowen Sun, Deyu Zhou
cs.CL
cs.CL, cs.IR
Conversational Query Reformulation (CQR) has significantly advanced in addressing the challenges of conversational search, particularly those stemming from the latent user intent and the need for historical context. Recent works aimed to boost the performance of CRQ through alignment. However, they are designed for one specific retrieval system, which potentially results in poor generalization. To overcome this limitation, we present a novel framework AdaCQR. By aligning reformulation models with both term-based and semantic-based retrieval systems, AdaCQR enhances the generalizability of information-seeking queries across diverse retrieval environments through a dual-phase training strategy. We also developed two effective approaches for acquiring superior labels and diverse input candidates, boosting the efficiency and robustness of the framework. Experimental evaluations on the TopiOCQA and QReCC datasets demonstrate that AdaCQR significantly outperforms existing methods, offering both quantitative and qualitative improvements in conversational query reformulation.
[ -0.2114809304, -1.0013141632, 0.2457662374, -0.1922227591, -0.0878056735, 0.2294447869, -0.0271008499, -0.0654611662, 0.3157703876, 0.3697595894, -0.516196847, -0.4699112177, -0.1609124839, -0.2109141648, -0.4774939716, 0.8897624612, 0.2787590623, 0.2748592794, -0.201770857, -0.4677715302, -0.6644278169, -0.7188826203, -0.8120164871, 0.0044431803, 0.5457060337, 0.4573941827, 0.99978441, 0.7275608182, 0.4893079102, 0.1923790872, -0.3100649714, 0.3922079802, -0.7887951136, 0.6088161469, 0.091514349, -0.3483350575, -0.1521342397, -0.4959030747, 0.7048014402, 0.7870140076, -0.7156903148, -0.2065731138, 0.163419202, 0.6994711161, -0.7911478877, 0.0397763997, -0.9577892423, -0.0765242502, 0.0525588207, -0.3462433815, -0.0616909266, -0.4219020903, -0.0195777249, -0.7720967531, 0.4607211351, 0.172112003, 0.7994806767, 0.1503199041, -0.8251838088, -0.3026872277, -0.8373721242, 0.5503587723, -0.298755914, 0.684998095, 0.126735121, 0.5510661006, -0.1421726495, -0.8134260178, -0.3823066354, 0.1084360629, -0.051448755, -0.026246015, -0.1452999413, 0.1539689302, 0.0250601284, 0.5156749487, -0.7048299909, -0.2060034722, -0.437256515, -0.2726705968, 0.4943837821, 0.42655316, 0.3479270041, 0.2923431396, -0.4022071064, -0.243427977, -0.5871827006, 0.2595102191, 0.2450170815, 0.5723717809, 0.481408298, 0.5862329602, -0.595204711, 0.6889101863, 0.3859887719, 0.2082191706, -0.0141214365, -0.7902274132, 0.1463636011, 0.194105342, 0.7420691252, 0.2890236378, -0.4397633374, -0.2577883899, -0.2680823207, -0.2204537541, 0.3619115949, -0.7991978526, -0.2250890732, 0.18852368, -0.2923637927, 0.0008225631, 0.1611185521, -0.6370792389, -0.1583924741, -0.4146989286, 0.4219665229, -0.3247069418, 0.0004979933, 0.007040502, -0.0118710389, 0.6061715484, 0.3443763554, -0.9684010148, 0.6113464832, 0.8873692155, 0.6160268188, -0.1757031083, 0.313562274, -0.7643734813, 0.1493130177, -0.3502416313, 0.6656734943, -1.011457324, -0.4484275281, 0.0331696533, -0.1351410002, -0.2304724455, -0.7259674668, 0.6941398382, -1.0833866596, 0.2435287833, -0.3742501438, -0.2613858879, -0.124802731, 0.4399928749, -0.6787571907, 1.2571742535, -0.0815377086, -0.5956707001, 0.2440792769, -0.3977015913, -0.3302533627, 0.1188383251, -0.2334528714, -0.2731624544, -0.3050765097, 0.4065547585, -0.135768339, -0.2006475031, 0.2949919105, -0.167265892, -0.6371212006, 0.1861825436, -0.1373290569, 0.5477567911, 0.3121854365, -0.0172701571, 0.1615474671, -0.4171376824, 0.341137737, -0.0313550904, -0.3551511168, -0.4639840722, 0.0508196801, -0.1279166043, 0.0538251437, 0.3776287138, -0.4978653789, 0.1924279928, -0.3739746213, 0.4560637176, 0.1660343707, 0.1007575467, 0.5569012165, -0.3725947142, 0.5212442279, 0.1267186701, 0.0414361469, -0.2334464043, -0.1623483151, -0.7692353725, -0.1361913234, 0.5218605399, 0.7134506106, -0.6120910645, 0.3747799993, -0.3046058714, -0.1918857843, -0.7532373071, 0.1933854818, 0.4453225732, 0.5516708493, 0.5954540968, -0.5442776084, -0.5929231644, -0.7698159814, -0.2268886119, -0.1642605215, 0.0043868651, 0.6250417233, 0.0305307843, -0.1397100389, 0.8723878264, -0.5756443143, -0.3765158653, -0.0277461968, -0.0271074828, -0.0367572606, 0.6081354022, -0.0860574692, -1.2172123194, -0.3388544917, -0.1318745613, -0.2364837974, 0.1102536321, 0.0311789066, -0.5204309821, -0.081029065, 0.5981109738, -0.4729664624, 0.4248152375, 0.0760458931, -0.2049449831, 0.3348632753, -0.0316389576, 0.5701348186, -0.8707337379, 0.1457076669, -0.1778357476, -0.2134319693, -0.5913025737, 0.0561845899, 0.0459460616, -0.2084506303, -0.1021511778, 0.4191860259, -0.4403055608, 0.221243307, -0.1527229249, 0.2956803739, 0.2544198632, 0.398981452, -0.0279619563, 0.8992931843, 0.3213391602, -0.8135020733, 0.3814433217, 0.6704767942, -0.0475986823, 0.6583430767, -0.8912556171, 0.4541482329, -0.3858772516, 0.3154662549, -1.2823858261, -0.0414082035, 0.1843351573, -0.3881107271, 0.4035751522, -0.403813839, -0.2806714177, -0.1279028654, -0.2546222508, 0.9312087297, 0.329031229, -0.5534754395, 0.633639276, 0.4248946607, -0.3567572832, -0.8050519824, -0.4877469242, 0.1245934889, -0.1762413085, -0.7207473516, 0.5344324708, -0.1334783137, -0.0885220617, -0.2038321793, -0.4536882043, -0.3921403289, -0.1506146044, -0.2098280191, 0.1706364453, -0.3281862438, 0.0805107951, 0.0760212392, 0.2439452708, -0.3567840159, -0.2157299519, 0.6226266623, 0.0187482722, -0.4192222655, -0.429223001, 0.4567420781, 0.0078941425, -0.4447530508, 0.6374459863, 0.4694125056, -0.0981608406, 0.2421333045, -0.7494671345, -0.3852407038, -0.4230076373, 0.2749618292, -0.3742397726, -1.1849519014, 0.3311478198, 0.1899598241, -0.0353863947, 0.2156725973, 0.3082895875, 0.0577992611, 1.5544320345, 0.4918375015, 0.2294087261, 0.5850663781, -0.0596105121, 0.1890909672, -1.1108371019, -0.5748928785, -0.6810101271, -0.2100498974, -0.43091923, -0.3797797561, 0.3419672549, 0.1987831146, -0.2724563777, 0.1631277502, -0.6302125454, 0.3578850925, 0.4340569675, 0.2940410972, 0.4724545181, 0.0610590465, -0.234380573, -0.2150740325, -0.6464461684, -0.4601271451, 0.9776150584, -0.0806377381, 0.7507406473, 0.4017498493, 0.4293741882, 0.1269793212, -0.2068482339, -0.9151903391, 0.3878798783, 0.0315545164, -0.745778203, -0.2870325744, -0.7049103975, -1.2565100193, 0.7054693699, -0.1018740833, -0.7201662064, 0.4888937771, 0.2129057795, -0.404330194, -0.1668637544, -0.483204186, 0.8911405206, -0.36309883, -0.249679938, -0.1025935784, -0.7658537626, 0.229865998, 0.0792836621, 0.1051096395, -0.1140450165, -0.3760347962, 0.4587674439, -0.2980560362, 0.4336765409, -0.1362380683, 0.2374140918, 0.2076464891, 0.234722212, 0.3932629228, 0.1059954464, -0.0896025375, -0.2701767683, 0.5281507373, -0.5404673815, -0.8581333756, 0.5106413364, -0.3727876246, -0.8244014978, -0.2609107494, -0.5942753553, -0.3434624076, 0.2842617333, -0.066118747, 0.6786165833, -0.8011309505, 0.463956356, 0.8746499419, 0.1685187966, -0.2157889605, 0.5830937028, -0.0609554462, -0.440546006, 0.6051572561, -0.2320656478, 0.0567041226, 0.7331209183, -0.1905156523, -0.5367938876, -0.5446251631, -0.2756210864, 0.0088764457, -0.4339514971, -0.3091906011, -0.8435384035, -0.1546797454, -0.7469488382, 0.2819355726, -0.1243405864, -0.5586007833, -0.2401703745, 0.3483409882, -0.0611633509, 0.2318886518, 0.1308867335, 0.3140872419, -0.6656360626, 0.3353997171, 0.4232928157, 0.088517487, -0.1846534461, -0.732015729, -0.0641940534, 0.3959004283, -0.4887254536, -0.5372011065, 0.3426106572, 0.6251290441, 0.5984247923, 0.2628998458, 0.3127182424, 0.9166462421, -0.4027631581, 0.5122070312, 0.0670259669, -0.5310722589, 0.5410900712, -0.1816498339, 0.3853696883, 1.0288820267, 0.3997270167, -0.8141825795, -0.1268110871, -0.3456751108, -1.24157691, 0.6776154041, 0.2442349941, 0.2745265067, 0.1347797364, 0.4029420316, -0.1418167949, 0.2552255392, 0.0399585515, -0.1952735186, -0.2766643465, -0.4709092975, 0.2408629954, -0.2898227274, -0.4927056134, -0.1301822513, 0.6441048384, -0.2596664429, 0.2270803452, 0.3834566772, -0.1214918196, 0.0682678297, 0.4904339015, 0.003109378, 0.3377680779, -0.1763860881, -0.1209976301, -0.0182981882, -0.4750211239, 0.0753416568, 0.6292873025, -0.3936010003, -0.3000470698, -0.3720244467, 0.7217647433, 0.3401103914, -0.782382369, 0.5636449456, -0.6567701101, -0.0725564584, -0.1706717759, 0.3011792898, -0.0607821904, 0.2709286809, 0.6360324025, -0.1933877319, 0.7302736044, -0.5611971021, 0.2661851943, 0.8092162609, -0.7421978712, -0.04596138, 0.8520125747, -0.0356312618, -0.1246029437, 0.7659279704, -0.0604373962, -0.3487049937, 0.3601234257, 0.5026609302, 0.5203062296, -0.1540824026, 0.1119784638, 0.4315911531, -0.1573772728, -0.2083392441, 0.2267659009, -0.50320822, -0.7392967939, -0.0793606713, -0.5031289458, -0.4155957103, -0.263009876, -0.9628301859, 0.2146631479, -0.2103397846, -0.1170205399, -0.0661335588, 0.0894280225, -0.4435865581, 0.0370067582, -0.0086830044, 0.6728038788, -0.0456032418, 0.6260156035, 0.9420497417, -0.3700833023, -0.7956740856, 0.0332350768, 0.1737809181, -0.6446278095, 0.3355604708, 0.108264178, -0.1489524543, 0.150289014, -0.5439040065, -1.0749239922, 1.2702281475, 0.2728686631, -0.5930581689, -0.3638518453, -0.1009542048, 0.4898071885, -0.5378861427, 0.2973701358, 0.6219797134, 0.0433925241, 0.7792412639, -0.8758901358, 0.1435304284, -0.2364219725, 0.2539529502, 0.3489093781, -0.7018835545, 0.2848575115, -0.1434245706, -0.6241009235, 0.4931101501, 0.7297184467, 0.372997731, 0.3430569172, 0.4265721738, 0.5573447943, 0.9425566792, -0.283131808, 0.6838863492, -0.3537979722, 0.1815140098, 1.0085960627, -0.2196366489, 0.7706169486, 0.1503914148, -0.0799863338, 0.5108588338, 0.515035212, 0.1825306118, 0.5869781375, -0.0479366705, -0.4027945101, -0.330506593, -0.2498712242, -0.3097557425, 0.4200711846, 0.520305872, 0.1009879708, -0.1083962172, -0.4042905867, 0.0249864217, 0.2196254879, -0.2095621675, 1.1120778322, -0.0737837702, -0.6395296454, 0.7960504889, -0.147326827, 0.6818661094, -0.51287359, -0.0628356412, -0.3462950587, 0.1438264996, -0.1831329465, -0.4338814914, 0.2055553496, -0.4231359363, -0.0417443849, 0.1217758507, 0.6709227562, -0.880939424, -0.1969674528, -0.0208407808, 0.4106990695, 0.082244657, -0.13085711, -1.0586311817, -0.016426323, 0.0199604779, 0.0869149938, 0.3152261376, 0.4987539053, 0.1343883872, 0.5188068151, 0.5005816817, -0.2123666406, 0.0317487754, 0.050288558, 0.9402045608, -0.8049388528, -0.3150403202, -0.1868376583, 0.2492464185, -0.0341877751, -0.1330685765, 0.4947420955, 0.9494853616, 0.7260798812, 0.6050522923, 0.4992381334, -0.1000123024, 0.6848759651, -0.5006499887, 0.2845624983, -0.5601847172, 0.5387763381, 0.0975524858, -1.0766472816, -0.2275686562, 0.165188387, -0.1702165753, 0.212304011, 0.4587737024, 1.2871512175, -0.1764509529, 0.0194313712, 0.0655891672, 0.0492457934, 0.2154612541, 0.4324030578, 0.8624475598, -0.6151170731, 1.2109197378, 0.0688107759, -0.1057521999, -0.3288274109, -0.2480741292, -0.4186356068, -0.5973698497, -0.3062666059, -0.467938751, 0.4671411812, 0.7273529172, 0.8099302053, -0.951703012, -0.1479258537, 0.1769850999, -0.0093995919, -0.1432065964, -0.2708598971, 0.1837755144, -0.6250863671, -0.6602643132, 0.549792707, 0.0160394218, -0.0980321839, 0.0373545326, -0.0304079726, -0.3271924257, 0.0299396105, 0.2376793176, 0.637167871, -0.4629361331, -0.0025307396, 0.1640081853, -0.4226668179, 0.5652894974, 1.0372093916, -0.9287062883, 0.4906794131, 0.4478647411, 0.6604946852, 0.6794929504, 0.7826946974, 0.7652917504, -0.6458621621, -0.0301666465, 0.5502429008, -0.0495326333, 0.6320152283, -0.5440251231, 0.3442029655, -0.025506448, -0.803406179, -0.6658426523, 0.2530431747, -1.0836572647, -0.1507620364, 1.1617174149, 0.2789868712, -0.0280731544, -0.4653496444, -0.4142802358, 0.1776393205, -0.9025559425, 0.588624835, 0.1920024157, -0.3651527464, -0.0573564097, -0.4603152573, 0.2649406195, 0.4785427451, -0.2150810808, -0.0486151949, 0.8185589314, 0.3219713569, -0.1555146724, 0.7296233773, -0.4973942935, 0.2599108517, -0.2565311491, -0.0359990336, 0.3151872456, -0.0609024391, -0.4058386683, 0.2509645522, 0.2144352198, 0.0324108563 ]
http://arxiv.org/abs/2407.01964v2
http://arxiv.org/pdf/2407.01964v2
Enabling Discriminative Reasoning in LLMs for Legal Judgment Prediction
2024-07-02T05:43:15
2024-07-03T02:25:23
Chenlong Deng, Kelong Mao, Yuyao Zhang, Zhicheng Dou
cs.CL
cs.CL
Legal judgment prediction is essential for enhancing judicial efficiency. In this work, we identify that existing large language models (LLMs) underperform in this domain due to challenges in understanding case complexities and distinguishing between similar charges. To adapt LLMs for effective legal judgment prediction, we introduce the Ask-Discriminate-Predict (ADAPT) reasoning framework inspired by human judicial reasoning. ADAPT involves decomposing case facts, discriminating among potential charges, and predicting the final judgment. We further enhance LLMs through fine-tuning with multi-task synthetic trajectories to improve legal judgment prediction accuracy and efficiency under our ADAPT framework. Extensive experiments conducted on two widely-used datasets demonstrate the superior performance of our framework in legal judgment prediction, particularly when dealing with complex and confusing charges.
[ -0.1584522575, -0.5919943452, 1.0542645454, 0.1870791316, -0.3716587126, 0.0749371499, -0.1948593259, -0.7089331746, -0.025311118, 0.7883090973, -0.4007079303, -0.4600929916, -0.4229540527, -0.1867601722, -0.2187838554, 0.6828275323, 0.2624967396, 0.3253259361, -0.1811723411, -0.2084330022, -0.7808125019, -0.5492143035, -0.6236721873, -0.3438159823, 0.2187606692, 0.3915762007, 0.4156564474, 0.3486904502, 0.4638915062, 0.300267756, -0.0593699068, 0.3255910873, -0.2700891197, 0.1770996004, -0.4931215942, -0.8902898431, -0.485675633, -0.3369436264, 0.097858049, 0.5918802619, -0.6254987121, -0.1072089002, -0.4143270254, 0.7613020539, -0.7682682276, 0.1007413417, -0.9658886194, 0.1592797786, 0.0031299738, -0.2662656605, -0.6797329783, -0.3698675036, 0.0507464074, -0.7799559236, 0.3863640726, 0.4368944168, 0.159033373, 0.3715001345, -0.5330303311, -0.284768343, -0.9492133856, 0.3643761575, -0.6897158623, 0.3876118362, 0.3001137078, 0.7065454125, -0.4184036255, -0.76784271, -0.5570390224, -0.5196249485, -0.0104958378, 0.3032335043, -0.2394801527, 0.3644280732, 0.4238230884, -0.1331535876, -0.6321020126, 0.3468533754, -0.3310942948, -0.071639657, 0.8981902599, 0.2851389647, 0.0225489903, 0.0848902017, -0.2066095322, 0.2306480855, -0.608889997, 0.1225309446, 0.2736126781, 0.4074393213, 0.0407522209, 0.4152038395, -0.202556029, 0.6990892291, 0.4929960072, 0.0391434766, 0.2212796062, -0.0115251429, -0.238663286, 0.4565733969, 0.482250303, 0.5764657855, 0.3333616257, 0.0715047792, -0.2596316338, -0.0120201195, 0.4903142154, -0.6602031589, -0.17220819, 0.3510787785, -0.570532918, -0.0694440305, 0.0847376138, -0.8436473608, -1.089209795, -0.509452939, 0.0370526053, -0.3358040154, -0.2343041003, 0.7565099597, -0.1369691789, -0.189128831, 0.9592781067, -0.6250131726, 0.3006125093, 0.6377773285, 0.4225551784, -0.1286477894, 0.0353383571, -0.6966238618, 0.2730244398, -0.2938357592, 0.9491044879, -0.6695876718, -0.2995758355, 0.2477181107, 0.0745692402, 0.0532951578, -0.7810639739, 1.201015234, -0.4097492099, -0.2368578911, -0.2312042564, -0.5462341309, -0.4402507544, 0.165277198, -0.7875155807, 0.4276914597, 0.0787756145, -0.5995432138, 1.0030611753, -0.8710546494, -0.6826100945, 0.5721334219, 0.0230713021, -0.4106861055, 0.2724968791, 0.2725565135, 0.4425382614, -0.295707494, 0.5570175648, -0.6128321886, -0.3470681012, 0.1870353669, -0.1900975555, 0.6420583129, 0.4128029644, -0.220301494, 0.3563763499, -0.8630067706, -0.4292931855, 0.0489365421, -0.3645245433, -0.3408283293, 0.4147731662, -0.331153661, 0.2523539066, 0.0089560812, -0.6409006715, 0.0765213221, -0.4337284267, 0.3026193678, 0.9134309888, -0.10003452, 0.4976810217, -0.4242160022, 0.7699032426, 0.2217003703, 0.0130008077, 0.3409577608, -0.2570223808, -0.5510231256, -0.0369223692, 0.0216997862, 0.7049568892, -0.6515476108, 0.1320860237, -0.4714154303, -0.4954065084, -0.3488666713, -0.0487867929, 0.1233876869, 0.1493012607, 0.312702924, 0.086485967, -1.0175942183, -0.603587985, -0.6501511931, -0.502048552, 0.1357472539, 0.4269740283, 0.4743291736, -0.0253268257, 0.7745981216, -0.2375340909, -0.1010581478, -0.3899050057, -0.0065288697, 0.4463942349, 0.1938920021, 0.5659980774, -1.0352436304, -0.2767770588, 0.1628331989, -0.5343786478, -0.0773634836, -0.4401455224, -0.1046600565, -0.0697179139, 0.5727642179, -0.5833311081, 0.2983338535, -0.0337692164, -0.8556029797, 0.7340711951, -0.421905905, 0.1623794287, -0.5923341513, -0.3794686496, 0.2835758924, -0.3466257751, -0.6588093638, -0.0445446558, 0.203225553, 0.3856992722, -0.4897857904, 0.4767848849, -0.0918300375, -0.2083405852, -0.2106370479, 0.033435788, -0.1576228142, 0.262098521, -0.0763905719, 0.7966555953, 0.2178933471, -0.7431869507, 0.5332875848, 0.0936003402, -0.6920098662, 0.8065274954, -0.4808184803, -0.1701706797, -0.2574831843, 0.283010453, -0.5704880357, -0.1352397501, -0.037202429, -0.0800604746, 0.2072424442, -0.2353178412, -0.5833007693, -0.6372207403, -0.1618188769, 0.4302350879, 0.2552535236, -0.7375474572, 1.125644207, 0.3722828031, -0.0019600638, -0.5106334686, -0.5823861361, 0.0403990634, -0.6080439091, -0.2705333531, 0.5393149257, -0.1244050562, -0.5363948941, -0.2783235312, 0.2120210975, 0.18083404, 0.3824584782, 0.4465952218, 0.2386411279, -0.0917986706, 0.3212197125, 0.3104023635, 0.4029460251, 0.478923142, -0.2734778523, 0.4076763391, 0.0634748265, -0.4941042662, -0.1044898927, 0.0590727068, 0.6609930396, -0.1523729414, 0.114812851, 0.0131048588, -0.3085762262, -0.4220093787, -0.7514560223, 0.2523080111, -0.5027999282, 0.6083965302, -0.5553280711, -1.0600956678, 0.4813810289, -0.2203589827, 0.0287508648, 0.3397895992, 0.9128213525, 0.0173662547, 1.1099867821, 0.3382866085, 0.135177359, 0.4334800541, 0.3202456534, 0.1932402998, -0.643517673, -0.3467481136, -0.373003751, -0.0358488522, -0.6424725056, -0.2781679034, 0.1271727532, 0.0510316379, -0.3517204523, 0.3322777748, -0.3444748223, 0.3031822145, 0.484139353, 0.2549701631, 0.3198601902, -0.1417129636, -0.2100652307, 0.2770193815, -0.3840060532, -0.2695758939, 1.2742400169, 0.2465395033, 0.6391341686, 0.3257120848, 0.3603884876, 0.6542257071, 0.068547532, -0.7636874914, 0.680624187, -0.5178695321, -0.6100636125, 0.0160338413, -0.3789870441, -0.8841035962, 0.4408995807, -0.3556270003, -0.6801652312, 0.3264601231, 0.0241329297, -0.6926248074, 0.1356559694, -0.5180156827, 0.4709267914, -0.3132043183, -0.3276608586, -0.5343303084, -0.2938660383, 0.4557207227, -0.1765579283, 0.5913286209, -0.3463488519, 0.2852309942, 0.7032657266, -0.2674571872, 0.6814863682, -0.4523420632, -0.1178455129, 0.3756931424, 0.3087231517, 0.3970451355, 0.0606752783, -0.3578986824, -0.385037154, -0.0061461818, 0.0078229504, -0.8235247135, 0.4554279447, -0.2696924508, -0.9082682133, -0.2484367937, -0.8615780473, -0.2468880713, -0.0326167084, -0.1344961077, -0.0346790962, -0.1612200141, -0.2813183963, 0.3236283362, -0.0775682479, 0.2382396758, 0.8038259149, -0.2485031635, -0.309840858, 0.682112515, -0.0725729391, -0.0157374721, 0.2366946191, 0.310682416, -0.5385317206, -0.872541368, -0.3817486465, 0.0753459409, -0.9902889729, -0.3148557842, -0.5230810046, 0.184988752, -0.5519520044, 0.0053211632, 0.1424029917, -0.5365830064, -0.1167279556, -0.3833425641, 0.5622745156, 0.5657765865, 0.084288761, 0.1442511231, -0.6013236642, 0.3503620327, 0.3111384511, 0.2754836679, -0.362930268, -0.9403377175, 0.0358768553, -0.0573091507, -0.1278324872, -0.2321034372, 0.2540537417, 0.1867348254, 0.6865611672, 0.35586375, 0.3489832282, 0.780126214, -0.7346106172, 0.5375596881, 0.3203445673, -0.5469459891, 0.7093833089, -0.0929167494, -0.0403001718, 0.4783906937, -0.0418003947, -0.0713826865, -0.2428350598, -0.2376198918, -0.5610340238, 0.7073063254, -0.1501629651, 0.151080966, 0.1069127619, 0.5376527309, 0.2530414462, 0.0399320833, -0.4352602959, 0.1437489539, -0.0812445804, -0.3288766742, 0.043561127, -0.245311603, 0.0091118542, -0.6582899094, 0.4232450426, -0.2300127447, 0.1889947504, -0.0203355066, -0.1366868615, -0.1096596271, 0.3482062221, 0.7763568759, 0.6810533404, -0.1769962758, -0.0258164983, 0.4986344278, -0.430657655, 0.2012002915, 0.1512484401, 0.0549898036, -0.0564544573, 0.2611614168, 1.0647650957, -0.1502210349, -1.0156906843, 0.453189671, -0.3262683153, -0.5538662076, -0.6983575225, 0.2447922081, 0.0651383102, 0.6906684637, 0.2183163762, 0.1473830938, 0.4299288988, -0.5472092032, 0.1009429172, 0.3916158676, -0.2443001121, -0.0122483373, 0.8226436377, 0.1216061115, -0.2178163975, 0.1518937647, -0.3318217397, -0.6760260463, 0.6181585789, 0.6625753641, 0.7041797042, -0.1943991333, 0.0007300973, 0.4212861955, -0.0982105508, -0.4488814473, 0.3937701285, 0.0648680106, -0.8845870495, -0.4486012161, -0.7314481139, -0.2194658369, -0.2939054668, -0.5513677001, 0.3701330423, -0.7762072086, -0.238075003, 0.0457663536, -0.1737227589, -0.5195479989, 0.2982293069, 0.2711499631, 0.9187107086, -0.580085814, 0.8373012543, 0.5886598825, -0.1857336015, -0.4831850827, -0.2279418856, -0.0700693205, -0.7188963294, 0.8897569776, 0.2496201396, -0.3403142095, -0.3184781969, -0.388384372, -0.3983296454, 0.9909681678, 0.6917433143, -0.9915751815, -0.197878018, 0.0829258785, 0.3943461478, -0.5538449287, -0.0065543787, 1.0514185429, 0.3748545349, 0.3057805896, -0.7692546844, 0.3407330513, -0.1227290332, 0.0688272938, 0.1746223569, 0.0687947199, 0.6823926568, -0.5242374539, -0.1045146212, -0.006004903, 0.6321613789, 0.5608612895, 0.5365674496, 0.8552495837, 0.6438243389, 0.9813756943, -0.199141413, 1.0951288939, -0.1862627417, 0.157437548, 1.4436491728, -0.6381807923, 0.6743642688, 0.3802980185, -0.4270243943, 0.7957713604, 0.3849304914, -0.3405111432, 0.4658932984, 0.4045308828, -0.3936429322, -0.6902970672, -0.3625274897, 0.1316777617, 0.5908882022, 0.6139684916, -0.394566834, 0.0699248835, 0.0816865489, -0.3401019275, 0.4504899979, -0.6681551337, 0.8989521265, -0.0368284844, -0.7186136842, 0.3113997281, 0.102974534, 0.6483786106, -0.1659463346, -0.2821442783, 0.1570689827, 0.4164831042, -0.3924583197, -1.056720376, 0.0195986163, -0.1553775221, -0.266569525, 0.0876454413, 0.7833992243, -0.051275339, -0.6280069947, 0.6452624798, 0.1496472359, -0.1201763377, -0.1455963999, -0.8495751023, -0.3065596819, 0.0070069404, 0.0678566247, 0.2861230671, 0.6417580247, -0.3145650923, 0.8800581098, 0.671107173, 0.311562866, 0.0699722245, 0.5582880378, 0.86035043, -0.6255277991, -0.5044600368, -0.9012742639, 0.5773437619, -0.1885083318, -0.102819398, 0.1582222134, 0.4536910355, 0.763644278, 0.0449082814, 0.7663362622, 0.2106146961, 0.7826402783, -0.8402484655, 0.4782942832, -0.4794415236, 0.3697377145, -0.0694140866, -0.5624079108, -0.2938286066, 0.5941590667, -0.4762521982, 0.0442836434, 0.4426152408, 0.6596913934, -0.1001697332, 0.0900282562, 0.5257865787, 0.0699193403, 0.4956059754, 0.7586772442, 0.775506258, -0.0262015685, 0.5760330558, -0.1772517711, 0.1881839335, -0.524753809, -0.7488729358, -0.7978385687, -0.2224098146, -0.1281168014, -0.3094560206, 0.061904382, 0.9174913764, 0.6100775599, -0.9231421947, -0.2319115549, -0.6181036234, -0.2243396789, -0.0609102473, -0.2276675105, 0.1617728025, -0.3219234347, -0.4724690616, 0.3936209977, 0.1409746706, -0.0706142038, 0.2206677496, -0.3658523262, -0.2004868537, -0.0235894639, 0.7968075275, -0.0672046617, -1.0406556129, -0.384832263, -0.4668601751, 0.1438500732, 0.137713477, 1.006682992, -0.6926202774, 0.596527338, 0.112523295, 0.6637098193, 0.5035906434, 0.1926134676, 0.734069109, -0.296562314, 0.1895217448, 0.6113113165, 0.8983920813, 0.1155169085, -0.4973381162, 0.4610049427, -0.0209331587, -0.4686441422, -0.5427393317, 0.4758581817, -0.872436583, -0.6124723554, 1.0193858147, -0.4552519917, -0.0129881622, -0.3427837193, -0.3297503293, 0.1242006272, -0.5196128488, 0.7371307015, 0.5189180374, -0.0894164145, -0.4434096217, -0.6960472465, 0.3673924506, 0.5529286861, -0.8687385321, 0.3613672554, 0.764777422, 0.1740488559, 0.1016449258, 0.2285325676, -0.0539540276, 0.6104972363, -0.2772719562, -0.0741119683, -0.0586745627, -0.1170684397, -0.4573529363, 0.122126624, 0.2742881477, 0.076598607 ]
http://arxiv.org/abs/2407.01955v1
http://arxiv.org/pdf/2407.01955v1
S2D: Sorted Speculative Decoding For More Efficient Deployment of Nested Large Language Models
2024-07-02T05:14:15
2024-07-02T05:14:15
Parsa Kavehzadeh, Mohammadreza Pourreza, Mojtaba Valipour, Tinashu Zhu, Haoli Bai, Ali Ghodsi, Boxing Chen, Mehdi Rezagholizadeh
cs.CL
cs.CL
Deployment of autoregressive large language models (LLMs) is costly, and as these models increase in size, the associated costs will become even more considerable. Consequently, different methods have been proposed to accelerate the token generation process and reduce costs. Speculative decoding (SD) is among the most promising approaches to speed up the LLM decoding process by verifying multiple tokens in parallel and using an auxiliary smaller draft model to generate the possible tokens. In SD, usually, one draft model is used to serve a specific target model; however, in practice, LLMs are diverse, and we might need to deal with many target models or more than one target model simultaneously. In this scenario, it is not clear which draft model should be used for which target model, and searching among different draft models or training customized draft models can further increase deployment costs. In this paper, we first introduce a novel multi-target scenario for the deployment of draft models for faster inference. Then, we present a novel, more efficient sorted speculative decoding mechanism that outperforms regular baselines in multi-target settings. We evaluated our method on Spec-Bench in different settings, including base models such as Vicuna 7B, 13B, and LLama Chat 70B. Our results suggest that our draft models perform better than baselines for multiple target models at the same time.
[ -0.1169554666, -0.516035974, 0.5571258664, 0.5577839613, -0.5224236846, 0.3354876339, -0.1464879513, -0.5074275732, 0.0972799063, 0.6360506415, -0.5293907523, -0.5243046284, -0.7355428338, -0.0105465846, -0.4967458844, 0.6718014479, 0.0259390585, -0.0605006516, -0.1217420176, 0.1196882203, -0.1718199849, -0.5184032321, -0.8423051834, 0.0356758125, 0.3619900048, 0.5580776334, 0.4991134703, 1.018568635, 0.5167648792, 0.3232070208, -0.2968864441, 0.471596092, -0.6071000695, 0.3784036934, 0.1110680103, -0.8500971198, -0.4339487851, -0.2112579644, 0.6852742434, 0.4265826046, -0.2236859351, 0.1531760693, -0.3688815832, 0.3579998612, -0.7606447935, 0.000178916, -0.7544769049, -0.1674567312, -0.3798686862, -0.2151283026, -0.7048462033, -0.1708381325, -0.3596377969, -0.3596947789, 0.4092389643, 0.1636502147, 0.5018488169, 0.2751702964, -0.7126945257, -0.2053280622, -0.7220347524, 0.7199243903, -0.7058437467, 0.5346279144, 0.2183546275, 0.2206585258, -0.2407951504, -0.8244415522, -0.4571059644, -0.022689227, 0.0934566185, 0.0761731789, -0.0070392727, -0.0777918547, 0.3595035374, 0.2533158362, -0.7482156157, 0.7357003689, -0.2689757347, -0.2309227139, 0.5687502027, 0.3320153654, -0.1776975542, -0.2313469201, -0.4264188409, -0.1046342999, -0.6622686982, -0.1591818035, 0.6950917244, 0.3304736018, -0.2144853473, 0.6047646999, -0.4939935505, 0.4667486548, 0.29915905, -0.2402609587, 0.093684338, -0.6147381067, 0.1209479347, -0.185432598, 0.4772902131, 0.44061625, -0.3681141734, -0.1645450443, -0.3099903464, 0.3564399183, 0.2702674866, -0.8930396438, -0.0065354328, 0.4703180194, -0.7154727578, -0.5056310296, -0.4804067016, -0.6236267686, -0.3119747639, 0.099517554, -0.24899818, -0.302051723, -0.5039447546, 0.3668523133, -0.2747954726, 0.0702619925, 0.2399078459, -1.2390117645, 0.1830309033, 0.8702670336, 0.7267210484, -0.328040272, -0.2766061425, -0.4261648357, 0.1598423421, -0.6289796829, 1.177000165, -0.3830220401, -0.3944732249, -0.0866105482, -0.380632937, 0.0000076617, -0.3921212256, 0.8655255437, -0.8281695247, -0.0988874584, -0.357270807, -0.6112712622, 0.1438221931, 0.1329946071, -0.5048671961, 1.2406300306, 0.1418502927, -0.8625475168, 0.5124965906, -0.176565975, -0.4153071344, 0.1769751459, -0.1533425301, -0.1408975422, 0.2479003668, 0.3073947728, 0.68275702, -0.5761642456, 0.2032517344, -0.3664265871, -0.5660285354, -0.2957344949, -0.4392751753, 0.6370903254, 0.6690590978, -0.2045607269, 0.1156144142, -0.6389418244, -0.0002754046, 0.2705684304, -0.3282167017, -0.3179064989, 0.2442424893, 0.1374339014, 0.1232034415, 0.2289292514, -0.3882050812, 0.516090095, -0.4064881206, 0.3598327041, 0.5192805529, -0.0665234104, 0.6042479277, -0.0903504416, 0.4689657092, 0.1927973628, 0.2108810246, -0.2734393477, -0.3633892834, -0.6415910721, -0.4559444487, 0.0138370199, 0.3585911989, -0.8617398739, 0.3853376508, -0.2959039509, -0.6931103468, -0.4491819441, -0.0267231129, 0.2678378224, 0.1077617407, 0.1115229651, 0.0249886494, -0.6428601742, -0.8756041527, -0.1618063748, -0.3844505548, 0.2235694826, 0.1135144979, 0.1732583642, -0.4957634807, 0.5314307809, -0.5221172571, 0.2407870591, -0.4528457522, 0.1380017847, 0.1456545889, 0.4220671654, 0.7557445765, -0.61132586, -0.3115401268, -0.2019865215, -0.569181025, 0.0413360856, -0.1789027452, -0.2271770388, 0.3857664764, 0.7813026905, -0.827403605, 0.200262934, 0.7367640734, -0.2851811945, 0.6913886666, -0.3303174675, 0.2359118015, -1.2180241346, -0.1835802794, -0.412794292, 0.0935479626, -0.6122970581, 0.5434943438, 0.3494434059, 0.0981505662, -0.3123330176, 0.3731535673, -0.5222885609, -0.2418835014, -0.3666006625, -0.2249195576, -0.0025130946, 0.1083831415, 0.1237530783, 0.9212170839, 0.5278652906, -0.418769151, 0.2310546041, 0.0034316918, -0.3387337029, 0.1916009039, -0.5079799891, 0.3561545908, -0.2943465114, 0.626860261, -1.2194068432, -0.1147987843, 0.1399855018, 0.0027920904, 0.2189522237, -0.4866292179, -0.8254750967, -0.648041904, -0.2176876068, 0.822443068, 0.3886739016, -0.6755654216, 0.4547461569, 0.2095514238, -0.0238050409, -0.6645158529, -0.7023236156, 0.1881580353, -0.3581398427, -0.8018702865, 0.3978472054, -0.2071215212, -0.0695250556, -0.0723022521, -0.2291595489, 0.126552701, 0.0329259671, 0.2343515009, 0.152451843, -0.3033727407, -0.1888724715, 0.2612264752, -0.3984860778, -0.2146123648, -0.5131394863, 0.6541550159, 0.2502905428, -0.4468697608, -0.1693479121, 0.7385507822, 0.7616279125, -0.2213383019, 0.7756186128, 0.70790416, -0.2778982818, -0.5002760887, -0.9653905034, -0.1077749357, -0.5240424275, 0.5305564404, -0.7230506539, -0.8743813038, 0.7767106295, -0.1916816682, 0.2845179737, 0.452275753, 0.6831886768, 0.1312482506, 1.1702820063, 0.7367295027, -0.0043285936, 0.3321380913, -0.3463066816, 0.3242071569, -0.5655887127, -0.3967329562, -0.6865285635, 0.0622066893, -0.352971673, -1.0095618963, 0.0466314666, 0.2923477292, 0.0567285791, 0.3981404305, -0.3315089941, 0.4364873171, 0.4849331081, -0.0518820994, 0.2888396978, 0.2132335603, -0.3136184216, 0.1538842767, -1.0128816366, -0.2574756145, 1.2294595242, 0.3522218466, 0.7026070952, 0.1391077638, 0.8677321076, 0.1696299613, 0.0805630758, -0.7787725329, 0.5709235668, -0.4966801107, -0.5421512127, -0.077901423, -0.4392739534, -0.7921594977, 0.2710513175, -0.1308701485, -0.5454072952, 0.4411331117, 0.0217296761, -0.4153676629, 0.4185326099, -0.8333794475, 0.5742927194, -0.0758714303, -0.0562730506, -0.6371172071, -0.2692146003, 0.635733664, -0.1712807268, 0.0489201136, -0.095424816, -0.0469728187, 0.6565110087, -0.3370599747, 0.5360145569, -0.1370098591, -0.2713935673, 0.1226579547, 0.1904368997, 1.0070492029, 0.0987498537, -0.5819391012, 0.1021652743, 0.1368238628, -0.5655430555, -0.4566672742, 0.7567703724, -0.8819537163, -0.4887748361, -0.3202027678, -0.6789352298, -0.1584530771, 0.1668918133, 0.6211954355, 0.4280264676, 0.0725527331, -0.0723410994, 0.3969450593, -0.0782697573, 0.3620518446, 0.681571126, 0.0487007014, -0.1308140457, 0.5945371389, 0.0426599644, 0.3170770705, 0.2609199286, -0.3277068436, -0.5171707869, -1.2757331133, -0.2990255654, 0.2510142624, -0.8950765133, -0.2976004183, -0.8968150616, -0.1799905002, -0.6774178743, -0.1251177341, -0.7182915211, -0.3128811121, -0.1622627676, -0.1638072282, 0.3749237061, 0.7881805301, -0.0909246728, 0.4379088879, -0.5879503489, 0.5577199459, -0.0293251146, 0.5013080835, 0.0603990965, -0.6025673151, -0.3285328746, 0.0230112411, 0.3529758155, -0.6026092172, 0.2923372686, -0.3238072693, 0.5958319306, 0.6065511703, 0.2721086442, 0.924010098, -0.5150449872, 0.533056438, -0.068728216, -0.6159571409, 0.2774456739, -0.4298624396, 0.2312858403, 0.4298236966, 0.2285934985, -0.4549055398, -0.3642170727, -0.5495727062, -1.0181524754, 1.0518827438, -0.11876259, 0.0255599096, -0.2535550892, 0.5030209422, 0.2721672058, -0.1252372563, -0.0562484711, -0.398311615, 0.1075550318, -0.0034908941, -0.3865471482, -0.9693795443, 0.0507460497, 0.0156942774, 0.4004137814, -0.0804278105, 0.4243893921, -0.2542684674, -0.0293382872, -0.1878468394, 0.0715995356, 0.4945305288, 0.0504901558, -0.3245369494, 0.1932495981, 0.05707651, -0.3854673803, 0.2342462391, -0.0043259589, -0.2500732839, -0.1051996127, 0.3478096426, 0.9703671336, 0.2764919698, -0.5368788242, 0.213082552, -0.2405920327, -0.3834033012, -0.0464671068, -0.0020301701, 0.1906298697, 0.5766242146, 0.33944875, 0.5320754051, 0.1968719214, -0.3892368078, 0.1690902263, 0.1569118947, 0.3332254291, -0.1413551569, 0.6542339921, 0.1377657354, -0.1019187868, 0.8694886565, -0.4014815986, -0.3809595108, 0.7244981527, 0.7884819508, 0.8454701304, -0.002963854, 0.2922841012, 0.17715469, 0.2718966305, -0.5369700789, 0.3884884715, -0.0015771912, -0.8254653811, -0.4804752171, -0.6703910828, -0.2978936136, 0.0098353559, -0.6454874277, 0.0992203653, -0.3664933145, -0.1991953254, -0.1708562821, 0.0347501114, -0.8167204857, -0.1312850267, 0.3348786235, 1.0993448496, -0.8385773897, 0.9190406203, 0.4443287849, 0.1602939665, -0.9884502888, 0.0836160481, 0.0849424228, -0.7551580071, 0.6921921372, -0.0048405696, -0.0933796912, 0.2876216471, -0.1392112672, -1.3524729013, 0.9779748917, 0.4965587556, -0.5594062209, -0.0556861982, -0.0676143989, 0.5026207566, -0.4135752022, 0.6527916193, 0.6348323822, 0.2403739542, 0.3868196011, -0.6493695378, 0.235218823, -0.3233394921, 0.0731130689, -0.0502161235, -0.7378755212, 0.9455776811, -0.4032190144, -0.382730633, 0.318981111, 0.5900617838, 0.500549674, 0.0866213739, 0.5322260857, 0.4652671218, 0.7589440942, 0.0507327877, 1.1774874926, -0.3398952484, 0.0747798532, 0.8175984025, -0.5546984076, 1.0781544447, 0.1791270524, -0.1185067967, 0.3110054731, 0.8729469776, 0.0669715255, 0.567076683, 0.0524390116, -0.0926263258, -0.3278486431, -0.1037954539, -0.4427813888, 0.5013439655, 0.4646891356, 0.030812962, -0.3761534393, -0.0605957322, -0.243214488, -0.1229447052, -0.0519362167, 0.617675364, -0.1251408309, -0.7602062821, 0.8025346398, 0.5655758381, 0.8842448592, -0.6824659109, 0.4520333111, -0.4736705124, 0.2765587568, -0.1645651907, -0.5011205673, 0.238656491, 0.0146215623, -0.425737083, -0.4812785387, 0.5340080857, -0.4513169229, -0.5011469126, 0.4927974045, 0.430406034, 0.2386501729, -0.1618821174, -0.5502638221, 0.5536018014, -0.1456750184, -0.2488136888, 0.337241441, 0.5230972767, -0.3322374225, 0.7912997007, 0.9487416744, 0.2196108252, 0.3021918833, 0.4043770432, 0.970916748, -0.5438617468, -0.8523387313, -0.5315904021, 0.3643934727, 0.1335907876, -0.0409980975, 0.9153614044, 0.6046238542, 0.5092251897, -0.0876259729, 0.6398388743, 0.1547629386, 0.3900176883, -0.5729500651, 0.4424951971, -0.3526622057, 0.6115903854, 0.0461888202, -0.8489052057, -0.1338808388, 0.2431240529, -0.0649012551, -0.0783055127, 0.7357305288, 0.982298255, -0.0209914949, 0.024840096, 0.1638095826, 0.1944524646, 0.2431870848, 0.4712782502, 0.8883598447, -0.5330656767, 0.5516836643, -0.3463744223, -0.0733871236, -0.4537321329, -0.6916197538, -0.9069918394, -0.3875550926, -0.2388551086, -0.2896558046, 0.2110609412, 0.887362361, 0.9557583928, -0.6965727806, -0.2999050915, -0.0496873744, 0.0194912124, -0.3998559713, -0.159965381, 0.4298233092, -0.4182131588, -0.7457208037, 0.7748134732, 0.293420136, 0.0268939473, -0.0895449519, -0.1336144954, -0.0926316008, 0.1469794065, 0.6299538612, 0.0259192642, -0.7566952109, -0.1059410423, 0.0721151307, -0.3633704185, -0.4257345498, 1.019748807, -0.7349802852, 0.1498132795, 0.6956635118, 0.5753615499, 0.7122097611, 0.0118534239, 0.5980709195, -0.6102115512, 0.7508844733, 0.1656501144, 0.1933787018, -0.0106495563, -0.6079439521, 0.2912090719, 0.3021951616, -0.1932554692, -1.1105217934, 0.2742758095, -0.9528305531, -0.4253216088, 1.3447936773, -0.0007528082, 0.2320068032, -0.192650944, -0.111146681, 0.1469125599, -0.4320759475, 0.6789630651, 0.5126240849, 0.1783916056, -0.2108702064, -0.2269139588, 0.5370813608, 0.506279707, -0.4578593671, 0.3331230581, 0.3460942507, 0.0898558423, -0.1531324834, 0.8128786683, 0.1174144074, 0.1124723405, 0.6303403974, -0.1518595368, -0.2435567826, -0.4162480831, -0.2139935195, 0.287201345, 0.1267567128, 0.0800326169 ]
http://arxiv.org/abs/2407.01948v1
http://arxiv.org/pdf/2407.01948v1
Extracting and Encoding: Leveraging Large Language Models and Medical Knowledge to Enhance Radiological Text Representation
2024-07-02T04:39:19
2024-07-02T04:39:19
Pablo Messina, René Vidal, Denis Parra, Álvaro Soto, Vladimir Araujo
cs.CL
cs.CL, cs.AI, cs.LG
Advancing representation learning in specialized fields like medicine remains challenging due to the scarcity of expert annotations for text and images. To tackle this issue, we present a novel two-stage framework designed to extract high-quality factual statements from free-text radiology reports in order to improve the representations of text encoders and, consequently, their performance on various downstream tasks. In the first stage, we propose a \textit{Fact Extractor} that leverages large language models (LLMs) to identify factual statements from well-curated domain-specific datasets. In the second stage, we introduce a \textit{Fact Encoder} (CXRFE) based on a BERT model fine-tuned with objective functions designed to improve its representations using the extracted factual data. Our framework also includes a new embedding-based metric (CXRFEScore) for evaluating chest X-ray text generation systems, leveraging both stages of our approach. Extensive evaluations show that our fact extractor and encoder outperform current state-of-the-art methods in tasks such as sentence ranking, natural language inference, and label extraction from radiology reports. Additionally, our metric proves to be more robust and effective than existing metrics commonly used in the radiology report generation literature. The code of this project is available at \url{https://github.com/PabloMessina/CXR-Fact-Encoder}.
[ -0.0288335811, -0.4237917364, 1.0010010004, -0.0790900812, -0.343931973, -0.0645171255, -0.1801749617, -0.6352469325, -0.0059849792, 0.5612229109, -0.0665416569, -0.5478228927, -1.0780932903, 0.0251261219, -0.3383129835, 1.1206902266, 0.1232836917, 0.3076559901, -0.4126185477, 0.0798010305, -0.3566905856, -0.3363801837, -0.4467607439, -0.4382820129, 0.4616045952, 0.5333898664, 0.9665956497, 1.011190176, 0.7174463868, 0.0917518586, 0.2004457712, 0.3409038782, -0.3134151101, 0.1988190114, -0.1138979942, -0.2037291974, -0.0857456997, -0.1880080849, 0.459120363, 0.3537004888, -0.1660647392, -0.1208275408, -0.1616948396, 0.3975902796, -0.6055166125, 0.5490810275, -0.196442917, -0.0089876195, -0.0024811653, -0.5111581683, -0.6958132982, -0.5414724946, 0.2303664684, -0.4687447846, 0.1494609118, 0.0839443505, 1.1596002579, -0.001066434, -0.4324957728, -0.7400434017, -0.5116926432, 0.5789194703, -0.546934545, 0.6705781221, 0.1990588307, 0.2606996298, 0.2716566026, -1.1255482435, -0.1924417615, -0.150505662, -0.3653865457, 0.1099009365, -0.3413738608, 0.046267204, 0.21659863, 0.506224215, -0.7124807835, -0.0251319893, -0.3351599574, -0.294637084, 0.5391270518, -0.0608025864, 0.4571661055, -0.4815965891, -0.4003150165, -0.2967773676, -0.7503028512, -0.4504650235, -0.5412580967, 0.1235995516, -0.1874916404, 0.5541152954, -0.0742516741, 0.2558319271, -0.0136302505, -0.414878726, 0.4826167822, -0.0132678729, -0.3065219223, 0.33575809, 0.6643252373, 0.1665623933, -0.1448773444, -0.3876775801, -0.2298465222, 0.0097055184, 0.1312762648, -1.0596812963, -0.1734282076, 0.2662576139, -0.8325376511, -0.4682640433, 0.1630980521, -0.7823780179, -0.5699700117, -0.0487972125, 0.5908919573, -0.7024534941, -0.2110835016, 0.449890554, -0.1383021474, 0.1603291929, 0.0590210892, -0.5966384411, 0.2163820416, 0.6070956588, 0.8285816312, 0.2261386663, 0.4595683217, -0.7899239063, 0.215214178, -0.2783122063, 0.8111687899, -0.5393568873, -0.4503157139, 0.0719899833, -0.0678203851, 0.2033344656, -0.5938577056, 0.8631196022, -0.6801283956, 0.237422511, -0.1607786715, -0.5887351036, -0.1126739085, 0.2205021083, -0.6395079494, 0.8690069914, 0.0731819123, -0.7123582959, 0.3079323173, -0.510925591, -0.4602406919, 0.2009778917, -0.6746804714, -0.5177795291, 0.2910156846, 0.5736572146, 0.6804336905, -0.843559444, 0.398647964, 0.1921458393, -0.0097969938, 0.5187636614, -0.2424842566, 0.5691529512, 0.3450943232, -0.1679191738, -0.259311229, -0.8524734378, 0.0179446712, 0.2378068268, -0.4760876596, -0.1565217823, 0.1501121521, -0.012872763, 0.3128932416, -0.0042734286, -1.0450617075, -0.0336454324, -0.3871447444, 0.0326859318, 0.1494449228, 0.3079393804, 0.1629988402, -0.6429079175, 0.3322615623, 0.0309314057, -0.0311437752, -0.343747288, -0.2905421257, -0.5674639344, -0.7271177769, 0.3722899258, 0.5325393081, -0.868339777, 0.1697259545, -0.6079213619, -0.4363598228, -0.4376153052, -0.2358837128, 0.505500257, 0.6346854568, 0.3992543817, -0.348164022, -0.6492062807, -0.6936427951, 0.1351951808, -0.0225015543, -0.0602796264, 0.0474700071, 0.2393588424, -0.2110471129, 0.8091852665, -1.0297726393, -0.3935153186, -0.2516477108, 0.4760934412, 0.2493115366, 0.3940523565, 0.4716755748, -0.7224617004, -0.1591026932, 0.2616858184, -1.232988596, -0.0330889039, -0.2683256269, 0.1180261523, 0.1387541741, 0.6021654606, -0.4687448144, 0.3562448919, 0.5421480536, -0.2436692119, 0.3800434172, -0.3277150691, 0.2593567669, -0.8733196855, 0.0612114072, 0.1084225997, -0.4947595596, -0.4559712112, 0.144261986, 0.1619143039, -0.3500501513, -0.1380759329, 0.2867259383, -0.6826499701, 0.0833850726, -0.2299790978, -0.0088723665, 0.2492381632, 0.0737574026, 0.4308374524, 0.3101694286, 0.5288074017, -0.3342293501, 0.0275559053, 0.3586224318, -0.6079059839, 0.1136334613, -0.5791040659, 0.140221104, -0.3510401249, 0.1186038479, -0.6036971211, -0.3464766741, 0.1734647453, -0.5376859307, 0.6565411687, -0.1030504778, -0.6673344374, -0.1928989589, -0.1085653007, 0.0191394854, 0.7165412307, -0.4718878567, 0.6220162511, 0.4976578355, -0.3102520704, -0.4968039691, -0.8324943185, 0.2334186882, 0.3583869636, -0.5264325142, 0.2813553214, 0.104887642, -0.1032078117, 0.2765390575, 0.023768099, -0.3191658556, -0.1474652439, 0.1649586558, 0.3028843403, -0.4613415897, 0.2855835557, 0.2663960457, -0.2896516025, 0.3277701139, -0.2936484516, 0.2455260754, 0.1571980715, -0.3659776151, -0.319262743, 0.5676927567, 0.5042958856, -0.2911193669, 0.5598504543, 0.5582039356, -0.6316580772, 0.0039227135, -0.5405349731, -0.2014242262, -0.3597792387, 0.7004146576, -0.0413516089, -0.9036245346, 0.0065283529, -0.0495004803, 0.0686411336, 0.4509847462, 0.6491484046, 0.0610856228, 1.1354600191, 0.5876969695, 0.4148345888, -0.0455203876, -0.1216355339, 0.1934775561, -0.5327345729, -0.5109868646, -0.5388661623, 0.3397302628, -0.3866527379, -0.7552092671, 0.7316932082, -0.2969729602, 0.1498300582, -0.2902923524, -0.503673315, 0.3961186409, 0.0571930967, 0.5261674523, 0.3443188369, 0.3457228541, 0.0729366392, -0.2169872671, -0.8272510171, -0.4873501956, 1.1323077679, 0.4988945425, 0.6220682859, 0.2243295312, 0.8436312675, 0.4296734631, 0.5952753425, -0.9095102549, 0.2587826252, -0.5499324799, -0.6396101117, 0.1562019736, -0.309607923, -0.7633361816, 0.152172938, -0.6585426927, -0.3706258237, 0.3669247925, -0.1395746619, -0.4436308742, 0.1677152961, -0.3314508498, 0.3230269551, -0.272872895, -0.3106831908, -0.4455744326, -0.5359413028, 0.247647807, -0.1042291969, 0.5070859194, -0.0072277999, 0.0294773709, 0.6253240705, -0.4049039483, 0.8482996225, -0.2872814238, -0.1134810224, 0.227444008, 0.1319891959, 0.3013848066, 0.2694699764, -0.2222898453, 0.1464328319, 0.1382676512, -0.2147646993, -0.544231832, 0.4756917655, -0.7550587058, -0.393040657, -0.7876389027, -0.5833288431, -0.1993094236, 0.296512574, 0.2738556266, 1.1860255003, -0.4192302227, 0.3389882445, 1.0194330215, -0.4753091931, 0.0121147381, 0.367844969, -0.182629481, -0.650591433, 1.0945832729, 0.0448458716, 0.0239458084, 0.9323611856, 0.3511051536, -0.1829476058, -0.6676909328, -0.371237576, 0.5653241277, -0.9796113372, -0.5889320374, -0.78292799, -0.4303584099, -0.4278244376, -0.1777454466, -0.1249785945, -0.4555053711, -0.3267746568, -0.0728927702, 0.2649178803, 0.9206090569, -0.4496240616, 0.2120832801, -1.205774188, 0.2035343349, -0.0084754173, 0.0949425176, -0.1750151217, -0.3898768425, -0.755710125, -0.3721352816, -0.192108348, -0.7880099416, 0.5132023692, 0.1962168068, 0.4357036948, 0.5116038918, 0.0319985561, 0.2779682279, -0.2370684296, 0.5522794127, 0.3533218205, -0.7175629139, 0.4398009479, -0.2777711451, 0.0978863835, 0.2662061453, 0.4299705625, -0.4794079661, -0.2746039927, -0.5488649607, -0.6627177, 0.6545343995, -0.0004225543, -0.0109369103, -0.3947237432, 0.5169562697, 0.2083711326, -0.2003296614, -0.5803221464, -0.0997946933, -0.2008181214, -0.6167032123, 0.1685690731, -0.8037467599, -0.316963166, 0.0368712991, 0.7395784855, -0.2367897183, 0.5769942403, 0.59618783, -0.4594720602, 0.1371034682, 0.3068051338, 0.4125057161, 0.5768995881, -0.3549711406, 0.2979803085, -0.168611899, -0.5644065738, 0.0081680175, 0.1309251487, 0.0228461437, 0.209469229, 0.7257517576, 0.4822763801, 0.4476848841, -0.7356523275, 0.7444735169, -0.2458263785, -0.300961405, -0.0483686365, -0.1306049526, -0.0678028017, 0.0974568501, 0.4601999521, 0.0352964997, 0.3262894154, -0.2475077063, 0.5910372138, 0.0360198021, -0.5922890902, -0.2383462936, 0.4663377106, 0.2466675192, 0.4372625649, 0.5537884235, 0.0275797546, -0.0512641594, 0.4137942791, 0.7941140532, 0.6789944768, 0.1163613424, 0.4013288319, 0.6462202668, 0.1877616495, -0.1570364982, 0.2352129519, 0.205014661, -0.6910744309, -0.6773162484, -0.2323764712, -0.2278821766, -0.205414325, -0.9642281532, 0.3232858181, -0.5702006221, 0.0321385898, -0.0487934016, -0.0605122112, -0.4819189906, 0.6339364052, 0.4998954833, 0.9771012068, -0.7440035939, 0.8856856227, 0.4710652232, -0.3956616223, -0.8321277499, -0.1453802288, 0.0883081779, -0.935752213, 0.7076449394, 0.0753435567, -0.1054299623, -0.2215564549, -0.4156702161, -0.9573251605, 1.1111955643, 0.4298030734, -0.5356758833, -0.1025939584, 0.0334642977, 0.3265317976, -0.6938796043, 0.2741669714, 0.4162550867, 0.1974308193, 0.117112726, -0.5345501304, 0.5224326849, -0.0162663665, -0.2898259163, 0.0126337986, -0.2802168727, 0.4667755067, -0.3495452106, -0.3759950697, 0.0816709697, 0.7841826677, 0.0621728934, 0.2176158577, 0.2434812784, 0.4720847607, 0.9204419851, -0.1253903657, 1.3937284946, -0.2554703951, 0.3607768118, 0.8162215352, -0.14933303, 0.5998824239, 0.127311632, 0.3969760239, 0.8664461374, 0.2042398751, 0.0349878334, 0.6482461691, -0.2696937919, -0.2765468061, -0.4237669408, -0.2842592597, -0.3518983722, 0.5809811354, 0.5799082518, -0.7632367611, -0.2889490128, 0.1239591017, 0.4794017076, -0.0665500164, -0.1101548523, 0.8338046074, 0.1182569191, -0.4071111977, 0.6074435115, 0.0757617429, 0.3443685472, -0.8209264874, -0.2019552737, 0.0530586839, 0.2345017642, -0.3646875918, -0.7551399469, 0.4371586144, 0.025155969, -0.4873477221, -0.1988172084, 0.8896553516, -0.3763296008, -0.5536090136, 0.1519702524, 0.3827774525, -0.0180097278, 0.3161916137, -0.3987159431, 0.4283355772, 0.2477437109, 0.0209181327, 0.2300817668, 0.4144614339, 0.0295977406, 0.358119756, 0.4872488379, 0.3210325837, -0.5166810751, 0.0475244448, 0.9827512503, -0.4942699671, -0.3477503657, -0.58478266, 0.4498218298, -0.1146143302, -0.0950694755, 0.2652086616, 0.6051670313, 0.3749071062, 0.0246921759, 1.0113272667, -0.3221504986, 0.5606675744, -0.7991321683, 0.7850883007, -0.3854888976, 0.1379138231, -0.0186536107, -0.2473323196, -0.6786033511, 0.4652979672, -0.0811561421, -0.3251713812, 0.9506550431, 0.8466697931, 0.014644823, 0.1910907328, 0.3500371873, 0.5380777121, 0.5856816769, 0.3450519145, 0.5226237178, -0.4590908587, 0.7596651316, -0.1135093868, -0.4571055472, -0.1748008281, -0.8685677052, -0.4835019708, -0.4480882585, -0.6914801002, -0.6311154366, 0.1290422231, 1.0096501112, 0.979164362, -0.6184827685, 0.053357441, 0.414434582, -0.0785838515, -0.1221952289, -0.19363451, 0.624006331, -0.3330453336, -0.3313343525, 0.3925661743, 0.3872731626, -0.2622820139, 0.1104167402, -0.0236575138, -0.0327528156, 0.1361413896, 0.7824119329, 0.2491613328, -0.2184858173, -0.5651251078, -0.0361604206, -0.2820563316, 0.379948765, 0.9895066023, -0.9414778948, 0.6149453521, 0.3870668113, 0.7510293126, 0.608104527, -0.3105509281, 0.4877132773, -0.8328909874, -0.059306819, 0.2318504006, 0.2921171188, 0.6329381466, -0.5533903241, 0.2558330297, 0.2718600929, -0.5304843783, -0.7913521528, 0.1092465967, -0.9736811519, -0.4456557631, 1.0998243093, -0.1405002475, -0.1724974364, -0.2272967398, -0.2422957569, 0.3551893234, -0.3742956519, 0.5980865955, 0.2821684182, -0.413464874, -0.3116499484, -0.2001038343, 0.3311483264, 0.1732873917, -0.7795995474, -0.0952460095, 0.6133463979, 0.4799831212, 0.2834065855, 0.7878930569, -0.7087182999, 0.5661673546, -0.0559151806, 0.3070159853, -0.1809630096, -0.1855086386, -0.2802456617, 0.443885088, 0.3048632741, -0.0040118629 ]
http://arxiv.org/abs/2407.01942v1
http://arxiv.org/pdf/2407.01942v1
Certainly Uncertain: A Benchmark and Metric for Multimodal Epistemic and Aleatoric Awareness
2024-07-02T04:23:54
2024-07-02T04:23:54
Khyathi Raghavi Chandu, Linjie Li, Anas Awadalla, Ximing Lu, Jae Sung Park, Jack Hessel, Lijuan Wang, Yejin Choi
cs.AI
cs.AI, cs.CL, cs.CV
The ability to acknowledge the inevitable uncertainty in their knowledge and reasoning is a prerequisite for AI systems to be truly truthful and reliable. In this paper, we present a taxonomy of uncertainty specific to vision-language AI systems, distinguishing between epistemic uncertainty (arising from a lack of information) and aleatoric uncertainty (due to inherent unpredictability), and further explore finer categories within. Based on this taxonomy, we synthesize a benchmark dataset, CertainlyUncertain, featuring 178K visual question answering (VQA) samples as contrastive pairs. This is achieved by 1) inpainting images to make previously answerable questions into unanswerable ones; and 2) using image captions to prompt large language models for both answerable and unanswerable questions. Additionally, we introduce a new metric confidence-weighted accuracy, that is well correlated with both accuracy and calibration error, to address the shortcomings of existing metrics.
[ -0.3997449279, -0.8696398139, 0.7754283547, 0.0045799324, 0.1454970688, 0.1091984734, 0.0045283893, -0.459207207, 0.0467884839, -0.0350127332, -0.3179660439, -0.0874431282, -0.7644456029, -0.0431732237, -0.2436380088, 0.4549710453, -0.2360245883, -0.0189645011, -0.4014651477, -0.5443688035, -0.3622298837, -0.0658018216, -0.2620440125, 0.1123538017, 0.5285074115, 0.3170352578, 0.903523922, 0.4449861944, 0.8424690366, 0.3718421161, 0.2545335293, 0.1313280612, 0.0780482814, 0.0831177682, -0.2024293393, -0.8039439321, -0.2030301392, -0.1601004601, 0.4369318187, 0.5903931856, -0.2240132987, 0.3391883373, -0.2077002823, 0.435985744, -1.0370748043, 0.221009776, -0.7151376605, 0.1671932191, 0.188721627, 0.0481180139, 0.0665589646, -0.1155346781, 0.3938173354, -1.1827327013, -0.3308250308, 0.2113165557, 1.1079976559, 1.1958639622, -0.1386589706, -0.170031026, -0.6397216916, 0.8089805245, -0.4067562521, 0.5047900081, 0.4994507432, 0.6361428499, 0.3321241736, -0.8443065286, -0.7156108022, 0.2132397741, 0.2145677507, 0.5669583082, -0.5292013884, 0.1282755286, -0.0377700515, 0.0729068592, -0.3410545886, -0.182711333, -0.0052663535, -0.4185108542, 0.2241377532, 0.0415183716, 0.1476220787, 0.0350097604, -0.4889810979, -0.2336286306, -0.2136550695, 0.3042075932, 0.103401117, -0.2117083073, -0.2628076673, 0.7666381598, -0.4581399858, 0.8136466146, -0.2053633034, -0.098131977, 0.3798799515, -0.3549433053, -0.324385494, -0.3165356517, 0.6376771927, 0.617302835, 0.2517395914, 0.0515830331, -0.2402882129, 0.3725925386, 0.3847347796, -0.2194624245, -0.3924188018, 0.5469561219, -0.0412969328, 0.022421876, 0.173370868, -0.5952902436, -0.3364904523, -0.0520310476, 0.8546305895, -0.5296136141, -0.1465920955, -0.0339627489, -0.1926992685, 0.3377708793, 0.9708358049, -0.3156839907, -0.2419779301, 0.3394897878, 0.533657074, 0.0690118596, -0.4937937558, -0.3144845963, -0.0394317694, -0.6682950258, 0.7771717906, -0.5342519879, 0.148522988, -0.0250880457, -0.1535301208, -0.1611804217, -0.3582815528, 0.4778588116, -0.4948200583, -0.0554912761, -0.086431317, -0.548283875, -0.4096585214, 0.7651706338, -0.5589686632, 0.8185561895, 0.1456713974, -0.7725387216, 0.5142927766, -0.2153825462, 0.1276106536, 0.1618915349, -0.540682137, -0.291082114, -0.0716372132, 0.2516427338, 0.4809477031, -0.1829899251, 0.2805291712, -0.3013484478, -0.2316143811, 0.6312255859, -0.6970763803, 0.2229575962, 0.2433145344, -0.1557478756, -0.0450053848, -0.7872034907, 0.4786618054, -0.2502574027, -0.276588589, -0.2956402898, 0.0205933657, -0.082552366, 0.1302461326, 0.6378532052, -0.4457423389, -0.2885719836, -0.0536202416, 0.2997200787, 0.8155113459, -0.0528373457, 0.2666787803, -0.4849676192, 0.3639044762, 0.2543235421, 0.3039723039, -0.2292447537, -0.8644655347, -1.1121070385, -0.2677319348, 0.1175006256, 0.9313039184, -1.2112067938, 0.172030583, -0.2410246283, -0.6108102798, -0.8259391785, 0.0050357943, 0.600846827, 0.605760932, 0.2720091045, -0.2707333267, -0.1827548295, -0.8798599243, -0.1764586717, -0.7738555074, 0.064813979, 0.602257669, 0.4859577715, -0.1353066862, 0.699925065, -0.2846319377, -0.0351499692, 0.3999595344, 0.3491825163, 0.0799683481, 0.2541611493, 0.3541516662, -1.2219340801, -0.393853575, 0.1130302623, -0.9945132136, 0.371284157, -0.2177431583, 0.049930878, -0.0145544559, 0.4147142768, -0.4430438876, 0.6244187951, 0.3471307158, 0.0795793161, 0.3285969794, -0.3409927785, 0.4757101536, -0.890466392, 0.0474421754, 0.1569732726, -0.0522354357, -0.5424876213, 0.1799937338, 0.1555320472, 0.4725330174, -0.6437714696, 0.4003074169, -0.2131906599, 0.0555618331, 0.3729088008, 0.0434940718, -0.0297482014, 0.4700062275, 0.1291041225, 0.9646859765, 1.0057519674, -0.536703527, 0.555101335, 0.3243630826, -0.7386670709, 1.0095831156, -0.7311321497, -0.2501390278, -0.2260757238, -0.4300086796, -1.3070975542, -0.5881935358, 0.2524948418, -0.9493475556, 0.1138756946, 0.1274755895, -0.2457468212, -0.3237391114, 0.0488984361, 0.3715062141, 0.2844232619, -0.1655966192, 0.5724387765, 0.2405094355, -0.0524169728, -1.0831471682, -0.8772188425, 0.0532830767, -0.0271702502, -0.2643864751, -0.1411494166, -0.2200661004, -0.6680940986, 0.0869903192, -0.0842677206, -0.3604424894, 0.2593394816, 0.5775505304, 0.3643469214, -0.1831963807, 0.2669246495, -0.3827905059, -0.0181033574, -0.1495400518, -0.2504458725, 0.041846998, -0.683558166, -0.7896460295, -0.4849645197, 0.1221947744, 0.6349335909, -0.1317057908, 0.4702882171, 0.5968926549, -0.5901711583, 0.199255839, -0.6033639312, 0.220138818, -0.3845417202, 0.3819265962, -0.4262372553, -0.8215628862, 0.7044631243, 0.1345205456, -0.1158057079, 0.5701892972, 0.478015691, -0.5276276469, 0.7432770133, 0.6308109164, 0.0581301562, 0.1406284869, 0.0310702082, -0.0188540127, -0.4104211628, -0.3771890104, -0.4686825871, -0.1843330562, -0.5780934691, -0.6024511456, 0.6505971551, -0.1621483713, -0.4313013554, -0.088603057, -0.445064038, 0.25435251, 0.8002009392, 0.0091416026, 0.1062552407, -0.2128374577, 0.045235984, 0.0342366099, -0.7271407247, -0.3799009919, 1.0254222155, 0.2003017217, 0.9899148941, 0.2910180092, 0.1846994162, 0.1996442527, 0.008393839, -0.6385130286, 0.1245917752, 0.23103486, -0.9086185098, -0.4999207854, -0.2811051607, -0.5109393001, -0.0331635661, -0.4242906868, -0.9374478459, 0.377058804, 0.1897148788, -0.8382874131, 0.4113552868, -0.7046886086, 0.6720362306, -0.1953578442, -0.2903359234, 0.1395820528, -1.3400923014, 0.0428925641, -0.194607228, 0.2737612128, -0.0388790406, -0.4426014721, 0.3522290289, -0.0841954947, 0.7102609277, 0.2346720994, 0.316642195, 0.5733991861, -0.0020876394, 0.1603124887, 0.0263243206, 0.1172173545, 0.2414553165, 0.2367526144, -0.4094865322, -0.5212177634, 0.1697982699, -0.9992688894, -0.4683232307, -0.5421904922, -0.4636827111, -0.4082161784, 0.0401240587, 0.4549061954, 0.083338663, -0.0334793516, 0.1065519974, 0.9882637858, -0.3457735181, 0.2868935168, 0.1983161718, 0.182686165, -0.4949548542, 0.8880144954, 0.0868702456, 0.3864307404, 0.8260318041, -0.2078133672, -0.2345357984, -0.391762197, -0.6086379886, -0.3042814732, -0.8791265488, -0.2657658756, -0.5664263368, -0.4266057312, -0.1091820374, -0.2322678715, -0.4550347924, -0.6044794917, -0.2539787591, -0.0050900779, 0.3114679456, 0.6626971364, -0.1859102994, 0.2563846111, -0.591338098, 0.3696783483, 0.6091461182, 0.4369980693, -0.3507325649, -0.5925930738, -0.1649135798, 0.2074692994, 0.0724232569, -0.5606060624, 0.045893427, 0.3852172494, 0.8539612889, 0.6880696416, 0.246387586, 0.5142003298, -0.2856542468, 0.7975931764, 0.3896057606, -0.6282269359, 0.5089206696, -0.1481091231, 0.2956700325, 0.9630602598, 0.4294107258, -0.4622088075, -0.5043894649, -0.5730289221, -0.7885872722, 0.3516466916, 0.175365597, 0.0152144069, 0.1889819354, 0.1608598977, -0.0004121927, 0.5587432981, -0.3324582875, -0.4301655591, -0.4623437524, -0.2550097108, -0.1966446191, 0.0861020088, -0.432710737, -0.0903144553, 0.4160094857, -0.3038894236, 0.399653703, 0.3419640064, -0.0854166597, 0.0064332038, 0.3386786282, 0.342395097, 0.7242797017, -0.3124954402, 0.3758075535, 0.1387647241, -0.554708302, 0.1925572604, -0.027266711, -0.1731462181, -0.2959115803, 0.603012383, 0.7284405828, -0.2092749327, -0.9912171364, 0.7373806238, -0.2927806973, 0.0139024854, -0.5447942019, 0.0203322005, -0.1649651527, 0.3506084085, 0.3493954241, 0.6143881679, 0.1027448252, -0.4723657966, 0.3320035636, 0.2890837491, -0.8014020324, -0.0091031641, 0.800901711, -0.0753026679, 0.0325717218, 0.4736908078, -0.0917863175, -0.4364120662, 0.81216079, -0.222312957, 0.4965423942, 0.0094368672, 0.3357397914, 0.2493346483, 0.691326797, 0.1159280315, 0.5631998181, -0.000269958, -1.2684237957, -0.0892976522, -0.4540992379, -0.7581353784, -0.3242866695, -0.8129828572, -0.2870515287, -0.6514736414, -0.3191256523, 0.1829693466, -0.467104435, -0.7881379724, 0.6967230439, -0.0189216267, 0.7391314507, -0.7822505236, 0.384991318, 1.1736279726, -0.6084299088, -0.8731794953, 0.0178292729, 0.1840649992, -1.0670365095, 0.2461685389, -0.1338249743, -0.1521264464, -0.2621107697, -0.7498191595, -0.8465021849, 1.0830255747, 0.2215657681, -0.195472762, 0.303397119, 0.0678722337, 0.4961509109, -0.1487696916, 0.439170897, 0.4185887873, 0.6562666297, 0.3496461809, -0.7456150055, -0.5133083463, -0.5060759783, -0.0861966237, -0.0939352885, -0.8127030134, 0.869165957, -0.4437082708, -0.1884913445, 0.3068356812, 0.5186596513, -0.1023574546, 0.4900766015, 0.4307782948, 0.8336840272, 0.8425878882, -0.5194604397, 0.9780112505, -0.3145053685, 0.0500916615, 1.1174105406, -0.0193618406, 0.9263967872, 0.7670670152, -0.371804893, 0.102000393, 0.9544684291, 0.1103688627, 0.4283751845, -0.2986819446, -0.2299194038, -0.7207017541, -0.2775490582, -0.2800565064, 0.5580157638, 0.650670886, -0.0178654194, 0.1316396594, -0.0746469349, -0.3621912301, 0.2005847543, -0.3480779529, 0.7893133163, -0.0876790434, -0.7806006074, 0.3689662516, -0.1964944601, 0.539971292, -0.4069315493, 0.0827033371, -0.0288082398, 0.0629987344, 0.0351482704, -1.3404947519, 0.0217957553, -0.2754060626, 0.0183462109, 0.23315534, 0.4209087789, -0.2060986608, -0.6268522143, -0.0106113004, 1.0404480696, 0.3002402484, 0.0926825777, -0.7742082477, -0.1842666417, -0.0204538982, -0.0719591901, -0.1834839731, 0.7116055489, 0.0642399862, 1.1711570024, 0.0179965012, -0.0136720557, 0.304682523, -0.1701842397, 0.6390659213, -0.0680272132, -0.1838625222, -0.3875975609, 0.7105973363, 0.1162577197, -0.7574469447, 0.6080781221, 0.2512238324, 0.9151489139, -0.005142842, 0.9640898705, -0.2862665355, 0.2208418995, -0.3482944071, 0.5939307809, -1.0509059429, -0.0892111659, -0.5396451354, -0.5964614153, -0.5775843859, 0.7502542138, -0.0437414944, -0.0416671559, 0.4803473055, 0.6944281459, 0.1667011529, -0.0273549967, 0.7444785237, 0.2036138326, -0.3479774296, 0.6806808114, 1.0102647543, -0.4463689923, 0.438627094, -0.2524546087, -0.2914251685, -0.0206068102, -0.6038632989, -0.3522276282, -1.0251796246, -0.347022444, -0.1675435752, 0.2151111811, 0.5503326058, 0.6864470243, -0.8339776397, 0.1827939898, 0.1233451515, 0.1795297414, -0.2781573832, -0.0528576635, 0.2072128952, -0.0362971164, -0.608609736, -0.1793628782, 0.4946586788, 0.4447386265, -0.1433794945, -0.1053068787, -0.3142442405, 0.2685027122, 0.0799290389, 0.4093788564, -0.8020181656, -0.6195812225, 0.0530383885, -0.2000045627, 0.2974493802, -0.0087331189, -0.4865252376, 0.9014121294, 0.1758840829, 0.8483840227, 0.1767570525, 0.1245061979, 0.2214751691, -0.626666069, 0.1956143677, 0.3176573217, 0.4911077917, 0.4587621689, -0.2602365911, 0.5946971178, 0.1712190062, -0.3418379724, -0.4994974136, 0.3153443038, -0.9749420285, -0.1375457644, 0.8459123373, -0.5661481023, -0.4325803816, -0.2344845384, 0.0658367947, 0.1051000506, -0.2634278834, 0.5471124649, 1.0875412226, -0.0989322588, -0.4198023677, -0.5891933441, 0.1316602677, 0.4241351485, -0.8812859654, -0.3276956975, 0.6048469543, -0.0592532828, 0.6601870656, 0.2667344511, 0.0793732256, 0.559884727, 0.551712513, 0.1502151191, 0.3680284917, -0.7256288528, -0.0985922292, 0.1656456143, 0.2979093492, -0.3417683542 ]
http://arxiv.org/abs/2407.01937v1
http://arxiv.org/pdf/2407.01937v1
Efficient-Empathy: Towards Efficient and Effective Selection of Empathy Data
2024-07-02T04:11:52
2024-07-02T04:11:52
Linzhuang Sun, Hao Liang, Jingxuan Wei, Linkun Sun, Bihui Yu, Bin Cui, Wentao Zhang
cs.CL
cs.CL
In recent years, with the rapid advancements in large language models (LLMs), achieving excellent empathetic response capability has become a crucial prerequisite. Consequently, managing and understanding large-scale video datasets has gained increasing importance. However, empathetic data are typically trained without any quality selection, leading to inefficient data usage and wasted computational resources. Additionally, using raw data can result in low performance in empathetic dialogues. In this work, we present Efficient-Empathy, a sensibility and rationality score-based data selection algorithm that automatically selects sensibility and rationality data while discarding low-quality data. With only the sensibility data (59% of the full dataset), our trained sensibility model efficiently achieves state-of-the-art (SoTA) performance. Furthermore, with multiple data selection hyperparameters, the sensibility model demonstrates SoTA performance, showcasing the robustness of our method. By integrating sensibility and rationality data with a MoE structure, we achieve even higher performance, demonstrating the effectiveness of our Efficient-Empathy algorithm.
[ -0.4375025332, -0.8222339749, 0.6806815863, 0.2819340527, -0.3100814223, -0.5431044102, -0.3102422357, -0.1593841016, 0.098480925, 0.0160231311, -0.4849435389, -0.4872336686, -0.6905546784, 0.072692275, 0.0569012873, 0.6115609407, -0.0774746388, 0.2710704505, -0.0589925721, -0.8027777672, -0.1620361954, -0.284337759, -0.6768118143, -0.183787182, 0.4678583741, 0.9289301634, 0.5370314121, 1.0207794905, 0.4628449976, 0.2754758596, 0.1265930235, 0.2718837559, -0.6812520027, 0.1920078695, -0.0636892617, -0.2362248152, -0.8852071762, 0.1850182116, 0.1804163903, 0.1351199299, -0.2218229175, 0.3885805309, -0.010103425, 0.6801646948, -0.5915821195, 0.080508627, -0.4367678165, 0.2176235169, 0.2486658841, -0.3451145887, -0.4899816513, -0.288382858, -0.0035900532, -0.6648123264, -0.3503336608, -0.0100864097, 0.6154789925, 0.2970760763, -0.1891743988, -0.1743714958, -0.1388411671, 1.0384999514, -0.2799031138, 0.3863788247, 0.6635088921, 0.3103317916, 0.4472568035, -0.3895734847, -0.540982008, -0.1668452173, 0.345802933, 0.2942913473, -0.3168285787, 0.088036865, 0.5733943582, 0.1118952557, -0.4595986903, 0.0510778464, 0.3194577992, 0.0313624628, 0.6476784945, 0.4982946515, 0.2957184911, -0.2418200225, -0.2324645668, -0.1823220104, -0.1685763299, 0.1484716386, 0.3832130134, 0.1095036939, -0.1888312846, 0.8121511936, -0.2895796001, 0.5075116754, 0.0670178011, -0.1113067493, 0.2920271158, 0.1031850204, -0.2586420476, -0.1487017572, 0.5994391441, 0.9029946923, 0.5160573125, 0.1245116368, -0.1555592865, 0.415938437, 0.1536279321, -1.0119259357, -0.1960449517, 0.3009192944, -0.745241046, -0.1001669839, -0.4713685811, -0.9144428372, -0.3065772057, -0.4922180772, 0.1022795811, -0.6289984584, -0.2802097499, -0.0713821426, -0.0415771976, 0.1471889317, 0.5313065052, -0.7585200071, 0.0910384357, 0.4473925531, 0.7855834961, 0.1510178298, -0.0894712657, -0.9887923598, -0.0531588756, -0.0397810712, 0.5806090236, -1.0980907679, -0.1649551839, -0.3168864548, -0.3685394824, -0.102812022, -0.2952938974, 1.0659778118, -0.2406119406, -0.1699408889, -0.2891580164, -0.6808975935, -0.3009445667, 0.5501102805, -0.7526733279, 0.5185962319, 0.3697311878, -0.8167099357, 0.6117570996, -0.639408648, -0.1531489938, -0.3618074656, -0.054777313, -0.2860934734, 0.0834381804, 0.3206115961, 0.8534096479, -0.3532351851, 0.2337499559, -0.5742586851, -0.2903731167, 0.1392797381, -0.6852647662, 0.5051289201, 0.4939633906, 0.0038485695, -0.067062676, -0.6450033784, 0.0380187146, -0.0074017826, -0.2001104504, -0.3659905195, -0.1721975207, 0.3017940819, 0.3670721948, -0.1537931412, -0.6957968473, 0.0747190714, -0.158827126, 0.3519586623, 0.8983033299, -0.3756463528, 0.7369749546, -0.2606133819, 0.6130436063, -0.0921267867, 0.5442598462, 0.0742462352, -0.3548817337, -0.2534301579, -0.9600998163, -0.1720469147, 0.5164340138, -0.4065730274, 0.5459430814, -0.2862102389, -0.6629698277, -0.794008553, 0.1488735378, 0.3666368723, 0.7906318903, 0.3296786547, -0.4049176276, -0.246162042, -0.8436922431, -0.5041760206, -0.0372558758, 0.0407305509, 0.8948628902, -0.0320097581, -0.2718783319, 0.8231192231, -0.4844811261, -0.2404386401, -0.3353410959, -0.1744379401, 0.2649220228, 0.4906669855, 0.4485520422, -0.9791871309, -0.6692521572, -0.0073878462, -0.7999213338, -0.0404829346, 0.0220791455, -0.4607509971, 0.2204383016, -0.0792920738, -0.9001644254, 0.488378346, 0.4931147993, -0.4832245409, -0.0425585955, 0.0975855514, 0.5620140433, -0.965509057, 0.3907043338, 0.2481120229, -0.1583141685, -0.5706605315, -0.458722949, 0.1565319598, 0.2686994672, -0.461836338, 0.7597998977, -0.1755330414, 0.1686825454, 0.3301174939, 0.0981426388, -0.0918826535, 0.7556279302, 0.1503204852, 0.2259016484, 0.7119859457, -0.3948306739, 0.5539638996, 0.6482067108, -0.1107490957, 0.9676485658, -0.1686660945, 0.0482200012, -0.2057870179, -0.1227369681, -0.5282161832, -0.587691009, 0.3845582902, -0.6208836436, 0.2087740004, -0.1632070243, -0.3229265213, 0.0521465242, -0.5082938075, 0.5010741949, 0.5651150346, -0.6368463039, 0.9507445097, 0.6286627054, -0.3770883381, -0.4827581644, -0.5030325651, -0.101912424, -0.5557359457, -0.4991859496, -0.3629652262, -0.1937574297, -0.2039931118, -0.0241022594, -0.0122376392, -0.1632595658, -0.0554306656, 0.2650090754, 0.1114637554, 0.2918035686, 0.1323292106, 0.3071532547, -0.329254806, 0.0035704838, 0.5383167267, 0.4678050876, -0.0469170697, -0.3283442259, -0.7778015733, 0.3613140583, 0.7207014561, -0.0602457821, 0.4788903892, 0.5480391383, -0.1933535933, -0.1411600709, -0.589661777, -0.3027943969, -0.3989158273, 0.3866349757, -0.4858075678, -0.6646611691, 0.575996995, 0.0599754602, -0.035055086, -0.1855526119, 0.429887265, 0.2096800208, 1.6282467842, 0.1889925897, -0.2232220173, 0.7339244485, -0.1854232252, 0.3160176277, -0.972968936, -0.1540492326, -0.2055482417, -0.2434302568, -0.480238229, -0.0445134118, 0.4488189518, -0.2575124502, -0.590415895, 0.0782129094, -0.5070355535, 0.2677741945, 0.2312830091, 0.5296267867, 0.1544105262, 0.0622051172, 0.3794632554, -0.184658587, -0.6534817219, -0.7128634453, 1.1480189562, 0.534271121, 0.7952035666, 0.0792288184, 0.4591140449, 0.1853602231, 0.7436664701, -1.0612876415, 0.7286113501, -0.137176767, -0.1490006894, -0.3929057419, -0.7079253793, -0.7243854403, 0.1029294133, -0.0969101638, -0.6331230998, 0.1260037124, 0.4884269536, -0.4076859951, 0.0793878511, -0.9501105547, 0.7977238297, 0.042518843, -0.8562369943, -0.4694291353, -0.652485013, 0.1861138791, -0.1620886177, -0.0398592576, -0.4286828041, 0.0715668499, 0.5581697822, -0.1939804256, 0.3663718104, -0.5966166854, 0.2234382927, 0.1834828109, 0.3114427328, 0.472142458, 0.393640548, -0.5885531306, -0.0114136795, -0.3000250459, -0.382550329, -0.7086964846, 0.6337526441, -0.5561734438, -0.2198844552, -0.0137053458, -0.3566666842, -0.4393717945, 0.0134451827, 0.0548050851, 0.5629204512, -0.1850258857, 0.273009181, 0.4891728461, -0.3281469941, 0.2874810398, 0.2362000793, 0.48014763, -0.5656093955, 0.9025697112, 0.071139887, 0.0974850506, 0.1908516884, 0.2826881707, -0.4378176928, 0.1340550035, -0.4606588483, -0.0141450744, -0.5849819779, -0.5110161901, -0.9860907197, 0.2400016189, -0.1496104151, -0.4133813977, -0.3397854567, -0.1077265814, -0.1583846509, -0.526894033, 0.6572096348, 0.1514552385, -0.3432478011, -0.0283522643, -0.9592292309, 0.5789157748, 0.2211261094, 0.5525708795, 0.1936994791, -0.4492443502, -0.1451229602, 0.1319092214, -0.1667241156, -0.588137567, 0.8165031075, 0.2486275285, 0.4763506949, 0.7154121995, 0.2067533433, 0.7289081812, -0.1922586262, 0.2418967038, 0.3233065605, -1.0249304771, 0.5467176437, -0.4117622077, -0.169066444, 0.7585965395, 0.3190971613, -0.1333135217, -0.1315176636, -0.6587266922, -0.9057407975, 0.9997515082, 0.1907798797, 0.3608235121, -0.0416545644, 0.1273951381, 0.3304283917, 0.1035830528, -0.2838739455, 0.2288175523, -0.268191725, -0.8136022687, -0.0447058491, -0.2054553628, -0.1322779059, -0.3610239625, 0.2632590234, -0.2449291348, 0.2952290177, 0.3832189143, -0.1582840681, -0.2976299226, 0.0906434879, -0.1379242688, 0.0450271368, -0.2552582324, -0.23021622, 0.2165012807, -0.6123688817, 0.1147069857, -0.2121445388, 0.1951306313, -0.4195324779, 0.2932059467, 0.713378787, -0.0407767817, -1.1425951719, 0.828853786, -0.2151100338, 0.1161352843, -0.0693381727, 0.1444258243, -0.2482868284, 0.3735020459, -0.1775215715, 0.1887485087, 0.5025601983, -0.5037189722, 0.3130049407, 0.2566425204, -0.1759735346, -0.3046682775, 0.2995648384, 0.2565547228, -0.1809670925, 0.9587617517, 0.1435954869, -0.1893303394, 0.5113596916, -0.0426348671, 0.9627316594, -0.3747855127, 0.2070821971, 0.478949964, -0.3513478637, -0.2844085693, 0.7394295335, -0.3827498257, -0.9231716394, -0.206013754, -0.4410071671, -0.4817040265, -0.3622839153, -1.2975434065, 0.0018234794, -0.2317861468, -0.4666701257, -0.470361501, -0.0625518337, -0.9757434726, 0.4300710857, -0.2166953534, 1.1427650452, -1.0191956758, 0.686283052, 0.4367410541, -0.2383602262, -1.1580171585, -0.2913689017, -0.212893784, -0.8672094345, 0.5154918432, 0.4479582012, -0.102302976, 0.2479419559, -0.6330089569, -0.3184996545, 1.0235804319, 0.711611867, -0.4582511187, 0.4221405983, -0.2941225767, 0.5216786861, -0.5026244521, 0.704061985, 0.7250252962, 0.7228063345, 0.026552273, -0.5908465385, 0.0271625407, -0.6281462312, -0.2945435643, -0.1889525801, -0.7542791367, 0.3713259995, -0.2352020144, -0.1347080618, 0.1573048383, 0.1091710702, 0.6146853566, 0.7648515701, 0.6641950607, 0.786133945, 0.5803467035, 0.0011135968, 0.9292607307, -0.4285631776, 0.2536568344, 0.5385717154, -0.5962046385, 0.9639844894, 0.5862928033, 0.2802532613, -0.0673903972, 0.5991436839, 0.0453074165, 0.5267594457, -0.0992288142, -0.2538462877, -0.5932701826, -0.4800638258, 0.2921174765, 0.7598037124, 0.2956216633, -0.2981944382, 0.0882977918, 0.1523189992, 0.0107317958, 0.1651881486, -0.3722866178, 0.8386734128, 0.1605253965, -0.6662759185, 0.2781769335, -0.3424634039, 0.3983775973, -0.335208118, -0.2557480931, -0.5061266422, 0.0467406884, -0.3765647709, -0.9269344807, 0.1206478849, 0.6069874763, -0.1208949909, -0.5231921077, 0.4749546647, -0.3181701601, -0.0631342381, 0.6237956882, 0.5884555578, 0.1606680751, -0.1346791834, -0.4703116119, 0.3335367739, -0.2462766618, -0.9725279808, 0.210211724, 0.7603948712, -0.0084517533, 1.037837863, 0.5961191058, 0.0959215909, -0.4884971082, 0.2413649112, 1.1787219048, -0.8262414932, -0.4597678781, -0.886993289, 0.7916606069, -0.3399677873, -0.2565386295, 0.6152748466, 0.3744519353, 0.4772231579, -0.0215001889, 0.6711632013, -0.0994895846, 0.5942598581, -0.4854533374, 0.577911377, -0.5281472802, 0.0729454905, -0.4180221856, -0.7663220763, -0.3590717912, 0.9612215161, -0.3407974243, 0.1620555073, 0.2041232139, 1.0515066385, -0.1017220393, 0.0332106166, 0.5314878821, 0.2417598963, 0.1459986717, 0.82562536, 0.8482653499, -0.0664231777, 0.0597965233, 0.0265200753, -0.6798665524, -0.3540542722, -0.7158228159, -0.6149580479, -0.3249384761, -0.0360423923, -0.0940922052, -0.1136624888, 1.2506549358, 0.7546437979, -0.4159415066, 0.1219351441, -0.0948567986, -0.123071894, -0.1266135424, -0.1967261434, 0.4690029919, 0.1657088399, -0.91904217, 0.1084944531, 0.4593552947, -0.284794569, 0.3478556573, -0.5769677162, 0.2987227738, 0.3145570457, 0.698790431, 0.0730285645, -0.2249417305, -0.2346346378, 0.2111096978, -0.1796785146, -0.0211853925, 0.5418820977, -0.4499862194, 0.5519812703, 0.478854537, 0.4902919531, -0.1106750295, 0.4734889269, 0.556794107, -0.1749231964, 0.010883661, 0.5549843311, 0.3510389328, 0.3424001336, -0.5505859852, 0.6389868259, -0.0427512191, -0.5417325497, -1.1456580162, 0.3361407816, -1.3605846167, 0.249908641, 1.4316241741, -0.3752370179, -0.1523118466, -0.0040435703, -0.6939929128, 0.4181680083, -0.8096926808, 0.8208962679, 0.2804116905, -0.4833729267, -0.3403855562, -0.3102626204, 0.4418601096, 0.4902270734, -0.5588908195, 0.2681482136, 0.5652594566, 0.077865541, -0.4622956216, 0.7045724392, -0.0429805145, 0.1646252722, -0.0010919423, 0.0181292444, -0.1065137461, -0.2903366685, -0.4367855489, 0.2321963906, -0.0726921633, -0.1778362095 ]
http://arxiv.org/abs/2407.01929v1
http://arxiv.org/pdf/2407.01929v1
What We Talk About When We Talk About LMs: Implicit Paradigm Shifts and the Ship of Language Models
2024-07-02T03:45:55
2024-07-02T03:45:55
Shengqi Zhu, Jeffrey M. Rzeszotarski
cs.CL
cs.CL, cs.AI
The term Language Models (LMs), as a time-specific collection of models of interest, is constantly reinvented, with its referents updated much like the $\textit{Ship of Theseus}$ replaces its parts but remains the same ship in essence. In this paper, we investigate this $\textit{Ship of Language Models}$ problem, wherein scientific evolution takes the form of continuous, implicit retrofits of key existing terms. We seek to initiate a novel perspective of scientific progress, in addition to the more well-studied emergence of new terms. To this end, we construct the data infrastructure based on recent NLP publications. Then, we perform a series of text-based analyses toward a detailed, quantitative understanding of the use of Language Models as a term of art. Our work highlights how systems and theories influence each other in scientific discourse, and we call for attention to the transformation of this Ship that we all are contributing to.
[ -0.2017431706, -0.7254657149, 0.7940891981, 0.0880782604, -0.1506335884, 0.2427332699, -0.0547822081, -0.6360512972, 0.1155577078, 0.6727586389, -0.6038549542, -0.1244961023, -0.6143398285, 0.4098367393, -0.6961693764, 1.1053503752, 0.0010313957, 0.2394736111, -0.1072965786, -0.2910398543, -0.442417115, 0.0332226083, -0.5361813307, -0.4594912827, 0.755192399, -0.1913178116, 0.9147134423, 0.8627988696, 0.3836513758, 0.2920312881, -0.4155390263, 0.0593920089, -0.2354384959, 0.4260259569, -0.2543664277, -0.713160038, -0.4576781392, -0.066598922, 0.9621651769, 1.1243859529, -0.0014478777, 0.3827424347, -0.0355704203, 0.6341025233, -0.2178255469, 0.2817580104, -0.8293766975, -0.0184513424, -0.0435440317, -0.3321207762, -0.3759316206, -0.2556543648, 0.3000476062, -0.6500038505, 0.0727055818, 0.344537884, 0.7940340638, 0.1066830456, -0.2897699475, -0.2199583799, -0.9735078812, 0.734867394, -0.8624444008, 0.5892332792, -0.3714725375, 0.247142449, -0.5509486198, -1.0604047775, -0.6344158053, -0.494451344, 0.1749592423, -0.1373587847, -0.2096618563, -0.3015872836, 0.0862263516, -0.0366617925, -0.4074359238, 0.1409173161, -0.613050878, 0.2805772126, 0.5808218122, 0.1209190339, 0.5341830254, 0.0047210925, -0.2835015953, 0.1048507169, -1.0413261652, -0.3612326086, -0.2434862107, 0.3819370866, -0.0167770814, 0.4381715655, 0.0439813994, 0.576601088, -0.1746531874, 0.1464537829, 0.0542201139, -0.0364520773, -0.257499367, -0.0553453527, 0.7862379551, 0.2451289147, 0.2145140022, -0.2045349628, -0.0748744756, 0.0891303644, 0.4183197618, -0.308771044, -0.0659264475, 0.0596121587, -0.3646210134, -0.356033206, -0.19643493, -0.5071853399, -0.4312741458, -0.4846435189, 0.2376221418, -0.1214237735, -0.3408725858, 0.3056133389, 0.040995501, 0.0496283583, 0.3172203898, -0.6912626028, 0.2720159292, 0.8399755955, 1.0989706516, -0.1058356762, -0.0485281721, 0.1503477991, 0.2790310681, -0.5839172602, 0.9048072696, -0.4559181333, -0.8118353486, 0.0386562571, 0.4569503963, 0.021162007, -0.0813138261, 0.3879043162, -0.6273057461, 0.4674512744, -0.3506887555, -0.5121538639, -0.1002094746, -0.1068967953, -0.5812984705, 1.0459882021, -0.3008522987, -0.4732178152, 0.1915193796, -1.0672075748, 0.0544453636, 0.5020038486, -0.2096083909, -0.2865686119, 0.4959102869, -0.3040293753, 0.2715876997, -0.4036518633, 0.4219343662, -0.4649997652, -0.1690237075, 0.4677850902, 0.1405086964, 0.5363068581, 0.4326348007, -0.3482691646, -0.1333699375, -0.7428034544, -0.0297400709, 0.1412174851, -0.1024923623, -0.7964468002, 0.5975419283, -0.1462255567, 0.2209760994, 0.2347425371, -0.5945972204, 0.6768967509, -0.383520782, 0.6840806603, 0.8669179082, -0.1295146644, 0.6754776239, -0.3716867864, 0.305692941, -0.2051741183, 0.2702288032, -0.2268164754, -0.796867609, -0.981570065, 0.1655438989, 0.1179523617, 0.2581597865, -0.618740797, -0.0499184057, -0.6877564192, -0.4728067815, -0.5053117275, -0.3089414239, -0.1907145977, 0.2774231434, 0.377856046, 0.0468121544, -0.5376650691, -0.8551365733, -0.4033091068, -0.5059589744, -0.0304024387, 0.1903457493, 0.5807259083, -0.440870136, 1.0827635527, -0.3898425102, 0.4995340407, 0.1784807444, 0.2561857104, 0.156125918, 0.5286432505, 0.5236049294, -0.5984036326, -0.1441112459, 0.1163124815, -0.9250608683, -0.365301013, -0.2320389003, -0.0745665431, 0.317771256, 0.8817633986, -0.6191591024, -0.1133812964, 0.4822801352, -0.5445274115, 0.3687093854, -0.1170512214, -0.0175916515, -1.1418045759, -0.0077346247, -0.133773163, 0.1034349576, -0.7550991774, 0.1980919093, -0.0447230563, 0.133686468, -0.452468276, 0.7546024323, -0.6961429119, -0.0028125956, -0.4554260969, 0.2463569939, -0.2314392626, -0.0257714652, 0.2523781955, 0.0364950486, 0.4843778312, -0.7836619616, 0.0594814941, 0.0618238375, -0.0405195914, 0.4475206733, -0.7396072149, 0.3482839465, -0.5868167877, 0.2795313597, -1.0062360764, 0.4360115826, 0.2841733992, -0.0494650863, 0.150322184, -0.132566765, -0.2531273067, -0.2602352798, -0.0199448038, 0.1436769366, 0.4062520564, -0.2668478787, 0.5849171281, 0.1612361819, -0.6310204268, -0.4523127079, -0.4910976589, 0.3219577968, -0.1655254066, -0.5820669532, 0.1929622293, -0.2462788373, -0.7651793957, 0.218738839, -0.1524322331, 0.421829015, 0.212913096, 0.2782540917, 0.5842303634, -0.6116276979, 0.4613077641, 0.1658115387, 0.1658908278, 0.179008469, -0.7576380968, 0.4820078909, -0.1453794837, 0.0832140893, 0.0187537558, 0.3186767399, 0.7396829128, 0.1391474158, 0.9628574252, 0.1999925673, -0.180730626, -0.2208032161, -0.3582257032, -0.1225166246, -0.4623579681, 0.4693300426, -0.3817403018, -0.9250741601, 0.4286673367, -0.2341659218, 0.515529573, 0.6491064429, 0.2721329927, -0.3365617692, 0.9447100759, 0.961825192, 0.2320200056, 0.3971045017, 0.0214218739, 0.1131255552, -0.8314211965, -0.2810513079, -0.8100509644, -0.1878149211, -0.8963474631, -0.3977248371, 0.2657943964, -0.0297160111, -0.3840579093, 0.4008418024, -0.44096452, 0.0839715451, -0.2217828631, -0.303732574, 0.5212557912, -0.1113152131, 0.1046063378, -0.1249961704, -0.727024138, -0.97968328, 1.3582576513, 0.6050217152, 0.6330696344, 0.1762790084, 0.340500325, 0.4158244133, 0.8752581477, -0.3900818527, 0.7224285007, 0.0635602921, -0.4359692335, -0.2274561226, -0.2949698567, -1.143228054, 0.446728915, -0.3008251488, -0.6286121607, 0.341879189, -0.1839323789, 0.1158896089, 0.3446472585, -0.255185008, 0.4793018103, -0.3534151912, -0.2743464708, -0.1675427258, -0.5911197662, 0.4118055701, -0.2534923851, 0.756223917, -0.3136021793, -0.4756934345, 0.7439953089, -0.1283740401, 0.8281860352, 0.0244217496, -0.86146909, -0.069763191, 0.4268155992, 0.4526257515, 0.1540704668, 0.207496807, 0.2050530016, 0.2619801164, -0.3222697973, -0.5506101251, 0.9211579561, -0.5461397171, -0.5746600032, -0.5042375326, -0.6014307737, -0.155639261, -0.0131084211, -0.2074048668, 0.1122808978, -0.4196831286, -0.1965398192, 0.7232616544, -0.26865381, 0.550704062, 1.0492345095, -0.5193665624, 0.3286351562, 0.456535548, -0.036888577, 0.4153592288, 0.2905946076, 0.1072904617, -0.3640648425, -0.395280093, -0.2084776461, 0.605214119, -0.6915615201, 0.4008638859, -0.7639248967, 0.0894632712, -0.2450882941, -0.0710260123, -0.3796668649, -0.543022275, -0.3018075824, 0.2092570364, 0.2591608167, 1.2083377838, 0.2162432224, 0.1588003039, -0.6436023116, 0.0151187629, 0.109740898, 0.2307293266, -0.2009814829, -0.7605020404, -0.2256183773, 0.282977432, -0.0790937692, -0.8900231719, 0.3961189985, 0.3725851476, 0.4933457673, 0.1187894642, -0.4310959876, 0.3647913933, -0.9601759315, 1.023750186, 0.0381044932, -0.8876712322, 0.278088212, -0.570928514, 0.5292272568, -0.1797659099, 0.5756742954, -1.1031847, -0.5607857108, -0.7803680897, -0.7866852283, 0.1756759733, -0.195405975, 0.2155731618, 0.1102301404, 0.6839398146, 0.1624004096, 0.3331407905, -1.0298799276, -0.3568936288, -0.2255579531, -0.0027090923, -0.3322107792, 0.0275362544, -0.06237958, -0.1913578808, 0.7264950275, -0.2619357109, 0.2833639383, -0.0419132337, -0.0471861027, -0.1710994542, 0.5310777426, 0.8737663031, 0.596976459, 0.1202467233, 0.2277363837, -0.012222697, -0.3225957155, 0.0909843296, -0.1001081765, -0.374049753, 0.4265899956, 0.334702462, 0.9095446467, 0.5017279387, -0.4488218129, -0.3089624941, 0.206180051, -0.0780551285, -0.2433485836, -0.1295356601, 0.2586919665, 0.4171506464, 0.5262427926, 0.2006952614, 0.0055195396, -0.8603132963, -0.0831517577, 0.3887339234, -0.3939044178, -0.5401772261, 0.8429083824, 0.0780047327, -0.3795736134, -0.0154657001, 0.1292509437, -0.2441544682, 0.1473317593, 0.6042892933, 0.9311998487, -0.3804423511, 0.5452270508, 0.095865041, 0.4169993699, -0.5155172348, 0.121063903, 0.1386748254, -0.8329595327, -0.4500607848, -0.7830884457, -0.1759091318, 0.2188485116, -0.2805477381, 0.3155395091, -0.2710332572, -0.2045670599, 0.1656016707, -0.5278321505, -0.1892385036, -0.1038401052, 0.4982400239, 0.7163998485, -0.9058570266, 0.6357805729, 0.9457907081, -0.1201094165, -0.2046477944, -0.258949697, 0.0520054586, -0.4854014218, 1.0954731703, -0.4647469223, -0.321344614, 0.0252570268, -0.961409688, -1.2594037056, 0.7650908232, 0.2644590735, -0.9392460585, -0.1277993023, 0.1730930507, 0.9836573005, -0.5367125273, 0.0160474684, 0.5024470091, 0.5648127794, -0.4432541728, -0.9640210271, 0.0777876675, -0.3376384974, 0.2783384025, 0.4678242803, -0.3516550958, 1.1267039776, -0.0887572765, -0.4234187305, 0.2675665319, 0.6908225417, 0.1346627027, 0.0181714948, 0.2026407123, 0.0471456759, 0.4418847263, -0.3115839064, 0.9309331775, -0.1457065493, 0.4204024971, 0.7095899582, -0.3691285849, 0.8732457161, 0.7591901422, -0.3330226243, 1.0078035593, 0.2911402583, -0.1303504407, 0.1613820344, 0.520810008, -0.2172454298, -0.0241780262, 0.151444748, -0.4884386659, 0.2524613738, 0.6002482772, -0.481325984, -0.1832410842, 0.0140636666, 0.3915830851, 0.0874017105, -0.3381607831, 0.6346033812, 0.2806018293, -0.6374893785, 0.831582427, -0.0010656873, 0.6029954553, -0.7141686082, 0.0353824943, -0.1353026032, -0.0121643106, -0.0544066019, -0.4369907081, -0.000064723, -0.2558004856, -0.0254269931, -0.3035733402, 0.241665408, -0.6496859193, -0.5316615105, 0.1758644432, 0.7139555812, 0.1912561804, 0.3394008279, -0.7308738828, 0.2249564081, -0.1208668202, -0.159024328, 0.132756874, 0.2198921144, -0.3125541508, 0.9405586123, 0.5737136602, 0.4444797635, 0.2910517156, -0.1260835826, 0.3983769417, -0.7822669744, -0.3827775121, -0.8727889657, 0.3687246144, -0.0557965226, -0.2609224021, 0.677761972, 0.2435391992, 0.4572148323, -0.4481090605, 0.9258205891, -0.1134879142, 0.3696037829, -0.6622719169, 0.9470832944, -0.6813333631, 0.5921168923, -0.6772434115, -0.9503873587, -0.1878706217, 0.2590193748, -0.0421141423, -0.2226930857, 0.944576323, 0.464645952, 0.2272018641, 0.4379511178, -0.0159068182, 0.5343108773, 0.374781698, 0.1712287366, 1.1335852146, -0.4444585741, -0.0111909565, 0.3750414252, 0.0407792293, -0.1432244778, -1.0067193508, -0.4621801078, -0.937043786, -0.758384645, -0.0850230828, 0.3565546572, 0.6997930408, 0.4178000391, -0.7255627513, -0.5700263381, -0.2796494663, -0.2218238115, -0.1772803962, -0.196008414, 0.3420790434, -0.3701329231, -0.7700141668, 0.6498377919, 0.3916095197, 0.3837433159, -0.6212857962, 0.0612545684, -0.3937383592, 0.4889304042, 0.7504086494, 0.702493608, -0.7576397657, -0.4899616838, 0.1955722123, 0.0214891098, -0.2212425768, 0.9316177964, -0.7979283929, 0.2636518776, 0.1788511425, 0.3190540075, 0.4396053553, -0.5109428763, 0.9837587476, -0.3847158551, 0.092802614, 0.1081408486, 0.5001772046, 0.2722569406, 0.2127749622, 0.4205851555, 0.6369069815, -0.4835233092, -1.3986902237, 0.3221693933, -0.7846160531, -0.7108030915, 1.025554657, 0.3346289396, -0.2603701651, -0.210804224, -0.0341125503, 0.0770770982, -0.1142538339, 1.0296519995, 0.6547372341, -0.178586036, -0.3082003891, -0.6503589153, 0.7200226188, 0.4795274734, -0.5859203339, -0.1313596368, 0.3391361535, 0.5113901496, 0.6193957329, 0.2480654866, -0.2875359356, -0.1002065092, -0.3206044137, 0.2202735692, 0.2734256089, -0.2786034644, -0.3399389982, 0.1018626913, 0.0706247315, 0.1907570213 ]
http://arxiv.org/abs/2407.01920v1
http://arxiv.org/pdf/2407.01920v1
To Forget or Not? Towards Practical Knowledge Unlearning for Large Language Models
2024-07-02T03:34:16
2024-07-02T03:34:16
Bozhong Tian, Xiaozhuan Liang, Siyuan Cheng, Qingbin Liu, Mengru Wang, Dianbo Sui, Xi Chen, Huajun Chen, Ningyu Zhang
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG, cs.MM
Large Language Models (LLMs) trained on extensive corpora inevitably retain sensitive data, such as personal privacy information and copyrighted material. Recent advancements in knowledge unlearning involve updating LLM parameters to erase specific knowledge. However, current unlearning paradigms are mired in vague forgetting boundaries, often erasing knowledge indiscriminately. In this work, we introduce KnowUnDo, a benchmark containing copyrighted content and user privacy domains to evaluate if the unlearning process inadvertently erases essential knowledge. Our findings indicate that existing unlearning methods often suffer from excessive unlearning. To address this, we propose a simple yet effective method, MemFlex, which utilizes gradient information to precisely target and unlearn sensitive parameters. Experimental results show that MemFlex is superior to existing methods in both precise knowledge unlearning and general knowledge retaining of LLMs. Code and dataset will be released at https://github.com/zjunlp/KnowUnDo.
[ -0.2712265551, -0.5113424063, 0.3416798711, -0.0327198431, -0.1403002739, 0.0797433704, -0.3566445112, -0.1247402355, -0.3602747619, 0.6105114818, -0.5734282136, -0.4855305254, -0.5045602918, -0.3033113182, -0.3223850727, 1.0387352705, 0.0195070989, -0.0921250954, -0.2186020166, -0.3740681708, -0.3166329563, -0.3630369604, -0.5475230217, -0.5451455116, 0.5626190901, 0.528955996, 0.3608721197, 0.4226104915, -0.1439313889, 0.2732408941, -0.3601211607, 0.3279230893, -0.8721449375, -0.0120312981, -0.5461555719, -0.4511372447, -0.1892909259, -0.2518856227, 0.7115796804, 1.0701431036, -0.4220480621, 0.1551561952, 0.1904977411, 0.8597488999, -1.0913844109, -0.1158565506, -0.7012089491, 0.1804680973, 0.0688462704, -0.2116398215, -0.335927248, -0.2373203486, 0.0570354313, -0.6427792907, 0.2188329697, 0.1787057519, 0.5259065032, 0.2499539256, -0.1699198484, -0.3036613166, -0.7738310695, 1.0745221376, -0.7330003977, 0.5917484164, 0.494528383, 0.2434341758, -0.2703083754, -0.5832422972, -0.4397022724, 0.2382704765, 0.2320412546, 0.0366795696, -0.3716759086, -0.2127533704, 0.3586860299, 0.1810700744, -0.4049028158, 0.1847531945, -0.6435130239, -0.3890527487, 0.3434552848, -0.1339625567, 0.0679915473, 0.1206086501, -0.6559187174, -0.0190996621, -1.1712778807, -0.0665347129, 0.3926542103, -0.1480852515, 0.1059410796, 0.3711476624, -0.0759102851, 0.5058602095, -0.2020242214, -0.1512435973, 0.459228307, 0.2131347209, -0.2218962163, -0.1024296805, 0.73656708, 0.1704608202, 0.6226264834, -0.6618462205, -0.3251435757, -0.6810675263, 0.1814182997, -0.543319881, 0.0039101602, 0.3068047464, -0.1405062377, 0.3267881274, -0.1222345233, -0.7037129998, -0.3774005771, -0.4469313622, 0.372831434, -0.6830097437, -0.3543058634, 0.0818267837, -0.219493106, 0.0893722847, 0.4689471126, -0.8029558063, 0.2828384638, 0.64620471, 0.526278019, 0.1021094322, -0.6169781685, -0.5647270083, 0.3306459486, -0.3141221106, 0.3174177408, -0.4979579747, -0.3190709949, 0.0744759142, -0.1267329752, 0.0082220044, -1.0071029663, 0.4035151899, -0.7750178576, 0.1509597003, -0.3447028697, -1.0161927938, -0.4148248434, 0.1780889928, -0.5185510516, 0.7193579078, 0.3392228484, -0.5831463337, 0.2463773042, 0.0855810419, -0.2137284279, -0.0897782445, -0.1608500481, -0.5357207656, 0.0640372932, -0.1673499197, 0.7516010404, -0.2464545369, 0.6538819671, -0.5584967136, -0.3994976282, 0.3581992686, -0.2982882261, 0.7500753403, 0.3561753035, -0.303619504, -0.2860760093, -0.8950284719, -0.0594450049, -0.0086025586, -0.5134615898, -0.5156309009, -0.2182902247, -0.230397597, 0.2244251668, 0.2811076045, -0.5993962884, -0.2118099779, -0.1512909681, 0.5128779411, 1.0310920477, -0.0249715727, 0.6783897877, -0.5174714327, 0.2919481695, 0.0483139195, -0.0008117853, -0.109265998, -0.1130416915, -0.7201648355, -0.2784423828, 0.1690106392, 0.3535857499, -0.5956296325, 0.4082183838, -0.1052640453, -0.3276960552, -0.2599786222, 0.7793085575, 0.8018776178, 0.6676362753, 0.3577086329, 0.0436805189, -0.2871764898, -0.7228805423, -0.5200843811, 0.1817195714, -0.19092457, 0.4074043036, 0.4672345519, -0.1680261046, 0.7473793626, -0.4381938577, -0.5730797052, -0.0939814895, 0.1688601971, -0.0967565551, 0.4650602341, 0.3511396646, -0.6175423861, 0.0089934468, -0.1323841512, -1.0266407728, 0.1533040851, 0.0849699825, 0.1614583731, 0.1896594465, 0.7560828924, -0.3385266364, 0.0595857836, 0.3950205445, -0.1412815154, 0.2914932966, -0.6703307033, -0.0585416183, -0.7883027792, 0.3960035741, -0.3489990532, -0.2901794016, -0.6075729728, -0.1989445984, 0.3874171376, -0.0308816787, -0.7503560781, 0.9190784097, -0.7019915581, 0.1363285333, -0.1381721497, 0.1168685257, 0.0144245373, 0.8235172629, -0.0401950255, 0.63396281, 0.3471793532, -0.8882293105, -0.1723609716, 0.0978657752, -0.3068245053, 0.2972265482, -0.3655210137, 0.3869046867, -0.297333777, -0.3114389479, -0.8187376857, 0.1310295165, 0.0306625422, -0.3728105724, 0.6310642362, -0.1537983716, -0.6630447507, -0.0663837194, -0.4389722347, 0.5298677087, 0.5884478688, -0.6391952038, 0.4370946288, 0.5766484737, 0.021168571, -1.0084095001, -0.457282871, -0.1602142155, -0.3380526006, -0.2913898528, 0.0085705146, -0.1026463211, -0.0629494265, -0.0807086378, -0.1414978951, -0.2280046791, 0.1060747132, 0.2572909296, -0.1665758193, 0.145525679, 0.4661843181, 0.0694724843, -0.1705803275, 0.0088346303, -0.4061126709, 0.52068156, -0.0048521832, -0.2827923298, 0.0151646575, 0.0861749575, 0.3903377354, -0.1422256082, 0.7342687249, 0.4245356917, -0.60718292, -0.8043226004, -0.7951716781, -0.0767446831, -0.4832022786, 0.3026584089, -0.1017165929, -1.1373394728, 0.7182961702, -0.6070050001, 0.0772000402, 0.0957160965, 0.2454525828, -0.1130249351, 0.3467419446, 0.8044990897, -0.2102847844, 0.2498811334, -0.3947534561, 0.2110347003, -0.9072809815, -0.3980158269, -0.3751544654, -0.2055104375, -0.1601506919, -0.4472945333, 0.1450203806, 0.3804527223, -0.467156589, 0.1657730937, -0.07075762, 0.5292745233, 0.6643399, 0.1804811358, 0.4852811992, 0.0550826006, -0.1141416356, -0.0257769916, -0.7439610958, -0.3747145236, 1.4871965647, 0.1277244687, 0.8083813787, 0.0739379525, 0.6518694758, 0.4026983678, 0.2246108204, -0.3951451778, 0.3544254899, -0.1394511759, -0.5723055601, -0.4595694542, -0.755474925, -1.0016247034, 0.0293360725, -0.0413596295, -0.7140554786, 0.230001837, 0.3517988622, -0.2709292173, 0.7660534382, -0.56442976, 0.6588535309, -0.0365221836, -0.7049787045, -0.1966395974, -0.3875605166, 0.3224743605, -0.5662863255, 0.5448848605, -0.2884669304, -0.2125540525, 0.9779934883, -0.4411350191, 0.9739757776, -0.2365139574, -0.116254665, 0.3353054523, 0.1516296417, 0.3839445412, -0.0432194173, -0.2252743989, 0.3213968277, -0.2108660489, -0.3923983872, -0.4705711007, 0.7768508196, -0.6717047691, -0.3132583797, -0.1265203804, -0.3823494911, -0.3679720163, 0.4389738441, 0.367052108, 0.1945887506, -0.3530448377, 0.0305055864, 1.147292614, -0.3851732314, 0.5108245611, 0.9053866863, 0.1015040874, -0.4582155943, 1.2699894905, 0.3393524885, 0.1489906758, 0.610676527, 0.1311646849, -0.2585347295, -0.5163925886, -0.3102092743, 0.6597674489, -0.8690846562, -0.338249892, -0.5659954548, -0.0496181808, -0.0830635428, -0.145783186, -0.6461698413, -0.2705744505, -0.3530169427, -0.0042198314, 0.2188898027, 0.6893718243, -0.1804833263, 0.2089558691, -0.7749094963, 0.1450836509, 0.1476808637, 0.6400099993, 0.3296779692, -0.7252044082, -0.0960305184, 0.0816850141, -0.2586787641, -0.2770622969, 0.345215112, 0.2822149396, 0.8407641053, 0.6959432364, 0.2605274916, 0.2629627287, -0.5105235577, 0.1867704391, 0.501470387, -0.9672812819, 0.3690471649, -0.3426282406, 0.3161404133, 0.5723203421, 0.4951224029, -0.5544118285, -0.3840289712, -0.8595683575, -0.9282711148, 0.5615711212, -0.252990216, 0.2167635113, 0.2126286924, 0.6020042896, 0.4682504237, 0.6441308856, -0.3627550602, -0.3313618302, 0.1825283319, -0.1020546779, -0.2900298834, -0.5019775629, -0.1249322966, 0.0361194052, 0.5737359524, 0.1200212687, -0.0895425826, -0.0514833257, -0.4920527935, -0.1133819595, 0.4168989062, 0.4902809262, 1.1352217197, -0.2784929574, 0.2649692595, 0.2652238309, -0.4559240341, 0.1429103464, -0.2250923067, -0.4086933136, -0.2928984165, 0.4543079138, 0.2884911001, 0.5415377617, -1.1820013523, 0.6600884795, 0.1376519352, -0.4832568467, -0.5546425581, 0.3029711843, 0.2737002671, 0.1144335642, 0.1573266536, 0.1255479306, 0.1186543554, -0.5368798971, 0.437677592, 0.2916962206, -0.6015381217, -0.3315864801, 0.7328609228, -0.0428533852, 0.0341023318, 0.6568729281, -0.0322363563, -0.3343889713, 0.3218355179, 0.3610742986, 0.5642127395, -0.456156522, 0.0371306464, 0.3085110188, 0.2078945041, -0.2477019429, 0.1308183968, -0.1213614941, -0.7170935273, -0.1050430611, -0.4075107872, -0.3317672312, 0.525133729, -0.5651630163, 0.1001016721, -1.0082862377, 0.1956067979, -0.0502383709, -0.0868085027, -0.7308200002, 0.2401302904, 0.020259345, 0.8269025683, -0.7828317285, 0.6679362059, 0.4273804128, -0.3150663376, -0.8217916489, -0.3130679429, 0.1225624606, -1.0368930101, 0.3403887749, 0.0038303696, -0.2358570993, -0.1128484607, -0.5413017869, -0.6393712759, 0.9863960147, 0.6677055359, -0.7653089166, 0.4444975555, 0.181909889, 0.3372233212, -0.0767744258, 0.0532271042, 0.430872649, 0.2471423745, 0.2102409452, -0.5640479922, 0.0755280778, -0.1777272671, -0.4015020132, 0.20913212, -0.7558456063, 0.9577989578, -0.5153495669, -0.1094008908, -0.1536504775, 0.3196945786, -0.023666475, 0.4695274234, 0.3485565782, 0.7272058129, 1.3276252747, 0.1640869975, 0.678329885, -0.0549636185, 0.3125933707, 1.3185396194, -0.1599445492, 0.7664467692, 0.4119178057, -0.0070135542, -0.1985664368, 0.2836566865, 0.0949902982, 0.5295995474, 0.4849996865, -0.3308164477, -0.2533941269, 0.1514380872, -0.2961801589, 0.2475776523, 0.2629956901, -0.2599730194, -0.4156087637, 0.0778665915, 0.6738296747, 0.2761299312, -0.3476082683, 1.0096956491, 0.3116782904, -0.6309977174, 1.0266863108, -0.0292914417, 0.3911357522, -0.7222592831, 0.0143209035, -0.5340242982, 0.7912384272, -0.1825898737, -0.6777625084, 0.0844731629, -0.1011409685, -0.2780637443, -0.1598012596, 0.3897968829, -0.5912653208, -0.2315939367, 0.8672451377, 0.6301312447, 0.2312674373, -0.2567248046, -0.5844843984, -0.1831803322, 0.2248821855, -0.1061000004, 0.6493892074, 0.6070884466, -0.062663503, 1.1745411158, 0.5357897282, 0.0168316122, 0.0836000293, 0.2830398977, 1.0114349127, -0.6190149188, -0.022650864, -0.6769484878, 0.1973030567, -0.0319352187, -0.4083908498, 0.7513744831, 0.7591046095, 1.0183744431, 0.0130117936, 0.8688499928, 0.475667268, 0.8050438166, -0.6579936743, 0.908629179, -0.8253008127, 0.6517609358, -0.1457819343, -0.9411258698, -0.3390016258, 0.1576669216, -0.2629196346, 0.1793813556, 0.5226057768, 0.6964088082, -0.2515675128, 0.0400645882, 0.655487299, 0.2125922292, 0.1357691735, 0.7622968554, 0.7818421721, -0.293104738, 0.5691150427, -0.3403671086, -0.4025480747, -0.0479904748, -0.7975013852, -1.0757632256, -0.4607329667, -0.2339618951, -0.2284090221, 0.3962899745, 0.4952266514, 0.4821998775, -0.9330710173, -0.2457246333, 0.0371306241, 0.3722955585, -0.0795552656, -0.0491321981, 0.476454854, -0.4041589499, -0.5050166249, 0.0993739814, 0.2236039788, 0.055566296, -0.024963161, -0.2845927477, -0.2230810821, -0.1438912302, 0.2741734385, 0.6851152182, -0.3784793019, 0.0226157196, -0.0874531046, 0.2388897091, -0.0098174885, 0.9167509079, -0.6949005723, 0.4005428255, 0.2594762743, 0.5360613465, 0.4676338434, -0.1010985598, 0.6480173469, -0.9465988874, 0.1917740852, 0.0756251067, 0.5585591197, 0.566618979, -0.3231016099, 0.3349358141, 0.0719833151, -0.4083015621, -0.6118104458, -0.1661776006, -0.6573549509, -0.7123993039, 1.1180024147, -0.5298275352, -0.3649917245, -0.3169778883, 0.1847445518, 0.0624969825, -0.5100242496, 0.720404923, 0.3890310228, 0.4691370428, -0.2331370562, -0.6366215944, 0.481531769, 0.4122173488, -0.3457525373, 0.5325316191, 0.3484273851, 0.750997901, -0.0509949028, 0.7189193964, -0.1915718913, 0.1993295848, -0.1131035239, 0.1549795568, -0.309789598, -0.4236420095, -0.3475749493, 0.2311740071, 0.0515065379, 0.0550522432 ]
http://arxiv.org/abs/2407.01911v1
http://arxiv.org/pdf/2407.01911v1
Investigating the Effects of Large-Scale Pseudo-Stereo Data and Different Speech Foundation Model on Dialogue Generative Spoken Language Model
2024-07-02T03:22:41
2024-07-02T03:22:41
Yu-Kuan Fu, Cheng-Kuang Lee, Hsiu-Hsuan Wang, Hung-yi Lee
cs.CL
cs.CL, cs.HC, cs.SD, eess.AS
Recent efforts in Spoken Dialogue Modeling aim to synthesize spoken dialogue without the need for direct transcription, thereby preserving the wealth of non-textual information inherent in speech. However, this approach faces a challenge when speakers talk simultaneously, requiring stereo dialogue data with speakers recorded on separate channels, a notably scarce resource. To address this, we have developed an innovative pipeline capable of transforming single-channel dialogue data into pseudo-stereo data. This expanded our training dataset from a mere 2,000 to an impressive 17,600 hours, significantly enriching the diversity and quality of the training examples available. The inclusion of this pseudo-stereo data has proven to be effective in improving the performance of spoken dialogue language models. Additionally, we explored the use of discrete units of different speech foundation models for spoken dialogue generation.
[ -0.656370461, -0.7362641692, 0.2931155562, -0.0075457925, -0.4153659344, -0.0954728648, -0.0483717285, -0.4161164761, 0.2587635219, 0.6379768848, -0.5980918407, -0.3704241216, -0.2663694918, 0.1336164474, -0.5435287356, 0.7789446712, 0.5279790163, 0.4618839622, -0.1442909241, -0.0547592454, -0.3542384207, -0.5283367038, -0.5829309225, 0.1201287508, -0.0769589543, 0.3822409213, 0.5034508705, 0.1071047336, 0.1104043871, 0.3407958746, 0.078580305, -0.115784578, -0.9091976285, -0.0530179851, 0.0960540399, -0.3671827316, -0.4156000614, 0.1010971442, 1.0731562376, 0.8894936442, -0.4278463721, -0.2315641195, -0.2642576993, 0.5162013173, -0.2187993824, 0.2072031945, -0.5026268959, 0.045284465, -0.2221951783, 0.00687704, -0.3423347771, -0.3891071975, 0.6962065101, -0.4444292784, 0.4742600918, -0.0503122173, 0.3074864745, 0.1596217453, -0.163378343, -0.1399410516, -1.0235037804, 0.5435150266, -0.8908221126, 0.5503771901, 0.2389200628, 0.401446104, -0.1054195762, -0.9850534797, -0.6688808799, -0.1702812761, 0.092422463, 0.1937489063, -0.1133131534, 0.3106967211, 0.314145267, 0.5198182464, -0.476903975, -0.3025226295, -0.4627849162, -0.3670171201, 0.6418706179, 0.1513844877, 0.2320827544, -0.163893044, -0.1524618417, -0.3844105899, -0.768320322, -0.1170687973, 0.3336421847, 0.4210521579, -0.3444629312, 0.6369100213, -0.3569306135, 0.9451223016, -0.0857104063, -0.2216641009, 0.3181020617, -0.739331007, -0.2351136208, 0.4679243565, 0.9428503513, 0.2699836195, 0.1533211023, 0.0085029453, -0.0353677981, -0.0751494542, 0.1324219555, -0.9700116515, -0.4493006766, -0.0914346129, -0.2561969757, -0.0539654978, 0.0904164463, -0.8976675272, -0.1192324236, -0.4361913204, 0.1287460178, -0.3775674403, -0.4776351452, 0.150017634, -0.1586537361, 0.0907908231, 0.1526070088, -0.7387264371, 0.0944851562, 0.2570305765, 0.9163935781, 0.2262525856, 0.1877541393, -0.5270216465, -0.110537596, -0.5553841591, 0.3346974254, -0.5909709334, -0.8370682001, -0.2244757116, -0.1745724529, -0.0902158767, -0.5346227288, 0.1654473543, -0.2902271748, 0.5251951218, -0.1280328035, -0.315235883, 0.1032109186, -0.1046594605, -0.7081300616, 0.7389323711, 0.5325733423, -0.8162631392, 0.1083541438, -0.5000047088, -0.3696681261, 0.092146337, -0.3719557226, -0.3951409459, 0.228837654, 0.1366021633, 0.0880235583, -0.5340989828, 0.2930446863, -0.3460779786, -0.1649134159, 0.2253181487, -0.4874209166, 0.8087208867, 0.0976122916, -0.3389683962, -0.0962944329, -0.9970864654, -0.1870413125, -0.0977984369, 0.0415679105, -0.2536532879, -0.2201304734, -0.1040464789, 0.5307093859, -0.1624473333, -0.7681639791, 0.0030833534, -0.8022974133, 0.4841415882, 0.4938386381, 0.0647057369, 0.5043050051, -0.0899182707, 0.5692766309, -0.0138881449, -0.182258442, -0.0047220369, -0.7000458241, -0.6464681029, -0.5337440968, 0.4396167397, 0.3339830637, -0.7380263209, 0.1827253401, -0.3018737733, -0.3836233318, -0.7475760579, -0.0720238164, 0.3975198865, 0.8291535974, 0.2062242478, -0.8323047757, -0.7098439336, -0.8503377438, 0.5105075836, -0.5254045725, -0.1244348735, 0.4756104946, 0.1426214874, -0.2944590449, 1.4689301252, -0.2383639961, 0.0682721585, -0.3923248053, 0.3841366768, -0.0080719665, 0.2696480155, 0.6643666029, -0.8042515516, -0.335277319, -0.2098443806, -0.7289417386, -0.2524226904, -0.1164567396, -0.1569770128, -0.0986930653, 0.5504906774, -0.6349496245, 0.403773874, 0.7458541989, 0.0970435292, 0.604927659, 0.0930271968, 0.1080812886, -1.0208162069, -0.2035827488, -0.1876504719, -0.2430928349, -0.8975195885, -0.5382249951, -0.2115816325, -0.5351672769, -0.5197365284, 0.1688529253, -0.2998027503, -0.3760422468, -0.2659940124, 0.0201574471, -0.2617714107, 0.1891290545, 0.6477070451, 0.9713276029, 0.7214888334, -0.4198967516, 0.5882633924, 0.4453979433, -0.6855809093, 0.2169384807, -0.7385994196, 0.2572895885, -0.2027013004, 0.732349515, -1.2901138067, -0.1945218444, 0.1334821135, -0.2668847144, 0.2601206303, -0.1163099855, -0.2346028984, -0.1877180338, 0.0903228074, 0.5257749557, 0.4962520897, -0.3842271566, 0.5344804525, 0.4076502323, -0.6467306614, -0.1754501313, -0.3900426328, 0.1085811779, -0.3489077091, -0.9520214796, 0.3236683607, -0.1865657866, -0.3425745964, -0.1497572213, 0.0035099217, 0.2187834531, -0.2868702412, 0.2225236297, 0.2177515626, -0.4262468517, -0.0575177111, 0.0642566457, -0.0799767151, 0.1560132056, -0.2514627576, 0.7614428401, 0.0202666447, -0.2053212225, -0.6790525317, 0.4069874883, 0.7947075963, -0.1062884852, 1.0731244087, 0.1019316763, 0.0191585254, -0.2629473209, -0.3232854307, -0.3207299411, -0.3913959265, 0.3137905598, -0.4797389805, -0.8261035085, 0.2230433077, -0.3178986013, -0.0905436054, 0.1890994012, 0.5525327325, -0.1716376543, 0.8875973225, 0.4774723947, -0.2203560323, 0.530456841, -0.3879253268, 0.4327688515, -0.6308662295, -0.2569674551, -0.2854086459, 0.1632368714, -0.4293135703, -0.6123759151, 0.4488238096, 0.114283599, 0.212158978, 0.415884167, -0.1125363708, 0.0105840685, 0.4473718703, -0.0028015652, 0.055996839, 0.0616861731, -0.1449810416, -0.0535904318, -0.8705333471, -0.124477461, 1.2394586802, 0.2663209736, 0.51690799, 0.0754036605, 0.5282574296, 0.2496168315, -0.0875534937, -0.4271834195, 0.5295867324, 0.0635991916, -0.5737279654, -0.4970733225, -0.6636116505, -0.474088788, 0.2266323864, -0.0360137299, -0.3466881812, 0.495295316, 0.1559936404, -0.2855542302, -0.0875501782, -0.8411381245, 0.6596630216, -0.1880360097, -0.1233512983, -0.2155075073, -0.8423969746, 0.4435703158, -0.4667434692, 0.3764999807, 0.2925778925, 0.6951627135, 0.727027297, -0.7252998352, 0.8148209453, -0.1912193894, -0.1245664582, 0.5227457285, -0.2225839198, 0.4989342391, 0.1212394014, -0.0646706671, 0.3615554869, -0.3063569963, -0.3410558701, -0.4163658917, 0.5196092725, -0.87453866, -0.5227754116, -0.2608744204, -0.5648544431, -0.7176374793, -0.2259632796, 0.4651409388, 0.6412735581, -0.6365717053, 0.4165950119, 0.7850323319, -0.2734111547, 0.3445559442, 0.4977685809, 0.0592235625, -0.4174007475, 0.6643603444, -0.0415276997, 0.8690219522, 0.1386710256, -0.0115636047, -0.5493565798, -0.5961622596, -0.5887541771, 0.3700755835, -0.3582085669, 0.1799049377, -0.6740962863, -0.4309009314, -0.8557068706, 0.173469469, -0.6262956858, -0.6754890084, -0.1382876635, -0.3306660354, 0.1367603689, 0.4678304791, -0.2679312825, 0.5406092405, -0.7152327895, 0.5083485246, 0.4892810583, 0.0781264976, -0.1854659468, -0.6407694817, -0.1845281422, 0.4671676457, 0.2334663719, -0.8351145983, 0.5057833195, 0.2000922561, 0.4869767427, 0.6015567183, 0.0073542451, 0.6841011047, -0.5156265497, 0.9800788164, 0.6027805209, -0.7775976658, 0.5427063704, -0.402995646, 0.3349862397, 0.443680495, 0.3206901252, -0.3791239262, -0.2247125953, -0.542765379, -0.7113008499, 1.1680262089, 0.6163083315, 0.087720044, 0.0747984871, -0.2409817427, 0.0588162765, 0.3103363812, -0.3866587281, -0.1677063555, -0.8137022853, 0.1348644197, -0.4287641346, -0.2878488898, -0.3059845269, -0.3641811013, 0.7294414043, 0.2605503798, 0.3131756186, 0.1204481497, -0.0297160652, 0.0309437886, 0.282014519, 0.5372164249, 0.4658425748, -0.3736442626, -0.1216138154, -0.0687023997, -0.3133374751, 0.0972100347, 0.3095601797, 0.0177743826, 0.3416016996, 0.3652068675, 1.1092324257, 0.1079050899, -0.6738852262, 0.3087043464, -0.1614470482, -0.2209458947, -0.2898601294, -0.0787175745, 0.2568893731, -0.051157359, 0.0501004606, -0.1417577565, 0.1580667794, -0.8607134223, 0.3791566789, 0.3896821439, -0.2839756608, -0.2140025347, 0.2678484619, 0.4920462668, -0.1585112214, 1.061724782, 0.0259440765, -0.3943589032, 0.3915668428, 0.6871466637, 0.6050448418, -0.6631340981, 0.4206970632, 0.4376490712, -0.0053197355, -0.1700001061, -0.2845717371, -0.3685195744, -0.8015150428, -0.1794873029, -0.7309735417, -0.154501617, 0.2861860693, -0.6172633171, 0.1168082505, -0.289789319, -0.0885563195, -0.0353277363, -0.4637936652, -0.2637863457, 0.450109154, 0.3908834159, 0.5760900974, -1.1449418068, 1.0084061623, 0.2832352817, -0.3302736878, -0.6830693483, -0.0748844072, 0.1523626, -0.4378320575, 0.4632700682, -0.1053594276, -0.5166091919, 0.0400142968, -0.300847888, -0.7643182278, 0.7057828903, 0.2607122064, -1.2883188725, -0.2732956111, 0.7746953964, 0.6649575233, -0.6186245084, 0.2291530818, 0.8477645516, 0.0241014306, 0.6049020886, -1.0444501638, -0.5248746872, -0.2901382148, 0.1605289429, 0.2094894201, -0.3933730423, 0.6536098123, 0.2812609076, -0.1814932972, 0.1419149637, 0.5738777518, 0.3068996072, 0.2426201701, 0.6547323465, 0.7318557501, 0.5343233347, -0.1174000129, 0.9828874469, -0.136573121, 0.0372688025, 1.2842745781, -0.354424715, 0.3990712166, 0.2326387167, -0.107922025, 0.5046367049, 0.4776360691, 0.3656661212, 0.9469345212, 0.1782949567, -0.6626217365, -0.4318007529, -0.0858539715, -0.6784051657, 0.5746035576, 0.5944409966, -0.453258872, -0.0938267633, 0.276062578, -0.4617604017, -0.1054020971, -0.0865905881, 0.9221581221, 0.1637633592, -0.5095816851, 0.5655326843, -0.1870978922, 0.2972461581, -0.724334538, -0.040802855, -0.2791933715, -0.0935949832, -0.0006263651, -0.2841540873, 0.1686140001, 0.0990051553, -0.0876011848, -0.3318191469, 0.3664347529, -0.5690411925, -0.5031357408, 0.318099767, 0.2495060861, 0.3125543892, 0.0787221044, -0.5395565033, 0.0575565994, 0.366356343, -0.0239478424, 0.3235012889, 0.4298605621, -0.053300485, 0.1975114048, 0.6749555469, 0.1858081967, 0.2428461909, 0.4130014777, 0.9075602293, -0.4269852936, -0.508654356, -0.367112875, 0.6928848624, -0.1796457171, -0.1641020924, 0.6127678156, 0.8224503398, 0.8478611708, -0.0871843174, 1.001921773, -0.1787638813, 0.6155163646, -0.4775818288, 0.4231216609, -0.2088240534, 0.2888873816, -0.533044517, -1.1417841911, 0.1826761812, 0.7078122497, -0.416908145, 0.0164239146, 0.5540583134, 1.0086927414, -0.1694567651, 0.3983635306, 0.3561091721, 0.31130144, 0.2872112393, 0.3480060697, 0.930740118, -0.1641914845, 0.3984707892, -0.3335959315, -0.2487794161, -0.0870262161, -0.3379816115, -0.8984823823, -0.7316792607, -0.3046276569, -0.3191665709, 0.0739936084, 0.5888883471, 0.9980542064, -0.8827853203, -0.2944555283, -0.5266262889, -0.5871146917, 0.2634254992, -0.2079471797, 0.1189233065, 0.2178525627, -0.8441764116, 0.9086899161, 0.1908770949, 0.1616885066, -0.0841869488, -0.2104275078, -0.1386667341, 0.1904954165, 0.5812354088, 0.3573002219, -0.4959846139, -0.0523324385, -0.1602107435, 0.0328360312, 0.056672439, 1.0089205503, -0.8490918875, 0.9892705679, 0.536329329, 0.3662138879, 1.0041429996, 0.2788368165, 1.1439114809, -0.768864572, 0.4434794784, 0.3366440535, 0.2446400374, 0.5023576617, -0.0069185011, 0.2936459482, 0.321611017, -0.152110517, -0.8063979745, 0.3060964942, -0.9752234817, -0.2694728971, 0.9251717925, -0.0555857085, 0.3961985409, -0.1418977827, -0.2689976692, 0.4606197178, -0.3993406296, 0.7286517024, 0.8038065434, -0.3003325164, -0.3486536145, -0.2590857148, 0.6973724961, 0.3862628639, -0.748650074, -0.0542511865, 0.8946457505, 0.2175396234, 0.2356545329, 0.7652346492, -0.2387775928, 0.2309678793, 0.2002627552, -0.3380538523, 0.2305689454, -0.5528336167, -0.3320018053, 0.1953972727, -0.2905837595, -0.1780928522 ]
http://arxiv.org/abs/2407.01909v1
http://arxiv.org/pdf/2407.01909v1
Pinyin Regularization in Error Correction for Chinese Speech Recognition with Large Language Models
2024-07-02T03:16:47
2024-07-02T03:16:47
Zhiyuan Tang, Dong Wang, Shen Huang, Shidong Shang
cs.CL
cs.CL, cs.SD, eess.AS
Recent studies have demonstrated the efficacy of large language models (LLMs) in error correction for automatic speech recognition (ASR). However, much of the research focuses on the English language. This paper redirects the attention to Chinese. Firstly, we construct a specialized benchmark dataset aimed at error correction for Chinese ASR with 724K hypotheses-transcription pairs, named the Chinese Hypotheses Paradise dataset (ChineseHP), which contains a wide range of scenarios and presents significant challenges. Subsequently, we conduct a preliminary evaluation using the dataset for both direct-prompting and fine-tuning pre-trained LLMs. Furthermore, we propose a straightforward method of Pinyin regularization for prompts, which involves the transcription of Pinyin directly from text hypotheses. The experimental results reveal that Pinyin regularization consistently enhances the error-correcting ability of LLMs when compared with those without regularization. The dataset is available on the website.
[ 0.31964311, -0.5273848772, 0.2763541639, 0.3339490592, -0.3498095274, -0.1313066334, -0.6708920002, -0.1990338415, 0.1001180112, 0.3427052796, -0.2789895236, -0.5431739688, -0.3051822484, 0.4607347846, -0.1516522765, 0.4264712334, -0.2439509928, 0.5436025858, 0.2982521653, 0.0283934288, -0.7150860429, -0.4423948526, -0.927763164, -0.1087787822, 0.8559672832, 0.531570971, 0.428948015, 0.8974049687, 0.6352357864, 0.1703945249, 0.0196210295, 0.2718217969, -0.3460439742, -0.0650742799, 0.5437884927, -0.2399562448, -0.3396956623, -0.2315729409, 1.2076694965, 0.7642782331, -0.2196420282, -0.0821795315, 0.2420953214, 0.5164448619, -0.3925341666, 0.1997285336, -0.7128347158, 0.0960406363, -0.3043351173, -0.3354286849, -0.4831931591, -0.3215275109, -0.0756765679, -0.5251687169, 0.246228829, 0.1404880881, 0.7347629666, 0.4730634689, -0.2180621028, 0.0626621693, -0.8380551934, 0.8177109361, -0.9576331973, 0.5605073571, 0.3064595759, 0.3053334951, -0.1950018704, -0.6038437486, -0.4795101583, -0.4554047287, -0.1102529988, 0.0847449601, 0.0639161617, 0.3452003598, 0.5765858293, 0.2224798501, -0.542219162, 0.3219846189, -0.3249710798, -0.4958868921, 0.7498062849, 0.0900456235, 0.4581974149, -0.1070235297, 0.0472117215, -0.1370406151, -0.9020181298, 0.2667259574, 0.1531043351, 0.8561128974, -0.071765177, 0.3826562166, -0.2230160385, 0.7895325422, -0.0191448256, -0.1380938441, 0.1507328004, -0.2862307727, -0.2449006587, 0.5885031223, 0.771972537, 0.2251702398, 0.2587056756, -0.0735523924, -0.276652962, -0.1803884059, -0.1178119481, -0.6040477753, -0.3641315401, 0.3011772335, -0.4375629127, 0.4082862735, 0.382842809, -0.2498793751, -0.3330677152, -0.3671516776, 0.4027757049, -0.1618930846, 0.0462553129, 0.1691488475, 0.0969509557, 0.3827346265, 0.5995556712, -0.7108383179, 0.14750655, 0.5807897449, 0.7668173313, -0.2982326448, -0.468636483, -0.8137719035, 0.2090100646, -0.6275547743, 0.6925733089, -0.2373670787, -0.4538207054, 0.2180075645, 0.0725344196, -0.2204464376, -0.6266623735, 0.8626621962, -0.2091828436, -0.1398930997, -0.6870189905, -0.4668257236, 0.0182447825, 0.0700014383, -0.6470188498, 0.6004695892, -0.3920146525, -0.6391682029, 0.1772690564, -0.5233994126, -0.6835234165, 0.0220095813, -0.1542423069, -0.3719756007, -0.1323945522, 0.2614337802, 0.2053301036, -0.1455278695, 0.0946027637, 0.0802086443, -0.7704966664, 0.0506778508, -0.6075316668, 0.8370881677, 0.155859977, -0.4039258063, 0.2556209862, -0.7046317458, -0.0192898456, 0.0917956531, -0.5741707683, -0.1575142741, 0.1307865083, 0.0107736923, -0.147143662, 0.3333687484, -0.6938095689, -0.0229151715, -0.339697361, 0.3535953462, 0.6785011888, -0.1753249019, 0.0144150462, -0.2498013526, 0.149462834, 0.0921274051, 0.092886135, -0.2932231426, -0.3986963928, -0.8231745958, -0.1444273442, 0.6151649356, 0.5800212026, -0.4499542117, 0.456635952, -0.1671835929, -0.3236303627, -0.5463542938, 0.1401550472, 0.3837260306, 0.6691091657, 0.3966698945, -0.1025381684, -0.7326148152, -0.6389796138, -0.3978831172, -0.3480046988, -0.2872505486, 0.4243627191, -0.1301075369, -0.2798823714, 0.6248512864, -0.2814280093, -0.5087839365, -0.1721551865, -0.0553041436, 0.2238512486, 0.6258819699, -0.0015583715, -0.8186476231, -0.9060165286, 0.0389903337, -0.280790627, -0.13549833, -0.0492280573, 0.0428292006, 0.316931814, 0.5786443949, -0.4008778334, 0.2883195877, 0.3689528108, 0.0907353535, 0.6005700827, -0.3185744882, 0.3969524205, -0.9122091532, 0.0341571905, 0.063754119, 0.1130828038, -0.8453416824, -0.3073240221, 0.4521683455, 0.0503166951, -0.299055934, 0.3667061329, -0.513338089, -0.0600814447, -0.167157501, 0.1016409472, -0.213606596, 0.3307815194, 0.0969909877, 0.6080043316, 0.4367019832, -0.5121011734, 0.6121445894, 0.2107796669, -0.1749364883, -0.0356543399, -0.8379019499, 0.1608082205, 0.0565914698, 0.3965991139, -1.3115822077, -0.417719841, 0.2230104059, -0.6827406287, 0.4248293638, 0.1198252216, -0.6697785854, -0.4039775133, -0.3828779459, 0.3710808456, 0.6748072505, -0.6573817134, 0.4014618695, 0.0735748187, -0.1484674662, -0.6297349334, -0.5914699435, 0.2004416138, -0.1001448929, -0.5303128958, 0.4301270545, -0.1270923764, -0.2476718575, -0.3349847794, -0.0387317427, -0.1837783456, -0.0383049436, 0.0717454478, 0.3130980134, -0.4659188986, -0.0285370387, -0.2151323259, 0.0338671133, -0.0082665514, -0.0196068939, 0.4160628915, 0.349116385, -0.3526787162, -0.9960767627, -0.0623838268, 0.2063486278, -0.2845087647, 0.2282093018, 0.4279418588, -0.7130660415, -0.0589744449, -0.6868695617, -0.2911369205, -0.4557382464, 0.4342088699, -0.1624397933, -0.6058589816, 0.6233052611, 0.4503662288, 0.2741216719, 0.3728272319, 0.3870010376, -0.0231267475, 1.2455655336, 0.3296214342, -0.5109139681, 0.4128058553, 0.2583518028, 0.2255051881, -0.6799935102, 0.0675463304, -0.8434118032, -0.0606090501, -0.6088213921, -0.353634268, 0.2566325068, -0.3127735257, -0.1799157411, 0.0762912333, -0.2415906042, 0.4852727652, 0.6771221161, 0.2738976479, 0.3641907871, -0.0096121915, 0.280926317, -0.3116244972, -0.7179344296, -0.2620514035, 0.8034530878, 0.2476440817, 0.8190980554, -0.1185257435, 0.5312600732, 0.1623946577, -0.0030845187, -0.8565078974, 0.3696292043, -0.4731249511, -0.2001151741, -0.6620195508, -0.5982925296, -0.9015715122, -0.0453170277, 0.0920771733, -0.3280948997, -0.1218118221, 0.3901032805, -0.7679691911, 0.1851378083, -0.6209054589, 0.7660165429, -0.1789640933, -0.0673511848, -0.0681898817, -0.6172653437, 0.259655416, -0.0846658871, 0.0189729407, 0.0434430987, 0.1116185412, 0.8709639907, -0.1805051863, 0.7403957248, -0.3865360618, -0.3272339702, 0.2320133448, -0.2974909842, 0.6119703054, -0.2097094208, -0.0774978027, 0.1771162003, -0.175335288, -0.2870885134, -0.4418155253, 0.5634596348, -0.7672535777, -0.6771384478, -0.1829322577, -0.5367187262, -0.2877824605, 0.2589259148, 0.3453859389, 0.5447441339, 0.0757154822, 0.348157078, 0.7992220521, -0.4609502554, 0.2335346192, 0.6248509884, 0.1620871574, -0.2671069801, 0.9266912341, 0.6367823482, 0.0552815087, 0.4326259792, 0.3552205563, -0.2945618629, -0.784422338, -0.3508463204, 0.3169208467, -0.6064298153, -0.0456613041, -0.4399253726, -0.5512534976, -0.7707184553, 0.0566611364, -0.3055077791, 0.0111406855, -0.4048191011, 0.2306895405, 0.1073532104, 0.4432918429, -0.1127288342, 0.1983730048, -1.012116909, 0.4289405942, 0.3534159064, 0.2554699779, 0.0634033754, -0.9970413446, -0.4712336957, 0.3118674755, 0.0473098904, -0.5059957504, 0.2691574991, 0.2449673116, 0.6045509577, 0.4962546229, 0.2583394349, 0.9486650825, -0.9472783208, 0.8298885822, -0.0054683816, -0.826622963, 0.5985938311, -0.355001241, 0.2067055106, 0.3016979992, 0.1562642604, -0.9640863538, -0.2837204039, -0.2995826006, -0.5772352815, 0.723271966, -0.143766731, 0.1949627846, 0.2528871894, 0.4601509571, -0.1385139525, -0.0998139605, -0.4400116801, -0.3481532335, 0.0693177581, -0.4522681534, -0.4066447318, -0.3919687569, -0.0129397782, -0.3788744509, 0.6419001818, -0.0517672077, 0.0741728395, 0.3395284414, -0.0820654109, -0.5305771232, -0.0220254567, 0.6555362344, 0.6001785994, -0.2924256325, -0.0660720244, 0.3034834862, -0.5603622198, -0.1247578636, 0.3003863394, -0.2049203068, 0.3108021617, 0.3840577304, 0.6360804439, 0.0458205119, -0.7506561875, 0.3255508244, -0.3189937472, -0.0894898474, -0.3931996226, 0.084299922, -0.1796137542, 0.0611680299, 0.7218253613, -0.3733690977, 0.1938264817, -0.2675142586, 0.1132693812, 0.3672462404, -0.3399395049, -0.2657146752, 0.6981484294, 0.1455629915, -0.3759897649, 0.545488894, 0.1787643135, -0.6984000802, 0.734354794, 0.4444400072, 0.8497089148, -0.5665127635, -0.199373588, 0.7329493761, 0.3283876777, -0.4162112176, 0.1407818496, 0.0092814183, -0.8111354113, -0.5002022386, -0.1951174885, -0.945019722, 0.1012427807, -0.6020490527, 0.6354763508, -0.5190716982, 0.2634193897, -0.1675353348, 0.2186182141, -0.0675239637, 0.3011888862, 0.3973837197, 0.8717779517, -0.6071754098, 1.0162539482, 0.5003624558, -0.0426516682, -1.2776677608, 0.4428194463, -0.1941802949, -0.7710190415, 0.6879519224, 0.3263149858, -0.0156740434, 0.1405991912, -0.6982687116, -0.8389049172, 0.9603293538, 0.3616403639, -0.820425272, 0.0717470199, 0.1258742362, 0.4875597954, -0.0831380486, -0.273548454, 0.6202452183, 0.4311295152, 0.0667938441, -1.1928570271, -0.0502841435, -0.0361817814, -0.0353587791, -0.2036040425, -0.8711562157, 1.0418453217, -0.3219929636, -0.3044131398, 0.1032878757, 0.7814381123, 0.4139445722, 0.2171855122, 0.5437137485, 0.0658260435, 0.7528138757, -0.1467059255, 0.5743427277, -0.3193568885, 0.1721741259, 0.9865866899, -0.468796134, 1.0137861967, 0.4160668254, -0.3986076713, 0.1694116443, 1.0252468586, -0.0190456454, 0.3175017536, 0.2563685775, -0.0369703397, -0.0339051411, -0.1233761013, -0.4695087671, 0.3210332394, 0.1236769408, -0.0208370481, 0.1513212174, -0.2745144367, -0.0476583056, 0.0303618181, -0.5913299918, 0.7580366135, -0.0168057773, -0.5176721811, 0.7378042936, -0.069600679, 0.7936598063, -0.6254794598, -0.1587109119, -0.3981201947, 0.1523935348, -0.2663609087, -0.2688935399, 0.0176197644, 0.1099781692, -0.1225623041, 0.0541774519, 0.7490180135, -0.7493069172, -0.3563835323, -0.0370619558, 0.0216030125, 0.2149827182, -0.0982375666, -0.4797495902, 0.1952096671, 0.1916911006, -0.008097074, 0.0805475563, 0.3919405043, 0.1775102764, 0.4144685566, 0.5990165472, 0.5214407444, 0.2060368657, 0.2446901947, 0.5129763484, -0.8041139245, -0.5770343542, -0.9401564598, 0.3866913021, 0.1250457764, 0.0353642926, 1.1317652464, 0.4338706434, 0.8166751862, -0.0263720397, 0.9151699543, 0.3251315355, 0.7771371007, -0.6356865168, 0.7236770391, -0.5758277178, 0.2233356237, -0.3818794191, -0.8054668307, -0.7559520602, 0.6406110525, -0.1371400654, -0.0077683162, 0.4670556188, 0.7924833894, 0.3038179576, -0.0717799366, 0.4941619337, 0.3733524084, 0.254959166, 0.4801843166, 0.8105635643, -0.5956643224, 0.3955294192, -0.2701821327, -0.0852395073, -0.5215536356, -0.5572067499, -0.6338091493, -0.440492332, -0.2791187465, -0.3519037664, 0.0986550376, 1.2845160961, 0.27248317, -1.1235120296, -0.4978409111, 0.2151036114, 0.1725195646, -0.1903170347, -0.1176977307, 0.7333647609, -0.5428865552, -0.8818976879, 0.2744610608, 0.1474334449, 0.2100847512, -0.1004771814, -0.401478976, 0.1983352154, -0.0763746798, 0.2891386747, 0.407951653, -0.7554283738, -0.4290355742, 0.1905598193, -0.2737294137, 0.283998549, 0.8539162278, -0.2468931228, 0.4434374571, 0.3934368193, 0.8130583167, -0.2175464779, 0.0894045979, 0.6356149316, -0.522732079, 0.1143895239, 0.1271712929, 0.5341632962, 0.6568885446, -0.3302605748, 0.1959315538, 0.2950834632, -0.6284287572, -1.2276518345, -0.2350054532, -0.8446799517, 0.1208995059, 1.4373947382, -0.2383887768, -0.3033226728, -0.0877118483, -0.5790708065, 0.5272985697, -0.3144434988, 0.9521190524, 0.6483641267, -0.0634901747, -0.1886719316, -0.3554369509, 0.7366684079, 0.4877556562, -0.5254152417, 0.5068097115, 0.5922394395, 0.0709005594, -0.0205814578, 0.6300382614, 0.2176254839, 0.6540973186, 0.00030136, -0.0114928409, 0.2524313629, -0.3515670002, -0.6033086777, -0.4697966278, 0.4413297474, -0.3225057125 ]
http://arxiv.org/abs/2407.01906v1
http://arxiv.org/pdf/2407.01906v1
Let the Expert Stick to His Last: Expert-Specialized Fine-Tuning for Sparse Architectural Large Language Models
2024-07-02T03:11:13
2024-07-02T03:11:13
Zihan Wang, Deli Chen, Damai Dai, Runxin Xu, Zhuoshu Li, Y. Wu
cs.CL
cs.CL, cs.AI, cs.LG
Parameter-efficient fine-tuning (PEFT) is crucial for customizing Large Language Models (LLMs) with constrained resources. Although there have been various PEFT methods for dense-architecture LLMs, PEFT for sparse-architecture LLMs is still underexplored. In this work, we study the PEFT method for LLMs with the Mixture-of-Experts (MoE) architecture and the contents of this work are mainly threefold: (1) We investigate the dispersion degree of the activated experts in customized tasks, and found that the routing distribution for a specific task tends to be highly concentrated, while the distribution of activated experts varies significantly across different tasks. (2) We propose Expert-Specialized Fine-Tuning, or ESFT, which tunes the experts most relevant to downstream tasks while freezing the other experts and modules; experimental results demonstrate that our method not only improves the tuning efficiency, but also matches or even surpasses the performance of full-parameter fine-tuning. (3) We further analyze the impact of the MoE architecture on expert-specialized fine-tuning. We find that MoE models with finer-grained experts are more advantageous in selecting the combination of experts that are most relevant to downstream tasks, thereby enhancing both the training efficiency and effectiveness.
[ -0.792337954, -1.0734381676, 0.663726151, 0.0861157775, -0.17505458, 0.3322557211, -0.6113922596, -0.3358856142, 0.1989406049, 0.4990603328, -0.2927662134, -0.2689562142, -0.5994873047, 0.0604911149, -0.2202956378, 0.6204381585, 0.1326052696, -0.3326675594, 0.098410219, 0.1234315336, -0.3706123829, -0.1718251258, -0.6474903822, -0.2817443609, 0.3901272416, 0.4863246679, 0.7030277252, 0.8255733252, 0.1795487702, 0.444693327, -0.2999014556, 0.4375067651, -0.4724585414, -0.0461530946, -0.3519569635, -0.2139934748, -0.7409459352, -0.2637491524, 0.3500482142, 0.7898426652, -0.4245240092, -0.0409279466, 0.317478925, 0.561555922, -0.5944905281, 0.0463639721, -1.1377671957, -0.1593920588, -0.2987183332, -0.4292703867, -0.3649068475, 0.2097978145, 0.1390509903, -0.3828802407, 0.1375197619, 0.2561897635, 0.6922967434, 0.6609551907, -0.286436975, 0.154506281, -0.5800077915, 1.016250968, -0.6422205567, 0.2569152713, 0.4708076715, -0.0100564184, -0.1981125176, -0.1103373915, -0.150747031, -0.0379411764, 0.2149888128, -0.0667331219, -0.0502493158, 0.1946644336, -0.2135675848, 0.1781014055, -0.3338859677, 0.3660387099, -0.2754074931, 0.0186823476, 0.7611604333, 0.1147135049, -0.0950352773, 0.461943984, -0.2803765833, 0.3661356568, -0.6179922223, -0.2747416794, 0.3996968269, 0.18246378, 0.1375057399, 0.2182598561, -0.4192996323, 0.9117648005, 0.6671173573, -0.2805402577, 0.1808174103, 0.1126381308, -0.255936265, -0.0008701475, 0.5813163519, 0.1473754048, 0.449940443, -0.4252079427, -0.3943571746, -0.7016052008, 0.2151171118, -0.4683275223, -0.4979974627, 0.0234341919, -0.2678131759, -0.1937045902, -0.3824770153, -0.578969419, -0.0187738277, -0.5122382641, 0.4491613507, -0.3260970712, -0.4962894022, 0.2768799663, -0.0265647098, -0.0800491199, 0.2851114869, -1.2717157602, 0.3726129234, 0.945291698, 0.5323114991, -0.2172010541, -0.4712341428, -0.4948972762, 0.4869374633, -0.3114418387, 1.0270013809, -0.9287590981, -0.2574881017, -0.2683334947, -0.4425008297, -0.2615976632, -0.7774773836, 0.3398167789, -0.5944776535, -0.4613930583, -0.3028746843, -0.5711229444, -0.1296256036, 0.0606361069, -0.1544323862, 1.0527174473, 0.1983753145, -0.1837612838, 0.4082984626, -0.1175421476, -0.3510661125, 0.1872523278, -0.4586591721, -0.1219424009, 0.5178991556, 0.1675602794, 0.8318047523, -0.1156249642, 0.3234168887, -0.5853583813, -0.5001590848, -0.0378110036, -0.3764049709, 0.3167437315, 0.3074754477, -0.4154548347, -0.347645551, -0.8098473549, -0.0988846421, -0.1817671806, -0.6677055955, -0.4968911111, 0.2240714133, -0.03042119, -0.1413045526, 0.5249022245, -0.2773833573, 0.238614589, -0.3576365113, 0.4757807255, 1.0817309618, -0.0164273009, 0.6345963478, -0.4153975546, 0.1414847076, -0.0810419172, 0.0143414335, 0.0280452631, -0.6616508365, -0.550676465, -0.4852395654, 0.192886278, 0.3684144318, -0.3507969379, 0.6287251115, -0.1155789793, -0.4564048946, -0.44953686, 0.4829651713, 0.3697984815, 0.6075249314, 0.3013543785, 0.0581668876, 0.0030037232, -1.1399972439, -0.3052989244, -0.0051646251, 0.118050687, 0.4596588314, 0.1667241901, 0.004698718, 0.8718827963, -0.5741674304, -0.0941789746, 0.0514344275, 0.2209113985, 0.3532645106, 0.6951928735, 0.8839480281, -0.6067225933, -0.9582832456, 0.2610295713, 0.1016181111, -0.2480877787, -0.1034976915, -0.1697695106, 0.1771846265, 0.2600536644, -0.5112021565, -0.2996185124, 0.3702277243, -0.1832475811, 0.2442707568, -0.4227912724, 0.0490514077, -0.7869291902, -0.2983298302, 0.0051333946, -0.1915267259, -0.4742101133, 0.19720608, -0.0140562039, 0.268563062, -0.0922777131, 0.376450479, -0.4114819467, 0.1666995883, -0.3113487065, -0.2700859904, -0.2020983994, 0.8437176943, 0.0612726063, 0.634311974, 0.8167580962, -0.5586192608, -0.0707859024, -0.0483338386, -0.271268189, 0.5436760783, -0.6543650627, 0.3435464501, 0.0330978744, -0.4287897348, -0.9583437443, -0.2191403508, 0.0626615658, -0.0904605389, 0.5763894916, -0.292884618, -0.5965085626, 0.1724960655, -0.1401291043, 0.2251597941, 0.7957604527, -0.1497927159, 0.7743330598, 0.4577378035, -0.3892327845, -0.3509331048, -0.6232994795, -0.0326383524, -0.3344762027, -0.6838649511, 0.6920042634, -0.3122252822, -0.298309356, 0.0507442392, -0.241597712, -0.4813203216, 0.4472324252, -0.1069592386, -0.2861773372, -0.3757526875, -0.1637467742, 0.7682837248, -0.1921531707, -0.2562003136, 0.0445647463, 0.4751569629, -0.1802711785, -0.4863909483, -0.24986808, 0.6424509287, 0.4998349547, -0.2773369551, 0.7539106607, 0.6673811674, -0.1469226629, -0.3616781533, -1.0841836929, 0.0659734681, -0.5802676678, 0.501785934, -0.4969780147, -0.9132624269, 0.4779914618, -0.1833091378, 0.3205955327, 0.33262375, 0.7389722466, -0.1449433118, 1.1596467495, 0.7885042429, -0.2366795838, 0.3852117658, -0.0453167856, 0.0467548296, -0.5713202357, -0.0978082195, -0.6389481425, -0.5411445498, -0.2316935658, -0.2417567372, 0.4623448849, 0.2462456673, -0.4113899767, 0.0634853691, -0.5655558705, 0.7038712502, 0.4225229919, 0.3220870793, 0.3119128942, 0.2490183562, 0.1434385926, 0.2500224411, -0.8204005361, -0.2874827683, 0.8061541319, 0.2897858918, 0.6302774549, -0.1422367692, 0.8575164676, 0.0468977131, -0.0858458951, -0.5539318919, 0.6097408533, -0.4115031362, -0.3741306365, -0.2078739405, -0.1842195094, -0.5427466631, 0.2230072916, -0.0560514629, -0.6009683609, 0.5383425355, 0.361230731, -0.6751873493, 0.2661071718, -0.7743362784, 0.4069621265, -0.1773989499, -0.1954371333, -0.6001991034, -0.3593580127, -0.0247037318, -0.5532752275, 0.2294665873, -0.3501860797, -0.5470225811, 0.5193596482, -0.3205808699, 0.8163555264, -0.0944695845, -0.1087544784, -0.0819478408, 0.1693142503, 0.7741932273, -0.0691605136, -0.4245801866, 0.1191476062, -0.1941906363, -0.5827001333, -0.3452816308, 0.848005414, -0.9534546137, -0.8667225838, 0.3266238868, -0.5109965801, -0.4384944141, 0.1525948197, 0.1954156309, 0.3631869853, 0.4017368257, 0.4831580818, 1.0799506903, 0.1044728905, 0.3216142952, 0.7943058014, 0.4944314659, -0.178452298, 0.8329304457, 0.4213325977, -0.059494324, 0.5657410026, 0.2785438299, 0.1544084102, -1.2498011589, -0.2894210815, -0.0272683632, -0.2927290201, -0.133899197, -0.6902926564, 0.2088383138, -0.0198257156, -0.6409962177, -0.6403201222, -0.0940172151, -0.4929820299, 0.1314800233, 0.4831185937, 0.4152603447, 0.1805440634, 0.4351093173, -0.8255341649, 0.0373105928, 0.3455279768, 0.363720119, 0.1272644401, -0.5856826305, -0.4856205881, -0.0527572259, -0.2185757905, -0.7272154093, 0.083075352, 0.5619457364, 0.9785556793, 0.6662290096, 0.0224400572, 0.9537706375, -0.6355692744, 0.613699317, -0.1618991643, -0.723200202, 0.1025920659, -0.6614018679, -0.0271013286, 0.7083547115, 0.1405379325, 0.2503113151, -0.6229501367, -0.4465947151, -1.0164115429, 0.588326931, -0.0744596943, 0.4789400101, 0.0166880488, 0.5233354568, 0.3973169923, 0.269400239, -0.093989186, -0.1939778775, 0.3764892519, -0.1910636425, 0.0698119774, -0.4332024455, -0.1148325577, -0.3990186453, 0.5575908422, -0.0582414791, 0.0437455177, -0.1307591051, 0.070054315, -0.5162856579, 0.1125362888, 0.4833986461, 0.8233451843, -0.1871520579, 0.0554071516, 0.4085609913, -0.0855786651, -0.1444372833, 0.0240042862, -0.0757866278, -0.0565228909, 0.3009800017, 0.6981661916, 0.5873021483, -0.5838313699, 0.2747474611, 0.5000960231, -0.4912416637, -0.0844249651, 0.5361686945, 0.0463729575, 0.6860846281, 0.7232640982, 0.5364485979, 0.0772822797, -0.2331834584, 0.1061038002, 0.3947179914, 0.2345496118, -0.3809741437, 0.5957884192, 0.2873898745, -0.3485614061, 0.2734321058, 0.0552071854, -0.2467836142, 0.5924268961, 0.1272411942, 0.8405423164, -0.0990061834, -0.1274200529, -0.1172842309, 0.1772785932, -0.31379807, 0.0981861427, -0.3949607015, -0.5516855121, -0.6505233049, -0.701023519, -0.1505140513, -0.0319108777, -0.5236287713, 0.102305837, -0.3652397096, -0.1191863865, -0.113028273, -0.0660937279, -0.6019940972, -0.1316344887, 0.1304997653, 1.0191482306, -0.7382246852, 0.730880022, 0.9280605316, 0.1893660426, -0.8827653527, 0.024714943, -0.2574219406, -0.9236467481, 0.4358812869, -0.5139477253, 0.0597831905, 0.2110399604, -0.4258677065, -0.9101100564, 0.9022450447, 0.6462245584, -0.902379334, -0.0030692732, -0.0748450235, 0.5843499303, -0.1658414006, 0.1069477871, 0.5624625087, 0.5433577299, -0.0587439425, -1.116342783, -0.2483196706, -0.196140945, -0.068001613, 0.2103352994, -1.0679584742, 0.9559051394, 0.1678952128, 0.4120471776, 0.0607352778, 0.5395381451, 0.3152492344, 0.0416546352, 0.6557140946, 0.551784575, 0.6226448417, 0.1460977942, 0.7243362069, -0.7604911923, 0.4225144088, 0.8015427589, -0.0156973619, 0.9544095397, 0.5246850252, -0.2382022291, 0.0856515169, 0.8222494125, -0.0157416966, 0.8139654994, -0.2703469396, -0.1309931874, -0.8094565868, 0.2005737275, -0.4201259017, 0.2085113376, 0.3593859971, -0.3043167889, -0.342130065, -0.1293247044, 0.0038620732, -0.0292550828, -0.5957322121, 0.7691504359, 0.0879404396, -0.6321647167, 0.7211523652, 0.1152896211, 0.7498272657, -0.4258629382, 0.1669949144, -0.1721482724, 0.1114233285, -0.239900738, -0.8227725029, 0.2772252262, -0.0932794064, -0.2413505465, -0.5133638382, 0.6022561193, -0.5375022292, -0.2419041842, 0.1193785816, 0.5590583086, 0.1730011255, -0.3544235229, -0.7996041775, -0.0799623579, -0.1513575464, -0.6836094856, 0.5950003266, 0.6216772795, 0.2503114641, 0.5055934787, 0.2568537593, 0.1547090113, 0.142020151, -0.1847753525, 1.0146939754, -0.1007278338, -0.5321832895, -1.0588777065, 0.5096758008, 0.2628340423, -0.3348355591, 0.5229396224, 0.4595773518, 0.8190717697, -0.2637530565, 0.507055819, 0.0098649915, 0.1715580821, -0.5407888889, 0.5845900178, -0.9535742998, 0.4071570039, -0.2803168297, -0.8907485008, 0.1121382043, 0.3120858073, -0.2605056763, 0.1419281214, 0.1863699555, 0.839088738, -0.4041951001, -0.3080601096, 0.5326960087, 0.4256437123, 0.0335157327, 0.6298242807, 0.550752759, 0.1433701962, 0.4337269664, -0.4391921461, -0.224928841, -0.4893553257, -0.6738778353, -0.9910222888, -0.5419833064, -0.4517759383, 0.5250605345, 0.0563551113, 1.0355648994, 1.0297541618, -0.7415038943, 0.107558541, -0.0827959254, 0.0260333586, -0.3222627342, -0.1091736183, 0.328348726, -0.3864536285, -1.0082793236, 0.5341665745, 0.6023352742, -0.2722067237, -0.1232392862, -0.0928998739, 0.2345862389, 0.1471924484, 0.4770540297, -0.0807899982, -0.6535624266, -0.2181389481, -0.0104640126, 0.1435528696, 0.0536406934, 0.5477713346, -0.4277930558, 0.164223969, 0.6447924972, 0.8420193195, 0.2140094936, -0.0128218066, 0.5230343938, -0.7069771886, 0.0680384934, 0.1827799976, 0.5403851867, -0.3321213126, -0.5995905399, 0.1763506383, 0.2377457917, -0.7356159687, -0.7889534235, -0.0005864899, -1.224203825, -0.4667169154, 1.0660895109, -0.0228904095, -0.0129474439, -0.4070906937, -0.3488855064, -0.2031940967, -0.7877859473, 0.8802804351, 0.6523734927, -0.291307807, -0.3698113561, -0.3586957157, 0.1811777949, 0.6308789849, -0.2615765035, -0.2674092948, 0.0524710938, 0.5126745105, 0.0115872426, 0.6619636416, 0.3639596403, 0.0677432716, -0.1756521761, -0.5410334468, -0.6570933461, -0.3721351922, 0.0002705746, 0.3987582028, 0.2853042781, 0.1090386957 ]
http://arxiv.org/abs/2407.01902v1
http://arxiv.org/pdf/2407.01902v1
SoP: Unlock the Power of Social Facilitation for Automatic Jailbreak Attack
2024-07-02T02:58:29
2024-07-02T02:58:29
Yan Yang, Zeguan Xiao, Xin Lu, Hongru Wang, Hailiang Huang, Guanhua Chen, Yun Chen
cs.CR
cs.CR, cs.AI, cs.CL
The widespread applications of large language models (LLMs) have brought about concerns regarding their potential misuse. Although aligned with human preference data before release, LLMs remain vulnerable to various malicious attacks. In this paper, we adopt a red-teaming strategy to enhance LLM safety and introduce SoP, a simple yet effective framework to design jailbreak prompts automatically. Inspired by the social facilitation concept, SoP generates and optimizes multiple jailbreak characters to bypass the guardrails of the target LLM. Different from previous work which relies on proprietary LLMs or seed jailbreak templates crafted by human expertise, SoP can generate and optimize the jailbreak prompt in a cold-start scenario using open-sourced LLMs without any seed jailbreak templates. Experimental results show that SoP achieves attack success rates of 88% and 60% in bypassing the safety alignment of GPT-3.5-1106 and GPT-4, respectively. Furthermore, we extensively evaluate the transferability of the generated templates across different LLMs and held-out malicious requests, while also exploring defense strategies against the jailbreak attack designed by SoP. Code is available at https://github.com/Yang-Yan-Yang-Yan/SoP.
[ -0.3046427369, -0.7765038013, 0.4584719837, 0.5947927833, -0.0861786008, 0.2955934107, -0.146116823, -0.3133344054, 0.5393298268, 0.5368375182, -0.6545832157, -0.458480835, -0.579272747, 0.1738705486, -0.3379356861, 1.044767499, 0.1152974889, -0.2047916502, 0.3604620695, 0.0068654064, -0.386641115, -0.5060998797, -0.5702548027, 0.1789351404, 0.3605878353, 0.5200547576, 0.5410725474, 0.4916573167, 0.3450077772, 0.2450377494, 0.0920629501, -0.0205941908, -0.3501234651, 0.2426891625, -0.0747275427, -0.1915162802, -0.554582715, -0.0584873669, 0.0396140814, -0.0913462192, -0.2279006541, -0.0388559662, 0.0674189851, 0.8251716495, -0.7008852363, -0.0258877594, -0.7979403138, -0.0752323568, -0.3238731623, 0.05001105, -0.3699056208, -0.6175552011, -0.1967969537, -0.4153382182, -0.0994222686, 0.2043278962, 0.4812620878, 0.2040237784, 0.092020072, -0.2017540485, -0.1488302797, 0.2246325016, -0.5726447105, 0.0612524748, 0.3593050539, 0.3699174821, -0.4130185544, -0.2500590682, -0.5286339521, -0.3912008405, 0.2571044266, -0.1699032336, -0.2480439246, 0.0440393053, 0.2128776759, -0.221592024, -0.5203288198, 0.1585294455, -0.311588943, -0.1032009125, 0.9210959673, -0.0036695458, 0.7340553403, -0.2105528563, -0.636633873, 0.2455595285, -0.9727022648, -0.1305804104, 0.3450562954, 0.3360958993, -0.497744292, 0.4568606019, -0.1152467579, 0.5669945478, 0.2565972805, 0.1194033399, 0.0282727089, -0.2785557806, 0.009647401, 0.2714048624, 1.1279580593, 0.573179543, 0.3444187939, -0.2074730396, -0.0739895627, -0.0326999016, 0.175502032, -0.6324995756, -0.1415806115, 0.237167567, -0.2403288037, -0.73918432, 0.1189150438, -0.7583109736, -0.8107430935, 0.3511254191, 0.1621481031, -0.5009473562, -0.2594101131, 0.089310661, -0.1416599751, 0.0610009432, 0.0818485171, -1.1273105145, 0.2734602094, 0.6246833801, 1.0030274391, -0.2286775112, -0.4780244529, -0.7226403356, 0.4505981505, -0.0083500277, 0.5954930186, -0.1586770862, -0.3433624208, -0.1960728019, -0.1822446883, 0.1117736101, -0.3463406861, -0.0332218036, -0.6361048222, -0.4803704321, -0.1465349644, -0.2226117849, 0.3924297392, 0.1647659093, -0.5503433943, 0.57301265, -0.2416990101, -0.8306779861, 0.20673953, -0.7181695104, -0.5981346369, 0.1848325282, -0.2358479053, -0.2748236656, 0.0261114445, 0.1799140871, 0.5849125981, -0.1945949793, 0.3735263348, -0.4685817361, -0.1908512414, 0.0302253235, 0.2158732861, 0.9742994905, 0.3714544177, -0.6942288876, 0.3057483137, -0.5467658639, -0.1036441997, 0.5137600899, -0.2045395225, -0.3875127137, -0.0731246844, -0.101572454, 0.1343025416, 0.2874269187, -0.6028677225, 0.3939422667, -0.3596902192, 0.7324711084, 0.992328465, -0.1527693868, 0.4317590296, 0.0080432957, 0.5618494749, -0.5939471722, 0.2814610898, 0.0542587228, -0.3967031538, -0.1790604144, -0.3455764055, 0.0398227274, 0.7754206061, -0.6874634027, 0.5230176449, 0.2489335239, -0.6974853873, -0.2601373792, 0.3079559803, 0.5577546358, 0.1192457974, 0.3269992471, -0.1626798809, -0.6594173908, -0.6207792163, -0.533787787, -0.2469417453, -0.0165793989, 0.1264887303, 0.297608465, -0.1945046335, 0.8421029449, -0.5411908627, -0.2235849649, -0.7586747408, -0.1096462831, 0.2549371123, 0.5138065219, 0.5371342897, -0.3985086977, -0.7118316889, -0.4745773971, -0.7253932953, -0.6043666601, -0.107794933, -0.0779095888, 0.2217251211, 0.8100513816, -0.5328668356, 0.4140559435, 0.6173251271, -0.7444270253, 0.9261986017, -0.1335471123, -0.0093332864, -1.0002429485, -0.1118111238, 0.1007934436, -0.0200148374, -0.7481734753, 0.4222002029, 0.2524887919, -0.3243109882, -0.6722267866, 0.5307494402, -0.3490461409, 0.071042262, -0.0918009952, 0.3274488449, -0.3056054413, 0.1255472153, -0.1307228953, 0.6991394162, 0.3826123774, -0.3233585358, 0.3732497692, 0.1842486709, -0.1197582409, 0.3215028048, -0.9474879503, 0.355368644, 0.0148370974, 0.2296704501, -0.8714607954, -0.2107319385, 0.2584391832, -0.2832981348, 0.1236372963, -0.3319523036, -0.6055660248, -0.0281200819, -0.4162875116, 0.0152192069, 0.2974145114, -0.5049757361, 0.3183254004, 0.6055890918, -0.3816848993, -0.2720841467, -0.3530851603, 0.3726294637, -0.3589030206, -0.9282127619, 0.316555351, -0.1399141997, -0.3534121513, -0.572134316, -0.0358396657, 0.1934508532, 0.5083676577, 0.5177578926, 0.5104781389, 0.2305590659, -0.3212459683, -0.0302753653, -0.4275983274, 0.0932291076, -0.1334381998, 0.891972363, -0.2286583781, -0.2258556038, -0.4614856243, 0.3787289262, 0.5940444469, -0.1360632926, 0.6683717966, 0.1137332767, -0.0298167039, -0.0114886975, -0.5052509308, -0.3399596512, -0.5300841331, 0.1243436411, -0.2268518209, -0.8910089135, 0.2283723056, 0.0769945458, 0.2203618884, -0.1948417723, 0.4267414808, -0.0719878525, 0.8462401032, 0.6193966269, -0.6195961833, 0.6386201978, 0.0886316299, 0.2176749706, -0.3448073268, -0.0811483487, -0.5061017871, -0.1546009034, -0.326112777, -0.144320339, 0.3967410326, 0.2623124421, -0.3406281769, 0.6176837087, -0.4940298498, 0.703530252, 0.4486339092, 0.1393132061, 0.1474619806, -0.1473075151, -0.2851275206, 0.0632198527, -0.6374835968, -0.4598471522, 0.9976793528, 0.4100315869, 0.8910179734, 0.2121494859, 1.1588927507, 0.3921428621, 0.1035068035, -0.3077569902, 0.9185813665, -0.0486485288, -0.5907543302, -0.2202339321, -0.1016468704, -0.6675598621, -0.0808233172, -0.3317517638, -0.9755392075, -0.1726137549, 0.3811428249, -0.7249850631, 0.149745211, -0.8080096841, 0.7684803009, -0.3393088281, -0.4134675264, -0.2115239501, -0.85839504, 0.3928391635, -0.0204126481, 0.4293903708, -0.1995933205, 0.2806805074, 0.7985616326, -0.6640470028, 0.9821374416, -0.5437069535, 0.1306875497, -0.0295560993, 0.4366078973, 0.8950612545, 0.239269197, 0.0090101305, 0.2618241608, -0.2928173244, -0.2774250805, -0.4560303092, 0.5378321409, -0.6598683, -1.0049636364, -0.1913210601, -0.4030880332, 0.0804419369, 0.3013830483, 0.2259287983, -0.0412873328, 0.0946468934, -0.032182347, 0.5920720696, -0.4532137513, 0.5044352412, 0.5054065585, -0.2746773362, -0.4698803425, 0.7118404508, -0.0835236013, 0.4833064973, -0.1771737933, 0.3497410119, 0.0026172367, -0.6172264814, -0.4878708124, 0.1668527275, -0.295232743, -0.2267029732, -0.6912354827, -0.2902439535, -0.6941766739, -0.7763225436, -0.3081025481, -0.4229974747, 0.1416211426, -0.2269459069, 0.5592086911, 0.4319440126, -0.3672222197, 0.3764743507, -0.8232409358, 0.5462399125, 0.2094860971, -0.0633422807, -0.1617271006, -0.0802515224, 0.0106287692, -0.4473775923, -0.139367789, -1.2611265182, 0.5136557817, -0.1579708457, 0.4055869877, 0.3573328853, 0.4887572229, 0.4229090512, -0.7138335109, 0.595469594, 0.5914963484, -1.0576115847, 1.0480844975, -0.5025757551, 0.0845923796, 0.7216410041, 0.1736050248, -0.4858570397, -0.7717790008, -0.7189369202, -1.1441128254, 0.692686379, 0.0242273249, -0.0219909865, -0.1274322271, 0.2196844667, -0.0435797274, 0.2163395882, -0.7291967869, -0.3548628986, -0.2171253413, -0.1085929349, 0.2124509066, -0.2794785798, -0.2898882627, 0.0801567957, 0.4409205019, 0.0396294519, 0.0587704889, 0.0456575491, -0.1087934449, 0.2075591236, 0.4003705978, 0.3507391214, 0.1183182523, -0.1356297582, 0.2327916324, 0.1502689272, -0.6868959069, 0.4055429995, -0.0135472734, -0.4663960636, -0.4022435248, 0.1938393265, 0.3956696987, -0.0298476294, -0.5625712276, 0.4740020335, -0.1097067818, -0.0086668795, -0.2440005541, 0.5920814276, 0.0561818816, 0.5206613541, 0.2731246352, 0.0270800963, -0.1242940128, -0.4893430173, 0.2518853247, 0.4379594326, -0.2789828479, -0.2782390416, 0.8055355549, 0.4425528944, -0.6277661324, 0.3914036155, -0.1681321859, -0.6500272155, 0.5931590796, 0.8442222476, 0.959142983, -0.379123956, 0.1643121988, 0.0552511737, 0.468321681, -0.0382867418, 0.4023458958, -0.2015526593, -0.8215152025, -0.1418772042, -0.2868894339, -0.2240604311, 0.0105180591, -0.4785162807, 0.5187553167, -1.1243596077, -0.0513056368, -0.1921165586, -0.2702325583, -0.0652950555, -0.135595575, -0.0177476089, 1.2230232954, -0.9291347265, 0.8660842776, 0.5092892051, -0.1384658366, -0.7554724813, 0.0994577259, 0.4982876778, -0.9520326257, 0.8736264706, 0.3280117214, -0.1869771928, 0.0601937808, -0.7019699812, -0.6130924225, 0.7893010378, 0.3606944978, -0.7573753595, -0.0834580064, -0.0944555849, -0.0849893913, -0.2801652253, -0.1437838674, 0.797252357, 0.5117988586, -0.1041390076, -0.8012366295, 0.6232088208, -0.2861614525, -0.269064784, 0.107697241, -0.6127092242, 0.281979084, -0.6804204583, -0.0344915986, -0.0339876227, 0.2760592103, 1.1684467793, 0.2867363095, 0.6513459086, 0.3714830279, 0.3169154227, 0.0214317422, 0.7189372182, -0.4786033034, -0.1998861283, 1.1012074947, -0.3424495161, 0.7112113833, 0.7240660787, -0.0234906618, 0.1112651154, 0.2690965235, 0.1135926023, 0.8456862569, 0.3944962621, -0.2393580675, -0.1375329196, 0.1006165966, -0.4622902572, 0.2023345977, 0.2721974552, -0.2156454623, -0.1284478158, -0.0656221211, 0.6612266302, 0.0421136096, -0.1895996183, 0.7581601143, 0.1682293564, -0.3972606957, 0.4930212498, 0.1842397302, 0.7720900178, -0.6591441035, 0.2518132329, -0.1845812351, -0.1289605796, -0.3891744614, -0.5319043994, 0.3897431195, 0.3792854548, -0.0363745578, -0.4121217132, 0.8725641966, 0.0530414172, 0.0420810543, 0.3996790946, -0.0197795983, 0.0230694842, -0.0425911769, -0.7692323923, 0.4130263925, 0.1435121745, -0.14315027, 0.5524556041, 0.1376318634, 0.0387982801, 0.746655941, 0.7720513344, 0.3803022504, -0.0380914249, -0.0599845983, 1.0731260777, -0.7402339578, -0.7739451528, -1.4219659567, 0.5032910705, -0.2817421257, 0.0411462598, 0.8930920959, 0.2171070874, 0.4025947154, 0.0975070968, 1.0131806135, -0.3814181089, 0.1060720161, -0.6917122602, 1.1266931295, -0.173273012, 0.666002512, -0.841088593, -0.5316826105, -0.4112139344, 0.7068555355, -0.4979989529, -0.4076043665, 0.3743317425, 0.8905853629, 0.3504706919, 0.0916095823, 0.1814225763, 0.2003910691, 0.5261288881, 0.5547910333, 0.8028408885, 0.0265998747, 0.3847290874, 0.1540359259, -0.6867976785, -0.3926717043, -1.0282678604, -0.9649201632, -0.1930925101, -0.1874593943, -0.7327244878, 0.4826995432, 1.2096953392, 0.7161080241, -0.6678385139, -0.3352396488, -0.3083525002, 0.1250774562, 0.0290320721, -0.1816128194, 0.1400828362, -0.2747557461, -0.0617187582, 0.7825304866, 0.6487366557, -0.0369258486, -0.2496446371, -0.1634121686, -0.0299224351, -0.0337863006, 0.334702611, 0.4666006565, -0.4357999265, -0.1739584953, -0.0054444252, -0.1165750921, -0.231743589, 0.7906425595, -0.4423984587, 0.2077490687, 0.4032786489, 0.6424942613, 0.1607470214, -0.1685526669, 0.9506952167, -0.7099590898, 0.2473229468, -0.0594960339, 0.3545563817, -0.042899292, -0.4921168983, 0.4821597934, 0.273632586, -0.4028374851, -0.8343454003, 0.4834926724, -0.4873206019, -0.3447348177, 1.2349194288, -0.3751119077, -0.3709294498, -0.5034285188, -0.29755494, -0.0501465313, -0.7897735238, 1.1426355839, 0.3102746904, -0.0227654334, -0.1350048184, -0.3826737404, 0.6418417692, 0.1318488717, -0.8504056931, 0.3767840564, 0.2310780734, 0.372025609, 0.1863817275, 0.9330575466, -0.1767905504, 0.3446311951, -0.2383930087, 0.1641551107, -0.4257999957, -0.5536167622, -0.1326486617, 0.3481234908, 0.0563861951, -0.0593019277 ]
http://arxiv.org/abs/2407.01899v1
http://arxiv.org/pdf/2407.01899v1
Scope-enhanced Compositional Semantic Parsing for DRT
2024-07-02T02:50:15
2024-07-02T02:50:15
Xiulin Yang, Jonas Groschwitz, Alexander Koller, Johan Bos
cs.CL
cs.CL
Discourse Representation Theory (DRT) distinguishes itself from other semantic representation frameworks by its ability to model complex semantic and discourse phenomena through structural nesting and variable binding. While seq2seq models hold the state of the art on DRT parsing, their accuracy degrades with the complexity of the sentence, and they sometimes struggle to produce well-formed DRT representations. We introduce the AMS parser, a compositional, neurosymbolic semantic parser for DRT. It rests on a novel mechanism for predicting quantifier scope. We show that the AMS parser reliably produces well-formed outputs and performs well on DRT parsing, especially on complex sentences.
[ -0.1950263977, -0.6318233609, 0.7577243447, 0.2114271522, -0.1535696983, 0.3191407025, -0.1196866557, -0.2559936047, 0.5148952603, 0.3624247313, -0.5346670151, -0.2812394798, -0.6896773577, 0.0585533753, -0.3481960893, 0.5635092258, -0.0273588132, 0.1998473257, -0.2495236993, -0.1116939262, -0.543184042, -0.5112908483, -0.7343199253, -0.3441019356, 0.2973775864, 0.1100244373, 0.6648853421, 0.5654302239, 0.473360002, 0.3961013556, -0.1614171714, 0.0654800609, -0.0518657714, 0.5848799348, -0.2254853547, -0.5158525109, -0.552767992, -0.2884583771, 0.7993827462, 0.8667150736, -0.2594001889, -0.281971544, -0.0243190788, 0.5686177611, -0.6575258374, 0.2117729634, -0.4522841275, 0.1780990213, -0.0917065889, -0.1094807759, -0.4107815623, 0.060029611, 0.3187887967, -0.5712345243, -0.0862401426, -0.3811693192, 0.5951458216, 0.2741258442, -1.0018948317, -0.0094192075, -0.5482258797, 0.7529919744, -0.6513158083, 0.4604587257, 0.0295311008, 0.4758524895, -0.1232736707, -1.0545554161, -0.4502723217, -0.0554132648, -0.3427380919, 0.3261511624, -0.2808713913, 0.3643451035, 0.2088939995, 0.546897769, -0.656167984, -0.3921626508, -0.0462604724, -0.2314229012, 0.2561159134, 0.3863126934, -0.0133446548, -0.8080582619, -0.362529546, 0.0181023795, -0.4296790063, 0.0470123701, 0.0157720447, -0.0418122485, 0.016279012, 0.8224351406, -0.315914005, 0.9795896411, 0.0107227406, 0.1844265908, 0.0081259841, -0.2107172608, -0.2507517338, -0.1874927729, 0.6916133761, 0.1409553885, -0.042415455, 0.0901447758, -0.2262964845, 0.3200200498, 0.4747055173, -0.595523715, -0.3472754657, 0.0458460785, -0.3200609088, -0.1882965565, 0.3854113519, -0.5115879178, -0.0588147715, -0.5632610321, 0.1425754279, -0.5662489533, -0.1613438129, 0.2763988674, -0.3262170851, 0.1140400395, 0.2350522578, -0.7814488411, 0.5615543127, 0.6686997414, 0.8028299809, -0.1256044805, -0.1330122352, -0.5239732265, 0.4883811176, -0.2712913156, 0.9471539855, -0.8322722912, -0.1438164711, -0.1037279665, -0.0642987937, -0.2305270582, -0.4984411895, 0.490218401, -0.5519230366, 0.1945730895, -0.350733012, -0.7036655545, -0.3360195756, 0.4144708216, -0.6525737047, 0.6392392516, 0.5040421486, -0.5862593055, 0.3409008086, -0.8318282366, -0.5745957494, -0.0147957411, -0.492928803, -0.0254759993, 0.4236479998, 0.064369984, 0.2623331845, -0.0693797842, 0.5998401642, -0.1354939789, -0.0627371445, 0.490300864, -0.5905503631, 0.5131313205, 0.2303634584, -0.1988792121, 0.251968503, -0.8072206378, 0.2391573936, -0.1046404988, -0.4542563856, -0.3486035764, 0.0633594319, -0.1816767901, -0.0139757637, 0.2279966772, -0.55819875, 0.0754682422, -0.6786358356, 0.8741654754, 0.5355705619, 0.1116059795, 0.4421842098, -0.1280185431, 0.6009062529, 0.3701532185, -0.3191884756, -0.2725857496, -0.3013013899, -0.8781234026, -0.3301837742, 0.4840049744, 0.5165970325, -0.4701777697, 0.6326761246, -0.3966104388, -0.044123847, -0.2822051346, -0.4951072037, 0.3082315922, 0.1611496359, 0.2734163404, -0.5154352188, -0.7810925841, -1.1704465151, -0.383590281, -0.1527382582, -0.2442141622, 0.246086359, 0.315982759, -0.229840681, 1.0916358232, -0.8371530175, -0.1267225891, -0.1378713995, 0.2616824508, -0.0114413379, 0.3786841631, 0.2989224195, -0.8185992837, -0.4098391533, -0.1506976783, -0.8042400479, -0.0586181954, 0.1413000077, -0.0525100864, -0.1048225462, 0.5487555861, -0.8810905814, 0.4530228376, 0.4447072744, -0.7865490913, 0.3835211098, -0.0300871991, 0.1220095456, -1.2530728579, -0.2304093987, -0.3614958823, -0.6765778661, -0.3912988305, 0.04058237, 0.2438088655, -0.0716576427, -0.138091892, 0.1319106817, -0.2544589639, -0.0664986148, -0.304525882, 0.0295151751, 0.5030073524, 0.1994236112, 0.1182655841, 0.6864281893, 0.3595378399, -0.4363723993, 0.4912492633, 0.3116933107, 0.0368157402, 0.8198035359, -0.9146690965, -0.4216386676, 0.0146231558, 0.4390257895, -0.9307333231, -0.4798468053, 0.028453419, -0.2876640558, 0.4485152066, 0.0342865176, -0.3942659795, -0.4357433021, -0.196173653, 0.6658517122, -0.0324231051, -0.256708324, 0.7913056612, 0.3842315376, 0.0724936947, -0.5001221299, -1.0767769814, 0.3127230108, -0.1296844333, -0.8081220984, 0.599295795, 0.3251574934, -0.23961173, 0.1625709534, -0.1004033908, 0.025152443, -0.0303171892, 0.035660807, -0.2178224474, -0.4912120998, 0.2010626495, 0.3907973766, -0.4652364254, 0.1975040436, -0.3521757424, 0.5405723453, -0.3049422503, -0.5772426724, -0.2897663713, 0.7116924524, 0.492613256, -0.4335530102, 0.3692305386, 0.235564217, -0.3266485631, -0.0848496929, -0.2528550029, -0.3413224518, -0.4461404681, 0.4103233814, -0.7546845675, -1.0889823437, 0.5899302959, -0.2026326358, -0.4117633998, 0.4927210808, 0.4268583953, 0.263229847, 0.9739955664, 0.4753121138, 0.5021598339, 0.2972555757, -0.3944560587, 0.308768779, -1.126175642, 0.1047303155, -0.0252335183, -0.3173784316, -0.7115187049, -0.5497606397, 0.4563551843, -0.3155643344, -0.3249446154, 0.41043365, -0.479344517, 0.5355963111, 0.7547428012, 0.1026416868, 0.4108756781, -0.2143460959, -0.2042176872, -0.268388629, -0.473044008, -0.6086773872, 0.7325529456, 0.4025803208, 0.7642023563, 0.4443214536, 0.616523385, 0.0890081599, -0.3507934809, -0.9731588364, 0.5786134601, -0.4801773727, -0.5091598034, -0.1562032998, -0.2649587393, -0.7964314222, 0.6456566453, 0.231312573, -0.5549299121, 0.5418353677, -0.1541328728, -0.4229677022, 0.0676273033, -0.6411057711, 0.9839181304, 0.3200068474, -0.1343932152, -0.1867938638, -0.8994594812, 0.3659263253, 0.161371246, -0.2058358938, 0.0409040749, -0.328327477, 0.780957818, -0.3581188917, 0.9270519614, -0.0813336, 0.0651048943, 0.3407948315, 0.3230476975, 0.3081116378, 0.3813515604, -0.0817162916, -0.0622516088, 0.2167112082, -0.3094557226, -0.658154428, 0.5600117445, -0.5036227703, -0.4741797149, -0.5479797125, -0.6076239347, -0.3494851887, 0.2776502669, 0.2302310765, 0.4522324204, -0.3029648066, 0.2350874841, 0.5566273928, 0.1665833443, 0.283629477, 0.2976984978, 0.0289990716, -0.6892085075, 0.5180987716, 0.1372644454, 0.3056524396, 0.5522646308, 0.189606294, -0.1498753726, -0.2657578886, -0.4488435984, 0.1756128073, -0.9751026034, -0.6931595802, -0.88491714, -0.4696154892, -0.4734065235, -0.0253806468, -0.4332859814, -0.9840213656, -0.239732787, -0.2011103034, 0.019297095, 1.0039354563, -0.0776391849, 0.5547724962, -0.5501064062, 0.2796800733, 0.5535698533, 0.3805983961, -0.35401389, -0.307839185, -0.0075585512, 0.1078059375, -0.7493840456, -1.0009565353, 0.2543225288, 0.2423288822, 0.2329851985, 0.3704515398, 0.0090789944, 0.8511671424, -0.4922175705, 0.9757332206, 0.0031231227, -1.2919819355, 0.6219391227, -0.4786143601, 0.5525214672, 0.5049704313, -0.0877842531, -0.4548937678, -0.7271100879, -0.5968080163, -0.7885524631, 0.5774402618, 0.0646369681, 0.2960719764, -0.2990797162, 0.3806816638, 0.0970938802, 0.3419487774, -0.8839162588, -0.1038831845, -0.3926869035, -0.4478969276, 0.1488510817, -0.8072667122, -0.1235997155, -0.2576580644, 0.3505204022, -0.18787691, 0.4368763268, 0.3846434951, 0.0817730799, -0.3960468471, 0.4255167246, 0.4989642799, 0.7070294023, 0.0319174379, 0.6299206614, -0.1481188834, -0.334561497, 0.2780219316, 0.0513788648, -0.2049687952, -0.0340671539, 0.5032809973, 0.7324517965, 0.4403832257, -0.546043098, 0.8899003267, -0.1527607888, -0.3701740205, -0.4638723135, 0.0106881121, 0.0585030243, 0.5202857256, 0.0535071343, 0.0693491548, 0.6092965603, -0.2666875124, 0.547958076, 0.5161833167, -0.2433445305, -0.2977825403, 0.6111884713, -0.1671652198, 0.0175004434, 0.3484937847, -0.288821876, -0.7817861438, 0.2989002168, 0.7181354761, 0.8600956202, -0.2764980495, 0.3101927936, 0.3143573701, 0.0187807269, 0.2577891648, 0.3642458022, -0.1046365425, -0.5140473247, -0.5995644331, -0.8155514598, -0.2957257032, -0.1585696787, -0.6961424351, 0.3181475103, -0.1623959392, -0.178323403, 0.0718325153, -0.2009543478, -0.1700225919, 0.1149420217, -0.046351485, 0.4002652168, -0.7178287506, 0.5945570469, 0.9970598817, -0.1680884808, -0.7383062243, 0.1503808796, -0.1497620642, -0.6539573669, 0.5931878686, 0.1489548832, 0.0927097872, -0.0207402594, -0.1016652808, -1.1108380556, 1.030892849, 0.5656678081, -0.326746881, -0.0180188026, 0.3844129741, 0.4935990274, -0.5686520934, 0.015397328, 0.5442454815, 0.5169100165, 0.3398562372, -0.7807335258, 0.3734885156, 0.1453193873, 0.195868209, 0.4101833999, -0.3882769048, 1.0265278816, 0.0085917646, -0.1895228475, 0.0373418666, 0.8441733718, 0.0153507767, 0.3098288774, 0.3859241307, 0.9434118867, 0.6286230683, -0.0961572155, 0.6731886864, -0.0808722079, 0.1803731322, 1.2514703274, -0.059052702, 0.8421661854, 0.5581464171, -0.3239797652, 0.9080607891, 0.4827721119, 0.1647920012, 0.5719810128, 0.2738647461, -0.4421248734, -0.2739883959, 0.0135085071, -0.2188352942, 0.8621512055, 0.4694999158, -0.4390545487, -0.4187725484, 0.3097036779, -0.2757744491, 0.2252876461, 0.218160674, 1.2170748711, 0.2994991839, -0.7604311705, 0.5384140611, 0.1094357669, 0.1688925177, -0.5588377714, -0.0426924638, 0.2266550213, 0.2568283677, -0.1567254663, -0.8460234404, 0.8513583541, -0.5428208709, -0.182211861, -0.0157354362, 0.8345966339, -0.4472911656, -0.2660571635, 0.2668195665, 0.7373400927, -0.2470985055, -0.2154134661, -0.5630629063, -0.0614508875, -0.22752361, -0.493290484, 0.0922753662, 0.9400656223, 0.1465718001, 0.3984281421, 0.168465957, -0.021814255, 0.0186640639, -0.0385813974, 1.1126645803, -0.9201474786, -0.5798210502, -0.8875797987, 0.614328146, -0.1134690493, -0.0387475416, 0.5500609279, 0.6589289904, 0.5505179763, 0.0387109295, 0.6622406244, -0.3260354996, 0.3847477138, -0.3886805177, 0.2162787467, -0.4984685183, 0.263145119, 0.0425634496, -0.9135270119, -0.5766543746, 0.8784676194, -0.3655612171, 0.0093917819, 1.0602562428, 0.5115721226, -0.3717400134, 0.2666706443, 0.507137239, 0.2642714083, 0.5485084057, 0.4935420454, 0.9371387362, -0.4114045203, 0.0611195788, -0.3802164793, -0.3517128527, 0.0154342921, -0.7572825551, -0.6716426611, -0.6651304364, -0.2019439638, -0.2423115075, -0.1090874225, 0.6399255991, 0.7445347309, -0.7181868553, -0.2042126656, -0.5960052013, -0.0556388125, -0.0944188461, -0.2907197773, 0.2801788747, -0.6523625851, -0.4283680022, 0.3866696358, 0.4252455533, 0.1423397958, -0.3135115206, 0.1317940056, -0.0871643648, 0.1941376776, 0.9958863258, -0.3707849383, -0.7447357178, -0.41718027, -0.1576993018, -0.043490652, 0.2386329472, 0.9954161048, -0.8293455243, 0.3173057437, 0.5110781789, 0.4613792896, 0.2963758707, -0.0590477847, 0.7452107668, -0.7365529537, -0.0148193566, 0.6049943566, 0.5809552073, 0.2624434829, -0.2495917827, 0.5961156487, 0.4001191258, -0.6131524444, -0.7317290902, 0.6302757859, -1.3294848204, -0.4132400751, 1.0297406912, -0.0969021097, -0.3398735225, -0.0801376179, -0.2033950239, 0.2267011255, -0.3049465418, 0.3261947036, 0.638643086, -0.2764415145, 0.0692809001, -0.513168335, 0.2713130414, 0.6386142969, -0.5753433704, 0.4609126747, 0.6387755275, -0.0082145436, 0.2255673707, 0.5485439301, -0.3570824564, 0.2360697687, 0.0076116943, -0.5158613324, 0.226297453, -0.1413318664, -0.3022057116, 0.3646001816, 0.2715317011, 0.0048945192 ]
http://arxiv.org/abs/2407.01897v1
http://arxiv.org/pdf/2407.01897v1
Proposal Report for the 2nd SciCAP Competition 2024
2024-07-02T02:42:29
2024-07-02T02:42:29
Pengpeng Li, Tingmin Li, Jingyuan Wang, Boyuan Wang, Yang Yang
cs.CL
cs.CL
In this paper, we propose a method for document summarization using auxiliary information. This approach effectively summarizes descriptions related to specific images, tables, and appendices within lengthy texts. Our experiments demonstrate that leveraging high-quality OCR data and initially extracted information from the original text enables efficient summarization of the content related to described objects. Based on these findings, we enhanced popular text generation model models by incorporating additional auxiliary branches to improve summarization performance. Our method achieved top scores of 4.33 and 4.66 in the long caption and short caption tracks, respectively, of the 2024 SciCAP competition, ranking highest in both categories.
[ -0.3158147335, -0.1463801712, 0.5241681337, 0.1676923782, -0.4789581299, 0.3506650925, -0.0267101526, -1.0632036924, 0.3430955112, 0.2491115332, -0.1698428392, -0.2789516449, -0.4151648283, 0.5018185973, -0.485989362, 0.9153558016, -0.1609947234, -0.1272775084, -0.6002402902, 0.014411835, -0.4424686432, -0.1876563728, -0.4349639714, 0.1762853861, 0.538354218, 0.6752299666, 0.2387488633, 0.7846836448, 1.0600657463, 0.3210413456, -0.0923925191, 0.513094902, -0.1306964606, 0.1630482525, -0.0898919404, -0.6272149682, -0.650590539, -0.0619938672, 0.8784645796, 0.4389150739, 0.3034174144, -0.060324017, -0.0290389545, 0.4526773691, -0.3019124568, 0.4377905726, -0.477224201, 0.1187125072, -0.1082560867, -0.7088999152, -0.5400906801, -0.1863022298, -0.0340773128, -0.5839712024, 0.5698897839, 0.4060106874, 1.0045734644, -0.1014731079, -0.0847434103, -0.4638303816, -0.4222191274, 0.545599699, -0.610598743, -0.1428130418, 0.2939754128, 0.2748205066, 0.13473171, -1.0314946175, -0.3966307938, -0.0707014501, -0.2718538642, 0.512992084, -0.3098858297, -0.0245637447, 0.0782220066, 0.4706512094, -0.4178258479, 0.1655588448, -1.1843185425, -0.206313014, 0.7887735963, 0.3929622173, 0.3353546262, 0.0506474003, -0.0504095033, 0.0354109444, -0.5390321612, 0.0212094709, 0.4139833748, 0.1360054612, -0.1532264799, 1.1599800587, -0.4844356775, 0.2990055978, -0.2033941746, -0.0642472729, 0.1826372743, -0.8980619907, 0.2115607113, 0.3255845606, 0.6651598811, 0.8859756589, -0.3498051167, 0.0378556363, -0.0457758084, -0.0563892014, -0.0128277354, -0.9073500633, -0.1874237508, 0.2714176476, -0.5788286328, -0.3896142244, -0.071778588, -0.7862693071, -0.1515126228, -0.2586030364, 0.0423431434, -0.3775674105, 0.4427776337, -0.2471076846, -0.7828906775, 0.0326849036, 0.4767881036, -0.9067257047, 0.3242333829, 0.4450214505, 1.4375861883, -0.3930435181, -0.2518342435, -0.4460799396, 0.2426302135, -0.193906635, 1.2294688225, -0.194006443, -0.5536292195, -0.2247584313, 0.0322829261, 0.3155644834, 0.0900188908, 0.560074091, -0.4754067659, 0.4436657727, -0.293050468, -0.2981583774, 0.0719789416, -0.0814097822, -0.7037763, 0.7305862904, -0.0113384882, -1.0933059454, 0.4028727114, -0.683930099, -0.7571135759, 0.3928470612, -0.2154435813, -0.6119629741, 0.2235055715, 0.3473329246, 0.3502856791, -0.2265451699, -0.1461094916, -0.0013245072, -0.4638382196, -0.0009353497, 0.0762331933, 0.3315548897, 0.1922058314, 0.0161314495, 0.3220320344, -0.3800018132, -0.4575526118, 0.2399168313, -0.269469291, -0.1564904004, 0.0216557048, -0.1194203943, -0.1120368615, 0.3352284729, -0.6152778864, 0.4069001675, -0.3971420527, 0.6592034698, 0.4919587076, 0.1443223059, 0.712490797, -0.4883984625, 0.3936110139, -0.4622412026, 0.0927585214, -0.8288891912, -0.5776833892, -0.5589770675, -0.5556460619, 0.407168597, 0.1742706001, -0.7078288794, 0.3983932137, -0.2550374866, -0.6153483391, -0.0103756441, -0.4770690203, 0.0986942649, 0.7368771434, 0.4506658912, -0.4564954937, -0.8846937418, -0.8956351876, 0.1309980303, -0.2250500619, -0.0715589747, 0.1725768, 0.7186756134, 0.1637617052, 0.87771523, -0.9411348701, -0.581328094, -0.5646747351, 0.4820719957, 0.2883331478, 0.3364374936, 0.6337870359, -0.6735275388, -0.432475239, -0.0069772527, -0.6110779643, 0.068958804, 0.0403632373, -0.115269959, 0.2629469037, 0.5515119433, -0.678971231, 0.4828724265, 0.1264069527, -0.2851232886, 0.7307268977, -0.615588069, 0.5044701099, -0.8443587422, 0.3643004298, -0.4135873318, -0.0157985613, -0.2337819785, 0.0427416191, 0.1585764885, -0.3518050313, -0.2766000032, 0.2339866757, -0.6683464646, -0.0855970681, -0.4240685403, 0.1874945909, 0.1898833811, 0.1962161362, 0.5323417783, 0.7309257388, 0.1523182243, -0.4514897466, 0.3158076108, 0.5035270452, -0.5161781907, 0.2671357095, -0.9826119542, -0.1697413027, -0.5507487655, 0.6503164768, -1.2988641262, -0.7884946465, -0.2223517448, -0.6756230593, 0.4030441046, 0.4207446575, -0.3410497904, -0.5419756174, -0.800409615, 0.2322150171, 0.5210906267, -0.2347916216, 0.7286600471, 0.4822419584, -0.8035543561, -0.4520798326, -0.7545158863, 0.2323887497, -0.1216530129, -0.5119903088, 0.6921290159, -0.0471138619, 0.1521855742, -0.052145008, 0.2048968673, 0.1799837798, -0.1359843463, 0.1932733059, 0.5181161761, 0.0232188497, -0.0906049907, 0.3786404133, 0.1229723766, -0.0804769546, 0.0682732239, 0.5092269778, 0.1115362719, 0.1839597821, -0.1624781787, 0.7789744139, 0.4524194598, -0.2285653949, 0.32306391, 0.2141238451, -0.2570847869, 0.1513230503, -0.3176827729, -0.1196411178, -0.4175089896, 0.532808125, -0.1959206164, -0.5743787885, 0.5511489511, 0.3638075888, 0.5141268373, 0.7425250411, 0.3922979534, -0.4954108298, 1.083889246, 0.7044278979, 0.0732128695, 0.4857643247, -0.3180100024, 0.1258053482, -0.751992166, -0.6437711716, -0.8970763087, -0.1500611454, -0.1126141921, -0.4183408022, 0.4776985645, -0.0856843889, 0.3719323874, 0.7361875772, -0.6548035145, 0.6197593808, 0.5686563253, 0.0424199775, 0.4144117236, 0.1187374219, 0.0747439265, -0.0461194217, -0.6904007792, -0.3410522044, 0.9488283992, 0.4706420898, 0.4197966754, 0.0192110334, 0.7060527802, 0.576628387, 0.2341038436, -0.6861896515, 0.4602203965, 0.017851634, -0.4073798656, -0.4435612261, -0.106939964, -0.7220848203, 0.2403392941, -0.1902350932, -0.4521266222, 0.392467618, 0.0887370408, -0.4969945252, -0.1714041084, -0.4594936371, 0.3242715299, -0.1707750857, -0.1584293544, -0.1457293779, -0.7775878906, 0.4189545512, 0.0333474129, 0.5006815195, 0.0647226647, -0.2681750059, 1.0456742048, -0.5617738962, 0.4622464776, 0.1790244281, 0.3446910977, 0.4253408313, -0.4325025976, 0.6368178725, 0.0868064091, 0.1268841773, -0.0844183564, -0.1575363278, -0.2380802184, -0.3010445833, 0.4696260989, -0.4861819744, -0.1963743716, -0.7355220914, -0.6073349118, 0.2202792615, 0.3902774453, 0.7713581324, 0.4077713788, -0.056178119, 0.2177625299, 0.4231213629, -0.0951615125, 0.6973208189, 0.4916642904, 0.2632741332, -0.7354127765, 0.8964762092, 0.1642252058, 0.126469627, 0.4822707176, 0.1957665235, -0.3301078975, -0.742117703, -0.2235846519, 0.2034924626, -0.7086083293, -0.5108687282, -0.9971775413, -0.0332772583, -0.7228407264, -0.5279023647, -0.1048702374, -0.7600593567, -0.4181439281, -0.1468221694, 0.0553648844, 0.5197487473, -0.1650275737, 0.2383517325, -0.5736176372, 0.3450565338, -0.042852588, -0.1057730392, -0.161349982, -0.5880227089, -0.1969908327, -0.3217079937, -0.2940564156, -0.5584175587, 0.4527691305, 0.3180007637, 0.4877101183, 0.1564467549, -0.0032100854, 0.5388110876, -0.6659448147, 1.069893837, 0.662605226, -0.6815445423, 0.6603816152, -0.3888784945, 0.4672973454, 0.6260586977, 0.393294096, 0.0605558492, -0.5933699608, -0.4365924001, -1.2402361631, 0.7326378822, 0.3214132786, 0.0091215335, 0.0787243322, -0.1054893881, 0.148135677, 0.1992224157, -0.4631888866, 0.2158566117, -0.0048406366, -0.2991986275, -0.0291197468, -0.486089319, 0.0270604324, -0.1207027957, 0.6641566157, -0.1152170971, 0.5262898803, 0.3369926512, 0.0226594321, 0.2039444596, 0.0619247034, 0.9701177478, 0.6746214032, -0.2550900578, 0.0587141551, 0.2231466323, -0.6655463576, -0.1996055543, 0.0685429946, -0.1598381996, 0.2920152843, 0.9510858655, 0.4100800157, 0.1966329217, -0.7704538107, 0.5419206023, -0.2711676657, -0.4987708032, -0.2857815921, -0.0972020701, -0.1711424589, 0.0323734693, 0.7236228585, 0.0562002957, 0.7053955793, -0.7869722247, 0.2281025648, 0.1496838629, -0.247710824, -0.280872792, 0.6553931236, 0.337813586, 0.1422963142, 0.2644380033, 0.1798872352, -0.4055547714, 0.7694805861, 0.5155521631, 0.4165179431, -0.0889224783, 0.0377876423, 0.5709401369, 0.3686411977, -0.148069337, 0.3324739039, -0.3771236241, 0.1107588783, -0.5559991598, -0.3547005951, -0.5947136879, -0.3703801334, -0.3914321363, 0.577650249, -0.1056065559, -0.0246292502, 0.3005974293, -0.2021661997, -0.3876838386, 0.0908353031, -0.0954514742, 1.0411518812, -0.7300625443, 0.2616768479, 0.3039008081, -0.6779303551, -0.380767107, -0.6845340729, -0.5345166922, -0.3334163427, 0.5541903377, 0.1243882403, -0.0016400598, -0.2940939963, -0.5193966627, -0.8519756198, 1.3580139875, -0.1085228398, -0.5237014294, -0.5501743555, -0.1342047304, 0.3571146131, -0.4312008917, 0.725263238, 0.4482702613, 0.2891203165, 0.3947536349, -0.7372991443, -0.1018631309, -0.4667909443, -0.1401988119, -0.1002468914, -0.673524797, 0.7636492252, -0.4878183603, -0.4615395665, 0.5509773493, 1.2236977816, 0.2923485637, 0.5560340881, 0.0292893481, -0.1257320791, 0.5171777606, -0.1734007448, 0.9807305932, -0.0320393331, 0.007420219, 1.523458004, -0.1352146864, 0.8034531474, 0.459236145, -0.1117619798, 0.2185728401, 0.5181475878, -0.1663208753, 0.8397272825, 0.0598204434, -0.0040116152, 0.3734513521, -0.4094518423, -0.6444986463, 0.5087919831, 0.3393237591, -0.7568157911, -0.1581737846, 0.1504525542, -0.2591356337, -0.0350838862, -0.3160012364, 0.8843541741, -0.031651292, -0.8938698769, 0.0317733735, 0.226142019, 0.4797578752, -0.613961339, -0.3179376125, -0.2325600535, 0.0332406238, -0.3023613691, -0.8090862036, 0.3201815486, 0.0122285979, -0.1395598352, 0.1202058494, 0.6889322996, -0.4080739915, -0.4013965726, -0.3933675885, -0.589951992, 0.285077095, 0.2197151631, 0.0628017187, 0.3045006096, -0.2820806801, 0.0888455659, 0.1164389476, -0.0325781293, -0.1815437526, 0.2175281197, 0.5219984651, -0.0349425264, -0.2591896057, -0.1426343471, 0.9569037557, -0.2989220321, -1.0712499619, -0.5685447454, 0.8332726955, -0.7377438545, -0.3270147145, 0.8519023061, 1.1506040096, 0.2967433929, -0.3861421049, 1.0590561628, -0.2128391415, 0.4206028581, -0.5064539313, 0.5762966275, -0.1838471591, -0.0345741585, -0.3000729382, -0.779892385, -0.3282597959, 0.4467339814, -0.044846952, -0.4557122886, 0.7668544054, 0.2132722288, 0.0636511445, 0.2844248414, -0.1484224647, -0.1933147311, 0.3604826927, 0.4598574936, 0.7951222062, -0.5573748946, 0.5221610069, -0.3442122042, -0.6487216949, -0.6173839569, -0.938290298, -1.1442432404, -0.7282383442, -0.3651668429, -0.2265667021, -0.0477861129, 0.3635210991, 0.5121067762, -0.7997697592, -0.0726460963, -0.1228491887, -0.2130668461, 0.0761109367, -0.1796975434, 0.6499551535, -0.1975761205, -0.7550925016, 0.5045816302, 0.4651730955, 0.143768087, 0.0159769487, 0.0997976139, -0.0014795441, 0.1152847111, 0.7770153284, 0.3522586226, -0.3412862718, -0.1202251241, 0.0661889091, 0.0906576514, -0.3081253767, 0.9631320238, -0.2753942907, 0.4549241066, 0.9151668549, 0.1081121936, 0.7700601816, 0.2362017483, 0.6929692626, -0.5609352589, 0.2549742758, 0.3546768129, 0.4156546295, 0.0288228095, -0.6920129657, 0.6075425148, -0.0191654805, -0.503503561, -1.063710928, -0.1299308091, -1.2191467285, -0.259457916, 0.7139330506, -0.1501470953, -0.3253309131, -0.041704867, -0.6244611144, 0.1953682303, -0.506218195, 0.6931782961, 0.4629873931, -0.3296324313, 0.0023637468, -0.0546019897, 0.3053387403, -0.0395491943, -1.08476758, -0.2132482082, 0.6539540887, -0.0694250464, 0.5354798436, 0.7023884058, -0.4397086799, 0.6220315695, 0.1888655871, 0.0637717545, -0.6037031412, -0.5755443573, 0.0172018725, 0.4707232118, -0.0905550197, -0.1633420289 ]
http://arxiv.org/abs/2407.01896v1
http://arxiv.org/pdf/2407.01896v1
LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysis
2024-07-02T02:39:33
2024-07-02T02:39:33
Tianyu Cui, Shiyu Ma, Ziang Chen, Tong Xiao, Shimin Tao, Yilun Liu, Shenglin Zhang, Duoming Lin, Changchang Liu, Yuzhe Cai, Weibin Meng, Yongqian Sun, Dan Pei
cs.CL
cs.CL, cs.IR
Log analysis is crucial for ensuring the orderly and stable operation of information systems, particularly in the field of Artificial Intelligence for IT Operations (AIOps). Large Language Models (LLMs) have demonstrated significant potential in natural language processing tasks. In the AIOps domain, they excel in tasks such as anomaly detection, root cause analysis of faults, operations and maintenance script generation, and alert information summarization. However, the performance of current LLMs in log analysis tasks remains inadequately validated. To address this gap, we introduce LogEval, a comprehensive benchmark suite designed to evaluate the capabilities of LLMs in various log analysis tasks for the first time. This benchmark covers tasks such as log parsing, log anomaly detection, log fault diagnosis, and log summarization. LogEval evaluates each task using 4,000 publicly available log data entries and employs 15 different prompts for each task to ensure a thorough and fair assessment. By rigorously evaluating leading LLMs, we demonstrate the impact of various LLM technologies on log analysis performance, focusing on aspects such as self-consistency and few-shot contextual learning. We also discuss findings related to model quantification, Chinese-English question-answering evaluation, and prompt engineering. These findings provide insights into the strengths and weaknesses of LLMs in multilingual environments and the effectiveness of different prompt strategies. Various evaluation methods are employed for different tasks to accurately measure the performance of LLMs in log analysis, ensuring a comprehensive assessment. The insights gained from LogEvals evaluation reveal the strengths and limitations of LLMs in log analysis tasks, providing valuable guidance for researchers and practitioners.
[ 0.1522454172, -0.9253271222, 0.1942099035, 0.5628398061, -0.1883603781, 0.3349133134, -0.304910332, -0.6127039194, -0.192581445, 0.3525666296, -0.4228848219, -0.8222333789, -0.4071480036, 0.2069010437, -0.4953870475, 0.972114861, 0.0292838234, -0.0410349667, -0.4453023374, -0.3457756042, -0.8933774233, -0.7077550888, -0.843812108, 0.1804461777, 0.1580512822, 0.1358717978, 0.3821085989, 0.3326224983, 0.7499881387, 0.2982562184, 0.0033268479, 0.0826826245, -0.4211931527, 0.2423091382, 0.0634725317, -0.4082270265, -0.6549576521, -0.5074627399, 1.0671442747, 0.5532461405, -0.2557543814, 0.4515620172, 0.1035804749, 0.621581316, -0.4818659425, 0.2654635608, -0.7259523273, -0.0402371287, -0.2815172672, 0.0112311095, -0.4876762629, -0.376657337, -0.0556085035, -0.2763272822, 0.1006113738, 0.2113027275, 0.4535242021, 0.2664198875, -0.4355709255, -0.2588163912, -0.4311243594, 1.0486731529, -1.0159230232, 0.4286546111, 0.1456362754, 0.377230525, -0.1297647953, -0.6938089132, -0.2635512054, -0.3012388647, -0.3675881028, -0.2330080271, -0.1895388812, 0.0251656938, 0.2379346192, 0.2077685595, -0.9720782638, 0.4602370858, -0.3092532754, -0.1586225033, 0.917121172, 0.5648223162, 0.1911614537, -0.1541207433, -0.3012607098, -0.0411441997, -0.6122083664, 0.1201315001, -0.1554342657, 0.3376060128, 0.0521888994, 0.2347348034, -0.2150506973, 0.8533607721, -0.4896515012, -0.3348254263, 0.2960900366, -0.2829062343, -0.4187699556, 0.0767498612, 0.8296082616, 0.3674760163, -0.0898715854, 0.0511424951, -0.388222754, -0.055225078, -0.0254083909, -0.8013251424, -0.1200933084, 0.4082997441, -0.5731359124, -0.180826515, -0.3298315108, -0.8677592278, -0.5866211653, -0.0755067393, 0.1582389027, -0.1037989482, -0.3532578647, -0.0050858422, 0.2980383635, 0.239763245, 0.2952239215, -0.6765015721, 0.5826950669, 0.9681637287, 0.8638905287, -0.4852220416, -0.4394831061, -1.1069065332, -0.125246197, -0.4348291755, 0.6558615565, -0.5122929811, -0.4428336024, 0.2278632522, 0.0591826364, -0.2853654623, -0.7382542491, 0.7065377831, -0.5782601237, -0.0315966718, 0.0571137741, -0.7466572523, -0.1709249467, 0.3984844089, -0.6951845288, 1.2255136967, -0.1180403903, -0.4110881388, 0.2893037796, -0.6685475111, -0.5321996808, 0.3577639759, -0.2671338916, -0.3024586737, 0.1244007647, 0.1609424502, 0.5069704056, -0.571172297, 0.5095223784, -0.0280998126, -0.1806330234, 0.0210029315, -0.4368499219, 0.8379722238, 0.1452226043, -0.3458853662, 0.3049945831, -0.7000954747, 0.1955417991, 0.0745349824, -0.2939878702, -0.1873063892, 0.1952532977, 0.145480141, -0.0136220921, 0.3662354052, -0.3101620078, 0.1954895854, -0.1272462159, 0.0296925977, 0.637348175, -0.1605516225, -0.2166213989, 0.0076224054, 0.5911452174, -0.2585279942, 0.1663681418, -0.6178276539, -0.2613908947, -0.5687713027, -0.3543797135, 0.1718991548, 0.7592535615, -0.0380622894, 0.3601907492, -0.3371745944, -0.5088019967, -0.4582117498, 0.5258994699, 0.4680625796, 0.3581623137, 0.2530445755, -0.0137096299, -0.5568772554, -0.8154711723, -0.6377708316, -0.3989559114, -0.087770991, 0.052120883, 0.2057691962, -0.1653555483, 0.6159021258, -0.4189440012, -0.4259856343, -0.2594828606, 0.1936035007, 0.4552354217, 0.2979772687, 0.3630969822, -0.6632282138, -0.7101080418, 0.3218908608, -0.9785583615, -0.0688180774, -0.2370871007, 0.1945634484, 0.5287733078, 0.6612893939, -0.6313148737, 0.1841499954, 0.5775054693, -0.4698801935, 0.6097268462, -0.0022390189, 0.1498812735, -0.6456229091, 0.3916299045, -0.083567813, -0.3263644278, -0.7037883401, 0.1954381466, 0.228543222, -0.1469836086, -0.2515352666, 0.7387936115, -0.3699482381, -0.2676101327, -0.072181657, 0.2704317272, 0.0692001432, 0.1910321712, -0.10356123, 0.6424894929, 0.5595443249, -0.4892446399, 0.553550899, 0.0892576352, -0.5531619787, 0.4941740334, -0.7345560193, 0.1915338635, -0.0013428548, -0.0356098823, -1.1689890623, -0.0934859812, -0.2985275686, -0.2283651084, 0.3519314528, 0.095813863, -0.6669491529, -0.1924444139, -0.2533947229, 0.3544126749, 0.5304939747, -0.55815202, 0.6261438131, 0.2471510768, -0.373598069, -0.5769670606, -0.2265563756, 0.2926491797, -0.3925651014, -0.7054935098, 0.0410672612, -0.1989255995, -0.632563889, -0.0588903204, -0.0894009694, -0.1214996576, 0.2557261884, -0.030270217, 0.5507133007, -0.4673427939, 0.3434095681, -0.264624387, -0.015683217, 0.1656320393, -0.1624028385, 0.3170178235, -0.5103666186, -0.3708186448, -0.4356100857, 0.1754265428, 0.5818636417, -0.3297778666, 0.6279323101, 0.3148251772, -0.4220295846, 0.0741848797, -0.8756143451, 0.1446578801, -0.4333999157, 0.6157322526, -0.25815323, -0.6687378883, 0.3519429862, -0.0941384584, 0.6180248857, 0.6597363949, 0.3088520169, 0.1086744815, 0.965326786, 0.6035835147, -0.5941752195, 0.1155219376, 0.1678741276, 0.1954489499, -0.4992429018, -0.32455948, -0.5864961743, -0.0202893801, -0.2946888804, -0.3002473116, 0.4280745983, 0.1756074578, 0.0106272148, -0.0053017372, -0.1838033348, 0.5970637798, 0.0180085804, -0.4940920174, 0.6755097508, -0.0917288661, 0.2560991049, -0.0453163274, -0.52010566, -0.6711971164, 0.9406940341, 0.4564214647, 0.6206133962, 0.1317478269, 0.3927189708, 0.6487705112, 0.3051182628, -0.6866162419, 0.5911675692, -0.1674278975, -0.5117337704, -0.4732534289, -0.2259724587, -0.8982916474, 0.3599573374, 0.0704568028, -0.9552473426, -0.2921105623, 0.1403558552, -0.2588658333, 0.2891343832, -0.750451684, 1.1122499704, -0.5262975097, -0.2566579878, -0.4731391668, -0.4494800568, 0.4031554759, -0.3196659684, 0.4846949875, -0.0761168599, -0.1001735479, 0.7938680649, -0.141654402, 0.8484815955, -0.1618903279, -0.1715395749, 0.2521784902, 0.2718325257, 0.7442255616, 0.068615444, -0.3750752807, 0.3615305126, 0.302957952, -0.4172347486, -0.6296510696, 0.8702315688, -0.4320271611, -0.7029115558, -0.2882130742, -0.2048542798, -0.1219836026, 0.1944477558, -0.1106921956, 0.550716579, -0.3724508286, 0.2750271559, 0.4987820387, -0.1265579462, 0.5599270463, 0.5139174461, -0.5505794883, -0.1723716557, 0.7625142932, -0.1694817394, 0.2388531864, 0.4414982796, 0.0645149648, -0.2733545303, -0.5539322495, -0.4593125582, 0.0784327835, -0.9032843113, -0.283590585, -0.6063856483, -0.1886586696, -0.1057400927, 0.0224843137, -0.3414055407, -0.2590039074, 0.0416696556, -0.0264670346, 0.2064334154, 0.7433688045, 0.3559401035, 0.1498748958, -0.9866653681, 0.0039466284, 0.1912941039, 0.2291269749, 0.1474128813, -0.2945618033, -0.305082798, -0.4106563926, -0.1014437303, -0.4924299717, 0.268539995, 0.3859871924, 0.6764436364, 0.2928319573, -0.0124801742, 0.6102679968, -0.4426635802, 0.8775425553, 0.0875806287, -0.9951367378, 0.5973352194, -0.0714381337, 0.3419727981, 0.5389572382, 0.3330152035, -0.726002872, -0.1709572077, -0.4073458314, -0.7296675444, 0.5614407063, -0.0324439332, 0.0057026711, 0.1089685485, 0.0281980429, 0.2511028945, 0.3107420206, -0.6962657571, -0.0536149219, 0.1584164351, -0.1937378198, -0.3264299035, -0.2756710947, -0.0934676453, -0.0998316556, 0.623232007, -0.2285655439, -0.1587854177, -0.0439030081, -0.4025599957, -0.0565123931, 0.0738639086, 0.4054713547, 0.8903492093, -0.1268524677, 0.0283500254, 0.6439071894, -0.2625422478, -0.172988832, 0.0276131276, 0.22841461, 0.1960450262, 0.8543503881, 0.7561099529, 0.088520579, -1.201965332, 0.4059973955, -0.1207514331, 0.2930082977, -0.3583999574, -0.0455947556, -0.0480342098, 0.2359551936, 0.6329644322, -0.3615116775, 0.2379466444, -0.4782306254, -0.0424763039, 0.6474202275, -0.1658333093, -0.3382839859, 0.2721240819, 0.1554393023, -0.4707691371, 0.7029240131, 0.0441320054, -0.3573998809, 0.6705393195, 0.5498329401, 0.9477043748, -0.4656914473, 0.0223073419, 0.5587521791, 0.5781091452, 0.1789843738, 0.0881194621, 0.0757787749, -0.1783922911, -0.5366973877, -0.6819575429, -0.2520267665, 0.2603860497, -0.4214811921, 0.434378922, -0.4986704886, 0.1293467432, -0.2106615603, 0.0863892287, -0.7295671701, 0.1659689695, -0.158659026, 0.9626930356, -0.6765729785, 0.457917124, 0.5523769855, 0.1504059881, -0.3863049448, -0.0310440417, 0.1486582011, -0.7269814014, 0.8730852604, 0.2801944613, 0.0372057222, -0.2024662793, -0.26347363, -0.731184423, 0.9636164308, 0.0865394399, -0.7527548075, 0.1146943644, 0.1453670412, 0.6258381605, -0.3386371732, 0.4422733486, 0.7372279763, 0.351103723, -0.1863415539, -1.1396491528, 0.2076941282, -0.2929416895, -0.0352323018, 0.2348427474, -0.6904069185, 0.6174046397, -0.0733911246, -0.2962664664, 0.013152984, 0.4350194037, 0.3087676167, 0.4718202055, 0.5310413241, 0.0020854922, 1.1099454165, 0.2408639789, 1.0400220156, -0.2953172028, 0.2236872613, 1.0728863478, -0.5126343369, 1.2008013725, 0.2170184702, -0.3443301916, 0.5762616992, 0.4574619532, 0.098177053, 0.1448923647, 0.0900216699, -0.4693246782, -0.2097425908, -0.2182331681, -0.3518454731, 0.2600447237, 0.4415551722, 0.0079012727, -0.2123225629, -0.221189335, -0.1632470936, -0.0598478578, -0.2206032276, 0.8561025858, 0.0547036752, -0.5736137033, 0.7924829125, -0.05962497, 0.3193600476, -0.8417621851, 0.0023401219, -0.3684231639, 0.1939633191, -0.3763144314, -0.4996981323, 0.3709260821, 0.2120731026, 0.1579785198, 0.1198176593, 0.807990551, -0.0100946343, -0.585360527, 0.3649487197, 0.3216204941, 0.2044020742, -0.022523826, -0.4409813285, 0.4434251487, -0.0818354264, -0.1292309165, 0.3112613857, 0.3240393102, -0.3436929286, 0.7981978655, 0.4815749228, -0.0347946174, 0.1199559048, -0.0903811231, 0.7242230773, -0.7627933025, -0.251599133, -1.1807398796, 0.7159131765, -0.3330037892, -0.2776336372, 0.8689668775, 0.8875277042, 0.5585364699, 0.0050602541, 0.7605091333, 0.1620432436, 0.3573389649, -0.6449124813, 0.3597857356, -0.5047752261, 0.5082321167, -0.2852528691, -1.1290836334, -0.4611262679, 0.2797883153, -0.174895063, -0.194301188, 0.8947868347, 0.621970892, 0.143857047, 0.1344278455, 0.5066905618, 0.2566507757, 0.5308968425, 0.3916663527, 0.8549420238, -0.4035927951, 0.5778173804, 0.2053969949, -0.3303657472, -0.303388536, -1.0936996937, -1.1096760035, -0.4368907809, -0.389171958, 0.0361287594, 0.1206926852, 0.9214277267, 0.5471006036, -0.9701234698, -0.7446081638, 0.0361197703, 0.1638303697, -0.168726474, -0.2209641784, 0.5136424899, -0.7300853133, -0.5195652843, 0.6774562001, 0.4482981265, -0.4076650441, -0.3757430911, -0.1218041107, -0.0338608958, -0.2596175373, 0.8164134026, 0.2674052715, -0.7167878747, 0.0768281519, 0.1500093639, 0.0831348002, -0.015797304, 0.7377973199, -0.667093873, 0.5106902122, 0.4430292249, 1.0254199505, 0.4562271237, -0.1386678666, 0.4409848452, -0.7777535319, -0.0211458933, 0.180606544, 0.1842659861, 0.4559382796, -0.4585227668, 0.577003479, -0.0651157796, -0.6363307834, -1.0960286856, -0.1043955758, -0.484772414, -0.2132592946, 1.0247005224, -0.216450721, 0.0008754767, -0.0308814384, -0.3256599605, -0.2008320838, -0.1415928155, 0.7056388855, 0.8476923704, -0.1499959528, -0.0689481646, -0.796662569, 0.4498412609, 0.719876945, -1.1215971708, 0.441282481, 0.5795146823, 0.1174136773, 0.0891240984, 0.6755227447, 0.041175615, 0.1142818555, -0.1626848429, -0.2489109337, 0.2986393273, -0.3671475649, -0.689085722, 0.054411862, 0.5091808438, 0.0201452132 ]
http://arxiv.org/abs/2407.01892v1
http://arxiv.org/pdf/2407.01892v1
GRASP: A Grid-Based Benchmark for Evaluating Commonsense Spatial Reasoning
2024-07-02T02:27:46
2024-07-02T02:27:46
Zhisheng Tang, Mayank Kejriwal
cs.AI
cs.AI, cs.CL
Spatial reasoning, an important faculty of human cognition with many practical applications, is one of the core commonsense skills that is not purely language-based and, for satisfying (as opposed to optimal) solutions, requires some minimum degree of planning. Existing benchmarks of Commonsense Spatial Reasoning (CSR) tend to evaluate how Large Language Models (LLMs) interpret text-based spatial descriptions rather than directly evaluate a plan produced by the LLM in response to a spatial reasoning scenario. In this paper, we construct a large-scale benchmark called $\textbf{GRASP}$, which consists of 16,000 grid-based environments where the agent is tasked with an energy collection problem. These environments include 100 grid instances instantiated using each of the 160 different grid settings, involving five different energy distributions, two modes of agent starting position, and two distinct obstacle configurations, as well as three kinds of agent constraints. Using GRASP, we compare classic baseline approaches, such as random walk and greedy search methods, with advanced LLMs like GPT-3.5-Turbo and GPT-4o. The experimental results indicate that even these advanced LLMs struggle to consistently achieve satisfactory solutions.
[ -0.5014072657, -0.1467346251, 0.8459308743, 0.0131977499, 0.1173073202, -0.2502195537, -0.3557811975, -0.2602376342, -0.3142887056, 0.1123611927, -0.1981455237, -0.6473062634, -0.5046160221, 0.1149357557, 0.0318689644, 0.5095901489, -0.0670049489, -0.0681633502, -0.4075284004, -0.1856436729, -0.3525925875, 0.0546765551, -0.3035257757, -0.6168661714, 0.4724057317, 0.495284915, 0.9389284849, 0.2556374073, 0.3024975955, 0.371101737, -0.1733230352, 0.187271297, -0.5236110687, -0.2941060662, -0.5558471084, -0.1368433237, -0.287979871, 0.1651102602, 0.5677131414, 0.6020177603, -0.2599566579, 0.028589651, -0.1849645078, 0.4048413336, -1.03947258, -0.068307735, -0.8078403473, 0.1147960648, 0.0220095292, 0.095755063, -0.2462248504, -0.3160613775, -0.0294422247, -0.951295495, 0.0601569638, 0.1642194986, 0.9929118752, 0.0166217126, -0.4579106569, 0.0324085429, -0.2872768939, 0.9811604619, -0.6409370899, 0.3703460097, 0.6005244255, 0.7404007316, -0.1029397398, -0.4661380649, -0.5350284576, -0.2504608631, 0.0411599427, 0.200167641, -0.0700232014, 0.0269857906, 0.6276500225, -0.2261272967, -0.6384973526, 0.1426207423, -0.3036871552, -0.0545475595, 0.7864275575, 0.3712307215, 0.0478916839, -0.3164609671, -0.7873609066, -0.1951900274, -0.6509201527, -0.1406852454, 0.1341150552, 0.2463982552, -0.0631946996, 0.5179961324, -0.3460083306, 0.6870065928, -0.2866996527, 0.1361015737, 0.1260106266, -0.3366903663, -0.2260659486, -0.4033954144, 0.6086101532, 0.6148357987, 0.5179435015, -0.1414375603, -0.522634387, -0.3248688877, 0.2191851437, -0.3037899137, -0.3943347335, 0.1126974821, -0.3364039063, 0.2093138695, -0.3277800083, -0.6807169318, -0.5991560817, -0.4718849063, 0.1392555833, -0.4800695479, -0.3497693837, 0.3644034266, -0.4201192558, 0.6948075294, 0.5124059319, -0.6880165339, 0.5506208539, 1.0380861759, 1.010099411, -0.2201829255, -0.5231688619, -0.4166943431, 0.1217194423, -0.1094796658, 1.0105221272, -0.552883327, -0.4393697381, -0.0803295225, -0.431661427, -0.3264371455, -0.5588956475, 0.4406221807, -0.4291174114, -0.4038549662, -0.9278681278, -0.4400183856, 0.0970854238, 0.6019419432, -0.566609025, 0.9604614973, 0.148978889, -0.5165002346, 0.8212258816, -0.5416918397, -0.1991493106, 0.4416567683, -0.1970751882, -0.006539694, 0.0114387646, 0.1256456077, 0.3148336411, -0.3416370451, 0.196959585, -0.5327751637, -0.3064939976, 0.0259210598, -0.3327840865, 0.4748038054, 0.539624095, -0.1239591241, -0.0193930529, -0.4255842566, 0.3213422298, 0.2413243651, 0.0204208251, -0.3919324279, 0.1370638013, 0.0950192213, 0.1475908756, 0.4759190679, -0.490734756, 0.1671802998, 0.0150084542, 0.1257117391, 0.5724315047, -0.2124525905, 0.4802317023, -0.4067485929, 0.475910455, -0.3272943199, 0.0116966153, 0.3730820417, -0.0873809457, -0.1044168547, -0.1635807008, -0.2840272784, 0.4862180948, -0.6708663702, 0.1451699734, -0.554263413, -0.65696913, 0.2730281949, -0.006738706, 0.5200947523, 0.1437207162, 0.4055878818, 0.1831211746, 0.0169123225, -0.7156509161, -0.634834528, 0.151755482, -0.1138997003, 0.8793712854, 0.6660060883, 0.2986645699, 1.0252693892, -0.5810132623, -0.0553905703, -0.306828618, 0.1664448828, 0.144454807, 0.2420597523, 0.5667588711, -0.7105177641, -0.3741819561, 0.3492951989, -0.7896966934, -0.2044695765, -0.1501938254, 0.0141440285, -0.2983800173, 0.5125640631, -0.9203429222, 0.3890158534, 0.1156042069, -0.4631975293, 0.8956627846, -0.2351907194, 0.0200571381, -0.3821069598, 0.4268005192, 0.1948545128, -0.1090762019, -0.2846989632, 0.0427592099, 0.0400883071, -0.2891044617, -0.6127440333, 0.8616302013, -0.9155967832, -0.6604358554, -0.0612714328, 0.5553902388, -0.0460031964, 0.4103858173, 0.1691155434, 0.9487927556, 0.1391500384, -0.4928802848, 0.2205688357, 0.1533421725, -0.5765362978, 0.7105458975, -0.7184847593, 0.1070965156, -0.0196647458, 0.1053206846, -0.9280464649, -0.1476565301, -0.3435245752, -0.2105551958, 0.0703834593, 0.1095133945, -0.4748432636, -0.5241699219, -0.1427970231, 0.3752653003, 0.1147890463, -0.5865383148, 0.4513319433, 0.2363756001, 0.1908584535, -0.6951797009, -0.3081406355, 0.1737087369, -0.3322779536, -0.3261825442, -0.2314292938, 0.2221003771, -0.4448745251, -0.0533186905, -0.3249905705, -0.0009782007, 0.2207948118, -0.2660829425, -0.2378074825, 0.1151831225, -0.0398517512, -0.0950720608, -0.0903071165, 0.2357701808, -0.1070207506, 0.3324146867, -0.2751485109, -0.5900484324, 0.0463492721, 0.088230513, 0.6761888266, 0.0402949937, 0.2450090349, 0.188060075, -0.3247475624, -0.439679265, -0.4185878634, 0.1421384811, -0.505261004, 0.5120941401, -0.9154101014, -0.4418604076, 0.4412794709, -0.5118469, 0.2060805112, 0.118437767, 0.0249453001, 0.0153374653, 0.7775014639, -0.1806434095, -0.1017311364, 0.0954277962, -0.3638103604, -0.1599628031, -0.9154932499, -0.0513501689, -0.6854300499, -0.5114393234, -0.0016428777, -0.6356059313, 0.4328457117, 0.1157676429, -0.5814607143, 0.6391414404, -0.4301508069, 0.7701122165, 0.2724582553, -0.0497975051, 0.0132778566, -0.1350619197, -0.4758548141, 0.0275489204, -0.7977975011, -0.5238958001, 0.8091596365, 0.1463186741, 0.5322575569, 0.2734315395, 0.4840450287, 0.2747629881, 0.3041853309, -0.5815541744, 0.9233769178, 0.0056717433, -0.3299127519, -0.424043268, -0.5421889424, -1.2866711617, 0.6804448366, 0.0171544291, -0.994153142, 0.0604612008, 0.1150957048, -0.0633528233, 0.5509498119, -0.6299990416, 0.9881445765, -0.4152280092, -0.7375033498, -0.293535471, -0.3023911715, 0.2717214823, 0.4616527259, 0.1849120557, -0.4823557138, -0.3263100982, 0.233970046, -0.5235466361, 0.6259829998, -0.7606076002, -0.1330589652, 0.3417402804, 0.1424300224, 0.7487790585, -0.1755911708, -0.1770634502, 0.2001782209, -0.0297308154, -0.6763978004, -0.5949594975, 0.6890215278, -0.7803746462, -0.4572638869, -0.4037593007, -0.5385389924, -0.5159753561, 0.3116294146, 0.3616858721, 0.2523211837, -0.5585694313, -0.289542675, 0.5085697174, -0.1986795515, 0.3626425862, 0.4567507505, 0.011013953, -0.3955253363, 0.6052333117, -0.0617602244, 0.3364768624, 0.4727365077, 0.3137080967, -0.7670786381, -0.7398374081, -0.3540568948, 0.0566660017, -0.6166520119, -0.5762559175, -0.4846087694, 0.0288860127, -0.1559947133, -0.6606875658, -0.265941143, -0.0202344544, -0.0308094379, -0.1114300936, 0.2888432145, 0.6851831079, -0.251193881, 0.149344638, -0.6307206154, 0.1644824445, 0.3364554644, 0.5560353994, 0.2467562258, -0.1284286678, -0.1052050442, -0.0227652527, -0.1956277788, -0.7090990543, 0.26885432, -0.1246811748, 0.7093495131, 0.4403972626, 0.0470322259, 0.5090203285, -0.2950405478, 0.7276344299, 0.4379310906, -0.7787517905, 0.3843998909, -0.9120695591, 0.8649946451, 0.7047332525, 0.2438678443, -0.4155281782, -0.0230400916, -0.4025160372, -0.7083398104, 0.3786277771, -0.0738831609, -0.2598862052, -0.3392642736, 0.1271081418, -0.0354659073, 0.0093260938, -0.4997883439, 0.2517675757, 0.0083187204, 0.1230606139, -0.019463975, -0.0051718028, -0.0498487242, -0.0655360371, 0.2648675442, -0.2897464931, 0.1768676043, 0.0508336611, -0.1605952978, 0.1701752841, 0.3613085151, 0.5368357897, 0.6552945375, -0.111079745, 0.2506851852, 0.6150327325, -0.4610856771, -0.0120132603, 0.0362876728, -0.081737712, -0.3198237121, 0.244394511, 0.5328192711, 0.6024491787, -0.8160336614, 0.5881155729, 0.2649365366, -0.6113904119, -0.1433289945, 0.0278430227, 0.04493846, 0.0814886689, 0.2149088085, -0.0098422971, 0.3704784214, 0.0809110552, 0.1598621756, 0.6843553782, -0.1777299941, -0.1869790256, 0.4887228012, 0.2501066923, 0.0001124516, 0.662774086, -0.5812525749, -0.555218935, 0.8450089097, 0.4611429274, 0.9093974829, 0.30305475, 0.1846636832, 0.7514846325, 0.1953176707, -0.1194234267, 0.408624351, -0.5723828673, -0.9338145256, -0.3980044127, -0.3438372016, -0.4687144458, -0.0907231867, -0.6426500082, 0.0211507306, -0.4379426241, -0.1872164905, -0.3433260322, 0.382224232, -0.8481144905, -0.053994935, 0.0478189737, 1.3926212788, -0.7804346085, 0.3869808316, 0.9437266588, 0.0668165237, -0.624979198, -0.359737128, 0.1490389407, -0.8896504641, 0.5904403329, -0.0350983068, -0.377784431, -0.3112538457, -0.8339354992, -1.1397255659, 1.1439270973, -0.0333070196, -0.7669397593, 0.3520482481, -0.0291371532, 0.3468731046, 0.1577471197, 0.4841734469, 0.7039470673, 0.9161854386, 0.1893907338, -1.0583260059, 0.1283432096, -0.2635500431, 0.1373088658, 0.4465062022, -0.7985700369, 0.5723128319, -0.5025435686, -0.505694747, 0.2598362565, 0.5654348135, 0.7834604383, 0.7686746716, 0.6349033117, 0.9079662561, 0.7904549837, -0.050287839, 0.9621063471, 0.0710796267, 0.4889397621, 1.2200740576, -0.8391547203, 0.9191272855, 0.1021549702, -0.5835582018, 0.1113983393, 0.2339569032, -0.0193985924, 0.4543049634, 0.7265242338, -0.2868890166, -0.2911882401, 0.0406276621, -0.2626049221, 0.473443985, 0.6311737299, 0.447064817, -0.65628016, -0.0338875875, 0.1396621168, 0.6226724386, -0.5657131672, 0.6777249575, 0.0349127688, -0.8085719347, 0.5002988577, -0.4620965719, 0.5436694622, -0.3694091439, 0.0956325755, -0.1306154281, 0.2527952194, -0.0160842389, -1.112876296, 0.1039825082, -0.0117808785, 0.1015721783, -0.40364182, 0.8905837536, -0.001610881, 0.0537922084, 0.3019357622, 0.5261729956, 0.5231862664, 0.0976461843, -0.7631200552, 0.0334229991, -0.2776352167, -0.1330180913, 0.4363653958, 0.777705133, 0.0155925406, 0.728921175, 0.4067618549, 0.1656607389, -0.1952017695, -0.0038728733, 0.7822635174, -0.8050345182, -0.3086619973, -0.174048543, -0.039835047, -0.4359479845, -0.5392309427, 0.7511419058, 0.6774305105, 0.709363699, 0.0910555199, 0.7556357384, -0.0870664418, 0.2698585391, -0.4686946273, 0.5237957239, -0.4848506451, 0.2063305676, -0.1941150725, -0.838471055, -0.0063269651, 0.6775306463, -0.9203289747, 0.4758775234, 0.5232886672, 0.4144404531, -0.2230645865, -0.0123025738, 0.6732538342, 0.0058136452, 0.1219836771, 1.0521285534, 1.0564340353, -0.029493425, 0.3838456869, 0.2019662112, -0.210337162, 0.1155813038, -0.944382906, -0.6692624688, -0.1100699008, -0.0933397487, -0.100789763, 0.0685370117, 0.7235092521, 0.7108908296, -0.5190751553, -0.3493001759, -0.3491320908, 0.2305592746, -0.6296354532, -0.2296723723, 0.292112112, -0.4902448356, -0.6070104837, 0.4321084023, 0.1344671696, -0.2120689899, -0.0471171699, -0.2789973915, -0.2785544395, -0.1494924575, 0.5010528564, 0.716486752, -0.5568545461, -0.3260126114, 0.0482213683, -0.2303604782, -0.1943599284, 0.9023979902, -0.8345184326, 0.3358590603, 0.5423365235, 0.434165597, 0.6156994104, 0.1687337011, 0.4689807296, -0.6120015383, -0.0870369002, 0.2852503061, 0.4536675215, 0.2023279369, -0.1701931953, 0.4492052197, 0.0700674206, -0.6827508211, -0.371617198, 0.246064201, -1.052709341, -0.4908004999, 1.3878468275, -0.2120472491, -0.1737862378, -0.2920324802, 0.0666867942, -0.3563175201, -0.5447696447, 0.391212374, 0.4389355779, -0.0009545479, -0.2120140493, -0.3484044969, 0.3110157847, 0.5346480608, -0.6721253991, 0.4705221653, 0.869615674, 0.1473794281, 0.0162491612, 0.7843648195, 0.0980679095, 0.4407946467, 0.4984478354, 0.0663769841, -0.127790764, -0.2809936106, -0.1416953653, 0.1867061555, 0.0859661475, -0.1549362391 ]
http://arxiv.org/abs/2407.01887v1
http://arxiv.org/pdf/2407.01887v1
Beyond Numeric Awards: In-Context Dueling Bandits with LLM Agents
2024-07-02T02:18:14
2024-07-02T02:18:14
Fanzeng Xia, Hao Liu, Yisong Yue, Tongxin Li
cs.LG
cs.LG, cs.AI, cs.CL
In-context decision-making is an important capability of artificial general intelligence, which Large Language Models (LLMs) have effectively demonstrated in various scenarios. However, LLMs often face challenges when dealing with numerical contexts, and limited attention has been paid to evaluating their performance through preference feedback generated by the environment. This paper investigates the performance of LLMs as decision-makers in the context of Dueling Bandits (DB). We first evaluate the performance of LLMs by comparing GPT-3.5-Turbo, GPT-4, and GPT-4-Turbo against established DB algorithms. Our results reveal that LLMs, particularly GPT-4 Turbo, quickly identify the Condorcet winner, thus outperforming existing state-of-the-art algorithms in terms of weak regret. Nevertheless, LLMs struggle to converge even when explicitly prompted to do so, and are sensitive to prompt variations. To overcome these issues, we introduce an LLM-augmented algorithm, IF-Enhanced LLM, which takes advantage of both in-context decision-making capabilities of LLMs and theoretical guarantees inherited from classic DB algorithms. The design of such an algorithm sheds light on how to enhance trustworthiness for LLMs used in decision-making tasks where performance robustness matters. We show that IF-Enhanced LLM has theoretical guarantees on both weak and strong regret. Our experimental results validate that IF-Enhanced LLM is robust even with noisy and adversarial prompts.
[ -0.4252607226, -0.6550486684, 0.7593138218, 0.2130257636, -0.1427970082, 0.5345964432, -0.6317337155, -0.4809494615, 0.1111507863, 0.4264218211, -0.2340756804, -0.4467548728, -0.8460034132, 0.3027894497, -0.0481920429, 1.1520930529, -0.0607738905, -0.0263959933, -0.4159483612, -0.0784819499, -0.5250896811, -0.7800232768, -1.0173770189, -0.3820904195, 0.4117664695, 0.1328010261, 0.7988004088, 0.1565802097, 0.3657769859, 0.4823901951, -0.2134217769, 0.1410246342, -0.5128490329, 0.1478264481, -0.2413753122, -0.7201581001, -0.409119755, -0.0537952073, 0.6248186231, 0.206475839, -0.0492637455, -0.4147277474, 0.201683715, 0.6586565971, -0.6325464845, 0.3730967939, -0.9042361975, -0.1434638351, -0.2716076076, -0.2893422544, -0.3046444952, -0.6290136576, 0.2689264119, -0.3877814114, -0.2086182088, -0.0855984986, 0.6939002872, 0.3943274915, -0.1784116924, -0.5203267932, -0.5124402642, 0.7288486362, -0.6030404568, 0.0139499158, 0.3471909165, 0.249531582, -0.3069772422, -0.4979520738, -0.2752275169, -0.4856854677, -0.039193131, 0.102371648, -0.2378920615, 0.3249795139, 0.3009358644, 0.0025726685, -0.1049482003, 0.3469770551, -0.0991953686, -0.1273948103, 0.6787701845, 0.1557673365, -0.1096300557, -0.1505267471, -0.3283339739, -0.0960444808, -0.7043207288, 0.4768637419, 0.3577364981, 0.3026994765, 0.0774286762, 0.3601318002, -0.1884419471, 0.6633423567, 0.316891551, -0.2805341184, -0.0580048598, -0.2223122269, -0.0959682539, 0.2474503964, 0.6894757152, 0.4254092276, 0.3845207691, -0.3532987535, -0.5084273815, 0.0543450452, 0.061645519, -0.7477206588, -0.0470629446, 0.1800945699, -0.0519358069, -0.4147802293, -0.0082954718, -0.6816672087, -0.5963765979, -0.2499974072, 0.7453582287, -0.4504327476, -0.0420179926, -0.0127025163, -0.3634557128, 0.3554620743, 0.3099608123, -0.767037034, 0.2610304058, 0.7954248786, 0.8386393785, -0.2291710377, -0.1773013622, -0.723294735, 0.1060726121, -0.4029556513, 0.6816644073, -0.7048031092, -0.706338644, -0.0933311358, -0.3680275679, -0.078193292, -0.6252095103, 0.8708662391, -0.8017051816, 0.0492774658, -0.4758566618, -0.4883670807, -0.2760017812, 0.31373173, -0.4712791145, 0.6096214652, 0.1537391841, -0.5563267469, 0.6415500641, -0.6175730228, -0.3597166538, 0.2165472955, -0.3308355808, -0.3920583129, -0.0161057301, 0.1495220661, 0.4046244621, -0.3534669578, 0.3787062466, -0.6491937041, -0.5534729362, 0.5569813251, -0.5178955197, 0.7180626392, -0.1262960583, -0.5344061852, 0.2101850659, -0.2988626957, 0.1765352637, -0.0588466413, -0.4345088005, -0.2901153862, 0.1207201481, -0.5351116061, -0.0366732813, 0.1680111736, -0.3298389018, 0.234902963, -0.4063081145, 0.5339345932, 1.1195242405, -0.1528867781, 0.458263576, -0.3945954144, 0.4782443643, -0.2963110209, -0.1082086861, 0.1092425808, -0.3895250857, -0.737885952, -0.4022496045, 0.7250558138, 0.6859186292, -1.0210455656, 0.3587979972, -0.3332048953, -0.1061231121, -0.3396850824, 0.1160044521, 0.3994194269, 0.190424636, -0.0673309714, -0.3158332109, -0.4192157388, -0.7978641391, -0.434376657, -0.2083367854, -0.0082464339, 0.5687372088, 0.2293831408, -0.1970573217, 0.9291089177, -0.0529770106, -0.0919706374, -0.2132080197, -0.0240962189, 0.3216745257, 0.1088668332, 0.6112977266, -0.6320430636, -0.5398457646, 0.1147103012, -0.7943865657, -0.087725535, -0.0570296384, 0.0964772254, 0.4483504295, 0.2677804232, -0.7317650318, 0.3117536604, 0.3513959348, -0.1747735739, 0.4914140105, -0.2617702484, 0.2595612705, -0.5088257194, -0.2672229707, 0.0042000348, -0.2197065502, -0.3500399292, -0.0686786622, 0.0550634339, 0.2838414311, -0.0750298947, 0.472723484, -0.3361273706, -0.2321333438, -0.2968247533, 0.2903555632, -0.3052072227, 0.5043057799, 0.1232540905, 0.8781486154, 0.7445180416, -0.637044549, 0.3713082969, -0.1541264206, -0.4199564159, 0.8533580303, -0.6019359827, 0.1150927022, -0.0736961663, 0.4501672089, -0.868792057, -0.2155904919, 0.0861316547, -0.597646296, 0.5529056191, -0.1290943176, -0.3304699957, -0.2398784757, -0.5659552813, 0.1571781933, 0.4398887157, -0.7068056464, 0.6349728107, 0.3142817318, -0.4198097885, -0.6505246758, -0.3312890828, 0.5103522539, -0.609210968, -0.7140570879, 0.4739114642, -0.1447819918, -0.6995065212, -0.1090327576, 0.0884502605, 0.1087900177, 0.2885358334, 0.1914237589, 0.4273979664, 0.0256826058, -0.1355810314, 0.1022797078, -0.2854246199, 0.2843842208, -0.1439414173, 0.1547066569, -0.4287279844, -0.1296969801, 0.0065220976, 0.1815363765, 0.3873169124, -0.0869953781, 0.6030181646, 0.319334656, -0.0630476698, -0.4508918524, -0.4319615364, -0.2218402177, -0.5738188624, 0.0952105522, -0.5328729153, -1.0773026943, 0.400409013, -0.286107868, 0.1324993223, 0.3679334521, 0.6248775721, -0.0078384327, 0.9659550786, 0.2689026594, -0.3437339365, 0.3239177167, -0.0699162632, 0.1468448937, -0.6217470169, -0.1717666835, -0.4671440721, -0.3158964515, -0.7606264353, -0.2548297048, 0.741335392, 0.1406470537, -0.1651592851, 0.0174881704, -0.2782504559, 0.7683138847, 0.5179966092, 0.0313655026, 0.2148782462, -0.2584240437, -0.182803914, 0.0989468098, -0.8598231673, -0.3501417637, 1.1486853361, 0.0667052567, 0.5816949606, 0.3107351065, 0.6591873169, 0.405280143, 0.5183258653, -0.6409595013, 0.4700139761, 0.0869617462, -0.3610987961, -0.255351752, -0.4661801755, -0.9887441993, 0.2902481854, -0.2959252596, -0.7279019356, 0.0667217821, -0.1503373086, -0.754008472, 0.3313916028, -0.6532058716, 0.3662208319, -0.5075680017, -0.6962125897, -0.1148376241, -0.7234850526, 0.5993178487, -0.1935640723, 0.099709861, 0.2400535196, -0.1822828501, 0.4451663494, -0.1836310029, 0.6747656465, -0.0953938589, -0.0281381961, 0.3259028494, 0.0837556645, 0.9414540529, 0.2333597094, -0.2862887681, 0.2083798796, -0.1783982962, -0.0953204408, -0.5850810409, 1.0319923162, -0.7973914742, -0.9499670863, -0.5081275105, -0.2242375314, -0.387147218, -0.0943253338, 0.1899487674, 0.4314673543, -0.125835374, 0.5293532014, 0.793759346, -0.3048784137, 0.5509824157, 0.4347583055, 0.0001286396, -0.4868882895, 0.8907268047, 0.120438464, 0.2690355778, 0.2745453119, 0.1132848263, -0.7576338053, -0.6443335414, -0.5881235003, -0.0220461152, -0.621797204, -0.3387283385, -0.4282051921, -0.283451587, -0.0360909961, -0.4287511408, 0.0219266601, -0.2177766114, -0.0130729945, -0.1220186353, 0.3985645175, 0.7014857531, -0.2390209883, 0.0684613958, -0.4240339696, 0.0456455983, 0.6668268442, 0.5072891712, -0.0968882367, -0.3826146424, -0.0967871249, -0.1146102175, -0.1952697635, -0.7528762221, 0.1590750217, -0.0947268531, 0.6001242399, 0.292312175, -0.0255682487, 0.3834528923, -0.0896503553, 0.6546916962, -0.2077778727, -0.8461900353, 0.0846509114, -0.6302358508, 0.0365463793, 0.5509700775, 0.1120311543, -0.1487827897, -0.2108864933, -0.5981372595, -0.6424029469, 0.873839736, 0.2444559485, -0.0182330497, 0.0871038213, 0.4208346307, -0.0212223455, 0.3293755054, -0.7298924327, -0.1441341341, 0.0483457595, 0.3166635633, -0.3107046783, -0.2311657667, -0.1757440567, -0.1085068583, 0.5384936333, -0.0472091995, 0.1217675507, 0.0137347048, 0.0578373484, 0.001983084, 0.4339104295, 0.4826788306, 0.4701927304, -0.2268887609, -0.0285205729, 0.5007113814, 0.2298922539, 0.0621957593, 0.2001684606, -0.1895967722, -0.2078440934, 0.2115397453, 0.8479213119, 0.39867872, -0.6904876232, 0.5486731529, -0.1226586178, -0.2819407582, -0.1959398538, 0.3526088297, 0.0037613874, 0.4560317397, 0.1532792896, 0.1519138813, 0.2653268874, -0.533367157, 0.0112857744, 0.9066816568, -0.0520012751, -0.1193384826, 0.4247384667, 0.3483188748, -0.4321804941, 0.3142276108, -0.4329046011, -0.893281579, 0.6674818397, 0.4483372867, 0.9894436002, -0.074723199, 0.1348536462, 0.1965410262, 0.2815268636, 0.035669785, 0.0076768976, -0.2402414232, -0.6676835418, -0.3567205966, -0.4742304385, -0.6708361506, 0.0332791544, -0.2953106463, 0.2289871126, -0.6679547429, -0.2643519044, -0.2302802652, 0.2341704965, -0.5907603502, -0.037230432, 0.1870059967, 0.5258162618, -0.2282651067, 0.6175079942, 0.3690862954, 0.091283828, -0.5353426933, -0.1670192033, 0.1192007363, -0.6762197614, 0.4399060905, -0.0087235905, -0.3450043201, -0.2360726893, -0.4513125718, -0.9066764116, 1.0879566669, 0.3502920866, -0.4237070084, 0.2540854216, -0.0519955792, 0.4562499225, -0.2124145776, 0.4947510362, 0.8938654065, 0.810656786, 0.1574212909, -1.0348272324, -0.1711256355, 0.0169695299, -0.0198832415, 0.4186279476, -0.9660023451, 0.8915997148, -0.442812711, -0.2064356357, 0.0948645771, 0.5332808495, 0.6399515271, 0.2729078531, 0.5004069805, 0.3993644118, 0.8182319999, -0.2521791756, 1.2827111483, -0.1581488848, -0.0822798759, 0.9012923241, -0.2764241099, 0.6441549659, 0.0396062881, -0.3782172501, 0.6247698069, 0.7372649908, 0.2732329965, 0.4382545054, 0.2960903645, -0.497423321, -0.3130913973, -0.0366972312, -0.2914467454, 0.516251266, 0.5092287064, -0.166425541, -0.1122780293, -0.3984187543, 0.1842734069, 0.0154005401, -0.4006611705, 0.8879486918, -0.0028418731, -1.0141942501, 0.573428452, 0.3116273284, 0.9505879879, -0.7737581134, 0.1400904059, -0.1688574404, 0.1911868602, -0.1071832031, -0.9386099577, -0.0008761628, 0.0593542904, -0.0506840348, -0.1012552381, 0.810626924, -0.3585809767, -0.1727271378, 0.3440050483, 0.2915636599, -0.0182681642, -0.1527986228, -0.6672418118, 0.2113188803, 0.0367055498, -0.0799627155, 0.5149447322, 0.565544486, -0.2731303573, 0.7411382794, 0.625348866, 0.0298973415, -0.2816735804, -0.0880029574, 0.8334347606, -0.5252660513, -0.4763550162, -1.0688447952, 0.0924785882, -0.2168255448, -0.196707651, 0.9119022489, 0.3567052484, 0.7264512777, 0.3285027146, 0.973289907, 0.0701471493, 0.1865157634, -0.6017512679, 0.4381399155, -0.2180748284, 0.4518076479, -0.256744951, -0.7367858887, -0.0932521448, 0.4182721078, -0.585927546, 0.3759508431, 0.2392458469, 0.746770978, 0.3764998317, 0.0987669602, 0.3644586205, 0.1274810582, 0.2877189219, 0.89131248, 0.9833210111, 0.0835616365, 0.3836477399, 0.0584876686, -0.4305553734, -0.1632628441, -0.9461510777, -0.9681870341, -0.2392615527, 0.1250635833, -0.2720103562, 0.0671233013, 0.9110565186, 0.4475733042, -0.4910931885, -0.336948812, 0.205841586, 0.5948395729, -0.0271368716, -0.2234764844, 0.1375437975, -0.3289636672, -0.6723066568, 0.5315363407, 0.5753260255, -0.0924146995, -0.2833034694, -0.5467126966, 0.2901571393, 0.3570571244, 0.7264882326, 0.1902398914, -0.8544866443, -0.1391977221, -0.2835305929, 0.0857984871, -0.0104076536, 0.6430901289, -1.019482255, 0.5465229154, 0.2387887686, 0.7839891911, 0.3568362892, 0.1264027059, 0.6843669415, -0.3782932162, -0.1049278751, 0.2685540318, 0.3487650454, 0.357614547, -0.3300663829, 0.4270510972, 0.0923260897, -0.7222346663, -0.597456038, -0.1065511405, -0.7291712761, -0.2741706073, 1.3393464088, -0.0168497451, -0.0507373698, 0.0204300713, -0.3962596357, -0.2800382674, -0.6821426153, 0.9211782813, 0.946573019, -0.061557211, -0.0465960577, -0.1839931756, 0.9284017086, 0.3554551005, -0.7530450225, -0.00265444, 0.5100414157, 0.0693756416, -0.1017975211, 0.5496233702, -0.0055993642, 0.3146573007, -0.028194299, -0.5845898986, 0.0628105476, -0.3704744577, -0.4775489569, 0.2900618613, 0.3402471542, 0.2539129555 ]
http://arxiv.org/abs/2407.01885v1
http://arxiv.org/pdf/2407.01885v1
Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Application
2024-07-02T02:14:42
2024-07-02T02:14:42
Chuanpeng Yang, Wang Lu, Yao Zhu, Yidong Wang, Qian Chen, Chenlong Gao, Bingjie Yan, Yiqiang Chen
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have showcased exceptional capabilities in various domains, attracting significant interest from both academia and industry. Despite their impressive performance, the substantial size and computational demands of LLMs pose considerable challenges for practical deployment, particularly in environments with limited resources. The endeavor to compress language models while maintaining their accuracy has become a focal point of research. Among the various methods, knowledge distillation has emerged as an effective technique to enhance inference speed without greatly compromising performance. This paper presents a thorough survey from three aspects: method, evaluation, and application, exploring knowledge distillation techniques tailored specifically for LLMs. Specifically, we divide the methods into white-box KD and black-box KD to better illustrate their differences. Furthermore, we also explored the evaluation tasks and distillation effects between different distillation methods, and proposed directions for future research. Through in-depth understanding of the latest advancements and practical applications, this survey provides valuable resources for researchers, paving the way for sustained progress in this field.
[ -0.4432502985, -0.9002845883, 0.987560451, 0.0891982093, -0.3180067539, 0.3228190541, -0.5499947667, -0.244258374, -0.128249228, 0.3906373084, -0.1990509182, -0.5098987818, -0.9494200349, 0.0972379074, -0.450861156, 0.6439567208, -0.0237213355, 0.1525703222, -0.4658824801, -0.0411024876, -0.4213530123, -0.6475507617, -0.5328853726, -0.5465320349, 0.2699634135, 0.2357467562, 0.2358366251, 0.4682623744, 0.3446580768, 0.3802264333, -0.5846730471, 0.0936229602, -0.5303479433, 0.4225169122, -0.0765952915, -0.5166444778, -0.0984644741, -0.049419418, 0.5691831708, 0.9062145352, -0.3907875717, 0.3547781706, 0.3051676154, 0.8278082013, -0.9459803104, 0.2069052011, -0.6980504394, 0.0273301154, -0.2455662787, 0.0626246408, -0.3480648696, -0.5500866175, 0.3234546483, -0.2565722167, 0.1508761346, 0.0072635193, 0.2793912888, 0.3527498543, -0.6246840954, -0.388047576, -1.0710682869, 1.0152841806, -0.9344921708, 0.5290857553, 0.2934569716, 0.5541741848, -0.2835041881, -0.8699361682, -0.6827150583, -0.2657904327, 0.0247819256, -0.1701861918, -0.3150498867, -0.0381204933, 0.4078676403, 0.4899136126, -0.2716093957, 0.235353142, -0.3539538085, -0.0980757326, 0.5656458735, 0.0234470014, -0.0249484442, 0.1405361593, -0.1742163599, -0.1919429451, -0.639026165, -0.3258320391, 0.2107161134, -0.1313697249, 0.0858414546, 0.5187214613, -0.5244349241, 0.8861972094, -0.0932237878, -0.6653059721, 0.1340774, -0.3929517567, -0.2598558366, -0.0413275547, 0.8696399331, 0.3420784175, 0.1548102796, -0.072514683, -0.1332511008, -0.2253553122, -0.1137647554, -0.8245927095, -0.1658198684, 0.1721745133, -0.4839014411, -0.2065157145, -0.3454126418, -0.997215867, -0.7091321945, -0.4550848305, 0.0476490036, -0.1934191436, -0.5618200302, 0.1950754523, -0.4014058411, -0.0525769703, 0.3372620046, -0.8802047968, 0.196662128, 0.6390392184, 0.8042219877, -0.2415054888, 0.0344669074, -0.2021281123, -0.023443535, -0.1455323249, 0.610768795, -0.2734836936, -0.3654965162, 0.0669362992, -0.3219051957, 0.2902785242, -0.8454956412, 0.5621019602, -0.6902109981, -0.1735983789, -0.1706419587, -0.7741413713, -0.2804153264, 0.3338198662, -0.6968516111, 0.9192601442, -0.0583571084, -0.6192147732, 0.3639467359, -0.4078650177, -0.4046634734, 0.0169547554, -0.0540498719, -0.2347927392, 0.5814227462, 0.2416844964, 0.6611053944, -0.632109344, 0.3988103271, -0.4674235582, -0.0590850525, 0.3164370954, -0.6390279531, 0.8242185116, 0.5344853401, -0.16123797, -0.3108854592, -0.851908505, -0.0132869398, 0.244970575, -0.2159032375, -0.7425804138, 0.0370579734, -0.2376808375, 0.058609318, 0.4047217369, -0.5702084303, 0.2467906028, 0.0176289454, 0.6069620848, 0.5325587988, 0.153064698, 0.2931635082, 0.0714332908, 0.5687832832, 0.0287092794, 0.1021725982, 0.1059911028, -0.1838493198, -0.5780231953, -0.1590238065, 0.526878953, 0.267552346, -0.7907556891, 0.4212344587, -0.1134229377, -0.8728615642, -0.4720821679, 0.2668126523, 0.262721926, 0.3562665582, 0.219417125, 0.2028742731, -0.3378451467, -0.9231040478, -0.0032048586, -0.2581705153, 0.0346666947, 0.1977688074, 0.4411459565, 0.043149773, 0.9054980278, -1.012378335, -0.0120735075, -0.3829682469, 0.1420769244, 0.140850082, 0.1676163077, 0.5972294211, -0.5900714397, -0.6101313829, -0.0216074511, -0.6571013927, -0.3326965868, 0.3341816962, 0.0765647665, 0.2229626924, 0.6604422331, -0.4799346924, 0.1690978408, 0.8979545832, -0.0142223518, 0.7076687813, -0.260112375, 0.3189348876, -1.0527740717, 0.0484920479, 0.146281153, -0.2069864422, -0.5831500292, 0.0048518996, 0.0499862619, 0.2236692011, -0.5084349513, 0.5220059752, -0.7470538616, 0.1037965566, -0.3465399444, 0.3440311551, 0.0591328926, 0.1324417442, -0.0101412255, 0.4752390981, 0.4402095079, -0.5780858994, 0.7099972367, -0.0024144785, -0.9567245245, 0.3181224763, -0.5601556897, 0.1283233017, -0.0777237043, 0.1863277853, -1.0130698681, 0.1598540843, -0.0672533214, -0.0219496172, 0.3243074119, -0.2786704004, -0.7163518071, -0.3647834361, -0.1762153506, 0.4441804588, 0.8336402774, -0.4268611372, 0.2931126952, 0.5636398792, -0.2298641801, -0.5955520868, -0.7534095645, 0.0192908086, -0.5604979992, -0.3817551136, 0.0935584754, -0.1716566086, -0.6682639122, -0.1000590846, -0.2824562192, -0.1115864888, 0.24880822, -0.1209958419, 0.1323283166, -0.0402865671, -0.0388807878, 0.0661995932, 0.167223677, 0.0195863117, -0.2064514607, 0.545276165, 0.3566235304, -0.4077869952, -0.3379325867, 0.0667385831, 0.6530131102, -0.0818300024, 0.8149119616, 0.3992824852, -0.2274078578, -0.4219550192, -1.0288381577, -0.1607664376, -0.4457430542, 0.4537189603, -0.1506505907, -1.1113314629, 0.4355108738, -0.5597094297, -0.0382186733, 0.2563786209, 0.8017793894, 0.0386146083, 0.7085695267, 0.6907513738, -0.2683008909, 0.4279179275, -0.2005705535, 0.327209115, -0.7351890802, -0.245022282, -0.915643394, -0.2868123949, -0.3310284615, -0.5374466777, 0.4562800527, 0.3664896488, 0.3102521598, 0.0618558712, -0.3395715356, 0.5525512099, 0.3364993334, -0.2735261023, 0.7598025799, 0.045361124, -0.133166492, 0.0088025685, -0.6321934462, -0.5204483867, 1.2395845652, 0.3931859136, 0.8996402621, 0.0270323176, 0.7230256796, 0.2567376196, 0.1717421561, -0.7695196271, 0.5468041897, -0.1261654049, -0.665594697, -0.4792371988, -0.5848625302, -0.671051681, 0.3153214157, 0.0256507955, -0.7024629116, 0.0557499304, 0.2712975442, -0.2473783791, 0.2466517389, -0.9124940634, 0.7169926763, -0.3083148897, -0.0725494847, -0.3206366301, -0.3537127376, 0.7270773053, -0.4220872223, 0.1974489689, -0.258962065, 0.1018326208, 0.6723238826, -0.487175107, 0.5813945532, -0.3861980736, -0.524019599, 0.3592627645, -0.0298203435, 0.5840435624, -0.0553111918, -0.2539985478, 0.4232890606, 0.2574334145, 0.0259669498, -0.842207253, 0.7449393868, -0.4798466861, -0.6776288748, -0.3267481923, -0.4843607545, -0.3846846521, 0.1454512179, -0.0071028201, 0.277533114, -0.2859614193, 0.4162192643, 0.7286034822, -0.3060869277, 0.5554276705, 0.7045044303, -0.4200893939, -0.2641793191, 0.6860693097, 0.3006139696, 0.5663990378, 0.3722740412, 0.2754567862, -0.6717939377, -1.1427208185, -0.322399348, 0.1454437971, -0.6299725771, -0.1874046624, -0.6003174186, -0.1061808467, -0.5269834995, 0.253126204, -0.4582002461, -0.5278260112, -0.1025619656, -0.015747793, 0.4785759151, 0.8640599251, 0.1442933977, 0.2054447085, -0.7849114537, 0.3881736994, 0.2785733342, 0.3878037632, 0.1700895727, -0.291403532, -0.3412883878, 0.1833134592, -0.1991628557, -0.6761792898, 0.2664162815, 0.0518695079, 0.6893669367, 0.3177879155, 0.3722183406, 0.7778329253, -0.5337112546, 0.8362059593, 0.1809081137, -0.6907559037, 0.32850492, 0.0529079512, 0.3414438069, 0.6661342978, 0.4769133925, -0.5624298453, -0.3978856206, -0.2764272392, -0.7718946338, 0.5371261239, 0.1124411151, -0.091074422, 0.252314806, 0.3014780283, 0.1924158335, 0.3223287463, -0.3217098117, -0.5418639779, 0.3574083447, -0.1195814237, -0.255646944, -0.455337882, 0.0073351362, -0.2108432651, 0.7566235065, 0.132242769, -0.1931543946, -0.1164432317, -0.3865911663, 0.321015209, 0.4350847006, 0.5237777233, 0.7625058889, -0.1425795406, 0.2472372204, 0.2651250362, -0.5046637654, 0.4478868246, 0.1111049131, -0.1600220501, -0.0265688766, 0.2180467844, 0.6501988769, -0.1722405255, -0.7090989947, 0.2905243933, -0.2814183831, -0.2766959965, -0.1430089027, 0.0956553742, 0.4544437528, 0.3807296455, 0.3631535172, -0.3694236279, 0.2557754219, -0.4370271862, -0.2751002014, 0.4091697931, -0.0577184521, -0.0121268202, 0.3516355157, 0.1874320656, 0.0648688674, 0.493232131, -0.2557507753, -0.2142021954, 0.3778457642, 0.3888215125, 0.8251832724, -0.1077801585, -0.0177116152, 0.1692903042, 0.1098208129, -0.3319753408, 0.0252569281, -0.2473077923, -0.7351360917, -0.6968654394, -1.0629265308, -0.355112046, 0.5333957076, -0.5054232478, 0.1631987989, -0.1266886294, -0.2297778279, 0.1053200588, 0.090070948, -0.46567294, -0.2035488486, 0.2307319641, 1.0500824451, -0.8082941175, 0.8814839125, 0.655390501, 0.0058402871, -0.682903111, -0.0417310409, 0.1834422052, -0.4546985328, 0.6975142956, -0.3484746814, -0.0925700068, 0.0091943862, -0.3512867689, -0.7372367382, 1.1645561457, 0.6107404828, -1.0068433285, 0.2576054931, 0.2805672884, 0.6232677102, -0.009678673, 0.152184099, 1.1082326174, 0.5809704065, 0.1947272569, -1.0371419191, -0.1230024323, -0.1183645651, 0.2569288015, 0.1942241192, -0.5324385166, 0.2753572762, 0.2079905272, -0.1113672182, -0.125848338, 0.5261605382, 0.4914123714, 0.1925943643, 0.5970255136, 0.637860775, 0.7216033936, -0.1542045325, 0.7630637884, -0.3686218262, 0.3983583152, 1.1251430511, -0.6415489316, 0.5914959908, 0.6490549445, -0.5539088249, 0.2406733632, 0.3053599, 0.0659276173, 0.4793144763, 0.481700331, -0.4891350865, 0.0771299973, -0.1774088144, -0.3937565386, 0.4701668918, 0.3197015822, -0.3086770475, -0.3264344335, 0.0600629225, 0.0986648798, 0.0313665755, -0.1684034616, 1.0036458969, 0.2043914199, -0.8276225328, 0.626832366, 0.0724397823, 0.7469059229, -0.6345818043, -0.1213297099, -0.129318729, 0.2169053108, 0.010365501, -0.7547538877, 0.2119010836, 0.1712738574, -0.2298957705, -0.4453953505, 0.7811947465, -0.6443490386, -0.3876532614, 0.2452158332, 0.6343314052, 0.2394106984, -0.1094712317, -0.383173883, 0.3690507412, 0.0514897183, -0.3601496518, 0.3635187745, 0.6956701279, 0.1388017684, 0.6942052245, 0.4966997206, 0.4412064254, 0.221469745, 0.2108716071, 0.7806053758, -0.4576332569, -0.0580170378, -1.1908698082, 0.4663724303, -0.1334574819, -0.0150059499, 1.0214924812, 0.5524472594, 0.826716125, -0.2586621344, 1.0291984081, -0.1735863239, 0.4725884199, -0.6876293421, 0.9380222559, -0.4412699342, 0.3177616596, -0.3360344768, -1.1239115, -0.1731687337, 0.2444584221, -0.2505269945, 0.030232491, 0.7085554004, 0.6613185406, 0.047548607, -0.1032092646, 0.4231336713, 0.3730168641, 0.3902217448, 0.2568943501, 1.0243582726, -0.0326052457, 0.4503833354, -0.5459541082, -0.1713682711, -0.275062263, -1.2686915398, -0.7295764685, -0.666464746, -0.5260882378, -0.0944363251, -0.1660268009, 0.6895309091, 0.7115221024, -0.666176796, -0.3217020333, 0.1128970608, 0.257324338, -0.1196030825, -0.1524801701, 0.2868070304, -0.1979013085, -0.9460363388, 0.4029363692, 0.1424977779, 0.041636426, -0.5554556251, 0.1081138104, -0.1822838336, -0.27224195, 0.8018587232, 0.0997996926, -0.6131404638, 0.0006743586, -0.2565012574, 0.0720417276, -0.3393571079, 0.9231627584, -0.7267277837, 0.4219861031, 0.7895597219, 0.5511752367, 0.7256595492, -0.13058348, 0.6687710881, -0.8063569069, 0.1396731287, 0.0797998831, 0.4652854502, 0.2304558009, -0.1405076832, 0.4468587339, 0.1199725121, -0.6493606567, -1.128108263, 0.0706014633, -0.8008496761, -0.3845857382, 1.3264381886, -0.2244260758, -0.0326186493, -0.2158474326, -0.1485280693, 0.3536762893, -0.2958883047, 0.7146662474, 1.0397511721, 0.018295411, -0.0768912137, -0.7997758985, 0.5322459936, 0.0480963849, -0.7570800781, 0.3973309994, 0.7244278789, 0.4589920342, 0.0857833549, 0.4592674077, -0.1932860911, -0.2417042404, -0.2293369919, 0.138141647, -0.1507492214, -0.1611579061, -0.5331790447, 0.2681716084, 0.4042766988, 0.1297745705 ]
http://arxiv.org/abs/2407.01878v1
http://arxiv.org/pdf/2407.01878v1
Compare without Despair: Reliable Preference Evaluation with Generation Separability
2024-07-02T01:37:56
2024-07-02T01:37:56
Sayan Ghosh, Tejas Srinivasan, Swabha Swayamdipta
cs.CL
cs.CL
Human evaluation of generated language through pairwise preference judgments is pervasive. However, under common scenarios, such as when generations from a model pair are very similar, or when stochastic decoding results in large variations in generations, it results in inconsistent preference ratings. We address these challenges by introducing a meta-evaluation measure, separability, which estimates how suitable a test instance is for pairwise preference evaluation. For a candidate test instance, separability samples multiple generations from a pair of models, and measures how distinguishable the two sets of generations are. Our experiments show that instances with high separability values yield more consistent preference ratings from both human- and auto-raters. Further, the distribution of separability allows insights into which test benchmarks are more valuable for comparing models. Finally, we incorporate separability into ELO ratings, accounting for how suitable each test instance might be for reliably ranking LLMs. Overall, separability has implications for consistent, efficient and robust preference evaluation of LLMs with both human- and auto-raters.
[ -0.4994859993, -0.1439409107, 0.5597196817, 0.447770834, -0.1793853492, 0.2601018548, -0.3965165019, -0.7348132133, 0.2695245445, 0.2702301741, -0.371517092, -0.2685356736, -0.5965586901, 0.4548505545, -0.3130963445, 0.8781054616, 0.046203725, -0.0989415273, -0.6009626389, -0.4004947245, -0.1856296808, -0.2351642549, -0.7401385903, -0.3235497773, 0.2896243036, 0.4494979382, 0.8128815293, 0.4667045772, 0.7012701035, 0.3597445488, -0.0724989921, 0.1832317114, -0.5102797151, 0.347625345, 0.0355556197, -0.3275985122, -0.3012842238, 0.1690262258, 0.4121620059, 0.5452169776, -0.2422144711, 0.0658096671, 0.3231306672, 0.8457426429, -0.7848650813, -0.0768469125, -0.7397487164, 0.1973602772, -0.0043676114, -0.0758291855, -0.3786573112, -0.8156431913, 0.142442733, -0.2220084369, 0.3305156231, -0.0284549855, 0.760548234, 0.251891464, -0.4130593538, 0.0169860087, -0.6598105431, 0.9787161946, -0.5847579241, 0.5094321966, 0.5805556178, 0.2986413538, 0.0659989044, -0.3106040061, -0.3655750155, -0.5262476206, -0.0316310786, 0.2098901272, -0.1200924069, 0.2579909563, 0.0068419799, 0.7126007676, -0.5316407681, -0.1877409071, -0.0374660082, -0.1972630024, 0.7762431502, 0.1834256053, 0.4818287492, -0.4647955596, -0.5107089877, -0.1957358718, -0.4302738905, -0.0778969005, 0.6499748826, 0.1655312181, 0.0354523063, 0.260014832, -0.1629157215, 0.6040623784, 0.0669532493, -0.0898356512, 0.492726326, -0.5039643645, -0.235369727, -0.1574574262, 0.9715634584, 0.6599618793, 0.0631439015, -0.4423260689, -0.194071278, 0.1674266458, 0.3958948851, -0.5948842168, -0.2601858675, 0.1552293599, -0.8797523975, -0.6257637739, -0.130916968, -0.8682702184, -0.431717664, 0.0143491207, 0.3530374765, -0.2397681028, -0.5063439012, 0.0125286393, -0.2307186574, 0.0881712288, 0.1357526928, -1.0675281286, 0.2674306631, 0.6463896632, 0.8431726694, -0.4925213754, -0.4361068904, -0.4062446654, -0.3917150795, -0.3122559786, 0.9904178977, -0.5722331405, -0.632173121, -0.127885446, -0.1604800373, -0.263387084, -0.9310726523, 0.8622434139, -0.2736954093, 0.0719406754, -0.3280289471, -0.4779405594, 0.0758517161, 0.3387610316, -0.6882964373, 0.8867747188, 0.0990736783, -0.8941627741, 0.7538994551, -0.3683881164, -0.2968889773, -0.1035323367, 0.021525275, -0.4340168834, 0.2619015872, -0.196055308, 0.1086414456, -0.3068071008, 0.1040541679, -1.0006510019, -0.2228699028, 0.0519399904, -0.5920236707, 0.6951782107, 0.2796561718, -0.3765994012, 0.0927039608, -0.7989096642, 0.1589322835, -0.0209577512, -0.2354373187, -0.5796855688, 0.345367372, 0.0590099171, 0.1300520897, 0.2836826742, -0.4921923876, -0.1135714352, -0.3395303786, 0.4545255303, 0.6332132816, -0.2229468226, 0.5293745995, -0.4958981574, 0.4911836684, -0.0611092374, 0.4346784353, 0.3194857836, -0.2111867219, -1.0220645666, -0.255921483, 0.2005890608, 0.5464645028, -0.4167738557, 0.8552309275, 0.0783043876, -0.5514019132, -0.6760373116, 0.1515376419, 0.4659166038, 0.5290210843, 0.4096418619, -0.6885846853, -0.6638842225, -1.1227606535, -0.4324961901, -0.4542780221, 0.0326617099, 0.389899224, 0.1152414009, -0.2197041512, 0.8543477654, -0.3031057417, 0.2030892074, -0.489123702, 0.1976525784, 0.0469553396, 0.289919138, 0.4172329307, -0.5056524873, -0.4212033749, -0.2193799168, -0.7656613588, -0.3819130063, 0.3052276969, -0.1953417361, -0.0125256144, 0.1593023539, -0.3005560637, 0.2652847171, 0.5788782835, -0.1360005587, 0.5892634988, -0.3660105467, 0.6417002678, -1.2232593298, 0.1182443649, -0.1444059461, -0.4690645635, -0.3527964354, -0.0730317011, -0.0209945329, 0.2879101932, -0.3803623021, 0.36987409, -0.2437721193, -0.3631344736, -0.2772205174, 0.0716655925, 0.0688304603, -0.3198561668, -0.0841868296, 0.9063714147, 0.2108969539, -0.3660239875, 0.2110000849, 0.3551515341, -0.5462641716, 0.6699866652, -0.6991363168, 0.2399975508, 0.0994838998, 0.0818120614, -0.9215536118, 0.050375443, -0.0104599642, -0.1753256023, -0.0497212596, -0.2193384022, -0.3866364658, -0.2147081494, -0.6126092076, 0.4681239128, 0.5064524412, -0.5293870568, 0.2139097303, 0.3365826309, -0.1030985042, -0.7370182872, -0.4276826382, -0.0098519614, -0.4689186811, -0.6006755233, 0.1606373042, -0.4331462681, -0.4119186401, -0.076522626, -0.0790618807, -0.0550445803, 0.3624157608, 0.3631644547, 0.3183171153, -0.0074700993, -0.1157485768, 0.1511234045, -0.3435609043, -0.0785780847, 0.0259938333, 0.5000484586, -0.1694372147, -0.2505245805, -0.0659122244, 0.2300937176, 0.6771597862, -0.1205832735, 0.4759832025, 0.2680464089, -0.0725880489, -0.2316367775, -0.7227708697, -0.0614237972, -0.4562388062, 0.052327361, -0.3198343217, -0.7821109891, 0.4769246578, 0.3661743701, 0.1309851408, 0.2969433069, 0.3112539351, -0.167999655, 1.0580335855, 0.6862202287, -0.220608443, 0.4925780594, 0.2601532042, 0.1891450137, -0.903234601, 0.0324471183, -0.5845173597, -0.4940910041, -0.6380857825, -0.0881323293, 0.2949125469, 0.2732302845, -0.0733018443, 0.4214379787, -0.4115150869, 0.8333923221, 0.4564261138, -0.0247318074, 0.6190212369, -0.1323257238, -0.1955173165, -0.2386001796, -0.3122446835, -0.5079503655, 1.2593300343, -0.0199073404, 0.5025931001, -0.0506182723, 1.1240612268, 0.5147354007, 0.4930720627, -0.6735915542, 0.4815872014, -0.5452817082, -0.4997085929, -0.0417356566, -0.8440508842, -1.0660295486, 0.427154094, -0.3687234223, -0.6546446681, 0.2005800158, 0.0429033674, -0.482578516, 0.2801735997, -0.4784359932, 1.0149365664, -0.2860643566, -0.2097304463, -0.3175542653, -0.7083086967, 0.6326559782, 0.0275629833, -0.0014095836, -0.3588352799, 0.2990906835, 0.7857621908, -0.3149453402, 0.2286650538, 0.2273599654, 0.1803199053, -0.0175406281, 0.3697264194, -0.0620781966, -0.0122628603, -0.3073738515, 0.0970456004, 0.0435968749, -0.197413221, -0.5354529619, 0.8547962308, -0.8789196014, -0.5063377023, -0.3862677813, -0.4413381517, -0.36662063, 0.2460699528, 0.4303537905, 0.222458601, -0.5119690895, 0.0864901245, 0.5521140695, -0.1317192316, 0.5506430268, 0.4338605702, -0.3177378774, -0.9326502085, 0.8823088408, -0.1415935755, 0.4995886683, 0.3663027585, 0.2323710471, -0.5166679025, -0.245260641, -0.5189599395, 0.1749074906, -0.4306245446, -0.1634904295, -0.6527832747, -0.0770584792, 0.0286005288, -0.2680049241, -0.536519289, -0.2853012681, 0.0837849677, -0.3539483845, 0.0598773472, 0.6851030588, -0.311026603, -0.3938899338, -0.9505262971, 0.2168087363, 0.6563776135, 0.2865259647, -0.0255111549, -0.3935682178, 0.1868622899, -0.2434345484, -0.3132537007, -0.7281950712, 0.2801270485, 0.0458995774, 0.4957062304, 0.7477068901, 0.209315598, 0.7134258747, -0.3955814242, 0.6269535422, 0.276466608, -1.1767669916, 0.4780023098, -0.1651689559, -0.1985574663, 1.4417268038, 0.0707511753, -0.4021388292, -0.4809129536, -0.9068917036, -0.9447157383, 0.5830748677, 0.2360462397, -0.0409738272, -0.058695402, 0.0023063559, 0.3632375002, 0.4340821505, -0.4713183641, -0.294823736, -0.0690043196, -0.1929666698, -0.3869723976, -0.3628002107, -0.2355605811, 0.0601089224, 0.1741224825, 0.3240248859, -0.0160203949, 0.0031710123, -0.0530689508, -0.2738142014, 0.39357391, 0.5497728586, 0.4693836272, -0.4579399824, 0.4350573123, 0.1242205277, -0.2661113739, 0.4069936275, 0.0971321836, -0.268261373, 0.0442735963, 0.2631688118, 0.6246963739, 0.4015517831, -0.6287827492, 0.7005838752, -0.3477287292, 0.0434783585, -0.0963832662, 0.0934487432, 0.0992001891, 0.0196561813, -0.0631189644, 0.3770899177, 0.3702090383, -0.6190989017, 0.3621026576, 0.5237429738, -0.4431682825, -0.336758405, 0.6626545191, 0.6310241818, -0.356056273, 0.6948131323, -0.3966853917, -0.5095484853, 0.6646109223, 0.4309817851, 1.3770430088, -0.3398735523, 0.4660206437, 0.193308264, 0.4765918553, -0.4934509695, 0.1323365718, -0.3777406514, -0.8946204782, -0.0039180792, -0.8244786859, -0.6461468935, -0.0019759082, -0.9415445328, 0.0312386639, -0.3293361962, -0.3073240221, -0.4862652123, -0.0474391989, -0.5536920428, 0.1942069381, 0.0779026225, 0.8639599681, -1.190256238, 0.5263178349, 0.4934372604, -0.3458456695, -0.6440190077, 0.2246923894, -0.193449378, -0.5908406973, 0.446806699, 0.3317939639, -0.3195027709, -0.4167938232, -0.0594300441, -0.6890180707, 0.9057517052, 0.6317749023, -0.4215866625, 0.3391700089, -0.0917312726, 0.511777997, -0.227685228, 0.8070738912, 0.8555576205, 0.4979110658, -0.1626262516, -1.175691247, -0.1384195834, -0.2049440593, -0.0524195656, 0.4108275175, -0.9111576676, 0.5634639859, -0.0908712223, -0.2950661182, 0.0787237585, 0.4462053478, 0.4905148447, 0.6382791996, 0.8750217557, 0.9397650957, 0.6457949281, -0.0700099021, 0.9437068105, -0.5774732828, 0.6218826175, 1.0120850801, -0.5824728608, 0.9805244207, 0.2689306736, -0.4458554685, 0.3841959536, 0.6980161667, 0.2948398888, 0.5569468737, 0.0077989763, -0.4656248689, -0.6566049457, -0.0899599418, -0.4963636994, 0.3217289448, -0.3036756217, -0.5544288158, -0.2091967463, -0.3190525472, 0.0700240061, -0.0111692948, -0.0693383366, 0.7583569884, 0.2965704203, -0.7245415449, 0.4325202107, -0.3098842204, 0.7532266378, -0.6005031466, 0.308159411, -0.680757165, 0.039828904, -0.459749341, -0.5759096146, 0.3805960417, 0.0758137628, -0.4797948897, -0.1420533657, 0.619264245, -0.4280900359, -0.4856423736, 0.6475573182, 0.6055546999, 0.1975412667, 0.2372858822, -0.6252140999, 0.2749666274, 0.0389104299, -0.0763549581, 0.4933191836, 0.0030198509, 0.2969399691, 0.7684720755, 0.6330992579, 0.3432608843, -0.0932757854, 0.1656279862, 0.4008235335, -0.5981010795, -0.3422685266, -0.9850798845, 0.2513890862, -0.2356820405, -0.4777484536, 0.8391929865, 0.6611757278, 0.7902033925, 0.0358002745, 0.9249457717, 0.0547371805, 0.4224911928, -0.1620209217, 0.9138606191, -0.6510206461, 0.1787571013, -0.4203214943, -1.287365675, -0.2426453233, 0.6503689885, -0.4183033109, 0.0661070421, 0.8083847761, 0.6399767399, -0.1177149341, 0.0849952176, 0.5745114684, -0.0929107517, 0.0399718545, 0.750707984, 1.0600545406, -0.1485299319, 0.4973276854, -0.064237155, -0.280903548, -0.2115782052, -0.8646615744, -0.5875219107, -0.2949142158, -0.1780245602, -0.4007384479, 0.0730801225, 1.0278676748, 0.6343644857, -0.7877287269, -0.4638113678, -0.0890309736, 0.5021807551, -0.3742388189, -0.2690397799, 0.0756773874, -0.4124965966, -0.8503630757, 0.6946490407, 0.6117457151, -0.1620017737, -0.3035385907, 0.0260361023, 0.6910988092, 0.2651141882, 0.4629203677, 0.2709634304, -0.5533963442, -0.329721272, -0.3814272285, -0.1913072318, 0.2141011357, 0.8729656339, -0.5496640801, 0.6862962246, 0.9389680028, 0.6180992723, 0.1031916216, 0.1953092217, 0.6447249055, -0.1746177226, -0.1362500787, 0.1755409539, 0.4134919941, 0.5221572518, -0.0379257873, 0.4959226549, 0.2703664005, -0.894801259, -1.025146246, 0.4481630921, -1.1003961563, 0.2519403696, 1.0043218136, -0.1712272167, 0.1159705818, -0.1525204927, 0.20600079, -0.0901008919, -0.5581122637, 1.2098691463, 0.6791042686, -0.2704678178, -0.0371499509, -0.2136431485, 0.5994615555, 0.5948631167, -0.974354744, -0.0053730509, 0.1010557711, 0.6187207103, 0.0474706069, 0.6683468223, -0.1258087605, 0.0814728364, -0.0338359997, 0.0809121877, 0.1941739172, -0.2462599576, -0.4356948435, 0.3130148947, 0.3031672239, -0.288158834 ]
http://arxiv.org/abs/2407.01873v1
http://arxiv.org/pdf/2407.01873v1
Automated Text Scoring in the Age of Generative AI for the GPU-poor
2024-07-02T01:17:01
2024-07-02T01:17:01
Christopher Michael Ormerod, Alexander Kwako
cs.LG
cs.LG, cs.AI, cs.CL
Current research on generative language models (GLMs) for automated text scoring (ATS) has focused almost exclusively on querying proprietary models via Application Programming Interfaces (APIs). Yet such practices raise issues around transparency and security, and these methods offer little in the way of efficiency or customizability. With the recent proliferation of smaller, open-source models, there is the option to explore GLMs with computers equipped with modest, consumer-grade hardware, that is, for the "GPU poor." In this study, we analyze the performance and efficiency of open-source, small-scale GLMs for ATS. Results show that GLMs can be fine-tuned to achieve adequate, though not state-of-the-art, performance. In addition to ATS, we take small steps towards analyzing models' capacity for generating feedback by prompting GLMs to explain their scores. Model-generated feedback shows promise, but requires more rigorous evaluation focused on targeted use cases.
[ -0.2291692495, -0.9682419896, 0.8048710823, -0.1416057646, -0.3189886808, -0.0593224764, -0.1080160439, -0.5396162868, -0.1719204485, 0.293905139, -0.1671233624, -0.6581347585, -0.4760978818, 0.079534933, -0.4550790787, 1.0269905329, 0.0059256363, -0.297749877, -0.5750954151, -0.2365775704, -0.192345351, -0.524874568, -0.8541226983, -0.2674146295, 0.3555209041, 0.3166771233, 1.0144697428, 0.7706454992, 0.7513786554, 0.3446092606, 0.1323056221, -0.0037856873, -0.2474732101, 0.0970188528, 0.0821243227, -0.2239758819, -0.5904349685, 0.305418402, 0.5674769878, 0.3500980735, -0.0350500345, 0.4521042109, 0.3067958057, 0.4873402417, -0.7806027532, 0.0878249556, -0.5418691039, -0.0970408767, -0.4045421779, -0.0846985132, -0.5768177509, -0.7080044746, -0.1696580648, -0.7505682707, 0.4526351988, 0.2732132077, 0.7681961656, 0.509083569, 0.2466084808, -0.5693290234, -0.6751730442, 0.9324732423, -0.4708503783, -0.0516130254, 0.577709198, 0.3712399006, 0.2215482146, -0.4613184333, -0.2371693701, -0.4972654581, -0.1823597252, -0.0231092684, -0.6545099616, 0.090191707, 0.213588804, 0.8054527044, -0.5542635918, 0.2842977345, -0.4520929754, 0.0493408926, 0.717756331, 0.4546608925, 0.3394383788, -0.2556471527, -0.0722916722, 0.0641903877, -0.6038088799, 0.0702938437, 0.4875215292, 0.5270872712, -0.2198601067, 0.8060290813, 0.0410695858, 0.9135033488, -0.2755388319, 0.2708247006, -0.1877931803, -0.2514246404, -0.4270289242, -0.3771850765, 1.1293181181, 0.1644245535, 0.2049036771, -0.2071122676, -0.5979918242, 0.5917865038, 0.597661972, -0.5233861804, -0.4812459946, 0.0590676107, -0.7313742638, -0.5382787585, -0.2474761754, -0.9958508611, -0.501652956, -0.354637444, 0.4515947402, -0.3398072124, 0.1335502267, -0.3870497346, -0.2578531504, -0.0944627896, 0.5329349637, -1.04316926, 0.6966700554, 0.4446119368, 1.2538648844, -0.2733632028, 0.0217272267, -0.7807590961, -0.2708314657, -0.3447713852, 1.0653966665, -0.7960289121, -0.8430125117, -0.0265886094, -0.5849210024, -0.0033015697, -0.7092238665, 0.5554998517, -0.3056369126, 0.3237991631, -0.2544642091, -0.4296861589, 0.1962148696, 0.105906345, -0.6206871867, 1.1382716894, 0.1764441878, -0.605337739, 0.3181073368, -1.0059957504, -0.4196949899, 0.4270130396, -0.2521680892, -0.3832961321, 0.6878452301, 0.3190692067, 0.1399989277, -0.5188590288, -0.0660003796, -0.3841351569, -0.7845452428, -0.1712156832, -0.7355060577, 0.7093163133, 0.3419433832, -0.1806911528, 0.5191100836, -0.5941077471, 0.2941332757, -0.0507219508, -0.3917191029, -0.4557640254, 0.2088798285, 0.1898905039, -0.1591050327, -0.0093818307, -0.2853126526, 0.2545063496, -0.2475300282, 0.5464399457, 0.8218464255, -0.6081997156, 0.4294151068, -0.3947618008, 0.6766762733, -0.6884568334, 0.5743216872, 0.1012872234, -0.8955255747, -0.6235647798, -0.4104764163, 0.197492525, 0.5926007032, -0.8284258246, 0.2866115272, -0.1461531669, -0.6280606389, -0.9220770001, 0.1435724944, 0.482935816, 0.4242481887, 0.561680913, -0.3383553028, -0.0306660514, -0.6718369722, -0.3757557571, -0.6478943229, -0.3259852231, 0.6099197865, 0.4549634755, -0.0247144569, 0.7790812254, -0.6496946216, -0.4651993513, -0.0841664821, 0.4071291983, -0.1741924584, 0.3983444273, 0.5057390332, -0.407859087, -0.4552332461, -0.0588982999, -0.8041846156, -0.0969706997, 0.466549933, 0.349283129, 0.3535420299, 0.5056176186, -0.5982862115, 0.6137019992, 0.8353818059, -0.4740643203, 0.8445151448, -0.7076516151, 0.2476488054, -0.3998174667, 0.3814454973, 0.1922674775, -0.1682531536, -0.3649899364, 0.181769371, -0.1495373994, -0.3627753258, -0.0215911176, 0.6810856462, -0.3469348252, -0.1698387414, -0.5331940055, 0.0412503444, -0.058987271, 0.1062021554, -0.2374523878, 1.1664910316, 0.38280496, -0.6055592299, 0.4657768607, -0.0330526568, -0.4738528728, 0.5308956504, -0.832536459, 0.3298583329, 0.0197260771, -0.0853327587, -0.8032610416, -0.2565783858, 0.3531252146, -0.5260791183, 0.10983558, -0.0455616079, -0.5015431046, -0.5208502412, -0.3816517293, 0.5169150829, 0.7252309918, -0.5136778355, 0.7692857981, 0.4287403226, -0.2958840728, -0.2422826141, -0.557531774, 0.0728828758, -0.1926971376, -0.4448667169, 0.3362881839, -0.0029967008, -0.6074050665, 0.4091018736, 0.4486189485, -0.0568215847, 0.3029852808, 0.1387895048, 0.4587665796, -0.3553030193, 0.1772070527, -0.1448750198, -0.1902466863, -0.0484558418, -0.1954748333, 0.3171969056, -0.3399274349, -0.428142935, -0.3675366044, 0.670006454, 0.6364682913, -0.137933746, 0.5643312335, 0.4065820575, -0.4280299246, -0.2256343514, -0.304889977, 0.1229985431, -0.5020450354, 0.104593046, -0.1798155606, -0.6888417602, 0.3961007893, 0.4400184751, 0.0729668289, 0.7317306399, 0.5947015882, -0.0525007807, 1.1939527988, 0.8666266799, -0.306060791, 0.3515318334, 0.116025798, 0.0700700879, -0.5189524293, -0.0290336329, -0.9799595475, -0.0782679543, -0.5728071332, -0.4337512255, 0.2184894234, 0.0103172762, -0.2236433625, -0.1107726991, -0.7445386052, 0.6094987392, 0.833756268, -0.0384546518, 0.4888162613, -0.1362128258, 0.0416737646, 0.1289144605, -0.5872142315, -0.8534767628, 0.9525611997, 0.2510774434, 0.8861898184, -0.0261262115, 0.3473862112, 0.8769015074, 1.0566108227, -0.6839713454, 0.320356667, -0.8003774881, -0.3725863695, -0.395315975, -0.5512977839, -0.6138851047, 0.0163708646, -0.0343576297, -0.8787870407, -0.0941539705, 0.5624960065, -0.7182528377, 0.2496580184, -0.9547489882, 1.0167206526, 0.004811564, -0.3301757872, -0.2216780782, -0.0618335493, 0.3990916312, 0.0853790268, 0.2507116497, -0.0483132266, 0.1193967089, 0.5508630276, -0.4325731993, 0.6575676203, -0.3526393473, -0.1669317186, 0.3346474767, -0.1197981909, 0.4124476314, -0.1080321446, -0.2257557362, 0.0446214452, -0.370092392, -0.3087609708, -0.5091235042, 0.9282295108, -0.7690896392, -0.6073002219, -0.3700041175, -0.2528110743, -0.193018496, -0.1685088575, 0.5837582946, 0.423473686, -0.2072894126, -0.1275785267, 0.4714795351, -0.331178546, 0.3938864768, 0.1759320945, -0.2610301971, -0.3548517525, 1.1534674168, -0.0517698042, 0.0915700272, -0.1091607884, 0.0983259454, -0.4157700539, -0.6357555985, -0.9482332468, -0.0982239395, -0.6426501274, -0.3778268993, -0.2755178511, -0.0621628799, -0.2293992937, -0.2263253927, -0.3658852279, -0.0484556258, -0.7214846611, 0.1828116179, 0.1946016103, 1.0762718916, 0.2713396549, 0.2437660843, -0.7230087519, 0.4212585688, 0.2302528322, 0.8493942618, 0.0989381596, -0.5277943015, -0.2396767586, -0.2870214581, -0.4587021768, -0.5073549151, 0.2962957621, 0.3048292696, 0.3078585267, 0.2392356396, 0.0007290092, 0.5009734631, -0.5142057538, 1.0046700239, -0.0022365898, -1.143266201, 0.6615975499, -0.2204897255, 0.3336526453, 0.5169351101, 0.2980941236, -0.2618744373, -0.6037501693, -0.3457452059, -0.5438203812, 0.7936595678, 0.2892880142, 0.2283336818, 0.1360916942, 0.3174944222, 0.109328106, 0.0029155207, -0.5585347414, -0.2317619473, -0.2069380134, -0.6175449491, -0.3158870637, -0.0984123796, -0.0745552555, -0.4183886349, 0.5872846246, -0.3115589619, 0.3824451566, -0.0275696348, 0.1073027328, -0.3535495698, 0.1020072624, 0.5739172101, 0.1935158968, -0.0355441384, -0.0496152453, -0.1828598231, -0.5987057686, 0.1048899069, 0.4047988057, -0.5572645664, -0.0638724118, 0.2564535439, 1.0132683516, -0.2026138157, -0.6099420786, 0.3935492933, -0.4628837407, -0.1819642484, 0.0158470273, 0.3162561357, -0.3724018633, 0.0291178264, 0.2596874833, 0.3231407702, 0.1475630552, -0.4225442708, -0.1299882531, 0.6437120438, -0.5403338075, -0.3012331426, 0.9969080091, 0.2379414886, -0.509432137, 0.9534944892, -0.1606064141, -0.1621775925, 0.256875217, 0.263926357, 1.061195612, -0.2476398349, 0.2986922264, 0.2365311831, 0.3948549628, -0.1162457317, 0.133387506, -0.2101219147, -0.3321267664, -0.389549166, -0.963588357, -0.5726162195, 0.1539075226, -0.4745153785, 0.2392395139, -0.4714289308, -0.4938298464, 0.0043954812, -0.0064761252, -0.4931664467, 0.3658373058, 0.2820695043, 0.7672060132, -0.8051948547, 0.7587757707, 0.7800222039, -0.4062340558, -0.5212916136, -0.1447587162, -0.0949320719, -0.525328517, 0.3257779777, 0.1210774407, -0.0789153427, -0.0016752048, -0.3000291288, -0.6463693976, 0.621052146, 0.4125808775, -0.2689588964, -0.36192891, 0.2081022263, 0.7223331928, -0.0684270784, 0.5011196136, 0.5338401198, 0.3969325721, -0.3498865068, -0.9002283216, -0.118214108, -0.5706897974, -0.0122689288, 0.2297237664, -0.4469389617, 0.9463715553, -0.1825823933, -0.2854191363, 0.348154217, 0.5695211887, 0.033472497, 0.4093787968, 0.3892143369, 0.7720643282, 0.8618227839, -0.3859297037, 1.5349885225, -0.0384168699, 0.3038640618, 0.7079783678, 0.0136303315, 0.9228239655, 0.0578842089, -0.3208177388, 0.4508807361, 0.3349449933, -0.1674653292, 0.4490836859, 0.309130609, -0.3836674988, -0.22693865, 0.0026978464, -0.0919593945, 0.4402763546, 0.3898949623, -0.592199266, -0.2504355013, 0.1363186538, -0.3799983859, 0.1965803355, -0.5375542045, 0.7879725099, 0.1255583316, -0.8555950522, 0.4784562886, 0.2071142495, 0.7196846008, -0.4970087409, 0.1200481132, -0.2028542608, 0.3417747021, -0.0566111468, -0.6039832234, 0.5772274137, 0.7023219466, -0.4952375591, -0.1603034735, 0.7726432085, 0.0193962995, -0.5761426687, 0.2596981823, 0.5018925071, 0.0027027314, -0.2851974666, -0.5704082847, 0.4260954559, -0.3394580185, -0.0561790429, 0.3739269674, 0.0812746137, -0.1329983026, 0.7105702162, 0.4612746239, 0.1552654356, -0.0392613076, 0.1932042837, 0.7624231577, -0.607190609, -0.393860817, -0.9843468666, 0.3106406927, -0.0514680147, -0.6010019183, 0.8281066418, 0.5598416328, 0.5383405685, -0.011405888, 0.9440779686, 0.06250377, 0.3832095563, -0.5085098743, 0.9728464484, -0.7409692407, 0.1347804368, -0.3889099956, -0.8174563646, -0.4374206364, 0.3374395669, -0.4481680095, 0.104234077, 0.4251255393, 0.5017192364, 0.115072377, 0.3590531349, 0.2505611479, -0.2163802385, 0.5227816701, 0.3632030487, 0.8768037558, -0.3679124713, 0.5205809474, -0.046524059, -0.4883561134, -0.1621007323, -0.6492791176, -0.5054370761, -0.3138738275, -0.3447604477, -0.0295570437, 0.3105887473, 0.4729893506, 0.3108668923, -0.8703558445, -0.0610258542, -0.289648205, -0.1102096289, -0.1011589095, -0.2330056131, 0.4983066022, -0.7041846514, -0.8444325924, 0.306073606, 0.3102782965, -0.0072685252, -0.3653231859, 0.0014621799, 0.4751198292, 0.1329837292, 0.5708043575, 0.3022318482, -0.6844759583, -0.2391745448, -0.1483089924, -0.3810314536, 0.0398018248, 0.92751652, -0.9295925498, 0.2821635008, 0.2566254139, 0.5324015021, -0.1911376417, 0.3301796615, 0.5787778497, -0.5177233219, -0.330747515, 0.5561845303, 0.1651908308, 0.5277045369, -0.2110034674, 0.0577347167, 0.3741482496, -0.8582342267, -0.8504713774, -0.191630438, -0.443010211, -0.2596246004, 0.9953023195, -0.0932997614, -0.1730325073, -0.2576517165, -0.088586919, -0.0195499286, -0.3670712113, 1.0472396612, 0.5858931541, -0.1530426145, 0.2231567651, -0.4827342629, 0.9554965496, 0.2850193977, -1.0682088137, 0.4225612283, 0.6912772059, -0.2194133848, 0.1406124085, 0.9397628307, -0.0773655474, 0.3392792046, 0.3478056192, -0.2327216119, 0.0886098593, -0.3736594617, -0.4068877101, 0.5207195282, 0.297940433, -0.051606752 ]
http://arxiv.org/abs/2407.01863v1
http://arxiv.org/pdf/2407.01863v1
VSP: Assessing the dual challenges of perception and reasoning in spatial planning tasks for VLMs
2024-07-02T00:24:01
2024-07-02T00:24:01
Qiucheng Wu, Handong Zhao, Michael Saxon, Trung Bui, William Yang Wang, Yang Zhang, Shiyu Chang
cs.CL
cs.CL
Vision language models (VLMs) are an exciting emerging class of language models (LMs) that have merged classic LM capabilities with those of image processing systems. However, the ways that these capabilities combine are not always intuitive and warrant direct investigation. One understudied capability in VLMs is visual spatial planning -- the ability to comprehend the spatial arrangements of objects and devise action plans to achieve desired outcomes in visual scenes. In our study, we introduce VSP, a benchmark that 1) evaluates the spatial planning capability in these models in general, and 2) breaks down the visual planning task into finer-grained sub-tasks, including perception and reasoning, and measure the LMs capabilities in these sub-tasks. Our evaluation shows that both open-source and private VLMs fail to generate effective plans for even simple spatial planning tasks. Evaluations on the fine-grained analytical tasks further reveal fundamental deficiencies in the models' visual perception and bottlenecks in reasoning abilities, explaining their worse performance in the general spatial planning tasks. Our work illuminates future directions for improving VLMs' abilities in spatial planning. Our benchmark is publicly available at https://github.com/UCSB-NLP-Chang/Visual-Spatial-Planning.
[ -0.4307846427, -0.3235536814, 0.9206902981, 0.3297540843, 0.0211303476, -0.299228996, -0.0953337997, -0.6878138185, -0.0993496999, 0.6876095533, -0.5709300637, -0.3511332273, -0.3473422229, -0.1062898487, -0.2007349879, 0.2581712604, -0.1706387252, 0.2098374665, -0.5166600347, -0.2755168378, -0.8761355281, -0.6228044033, -0.1850411892, -0.2209418565, 0.2480493188, 0.3564878106, 0.6471948028, 0.440235883, 0.751055479, 0.3401190341, -0.1237247363, 0.3380900919, -0.359470427, 0.0425746478, -0.4590024948, -0.1832781583, -0.1316227764, -0.3674063087, 0.5425410867, 0.8893105388, -0.0539000854, 0.2496623397, -0.1577181965, 0.8338486552, -0.8661350608, 0.2714691162, -0.6549754739, 0.3956203461, 0.0194498692, 0.0153328842, -0.1331227571, 0.1064670384, 0.309704721, -0.3924859762, 0.115798384, 0.1558653712, 0.7344105244, 0.3753657639, -0.0920978636, 0.0524416231, -1.1438860893, 0.5963262916, -0.2931158841, 0.4543022513, 0.2178798765, 0.614521265, 0.0710599869, -0.8106589317, -0.5270975232, -0.2812334597, -0.1220091954, 0.1490558982, -0.3923868835, -0.0941024497, 0.6707308888, 0.0196622666, -0.8433865309, -0.0118907308, -0.6022004485, 0.0924392492, 0.6689570546, 0.465346545, 0.0127357719, -0.2237114906, -0.8255674839, -0.0687343031, -0.3143411577, 0.2254695296, -0.0425249785, 0.2238521576, 0.0365049392, 1.0875964165, -0.5323784351, 0.6947615147, -0.5098490715, 0.3109847605, 0.0282901656, -0.6767160892, -0.5920038223, -0.5105717778, 0.5217497349, 0.6582394838, 0.4868782461, 0.190446794, -0.1944929212, 0.2186906934, 0.5412971973, -0.2086584866, -0.3955268264, 0.3235778809, -0.2935201824, 0.0463426784, -0.3518431187, -0.6996409297, -0.432559967, -0.5672361255, 0.2909036279, -0.3542280793, -0.1757979095, 0.4872931838, -0.4067927599, 0.2350423336, 0.4512848854, -0.674361527, 0.4292834103, 0.7637242079, 0.5024826527, -0.0943126231, -0.710563302, -0.271400094, -0.0527589694, -0.3692154884, 1.181042552, -0.3377534151, -0.5155712366, 0.0696647316, -0.3284973502, -0.1943627894, -0.6753647923, 0.6110700965, 0.022793971, -0.2056563497, -0.8601157665, -0.1138865128, 0.0381693318, 0.4296064675, -0.3836427331, 1.1709798574, 0.1754557788, -0.4454104006, 0.7890329957, -0.2857532501, -0.0368579179, 0.3815717101, -0.5479770303, -0.1098750383, 0.3814967871, 0.2356032282, 0.2897578478, 0.0618781038, 0.1532513052, -0.4493994117, -0.0716052949, 0.0112965852, -0.0027167606, 0.5310689807, 0.0763602406, -0.229808256, 0.6130747199, -0.7419387698, 0.5031980276, 0.3907072544, -0.0608917996, -0.2453078181, 0.4967621565, 0.0006721179, 0.3378140628, 0.3013898432, 0.0217336919, 0.4327284098, -0.2088246644, 0.0812075287, 0.7706380486, -0.4315312803, 0.6195431948, -0.0416078903, 0.1973695606, -0.1811090112, 0.4586306214, 0.1717371792, -0.5954525471, -0.7485330701, 0.0598692372, -0.3435941935, 0.7307046056, -0.8466055393, -0.0384267643, -0.2755778134, -0.5807901025, 0.0598140098, -0.0342688709, 0.4519242048, 0.4037597477, 0.4834047854, -0.4342817068, -0.5955116153, -0.7579211593, -0.3207674623, -0.4140588045, -0.0237271376, 0.4450768828, 0.630194962, -0.1082461774, 0.7386054397, -0.5787668824, -0.3565195501, -0.4745842516, -0.1407409161, -0.2178904563, 0.1082244888, 0.6851702929, -0.8478294015, -0.3223417103, -0.0992830545, -0.800772965, -0.4322360754, 0.0271834582, -0.0292549208, 0.0863673165, 0.4117135406, -0.6547276378, 0.6934089065, 0.3927336335, -0.8894891739, 1.1506074667, -0.4060809314, -0.2133138776, -0.0348565504, -0.0907835662, 0.1626672447, -0.0475962162, -0.6845311522, 0.5606340766, -0.0407439657, -0.3250162005, -0.4869351983, 0.4374493062, -0.5256431103, -0.8224070668, -0.1693332195, 0.0311276149, -0.0699044988, 0.6231615543, 0.5699902773, 0.6145929694, 0.4235045314, -0.4494982362, 0.3113075197, 0.088058956, -0.3924066126, 0.6292478442, -0.5974920988, -0.2143482119, -0.1055191457, -0.229464829, -0.9076815844, 0.1672715545, 0.3202270269, -0.0523554869, -0.0453246012, -0.060416501, -0.3104442358, -0.6160838604, -0.1098767221, 0.0856914371, 0.2445893586, -0.2938550115, 0.6536349058, 0.2150032818, -0.0369059034, -0.3145826757, -0.551851809, 0.1548432261, -0.0273252353, -0.6138022542, 0.0369787328, -0.0632792041, -0.6670807004, 0.2389131188, -0.2654272318, -0.0708187819, -0.1148141995, 0.3137618303, 0.0525689311, -0.3127156496, -0.3148919642, -0.4040287137, -0.3790437877, 0.1071762964, -0.3503196239, 0.5687112808, -0.298933655, -0.8252202272, -0.0458871387, 0.4919582605, 0.5438678265, -0.6127812862, 0.4721305668, 0.3331364095, -0.2212362587, -0.2787920833, -0.4576116204, 0.3695329726, -0.3548383117, 0.3488849401, -0.6168169975, -0.4343922734, 0.1919701397, -0.2302667797, 0.1542180181, 0.2089615017, 0.1921036839, -0.2989996672, 0.886800766, 0.9094107747, 0.2687326968, 0.3218003809, -0.2359925359, 0.1782708764, -0.5831772685, -0.4288273156, -0.6244804263, -0.3160082102, -0.180600822, -0.9682878852, 0.2054188848, 0.1529942602, -0.1331535429, 0.4463760555, -0.4816961884, 0.4259458184, 0.7122015357, -0.2628261745, 0.1195601374, 0.1076158732, -0.0371819884, -0.4641076326, -0.5691105723, -0.6167100072, 0.8003740311, 0.2645157576, 0.3240863085, -0.079402335, 0.2562128603, 0.0885464549, -0.4167368114, -0.6598879695, 0.9572219849, -0.150505051, -0.0609957986, -0.4299387932, -0.2082564533, -0.4728273749, 0.8481638432, -0.4265235662, -1.0113539696, 0.5043632984, 0.1708788127, -0.1398231387, 0.328472048, -0.863452673, 1.0342934132, -0.6142603755, -0.391946435, -0.0811640993, -0.4015178084, 0.2137304395, 0.317538172, 0.0266477093, -0.2191696912, -0.0487585813, 0.0757402852, -0.255308032, 0.5256714225, -0.3655132651, 0.3120179176, 0.0595963411, 0.1034795269, 0.4318167567, -0.2839220762, 0.1375677139, 0.4934055507, 0.1190254688, -0.3743777871, -0.3813788593, 0.3449992537, -0.4337864816, -0.4065131247, -0.4252185225, -0.4144287109, -0.2876117527, 0.2527872324, 0.1871851534, 0.2073582709, -0.2491620928, -0.2381996512, 0.5714346766, -0.2760564387, 0.2664912641, 0.5282316208, -0.8340061903, -0.0544492789, 0.685118854, 0.2443915457, 0.2908738554, 0.2592212856, 0.1598768234, -0.2579004467, -1.0535635948, -0.3868860006, 0.0175806358, -0.6690347195, 0.2893685997, -0.5369985104, -0.2770214975, -0.2772133052, -0.2024549991, -0.4424827695, -0.2318329811, 0.1415938139, -0.0508596636, -0.3991376758, 0.8339203, -0.1073591411, -0.1226576194, -0.2967725098, 0.625344038, 0.3868916929, 0.1765858829, -0.3184936941, 0.0409654751, 0.0441034995, -0.1615308225, -0.1788410544, -0.6310815811, 0.5064247251, -0.3856348395, 0.5677081943, 0.2858979106, -0.0411518626, 1.054076314, -0.7596580982, 0.9769870043, -0.0290319845, -0.5745080113, 0.6681829095, -0.0718526989, 0.451729238, 0.4250354469, 0.1234607175, -0.2158257365, -0.3604592681, -0.5634388924, -0.9163901806, 0.4522939324, 0.2476854324, -0.3639208376, 0.3033225834, -0.1366155297, -0.3126323521, 0.2215114683, -0.7593557835, -0.0981569067, -0.0411206372, 0.4434591532, -0.2900265455, -0.8406372666, -0.1425479949, -0.4707941413, 0.125913009, -0.0128329284, 0.2544711828, 0.3580020666, 0.158190757, -0.1725987643, 0.1055840254, 0.9875529408, 0.848392427, 0.0275611132, 0.1801894307, 0.2257325351, -0.208261624, -0.4748449326, 0.1612957269, -0.1893552393, 0.0805096924, 0.586202085, 0.8029103875, 0.3063620031, -0.8544844389, 0.4662172496, -0.253564477, -0.4552533925, -0.5048269629, -0.0224757493, -0.0156127708, 0.630418241, 0.1540341675, 0.5207536221, 0.1463032514, -0.4353197813, -0.1526992619, 0.3511074185, -0.4285207391, -0.1370744705, 0.5365955234, -0.0956125483, -0.3012171984, 0.5080784559, -0.1512216628, -0.5318806171, 0.5709858537, 0.2627308071, 0.7008420825, 0.1121432781, 0.2174841166, 0.2973665595, 0.7521288991, 0.0118511114, 0.702427268, -0.265593648, -0.7653058171, -0.3200647533, -0.5166437626, -0.3355414271, 0.1190149263, -0.4907329381, 0.0335028321, -0.4772531092, -0.0093651377, -0.1366644949, 0.0161302201, -0.7993064523, 0.094368659, 0.2631615102, 1.0512766838, -0.8581293821, 0.4615530372, 0.9565564394, -0.2283699811, -0.6091534495, -0.1351361275, 0.1697016358, -1.0003274679, 0.720713377, 0.0326031297, -0.0870705172, -0.5406817198, -0.3399716318, -0.6913044453, 0.7406015992, 0.1491977125, -0.8292579055, -0.3083987832, 0.3985937536, 0.7742520571, 0.0641696602, -0.1989767551, 0.409335345, 0.59370327, 0.0436573364, -1.1099264622, -0.3314013779, -0.1555179954, 0.1693796515, 0.2879077494, -0.2930809259, 0.7521907687, -0.464502126, -0.2722136378, 0.1320611089, 0.5428405404, 0.4106549025, 0.7138278484, 0.5180795193, 0.945369184, 0.4667603076, -0.254714638, 1.0737588406, 0.1451389492, 0.0440606438, 1.2724642754, -0.6756488085, 1.2153382301, 0.6435577869, -0.27466923, 0.0571303703, 0.0886369646, 0.0057106153, 0.6563894153, 0.1376715004, -0.1112568751, -0.406588614, -0.0006413211, -0.2797007561, 0.5868550539, 0.3783552051, 0.0568688586, -0.3884987831, 0.0158712938, -0.5742268562, 0.5015233159, -0.4379318953, 0.6754118204, 0.1231921017, -0.5819475651, 0.0769917071, -0.2290928364, 0.0907959342, -0.7219104171, -0.0972050726, 0.0715653971, 0.2878268957, -0.0763725042, -1.2508889437, 0.6905462742, 0.0338393711, -0.1493137479, -0.73096174, 1.0188007355, -0.0764371529, -0.2499166876, 0.5912918448, 0.6044663191, 0.055739589, -0.2829186022, -0.7920091152, 0.4008643031, -0.0529458299, -0.1242571399, 0.2805857062, 0.5398715138, -0.1657839566, 0.8284272552, 0.5461170077, 0.4373176992, 0.0349955894, 0.0718002394, 0.6513864398, -0.675514698, -0.3083001673, -0.6606194973, 0.6800727248, -0.214034155, -0.3083975017, 0.7797915936, 0.5344504118, 1.2716999054, -0.2565075755, 0.4521398544, 0.0438358337, 0.2508161962, -0.6587280631, 0.1845307946, -0.5721930265, 0.2768734694, -0.2096836716, -0.7227003574, -0.17252478, 0.6458556652, -0.8460251689, -0.2089364231, 0.6657012105, 0.3474754989, -0.0209737718, -0.3545318842, 0.7478256226, -0.174590528, 0.1636284739, 0.6913291812, 1.0593106747, 0.0018491463, 0.4668933153, -0.5868662596, 0.0140951974, -0.0747609511, -0.79761374, -0.6891343594, -0.6803730726, -0.017085271, 0.1223301589, -0.0351675786, 0.3648416102, 0.6526432633, -0.3185127974, -0.3341678977, -0.2790163755, 0.0913311765, -0.4647018611, -0.2388808429, -0.1522460282, -0.115613021, -0.4170536101, 0.4672779441, 0.6623586416, 0.0214173216, -0.3289209902, 0.1059132963, 0.0996898115, -0.2389640808, 0.8824638724, 0.6147434711, -0.8156506419, -0.2947349548, -0.1470614821, -0.2060762346, -0.1365087479, 0.776181221, -0.7714557052, 0.5994058251, 0.5282457471, 0.2614144981, 0.4939154088, -0.1198084354, 0.5043866634, -0.4391191304, 0.2279644608, 0.2480381578, 0.6419596672, 0.0426665992, -0.0430110805, 0.7423490882, 0.2338510603, -0.5101122856, -0.8162474036, 0.5226014853, -1.2504024506, -0.4562206864, 0.9305943251, 0.1156175658, -0.1084813699, 0.012573408, -0.6316820383, -0.4687709808, 0.1032046825, 0.4394361675, 0.3524494469, -0.2322924435, -0.3228158355, -0.8521330953, 0.36911726, 0.3310191929, -0.5723640323, 0.2603757083, 0.8894388676, -0.1405991465, 0.3987135291, 1.0061696768, 0.1914571077, 0.3129040301, 0.4295682907, 0.0373435281, -0.1740800291, -0.7759808302, -0.2625540495, 0.4217501283, 0.169638291, -0.0795130059 ]
http://arxiv.org/abs/2407.01853v1
http://arxiv.org/pdf/2407.01853v1
Improving Multilingual Instruction Finetuning via Linguistically Natural and Diverse Datasets
2024-07-01T23:47:09
2024-07-01T23:47:09
Sathish Reddy Indurthi, Wenxuan Zhou, Shamil Chollampatt, Ravi Agrawal, Kaiqiang Song, Lingxiao Zhao, Chenguang Zhu
cs.CL
cs.CL, cs.AI, cs.LG
Advancements in Large Language Models (LLMs) have significantly enhanced instruction-following capabilities. However, most Instruction Fine-Tuning (IFT) datasets are predominantly in English, limiting model performance in other languages. Traditional methods for creating multilingual IFT datasets such as translating existing English IFT datasets or converting existing NLP datasets into IFT datasets by templating, struggle to capture linguistic nuances and ensure prompt (instruction) diversity. To address this issue, we propose a novel method for collecting multilingual IFT datasets that preserves linguistic naturalness and ensures prompt diversity. This approach leverages English-focused LLMs, monolingual corpora, and a scoring function to create high-quality, diversified IFT datasets in multiple languages. Experiments demonstrate that LLMs finetuned using these IFT datasets show notable improvements in both generative and discriminative tasks, indicating enhanced language comprehension by LLMs in non-English contexts. Specifically, on the multilingual summarization task, LLMs using our IFT dataset achieved 17.57% and 15.23% improvements over LLMs fine-tuned with translation-based and template-based datasets, respectively.
[ -0.4682917297, -0.5942187309, 0.0173715949, 0.3185966611, -0.1883454919, 0.3511145115, -0.8614165187, -0.0958248004, -0.0388517939, 0.2859445512, -0.6064586043, -0.8987273574, -0.4340147674, 0.5627058744, 0.0266380385, 1.1585639715, -0.0331605524, 0.3361040056, 0.0173685774, -0.4285176396, -0.8995370269, -0.1041626409, -0.6739862561, -0.0156485122, 0.4913545847, 0.9443469048, 0.3436077833, 0.5591073632, 0.182228744, 0.2530982494, 0.1335240006, 0.9651032686, -0.4530141056, -0.0616423711, -0.2037576288, -0.5346993804, -0.0448985733, -0.2775638402, 0.9451307058, 0.9929690957, -0.1168079525, 0.146050483, 0.4907380342, 0.7097659111, -0.4846723378, 0.4067709744, -0.4619435966, 0.0453774296, -0.2472074777, -0.3674660325, -0.4697270691, -0.4885748327, 0.0079891011, -0.4775104523, 0.3524445891, -0.2090826333, 0.3961980939, 0.196363911, -0.5385408401, -0.3312262595, -0.5534626245, 0.843627274, -0.6043590307, 0.6504671574, 0.3654805422, 0.1412226111, 0.0889690071, -0.2146527916, -0.1333310455, -0.1964907199, -0.1277448386, 0.0620630123, 0.0104060257, -0.1425492018, 0.0451774597, 0.4548491836, -0.6296192408, 0.5091209412, -0.4534142613, -0.2257978618, 0.5559627414, 0.2254793942, 0.2790883183, -0.0523350239, -0.1126477048, -0.1274159551, -0.7167264819, 0.3086333871, 0.3743990958, 0.9139078259, -0.450132519, 0.382707119, -0.157697469, 0.8917619586, -0.022313321, -0.3078927696, 0.2599489093, -0.6353203058, 0.1128194854, 0.1263924539, 0.4892959595, 0.5659384131, 0.3599060774, -0.2137257308, -0.174895823, -0.1800718307, -0.3135232627, -0.8213809729, -0.1838754267, -0.0396730043, -0.1397406161, 0.2061458677, 0.0573718734, -0.7795385718, -0.1222406849, -0.7977210879, -0.0313056223, -0.7002263665, 0.0716078952, 0.2780636549, 0.2607413232, 0.2814565003, 0.1348712593, -1.0702264309, 0.169298768, 0.5225958228, 0.788403213, -0.2879876196, -0.4410150945, -0.6745350957, -0.1024163663, -0.4179914594, 0.6788030267, -0.468131572, -0.2974668443, 0.0535035878, 0.205382064, -0.1871716976, -0.5108641386, 0.3099005222, -0.2528571188, 0.4732480943, -0.2477095276, -0.6401170492, -0.3167288303, 0.5611090064, -0.5638484955, 0.7695747614, -0.1049062237, -0.4350292981, 0.3894594908, -0.5706768036, -0.8354007006, 0.0788695142, -0.2454838604, -0.0880884156, 0.040266078, 0.5933713317, 0.5487014651, -0.1660109907, 0.3522468805, 0.2007239759, -0.2467504293, -0.1902159005, -0.9022955298, 0.7872421741, 0.0553646199, -0.2083579749, -0.027870696, -0.8968849182, 0.0626526549, -0.1767051816, -0.7224495411, -0.3315961957, -0.2268013358, -0.1932793707, 0.0005202362, 0.2665243447, -0.4312496185, 0.2702815235, -0.3350056708, 0.1138996333, 0.6967574954, -0.0404332057, 0.407773912, -0.3934752643, 0.6049590111, -0.0427872986, -0.2034819871, -0.5982257724, -0.3537359834, -0.7389358282, -0.4892376065, 0.3429236114, 0.9256010056, -0.969895184, 0.3385626078, -0.4045346975, -0.2168795466, -0.7152447104, 0.2838229239, 0.5494830608, 0.4511318207, 0.5014399886, 0.0248836651, -0.3474822938, -0.7743223906, -0.1542722583, 0.5708447695, -0.0380496569, 0.0961115956, 0.0027406053, -0.103432633, 0.6043038964, -0.3316328228, -0.1318929046, -0.3135686517, 0.1974759698, 0.5136187673, 0.5305634141, 0.4222904146, -0.4999808967, -0.6857634783, 0.1832233965, -0.5803470612, -0.0608957484, -0.2687189877, -0.1616128981, 0.2039166689, 0.389472425, -0.3162134588, -0.0266003069, 0.455658555, -0.2316039354, 0.4382967651, -0.4073084593, 0.563024044, -1.2307413816, -0.3826044798, -0.0584632494, -0.1489337087, -0.5398626328, 0.1404992491, 0.252735436, -0.0341842473, -0.5028021336, 0.5886254311, -0.6122668982, 0.121601738, -0.0576507524, -0.1160617694, 0.0597408339, 0.4086877704, -0.0799720585, 0.944930613, 0.6733967066, -0.7667836547, 0.1300030053, 0.2750744224, -0.3700989783, 0.7212823629, -0.1692771763, -0.0615440011, -0.4909307361, -0.0873440504, -0.8160473704, -0.3082666993, -0.0802379996, -0.1268491447, 0.7486572862, -0.1097211912, -0.4145337939, -0.0296917986, -0.4165058434, 0.1654891074, 0.241953373, -0.8729799986, 0.3505550921, -0.1065414101, -0.364204675, -0.6594684124, -0.7188605666, 0.0242004488, -0.1860051304, -0.6211992502, 0.2217301577, -0.3292057812, -0.1378552914, -0.3163165152, -0.1396816224, -0.0158002265, 0.0445258506, -0.4364549816, 0.3166288137, -0.4504838586, 0.3327964246, 0.4865684211, -0.0225115754, -0.2565875351, -0.3256861866, 0.5117650628, -0.2639824152, -0.2462482005, -0.2873312831, 0.5576567054, 0.3221459389, -0.5192992687, 0.713371098, 0.6414651871, -0.3473635316, -0.6096777916, -0.3020395041, -0.3568473756, -0.4418952465, 0.2986924946, -0.4057398736, -0.97624439, 0.3858389556, 0.1706406176, 0.7566390038, 0.0998618752, 0.509570539, -0.0968274325, 0.8153523207, 0.4845492244, 0.0354768075, 0.4531955719, -0.259304136, 0.0286123883, -0.4075243473, -0.0935346857, -0.333460927, -0.3996838331, -0.8017755151, -0.367977649, 0.3185060024, -0.0199397765, -0.0695121661, 0.000304232, -0.4080803394, 0.9504451752, 0.6309922338, 0.2011138499, 0.3369944394, 0.3516584337, -0.1645571291, -0.2675498128, -0.8029677868, -0.5922048092, 1.1527172327, -0.1114133522, 0.6495734453, 0.2505418956, 0.7573360205, 0.0436438061, 0.2202726454, -0.473162204, 0.3321820796, -0.845094502, -0.2220075279, -0.2079498619, -0.6189365387, -1.0581902266, 0.1748490036, -0.0414328985, -0.4389338791, -0.0140494984, 0.2442433238, -0.4978761673, 0.1651736498, -0.9143204093, 0.9174264073, -0.3708628416, -0.4817565382, 0.0088014761, -0.5032247305, 0.3671559393, -0.0246054903, 0.4369950294, -0.1178895384, 0.0952891037, 0.4853617847, -0.098483108, 0.868293345, -0.0790352449, -0.2850873768, 0.0751406997, 0.1459158808, 0.2171585262, 0.1796927154, -0.2258581519, 0.1410356462, -0.2135196924, -0.4677208662, -0.4517086744, 0.8272371292, -0.6827703118, -0.3985746503, 0.0457632355, -0.9209604859, -0.3107826114, 0.1360139102, 0.4120279253, 0.6739049554, -0.0917065218, 0.2757444978, 0.8245300651, -0.3950890601, 0.396099031, 0.8314466476, 0.2130165994, -0.3079776168, 1.169785738, 0.3559012115, 0.3255840242, 0.579005301, 0.2239723206, -0.2569649816, -0.5502308607, -0.5916998386, 0.0437261872, -0.8883813024, -0.3522865772, -0.4086607695, 0.0775061026, -0.2438263446, -0.2042701244, -0.2677004039, -0.1794785708, -0.2957700491, -0.2809554636, 0.4965285659, 0.3211945593, -0.151551947, 0.2422604412, -0.9767299294, 0.2780737877, 0.2263955325, 0.3816510737, -0.2778580785, -0.6142858863, -0.3421390951, 0.2538960874, -0.0887751281, -0.6332415342, 0.3568036556, 0.6258623004, 0.5001856685, 0.1315816045, -0.1108261868, 0.8130731583, -0.698611021, 0.6179466248, -0.1044722348, -0.6835654974, 0.4037621617, -0.3905178905, 0.7364782095, 0.7461099029, 0.4866861105, -0.5825901031, -0.4098748267, -0.1295576096, -0.8709983826, 0.8136162758, -0.154007569, 0.3707366884, -0.2129755169, 0.149594143, 0.6047745347, 0.2268252969, -0.5815833807, -0.2988427281, -0.0730626658, -0.7159233093, -0.3240399659, 0.1104730517, -0.0389958955, -0.2847717106, 0.603669405, -0.36423406, -0.1589592546, -0.2104840428, -0.2504990101, 0.2187658846, 0.4873267412, 0.614282608, 0.4902560115, 0.0782056749, 0.2502134144, 0.3763679564, -0.3069387078, 0.1684612781, 0.4259211421, -0.2918917835, 0.0829545334, 0.5098764896, 0.8618189096, 0.5000455976, -0.6965944767, 0.0850185007, -0.1811933815, 0.1000861451, -0.0060381005, 0.1525428295, 0.054669667, 0.1653802842, 0.1135216728, 0.0892621502, 0.0708841085, -0.2422686815, 0.3213289082, 0.2205406278, 0.0912166312, -0.1900146753, 0.377453655, 0.1869884282, -0.2785997987, 0.7481492758, -0.3645398021, -0.0901449621, 0.5879495144, 0.6664158106, 0.5285951495, -0.3713103831, 0.1523187011, 0.7018756866, 0.5683589578, -0.0624518618, 0.4856940508, -0.0724502504, -0.7200965881, -0.4401398301, -0.455516696, -0.3395665586, -0.0223285854, -0.6607760191, 0.4646634459, -0.3383898437, 0.2689184248, -0.1797895581, -0.1395684481, -0.9082126617, 0.077737011, 0.40668571, 0.7629659772, -0.8795828223, 0.5757118464, 0.7759414911, -0.3151399493, -0.8617631793, -0.1482861638, -0.0810142234, -0.7089349627, 0.3065081239, 0.4460481703, 0.0532161593, 0.1099045053, -0.263610661, -0.7475050688, 0.8762272, 0.7785397768, -0.9016463161, 0.0402724594, 0.2811557949, 0.3274707198, -0.2977847755, 0.0972540304, 0.7071288228, 0.4290916324, -0.220126614, -0.6298421025, -0.3408816457, -0.2435196042, -0.2192756683, 0.2244759947, -0.4099603891, 0.8022531271, -0.1610618681, -0.2645836174, -0.2378995121, 0.605830729, 0.3718254268, 0.173960954, 0.2608716786, 0.362121582, 1.0498696566, -0.2128849924, 0.9581599832, -0.4461426437, 0.0532427579, 1.3333810568, 0.0342554636, 0.4536996186, 0.2102034539, 0.0700084791, 0.2337459624, 0.7190414667, -0.074668996, 0.4597047865, 0.0460889377, -0.3768287003, -0.1709380597, -0.1959287822, -0.1132146493, 0.5032345057, 0.3830921948, -0.0699920282, -0.5906755328, 0.4956038296, 0.1255609095, 0.3936052322, -0.4499287605, 0.698513329, -0.1730267853, -0.811088264, 0.8936046362, 0.0719745159, 1.0157073736, -0.7245133519, -0.1611022949, -0.6897226572, 0.1209994555, -0.3076885045, -0.7957499623, 0.1571144909, 0.3388029337, -0.3794558942, -0.3021875918, 0.1193214133, -1.1168849468, -0.7263148427, 0.0551817901, 0.4399358034, 0.0781399608, 0.5894653797, -0.4840827286, -0.0482786074, 0.2915605903, -0.0645156726, 0.1485017091, 0.5660760999, -0.1928630173, 0.4280878603, 0.6247292757, -0.0259498209, 0.3768164515, 0.2999736965, 0.5566304922, -0.3311969936, -0.5381338, -0.8185483813, 0.7663420439, 0.063277185, -0.5761938691, 0.8642268777, 0.6384775043, 1.1865785122, -0.2405323088, 0.6199816465, 0.2009968609, 0.5164945126, -0.840256691, 0.3969154656, -0.5218447447, 0.2132171392, 0.1371216029, -0.8302275538, -0.4103784263, 0.50950104, -0.2179231644, -0.0270876475, 0.4160036743, 0.8254401684, -0.4364174604, 0.0705488846, 0.2811946869, -0.0238265898, 0.2474382222, 0.4473924339, 0.5917624235, -0.1255892813, 0.2365170419, -0.3219209313, -0.3314092755, 0.1831825376, -0.7498978972, -0.9831321239, -0.3235985041, -0.3104558289, 0.2251511067, 0.0333242714, 1.2950489521, 0.4884308279, -1.0852251053, -0.3949276507, 0.0077408045, 0.1940465122, -0.2341372818, -0.2161189914, 0.3239670992, -0.8239735961, -0.8859721422, 0.7639699578, 0.17659612, 0.0519619659, -0.055536516, -0.0074573797, -0.1748804152, -0.1409867853, 0.808675766, 0.2101212591, -0.4485353827, -0.1176235154, 0.1762078851, 0.0404710621, 0.1050581783, 0.3936647177, -0.4102937579, 0.6384376884, 0.2998530269, 0.9898359776, -0.0016768596, -0.2566199899, 0.6703205705, -1.3737710714, 0.3709073067, 0.2876292169, 0.4388950765, 0.6863521934, -0.3215447962, 0.3290371299, -0.17497392, -0.221040085, -0.6129307747, 0.0792733356, -0.4756390154, -0.2409643233, 0.8822415471, -0.1379956305, 0.1096591428, 0.0715429932, -0.2751674056, 0.3390470743, -0.3297727406, 0.6522987485, 0.7069490552, 0.1626511365, -0.3094506264, -0.5547730327, 0.2687759995, 0.4133300185, -1.0070980787, 0.1498778909, 0.6792601943, 0.2861254811, -0.0899023861, 0.2609004378, 0.1325004846, 0.4390459657, -0.4260257781, 0.0656909123, -0.1414477229, -0.5001959205, -0.463737309, -0.0375560634, -0.1116205826, -0.298088789 ]
http://arxiv.org/abs/2407.01850v1
http://arxiv.org/pdf/2407.01850v1
Purple-teaming LLMs with Adversarial Defender Training
2024-07-01T23:25:30
2024-07-01T23:25:30
Jingyan Zhou, Kun Li, Junan Li, Jiawen Kang, Minda Hu, Xixin Wu, Helen Meng
cs.CL
cs.CL
Existing efforts in safeguarding LLMs are limited in actively exposing the vulnerabilities of the target LLM and readily adapting to newly emerging safety risks. To address this, we present Purple-teaming LLMs with Adversarial Defender training (PAD), a pipeline designed to safeguard LLMs by novelly incorporating the red-teaming (attack) and blue-teaming (safety training) techniques. In PAD, we automatically collect conversational data that cover the vulnerabilities of an LLM around specific safety risks in a self-play manner, where the attacker aims to elicit unsafe responses and the defender generates safe responses to these attacks. We then update both modules in a generative adversarial network style by training the attacker to elicit more unsafe responses and updating the defender to identify them and explain the unsafe reason. Experimental results demonstrate that PAD significantly outperforms existing baselines in both finding effective attacks and establishing a robust safe guardrail. Furthermore, our findings indicate that PAD excels in striking a balance between safety and overall model quality. We also reveal key challenges in safeguarding LLMs, including defending multi-turn attacks and the need for more delicate strategies to identify specific risks.
[ -0.3500515819, -0.8169819713, -0.0964751914, 0.2563742697, -0.0482770465, 0.7137541771, 0.274302721, -0.2570731938, 0.174277842, 0.483967483, -0.6062844992, -0.4116207957, -0.7907765508, -0.1497247666, -0.2583631873, 1.1958481073, -0.1166896299, 0.0930788815, 0.3480829597, -0.1960696131, -0.4754836559, -0.7094343901, -0.7184385061, -0.2248480916, 0.5244290233, 0.1749863178, 0.5128881931, 0.5602460504, 0.6631969213, 0.2787164152, -0.0689182207, 0.1751173735, -0.6528662443, 0.3378613889, 0.163517043, -0.4793088734, -0.5970401764, 0.205263406, 0.2318841964, 0.2433190942, -0.0685525388, -0.3314543664, 0.137238279, 0.6991103888, -0.9739420414, -0.1548573524, -0.8797736168, 0.4120991826, -0.0479398593, -0.4270456135, -0.4007173777, -0.185029909, -0.0195375867, -0.5414639711, 0.0315393955, -0.0095034642, 0.512667954, 0.2044847459, -0.6751247048, -0.1727759093, -0.406160444, 0.5102404952, 0.1787275225, -0.229373455, 0.1901140213, 0.6141288877, -0.2757837772, -0.6130689979, -0.171030134, -0.1042005271, 0.1608688831, 0.5664510131, -0.2257946879, 0.2634750903, -0.1774683893, -0.0057431785, -0.6507570744, 0.405553937, -0.3986120522, -0.3108533919, 0.8890912533, 0.2412074357, 0.4003600478, 0.1344856173, -1.1533582211, -0.1986335814, -1.0796657801, 0.0458360016, 0.5882538557, 0.248018682, -0.3331831694, 0.3528809249, 0.1864166409, 0.1316871494, 0.1486825049, -0.0216465369, -0.0169308279, -0.1478686482, -0.2712033093, 0.2523922622, 0.9128881693, 0.5082854629, 0.1812262237, -0.5646603703, -0.2893907726, 0.4071965814, 0.6127488017, -0.5411401987, -0.9056892991, 0.3466799259, -0.218541801, -0.9856847525, 0.0707802474, -0.7678453326, -0.8802013397, 0.0871890709, 0.2932401001, -0.4772788286, -0.4643833935, -0.0548666939, -0.3595384657, 0.2451227307, 0.1289055794, -1.0016595125, 0.1439661682, 0.8380795121, 0.6149616241, -0.4252703488, -0.3259830475, -0.8514080048, 0.4090325832, -0.5744780302, 0.7320458889, -0.0019543795, -0.7245246172, 0.1099412888, -0.1075820401, -0.0034343346, -0.4311297238, 0.1298920512, -0.7853057981, -0.0297815464, -0.2656748295, -0.3384241462, 0.2580787838, 0.6808159351, -0.3820625246, 0.549805522, -0.0696275607, -0.6923950911, 0.5408471227, -0.6581425667, -0.2511089444, 0.1839650273, -0.2565955222, -0.7225956321, -0.4025388062, 0.0656029508, 0.3722473979, 0.2381085306, -0.3504451811, -0.7972852588, -0.0836081579, 0.2888523638, -0.4150696099, 1.2036886215, 0.0720961466, -0.2082269043, 0.3834249377, -0.4229941666, 0.1473705769, 0.0925959647, -0.4979091287, 0.1900686771, -0.4243375659, -0.2774585783, 0.1677298695, 0.2166839689, -0.4421878457, 0.1068288013, -0.0447022505, 0.4343256652, 1.1490644217, 0.0723058656, 0.7790890336, -0.4552575648, 1.0145661831, -0.1137221381, 0.483510673, 0.0799711496, -0.3892049789, -0.6356378794, -0.6050716639, 0.1214511245, 0.9054825902, -0.8106213212, 0.2628256977, 0.179659009, -0.4798345864, -0.234534204, 0.3479657173, 0.8781732321, 0.3674441874, 0.3864166141, -0.1895635575, -0.6567599773, -0.6715984344, 0.1380439103, -0.3232507706, 0.1610276699, 0.1218720973, 0.5966518521, -0.1343119293, 0.5909193158, -0.2557782531, -0.2862819433, -0.2907788455, 0.1358174682, -0.3748677671, 0.5764523149, 0.7165939808, -0.8956333995, -0.69233495, -0.1381462663, -0.9352160692, 0.1185257956, 0.0742275044, -0.3903110921, 0.1178780869, 0.7621489167, -0.6029185057, 0.1891686618, 0.5900229216, -0.2367109507, 0.6199578643, -0.062542282, -0.0270985384, -0.9542938471, -0.1451351792, -0.1457034051, -0.0434053652, -0.8182224035, 0.2966431379, 0.3150340319, -0.2049215585, -0.9051615596, 0.479988873, -0.3696231246, -0.0790163726, -0.3694722354, 0.0331849344, -0.066079773, 0.5564021468, -0.1862436533, 0.8726605773, 0.5542460084, -0.7994710207, 0.7274552584, 0.2786950171, 0.2281741202, 0.7364853024, -0.4658057094, 0.2976656854, 0.051721856, 0.3295308948, -0.6406840086, -0.1005405858, 0.4615894556, -0.4175185561, 0.8177320361, -0.5925993919, -0.1666771173, -0.2111964822, -0.6906810403, 0.0360034183, 0.4145978093, -0.6072665453, 0.3234968781, 0.926939249, -0.106389679, -1.0600147247, -0.6365487576, 0.3278990686, -0.8668832183, -0.6108515263, 0.7025412917, -0.0610665716, -0.2682701051, -0.2572260499, -0.1047164202, -0.261589855, 0.7687928081, 0.3286597431, 0.3905934095, 0.0073413858, -0.0856619403, -0.6384981871, -0.5206376314, 0.3563024402, -0.1459506154, 0.4571855366, -0.2190719098, -0.4571798444, -0.1312088072, 0.2928344905, 0.2646307647, -0.0534971654, 0.731297791, 0.6342153549, -0.1340302825, -0.3635193706, -0.1277111769, -0.3323343694, -0.5454993248, 0.3137356043, -0.2049551755, -0.7431581616, 0.3289909363, 0.1898441464, 0.0820607096, 0.0378979966, 0.4760640264, -0.8196898103, 0.8983707428, 0.5814121366, -0.3148394227, 0.4282644987, -0.5202542543, -0.0337559544, -0.8403317332, -0.4382654727, -0.0712480173, -0.4434734881, -0.7251319885, -0.1521872133, 0.6102433205, 0.2739513218, -0.690535605, 0.2995477021, -0.5249736309, 0.4393493831, 0.7593785524, 0.3791080117, -0.0913662538, -0.160203144, -0.0643678755, 0.0523273945, -0.850921452, -0.3627077639, 1.4749273062, 0.5085837841, 0.6779175997, 0.460388422, 0.8614612818, 0.1894264072, 0.3026565909, -0.3801474869, 0.7265153527, -0.1552222371, -0.5656044483, -0.1323689669, -0.3532337844, -1.171710968, 0.1722859591, -0.4547211528, -0.2758784294, -0.2708970606, 0.41943115, -0.4192792475, 0.4155142605, -0.6130197644, 0.7606950402, -0.7139616609, -0.338698864, -0.0043053515, -0.549734354, 0.5847228765, 0.1337548792, -0.2775593102, 0.1119805127, -0.2108999789, 0.4490176737, -0.3035651445, 0.9026002288, -0.1902872622, 0.169156909, 0.2438968122, 0.1330657154, 0.5707321167, 0.036164429, 0.3856376708, -0.1900397092, -0.7486745715, -0.6768998504, -0.3431171477, 0.554516077, -0.8405614495, -0.7616499662, -0.6250131726, -0.4913599789, -0.4262329638, -0.1151238903, 0.2588346004, -0.097372517, -0.2465478331, 0.3371595144, 1.1301817894, -0.2174753547, 0.6381146908, 0.5167626143, 0.1610605866, -0.7343559265, 0.7511751056, -0.0536763035, 0.4156178832, 0.433609724, -0.1391572207, -0.3938222229, -1.0852081776, -0.4138435125, -0.2114329785, -0.4799415171, -0.3354890645, -0.4350572526, -0.4395387173, -0.3440310061, -0.424890548, -0.194003731, -0.4715235531, 0.0275138803, -0.5543872714, 0.5456060171, 0.4155049026, -0.3042055368, 0.1824728251, -0.545435369, 0.3123368621, 0.8869073987, -0.1073436737, -0.6556711197, -0.2958742976, 0.0064741625, -0.0562414043, -0.8675197959, -0.9135358334, 0.4670622945, -0.4217751026, 0.7311829925, 0.2135567069, 0.2258725166, 0.3826585114, -0.2546510398, 0.5317387581, 0.6287798882, -0.3290723264, 0.7766301632, -0.7387993336, -0.1961791068, 0.4550499022, 0.272842139, 0.031668745, -0.1889836192, -0.7040534616, -0.7233707309, 0.4318800271, 0.3261063695, -0.25083673, 0.101111345, -0.0541763827, -0.4757108986, 0.2323989272, -1.0095700026, -0.3276799023, -0.2566900551, 0.0199829061, 0.1428266913, -0.1799569875, -0.8564488292, 0.6522316933, 0.8008899689, -0.145533368, 0.2488021553, -0.271048218, -0.0864858478, 0.1824098378, 0.0767463893, 0.2969240248, -0.0122862188, -0.1174392626, 0.0742289796, 0.6221694946, -0.3137069046, 0.3472343087, 0.208515957, -0.1569468826, -0.6733991504, 0.4607519209, 0.3239212334, 0.1933708936, -0.3186812103, 0.5575475097, -0.0416406021, -0.397746861, -0.3474811018, 0.4735790789, 0.0896446779, 0.3439240456, 0.0765237063, 0.3684347868, -0.2264649123, -0.5224432945, 0.2146736681, 0.8785142303, -0.5043625832, 0.0421163477, 0.6757733226, 0.6180217266, -0.3652837574, 0.2361101955, -0.2952742279, -0.9133375287, 1.0443735123, 0.1255172044, 1.0522581339, -0.1774848104, 0.17701599, -0.1492985189, 0.4829992652, 0.2066920847, 0.1557532102, 0.1703429967, -0.7535147071, 0.1254678369, -0.0574706532, -0.7758296728, 0.2627776861, -0.5622748137, 0.2256399393, -0.8920616508, 0.0242292527, -0.4935586751, 0.2221056372, -0.3258749843, 0.2392215431, 0.3039638996, 0.7647201419, -0.5950088501, 0.629537344, 0.6366716027, -0.3570759892, -0.5318524837, -0.1966194659, 0.4889671206, -1.0784586668, 0.682715416, 0.1129350215, -0.0769957602, -0.440431118, -0.0873227119, -0.2858652174, 1.5037010908, 0.4946027398, -0.3885765374, 0.0775221437, 0.2032196224, 0.3384055793, -0.1551732868, 0.0451858602, 0.2296220362, 0.1439171731, -0.2922394872, -0.7042993903, -0.2959243059, -0.2160026133, -0.3078383505, 0.1395149678, -1.0153996944, 0.7479305863, -0.1514407098, -0.1785177588, -0.101314202, 0.3877956867, 0.8906450272, 0.3618367016, 0.5366611481, 0.791420877, 0.6910181046, -0.1974851638, 1.0050244331, -0.5847613215, -0.135028258, 1.0314383507, -0.0896116644, 0.6570273042, 0.2438444644, -0.1769013554, -0.0030609996, 0.6019453406, 0.0950214416, 0.8208878636, 0.2738652527, -0.7200344205, -0.2174301893, 0.2099943161, -0.4432808459, 0.2728221118, 0.1999714822, -0.2253224105, 0.0629647225, -0.0542995967, 0.2364131957, 0.1216994002, -0.4572889507, 0.7896193266, 0.1139585823, -0.620881319, 0.2114939392, -0.2386676371, 0.8058220744, -0.6824766397, 0.3528736532, -0.3568190038, 0.3762340248, -0.0649555996, -0.8624799252, 0.0694212765, 0.224905014, 0.0522772595, -0.6625272036, 0.6444408298, -0.1808937043, -0.1809216887, 0.5829646587, 0.2828322351, -0.3723440766, 0.2748970985, -1.0810060501, -0.1195137352, -0.0784999356, 0.0538724251, 0.9152956009, 0.4286582172, 0.3534450531, 1.2080994844, 0.5895016789, 0.2797345817, 0.3533150256, -0.1071778759, 0.8856449127, -0.4769613147, -0.6427695155, -0.846655488, 0.5518642068, -0.3439608514, -0.3556136787, 0.6330571175, 0.3230018318, 0.5090895295, 0.1746862829, 0.9745851159, 0.5276074409, 0.2681013346, -0.7074878812, 0.8041998148, 0.019446468, 0.6498072147, 0.0552976876, -0.4541485608, -0.1355606914, 0.5018761754, -0.0557157733, -0.004702033, 0.4237987995, 1.095125556, 0.0626739785, -0.0551055484, 0.1237126365, 0.1491491795, 0.800706327, 0.8589082956, 1.1162215471, -0.4637959599, 1.2543480396, -0.409170717, -0.3269091845, -0.1051691696, -1.0402376652, -1.1560140848, 0.0441871472, -0.6506813765, -0.7194502354, 0.6665002108, 0.445635587, 1.0656555891, -0.797863245, 0.1208651662, -0.5527327061, -0.0449116528, 0.0865396261, -0.2444234341, 0.145917207, -0.3628230989, -0.3048421443, 0.8415614367, 0.4197119772, 0.3832773864, -0.4447731972, -0.408025831, 0.110634163, -0.3975456655, 0.2266614139, 0.6116231084, -0.3890858591, -0.2585752606, -0.1477510631, -0.4188338518, -0.1148864776, 0.4315703809, -0.6370846033, 0.2773701251, 0.1938350201, 0.9516445398, 0.3469090462, -0.3412469625, 0.8863220811, -0.7132095098, 0.0621786155, 0.5032171011, 0.6103793979, 0.3361324668, -0.2472820729, 0.7049880028, 0.1809102893, -0.559748292, -0.9882153869, 0.5334329605, -0.7815421224, -0.2615403235, 1.0930050611, -0.519110918, 0.1866792291, -0.3952378631, -0.01684824, 0.0193463806, -0.1308653653, 1.2047383785, 0.4401711226, -0.0345961675, -0.1204389855, -0.2537551224, 0.7543685436, 0.45129776, -0.8686668277, -0.1379543841, -0.023625521, 0.2121587247, 0.1623403579, 0.545574367, -0.0134530198, 0.7809821367, 0.2333278805, -0.4466289282, -0.4131280184, -0.5180362463, -0.314255476, 0.6052855253, -0.299810648, -0.6740919352 ]
http://arxiv.org/abs/2407.01834v1
http://arxiv.org/pdf/2407.01834v1
A Study of Nationality Bias in Names and Perplexity using Off-the-Shelf Affect-related Tweet Classifiers
2024-07-01T22:17:17
2024-07-01T22:17:17
Valentin Barriere, Sebastian Cifuentes
cs.CL
cs.CL
In this paper, we apply a method to quantify biases associated with named entities from various countries. We create counterfactual examples with small perturbations on target-domain data instead of relying on templates or specific datasets for bias detection. On widely used classifiers for subjectivity analysis, including sentiment, emotion, hate speech, and offensive text using Twitter data, our results demonstrate positive biases related to the language spoken in a country across all classifiers studied. Notably, the presence of certain country names in a sentence can strongly influence predictions, up to a 23\% change in hate speech detection and up to a 60\% change in the prediction of negative emotions such as anger. We hypothesize that these biases stem from the training data of pre-trained language models (PLMs) and find correlations between affect predictions and PLMs likelihood in English and unknown languages like Basque and Maori, revealing distinct patterns with exacerbate correlations. Further, we followed these correlations in-between counterfactual examples from a same sentence to remove the syntactical component, uncovering interesting results suggesting the impact of the pre-training data was more important for English-speaking-country names. Our anonymized code is [https://anonymous.4open.science/r/biases_ppl-576B/README.md](available here).
[ -0.4447933733, -0.5105563402, 0.3147127032, 0.2711732388, -0.3259027898, 0.1430430859, -0.2803865969, -0.3419746161, 0.5389845967, 0.5034623146, -0.6561882496, -0.4414374232, -0.9017917514, 0.1729464829, -0.306686312, 1.067815423, -0.1419559717, 0.2018568665, 0.3860831261, -0.3751300871, -0.015229634, -0.8104605079, -0.2906309068, -0.1650853455, 0.798025012, 0.4179215431, 0.6751440763, -0.1397322714, 0.420748502, 0.1650960892, 0.0752038211, -0.4691276848, -0.5146586299, 0.15083009, -0.5337836146, -0.5300546885, -0.0594828464, 0.1949811727, 0.24104096, 0.3985615075, 0.4286876321, 0.2848942578, -0.397488147, 0.4546641111, -0.6734803319, 0.0249542482, -0.671196878, 0.2289796174, -0.4466112554, -0.0704909638, -0.0501727127, -0.4942944348, 0.3511023521, -0.0774501264, 0.376211524, -0.0072486764, 0.9250580072, 0.307323873, -0.4634883702, -0.2470819652, -0.454442054, 1.0146391392, -0.4277896285, 0.4966171086, 0.2372982204, 0.0961698368, 0.097544916, -0.0908550173, -0.7003404498, 0.0007125443, -0.044118721, 0.1769822836, -0.1192425638, -0.121836707, 0.5363675356, 0.3386644423, -0.2386633158, 0.0662125424, -0.2959507108, -0.2053443044, 0.8390575051, -0.2590054274, 0.6880275011, -0.2204926759, -0.1890651584, 0.2232653946, -0.9538114667, 0.0789350495, 0.8847988844, 0.498496592, -0.377105087, 0.5883311033, -0.3062001467, 0.3597873747, 0.0467342585, 0.1453149617, 0.4914320409, 0.331651777, -0.0528872833, 0.2601410151, 0.8892774582, 0.3628886342, 0.681373477, -0.3768313825, 0.0800610557, 0.2923843563, 0.0713298246, -1.0228501558, -0.0996489227, 0.2391661704, -0.2998860478, -0.1509298533, 0.0675425902, -0.8121479154, -0.6190416813, -0.0824169517, 0.4515504539, -0.1226466671, -0.4805978835, -0.14575544, -0.2252296805, 0.0666821301, 0.0190263875, -0.6778336763, -0.2789096832, 0.320987165, 0.2714746892, -0.3134208918, -0.2072240412, -0.2252671123, -0.4535906911, -0.1607654393, 0.66919595, -0.7787845135, -0.3347473443, 0.1208722368, 0.0556550063, 0.0433364958, -0.3335181177, 0.4908518493, -0.5259109139, 0.4005737305, -0.743791461, -0.2376884967, -0.105276145, 0.1589172333, -0.6598285437, 0.6005302072, 0.2458916456, -1.2483949661, 0.7007024288, -0.6883648038, -0.5879746079, -0.2300476432, -0.1851166487, -0.3574983776, 0.2191714197, 0.0206591003, 0.4130465984, -0.281773597, 0.5440682173, -0.3548779786, -0.1756070703, 0.3725634217, -0.1649870872, 1.1633069515, 0.0356092751, -0.7216040492, -0.1167395711, -0.4374611974, -0.3937973976, 0.038437631, -0.0128761614, -0.5507502556, -0.2144101113, 0.0448070094, 0.4859380424, -0.0875094309, -1.0199084282, -0.0345496871, -0.3094189167, 0.1167254969, 0.4483706951, 0.1749364585, 0.1967807561, -0.0713510364, 0.8076894283, 0.3600194752, 0.1859276295, 0.0841936618, -0.5049468875, -0.6798419952, 0.0927763879, 0.3535660505, 0.4384965599, -0.775983274, 0.0247197263, -0.0155213838, -0.3389278352, -0.6208542585, -0.1275832206, 0.3653565049, 0.5844228864, 0.295383811, -0.1888783723, -0.8722143769, -1.1598175764, -0.9915692806, -0.3066350818, -0.0398129337, 0.375743717, 0.5904229879, -0.181364879, 1.1026434898, -0.2893763781, -0.080697678, -0.0998586193, 0.1424044818, -0.0574356355, 0.0540054142, 0.6614578962, -1.0424871445, -0.7826775908, -0.5152968764, -0.5747535825, -0.5654070973, 0.1655806899, -0.324169904, 0.4171232581, 0.0664793327, -0.3499577343, 0.4643382132, 0.5478466749, -0.5648052096, 0.5008510947, 0.7143702507, 0.3412663639, -1.1458081007, -0.0267113484, 0.308267951, 0.3193895221, -0.7712169886, -0.1808003783, 0.1066403836, 0.3289127946, -0.8676708341, 0.7734561563, -0.1659706384, 0.3450219631, 0.1578793675, -0.1571712792, -0.2074552923, 0.1519369483, 0.3280200958, 0.6100441813, 0.477504611, -0.2374651879, 0.096218951, 0.2165353447, -0.2756976783, 0.6621767879, -0.0536981188, -0.1638388485, -0.3523177207, 0.0312388334, -0.7739486098, -0.2743977606, 0.3496408165, -0.4773846865, 0.1526381224, -0.2962563634, -0.1935667694, -0.3451428413, -0.2237405181, 0.3753150702, 0.4877439141, -0.7082046866, 0.4679769576, 0.569211185, 0.083435677, -0.8126516342, -1.1572561264, 0.2147342414, -0.7354892492, -0.1015532389, 0.2245675623, -0.017417049, -0.5912734866, -0.191189751, -0.1476968229, -0.1822946966, 0.0231224205, 0.3857880831, -0.0950036719, 0.0945369899, 0.3551775515, 0.0046204831, 0.3829398155, 0.4148259461, -0.0892627165, 0.4286884367, 0.2437386811, 0.1762364805, -0.2389474958, 0.0422133692, 0.2801201046, -0.1266855747, 0.7274700999, 0.5258175731, -0.190026328, -0.3262990117, -0.7424345016, -0.2048185319, -0.3648774326, 0.2021624595, -0.5647033453, -0.8695270419, 0.8404256701, 0.2098374218, -0.3841682374, 0.6912152171, 0.531216085, 0.2731907368, 0.6377361417, 0.5688346028, -0.3373621702, 0.606197238, -0.1282634139, 0.6619587541, -0.5355914831, -0.1322384179, -0.5205541849, -0.2234438062, -1.1012762785, -0.1547220498, -0.194303602, -0.3412594199, -0.4979418218, 0.1868988127, -0.328004837, 0.5544313192, 0.2205787152, -0.0819600299, -0.006274878, 0.1201146021, -0.0524802469, -0.4097910821, -0.4470258355, -0.3521495461, 1.1944102049, 0.1358594894, 0.7273169756, 0.1024701595, 0.8287248611, 0.2929977477, 0.734877944, -0.8691340685, 0.1938015819, -0.2806744874, -0.848159492, -0.1846658736, -0.4458957314, -0.7947941422, 0.0938972458, -0.0567397363, -0.9430084229, 0.2299947143, 0.0477043688, -0.157014966, 0.5253677964, -0.5436781645, 0.6852710843, -0.3126764297, -0.5079041719, 0.2502778769, -0.5339235663, 0.6088865995, -0.2730535567, 0.2166179866, -0.2070868313, 0.177236706, 0.9066402912, -0.295049727, 0.8191266656, -0.4012435675, -0.1822833568, 0.0871215016, 0.015116333, -0.1140438095, -0.0073326062, -0.4604341984, 0.5239013433, -0.4334676564, -0.4125985205, -0.2152636498, 0.9135522246, -0.954217732, -0.6392096281, -0.1960555464, -0.4418591857, -0.2740685642, 0.2083763629, 0.4577017725, 0.1274558604, -0.2838177085, -0.0597262457, 0.5441298485, -0.4690462053, 0.2881154716, 0.8074164391, -0.1897150576, -0.0516424999, 0.7626463175, 0.5732198358, -0.0516255908, 0.4301386178, 0.322565794, -0.3270608783, -0.1224611923, -0.3095027804, 0.2008700222, -0.4793539941, -0.0506378189, -0.7545807362, -0.0526599288, -0.4199100733, -0.0811678842, -0.3219116032, -0.4545910656, -0.052894935, -0.0477714352, 0.4156087637, 0.8373839855, 0.2424705029, 0.5653190613, -0.2031093389, 0.4238651693, 0.0954291224, 0.6786325574, -0.2298508584, -0.7030149698, -0.1041246653, -0.0410500988, -0.1349751204, -1.142863512, 0.4032669663, -0.0655023083, 0.3911806345, 0.531722188, 0.4860035181, 0.3210465312, -0.1755438745, 0.9860473871, 0.0116524277, -0.9786022305, 0.5710555315, -0.2855957448, 0.3843458891, 0.572355926, 0.8936875463, -0.6287680864, -0.8176288605, -0.9153730273, -0.8115168214, 0.9453858733, 0.0162639786, 0.2604459822, -0.1371920258, 0.2542722225, 0.4748555124, 0.3865048289, -0.6995543242, -0.5432317853, -0.2502240539, -0.1831577867, -0.23781012, -0.4845532179, 0.183006078, -0.0371958353, 0.7982382178, 0.2776739597, -0.0271203388, 0.2822033465, -0.386847645, -0.3270022571, 0.3507522643, 0.4474781156, 0.5490829945, -0.3314077258, 0.1276023537, 0.0810276717, -0.4034435153, 0.2141436189, 0.0654534325, -0.3170252442, 0.1852819175, 0.0414165519, 0.8745372891, -0.182162255, -0.3169214427, 0.4567347467, -0.0821415111, -0.0229488481, -0.3883264661, -0.284144789, -0.0576995648, 0.0517296642, 0.4504013062, -0.0119050583, 0.2455194294, -0.5770560503, 0.0330782011, 0.3821264505, -0.398209095, -0.7628350258, 0.6175217628, 0.2825959921, -0.438742131, 0.1522353292, -0.3784671426, -1.1619297266, 0.7558897734, 0.1848672628, 1.050106883, -0.6382887959, 0.3910469413, 0.3615915477, 0.3353153467, 0.0141228428, 0.4889502227, 0.0663054585, -1.111390233, -0.1238622218, -0.5600870848, -0.5039525032, 0.3443268836, -0.5361451507, 0.3489937484, -0.3207097352, -0.410225302, 0.0969732851, 0.1941748857, -1.0962828398, 0.5308859944, 0.4927655756, 0.6652854681, -1.4507658482, 0.7972655892, 0.9621495008, -0.3331654668, -0.6582538486, 0.4476746619, 0.1420044899, -0.4416555166, 0.8972221017, 0.5018939972, 0.0349161141, -0.2391538471, -0.3204223812, -0.8183813691, 0.1972096562, 0.4254502356, -0.3948619068, 0.3952602148, 0.5202220678, 0.6866983175, -0.393849045, 0.5941075683, 0.819165349, 0.5608225465, -0.2099333107, -0.7865428329, 0.0550360829, -0.2024623752, -0.1820051819, 0.1591159701, -0.9580442309, 0.8997057676, -0.0121948663, -0.0078129023, -0.635394454, 0.1094750613, 0.0144462185, 0.3370498419, 0.4011926055, 0.4299102128, 0.5405124426, -0.2344442755, 0.8834713697, -0.4850296974, 0.2555444241, 0.9884214401, -0.3062069714, 0.4424779713, 0.6996249557, -0.2871678174, 0.6479055285, 0.6209035516, 0.0503018424, 0.4254803956, 0.508159399, -0.1566500962, 0.1157435402, -0.4005989432, -0.0441265628, 0.5409933329, 0.32854864, -0.565897584, -0.2436494082, 0.3049394488, 0.4399272799, -0.1207754686, -0.333858937, 0.353366226, 0.0644199848, -0.7980569601, 0.2460068911, -0.1261052936, 1.0623033047, -0.268930763, 0.352989018, -0.4907742739, -0.0526226573, -0.6593059301, -0.6980264783, 0.3289153874, 0.3286710083, -0.2935891151, -0.2378170937, 0.4964590073, -0.6312761307, -0.3942651451, 0.5582657456, 0.4252393246, 0.4266617596, -0.2776125669, -0.5313242078, 0.0953787938, 0.2300750017, -0.6419516802, 0.2418952584, 0.4568668008, -0.3746016622, 0.3379771709, -0.0096048508, 0.2609014213, 0.0940792263, 0.42404145, 0.6076899767, -0.702398181, -0.3341447711, -0.9005265236, 0.500875175, 0.0116025982, -0.340319097, 0.8413456678, 0.5806581974, 1.0700416565, -0.0737428814, 1.1579248905, -0.1736717522, 0.6206198335, -0.0631738752, 0.9047037363, -0.516158402, -0.0066431663, -0.2921489775, -0.876951158, -0.5369883776, 0.2970136106, -1.0392429829, 0.1529788375, 0.574757576, 0.6595378518, -0.0382377543, -0.0775084645, 0.3013530374, 0.4875394106, 0.0965402648, 0.0728476718, 0.6148082614, -0.3800789416, 0.075444825, -0.5809511542, -0.0104057407, -0.2185984999, -0.798425138, -1.1600116491, -0.2943584025, -0.6812420487, -0.3690649867, 0.1912396997, 1.0090088844, 0.2937140465, -1.254355669, -0.1268799603, 0.242595315, 0.3600962758, 0.5868167281, -0.3257690668, 0.433480531, -0.2880060971, -0.8943751454, -0.1191175506, -0.0396391712, -0.0945297703, -0.0959223285, 0.1900317818, 0.0295312386, 0.235425964, 0.5396586061, 0.2525950968, -0.9937414527, -0.4025424123, -0.3956204951, 0.0561553277, -0.0252970047, 0.6488740444, -0.7361278534, 0.6270962954, 0.4001884162, 0.1519250572, 0.2318722755, 0.3385191858, 0.2939967215, -0.7031677961, 0.3476220071, 0.1581423432, 0.2973172367, 0.5701021552, -0.4121566713, 0.2773957253, 0.1341774911, -0.3370425701, -0.7642025948, 0.1814032793, -0.5820405483, -0.1275595874, 1.299167037, -0.2089164257, -0.1629258245, -0.0271988213, -0.0366058275, 0.5044828653, -0.5902234316, 1.2272729874, 0.6839811206, -0.0228721276, -0.0198155195, -0.4964601398, 0.7211517692, 0.5172941089, -0.4758193195, -0.1157548055, 0.1328348964, 0.4856614769, -0.0423698351, 0.4001255035, -0.0132805631, -0.1260493249, -0.2692803442, 0.6263807416, 0.3436643183, -0.0611874759, -0.4974390864, 0.0101181325, -0.0130103379, 0.0607680082 ]
http://arxiv.org/abs/2407.01824v1
http://arxiv.org/pdf/2407.01824v1
Empathic Grounding: Explorations using Multimodal Interaction and Large Language Models with Conversational Agents
2024-07-01T21:46:30
2024-07-01T21:46:30
Mehdi Arjmand, Farnaz Nouraei, Ian Steenstra, Timothy Bickmore
cs.HC
cs.HC, cs.CL, cs.RO
We introduce the concept of "empathic grounding" in conversational agents as an extension of Clark's conceptualization of grounding in conversation in which the grounding criterion includes listener empathy for the speaker's affective state. Empathic grounding is generally required whenever the speaker's emotions are foregrounded and can make the grounding process more efficient and reliable by communicating both propositional and affective understanding. Both speaker expressions of affect and listener empathic grounding can be multimodal, including facial expressions and other nonverbal displays. Thus, models of empathic grounding for embodied agents should be multimodal to facilitate natural and efficient communication. We describe a multimodal model that takes as input user speech and facial expression to generate multimodal grounding moves for a listening agent using a large language model. We also describe a testbed to evaluate approaches to empathic grounding, in which a humanoid robot interviews a user about a past episode of pain and then has the user rate their perception of the robot's empathy. We compare our proposed model to one that only generates non-affective grounding cues in a between-subjects experiment. Findings demonstrate that empathic grounding increases user perceptions of empathy, understanding, emotional intelligence, and trust. Our work highlights the role of emotion awareness and multimodality in generating appropriate grounding moves for conversational agents.
[ -0.3134334385, -1.1434617043, 0.7877365947, 0.2518850863, -0.061431434, 0.0371049047, -0.0583574064, -0.3076306581, 0.5262847543, 0.2510436177, -0.2336410731, -0.4142538011, -0.5819892287, -0.1292862445, 0.0608786047, 0.6228163838, 0.2080555856, 0.1864682138, -0.2236637324, -0.3401901722, -0.6435474753, -0.8669469357, -0.4667657614, -0.5854445696, 0.3110723197, 0.4055202007, 0.9173278809, 0.1217131317, 0.3574282825, 0.38285622, -0.1243817434, 0.0458669662, -0.2110462189, 0.3720742166, -0.1790239662, -0.3051545322, -0.4605634809, 0.2924468517, 0.2139112651, 0.4880043864, -0.0844971463, -0.3234033287, -0.4446651638, 0.2492070943, -0.5818377733, -0.0030928846, 0.023286378, 0.4634573162, 0.6683821082, -0.713298142, -0.4831626415, -0.0794482157, -0.021676911, -0.2321522683, -0.1193594411, 0.0324587449, 0.4515099227, 0.2692910135, -0.7239947915, -0.152820304, -0.5339874029, 0.4469569921, -0.3051275611, 0.5852706432, 0.582624197, 0.0812415704, 0.2851212025, -0.2647227347, -0.5460581183, -0.7765881419, -0.1253508627, 0.2380206436, -0.259103179, 0.4974259138, 0.5695616603, 0.2929941714, -0.156979546, -0.3166356981, 0.1049505547, 0.097409308, 0.1871731281, 0.0772022009, 0.6321117282, -0.095440194, -0.4280071855, -0.2103664279, -0.4342350066, 0.1809726357, 0.20041354, 0.2271201164, -0.4766401947, 0.7210890055, 0.1190176532, 0.7253996134, 0.3136447668, -0.2259370387, 0.3171674907, 0.0673271567, -0.245056048, 0.2055040151, 0.2284061164, 1.0190411806, 0.1818811595, -0.2624358237, 0.146245867, 0.3320504725, 0.4916006625, -0.7106422186, 0.0264331531, 0.5643292665, -0.7416397333, -0.3971191049, -0.0512465723, -0.8309816718, -0.7983946204, -0.5571020246, 0.2156610489, -0.5583969355, -0.6952402592, -0.1413251311, -0.6016514301, 0.2787057459, 0.1879674792, -0.8330456614, 0.5507733226, 0.4738402367, 0.9015974402, 0.5334305167, -0.508417666, -0.642065227, 0.1243066117, -0.2066115588, 0.6615421772, -1.067555666, -0.3581137359, -0.0794819593, 0.2017877102, 0.0231014024, -0.1634173095, 0.4716289937, 0.0131565332, -0.1981429607, -0.3105499148, -0.0446657836, -0.2626788616, 0.8248292804, -0.3762280643, 0.5138917565, 0.2461932003, -0.4901449382, 0.1221053302, -0.6989921927, -0.387088269, -0.4504267871, -0.1333516091, 0.205671519, 0.4331030548, 0.0808162466, 0.5254104137, -0.2736313641, 0.1511048824, -0.3159245849, -0.0227720551, 0.2418431193, -0.1787868738, 0.3420825899, 0.1223424822, -0.4804772437, 0.0368477926, -0.5934433341, 0.1032410786, 0.0335154533, 0.1594952494, -0.5116147995, -0.0551499464, 0.208563894, 0.4927862585, -0.1859687865, -0.6393899918, -0.171765551, -0.2765241265, 0.4310680926, 0.5260571837, 0.0217149779, 0.5808643699, -0.6434704661, 0.3949500322, 0.0880205631, 0.1311028153, -0.7947708368, -0.3460948765, -0.7763829231, -0.1761059165, -0.346988827, 0.5475292802, -0.2204208076, 0.4635365009, 0.0222757682, -0.678030014, -0.4383132756, -0.2738884687, 0.6622008681, 0.366692543, 0.4769812822, -0.269718051, -0.2534281313, -0.7352075577, -0.2605432272, -0.1809442192, 0.2576723397, 0.7954317927, 0.1337506175, -0.5670697093, 0.789065063, -0.2048639208, -0.2205117941, -0.0759847239, 0.3956876099, -0.0931419358, 0.7642151117, 0.466062516, -1.2185891867, -0.3028217852, 0.2665432692, -1.0324126482, 0.1121027842, -0.2490444481, -0.0302254464, -0.0803082138, 0.5138335824, -1.0738784075, 0.387909323, 0.7159966826, -0.7914066911, -0.1191883385, -0.388335377, 0.815105021, -0.8665050268, -0.0154317887, -0.0426326841, -0.0927961245, -1.0141371489, 0.2661991715, -0.1169659719, -0.4637103081, -0.4999626875, 0.5164536238, -0.6031526923, -0.00204783, -0.2823777497, 0.2172826082, 0.1896336973, 0.3952746391, 0.3678891659, 0.1866140813, 0.7868936658, -0.498881042, 0.7469395399, 0.352527678, 0.5826826692, 1.006801486, -0.7297598124, 0.4713877141, -0.2534160316, 0.307813853, -0.9316886663, -0.0282880198, 0.4140428007, -0.6864922643, 0.2234594375, -0.2089965791, -0.2294101864, -0.0836125761, -0.232573092, 0.4616242945, 0.4609800875, -0.5784426928, 1.2576485872, 0.3392510116, -0.0712965727, -0.1411059201, -0.5651647449, 0.4905072451, -0.4474906623, -0.8930503726, 0.0964835137, -0.1962516755, -0.6934354305, -0.3384454548, 0.1453090757, -0.1022105217, 0.0958012044, 0.5119870901, -0.3586242795, 0.1774207652, 0.3446989059, 0.083616063, -0.3328076005, 0.2722854316, 0.3327097893, 0.7469840646, -0.3108154237, -0.6878699064, -0.4929590523, 0.5856143236, 0.7931771874, -0.1451489776, 0.6938646436, 0.4487346709, -0.4744414687, 0.3796859384, -0.8423460722, -0.4923734963, -0.3831848502, -0.2141779214, -0.6310853958, -0.4687591493, 0.5101748705, -0.3265229166, -0.4566711783, -0.094247289, 0.6911568046, 0.1442198902, 1.2262922525, 0.5560073853, -0.0401855521, 0.3355530798, 0.0814770386, 0.5144455433, -0.8052650094, -0.3316167593, -0.3673962057, -0.1191273555, -0.6186844707, -0.4992406666, 0.021138072, -0.1666084677, -0.1805857718, -0.1591017991, -0.3613350093, 0.3083132505, 0.5011422038, 0.5482863188, 0.0079337927, -0.1479643583, 0.129843235, 0.0570647083, -0.1724484265, -0.5954491496, 0.7685466409, 0.5072154403, 0.8710317016, 0.3070100248, 0.4848017097, 0.4349404275, 0.3009645641, -0.8368417025, 0.180023849, 0.4928277731, -0.3801759183, -0.173313424, -0.0521084405, -0.611645937, 0.5658761859, -0.2368777394, -0.6350135803, 0.2846047878, 0.3581293821, -0.2159266174, 0.1604912132, -0.847055912, 0.6867954731, -0.2505019605, -0.524689734, -0.4237940013, -1.0657542944, -0.0229003727, 0.3838981092, 0.372489512, 0.008217318, 0.275313288, 0.2660820782, 0.0055344384, 1.106967926, -0.7103800774, -0.1545485258, 0.1047733128, 0.1923406422, 0.5167075992, 0.1915515214, 0.1442167461, 0.1211665645, -0.197821781, -0.3134254217, -0.8138353229, 0.5208353996, -0.7371410728, -0.6678275466, -0.5812818408, -0.4339917302, -0.2952890992, 0.0110477656, -0.1504218876, 0.3520049155, -0.5962999463, 0.2336862534, 0.5867988467, -0.4457599223, 0.1267515868, 0.5608757734, 0.1995117962, -0.4781645238, 0.7335283756, -0.5535595417, 0.3318801224, 0.5713732839, 0.5062639713, 0.0151939141, 0.1637958437, -0.0665265098, 0.253459841, -0.7604939342, -0.0230176933, -0.9971551895, 0.1705123186, -0.726272881, -0.5647547245, -0.3396753073, -0.1897964925, -0.0103694648, -0.5645212531, 0.4180409312, 0.49919945, -0.4814391136, 0.416564405, -0.9568892717, 0.6252126694, 0.4155726433, -0.0141133731, -0.1244343743, -0.2256976068, 0.0993254334, 0.4285062551, -0.4425644279, -0.9296714664, 0.5315446854, 0.0059867701, 0.4317733049, 0.6376438737, 0.027789453, 0.7150179148, -0.5567756295, 0.7795366049, 0.5830886364, -1.2966146469, 0.7044622898, -0.5776581764, -0.2173245847, 0.1477758139, 0.2114504427, -0.9853894114, -0.3869969845, -0.7732250094, -0.6661548018, 0.4667748213, 0.1206972599, 0.6991719007, -0.2865423858, 0.0257947892, -0.1343347728, 0.3329479992, -0.7924520373, -0.2056224942, -0.4363391697, 0.1464027315, -0.5602303743, -0.6146967411, -0.8092675209, -0.1568069756, -0.1542671323, -0.1379909813, 0.71484828, 0.27657336, -0.3492543101, -0.3864242733, 0.1425158978, 0.7883222699, 0.4371092618, -0.3510370851, 0.4669030905, 0.0990580246, 0.0154711539, 0.2199336886, -0.0923890397, 0.6217141151, -0.0686703324, 0.3990365565, 0.6763240099, 0.3442364931, -0.746607244, 0.7321523428, 0.0558126532, 0.0181683898, -0.3529925346, -0.3740676939, -0.0306783263, 0.6676939726, -0.0561170094, 0.008853103, 0.2327032685, -0.8629567623, 0.1407778114, 0.2242386639, -0.5079755783, -0.4932115376, 0.3357460797, 0.3159682453, -0.5982726812, 0.6280404925, 0.2932682633, -0.7222745419, 0.6561188102, 0.7583492994, 0.8504026532, -0.6210837364, 0.2831889093, 0.0393686593, 0.3590060771, 0.1389925927, 0.3233329356, -0.3968857527, -0.9976566434, 0.3623072505, 0.0586164817, -0.7599156499, -0.6830249429, -0.8477349877, 0.0521715581, -0.334363699, -0.2492974997, -0.4542134702, -0.4278467894, -0.6054244637, 0.458768636, 0.2057462037, 0.6052702069, -1.3931447268, 0.2409336269, 0.8336727619, -0.4469074309, -0.4126086235, -0.0838152245, -0.0411382467, -0.7726404071, 0.8610261679, 0.4773375392, -0.266251564, -0.1017242, -0.4121884704, -0.6196116209, 1.1173493862, 0.2297497392, 0.2045411468, 0.1338262111, -0.1366673261, 0.552380085, -0.5592360497, 0.8470128775, 0.3776971102, 0.7085722089, -0.0110710468, -0.7955030203, 0.3334486783, -0.6895663142, -0.3192002773, 0.0311594009, -1.0668985844, 1.1230480671, -0.1769194901, 0.0832556337, -0.0115192849, 0.1237977073, 0.3170243204, 0.7003866434, 0.5654887557, 0.6931607723, 0.6417052746, 0.0346034802, 1.0611722469, -0.6397781968, 0.1072740406, 0.6886827946, -0.4800948203, 0.4740089178, 0.6152411699, 0.3451080322, 0.3735830188, 0.3574891686, 0.0789991543, 0.3296341598, 0.0872736946, -0.2725489736, -0.3705991507, -0.5603555441, -0.5920402408, 0.6995491982, 0.1910400838, -0.5364721417, -0.0110593177, 0.3754431009, 0.0293833744, 0.0142398728, -0.0725354403, 0.7250813246, 0.1585823298, -0.5124357343, 0.2748002708, 0.0697293878, 0.1956419349, -0.3170118332, -0.4705203176, -0.259696573, -0.1008568034, -0.1788482219, -0.3485003412, 0.0361244604, -0.2118826509, -0.2236187607, -0.8850186467, 0.7905936837, -0.0951960385, 0.04784327, 0.8397893906, 0.6620748639, 0.4854885936, -0.1888757795, -0.4070723355, 0.0238997191, -0.4756017029, -0.5206382871, 0.3735381067, 0.5821164846, 0.3232418895, 0.8167934418, 0.77799505, -0.0810100734, -0.1892935336, 0.3412277102, 1.1742058992, -1.0258756876, -0.3931573331, -0.881246984, 0.7610993981, -0.0708708093, -0.0814453214, 0.734860599, 0.1656302363, 0.1475082636, -0.0896134675, 0.5406299233, -0.3817149699, 0.2510105669, -0.5766980648, 0.3454476297, -0.5600068569, -0.5504340529, -0.6396550536, -0.8040745854, -0.2073339075, 1.1088716984, -0.0532481521, 0.3177826405, 0.8976324201, 0.748678267, 0.124180451, 0.1004740894, 0.8248401284, 0.2026019543, 0.351177454, 0.3213951588, 1.2790014744, -0.1232999712, -0.2163130641, -0.2011491805, -0.4679923654, -0.0100222277, -0.8104969263, -1.1490588188, -0.3150619268, 0.0220442228, -0.4882852435, -0.0062190769, 1.3234838247, 0.7085325122, -0.3748751879, -0.1415138096, -0.0510421507, -0.0537154265, -0.210397765, -0.1908814609, 0.1015315205, -0.2805383503, -0.7659265399, 0.543933928, 0.3548003435, 0.0562007576, 0.010956008, -0.2886508703, -0.1398590058, -0.0801829845, 0.857436657, 0.1837513149, -0.6306573153, -0.4442030191, 0.0257305745, 0.2090576142, 0.167570889, 1.0678315163, -0.5195575953, 0.5216567516, 0.0172223728, 0.4235168397, 0.0596058965, 0.5157952905, 0.6918920279, -0.3609571755, 0.6049035192, 0.3384772241, 0.2819389701, 0.2233437449, -0.6467516422, 0.4028636515, 0.2659816444, -0.482434392, -0.8968641758, 0.2075465322, -1.0683715343, 0.0452181511, 1.4098305702, -0.2422144115, 0.1194865853, 0.0490278453, -0.6465938091, 0.2453336567, -0.4183960259, 0.6857036948, 0.6234453321, -0.200191766, -0.5201647282, -0.1435776353, -0.0319436044, 0.3284330964, -0.7422969341, 0.068378441, 0.640822947, -0.1331733018, 0.5036969781, 0.6543603539, 0.3884943128, 0.2125564367, 0.395011723, 0.3617064953, -0.0270699114, -0.4748231471, -0.3626827002, 0.2068201602, 0.0773098543, 0.0335842334 ]
http://arxiv.org/abs/2407.01817v1
http://arxiv.org/pdf/2407.01817v1
Race and Privacy in Broadcast Police Communications
2024-07-01T21:34:51
2024-07-01T21:34:51
Pranav Narayanan Venkit, Christopher Graziul, Miranda Ardith Goodman, Samantha Nicole Kenny, Shomir Wilson
cs.CL
cs.CL, cs.CY, cs.HC
Radios are essential for the operations of modern police departments, and they function as both a collaborative communication technology and a sociotechnical system. However, little prior research has examined their usage or their connections to individual privacy and the role of race in policing, two growing topics of concern in the US. As a case study, we examine the Chicago Police Department's (CPD's) use of broadcast police communications (BPC) to coordinate the activity of law enforcement officers (LEOs) in the city. From a recently assembled archive of 80,775 hours of BPC associated with CPD operations, we analyze text transcripts of radio transmissions broadcast 9:00 AM to 5:00 PM on August 10th, 2018 in one majority Black, one majority white, and one majority Hispanic area of the city (24 hours of audio) to explore three research questions: (1) Do BPC reflect reported racial disparities in policing? (2) How and when is gender, race/ethnicity, and age mentioned in BPC? (3) To what extent do BPC include sensitive information, and who is put at most risk by this practice? (4) To what extent can large language models (LLMs) heighten this risk? We explore the vocabulary and speech acts used by police in BPC, comparing mentions of personal characteristics to local demographics, the personal information shared over BPC, and the privacy concerns that it poses. Analysis indicates (a) policing professionals in the city of Chicago exhibit disproportionate attention to Black members of the public regardless of context, (b) sociodemographic characteristics like gender, race/ethnicity, and age are primarily mentioned in BPC about event information, and (c) disproportionate attention introduces disproportionate privacy risks for Black members of the public.
[ -0.6108342409, -0.3003611565, 0.5790540576, 0.4410417378, 0.0088679967, 0.3631094992, -0.0908041969, -1.0687561035, 0.2751211524, 0.148200497, -0.2812846005, -0.3662403226, -0.7606737018, 0.024156699, -0.2534257174, 0.8547840714, 0.2615764141, 0.2268274277, 0.3930120468, -0.2023380399, -0.1397771835, -0.8789863586, -0.5822187662, -0.0284206141, 0.4949008822, 0.0729452074, 0.7082921863, 0.5610172153, 0.4339914918, 0.2407189608, -0.3964711726, -0.2773263454, -0.6187095642, -0.0681806356, -0.3276863992, 0.03415576, -0.2277319729, 0.283655107, 0.3245747089, 0.9564678669, 0.1565774381, 0.2426504046, -0.1824882776, 0.6531316042, -1.0208477974, -0.0789886639, -0.0747657567, -0.1357854754, -0.3234364092, -0.3350239098, -0.0565900095, -0.6400995851, 0.1384723186, -0.315726608, 0.3445094228, -0.0273556188, 0.3732326031, -0.131671682, -0.629316926, -0.4088612199, -1.2997837067, 0.394728899, -0.2240957022, 0.2437207252, 0.8857111335, 0.0246792901, 0.1350347847, -0.2020525336, -0.6485265493, -0.0369929969, -0.1160025597, 0.3929293454, -0.0950414762, 0.0392235518, 0.5226101875, 0.4064357281, -0.1442354023, -0.1031302437, -1.0388759375, 0.1100897118, 1.0264059305, 0.4559172392, -0.197292015, 0.0690727755, 0.0629236177, -0.0371047594, -0.5182681084, 0.080925785, 0.9241474271, -0.0137904966, -0.4416387379, 0.5470808148, -0.2530881763, 0.3828735352, -0.1535914093, -0.0549697839, 0.2118237764, -0.3290208876, 0.0987512171, 0.4095523953, 0.706956923, 0.5914000869, 0.4561657608, 0.0505730063, 0.1160538495, -0.1078599095, 0.3363492787, -0.3256350756, -0.0713624507, 0.2654606998, -0.3804119825, -0.2809623182, 0.2569881082, -0.5411808491, -0.5002376437, -0.2818500698, -0.1441661566, -0.1015896574, -0.4043960869, -0.0346125774, -0.0365743004, 0.2571300566, 0.151092425, -1.2384949923, 0.1814829111, 0.5751909018, 0.7031235695, 0.1574651748, 0.0496274047, 0.2173785269, 0.4078875184, -0.4043166339, 0.1938905418, -0.3802411854, -0.7164620757, 0.1322509944, 0.0331743062, 0.2743603289, -0.4773104191, 0.07923311, -0.4136312902, -0.0251728296, -0.2172047049, -0.2806474566, 0.1830974072, -0.3723183274, -0.1780627966, 1.0162291527, 0.0323138051, -1.0275855064, 0.3553479016, -0.4038426578, -0.6519319415, 0.0512104593, -0.0059352294, -0.3880727589, 0.3351083994, -0.026443135, 0.4346792102, 0.4371697903, -0.045698408, -0.573951602, -0.6701934338, 0.4466522038, 0.051082857, 0.9480499625, 0.5780991316, -0.5468214154, -0.3855940402, -0.6342387795, -0.4486422241, 0.1422273368, -0.2362780422, -0.5758159757, 0.1898481101, -0.164255172, -0.1001888141, -0.1618915349, -0.9097626805, -0.4141138196, 0.1001496762, 0.2672763467, 0.5484185219, -0.0469935723, 0.527582407, -0.321336329, 0.4606256187, -0.25292328, 0.5801193714, 0.0467544086, -0.5202803016, -0.2275013924, -0.3064295352, 0.080818899, 0.3939943314, 0.1470337063, 0.6541948318, 0.0087183984, -0.3739684224, -0.4983793199, -0.4491461813, -0.1053754389, 0.148429513, -0.169394955, -0.2817512751, -0.3877156973, -0.7884809971, 0.1479337364, -0.215114966, 0.3132587969, 0.362320751, 0.3460630774, 0.176742956, 0.7396376133, -0.3098196685, 0.0226337649, -0.222771734, 0.0713416189, 0.0149007933, 0.2894755006, 0.5380752087, -0.5855236053, -0.5460941792, -0.3666178286, -0.319855243, -0.2888277173, 0.0431289263, 0.0243718643, -0.2837686837, 0.675298214, 0.1268637329, 0.8962685466, 0.8411768675, -0.2703486681, 0.5544036627, -0.0039632516, 0.2880797386, -0.6744043827, -0.042934034, -0.1934116185, -0.4932107925, -0.8598148823, -0.2389908582, -0.2524250746, -0.3006432652, -0.4603922665, 0.2951662838, -0.42701298, -0.5502251387, -0.4649274647, 0.0319525227, -0.3899246454, 0.0375149772, 0.2920721471, 0.5144013166, 0.5061360002, -0.6739009619, 0.1122819185, 0.057111185, -0.7545522451, 0.1746663153, -0.27708143, 0.2847442031, -0.4659130871, 0.1744175255, -0.8414077163, -0.024168795, 0.332667172, -0.613325119, -0.0221337676, -0.1297160983, -0.4836708307, -0.2293775827, -0.0825440288, 0.6512649059, 0.1837780774, -0.0088353697, -0.0408144854, 0.9285855293, -0.5315032601, -0.4822035134, -0.7973132133, -0.2114485055, 0.1184365377, -0.5258399844, -0.0611150861, -0.0329286791, -0.5157676935, -0.0226955712, -0.1228951737, -0.2880176604, 0.4615719616, 0.4915064275, 0.05637867, 0.0624017008, -0.0999778584, -0.2563538551, 0.4077232778, 0.121185191, 0.4121748507, 0.5568605065, 0.276062429, -0.1740052402, -0.441758275, 1.00182724, 0.2874901593, -0.2290790975, 1.0651597977, 0.3803846836, -0.187137261, 0.3242264092, -0.4825853705, -0.2770735919, -0.359357655, 0.0714757964, 0.1515119672, -1.0813179016, 0.5399387479, 0.2797298133, -0.0457598828, -0.4010294676, 0.6576469541, -0.5270697474, 0.6621496081, 0.7129198909, 0.0108578783, 1.0765080452, -0.0768301859, 0.4704989791, -0.5979038477, -0.4096938074, -0.6074028015, -0.1860529184, -0.7561548948, -0.1334525645, 0.3452623487, 0.0304639935, -0.177438587, -0.04018341, -0.484272629, 0.451843977, 0.4455730915, -0.1282008737, 0.3766046166, -0.0566280745, 0.353359431, 0.0368891172, -0.4179975688, -0.3949795961, 1.1710785627, 0.5831423402, 0.6339948177, 0.3523750901, 0.7912042737, 0.3211273253, 0.5130273104, -0.3627541065, 0.3122396171, 0.0945358872, -1.4757769108, -0.2701539099, -0.2346366346, -0.8279731274, 0.1348133981, -0.1811155081, -0.84686625, 0.8959081769, 0.0691577196, -0.3413305581, 0.1460461318, -0.5838267803, 0.3895685077, -0.064943336, -0.1779363304, -0.4157580137, -0.6325784922, 0.527797699, -0.1829743087, 0.6059048772, -0.8500003815, 0.2085364312, 0.804435432, -0.274769932, 0.5937957764, 0.0488917977, 0.1975074261, 0.3270406723, -0.1691858172, 0.2825846374, 0.2209269255, 0.309458524, 0.3462312222, 0.0148436129, -0.2932992876, -0.0720853433, 0.1560792327, -0.8036692142, -0.4016848803, -0.7223115563, -0.4142482877, -0.129293099, -0.1025762782, 0.3253404796, 0.5806494355, -0.0499797724, 0.0793514624, 0.4014824331, -0.1738486588, 0.331028372, 0.7375237942, 0.0170090441, -0.0888597742, 0.2254189849, -0.2367012203, 0.3461946547, 0.0982775539, 0.0276712943, -0.365004003, -0.5763298869, 0.2199310213, 0.6630011201, -0.416664809, 0.1909788698, -0.6248767972, -0.3760628104, -0.6322949529, -0.2099285573, -0.4582781196, -0.331269443, 0.0087912185, -0.0426220968, 0.0771109909, 0.7668593526, -0.395855993, 0.4332822561, -0.3111884296, 0.4379571974, 0.1651649475, 0.1951892376, -0.3061934412, -0.3682304621, -0.4690649807, -0.1780993938, -0.2822634578, -1.0498275757, 0.04236494, -0.5159643888, 0.2021544427, 0.0695261434, 0.3483497798, 0.3976641297, -0.4293388724, 0.5764436722, 0.3179880083, -0.7011184096, 0.2983641922, -0.4990766346, 0.1646428108, 0.6149399281, 0.5095074773, -0.7781510949, -1.0781753063, -0.5597513914, -0.5349012017, 0.8460935354, 0.4963585734, 0.3505097628, -0.1308033615, 0.112862505, -0.4094072282, 0.2501295209, -0.7864602208, -0.7979188561, -0.2765446007, -0.0354234949, 0.0093845492, -0.6192675829, -0.3426959515, -0.3824039996, 0.1522298902, 0.3912631273, 0.4481311738, 0.4947342873, 0.3771617711, -0.046246592, 0.4804566801, 0.7823272943, 1.0347100496, -0.5099659562, 0.0971110761, -0.0743993521, -0.5714206696, 0.311306864, -0.0843693316, -0.0886515677, 0.0067631179, 0.3643209934, 0.4611359835, -0.1390070617, -0.4028154612, 0.6504167318, -0.0646211207, -0.3251096904, -0.6642631292, -0.2673052847, 0.1177456155, 0.2037856281, 0.2589990199, -0.0569522232, 0.0293916836, -0.9814783335, -0.1596393883, 0.2269642949, -0.3616808951, -0.2233198434, 0.8014127016, 0.4107749164, -0.0052859969, 0.3159862459, -0.193535462, -0.4692623615, 0.311106503, 0.1804748327, 0.5633485913, -0.4850320816, 0.2105868608, 0.1559727788, 0.5682805181, 0.2211918384, 0.1506957412, -0.2329873443, -0.9204508066, -0.4719770253, -0.3829399943, -0.2764940858, 0.1738636643, -0.7513899207, -0.1260586232, -0.9715754986, -0.6383902431, 0.1800905466, 0.0084176362, -0.346624583, 0.1638411433, 0.7013183832, 0.7858572602, -0.8987593055, 0.7432663441, 0.4464274943, 0.1270215809, -0.6954423189, 0.0150722461, 0.0923764333, -0.4104909301, 0.7620958686, -0.2994558215, -0.1309705973, -0.5506852865, -0.3343737423, -0.7450488806, 0.7390416861, 0.1781327277, -0.7122655511, 0.3902807534, 0.3008499146, 0.5433676243, -0.423800379, 0.133461684, 0.7481757402, 0.3982638717, 0.0571491942, -1.213370204, -0.1335504353, 0.3384693563, -0.0674760714, 0.1307667345, -0.9209628105, 0.4575534761, -0.3559367061, -0.4104116261, -0.2281186581, 0.3360521495, 0.1123134568, 0.576217711, 0.374481827, 0.1130695269, 0.5945004225, -0.1234598979, 1.4212350845, 0.1900721341, 0.2043203115, 0.9941776991, -0.3625561893, 0.2291882783, 0.1257891059, -0.3393805325, 0.1345030218, 0.534081161, 0.0501475595, 0.8482710123, 0.1712099314, -0.5666074753, 0.1070547551, -0.4199549556, -0.3017210364, 0.5342747569, 0.1172704324, -0.3843760788, 0.1827801913, -0.0681009516, 0.0751140192, 0.0614005327, -0.4529787302, 0.786865294, 0.0163908601, -0.2432574779, 0.1591460109, 0.1178634316, 0.3323260546, -0.5925426483, 0.4535813034, -0.3465034962, 0.0328902788, -0.153332442, -0.8425136209, 0.7861921191, -0.0527925529, -0.3566140831, -0.1003583223, 0.1838296652, -0.419731766, -0.1702668965, 0.5468277335, -0.0282731261, 0.3946186006, -0.1987389922, -0.3924036026, 0.4007282853, 0.1153469756, 0.1373613626, 0.2623325288, 0.0703040585, 0.041538056, 0.6375707388, 0.4577557743, 0.9771705866, 0.5408487916, 0.1619578749, 0.5316850543, -0.7226439118, -0.6437755227, -0.4460758865, 0.2529319525, -0.3604525328, -0.3797363043, 0.5249221325, 0.7019101977, 1.0295454264, 0.2173767537, 0.8153597713, -0.2600930035, 0.7168390155, -0.3439422846, 0.352879703, -0.1131605059, 0.1044430286, -0.1651027799, -1.0824053288, 0.0003151115, 0.6051727533, -0.382068485, -0.087483488, 0.7536126375, 0.8266330957, 0.0426717922, 0.4669144452, 0.3490984142, -0.2078255415, 0.2726382017, 0.0950175896, 1.0509569645, -0.0468044914, 0.632432282, -0.7182856202, -0.1135616675, -0.2979167998, -0.3018673062, -0.949816525, -0.4945178926, -0.5048869252, 0.0154069858, 0.2372196615, 0.4796001017, 1.0607607365, -0.7381944656, -0.3165570498, 0.7451304793, 0.0125194909, -0.0941416696, -0.2529661655, 0.100874953, 0.2247887254, -0.8446875215, 0.2268734872, 0.1909558028, 0.401168704, 0.0983597934, 0.1575259268, 0.0535740219, -0.1447724402, 0.4296418428, 0.4855872095, -0.2879060209, -0.2866080999, -0.3912910819, -0.3475953639, -0.1751807481, 1.2946407795, -0.2505747974, 0.2826186121, 0.3384078741, 0.20150581, 1.0114223957, 0.3049738407, 0.5336235166, -0.9517246485, 0.6399003267, 0.4556088746, 0.037955083, 0.2965917587, -0.2856421769, 0.4510554075, 0.2902566791, -0.7241019011, -0.7040612698, 0.1983089149, -0.931783855, -0.4069920182, 0.9517881274, 0.1979534924, 0.1350543499, -0.8364708424, 0.1857967526, 0.0492967777, -0.6014585495, 0.6270413995, 0.6712613106, -0.1597582698, -0.3200692534, -0.9954010248, 0.5407039523, -0.1569273323, -0.3314659595, 0.3395873904, 0.2602686584, 0.5366933346, 0.2094084024, 1.0183942318, -0.2850192189, 0.3420124054, -0.1796810925, -0.1422546059, -0.1744862348, -0.1664210856, -0.2985681593, 0.030847406, -0.2857398391, -0.3797307312 ]
http://arxiv.org/abs/2407.01796v1
http://arxiv.org/pdf/2407.01796v1
Ground Every Sentence: Improving Retrieval-Augmented LLMs with Interleaved Reference-Claim Generation
2024-07-01T20:47:47
2024-07-01T20:47:47
Sirui Xia, Xintao Wang, Jiaqing Liang, Yifei Zhang, Weikang Zhou, Jiaji Deng, Fei Yu, Yanghua Xiao
cs.CL
cs.CL
Retrieval-Augmented Generation (RAG) has been widely adopted to enhance Large Language Models (LLMs) in knowledge-intensive tasks. Recently, Attributed Text Generation (ATG) has attracted growing attention, which provides citations to support the model's responses in RAG, so as to enhance the credibility of LLM-generated content and facilitate verification. Prior methods mainly adopt coarse-grained attributions, linking to passage-level references or providing paragraph-level citations. However, these methods still fall short in verifiability and require certain time costs for fact checking. This paper proposes a fine-grained ATG method called ReClaim(Refer & Claim), which alternates the generation of references and answers step by step. Unlike traditional coarse-grained attribution, ReClaim allows the model to add sentence-level fine-grained citations to each answer sentence in long-form question-answering tasks. Our experiments encompass various training and inference methods and multiple LLMs, verifying the effectiveness of our approach.
[ -0.0793116912, -0.6993947029, 0.7970786095, -0.1116347685, -0.1220476255, 0.0123850554, -0.0623672865, -0.377240777, 0.1820081025, 0.5978384018, -0.4103250504, -0.1545791328, -0.3718779981, 0.2620390952, -0.3883987069, 0.9227201939, -0.0009898236, -0.3265239596, -0.7030564547, 0.0678032115, -0.3689410388, -0.4107429981, -0.4138687849, -0.4890759289, 0.4306651056, 0.605365634, 0.3860978484, 0.6169806123, 0.4600638449, 0.2129133493, -0.0663177669, 0.6888095737, -0.2163239717, 0.16963844, -0.4697101712, -0.5005514622, -0.3162029088, 0.0573072173, 0.6051477194, 0.5259332061, -0.1220152825, 0.3873155117, 0.0325713195, 0.5193362236, -1.0123056173, -0.2380184233, -1.2096850872, -0.4442982972, -0.2681834698, -0.4904594123, -0.662093401, -0.5246812105, -0.177121222, -0.5092900991, 0.4134187996, 0.1804571301, 1.084862113, 0.1295346618, -0.3728778064, -0.5190557837, -0.4050384164, 0.8380922675, -0.6714590192, 0.0219573081, 0.5444574356, 0.0310086925, -0.0649611428, -0.946480453, -0.5813887715, -0.4955559671, -0.3655601144, 0.0591448732, -0.1651900858, -0.177458629, 0.2104736567, 0.3735607862, -0.2580720484, -0.2054777145, -0.1761107296, -0.157236442, 0.5278555751, -0.0819008425, 0.0498919785, -0.6944487095, -0.6584401131, 0.026864415, -1.2410204411, -0.0502189547, 0.1262538284, 0.4833639562, 0.2651798129, 0.7561252713, -0.3012554944, 0.8061273098, 0.2384028137, -0.1887284368, 0.1213563457, -0.3719243705, -0.1520072222, 0.1564676613, 0.5715004206, 0.2350917906, 0.1449916363, -0.4972172678, -0.1346494406, -0.1768084913, 0.4719725549, -0.7269788384, 0.1852703989, -0.0564430766, -0.3021258712, -0.4440141022, -0.1107679829, -0.3775442541, -0.5038523674, -0.2119595408, 0.3637210131, -0.4253222644, 0.0232544113, -0.0732181892, 0.0398237891, 0.0457171313, 0.3233476877, -0.338060528, 0.1420218498, 0.5547800064, 0.4955410063, -0.1571754813, -0.0475080535, -1.0682553053, 0.5444053411, -0.2212212831, 1.1886851788, -0.5202224255, -0.2647554278, 0.2960731387, -0.1036880389, 0.1399463117, -0.7719095945, 1.0289773941, -0.5922088027, 0.2055581361, -0.5342568755, -0.5726283193, 0.0318099596, 0.6812900305, -0.3564696014, 1.2045176029, -0.0379501134, -0.90936625, 0.0010848192, -0.4060189128, -0.4363010526, 0.0467501469, -0.2480653226, -0.3937805593, 0.2878041267, 0.2478746623, 0.4332761467, -0.7197930813, 0.4767900407, -0.228551656, -0.0846074, 0.1215823442, -0.3136004508, 0.5844615102, 0.3172926009, -0.0761381164, -0.0526746996, -1.1507138014, 0.2227714658, 0.037505649, -0.4599830508, -0.5692666173, 0.2512263954, -0.066906333, -0.0219026245, 0.1669560969, -0.7968201041, 0.1550066173, -0.3428988159, 0.264600575, 0.5907233357, 0.2285163701, 0.3832228482, -0.4820430875, 0.3086205423, -0.0039510704, -0.5818780661, -0.4931302965, 0.132995829, -0.7565012574, -0.1093013585, 0.1654885262, 0.4736369848, -0.881654501, 0.339176327, -0.6513549089, -0.1964362413, -0.3475907743, -0.0007580411, 0.4943973422, 0.9024974704, 0.5095793605, 0.2886514068, -0.6139622927, -0.7936997414, -0.5371897221, -0.4747161269, -0.2804398537, 0.4934484661, 0.201211378, -0.0774309412, 1.391082406, -0.6972925663, -0.055885911, 0.0465632677, 0.2018344998, -0.1716595888, 0.3825444579, 0.435960263, -0.5843471289, -0.5633874536, -0.1257493347, -0.6194378138, -0.4472087026, -0.0763388649, -0.2313966453, 0.0308832228, 0.7163031101, -0.7078655958, 0.1756181866, 0.035984382, -0.2689036131, 0.5364870429, -0.0026287781, 0.3282600045, -1.2504640818, 0.2833283544, -0.2038968951, -0.5825192332, -0.2779287994, 0.3929965794, 0.2519735992, -0.1435424238, -0.2230696827, 0.7223864198, -0.6023477316, 0.1382556856, -0.4667916894, 0.443490237, 0.1244719252, 0.1283690035, -0.2833608985, 1.0458576679, 0.1423384249, -0.5907529593, 0.1778203994, 0.2233057022, -0.0381899402, 0.6269761324, -0.5052591562, 0.2431000918, -0.4203953743, 0.4011181593, -1.2507494688, -0.2231540084, -0.0533572286, -0.419989109, 0.2095195651, 0.022458097, -0.4799286127, -0.1910940111, -0.3461598158, 0.1435011774, 0.2919717431, -0.7453485727, 0.9270223975, 0.1758566201, -0.2769895792, -0.6317281127, -0.4298072159, 0.2319418639, -0.391936034, -0.3914979696, 0.5589815378, 0.07293199, -0.4482574463, -0.0327648222, -0.3276730776, 0.0002557212, 0.0694191307, -0.0277325492, 0.0868332684, -0.1928366721, 0.3842076063, -0.142809689, -0.0457676537, -0.0173566863, -0.0296589453, 0.4498491883, 0.0580879077, -0.2182655185, 0.1678552479, 0.4322460592, 0.3258360326, -0.3603318036, 0.2839275599, 0.408814013, -0.2843256891, 0.007237968, -0.9180384278, -0.0853025913, -0.4426337481, 0.1346487254, -0.4401535392, -0.6767824292, 0.4568765759, -0.2463420928, 0.2896710336, 0.5546148419, 0.3471821547, -0.1757556349, 0.1733008921, 0.4088101089, -0.0105183376, 0.2580671012, 0.1518289149, 0.0909588039, -0.7368771434, -0.0448150598, -0.9375677109, 0.0614516884, -0.1874305904, -0.4378271699, 0.1808724999, 0.3903870881, -0.171339497, 0.2135382146, -0.3351396024, 0.5191318393, 0.479564786, 0.3192332387, 0.5887526274, 0.284663707, 0.0679172203, -0.0865758955, -0.447175622, -0.6207306385, 1.0841553211, 0.0383842513, 0.7113406658, 0.0231439285, 0.8161480427, 0.3323971033, 0.5034319758, -0.7607821226, 0.6722199917, -0.1036620736, -0.4599331617, 0.1260381341, -0.2212264538, -0.7567110062, 0.2025281936, -0.1854947507, -0.5877676606, -0.1266344786, 0.2689498067, -0.4735294282, 0.0939630866, -0.4657042325, 0.2079933137, 0.1982600838, -0.4233915806, -0.3402641416, -0.6833674908, 0.3587572277, -0.0447753258, 0.0961990505, 0.0587771833, 0.0644967109, 0.6370728612, -0.4820010066, 0.6753483415, -0.1735228151, -0.2741658688, 0.7862306237, -0.0676276386, 1.1060447693, 0.1133056283, -0.1031145751, -0.4850822091, -0.5539129972, -0.0910744369, -0.5703018904, 0.8139624, -0.3756058514, -0.7124020457, -0.3411439061, -0.6663412452, -0.5332042575, 0.1435325742, 0.1532393098, 0.4175059497, 0.0041512907, 0.4963783622, 0.8479633331, -0.1436461061, 0.6144928932, 0.6070339084, 0.0800504461, -0.6230201125, 0.5214369297, -0.1492832601, 0.3635049462, 0.4600764513, 0.1083551124, -0.1802485436, -0.3005902171, -0.2092993408, 0.1825425774, -0.5547024608, -0.7971639633, -0.9541442394, -0.1662832946, -0.5737286806, -0.0726663619, -0.3176458478, -0.4757164717, -0.0886215717, -0.1167004853, 0.4808289409, 0.0989044681, 0.0979828686, 0.6204316616, -0.7643712759, 0.6550310254, 0.1783712506, -0.0557891987, -0.0613133684, -0.5178756118, -0.249167785, 0.1540011317, -0.5644037724, -0.6187855601, -0.1125491709, 0.2515309155, 0.4139865339, -0.0066648195, 0.2490524054, 1.162504077, -1.021363616, 0.8786695004, 0.2467223406, -0.6382956505, 0.4207890928, -0.2790585756, 0.1218720973, 0.5242035389, 0.1248135939, -0.1871602237, -0.3205724955, -0.9271265864, -1.0510655642, 0.47466892, 0.1690181792, 0.140717864, -0.2686495483, 0.6266023517, -0.0775187314, 0.2108771354, -0.7957345843, -0.3133063614, 0.1733230352, -0.1964445561, 0.1684988737, -0.5666589737, -0.2713826299, 0.1073654443, 0.863938272, -0.2275226563, 0.2531796098, 0.3433826566, -0.2625874579, -0.1727621257, 0.4892861247, 0.3595686257, 0.6011056304, -0.0027909996, 0.2586756349, 0.0301487967, -0.221368596, 0.2237830013, 0.1885834038, -0.3767238855, 0.2996717393, 0.3408597112, 0.4675729275, 0.1293977052, -0.6304510236, 0.4191206098, 0.3833076954, -0.0925620124, -0.3355967104, -0.0974467248, -0.0136234155, 0.2009397149, 0.7969114184, 0.1019115001, 0.0795930251, -0.5432367921, 0.4912239313, 0.5413047075, -0.0726070032, 0.0682981983, 0.7010108829, 0.0381888933, -0.0927856863, 0.3499825299, 0.0525962226, -0.2548848093, 0.2399560213, 0.8872851133, 0.9318650961, 0.0296309013, 0.1767726243, 0.5026134849, 0.048925288, -0.0740770996, -0.0152299274, -0.0948829278, -0.630541563, -0.6784625053, -0.5894876122, -0.0785952136, 0.1500327587, -0.6552234292, 0.1335432678, -0.0554295368, -0.0965889618, -0.0692102686, 0.1074951291, -0.2540404499, 0.2905654013, 0.1211953163, 0.9384487271, -0.7854726911, 0.6775639057, 0.7724937201, -0.4680528939, -0.8736323714, 0.4682797194, -0.3123556077, -0.8827869296, 0.8280879855, -0.128912285, -0.2894302905, 0.2214367837, -0.9339025617, -0.9639070034, 0.9342584014, 0.5443102717, -0.0793582872, -0.3686982691, -0.0935855284, 0.1739129573, -0.3025147617, 0.1552429497, 0.2114198953, 0.202678144, 0.4580554664, -0.8605082631, 0.2006170154, 0.0390809923, 0.2167458832, -0.0080871033, -0.4065425694, 0.865876317, -0.0927260816, -0.2212704718, 0.2915603817, 1.0666465759, 0.8238461018, 0.0180135816, 0.5987862945, 0.6567593813, 0.8439065814, 0.0301242657, 0.9400863051, -0.160708189, 0.4305810034, 1.454630971, -0.3066031039, 0.9052910209, 0.6744609475, -0.1468452811, 0.5659374595, 0.2553314269, 0.2523163259, 0.656083405, 0.2514674067, -0.3770034611, -0.2030002028, -0.3443053663, -0.3332982659, 0.1843167394, 0.122092478, -0.2982919812, -0.8563070893, 0.1615246385, 0.3474374115, 0.4376928508, -0.4229312837, 0.6736421585, -0.0910114348, -0.9961796403, 0.8348255157, 0.044294849, 0.5792255402, -0.589661479, -0.15152888, -0.2480524927, 0.3727402091, -0.1916107684, -0.5108898878, 0.1587342322, 0.3330119848, -0.4643929899, -0.3563480675, 0.986893177, -0.7351447344, -0.3066538572, -0.277156204, 0.3525769114, -0.0345015302, -0.2467018962, -0.340153873, -0.3157494962, 0.1816569716, -0.357955724, 0.088217482, 0.6216437221, -0.1171699986, 0.6361735463, 0.4961777627, 0.0908387825, 0.1196053997, -0.0830540434, 0.9959400892, -0.5302981734, -0.2911193371, -0.8876589537, 0.7539409399, -0.3009233475, 0.1916202754, 0.9541581869, 0.7938069105, 0.5537633896, -0.126679033, 0.8699190021, -0.4183802009, 1.0622524023, -0.6154897809, 0.3328552544, -0.6426292062, 0.0473956987, -0.385066539, -0.7738704681, -0.1579783559, 0.5673023462, 0.0736223236, -0.3170978427, 0.8661484122, 0.6880228519, -0.1395344734, -0.3740099967, -0.0923836008, 0.1836226583, 0.5071460605, 0.3386180699, 0.5490427613, -0.8485212922, 0.6067425609, 0.2701919377, 0.0152036734, -0.0136177717, -1.0871280432, -0.4677151442, -0.2925485671, -0.373836875, -0.7806624174, -0.0869808346, 0.9131121635, 0.1864874512, -0.6464697719, -0.0834881142, -0.2035480887, -0.2101419419, 0.1446857899, -0.1999542266, 0.3739450574, -0.8379430771, -0.6592581272, 0.3965986669, -0.2143733799, -0.1891185045, 0.1052244976, 0.1233890578, -0.5670518279, -0.0037355723, 0.6760558486, 0.1491952538, -0.7503681183, -0.4411875904, 0.0070727393, -0.3175832331, 0.138175711, 1.0399202108, -1.0448143482, 0.11909125, 0.4061248302, 0.9757427573, 0.3720103502, 0.6259132028, 0.4687584043, -1.1700484753, 0.1972260773, 0.1606600583, 0.2965490818, 0.2963193357, -0.2706627548, 0.628672719, 0.2751488984, -0.5145435333, -1.0045571327, 0.1743805408, -0.9061556458, -0.1792427152, 1.4719679356, -0.3137387037, 0.0216639917, 0.288790524, -0.2453972548, 0.222537294, -0.0392947271, 0.6454663873, 0.8550530076, 0.2025580108, 0.1600563526, -0.3315716684, 0.457654506, 0.3920532167, -0.9129088521, 0.6681497097, 0.7973304391, 0.3701827228, 0.601334095, 0.792109549, -0.2575854361, -0.0547260717, -0.1899930239, 0.0334723517, -0.0822064653, -0.2051386833, 0.2382439226, 0.2614405155, 0.0270871315, -0.2675208747 ]
http://arxiv.org/abs/2407.01784v1
http://arxiv.org/pdf/2407.01784v1
Analyzing Persuasive Strategies in Meme Texts: A Fusion of Language Models with Paraphrase Enrichment
2024-07-01T20:25:20
2024-07-01T20:25:20
Kota Shamanth Ramanath Nayak, Leila Kosseim
cs.CL
cs.CL, cs.AI, cs.LG
This paper describes our approach to hierarchical multi-label detection of persuasion techniques in meme texts. Our model, developed as a part of the recent SemEval task, is based on fine-tuning individual language models (BERT, XLM-RoBERTa, and mBERT) and leveraging a mean-based ensemble model in addition to dataset augmentation through paraphrase generation from ChatGPT. The scope of the study encompasses enhancing model performance through innovative training techniques and data augmentation strategies. The problem addressed is the effective identification and classification of multiple persuasive techniques in meme texts, a task complicated by the diversity and complexity of such content. The objective of the paper is to improve detection accuracy by refining model training methods and examining the impact of balanced versus unbalanced training datasets. Novelty in the results and discussion lies in the finding that training with paraphrases enhances model performance, yet a balanced training set proves more advantageous than a larger unbalanced one. Additionally, the analysis reveals the potential pitfalls of indiscriminate incorporation of paraphrases from diverse distributions, which can introduce substantial noise. Results with the SemEval 2024 data confirm these insights, demonstrating improved model efficacy with the proposed methods.
[ -0.3512114882, -0.8216983676, 0.2225077301, 0.2850266695, -0.3958671093, 0.1073879451, -0.0650071427, 0.1570392996, 0.0475163423, 0.6518040895, -0.4398078918, -0.6465142965, -0.7032190561, 0.171556145, -0.3525590599, 1.0636099577, 0.1441337913, 0.1087871119, -0.2876065373, -0.2442250848, -0.2121471316, -0.7950219512, -0.2950628996, -0.2942549884, 0.4574119151, 0.7683756948, 0.5336654782, 0.3896126449, 0.1536799073, 0.2538377345, -0.150033161, -0.0529015809, -0.2770047784, 0.2020207942, -0.3282559216, -0.2190224528, -0.1491931379, 0.2818257213, 0.6899793148, 0.4401239157, 0.0014685923, -0.0104246475, 0.4934036434, 0.0809143484, -0.6929558516, -0.2161464244, -0.8173159361, -0.1633300483, -0.3793976307, -0.5011370778, -0.4268921614, -0.030537229, 0.1939127296, -0.0432574078, 0.1076554656, -0.1001200825, 0.722112298, 0.0314018391, -0.6210949421, -0.4585061371, -0.541695714, 1.0567079782, -0.9775915146, 0.0303802621, 0.0748324767, 0.0726048425, 0.062133465, -0.6966574192, -0.4630206227, 0.0506699197, 0.1255785078, 0.1076954007, -0.4155588448, -0.0390560143, 0.1402498931, 0.2204812169, -0.4584483206, 0.14245148, -0.0481165946, -0.2903033197, 0.2057824433, -0.11349345, 0.3830488622, -0.4503425658, -0.5715923905, -0.4819632471, -0.4767931104, 0.2086072862, 0.5983196497, 0.097408995, 0.1110590771, 0.5694538355, -0.3622966111, 0.490843147, 0.0934554338, -0.3009773791, 0.1036704928, -0.4838728607, -0.097112976, 0.0503359064, 0.8231053352, 0.1741402, -0.0548382588, 0.026134735, -0.1976235509, 0.0862987116, -0.0749158934, -0.740737021, -0.5563318729, -0.0924263522, -0.6905844808, -0.6470984221, -0.1132095456, -1.1174207926, -0.3975799084, -0.2263531983, 0.5650296807, -0.4873768091, -0.2344074696, 0.1865765154, -0.494125247, 0.1955873519, -0.0068484778, -0.9124336839, -0.0990624875, 0.7178239226, 0.4809401929, 0.1738464832, -0.2892432213, -0.3061493635, 0.2577477694, -0.1619467884, 1.1462696791, -1.3054070473, -0.1895218641, -0.1045521647, -0.0247969888, -0.1427048445, -0.5781844854, 1.0124088526, -0.102026172, 0.1916319728, -0.48087731, -0.6603137255, -0.2026501149, 0.2916789353, -0.5094979405, 0.4812354445, -0.2508151233, -0.7495443225, 0.2748469412, -0.5941775441, -0.3316081762, -0.157325536, -0.2055956125, -0.5169597268, -0.0264369436, 0.5449526906, 0.8005147576, -0.3390963674, 0.2838868499, -0.2083711475, 0.1838471293, 0.3720730245, -0.7839895487, 0.6640392542, 0.5157128572, -0.3248699605, 0.0975913703, -0.5988790393, -0.1751056761, -0.120716624, -0.412353456, -0.7117679119, 0.0615676455, -0.241085127, 0.2543818355, 0.3304032981, -0.3955082595, -0.0987676606, -0.0543918051, 0.4450379014, 0.6550873518, 0.3751665652, 0.4226124585, -0.3514718115, 0.5386390686, 0.0874656886, 0.0916972831, -0.4011494815, -0.4537393749, -0.4254643321, -0.2185983509, 0.2549325228, 0.4043958485, -0.8528915644, 0.2410802543, -0.1205972955, -0.5075873733, -0.3390048146, 0.2865712345, 0.2616933882, 0.628708005, 0.6468462944, 0.199600324, -0.5620517135, -1.1058177948, -0.741400063, 0.1430201679, 0.1257127076, -0.0043803398, 0.5055204034, -0.0562940538, 0.3905959129, -0.0874842554, 0.1722192466, -0.3338819742, 0.7267871499, 0.0326370709, 0.5597821474, 0.6430648565, -0.8526246548, -0.5348814726, -0.1119756103, -0.7175124884, -0.4086532295, -0.2960921824, 0.0185170118, -0.4124590158, 0.4962722957, 0.0771938637, 0.1900186539, 0.6913895011, -0.3367958069, 0.663577497, 0.1169238091, 0.7337112427, -1.1635918617, -0.5233259797, 0.4017624855, 0.2186101973, -0.8226181269, -0.1974512637, 0.1191421449, -0.0917004496, -0.3507303298, 0.1364242733, -0.3477387726, 0.6477041841, -0.4139317572, -0.3596794009, 0.0160930529, 0.256670475, -0.14254345, 0.5847908854, 0.6928046346, -0.7902435064, 0.1678204238, 0.20757851, -0.2445989102, 0.9042561054, -0.6200599074, 0.0019081562, -0.256595701, 0.1908469647, -1.4048534632, -0.2593311667, 0.4118592739, -0.3503366411, 0.2290500402, -0.003204562, -0.464692235, -0.2835540771, -0.447381556, 0.1017858088, 0.353993386, -0.7479087114, 0.3691256046, 0.4325722456, -0.3347136676, -0.5925012231, -0.3566530347, 0.4046152532, -0.9018967748, -0.5857312083, 0.2758693993, 0.0903814733, -0.1255580187, -0.2985304296, -0.1366836727, 0.0022657884, 0.0395893008, -0.1396671385, -0.2010168284, -0.1502078623, 0.2091385871, 0.498683393, -0.0727558509, -0.149926573, -0.2805199623, 0.5107019544, -0.1175008193, -0.2090883702, -0.4535043836, 0.4473827183, 0.5035198331, -0.2910431027, 0.6192595363, 0.4976306558, -0.0777835771, 0.0975757986, -0.8767398, -0.3811483383, -0.4502798617, 0.2168304324, -0.5847707987, -0.6650740504, 0.1994822174, -0.504411459, 0.1107085645, 0.4713508487, 0.4569888413, -0.2607152462, 1.2054417133, 0.2014209777, -0.0032459057, 0.4163457751, -0.059727516, 0.0945793465, -0.5483503938, -0.2514308095, -0.8285728097, -0.5676723719, -0.4360625744, -0.5003745556, 0.2610373795, 0.1185642108, 0.0244378261, 0.4068904221, -0.7449704409, 0.3934503198, 0.5734735131, 0.1372651011, 0.2167184353, 0.4106303751, -0.0900231898, -0.4161066711, -0.7133614421, -0.9958056211, 0.9879467487, 0.4158642888, 1.0386571884, 0.0911552459, 0.6955522895, 0.231285885, 0.0456734225, -0.2398807406, 0.6875832081, -0.328099221, -0.483381778, -0.2811259627, -0.1740231812, -1.1777428389, 0.3630225062, -0.3942092955, -0.5844424367, 0.4133747816, 0.0910685137, 0.1813219339, 0.4459447861, -0.6083215475, 1.0734601021, -0.3302478194, -0.1770299375, -0.3955695629, -0.5040278435, 0.1376552433, -0.0371770412, 0.0063607167, -0.1708134264, -0.1490392387, 1.0839569569, -0.1450072676, 0.8140336871, -0.111519143, -0.1095336005, 0.4411929548, -0.4261006415, 0.6518642902, -0.4415472746, -0.2403087169, -0.1498894989, -0.0577317625, -0.6448196769, -0.4194745421, 0.7172927856, -0.5096994042, -0.6080601215, 0.0864482448, -0.5199753046, -0.1311001331, -0.0886310041, 0.478207618, 0.4468456209, -0.271899581, 0.9264834523, 0.7717665434, -0.3107517064, 0.3250075877, 0.1408576816, 0.4884425402, -0.5023321509, 1.1717426777, 0.2105329186, 0.246000737, 0.5388277173, 0.6271236539, -0.5543586612, -0.6381286383, 0.0783862248, 0.0380739085, -0.9623528123, 0.003370048, -1.0527920723, 0.1986731738, -0.8375808597, 0.0510580279, -0.0206822567, -0.469189018, -0.2363047749, 0.1362211406, -0.0591723621, 0.4945726991, 0.1524463594, 0.7727951407, -0.5718976259, -0.0948283523, 0.3868125975, -0.4336540103, -0.1349491328, -0.6506558061, 0.0334039889, 0.1883845776, -0.8390899301, -1.4272117615, 0.2657147348, 0.0084556136, 0.9628432989, 0.6427013874, 0.1331162304, 0.5747007132, -0.0527179614, 0.6378020644, 0.337559551, -0.9055694938, 0.6424895525, -0.5087246895, 0.1531108916, 0.4713941216, 0.7013458014, -0.1636160165, -0.6612050533, -1.0329818726, -0.6488842964, 0.1786240488, 0.1694432944, 0.3815922141, -0.0767301321, 0.1455219537, 0.249343276, 0.3997766674, -0.9502498507, -0.2249957025, -0.2850711048, -0.2144793868, -0.0457599014, -0.5928583741, -0.075628899, -0.3847469389, 0.8874427676, 0.0493507199, -0.201953128, -0.1477462202, -0.1294051856, 0.3630357981, 0.6361210346, 0.4253231883, 0.4471480548, 0.190120548, 0.3797880411, 0.136573717, 0.0123950401, 0.3365977407, 0.0948273093, -0.1729100794, 0.1592290252, 0.113504149, 0.7895959616, 0.3276482821, -0.2316879928, 0.3164781034, 0.3043792248, -0.4278493226, 0.5266290307, -0.1132011265, 0.1201177686, 0.4643479884, 0.360488236, 0.0715832859, 0.450620532, -0.4359640479, 0.3569744229, 0.6968848109, -0.2178050131, -0.3195530474, 0.6993590593, 0.3267510831, -0.0093961582, -0.0272661056, 0.0503110327, -0.5061258078, 0.5887445807, 0.6023447514, 0.7346357703, -0.6724202037, 0.4549276531, 0.4044311047, 0.4029976428, -0.0501843393, -0.2145320475, -0.2713027298, -0.6828163266, -0.1432886124, -0.4105764329, -0.4455939531, 0.7136723995, -0.2814097703, 0.4535266757, -0.1792653352, -0.0934895575, 0.5223060846, -0.2781251371, -0.1966712773, 0.1536095887, 0.1580964476, 0.4681360126, -1.2781137228, 0.5517385602, 1.052742362, -0.3275786042, -0.7225768566, 0.3811985254, 0.0595902689, -0.4512646496, 0.0338849053, 0.1412965506, 0.0735319406, 0.139745608, -0.9523434639, -0.4428135157, 0.7652030587, 0.2076468468, -0.1960178465, 0.2898254395, -0.032971561, 0.2956857383, -0.637789607, 0.0285469349, 0.6073911786, 0.5343468785, 0.3417639434, -0.4225200415, -0.0228683874, -0.0058501707, -0.1746608764, -0.0299913194, -0.3667066991, 0.9638595581, 0.127748996, -0.0027945961, 0.0714637712, 0.7498836517, 0.1568711996, 0.4243280888, 0.662456274, 0.2461773753, 0.8275046349, 0.1179676503, 0.8585199714, -0.1162599474, 0.1593040228, 0.9334266186, 0.0781991035, 0.5227053761, 0.4742217064, 0.1212172061, 0.5164257288, 0.7382020354, -0.1067779362, 0.6616446376, 0.0345291942, -0.5585532188, -0.5092331171, -0.2477938831, -0.3456100523, 0.3665217161, 0.4677474797, -0.5297871232, -0.6142252684, 0.3778663576, 0.1414350569, 0.3960165381, -0.0900477245, 0.7520443797, -0.1461676806, -0.8576077223, 0.5419805646, -0.0023554449, 0.73941046, -0.4392695427, -0.0030746243, 0.1363295913, 0.1872313023, -0.1632988751, -0.667222023, 0.0912776664, -0.1731878221, -0.0301894266, -0.3158760965, 1.098631978, -0.6974526644, -0.4003855288, -0.0107182898, 0.5473150611, 0.3939571679, -0.2083159536, -1.1306952238, -0.1844395846, 0.4683180153, 0.0151363825, 0.3548376858, 0.670963943, -0.114149645, 0.4128062725, 0.7660529017, -0.2390295267, -0.062172167, 0.1789151728, 0.7927131057, -0.4117105305, -0.4381197393, -1.2585427761, 0.4209739268, -0.4719029665, -0.056357827, 1.1843245029, 0.5080726147, 0.3380035758, -0.1994398534, 0.8790394068, 0.1625071466, 0.572373271, -0.2673503757, 0.2970846593, -0.5885979533, 0.3856505454, -0.6867542267, -0.8148118258, -0.0383739397, 0.5639059544, -0.5465528965, -0.1980374753, 0.5884007215, 0.9626841545, -0.0870633349, 0.1995723844, 0.4601186812, 0.1575389653, 0.6074889302, 0.2714295983, 1.1807281971, -0.2407008857, 0.9584514499, -0.3298487961, -0.5099031329, -0.1597752124, -0.8721837997, -1.0311279297, -0.6481363773, -0.7130773067, -0.4307160974, 0.016075518, 0.5795942545, 0.4787017107, -0.8043251634, -0.2231810391, 0.0113784326, 0.2040622234, -0.1725542545, -0.1904588193, 0.0201385785, -0.5985305905, -1.0415526628, 0.4101553857, 0.3621698022, 0.2217321694, 0.0934294686, 0.0626905486, -0.7836828232, 0.3363184035, 0.4432473481, 0.2463409603, -0.4977679849, 0.0472381078, -0.1488814205, -0.0422435105, -0.0291442536, 0.7264815569, -0.3194167316, 0.5551075339, 0.6286095977, 0.536685884, 0.1825820506, 0.4915437996, 0.4133704305, -0.7087875605, 0.1461131126, 0.2559935749, 0.2366594523, 0.4274502695, -0.1581039131, 0.3820190728, 0.2839328945, -0.5874503255, -0.6458053589, -0.0539225042, -0.5177468061, -0.5463261604, 1.3473755121, 0.091381453, -0.0263362937, -0.3506433964, -0.2894405127, 0.0711053088, -0.4224367142, 0.3567617536, 0.9892126322, -0.0012302679, 0.0266866498, -0.4093773663, 0.4668990076, 0.8578023911, -0.6191227436, -0.1642153263, 0.387650162, 0.3341339827, 0.3089850843, 0.4770639241, -0.0394362733, 0.1232993901, -0.0055616437, -0.086265564, 0.4445578158, -0.2413829714, -0.2208119184, 0.3036805689, -0.1716452539, -0.455622077 ]
http://arxiv.org/abs/2407.01725v1
http://arxiv.org/pdf/2407.01725v1
DiscoveryBench: Towards Data-Driven Discovery with Large Language Models
2024-07-01T18:58:22
2024-07-01T18:58:22
Bodhisattwa Prasad Majumder, Harshit Surana, Dhruv Agarwal, Bhavana Dalvi Mishra, Abhijeetsingh Meena, Aryan Prakhar, Tirth Vora, Tushar Khot, Ashish Sabharwal, Peter Clark
cs.CL
cs.CL, cs.AI, cs.LG
Can the rapid advances in code generation, function calling, and data analysis using large language models (LLMs) help automate the search and verification of hypotheses purely from a set of provided datasets? To evaluate this question, we present DiscoveryBench, the first comprehensive benchmark that formalizes the multi-step process of data-driven discovery. The benchmark is designed to systematically assess current model capabilities in discovery tasks and provide a useful resource for improving them. Our benchmark contains 264 tasks collected across 6 diverse domains, such as sociology and engineering, by manually deriving discovery workflows from published papers to approximate the real-world challenges faced by researchers, where each task is defined by a dataset, its metadata, and a discovery goal in natural language. We additionally provide 903 synthetic tasks to conduct controlled evaluations across task complexity. Furthermore, our structured formalism of data-driven discovery enables a facet-based evaluation that provides useful insights into different failure modes. We evaluate several popular LLM-based reasoning frameworks using both open and closed LLMs as baselines on DiscoveryBench and find that even the best system scores only 25%. Our benchmark, thus, illustrates the challenges in autonomous data-driven discovery and serves as a valuable resource for the community to make progress.
[ -0.2635062039, -0.6996190548, 0.873713851, 0.2250179499, 0.2299484164, 0.2874988616, -0.3490624428, -0.1674159169, -0.2358252555, 0.2720711827, -0.7572827935, -0.8737843633, -0.4666306973, 0.0241194628, -0.6734516621, 0.4007406533, -0.2484077364, -0.0427889861, -0.4233340919, 0.1212143302, -0.2624315321, -0.398978591, -0.3876070976, -0.3355635405, 0.5144224763, 0.3726280034, 0.3912551105, 0.8283245564, 0.6445989013, 0.2228972465, 0.0465802811, 0.1131346524, -0.5284605622, 0.1816176921, -0.3903490305, -0.4540429115, -0.3087792397, 0.0071815946, 0.4215350151, 1.185915947, -0.2284513414, 0.2206690907, -0.0899111852, 0.7228931189, -0.485247016, 0.5597504377, -0.4987086952, 0.0202945787, -0.3932984769, 0.0004204934, -0.3848342896, -0.3462540507, 0.0021441227, -0.3830764294, 0.4364191592, 0.1253679097, 0.3948839307, 0.2919318676, -0.388653785, -0.2301194966, -0.6818757057, 0.9100479484, -0.5273035765, 0.4697438776, 0.0854037702, 0.4977199435, -0.6059059501, -0.7274294496, -0.3942975104, -0.3534463048, 0.1442453116, -0.3027867377, -0.1344492286, -0.1438227445, 0.5519897342, 0.6671917439, -0.9192264676, 0.1047948897, -0.0226625521, -0.2783817947, 0.6647787094, 0.2277850956, 0.0887391567, -0.1040336117, -0.0904150233, -0.3112769723, -0.7409629226, -0.2190028578, 0.2693226635, 0.4585783482, 0.0425241143, 0.5284796953, -0.7382526994, 0.5016463995, -0.404258728, 0.0164504964, 0.4463490546, -0.4868349731, -0.0742911175, -0.206782937, 0.7153407931, 0.172743693, 0.0609913282, -0.4109767973, -0.2923688591, 0.1525255591, 0.0214804523, -0.8621864319, -0.3193669617, 0.2466950715, -0.3920390904, -0.3034684062, 0.0356197804, -0.735112071, -0.7811630368, -0.3411518931, 0.2657760978, -0.093042925, -0.28910622, 0.2135439962, -0.0197012071, 0.0593525507, 0.319624126, -0.3940942883, 0.5309363604, 0.6768482924, 0.6962248683, -0.4225551784, -0.1708729267, -0.4999062419, -0.1322514266, -0.6253976822, 0.7501495481, -0.2179109156, -0.2829758525, -0.1746314615, 0.0979015306, 0.1343462318, -0.7757635713, 0.7882221937, -0.3709194362, -0.2582232058, -0.5547916889, -0.6198457479, -0.1708089709, 0.142476052, -0.8559045196, 1.2841004133, 0.0973163769, -0.568287313, 0.471432507, -0.7094061375, -0.4934696257, 0.0592926778, -0.2406974882, -0.1359942257, 0.1010534316, 0.0623128489, 0.3503308594, -0.8680912256, 0.6637870669, -0.5474862456, -0.363992691, 0.1891397238, -0.216676563, 0.6105970144, -0.0039471444, -0.6828491092, 0.0340555459, -0.9860254526, 0.1495909691, 0.3398936391, -0.4343536198, -0.060010463, 0.3274536133, 0.0392261855, 0.2157000005, 0.2483804524, -0.6903344393, 0.206825614, -0.203886047, 0.2236170322, 0.6868584752, -0.2794137597, -0.0420138463, -0.2694289088, 0.2790221572, -0.1544721276, 0.011652478, -0.331138283, 0.0266633127, -0.8097016811, -0.196038112, 0.3582407534, 0.451728195, -0.3045622408, 0.5469776988, -0.3332397044, -0.7216459513, -0.3179643154, 0.27329427, 0.254907608, 0.5263206959, 0.3388033509, -0.3072375953, -0.740639925, -0.9969332218, -0.1250373125, 0.0392003991, -0.0554913543, 0.4318654537, 0.4998669028, -0.4660766721, 0.8006780148, -0.3658026755, -0.1136936992, -0.2528467774, 0.1939153969, 0.5345426798, 0.2712705433, 0.2199476212, -0.5888050795, -0.237654835, 0.0307808667, -0.9829824567, -0.3345669806, 0.2211320698, 0.0510155596, 0.1445638984, 0.6095924377, -0.4789880514, 0.4252047837, 0.3790727854, -0.0051769488, 0.4909155071, 0.0834722593, 0.108420454, -0.4255264997, 0.5246637464, -0.2163857073, -0.1290066242, -0.3971071839, 0.1645407379, 0.0528821982, -0.1138627231, 0.0143701676, 0.5961539745, -0.365922749, -0.3995822966, -0.3732121885, 0.0335102342, -0.1428603828, 0.1815049052, -0.0911169425, 0.6941663623, 0.8748495579, -0.5349511504, 0.6168267131, 0.1465045065, -0.6108982563, 0.2478090674, -0.6608459353, 0.3213623166, 0.0101290997, 0.3791200519, -0.7932531834, -0.339966476, -0.2311016172, -0.100478366, -0.0331940502, -0.1191865876, -1.1211768389, -0.5516950488, -0.1064207479, 0.1355930269, 0.1464396566, -0.6986028552, 0.5081208944, 0.2149219662, -0.2946106493, -0.3472540975, -0.390750438, 0.3591905832, 0.062154796, -0.7297720313, 0.4013406932, -0.385702759, -0.3552015424, -0.2631703317, -0.4049503207, 0.1260541975, 0.3161839843, 0.4616662562, -0.0056512654, -0.0180220678, 0.3170775473, -0.2852884531, -0.1767568886, 0.2262798548, -0.2758097053, 0.7511115074, -0.2568005025, -0.578168273, -0.0504586697, 0.329524368, 0.4746725261, -0.3192935288, 0.2364633977, 0.2185221016, -0.4114511013, -0.4107145071, -0.5803038478, -0.1577372998, -0.4427591562, 0.2175475657, -0.4251592457, -0.6507077813, 0.5076701641, -0.4075631797, 0.1798087656, 0.4377357364, 0.5193896294, 0.2050229907, 1.0194013119, 0.6721980572, -0.1281105876, -0.0263591427, -0.0727802068, 0.3400945067, -0.2750789523, -0.1465581506, -0.5766673088, -0.2036940753, -0.5543110371, -0.4298361242, 0.4693311453, -0.125886336, -0.1340724975, 0.2285897583, -0.1541367322, 0.2738631368, 0.6782605052, -0.0154811963, 0.5091922283, -0.3228745461, -0.2119857818, 0.1384650767, -0.4696034789, -0.5502233505, 1.3706204891, 0.2111234963, 0.7600575686, -0.0726051256, 0.8905649781, 0.3677370548, 0.2677181065, -0.7651184797, 0.8085634112, 0.1164362207, -0.7400853634, -0.1165108755, -0.5596099496, -0.7949922085, -0.1598667353, 0.1386998594, -0.5348382592, 0.0995978266, -0.1098797992, -0.0256966222, 0.0352480114, -0.3115832806, 0.8635799885, -0.419231683, -0.558904469, -0.3454009295, -0.4275626242, 0.348734647, -0.2966395617, 0.4465605319, -0.2655120194, 0.3096980155, 0.6877756119, -0.2982628644, 0.5714408159, -0.2638837993, -0.1986538023, 0.1500542015, 0.4230746329, 0.630951643, -0.0668041259, -0.3486824334, -0.0205114968, -0.0148709854, -0.272633642, -0.5284883976, 0.807381928, -0.2072231323, -0.528036654, -0.2794956565, -0.6149429679, -0.2750925124, 0.4940787256, -0.2482452989, 0.3641700447, -0.3846732676, 0.3740518391, 0.7628669739, -0.173595354, 0.2915714979, 0.7678137422, -0.4109645784, 0.0571917146, 0.7925965786, -0.1933836639, -0.0025438722, 0.2693037987, 0.1295505613, -0.240556106, -0.8110172153, -0.2208459228, 0.0592407621, -0.8769395947, -0.1087475643, -0.5156207681, 0.0925211236, -0.1642808318, 0.2090303749, -0.5964279175, -0.1719590873, 0.1583732963, -0.242051959, 0.122450538, 0.7077000141, -0.1662721038, -0.152333498, -0.5345458388, 0.4181490541, 0.0743765607, 0.5915071964, -0.2446282357, 0.0083861845, -0.3009058833, -0.2470987737, -0.0683099926, -0.5260437727, 0.1200598553, -0.1433319151, 0.7187471986, 0.1946138144, 0.165640682, 0.2143916041, -0.3668213487, 0.406656146, -0.2843123376, -0.8703024387, 0.6204602122, -0.4570968449, 0.0941417441, 0.5759043694, 0.2343266755, -0.2773788869, 0.0052347961, -0.5943940878, -0.794033289, 0.2773222923, -0.0706486329, -0.2951218188, 0.1770166755, 0.1572649926, 0.308334142, 0.3457064927, -0.4928213954, -0.2648082078, 0.1082386971, -0.2057581395, -0.081846118, 0.1147040799, -0.4109202623, -0.0880002752, 0.5718210936, -0.5332149267, 0.0152052315, 0.0592736714, -0.1995958984, -0.1097243801, 0.2426689863, 0.0864429101, 0.7838813066, -0.3078868985, 0.1471814364, -0.0787467137, -0.0878135636, 0.1058565378, 0.6108273864, -0.0778524652, -0.0159438327, 0.3125756681, 0.5443755984, 0.2341523916, -1.2657847404, 0.4246151447, -0.1110276729, -0.1663637459, -0.2552802265, 0.2788194418, 0.094959788, 0.3047630489, 0.6183189154, -0.2837443352, 0.4433250427, -0.5846648812, 0.3834910691, 0.5478976369, 0.0206407886, -0.0882424414, 0.4322808385, -0.0606564321, 0.098658599, 0.4424807131, -0.2249009758, -0.3536486924, 0.5182891488, 0.0313092545, 0.769969523, 0.090415597, 0.032907974, 0.3584580123, 0.3180831075, -0.2697217166, 0.4356715977, -0.0966192484, -0.5172349215, -0.3967934847, -0.7035121918, -0.6478534937, 0.1961311996, -0.5727248788, 0.2848097682, -0.4058273137, 0.1653268933, 0.2186925262, 0.2888717651, -0.7818024158, 0.2142461985, 0.1215534359, 1.0588023663, -0.6535603404, 0.565335989, 0.4188120663, 0.0284362137, -0.4930182993, -0.2345389724, 0.2515986562, -0.5785626173, 0.6980394125, 0.3630226552, -0.0801020786, -0.002966404, -0.73293221, -1.050756216, 1.1476943493, 0.345292151, -0.7008612156, 0.115020439, 0.1315431595, 0.4295650721, -0.3932850063, 0.0825126171, 0.8651614189, 0.719315052, -0.0083344346, -1.0423921347, 0.2401871383, -0.3404636383, -0.2567858994, 0.0884912908, -0.2612011135, 0.8373829722, -0.2991482913, -0.3478691578, 0.1615189612, 0.395282805, 0.3188768625, 0.3971441388, 0.4249331951, 0.6803157926, 0.8970496058, -0.2261628807, 1.1410609484, -0.1677384079, 0.3468019664, 1.1170296669, -0.7282214761, 0.6401128173, 0.228604421, -0.4109928012, 0.6588340402, 0.5699771643, -0.2674836814, 0.4053834975, 0.698077023, -0.1760181636, -0.2865736485, -0.245276913, -0.0816905349, 0.3633810282, 0.267470181, -0.3027043045, -0.4302499592, -0.1927856803, -0.197803095, 0.0569690689, -0.1046059951, 0.6608889699, -0.2380055636, -0.59122473, 0.6013134122, 0.1013569012, 0.2697974145, -0.4745655358, 0.0027650567, -0.2971532345, 0.3267976046, -0.1833271235, -0.6237120032, 0.03713971, -0.0928065777, -0.3605521321, -0.1496609151, 0.5726459026, -0.0567354746, -0.4282481372, 0.4684907198, 0.7020324469, 0.0781449303, -0.3344569802, -0.4865876436, 0.406160295, -0.1582561582, -0.343673557, 0.2636013031, 0.2135612816, -0.0170197207, 0.8959330916, 0.7743198276, -0.1599745005, 0.1066340134, 0.2447684556, 0.955057323, -0.795753777, -0.1051796526, -0.5442700982, 0.1823975295, -0.0766696632, 0.2119709104, 0.6887797117, 0.8305726647, 0.8559942245, 0.0416494943, 1.2339535952, -0.3089038432, 1.051202178, -0.4398741424, 0.3620499372, -0.3269863725, 0.3065251112, -0.1002681702, -0.8272387981, -0.2072384953, 0.3724935055, -0.2039501518, 0.049212914, 0.6922516823, 1.0692189932, 0.0139721241, -0.0479561873, -0.018712474, 0.2770847976, 0.5984634757, 0.5529641509, 0.7139311433, -0.2770266235, 0.40870893, -0.3428314924, -0.3813407421, -0.1061793789, -1.0140813589, -0.8143447638, -0.4627436101, -0.3992757201, -0.1670587659, -0.0774740651, 0.7746250629, 0.5970879197, -0.821744442, -0.469556272, -0.6652166247, 0.043428801, -0.2478508949, -0.2605924606, 0.2787074149, -0.2939563394, -0.6732282043, 1.1120494604, 0.2795800269, -0.1700602323, -0.5548451543, 0.0894977078, -0.0156299882, -0.0706814155, 0.3935632706, 0.3176949024, -0.4751933217, 0.085172385, 0.1249439865, -0.0464456975, -0.0949884132, 0.8872845173, -0.9271389842, 0.4686325192, 0.4229735732, 0.7034647465, 0.6692637205, -0.2433567941, 0.6341109276, -0.5127912164, -0.2533418238, 0.1625967026, 0.3713556528, 0.508459568, 0.0117037175, 0.8504289985, 0.3191532791, -0.4379938543, -1.1106210947, 0.2091491669, -0.8232343197, -0.094531998, 1.0224016905, -0.0903806314, 0.0902083889, -0.0933779329, -0.0157749429, -0.0247317478, -0.1807882786, 0.7756722569, 0.6798468232, -0.1391111612, -0.1364309192, -0.8441724181, 0.4833934605, 0.3297193944, -1.1533001661, 0.6258155107, 0.5687112212, 0.328322798, 0.1988467276, 0.1249711365, -0.155459553, 0.2265788317, -0.204452306, 0.241294235, -0.0506044105, -0.419111222, -0.0703418925, 0.2292291671, 0.1510730833, 0.3803467155 ]
http://arxiv.org/abs/2407.01697v1
http://arxiv.org/pdf/2407.01697v1
NLPGuard: A Framework for Mitigating the Use of Protected Attributes by NLP Classifiers
2024-07-01T18:08:17
2024-07-01T18:08:17
Salvatore Greco, Ke Zhou, Licia Capra, Tania Cerquitelli, Daniele Quercia
cs.CL
cs.CL, cs.AI, cs.HC
AI regulations are expected to prohibit machine learning models from using sensitive attributes during training. However, the latest Natural Language Processing (NLP) classifiers, which rely on deep learning, operate as black-box systems, complicating the detection and remediation of such misuse. Traditional bias mitigation methods in NLP aim for comparable performance across different groups based on attributes like gender or race but fail to address the underlying issue of reliance on protected attributes. To partly fix that, we introduce NLPGuard, a framework for mitigating the reliance on protected attributes in NLP classifiers. NLPGuard takes an unlabeled dataset, an existing NLP classifier, and its training data as input, producing a modified training dataset that significantly reduces dependence on protected attributes without compromising accuracy. NLPGuard is applied to three classification tasks: identifying toxic language, sentiment analysis, and occupation classification. Our evaluation shows that current NLP classifiers heavily depend on protected attributes, with up to $23\%$ of the most predictive words associated with these attributes. However, NLPGuard effectively reduces this reliance by up to $79\%$, while slightly improving accuracy.
[ -0.3303355575, -0.744377315, -0.1182554215, 0.1752418727, 0.0749145374, 0.1675759554, -0.0703131333, -0.679739058, -0.2991720736, 0.7543923855, -0.3638575375, -0.4547379613, -0.6003174782, -0.1467247009, -0.0681447834, 1.4479130507, 0.3077070713, -0.359507829, -0.3684532642, -0.1272622645, -0.5585750937, -0.6587777138, -0.8710631728, -0.6842226982, 0.450879097, 0.0892134309, 0.9350934625, 0.4219152927, 0.5574900508, 0.1996878386, -0.1365230829, -0.0613897406, -0.2919592559, 0.1028360054, -0.142529577, -0.5038500428, -0.6155104637, 0.0418609381, 0.3087744415, 0.5356333256, -0.035312023, 0.0480075069, 0.286785841, 0.5595850945, -0.9748395085, 0.2946433425, -0.6978904605, 0.6438592076, -0.3174290657, -0.2725657225, -0.4874880314, -0.1805353165, 0.1572514176, -0.37938115, 0.3929059505, -0.0264478289, 0.7776688337, 0.4188611209, -0.1848326027, 0.2487741411, -0.6817598343, 0.9429765344, -0.81395787, -0.0714868009, 0.9270697236, 0.0952696353, 0.1335486174, -0.5070264339, -0.4920655489, -0.1121960357, -0.4286268353, -0.1092666537, -0.5170460939, 0.4795742035, 0.5390105247, 0.3196125627, -0.6685615778, 0.462465167, -0.4091777503, -0.3742091656, 0.8642537594, -0.0371465497, 0.4222881496, -0.2294584662, -0.2719616592, 0.0057069957, -0.7134800553, 0.0833250135, 0.4594447613, 0.4086990952, 0.2091753334, 0.3289393187, -0.0285937823, 0.546734333, -0.0798968375, -0.3319656849, 0.567843616, 0.2336519957, -0.4546673, 0.2249499559, 0.9040470719, 0.3832376301, 0.0908662006, -0.318511188, -0.1430852264, 0.3637769222, 0.3907780349, -0.8504699469, -0.4293183386, 0.2362103462, -0.3690458238, -0.7211751342, -0.2941661477, -0.9381443262, -0.6038379669, -0.0570240542, 0.2289425135, -0.1071097925, -0.2712912858, 0.1564756334, -0.1275064647, 0.2940106988, 0.0052965246, -1.0498473644, 0.2063304484, 0.9430651665, 0.8018431664, -0.2119005769, -0.1218717247, -0.4161619246, 0.1671140194, 0.1058351398, 0.5496132374, -0.7255954742, -0.3412037492, 0.0264348686, -0.0532550476, 0.2358354628, -0.454677701, 0.8984146714, -0.3348685503, 0.3503111303, -0.0334340595, -0.3708844483, -0.2372291535, 0.2454613298, -0.7972252965, 1.0902273655, 0.0410092361, -1.0828773975, 0.508877337, -0.7399238944, -0.6050115824, 0.3027637005, 0.0631353483, -0.9351460338, -0.1664172113, 0.3036563098, 0.3663366437, -0.1349431276, 0.2214706838, -0.4264362454, -0.2546483874, 0.08997868, -0.6355561018, 1.0338226557, 0.1176970303, -0.4175907373, 0.1135903969, -0.7148348689, 0.0656678006, -0.0378942788, -0.2257546932, -0.5796152949, 0.0697854981, 0.0971180946, 0.1857784986, -0.0521325096, -0.6052441597, 0.061425861, -0.3638138473, 0.358676672, 1.0413208008, -0.225300163, 0.5782781243, -0.2996495962, 0.8870806694, -0.4467151165, 0.1987694651, 0.1827032715, -0.5700784922, -0.745418787, -0.3554782271, 0.2550015748, 0.7639197111, -0.7121119499, 0.7976170778, 0.1070449352, -0.4858686924, -0.6892115474, 0.1535724103, 0.6578399539, 0.6176277399, 0.4535942674, -0.4555518627, -0.4255919158, -0.8083809018, -0.3003431857, -0.2013202012, -0.3702102602, 0.1049638093, 0.2789322436, -0.2242290229, 0.9029378891, -0.5101906061, -0.6647181511, -0.2687508166, 0.2562403977, -0.1842595041, 0.6626208425, 0.7932921052, -0.6875914335, -0.1698338687, -0.1039898992, -0.7078786492, -0.5516705513, -0.1904121339, -0.1590787172, 0.0527334288, 0.4224118888, -0.5444688201, 0.6097257137, 0.4839961231, -0.3159030378, 0.5179593563, 0.1021463722, -0.5050144792, -0.4801411331, 0.3361993134, -0.084056519, -0.2143932879, -0.8139315248, 0.2788048089, -0.2195661813, -0.2191316485, -0.315649271, 0.5004802942, -0.0409635566, 0.2497893274, -0.443866998, -0.1874388158, 0.3074558079, 0.4492411017, 0.0859965757, 0.6623272896, 0.5448453426, -0.6794016361, 0.2452598512, 0.4073852897, -0.0901713222, 0.9163689613, -0.8008245826, 0.3335517943, -0.3750680983, 0.1367002726, -0.3207077086, 0.1049601138, 0.2638840377, -0.3778250217, 0.3486760557, -0.2541126609, -0.0359100215, -0.297768414, -0.4416172504, 0.2426864952, 0.3008706272, -0.5055165291, 0.6834414005, 0.6988584995, -0.1592912972, -1.0927758217, -1.0411916971, 0.0881802887, -0.4434663653, -0.215890184, 0.5622333884, -0.0080068437, 0.055409912, 0.1749448329, 0.0523358434, -0.1889998317, 0.5830096006, 0.3843656182, 0.1789067388, 0.090454936, 0.3960745931, 0.0453933664, -0.3853760362, 0.4250182509, 0.0586146042, 0.5669867992, -0.1311762035, -0.210031867, -0.2253948152, 0.3663259149, 0.0442975201, -0.6466556787, 0.8085684776, 0.8846094608, -0.373853147, -0.5574852228, -0.1329105347, -0.0187065285, -0.5662531853, 0.4217966199, 0.0511924922, -0.9885852933, 0.244322747, 0.3311039507, 0.2709496021, 0.4202410579, 0.2028602511, -0.0033315727, 0.8076086044, 0.7367122769, -0.5323856473, 0.5219193697, -0.1655693352, 0.5825285316, -0.8930432796, -0.2535552382, -0.6829255223, -0.5285443664, -0.8453691006, -0.2229065597, 0.0289011337, -0.1946591437, -0.2361576706, 0.2385875732, -0.8142204881, 0.7304795384, 0.7043434978, 0.232554242, 0.165568918, -0.0569587797, 0.3228952289, -0.1316521019, -0.5303743482, -0.4783763885, 1.227047205, 0.482757628, 0.8638557792, -0.0004812409, 0.5925335884, 0.6635551453, 0.4556939304, -0.8610664606, 0.6732338071, -0.2261677235, -0.674903512, -0.1296884269, -0.5326218605, -1.0262408257, 0.1949429959, -0.5015963316, -0.5710332394, 0.178943038, 0.2970272601, -0.1729214489, 0.5137146711, -0.4443178177, 0.7818661332, -0.3718115091, -0.4584053457, 0.0100203007, -0.4786406159, 0.3351539373, -0.0091307815, -0.1257985383, -0.3118208051, 0.3227261007, 0.7262973785, -0.231629014, 1.0305951834, -0.4169264436, 0.0565155707, -0.0621460751, -0.0955350846, 0.228427127, -0.0533943474, -0.0916730985, 0.2498478591, -0.3458645642, -0.4069927931, -0.3602441251, 0.5214344263, -0.6391311884, -0.4909901321, -0.7607460618, -0.5436172485, -0.2145762444, 0.2740666568, 0.1370596886, -0.0588979423, -0.3061931133, 0.3348501027, 0.7987923622, -0.5824062228, 0.3062466979, 0.1888404191, -0.2304018736, -0.1715637296, 0.9257878661, -0.0945735499, 0.2910617888, 0.3433031738, 0.2689220905, 0.104427591, -0.5510039926, 0.0502937585, -0.2277217209, -0.6496896744, -0.5649197698, -0.6498282552, -0.5880477428, -0.1764155626, -0.0614648722, 0.1057357118, -0.4633877873, -0.3078768253, -0.5725785494, 0.433719635, 0.3040611148, 0.0383477546, 0.5045978427, -0.4402187765, 0.3707337379, 0.5412504673, 0.5122537017, -0.1433583349, -0.2337673455, 0.1217209324, -0.084812656, -0.5003866553, -0.4683551192, 0.6258942485, 0.5320171118, 0.6673573852, 0.4531235993, 0.3816176057, 0.2629238069, -0.3509254158, 0.6468214393, -0.0058757872, -0.9170731902, 0.4537506104, -0.0337059498, 0.1148477197, 0.6631826162, 0.2434802949, -0.5641182065, -0.5538922548, -0.555581212, -1.1046409607, 0.4121571183, 0.1940029114, 0.3129340112, 0.2098563761, 0.0873688832, 0.0405220874, 0.4716525376, -1.0019477606, -0.1240517274, -0.3403989673, -0.1662316322, 0.1197557747, -0.2653874755, -0.1837434769, -0.1305441111, 0.6997816563, -0.1817623824, 0.2751933038, -0.14951092, -0.181937471, 0.319265455, 0.4539959729, 0.0306108873, 0.1259115934, -0.2296333462, 0.2050272971, 0.0352088623, -0.7592917085, -0.0886212066, 0.2973392606, -0.8608979583, -0.1067675799, 0.3378962278, 1.0195074081, -0.2280810624, -0.4483326375, 0.5221506953, -0.0100815007, -0.0819259137, -0.2176519036, 0.2916197777, -0.3059088886, -0.0390795693, 0.1330548972, 0.2567294836, 0.3476275802, -0.2370843887, 0.2677884698, 0.7116456628, -0.3727245927, -0.0232899543, 0.658184588, 0.3494118452, -0.274274528, 0.4762381911, -0.1534350663, -0.6652665734, 0.4715484679, 0.4730772078, 1.1448693275, -0.3774676025, 0.3428217471, 0.1999248415, 0.633197248, 0.0586403348, 0.1401759982, 0.0433160923, -0.8117190003, -0.3291296065, -0.7116494179, -0.5038670897, 0.309538722, -0.7408686876, -0.0102474885, -0.9613605738, -0.3997786045, -0.0072294911, -0.2334712744, -0.7157878876, 0.1580845118, 0.1081581414, 0.558259964, -1.1889177561, 0.5265421867, 0.1465400308, -0.3340653181, -0.3676759005, -0.0354672745, 0.1107846126, -0.5644407272, 0.3077623248, 0.4228138626, -0.0513304807, -0.3867177367, -0.6183100343, -0.3607833982, 0.7429819107, 0.4763102233, -0.2336286902, 0.0005099524, 0.3751777709, 0.685569644, 0.0734519288, 0.1312443912, 0.7829110026, 0.4009931684, -0.3757741451, -0.8339121938, -0.0766102001, -0.552749753, 0.0230840966, 0.1286370009, -0.3733608723, 0.6054145694, 0.0311331041, -0.0593101345, -0.394084245, 0.4946213961, 0.1653152555, 0.2997620702, 0.4486824572, 0.6631475091, 1.1154657602, -0.3547180891, 0.9143759608, 0.1948055923, 0.2803183198, 1.2506588697, -0.3143541217, 0.7825489044, 0.1681667417, -0.2735862434, 0.4828564227, 0.1885879189, -0.335257262, 0.5945497751, 0.2850939035, -0.5788121819, 0.086379528, -0.5224707723, -0.3029440641, 0.6420055628, 0.4329050183, -0.4420871139, 0.1000611112, 0.258271277, 0.4209641218, 0.1132785305, -0.3073682785, 0.735026598, 0.0471691713, -0.3563051224, 0.3824430406, -0.0278360397, 1.0058193207, -0.6623070836, -0.0113306278, -0.1388019919, 0.3544418812, -0.5911421776, -0.9222760201, 0.4555018246, 0.1713101417, -0.0720283091, -0.5385246277, 1.0411657095, -0.5469998717, -0.6328266859, 0.2948789895, -0.1605699509, -0.3615428209, 0.0105541274, -0.8546873331, -0.1927060336, -0.1193608567, -0.0603595264, 0.429351747, 0.1820034385, 0.0440345183, 0.751270771, 0.7819088101, 0.3233922124, -0.1532277763, 0.0559361987, 0.7967408299, -0.3898658752, -0.6390645504, -0.700127542, 0.3984240592, -0.4064317942, -0.1542019546, 0.7204457521, 0.2578425705, 0.9863075018, 0.1179191619, 1.1634517908, -0.1092462763, 0.3551455736, -0.5414226651, 1.0705937147, -0.1619450152, 0.4350342453, -0.5640781522, -0.7030470967, -0.7233969569, 1.0495939255, -0.1879106909, 0.0938320979, 0.3058336973, 0.8523492813, 0.1375488341, 0.0142331719, 0.0304594077, -0.1663695276, 0.7607246041, 0.6186762452, 0.4935503006, -0.2030247301, 0.3308497071, -0.5225763917, -0.1907152832, -0.0016669763, -1.2261650562, -1.0257487297, -0.0214935131, -0.4189402163, -0.3889849186, 0.0415600501, 0.6226391792, 0.4862538576, -0.8981819153, 0.0640656278, -0.0197227951, 0.2196974307, -0.3779487014, -0.2955314517, 0.3422932923, -0.0868621543, -0.4256848395, 0.0624691471, 0.1884576529, -0.1596158296, -0.4455279708, 0.0261191409, 0.0433944874, -0.1972382963, 0.6023434997, 0.5613341928, -0.3656027615, -0.4210358858, -0.3330734074, 0.0035078959, 0.0310834441, 0.6592679024, -0.8693270683, 0.519090116, 0.5987944603, 0.9304330945, 0.2416891754, -0.1855817586, 0.5904644132, -1.030810833, 0.5043368936, 0.6434097886, 0.263489604, 0.5626539588, -0.4611387551, 0.5956050158, -0.0034710336, -0.5730857849, -0.9103539586, 0.2224775851, -0.8126558065, -0.1217874512, 0.8414878845, -0.2398693413, -0.0616718605, -0.2992737293, -0.3506949842, -0.0764491037, -0.4187407792, 1.0240836143, 0.4389106035, 0.190773651, -0.4383953214, -0.6915282607, 0.876557529, 0.4668913484, -1.145765543, 0.2792325616, 0.4208816886, 0.0253120624, 0.1556327194, 0.496861577, -0.0826924518, 0.1739191115, -0.427208215, 0.2492352724, -0.0454066098, -0.2608430386, -0.3874573708, 0.2277677655, 0.1025996432, -0.0301764254 ]
http://arxiv.org/abs/2407.01687v1
http://arxiv.org/pdf/2407.01687v1
Deciphering the Factors Influencing the Efficacy of Chain-of-Thought: Probability, Memorization, and Noisy Reasoning
2024-07-01T18:01:07
2024-07-01T18:01:07
Akshara Prabhakar, Thomas L. Griffiths, R. Thomas McCoy
cs.CL
cs.CL, cs.AI
Chain-of-Thought (CoT) prompting has been shown to enhance the multi-step reasoning capabilities of Large Language Models (LLMs). However, debates persist about whether LLMs exhibit abstract generalization or rely on shallow heuristics when given CoT prompts. To understand the factors influencing CoT reasoning we provide a detailed case study of the symbolic reasoning task of decoding shift ciphers, where letters are shifted forward some number of steps in the alphabet. GPT-4 achieves zero accuracy on most shift ciphers with standard prompting, but with CoT its accuracy improves to an average of 32%. By focusing on a single relatively simple task, we are able to identify three factors that systematically affect CoT performance: the probability of the task's expected output (probability), what the model has implicitly learned during pre-training (memorization), and the number of intermediate operations involved in reasoning (noisy reasoning). We show that these factors can drastically influence the task accuracy; e.g., varying the output's probability of occurrence can shift accuracy from 26% to 70%. We also demonstrate that it is essential for the model to explicitly produce intermediate steps as output that can be conditioned on to increase the probability of the correct answer. Our experiments indicate that as long as the model does so, the validity of the demonstrations in the prompt does not matter. Overall, we conclude that CoT prompting performance reflects both memorization and a probabilistic version of genuine reasoning.
[ -0.2377359271, -0.9373810887, 1.0946968794, 0.1503436714, -0.4050060511, 0.2224679589, -0.1481394917, -0.5315984488, -0.1346201599, 0.2683548331, -0.5497819185, -0.4363441169, -0.830535531, 0.2787418365, -0.5095125437, 0.9175872207, -0.2312068194, -0.047574982, 0.3102657199, 0.297906667, -0.4500554204, -0.8492703438, -0.638620913, -0.3653080463, 0.486437887, 0.1633188277, 0.7636981606, 0.3990931213, 0.4792176783, 0.2599099874, -0.1533221453, 0.041794043, -0.4744489491, 0.2036819756, -0.2748117745, -0.881082058, -0.2318540365, 0.0005753879, 0.5503262877, 0.4478084445, -0.1749139279, -0.0845161602, 0.0321505256, 0.7408066392, -0.6779102087, 0.0675605983, -0.8448883891, -0.1705050766, -0.0259997752, -0.2982695103, -0.5406474471, -0.296433866, 0.1658218503, -0.7046647072, 0.270508498, 0.0276242997, 0.3909211457, 0.0983083174, -0.4061378241, -0.7321998477, -0.8987182379, 0.7645279765, -0.3773844242, 0.4625180066, 0.6206912994, -0.226408422, -0.4231197834, -0.6388959289, -0.5335590839, -0.2211179286, 0.2050938904, -0.0461372361, 0.0271778256, 0.322545141, 0.677565515, 0.3210663497, -0.0503190458, -0.4264254868, -0.5581579804, -0.2125247866, 0.3538209796, 0.236994803, 0.278583318, 0.2798810005, -0.2448412925, -0.2747144401, -0.6664016247, 0.1499549598, 0.500702858, 0.1343912035, 0.0158896688, 0.3724325895, 0.030253958, 0.7007934451, 0.3238244951, -0.086807549, -0.0498812012, -0.5823856592, -0.169515714, 0.2658308744, 0.53629601, -0.0220917277, 0.4397332966, -0.0321307294, -0.2757948637, 0.2823213339, 0.5307163596, -0.5464627743, -0.3814767003, 0.1026774421, -0.1721540391, -0.2669799626, 0.1391523629, -0.4063590169, -0.0971828625, -0.4109288454, 0.3568587601, -0.5945063829, -0.1437295228, 0.2671064138, -0.3090875149, 0.0303303432, 0.3844956756, -0.8362608552, 0.4475434124, 0.6990460157, 0.753012538, -0.094441466, -0.3009201884, -0.382112056, 0.1143554673, -0.750888586, 0.6785266399, -0.7340224981, -0.1781351417, -0.0641879961, -0.109731622, -0.3623846173, -0.1830996722, 0.3578764796, -0.5531398654, -0.01007686, -0.7362001538, -0.5048887134, -0.0343338251, 0.1144010127, -0.665515244, 0.8795809746, 0.0164953321, -0.6038460732, 0.4451876283, -0.3044728637, -0.4824509025, -0.2805982828, -0.3864025474, -0.0166394729, 0.3500320911, 0.2587492168, 0.0672199205, -0.3446249664, 0.0791190341, 0.0644908324, -0.610096693, 0.7554438114, -0.5533480644, 0.5794765353, 0.1781945676, -0.6072318554, -0.1567274034, -0.4777163267, 0.0982551202, -0.1385196298, -0.1779789776, -0.2021009624, -0.0002956805, -0.5685418248, 0.3784498572, -0.1190419421, -0.2848146856, 0.2074583024, -0.2588575184, 0.2877132893, 0.8405560255, 0.4345778823, 0.3624182642, -0.3057568967, 0.7573105097, 0.1801145822, 0.27412799, -0.0653194934, -0.8350109458, -0.3998757899, -0.0945404693, 0.2578390241, 0.2957975566, -0.8166510463, -0.1157865375, 0.2097877711, -0.1946104169, -0.4537731409, 0.1849744171, 0.5463475585, 0.3213296533, 0.3288908005, -0.3268109262, -0.2775217593, -0.4519847035, -0.3423441648, -0.4119102061, 0.2227219939, -0.1810360998, 0.4178085625, 0.1263092756, 0.3590310812, -0.4872931242, 0.0096763745, -0.311301738, 0.3947718441, 0.4270194173, 0.248459816, 0.1149639487, -0.4947249293, -0.1388357282, -0.3346564472, -0.4779817164, 0.0296764262, -0.3767095506, -0.376814872, 0.2876903713, 0.6052168608, -0.6363526583, 0.7637715936, 0.2931435406, -0.3672279119, 0.8975529671, -0.3818235099, 0.394003123, -0.5788128376, -0.2220113426, -0.2593887746, 0.2023225427, -0.630256772, 0.2440350801, -0.0166481547, 0.1918800175, -0.3540000021, 0.0138196219, -0.584202826, -0.0343259685, -0.1906670779, 0.1880959272, -0.0416862704, 0.5160861015, 0.1369045675, 0.9441201687, 0.4777944088, -0.8319280148, -0.066624932, -0.0832574442, -0.3565968871, 0.1745868176, -0.5974729657, 0.420422852, 0.1903788447, 0.2554356158, -1.0524830818, 0.2287942022, 0.1776432693, -0.2003507763, -0.0307468995, 0.0699975342, -0.4734539986, -0.446577251, -0.2426002324, 0.5563165545, 0.550778985, -0.2794780135, 0.5075847507, -0.1025920734, 0.2192477733, -0.6819939613, -0.4939966202, -0.1087774336, 0.1331487894, -0.1808072478, 0.2432751209, -0.0669392571, -0.38602373, -0.2289970964, -0.6571864486, -0.0080196317, -0.0483211204, 0.1332049072, 0.2950044274, 0.0952208042, 0.1945360005, 0.027148895, -0.0629880726, 0.5109072924, -0.47054708, 0.6873135567, -0.2425240278, -0.4073779881, -0.4233044684, 0.0257051066, 0.6382223964, 0.0198969562, 0.7216066122, 0.4071345329, -0.1192600578, -0.242550537, -0.4939232767, -0.4120118916, -0.4622593224, 0.1181092784, -0.7914620042, -0.4081687927, 0.536922276, -0.0545345396, -0.1584947854, 0.2306455076, 0.5265837312, -0.1895858049, 1.1031855345, 0.2658367157, 0.0871873423, 0.4643335342, -0.3795262873, 0.4203002155, -1.0243725777, -0.1782778054, -0.3607432246, -0.3365497291, -0.6108548045, -0.5522502661, 0.3365891278, 0.2986954749, -0.2392428815, 0.20890297, -0.6128287315, 0.5511037707, 0.4509097636, 0.4138269424, 0.363853395, -0.0622952022, -0.4780823588, 0.4068796635, -0.7396849394, -0.3868289292, 1.1892228127, 0.1714982688, 1.0991002321, 0.0323561281, 0.7822425365, 0.2341496199, -0.2968847156, -0.4823190272, 0.6440104246, 0.2057949603, -0.5298072696, -0.3546614945, -0.2399431765, -1.0538860559, -0.0157061759, -0.1060896814, -0.8310878873, 0.3010233939, 0.2421863377, -0.255913794, 0.299687475, -0.6155969501, 0.2909594774, -0.1760172248, -0.3369284272, -0.4857192338, -0.4876977801, 0.3310637474, -0.0455671437, 0.1203324869, 0.1721629798, -0.0547427125, 0.8450505137, -0.3300185204, 0.789031446, 0.0303133689, -0.2600690424, 0.6579419971, 0.4235625267, 0.8774511218, -0.0752419904, -0.0068614637, 0.2143759727, 0.0748585314, -0.2453563362, -0.8548550606, 0.4124875665, -0.8025406599, -0.9575279355, -0.5939713717, -0.7030118704, -0.19050318, -0.1822886765, 0.4375083148, 0.5282829404, 0.0538533591, 0.0129010556, 0.8468888402, 0.0773326531, 0.263327539, 0.0585534088, -0.293903321, -0.2118639946, 0.613078773, 0.1974991262, 0.8408414125, 0.2864691019, 0.1920144111, -0.4035006166, -0.5332784653, -0.1959867626, 0.0837919265, -1.0562838316, 0.090492107, -0.5527751446, -0.1737781465, -0.1448187828, -0.2737818658, -0.1274261177, -0.512442708, -0.0775567219, -0.2811799347, 0.3508031666, 0.9449723363, 0.1617187411, 0.1123259515, -0.2756449282, 0.4523447156, 0.370778352, 0.0753649399, 0.2490566075, -0.447227031, -0.0430240184, 0.1184917167, -0.4032315016, -0.9911814332, -0.1424011439, -0.2817736864, 0.5296449065, 0.4098220468, 0.0695575252, 0.7679063678, -0.2128034383, 0.9181358814, 0.336586386, -1.1807973385, 0.5241401792, -0.1252563298, 0.5347535014, 0.3823070228, 0.3512123525, -0.0901671275, -0.9248073101, -0.8211457133, -0.5814322829, 0.6391530037, 0.4725714624, -0.2849713862, -0.3849398792, 0.2788257897, -0.0186209977, 0.0401804745, -0.5277777314, -0.0440932475, -0.0032568385, 0.0058784191, 0.1624564379, -0.1112396643, -0.0164561849, -0.3460997045, 0.5416701436, 0.0459330045, 0.5712768435, 0.5234206915, -0.2160585225, -0.1833122522, 0.3669172823, 0.890007019, 1.0947086811, -0.1132675111, 0.3389945328, 0.4231692851, -0.8152313828, 0.348739028, -0.560526669, -0.1015893295, -0.048869811, 0.7262925506, 0.7681711912, 0.1700045913, -0.2821179926, 0.2801502347, -0.0179668777, -0.3509787619, -0.0349071734, 0.4797758162, -0.1723356396, 0.0846966654, 0.4192499816, 0.1976220906, 0.1417953074, -0.8947780728, -0.0135974968, 0.2286697328, -0.1856192648, -0.3949265778, 0.5576377511, -0.08728306, -0.4558729231, 0.7977129817, -0.2196261883, -0.8049893975, 0.7962161303, 0.8622624874, 0.8541355729, -0.3094716072, 0.2186010033, 0.365139544, 0.5946043134, -0.3516985178, 0.5852187276, -0.3185769022, -0.604567647, -0.4742929637, -0.2086366266, -0.3167559505, -0.1013337597, -0.7520645857, 0.1165613979, -0.5197947025, -0.4437847435, -0.28758955, -0.072574921, -0.9386737347, 0.2422041595, 0.0492474735, 0.9407832026, -0.6656538248, 0.7832511067, 0.1886721998, -0.3862791061, -1.0754051208, 0.3078873158, -0.1767223775, -0.9592025876, 0.7412651777, -0.1184810102, -0.4753157496, -0.1871367246, -0.4095537364, -0.9746329784, 0.9203989506, 0.2199829221, -0.9404524565, -0.164080143, 0.1210396439, 0.5808156729, -0.4440606236, 0.4669395685, 0.6706050038, 0.4281575978, 0.2441953421, -0.8623750806, 0.3617328107, 0.2157850116, 0.1344925761, 0.434204191, -0.2497998923, 0.8672339916, -0.6711992025, -0.1249702722, -0.231846258, 0.353158325, 0.5771797299, 0.2941557765, 0.4923206866, 0.3450246453, 0.973216176, -0.02475187, 1.2434434891, -0.4126126766, -0.1409345269, 1.015103817, -0.2404103428, 0.8014181852, 0.6827620864, -0.2759740055, 0.9885274172, 0.3167473972, 0.2778996825, 0.6704823971, 0.3764870167, -0.2166619748, -0.1615691185, 0.3559855223, -0.3806051612, 0.1915147752, 0.5264242291, -0.6099886298, 0.1489208639, -0.0968417227, -0.1632571369, -0.1798708141, -0.5242409706, 0.6927319765, 0.1464375407, -1.033115983, 0.7149851322, -0.3430776894, 0.1044396535, -0.6143330336, -0.1241615117, 0.2194940448, 0.1213777661, -0.0760546252, -0.9554032683, 0.1627281904, -0.1632979214, -0.2607125044, -0.0909663588, 0.6344710588, -0.2761540115, -0.531347096, 0.2224387079, 0.4655744135, 0.2711331844, -0.1151473969, -0.5985510945, 0.4244688153, 0.011087995, -0.2880587578, 0.226683706, 0.7154656053, -0.3363339603, 0.5300791264, 0.817569077, 0.2397525758, 0.0878532678, 0.2781937718, 0.8159758449, -0.8126799464, -0.5626297593, -1.0418277979, 0.2262430042, 0.0124810599, -0.3550720811, 0.5735241771, 0.1920038313, 0.6220244765, -0.0959754959, 0.5992529392, 0.2170588672, -0.2781387568, -0.770942688, 0.2272840887, 0.2195165753, 0.3851261735, -0.4766099453, -0.9419987798, 0.2273924053, 0.5879135728, -0.6356241107, 0.1810083836, 1.5075984001, 0.6991533041, 0.3116095364, 0.4374683499, 0.3498365879, 0.2164548784, 0.2870834768, 0.8683636189, 0.9742738008, -0.448510766, 0.6236070395, -0.1945202351, -0.2422120422, 0.1722748727, -0.8563872576, -1.0690248013, -0.7067610621, -0.4436410666, -0.4566488862, 0.4060621858, 0.9186279178, 0.4365500212, -0.6707741022, -0.1578999609, -0.6996625066, 0.3328112066, -0.7273973823, -0.1620418429, 0.3559314907, -0.6299437284, -0.2454213798, 0.124567993, 0.1912795752, -0.0240354594, 0.0644436851, -0.0277615208, -0.2143838108, 0.401545614, 0.6115120053, -0.1120692939, -1.0803780556, -0.1974057704, 0.0925989598, 0.0089777038, -0.0813151971, 1.0678658485, -0.8474459052, 0.3921354711, 0.3338558376, 0.1646691412, 0.6175570488, 0.0533620864, 0.7965790629, -0.492231369, -0.0878653079, 0.0900086462, 0.2173237503, -0.186329022, -0.730999887, 0.5459727049, 0.2387095243, -0.6817346215, -0.5589946508, 0.1967321932, -0.7100196481, -0.4362421036, 1.2653942108, 0.0168369394, -0.3773860633, -0.3029523492, -0.3526368141, 0.1503367871, -0.4724561572, 0.9686071873, 1.1495605707, -0.4117545485, -0.2158206403, -0.2669955492, 0.5981579423, 0.3044171929, -0.3164632618, 0.1834588945, 0.2268660367, 0.1269019842, 0.243894428, 0.7663451433, -0.0708232298, 0.5590133667, 0.2972604036, -0.2267751247, 0.0385504365, -0.5618923306, -0.1976522058, 0.1981944442, 0.1512786746, -0.1211497709 ]
http://arxiv.org/abs/2407.01527v1
http://arxiv.org/pdf/2407.01527v1
KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches
2024-07-01T17:59:47
2024-07-01T17:59:47
Jiayi Yuan, Hongyi Liu, Shaochen, Zhong, Yu-Neng Chuang, Songchen Li, Guanchu Wang, Duy Le, Hongye Jin, Vipin Chaudhary, Zhaozhuo Xu, Zirui Liu, Xia Hu
cs.CL
cs.CL
Long context capability is a crucial competency for large language models (LLMs) as it mitigates the human struggle to digest long-form texts. This capability enables complex task-solving scenarios such as book summarization, code assistance, and many more tasks that are traditionally manpower-intensive. However, transformer-based LLMs face significant challenges with long context input due to the growing size of the KV cache and the intrinsic complexity of attending to extended inputs; where multiple schools of efficiency-driven approaches -- such as KV cache quantization, token dropping, prompt compression, linear-time sequence models, and hybrid architectures -- have been proposed to produce efficient yet long context-capable models. Despite these advancements, no existing work has comprehensively benchmarked these methods in a reasonably aligned environment. In this work, we fill this gap by providing a taxonomy of current methods and evaluating 10+ state-of-the-art approaches across seven categories of long context tasks. Our work reveals numerous previously unknown phenomena and offers insights -- as well as a friendly workbench -- for the future development of long context-capable LLMs. The source code will be available at https://github.com/henryzhongsc/longctx_bench
[ -0.3815445304, -0.2816128433, 0.6299430728, 0.5921335816, -0.2524296045, -0.0208491404, -0.5948925614, -0.4863611162, -0.024590835, 0.4302581251, -0.4333750308, -0.2933328748, -0.4950295985, 0.154359743, -0.6312609315, 0.5458236933, -0.2752271593, -0.1527662128, -0.6310395598, -0.1739666611, -0.8063833117, -0.6442214251, -0.2545833886, -0.274153322, 0.4093125165, 0.3097194433, 0.0311902799, 0.3608820736, 0.3575959504, 0.2182167917, -0.1658257693, -0.0769747943, -0.5822268724, 0.5170537233, -0.037898805, -0.280367285, -0.4919192791, -0.4338417351, 0.8185390234, 0.540145576, -0.0848978385, 0.2695278823, 0.2795157731, 0.8668670058, -1.0288760662, 0.225975737, -0.4078506231, -0.1664358824, -0.4136927426, 0.0058746631, -0.6441944242, -0.0519769453, -0.0803721249, -0.3291093111, -0.100581333, -0.2685536444, 0.4183367789, 0.5518316627, -0.6574434042, -0.0608778484, -0.8948696256, 0.8909075856, -0.4901075959, 0.6209543347, 0.2891812027, 0.6012986302, -0.2540242374, -1.134860754, -0.54864043, -0.0384042934, 0.0629028678, 0.2699928284, -0.0966368169, -0.0002420359, 0.1741488576, 0.3942192793, -0.2660523057, 0.2006797194, -0.1096416414, -0.2035993338, 0.2095137835, 0.1097934023, -0.1773953587, -0.2437227964, -0.5876598954, -0.328840822, -0.7722585797, 0.3226456642, 0.0378549136, 0.0529662967, -0.1059222743, 0.3619225621, -0.6178466082, 0.67324543, -0.3229532838, 0.1583154947, 0.0112256994, -0.2809064984, -0.2154278606, -0.1163636968, 0.4993329048, 0.3598894775, 0.0510839745, -0.4047150612, -0.3966016173, 0.0481885783, 0.387186259, -0.8593921661, 0.1851840466, 0.2357681841, -0.3308024108, -0.1527356058, -0.1289754808, -0.9649606943, -0.2475474626, -0.278182596, 0.3731015325, 0.0408567227, -0.0191551223, 0.2247800827, -0.1503216326, 0.4144554138, 0.1990813166, -0.6800496578, 0.5462237, 0.9105271697, 0.7301519513, -0.6182415485, -0.1071744263, -0.6232939959, 0.0728487447, -0.0465809032, 0.7339574099, -0.4349163175, -0.5504829288, 0.2462779284, 0.1856992692, 0.2630565763, -0.4926466644, 1.0009064674, -0.5866222978, -0.1529241353, -0.674911499, -0.4899396896, 0.0544050112, 0.3118522465, -0.8666527271, 1.2393574715, 0.3614293635, -0.4889858961, 0.2251046449, -0.3850535154, -0.4162078798, 0.1146670282, -0.0632132515, -0.155687198, 0.3304084837, 0.1380189806, 0.6066736579, -0.5820098519, 0.4012481272, -0.1783443391, -0.294708848, 0.1943788826, -0.5163171887, 0.2823279798, 0.018307792, -0.430601269, 0.1398479789, -0.8106490374, 0.0982542038, 0.0915834233, -0.4150085449, -0.2706497014, 0.1213483065, 0.2250341028, 0.3194579184, 0.3412739336, -0.4282890558, 0.3352095187, -0.0567113385, 0.607087791, 0.8058905602, -0.398475945, 0.3029046357, -0.1057864279, 0.3566842675, -0.1314778328, 0.0568264015, -0.2724156678, 0.0312423706, -0.9252432585, -0.1460922211, 0.3577162027, 0.2391734868, -0.7530068755, 0.2853190601, -0.970185101, -0.5036950111, -0.1198838875, -0.0359333716, 0.3840168715, 0.6611361504, 0.4609194696, -0.5000883341, -0.4357345402, -0.9929252863, -0.0943240747, 0.020123953, -0.0289456081, 0.4549574554, 0.529071331, -0.053304892, 1.0780377388, -0.2985805571, 0.0569638647, 0.0872003287, 0.0160617586, 0.0977171585, 0.3497183919, 0.3489680886, -0.7861075401, -0.2355383933, -0.2011298239, -0.5909022093, -0.1521232277, 0.0596699975, 0.0390321091, 0.2837738097, 0.6327245235, -0.792791903, 0.4207958281, 0.6248750687, 0.1013084352, 0.8115085363, -0.0887104347, 0.0178199988, -1.0497778654, 0.4302106798, -0.2257211208, -0.420641005, -0.516059339, 0.2713179886, 0.4665493071, 0.0362319946, -0.5093004107, 0.7164446115, -0.3818976581, -0.2283552736, -0.3949012756, -0.1537887603, -0.1315557361, 0.4788745642, 0.1110354736, 0.8605494499, 0.172765553, -0.6055204868, 0.423617661, -0.1496168822, -0.4462301135, 0.3580985665, -0.8693611622, 0.2348069102, 0.0070293956, 0.8606193662, -0.8972212672, -0.1954238713, -0.0963432044, -0.1491415203, 0.5503908992, -0.1120046377, -0.7274933457, -0.5538369417, -0.3156116009, 0.8746282458, 0.6414117813, -0.7199702859, 0.517801702, 0.0413894802, -0.0018271693, -0.8009558916, -0.4811845124, 0.2983394265, -0.1776423007, -0.5431720018, 0.6739851236, -0.2113144845, 0.0534412153, -0.3157533705, -0.4481540322, 0.0423470214, 0.1287102997, 0.2850348055, -0.0368064754, -0.1913579255, 0.2831503451, -0.1329668909, -0.3058580756, 0.1690500677, -0.2924287617, 0.7097380161, -0.2302209139, -0.3530303836, -0.1273003519, 0.4231270254, 0.7737826109, -0.0351201259, 0.4435912073, 0.5663615465, -0.3869892955, -0.1720992178, -0.7174602151, -0.0632515177, -0.4532495737, 0.3795884848, -0.132143572, -1.0872400999, 0.6203483939, -0.3075709045, 0.0378399491, 0.4723314643, 0.6753643155, 0.2793046236, 0.5023761988, 0.5961126685, -0.4380060434, 0.126894176, -0.0095393825, 0.0487651974, -0.8486732841, -0.1891086996, -0.7442598939, -0.3055785, -0.4989126027, -0.5757884383, 0.3253364563, 0.0453993753, -0.0549093261, 0.3794398904, -0.4596058726, 0.3993107975, 0.4175609052, -0.2056413442, 0.1162737012, -0.3324164152, 0.05448227, 0.1126369312, -0.4095981121, -0.1991531998, 0.9018902779, 0.3469792902, 0.6573373079, 0.0989221409, 0.5462834239, 0.2667741776, 0.1631445885, -1.0082309246, 0.5582612157, 0.1258471757, -0.3320361078, -0.1961721778, -0.2495243847, -0.9934668541, -0.0642891452, 0.0517336056, -0.7790882587, 0.0091714226, -0.0302035287, -0.0114981001, 0.0540946685, -0.3820797503, 0.7497606874, -0.0556369014, -0.5828224421, -0.2249919176, -0.8878161907, 0.1829991341, -0.0992015228, -0.0031556764, 0.2151906043, -0.1788834184, 0.6491965055, -0.2802542448, 0.8039616346, 0.0322777666, -0.2156053782, 0.0587308593, -0.0304350331, 0.782212019, -0.08645235, 0.1420590878, 0.0804687068, 0.0150486398, -0.5904785991, -0.638005197, 0.8737774491, -0.4638086557, -0.4484848678, -0.2520721853, -0.4295736849, -0.4049540758, 0.3498687744, 0.2541539669, 0.5470009446, -0.1951008141, 0.5030733943, 0.5975266695, 0.0172687937, 0.8311433792, 0.2083968073, -0.0169075821, -0.3660971522, 0.7609107494, -0.0861132964, 0.1407000124, 0.5016697645, -0.0343203358, -0.2134759575, -0.6172677875, -0.177102074, 0.0521914102, -0.9427239895, -0.4796853065, -0.4457998574, -0.2340743244, -0.3773326576, -0.1167557314, -0.624327302, -0.3811551929, -0.1335623264, 0.2561687827, -0.0387790874, 0.5881965756, 0.4778033793, 0.2472099364, -0.8612269163, 0.0695799813, 0.366222918, 0.5420730114, 0.310498327, -0.0642132908, -0.3796027601, -0.1432675421, -0.3552388549, -0.459041059, 0.1746252179, -0.1060250923, 0.3944485784, 0.0837466791, 0.2989107966, 0.7290909886, -0.4947231412, 1.033692956, -0.0071714334, -0.9305554032, 0.1236402541, -0.1494174898, 0.5167381763, 0.5195428729, 0.2771312296, -0.6866819263, 0.1608890146, -0.3914987743, -1.1711294651, 0.1751886457, 0.3692396879, 0.1366400719, -0.1435547322, 0.3747767806, 0.1722832918, 0.2088177651, -0.6165391207, -0.0365214348, 0.0076192883, -0.0811749622, -0.1335050017, -0.4218970537, -0.0771265402, -0.0479608253, 0.4320259988, -0.1850827336, 0.2792342305, 0.2423132062, -0.3376422524, 0.1779610515, 0.5882618427, 0.958322823, 0.5469546914, -0.1355890036, 0.1396280378, 0.2282545716, -0.439112246, -0.00506842, 0.0684968084, 0.2795631588, -0.1973209083, 0.3484245837, 0.5277708769, 0.4362754226, -0.6622154117, 0.6611760259, -0.3815465569, 0.0145679107, -0.4565865397, -0.221739307, 0.059596125, 0.1181129441, 0.5599493384, -0.2536238432, 0.0689086542, -0.2354076952, -0.0223501138, 0.4022371471, -0.374522537, -0.417270571, 0.2874804735, 0.36000067, -0.0929812267, 0.6485093236, 0.1775584966, -0.5626969337, 0.375169158, 0.6029976606, 0.9051654935, 0.2101448923, -0.4835145175, 0.1338236481, 0.0437102839, -0.3403325677, -0.1395344436, -0.6634876132, -0.2041504234, -0.7729018927, -0.7102986574, -0.2390296757, 0.2942622602, -0.8335826397, 0.2651628852, 0.09963011, -0.0845009089, -0.1730099171, 0.0683171377, -0.724390626, -0.0987352431, 0.0671508089, 1.3733767271, -0.4732068479, 0.8218976855, 0.313228786, 0.2052570879, -0.3994284868, -0.0270840842, -0.207352221, -0.6319742799, 0.663177669, 0.4116698802, -0.1814409941, -0.1442725211, -0.5248793364, -0.758210361, 1.2723850012, 0.2439127117, -0.6214065552, -0.2711661458, 0.086080417, 0.3844480813, -0.1013156399, 0.0342551433, 0.5088124275, 0.514220953, -0.0512498096, -1.0427250862, 0.1873256266, -0.2469016612, 0.1572215855, 0.5950236917, -0.6348494887, 0.3230542243, 0.2971829176, -0.1842530668, 0.450766474, 0.8311154246, -0.0424807332, 0.2860582173, 0.5217080712, 0.7016367912, 0.3547398746, -0.0108415149, 1.1435580254, -0.4739770591, 0.3747805655, 0.978402555, -0.2712628245, 1.0467472076, 0.7615372539, -0.1450656801, 0.3313273787, 0.5168558955, 0.213897571, 0.4560257196, 0.3490765095, -0.4667122364, -0.266507268, -0.2727203667, -0.4974065423, 0.3697144687, 0.3015106618, -0.0569854081, -0.2380928993, -0.1870276183, -0.1465023309, -0.2307585925, -0.1403245926, 0.6072095633, 0.1755560189, -1.00593853, 0.6373136044, -0.1184445992, 0.7102142572, -0.6064173579, 0.0732466578, -0.0222160872, -0.01872034, 0.0490834452, -0.6807148457, 0.0482864603, -0.2017900944, -0.3218521774, -0.3050280511, 0.8223409057, -0.0873100907, -0.0410403572, 0.2468606979, 0.4280843735, -0.0567157939, -0.0162198413, -0.0072368439, 0.2868615091, -0.4681338668, -0.3064059615, 0.6141076088, 0.1683614999, -0.2358386368, 0.6273660064, 0.4955206513, -0.0272305887, -0.1656349003, 0.0427608676, 1.0410974026, -0.7361950278, -0.2911611199, -0.8360624909, 0.5458520651, -0.081716463, -0.2832625508, 0.4817066491, 0.5172230005, 0.7678557038, 0.1218839139, 0.4658833742, 0.1323302239, -0.0783702806, -0.5927019715, 0.5003675818, -0.5553515553, 0.117247276, -0.1562615335, -0.9590771198, -0.1491636038, -0.0575613305, 0.1338775009, 0.1043259203, 0.6910133958, 0.4049538672, -0.1975928098, -0.1310098618, 0.212506786, 0.0431377068, 0.4857484996, 0.6928458214, 0.7408171892, -0.3368989825, 0.5604453087, -0.3227012753, -0.0331335738, -0.426453948, -1.3875755072, -0.5164804459, -0.9120382667, 0.0477578007, -0.3784435689, 0.0072316453, 0.7233933806, 0.8706063032, -0.2866851091, -0.1897738129, -0.1114516407, -0.0494412445, -0.13856785, -0.1631739885, 0.4196792245, -0.213853538, -0.5204012394, 0.3657453656, 0.3502436578, 0.0640741438, -0.2871855497, -0.0986143947, 0.426338166, -0.197095722, 0.8442533612, 0.4164506197, -0.7401641607, -0.4122956395, 0.2190873474, -0.1025510579, 0.0793616325, 1.0781365633, -1.073327899, 0.5169930458, 0.5908968449, 0.951902926, 0.677105248, -0.1711630672, 0.585195601, -0.9376749396, 0.0047815628, 0.4064526856, 0.4672658145, 0.2550520599, -0.1052000448, 0.4945910573, 0.0442786142, -0.9117074013, -1.1440768242, 0.2336314917, -1.5493766069, -0.0997336432, 1.1356312037, -0.0541548729, -0.5516073108, 0.1781268269, 0.1220687702, 0.3542841971, -0.3699616194, 0.8081881404, 1.0336900949, 0.1683055013, -0.0602354333, -0.5820692778, 0.388694346, 0.4628075957, -0.8211158514, 0.476117909, 0.3931623101, 0.0328940004, 0.1395594776, 0.4432805777, -0.0682476014, 0.4518887699, -0.337874949, 0.0581969693, -0.047929652, -0.278105408, -0.5824361444, 0.1009394303, 0.0837189555, 0.1665199399 ]
http://arxiv.org/abs/2407.01525v2
http://arxiv.org/pdf/2407.01525v2
Empowering 3D Visual Grounding with Reasoning Capabilities
2024-07-01T17:59:35
2024-07-02T07:37:56
Chenming Zhu, Tai Wang, Wenwei Zhang, Kai Chen, Xihui Liu
cs.CV
cs.CV, cs.AI, cs.CL
Although great progress has been made in 3D visual grounding, current models still rely on explicit textual descriptions for grounding and lack the ability to reason human intentions from implicit instructions. We propose a new task called 3D reasoning grounding and introduce a new benchmark ScanReason which provides over 10K question-answer-location pairs from five reasoning types that require the synerization of reasoning and grounding. We further design our approach, ReGround3D, composed of the visual-centric reasoning module empowered by Multi-modal Large Language Model (MLLM) and the 3D grounding module to obtain accurate object locations by looking back to the enhanced geometry and fine-grained details from the 3D scenes. A chain-of-grounding mechanism is proposed to further boost the performance with interleaved reasoning and grounding steps during inference. Extensive experiments on the proposed benchmark validate the effectiveness of our proposed approach.
[ -0.7165827751, -0.7675870657, 0.9318073392, 0.3479924798, -0.273817122, -0.3846591115, 0.1585982591, -0.4477874637, -0.3078134358, 0.4732712507, -0.3806363642, -0.6161616445, -0.2386682928, 0.1056916192, -0.1967818737, 0.1798592359, -0.2754777372, 0.0971027687, -0.7115274072, -0.2582823634, -0.6063495278, -0.79469347, -0.2848749161, 0.0148383705, 0.3611502647, 0.5097759366, 0.6928631067, 0.7328150868, 0.493299067, 0.2495205849, -0.2013265043, 0.4227286875, -0.2208560854, 0.0605140999, -0.4165577292, -0.5320777893, -0.2837085426, 0.0073800725, 0.4054423273, 0.6451776624, 0.1351493299, -0.1435771435, -0.2238249034, 0.9165976048, -0.8479821086, 0.0103852749, -0.1024535671, 0.1147103235, 0.1561243832, -0.3075277209, -0.1761036813, -0.1587679535, -0.0219432507, -0.7200836539, 0.4123945832, 0.1775573343, 0.6720220447, 0.4434248805, -0.1555841714, 0.2722102404, -0.428648293, 0.4755482972, -0.5068593025, 0.7664744258, 0.3788733184, 0.6243898869, 0.0726088285, -0.475861758, -0.3396768272, -0.23311387, 0.0527528711, 0.3126954436, 0.2814716697, 0.1886286139, 0.6496129632, 0.3351309001, -0.3423059285, -0.2416413426, -0.0792832002, -0.0188419726, 0.3596599996, -0.0501402803, 0.1704452634, -0.111380145, -0.5442311168, -0.3281021416, -0.4677180648, 0.2456915677, 0.1608420461, 0.0455440283, -0.1198270693, 0.9447686076, -0.6984478235, 0.8498140574, 0.0574702509, 0.1639525145, 0.019877037, -0.2527728081, -0.3171620369, -0.0055566602, 0.3411331177, 0.9812405705, 0.1442171782, -0.0874976516, -0.0883721411, -0.0037469566, 0.3227618337, -0.7149379849, -0.1087309346, 0.3929067254, -0.5873629451, 0.1146959066, 0.2060718387, -0.6822165251, -0.703351438, -0.4215874374, 0.1763066351, -0.6273856759, -0.4144399166, 0.5602732301, -0.4402594566, 0.3268939257, 0.8034344316, -0.6267832518, 0.0256891027, 0.7249159217, 0.8438176513, 0.0549439564, -0.4405503273, -0.3035974801, 0.3873507679, -0.3418723941, 1.0610667467, -0.3300021291, -0.2038488239, -0.2363077402, -0.0072255931, 0.2181823999, -0.53137362, 0.4428817332, -0.3764182627, 0.2378105819, -0.5453785658, -0.2038223445, -0.6187198758, 0.7933659554, -0.7289017439, 0.8094083071, 0.038990479, -0.8902686238, 0.3874135315, -0.1936361492, -0.2513975203, 0.0004832672, -0.6274608374, -0.0637207478, 0.2010601461, 0.6377241611, 0.4694008827, -0.4687723517, 0.3663553596, -0.4804219007, -0.5595529079, -0.286659658, -0.3762207925, 0.6528624892, -0.0432504117, -0.4155900478, 0.1768087298, -0.7657578588, -0.0496227965, 0.10273242, -0.1515482664, -0.2434893101, 0.0472749062, -0.3222751915, 0.3719968796, 0.1719281375, -0.2061301321, -0.0085315444, -0.2043537349, -0.0975515991, 0.3965479434, -0.0213278327, 0.4778151214, -0.3335344791, 0.3477860391, 0.1007535234, 0.1016844958, -0.2820589542, -0.7178043127, -0.5445149541, -0.1310596913, -0.3870482743, 0.6420298219, -0.5646078587, 0.3027524352, -0.2290682942, -0.4286584854, -0.2461057752, -0.219245106, 0.4187871814, 0.7177363038, 0.6498246789, 0.4023943543, -0.6168664694, -1.1311591864, -0.1312231719, -0.2177725732, -0.2163915336, 0.1498617381, 0.0904969722, -0.0174238179, 0.9067545533, -0.2096084207, -0.0987574086, -0.0837344527, -0.1901214123, 0.0851642936, 0.6085859537, 0.4947578013, -1.1722347736, 0.0568440072, 0.1022985429, -1.2008639574, -0.0390505418, -0.0212104823, -0.3726827204, -0.1103990152, 1.0461200476, -0.676657021, 0.3848429322, 0.3019053936, -0.4136458635, 0.2957349718, -0.0972539857, 0.4798053503, -0.7407245636, 0.0513295531, 0.0276255216, -0.0829635412, -0.22761482, 0.1968783438, -0.0423506163, -0.2550964057, -0.4777676761, 0.4856180549, -0.5911560059, -0.120449461, -0.0318847671, 0.3410720825, 0.541592896, 0.4832456112, 0.5031534433, 0.499417305, 0.6078779697, -0.574801445, 0.4492939711, 0.2516343892, -0.3692990839, 0.7032746673, -0.5482438803, -0.1341822296, -0.3201552033, 0.3602255881, -1.0309840441, -0.0912656784, -0.0575195886, -0.3024843037, -0.3170088232, -0.4778373539, -0.5015128255, -0.3344705999, 0.0044050482, 0.6077747345, 0.2377524674, -0.7952153087, 0.91040802, 0.1216864809, 0.3658790588, -0.3222110569, -0.5417007804, 0.1033758, -0.3534718454, -1.0017962456, 0.1979979724, 0.1161125824, -0.5398464799, -0.1735253036, -0.4106797576, 0.169982031, 0.1941761672, 0.4009242058, -0.0022417181, -0.3066146672, -0.1631309092, -0.1746175885, -0.4958767295, 0.2491805851, -0.2798249125, 0.2933349311, -0.3350907862, -0.6984382272, -0.3126966953, 0.5406835675, 0.8348231316, -0.1876115054, 0.3947630227, 0.5758882165, -0.6895975471, 0.1539485753, -0.8926691413, -0.1325413138, -0.4446713626, 0.2626428306, -0.8029203415, -0.7363841534, 0.3435671329, -0.3832318783, -0.0030863611, 0.2055637538, 0.2435666919, -0.1191721633, 1.6365045309, 0.3333456516, 0.5211846232, 0.0765513107, -0.2603997886, 0.1046836451, -0.9168200493, -0.6411656737, -0.2807078958, -0.150430128, -0.100205265, -0.7733799815, 0.2567989528, 0.9653394222, -0.3169075847, 0.0056924168, -0.4880685508, 0.450950861, 0.5930925012, 0.2196656018, 0.1779349744, 0.048446618, -0.3439207077, 0.118051894, -0.6976331472, -0.4594906271, 0.256147325, 0.1705311537, 0.4405018985, 0.1153193787, 0.147042647, -0.0678016096, 0.1202444956, -0.4067957401, 0.7167317271, 0.0485931076, -0.4202150404, -0.219487533, -0.2049211115, -0.2357690334, 0.7490153313, -0.2267834395, -0.4977785647, 0.3599840701, 0.1766574681, -0.3406445682, 0.4767112434, -0.727442503, 0.9789681435, -0.2250192165, -0.6885418892, -0.0800826177, -0.6177853942, 0.4450798929, 0.6364790797, 0.2078225464, -0.3741478324, 0.2374637872, 0.3434610963, -0.4197937846, 0.5934147835, -0.6152529716, -0.3215785325, 0.2424892485, 0.1695919931, 0.373919785, 0.5504453182, -0.1617067903, 0.2997093499, -0.2670215368, -0.3192004263, -0.8181678057, 0.7414660454, -0.3695129156, -0.9538379312, -0.1006257161, -0.5325955749, -0.5865585208, 0.4710967839, 0.3030681312, 0.3619474471, -0.1079762951, 0.3767876923, 0.6191766858, -0.1200491562, 0.0528173894, 0.1868787408, -0.4166179597, -0.5295586586, 0.5632415414, -0.4337287545, 0.0359853469, 0.7713392377, 0.1913652122, -0.5134819746, -0.5762133598, -0.6000161171, -0.0732672065, -0.9032515883, -0.1636072397, -0.8800574541, 0.0487726517, -0.2872180641, -0.7814115286, -0.4759922624, -0.3744454384, -0.0777751878, -0.4019060731, 0.2189363092, 0.328242898, -0.1685739309, -0.0400111489, -0.6211687326, 0.9008764625, 0.5377410054, 0.53050071, -0.1124709547, -0.0918182284, -0.1411792338, 0.3072611094, 0.3526138961, -0.3309184015, -0.1214747801, -0.5938352346, 0.6649953127, 0.3301065564, -0.1871604919, 1.117915988, -0.4443402886, 0.6410171986, 0.3269637823, -0.6173377633, 0.8874295354, -0.4217918515, 0.4961093962, 0.5490546823, -0.0033732615, -0.2810319364, -0.2577109635, -0.3370549083, -0.6252449155, 0.6217208505, 0.1088656634, -0.4019147456, -0.2653677166, 0.380364269, -0.2070183009, -0.2502191961, -0.2971023023, 0.0860297084, -0.5627193451, 0.2148482203, -0.0016317819, -0.3024592996, -0.4055812359, -0.3808179498, 0.1558029056, -0.3428048491, 0.0230235979, 0.5316426158, -0.1515540034, 0.1180332825, -0.26615569, 0.5966172218, 0.698433876, -0.4298936129, 0.4699530602, 0.2047130764, -0.1308752447, 0.1829236001, 0.2007351816, 0.0243512932, -0.1754771918, 0.4045206606, 0.7739453316, 0.1920388341, -0.7038929462, 0.6439173818, -0.1894254535, -0.3563053906, -0.270781219, 0.0818938315, 0.0973011777, 0.4764728844, 0.1362197697, 0.3127534688, 0.0481312498, 0.0770741105, 0.2171680927, 0.208999753, -0.4550147653, -0.0459935702, 1.0000948906, 0.1425645351, 0.0168497656, 0.5948169231, 0.1647341996, -0.2410637587, 0.7028297782, 0.5759060979, 0.7856146097, -0.0482742079, 0.0274632741, 0.6525610089, 0.3100813627, -0.5470724106, 0.3896200657, -0.1634298414, -0.8732330799, -0.3279953301, -0.1437455416, -0.327776432, -0.0978930146, -0.7335618138, 0.4609534144, -0.6367595196, 0.1654984504, -0.5221133232, -0.4253304303, -0.6209933162, 0.6009090543, 0.5371319056, 1.1210716963, -0.5052253008, 0.2969664335, 0.9571425319, -0.2738026083, -0.2049082369, -0.1530122161, -0.0082129287, -0.7553952336, 0.6285384297, 0.6922801137, -0.6966066957, 0.0055972012, -0.5588580966, -0.8481323719, 1.2719604969, 0.2665091157, -0.4783723652, -0.0100705866, -0.0655239001, 0.2292673588, -0.3253912032, 0.2321099192, 0.3102404177, 0.5364087224, 0.1635069847, -0.2785046995, 0.202165544, -0.5512889624, 0.1393785328, -0.1412265897, -0.5700796843, 0.7270931602, -0.2939206064, -0.3980587423, -0.1567537934, 0.7647954226, 0.8788677454, 0.1191089898, 0.7965100408, 0.9835412502, 0.4809495509, -0.0232275445, 1.1226080656, -0.2087959498, -0.1838753819, 1.0955286026, -0.3323249519, 0.4295580983, 0.4448269904, 0.2716189921, 0.4328359663, 0.3247958124, 0.1810171008, 0.592015326, 0.1097808778, -0.1035575867, -0.712808013, 0.0286484454, -0.5667790771, 0.3626506031, 0.4991193712, 0.0608956888, -0.3958490491, 0.1199320108, -0.3054025173, 0.1991054416, -0.2359033376, 0.5313969851, -0.1186222658, -0.6293621659, 0.5786895156, -0.0591319315, 0.2021882385, -0.2993823588, -0.5415015817, -0.3382463157, 0.1357624233, -0.1035960689, -0.9298915863, 0.0317398459, -0.3511252701, -0.356310904, -0.6691585779, 0.5220594406, -0.1349521726, -0.3120841682, 0.4845946729, 0.5083830953, -0.0918061584, -0.4832392931, -0.4942666888, 0.089120537, -0.117958419, -0.2004105896, 0.0262220018, 0.9923392534, -0.3105604649, 0.6762192845, 0.8496640921, -0.3035573959, -0.1077702865, 0.4606840312, 0.8463763595, -0.8472922444, -0.6563521624, -0.6508805156, 0.6236252785, -0.3430384994, -0.3402589858, 0.940653801, 0.8170425892, 0.8025868535, -0.0122123668, 0.6932029128, 0.0796001256, 0.3551834822, -0.8502833843, 0.1070239544, -0.6019811034, 0.3038835526, -0.0972147658, -1.0540399551, -0.7038084269, 0.861127913, -0.1977717876, -0.0689618215, 0.751145184, 0.6131999493, -0.3533968925, 0.1061507612, 0.5464353561, 0.0233142152, 0.530626595, 0.3181256652, 1.2158136368, -0.2312479466, 0.2757669687, -0.5814577937, -0.3490677178, -0.2349416167, -0.8573818803, -1.0044623613, -0.4062860012, -0.1169991419, -0.4544906318, -0.1182099134, 0.3879463375, 0.7419531941, -0.6527639031, 0.0500165001, -0.7596677542, 0.1278383285, -0.4623928964, -0.2239619941, 0.396763593, -0.1120700389, -0.3638889492, 0.695726037, 0.6090784073, 0.1503898501, -0.2791049778, 0.0591023676, -0.2987096608, -0.3966372013, 0.7038322091, 0.1338428855, -0.8021607995, -0.477221638, 0.0412060507, -0.0824812278, 0.0777826756, 1.0548764467, -0.9503591657, 0.499458462, 0.7157219052, 0.4195071161, 0.3834623396, 0.5906093717, 0.8361329436, -0.4603622258, 0.5306831002, 0.2784173787, 0.5993337631, 0.4775386751, -0.275634706, 0.6701191068, 0.220835641, -0.2158813477, -0.5093569756, 0.1915352494, -0.8767530918, -0.2402222753, 1.1751848459, -0.0263565052, -0.167622149, -0.3232370317, -0.5096086264, 0.0074604671, 0.1511714309, 0.5314244628, 0.5697178841, -0.1384430528, -0.5636464357, -0.3927352726, 0.5574738979, 0.4296153784, -0.9115782976, 0.2454737872, 0.869638741, -0.2023366094, 0.3344124556, 0.5556809306, -0.3311518133, 0.4064797759, 0.2874207497, 0.0912719294, -0.2816654146, -0.6230694056, -0.1350476295, 0.3683083653, -0.3256768882, -0.1303413212 ]
http://arxiv.org/abs/2407.01523v1
http://arxiv.org/pdf/2407.01523v1
MMLongBench-Doc: Benchmarking Long-context Document Understanding with Visualizations
2024-07-01T17:59:26
2024-07-01T17:59:26
Yubo Ma, Yuhang Zang, Liangyu Chen, Meiqi Chen, Yizhu Jiao, Xinze Li, Xinyuan Lu, Ziyu Liu, Yan Ma, Xiaoyi Dong, Pan Zhang, Liangming Pan, Yu-Gang Jiang, Jiaqi Wang, Yixin Cao, Aixin Sun
cs.CV
cs.CV, cs.CL
Understanding documents with rich layouts and multi-modal components is a long-standing and practical task. Recent Large Vision-Language Models (LVLMs) have made remarkable strides in various tasks, particularly in single-page document understanding (DU). However, their abilities on long-context DU remain an open problem. This work presents MMLongBench-Doc, a long-context, multi-modal benchmark comprising 1,062 expert-annotated questions. Distinct from previous datasets, it is constructed upon 130 lengthy PDF-formatted documents with an average of 49.4 pages and 20,971 textual tokens. Towards comprehensive evaluation, answers to these questions rely on pieces of evidence from (1) different sources (text, image, chart, table, and layout structure) and (2) various locations (i.e. page number). Moreover, 33.2% of the questions are cross-page questions requiring evidence across multiple pages. 22.8% of the questions are designed to be unanswerable for detecting potential hallucinations. Experiments on 14 LVLMs demonstrate that long-context DU greatly challenges current models. Notably, the best-performing model, GPT-4o, achieves an F1 score of only 42.7%, while the second-best, GPT-4V, scores 31.4%. Furthermore, 12 LVLMs (all except GPT-4o and GPT-4V) even present worse performance than their LLM counterparts which are fed with lossy-parsed OCR documents. These results validate the necessity of future research toward more capable long-context LVLMs. Project Page: https://mayubo2333.github.io/MMLongBench-Doc
[ -0.6121028662, -0.703070581, 0.9369602799, 0.2208199054, -0.4336338341, -0.2402633876, -0.3479478359, -0.5138704181, -0.0688046589, 0.5495511889, -0.4988444149, -0.6962694526, -0.4767756164, 0.2244721949, -0.3378928006, 0.6368951201, -0.231336087, 0.1268698722, -0.4214798212, -0.4557535946, -0.3885748386, -0.3952028155, -0.377707243, -0.0402014144, 0.7104600072, 0.0517141409, 0.3590599298, 0.4699363112, 0.3832916021, 0.289274931, -0.0075994204, 0.2808161974, -0.4926326573, 0.1191649884, -0.1146678478, -0.1824026704, -0.5134232044, 0.0276522096, 0.7069336176, 0.7850564122, 0.1005528346, -0.1206125543, 0.0751280114, 0.6832392216, -0.6896257401, 0.2546051741, -0.2265488803, 0.0819265619, -0.1747361422, -0.3289437592, -0.6829065084, 0.0199071039, 0.0045511806, -0.9011089802, 0.1547550112, 0.1391887367, 0.6093139052, 0.2039996982, -0.8513721228, -0.2484216094, -0.2782732248, 0.7336256504, -0.5320883989, 0.7433578968, 0.4823470116, 0.4964415431, -0.1811740398, -0.8414306641, -0.6929915547, -0.3231265545, -0.1374859959, 0.4484096766, -0.1452987492, 0.0414588749, 0.6109724045, 0.2671823502, -0.6936804652, 0.2495343387, -0.5160327554, -0.2001323402, 0.3357664943, 0.2848543227, -0.1475592852, -0.4372389317, -0.5151105523, -0.286136955, -0.1889362037, 0.1531994045, 0.1490806341, -0.0918051973, -0.0866676643, 0.4943520427, -0.2576718032, 0.9438661337, -0.2162442803, -0.3490686417, 0.4864458442, -0.3395686746, -0.3203692734, -0.3083338141, 0.6321136355, 0.8244704604, 0.1500317603, -0.1166616306, -0.1643406153, -0.2107112408, 0.3515420258, -1.0938122272, 0.1018826067, 0.1764474064, -0.5321604013, 0.0905812308, -0.0456904061, -1.0341787338, -0.8274415731, -0.5640780926, 0.284827441, -0.5852133036, 0.1000127643, 0.2724022269, -0.2984607816, 0.1877255142, 0.7652339935, -0.5680359006, 0.1102523506, 0.7999380231, 0.8905161619, -0.4404396117, -0.6840319633, -0.8170385957, 0.1121684387, -0.3540893197, 0.8314326406, -0.4634828866, -0.7013852596, -0.0656514317, 0.1980119497, -0.1855160296, -0.4047037363, 0.8514695764, -0.1906320304, 0.4678750336, -0.4411236048, -0.6117655635, -0.1496652365, 0.7247942686, -0.742435813, 0.7992607951, 0.1598300785, -0.8371585011, 0.4894048274, -0.659247458, -0.244377777, -0.2455847114, -0.4928149283, -0.0254002362, 0.2038391232, 0.3355429769, 0.481882304, -0.3411789536, 0.1045714542, -0.3160974979, -0.4043365121, 0.1450618953, -0.6908117533, 0.4921866357, 0.025448937, -0.3307894468, 0.3423434794, -1.015024066, -0.1250249743, 0.0695518479, -0.5258522034, -0.3620323539, -0.095092766, 0.3007725775, 0.2892978191, -0.0216334406, -0.5005591512, 0.3870084882, -0.1177068204, 0.1536187232, 0.7304406166, -0.1730012, 0.150782913, -0.1346011609, 0.4591852129, 0.0451841541, 0.0990025401, -0.6333720088, -0.2362501919, -0.677778542, -0.4128922522, -0.0207794718, 0.1562853605, -0.6780012846, 0.1758905798, -0.662772119, -0.3072882891, -0.2371676862, -0.0220217444, 0.3925589621, 0.8976922631, 0.5610498786, -0.395028621, -0.0560215525, -1.0010273457, -0.0676023662, 0.1357434988, -0.2327884734, 0.5427879691, 0.7070392966, -0.2859366238, 0.6278582215, -0.5680516958, -0.3405975997, 0.1105215177, 0.369122982, 0.1480442435, 0.1917431206, 0.5781804323, -0.8632113338, -0.3865816891, -0.0482203811, -0.9082111716, -0.0149252666, -0.2238710076, 0.0937090591, 0.4570336342, 0.6882787943, -0.6423364878, 0.516757071, 0.4350391328, -0.5602280498, 0.6734623909, -0.5441781282, 0.3765186965, -1.0108646154, 0.300955832, 0.0118779289, -0.1852559894, -0.4346923828, 0.2036977708, 0.4979089797, -0.1902244538, -0.4052329063, 0.7009295821, -0.6037712097, -0.1666595787, -0.2351669669, 0.3601420224, 0.3492934704, 0.5235882998, -0.071816273, 0.9174652696, 0.2515746057, -0.0493389256, 0.1568811536, -0.0479558632, -0.5147282481, 0.8508138061, -0.4770188034, 0.1166482195, -0.1838745177, 0.6438260674, -0.855417788, -0.1837310791, -0.0914130136, -0.0917547271, 0.4652035832, -0.1554216444, -0.7385621071, -0.4107697606, -0.5113587379, 0.403047353, 0.1309388429, -0.6226814985, 0.9926849008, 0.0047567314, 0.2078888714, -0.6415332556, -0.4047693908, 0.2306112498, -0.0834613666, -0.8988139033, 0.3048554957, -0.3418981135, -0.2641426325, -0.4580947161, -0.2707409561, 0.1350751221, -0.0603994355, 0.5826228857, -0.1184509397, -0.2731572688, 0.2303567976, -0.1872523874, -0.2772236466, 0.07362023, -0.0224654768, 0.6789402366, -0.3430978656, -0.7239191532, -0.0885846838, 0.5784640908, 1.012144804, -0.3974369764, 0.4611898959, 0.7549220324, -0.1891915798, -0.1467321515, -0.8128457665, 0.1398874819, -0.4293068349, 0.3378791511, -0.6914171576, -0.6805539727, 0.5055453777, -0.1164587736, -0.0375543386, 0.5220187306, 0.448007077, -0.089188002, 0.7494435906, 0.6322045922, -0.1547398418, 0.273342967, -0.3218059242, -0.0804669932, -0.7539425492, -0.335236609, -0.3129275441, -0.1536005735, -0.3272882104, -0.9058660269, 0.4988012016, 0.1174339652, 0.2002240866, -0.0025421749, -0.230845958, 0.5228723288, 0.4544584751, -0.0722968876, 0.3850544691, -0.2641991079, -0.3014295101, 0.0330227911, -0.1733797491, -0.3668571711, 1.1331156492, 0.2993812561, 0.606159389, -0.0885571241, 0.5496666431, 0.1356250942, 0.0993320718, -0.7608604431, 0.6006561518, -0.0142193809, -0.4599197507, -0.3352377713, -0.1886015832, -0.9914978743, 0.7747408748, -0.0160786808, -0.76887995, 0.2440423071, -0.2304543257, -0.0374800563, 0.1725235879, -0.6749159694, 1.1690350771, -0.5034511685, -0.5565829277, -0.3760545254, -0.5481130481, 0.2031098902, -0.307064116, 0.3270365, -0.0702179074, -0.1434166878, 0.7078456283, -0.3184188306, 0.5658168197, -0.218114391, -0.1724065691, -0.0664383098, -0.0447716229, 0.3921256065, -0.0066826623, -0.3202072978, 0.0721221268, 0.1965141147, -0.3902081549, -0.6192215681, 0.8170403838, -0.450747788, -0.5476034284, -0.4843323827, -0.6187595129, -0.1479661912, 0.6031626463, 0.1050997004, 0.6774557829, -0.3499161601, 0.5461971164, 0.5122071505, -0.2118193656, 0.3850495517, 0.7164590359, -0.389092505, -0.1630600989, 0.6931151748, 0.0280397534, -0.0671160072, 0.3037981689, 0.248542577, -0.1668118984, -0.754676044, -0.5303555131, 0.0824809, -1.1154907942, 0.1073107198, -0.8407446742, 0.1755102277, -0.2074780762, -0.1374593675, -0.2279967815, -0.1371755451, -0.1703743488, -0.0904410258, -0.0492732041, 0.4779004753, 0.0872004703, 0.0058386475, -0.595123589, 0.5783858895, 0.2527946234, 0.4624639153, -0.0365984887, -0.320921123, -0.1194322258, -0.205395937, -0.2901908457, -0.7993454337, 0.2181654125, -0.1315833628, 0.6357050538, 0.6359402537, -0.0245758556, 0.8124076128, -0.4539643228, 0.6585482955, 0.2001544386, -0.6810646057, 0.2874635458, -0.6189149022, 0.3785289228, 0.8787638545, 0.3804480135, -0.5028913021, -0.0668635368, -0.1834617257, -0.8366363049, 0.5096349716, 0.0200703628, -0.1229752153, 0.0962532535, 0.0132747991, 0.3761112988, 0.1681199819, -0.5997757316, 0.0847770199, -0.2818428874, -0.035134241, -0.4335229695, -0.222231105, -0.257409215, -0.3488659859, 0.0831524432, -0.400598377, -0.1244215742, 0.1818299443, -0.3131043911, 0.2144985348, 0.3237202764, 0.9778126478, 1.2218672037, -0.5280674696, 0.2194932699, 0.1607693434, -0.3729072213, -0.3419931233, 0.4939923286, 0.1805487126, -0.009709375, 0.5559430718, 0.7128804326, 0.2085844725, -0.9621186256, 0.8432851434, -0.2953590453, -0.3374719024, -0.4355773032, -0.2302328795, 0.117758505, 0.2508612573, 0.3804148138, -0.3023428917, 0.1571754962, -0.581618309, -0.0299283136, 0.324572593, -0.3114337027, -0.0228337683, 0.4548795819, 0.2222891897, -0.1775750667, 0.6206297874, 0.0560129546, -0.372918278, 0.4805296361, 0.2345217615, 0.5240574479, 0.3404836953, -0.2845173776, 0.1949406564, 0.1091400757, -0.0069193081, 0.1294734776, -0.4807360172, -0.1013744473, -0.1673593819, -0.6163781285, -0.4422043562, 0.2613011301, -0.6149168015, 0.1660724282, -0.1527922451, -0.018943565, 0.3304570913, 0.0610783212, -0.888314724, 0.2196641564, 0.163766861, 1.1800158024, -0.4695788324, 0.9109830856, 0.1432723105, -0.4900166094, -0.2873375118, 0.0211134721, 0.2146540731, -0.6868029833, 0.4712905586, 0.6222561002, -0.167387411, -0.4194406271, -0.2602271438, -0.5003581047, 1.3582633734, 0.03377923, -0.6880068183, -0.1123259738, 0.0783982947, 0.7038876414, -0.1906292886, 0.370202899, 0.4855350554, 0.8037282228, -0.2508242428, -0.9006769657, 0.0650616065, -0.4297614098, -0.4177916348, 0.2536604106, -0.5811398029, 0.8579090834, -0.0747944638, -0.0764563754, 0.0958187059, 0.43716079, 0.2148951143, 0.8444184661, 0.6664725542, 0.6108192801, 0.7585507035, 0.0636921301, 1.3127808571, -0.4108451605, 0.088474378, 1.3544751406, -0.2180544436, 0.9813149571, 0.8178701401, 0.1116580442, 0.3459362984, 0.4181368649, -0.3031020463, 0.2698774934, 0.3062750697, 0.0140503077, -0.267742604, 0.0226433557, -0.6314285398, 0.4442362785, 0.2389635742, -0.4671405256, -0.3596878648, 0.1733871847, -0.194822669, -0.0415516272, 0.0241210703, 0.634765327, 0.1299899668, -0.7623114586, 0.5917045474, -0.0248739608, 0.6939871907, -0.7691139579, 0.1545464396, -0.3578668833, 0.3225284219, 0.0064717843, -0.8144034743, -0.1331218481, 0.0014579933, -0.3669447005, -0.304682821, 0.4873948991, -0.1673448831, -0.5245687962, 0.6413344145, 0.6182539463, 0.2909309566, -0.433532089, -0.3941698372, 0.2238896936, -0.1821659654, -0.4940107465, 0.5405017138, 0.4397821724, -0.1440413892, 0.6392787099, 0.6351031065, -0.3312213421, 0.0381551683, 0.3498004079, 0.9713301659, -0.7112919092, -0.5143342018, -0.7064726353, 0.5325715542, -0.3508033454, -0.4936975539, 0.8743975163, 0.9484609365, 0.8459076881, -0.0473879464, 0.4387112856, 0.3804184198, 0.2480268776, -0.5170499682, 0.8953341246, -1.0812616348, -0.0514681861, -0.2090550363, -0.8421996832, -0.1138875261, 0.2774747312, -0.3203774095, -0.1072986424, 0.9047459364, 0.6320208907, -0.4183783829, -0.1001191735, 0.4333536625, 0.109263286, 0.5671653152, 0.5497358441, 0.7791308165, -0.1821066886, 0.6622095704, -0.3619594276, -0.0921300575, -0.3393346071, -0.9475674033, -1.0809623003, -0.6820079684, 0.1100368053, -0.1821765304, -0.0337599479, 0.4949768484, 0.6615341902, -0.3671139181, -0.1410734802, 0.3263652623, -0.1148054078, 0.1038313061, -0.1302189529, 0.7009912133, -0.0187568292, -0.5557160378, 0.7010309696, 0.4800769389, 0.0501360223, -0.2434411943, -0.1121369675, 0.0899653435, -0.1036829203, 0.9059197903, 0.1231089607, -0.953961134, -0.2543551326, -0.133558929, -0.3165121078, 0.3038715124, 0.8853591084, -0.6529840827, 0.934743464, 0.6772455573, 0.5152570605, 1.0095272064, 0.0652555227, 0.3493670225, -0.3607793152, 0.2284538895, 0.1938283443, 0.6879469752, 0.279068619, 0.093943961, 0.6595520973, 0.0294582527, -0.3838198781, -0.9670569301, -0.0591399521, -1.5452326536, -0.6546854973, 1.0153928995, -0.1600632668, -0.2277711481, 0.0818180293, -0.4559781253, 0.0586219504, -0.2995903194, 0.8047694564, 0.6733050942, -0.0787004903, -0.0829202458, -0.8121008873, 0.1514791995, 0.3894081712, -0.985670805, 0.1492209882, 0.8880322576, 0.1791301668, 0.3677508533, 0.7760153413, 0.0847482607, 0.2998503149, 0.123160623, -0.2750979662, -0.5988145471, -0.3941787779, -0.4150689244, 0.5309152007, -0.2269919068, 0.016435286 ]
http://arxiv.org/abs/2407.01509v1
http://arxiv.org/pdf/2407.01509v1
MIA-Bench: Towards Better Instruction Following Evaluation of Multimodal LLMs
2024-07-01T17:53:35
2024-07-01T17:53:35
Yusu Qian, Hanrong Ye, Jean-Philippe Fauconnier, Peter Grasch, Yinfei Yang, Zhe Gan
cs.CV
cs.CV, cs.CL
We introduce MIA-Bench, a new benchmark designed to evaluate multimodal large language models (MLLMs) on their ability to strictly adhere to complex instructions. Our benchmark comprises a diverse set of 400 image-prompt pairs, each crafted to challenge the models' compliance with layered instructions in generating accurate responses that satisfy specific requested patterns. Evaluation results from a wide array of state-of-the-art MLLMs reveal significant variations in performance, highlighting areas for improvement in instruction fidelity. Additionally, we create extra training data and explore supervised fine-tuning to enhance the models' ability to strictly follow instructions without compromising performance on other tasks. We hope this benchmark not only serves as a tool for measuring MLLM adherence to instructions, but also guides future developments in MLLM training methods.
[ -0.2351493984, -0.7921776772, 0.6043788791, 0.3843912184, -0.2288792431, 0.0425539054, -0.2884652913, -0.1412675083, -0.270652622, 0.358024478, -0.9857849479, -0.7737044692, -0.6068927646, -0.0094535919, -0.4267440736, 0.5493181348, -0.1867427975, 0.669514358, -0.5719860196, -0.3007488847, -0.8369863629, -0.4552905262, -0.3045350015, -0.0907545462, 0.5952323079, 0.2812559605, 0.3946129978, 0.7758119106, 0.660007298, 0.3150132596, 0.2183469236, 0.475002259, -0.3611456454, 0.2208816558, -0.1404671222, -0.517837882, -0.5571409464, -0.1066837534, 0.7597753406, 0.8583419323, -0.0761239082, 0.2593477666, 0.1222178265, 0.7358166575, -0.7734680176, 0.293707937, -0.2613495886, 0.0885113552, -0.0977575108, -0.2372878939, -0.7971689105, -0.4886028469, -0.0927530453, -0.5364271998, -0.076618202, -0.0096797254, 0.7219282389, 0.4304043949, -0.5937191248, -0.1422991157, -0.3812091053, 0.854855001, -0.6374291778, 0.65827775, 0.5447410941, 0.523952961, -0.1866255999, -0.6655935645, -0.1014657021, -0.5953735113, 0.1760627031, -0.0076181502, -0.0789183676, 0.0402708203, 0.2578544319, -0.0856935009, -0.3943963051, 0.0079431562, 0.0307333861, -0.107509695, 0.4513911307, 0.5322737694, 0.1430498064, 0.2937696576, -0.7324600816, -0.2084247023, -0.8001008034, -0.0098718219, 0.1133325025, 0.1726283282, -0.3307661414, 0.6563246846, -0.2350654751, 0.7965251803, 0.0447003357, -0.1888169795, 0.3455701172, -0.418409884, -0.0697511286, -0.2318778485, 0.4242032766, 0.6819380522, 0.3005309999, -0.1515872926, -0.4597622454, -0.1922661066, 0.2523566484, -0.7568746209, -0.101219818, -0.1871327907, -0.6613801718, 0.1511239856, -0.1353933662, -0.7446146011, -0.6277195811, -0.8604992032, 0.8669730425, -0.5169683695, 0.0528813414, 0.030214252, 0.1370238662, 0.2521966994, 0.632958591, -0.7311292291, 0.3137441874, 0.7897437811, 0.8185468316, -0.0899792537, -0.5911318064, -0.9917416573, 0.1682925671, -0.493172586, 0.8135638237, -0.7341471314, -0.2546205223, 0.1258295923, 0.0255323555, -0.3405816555, -0.5123358965, 0.5590080619, -0.2092045844, 0.059594918, -0.4173311591, -0.6935850978, -0.1859829426, 0.4524568915, -0.5510052443, 0.9302337766, 0.3706540167, -0.1691362858, 0.371309936, -0.6135298014, -0.340023905, -0.4385351241, -0.0597908497, -0.1322383434, 0.1817320734, 0.2525956333, 0.4299856126, -0.32900998, 0.079602018, -0.6282337308, -0.5695904493, 0.4359282553, -0.7702999711, 0.5366231203, -0.0078873876, -0.4648900032, 0.6231267452, -0.9259104729, 0.2391853482, -0.1074785516, -0.4198035896, -0.1227467507, 0.0339915752, 0.1626712829, 0.1853078753, 0.1875444353, -0.2407503575, 0.3430821598, 0.0214080717, 0.1016230211, 1.2446137667, -0.2770161033, 0.2425832003, -0.4846467674, 0.5980448723, -0.2821796238, 0.4803376496, -0.4557828009, -0.1559290439, -0.9245235324, -0.6620272994, 0.4804216921, 0.2554929852, -0.3443684578, 0.2721877992, -0.2618584335, -0.4064742029, -0.7821055055, 0.3825731277, 0.8067166805, 0.3108455837, 0.4263860285, -0.4308884144, -0.6098388433, -1.0650416613, 0.0376840569, 0.2290003002, 0.0425723493, 0.3548296988, 0.4292618632, -0.1207992211, 0.4179296196, -0.0681251511, -0.1637326777, 0.0475362428, 0.2864518464, 0.0436396413, 0.5439793468, 0.6850739121, -0.2994287014, -0.7202985287, -0.2504507601, -0.7615990639, -0.1602883041, -0.1285028905, -0.2320975661, 0.4386726618, 0.4886601567, -0.610406518, 0.1441843212, 0.5351736546, -0.332858026, 0.555513382, -0.1808930933, 0.4564651549, -0.8471133113, 0.0976191685, -0.258079201, -0.2507168949, -0.5392221212, 0.2173915654, 0.3650236428, 0.1804993749, -0.6414866447, 0.4875414073, -0.796267271, -0.3060725033, -0.067354314, -0.1306756884, 0.0993134677, 0.5028291345, -0.2568730116, 0.9311263561, 0.7419164181, -0.3646352887, 0.3740812838, 0.1429792643, -0.7719080448, 0.7834755778, -0.5188824534, 0.3713358343, -0.0520322695, 0.2068875432, -1.2437382936, -0.1784995794, 0.0253414251, -0.0047130026, 0.5017157793, -0.2392204702, -0.7424464822, -0.0288131386, -0.6114330888, 0.124752216, 0.432725817, -0.591817081, 0.8102531433, -0.0968129486, 0.1184050813, -0.7552360892, -0.5538988113, 0.0418370366, -0.0344563685, -0.5474050641, 0.1302135587, -0.5345767736, -0.1172127128, -0.1386916935, -0.1650947928, -0.1980185658, 0.2987518609, 0.4030489922, 0.3036248088, -0.5455964804, 0.0752768815, -0.2172094136, 0.1087390855, 0.2472122014, 0.2343770862, 0.9255319834, -0.1478632241, -0.823569715, -0.865285337, 0.331797868, 0.8942427635, -0.192943424, 0.5856457353, 0.8540776372, -0.1559350044, -0.0394619666, -0.5914291143, -0.1499294788, -0.4998117089, 0.4376232624, -0.5374968052, -0.383872956, 0.2401870191, -0.0125869503, 0.0832030624, -0.0673111528, 0.6401498318, -0.3801862895, 1.3670691252, 0.5670360327, 0.0312604271, 0.4513581693, -0.043581754, -0.309781909, -0.8405649066, -0.4361052811, -0.3727773428, -0.6387295127, 0.0075539649, -0.623427093, 0.1517950445, 0.2266166955, -0.2426707894, 0.0552075021, -0.0852230862, 0.4117033482, 0.5918600559, 0.2398477644, -0.00037318, -0.2390090078, -0.2195310295, -0.0015076632, -0.5470289588, -0.4846335351, 1.2691220045, 0.3551799357, 1.0489834547, 0.2632489502, 0.4767202735, 0.3476901948, 0.5500372052, -0.5879771709, 0.6918519139, -0.0371105969, -0.5600280166, 0.0462528318, -0.1967308372, -0.8905160427, 0.294493556, -0.3023284674, -0.5682617426, -0.171923086, 0.0948606879, -0.2937876582, -0.0452430137, -0.9636902809, 0.9984089732, -0.6900572181, -0.6671598554, -0.2893294096, -0.6318908334, 0.2666146755, 0.1299344003, 0.1504136026, -0.5199781656, -0.4549331367, 0.3938104212, -0.1117351875, 1.1105839014, -0.2527748942, -0.0653323308, -0.0678398162, 0.0918875113, 0.3296398818, -0.322238028, -0.0033541606, -0.3376117349, 0.033294443, -0.4659637809, -0.5570371747, 0.8337332606, -0.6472863555, -0.7096075416, -0.0165743846, -1.0076322556, -0.5892276168, 0.1222664043, -0.2466592342, 0.6799399257, -0.2675064802, 0.4425810874, 0.8491275907, -0.1286712885, 0.4451976717, 0.7382507324, -0.2947710454, -0.3728870451, 0.6179468036, -0.0534142703, 0.2522296011, 0.6346616149, 0.0191631243, -0.5857182741, -0.6781774163, -0.8432136178, 0.0352065265, -0.9097969532, -0.3315623105, -0.4152471423, 0.0396799482, -0.2420109957, -0.0893213078, -0.3112002015, -0.3088122904, -0.3262099326, 0.1629232615, 0.0932418257, 0.7519773245, 0.226824373, 0.1413911283, -1.0906444788, -0.0379740782, 0.3341991603, 0.4731220305, -0.0966838449, -0.6977887154, -0.2043269873, 0.0280353818, -0.2467780113, -0.818931222, -0.0758412927, 0.4002471566, 1.0595474243, 0.4547405243, -0.1634324938, 0.821369648, -0.6639975309, 0.5234945416, 0.2369761616, -1.0250914097, 0.5915020108, -0.4193077683, 0.5392239094, 0.4902555943, 0.3171857595, -0.2055547237, -0.1511283964, -0.164141804, -0.5443537235, 0.7002940774, -0.1567124724, 0.3664315045, 0.2206724137, -0.0392383039, 0.1653968096, 0.2495304793, -0.5078001022, -0.200832814, 0.0349141285, -0.4189355075, 0.0911426991, -0.4139808714, -0.489273876, -0.2175374329, 0.3568133414, -0.095706068, 0.2130313665, -0.252150774, -0.3620246053, -0.2667274177, 0.265893966, 1.089922905, 0.9414724112, -0.3962498605, 0.1868336797, 0.3543810844, -0.1027900353, 0.0834302157, 0.1675272286, 0.0566512048, 0.193792969, 0.7029827237, 0.8462731838, 0.5769359469, -1.0993990898, 0.6620806456, -0.0526484922, -0.2818746865, -0.0614834465, 0.3155327439, 0.1882244945, 0.3990677595, 0.0851385146, 0.2892757058, 0.0498059839, -0.8085898161, 0.3116324246, 0.5271940231, -0.4640625119, -0.2606115341, 0.5775816441, 0.2826321423, -0.3048634827, 0.3945619762, 0.2540860772, -0.4002328813, 0.6091980338, 0.5658385158, 0.5433970094, -0.3683518469, 0.0500302836, 0.326155901, 0.3521533012, -0.0271759294, 0.3928098679, -0.1636392772, -0.2727459371, -0.3111751676, -0.3171414137, -0.4088667035, 0.0042901197, -0.867546916, 0.3039312661, -0.7175123096, -0.1496284455, 0.0094353715, -0.1720363349, -0.6578163505, -0.0760869086, 0.2506902218, 1.1828578711, -0.5665947795, 1.0135291815, 0.6991140246, -0.4498824775, -0.468290627, -0.2978434563, 0.4806703627, -0.9240682721, 0.6153236032, 0.5495606065, -0.2617466748, -0.2687267661, -0.4189456403, -0.8827421665, 1.2397919893, 0.7464761734, -0.768881619, 0.2194690853, -0.1195381656, 0.4919752479, -0.5273715854, 0.343906343, 0.5688278675, 0.6662200689, -0.1701257527, -0.7799357176, -0.0571123138, -0.4175872803, -0.179321155, 0.1999058276, -0.6840558052, 0.7523563504, -0.2562799156, -0.066208154, 0.6151842475, 0.4225370884, 0.2816084623, 0.4976809323, 0.5372833014, 0.4844431877, 0.6616474986, -0.2270922512, 1.0808637142, -0.187566936, 0.0528398268, 1.5744891167, -0.4360823035, 1.1453406811, 0.4793893099, -0.1320319176, 0.4073256254, 0.5404652357, -0.2977735102, 0.7258664966, 0.2289779037, -0.2347047478, -0.3612269461, -0.3342188299, -0.5240522027, 0.3660376072, 0.2283903807, -0.5331370831, -0.1200227812, 0.1072231457, -0.098000817, 0.3814180791, -0.4011930227, 0.6421681643, -0.2382490039, -0.6509751678, 0.8635664582, -0.1689987034, 0.4608641565, -0.7116684914, -0.2424685061, -0.3890647292, 0.3868961036, 0.0063004415, -0.7290548682, -0.1010885909, 0.1116542518, -0.1860060394, -0.2693281472, 0.3638993204, -0.5785596371, -0.393411994, 0.387594074, 0.5169698, 0.1546722651, 0.3315461278, -0.9363396764, 0.3817991614, -0.049132064, -0.2069907188, 0.5012115836, 0.321972847, 0.191136241, 0.8873556256, 0.5073032379, -0.4240174592, 0.407944113, 0.6091774106, 0.9353896976, -0.3365543187, 0.2669998705, -0.8333885074, 0.5812470913, 0.0331110097, -0.5981282592, 0.866558671, 0.660325706, 0.7912312746, -0.3871343732, 0.3398753703, 0.1737543494, 0.3014560342, -0.9932811856, 0.5788681507, -0.7635915875, 0.3566464782, 0.0591094606, -0.9545661211, -0.2282409221, 0.4869343936, -0.0823533759, 0.1304566562, 0.8114985228, 1.071628809, -0.1858811229, -0.1970648319, 0.5816143155, 0.0817591026, -0.035960529, 0.6822131276, 1.3690063953, -0.2362598479, 0.6618995667, -0.3639820814, 0.0294552483, -0.5006787181, -0.7513555884, -1.1937558651, -0.4884251952, -0.1410156935, -0.0878413245, 0.3987479508, 1.2939119339, 0.9494252801, -0.8133400083, -0.2391267866, 0.2019007951, -0.0955335945, -0.5851550102, -0.107462965, 0.3902350068, -0.6566987038, -0.8947859406, 0.6578933597, 0.264844358, 0.0390705951, -0.3027878106, -0.2483383417, -0.5169969201, 0.1916215718, 0.7283446193, -0.3317573667, -0.8658968806, -0.2900580168, 0.1684518307, -0.5794550776, 0.1915962994, 0.6763052344, -0.3091810048, 0.6050632596, 0.1871484071, 0.7473101616, 0.320248872, -0.0268164724, 0.5824818611, -0.7658196092, -0.0421227999, 0.2447810918, 0.5402252674, 0.4080096185, 0.0975581333, 0.7233453393, -0.2273343951, -0.2878864706, -0.9704189897, -0.0406288467, -1.1833817959, -0.3719562888, 1.045932889, -0.5221176744, -0.3286552727, -0.0335604213, -0.3488077223, -0.0088503351, -0.3430740833, 0.8503898978, 0.8825679421, -0.0443236642, -0.6141157746, -0.6255025268, 0.1403710395, 0.8130818605, -0.9251889586, 0.1302657127, 0.8695610762, 0.2352710217, -0.169549197, 0.3994011581, -0.0216135308, 0.6839848757, 0.1092534438, 0.0360806547, -0.3127119839, -0.4774006307, -0.4237288237, 0.143783316, 0.2423456311, -0.4663571715 ]
http://arxiv.org/abs/2407.01505v1
http://arxiv.org/pdf/2407.01505v1
Self-Cognition in Large Language Models: An Exploratory Study
2024-07-01T17:52:05
2024-07-01T17:52:05
Dongping Chen, Jiawen Shi, Yao Wan, Pan Zhou, Neil Zhenqiang Gong, Lichao Sun
cs.CL
cs.CL, cs.AI
While Large Language Models (LLMs) have achieved remarkable success across various applications, they also raise concerns regarding self-cognition. In this paper, we perform a pioneering study to explore self-cognition in LLMs. Specifically, we first construct a pool of self-cognition instruction prompts to evaluate where an LLM exhibits self-cognition and four well-designed principles to quantify LLMs' self-cognition. Our study reveals that 4 of the 48 models on Chatbot Arena--specifically Command R, Claude3-Opus, Llama-3-70b-Instruct, and Reka-core--demonstrate some level of detectable self-cognition. We observe a positive correlation between model size, training data quality, and self-cognition level. Additionally, we also explore the utility and trustworthiness of LLM in the self-cognition state, revealing that the self-cognition state enhances some specific tasks such as creative writing and exaggeration. We believe that our work can serve as an inspiration for further research to study the self-cognition in LLMs.
[ -0.3473418355, -0.8885625005, 0.7860242128, 0.1739429981, 0.0988491327, -0.0958403572, -0.3789826632, -0.4242349267, 0.2811338007, 0.6842885613, -0.441975683, -0.35228315, -0.4764991403, 0.030706482, -0.5748662353, 0.74002707, 0.0775572136, -0.1093161777, -0.3497107029, 0.0886550695, -0.6382879615, -0.7635139823, -0.5994210839, -0.4325187206, 0.5578643084, 0.4525081217, 0.4318077564, 0.6316558719, 0.4309963882, 0.2834062874, 0.2305536866, -0.0970555171, -0.7173845768, 0.4304355681, -0.2936941385, -0.7126187682, -0.5691140294, 0.2998940647, 0.6856594682, 0.3546337783, -0.208209455, 0.4063041806, 0.2126632333, 0.7285960317, -0.4473095834, 0.3713898361, -0.5528379679, 0.0996540189, -0.1049205214, -0.128462553, -0.6892896891, 0.249026075, 0.0256311931, -0.4557169378, 0.0690593943, 0.2631047964, 0.1025245935, 0.3361152411, -0.4761326313, -0.4614176154, -0.8502293825, 0.7081893086, -0.6323829293, 0.2528862953, 0.4920729995, 0.1724331379, -0.1984653026, -0.5536037087, -0.6597352028, -0.3432915211, 0.0805842057, 0.1815247089, -0.1487129778, -0.1412795633, 0.1473801732, 0.4780966341, -0.5353996754, 0.5708804131, -0.2420914471, -0.2410484552, 0.6846088767, 0.3147054911, 0.1640980095, -0.0851162374, -0.2722781599, -0.0834237337, -0.6895958781, -0.2776505053, 0.1824122816, 0.1620234996, -0.0882378593, 0.660946846, -0.3029709458, 0.3346418142, -0.1617951244, -0.0069912015, 0.2007478923, -0.2778404653, -0.2872801423, -0.094912678, 1.0375185013, 0.1375049353, 0.5321878791, 0.0166911669, -0.2015219182, -0.0939348489, 0.5019578934, -0.5627726912, -0.3004795611, 0.1722097248, -0.5469056368, -0.3748089075, -0.4364464879, -0.1489692032, -0.4101593494, -0.1456442624, 0.6348177791, -0.280850172, -0.4059410393, -0.0143348444, 0.3023592532, 0.3016230166, 0.362575531, -1.0355340242, 0.1825694591, 0.6676396728, 0.4939298034, -0.3061933219, -0.6371257305, -0.0240539219, 0.0127990572, -0.4266765714, 0.6864138842, -0.4575237334, -0.4571141899, -0.1264308542, -0.2014362812, -0.0718099773, -0.3305483758, 0.4227821827, -0.2667170763, 0.2718034983, -0.0180052947, -0.9758067727, 0.0324645676, 0.4369313419, -0.6587271094, 0.9236143827, -0.1887321919, -0.5514304042, 0.0684764013, -0.2496681511, -0.4220642447, 0.0781391859, -0.4626858532, -0.2388349473, 0.4051119089, 0.0741756707, 0.8567762375, -0.2323284298, 0.1525121629, -0.3657537699, -0.2328567207, 0.7518840432, -0.5475317836, 0.3889232874, 0.1329094321, -0.2131041437, -0.1551785171, -0.3591516912, 0.1591890305, 0.3405496776, -0.1743019223, -0.3046503365, -0.1755955517, -0.5091762543, 0.2917400301, 0.5115481019, -0.3323146999, 0.3235103786, -0.2242895365, 0.4423627555, 0.6736129522, -0.1243844107, 0.4942038059, -0.1913739443, 0.4177131653, -0.2786704302, 0.2427036166, -0.3104118705, -0.4036124945, -0.919100225, -0.2010938674, 0.1269820333, 0.207693547, -0.3435422182, 0.3663596511, 0.0169398598, -0.4835598171, -0.3516480923, 0.2977104187, 0.4877922535, 0.3475335538, 0.2422728091, -0.1598563045, -0.1545021087, -1.1487842798, -0.2091290057, -0.2214503437, 0.3005306423, 0.4422391057, 0.716701448, -0.1621681601, 0.5703347325, -0.4972771108, -0.364436388, -0.3481500149, 0.0234250464, 0.1083842292, 0.463075012, 0.3837070763, -0.1909977198, -0.463511616, -0.4617098272, -0.8786934614, 0.0577280857, -0.1681257486, -0.1429072171, 0.4150693417, 0.7544484735, -0.6628249884, 0.2010574639, 0.7277449369, -0.2681334019, 0.5112076402, -0.6221310496, -0.0918969885, -0.876445353, -0.1991222799, -0.1348544508, -0.0672623515, -0.6129768491, -0.059953656, 0.059254773, 0.2293777764, -0.0233545788, 0.6411932111, -0.7187743783, -0.1094304621, -0.5155089498, 0.281576246, -0.1090887189, 0.4710336924, 0.003999522, 0.6254559755, 0.7781438828, -0.5585339069, 0.0457879826, 0.1117670238, -0.586781919, 0.3396385908, -0.4693748951, 0.3987798393, -0.0522841848, 0.3030931652, -1.2193422318, -0.0025253862, 0.1782884747, -0.502065897, 0.4231072664, 0.2332793921, -0.6350873113, -0.4674854279, -0.0159523003, 0.2440141141, 0.5420012474, -0.4792850912, 0.6234010458, 0.5383877754, -0.0204346888, -0.3185600638, -0.7712422609, 0.0386597477, -0.3002163172, -0.2528682351, -0.05940919, -0.2163541168, -0.0701528937, -0.3437930942, -0.0760714188, 0.121941112, 0.3065425754, 0.4175911844, 0.246031329, -0.0286729839, 0.4213773012, -0.1253434569, -0.0028757949, 0.4379637837, -0.211952284, 0.6372976899, -0.2686980069, -0.5001010299, -0.5483054519, -0.0957320631, 0.4655509889, -0.3134548366, 0.7365448475, 0.3688459992, -0.0014126482, -0.407177031, -0.883241713, -0.2928167582, -0.4312321842, 0.202693522, -0.3967232406, -1.2695749998, 0.4884631038, -0.0124915615, -0.0905644149, 0.5136606097, 0.771679759, -0.5976278186, 0.8137613535, 0.59136796, -0.2791378498, 0.3897068799, -0.3051274717, 0.1004360914, -1.060808301, -0.2534647584, -0.1852463484, -0.2775447071, -0.673938632, -0.6542804241, 0.204890132, -0.2425408065, -0.3178326786, 0.0705171153, -0.2672191858, 0.3527756333, 0.4489746988, 0.0655709952, 0.3407534361, -0.2537732124, 0.0215947963, 0.0812347382, -0.7695332766, -0.506503582, 1.2382680178, 0.5547994971, 1.065197587, 0.0696954727, 0.9299842119, 0.3578387797, 0.2674717605, -0.6692855954, 0.6558206677, 0.1212839782, -0.8835093975, -0.6772522926, -0.4466896951, -1.080343008, 0.2870652974, -0.3544714451, -0.6710193157, -0.2432697415, 0.4512921572, -0.1936764568, 0.0060574431, -0.604532361, 0.9766430855, -0.6945806742, -0.2676921487, -0.7040504813, -0.5012888908, 0.5269967318, -0.2328409106, 0.2492394894, -0.3307959437, -0.0437335074, 0.6103158593, 0.1204009876, 1.2045655251, 0.2289647907, -0.312394172, 0.6171044707, 0.4114721119, 0.4606429636, -0.0449511521, 0.166650787, 0.183059305, -0.0833919868, -0.0439985953, -0.7888559699, 0.8603613377, -0.7729585171, -0.9001484513, -0.3747087717, -0.5223522782, -0.199078232, 0.2282774597, -0.1078436077, 0.3315153718, -0.5862318277, 0.3730499148, 0.7801687121, -0.2024233043, 0.2621388137, 0.7345756292, -0.5866200328, -0.0993532166, 0.7724400759, 0.2188104242, 0.5336183906, 0.3842268288, 0.3971332312, -0.3394321799, -0.5068102479, -0.1192254499, 0.4541859031, -0.7260444164, -0.0751561597, -0.5293009281, -0.1809551716, -0.3891582787, 0.2667433321, -0.7148530483, -0.5240667462, -0.3283138573, 0.0434247181, 0.0984868035, 1.0434886217, 0.0990532711, 0.261382401, -0.4387071133, -0.0017780823, 0.3493360877, 0.332737565, 0.2630885243, -0.8329330683, -0.3301402032, -0.0692614838, -0.0661588386, -0.4654387832, 0.3439594209, 0.0892692208, 0.9149228334, 0.3656439483, -0.0518846512, 0.1825858355, -0.5138176084, 0.5769592524, 0.1272812039, -0.8768630624, 0.3873552978, -0.275090307, 0.4335511327, 0.3960143328, 0.2833177149, -0.4748858511, -0.5935551524, -0.7799803019, -0.2841327786, 0.4743314087, 0.42165941, 0.4901705384, -0.1786910743, 0.5989590883, -0.0071563022, 0.1505229771, -0.7340893745, -0.432839632, -0.1225855872, 0.0530878454, -0.4490084946, -0.6138427258, 0.0633147508, -0.1054789498, 0.5247294307, -0.2595535517, 0.267028749, 0.049236659, -0.0238342974, 0.2282914668, 0.2457294017, 0.3954970241, 0.440549314, 0.1700991243, 0.3151655793, 0.367315501, -0.2316002101, -0.1565183997, -0.510946691, 0.1255037487, -0.652605474, 0.4761862755, 0.6286726594, 0.3390740752, -0.6172988415, 0.5542923212, -0.1438491195, -0.0422329865, -0.529684484, 0.3186993301, 0.5635436177, 0.4269653559, -0.037889801, -0.5424727201, 0.1137636751, -0.8463781476, -0.1459394246, 0.7172732353, -0.1637156159, -0.2307844907, 0.3613832891, 0.2292529643, -0.1602662504, 0.8587294817, -0.0528048724, -0.3889047801, 0.3875057399, 0.7884337902, 0.7622763515, -0.2945297956, 0.0562735237, 0.3673187792, 0.4993244708, -0.2097627521, 0.1019445509, -0.3057445884, -1.015268445, -0.4173907936, -0.3600694239, -0.4992746115, 0.1320843995, -0.6284486651, -0.0216542203, -0.3311093152, -0.3104906976, -0.1568327099, 0.0132307978, -0.6373077035, 0.246845305, 0.5139741302, 0.8205177188, -0.5540321469, 1.0527379513, 0.2444539219, -0.1619475484, -0.8014011979, -0.3115888834, -0.2143042088, -1.2392133474, 0.6792670488, 0.1473639309, -0.3107231259, 0.0702433959, -0.7525911331, -1.0746949911, 1.3174111843, 0.1610032916, -0.6308051944, 0.0008790932, 0.0543795601, 0.7014119625, -0.6734253168, 0.1289520115, 0.5689311624, 0.0526769124, 0.0932286605, -1.0094279051, -0.0286701545, -0.0302716754, -0.1125627756, -0.0095028877, -1.1011381149, 0.7631756663, -0.3618296683, -0.0416661352, 0.0428765342, 0.8905684948, 0.1944648027, -0.0061465036, 0.375875324, 0.5123221278, 0.8308855891, 0.2966999114, 1.0249377489, -0.5250989199, 0.3368188143, 1.4657158852, -0.2720169127, 0.8849854469, 0.2966586947, 0.1677625626, 0.4402557313, 0.2113447636, -0.0369586386, 0.1161255613, 0.2883678675, 0.0591891669, -0.5983896852, 0.107742101, -0.1452234238, 0.8332665563, 0.5707278252, -0.6403617859, 0.2304868847, -0.038198553, 0.0905632973, -0.0861739591, -0.3711536825, 0.7340711355, 0.3634811044, -0.7078285217, 0.1394240111, -0.3116298616, 0.3222763836, -0.4564879239, 0.110050641, -0.1894682199, 0.2024309933, 0.1153484955, -1.3170086145, -0.0195020437, -0.1699630618, 0.0837563649, -0.4537365735, 0.8407330513, -0.226570949, -0.3008600771, 0.2607239783, 0.9899169207, 0.5819745064, -0.2647872567, -0.6249989271, 0.2207072675, -0.0618657172, -0.438580811, 0.4762972891, 0.5951673985, 0.0983607844, 1.0530862808, 0.3207907081, -0.1348590106, 0.0068578417, 0.2433120757, 0.6707420945, -0.8527939916, -0.3155041635, -0.9431453347, 0.0118867187, 0.0354685448, -0.2625595331, 1.1921950579, 0.6177487969, 0.8556105494, -0.0269767493, 0.7751123309, 0.1706496477, 0.2616923153, -0.5142537355, 0.7097096443, -0.3925158679, 0.134751156, -0.0446970537, -0.7691264749, 0.0608572103, 0.6767137647, -0.5593568087, 0.1406190693, 0.6298442483, 0.5876049399, 0.2702234089, 0.0777086467, 0.7273954153, 0.34704566, 0.1519644111, 0.4133397341, 1.1751110554, 0.0618005618, 0.4558062851, -0.2879127264, -0.0583187081, -0.1634415835, -0.7691268921, -1.3249217272, -0.5978230834, -0.2097887546, -0.2023214847, -0.3394284546, 0.8341395855, 0.4331998229, -0.3020874858, -0.4518412054, 0.0632693693, -0.0271077529, 0.1631097198, -0.0805489942, 0.1365825385, -0.4906175435, -0.5074792504, 0.4498010278, 0.3127962649, 0.2748148143, -1.0099326372, -0.04575333, -0.0665070415, 0.199940294, 0.6668313146, 0.1548881978, -0.7472962141, -0.3417624831, 0.1711422652, -0.4113562107, 0.0232019462, 0.7573338151, -0.6123114228, 0.6189873815, 0.2459857166, 0.2770908177, 0.7675590515, -0.2013180256, 0.5279763937, -0.2299045622, -0.2954606116, 0.0633259192, 0.4227275252, 0.3625113666, -0.3455117643, 0.5072904229, -0.0603340305, -0.9168095589, -0.5268747211, 0.2561298013, -0.8620599508, -0.2080772072, 1.0948477983, 0.0585592911, -0.3251660168, 0.302772522, -0.0953253061, 0.1244711503, -0.2065290958, 0.8492947817, 0.8076704741, -0.5903730392, -0.1814654469, -0.6067255139, 0.1520459801, 0.3646066189, -0.7092425227, 0.309128195, 0.452986896, 0.3509548604, 0.2185075879, 0.8789534569, 0.209509477, -0.1578746438, 0.0922810137, 0.2455068678, -0.0002670217, -0.5331674814, -0.3404244781, -0.0876807496, 0.3764409721, 0.0684406459 ]
http://arxiv.org/abs/2407.01492v1
http://arxiv.org/pdf/2407.01492v1
RegMix: Data Mixture as Regression for Language Model Pre-training
2024-07-01T17:31:03
2024-07-01T17:31:03
Qian Liu, Xiaosen Zheng, Niklas Muennighoff, Guangtao Zeng, Longxu Dou, Tianyu Pang, Jing Jiang, Min Lin
cs.CL
cs.CL, cs.AI
The data mixture for large language model pre-training significantly impacts performance, yet how to determine an effective mixture remains unclear. We propose RegMix to automatically identify a high-performing data mixture by formulating it as a regression task. RegMix involves training a set of small models with diverse data mixtures and fitting a regression model to predict their performance given their respective mixtures. With the fitted regression model, we simulate the top-ranked mixture and use it to train a large-scale model with orders of magnitude more compute. To empirically validate RegMix, we train 512 models with 1M parameters for 1B tokens of different mixtures to fit the regression model and find the optimal mixture. Using this mixture we train a 1B parameter model for 25B tokens (i.e. 1000x larger and 25x longer) which we find performs best among 64 candidate 1B parameter models with other mixtures. Further, our method demonstrates superior performance compared to human selection and achieves results that match or surpass DoReMi, while utilizing only 10% of the compute budget. Our experiments also show that (1) Data mixtures significantly impact performance with single-task performance variations of up to 14.6%; (2) Web corpora rather than data perceived as high-quality like Wikipedia have the strongest positive correlation with downstream performance; (3) Domains interact in complex ways often contradicting common sense, thus automatic approaches like RegMix are needed; (4) Data mixture effects transcend scaling laws, and our approach captures the complexity by considering all domains together. Our code is available at https://github.com/sail-sg/regmix.
[ -0.4108631313, -0.7276182175, 0.2846014202, 0.5078859329, -0.189442724, 0.4076050222, -0.3749935627, -0.3231255412, 0.1990527809, 0.5402243137, -0.4950597882, -0.2564162314, -0.6333511472, 0.0701802, -0.567961216, 0.6023794413, 0.1182347313, 0.2093149573, -0.3988046348, 0.0637663007, -0.6721420884, -0.49706164, -0.5108569264, -0.2818047702, 0.4884829223, 0.3330376446, 0.4178431332, 0.7607964873, 0.3641634285, 0.3119452596, 0.3081036806, 0.2078295201, -0.7628864646, 0.3068763316, 0.0095696328, -0.6367442608, -0.2193179578, 0.2431911379, 0.6416071653, 0.6588712335, -0.368540585, 0.2272019088, 0.1640098244, 0.4883307815, -0.7016328573, 0.0890471041, -0.6866406202, -0.2973850369, -0.2350996584, -0.0588553809, -0.4285673499, -0.2715028822, -0.2706982493, -0.6578193903, 0.1145414636, 0.4442057908, 0.9920706749, 0.4229857922, -0.1960971653, 0.1981017292, -0.9697233438, 1.0523639917, -0.5438632965, 0.7211102247, 0.3372806609, 0.4620176256, -0.2687980831, -0.7438343763, -0.6100227237, -0.149968192, 0.0591172725, 0.1592079699, -0.1323002726, -0.0985692441, 0.1824418157, 0.33973068, -0.8719673753, 0.0578799434, -0.117355831, -0.1425196528, 0.540658772, 0.3704994619, 0.2635432482, 0.4805857539, -0.2706681192, -0.2586841583, -0.5332306623, -0.1274692714, 0.279989779, 0.5732339621, 0.0617576763, 0.3479701579, -0.2041830122, 1.0285221338, -0.1403731257, -0.4028201997, 0.2316336632, -0.3026517928, -0.3600465953, -0.2402629703, 0.6785245538, -0.049281165, 0.3520578146, -0.1970970333, -0.5052634478, 0.1305716634, 0.336601913, -0.8842926621, -0.2165769488, 0.0876066908, -0.3647562861, -0.0394939743, 0.137059927, -0.7086290717, -0.3479748368, -0.8598059416, 0.6596418619, -0.3290619254, -0.2651563287, 0.4271991849, -0.210581392, -0.1177759245, 0.4858949482, -0.5515108109, 0.6649432778, 0.8388504386, 0.5553252697, -0.2050807029, -0.3340522945, -0.7391486764, -0.1445475519, -0.2744366825, 0.6938076019, -0.7742633224, -0.3696452081, -0.1504890025, -0.3407449126, -0.3942338526, -0.9810670018, -0.0214879997, -0.3362770975, 0.2545923591, 0.1200334728, -0.7939705253, -0.0081842188, -0.1235745102, -0.7759815454, 1.160548687, 0.5000702143, -0.6569512486, 0.7366545796, -0.2549676001, -0.5786630511, 0.2285491228, -0.1225470752, -0.2876700461, 0.0427927412, -0.1188040227, 0.4564322233, -0.6753184199, 0.4068776667, -0.3979696035, -0.3578101397, 0.2489676476, -0.1137793139, 0.7176228166, 0.4286960661, -0.1272982061, 0.1456207484, -1.0028260946, -0.1006444767, -0.0101317922, -0.1998024285, -0.5271507502, -0.0628181398, 0.3848176599, 0.237801671, 0.2111707628, -0.5156292915, -0.0507556573, -0.0085688988, -0.0004852069, 0.563251555, -0.2059256434, 0.4086312056, -0.3076538742, 0.8411030173, -0.0239020735, 0.2524483502, 0.1665198058, -0.5261179805, -0.707105577, -0.6923472285, 0.6308171153, 0.562613368, -0.5241810679, 0.6540772319, -0.2003293931, -0.6513018012, -0.7302430272, 0.3498383462, 0.1049685776, 0.5458245277, 0.3065518737, -0.2658924162, -0.8531575203, -0.909752667, -0.1768618375, -0.1912436485, 0.0101708127, 0.2001583725, 0.3739698827, -0.3023843169, 1.3582344055, -0.748028338, -0.0961389318, -0.3727947176, 0.3531208038, 0.1488828957, 0.5674470067, 0.5065168738, -0.784701705, -0.5673546791, -0.0701312423, -0.332978785, -0.1877418756, -0.1298404038, -0.1057485193, -0.1727541983, 0.2934637368, -0.1786659658, 0.1368092299, 0.623229444, -0.1527369022, 0.4390388131, -0.1607507914, 0.0648669004, -1.1516233683, 0.3323319852, 0.4037113488, -0.2951302528, -0.6081821322, -0.0439165421, 0.0291255675, 0.0286058281, -0.2085281312, 0.65401721, -0.0562618598, 0.2171489, -0.2941879034, -0.3994216621, -0.1115243956, 0.0952720568, 0.1437644362, 1.0735098124, 0.5436543226, -0.505548358, 0.2546513975, -0.1013026759, -0.5113779902, 0.1649895012, -0.3753926754, -0.2021925002, -0.0689499676, 0.3123404682, -1.1821489334, -0.151872471, -0.1537567377, -0.4453806877, 0.2490170151, -0.0208210461, -0.6109730601, -0.2819935083, 0.0835188106, 0.2595377862, 0.7179727554, -0.2088841647, 0.7908625007, 0.5314438343, -0.1777237654, -0.5244972706, -0.5165560246, 0.0413346253, -0.4329229593, -0.6998876929, 0.1708100438, -0.1130076051, -0.3305224776, -0.2870380282, -0.1256177872, -0.6099709868, 0.4002975225, 0.2057268918, 0.3316984773, -0.2059342712, -0.1767771691, -0.2595444918, -0.1832562834, -0.1116836444, -0.2597665191, 0.8144373894, 0.1894876212, 0.1614770889, -0.267550528, 0.3711398244, 0.4902305603, -0.3529013991, 0.8270783424, 0.7792309523, -0.3272777796, -0.3717539012, -0.6890944242, -0.2782019675, -0.4373889267, 0.330935061, -0.3463107944, -0.9660005569, 0.5719730258, -0.0606090501, -0.0575753115, 0.2484689057, 0.4825694859, 0.0709014609, 1.0531326532, 0.7083797455, -0.514522016, 0.6256326437, -0.1513685584, 0.2478338033, -0.1793081015, -0.1756118089, -0.8097152114, -0.2620826662, -0.4592267275, -0.363979429, 0.1324638128, -0.0920666903, -0.2213376164, 0.4111329019, -0.00288835, 0.3539262116, 0.6744619608, -0.1018436253, 0.1991719157, 0.0654930696, 0.1664290428, 0.108392179, -0.8340070248, -0.2049177587, 0.992449224, 0.2503289878, 1.1956039667, -0.3266113698, 0.911056757, 0.1408332139, 0.4531435072, -0.6291314363, 0.5234514475, -0.3997260928, -0.5964725018, -0.0494307205, -0.8062788844, -1.1541249752, 0.1025338024, -0.3975201547, -0.4862710536, 0.1775010079, 0.1834807843, -0.4310984612, -0.0383651704, -0.8251270056, 0.8260368109, -0.0382914841, -0.2377475053, -0.2772145569, -0.7112028003, 0.2736294568, -0.458978951, 0.3625242412, 0.0485787913, 0.0554360896, 0.7757887244, -0.320553273, 0.6894572377, -0.1786975861, -0.0440093689, 0.1170018762, 0.1543329358, 0.2817023993, -0.2020012587, 0.1465925872, 0.1092538461, -0.2088745236, -0.3478119969, -0.6726376414, 0.4768698812, -0.76454252, -0.4271980822, -0.0945149288, -0.5721527338, -0.4902429581, 0.10794539, 0.1763040572, 0.3271677196, -0.0427671783, 0.3578126132, 0.5748828053, 0.0013542598, 0.1044791937, 0.4674694538, -0.4253470004, -0.3268927634, 1.414249897, 0.0877344236, 0.1658671647, 0.4250508845, 0.2976777256, -0.2316890061, -0.5160117745, -0.2257157415, 0.1636859924, -0.1808379591, -0.205804348, -0.5619035959, -0.1372535825, -0.410731256, 0.1621807665, -0.549446404, -0.341008693, -0.1662595272, 0.2353852689, 0.0777214691, 0.5702235103, 0.0019747571, 0.5222294927, -0.8019566536, 0.2657390833, 0.276306808, 0.3549791574, -0.1919608712, -0.415394783, -0.5243026614, 0.0258829165, 0.2954584658, -0.4620704055, 0.5968250036, 0.1003270522, 0.6308591962, 0.4648855031, -0.331893146, 0.7696368098, -0.40918383, 0.6165717244, 0.1508968323, -0.694190979, 0.3314217627, -0.2555027306, -0.175912708, 0.7142942548, 0.4149164855, -0.4334796369, -0.6079825163, -0.626986444, -0.8890597224, 0.646418035, 0.2068580389, -0.1983625293, 0.1257467568, 0.1570119411, 0.3291547894, 0.3667395413, -0.3935366869, -0.4404955506, 0.1315294951, -0.4503948092, -0.3514359891, 0.0083487341, -0.0380902812, -0.4437168837, 0.5686702728, 0.0922537595, 0.0714074373, -0.3938475251, -0.1214902028, -0.0412011668, -0.231820628, 0.4900488257, 0.7246728539, -0.4334387183, 0.0235610101, -0.3753924072, -0.7294563651, 0.2821093202, 0.2378083766, 0.0496524274, -0.0669381469, 0.2751169503, 0.5993025899, -0.199797973, -0.9384518862, 0.4351295531, -0.2610979974, -0.2033078671, 0.0411385372, 0.4514974356, -0.1228822842, -0.0058089602, 0.3969231546, 0.1591390818, 0.064962633, -0.3662560284, 0.4211838841, 0.2142273188, -0.1414235085, -0.0956063122, 0.6430426836, 0.1805053204, -0.0175158083, 0.5247808099, 0.0443170406, -0.3890208304, 0.7904374003, 0.6221357584, 0.8352956772, -0.5769720674, 0.1209600121, 0.1651876569, 0.1664121151, -0.3143359721, 0.3657946885, 0.2085158825, -0.8045728803, -0.6507825255, -0.7011594772, -0.1464792341, 0.2278340459, -0.6387432218, 0.1758141071, -0.2545157671, -0.0715667456, 0.0432277918, -0.0077366857, -0.687595427, 0.6914677024, 0.2832311392, 1.0003495216, -1.3365434408, 0.9591475129, 0.722425282, -0.2868940532, -0.8776728511, 0.0161934998, -0.1184706986, -0.7972415686, 0.871530652, -0.0066916631, -0.0585673489, 0.052668795, -0.481444329, -0.8315201998, 0.6650726199, 0.5103623867, -0.5749929547, 0.2967166305, 0.280846417, 0.3401969671, -0.6095343232, 0.1809588671, 0.6143808365, 0.5108446479, 0.0587987714, -0.8619176149, -0.1128889248, -0.1363085955, -0.0003905375, 0.225298509, -0.4966900647, 0.9459267259, 0.3430072665, -0.1179008558, -0.0507324636, 0.5900709629, 0.1335076392, 0.2469305247, 0.7706063986, 0.6812306046, 0.7933818102, -0.020531591, 1.0832196474, -0.5125673413, 0.32559219, 1.1354461908, -0.4096604586, 0.8541650176, 0.371237129, -0.3951744735, 0.3246636987, 0.8039861321, 0.1857110411, 0.5038607717, 0.3738661706, -0.3508287966, -0.6398066282, -0.0225296188, -0.2649206817, 0.4231549501, 0.3068614006, -0.1053715944, -0.2376209646, 0.1681052595, -0.0306739602, 0.0702539235, -0.0666231364, 0.6394681931, -0.1484015137, -0.6892459989, 0.5294175744, -0.0274369139, 0.5182709694, -0.7471586466, 0.0184630286, -0.3821274638, 0.1353612095, -0.0366087109, -0.5711096525, 0.0705129579, -0.1699378788, -0.0873026401, -0.1471512616, 0.6045630574, -0.7191867828, -0.4572270215, 0.1864998043, 0.7168237567, -0.1082999855, -0.3269610405, -0.562626183, 0.1238991395, 0.1576235294, -0.1125326008, 0.5819174051, 0.2629128098, 0.0928581208, 0.7656506896, 0.6044300795, 0.2394032627, 0.0337813273, 0.1858226359, 0.9640237689, -0.4597246051, -0.4668683112, -0.7641753554, 0.3987922072, -0.1065734923, -0.2739086151, 0.5723101497, 1.2212384939, 0.7677654624, -0.0613215975, 0.8327106833, 0.0861164108, 0.4974951446, -0.3360384703, 0.5111438036, -0.7903870344, 0.0118334098, -0.0867334455, -1.148363471, -0.4567861259, 0.5289396048, -0.1117943451, 0.0904155672, 0.4757623971, 0.920217216, -0.2294824719, 0.1226284504, 0.2550105155, 0.1995013058, 0.2254544646, 0.2188112885, 0.7542849779, 0.0182411149, 0.1992975771, -0.2819160819, -0.4299555719, -0.2809494734, -0.5952830315, -0.5655426979, -0.7097122073, -0.4062492847, -0.3919365704, -0.016784301, 1.0398358107, 0.9932000637, -0.6663574576, -0.7515850663, -0.1048627719, -0.1270397007, -0.3546581864, -0.2710180879, -0.0180673525, -0.6668581367, -0.7331393361, 0.4527528584, 0.2066496909, -0.000957699, -0.1801700294, 0.0602362081, -0.134935692, 0.1459146589, 0.4247421324, 0.0248440541, -0.3412423432, 0.0782121122, -0.0493662767, -0.2429377139, 0.0866262689, 1.1700482368, -0.8598608971, 0.5231921077, 0.4969142675, 0.8805807233, 0.5307837129, 0.214086175, 0.8127209544, -0.7519823909, 0.1038148403, 0.3407947421, 0.2987924814, 0.003522272, -0.2027288228, 0.4892598391, 0.4245056808, -0.3653255105, -0.7119374871, -0.0054429197, -1.1026426554, -0.4425506294, 1.2285070419, 0.0271654055, -0.2977323234, -0.2279337645, -0.2142088264, 0.0259585474, -0.4539082646, 0.6032705307, 0.6809723377, -0.0696968883, 0.0924681872, -0.5982449651, 0.4694138765, 0.3966711462, -0.7191513777, 0.1925961822, 0.5468180776, 0.384711653, -0.163712889, 0.3664965034, 0.2045425028, -0.053920351, 0.1084751561, 0.1286547184, 0.0533617958, -0.4892680347, -0.1549409777, 0.1050725281, -0.0698138103, -0.15340662 ]
http://arxiv.org/abs/2407.01491v1
http://arxiv.org/pdf/2407.01491v1
Expressive and Generalizable Low-rank Adaptation for Large Models via Slow Cascaded Learning
2024-07-01T17:28:59
2024-07-01T17:28:59
Siwei Li, Yifan Yang, Yifei Shen, Fangyun Wei, Zongqing Lu, Lili Qiu, Yuqing Yang
cs.CL
cs.CL, cs.CV
Efficient fine-tuning plays a fundamental role in modern large models, with low-rank adaptation emerging as a particularly promising approach. However, the existing variants of LoRA are hampered by limited expressiveness, a tendency to overfit, and sensitivity to hyperparameter settings. This paper presents LoRA Slow Cascade Learning (LoRASC), an innovative technique designed to enhance LoRA's expressiveness and generalization capabilities while preserving its training efficiency. Our approach augments expressiveness through a cascaded learning strategy that enables a mixture-of-low-rank adaptation, thereby increasing the model's ability to capture complex patterns. Additionally, we introduce a slow-fast update mechanism and cascading noisy tuning to bolster generalization. The extensive experiments on various language and vision datasets, as well as robustness benchmarks, demonstrate that the proposed method not only significantly outperforms existing baselines, but also mitigates overfitting, enhances model stability, and improves OOD robustness. Code will be release in https://github.com/microsoft/LoRASC very soon.
[ -0.1706977934, -0.8197926879, 0.18150343, 0.1429794133, -0.3728320301, -0.0009655414, -0.4207241237, -0.6413175464, 0.2108469754, 0.1710308492, -0.4206648171, -0.6552928686, -0.6290425062, -0.2761989236, -0.3630694747, 1.113137722, 0.0554146767, -0.2731139362, 0.2277508229, -0.5212025642, -0.2585799396, -0.2004374564, -0.8899926543, -0.3209851682, 1.1813508272, 0.3554911017, 0.5961407423, 0.5920723081, 0.5666546822, 0.2644156516, -0.2671612799, 0.3142115176, -0.8045524955, 0.1862953156, -0.3738950789, -0.4839592576, -0.8661338091, -0.1947346628, 0.6784613729, 0.859960258, -0.3304078281, 0.3166754246, 0.4783167243, 0.7938810587, -1.3232148886, 0.2120712399, -0.7511411905, 0.0598913692, -0.2597533762, -0.1352105588, -0.3585152924, -0.1839592755, 0.0505065881, -0.7860687971, -0.2088269144, -0.1864625216, 0.6168169975, 0.5847427845, -0.1380843669, 0.0133300498, -0.8092136979, 0.8636205196, -0.6016947627, 0.0189749841, 0.2229766548, 0.6636102796, -0.0269744024, -0.7079389095, -0.044271417, -0.0952262059, 0.2977020741, 0.2206285596, -0.3035937846, -0.1188250259, 0.4085659087, 0.2900745571, -0.11621508, 0.651638329, 0.0490472615, -0.0040612998, 0.2768599391, 0.1058511138, -0.1710730046, 0.2825545371, -0.2414150834, 0.0153791681, -0.6595391035, 0.2301300019, 0.0684385225, 0.6906544566, -0.363640666, 0.3586033881, -0.4965991378, 0.8764673471, 0.313134104, -0.0494742543, 0.206249103, 0.1116474196, -0.2753010094, -0.1528282315, 0.3460806608, -0.0121779423, 0.032795243, -0.0689922646, -0.3617495298, 0.0681287274, -0.1373505145, -0.8735157251, 0.1449639052, 0.0919519886, -0.639100492, -0.6467048526, -0.2003378868, -0.6151100397, -0.4503956735, -0.4531061649, 0.5559081435, -0.0609178133, 0.2041876465, 0.118861489, 0.3092522919, 0.4677495658, 0.910964489, -0.8170360923, 0.4200524986, 0.603253305, 0.9176146388, -0.2828890085, -0.4660096765, -1.3918861151, 0.1254789233, -0.5101276636, 0.6786020994, -0.3847931921, 0.1325674951, -0.1364144981, -0.1803887933, 0.0581762977, -0.6081160903, 0.4275445044, -0.5123226047, -0.1003184617, -0.1223916262, 0.2251595557, 0.1988772154, 0.0337430127, -0.7433780432, 0.9526354671, 0.1981945485, -0.7614358664, 0.3498304486, -0.8448386788, -0.5761361718, -0.1586274803, -0.0302236918, -0.4683252871, 0.4071958065, 0.2626077533, 0.328328371, -0.1670468599, -0.1823595464, -0.4168533981, -0.6519610286, 0.1202674508, -0.1046562418, 0.5641731024, 0.2625842988, -0.0988293588, 0.2009680718, -0.783995986, 0.0284194369, 0.0454210453, -0.6505180001, -0.3025010526, 0.2067172825, -0.0499517918, 0.2214725763, 0.108951956, -0.2254140973, 0.5940945148, -0.3258915246, 0.6570949554, 0.8394764066, -0.2204154283, 0.4638108313, -0.2620536983, 0.2877237797, 0.3797501624, 0.1910133064, 0.0264368765, -0.3009305596, -0.9061466455, -0.5684856772, 0.7547200322, 0.5244261622, -0.892889142, 0.4555627406, -0.4359463751, -0.3085536361, -0.4650657773, 0.4031868577, 0.3170777261, 0.4623344839, 0.4322661161, -0.6163130999, -0.2730532885, -0.6907840967, -0.4470106363, 0.1547579318, -0.0165928863, 0.1887694299, 0.465867877, -0.1978842765, 0.8979772925, -0.5333738923, -0.7052628398, -0.3975404501, 0.3451761305, 0.1672196239, 0.5907845497, 0.70652771, -0.4834784269, -0.4128005803, 0.1637617499, -0.5748398304, 0.0860643536, 0.198663041, -0.3448980749, -0.0221829526, 0.6044352651, -0.5320038795, 0.5629184842, 0.565925777, 0.0761309937, 0.0591158159, -0.1266470551, -0.1121898592, -1.0414553881, 0.2450100631, -0.1019355282, -0.3802498281, -0.4949802458, 0.2211299986, -0.1553024799, -0.3285250366, -0.6535127163, 0.4792948663, -0.320287466, -0.1351249963, -0.217268452, 0.0849975497, -0.2113653868, 0.6016327739, -0.0692641661, 0.3863721192, 0.9539503455, -0.531332314, 0.0460727848, 0.1149426475, -0.6444612145, 0.6200919747, -0.4921680093, 0.2670114636, -0.2591551542, 0.6270301342, -0.4102420211, -0.4672426283, 0.1230329946, -0.011807194, 0.292034775, -0.487136215, -0.190692544, -0.0335033014, -0.4120019376, 0.5134308934, 0.7600083947, -0.6980864406, 1.0586825609, -0.1064699814, 0.0656384304, -0.7257888317, -1.0333862305, -0.1409139335, -0.2605956197, -0.2625249922, 0.275898397, -0.0208502505, -0.0904157609, -0.3479415476, -0.0676783919, 0.0396025851, 0.4001209438, 0.1381590813, 0.1323560029, -0.4390313625, -0.0470208414, 0.0069579063, -0.0649020448, -0.6357167959, -0.2449713051, 0.4090381861, -0.0736629218, -0.2959862947, -0.6036548018, 0.2131790072, 0.7124086618, -0.257922709, 0.6644682288, 0.6884862781, -0.4261013269, -0.7704337239, -0.1451729238, -0.1174719781, -0.4446338713, 0.4737514853, -0.5239764452, -0.6902962923, 0.7728754878, -0.3847696185, -0.0878606513, 0.3743864894, 0.6536258459, -0.0720336661, 0.9314022064, 0.8332042694, -0.417935282, 0.8845606446, -0.3331247866, 0.0186301395, -0.9087873697, 0.0297150686, -0.6629630327, -0.848546207, -0.6584940553, -0.529065907, 0.3133039474, 0.3361003697, -0.1560095251, 0.0933032855, -0.0819987804, 0.5820448995, 0.2737349272, 0.4346160889, 0.4969952404, 0.2313476354, 0.3380264342, 0.3087653518, -0.5442253947, -0.0179800186, 0.7899302244, 0.382273525, 1.3391728401, 0.3003940284, 0.6374567151, 0.4276438653, 0.2868175507, -1.0508892536, 0.3569282889, -0.6476979256, -0.1134281531, -0.2905419767, -0.5736387968, -0.7691181302, 0.1348166615, -0.2806407511, -0.6900425553, 0.6734348536, 0.5257680416, -0.6025194526, 0.2021699399, -0.4546869993, 0.6454530358, -0.069799915, -0.6160338521, -0.2526377141, -0.627967298, 0.2478465289, -0.3117527068, 0.1160439923, -0.0599194095, -0.2011866868, 0.5806027055, -0.3506104648, 1.0605330467, -0.3624728918, -0.3019385934, 0.1289864928, 0.1081672162, 0.8848528862, -0.309476912, -0.1566054672, 0.0785977021, -0.4696848392, -0.7075537443, -0.906252563, 0.849525094, -0.6755656004, -0.1386196911, -0.2369598299, -0.4340695739, -0.4751088619, -0.0167456642, 0.152529791, 0.458088547, -0.3143564165, 0.1259524077, 0.518219471, 0.0001204211, 0.375477165, 0.3383715153, -0.2374725044, -0.0308483075, 1.0903443098, -0.0072688558, 0.5351874828, 0.3087452352, 0.3540420234, 0.3067071438, -0.6297489405, -0.3300508559, -0.0416084342, -0.8473091125, -0.230104655, -0.1657679528, -0.2138732821, -0.097455129, -0.1777686179, -0.3618720174, -0.6760640144, -0.4406200647, 0.3755246401, 0.1969242692, 0.7454265356, -0.0087991776, 0.4611382186, -0.1297053099, 0.6227912307, 0.5981733203, 0.3587103188, 0.1472583711, -0.7660127282, -0.4421122372, -0.0480746068, -0.2535221875, -0.0055547762, 0.0654037446, 0.8538435102, 0.1468622386, 0.5592483878, -0.120536983, 0.8871259093, -0.3594132066, 0.5017850399, 0.2571361065, -1.0104510784, 0.6076036692, -0.3578779399, 0.5163249373, 0.6868286729, 0.1703247875, -0.1487620026, -0.0505725853, -0.1581781805, -0.6347261071, 0.5885062814, -0.082103163, 0.0284885447, 0.4699730277, 0.3274529576, 0.0349900238, 0.030800486, -0.6130194664, 0.1618560404, -0.2918069959, -0.2319627106, -0.0984063968, 0.0937688127, -0.3469716907, -0.375, 0.4880007803, -0.6499322653, -0.0213270355, -0.0984841362, -0.3525116146, -0.1932432055, 0.3561808765, 0.5775342584, 0.4391669929, -0.2356411666, 0.1117145717, 0.2192162871, -0.4683525562, -0.1140290797, -0.108731322, -0.1661019474, -0.5157435536, 0.5788799524, 0.8768055439, 0.4299320281, -0.4196895957, 0.5699217319, 0.1438733637, 0.0205145143, 0.3338066339, 0.1429252625, -0.1989703029, 0.182134077, 0.4580359757, 0.5782034397, 0.0602235571, -0.8403015137, -0.338080287, 0.3949523568, -0.3726559877, -0.3907932639, 0.511375308, 0.1804193556, 0.1059456319, 0.3143430352, 0.0962045863, -0.2011756897, 0.2438992858, 0.3673077226, 0.967957139, -0.0844738185, 0.0123154595, 0.0417771153, -0.0252778474, -0.2351667732, 0.1888518333, -0.2018717825, -0.5315595269, -0.5869626403, -0.7189800143, -0.3834060431, -0.0544364899, -0.7838574052, 0.5010607839, -0.6243037581, -0.2780922949, 0.1792566925, -0.2408100963, -0.564710021, -0.0108759403, 0.1730285734, 1.0204386711, -1.0026934147, 0.9548303485, 0.4646461904, -0.3460305929, -0.4710175693, 0.2785204053, -0.1691686809, -0.7622295618, 0.8905451298, -0.1705584526, -0.644061029, 0.1531023085, -0.9814978838, -0.9128038883, 1.1373072863, 0.6588767171, -0.5276570916, -0.2837340236, -0.0451774821, 0.6684359908, -0.5531744361, 0.0076899086, 0.4473368227, 0.3177130818, 0.1777525693, -0.8729313016, -0.1486284882, -0.0356103294, 0.1599913836, -0.1134890765, -0.8168027401, 1.0191935301, -0.3389725983, -0.0641279295, 0.5068728924, 0.6793034673, -0.0144192949, 0.0693766177, 0.5113543272, 0.7026532292, 0.6616473198, -0.1059307903, 0.8246023059, -0.0086896056, 0.3797779977, 1.3455057144, -0.6058210731, 1.1585794687, 0.4114924967, 0.1377693564, 0.9230611324, 0.4128370881, 0.2581466436, 0.8044891357, 0.2732539475, -0.1365253031, -0.415838927, -0.2277588695, -0.2049380392, 0.6788876057, 0.2604333162, -0.2769592106, -0.4166277051, 0.2927275896, -0.4230999351, -0.2405266315, -0.8221603036, 0.7656088471, 0.1259618998, -0.3994967341, 0.8817138076, -0.1643199325, 0.6501553655, -0.649102509, -0.0942330211, -0.19728297, 0.47485888, -0.5430397391, -0.2712459564, -0.2162552178, -0.1381673068, -0.245378077, 0.0639358684, 0.5885822177, -0.2420438975, -0.3896360397, 0.3163703084, 0.537525773, -0.0417478494, -0.0007761102, -0.5876714587, 0.4368955493, -0.4431664348, -0.1069401801, 0.5978902578, 0.387504071, -0.4847233891, 0.7256063223, 0.5413777232, 0.3261918128, -0.1239344701, 0.4911342263, 1.135286212, -0.4204445779, -0.4094988406, -0.4650921226, 0.4523146451, 0.1640169024, -0.2602931559, 0.3614470363, 0.4970465004, 0.5167836547, -0.1945778877, 0.6655948758, 0.0159365162, 0.5676497221, -0.860347867, 0.6201159358, -0.5866415501, 0.2578291595, -0.3283986747, -1.0504814386, -0.3393056393, 0.4899564385, -0.3393783867, 0.2245681137, 0.6264337301, 0.5444340706, -0.6604064703, -0.4753402174, 0.4264109135, 0.6052182913, -0.0683135539, 0.7092617154, 1.0095202923, -0.4295659959, 0.1722090691, -0.1270514876, -0.4901060164, -0.433193773, -1.0642210245, -0.8862640262, -0.3059334159, -0.4702327251, -0.4448284507, 0.0976523086, 0.810397625, 0.959621191, -0.8691160083, -0.1544829011, 0.1763032526, -0.0811558142, -0.5513517857, -0.1239659041, 0.4823604822, -0.1980148703, -0.6309610009, 0.4843970239, 0.2003157288, -0.0139038498, -0.2375412583, -0.0686164647, 0.0695224479, 0.1757406145, 0.945392251, 0.571965456, -0.6169568896, -0.2376373112, -0.4878091514, -0.0533059016, 0.2040853798, 0.9711441398, -1.05300951, 0.0528970137, 0.2756635249, 0.4439210892, 0.5867479444, 0.3888702989, 0.0059817126, -0.6697275043, 0.4594525993, 0.1994798779, 0.2052974105, 0.2075440437, -0.1024230197, 0.3347733915, 0.0575526394, -0.2761299908, -0.9021211863, 0.4219137728, -1.4938111305, -0.1498653591, 0.8275423646, -0.0842018127, -0.5442276001, 0.1075982153, -0.1472619623, -0.0695263743, -0.4735974371, 0.73357445, 0.184000507, -0.1230481789, 0.1584428996, -0.3270776868, 0.6016222835, 0.2398070842, -0.9712179899, 0.3071532845, 0.3217654824, 0.2350414097, 0.1519966722, 0.4661102891, 0.0413394198, 0.4479248524, -0.4382689893, -0.207336247, 0.1920246333, -0.4367206395, -0.7958133221, 0.1837110519, 0.4945203364, 0.0564506203 ]
http://arxiv.org/abs/2407.01490v1
http://arxiv.org/pdf/2407.01490v1
LLM See, LLM Do: Guiding Data Generation to Target Non-Differentiable Objectives
2024-07-01T17:26:21
2024-07-01T17:26:21
Luísa Shimabucoro, Sebastian Ruder, Julia Kreutzer, Marzieh Fadaee, Sara Hooker
cs.CL
cs.CL, cs.AI, cs.LG
The widespread adoption of synthetic data raises new questions about how models generating the data can influence other large language models (LLMs) via distilled data. To start, our work exhaustively characterizes the impact of passive inheritance of model properties by systematically studying the consequences of synthetic data integration. We provide one of the most comprehensive studies to-date of how the source of synthetic data shapes models' internal biases, calibration and generations' textual attributes and preferences. We find that models are surprisingly sensitive towards certain attributes even when the synthetic data prompts appear "neutral". which invites the question whether this sensitivity can be exploited for good. Our findings invite the question can we explicitly steer the models towards the properties we want at test time by exploiting the data generation process? This would have historically been considered infeasible due to the cost of collecting data with a specific characteristic or objective in mind. However, improvement in the quality of synthetic data, as well as a shift towards general-purpose models designed to follow a diverse way of instructions, means this question is timely. We propose active inheritance as a term to describe intentionally constraining synthetic data according to a non-differentiable objective. We demonstrate how active inheritance can steer the generation profiles of models towards desirable non-differentiable attributes, e.g. high lexical diversity or low toxicity.
[ -0.0973959193, -0.7126367092, 0.4239660203, 0.1280766577, -0.0072367596, 0.0798670724, -0.0863240659, -0.5094313622, -0.1481510848, 0.5849987268, -0.5965244174, -0.1474200636, -0.5971767306, 0.0562758222, -0.4519908726, 0.9469635487, -0.228015244, 0.0633006096, -0.1098699495, -0.0808608159, 0.018931035, -0.5686480403, -0.153059274, -0.2818700075, 0.6890688539, 0.3431332707, 0.938326478, 0.8216686845, 0.0769078285, 0.1898028702, -0.2957995236, 0.1935030371, -0.8054016829, 0.4446645677, -0.3491403461, -0.7550106645, -0.5393220782, 0.4294814467, 0.5711945295, 1.0480672121, 0.1998247802, 0.0406835265, 0.0291457009, 0.6082945466, -0.7388964891, -0.0361806266, -0.7638686895, -0.0496396013, -0.1532861292, -0.0614494011, -0.4095532298, -0.1941166818, 0.0500156172, -0.2762761414, 0.5519652963, -0.0710165873, 0.6228385568, 0.2678985, -0.8955898285, -0.2632488906, -1.0802607536, 1.0576068163, -0.694372654, 0.3347766399, 0.3375655711, -0.0620735176, -0.3326244652, -0.6279277205, -0.7324045897, -0.4574323297, 0.1466372013, 0.1687991917, -0.2834847271, 0.0317643173, 0.2637233138, 0.6015057564, -0.1035171896, 0.0228658784, -0.6537937522, 0.0273890849, 0.8501886725, 0.0295335613, 0.3436841965, 0.0813203305, -0.174888894, 0.0424361601, -1.0988745689, -0.2260213345, 0.8938418031, 0.625004828, -0.0717110634, 1.0479688644, -0.3110060394, 0.4574759305, 0.1913594157, 0.1794816852, 0.232383579, -0.6701934338, 0.0858744457, 0.2826174498, 0.3423059583, 0.0185669847, 0.2594974935, -0.1553476006, -0.4216763079, 0.2737701237, 0.2896183133, -0.5668665171, -0.2066049427, 0.1261094809, -0.251963079, -0.5801784992, 0.071643807, -0.5432881117, -0.1505245119, -0.8027044535, 0.2712032795, -0.0339238159, -0.3718308806, 0.091208443, -0.1255533397, 0.2731599212, 0.1579690725, -0.984539628, 0.2275437266, 0.4673261642, 0.5338398218, -0.4168052375, 0.0058514341, -0.4644778371, 0.363845259, -0.3429363668, 0.6237796545, -0.849134922, -0.7292804122, -0.2735190392, 0.2126879543, 0.1134212241, -0.6480589509, 0.3850646913, -0.3379323483, 0.3588895202, -0.1491122842, -0.0851987526, -0.0422461182, -0.1146230474, -0.7733874917, 0.9805585146, 0.2920778096, -0.4995395243, 0.5490182638, -0.4948745966, -0.6820170879, -0.1954213381, -0.0387675688, -0.4219929278, 0.5034614801, -0.0844474286, 0.1924045533, -0.4266241193, 0.1713931859, -0.4975961745, 0.0726628751, 0.2492937148, -0.6096012592, 0.7273263931, 0.276196599, -0.5963241458, 0.0831749067, -0.8788813353, 0.0370628387, 0.042101495, -0.23631832, -0.4526923597, 0.206068188, -0.0364893191, 0.2567488849, 0.3040973246, -0.4310730994, 0.405376941, -0.1220400557, 0.201872766, 0.8274610639, 0.2498636544, 0.7474883199, -0.522408545, 0.5319069028, 0.2295339108, 0.3304944634, 0.3247160017, -0.4794608355, -0.7189694643, -0.0787473321, 0.3517586887, 0.2154095322, -0.4289987385, 0.2595933676, 0.1357407719, -0.5349141955, -0.6094454527, 0.3894920647, 0.2947755456, 0.3397279382, 0.2258065641, -0.1412398219, -0.5027649999, -1.191616416, 0.1282878965, -0.2424734533, 0.0845497623, 0.3710063696, 0.3141794503, -0.4392105341, 0.6609874964, -0.4429288208, 0.2487766445, -0.6193351746, 0.0452662595, 0.0555249639, 0.4295116663, 0.3717571497, -1.0278517008, -0.4386661947, -0.0514275022, -0.643025279, -0.5928727984, -0.0388512984, -0.3626322746, -0.1298328787, -0.0015013935, -0.4754668176, 0.2809481621, 0.6247551441, -0.2712877095, 0.3691848516, -0.1329452544, -0.074323833, -0.9028819799, 0.0279429909, 0.0190762114, 0.0893861949, -0.9264124632, -0.1352159977, -0.0190134924, 0.059146367, -0.6543557644, 0.7151776552, -0.6514215469, 0.0753874928, -0.3152858913, -0.1394212395, 0.153261587, 0.1554140896, 0.0990465656, 0.692266047, 0.5946255922, -0.8669400811, 0.3087984324, 0.1613852233, 0.0666554496, 0.4861233234, -0.4935619831, 0.1283028275, -0.291125387, -0.0014921019, -0.6005705595, -0.2113455683, 0.0794876516, -0.2625199556, 0.4601128101, -0.1512761116, -0.35655725, 0.2217760086, -0.1990131736, 0.3069241047, 0.534732759, -0.4096630514, 0.5064690113, 0.3811529577, -0.1127575561, -0.2803893983, -0.762116313, -0.0196846258, -0.2912083268, -0.7152180076, 0.4898671806, -0.0380803756, -0.7606723905, 0.234777078, -0.2687591314, 0.0235175975, 0.1153587326, 0.2514685392, 0.3702065647, -0.2648679912, -0.0759544894, 0.2738791108, -0.0570796989, -0.1611999869, -0.0864305198, 0.1481593847, 0.4433732927, -0.3151696622, -0.1949105263, 0.3427624106, 0.6309120059, -0.1120085567, 0.8366777897, -0.2006675005, -0.094258137, -0.8986637592, -0.0559263825, -0.2908862233, -0.4709268808, 0.151812315, -0.1845244318, -0.3230799735, 0.3171208799, -0.0817505717, 0.2413371652, 0.5588395, 0.7801664472, 0.0372441597, 1.1946271658, 0.6728528738, 0.3009659052, 0.5776570439, -0.329525888, 0.1516904384, -0.7976762652, -0.2303292155, -0.3170180023, -0.6358076334, -0.7055014372, -0.3687818944, 0.060733594, 0.1578901857, 0.0937488228, 0.1690397561, -0.5238869786, 0.2072281241, 0.4055650234, 0.0258091576, 0.3117090166, -0.1861126125, 0.1849536598, 0.055635836, -0.5072493553, -0.7805097699, 1.3929026127, 0.187867865, 1.1717600822, 0.2032383829, 0.5640241504, 0.3724883795, 0.5110285878, -0.5735230446, 0.4923253357, -0.2779568434, -0.9176750183, 0.0291653033, -0.4434675872, -0.9379373193, -0.0032292686, 0.027008906, -0.2174968123, 0.5679385662, 0.1775379032, 0.1567846537, 0.2140461951, -0.9690263271, 0.5541270375, -0.7439420819, -0.8035930991, 0.0336988084, -0.3720444441, 0.4875460863, -0.3706513345, -0.1098815277, -0.3808343709, -0.2483673096, 0.4645290673, -0.2485823035, 1.0349071026, -0.3705678284, -0.1448149979, 0.4228187203, 0.1479416341, 0.6629376411, -0.2296710163, -0.4883317053, 0.0661368072, 0.0350520574, -0.4780458212, -0.4628659189, 0.7238370776, -0.8754757047, -0.7357698679, -0.3339201212, -0.4238948822, -0.3506549895, 0.0915689543, -0.0435821898, 0.1357517689, -0.1063991785, 0.390994519, 0.5909240842, -0.2335993499, -0.0520434566, 0.6611433625, -0.0230432041, 0.1429190338, 0.9339377284, 0.2708058655, 0.8801169991, 0.1325627118, 0.3501320481, -0.4309307635, -0.825705409, -0.2420495152, 0.1960994899, -0.5831688046, 0.117614679, -0.3853107691, -0.2731041014, -0.2622109354, -0.0925704315, -0.3564995825, -0.5892605782, -0.6172876954, -0.4193136394, 0.3373199403, 0.9363739491, -0.0704006255, 0.1192929298, -0.4369870126, 0.5054328442, 0.182501018, 0.0064050136, -0.3322068453, -0.5967245102, 0.2370418161, 0.3115601838, -0.503260076, -0.8684000373, 0.3746760786, 0.3217325509, 1.0611373186, 0.3019488752, 0.2909718156, 0.1940680593, -0.1273443103, 0.5411388278, -0.2610686421, -0.6908216476, 0.5399603844, -0.4799888134, 0.1253392547, 0.5657126307, 0.3675054014, -0.2091367543, -0.5827875137, -0.6756593585, -0.9113190174, 0.6780610085, 0.3323781788, 0.5476200581, 0.1264482141, 0.4667610526, 0.4852805734, 0.2409195155, -0.8822749257, -0.1527368128, -0.1538277417, -0.2762796283, 0.169760406, -0.0992089286, -0.1011711583, -0.0127567528, 0.6614764929, 0.0454122908, -0.0059131538, -0.0496149473, -0.0855400488, -0.1617769748, 0.4138244689, 0.3972163796, 0.4878785014, -0.0149256373, 0.4105419815, 0.003245058, -0.4042699933, 0.3363426924, -0.0956963897, -0.4814310968, -0.1938492507, 0.2774338424, 0.6987873316, 0.0057596616, -0.5418992639, 0.2148688436, 0.2588020265, -0.4345193207, 0.0225719251, 0.518586278, -0.0872086436, 0.1037126333, 0.3058729768, -0.0871094018, -0.2368667573, -1.0136624575, 0.3308576643, 0.4159453809, -0.2081706822, -0.7835357785, 0.7075591087, 0.2590471208, -0.1207448095, 0.5369842052, -0.1431422085, -0.2728935778, 0.5377596617, 0.638343513, 0.9036954641, -0.3421366215, 0.0424776711, -0.0019829909, 0.2416805327, -0.075695388, 0.4965601265, 0.0367670171, -0.8076658845, -0.1245014146, -0.6948500872, -0.4617584646, 0.1064215824, -0.3654483855, 0.4509896636, -0.5198788047, -0.1438723207, 0.1508132666, -0.3579831719, -0.3850350976, 0.1663581431, 0.1625227183, 0.359104991, -0.8429485559, 0.8627045155, 0.4356756508, -0.4025221467, -0.4533633292, 0.1322034895, 0.1110917702, -0.7550954223, 1.0081012249, -0.1403053999, -0.0686777607, -0.0015310787, -0.5553299189, -0.7116450071, 0.7899934649, 0.4394861758, -0.4463434517, -0.1906636804, 0.161195755, 0.6043445468, -0.2884883583, -0.2111891061, 0.3810435832, 0.6487060785, 0.4487746358, -0.5455725789, -0.0762045756, -0.2914456725, -0.5117934942, 0.4303254485, -0.5518455505, 0.8651781082, -0.3238112032, -0.4046382308, -0.3012036085, 0.2318301052, 0.1482415497, 0.3437969685, 0.3381308615, 0.2266172618, 0.3884505332, -0.0897355452, 1.086268425, -0.3789840639, -0.1802921593, 0.8352276087, -0.6791769266, 0.6118949056, 0.6460416913, -0.3117597699, 0.2204192281, 0.6334775686, -0.2126747966, 0.7044846416, 0.5040620565, -0.6301922798, 0.0249619484, -0.3229134083, -0.043115221, 0.4928763211, 0.2661328018, -0.5308547616, -0.126014024, -0.2143466473, -0.1855427027, -0.0581462868, -0.0624533817, 0.7202166319, 0.0703625157, -0.609310627, 0.385219574, 0.0435861908, 0.4564716518, -0.8889934421, 0.0312499441, -0.3179935217, 0.2175579071, -0.3595934808, -0.5858286023, 0.4525518119, 0.1128278747, -0.4169491231, -0.6067816019, 0.4839292765, -0.291880846, -0.7445981503, 0.2724489868, 0.6695091128, 0.0097812284, 0.241468057, -0.5523895621, -0.1027874202, 0.2615920007, -0.4766566455, 0.3191823661, 0.4776557982, -0.3422226906, 0.4110826254, 0.9686345458, 0.5204047561, 0.3088345826, -0.0274417512, 0.9410924315, -0.7150424123, -0.0866513103, -0.6617493629, 0.6332193017, 0.2019794583, -0.3290753067, 0.8538736105, 0.7158270478, 0.7647261024, 0.267867893, 0.9912834167, -0.1209394261, 0.2619113624, -0.4761584997, 0.4635592103, -0.687988162, 0.4175688624, -0.008989282, -1.2964110374, -0.1471375674, 0.2901786268, -0.5747131705, 0.3364394307, 0.4635658562, 0.9623587728, -0.2336440384, -0.211519599, 0.3106079698, 0.1624035239, 0.4271194339, 0.2653829157, 1.1700876951, 0.1079988405, 0.1255684346, -0.2814920545, -0.293525666, 0.0951726139, -0.7604888082, -0.5569677353, -0.443861872, -0.3500629365, -0.1631869823, -0.0747834221, 0.6177254915, 0.5640650392, -0.8323953748, -0.0991600528, -0.3665318787, 0.0637312904, 0.0693272054, -0.1986494809, 0.1285160333, -0.1249235347, -1.040086627, 0.5611017942, 0.3402177393, 0.5119592547, -0.6156798005, -0.132119447, -0.1798757464, 0.4005185068, 0.4025913775, 0.3069005311, -0.4909211099, 0.0923721492, 0.1303846985, -0.1845030189, -0.0343644917, 0.9632732272, -0.4194164276, 0.6148462892, 0.5740398765, 0.339381367, 0.5221219659, 0.0482414924, 0.9480204582, -0.651855588, 0.2021007985, 0.464386493, 0.1758890301, 0.3177455962, -0.4778158963, 0.4401594996, 0.3470775187, -0.3232786357, -1.1724522114, 0.3427637815, -0.8168005943, -0.4112822711, 1.5167233944, 0.3014909923, -0.2372637093, -0.2586535513, -0.2440823466, 0.233548373, -0.2154842615, 0.9176307917, 0.4845840931, -0.389280349, -0.1452370435, -0.7826343179, 0.3334205449, 0.3717128634, -0.9587180018, 0.4703123271, 0.6156075597, 0.2140312642, -0.2668188214, 0.0333276093, -0.3680883646, -0.0522587039, 0.1512777954, -0.0637085587, -0.1741864532, -0.1745500565, -0.1649413258, 0.013141918, 0.2411700934, 0.1093438491 ]
http://arxiv.org/abs/2407.01489v1
http://arxiv.org/pdf/2407.01489v1
Agentless: Demystifying LLM-based Software Engineering Agents
2024-07-01T17:24:45
2024-07-01T17:24:45
Chunqiu Steven Xia, Yinlin Deng, Soren Dunn, Lingming Zhang
cs.SE
cs.SE, cs.AI, cs.CL, cs.LG
Recent advancements in large language models (LLMs) have significantly advanced the automation of software development tasks, including code synthesis, program repair, and test generation. More recently, researchers and industry practitioners have developed various autonomous LLM agents to perform end-to-end software development tasks. These agents are equipped with the ability to use tools, run commands, observe feedback from the environment, and plan for future actions. However, the complexity of these agent-based approaches, together with the limited abilities of current LLMs, raises the following question: Do we really have to employ complex autonomous software agents? To attempt to answer this question, we build Agentless -- an agentless approach to automatically solve software development problems. Compared to the verbose and complex setup of agent-based approaches, Agentless employs a simplistic two-phase process of localization followed by repair, without letting the LLM decide future actions or operate with complex tools. Our results on the popular SWE-bench Lite benchmark show that surprisingly the simplistic Agentless is able to achieve both the highest performance (27.33%) and lowest cost (\$0.34) compared with all existing open-source software agents! Furthermore, we manually classified the problems in SWE-bench Lite and found problems with exact ground truth patch or insufficient/misleading issue descriptions. As such, we construct SWE-bench Lite-S by excluding such problematic issues to perform more rigorous evaluation and comparison. Our work highlights the current overlooked potential of a simple, interpretable technique in autonomous software development. We hope Agentless will help reset the baseline, starting point, and horizon for autonomous software agents, and inspire future work along this crucial direction.
[ -0.4778720737, -0.5416420102, 0.7648070455, 0.1961065829, 0.1559293866, 0.3653075397, 0.0276661552, -0.7106328011, 0.2227065414, 0.5750023127, -0.675966382, -0.434918642, -0.1673174649, -0.0269300155, -0.4435619116, 0.8248604536, -0.2979807258, -0.1138263345, -0.2390974313, -0.2442622185, -0.3041353524, 0.0904525965, -0.3510304987, -0.4016999602, 0.3431879878, 0.3960561156, 0.7239618897, 0.8900715113, 0.1095912531, 0.3983848691, 0.3346678913, 0.0475730635, -0.1278621256, 0.3501740694, -0.0209812187, -0.5672125816, -0.763245523, 0.0677219778, -0.0705128163, 0.7461191416, 0.1221500114, 0.3439477682, -0.2266312242, 0.783097446, -0.4964350164, 0.290579319, -0.6075401902, 0.1335396618, 0.1487723887, -0.1720027626, -0.413472265, -0.2292698622, -0.3063292801, -0.6109957695, 0.3966958523, -0.163899675, 0.4312315583, 0.7035864592, -0.6474143863, -0.2020093054, -1.1125030518, 0.5792921185, -0.485237062, 0.1130667701, -0.0181160029, 0.4154449403, -0.4438444078, -0.2731680572, -0.3622531891, -0.4368393123, 0.2648991346, 0.1756779552, 0.0363925211, 0.4234540462, 0.1892198771, 0.2064871639, -0.75157547, 0.1877660453, -0.1259694546, -0.1740016341, 0.8933956623, 0.0472848304, 0.3822643459, 0.3241980076, -0.4511594474, 0.1742209643, -0.7697658539, -0.0178073365, 0.0488732122, 0.1913815439, 0.023636939, 0.6045840979, -0.2651033401, 0.2244091928, -0.0803119168, -0.0711645558, 0.0662082136, 0.1563705504, -0.2715568542, -0.0563047752, 0.4471525848, 0.0246236101, 0.1465068609, -0.5518205166, -0.7671656609, 0.261156559, 0.2394714803, -0.3996156752, 0.1813324839, 0.8829001188, -0.0860658288, -0.4227582216, -0.1990534514, -0.122303918, -0.8047114015, -0.4280435741, 0.5451680422, 0.0232614726, -0.3015979528, -0.2155403048, -0.0643577874, 0.6237137318, 0.499709487, -0.3311144412, 0.1929781139, 0.696824193, 0.5443956852, -0.0064306469, -0.4523967505, -0.4811362922, 0.2737922966, -0.9254046679, 0.8771285415, -0.0475611649, -0.3864314556, -0.1542624086, 0.0870405361, 0.3969058394, -0.6442521811, 0.0103689395, -0.2236912698, -0.2674010694, -0.1366039962, -0.5582321882, -0.0362788215, 0.2455150932, -0.6223154664, 0.8671246171, 0.1897842586, -0.0047961157, 0.1898289919, -0.7585311532, -0.2594994903, 0.3701542616, -0.3045080304, -0.1166296005, 0.2056623101, -0.2829193175, 0.1757491082, -0.2979030907, 0.2077377141, -0.259044379, -0.5332366228, -0.0236617178, -0.2363826782, 0.6351285577, 0.149758175, -0.8733705878, 0.3541830778, -0.7687436342, 0.1882204711, 0.0466167778, 0.0727053657, 0.0031875381, -0.0316705927, -0.201799199, 0.1823493689, 0.4511802495, -0.5862007141, 0.2494827211, -0.5191926956, -0.0024756223, 0.9736870527, -0.1242242903, 0.8294059038, -0.4961918294, 0.7681809664, -0.3049195111, 0.517744422, -0.1091702506, -0.2457231432, -0.7650516629, -0.3400917649, -0.001132419, 0.7103335261, -0.731020093, 0.1531394422, 0.0860493183, -0.7014756203, -0.5641880035, 0.3324246109, 0.2273268253, 0.1498037577, 0.2217295617, -0.1579149067, -0.3019346595, -0.789862752, -0.1034907326, -0.1786663681, -0.03504581, 0.1454966217, 0.4121931493, -0.4227768481, 1.0129028559, -0.250641644, -0.3262408674, -0.4231681228, 0.1132032201, -0.0412301719, 0.2785688639, 0.4101641178, -0.5485869646, -0.4946948886, 0.1908457577, -1.0868359804, -0.2529363632, -0.3023802638, 0.0959876254, 0.5741119981, 0.532649219, -0.9497921467, 0.4149179459, 0.1952978224, -0.2619443834, 0.4716618061, -0.4718765914, -0.2966276705, -0.5212696195, 0.0732285678, -0.1707591712, -0.2223574966, -0.6943404675, 0.4901929796, -0.0280216169, -0.3181324303, -0.4638261795, 0.9080916047, -0.8777507544, -0.4563389719, -0.6500731111, 0.2246317267, -0.0799265802, 0.3893662989, -0.2881192863, 0.8075042963, 0.5262625217, -0.4719073474, 0.5230337977, -0.2501700521, 0.2604181767, 0.1938175112, -0.6857108474, 0.0945995525, -0.4005231857, 0.2074124515, -0.6886835694, -0.087129578, 0.1147893444, -0.3650775254, 0.1084121913, -0.0194904059, -0.4332379103, -0.1703034639, -0.5292172432, 0.2310551256, 0.4173370004, -0.1801164448, 0.8044344783, 0.3023573458, -0.1819973439, -0.5928621292, -0.4851133525, 0.0967159644, 0.2754088044, -0.5925029516, 0.0496205166, -0.1992919147, -0.5304716825, 0.0570681654, -0.5871803761, -0.2162244767, 0.3887405992, 0.5067781806, 0.2411108911, -0.2724450529, 0.249054119, -0.0054729921, -0.482491523, 0.031551294, -0.0310399514, 0.2106415182, -0.2180689573, -0.5823349357, -0.0808831155, 0.3970208168, 0.9920892715, -0.3573658466, 0.3069107234, 0.2967849076, -0.3175222874, -0.7406534553, -0.4620360434, -0.1021406949, -0.491719842, 0.1756280363, -0.2836863995, -0.5302288532, 0.5885972977, -0.2947821319, 0.3432972133, 0.1562522948, 0.1990745366, 0.0161232986, 0.9482685924, 0.9102905989, 0.0586861223, 0.1202235371, -0.2035933137, 0.3899336755, -0.2124344856, -0.1200869083, -0.2908887565, -0.1680200696, -0.5489349961, -0.378580451, 0.4000965655, -0.0649574995, -0.3214419484, 0.2384506464, -0.5927541852, 0.7212449312, 0.2171473205, -0.3504724205, 0.3606224656, -0.529930234, 0.1741980612, 0.3822945356, -0.4086487591, -0.4460401535, 0.9646069407, 0.2200758904, 0.6616919637, -0.0824052244, 0.9254978895, 0.5816694498, 0.4169181883, -0.8609643579, 0.8213357329, 0.3960023224, -0.4896004796, -0.6297112703, -0.2013572156, -1.0671640635, 0.3286818862, -0.0656457767, -0.228828162, -0.0356647521, -0.1476080865, -0.230940327, 0.1129443869, -0.8503098488, 0.8255457878, -0.4811453521, -0.1300521046, -0.068639338, -0.5398287773, 0.1341955215, -0.1930978894, 0.5234413147, -0.3534819186, -0.3748184443, 0.1330483407, -0.7500456572, 0.7123378515, -0.3588550389, -0.3598778248, 0.2870770693, 0.4509094656, 0.7686210871, -0.1165470257, 0.0503882021, -0.4185161889, 0.1026685759, -0.7236244678, -0.8318098783, 0.6760561466, -0.7798550725, -0.7264497876, -0.5949572325, -0.6485702991, -0.2333310694, 0.3040304184, -0.2740195096, 0.410348773, -0.1631586552, -0.2272501737, 0.5549240708, -0.2011420429, 0.751078546, 0.9819396734, -0.308892101, -0.0696233809, 1.0722863674, 0.2330112457, 0.0888450071, 0.1469143033, -0.2455226928, 0.0280137956, -0.4982002974, -0.4363584816, 0.2675068378, -0.5847457647, -0.2103352994, -0.3362407982, -0.2067334503, -0.1165811196, -0.5727133751, -0.8193228841, -0.3148910403, 0.0772245899, -0.2016806155, 0.1616957635, 1.0930242538, 0.0091248406, -0.1329400986, -0.5919878483, 0.4859270453, -0.0048051323, 0.2494513094, -0.0614706948, 0.2499905974, -0.2196729332, 0.0171858873, -0.233348906, -0.7777161598, 0.2041848153, -0.0489460304, 0.7204813957, 0.112538144, 0.5910756588, 0.354008764, -0.1201649532, 0.65458709, -0.2194931209, -1.011958003, 0.597106576, -0.3069318831, 0.2117678523, 0.3920703232, 0.0278663784, -0.3050192297, -0.8697101474, -0.5403572917, -1.1013669968, 0.3493728936, 0.1760261655, -0.162630707, 0.3100246489, 0.3655124307, 0.1550173461, 0.3237168491, -0.7710678577, -0.5934801102, 0.0742085576, -0.0132155865, -0.0589796938, 0.1199840605, -0.0929678008, -0.1222694293, 0.7245470285, -0.3007766604, 0.2444573343, 0.2605436146, -0.4245333672, -0.1947965175, 0.421097517, 0.5642088652, 0.6252996325, -0.1294846833, 0.1413520575, 0.0821470469, -0.1187323406, 0.6085948944, -0.0149294687, -0.3417324126, -0.009473281, 0.3789421916, 0.2906474769, -0.1325006932, -0.8886344433, 0.6725562811, 0.2912825346, -0.2346490771, -0.5808755159, 0.1186873764, -0.0646535829, 0.4995389879, 0.5600372553, 0.2036968023, 0.1170376539, -0.7194986343, 0.1829293221, 0.5607065558, -0.5350629091, -0.292353183, 0.6175179482, 0.4151035249, -0.3367201984, 0.0574296825, -0.4838583767, -0.1011511311, 1.121801734, 0.384316802, 1.3157808781, -0.0282915737, 0.6457731724, -0.2851997614, 0.563878119, 0.0186739489, 0.3158461154, -0.0877955109, -0.3427649438, -0.5953530669, -0.2616322041, -0.5956821442, 0.0020051852, -0.1720397472, 0.1035870612, -0.6153344512, 0.3284548223, -0.2329263538, 0.2994139194, -0.1091066524, 0.2832973897, -0.0091640223, 0.8315273523, -0.699657321, 0.7317586541, 0.8416851163, -0.4588995874, -0.7638984323, -0.0101388237, 0.0570260957, -0.576580584, 0.1438697875, 0.1286852062, -0.3977550864, -0.0677165166, -0.6469412446, -0.6249598861, 1.450093627, 0.6707239151, -0.0926036462, 0.0574602671, 0.3196039796, 0.7482824922, -0.307967633, 0.5011335611, 0.0449597612, 0.5047023296, 0.066351369, -0.9244483709, 0.2538339496, -0.3756955564, -0.0351474062, 0.331738025, -0.6654163003, 0.7230498791, -0.360188812, -0.1188881621, 0.1047050357, 0.2183632255, 0.0710194558, 0.6300872564, 0.2897234261, 0.0058649117, 0.7272865772, 0.1390952766, 0.8729381561, -0.7116387486, 0.2679341733, 0.852096498, -0.6190138459, 0.4894757867, 0.2770725489, 0.0208251309, 0.2648843527, 0.4142189324, 0.0604201853, 0.1141503975, 0.027355589, -0.505499661, -0.3344873786, -0.0554545633, -0.4256364405, 0.2964105606, -0.31307289, 0.2220737338, -0.5216903687, 0.0260813255, -0.050564345, -0.0185353328, -0.3446475863, 0.7050973773, 0.1091751605, -0.3908278644, 0.4846591949, -0.0259259008, 0.2625636756, -0.5986681581, 0.0565020666, -0.63815552, 0.2889480889, -0.3931770921, -0.5354722738, 0.4502025843, -0.0624733269, -0.2183597982, -0.3886879385, 0.7634025812, -0.1433134526, -0.128201738, 0.5047156215, 1.0125104189, 0.1942668557, -0.3440283835, -0.4695718884, -0.2038067132, -0.1491564959, -0.2529658079, 0.4851858616, 0.6611166596, -0.1480197459, 1.2609943151, 0.3869741857, 0.0688239858, -0.1255669594, -0.2371256351, 0.6099619269, -0.8763819933, -0.2216816247, -0.5890889764, 0.4636446238, 0.2977689207, 0.1544143856, 0.7944397926, 0.6654245257, 0.5490961671, -0.070612669, 0.8845744133, 0.0367313921, 0.2843748331, -0.0720313117, 0.9230396152, -0.7937900424, 0.5228708386, -0.2184740454, -0.8394556046, -0.2774853706, 0.2091076225, 0.0917801112, -0.0469806828, 0.5674401522, 1.0224411488, 0.2813719809, -0.2450197339, 0.4679681659, 0.3244853318, 0.2655863166, 0.3995350599, 0.6200529337, -0.3552296162, 0.6759927273, -0.0254606269, -0.3032958806, 0.085121125, -0.5523284674, -0.5364649892, -0.341770947, -0.3913354278, -0.2222250253, 0.0113873733, 1.1467335224, 0.4073410332, -0.5976763368, -0.4250232577, -0.4864789546, 0.5222051144, -0.3635603786, -0.1578791589, -0.2036984414, -0.5198869705, -0.3774085343, 0.7541483045, 0.5443012118, 0.1494970471, -0.4508276582, -0.3661349416, 0.2929098904, 0.2528110445, 0.5765560865, 0.6079306602, -0.579341948, -0.0719194859, 0.1457931995, -0.458044529, 0.0658511668, 0.5184755921, -0.8243913054, 0.1732842326, 0.1411658525, 0.503384769, 0.2684859931, -0.1918012202, 0.688555181, -0.546024859, 0.2426505685, 0.2314088643, -0.0615036637, -0.0608179905, -0.356757164, 0.6233997941, 0.2064398825, -0.6256761551, -1.0034407377, 0.3465350568, -0.9991338849, -0.4662157893, 0.9677634239, 0.1357838511, -0.2459005415, -0.4111838639, -0.2178216875, 0.1075724736, -0.2617072463, 0.6502348781, 0.1768435687, -0.4438214898, -0.2074488252, -0.6102656126, 0.3942595124, 0.2918396592, -0.9516892433, -0.023769578, 0.444006443, 0.3586642444, 0.0089895958, 0.9216202497, 0.268894136, 0.3364328146, 0.3350216746, 0.6373755336, -0.3152063489, -0.4382304847, -0.2625175714, 0.3514898419, 0.4819319248, -0.0341746286 ]
http://arxiv.org/abs/2407.01476v1
http://arxiv.org/pdf/2407.01476v1
Tree Search for Language Model Agents
2024-07-01T17:07:55
2024-07-01T17:07:55
Jing Yu Koh, Stephen McAleer, Daniel Fried, Ruslan Salakhutdinov
cs.AI
cs.AI, cs.CL, cs.LG
Autonomous agents powered by language models (LMs) have demonstrated promise in their ability to perform decision-making tasks such as web automation. However, a key limitation remains: LMs, primarily optimized for natural language understanding and generation, struggle with multi-step reasoning, planning, and using environmental feedback when attempting to solve realistic computer tasks. Towards addressing this, we propose an inference-time search algorithm for LM agents to explicitly perform exploration and multi-step planning in interactive web environments. Our approach is a form of best-first tree search that operates within the actual environment space, and is complementary with most existing state-of-the-art agents. It is the first tree search algorithm for LM agents that shows effectiveness on realistic web tasks. On the challenging VisualWebArena benchmark, applying our search algorithm on top of a GPT-4o agent yields a 39.7% relative increase in success rate compared to the same baseline without search, setting a state-of-the-art success rate of 26.4%. On WebArena, search also yields a 28.0% relative improvement over a baseline agent, setting a competitive success rate of 19.2%. Our experiments highlight the effectiveness of search for web agents, and we demonstrate that performance scales with increased test-time compute. We conduct a thorough analysis of our results to highlight improvements from search, limitations, and promising directions for future work. Our code and models are publicly released at https://jykoh.com/search-agents.
[ -0.5319476724, -0.7240755558, 0.8950980306, 0.1990364343, 0.0371229984, 0.3056608438, -0.0213201977, -0.6503623128, -0.0044184085, 0.0278459378, -0.8570379615, -0.5811650753, -0.3743999302, 0.1628094912, -0.2548119724, 0.1416440159, -0.0591457635, -0.4047421813, -0.017191736, 0.0519986302, -0.0675236657, -0.1306560487, -0.8021544218, -0.2505848408, 0.7505444884, 0.1391227394, 1.0174525976, 0.764236629, 0.2379970104, 0.4243457019, -0.2866858244, 0.3360966146, -0.1893725544, 0.2914940715, -0.3942419887, -0.2292066962, -0.3416563272, 0.0195438135, 0.3290866017, 0.2866281271, -0.370033443, -0.0625409409, -0.2646289468, 0.4662325382, -0.7071594596, 0.5044161677, -0.7607395053, 0.1957991123, -0.0760103762, -0.5620645285, -0.5314434767, -0.352256, 0.3265984654, -0.98819381, 0.227891773, 0.1025739536, 0.7883229256, 0.2294823974, -0.5018676519, -0.3254230618, -0.6432749033, 0.6530082226, -0.7123771906, 0.5507121086, 0.4344146848, 0.4435440004, -0.4259223938, -0.6683958769, -0.5551653504, -0.3586812317, 0.0182100218, -0.0530121066, -0.5760139823, 0.2804575264, 0.2088734806, -0.1157618463, -0.85615623, 0.2254585177, 0.1493847072, -0.1978346258, 0.5617749691, 0.0974414796, 0.2822986245, 0.013422057, 0.1059146896, -0.5002532601, -0.2191881388, 0.3261297047, 0.1666216552, 0.5100502968, 0.386228621, 0.3546058536, -0.6207728982, 0.6923411489, -0.3950304985, -0.1851914525, -0.0760383159, -0.468374759, -0.0881476402, -0.2887085378, 0.5065816045, 0.2560957074, 0.3307027817, -0.1291508824, -0.5239106417, 0.2734645903, 0.2527885139, -0.88197577, -0.1826888919, 0.3471427858, -0.3595235348, -0.1685814559, -0.2284474075, -0.5638720393, -0.2717233002, -0.1054307669, 0.3116648197, -0.4444455206, -0.3075357974, -0.1376863569, -0.2284558564, 0.1996514201, 0.5042430162, -0.3754079044, 0.5193283558, 0.3333422244, 0.9026525617, -0.0241718534, -0.3233135343, -0.734875977, -0.0575252846, -0.714304328, 0.746080339, -0.6426823139, -0.2738901675, 0.1258675456, -0.194728002, -0.0194460023, -0.3048462272, 0.4205248952, -0.9549707174, 0.0113462172, 0.0920152143, -0.4142979085, -0.38038221, 0.3712721467, -0.883397758, 0.975028038, -0.0253314264, -0.3896821737, 0.3884744644, -0.9685954452, -0.3612159491, 0.0176522471, 0.0188346189, -0.3147496879, -0.2160741985, 0.6062600017, 0.2930176556, -0.1665804833, 0.0072887642, -0.3646457791, -0.4008777738, -0.0342152454, -0.2094775587, 0.7207885981, 0.1465581357, -0.5634251237, 0.2878815234, -0.5037249327, 0.5438948274, 0.6106094122, -0.4090951681, -0.4002860487, 0.5521636605, -0.0053187767, 0.1323066503, 0.2632132173, -0.4413024187, 0.5337051153, -0.2906666994, 0.1515051275, 0.8307665586, -0.1640781015, 0.3024511933, -0.135869652, 0.7904528975, -0.3432823122, 0.4222737849, -0.1627105922, -0.3374561071, -0.6533027291, 0.0889317021, 0.1394547075, 0.4873342514, -0.7699325085, 0.2989681065, -0.195817396, -0.6476379037, -0.3692260683, -0.0280029923, 0.3899631202, -0.0907576755, 0.5141424537, -0.1822803468, -0.4987199306, -0.8281114101, -0.2049505115, -0.2844145, 0.1957299858, 0.3313190639, 0.3454397917, -0.5990111828, 1.205119729, -0.3099440932, -0.2335745543, -0.2443979084, 0.2588639259, 0.1752473414, 0.0533458367, 0.4429271519, -0.988265872, -0.53679353, 0.2587867677, -0.5311089158, -0.0794216916, 0.0886676684, 0.1750757992, 0.3468555212, 0.2140431404, -0.7398905158, 0.5625703335, 0.5674263239, -0.1708567291, 0.1995393038, -0.1835291386, -0.1458318681, -0.6409602165, 0.1060947999, 0.1055280641, -0.4459571242, -0.4454085231, 0.5274591446, 0.1088072658, 0.1177116707, -0.321719408, 0.6893191338, -0.8449504375, -0.3062007725, -0.2961950004, 0.4345682561, -0.2113099843, 0.7431272864, -0.0382478498, 0.8848697543, 0.5586143732, -0.9347093105, -0.0036692359, 0.017526146, -0.1167607531, -0.0339445174, -0.2734582722, 0.473877579, 0.0046833982, 0.4246263504, -0.6376854777, -0.0331953503, -0.1680154651, -0.3717211783, -0.0481920578, -0.13882263, -0.6055074334, -0.4972365499, -0.3953106701, 0.2035108358, 0.290810883, -0.5958583951, 0.7864202261, 0.2816681564, -0.1486242563, -0.5523438454, -0.0713663697, 0.1527886838, 0.2043286115, -0.5138304234, 0.3938149512, -0.2221555561, -0.2041638047, 0.0934523642, -0.388204217, -0.1478495449, 0.3560400307, -0.1391317695, -0.1516723931, -0.0888286754, -0.1973815411, -0.0771987587, -0.0589340664, 0.0046460619, -0.2791202962, 0.7610999942, -0.1839375198, -0.5162542462, -0.5256205797, 0.2715283334, 0.4672932327, -0.5583828688, 0.2275333554, 0.2421957701, -0.476384908, -0.4949474931, -0.3616733253, -0.15853104, -0.504776895, 0.3647349775, -0.4932677746, -0.6006121635, 0.2812509537, -0.1908146292, 0.2966188192, 0.3227685988, 0.112647146, -0.0902203098, 1.7214899063, 0.7437471151, 0.0400249846, 0.6413565874, -0.4290402234, 0.0631423518, -0.4317904413, -0.1225443333, -0.5915182233, -0.2711537778, -0.8331469893, -0.452832669, 0.5209490061, -0.0351181515, -0.075638555, 0.350461632, -0.4774883986, 0.4987421334, 0.9074860811, 0.0213199332, 0.4277090728, -0.1253506243, -0.3741968572, 0.188439697, -0.7818103433, -0.3795868158, 0.8311493993, 0.1384122372, 0.6523563266, 0.3239967227, 0.7031649947, 0.3222452402, 0.1472932547, -0.7613531351, 0.7211053967, 0.3377370834, -0.5062127709, -0.868501544, -0.3570270538, -1.463922739, 0.4951642454, 0.252977401, -0.833468318, -0.0219598152, 0.1698193103, -0.0085447226, 0.2376349121, -0.4441789687, 0.8020367622, -0.5408679843, -0.3532532454, -0.5027520657, -0.558708787, 0.0220525209, 0.0192851163, 0.2774996161, -0.1294286847, -0.152689606, 0.2894774675, -0.4479358792, 0.5200209618, -0.4270736277, 0.1391359419, 0.2436696887, 0.6302498579, 1.1324315071, -0.4346785545, 0.0432153866, -0.2475533932, 0.0628930703, -0.3968529701, -0.6362394094, 0.2587464154, -0.5568403006, -0.6365115643, -0.7572689056, -0.2606519759, -0.208265543, 0.4527774155, -0.2684016824, 0.0600729622, -0.3866502643, 0.0465738066, 0.2811535001, -0.1622446179, 0.8789319396, 0.8791269064, -0.8340802789, 0.1232151762, 0.7357320786, -0.0299074575, 0.0545643233, 0.6147512197, 0.4046365619, -0.4837418199, -0.7469721437, -0.5336345434, -0.128206417, -0.6222893596, -0.1650438607, -0.6313118935, -0.162503019, -0.1756013185, 0.1713876873, -0.3444941938, -0.0647174716, 0.0682420731, -0.0183211118, 0.2872977555, 0.8867676258, 0.1106054634, 0.2235719711, -0.5783444047, 0.1364577413, 0.3840696216, 0.2611461878, 0.1098610237, 0.150933072, -0.237372905, -0.083491981, -0.4252617955, -1.0065139532, 0.4647254944, 0.1140445918, 0.8076338172, 0.2773857713, -0.1037347764, 0.8227835894, -0.3216980696, 0.3593710363, -0.3066630065, -0.8427606821, 0.7194432616, -0.4131305218, 0.5288396478, 0.4263364673, 0.370600611, -0.5831173062, -0.2575111985, -0.47136572, -0.785400629, 0.9088840485, 0.6134901047, -0.4383419454, 0.2848252654, -0.1842708588, -0.1810340881, 0.0647289604, -0.7719905972, -0.1278860569, 0.128275007, 0.3119581044, -0.0124170519, 0.1375352293, 0.1740003973, -0.2346149832, 0.735376358, -0.5424067378, 0.2341676205, 0.3658811748, -0.2365476489, -0.4134551883, 0.2159982175, 0.2786513567, 0.8508754969, -0.1731679589, 0.1680544764, 0.1471084952, -0.0201791748, 0.1011045352, 0.5688984394, -0.1596289724, 0.054664135, 0.4363885224, 0.6216952801, 0.0649446771, -0.8813707829, 0.3960596025, -0.3012107313, 0.1727399081, -0.4502539635, 0.2000413388, 0.1852667481, 0.3835422993, 0.538071394, -0.156290859, 0.4843733013, -0.6326236129, 0.1921374798, 0.7129250169, -0.0043808585, -0.121307373, 0.4622143805, 0.127945751, -0.7981829643, 0.5609490871, -0.5863653421, -0.662874043, 0.8314805031, 0.3383861482, 0.9742597342, -0.5192289352, 0.3033391833, 0.1104745343, 0.4135969281, -0.0198982321, 0.3791997433, -0.149642989, -0.6252794266, -0.364415288, -0.6691947579, -0.5682225823, 0.0489045717, -0.0833466724, 0.1514504403, -0.284272939, -0.1263792962, -0.2699908316, 0.1886958629, -0.951567471, 0.1876413226, 0.0003433265, 1.1042172909, -0.210201323, 0.8204569817, 0.548632741, -0.3721169829, -0.9319374561, 0.1235025376, 0.1661013365, -0.7388074398, 0.2598653436, 0.3948813975, -0.5057324767, 0.1760268211, -0.3864398599, -1.2262535095, 1.4080533981, 0.2350095958, -0.8026223779, -0.3382796347, -0.0355215333, 0.6795438528, -0.1937057823, 0.7215441465, 0.4249273241, 0.6841542721, -0.1487051249, -1.181438446, -0.0675490648, -0.406136781, 0.191271171, 0.2338235378, -0.5784320831, 0.7956086993, -0.0703018308, -0.4974943399, 0.0820270553, 0.3628787696, 0.4062568545, 0.4978033602, 0.9285284281, 0.3879614472, 0.8400156498, 0.1632038653, 1.270264864, -0.3475831747, 0.3323775828, 0.9873102307, -0.3301559091, 0.7917436957, 0.163297832, -0.3361478448, 0.5016853809, 1.0947773457, 0.5166851878, 0.5007438064, 0.2372429669, -0.1692231894, -0.3489665091, -0.1403998733, 0.0563345924, 0.3494229913, 0.0418271981, -0.1405026913, -0.3427914083, -0.4060556889, 0.001678365, 0.1478168815, -0.1570225656, 0.7318436503, -0.2149036378, -0.9741374254, 0.3022756875, 0.2009069324, 0.3167704642, -0.8125717044, -0.2814954519, -0.2636887431, 0.1097448915, -0.0330601856, -0.4838036299, -0.1836882085, -0.0840677842, 0.1917261332, -0.4386637509, 0.6279631257, -0.1017071381, -0.2850909233, 0.9648234248, 0.8987124562, 0.1072226763, -0.422732681, -0.7056596279, 0.104061164, -0.0150669459, -0.6479865909, 0.1046413779, 0.2651982009, -0.4061049223, 1.0997401476, 0.7945465446, -0.02705287, 0.2576087713, -0.105484128, 0.8748526573, -0.7342460155, -0.683344245, -0.7317306399, 0.2147659808, -0.0657352656, -0.0484099276, 0.3408438861, 0.8789924979, 0.8802657723, 0.2963670492, 0.8753658533, -0.0397855081, 0.4019352794, -0.6523150206, 0.4458704293, -0.7899090052, 0.0308633521, -0.2355218381, -1.2409242392, -0.0083620753, 0.6371222138, 0.1199256703, 0.238066107, 0.8615236878, 0.8989153504, -0.2675715983, -0.0523531847, 0.2973424494, 0.1951520145, 0.7066985369, 0.4827571809, 0.7879701257, 0.0023844459, 0.8096883893, -0.3538677096, -0.16857256, -0.2891139984, -0.9083894491, -0.6656422019, -0.5560228825, 0.1571647376, 0.093351081, 0.2215322852, 1.0921406746, 0.9594023228, -0.4814111888, -0.3192412555, -0.4754481316, 0.1905847937, -0.4887394905, -0.2045925558, 0.000402432, -0.3530773818, -0.8586254716, 1.1038886309, 0.1061059088, -0.1075987667, -0.6062915921, -0.3825116158, -0.5403826237, 0.0918240622, 0.4200052917, 0.262962997, -1.0319488049, -0.3150960505, 0.2102255672, -0.1868032962, 0.1421949267, 0.7622504234, -0.9063097239, 0.7513602376, 0.2583276629, 0.6883159876, 1.0097929239, -0.1362349838, 0.5175610781, -0.545194447, -0.1344250143, 0.5776105523, 0.3394513726, 0.0817800239, -0.1130207181, 0.9290161133, 0.0172333382, -0.4195495844, -0.5591955781, 0.2565518916, -0.8994138837, -0.4202335179, 0.9362747073, 0.1401092261, -0.174864307, 0.1240304336, -0.3296691775, 0.3661048412, -0.7453711033, 0.5665137172, 0.6152302027, -0.5616410971, -0.2141220272, -0.5371834636, 0.4583420753, 0.3246577382, -0.884187758, -0.0799678415, 0.5314605832, -0.066217728, 0.3535817564, 0.7428416014, 0.4619608819, 0.2679516971, -0.1153775975, 0.280020982, -0.0679361224, -0.5875295997, -0.1026313081, 0.1507002264, 0.3991107941, -0.02391598 ]
http://arxiv.org/abs/2407.01470v1
http://arxiv.org/pdf/2407.01470v1
DogeRM: Equipping Reward Models with Domain Knowledge through Model Merging
2024-07-01T17:01:54
2024-07-01T17:01:54
Tzu-Han Lin, Chen-An Li, Hung-yi Lee, Yun-Nung Chen
cs.CL
cs.CL
Reinforcement learning from human feedback (RLHF) is a popular strategy for aligning large language models (LLMs) with desired behaviors. Reward modeling is a crucial step in RLHF. However, collecting paired preference data for training reward models is often costly and time-consuming, especially for domain-specific preferences requiring expert annotation. To address this challenge, we propose the \textbf{Do}main knowled\textbf{ge} merged \textbf{R}eward \textbf{M}odel (DogeRM), a novel framework that integrates domain-specific knowledge into a general reward model by model merging. The experiments demonstrate that DogeRM enhances performance across different benchmarks and provide a detailed analysis showcasing the effects of model merging, showing the great potential of facilitating model alignment.
[ -0.6971463561, -0.3942168653, 0.3999792039, -0.1624881029, -0.0299492218, 0.0077279909, -0.3458930254, -0.5789995193, -0.0116608934, 0.6221415401, -0.5625323057, -0.4015846848, -0.7051074505, -0.5045180321, -0.0030837222, 1.2447990179, -0.2439107001, 0.1132097766, -0.6584263444, -0.3031847179, -0.2636498809, -0.8670032024, -0.6541962624, -0.9347008467, 0.7545708418, 0.3404530585, 0.5079914927, 0.494907856, 0.5298824906, 0.1998867244, 0.2291562855, 0.4810357392, -0.4026232064, 0.1234223172, -0.469797194, -0.4142501354, -0.742472589, 0.3778728545, 0.1823247224, 0.6897755861, -0.5160372853, -0.153228417, 0.0878257528, 0.586807549, -0.6898904443, 0.1746368408, -0.0639360026, 0.0926107615, 0.206318602, -0.3164744973, -0.3391832113, -0.4098851383, 0.3425796032, -0.4407426119, 0.1052805111, 0.2105108649, 1.018550396, 0.4491707981, -0.4483036995, -0.0598273017, -0.9172224402, 0.9296203256, -0.6198759675, 0.257181406, 0.3268156648, 0.3677054048, -0.2956155539, -0.5526918173, -0.5046299696, -0.1759150326, -0.2700403929, 0.0876393989, -0.103049472, 0.087546654, -0.0551867746, 0.3170947433, -0.399402529, 0.136759609, -0.2271469831, 0.0432121456, 0.9611427188, 0.3035952151, 0.3863580227, 0.2739852965, -0.7453793287, -0.6890893579, -0.6488528848, 0.2750071287, 0.2566491663, 0.2358340323, -0.0928085372, 0.4081724882, -0.0475837663, 0.8653764725, 0.1771152616, -0.013700854, 0.1357230693, 0.1419990957, -0.3363512158, 0.0571905375, 0.7471987009, 0.5455878377, 0.2205580026, -0.3720154166, -0.3363358974, 0.1040223762, 0.4509917498, -0.6776785254, -0.3380807638, 0.405834049, -0.3628632128, -0.5263382196, 0.2324383259, -0.4471198916, -0.3768544793, -0.5707247853, 0.5208115578, -0.2197175026, -0.4843913913, 0.519089818, -0.3210440874, 0.5440163016, 0.4596831203, -0.994587481, 0.3541846275, 1.03602314, 0.3357369304, -0.4259755015, -0.6459380984, -0.8395676613, 0.3215787411, -0.18819502, 0.808814466, -0.5044843554, -0.5049480796, -0.0301371831, 0.0298809167, -0.1310586333, -0.7526372671, 0.4479015768, -0.9240788817, 0.5190620422, -0.1257113069, -0.8361465931, -0.3647456169, 0.2845822573, -0.5991319418, 0.9635527134, 0.152246803, -0.5887899399, 0.4905309081, -0.6666406989, -0.4074992836, 0.1756130755, -0.1767855287, -0.2120979279, -0.0163451042, 0.1813894957, 0.5592896938, -0.3773482442, 0.5580070019, -0.4328135252, -0.2639866471, 0.2731973231, 0.1057138219, 0.1294125915, 0.1702748835, -0.2965376079, 0.4064064622, -0.345310837, 0.0641359836, 0.1263931692, -0.4635285139, -0.6608765721, -0.0818569437, 0.2789397836, 0.3402851224, 0.3304994106, -0.0217096787, 0.5384334326, -0.0844395459, 0.1824448556, 0.6306271553, -0.1348556131, 0.6150690317, -0.7134429812, 0.6281424761, 0.052595064, -0.0384771861, 0.2426413447, -0.2543692291, -0.8042252064, -0.2690191567, 0.6385925412, 0.4683846235, -0.0628284141, 0.5598347783, -0.1619074941, -0.3893185556, -0.6318081021, -0.0997652337, 0.3910404444, 0.2932106853, 0.4275005758, -0.3855123222, -0.3592989147, -1.0047616959, -0.2707102001, -0.1590984911, -0.0387984626, 0.5678679347, 0.2541024983, -0.3653008938, 0.9995960593, -0.5938055515, -0.0769276693, -0.22382541, 0.5232740045, -0.0278608203, 0.5920187235, 0.213105008, -0.7362312675, -0.3659533858, 0.0837896913, -0.7710573673, 0.0055573164, 0.2370864898, -0.3672539592, -0.1521761417, 0.3264048398, -0.4762716591, 0.114263162, 0.5132434368, -0.0909993201, 0.3164441288, -0.4333574772, 0.7118890285, -0.9018041492, 0.0091615068, 0.1333628595, -0.3946096301, -0.552795887, 0.0465653092, 0.1533308625, 0.0193963069, -0.3995240927, 0.8251604438, -0.3366646171, 0.0227348749, -0.688128829, 0.1624880582, -0.2477830201, 0.6357582808, 0.459271878, 0.5463014841, 0.2073588073, -0.8508101106, 0.3552280068, 0.256896168, 0.0918610767, 0.7991353869, -0.5639505386, 0.2311421931, 0.0432952307, 0.0486984253, -0.7612653375, -0.5636429191, 0.231022507, -0.4067804217, 0.5101878047, -0.3382374942, 0.0401763655, -0.0842828006, -0.1568334699, 0.3780372143, 0.6448767781, -0.9440467358, 0.7252743244, 0.5462428927, -0.223477453, -0.6283251047, -0.2754392624, -0.0785063207, -0.3512236178, -0.7618380785, 0.8876311183, 0.0627394989, -0.0830261707, 0.3647753298, 0.0822146684, 0.2046763897, -0.0836173445, 0.2243337035, 0.5730632544, -0.0175839085, 0.1145834178, -0.1172550544, -0.2369169444, -0.0651263222, -0.2767908871, 0.4416981041, -0.1269189566, -0.4480937123, -0.108963497, 0.3800025284, 0.6021523476, -0.2739691436, 0.6258183122, 0.3896140158, -0.340475291, -0.4181625545, -0.5793246031, -0.3441353738, -0.3357963264, 0.1784536391, -0.3257592916, -1.1515269279, 0.2107580304, -0.4404820502, -0.0520852506, 0.2138833404, 0.4313304424, -0.0916699469, 1.1729183197, 0.8625153899, -0.3225615919, 0.3096632063, -0.0590928532, 0.1036302298, -0.8186732531, -0.4772375226, -0.3135038614, -0.4979668558, -0.302580595, -0.4110933244, -0.0536965728, 0.3823741972, -0.3356421292, 0.1429249048, -0.3191492558, 0.3463711143, 0.6771025658, 0.0508523062, 0.2801063359, -0.0082099698, -0.1493998766, -0.0533319488, -0.7856058478, -0.5070329905, 1.0664335489, 0.2016351223, 1.0747641325, -0.0359741524, 0.9258887768, 0.4353215396, 0.3575563729, -0.9513126612, 0.4274408221, -0.0277338121, -0.0667781234, -0.1741404682, -0.1771248281, -0.8508954644, 0.3372070193, -0.15512079, -0.5573295355, 0.1985445768, 0.3076121211, -0.3568618298, 0.1342657954, -0.4445450902, 0.8398593068, -0.451990515, -0.5040603876, -0.4485339224, -0.4818150401, 0.6029685736, 0.2147761881, 0.0756977871, -0.0239228569, 0.0603683405, 0.8546068072, -0.5844541192, 0.5243405104, -0.1094886139, -0.1335749626, -0.2113032192, -0.0455321111, 0.772300303, -0.3239594698, 0.5170046091, -0.1217212975, -0.2203037739, -0.2591226697, -0.7470341325, 0.7857457995, -0.8786320686, -0.6980941296, -0.5472654104, -0.6025438905, -0.5938696861, -0.2347158641, -0.2071517259, 0.1944123507, -0.1690664887, -0.1081903875, 0.8133333325, -0.0449579842, 0.0140335942, 0.7146471739, -0.4289732575, -0.6654288769, 0.6744098067, -0.5378589034, 0.0454883128, 0.298275888, 0.0153933484, -0.5307306647, 0.0285572987, -0.2669308782, 0.3827787638, -0.6199454665, 0.0255002975, -0.6087483168, -0.2654561698, -0.0990955606, -0.328903228, -0.3607802689, -0.1783901751, 0.1541181356, -0.0438438915, 0.4574776292, 0.9062973261, -0.2582106888, 0.2989033759, -0.9694648385, 0.019642774, 0.5399340391, 0.2798144817, 0.2163542956, -0.3404493332, -0.4410839081, -0.1531786621, -0.0217318702, -0.8367388844, 0.4105530679, -0.3136119545, 0.9529618621, 0.2224959582, -0.0165296607, 0.6045809388, -0.1446032077, 0.6070652008, 0.4621250629, -0.7110108137, 0.5329375863, -0.2601305842, -0.1305123419, 0.1903255433, 0.6702564955, -0.8706502914, -0.1449257731, -0.7038879991, -0.8935201168, 1.0759221315, -0.4607095122, -0.308535248, 0.2389645875, 0.1429256797, 0.0101288958, 0.3219548464, -0.4608854949, -0.2993602157, 0.1685786545, -0.3282408118, -0.1265822053, -0.1234386191, -0.712633729, -0.2515534163, 0.8439763784, 0.0794651732, 0.1721889526, -0.0792182907, -0.2174611539, -0.2192816734, 0.3367446065, 0.4150452912, 0.3315850794, -0.3695587218, 0.2733821869, -0.2155301869, 0.0431865901, 0.4606880248, 0.0501206778, 0.1529466361, -0.5716441274, 0.0500101596, 0.9268336892, 0.3453336954, -0.6039085388, 0.3967344761, -0.0926472768, -0.6183728576, 0.2425231487, 0.4774343967, 0.3937506974, 0.5127543807, 0.1204654053, 0.0025678242, -0.0926603675, -0.3148123026, 0.4805137217, 0.4909558892, -0.4597952664, -0.0889756456, 0.7828426361, 0.227868259, -0.2037484348, 0.5961499214, -0.0112426365, -0.7886568308, 0.4182337523, 0.519546032, 0.9739243984, -0.2098492831, 0.167926088, 0.3523702323, -0.2015314698, -0.3422112465, 0.0062222392, -0.2121579647, -0.8327201009, -0.397105962, -0.428027451, -0.5895582438, 0.2749606669, -0.8771733642, 0.4087390304, -0.0652334243, -0.2365111858, -0.0761090368, -0.184931919, -0.7493720651, 0.2075232267, 0.0713119581, 0.5016283989, -0.9518103004, 0.8435735106, 1.1243451834, -0.6507116556, -0.9941542149, -0.077212058, -0.1781463474, -0.7372353077, 1.0589076281, -0.1309871227, -0.283975035, 0.0202784613, -0.4714622796, -0.4306654334, 1.1033246517, 0.0067861592, -0.4947727621, 0.1074457541, -0.083542645, 0.1980203241, -0.8389721513, 0.1384562552, 0.6858520508, 0.5208159089, 0.3129810095, -0.7330198884, 0.1061027199, -0.3144661188, 0.007060851, 0.4737347066, -0.599200964, 0.7194368243, -0.1455358118, -0.0543453582, -0.3431788385, 0.5303580761, 0.4956240356, 0.1287414134, 0.5303797126, 0.9124337435, 0.9265922308, -0.006614747, 0.7616046071, -0.4816022515, 0.613165617, 1.1656090021, -0.4676141441, 0.9716885686, 0.5294510126, -0.3166787326, 0.380902797, 0.8869339824, 0.0837256312, 0.8610159159, 0.1664174795, -0.3275570273, -0.7696802616, -0.0028435597, -0.630263567, 0.0816483945, -0.0133232791, -0.2085949183, -0.1723288298, -0.0822812021, -0.0564914495, -0.0430766009, -0.114267014, 0.8783430457, 0.0016602152, -1.1723805666, 0.4558913708, 0.1922387034, 0.9570175409, -0.599631846, -0.1379740238, -0.3540232778, 0.3161804676, -0.159896493, -0.5860952735, 0.0477435403, -0.2145925462, -0.5057486296, -0.0557269529, 0.9052655101, -0.9159860611, 0.1915453076, 0.6382231116, 0.697642684, 0.0539146662, 0.0766306892, -0.6555171013, -0.2418997586, -0.0559307337, -0.04443755, 0.6665687561, -0.12554124, -0.0024214706, 0.5772044063, 0.6455139518, 0.0974268243, -0.2095750123, 0.1053841785, 0.6931282878, -0.7841641307, -0.5121529102, -0.7417369485, 0.5771859884, -0.0620228685, 0.1426361501, 0.4447264373, 0.4438500702, 0.9047774076, -0.2684185803, 1.1732957363, 0.1200913042, 0.3159182072, -0.4377003014, 0.5558285713, -0.9476420283, 0.1637182683, 0.1485792696, -0.7666719556, 0.1242255345, 0.4478510022, -0.4916085601, 0.1214741468, 0.5938305855, 0.818123579, -0.284343034, -0.0548761711, 0.3718449771, -0.4553383291, 0.2035478503, 0.8450030088, 1.1559803486, -0.1653518975, 0.1784363836, -0.1130969748, -0.3192701936, -0.4899384379, -0.8603747487, -0.7097941637, -0.493247062, -0.4999873936, -0.2999630868, 0.0981425121, 1.2398082018, 0.8856082559, -0.7739498615, -0.4430602491, 0.0196142904, -0.0048257699, -0.4300186038, -0.2149186879, 0.388656199, -0.5833218098, -0.8523101211, 0.27002424, 0.4063699245, 0.1285790205, -0.1742626578, -0.7640752196, 0.0211416706, 0.2611013055, 0.2745485902, 0.3197601438, -0.7278151512, -0.034547139, -0.0823918581, -0.3605248332, 0.0154134259, 1.0190006495, -0.6892918944, 0.3784547448, 0.4352625608, 0.9165141582, 0.6661761999, 0.2689191699, 1.1709948778, -0.4385756552, -0.0603904836, -0.1572702527, 0.4490166605, 0.265527904, -0.2482749969, 0.6129936576, 0.161145404, -0.7158091068, -0.6590083838, 0.213516295, -1.0238138437, -0.2047766298, 1.0268239975, -0.1696911007, -0.0711966082, 0.2440564334, -0.1531123072, 0.3248136044, -0.3159778118, 0.6000233293, 1.001013279, -0.3838808537, -0.1002016813, -0.2486652583, 0.760915935, 0.4849637449, -0.9330164194, -0.0051274993, 0.4290926456, 0.4233308136, -0.2191657871, 0.6172271967, -0.0323654562, 0.3765706718, -0.2364974916, 0.5840706229, -0.3090051115, -0.2783994079, -0.477255851, 0.1987660378, 0.5789504051, -0.2988600433 ]
http://arxiv.org/abs/2407.01463v1
http://arxiv.org/pdf/2407.01463v1
Retrieval-augmented generation in multilingual settings
2024-07-01T16:56:50
2024-07-01T16:56:50
Nadezhda Chirkova, David Rau, Hervé Déjean, Thibault Formal, Stéphane Clinchant, Vassilina Nikoulina
cs.CL
cs.CL, cs.AI
Retrieval-augmented generation (RAG) has recently emerged as a promising solution for incorporating up-to-date or domain-specific knowledge into large language models (LLMs) and improving LLM factuality, but is predominantly studied in English-only settings. In this work, we consider RAG in the multilingual setting (mRAG), i.e. with user queries and the datastore in 13 languages, and investigate which components and with which adjustments are needed to build a well-performing mRAG pipeline, that can be used as a strong baseline in future works. Our findings highlight that despite the availability of high-quality off-the-shelf multilingual retrievers and generators, task-specific prompt engineering is needed to enable generation in user languages. Moreover, current evaluation metrics need adjustments for multilingual setting, to account for variations in spelling named entities. The main limitations to be addressed in future works include frequent code-switching in non-Latin alphabet languages, occasional fluency errors, wrong reading of the provided documents, or irrelevant retrieval. We release the code for the resulting mRAG baseline pipeline at https://github.com/naver/bergen.
[ -0.455778718, -0.3620586395, 0.2345301658, 0.2199130803, 0.1296094805, 0.4119106531, -0.1767814457, -0.4479111731, 0.2153742164, 0.3854685128, -0.4573134184, -0.321094811, -0.2960416377, 0.5178946257, 0.0714986548, 1.095725894, -0.1238281131, -0.0827724412, -0.2318253219, -0.3112390935, -0.8755649328, -0.6334820986, -0.4656252861, -0.2611736357, 0.8076065183, 0.6596300602, 0.3958159685, 0.2915860713, 0.1068758294, 0.1788199246, -0.1575969905, 0.6609410644, -0.5096583962, 0.6106411219, -0.3331037164, -0.2509355843, -0.2622879744, -0.3143598437, 0.7660723329, 0.5492454171, -0.1306160241, 0.4026330113, 0.1395486295, 0.6599125862, -0.9410585761, -0.0768917799, -0.6836634278, -0.083378084, -0.3466345072, -0.2495677024, -0.6284787655, 0.1909766644, -0.2454024702, -0.562409699, 0.3957391381, 0.3621262908, 0.9259357452, 0.0428720117, -0.5951613188, -0.4099017084, -0.4076264799, 0.8626660109, -0.3470921516, 0.7180988789, 0.4685544372, 0.2704108059, -0.2052304894, -0.7033680677, -0.4136666954, -0.1649324894, -0.3908786476, 0.1965244561, 0.2045498192, -0.4007962942, 0.3213464022, 0.1677846611, -0.6823364496, -0.0140692517, -0.2419453263, -0.3179672658, 0.443957448, 0.0723859817, 0.0377329364, -0.666995585, -0.3868220448, 0.0404921249, -0.8553305268, -0.0775136724, 0.5738927126, 0.7641578913, 0.0004581557, 0.477119714, -0.1091971025, 0.7483005524, 0.0728268921, -0.1678158343, 0.3848517239, -0.5401492119, 0.1555532068, -0.2027302384, 0.5102809072, -0.0475627556, -0.0556680411, -0.0622896813, -0.4792506695, -0.3541395664, 0.2662634552, -0.583309412, -0.0418659374, 0.1304860413, -0.1730365455, 0.0419043638, -0.2570809424, -0.8057765365, -0.5812315941, -0.3642725348, 0.1919593364, -0.2530165613, -0.3692393005, -0.3074892461, -0.1386552751, 0.1005326137, 0.0141086718, -0.7035620809, -0.3511745036, 0.3617219031, 0.55143255, -0.1842955351, -0.5595479012, -0.6789104342, 0.1852146387, -0.4662227929, 0.9254532456, -0.4324736297, -0.6984245181, 0.2574515045, -0.0032859971, -0.2080642879, -0.5099140406, 0.7672922015, -0.724635005, 0.6305733919, -0.5886457562, -0.1775469631, 0.1609264314, 0.4201227427, -0.5251488686, 1.1299698353, 0.1457054317, -0.7450474501, 0.5871437192, -0.4693878889, -0.5157723427, 0.2564776838, -0.256550163, -0.1265916675, 0.1390881836, 0.3195088208, 0.1859527081, -0.3091937602, 0.3308894038, 0.3203106523, -0.162412703, -0.0488538742, -0.4338213801, 0.6946164966, 0.6205903888, 0.0799785182, -0.2212064266, -0.8905153871, 0.0270992368, -0.04760544, -0.5807591081, -0.2841461003, -0.0148100145, 0.1863340586, 0.3079322875, 0.4096318781, -0.3258979917, 0.2100352943, -0.1272895038, -0.2049717158, 0.6631570458, 0.0521235578, 0.2115255892, -0.2733949721, 0.9224281907, -0.0317981616, -0.2332377583, -0.613371253, -0.3581676483, -0.6133531928, -0.5291416049, 0.4522479475, 0.7137895823, -1.3354011774, -0.0956956744, -0.1579320729, -0.1242309287, -0.6266515255, 0.2317355275, 0.6781046391, 0.8524173498, 0.2960692048, 0.0490649119, -0.6260015965, -0.83195889, -0.4159164131, -0.2583456039, -0.0020046907, 0.5938829184, 0.1270472258, -0.3465714455, 0.9154884219, -0.3390647471, -0.1820008457, -0.3506813645, 0.2223095745, 0.4602158368, 0.2142406702, 0.541487813, -0.9012616873, -0.5772405863, 0.2357754558, -0.8323900104, -0.4031459391, -0.1561524272, -0.2246254534, 0.5995935798, 0.366422087, -0.5055531263, -0.0116547449, 0.6613812447, -0.4948792458, 0.8898311853, -0.3199644983, 0.6581475735, -1.2965984344, 0.3824145794, -0.1010115072, -0.2200671732, -0.6839031577, 0.3963108063, 0.2412257493, -0.3614692092, -0.5480347872, 0.9702838063, -0.7484232187, -0.0014202847, -0.1642672122, 0.1660403013, 0.3875339329, 0.2031095028, -0.2127941251, 1.4400988817, 0.318895936, -0.692997694, -0.0117329257, 0.3353271484, -0.2355252057, 0.8841987252, -0.3190247715, 0.0928938016, -0.2401074469, 0.0237389728, -0.78329283, -0.4514059126, -0.0607213601, -0.6258794069, 0.7698863149, -0.2694158256, -0.5982287526, -0.1730593592, -0.1022119075, 0.2667354941, 0.2995885015, -0.8094828725, 0.6864331365, 0.3037944138, -0.2466154546, -0.954061687, -0.4425219595, 0.3713646531, -0.2777347565, -0.7437029481, 0.157781139, 0.056876976, -0.2006591558, -0.40618366, 0.0564803034, -0.1236689091, -0.0553273894, -0.2729758918, 0.3102732003, -0.0587408617, 0.3439441025, 0.1518461704, -0.049938757, -0.2228686064, -0.0288222339, 0.3679973483, 0.0917147323, -0.2186369002, 0.2386671156, 0.5948839188, 0.2664324939, -0.4828374982, 0.8009590507, 0.6694899797, -0.1422851831, -0.2966385782, -0.5442979932, 0.0599034354, -0.4919678271, 0.2442955971, -0.9036362767, -0.8688104153, 0.7697198391, 0.0391011201, 0.313828826, 0.4929418266, 0.6429323554, -0.1383114308, 0.8795893788, 0.5431112051, 0.351780057, 0.2841672301, 0.1053963602, 0.1224405617, -0.9584803581, -0.1674547344, -0.766209662, -0.0100455992, -0.6773290038, -0.3900229633, 0.635117352, 0.2190471888, -0.015892664, 0.2819176316, -0.2948019505, 0.4040696323, 0.4020827413, -0.2590400577, 0.3364902139, 0.190604493, -0.3367508948, -0.2441622168, -1.0212886333, -0.5419337749, 0.8938660622, -0.0698095113, 0.5626233816, 0.2972891331, 0.7050696015, 0.3664241433, 0.2268244773, -0.4523265064, 0.3085661829, -0.16133973, -0.8708764911, -0.0202206764, -0.5183377862, -1.259215951, 0.581361413, -0.132298097, -0.3623815477, 0.2851644456, 0.3428985178, -0.028088836, -0.0821707174, -0.8979833126, 0.8305046558, -0.1292890459, -0.4043701887, -0.0188700762, -0.5514214635, 0.2808768749, -0.2827744186, 0.5006771088, 0.1214258075, -0.0305411015, 0.2768325508, -0.0733483285, 0.4670721889, -0.3548005819, -0.3432826996, 0.2970785499, 0.0567449294, 0.6237614751, 0.2010833919, -0.2711766064, 0.0281546321, -0.1072509736, -0.4500671029, -0.3528234065, 0.7843207717, -0.4363328516, -0.6185878515, -0.466362685, -0.8107517362, -0.5057162642, 0.157654047, 0.3430116177, 0.5155020952, -0.0553787127, -0.0871613845, 0.6296586394, -0.5374212265, 0.2613810599, 0.5714370012, -0.388287276, -0.433564961, 1.1441779137, 0.2468122691, 0.2096394002, 0.2389964014, 0.0020727916, -0.3145355284, -0.2871721983, -0.971488297, 0.4188670218, -0.7659372687, -0.3197546303, -0.4973395169, 0.2520951331, -0.5588957071, -0.0874821618, -0.153345719, -0.4366204739, -0.409420222, 0.0617106706, 0.2828050852, 0.4149669707, -0.1450697333, -0.0453034341, -0.9063714147, 0.4892555475, 0.0419270955, 0.2914789617, -0.3092256486, -0.7795514464, -0.5955434442, -0.131071046, -0.1950425059, -0.7576550245, 0.3367586732, 0.4156569242, 0.6816674471, -0.2109193206, 0.0443567298, 0.791596055, -0.8189746141, 0.925982058, -0.1166076064, -0.566896081, 0.4403983951, -0.4793327153, 0.5376340151, 0.6216827035, 0.3209786713, -0.7928027511, -0.300242275, -0.3391001523, -1.0217750072, 0.5895829201, -0.0887666419, 0.2684703767, -0.3271860778, 0.2830654085, 0.194799006, 0.3579057753, -0.3012029827, -0.3641905487, -0.0288307723, -0.0081196446, -0.0659052432, -0.4130532444, -0.1440799385, 0.2994242907, 0.9019164443, -0.2735213041, 0.0327039212, 0.1028870046, -0.3062861264, 0.0321081653, 0.4950115383, 0.4859474003, 1.0688138008, 0.0857483968, -0.0950560942, 0.2367285043, -0.3104962409, 0.2190870345, 0.2547545731, -0.3656226099, 0.3248219192, 0.2652342319, 0.7572299838, -0.0270703733, -0.8020933867, 0.0896667242, 0.0009814823, 0.1317114383, -0.1219164059, -0.22886087, -0.2456095964, 0.0830010176, 0.6829155087, -0.1180016547, 0.1355478913, -0.3627928495, 0.2473935336, 0.3985121846, 0.0297626723, -0.1946161687, 0.5564229488, 0.2254251242, -0.2473848611, 0.4873719513, -0.5319207907, -0.2238821834, 0.1905943602, 0.5185409188, 0.7272850275, -0.240356341, 0.180102542, 0.3484573066, 0.3036467433, 0.0750802383, 0.383936584, 0.1301218271, -0.6075025201, -0.8459496498, -0.6895827055, -0.3578367233, -0.3083333671, -0.6784027815, 0.403093338, 0.0788101852, -0.2091870606, -0.3007377982, -0.1038351953, -0.6337152719, 0.0833137035, 0.0723871365, 0.8261790276, -0.5298300385, 0.5728503466, 1.0089952946, -0.2124715447, -0.57174474, -0.1457528621, -0.0231594648, -0.6105483174, 0.5994674563, -0.0552408509, -0.1708550304, 0.019676799, -0.1864619851, -0.8274460435, 0.9325991869, 0.5542513132, -0.2544717193, 0.0193775427, -0.1643761992, 0.6044851542, -0.1870023161, 0.0993991345, 0.377628088, 0.4017198384, 0.065366827, -1.0609219074, -0.3543827236, -0.1859909296, 0.1351219565, 0.4268183708, -0.5277805924, 0.7382531762, -0.0989840329, -0.4463362396, -0.0332349651, 0.7005034685, 0.6854553223, 0.2554245591, 0.2591074705, 0.6087064743, 0.8348228335, -0.0203251243, 1.309540391, -0.5178220272, 0.2368722856, 1.176764369, -0.480561316, 0.6710231304, 0.6654511094, -0.0434852913, 0.3683348298, 0.4363985062, 0.3944116831, 0.2946690023, -0.1817535162, -0.4481171966, -0.0320565626, -0.5904039145, -0.4131802917, 0.2868131995, 0.3256336749, -0.2059019059, -0.1965133399, 0.2289984077, 0.1729430705, 0.2806071043, -0.1775411963, 0.6147922873, -0.1395108998, -0.872938931, 0.8464198709, 0.0185905062, 0.6557727456, -0.5188743472, -0.1224669218, -0.5432344675, -0.1323131174, -0.187817499, -0.7293425798, 0.3384961784, 0.46300897, -0.4736377597, -0.5820558071, 0.7106240392, -0.512427032, -0.5737552643, 0.0987126827, 0.8907364011, 0.1687785387, 0.2504422665, -0.6208851337, 0.1315092146, 0.0552458912, -0.4942003191, 0.4734268486, 0.6731300354, -0.0940060318, 0.4730727673, 0.6168913245, 0.2129409462, 0.2928980887, 0.4049052, 0.6914672852, -0.40099594, -0.2047946453, -0.3662778139, 0.8496578932, 0.1198747531, -0.3732641935, 1.0114705563, 0.5664145947, 0.7737745643, -0.097773008, 0.7201234102, -0.3552670479, 0.9525224566, -0.4303844869, 0.5331799984, -0.7149938345, 0.1897816956, -0.0960179269, -0.9626965523, -0.2222883254, 0.2374916375, 0.2261524796, -0.0007738862, 0.5488604307, 0.8603807688, 0.1399894953, -0.5878974199, 0.4422023296, -0.1097097248, 0.4418462515, 0.1472963095, 0.6237543225, -0.3667688072, 0.5525259972, 0.1778388768, -0.0914091766, 0.2329967767, -0.8783041835, -0.6282204986, -0.5508856177, -0.0926605463, -0.3625086248, 0.1696359813, 0.8088847995, 0.3283929527, -0.7100960016, -0.3859217167, 0.3817557991, 0.2204558998, 0.076237224, -0.1922201514, 0.0162009671, -0.9861987829, -0.8311604857, 0.7045825124, 0.0540168993, -0.3324202597, -0.3637607992, -0.1357087344, -0.5189015269, -0.098833099, 0.747087419, 0.4481358528, -0.5805498958, -0.317825526, 0.2036576271, -0.1012972519, 0.0450518392, 0.6520858407, -0.914239645, 0.8241522312, 0.696177423, 0.7753106952, 0.1979295909, 0.2178828865, 0.5904752612, -1.423145771, 0.2458200455, 0.1747384369, 0.4071773589, 0.5562714338, -0.3268566728, 0.5422716141, 0.1621089876, -0.8478726149, -0.9920825362, 0.4075420499, -0.3065283597, -0.1105349436, 1.2136403322, -0.0259650741, 0.1691634506, -0.1807410717, -0.29565382, 0.0883372352, -0.4464758635, 0.5687611103, 0.8576253057, -0.0978503451, -0.2400414795, -0.769980669, 0.4375900626, 0.4428108633, -0.7416837811, 0.1306376457, 0.9051665664, -0.1993682683, 0.5122708678, 0.4902497232, 0.0371174067, 0.2253067195, -0.1396748573, 0.1918200254, -0.0372011438, -0.6196039319, -0.3416384757, 0.1137448773, 0.3130749464, 0.1718849242 ]
http://arxiv.org/abs/2407.01461v1
http://arxiv.org/pdf/2407.01461v1
Enhancing the Capability and Robustness of Large Language Models through Reinforcement Learning-Driven Query Refinement
2024-07-01T16:55:28
2024-07-01T16:55:28
Zisu Huang, Xiaohua Wang, Feiran Zhang, Zhibo Xu, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang
cs.CL
cs.CL
The capacity of large language models (LLMs) to generate honest, harmless, and helpful responses heavily relies on the quality of user prompts. However, these prompts often tend to be brief and vague, thereby significantly limiting the full potential of LLMs. Moreover, harmful prompts can be meticulously crafted and manipulated by adversaries to jailbreak LLMs, inducing them to produce potentially toxic content. To enhance the capabilities of LLMs while maintaining strong robustness against harmful jailbreak inputs, this study proposes a transferable and pluggable framework that refines user prompts before they are input into LLMs. This strategy improves the quality of the queries, empowering LLMs to generate more truthful, benign and useful responses. Specifically, a lightweight query refinement model is introduced and trained using a specially designed reinforcement learning approach that incorporates multiple objectives to enhance particular capabilities of LLMs. Extensive experiments demonstrate that the refinement model not only improves the quality of responses but also strengthens their robustness against jailbreak attacks. Code is available at: https://github.com/Huangzisu/query-refinement .
[ -0.3236664832, -0.92800349, 0.582544148, 0.0258081071, -0.1516441405, 0.2618957758, -0.524153173, -0.2619458437, 0.0615055822, 0.7232455611, -0.5930832028, -0.4722506404, -0.2801387012, 0.1487237513, -0.1653840393, 1.0535773039, 0.1485987753, -0.2770290971, -0.0535535887, -0.1482996047, -0.6091066003, -0.2630212307, -0.8619071245, 0.0220392849, 0.6228228211, 0.5045297146, 0.6072899103, 0.2150978297, 0.1561452001, 0.3536731303, -0.085570842, 0.4117965102, -0.7681319118, 0.6667233706, -0.5217776299, -0.554835856, -0.0884133205, -0.3493583798, 0.3879002035, 0.428483367, -0.259624809, -0.0706577525, 0.0551609062, 0.5691966414, -0.583481431, 0.0599397533, -1.0115784407, -0.2841276824, 0.0201479811, -0.2367438227, -0.6542239189, -0.4397889078, -0.0066458522, -0.5420646071, 0.0137299215, 0.2254531533, 0.7121112943, 0.2004301399, -0.3255707324, -0.1456229091, -0.4893405139, 0.6117117405, -0.9152534008, 0.2381350845, 0.3711408377, 0.4367818832, -0.7365500331, -0.6748436093, -0.3326686323, -0.7135053277, -0.0467270464, -0.3623475134, -0.1310845017, 0.0756353289, 0.4489822388, 0.0587487556, -0.6028256416, 0.4375033975, -0.2997617126, -0.3023198545, 0.6512865424, 0.2940439582, 0.3241596222, -0.1032224745, -0.2054078877, 0.0317220613, -0.9046892524, 0.2867310345, 0.4641607106, 0.5671383739, 0.1945233196, 0.3675198853, -0.4935264289, 0.764863193, 0.2879343331, -0.2056071758, 0.0338955224, -0.2462479621, 0.0996123776, -0.187137872, 0.9965735078, 0.1055865213, 0.1292173713, -0.2655958533, -0.4385021627, -0.4259996712, 0.5663284063, -1.0163270235, -0.1144361869, 0.3503713608, -0.3049086034, -0.5359988213, 0.0681317598, -0.6379762888, -0.6106987, -0.0458115153, 0.1438610107, -0.552290678, -0.1514907032, 0.1414667517, 0.2633199394, -0.0085663646, 0.4187074602, -1.0833581686, 0.2114487141, 0.5110931993, 0.4351681769, -0.1221372262, -0.01063646, -0.8020154238, 0.0743967965, -0.2508897483, 0.5741417408, -0.5598105788, -0.5344296098, 0.0152111053, 0.1183580458, 0.1703882366, -0.6881448627, 0.5741568804, -1.0375276804, 0.0730690807, -0.2734794319, -0.3092800975, -0.1632009149, 0.4635197818, -0.7390969396, 0.8138541579, 0.0784781575, -0.5908970237, 0.2164670974, -0.3544546664, -0.6284011602, 0.0580243133, -0.0307855643, -0.3671195805, 0.0972667783, 0.4589902759, 0.2617067993, -0.1714351028, 0.3902837336, -0.5490215421, -0.3704114258, 0.4404792488, -0.24663423, 0.5490283966, 0.3119542301, -0.2034296542, 0.5123748779, -0.8001065254, 0.1880715936, 0.1939993203, -0.5860882998, -0.2797307372, 0.1130556986, -0.2731542885, 0.2223406285, 0.2286501974, -0.3995390534, 0.3608794808, -0.6766930819, 0.5495221019, 0.8163070083, 0.0777161494, 0.3004275262, -0.1883066893, 0.6256484985, -0.1308075786, 0.1009017602, -0.2971837819, -0.1876901686, -0.3216522634, -0.1037891135, 0.2377234399, 0.6273980737, -1.0362776518, 0.4094591737, -0.0004273256, -0.5173124075, -0.339425087, 0.3684112728, 0.1992466152, 0.6738166213, 0.3390336037, -0.2322340161, -0.5951078534, -0.5788542032, -0.4119460285, -0.510530889, -0.0360077508, 0.4940441847, 0.3519059718, -0.1554228663, 0.7313671112, -0.4399023652, 0.1303317994, -0.423633486, -0.0615486987, 0.2131629735, 0.473674804, 0.4090973139, -0.6171034575, -0.2299533039, -0.1887825727, -0.5100896955, -0.3000960946, -0.2112696767, -0.0128463069, -0.0411232673, 0.8092139959, -0.491973877, 0.1446132213, 0.2482085973, -0.440417856, 1.0555764437, -0.136154741, 0.1617902666, -0.9676075578, -0.0180018749, -0.0886523798, -0.4614295363, -0.4141186476, 0.345198065, 0.072152175, -0.1698045284, -0.4756034017, 0.6356725097, -0.1912733465, 0.1060021222, -0.4151168168, 0.1359155476, 0.0687054172, 0.3296524286, -0.2279067338, 0.9452748895, 0.4280180633, -0.6216233373, 0.6569417119, 0.0478583872, -0.326336354, 0.3942596018, -0.8958774209, -0.0883693323, -0.0248213932, 0.2107293755, -1.0818450451, -0.1477413625, 0.2057866752, -0.4617488086, 0.3303446472, -0.3021279573, -0.5470927358, -0.1768383682, -0.3597216904, 0.3071588278, 0.472007066, -0.6499581933, 0.4062132835, 0.0400700867, -0.335504353, -0.4305889606, -0.3540732265, -0.0030268736, -0.2612683177, -0.6212388277, 0.3496943116, -0.1016198546, -0.1085178331, -0.1377412379, -0.0162334591, 0.0992829651, 0.3498123884, 0.1376246065, 0.3526976109, -0.1320544034, 0.2032262236, 0.1060252935, 0.0025112084, 0.2038487047, -0.3648288846, 0.5287883282, -0.1003664583, -0.4143173993, -0.3217060268, -0.0283439253, 0.4915791154, -0.4908337891, 0.7693429589, 0.5914283395, 0.0263073202, -0.4590485394, -0.5335151553, -0.542480588, -0.5712953806, 0.3552274704, -0.3629960716, -1.4860078096, 0.5243311524, -0.373529166, -0.0399181396, 0.0874527916, 0.508395195, 0.072944425, 1.1084586382, 0.5599287152, -0.1714626104, 0.7116655707, 0.1831101775, 0.0166483484, -0.7685875893, -0.2994691432, -0.5685431957, -0.1149100363, -0.7528178096, -0.2458099872, 0.0734434798, 0.1364284456, -0.3697827756, 0.2317185551, -0.2753124833, 0.5278153419, 0.3282091916, 0.2607650161, 0.1341623813, -0.0331302173, -0.3957128525, -0.0609561503, -0.4554818273, -0.4313916862, 1.0478647947, 0.2882381678, 1.1041628122, 0.37584728, 0.6157886982, 0.1678422093, 0.094064489, -0.6713984013, 0.5813239217, 0.242152065, -0.4467187822, -0.2538967133, -0.7591439486, -0.9218384027, 0.3690392375, -0.2382235676, -0.9324356914, -0.0490910672, -0.0128615908, -0.4902898371, 0.3072206676, -0.5338645577, 0.7416303158, -0.4048392773, -0.7190949321, -0.1736238748, -0.43095842, 0.5736997724, -0.0263889376, 0.0862318724, -0.127431035, -0.0920248106, 0.4841071963, -0.5766862035, 0.9011978507, -0.2651120126, -0.1154821217, 0.2402246594, 0.3500961661, 0.7676574588, 0.5343080163, -0.1700710207, -0.5375057459, -0.2197897881, -0.3966043293, -0.8535408974, 0.7808326483, -0.4724895358, -1.01141119, -0.0395072289, -0.4328964055, -0.4788383543, 0.4155324101, -0.1195542961, 0.2599881589, -0.1692833751, 0.1239438131, 1.0431497097, -0.6329083443, 0.1849882901, 0.8345856071, -0.5744965076, -0.2701604664, 0.7481938004, -0.3282434046, 0.2116871923, 0.1571678519, 0.1317166686, -0.4096056223, -0.813639164, -0.3285050988, 0.1554520428, -0.5356968045, -0.2833557725, -0.2462707609, -0.0649404973, -0.4865246117, 0.0384612568, -0.217370227, -0.2114031315, -0.274104923, -0.3244709671, 0.5321993828, 0.3279833496, 0.1320386678, 0.2707498372, -0.7592688203, 0.2884658575, 0.3937013149, 0.3909550905, 0.0016123223, -0.7994967699, -0.095814012, -0.197983861, -0.3317939043, -0.8782055974, 0.4051932096, -0.0090510836, 0.6068561077, 0.5277150273, 0.3570544124, 0.4627303183, -0.4097429514, 0.7526564598, 0.0588977076, -0.656309247, 0.8709436059, -0.4208322465, 0.2870480418, 0.9251018167, 0.2818907499, -0.2860349417, -0.4222183228, -0.4887812436, -0.9990369081, 0.5850867033, -0.2085297704, 0.3786639869, -0.0234317426, 0.5365896225, 0.1117007285, 0.1644147784, -0.6007828712, -0.0249347836, -0.0414442345, 0.0599308833, 0.2575612068, -0.3434408605, -0.0340946093, -0.2245514393, 0.7600662708, -0.1797351092, -0.2623122334, -0.1916353256, -0.1672157794, 0.0806513503, 0.5981245637, 0.4247759283, 0.5541120768, -0.1191640496, -0.0086602466, 0.240303874, -0.2869540155, 0.2373113185, 0.2101532966, -0.2711157799, -0.3206916451, 0.1944342852, 0.9435271621, 0.2455502301, -1.0988906622, 0.4018404782, -0.3966763318, 0.1125236228, 0.0682937056, 0.3973386884, -0.0447297171, 0.3362362385, 0.1234942749, -0.1626466811, 0.1529459804, -0.4713787735, 0.2869459093, 0.435487628, -0.3150438368, -0.1779705584, 0.7059549689, 0.1668099761, -0.061551325, 0.8355637789, -0.3120061457, -0.4858323932, 0.2852333784, 0.812024951, 0.5290102959, -0.270358175, 0.2550108433, 0.5591060519, 0.3378514946, 0.036007151, 0.26861009, -0.1428244263, -0.6108059883, -0.4927575886, -0.4864282906, -0.3226366639, 0.28117764, -0.6820178628, 0.1702333391, -0.8247249722, -0.1736764908, -0.4274465144, 0.1037763134, -0.3322731555, 0.1393614858, -0.0243729614, 0.9675834775, -0.4656772912, 0.8076353073, 0.6091979146, -0.6284350157, -0.9633709788, -0.111733973, 0.0053286832, -0.7338083386, 0.5526387095, 0.1010462865, -0.0572496913, -0.1981740892, -0.7730153203, -0.7582637668, 0.8612476587, 0.447352916, -0.6618971229, 0.0061377813, -0.0510212407, 0.4486637414, -0.1640079618, 0.3023026884, 0.6463845372, 0.2578114271, 0.1487623006, -0.7001675963, 0.4721732438, -0.1556755751, 0.1842669994, 0.0935359597, -0.3399387896, 0.5958461165, -0.5702470541, -0.063228175, 0.2220678329, 0.7888629436, 0.6752628088, -0.1301962733, 0.426839143, 0.560479939, 0.9128616452, -0.078032203, 1.0457566977, -0.2222360075, 0.0088450704, 1.2632347345, -0.3232894242, 0.9055288434, 0.4188561738, -0.0480589531, 0.7586815357, 0.5289259553, -0.0737461299, 0.6173408031, 0.5937006474, -0.4695529938, -0.2885088325, -0.0320146009, -0.2180929631, 0.1735819727, 0.5415945649, -0.3678210974, -0.2267455459, 0.0853399262, 0.2165659219, 0.2892529666, -0.336998105, 0.8935130239, 0.0166898705, -0.7062072158, 0.6850041747, 0.3090936244, 0.8345493078, -0.7377242446, 0.0945204869, -0.3136757612, -0.0904345065, -0.3706423044, -0.6959304214, 0.0280908328, 0.1736499369, -0.132266432, 0.0301341489, 0.9772636294, -0.3169128001, -0.1073542461, 0.2805195749, 0.3567107916, -0.0750831813, -0.0851643607, -0.9100261331, 0.2726776898, 0.1294774115, -0.3417313993, 0.5177657008, 0.4708419442, -0.0548325628, 0.8693085313, 0.8808766007, 0.3462378681, -0.0177581757, 0.2346147746, 1.1268994808, -0.5918887854, -0.5752543211, -0.86401999, 0.5175482631, -0.06861002, 0.0969786793, 0.7573586106, 0.3249487579, 0.8433612585, 0.1051563248, 0.8587920666, 0.0115164118, 0.3601210117, -0.6101282835, 0.7305629253, -0.4387927949, 0.7703482509, -0.0410458893, -0.6135408878, -0.1592124254, 0.4820096493, -0.6663626432, 0.3178889453, 0.3068845272, 1.0707859993, 0.1101456359, -0.2292997986, 0.2797914743, 0.1862230003, 0.6123277545, 0.5541331768, 0.9188222885, -0.1038956121, 0.7024150491, -0.0362432897, -0.0667113438, -0.3438999355, -0.7345542908, -0.8348485827, -0.2716895342, -0.1549112797, -0.5959118605, 0.2567005157, 0.8848990798, 0.6599500179, -0.8234542608, -0.1288608462, -0.013741497, 0.3243781328, 0.0197813641, -0.295460254, 0.1174720973, -0.8086645007, -0.2459777743, 0.7614814639, 0.0947187021, -0.2367476672, -0.2748550773, -0.1342781484, 0.0415259488, 0.116835922, 0.5911031365, 0.6489882469, -0.6992255449, -0.2633763254, -0.1810520589, -0.2263285071, -0.0719887316, 0.7455308437, -1.0992003679, 0.5265102983, 0.4247567952, 0.858750701, 0.2388801277, 0.1412531137, 0.5591892004, -0.9537217617, 0.0581294484, 0.2921784222, 0.4075319767, 0.3550258279, -0.4451444149, 0.0701781064, -0.082356669, -0.5295938849, -0.7736244798, 0.5313080549, -0.7609704733, -0.6046420336, 1.1418398619, -0.3145122528, -0.2725814879, -0.1224297583, -0.4770311415, -0.0203033965, -0.6381887197, 0.7881698608, 0.4220868051, -0.0603028461, -0.4090321958, -0.3865956068, 0.6437073946, 0.3176608682, -0.9463310242, 0.265360862, 0.6764411926, 0.6118338108, -0.2366007715, 0.4181099832, -0.3457130492, 0.3352825642, -0.3015903234, -0.2210270464, -0.3652896881, -0.2057410479, -0.3889231086, 0.365891844, 0.6164579391, 0.235358119 ]
http://arxiv.org/abs/2407.01455v1
http://arxiv.org/pdf/2407.01455v1
TimeToM: Temporal Space is the Key to Unlocking the Door of Large Language Models' Theory-of-Mind
2024-07-01T16:50:49
2024-07-01T16:50:49
Guiyang Hou, Wenqi Zhang, Yongliang Shen, Linjuan Wu, Weiming Lu
cs.CL
cs.CL
Theory of Mind (ToM)-the cognitive ability to reason about mental states of ourselves and others, is the foundation of social interaction. Although ToM comes naturally to humans, it poses a significant challenge to even the most advanced Large Language Models (LLMs). Due to the complex logical chains in ToM reasoning, especially in higher-order ToM questions, simply utilizing reasoning methods like Chain of Thought (CoT) will not improve the ToM capabilities of LLMs. We present TimeToM, which constructs a temporal space and uses it as the foundation to improve the ToM capabilities of LLMs in multiple scenarios. Specifically, within the temporal space, we construct Temporal Belief State Chain (TBSC) for each character and inspired by the cognition perspective of the social world model, we divide TBSC into self-world beliefs and social world beliefs, aligning with first-order ToM (first-order beliefs) and higher-order ToM (higher-order beliefs) questions, respectively. Moreover, we design a novel tool-belief solver that, by considering belief communication between characters in temporal space, can transform a character's higher-order beliefs into another character's first-order beliefs under belief communication period. Experimental results indicate that TimeToM can dramatically improve the reasoning performance of LLMs on ToM questions while taking a big step towards coherent and robust ToM reasoning.
[ -0.3465944231, -0.9227639437, 1.1302351952, 0.1301463246, -0.2846288979, 0.4268330336, -0.1809458137, -0.5162225366, 0.1768412441, 0.0059447507, -0.6863128543, -0.3387025893, -0.4351087511, -0.1446700394, 0.1063640937, 0.4817064106, -0.0954535455, -0.0198023096, 0.2653397918, -0.0993744284, -0.2073708028, -0.6350181103, -0.7786525488, -0.4725066423, 0.7058589458, -0.1543126404, 0.7654178739, 0.4572217166, 0.3550141156, 0.2479839325, -0.1696072966, 0.3079722524, -0.2382277995, 0.3033094704, -0.6900656223, -0.7262219191, -0.8606490493, -0.0654340535, 0.4622010589, 0.5338256955, -0.2543484867, -0.1057788581, -0.1258597225, 0.2604894936, -0.4822113216, 0.2376321554, -0.7160546184, 0.187251389, -0.1849257797, -0.5699695349, -0.2958865166, -0.4173923135, 0.1758614779, -0.7870137095, 0.1572333127, 0.5419903398, 0.7573619485, 0.2880235016, -0.458684653, 0.0117883179, -0.9008086324, 0.9167127013, -0.6758329868, 0.4640310705, 0.1862239689, 0.6459190249, -0.3789723516, -0.1555835903, -0.9713784456, 0.1170360819, 0.3167416751, -0.0930778384, 0.1231217459, 0.1076651067, 0.2917970717, 0.3171756864, -0.4621003568, -0.2218901068, -0.0387454927, -0.0216961429, 0.3644382358, 0.4399005175, 0.2325050831, 0.0389713384, -0.139171645, -0.3173263967, -0.5318405032, -0.3201283216, -0.2899957895, 0.0478916913, 0.0809133649, 0.3856859803, 0.0054215211, 0.4602766931, -0.0882375091, -0.3471623063, -0.0472018979, -0.1393790394, -0.2439160347, -0.0803332254, 0.3353856504, 0.3282657862, 0.2747863829, -0.0477655232, -0.0433749445, 0.5680447221, 0.2170576155, -0.4636854231, 0.1520877331, 0.3674850762, -0.3130115867, -0.1849324703, -0.1760228574, -0.7487899661, -0.5396307707, -0.1263076067, 0.3004082441, -0.7690879703, -0.5026512146, 0.24998869, -0.0404531173, 0.2933064401, 0.6668229699, -0.6024346948, 0.2439147681, 0.6795485616, 0.9032093287, 0.0101743639, -0.4765453339, 0.022565864, 0.8594373465, -0.5529536605, 0.650421977, -0.7858704329, -0.3468167186, -0.245201394, -0.0601409003, 0.037601985, -0.0052428944, -0.0036915143, -0.4809074998, 0.4661676288, -0.4167295098, -0.6283861399, -0.0192343835, 0.3555478752, -0.3361942768, 0.507651329, 0.0715538561, -0.3502153754, 0.486857295, -0.9895913601, -0.4377696216, 0.1191565022, -0.4079356194, 0.0645551458, 0.2654882967, 0.3750592768, 0.4822572768, -0.5148535371, 0.6223150492, -0.8140645623, -0.0965806469, 0.4596966207, -0.3129502237, 0.7048432231, 0.5935356617, -0.3765750825, -0.1773751825, -0.4406533837, 0.1992212385, 0.4775032997, -0.2115178257, -0.6452799439, 0.3615763485, -0.3755705357, 0.3153814077, 0.2695320547, -0.6969274879, 0.4618905187, -0.3801680505, 0.7400083542, 0.8427286744, 0.2702399194, 0.413875252, -0.4578778744, 0.3534341455, 0.1429679245, 0.3046678901, -0.00009438, -0.363016814, -0.7712206244, 0.1224938184, -0.2546237111, 0.338177979, -0.8652994037, 0.494309485, -0.2953641713, -0.5064123869, -0.3725035191, -0.2528890073, 0.4850833714, 0.0921183527, 0.2870952189, 0.0822737888, -0.375048697, -0.5801551342, -0.2530700564, -0.5640053749, -0.1121369451, 0.1104689464, 0.504381597, -0.2359990627, 0.8603007197, -0.9124925137, -0.1487158686, -0.1916963458, -0.2078624517, 0.2195627689, 0.4465625286, 0.4203320146, -0.5655626655, 0.2183072418, 0.0031370751, -0.8313447833, 0.2737217247, -0.1439199597, -0.2202878296, 0.3294025064, 0.2678155303, -0.6926304698, 0.5432693362, 0.2763058245, -0.6129871011, 0.0878559351, -0.236672014, 0.3541794121, -1.5237975121, -0.2138083875, -0.0648110062, 0.0491368435, -0.2672194242, 0.3380152285, -0.0969345868, -0.3475214839, -0.021315895, 0.9166386127, -0.3171623647, 0.0504360273, 0.090284884, 0.3844295442, 0.06066899, 0.9044280052, 0.1304194331, 0.5914825797, 0.1240262091, -0.8072365522, 0.0805789456, 0.2089082301, -0.3606590331, 0.7026389241, -0.5535610318, 0.3568965495, 0.0204354525, 0.3739454448, -1.0790925026, -0.296002984, 0.081396088, -0.4668821692, 0.1875186563, 0.1637270898, -0.6693840623, -0.3765109479, 0.180591166, 0.4473639727, 0.4856958985, -0.5037468076, 0.7120496035, 0.5802100301, 0.016159365, -0.2206979394, -0.6951003671, 0.0156128835, -0.1467972547, -0.6211069822, 0.4135242701, -0.2549762428, -0.6474322677, -0.0427072495, -0.3650615215, -0.1968385577, 0.0770114437, -0.0140390554, 0.2626036108, -0.1009094641, 0.4714175165, 0.3815683126, -0.0877331048, -0.0007236702, -0.7560162544, 0.7133561969, -0.2699418366, -0.4171598256, -0.111127615, 0.2477389574, 0.8314962387, -0.0471308976, 0.7107997537, 0.0721640363, -0.6338988543, -0.4095275104, -0.7351816893, -0.0495521873, -0.4668487608, 0.2683486044, -0.566865027, -0.9945335388, 0.2916662991, -0.0643982515, 0.2925746143, 0.0839966238, 0.4833499491, -0.2916520238, 0.9490219951, 0.5313940644, -0.1290123761, 0.4202263057, -0.0281980429, 0.3808201253, -0.7053641081, -0.271404326, -0.1782959402, -0.365436554, -0.1934078038, -0.7086256146, 0.5557428002, -0.1584504843, -0.2903705835, 0.4291309714, -0.3841085434, 0.3393253386, 0.1830036789, 0.1664412022, 0.2817329466, -0.0211346503, -0.4842708111, -0.010038089, -0.6037528515, -0.5378789306, 0.7471791506, 0.4682450593, 0.8015035987, 0.4381318688, 0.5035699606, 0.209854871, -0.1478844285, -0.5999672413, 0.8920230269, 0.0954214036, -1.0786812305, -0.4668475688, -0.2398602217, -0.7646256089, 0.3363996744, -0.0833427459, -0.889829278, 0.1616016179, 0.1818295419, -0.4891358316, 0.5936200023, -0.5655196905, 0.3954074085, -0.3267137408, -0.2791342735, -0.7684567571, -0.5752258897, 0.0796159953, 0.0753131956, 0.0494444296, -0.1385873109, -0.0271286946, 0.6991887689, -0.4958167374, 0.7666141987, -0.2038790286, -0.45048365, 0.1939318776, 0.6095321178, 0.3141043186, 0.1400214434, 0.1718777865, 0.1313555241, 0.3711135387, -0.363355279, -1.0013990402, 0.4158100188, -0.7443945408, -0.8339545727, -0.4768827856, -0.7470867634, -0.5567128062, 0.1386024952, -0.0410415269, 0.579105258, -0.1839692891, 0.0289660431, 0.845472455, -0.3676979244, 0.3664804995, 0.5363153815, -0.4676672816, -0.446716249, 0.6152775288, -0.0760274157, 0.2637611032, 0.8820445538, 0.2557130158, -0.2487497628, -0.1124060303, 0.3213034868, 0.4135158658, -0.7114905119, 0.0678544119, -0.5949780941, -0.2028384358, -0.3572917283, -0.3007730246, -0.3150008023, -0.6339507699, 0.2657135129, -0.0149066243, 0.1519943029, 0.6507488489, 0.2040748149, 0.3706136346, -0.642758131, 0.3199248314, 0.3539217412, 0.3511916399, 0.0946537331, -0.1616514027, 0.065045014, 0.0444442183, -0.235582009, -0.735224545, 0.269944787, -0.316270411, 0.4434171319, 0.4748056829, -0.1522788405, 1.1285587549, -0.5094828606, 0.5865010023, 0.1429580599, -1.1034730673, 0.811547935, -0.6148716807, 0.4235183895, 0.0650474578, 0.0593304634, -0.797586143, -0.5780450702, -0.7620170116, -0.3884780407, 0.4415626526, 0.2966451347, -0.4407496154, -0.0648110658, 0.3557577431, 0.0272665117, 0.2882896066, -0.5344096422, 0.0921025276, -0.115245007, -0.1562778205, -0.2081430107, -0.1406409144, -0.2153368294, -0.3376060128, 0.4683873355, -0.1344011575, 0.6536175013, 0.3631899357, 0.0381227173, -0.3770207465, 0.6628243327, 0.5123375058, 1.1152142286, -0.2693017721, 0.1426017731, 0.2421850413, -0.2669457495, 0.2867325544, -0.3276518881, 0.1779547483, -0.356954664, 0.528767705, 0.5948352218, 0.206633687, -0.1478536129, 0.1573744565, -0.0949088335, -0.0553656109, -0.5917594433, 0.3027804494, -0.0402118899, 0.7212542892, 0.4770821631, 0.052945096, -0.466365099, -0.7429856658, 0.0470217615, 0.2436435521, -0.0885607675, -0.4631498158, 0.814789772, 0.2573628128, -0.4643530548, 0.3198481202, -0.1345210671, -0.5441865921, 0.4263653457, 0.6277047396, 1.0039130449, -0.283141315, 0.1261454076, 0.1482955217, 0.4931860566, 0.0614483058, 0.584118247, -0.1036433056, -1.1077208519, -0.4433779716, -0.5624189973, -0.3356226683, 0.2412390858, -0.4837861359, -0.0787223876, -1.0653330088, -0.356408447, -0.2579949498, 0.2688222229, -0.54280442, 0.1885219216, 0.1489236951, 0.9610868096, -0.3597671092, 1.2146135569, 0.6124123335, -0.0965079591, -0.7623054385, 0.3610115945, 0.2872608602, -0.9173856378, 0.5912520885, -0.087428689, -0.4555394948, -0.152507022, -0.7233957648, -0.961073041, 1.4150699377, 0.1820112914, -0.8683239222, -0.4732270539, -0.3484586477, 0.6844473481, -0.5384526253, -0.2251458466, 0.3295068741, 0.3111577034, 0.0469218343, -0.7458209395, 0.3097062111, -0.3331902623, 0.3082539141, 0.4682177305, -0.8624458909, 0.7428315282, -0.3594332933, -0.4637487233, 0.0751008317, 0.72857517, 0.7306740284, 0.2664186358, 0.6814692616, 0.4479573965, 0.909897387, -0.1813390404, 1.0130292177, -0.3004515469, 0.2640339136, 1.0420849323, -0.5120872259, 0.5164805055, 0.5745769143, -0.3176734447, 0.5501775742, 0.4690653384, 0.159052968, 0.3954358995, -0.1026865542, 0.0340313166, -0.5641159415, 0.0433525182, -0.400704205, 0.1728860289, 0.780590713, 0.1524547487, 0.0396327972, -0.1610670984, 0.2459658682, -0.0334252976, -0.0847348869, 0.3579052687, 0.2277671248, -0.6155239344, 0.2824579477, -0.1725206971, 0.3257434964, -0.8407728672, -0.1041704714, -0.1211680397, 0.5629552007, 0.2831301093, -0.8223919272, 0.037800137, -0.2616584301, 0.0592423007, -0.1782744825, 0.5519536734, -0.3444365263, -0.2968161106, 0.4930446744, 0.5341396332, 0.0035764056, 0.28491956, -0.6349611878, -0.0097532431, -0.195453018, -0.175998956, -0.0030042736, 0.7743855715, -0.0124378763, 1.1101522446, 0.3643703759, 0.3777346015, -0.2778518498, -0.0244929865, 0.7541558743, -1.1949468851, -0.7604178786, -0.9545810819, 0.0068983422, -0.232242167, -0.3649446666, 0.5769007802, -0.0486226529, 0.8681917787, 0.0822980329, 0.8085796833, -0.347111702, 0.5250144601, -0.8002935648, 0.7078664303, -0.8132304549, 0.2910787165, -0.6534599662, -0.9347975254, -0.1191230416, 0.7059221268, -0.3833773434, 0.0736386329, 1.3511157036, 0.5399395823, 0.1761579365, 0.1815166026, 0.4975784123, 0.48236835, 0.6445583701, 1.1542198658, 1.0245008469, -0.1203359962, 0.429099381, -0.0965099037, -0.2255027294, 0.1608207822, -0.6856390834, -1.3173353672, -0.8850041032, -0.0429200195, -0.405937016, 0.1191680878, 1.3016121387, 0.5810325146, -0.5637100935, -0.4160938859, 0.0735108703, 0.113519609, -0.2020572275, -0.2497212887, 0.0080767153, -0.1677983105, -0.5267168283, 0.4654203057, 0.6538646817, 0.188714698, -0.4083987772, -0.0828311294, -0.2942769527, 0.2244554758, 0.7244355679, 0.0148194358, -1.0678753853, -0.6802031398, 0.0646712035, 0.1040682644, -0.051024776, 1.1938996315, -0.5422230959, 0.3290011585, 0.2718462646, 0.4517158568, 0.3850157559, -0.3345139325, 0.9723289013, -0.5746843219, 0.1953925639, 0.1692681611, 0.6280761361, -0.0389275216, -0.444472611, 0.7496435642, 0.4740864635, -0.3611313999, -0.6918590069, 0.6775860786, -0.8897910714, -0.8134972453, 0.9996697307, 0.1229941994, -0.5116356015, -0.1496836096, -0.0461368412, 0.4243112803, -0.5647284985, 1.0093457699, 0.947358489, -0.0376245305, -0.0001744598, -0.1543486565, 0.3012534976, 0.4722336233, -0.9109888673, 0.096219562, 0.3814114034, 0.1920850277, 0.5726447105, 0.7658799291, -0.3315312266, -0.0156948511, -0.0533822104, -0.2191698998, -0.0201162659, -0.6847305894, -0.1014529765, 0.1556836516, -0.1820511669, 0.0421561897 ]
http://arxiv.org/abs/2407.01437v1
http://arxiv.org/pdf/2407.01437v1
Needle in the Haystack for Memory Based Large Language Models
2024-07-01T16:32:16
2024-07-01T16:32:16
Subhajit Chaudhury, Soham Dan, Payel Das, Georgios Kollias, Elliot Nelson
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we demonstrate the benefits of using memory augmented Large Language Model (LLM) architecture in improving the recall abilities of facts from a potentially long context. As a case study we test LARIMAR, a recently proposed LLM architecture which augments a LLM decoder with an external associative memory, on several long-context recall tasks, including passkey and needle-in-the-haystack tests. We demonstrate that the external memory can be adapted at test time to handle contexts much longer than those seen during training, while keeping readouts from the memory recognizable to the trained decoder and without increasing GPU memory footprint. Compared to alternative architectures for long-context recall tasks with models of a comparable parameter count, LARIMAR is able to maintain strong performance without any task-specific training.
[ -0.0329768658, -0.735055387, 0.7707377672, -0.1835062355, -0.2044103891, -0.1109770909, -0.3390058577, -0.7872502804, 0.2644637823, 0.4374838769, 0.1277099103, -0.1439229995, -0.3778191209, -0.1016788185, -0.6406111717, 0.7670642734, -0.302462846, -0.0994658992, -0.2058411092, -0.3224011958, -0.5628647208, -0.9398919344, -0.8385261297, -0.1813939214, 0.5220459104, 0.0684086308, 0.2276886553, 0.6604803801, 0.3320336044, 0.2854733467, -0.3433041275, 0.2999185622, -0.4776040614, 0.0247923378, -0.2242551744, -0.5051747561, -0.4858606756, -0.3886917233, 0.882450819, 0.4781269729, -0.3704696894, 0.0179849081, -0.0823934451, 0.5670440197, -0.7417297363, 0.1325363666, -0.7772613764, -0.265176326, -0.1231252253, -0.2211949527, -0.5661486983, -0.0137544386, -0.0292741228, -0.2373389751, -0.0093481448, 0.1307168603, 0.4684258997, 0.1427873075, -0.3766011596, -0.4700267315, -0.6929504871, 0.6571891904, -0.6981181502, 0.4451989233, 0.4756011665, 0.2501541972, -0.1863567233, -0.5173318982, -0.4626509845, -0.1996807456, -0.1172965616, -0.0955635458, 0.1131416932, -0.0406449959, 0.268778801, 0.4123294055, -0.1611123383, -0.0162233785, -0.3992753029, -0.1639641374, 0.2726241052, 0.2879152596, 0.1823585629, 0.1214560941, -0.3424680829, 0.166986689, -0.9384350181, 0.1770594418, -0.1083685458, 0.3667691648, 0.052333612, 0.5857924819, -0.0488771945, 0.7999142408, 0.0715344325, -0.1442866772, 0.1824267507, -0.283593595, -0.1849696934, 0.4650119841, 0.1928908825, -0.0773071051, -0.0018870049, -0.2259022444, -0.4448926747, -0.0378995501, 0.2585769892, -0.9141090512, -0.0362153761, 0.1218834519, -0.3143679202, 0.4203744829, -0.1746861637, -0.3846814036, -0.4183876514, -0.0641271546, 0.6327414513, -0.5851536989, 0.0847616345, 0.3529438674, 0.0040693497, 0.3119231761, 0.4742287099, -0.8417231441, 0.3419839144, 0.8749096394, 0.9850139618, -0.3112819791, -0.2566055059, -0.935886085, 0.4661775529, -0.4024116099, 0.920222044, -0.6211039424, -0.2580654919, 0.1324343532, 0.1646434963, -0.0339573659, -0.7326930165, 0.2650189698, -0.8815097213, 0.0315212756, -0.3745751679, -0.745414257, -0.4223290384, 0.2794917822, -0.8636215925, 1.0115163326, 0.1295754015, -0.5837676525, 0.2145010531, -0.5465605855, -0.601485312, -0.1009641364, -0.1350584179, -0.1882661134, 0.333712399, 0.169065997, 0.4835638702, -0.1376424283, 0.0648779422, -0.1558121443, -1.0375876427, 0.2777562141, -0.2877192795, 0.4967126846, -0.1651850194, -0.1474498659, 0.0460904762, -0.7577616572, -0.3483096361, 0.0319887064, -0.9398791194, -0.6591377258, 0.038405668, -0.1415679157, -0.0267451443, 0.4760184288, -0.4891089499, 0.1736084819, -0.4223500788, 0.1833349913, 0.8433035016, -0.0986671224, 0.3346022666, -0.3773423135, 0.1385822743, 0.1766409576, -0.4273632467, -0.559427321, -0.0276604071, -1.0788581371, -0.5464517474, 0.0716065615, 0.5451592207, -0.5987755656, 0.1814167947, -0.2092173398, 0.0169955324, -0.3275437355, 0.2548745871, 0.2366180569, 0.4669465721, 0.2115871906, -0.2377288043, -0.6909005642, -0.7037864923, -0.0491201878, -0.1959881335, 0.0132987397, 0.4601836503, 0.4644833207, -0.250204742, 0.5395953655, -0.3591398597, -0.3354884386, -0.2144347876, -0.305375278, 0.5709041953, 0.0385045782, 0.2965779006, -0.4778906107, -0.2239562869, 0.0052406853, -0.6172926426, 0.3263235092, -0.1796168983, 0.099101916, 0.6834696531, 0.709487319, -0.9118221998, 0.2252319008, 0.4226612747, -0.5552901626, 0.2962572277, -0.5205024481, 0.2381994128, -0.9620120525, 0.2725988925, -0.4468638897, -0.2581800818, -0.5609665513, 0.1185626686, 0.3396496773, 0.2395083755, -0.6969578862, 0.9490036964, -0.5533992648, -0.2287745178, -0.4514335394, -0.1131307706, -0.0967748463, 0.3476615548, 0.2256518751, 1.3549358845, 0.4191550612, -0.7765411139, 0.3218273818, 0.1466627717, -0.7429472804, 0.4274688959, -0.4011540711, 0.2772983313, -0.2674500346, 0.3339493871, -0.8001996875, -0.192962423, -0.1214304864, -0.0802568868, 0.4213782549, 0.1579629183, -0.5013011098, -0.1359639019, -0.2261445969, 0.5923639536, 0.6226623058, -1.0824517012, 0.7564952374, 0.3384951055, 0.0187506936, -0.4429635704, -0.5479286909, 0.129828468, -0.5428035855, -0.25373137, 0.1924809664, -0.1609358937, -0.3016958833, -0.2638840377, 0.1196628436, -0.1364820898, 0.010784247, 0.2227797806, 0.272985518, -0.4326682091, 0.5945549011, -0.5161790848, 0.0935732126, -0.0810945556, 0.1062903255, 0.6549561024, -0.3555586338, -0.2318417877, -0.0965366811, 0.4129338562, 0.4503608346, -0.0741316453, 0.9908053875, 0.2041453421, -0.3262924552, -0.1281113476, -0.7705690861, -0.028854927, -0.4858726263, 0.7504915595, -0.4044779837, -1.0667552948, 0.7563231587, 0.005031873, -0.130171895, 0.1524326205, 0.6814587712, -0.0191737209, 0.627381742, 0.4279590845, -0.3986930549, 0.5177928209, 0.0445483625, 0.0842031538, -1.2078692913, 0.0259035528, -0.0233766213, -0.1380393505, -0.0067438413, -0.7450621724, 0.3540242016, 0.1567320228, -0.4327621758, 0.1385140568, -0.1490632594, 0.5566469431, 0.4603108168, 0.1551954597, 0.3873233497, -0.0903760791, 0.0261767451, 0.2835313678, -0.6885980368, -0.1848451346, 1.0050792694, 0.4402628541, 0.8018228412, 0.1046835482, 0.5644087791, -0.0021603126, 0.2579265535, -0.9414004087, 0.7445152402, -0.2434260398, -0.5136569738, -0.1925083846, -0.1030938178, -0.8045205474, 0.2422282249, 0.0319334827, -0.7134167552, -0.0413058922, 0.2539388239, -0.5503247976, 0.5262659788, -0.4749405682, 0.3297230899, -0.4422627389, -0.5078496933, -0.3105874062, 0.0056362492, 0.5335233808, -0.3081846535, 0.0754083097, 0.1611847281, -0.3393936157, 0.6838549972, -0.1498289406, 0.8712229133, -0.0590812862, -0.2383509576, 0.4225190282, 0.0703288615, 0.9339926243, -0.1876240522, -0.3875927925, 0.1638393551, 0.0489673913, -0.1750864685, -0.4388403893, 0.817030251, -0.4500802159, -0.7978895307, -0.4773149192, -0.8702669144, -0.2669922411, -0.06197365, -0.3627701998, 0.4354744256, -0.1330261081, 0.3843794167, 0.7592368126, -0.3693070412, 0.5577434897, 0.4946809411, -0.151602596, -0.2342508435, 0.670029521, -0.0664536953, 0.2063625455, 0.4584416151, 0.1619641036, -0.1735613644, -0.7415717244, -0.2288406044, 0.2085999101, -0.9034285545, -0.2417362034, -0.6195302606, -0.4094662666, -0.0208394341, -0.0737431347, -0.383538574, -0.1566312611, -0.3242451549, 0.0199492518, 0.8412469625, 0.6322097182, 0.0675820261, 0.407920599, -0.7280956507, 0.3512042165, 0.2861204445, 0.5541769266, 0.2177151591, -0.6957957745, -0.5433659554, -0.1539371461, 0.3527306616, -0.294244498, 0.2594034374, 0.2117358297, 0.3782724738, 0.2740328908, -0.2715313137, 0.9861055017, -0.9074316621, 0.5860985518, -0.0190377086, -0.65524894, 0.1907818764, -0.357845664, 0.664136529, 0.43229267, 0.0048093889, -0.4762233496, -0.1390631646, -0.051244881, -0.7863280773, 0.4915572107, -0.4604799449, 0.3028696775, -0.2990618944, 0.6174864173, 0.1071741506, -0.069485642, -0.5135449767, 0.2331291139, 0.2077535689, -0.226881057, -0.3206380904, -0.6545228362, -0.0348186344, -0.3070412576, 0.5202887654, -0.0633498654, 0.3347534537, 0.0228720494, -0.2117885351, 0.1261974871, 0.3756795526, 0.7099452019, 0.7489413023, -0.4239586592, 0.4134021997, 0.6387543678, -0.4881515801, -0.0095902067, -0.1481041759, -0.0605056211, -0.2005343884, 0.4804307222, 0.7855454683, 0.5356672406, -1.0893754959, 0.3380234838, 0.1122674793, 0.0771903396, -0.5496019721, 0.2754122317, 0.4703612626, 0.5330321193, 0.3763749599, -0.4442199171, 0.0953051373, -0.8035297394, 0.348290801, 0.7730031013, -0.2934606075, -0.1760995388, 0.27275002, -0.0489383042, -0.2625449002, 0.5027219653, 0.0883272812, -0.4336857498, 0.4210813046, 0.9640399814, 0.3683826327, -0.2593129873, -0.3655655682, 0.3580181301, 0.0867648795, -0.4401759207, 0.2222962528, -0.0650457293, -0.5865501165, -0.5154040456, -0.7690863013, -0.0808238387, 0.3318156302, -0.3123142123, 0.037716046, -0.4282650948, 0.1204731017, -0.5253314972, -0.0063322945, -0.5368326902, 0.075456202, 0.0046525765, 1.0313745737, -0.3755686581, 1.2162640095, 0.3359605968, 0.045852337, -0.4622412622, -0.2094535232, -0.2472422421, -1.1156592369, 0.862626195, 0.2721914053, -0.2956404686, -0.3458031714, -0.099846147, -1.204842329, 1.1400738955, 0.2317891121, -0.6874577403, -0.1178435162, -0.1390066892, 0.5085930824, -0.471255362, 0.0536902472, 0.5856307745, 0.1626477689, 0.4216275215, -0.889644444, 0.2363429219, -0.0352094248, -0.081644468, 0.3868780136, -0.5676457882, 0.9958027601, -0.3689906299, -0.3062330484, 0.3956872523, 0.7762059569, 0.5332075953, 0.1046900749, 0.4305980206, 0.4658503234, 0.6986076236, 0.4033986032, 1.2070277929, -0.1540741175, -0.093186073, 1.5365601778, -0.4541282356, 1.5269093513, 0.7799383998, -0.0341830291, 0.4568989277, 0.3860995471, 0.2279162407, 0.5909398794, 0.0668382496, -0.4531391859, -0.3642521501, -0.1210674047, -0.3305406272, 0.6880803108, 0.4274542034, -0.4628514349, -0.1331784874, -0.0584904701, -0.1127216592, 0.0059716688, -0.5573316813, 0.7385224104, 0.2208643407, -0.5258051753, 0.7395762205, -0.138386026, 0.869643569, -0.5842251182, -0.2668038309, -0.0601814985, 0.7719799876, 0.1851927489, -0.5969670415, 0.4153451025, -0.2958806455, -0.1846413165, 0.0094928779, 0.7364239097, -0.6367887259, -0.68364048, 0.4232003987, 0.2123098671, 0.0644445941, 0.0207635183, -0.2193337381, 0.2927651107, -0.3652656376, -0.3338843286, 0.4578777254, 0.1489858478, -0.125569284, 0.6110474467, 0.5363531709, 0.2802095413, -0.0690620095, -0.1860329956, 0.7284633517, -1.0020831823, -0.4242646396, -1.0781238079, 0.1461924016, 0.1570305526, 0.1840554774, 0.7759254575, 0.7848931551, 0.5776746869, -0.0592742078, 0.4442655146, 0.3252305686, 0.7985162735, -0.854870379, 0.6679041982, -0.4758524299, 0.3264983594, 0.2267857492, -0.6750626564, -0.217017591, 0.5871806741, -0.2413608432, 0.0740508735, 0.742028594, 0.7158638239, -0.238259986, -0.3402516246, 0.4123063087, 0.4640270174, 0.1763613075, 1.1544514894, 0.9007700086, -0.3938118219, 0.2627298236, 0.2276292443, -0.0141846901, -0.3464124501, -0.8508402705, -1.2943657637, -0.5451378226, 0.1374786496, -0.3418133855, 0.2065431774, 0.702768147, 0.5022244453, -0.7390726209, -0.4820298553, 0.2718524635, 0.0123998635, 0.0493418686, -0.1567076147, 0.7138810158, -0.1186230108, -0.4210614562, 0.5560131073, 0.5339983106, 0.0018772684, -0.1960178167, -0.1695619524, -0.4426536858, 0.2819319665, 0.9218552113, 0.2954357862, -0.7382329106, -0.7627321482, 0.0461034104, 0.0538052432, 0.2859148085, 0.7123856544, -1.1740146875, 0.317553401, 0.3621492088, 0.9098497629, 0.5737738013, -0.0700319111, 0.49583444, -0.2990175188, 0.4245766699, -0.0319510512, 0.5242424607, 0.475312531, -0.5659641027, 0.2769367695, -0.3391339779, -0.2836643457, -0.8091472387, 0.025621675, -0.8570435643, -0.4622186422, 1.2978440523, 0.0277099237, -0.6049680114, -0.0899057612, -0.2061163485, -0.0162779056, -0.2403605282, 0.956227541, 0.7257748842, -0.1841880083, -0.2775809765, -0.6419876814, 0.4749833047, 0.2817178965, -0.9706853628, 0.2702866495, 0.5647654533, 0.3420190513, 0.0688882545, 0.7897159457, 0.0352240391, 0.3644662797, -0.1498013288, -0.1849146783, -0.1609903127, -0.3864088356, -0.4384587705, 0.1226729527, 0.0853991061, -0.1062820554 ]
http://arxiv.org/abs/2407.01424v1
http://arxiv.org/pdf/2407.01424v1
A Global-Local Attention Mechanism for Relation Classification
2024-07-01T16:14:25
2024-07-01T16:14:25
Yiping Sun
cs.CL
cs.CL, cs.IR
Relation classification, a crucial component of relation extraction, involves identifying connections between two entities. Previous studies have predominantly focused on integrating the attention mechanism into relation classification at a global scale, overlooking the importance of the local context. To address this gap, this paper introduces a novel global-local attention mechanism for relation classification, which enhances global attention with a localized focus. Additionally, we propose innovative hard and soft localization mechanisms to identify potential keywords for local attention. By incorporating both hard and soft localization strategies, our approach offers a more nuanced and comprehensive understanding of the contextual cues that contribute to effective relation classification. Our experimental results on the SemEval-2010 Task 8 dataset highlight the superior performance of our method compared to previous attention-based approaches in relation classification.
[ -0.4246713221, -0.6327872276, 0.5221915841, -0.0645411983, -0.2666910887, -0.3768161535, -0.3394315243, -0.5918782949, 0.0890377238, 0.4412747025, -0.6538872123, -0.2195193768, -0.141520828, 0.0750831664, 0.235602513, 1.3374727964, -0.1551407725, -0.2410918921, -0.4337296784, -0.3293447495, -0.2614600658, -0.8714259863, -0.6449882984, -0.2475961596, 1.0291492939, 0.2600949705, 0.6831119061, 0.5362401605, 0.8496483564, 0.2505299151, -0.2568391562, 0.2144543976, -0.3940337598, 0.2655387521, -0.4379002452, -0.638944447, -0.650631845, -0.0685845241, 0.4386447668, 0.8141226768, 0.0771446601, 0.3765657544, 0.0679790303, 0.4999446869, -0.9026457667, 0.4341764748, -0.6088244319, 0.0468934551, -0.3965935409, -0.1650627404, -0.1607857943, -0.0320475698, 0.2615688741, -0.3124434054, 0.8319818377, -0.3561840057, 1.0157741308, 0.0346278064, -0.8855863214, 0.053621076, -0.8381470442, 0.3985444903, -0.0247274172, 0.4265435934, 0.1137981415, 0.2905869484, 0.0729089975, -0.5205495358, -0.0980929285, 0.1232671365, -0.2390837371, 0.1023107022, 0.2577891946, 0.0659129545, 0.2488534003, 0.6620733738, -0.0877991095, -0.4568980336, -0.3501569629, -0.1086689457, 0.2995836139, -0.0662076175, 0.3259584904, -0.2108146846, -0.4682508707, 0.5837939382, -0.7952474356, 0.1518012881, -0.2336218506, 0.7590497136, -0.2861053646, 0.0712585002, -0.2552011013, 0.4362183511, 0.1151631698, -0.132973507, 0.2868492305, -0.3632313609, -0.1242704242, 0.3134061396, 0.6690759659, 0.2076900154, 0.31992504, -0.5559775233, 0.123781845, 0.3741995394, 0.042826429, -0.5137010217, 0.1543264091, -0.0401407219, -0.2932822406, -0.4675162435, 0.0712061524, -0.4434311688, -0.0888346732, -0.3337212801, 0.1542103887, 0.1304675788, -0.6008625627, -0.3989602327, 0.2638434768, 0.3833112121, 0.1666897833, -1.01813519, 0.4389126897, 0.8022598028, 0.8847697973, -0.1456997246, 0.0074335653, -0.8579921126, 0.5055903196, -0.0549944714, 1.0445715189, -0.4498167634, 0.1119039208, 0.0490911826, 0.2305435538, -0.0296219643, -0.4767187834, 0.5626091361, -0.7119905353, 0.2841844261, -0.3136331141, -0.0493200272, -0.3110194802, 0.2122108191, -0.820299685, 0.8305485249, 0.2561038435, -1.0177842379, 0.3539712727, -0.5073200464, -0.7610977292, 0.1007859632, -0.2150942981, -0.4249474406, 0.1172625497, 0.4607660472, 0.7512213588, -0.4019836783, 0.2252128124, -0.5887529254, -0.2104282975, 0.1456307173, -0.1253982335, 0.5398426056, 0.1737176329, -0.3240189552, 0.0848155916, -0.5439360738, -0.481764853, 0.1300315559, -0.0195136629, -0.7150370479, -0.2323664427, -0.3044552803, 0.3759242594, 0.2508537173, -0.2241991907, 0.3936497271, -1.0305095911, 0.42099756, 0.2554387748, 0.5205812454, 1.0985931158, 0.2238179296, 0.4404337108, 0.2007212937, 0.1401450336, -0.274941206, -0.2893880904, -0.6500442028, -0.0308520645, 0.551881671, 0.4951232374, -0.336050719, 0.1186502427, -0.5537099838, -0.2045158595, -0.2405752093, 0.4620867968, 0.4150410593, 0.5359847546, -0.1273246557, -0.3178274035, -0.2229398042, -0.8994828463, -0.1516608447, 0.1943955719, -0.1289583892, 0.5384375453, 0.1556617022, -0.1310242265, 0.8193192482, -0.5564807653, -0.8484615088, -0.1723285168, 0.0799096599, 0.3914331794, -0.0074375225, 0.4795638621, -1.148733139, -0.4073139131, 0.3801431954, -0.8824720383, 0.2073944211, -0.1455197036, -0.4583266079, -0.0735679045, 0.6166152954, -0.8664575815, 0.352449894, -0.3153816462, -0.1143198833, -0.0688862875, 0.0509744212, -0.0425632671, -0.8900314569, -0.0737329647, 0.1361200511, -0.2300026864, -0.641880393, 0.4003979266, 0.290455699, -0.1705792695, -0.6559499502, 0.5946335793, -0.9175006747, -0.1013477966, 0.0869380459, 0.3915997148, -0.0250718668, 0.9161566496, 0.1078279391, 0.352778703, 0.5573620796, -0.5668408275, 0.527060926, 0.2206683457, 0.1259597242, 0.6857793927, -0.1078193039, 0.4202639759, -0.224762097, 0.0257127862, -0.9720090628, -0.3242324293, 0.3992161453, -0.4393441379, 0.6771699786, -0.5654391646, -0.2746190727, -0.2405432463, -0.4427554309, 0.4684686065, -0.0179016963, -0.5635049939, 0.7874475121, 0.4836916029, -0.281479001, -0.1745670289, -0.2437256128, -0.228239879, -0.4729087055, -0.6008425951, 0.4083682597, 0.6324207187, -0.2243550271, 0.1276358366, -0.5305073857, -0.3262007535, 0.0697937831, 0.316280961, 0.0990944356, -0.2083650827, 0.3917852938, -0.1956500411, -0.4577084482, 0.2310940921, 0.1294490695, 0.0319898091, -0.0323169231, 0.2719815373, -0.1449135691, 0.4434625804, 0.7719386816, -0.7190840244, 0.4631399214, 0.6981762052, -0.5512907505, -0.0250701811, -0.6181272864, -0.3180902302, -0.4949454069, 0.283767134, -0.5878269076, -0.7044274807, 0.5713202953, -0.3401055038, -0.3808449209, 0.1451474726, 0.2202719748, 0.1177397072, 1.1137685776, 0.6140236259, -0.5246393085, 0.3202669024, -0.1856240481, 0.4902890027, -1.2033382654, -0.2431531996, -0.5776562095, -0.2660661638, -0.4388633966, -0.2737050653, 0.2836178243, 0.4831387699, -0.0457305238, 0.1782937646, -0.8736137152, 0.5639966726, 0.405069083, 0.0925854146, 0.1804550439, 0.2293218076, 0.0063462467, -0.479146421, -0.5505198836, -0.0896868408, 0.6778874993, 0.25984326, 0.5981946588, 0.0671312883, 0.7204810977, -0.0679057688, 0.7525421381, -0.8626095057, 0.5135113001, 0.0638018399, -0.5861281753, -0.0118380086, -0.5249692202, -1.2276265621, 0.2888819277, 0.1437304765, -0.9993466735, 0.2381872535, 0.0335440934, -0.3889629543, 0.0048819999, -0.9254069328, 1.0870839357, -0.227005139, -0.532784462, 0.1610086262, -0.6895285845, 0.3392618001, 0.1272034347, 0.6293203831, -0.2817189693, -0.1774743646, 0.4928493202, -0.0613301247, 0.6307842135, -0.3352794349, -0.2113197446, 0.1563515961, 0.0563762523, 0.513743937, 0.2219551206, 0.3454086483, 0.0088730343, -0.687289834, 0.091567494, -0.9296876788, 0.8414466381, -0.413382709, -0.5538835526, -0.4199889898, -0.2763485014, -0.3697218001, 0.2010420859, 0.140100345, 0.6600096822, 0.138327986, 0.0497131906, 0.5460004807, 0.3153574169, 0.1683189273, 0.4134560227, -0.1716007143, -0.5247085094, 0.9804622531, 0.2012212127, -0.103005223, 0.6554628015, 0.0009949334, -0.4527032077, 0.0299657993, 0.1579514891, 0.5908558965, -0.6742478013, -0.5076824427, -0.4770740271, -0.2710925639, -0.6315381527, -0.0443265326, -0.0305519532, -0.1009679958, -0.1799979061, -0.0588709153, 0.2422339767, 0.3696744144, 0.0825888515, -0.0252117142, -0.8012837768, 0.6693176031, 0.5357732177, 0.2802291512, 0.1033682749, -0.317784518, -0.0605315268, -0.6080424786, -0.2906524241, -1.2928031683, 0.1700974554, 0.3211407065, 0.4403581023, 0.7625715137, 0.1910170615, 0.5774306059, -0.5655670762, 0.2195901424, 0.122615777, -0.6775546074, 1.227263093, -0.6007998586, 0.5969765782, 0.525054574, 0.6414887309, -0.3890641928, -0.4048011303, -0.8005997539, -1.2180862427, 0.9480118752, 0.2144283354, 0.1926184446, -0.0594034716, 0.9002609849, -0.3899916112, 0.0969312638, -0.8749073744, -0.2677299976, 0.7076247334, -0.0210541189, 0.3173371851, -0.3291355669, -0.0086476505, -0.3609109223, 0.4510897994, -0.0712632611, 0.3517538607, 0.6239456534, -0.1456582844, -0.2745969296, 0.1970774382, 0.1411532164, 0.4628253579, -0.2794993222, 0.2242726684, 0.3140511811, -0.3047080934, 0.0853274912, 0.1078952327, -0.3447652161, 0.0260442048, 0.4444724619, 0.5535581708, 0.6950111985, 0.2576311231, 0.617829442, -0.0903506652, -0.0929130614, 0.0360949188, 0.0793961957, 0.3283568621, 0.1174090207, 0.2510169148, 0.1015518457, 0.4711166918, -0.6280217767, 0.2462322116, 0.2955084741, -0.6936267614, -0.3478079438, 0.7057070732, 0.518627584, -0.5035610795, 0.2832919955, -0.4324398935, -0.7957163453, 0.4553493559, 0.249657765, 0.7744050622, -0.5491815805, 0.0306630339, 0.5388176441, 0.0032488341, 0.3151705265, 0.0375691541, -0.7387898564, -0.6304575801, -0.578292191, -0.4017526209, -0.3446903825, 0.4107905328, -0.9946243167, 0.3202376664, -0.2373579144, -0.2331364602, 0.1734968573, 0.0347564146, -0.662101984, 0.1967859715, 0.4933627546, 0.429861486, -0.6403630376, 0.6495050192, 1.0417954922, -0.2033932656, -0.6549717188, 0.0022664126, -0.1297068447, -0.181311816, 0.7483336926, 0.8674044609, -0.1804664135, -0.3614458144, -0.4397104383, -0.8466533422, 0.5558659434, 0.4920417666, -0.5264149308, -0.1530397385, -0.0501558334, 0.2152940631, -0.2228440046, 0.0762883797, 0.6078981757, 0.0414900221, -0.1647310704, -0.7305056453, 0.2876222134, -0.4017741084, 0.0919663385, 0.6470094323, -0.8257314563, 0.304854393, -0.2649492919, -0.4775831103, -0.6231979132, 0.8911643028, -0.0980349183, 0.2133121789, 0.5714642406, 0.3530550599, 0.5844053626, -0.3090617955, 0.7783187032, -0.1010139063, 0.4554235339, 1.4078831673, -0.6328826547, 0.8461717367, 0.3731197715, -0.3407423198, 0.4495684505, 0.6344528794, 0.0959222764, 0.8989927769, -0.1615373045, -0.5956004858, -0.3790409565, -0.14668262, -0.3240998387, 0.2232576609, 0.3212673366, -0.1070264801, -0.3292850852, 0.1347615421, 0.0028622451, 0.0232447889, -0.5474559665, 0.9252966046, 0.228115201, -0.7506754398, 0.2514462769, -0.3743241429, 0.5469599366, -0.4122397602, -0.0342176296, -0.2635307908, 0.5515399575, -0.1905699968, -0.3264963031, 0.2240278721, -0.1556899846, -0.3460089266, 0.0590991527, 1.2092075348, -0.5114316344, -0.2562694848, 0.5502559543, 0.1007623598, -0.1468098015, -0.5690616965, -0.53217417, -0.1566419005, -0.1035876051, -0.3402675092, 0.3321982622, 1.0736238956, -0.09061452, 0.4412643611, 0.5585603714, 0.0297012441, -0.3768190742, 0.223363623, 0.6207882762, -0.7823455334, -0.7475277781, -0.8425737023, 0.3277388811, -0.2572830915, -0.3858828545, 0.667817235, 0.3313393593, 0.716599524, 0.0481781363, 0.3912798166, 0.3179125786, 0.4321337938, -0.0129423197, 0.37619102, -0.4591654539, 0.0070709055, -0.225053072, -1.0525144339, -0.6923741698, 0.790566504, -0.671523571, 0.0244453903, 0.8399450779, 0.5196246505, -0.2473592758, -0.29519853, -0.0192493666, 0.1677233875, 0.0257789586, 0.8203642964, 0.6465550065, -0.5159168243, 1.0721764565, -0.3852238357, -0.207717374, -0.0597586669, -0.7022461891, -1.0470660925, -0.4599895477, -0.6151883602, -0.1857059449, -0.0842384025, 0.5663869381, 0.7656206489, -0.717106998, 0.1192704588, -0.0833195224, 0.2275883555, -0.0792750716, -0.3799984157, 0.4751970172, -0.6667436361, -0.3554619849, -0.0203708876, 0.7146795392, -0.2184258699, 0.0052678371, 0.1730843037, -0.0928263143, -0.5335298181, 0.4857185483, 0.1656533629, -0.6029651165, 0.0645472929, -0.2252876163, -0.1645622551, 0.3632605374, 0.9249811172, -0.7099234462, 0.2506500483, 0.3692081869, 0.2759449482, 0.7579624057, -0.0416949727, 0.6786264181, -1.1611322165, 0.3651479185, 0.1225296929, 0.2804619074, 0.5405693054, -0.8524490595, 0.8803927898, 0.2760961354, -0.5965256095, -0.9482229352, 0.045279175, -0.8787612319, 0.1701594591, 1.0512207747, -0.1097644866, -0.7122502327, -0.3005647957, -0.4266554117, 0.4277825058, -0.2993574739, 0.5381703377, 0.4622944891, -0.10353522, -0.2449231595, -0.4781556427, 0.5243713856, 0.2345454693, -0.8986537457, 0.2696132064, 0.1226361096, 0.1488951445, 0.6936541796, 0.765591383, -0.1391758174, 0.5790545344, -0.3567851484, -0.1558047235, 0.4475755095, -0.4181717336, -0.4070936441, 0.5470701456, -0.1859634668, -0.0436682627 ]
http://arxiv.org/abs/2407.01411v2
http://arxiv.org/pdf/2407.01411v2
HyperLoader: Integrating Hypernetwork-Based LoRA and Adapter Layers into Multi-Task Transformers for Sequence Labelling
2024-07-01T16:00:53
2024-07-02T06:21:41
Jesus-German Ortiz-Barajas, Helena Gomez-Adorno, Thamar Solorio
cs.CL
cs.CL
We present HyperLoader, a simple approach that combines different parameter-efficient fine-tuning methods in a multi-task setting. To achieve this goal, our model uses a hypernetwork to generate the weights of these modules based on the task, the transformer layer, and its position within this layer. Our method combines the benefits of multi-task learning by capturing the structure of all tasks while reducing the task interference problem by encapsulating the task-specific knowledge in the generated weights and the benefits of combining different parameter-efficient methods to outperform full-fine tuning. We provide empirical evidence that HyperLoader outperforms previous approaches in most datasets and obtains the best average performance across tasks in high-resource and low-resource scenarios.
[ -0.4653908014, -0.5342532992, 0.1076114625, 0.2052897066, -0.2292150855, -0.414644599, -0.0935814232, -0.5426830053, 0.1621101499, 0.6648021936, -0.4513346255, -0.2098435611, -0.742249608, -0.0085995207, -0.4933630824, 1.1722358465, 0.1095069498, -0.3872271776, -0.1475595832, -0.3288353086, -0.4605786204, -0.3710082471, -0.5247365832, -0.8302214742, 1.0226720572, 0.6420305371, 0.7089061737, 1.1295499802, 0.671743989, 0.3809120655, -0.1116361693, 0.4915209413, -0.3562896252, 0.1778847575, -0.278486222, -0.427482307, -0.5321083069, -0.112118341, 0.4534597695, 0.5370293856, 0.0095138997, 0.8137000203, 0.2542207241, 0.8119397759, -1.1119527817, 0.1769142747, -0.3072485626, 0.2844047248, -0.342941165, -0.2718702555, -0.5769321322, 0.0182315204, 0.1117931008, -0.8577341437, 0.2045990825, 0.2419882119, 0.6958197355, 0.7704249024, -0.4455180466, 0.2312038839, -1.0982335806, 0.9061837792, -0.4586461782, 0.1800699681, 0.2989550829, 0.4088489413, 0.1948508173, -0.7858216166, -0.4139792919, 0.4945493639, -0.161684677, 0.1996103674, -0.2107082903, 0.034930788, 0.4722551107, 0.3226536214, -0.3244712949, 0.3096336722, -0.3118348122, -0.0526450686, 0.3351130784, 0.1686107218, -0.0940862596, -0.0608112477, -0.5280086994, -0.0528754964, -0.3932354152, -0.1287810057, 0.2590928376, 0.4228369296, 0.1285653263, 0.4797232449, -0.2305077761, 1.1480784416, 0.3606466949, -0.1900687665, 0.4431253374, 0.0146468366, -0.590826273, 0.1529609412, 0.6743233204, 0.1579575688, -0.2048207521, -0.1328069717, -0.1307239532, -0.1355611086, 0.5077806711, -0.8409255147, 0.0630029663, 0.1898175776, -0.4373425841, -0.2480936497, -0.054383222, -0.6056572795, -0.399710238, -0.5563041568, 0.7806600928, -0.1591916978, 0.1815940589, 0.0738172382, -0.3708047569, 0.1354833096, 0.1773897558, -0.7234660387, 0.1722507626, 0.5467485189, 0.6563434005, -0.3082192838, -0.4742147326, -0.9436208606, 0.5542349815, 0.1463059336, 0.8199661374, -0.2054470479, -0.1056326181, -0.1169298738, 0.3253094256, -0.1409084499, -0.7936092615, 0.5327420235, -0.5944722295, -0.1033509225, -0.3029886484, -0.404322058, -0.3948651552, 0.1805475205, -1.0364353657, 1.1459020376, 0.136268571, -0.6268789172, 0.2432793975, -0.7368237376, -0.6532505155, 0.2670381665, 0.2896097302, -0.6706933975, 0.0217592604, 0.0023833311, 0.6642869711, -0.6166279912, 0.1457635909, 0.1586609334, -0.484675169, 0.0677320659, -0.1993949711, 0.3350258768, 0.1767470092, -0.5675261617, 0.3570882678, -0.8795209527, 0.1122031063, -0.1963286847, -0.7360591292, -0.2208777815, 0.0035052854, 0.5250298381, 0.3537604809, 0.2624329627, -0.5498967171, 0.0762143284, -0.0663543418, 0.3966269195, 0.4381656647, -0.2994703352, 0.0856921375, -0.6241057515, 0.2564258873, 0.4636136591, 0.2656722665, -0.0128583852, -0.5377144814, -0.8235312104, -0.1378689557, 0.2023925781, 0.6831868887, -0.7562906146, 0.5708783269, -0.0768858492, -0.7006018162, -0.4814842641, 0.4528001547, 0.7803558111, 0.5650111437, 0.9352584481, -0.3415494859, -0.578214705, -1.0242877007, -0.2103494704, 0.399385035, 0.2845041156, 0.1551600993, 0.3560348153, -0.3549094796, 0.6166372895, -0.6834805012, -0.5588433743, -0.2922118008, 0.3352758586, 0.5035822988, 0.8795574307, 0.2703643441, -0.8105518818, -0.4636635184, 0.2963758707, -0.5705956817, 0.2484770119, 0.0149895828, -0.2552410066, -0.1608287692, 0.4134894907, -0.4874256253, 0.293715328, 0.610824585, -0.0949348733, 0.5563530326, -0.325606674, 0.0281868298, -1.214012146, 0.2482872158, 0.3850491941, -0.1974332631, -0.9403545856, 0.0543339886, 0.0745520592, -0.1464437246, -0.7185682058, 0.2247259766, -0.2762950361, 0.0150341019, -0.5246756077, -0.3300937712, 0.1135679185, 0.6661036015, -0.4157847464, 0.5895380974, 0.6109326482, -0.6794599295, 0.5510615706, 0.3308265209, -0.4518041909, 0.5541391969, -0.8089668155, 0.2733861506, -0.2492320538, 0.2323509157, -0.771163702, -0.3223596811, 0.1475763619, 0.1591116637, 0.1438862979, -0.4581257999, -0.503518939, -0.6281515956, 0.1084534451, 0.7070636749, 0.4364287853, -0.5491777658, 0.8522869349, 0.2203059793, 0.4425503314, -0.8198567629, -0.9289935827, -0.3127839565, -0.4356811941, -0.2549855113, 0.7151435614, -0.019671591, 0.3525554538, -0.083264634, -0.3425458372, -0.3597872257, -0.0455158204, 0.6333531737, 0.1537321359, -0.4712072015, 0.0275200084, 0.1165728718, -0.3685389161, -0.22396411, -0.7346255779, 0.3514699936, 0.1909187585, -0.4736765027, -0.7626031637, 0.3852964342, 0.7215496302, -0.4328458309, 0.7821224928, 1.0245244503, -0.3435012996, -0.2769920826, -0.5808348656, 0.2423504293, -0.5373163819, 0.4064115584, -0.3990815878, -0.7236137986, 0.2993372679, -0.433321774, 0.1532089114, 0.437727958, 0.495192945, -0.1722982824, 0.8630994558, 0.6622682214, -0.3238395452, 0.569016993, -0.5040324926, 0.0846243575, -0.9659309387, -0.0449746624, -0.5886160135, -1.0344020128, -0.3403342068, -0.5274294615, 0.5692586899, -0.0315891728, -0.4256939888, 0.7612323165, -0.7365309, 0.6607890129, 0.9305643439, 0.5373859406, 0.2481747121, -0.274351269, 0.3804514706, 0.3991551995, -0.783534646, -0.1204829887, 0.8908452988, -0.2196547091, 0.4777046442, 0.0493659973, 0.6872729659, 0.3884674311, -0.053251069, -1.0158535242, 0.2995352149, -0.532602787, -0.6535702348, -0.5608351827, -0.1524651051, -1.2773603201, 0.3042433858, -0.3226635158, -0.7333812714, 0.4123780429, 0.6373702884, -0.6588250399, 0.388751179, -0.6317077875, 0.9039294124, 0.1518836915, -0.4896941483, -0.3226782084, -0.7451159954, 0.1477845013, -0.0451947711, 0.1147690043, -0.1203972027, 0.1796884835, 0.9661272168, -0.1810113043, 1.020640254, -0.2691678405, -0.077932857, 0.3923036456, -0.180555895, 0.5357429981, -0.3446590602, -0.3133691549, -0.2598674297, -0.0753052905, -0.6358375549, -0.5814161301, 0.7192153335, -0.8736196756, -0.5037639737, 0.1284594685, -1.110806942, -0.2287252694, 0.4086393714, 0.1741331518, 0.817528069, 0.1130577177, 0.2590241134, 0.8669931293, -0.0680569112, 0.4960739017, 0.2202460319, 0.3268819153, -0.2125442326, 1.1999745369, 0.105284974, 0.1712092459, 0.7004842162, 0.2806577981, 0.2238812745, -0.3255902231, -0.4402554929, -0.0727727711, -0.6754044294, -0.5669882298, -0.4696470201, -0.1586462706, 0.0998883098, -0.0206378009, -0.4761049747, -0.2968292832, -0.1818478256, 0.1886443645, 0.3536789417, 0.8474522829, 0.1042772308, 0.9373943806, -0.9767261744, 0.6008509994, 0.4776138663, 0.3450801969, 0.0406668112, -0.3100767434, -0.9271844625, -0.2628584802, -0.6843969822, -0.7680385709, 0.0280335639, 0.2806065381, 0.4443285465, 0.4227997959, -0.148008883, 0.7257449627, -0.547375679, 0.4676493108, 0.2456778437, -0.9902762175, 0.497735858, -0.1522065103, 0.5854266882, 0.321503073, 0.6285734773, -0.2865898609, 0.140923813, -0.1986707747, -1.0437885523, 0.7295828462, -0.062435735, -0.2145996094, 0.2665335536, 0.2860663533, 0.1160023361, -0.0103990678, -0.3094982207, -0.6225274205, -0.1230864897, -0.3131864667, -0.2938812971, 0.0623775497, -0.3666176796, -0.4242996573, 0.5599862933, -0.5150858164, 0.3107964396, 0.0981897339, -0.4112929106, -0.2695475817, 0.2931751907, 0.4251337051, 0.5224143267, 0.0623901933, 0.2263767272, 0.240674004, -0.45779109, 0.32311517, 0.2525243163, 0.078617692, -0.2127473354, 0.3060111105, 1.0707746744, 0.4094759524, -0.2389010936, 0.2133914977, 0.4828622043, -0.2146520615, 0.3521300852, 0.3208853602, 0.2445136905, 0.4460933805, 0.2982842028, 0.5012986064, 0.2933593988, -0.2819512784, 0.1882247925, -0.0134870028, -0.6215310097, -0.3113580048, 0.7242926359, 0.2201328427, -0.2200225443, 0.2731082141, 0.1547249407, -0.1957682222, 0.8634132147, 0.7923425436, 0.7065384388, -0.2644177675, 0.0568972975, 0.249048695, -0.0154606653, -0.30702281, 0.3489313424, -0.1669219881, -0.5983449817, -0.900816977, -0.5428615212, -0.3372891545, 0.0511111319, -1.0177633762, 0.1086912751, -0.2571347356, -0.4705241024, 0.5807602406, -0.3891626596, -0.9482575059, 0.2656043172, 0.1848051995, 0.8185702562, -0.7946664095, 0.9463030696, 1.0154807568, -0.128212437, -0.5744746327, -0.1577790976, 0.0812052041, -0.6579598784, 0.7909422517, 0.1766923815, -0.2466882318, 0.3739774823, -0.1794923395, -1.0841867924, 1.233946085, 0.1029365659, -0.7103151679, -0.190944612, 0.2150405645, 0.2401290238, -0.0442371145, 0.140976429, 0.5310644507, 0.7024282813, -0.0764117241, -1.0159476995, 0.1648634076, -0.1468945891, 0.0185882729, 0.4817386568, -0.7658448219, 0.5719581246, -0.1177328452, 0.1042985842, -0.0142865824, 0.7937830687, -0.0734032616, 0.1239883527, 0.6770160198, 0.6705838442, 0.6376786828, -0.034647245, 0.7552007437, -0.5296949148, 0.2877237797, 1.2131546736, -0.1097814217, 0.5642443895, 0.5022133589, -0.0081751747, 0.4310316145, 0.0107636722, -0.0902504027, 0.3116222322, 0.4347838163, 0.0281019416, -0.3055721223, -0.358553946, -0.2248439342, 0.4677371383, 0.1985129267, -0.2112847418, -0.0892219618, 0.1995377094, -0.3183123767, -0.3549543619, -0.342939496, 0.7315430641, -0.1580885798, -0.6842095256, 0.6403849721, -0.0650359169, 0.8351812363, -0.4273029268, 0.0875149891, 0.1199838743, 0.4761862755, -0.5243443847, -0.7059787512, 0.3312073648, -0.2547116578, -0.5245396495, -0.1969152987, 0.6353116632, -0.2652469873, -0.2156119794, 0.2094656974, 0.7402841449, -0.2428295016, -0.0522342362, -0.4759290516, -0.0108459918, -0.3575280905, -0.3342556357, 0.4746679068, 0.4323025048, 0.0736563951, 0.6825253963, 0.5931120515, -0.1323386282, 0.1636847407, 0.171188578, 0.8569687605, -0.8667992949, -0.2451392561, -0.5732047558, 0.6081297398, 0.1558580399, -0.5557168722, 0.510750711, 0.7383976579, 0.7003355622, -0.3086951673, 0.6166164875, -0.1177485287, 0.089947924, -0.2192208171, 0.4749104679, -0.5601350069, -0.2374904156, -0.3405782282, -0.9719058275, -0.2609508634, 0.0039434498, 0.1875880361, -0.3500216007, 0.7123676538, 0.5686255097, -0.4861889482, -0.0048067179, 0.3248670697, -0.0496121719, -0.0896933079, 0.7153629065, 0.6258231997, -0.7565146685, 0.5008197427, -0.4571605325, -0.1819108278, -0.0714195818, -0.7082653642, -0.8073644638, -0.7749208808, -0.5312153697, -0.0635629222, 0.1786094606, 0.9861521125, 1.2104016542, -0.8712364435, -0.5440202951, 0.3390246034, -0.0212888215, -0.9592556357, -0.1687834859, 0.2103706598, -0.403629005, -0.8221763968, 0.4760694206, 0.0973137841, -0.1402692348, 0.0580778532, 0.1520644277, -0.1698714644, -0.0901048481, 0.8777524829, 0.2248712331, -0.4970873296, -0.0527815484, -0.2992626727, 0.0369288661, 0.1762869358, 1.013415575, -0.8088029623, 0.0644648224, 0.5808154345, 0.8907732368, 0.7130127549, 0.1101565734, 0.3967263401, -0.7654762268, 0.1228741854, -0.1834639311, 0.414242506, -0.0379138328, -0.5169520974, 0.3084791303, 0.0715384707, -0.653701961, -0.5311903954, 0.210184142, -1.2619333267, -0.1337441653, 0.8465223312, -0.0348928496, -0.316601038, -0.2197699994, -0.0112195853, 0.5217397809, -0.1392924786, 0.5744253993, 0.2374008745, -0.2560077012, 0.2088546157, -0.5831083059, 0.3467456102, 0.478970468, -0.9481022954, -0.1008469611, 0.1784741282, 0.030032061, 0.4531196952, -0.1303765178, 0.3111827672, 0.2130746096, -0.5437300205, 0.1770703495, -0.330527097, -0.5487201214, -0.007541568, 0.3632999659, -0.1686992496, -0.4174186885 ]
http://arxiv.org/abs/2407.01409v1
http://arxiv.org/pdf/2407.01409v1
Dynamic Few-Shot Learning for Knowledge Graph Question Answering
2024-07-01T15:59:17
2024-07-01T15:59:17
Jacopo D'Abramo, Andrea Zugarini, Paolo Torroni
cs.CL
cs.CL, cs.AI
Large language models present opportunities for innovative Question Answering over Knowledge Graphs (KGQA). However, they are not inherently designed for query generation. To bridge this gap, solutions have been proposed that rely on fine-tuning or ad-hoc architectures, achieving good results but limited out-of-domain distribution generalization. In this study, we introduce a novel approach called Dynamic Few-Shot Learning (DFSL). DFSL integrates the efficiency of in-context learning and semantic similarity and provides a generally applicable solution for KGQA with state-of-the-art performance. We run an extensive evaluation across multiple benchmark datasets and architecture configurations.
[ -0.4144936502, -1.1374461651, 0.6136286855, -0.5309664011, -0.2539014518, 0.5016860962, 0.2429051995, -0.2636519372, -0.1393697411, 0.1610565186, -0.9955493808, -0.6600492001, -0.4283360243, 0.0791491792, -0.0837369338, 0.5514007807, -0.1673027575, -0.3009938002, -0.3023687899, -0.3454464078, -0.20100604, 0.0586051606, -0.7444063425, -0.3095144033, 0.5927605033, 0.4551785886, 0.5560194254, 0.3742660582, 0.2581647038, 0.2685824037, -0.2219982594, 0.6303397417, -0.9093760848, 0.1864060014, 0.0520045273, -0.376162678, -0.0348960832, -0.2675454617, 0.9238271117, 0.913336277, 0.1157645509, 0.1985429227, -0.0116998702, 0.8249813914, -0.6878516674, 0.3602338135, -0.8760806918, 0.1352339685, -0.0885716081, -0.085918881, -0.2935726643, -0.4591333568, 0.2897791862, -0.8755403757, -0.224879548, 0.1291459799, 0.6252326965, 0.3608132303, -0.8133538365, -0.2608719766, -0.3747246861, 0.5679599643, -0.5326343775, 0.4175160825, 0.2408926487, 0.920756042, -0.4819634855, -0.9160071611, -0.7064608932, 0.1926503628, -0.0480320081, 0.0504905842, -0.1777832657, -0.0459980927, 0.2328162342, -0.1409091204, -0.5686295033, -0.0300438218, -0.2093050927, 0.0162175428, 0.5252525806, 0.5397667885, -0.1792910993, -0.1508257538, -0.3664181828, -0.2042072266, -0.6478071213, 0.2166113704, 0.3024227023, 0.4187703431, 0.1043768376, 0.1899681091, -0.7363213301, 1.058259964, 0.0370633267, -0.3417654634, 0.2162008733, -0.0237294938, -0.1965747178, -0.2173232585, 0.5500053763, 0.0501431078, 0.170036003, -0.2638051212, 0.057339102, -0.5889223814, -0.0342730284, -0.8175374269, -0.3140198588, 0.1733029038, -0.1256504953, -0.4223250747, -0.1637068987, -0.6794597507, -0.3876680732, 0.0881672576, 0.6724099517, -0.5517148376, -0.0780711025, -0.077620782, -0.1447729915, 0.1963607818, 0.3313697577, -0.6236187816, 0.2118847817, 0.4504758418, 0.5055292249, -0.2179986537, -0.3047231436, -0.672706604, 0.2884353697, -0.3873550296, 0.768605113, -0.5140506625, -0.1373785883, -0.04211355, -0.2758777142, -0.158451438, -0.5283504128, -0.2138718814, -1.3711723089, -0.0822259411, -0.4517131448, -0.7075106502, -0.3784908652, 0.6166054606, -0.2583744824, 1.0685055256, 0.4353961051, -0.8982758522, 0.5174939036, -0.5364679694, -0.2970589697, 0.3556439877, -0.2790737748, -0.3122521043, -0.3488396704, 0.0695311725, 0.316993475, 0.0082563031, -0.0220308211, -0.3886036277, -0.4533600807, 0.2272553295, -0.2079709321, 0.455811888, 0.2997551262, -0.0026776211, -0.1309725046, -0.8174607158, 0.3179449141, 0.2501634061, -0.4235439301, -0.2936539054, -0.1556315869, -0.6375469565, 0.2756159604, 0.0506290421, -0.5197173953, 0.3578945398, -0.7139186263, 0.2958674431, 0.4014053941, 0.3747990727, 0.4381766915, -0.1177908629, 0.6828901768, 0.2058421969, -0.0127497166, 0.0342703573, -0.3218996227, -0.3558122814, -0.2284681946, 0.2635130584, 0.4447463751, -1.3473508358, -0.2571359873, -0.2995894253, -0.4856953025, -0.2198023349, 0.3763747215, 0.3918062449, 0.9084798694, 0.3647903204, 0.0612990521, -0.0855192468, -0.5927947164, -0.1175407693, -0.2768511474, 0.1369838566, 0.7904373407, 0.5184332132, 0.0911081657, 1.2700611353, -1.1692898273, -0.2187389135, -0.3438518643, 0.1656421274, 0.130212456, -0.0618308634, 0.8150938153, -0.7402634621, -0.8072140813, -0.0921475068, -0.7498295903, 0.3298176229, 0.467074424, -0.3244944811, -0.0415444709, 0.5202136636, -0.6027858853, 0.0950429589, 0.2187446952, -0.0965283141, 0.116192691, 0.1395786852, 0.0881105661, -1.0616627932, -0.1027215496, -0.4994444549, -0.3412926793, -0.5020051003, 0.070995599, -0.0252280906, -0.2846505046, -0.9487214088, 0.8298181891, -0.0216101706, -0.0368211642, -0.2658771873, 0.3651799858, 0.0481054001, 0.530777812, -0.2408531755, 0.4860959351, 0.6310662031, -0.6591955423, 0.6565443277, 0.5926789641, -0.43473351, 0.2207088917, -0.3764410615, 0.3187016547, -0.5692634583, 0.4724545777, -1.3016908169, -0.5115161538, 0.1381003112, -0.3780530095, 0.3566104472, -0.4440742731, -0.4821815491, -0.6070128679, -0.2949407995, 0.5256541371, 0.4643886685, -0.5112888217, 0.3691894412, 0.1123756692, 0.1352397501, -0.7607190609, -0.5479685068, -0.4925997555, -0.2259359658, -0.6115649939, 0.1606250256, 0.0856861323, -0.0456178933, 0.1230374947, -0.1499186307, -0.3534933627, 0.2359625846, -0.1563956738, -0.1807745397, -0.3571652174, 0.5420411825, 0.2757605612, 0.017253058, -0.3168143332, -0.493442893, 0.4652554691, 0.0366469026, -0.316752553, -0.2140576094, 0.2901648879, 0.4228849113, -0.1011721939, 0.8148824573, 0.4524816573, -0.2448195368, -0.4445955455, -0.1424852014, -0.3232536316, -0.5382624269, 0.4210484326, -0.6457147598, -1.0769594908, 0.4984849989, -0.3549719155, -0.1560617983, 0.1963020265, 0.4051046669, -0.452809006, 0.8251677752, 0.5060872436, 0.2130189836, 0.3520107269, -0.4373070598, 0.1568568498, -0.2928114235, -0.2036868781, -0.0466338545, -0.4850935042, -0.5266650915, -0.1691854298, 0.8491106629, 0.2373859286, -0.3946003318, 0.1683616042, -0.038100075, 0.7401169538, 0.5087373257, 0.2173600048, 0.2686532438, -0.081470415, -0.5516595244, 0.307218641, -1.1560924053, -0.13834548, 0.948816061, 0.0356872268, 0.6830701232, 0.3580186963, 0.830679059, -0.1328260303, -0.0711872801, -0.808844924, 0.5961782336, -0.1857300252, -0.6132349968, -0.7429502606, -0.5718405247, -0.9107087851, 0.257576257, -0.2910768986, -0.6441434622, -0.0472871661, 0.3204841018, -0.7497321367, 0.2313369513, -0.4842475653, 0.8684403896, 0.0357706174, -0.4256809354, -0.0465016812, -0.8176097274, 0.3996063471, -0.219424203, -0.1167349443, -0.2328770161, 0.1433086097, 0.5880197883, -0.2391445339, 0.8505129218, -0.4510909319, 0.2420783192, 0.6753084064, 0.1636506617, 0.5941687822, 0.1300151646, -0.2663384378, -0.4038871229, 0.2681777179, -0.4556605816, -0.9831568003, 0.6214790344, -0.6593863964, -0.4954870641, -0.0873776004, -0.7149592042, -0.7205685377, 0.3963766396, 0.0818059593, 0.6145077348, -0.0809974447, 0.0568261035, 0.5612114668, -0.2242219746, 0.4621171653, 0.7352637053, -0.012340107, -0.2123318017, 0.6323446035, 0.3130452037, 0.3619962037, 0.6003068686, 0.3441957235, -0.5384590626, -0.5345296264, -0.6458719373, 0.1936213076, -1.0735160112, -0.46738711, -0.7222194076, -0.11873281, -0.4978382587, -0.0855975822, -0.2697355449, -0.32116732, -0.1663548797, -0.0791816562, 0.6376903057, 0.5535888076, 0.4566366374, 0.3406366408, -0.899118185, 0.3574715257, 0.8002318144, 0.3499541283, 0.1546263248, -0.4235833287, -0.1123669893, -0.0549356826, -0.5341382623, -0.7972291708, 0.0768673569, 0.4698900878, 0.6469278336, 0.3307295144, 0.6182402968, 0.6462965012, -0.5586156845, 0.672875762, -0.0774898306, -0.473983705, 0.5867868662, -0.3929098845, 0.66903615, 1.0074898005, 0.7876157761, -0.2390811443, -0.1204234436, -0.4441508651, -0.6582868695, 0.6782497764, -0.0352647379, 0.2996839583, -0.2212638855, 0.5689180493, 0.1229898632, 0.2450491637, -0.1608650684, -0.2389524877, 0.0343867354, -0.3703816533, 0.2885597944, -0.0549943708, -0.1919069141, -0.2908424735, 0.4949298501, -0.7153125405, 0.112977244, -0.138118431, -0.1155422181, -0.1419799626, 0.0853676796, 0.2702678442, 0.7750634551, -0.0987864956, 0.1607522219, 0.6267294288, -0.1179425418, 0.1361782551, 0.0916488916, -0.2265327275, -0.3368740976, 0.2602768242, 0.8219882846, 0.2571023107, -0.6981643438, 0.7230482101, 0.2704590559, -0.3498589694, 0.0195531342, 0.2011676133, 0.1551234871, 0.6378166676, 0.4237959981, -0.4210255146, -0.0696483999, -0.5501882434, 0.4213266671, 0.6160658002, -0.4066503346, -0.1486689597, 0.6148649454, 0.1940924972, 0.075724557, 0.8772855997, -0.5211972594, -0.5494208932, 0.5152212381, 0.3736615479, 0.5349528193, 0.1300837249, 0.391810894, 0.2631269991, -0.2237245739, 0.3011520803, 0.3477336168, -0.424968183, -0.8382815719, -0.2613761425, -0.6827864647, -0.421531558, -0.1217461005, -0.244982183, 0.4612648487, -0.2200668454, 0.0794063583, -0.0682752281, 0.1932648867, -0.5637142062, 0.1949801892, 0.0407253951, 0.9545410872, -0.827994585, 1.1383192539, 0.8298016191, -0.3139613867, -0.7830457687, 0.0972727165, 0.170624882, -0.8107101917, 0.9632694125, -0.1893113554, -0.2864345908, 0.5162608027, -0.3778464794, -0.8889966607, 1.6347868443, 0.3601857126, -0.0799169764, -0.076481916, 0.2875816226, 0.4791840315, -0.215658173, 0.0495210066, 0.4838091731, 0.1777657419, 0.7414625883, -0.562274754, -0.2705104351, 0.2728865743, -0.3515685499, 0.1939112693, -0.9628036022, 0.3961859643, -0.2803786397, -0.1117615923, -0.1822032183, 0.6216442585, 0.2874764502, 0.5096197724, 0.483166039, 0.3406445086, 0.8894069791, 0.0933106244, 0.9419691563, -0.1923844665, 0.5054537654, 1.0956130028, -0.3632847667, 0.8622502685, 0.2567604482, -0.2517787814, 0.2648474276, 0.590833962, 0.3045889437, 0.8969446421, 0.1627074778, -0.3568975627, -0.4583861828, 0.035147015, -0.0127001712, 0.6270408034, 0.1466588676, -0.1771240681, -0.6842183471, 0.0328025408, -0.223285526, -0.0178334769, -0.0780974552, 0.9989987016, 0.0869707167, -0.4418657124, 0.7279474139, -0.3019381464, 0.2765410244, -0.8472322226, -0.0707089603, -0.3437466025, 0.0434169136, -0.0537712984, -0.8581599593, 0.3499849439, -0.1756704897, -0.0282590967, 0.0207708105, 0.6932182312, -0.3356009424, -0.2439412028, 0.1221959889, 0.6805314422, 0.0062694019, 0.2192391008, -0.6471654773, -0.3783733249, -0.2820734978, -0.3481581807, 0.5121535063, 0.5223166943, -0.0307754539, 0.9172937274, 0.1215718985, -0.404394865, 0.2757714689, -0.0782846212, 1.01300776, -0.3504108787, -0.4432745874, -0.5670182705, 0.3170014322, 0.1153071374, -0.3094991148, 0.602599442, 0.4253797829, 0.8156811595, -0.0033829901, 0.5591360331, 0.0773412585, 0.5337227583, -0.5335206985, 0.6379083991, -0.7451817393, -0.0089591593, -0.2850395739, -0.664875865, -0.4483445287, 0.1898153126, -0.3832806051, -0.0700685233, 0.6654614806, 0.8188151717, -0.2189664394, -0.2117414773, 0.6327257156, 0.1302777678, 0.1257045716, 0.7074628472, 0.9048381448, -0.3723805249, 0.8602997661, -0.2603942752, -0.0576773845, -0.1118273735, -0.8071248531, -0.7771708965, -0.446947962, -0.4475467801, -0.1523282379, 0.2503352165, 0.8224967718, 0.6454814672, -0.6474539042, 0.2944990396, 0.1010792181, 0.2372652739, -0.1900722384, -0.1925368905, 0.6707334518, -0.431104809, -0.6094481945, 0.5476950407, 0.1778987944, -0.0210018773, -0.0239589438, 0.1417726278, -0.2587939501, 0.1036499813, 0.7786530256, 0.2487280071, -0.4376143515, -0.5737947226, 0.1415609717, 0.0390763767, -0.0457166284, 0.571385324, -1.1336605549, 0.4626345634, 0.889849484, 0.9417436719, 0.8314834833, 0.1548193544, 0.1054143608, -1.2003165483, 0.1040434763, 0.21542871, -0.1624144167, 0.0467200093, -0.2165609598, 0.2121898234, 0.3526703715, -0.2597358823, -0.5478048325, 0.6387287378, -0.7778345942, -0.3841776848, 1.2586088181, -0.2380886525, -0.1496884078, -0.3133974969, 0.0805698633, 0.2446590662, -0.0945275724, 0.4988930225, 0.5230759978, -0.574275434, -0.0685223639, -0.4524861872, 0.5079282522, 0.0770791695, -0.5706657767, -0.096568577, 0.3691525459, 0.5586080551, -0.2964479625, 0.7132083178, 0.0122674285, 0.1835214198, -0.0020599519, -0.562322557, -0.2335535586, -0.2835462391, -0.0493869297, 0.6111893654, 0.2916019559, -0.2911257744 ]
http://arxiv.org/abs/2407.01406v1
http://arxiv.org/pdf/2407.01406v1
Adapting Multilingual LLMs to Low-Resource Languages with Knowledge Graphs via Adapters
2024-07-01T15:56:24
2024-07-01T15:56:24
Daniil Gurgurov, Mareike Hartmann, Simon Ostermann
cs.CL
cs.CL, cs.AI
This paper explores the integration of graph knowledge from linguistic ontologies into multilingual Large Language Models (LLMs) using adapters to improve performance for low-resource languages (LRLs) in sentiment analysis (SA) and named entity recognition (NER). Building upon successful parameter-efficient fine-tuning techniques, such as K-ADAPTER and MAD-X, we propose a similar approach for incorporating knowledge from multilingual graphs, connecting concepts in various languages with each other through linguistic relationships, into multilingual LLMs for LRLs. Specifically, we focus on eight LRLs -- Maltese, Bulgarian, Indonesian, Nepali, Javanese, Uyghur, Tibetan, and Sinhala -- and employ language-specific adapters fine-tuned on data extracted from the language-specific section of ConceptNet, aiming to enable knowledge transfer across the languages covered by the knowledge graph. We compare various fine-tuning objectives, including standard Masked Language Modeling (MLM), MLM with full-word masking, and MLM with targeted masking, to analyse their effectiveness in learning and integrating the extracted graph data. Through empirical evaluation on language-specific tasks, we assess how structured graph knowledge affects the performance of multilingual LLMs for LRLs in SA and NER, providing insights into the potential benefits of adapting language models for low-resource scenarios.
[ -0.3959606588, -0.4570173025, 0.3867283165, 0.1056492999, -0.2228868008, 0.405607909, -0.5200372934, -0.4326903522, 0.2914605439, 0.7018374801, -0.3295805752, -0.5610861778, -0.5381478071, 0.2951846123, 0.2210026383, 1.0232410431, -0.2577636838, 0.0117033552, 0.107594952, -0.3533200324, -0.2721275091, -0.5110567808, -0.852417469, -0.3106673658, 0.7248567343, 0.3906627893, 0.4324454367, 0.3416869938, 0.3668509424, 0.2868478596, -0.1886148006, 0.5394915938, -0.5548226833, -0.2304740548, -0.4427056611, -0.5159893632, -0.4745871425, -0.3236681521, 0.7287880182, 0.7836152315, 0.0519798733, 0.3005649447, 0.2774268687, 0.7396367788, -0.5265667439, 0.5528369546, -0.70498842, 0.086778, -0.0309286304, -0.1318395883, -0.3007975221, -0.2860883474, -0.0961889103, -0.6463797092, -0.2170559913, 0.164096877, 0.5974763036, 0.3943222761, -0.1642024517, -0.3745663762, -0.4896169603, 0.7342315912, -0.6183981895, 0.4547345638, 0.1849456131, 0.2637930214, -0.0909522697, -0.5389220119, -0.5695643425, 0.1412034929, -0.3117420077, 0.0658841133, -0.2378763407, 0.1266610026, 0.0804018304, 0.1043622196, -0.2114114612, 0.3983489871, -0.1990762651, -0.1922365129, 0.5258798599, 0.0663079619, 0.2731240988, -0.3256100118, -0.0877820104, 0.0597258806, -0.5915756822, 0.1414878219, 0.3400532007, 0.9516790509, -0.2938813269, 0.5327563882, -0.2482574135, 0.9594037533, 0.0222427975, -0.420437783, 0.2185366005, -0.5378867388, -0.0207922887, 0.1524447799, 0.7331714034, 0.1978594363, 0.588514328, -0.2994331717, -0.1682879925, -0.0075915996, -0.215890646, -0.756293714, -0.2250261903, -0.2573423684, -0.4040769339, -0.1421764642, -0.4905831516, -0.761691153, -0.5462008119, -0.1895347387, 0.1727415621, -0.3572179079, -0.3647401035, 0.1452765018, -0.1173949316, 0.1389420182, 0.2873389423, -0.6395603418, 0.3049726188, 0.4995159507, 1.0174046755, -0.1132586375, -0.251005739, -0.3983071446, 0.2632278502, -0.2115867287, 0.7924832702, -0.5566276312, -0.2565267086, 0.062772356, 0.3197567165, -0.3474226594, -0.4716130495, 0.3277771175, -0.7120164037, 0.0133160977, -0.3580379188, -0.4301690161, -0.3601621985, 0.6370292902, -0.6336605549, 0.8414518833, 0.1654467732, -0.7711258531, 0.1633628458, -0.9610751271, -0.554407239, -0.0197442025, 0.0051255147, 0.0134884296, -0.0017459024, 0.1219296753, 0.521328032, -0.1869852394, -0.2537647784, -0.2545699477, -0.0164103955, 0.2121278644, -0.18823497, 0.7001754045, 0.1538792849, 0.1130882949, 0.13868168, -0.8776069283, 0.108696036, 0.1327223331, -0.5163328648, -0.4241532683, -0.057977058, 0.0985525623, 0.5554971695, 0.2265904844, -0.4188562334, 0.0322253518, -0.6036163568, 0.5862730145, 0.5863239169, -0.0777925178, 0.4233729541, -0.0519281365, 0.6346056461, 0.2725077868, -0.2335897833, 0.1274757832, -0.3745432496, -1.0028340816, -0.1117463261, 0.4951173365, 0.679396987, -1.1622588634, 0.1803897768, -0.5336359143, -0.3444853127, -0.7557508349, 0.5819014907, 0.3579180241, 0.4663595855, 0.2818815112, -0.4008946717, -0.4617660344, -0.6890812516, -0.2580350041, -0.2123141289, 0.2809976339, 0.5232368708, 0.2815103233, -0.2216730714, 0.6073688269, -0.5453887582, -0.5160014033, -0.5444530249, -0.3547853827, 0.3202157915, 0.022187056, 0.6900393367, -0.5070203543, -0.7658863068, 0.4277402461, -0.6384650469, 0.1145375594, 0.3149391711, -0.1070887819, 0.3753637671, 0.4808682501, -0.2912332416, -0.174004972, 0.756327033, -0.273403734, 0.3608861864, -0.1944435388, -0.1430580169, -1.3301866055, -0.0863462314, 0.1003768221, -0.4102711678, -0.7105973363, -0.0067179417, -0.2280530035, -0.0708162263, -0.6079378724, 0.82015872, -0.4451100826, -0.0285905618, -0.2519867718, 0.5829725862, 0.0194703545, 0.5622459054, 0.0238446593, 0.6889580488, 0.3693303168, -0.5359880328, 0.2674992085, 0.1754615754, -0.5241094828, 0.6356022358, -0.2982479334, 0.1589924842, -0.1913406551, -0.1087750793, -0.7486961484, -0.0001620694, 0.4253033698, -0.1201356575, 0.2989304364, -0.5987862945, -0.4039931893, -0.0881995186, -0.129806146, 0.2990536392, 0.2517400086, -0.4656800032, 0.7863920927, 0.5397440791, -0.2804109156, -0.5900589228, -0.7641454935, 0.1047201455, -0.3599983752, -0.4375737607, 0.0534115098, 0.081680581, -0.2656626403, 0.2077417076, 0.257665962, -0.037230555, 0.1145465672, -0.013187062, -0.0370424725, -0.4311638772, 0.1372163594, 0.0241210386, -0.2031403482, -0.2057088315, -0.5630943775, 0.6423135996, -0.2243317664, -0.1786584556, -0.1200969741, 0.0240962971, 0.3668478131, -0.1315266341, 0.8989302516, 0.7828837633, -0.3883373439, -0.1696515679, -0.4058056772, 0.126578629, -0.4277563989, 0.5728712082, -0.6783284545, -1.1331752539, 0.6836218238, -0.4717793763, -0.2037921995, 0.3511100411, 0.6411166787, -0.042559389, 0.8126606941, 0.8752214909, -0.4797814488, 0.5119513273, -0.2202675492, 0.4523153603, -0.9559386969, 0.09165553, -0.3939272761, -0.3653119504, -1.0758606195, -0.4925643206, 0.2095057815, 0.2646823525, -0.0959784612, 0.1900141984, -0.1166594028, 0.4497185647, 0.2574592829, -0.0148606505, 0.4522460997, 0.1951268613, -0.0920931697, 0.093917124, -1.0983221531, -0.4883365631, 0.8435186148, 0.10862232, 0.652992487, 0.2539494634, 0.576321125, 0.0649925023, 0.2009099722, -0.918045938, 0.3667700589, -0.613912642, -0.2090489417, -0.3050564528, -0.3707631528, -0.8107373714, 0.3119623065, -0.1574763358, -0.7482118607, 0.2676138878, 0.0923448727, -0.2154901326, 0.3782778382, -0.6186963916, 0.797044754, -0.2503460348, -0.0206106771, -0.2472708225, -0.2691837251, 0.0963771045, -0.355199337, 0.702573359, -0.2509195805, -0.0389498882, 0.8271127343, -0.0646489188, 1.12459445, -0.2141624391, -0.2515495121, 0.2785050869, -0.0719034895, 0.6570957303, -0.0185441058, -0.3618277311, 0.4250717163, 0.0477734767, -0.3606778085, -0.6417225599, 0.8047270179, -0.9900900722, -0.4421369433, 0.0527134426, -0.7840282321, -0.3321356475, 0.4917313159, -0.0656805262, -0.0655794814, -0.1429780871, -0.2099206448, 0.3771053851, -0.313629508, 0.2550087869, 0.7139612436, -0.412368685, -0.4106221795, 1.2672656775, 0.5019145012, 0.289690733, 0.417930305, 0.2840596437, -0.1022343412, -0.4381472468, -0.6408976316, 0.3414495289, -0.9245951176, -0.2874517739, -0.6249831915, -0.1955659837, -0.2545621395, 0.0199841876, -0.3194867373, -0.5831270814, -0.2246449888, -0.0064338138, 0.6628579497, 0.5146214366, 0.0910225064, 0.3741663098, -0.6878048778, 0.1484444737, 0.0252278112, 0.5616201162, -0.0196945518, -0.5121258497, -0.5237021446, 0.0689925104, 0.0320794806, -0.6293210387, 0.1896500587, 0.5565596819, 0.4827366471, 0.2559590042, -0.0218631197, 0.801823616, -0.4983442128, 0.4827947617, 0.1089152172, -0.8531786203, 0.3608109653, -0.1377404779, 0.0587469079, 0.4714396298, 0.3929925561, -0.7664760351, -0.1878598183, -0.0788980052, -0.6324922442, 0.8422054052, -0.188188538, 0.274838239, 0.1061403751, 0.6007011533, -0.0911441669, 0.2303754836, -0.740259409, -0.3140856922, -0.1934330165, -0.4074224532, -0.3829339743, -0.2313550413, -0.1995768845, -0.1731708795, 0.5953393579, -0.717310369, -0.0511247441, -0.1971703321, -0.4364528656, -0.0205787495, 0.3895705342, 0.2767094374, 0.4504799247, 0.1684539467, 0.249309659, 0.6601778865, -0.1525906473, 0.0571345128, 0.1592961699, -0.2616617084, -0.14419806, 0.3464621305, 1.0883629322, 0.323453784, -0.4695796371, 0.0285113938, 0.0316636674, 0.11890506, 0.1097464934, 0.1990467906, 0.3684414327, 0.4413247406, -0.2317425013, -0.118469052, -0.0764077529, -0.4381638467, -0.3003482819, 0.5335529447, -0.6054559946, -0.4539504349, 0.1842299998, 0.0322918668, -0.2920917869, 0.3683323264, -0.1846223325, -0.5899868608, 0.280444473, 0.7024315, 0.5115138292, -0.204885751, 0.1720316708, 0.2367518097, 0.4174914658, 0.1317354441, 0.4741082489, 0.0596643016, -1.1888437271, -0.5719820857, -0.8030608296, -0.2980846465, -0.207515344, -0.5630939007, 0.2980889976, -0.4410167336, -0.2080370784, 0.1358049214, 0.1618863493, -1.0449726582, 0.0278910492, 0.1102432981, 0.9866572618, -0.9108412862, 0.9159557223, 1.0484240055, -0.3590289354, -0.8252142072, -0.2057283968, -0.2613126338, -1.2794933319, 0.727070272, -0.2418285608, -0.2852389812, 0.3507695496, 0.0240001883, -0.9839714766, 0.8104358315, 0.5114091635, -0.559171319, 0.1338376999, 0.5543224216, 0.7191116214, -0.3616812527, 0.0372925736, 0.6034849286, 0.597096622, -0.1183836982, -0.8319388032, 0.0398098342, -0.1598407626, 0.1313548237, 0.2576035559, -0.8406655192, 0.4655435383, -0.1823364049, -0.0783297196, -0.2284012288, 0.5655052662, 0.0455189683, 0.112544924, 0.4925220311, 0.5071573853, 0.9262772202, -0.0480384938, 0.8459839225, -0.8422567844, 0.2890023291, 1.0240288973, -0.4421352744, 0.8211426139, 0.5662583113, -0.3366243541, 0.7101256251, 0.4813613296, 0.1323701143, 0.5273256302, 0.2437145412, -0.0233655013, -0.248822853, -0.5871223211, -0.2211850882, 0.5551316738, 0.5907890201, -0.2285135537, -0.2239296585, -0.0094522275, 0.1455848515, -0.1801472902, -0.5185368061, 1.1308643818, 0.2304556668, -0.3240072727, 0.5638133883, 0.2002753019, 0.6589546204, -0.450193584, 0.2341275811, -0.2089283615, 0.2528455555, -0.3575119674, -0.8158664107, 0.3551639915, 0.0396182425, -0.4382598698, 0.0013700534, 0.9852145314, -0.5311951637, -0.9211843014, 0.688716054, 0.8549307585, 0.1401442289, 0.2054336816, -0.7102751136, 0.012749726, -0.164502427, -0.1093924344, 0.579357028, 0.6883401275, -0.1140692756, 0.6346392035, 0.6042555571, 0.3847379982, -0.0319434181, 0.3353147805, 0.9220496416, -0.5362798572, -0.4697313011, -0.8678008914, 0.2332419157, 0.1215948611, -0.0506388098, 0.874504447, 0.4114524126, 1.0434908867, 0.0521814041, 0.9462035894, 0.2096063793, 0.2833888829, -0.5459720492, 0.8119117022, -0.6442528963, 0.0456557609, -0.3242531717, -0.8245249391, -0.3155831695, 0.4648302495, -0.4043443203, -0.0729035363, 0.2431245446, 0.7066155076, -0.0202626511, -0.354254663, 0.335583657, 0.4210595787, 0.1843817979, 0.4072522223, 0.6171809435, -0.3100211918, 0.475723356, -0.3028033674, -0.0721301138, -0.0290317498, -0.9536792636, -0.9429835677, -0.3383045197, -0.3760467768, -0.3802766204, 0.0450644195, 0.8090234399, 0.4898682535, -0.9866745472, -0.3356066644, 0.2686449587, 0.5750700235, -0.0845551938, -0.2042831779, 0.4534725249, -0.4895342886, -0.6094053984, 0.3834093213, 0.4001643062, -0.1872301996, -0.2337632775, -0.2050229311, -0.0148120224, -0.020899279, 0.9707627296, 0.1839823127, -0.655610621, -0.3960287273, -0.0647387058, 0.1820640862, 0.0880998299, 0.7425926328, -0.7254154086, 0.4643961787, 0.2897586524, 0.6178559065, 0.225267604, -0.3949174583, 0.226982668, -0.7759270668, 0.3085882068, -0.1425113082, 0.5712729096, 0.4974708855, -0.1767442822, 0.3923695087, 0.200643152, -0.1940050125, -0.9195617437, 0.3221196532, -0.6993520856, -0.1142076775, 1.2520582676, -0.289773941, -0.2147688419, -0.304746449, -0.0563637577, 0.4493984282, -0.0338705778, 0.7116280198, 0.5988537073, -0.1327904463, -0.2527493536, -0.2975058258, 0.4911582768, 0.0291323811, -0.7304267287, 0.0480379127, 0.0694776922, 0.5079092979, 0.3139219582, 0.6212050319, 0.1167012155, -0.1735476851, -0.3739321232, 0.0431784652, -0.0004483714, 0.0049970467, -0.3586980104, 0.0480288677, 0.3864420056, 0.1350139529 ]
http://arxiv.org/abs/2407.01403v1
http://arxiv.org/pdf/2407.01403v1
Optimization of Retrieval-Augmented Generation Context with Outlier Detection
2024-07-01T15:53:29
2024-07-01T15:53:29
Vitaly Bulgakov
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
In this paper, we focus on methods to reduce the size and improve the quality of the prompt context required for question-answering systems. Attempts to increase the number of retrieved chunked documents and thereby enlarge the context related to the query can significantly complicate the processing and decrease the performance of a Large Language Model (LLM) when generating responses to queries. It is well known that a large set of documents retrieved from a database in response to a query may contain irrelevant information, which often leads to hallucinations in the resulting answers. Our goal is to select the most semantically relevant documents, treating the discarded ones as outliers. We propose and evaluate several methods for identifying outliers by creating features that utilize the distances of embedding vectors, retrieved from the vector database, to both the centroid and the query vectors. The methods were evaluated by comparing the similarities of the retrieved LLM responses to ground-truth answers obtained using the OpenAI GPT-4o model. It was found that the greatest improvements were achieved with increasing complexity of the questions and answers.
[ -0.779797554, -1.0936311483, 0.7274569273, -0.1102261022, -0.3567996621, -0.3227127492, -0.0324213915, -0.1382192522, 0.1198989004, 0.6105573177, -0.5085176229, -0.3322589695, -0.2952592373, 0.1465527117, -0.4484417737, 0.7236967683, 0.1507469267, -0.1165772602, -0.6795333624, -0.1189629287, -0.725861609, -0.3205020726, -0.624466598, 0.0268931817, 0.0281699579, 0.5973098278, 0.42857939, 0.6191404462, 0.3832655251, 0.2636139095, -0.191867426, 0.4548836648, -0.4627101719, 0.4934667349, -0.0436288305, -0.3300564587, 0.0683268905, -0.3482340574, 0.7670672536, 0.4679206312, 0.0812057629, 0.1650044471, 0.2011005878, 0.4276258349, -0.5025066137, -0.1335121244, -0.618732214, -0.1006094888, -0.1922656149, -0.6608355641, -0.3164444864, -0.6109319329, 0.0564920716, -0.6449206471, 0.5662822723, 0.3023215532, 0.7221544385, 0.252746582, -0.3007830679, -0.6354191303, -0.4016528428, 0.8730601072, -0.4994867444, 0.1898172647, 0.244066149, 0.3721634746, -0.5229956508, -0.3506590128, -0.6546730995, 0.0198931377, -0.0548717938, -0.0033485966, 0.0350397751, -0.145396322, 0.3477370441, 0.1711316407, -0.7962986827, -0.0424879678, -0.1249055192, -0.2309163809, 0.4990279078, 0.1823389381, 0.3115457594, -0.4281489551, -0.1806561351, -0.2784995735, -0.8450489044, 0.0207991954, 0.5075932741, 0.2076141089, 0.4291868806, 0.5870447755, -0.1467985809, 0.7515105605, 0.0280966908, 0.0959780291, 0.1685858816, -0.660682261, -0.042208001, -0.1211522818, 0.3614048064, 0.4653840363, -0.0085796164, -0.0311914328, -0.1976335198, -0.4341759682, 0.2302898318, -0.9934769869, 0.2581277788, 0.3977794647, -0.5093916655, -0.0299826991, -0.0230001565, -0.8586364985, -0.3320759535, -0.2938570082, 0.4469903708, -0.6430110931, -0.0666243732, -0.3546043038, -0.4131232798, 0.39472422, 0.36092484, -0.7126672864, -0.0698680207, 0.5498722196, 0.7040173411, 0.0146591617, 0.1282036006, -0.8364601731, 0.0504389778, -0.4045000672, 0.8833506107, -0.726488471, -0.7707387209, 0.1129647121, -0.1099267006, -0.0200956184, -0.8461817503, 0.7225224376, -0.798843801, 0.479270637, -0.9004480243, -0.7475524545, -0.1482224017, 0.4338136613, -0.4069048166, 1.2456028461, 0.4719829857, -0.7360702157, 0.2622912228, -0.6226319671, -0.1949602216, 0.2782860398, -0.323967129, -0.2093400657, 0.1854278296, 0.5065938234, 0.2592711151, -0.5540220737, 0.091343157, 0.119154118, -0.5710945129, 0.2275003791, -0.0429252833, 0.6428155303, 0.3480038345, -0.0154106198, 0.0987258106, -0.7060113549, 0.2905208468, 0.03321876, -0.4350510538, -0.597622633, -0.1235905513, -0.2060008943, 0.1968566924, 0.1916638017, -0.7954658866, -0.1056830063, -0.5052863359, 0.2769594789, 0.5854744315, 0.5404905081, 0.3921866417, -0.2857910693, 0.5749972463, 0.3833344579, 0.1472141743, -0.3430896401, -0.5450108051, -0.5242874622, -0.0503362156, 0.0146410232, 0.4234746993, -1.2243273258, 0.6268082261, -0.276771903, -0.1202379465, -0.3422123492, 0.2289435267, 0.3760423064, 1.2071820498, 0.522059679, 0.0243751388, -0.4216776788, -0.8369246721, -0.3388172686, -0.0374136902, -0.187356025, 0.5203229785, 0.4779289961, -0.1715283692, 1.2339248657, -0.4562820792, -0.123530224, 0.0176029038, -0.1274559051, 0.145775035, 0.4442542493, 0.7059730291, -0.8886461854, -0.3132361174, -0.1084517464, -0.8080499172, -0.1234799176, 0.2240586579, -0.2496934235, 0.1695269644, 0.6459829807, -0.3955324292, 0.3785897195, -0.0003452565, -0.2220011652, 0.1897177994, -0.2244285941, 0.270174861, -1.2528754473, -0.1034356803, -0.1266772598, 0.0826709941, -0.5738521218, 0.0656187162, 0.1828691363, -0.1820461452, -0.2504596114, 0.4932772517, -0.4365084767, -0.1463842541, -0.1052957401, 0.4985074103, 0.0863601491, 0.312117219, -0.3350702226, 1.0800329447, 0.2060108334, -0.6568801999, 0.3311585188, 0.5128982067, -0.312630713, 0.7329331636, -0.5586884618, 0.2204009742, -0.7498223782, -0.0115754222, -1.2196013927, -0.3123554289, 0.0950415581, -0.6191608906, 0.2171563655, 0.017091196, -0.4068557918, -0.3045488596, -0.6854431033, 0.4949506819, 0.4023579657, -0.7182857394, 0.4911709428, 0.1906379163, -0.221386835, -0.5190497041, -0.4676815867, -0.2194988132, -0.392993778, -0.8577698469, 0.1836012155, -0.1028666869, -0.0373809077, 0.0959301218, 0.1855211407, 0.2507953048, -0.064170979, -0.0174650084, -0.006614883, -0.239458397, 0.5423333645, 0.3961242437, 0.1455377787, 0.0038285688, -0.1354282647, 0.5220642686, 0.0098354425, -0.2708038688, 0.1355750561, 0.7089624405, 0.296125561, -0.2215331346, 0.6903749108, 0.4060235918, -0.3973922431, -0.1647638232, -0.5395045877, -0.2181590945, -0.4585805833, 0.3381638229, -0.4150388539, -1.0212589502, 0.7792788744, 0.1264540851, -0.107973367, 0.5094329119, 0.3779031336, 0.2337510586, 1.0902258158, 0.2253708243, 0.2427981496, 0.5806487203, -0.2712301314, 0.1748578995, -1.2956602573, -0.3832768798, -0.83111763, 0.0676675439, -0.5960666537, -0.4751553833, 0.704159677, 0.1519692242, -0.3139023781, 0.0286072027, -0.7740697861, 0.3285932243, 0.6779639721, 0.037937656, 0.0416523889, 0.2266855091, -0.186562717, 0.1008227244, -0.7059800029, -0.4319528639, 1.1118408442, -0.0224687997, 0.2685509622, 0.4154914021, 0.6788600087, 0.1143788323, 0.1396337301, -0.4902181923, 0.5547170043, 0.2188715488, -0.4572717547, -0.6541400552, -0.6252177358, -1.0051064491, 0.3913816512, -0.0796198547, -0.6793800592, 0.3593053222, -0.0892130807, -0.4989587069, -0.0600210316, -0.7293934822, 0.6739466786, 0.0869950727, -0.2200201601, 0.1721422076, -0.5652535558, 0.2208297402, -0.1091326699, 0.1733443886, 0.0992829651, -0.0652738288, 0.5727022886, -0.6609576941, 0.1549357772, -0.4210245311, -0.0147558386, 0.6986728311, -0.0961979702, 0.5835641623, 0.1635075957, -0.2363846749, -0.3358359933, 0.1094477847, -0.4464140832, -0.8110565543, 0.9246039391, -0.7533221841, -0.6986660361, -0.0968203172, -0.3685956001, -0.2907231748, 0.1960261315, 0.7357124686, 0.7498842478, -0.148471728, 0.3751314282, 0.9106099606, -0.5676996708, 0.577641964, 0.1872896701, -0.0651431978, -0.2439810634, 0.7668372989, 0.3876781464, -0.0940154195, 0.3603107929, 0.0730354115, -0.6952688098, -0.7231045961, -0.5474628806, 0.1505637914, -0.9559610486, -0.3751918674, -0.6066253781, -0.109841086, -0.6916356087, 0.0807317346, 0.242934525, -0.0821088776, -0.4798558056, 0.1104819551, 0.3701238632, 0.3784364462, 0.2876620293, 0.3354350328, -0.7927711606, 0.0676620528, 0.3750290871, 0.0469183065, 0.0759437308, -0.6750566363, -0.1089465469, 0.018776359, -0.3327364624, -0.8679193854, 0.3789126277, 0.2574285865, 0.6578688622, 0.2000041902, 0.1900254786, 0.5495140553, -0.2783712447, 0.80661726, -0.1818998158, -0.6085963249, 0.9132453203, -0.3983429074, 0.2821017504, 0.432893306, 0.2118144631, -0.3482107818, -0.0683837757, -0.5205817223, -0.9524677396, 0.4799889028, 0.1730366498, 0.1228631362, -0.5093103647, 0.755209744, -0.0649599954, 0.3126800656, 0.1482836157, 0.0656453967, -0.1463329941, -0.2079969496, 0.082208544, -0.5200486779, -0.0502298996, -0.0016487284, 0.6965625882, -0.5028161407, 0.3532672524, 0.4097554088, -0.1458874345, -0.2366668284, 0.2801325321, 0.7623862624, 0.7424430847, -0.2683556676, -0.101520054, 0.2756421566, -0.4381688237, -0.0414051339, 0.0720851198, -0.4242013991, -0.0185623746, 0.1108402312, 0.5152547359, -0.2164716721, -0.747756958, 0.6258623004, -0.2156544179, 0.0920670554, -0.409473747, -0.0109123494, -0.2333464473, 0.1937641501, 0.5680809617, -0.2340634316, 0.4346699119, -0.5378415585, -0.058754202, 0.6367523074, -0.2019096762, 0.0422950983, 0.4688477218, 0.1305429339, -0.2361530364, 0.8923168778, -0.1912974417, -0.3879863322, 0.590598762, 0.3770273626, 0.6813849211, -0.1393836141, 0.1094196364, 0.399779886, 0.1386937201, 0.0027599761, 0.4049177766, -0.0895329639, -0.8360251188, -0.3112607896, -0.6086782813, -0.1887862831, 0.1558252573, -0.7400529981, 0.0470638201, -0.3086997271, -0.0882073268, -0.1925123781, 0.1405019164, -0.6134121418, 0.2809636593, -0.456279695, 0.7296324372, -0.5895611644, 0.5359455347, 0.6776834726, -0.5810466409, -0.6253896952, -0.0304744802, -0.2151665837, -0.595033586, 0.4837824404, 0.1483216584, -0.0080904569, 0.1327733546, -0.4703413248, -0.9421066046, 1.1234295368, 0.309242487, -0.2535063922, 0.0958138779, -0.0334918685, 0.5258253813, -0.40189448, 0.3719643354, 0.7089951634, 0.195740208, 0.279191643, -0.4481519461, 0.2767342031, -0.1648860425, 0.5159630179, 0.3831451237, -0.5034451485, 0.9196456671, 0.0656576902, -0.1915924102, 0.262488544, 0.5009742975, 0.3831585944, 0.2738318145, 0.3653095961, 0.5343497992, 0.9801216125, -0.2503631711, 1.1738555431, -0.1188166216, 0.1628060341, 0.719327867, -0.1466789246, 0.6572091579, 0.5596544743, 0.2087810487, 0.3531563878, 0.7689893246, 0.3079116046, 0.4699827135, 0.2728748024, -0.2500874996, -0.1358937472, -0.1979403198, -0.5598926544, 0.1087642238, 0.5266383886, -0.3572165668, -0.3381547928, 0.2420998216, -0.1215630993, 0.2323096395, -0.3382101357, 0.7509965897, -0.2381689101, -0.8523008823, 0.5359857678, -0.0543001592, 0.4902873933, -0.1566672772, -0.1098458171, -0.604201138, -0.04192679, -0.176371634, -0.6510387659, 0.2962709069, -0.2181196213, -0.2277839482, -0.0205448605, 0.7905667424, -0.3396862149, -0.1954582632, 0.0209801905, 0.6120861173, 0.2776561975, -0.2663040161, -0.4190955758, -0.0938014239, -0.1152539328, -0.2964473665, 0.4199533165, 0.7725310922, -0.4254261553, 0.4231525064, 0.7336697578, -0.1643348485, 0.0701297, -0.0205952115, 1.0655628443, -0.552955389, -0.6666255593, -0.545340538, 0.0907626227, -0.3666987717, -0.370136708, 0.862141192, 0.6732063293, 0.6982644796, 0.0637064353, 0.7399247885, -0.0344277211, 0.8860925436, -0.5673696399, 0.301543057, -0.5336695313, 0.5293416381, -0.1786031574, -1.200024724, -0.1251164973, 0.3225055039, -0.2837739587, 0.2626228929, 0.499907285, 1.0649732351, 0.2925246358, -0.0022135125, 0.4128358662, -0.094962582, 0.4530835152, 0.4137538075, 0.9356078506, -0.5474757552, 0.6353331208, 0.254206568, -0.2315122634, -0.4777469635, -0.6970669627, -0.7789459825, -0.7042209506, -0.0956723765, -0.4380124807, -0.0470921844, 0.7615727782, 0.3848883212, -0.8411455154, 0.1732780337, -0.0715788752, 0.3253338039, 0.1487943977, -0.3001168072, 0.5181881785, -0.5794464946, -0.5711268187, 0.4335025251, 0.2660316825, 0.1206046864, -0.0814366713, 0.0456812084, -0.1818521917, 0.2275518477, 0.7161588073, 0.2844657004, -0.5501281619, -0.8001685143, 0.2475925237, 0.1851137131, 0.0939400047, 0.7475123405, -0.7893357277, 0.5895255804, 0.7931381464, 0.7147919536, 0.4639637768, 0.5046182275, 0.3474149704, -1.2084861994, 0.1174000129, 0.1800647527, 0.1744813621, 0.5617171526, -0.6448799968, 0.4098052084, 0.0995117277, -0.6364697814, -0.7986785173, 0.2034721822, -0.5691473484, -0.3767231405, 1.1495953798, 0.0979400724, -0.2418710738, -0.285641551, -0.2984701097, 0.0878418609, -0.4154825211, 0.4458205998, 0.6320291758, -0.4705204666, -0.2179446965, -0.5347774029, 0.6857372522, 0.2955406904, -0.6847905517, -0.2831277549, 0.6387546659, 0.2337253988, 0.3731175661, 0.4681717157, -0.2514912188, 0.2318233401, -0.1079303399, -0.2628608346, -0.0380325131, -0.060700383, -0.4189441502, 0.4169652164, 0.1397208124, -0.3961260915 ]
http://arxiv.org/abs/2407.01394v1
http://arxiv.org/pdf/2407.01394v1
Gloss2Text: Sign Language Gloss translation using LLMs and Semantically Aware Label Smoothing
2024-07-01T15:46:45
2024-07-01T15:46:45
Pooya Fayyazsanavi, Antonios Anastasopoulos, Jana Košecká
cs.CV
cs.CV, cs.CL, cs.LG
Sign language translation from video to spoken text presents unique challenges owing to the distinct grammar, expression nuances, and high variation of visual appearance across different speakers and contexts. The intermediate gloss annotations of videos aim to guide the translation process. In our work, we focus on {\em Gloss2Text} translation stage and propose several advances by leveraging pre-trained large language models (LLMs), data augmentation, and novel label-smoothing loss function exploiting gloss translation ambiguities improving significantly the performance of state-of-the-art approaches. Through extensive experiments and ablation studies on the PHOENIX Weather 2014T dataset, our approach surpasses state-of-the-art performance in {\em Gloss2Text} translation, indicating its efficacy in addressing sign language translation and suggesting promising avenues for future research and development.
[ -0.1927691847, -0.667280674, 0.6001154184, 0.3017945588, -0.4899602234, 0.0269426145, -0.0757285729, -0.7422248125, 0.0582066476, 0.7608225346, -0.6617177129, -0.6448100805, -1.190487504, -0.0358254015, -0.6306011081, 0.9660590887, -0.3101180494, 0.0457041264, 0.0232781824, 0.1641839147, 0.0749432221, -0.3027558327, -0.9044179916, -0.396617353, 0.1677335054, 0.518558979, 1.1226922274, 0.4792281985, 0.7541734576, 0.2114061415, 0.0186786763, 0.3015447557, -0.3557724655, 0.1850766987, 0.1789752394, -0.0948261395, -0.718619287, -0.1769017428, 0.6675383449, 0.4882606864, 0.1088884771, 0.0608982481, -0.3033505976, 0.3956947625, -0.3817594349, 0.1842216104, -0.4214428663, -0.0004334166, -0.45040223, 0.001891718, -0.2284455299, -0.0731233507, -0.0763971508, -0.8641647696, -0.0196644869, 0.2035748214, 0.8103320003, 0.7112528086, -0.8640111685, -0.1799622625, -0.9034102559, 0.4552850425, -0.8928758502, 0.5920541286, 0.6008957028, 0.3581888378, -0.2231729925, -1.0156229734, -0.6162831783, 0.1432880312, 0.1166208088, 0.3664611578, 0.2017486244, 0.2461249232, 0.1171085089, 0.4821772873, -0.4251963198, 0.3244048357, -0.1997469217, -0.3869747519, 0.6801953912, -0.0966177508, 0.3989633322, 0.1313049495, -0.4486368597, -0.259802103, -0.4342800379, -0.2590375841, 0.0338629782, 0.3250288367, -0.3851338923, 0.5637962222, -0.1279368401, 0.6720349193, -0.4686574936, -0.31514889, 0.289080143, -0.3313766718, -0.2415654808, -0.0778020248, 0.7236568332, 0.5824081898, 0.2486771494, -0.0227287672, -0.4066505134, -0.263477385, -0.3387212753, -0.7123181224, -0.1908178777, 0.1408279538, -0.0424479246, 0.0944767222, -0.1794517338, -0.5154302716, -0.7231060266, -0.3426168561, 0.3838641047, -0.180225119, -0.2980568111, 0.2413410693, -0.0388777331, 0.1998662949, 0.5932811499, -0.9706246853, 0.4754061103, 0.6650425196, 0.7756327391, -0.1721953005, 0.0235542245, -0.3421963751, 0.4098968804, -0.2999936044, 0.492828846, -0.3843743503, -0.219274506, 0.2109620869, -0.1749922633, 0.1322330981, -0.30682832, 0.5480559468, -0.5643625855, 0.147254169, 0.0793151781, -0.4337252975, -0.1709764302, -0.0133975055, -0.4114528596, 1.277376771, 0.1597881764, -0.0976357237, 0.4175100625, -0.4430132508, -0.5088149309, -0.0015177258, 0.1557244807, -0.5760308504, 0.0119428299, 0.1390963048, 0.1535453498, -0.3520414829, -0.0515470542, 0.1196974143, 0.0253724698, 0.3916231394, -0.1490359455, 0.1163667664, 0.2065208703, -0.391836226, 0.1266730875, -0.5183317065, -0.1000737399, -0.112047039, -0.0356164612, -0.346707046, -0.1200026572, 0.3798577189, 0.4914818108, 0.4644795954, -0.3333443105, 0.0817087367, -0.4865347147, 0.0915052071, 0.4536063969, -0.0274512228, 0.4674182832, 0.3258008361, 0.3531561196, 0.0359870717, 0.5279347897, 0.0802140832, -0.9657440782, -0.8992853761, 0.014599205, 0.0050430028, 0.6497846842, -0.6982257962, 0.0301128048, -0.1777654439, -0.1705362201, -0.5142665505, 0.5270708203, 0.6763114333, 0.4850829244, 0.7408846021, -0.4534131885, -0.455294162, -0.773970902, 0.0206587445, -0.1770900637, -0.0300615542, 0.0490779467, 0.3261706829, -0.2364678979, 0.5117800832, -0.4478510022, -0.5906943083, 0.0599952675, 0.0647035912, 0.1422644556, 0.1553360671, 0.2996988893, -1.2078819275, -0.6791402102, 0.0766382664, -0.4986847043, -0.3423559964, -0.1266199797, -0.0668464303, 0.2984883487, 0.8302028775, -0.150753662, 0.4267260432, 0.9703025818, -0.6587739587, 0.1694804579, -0.1633424014, 0.2586578131, -0.9492798448, -0.2971566021, -0.0879284367, -0.4431905746, -0.8365195394, -0.2385441065, -0.0502914526, 0.1497123837, -0.5627361536, 0.6730855107, -0.5774477124, -0.2808659673, -0.6127300858, 0.5683237314, -0.1493835002, 0.0218775105, 0.2014438808, 0.8789217472, 0.6538359523, -0.839057982, 0.3916311562, 0.5688562989, -0.134402886, 0.3022195697, -0.3070020378, -0.0069448589, 0.0044125374, 0.0908394679, -1.2151451111, -0.3576054871, 0.6994817257, -0.3830372691, 0.5906148553, 0.0000713465, -0.4876641929, -0.2538898885, 0.0921517611, 0.3034037352, 0.7838980556, -0.350820601, 0.3623833656, 0.5066649914, -0.2825791538, -0.2846293151, -0.9239494801, 0.5864224434, -0.0766825229, -0.6489057541, 0.5399883389, 0.038507048, -0.2832281291, -0.2700688839, -0.1915482283, -0.0716126338, 0.0594219528, 0.2932566404, -0.0756233707, 0.0458264872, 0.1398517787, 0.0804956481, -0.3410511613, 0.0216100868, -0.3523447812, 0.2267964035, 0.0920747519, -0.165994972, -0.3480601609, 0.2055220902, 0.3171993494, 0.0769046694, 0.7349107265, 0.6917552352, -0.2318283767, -0.0424702466, -0.3085521162, -0.2686716318, -0.4936731458, 0.4039927721, -0.4131779969, -0.7648557425, 0.4402927458, -0.3515226841, 0.0175208412, 0.3395362496, 0.4329888225, -0.1595623791, 0.9436150789, 0.6345552206, 0.4670226276, 0.6412386894, 0.0722499415, 0.2148353308, -0.8310360909, -0.5211694837, -0.1683087349, -0.1757369339, -0.3690321147, -0.7486698031, 0.4392879605, 0.2139328867, -0.0340953432, 0.4757064581, -0.3568888903, 0.0936633721, 0.279725194, -0.042350553, 0.4590745866, 0.1317147911, 0.2112931609, -0.2691006064, -0.1617785245, -0.5367695093, 0.8900148273, 0.502900064, 0.4813248515, 0.61452806, 0.3279363513, 0.3960302472, 0.3965851665, -0.7422139049, 0.681861043, -0.3913993537, -0.5870788097, -0.5326334834, -0.1508985013, -0.6323837638, 0.18218714, -0.3329947591, -0.6106707454, -0.2131617516, 0.3382029831, 0.3577142358, 0.0410658307, -0.5456796885, 0.7448951006, -0.528167069, -0.2956157327, 0.059022665, -0.9265460968, 0.2960588336, -0.1936981976, 0.5925893188, -0.3197640181, -0.6086500287, 0.7159235477, -0.5702953339, 0.8678103685, -0.1284438521, -0.6546533704, 0.1580519974, -0.1067263186, 0.5639676452, -0.0941029862, 0.0904201418, 0.0827678517, -0.3068724573, -0.3494682908, -0.630548954, 0.3651220202, -0.633330524, -0.5037641525, -0.3902411461, -0.4698747993, -0.4307067692, 0.2297398001, 0.203908965, 0.0878049806, -0.0856317878, -0.6095442176, 0.6083746552, 0.0598075353, 0.3790752888, 0.6262738109, -0.5678592324, -0.6360176802, 0.8328752518, -0.1236994565, 0.5357028246, 0.4420728981, -0.1042013839, -0.5824677944, -0.8742421269, -0.4218910635, 0.4825705588, -0.8608451486, -0.0633654743, -0.2596459687, 0.0118750278, -0.8825446367, -0.0827964917, -0.4332113266, -0.7654914856, -0.078914009, -0.1742923111, 0.7088814974, 0.7052425742, -0.1290590614, 0.8938078284, -0.4809612334, 0.5083918571, 0.108032234, 0.3332199454, -0.587960422, -0.8541632891, -0.3912680149, 0.0160526242, -0.1171756834, -0.8366966248, 0.2844008207, 0.5859190226, 0.3064441681, 0.388373524, -0.0839500427, 0.5724352002, -0.3222691119, 0.8652798533, 0.4525831938, -0.9052634835, 0.5670526028, -0.2727961242, 0.4052501023, 0.4556351602, 0.2543777227, -0.8489254713, -0.4910631776, -0.339433223, -1.3186049461, 0.5833611488, 0.4415366948, -0.0567951985, 0.2252705693, 0.4881085157, -0.1522283107, 0.1275885552, -0.6044358015, -0.6256553531, -0.2605577409, -0.1944842339, -0.5036081672, -0.2774614692, -0.15680857, -0.0591527112, 0.9807898998, -0.031988319, -0.0538153574, 0.1075902432, -0.1934817433, -0.0668707266, 0.1768082529, 0.8884788156, 0.1279144287, -0.1404028535, 0.307667762, 0.1856923103, -0.7837632895, 0.1300892085, 0.0794888139, -0.5012587905, 0.0663722605, 0.2916371524, 1.0110551119, 0.3098618388, -0.4604511857, 0.4137548208, 0.2118852437, -0.1693530679, -0.6279534698, -0.1443948448, -0.0520767048, -0.0150030106, 0.2813358605, -0.0893170908, 0.3665128052, -0.4097421169, 0.276832521, 0.1160714328, -0.6310001016, -0.259606868, 0.9990302324, 0.3460638821, -0.2527157068, 0.3989675939, 0.0802465528, -0.5014147162, 0.4438912272, 0.6544555426, 0.7920197845, -0.4519793689, 0.2590357065, 0.3250916302, 0.3445607722, -0.1554599553, 0.241646111, -0.0508157685, -0.455340296, -0.4991845787, -0.6463612914, -0.6589032412, -0.1615589112, -0.4251399934, 0.3057069182, -0.1537483335, -0.4645153284, -0.2975422442, -0.2813464701, -0.2970257103, 0.7170724869, 0.8230268359, 0.946087122, -1.1807368994, 0.7198505998, 0.7704129219, -0.3204699159, -0.3558458984, -0.1833827794, 0.2320290357, -0.7665761113, 0.5955080986, -0.0730643347, -0.4505155087, 0.3235395849, -0.3886700571, -1.1382217407, 0.8272222877, 0.0517777465, -0.3612385392, 0.0446837731, 0.6348980069, 0.5445372462, -0.2718515098, 0.2521166205, 0.7288019657, 0.9825177193, 0.6004145145, -1.0358766317, 0.0905034915, -0.214359507, 0.1252999306, 0.3700418174, -0.5016484261, 0.2576293945, -0.2198307663, -0.338321656, 0.1313117594, 1.0471451283, -0.1780988872, 0.6450815797, 0.1805730164, 0.3976618648, 0.6207770109, -0.4558277428, 0.963031292, -0.1386495829, 0.0842853189, 1.1168451309, 0.0032996163, 0.7486851215, 0.764441371, -0.1342084408, 0.3421987295, 0.7153649926, 0.1145704016, 0.6304963231, 0.1845512539, -0.4680531919, -0.5093683004, -0.345843643, -0.3135227859, 0.2364622504, 0.8308905363, -0.2626017034, -0.1648142189, 0.2819305658, 0.2669714391, 0.4807727039, -0.4192478657, 0.8316863775, 0.4523744583, -0.5572286844, 0.5492194891, 0.109582141, 0.6153439283, -0.7952193022, 0.0133174723, -0.097787641, 0.1104385331, -0.4386795461, -0.9324584603, 0.2682497501, -0.3395168185, 0.1934693158, -0.557251811, 0.2952056229, -0.6840413809, -0.3208264709, 0.4707836807, 0.1040975973, 0.6480435133, 0.1620636135, -0.6634388566, 0.2445970774, -0.1063483804, -0.3261136115, 0.1095922813, 0.2191966623, -0.2245547473, 0.6786473989, 0.4312006533, 0.1086082831, 0.2777761221, 0.3798328936, 0.5520691276, -0.5280785561, -0.1741495281, -0.5367696285, 0.6165752411, -0.1635450721, -0.4899631143, 1.0395624638, 0.789586544, 0.576099515, -0.0949876979, 0.7558584213, -0.0408711173, 0.2098389119, -0.8843514919, 0.3000315428, -0.5223109722, 0.1169827133, -0.3682568669, -0.8791218996, -0.750010848, 0.2033353448, -0.3875601292, -0.0171894934, 0.6759349704, 0.7618948817, 0.1570784301, -0.3211326003, 0.5126344562, 0.2678771615, 0.3858733475, 0.5400703549, 0.3448508382, -1.0897605419, 0.6351824999, -0.0382129326, -0.2877926826, -0.3644743562, -0.8233625293, -0.5858024359, -0.920316875, -0.8151211739, -0.514549911, 0.1161115766, 0.2930978239, 0.6330525279, -0.8030623794, -0.2263650894, -0.1286234111, -0.0579996854, -0.264808625, -0.1489891261, 0.359975636, -0.1388450861, -0.9169045091, 0.6144737601, 0.244048357, 0.6841391325, -0.0304780677, -0.4589609206, -0.0259143598, 0.1370559037, 0.5629836321, 0.4727136195, -0.7502994537, -0.2210202962, -0.189805299, -0.3422170579, -0.0923467427, 0.5265587568, -0.4301075637, 0.4120399654, 0.362085849, 0.0476241931, 1.0312571526, 0.2121075243, 0.5440683961, -0.7829341888, 0.268204987, -0.0826311931, 0.0394765325, 0.7064974308, -0.2114704102, 0.6723737121, 0.1265540868, -0.3491077423, -0.5282782316, 0.5497503877, -1.3014661074, -0.1312816143, 1.3344079256, 0.2574861646, -0.173530072, -0.2960394323, -0.1182632446, 0.3861915171, -0.267773211, 0.4467808306, 0.5436435342, -0.2578819096, -0.5202860236, -0.6677020788, 0.9515997767, 0.316906482, -0.597695291, 0.0148356939, 0.4732564092, 0.092150338, 0.1509784609, 0.7730855346, -0.1348583698, 0.2235156596, -0.0180657115, 0.2576394379, -0.2323904037, -0.2827398479, -0.154087007, -0.2514122128, 0.3733570278, 0.0304768197 ]
http://arxiv.org/abs/2407.01393v1
http://arxiv.org/pdf/2407.01393v1
POLygraph: Polish Fake News Dataset
2024-07-01T15:45:21
2024-07-01T15:45:21
Daniel Dzienisiewicz, Filip Graliński, Piotr Jabłoński, Marek Kubis, Paweł Skórzewski, Piotr Wierzchoń
cs.CL
cs.CL
This paper presents the POLygraph dataset, a unique resource for fake news detection in Polish. The dataset, created by an interdisciplinary team, is composed of two parts: the "fake-or-not" dataset with 11,360 pairs of news articles (identified by their URLs) and corresponding labels, and the "fake-they-say" dataset with 5,082 news articles (identified by their URLs) and tweets commenting on them. Unlike existing datasets, POLygraph encompasses a variety of approaches from source literature, providing a comprehensive resource for fake news detection. The data was collected through manual annotation by expert and non-expert annotators. The project also developed a software tool that uses advanced machine learning techniques to analyze the data and determine content authenticity. The tool and dataset are expected to benefit various entities, from public sector institutions to publishers and fact-checking organizations. Further dataset exploration will foster fake news detection and potentially stimulate the implementation of similar models in other languages. The paper focuses on the creation and composition of the dataset, so it does not include a detailed evaluation of the software tool for content authenticity analysis, which is planned at a later stage of the project.
[ -0.2598391771, -0.98430264, 0.7033452988, 0.308149606, -0.4788782597, 0.4542198181, 0.0324053764, -0.5240340829, 0.5774469972, 0.6341709495, -0.4808016717, -0.737367034, -0.6027024388, 0.1382167786, -0.7084664702, 0.9524176121, -0.0402204208, 0.2920295596, -0.1718102843, 0.0280801281, -0.0195028558, -0.4079396129, -0.012262593, -0.1516041607, 0.1956950575, 0.3218492866, 0.5901654363, 0.4122281969, 0.2723100483, 0.1635927558, 0.269315511, 0.5397013426, -0.5483021736, -0.4093000591, -0.2752723098, -0.140181005, -0.2898175716, 0.1924535036, 0.5863605142, 0.406206578, 0.1028338596, 0.5602177978, -0.3672094345, 0.7649376988, -0.4701671302, 0.3544595838, -0.5187029243, 0.1171907336, -0.8087643981, 0.1830714941, -0.5940495729, -0.5453876257, -0.4483757913, -0.760825336, 0.2304021865, 0.1899537593, 0.9603694081, -0.2694686949, -0.3930945396, -0.2763357162, -0.7614759207, 0.5440570712, -0.4326759875, 0.1604913622, 0.2571401894, 0.3646605015, -0.2013784349, -0.7450526357, -0.8936288357, 0.2248580903, 0.0540186428, 0.2138647139, -0.1654509306, -0.5553207397, 0.1073482633, 0.530033946, -0.7480775118, -0.2005498409, -0.6278907657, -0.6067079306, 0.7798300385, 0.1161043122, 0.6257672906, -0.2335454673, -0.3019364178, 0.0262398664, -0.5973440409, -0.209311828, 1.0318818092, 0.3543751538, -0.2111833692, 0.5788775682, -0.5615988374, 0.8285898566, -0.3124733865, -0.2903609276, 0.9276173115, -0.5015851855, 0.0001786166, 0.2501320541, 1.0337074995, 0.2150043994, 0.4522084594, -0.0012160983, -0.1316945702, 0.295740515, 0.2455916703, -0.1256484091, -0.3237012923, 0.1331276149, -0.6897894144, -0.783912003, 0.8833397031, -0.5684078336, -0.3865937293, -0.2676925063, 0.3819990158, -0.3039309084, -0.5563006401, 0.3718164265, -0.3168920577, -0.1658382565, 0.2411136925, -0.1324865073, 0.4042753875, 0.5578052402, 0.6286935806, -0.0783327073, -0.1713980585, -0.3019399643, -0.0475766324, -0.6097537279, 0.8863071203, -0.3663724363, 0.1320803016, -0.0515821911, 0.2777697146, 0.2851717174, -0.2983179688, 0.7333445549, -0.5658712387, 0.5439524651, -0.3168604374, -0.5904091001, -0.3539629877, 0.1451081932, -1.0758466721, 1.2571799755, 0.2964504659, -0.9836514592, 0.4244771004, -0.3943859637, -0.5306246877, 0.2965538502, 0.0775460154, -0.5030396581, 0.104627654, 0.2141250968, -0.1094418168, 0.0510739721, 0.1760741472, -0.2628054023, -0.2847478092, 0.1759039611, -0.2412300557, 1.2760829926, -0.0319622457, -0.1918512136, -0.2325083464, -0.8638398647, -0.1093346104, 0.4220624864, -0.0723192245, -0.2694302201, -0.0006147198, 0.2837203741, 0.5355521441, 0.469882071, -1.2016479969, 0.1543671191, -0.1040530354, -0.1539760828, 0.2992663383, 0.1324715167, -0.1222289577, -0.4033440948, 0.3831794858, 0.0953702033, 0.5491556525, -0.013619056, -0.6646267176, -0.4518809617, 0.0297541656, 0.5451580882, 0.728320837, -0.8857391477, 0.401723057, -0.2832727432, -0.6286228299, -0.516710043, 0.0237308852, 0.2758452296, 0.6661217809, 0.2281105071, -0.0241834261, -0.7501826286, -1.036917448, -0.3896767795, -0.1679290682, 0.1889530122, 0.0439620502, 0.5865823627, 0.5477099419, 0.9190218449, -0.1764892638, -0.4858619273, -0.2423973531, 0.1786456704, 0.5980451703, 0.0825769007, 0.6955763102, -1.1991132498, -0.9555392265, -0.4239408374, -1.0207211971, -0.1599221379, -0.0285242498, 0.1739112884, 0.4209240377, 0.2466681451, -0.3278817236, 0.426240623, 0.8128783703, -0.5356129408, 0.9229460955, -0.0018613023, 0.2909277081, -0.779401958, -0.0719636232, -0.1456090361, -0.6220113039, -0.6023551226, -0.1249186769, 0.0438192375, -0.1359966099, -0.8216940761, 0.4021745622, -0.2699228823, -0.2471656948, -0.1059722006, 0.0139660882, 0.1875571012, -0.0393912308, -0.0158713516, 0.6922967434, 0.7016798258, 0.076338172, 0.9064117074, 0.3012138009, -0.769210875, 0.253933996, -0.4651138783, 0.2176121026, -0.1436897367, 0.4037292004, -0.769852221, -0.3409822285, 0.6768865585, -0.7148330212, -0.4483685791, -0.1745502353, -1.230913043, -0.6058334708, -0.2848225534, -0.0559267439, 0.4091563821, -0.3767355084, 0.3740616143, 0.549405396, 0.0597618632, -0.4413207471, -0.6054807901, 0.3149908781, 0.2437191755, -0.7704579234, 0.240544796, 0.146958068, -0.308680445, 0.5684982538, 0.1288002431, -0.2364761829, -0.2492331713, 0.1996190697, 0.310419023, -0.2267964184, 0.0377134345, -0.1742276996, 0.0437426306, -0.0901411921, -0.2339633852, 0.6233674884, -0.1816604733, -0.3487231135, -0.6971114278, 0.2650095522, 0.786119163, -0.1211299598, 1.0842175484, 0.7806978822, -0.3098196983, -0.2015607059, -0.3957393169, 0.2104675472, -0.3528758883, -0.107847251, -0.1109025329, -0.126697436, 0.5576147437, 0.1859290153, -0.3318884969, 0.5567384958, 0.6957315803, -0.0355440155, 0.8844060898, 0.3923675418, -0.3506014943, 0.2770969868, -0.117053397, 0.2120575458, -0.1034268513, -0.5191255212, -0.1216002926, -0.1597119272, -0.3879010379, -0.3119781017, 0.2835205197, -0.3379125893, 0.1641125232, 0.1975092888, -0.4145482481, 0.7219420671, 0.6134274006, 0.4338824451, 0.6262331009, 0.3254883289, 0.1342946142, 0.0300396923, -0.5841367245, -0.5943241119, 1.1210906506, 0.0492789261, 0.3307888508, 0.0571528748, 0.3765633404, 0.8309180737, -0.0102412524, -0.5122722983, 0.4638803899, -0.4694622159, -0.8473042846, -0.3699721992, -0.30303213, -0.4523161054, -0.0660062358, -0.4412732422, -0.2781514227, 0.1256088614, 0.0472999737, 0.07515385, 0.673743844, -0.411277324, 0.6439370513, -0.1223723143, -0.058236286, -0.2615762353, -0.4020037353, 0.2909204364, -0.3553647995, 0.5805204511, -0.44186759, 0.0063724378, 0.3699819744, -0.317610532, 0.7386549711, -0.277738899, 0.2812007964, 0.3271945417, 0.1707533598, 0.4826335907, -0.0363477953, -0.2699438334, 0.4052233994, -0.319780618, -0.6487768292, -0.1015360206, 0.3141098917, -0.4932378531, -0.0537537746, -0.5263789892, -0.5921289921, 0.0036463747, 0.6303519607, 0.4600681067, 0.6073539853, -0.3251572847, 0.1991350651, 0.5411834121, -0.1653429568, 0.1990863383, 0.7715980411, -0.2622294426, -0.2809231281, 1.0245207548, 0.2806687951, -0.0965834484, -0.0811512768, 0.062109556, -0.1086896062, -0.3843190968, -0.5058658123, 0.4032580554, -0.3173689544, -0.0756340921, -0.2524581552, -0.3395516574, -0.4272458255, 0.2615250647, -0.6436572075, -0.556581974, -0.0404575951, -0.035898298, 0.2323138118, 0.8817408085, -0.1768575758, 0.0204952788, -0.5149732232, 0.7286633253, -0.0723958984, 0.4451124966, -0.5968124866, -0.1740804315, -0.2354394197, 0.2070166916, 0.0016596509, -1.019299984, 0.3988460898, 0.00743401, 0.5033777356, 0.2124438584, 0.5056179166, -0.1532214433, -0.3650596142, 0.8885830641, -0.1304664463, -0.9120101929, 0.6604505777, -0.7915529013, -0.1317887306, 0.4823332131, 0.651245594, -0.297996819, -0.6344215274, -0.9184299111, -0.5393356681, 0.6128888726, 0.3423365057, 0.3059361875, 0.003097283, 0.0624139272, 0.2020613253, 0.3127763569, -0.9391277432, -0.3001470566, -0.2969030142, -0.3800862432, 0.4520085752, -0.4198420644, -0.2893138826, -0.1711734533, 0.9210557342, 0.085405387, -0.0221649949, 0.2013663501, -0.3605383933, -0.0606341846, -0.3175927997, 0.5878320336, 1.2900923491, -0.16466932, -0.0261160526, -0.2429521829, -0.5293455124, -0.0496678986, -0.3558239639, -0.4023723602, 0.6328696609, 0.4779230356, 0.5925530791, -0.2992630899, -0.6114708781, 1.045050025, 0.033196155, -0.3817124069, -1.057513833, -0.249980092, -0.1753561646, -0.0961941406, 0.5425935388, -0.28963992, 0.1693304777, -0.5360158086, 0.4890395701, -0.0293927677, -0.4429203272, -0.3824309111, 0.288867414, 0.0843755826, -0.3083722591, 0.9090285301, -0.2708628476, -0.6848802567, 0.6331266761, 0.5576556325, 0.083906211, -0.0205157436, 0.8362223506, 0.2115332931, 0.5579280257, -0.2538123429, 0.4155406356, 0.4289751053, -1.1116091013, -0.4584419727, -0.3228644729, -0.2232910693, 0.4084239006, -0.6835832, 0.4745176136, -0.3751392365, 0.000313715, 0.0271891113, 0.107702598, -0.115979746, 0.0684886649, 0.4537987709, 1.2206053734, -1.6794567108, 0.9190080762, 0.6471129656, -0.3536320329, -0.3741217852, -0.1472990811, 0.4419643879, -0.7854540944, 0.5175530314, -0.1588069201, 0.0548936762, -0.244470045, -0.6367071271, -0.6083022952, 0.5491561294, 0.5434744358, -0.4095687568, 0.1120345891, 0.4875336587, 0.4144635797, -0.3115785718, -0.4685712457, 0.2557611167, 0.7178259492, -0.3221853971, -0.7308078408, -0.1598764062, -0.3359849453, -0.4614877105, 0.2435617447, -0.8330120444, 0.9058752656, 0.3830031455, -0.0566381253, -0.2021919191, 0.350202769, 0.0592413247, 0.4225384593, 0.5850226283, 0.6366083622, 0.6071050167, -0.1619357467, 1.1326960325, -0.4011335671, 0.6631820798, 1.0498139858, 0.0696456283, 0.3214422464, 0.2123741359, 0.0449082665, 1.0257260799, 0.5507925749, -0.7012751102, 0.4355793297, -0.226875186, -0.2270142287, -0.4601410627, -0.3426935077, -0.0901302025, 0.5651495457, 0.3371656239, -0.476380378, -0.3986544013, 0.1840603799, 0.1240386814, 0.2693777084, -0.2670304179, 0.5280565023, -0.3283109665, 0.1186533347, -0.1024707779, -0.1304793209, 0.0476616099, -0.4114296138, -0.0790422782, -0.0437386148, -0.1983021945, -0.3964596987, -1.1452775002, 0.4479231536, -0.0536270887, -0.5048502088, -0.3501756489, 0.9581418037, -0.2976799607, -0.8461744785, 0.1840173453, 0.571087718, 0.3368088901, -0.2628029287, -0.8147013187, 0.2028867006, -0.1264706701, -0.1331924349, -0.0269981306, 0.3872237802, -0.1789938658, 0.4247128069, 0.8023397923, 0.7314376831, -0.0298462249, 0.0773700252, 0.5582326651, -0.187099874, -0.7116125226, -0.6151385903, 0.3457606435, -0.698043108, -0.1100762188, 1.0278348923, 1.0394722223, 0.8995094299, -0.1524196565, 0.8194628954, -0.3081146479, 0.8763812184, -0.4188060164, 0.8255872726, -0.2689644396, -0.087010704, -0.0982430428, -0.7879434228, -0.2945231497, 0.2233585566, -0.1757685095, -0.4421563447, 0.4611364305, 0.611371398, -0.3836073577, -0.1220723689, 0.2781496942, 0.2691262066, -0.0927138552, 0.1187679097, 0.7257714868, -0.5346053839, 0.455022186, -0.507509172, -0.0142874541, -0.2743879855, -0.8425264955, -0.5996087193, -0.5662895441, -0.3540169895, -0.5619172454, 0.1589270085, 0.4405969977, 0.9131309986, -0.9025061727, 0.0469983071, 0.0474856012, 0.3448488116, -0.0421271585, -0.3301811218, 0.3817948699, -0.0345093161, -0.5308535099, 0.2943639755, 0.1382401884, -0.0417403542, -0.1861768663, 0.4305363894, -0.1291226, 0.1118889302, 0.3965153396, 0.2793480158, -0.4212873578, -0.403483063, -0.1924312413, 0.0216836054, 0.1347970963, 0.7885355353, -0.8840484619, 0.560639739, 0.6569673419, -0.0444647782, 0.6529121399, 0.2008633316, 0.4558179975, -1.0424804688, 0.6461315155, 0.1029509455, 0.2056073695, 0.2719272375, -0.5416093469, 0.4846933782, 0.7212118506, -0.0777497366, -0.9861694574, 0.0998160392, -0.9020946026, -0.4342984557, 0.824206233, -0.034760721, -0.4979795814, -0.631580472, 0.1443699449, 0.1305732727, -0.2722730637, 0.8713213205, 1.0160559416, -0.2376578599, 0.0919717699, -0.6983658075, 0.388032347, -0.2593917549, -0.888554275, -0.0908454359, 0.4857110679, 0.6784275174, 0.2817834914, 0.5611945391, -0.6647591591, 0.4828372002, 0.1675166935, 0.0935846493, -0.543168962, -0.6647301912, 0.0448233634, 0.2666097879, -0.6010374427, -0.1454712451 ]
http://arxiv.org/abs/2407.01384v1
http://arxiv.org/pdf/2407.01384v1
Free-text Rationale Generation under Readability Level Control
2024-07-01T15:34:17
2024-07-01T15:34:17
Yi-Sheng Hsu, Nils Feldhus, Sherzod Hakimov
cs.CL
cs.CL
Free-text rationales justify model decisions in natural language and thus become likable and accessible among approaches to explanation across many tasks. However, their effectiveness can be hindered by misinterpretation and hallucination. As a perturbation test, we investigate how large language models (LLMs) perform the task of natural language explanation (NLE) under the effects of readability level control, i.e., being prompted for a rationale targeting a specific expertise level, such as sixth grade or college. We find that explanations are adaptable to such instruction, but the requested readability is often misaligned with the measured text complexity according to traditional readability metrics. Furthermore, the quality assessment shows that LLMs' ratings of rationales across text complexity exhibit a similar pattern of preference as observed in natural language generation (NLG). Finally, our human evaluation suggests a generally satisfactory impression on rationales at all readability levels, with high-school-level readability being most commonly perceived and favored.
[ -0.2897711098, -0.8443561196, 0.7955358028, 0.3655143976, -0.3170769513, -0.3778845966, -0.1944546402, -0.3203756511, -0.1937488467, 0.4241169393, -0.577878952, -0.419426918, -0.4331754744, 0.4177920818, -0.4461484253, 0.9164834619, -0.2638244927, -0.2552446425, -0.4626321793, 0.1652298719, -0.461281687, -0.4968213141, -0.5199291706, -0.5437713265, 0.918720603, 0.3451218605, 0.9738847613, 0.8320509791, 0.2435801178, 0.242746219, -0.2250194252, -0.0509732179, -0.4701246917, 0.2643188536, -0.3834842145, -0.5721703768, -0.4438702166, 0.1656833142, 0.4903740883, 0.7589945197, 0.1413806081, -0.26345402, 0.0672014505, 0.7400000095, -0.5823712945, -0.1280721724, -0.6613889933, -0.1471988112, 0.1887138337, -0.2909513414, -0.8150449991, -0.2645199299, 0.4347120821, -0.7887536883, 0.270124048, 0.1716418415, 0.8575974703, 0.355353862, -0.5135674477, -0.5552595854, -0.7442443371, 0.9054008722, -0.8502191901, 0.3921076953, 0.4887899756, 0.0782073811, -0.2895558476, -0.3221059144, -0.7981188297, -0.4935040176, -0.1690009236, -0.0470146202, -0.2608044446, 0.2008112818, 0.49858585, 0.3893027604, -0.5422663093, 0.1324893832, -0.0697582811, -0.0822857916, 0.548699677, 0.0325987749, 0.4133287072, -0.4207519293, -0.311761409, -0.0128362039, -0.4499620497, 0.2032754272, 0.447399199, 0.2378599346, 0.0852472559, 0.7853249907, -0.2804190814, 0.5130252838, 0.111189276, -0.0567053594, -0.1485864669, -0.3790058494, -0.4276618659, -0.0545280166, 0.5800142884, 0.4485203028, 0.4487641454, -0.2198835611, -0.4550811648, 0.0942074805, 0.3455449939, -0.8572779894, 0.0617071129, 0.3868999183, -0.4395154119, -0.387473613, -0.1295211613, -0.6907618046, -0.5206032395, -0.713406682, 0.4569482505, -0.5150750279, -0.0592032559, 0.3985113502, -0.0168922506, 0.2059617341, 0.4966340363, -1.1385575533, 0.0115667107, 0.5186273456, 0.6398741007, -0.2612376511, -0.1518825144, -0.2915935516, 0.1404852569, -0.364148438, 0.8468715549, -0.6008355021, -0.2218812406, -0.1323781163, -0.1489785016, -0.3416357338, -0.4020824134, 0.5728647709, -0.4075546563, 0.4465669692, -0.1503993422, -0.6514487267, -0.3042120934, 0.1241777018, -0.5733785033, 0.5951555967, -0.0217641536, -0.8455517292, 0.6390177011, -0.6015831828, -0.2522729635, -0.1441765726, 0.0793201551, -0.0332476608, 0.2795521021, 0.3161408305, 0.3616413772, -0.2163829952, 0.1971935779, -0.1700790077, -0.1739751697, 0.4856279194, -0.7603549957, 0.6791687012, 0.076646179, -0.4806192815, 0.6013604999, -0.8731179237, 0.0406610034, 0.0145198731, -0.4641247392, -0.4697108269, 0.245184496, -0.2928081155, 0.1509293318, 0.1459782124, -0.2763334811, 0.0878211111, -0.5314202309, 0.3398420811, 0.6232569814, 0.1808663607, 0.6827335358, -0.4466302991, 0.5770015121, 0.007603412, 0.0686827078, -0.0824374035, -0.2815288305, -0.8090922832, -0.1567839831, -0.0367094688, 0.6238055825, -0.4719819427, 0.3086538017, 0.1748092026, -0.3947851062, -0.3108530045, 0.1218950078, 0.2961107194, 0.5527950525, 0.4201462269, 0.3327269256, -0.222556904, -0.8834357858, -0.5463238358, -0.0824818611, -0.3130837381, 0.0953370258, 0.4842837155, -0.3914253414, 0.7912552357, -0.1473537832, 0.2094120681, -0.3919138312, 0.1101816744, 0.2086905092, 0.3904911578, 0.3049965203, -0.5487893224, -0.0968329608, -0.1914490163, -0.5361553431, -0.3617385328, -0.3581750393, -0.3011053801, 0.46015504, 0.4503699243, -0.4588548541, 0.6018332839, 0.2910011113, -0.5816133618, 0.6318004131, -0.368542999, 0.0139050176, -0.7762950659, -0.0579041801, 0.1323307306, 0.0013970962, -0.7137411237, 0.0527724884, 0.0215508491, 0.1427687109, -0.0346403383, 0.48392874, -0.2833955288, 0.1353789717, -0.1984116733, 0.4182557464, 0.1487873048, 0.1651616693, -0.1232463866, 0.6696796417, 0.2187810242, -0.6542132497, -0.0344872065, 0.0086592901, -0.2661978304, 0.3119879067, -0.801218152, -0.0475903936, -0.4358080924, 0.2288349718, -1.0381829739, -0.5801166892, -0.0010649549, -0.3244925439, -0.1789892614, 0.2678169906, -0.2302146554, -0.1236614659, -0.1702169925, 0.1999566108, 0.1705547571, -0.5728735924, 0.6061865091, -0.1724933982, -0.0011119409, -0.507709384, -0.5180062056, -0.2639722526, -0.159665063, -0.7084950805, -0.0866841376, -0.4091061354, -0.5789974332, -0.3604443669, -0.3072141707, -0.1519616097, 0.1838787049, 0.2375879884, 0.4137533605, -0.3085764647, 0.1052004993, 0.3926167786, 0.0246400498, 0.2472611815, -0.0770851821, 0.4887983799, 0.0261396319, -0.0634263977, -0.6186493039, 0.2737947106, 0.691818893, -0.0333043672, 0.6983183026, 0.0730207488, -0.4901106656, -0.4349761009, -0.3214915991, -0.26195243, -0.4550583363, 0.0796115398, -0.4493606687, -0.9062681198, 0.4427075684, 0.392603308, 0.355969131, 0.6641306281, 0.5498670936, 0.0847912282, 1.3123476505, 0.3165232539, 0.5480211377, 0.3541953564, 0.1669744998, 0.3802793026, -0.3440224826, -0.2581698298, -0.7442269921, -0.2310554981, -0.5640015006, -0.2300361395, -0.2540120482, 0.7263535261, -0.2490260005, -0.0096099712, -0.5357472301, 0.8885216117, 0.2423655093, -0.2234762609, 0.5514361858, 0.0644101873, -0.3588265777, -0.2119190246, -0.4886719882, -0.9074967504, 0.7135133147, 0.5105856061, 0.5532537699, 0.1175114438, 0.637776792, -0.0870244503, 0.4993124008, -1.0358713865, 0.5335524082, -0.2763895392, -0.6824052334, -0.5575349331, -0.508226037, -0.872605443, 0.3579894006, -0.3974788785, -0.7741392255, 0.2540869117, 0.281193912, -0.2013118714, 0.1895804852, -0.8351240754, 0.797444582, -0.0271821767, -0.2561443448, -0.2813490629, -0.3747956157, 0.4396960437, -0.1148014143, 0.3474634886, -0.1198232695, -0.1110086292, 0.5262719393, -0.2969411016, 0.6328411102, -0.0443617441, -0.4776352644, 0.1350562274, 0.4260507226, 0.2532878518, 0.2795947492, -0.2756366134, -0.2305441499, -0.060954459, -0.4806348979, -0.7502471805, 0.6667230725, -0.7966917753, -0.7983612418, -0.2461476475, -0.9161205888, -0.2543086112, 0.4795169532, 0.2752874196, 0.441702038, 0.0992684439, 0.3182875216, 0.8454464674, -0.3557418883, 0.2566708326, 0.3383994997, -0.4993372262, -0.3938610554, 0.7795239091, 0.1117742732, 0.5194767714, 0.3171991706, 0.554499805, -0.4289439321, -0.6857514381, -0.3803678453, 0.2096094787, -0.5908936858, 0.3122005165, -0.4643009901, -0.1512767226, -0.2850092649, -0.5305221081, 0.2429133803, -0.5160528421, -0.614770174, -0.290997088, 0.0977300629, 1.0805466175, 0.1244453862, 0.3885172904, -0.5102312565, 0.2839812338, 0.2955085933, 0.4329019785, 0.1105012745, -0.6418226957, 0.1263707131, -0.0309261363, -0.3040163219, -0.9345320463, 0.1752018481, -0.238720715, 0.3546004295, 0.5685053468, 0.0913884938, 0.2340154946, -0.2251460701, 0.7217532992, 0.1917911172, -1.1459783316, 0.367834121, -0.6162030697, 0.4733532369, 0.4450262785, 0.4928155541, -0.3877269924, -0.6588847041, -0.4830842614, -0.8368875384, 0.4832651913, 0.127074942, 0.1673590988, -0.0957666039, 0.715749681, 0.2231820971, 0.0010156813, -0.8524321914, 0.1268985569, -0.4318640232, -0.1385108083, -0.0302303117, -0.4823773205, 0.0462485589, -0.0472400486, 0.4888876975, -0.0211655274, -0.0549441054, 0.4700356424, -0.0476367772, -0.3673104644, 0.7577208281, 1.0054010153, 0.9468878508, -0.2381477207, 0.2034416646, -0.0295070205, -0.3231987953, 0.1311386526, -0.1044760421, -0.5131058693, -0.0968833789, 0.5361283422, 0.9335570931, -0.0474741757, -0.5289682746, 0.3177819252, -0.0956648588, -0.7984678149, 0.0786921978, 0.385582298, 0.0992757604, 0.1701216996, 0.2792198062, -0.1020524725, -0.1765493602, -0.2537679672, 0.0371061973, 0.2543871999, -0.2742549181, -0.184385702, 0.8547090292, 0.0979292989, -0.3589259386, 0.4474446177, -0.0636061952, -0.2465874851, 0.5274683237, 0.7922251225, 0.7021938562, -0.0595191121, 0.210717082, 0.5353503227, 0.5919079781, -0.1168594137, 0.3489516079, 0.2297525406, -0.769310534, -0.7506716847, -0.637352109, -0.4677538574, 0.3513152897, -0.4526001215, 0.0006461678, -0.7774742842, 0.0088553689, 0.2570589483, -0.1735876948, -0.1844548732, 0.5193698406, -0.1737156361, 1.0601648092, -0.5644420981, 0.5104579926, 0.4107833803, -0.5429288745, -1.0873562098, 0.2719844878, -0.1141518652, -0.3892475367, 0.5275502801, 0.3496334553, -0.1146805733, -0.0372130945, -0.6120231748, -0.6322963238, 0.8144478798, 0.3260177672, -0.7446644306, -0.3813766539, 0.0328265354, 0.6868689656, -0.2438111305, 0.1377955079, 0.7265810966, 0.7644284964, 0.0523721576, -0.6340808272, 0.1683437377, 0.0175215751, -0.088831827, 0.2941170037, -0.1704078615, 0.6775388718, -0.3937555254, -0.1361970752, 0.0078538992, 0.7675393224, 0.1810510457, 0.3935341537, 0.8648049235, 0.4316280782, 0.8793224096, -0.0500317551, 1.1822057962, -0.0086800735, 0.0087368386, 0.7825314403, 0.0030417661, 0.9049761295, 0.5816882849, 0.1176449358, 0.6093458533, 0.4441702664, 0.3241876364, 0.0112176798, 0.4517133534, -0.262938112, -0.4341290593, -0.052383393, 0.0318478458, 0.1972981095, 0.2483386099, -0.4206953645, -0.1064168513, -0.092037566, 0.0901338235, 0.2994711697, -0.4851763248, 0.6638498306, -0.0145810563, -0.8130694628, 0.8284783363, -0.0075735841, 0.446916908, -0.4623956084, 0.2193357348, -0.2715294361, 0.0980472639, -0.4309996068, -0.7647108436, 0.3834565282, 0.2102992088, -0.7277694941, -0.2789267898, 0.7127670646, -0.4007937312, -0.1651219577, 0.3112739325, 0.4579654634, 0.1003189608, 0.0984065384, -0.3551238477, -0.1936445385, 0.2927826941, -0.6049051881, 0.2939926088, 0.658112824, -0.2370912731, 0.5914216042, 0.8361154199, -0.0325008258, 0.1865623742, 0.2699151039, 0.5730113983, -0.5980583429, -0.2059775889, -0.7651045322, 0.4941446483, 0.0577515066, -0.5067474246, 0.6245913506, 0.3473311067, 0.7505369782, 0.0294416044, 0.7378789783, 0.3018973172, 0.5104441643, -0.5893015265, 0.6569398642, -0.6885446906, 0.1868965775, -0.1969573498, -1.0005197525, -0.5779950023, 0.6815940738, -0.6298689842, -0.0918866545, 0.9634325504, 0.611987412, 0.1893093288, 0.3881440461, 0.3537736237, 0.3080667257, 0.3108740151, 0.2681283057, 0.8288504481, 0.1853991747, 0.5298911333, -0.0689312965, -0.4083746374, -0.0040871385, -1.0197585821, -1.1005315781, -0.2082471251, 0.0027187571, -0.6525934935, -0.2228067964, 0.944943428, 0.0357220992, -0.7740420103, -0.1909942478, -0.4410417378, 0.3249562085, 0.1090571433, -0.2906935513, 0.093069233, -0.537969768, -0.6961618066, 0.3974665403, 0.1539904624, 0.1975442469, -0.2557111979, 0.0161831249, -0.0384358987, 0.6666734815, 0.6686788797, 0.0577920564, -0.8274117112, -0.4096571207, 0.249777779, -0.3978048563, -0.1079882085, 1.1400024891, -0.3313651383, 0.3295061588, 0.8788248301, 0.5793983936, -0.1325509846, 0.1099801287, 0.5633738637, -0.2718802392, -0.0634906739, 0.1577959806, 0.1581178308, 0.0388488472, -0.2825437784, 0.1850528121, 0.1703390926, -0.8359199762, -0.752813518, 0.1902866811, -0.9993112087, -0.4454087019, 1.272896409, 0.0312431399, -0.1642681062, -0.1219763234, -0.4255202711, 0.2403655052, -0.5201038122, 0.8072523475, 1.0326346159, -0.0853098705, -0.1558632553, -0.562830925, 0.568939209, 0.6431549191, -1.005112648, 0.5054636002, 0.7612687945, 0.1366412193, 0.0345451981, 0.3452430069, 0.0047184639, 0.1833814681, -0.2918663621, -0.1819916666, 0.136240989, -0.3938426077, -0.3252473772, 0.0984197706, 0.3117726445, 0.5275876522 ]
http://arxiv.org/abs/2407.01376v1
http://arxiv.org/pdf/2407.01376v1
Badllama 3: removing safety finetuning from Llama 3 in minutes
2024-07-01T15:29:45
2024-07-01T15:29:45
Dmitrii Volkov
cs.LG
cs.LG, cs.AI, cs.CL, cs.CR
We show that extensive LLM safety fine-tuning is easily subverted when an attacker has access to model weights. We evaluate three state-of-the-art fine-tuning methods-QLoRA, ReFT, and Ortho-and show how algorithmic advances enable constant jailbreaking performance with cuts in FLOPs and optimisation power. We strip safety fine-tuning from Llama 3 8B in one minute and Llama 3 70B in 30 minutes on a single GPU, and sketch ways to reduce this further.
[ -0.502818048, -1.066255331, 0.4977174103, 0.2764678299, -0.9217203259, 0.0717239901, 0.2090248913, -0.9518249631, -0.1256873012, 0.7544648647, -0.3905528188, -0.3308445215, -0.5200105906, -0.2159959078, -0.3869020939, 1.1272844076, -0.259344995, -0.1280726194, 0.563033998, 0.0037442483, -0.7703900933, -0.3729985058, -0.8801002502, -0.4390464723, 0.3551742435, 0.8036075234, 0.9535714388, 0.8789219856, 0.7303183675, 0.1870000362, -0.3101441264, 0.1227937043, -0.8335266709, -0.1774922609, -0.1032643467, -0.6310663223, -0.6457107067, 0.0068654013, 0.0928651989, -0.144547835, -0.2212706059, 0.3271240294, -0.2547528744, 0.8544282317, -1.1213316917, -0.0181795191, -0.7558826208, 0.0240134746, -0.6562459469, -0.2878278196, -0.2137456685, -0.7782271504, -0.4777568579, -0.7724912763, 0.1420702785, 0.1862378418, 0.9436896443, 0.6968414783, -0.0060204049, -0.0982899144, -0.6815593839, 0.6656680107, -0.5605296493, -0.2680227458, 0.7996833324, 0.2791008949, -0.2023694217, -0.3586814106, -0.4504941404, 0.1257543117, 0.2393339872, -0.187067166, -0.412637949, 0.3139801025, 0.4483355284, 0.3547291458, -0.1572788507, 0.658310473, -1.0329141617, -0.166300267, 0.8495749831, 0.2741833925, 0.1975107491, -0.0391422659, -0.2853405774, 0.0963158086, -1.5329482555, -0.1239457056, 0.6198254228, -0.0102887172, -0.1708756387, 0.4557563066, 0.0258219969, 0.7064334154, 0.018207673, -0.4182930887, 0.0726498067, -0.07998164, -0.4660743773, 0.1455942541, 0.5696886182, 0.8679156899, 0.2934168279, -0.1438549906, -0.0497338213, 0.1620229185, 0.4463837445, -0.9207943082, -0.3614277542, 0.260849297, -0.4197837114, -0.6088299155, -0.1510989666, -0.7148945332, -0.5639995933, 0.034591902, 0.5011083484, -0.4181632996, 0.0835468546, 0.4458917081, -0.006544977, 0.4672020078, 0.288710624, -0.9328576922, 0.3858307302, 0.9031245112, 0.8137554526, -0.0081877103, -0.1501916349, -0.6742538214, 0.2699263394, -0.5285125971, 0.4680604041, -0.0034164998, -0.5813723207, -0.4332655072, -0.2157147974, 0.2987571657, -0.8316479921, 0.3884753287, -0.7569257021, -0.5368438363, -0.2126471847, -0.1498929858, -0.6145871878, 0.0097247493, -0.7705016136, 0.5333890319, -0.1206376553, -0.4004715383, 0.4564467967, -0.6334017515, -0.7413238883, -0.1782324612, 0.4499495327, -0.7963754535, 0.230475083, 0.3832815886, 0.5453130603, -0.3564958274, -0.0150855556, -0.5099590421, -1.0259591341, -0.0624137744, -0.1308702379, 0.7589672804, 0.7455696464, -0.412800312, -0.1792084873, -0.7522246242, -0.1995368153, 0.0519261509, -0.189066112, -0.1894914806, 0.1008656025, -0.0095781237, 0.1355217546, 0.2139038146, -0.6463758349, 0.1826588213, -0.6514382958, 0.8411564827, 0.9798988104, 0.1426306218, 0.0883568749, -0.392293334, 0.2204454988, -0.0638688952, 0.5931992531, 0.4411576688, -0.3590739667, -0.8202277422, -0.2031313032, -0.1175191626, 0.4823902845, -0.4750471115, -0.0876319185, 0.3564548194, -0.7145106196, -0.5739803314, 0.7225682735, 0.7531490326, 0.188291356, 0.7330031395, -0.2135346085, -0.4920744896, -1.0973796844, -0.2956385612, -0.2230361253, 0.2148437202, -0.1194913834, 0.3625490367, -0.0596305504, 0.257892698, -0.5087789297, -0.321279496, -0.1605485231, -0.0950171798, 0.1693044752, 0.9122668505, 0.6820733547, -0.387820214, 0.1002597883, -0.1267959028, -0.7737418413, 0.0521686338, 0.0623785891, 0.2109967917, 0.1395097077, 0.8298201561, -0.5484541655, 0.642634213, 0.1994216293, -0.1598939896, 0.4391029775, -0.2684373856, 0.1222098842, -0.6289498806, -0.1917109638, -0.0436604507, -0.1729735732, -0.5910742879, 0.8180148602, 0.2601439953, -0.0831571594, -1.0188839436, 0.3639441133, -0.2263322026, 0.0605440512, -0.342279017, 0.0616060048, -0.2118033022, 0.3442217708, -0.5054857731, 0.9318110943, 0.2796410918, -0.696829021, 0.0622297861, -0.0161932018, -0.4375188053, 0.1372354031, -0.8351017833, 0.3093991876, 0.1048566848, 0.0472378954, -0.7183968425, -0.3827667236, 0.3712873459, 0.2418818474, 0.0856786072, -0.2033492029, -0.6339151859, -0.3677684069, -0.5638082623, 0.708440125, 0.4878504574, -0.7393780947, 0.0674994588, 0.5152017474, 0.2696065903, -0.4752312303, -0.6794376373, 0.0279187448, -0.7046994567, -0.3809729815, 0.5168372393, 0.0695653185, -0.5638225079, -0.5482232571, -0.2555759549, -0.1215186566, 0.8092464805, 0.6429156661, 0.2437847108, 0.2078257948, -0.2225821763, 0.1535499692, -0.3117825091, 0.0164326094, 0.4346554577, 0.4319092035, -0.5227655172, -0.3142662048, -0.9371520877, -0.1008019373, 0.6176478267, 0.0258062761, 0.3149302602, 0.3260245621, -0.4871307909, 0.2492048442, -0.7070060968, 0.1648477316, -0.5440137386, -0.0776819959, -0.3945102692, -0.8424895406, 0.6205894947, 0.1215242445, 0.216795668, 0.4558437467, 0.4582999945, -0.136818856, 0.7755778432, 0.7603533268, -0.3488947451, 0.4180215895, -0.2472203523, 0.2022360265, -0.4843280613, -0.2126451135, -0.5110815167, -0.5187844634, -0.5650572777, -0.2164267302, 0.1795732975, 0.6839552522, -0.5264132023, 0.5506997705, -0.3359376192, 1.1172809601, 0.264479965, 0.6168774962, 0.1878827065, -0.5187118649, 0.4084071219, 0.2537991405, -0.299625814, -0.4311367273, 1.2787363529, 0.4458661079, 1.0904560089, 0.2291784734, 0.846132338, 0.1410673261, 0.3899819255, -0.4572635889, 0.5457092524, -0.0403701849, -0.6830008626, 0.0602698699, 0.0171128716, -0.5143507719, -0.0340277366, -0.0340862535, -0.8790455461, -0.0317644887, 0.3293422759, -0.9923083782, 0.6273511052, -0.9772633314, 0.4588136375, -0.0333000198, -0.5562791228, -0.7942185402, -0.544934094, 0.8414317966, -0.2350499034, 0.1598168015, -0.51565516, 0.1762898117, 0.8854088187, -0.7076130509, 0.7442467809, -0.3538265526, -0.2850433886, 0.3549772501, 0.3974308372, 0.4539521933, 0.437297821, 0.0238317624, 0.302790612, 0.0660774782, -0.5450944304, -0.275434345, 0.7388256788, -0.9281458855, -0.792298317, -0.2104201019, -0.3265742362, -0.111100778, -0.1615556031, 0.2661620378, 0.0853624418, 0.0336044133, -0.0184073802, 0.5084392428, -0.0879803225, 0.8580613136, 0.3507218361, -0.0716602653, -0.1934597343, 0.917429626, 0.0805971026, 0.0206359327, 0.0032515223, 0.0110179484, 0.0459211953, -1.0567634106, -0.2077744454, 0.0758966133, -0.3855289221, -0.5583350658, 0.0899957865, -0.1323652118, 0.2357209772, -0.5289908648, -0.6090578437, -0.6804015636, -0.6158751249, -0.3293025196, 0.5025089383, 1.0541391373, -0.4357940257, 0.9602705836, -0.4626707435, 0.6246395111, 0.315381676, 0.5503456593, -0.1323472261, -0.3421906233, -0.2204517573, -0.2322737426, -0.77110219, -0.6364462972, 0.0981329754, -0.1396080405, 0.2016011775, 0.842410624, -0.2169960141, 1.0798945427, -0.1680009067, 0.7608778477, 0.3974080682, -0.9550561309, 0.7967396379, -0.2827964127, 0.0277848411, 0.7358493209, 0.1289786696, 0.1932204962, -0.2882928252, -0.4654015303, -0.7345283628, 0.552713573, 0.2198454291, -0.2025458068, -0.0233972687, 0.6681525111, 0.2489130795, -0.1838958859, -0.6147043109, -0.2940380871, -0.201762557, 0.4118083119, -0.4261616766, -0.4116539657, -0.366404593, -0.447139591, 0.6861414313, 0.1834231168, -0.0852797925, -0.1590376645, -0.456294328, -0.1877978742, 0.3616668284, 1.0014368296, 0.8905989528, -0.6415379643, -0.0391453318, 0.5327903628, -0.6916766167, 0.5111391544, -0.0477225967, 0.0525990687, -0.6819621325, -0.0257086065, 0.4982155561, 0.3266859353, -0.4498037994, 0.1068534106, -0.1411188543, -0.2409891635, 0.180327341, 0.7289835215, -0.31667611, 0.2718815207, 0.2817130387, 0.3202123642, 0.0145346653, -0.3593518138, 0.043680694, 0.1532359123, -0.2467879653, -0.2237904221, 0.9242350459, 0.0985527039, -0.2336313576, 0.2945201099, 0.1206924915, -0.0797355101, 0.7236452699, 0.5215158463, 0.7160731554, -0.0959643498, -0.1741278023, 0.326902777, 0.7662475109, -0.2482293993, 0.1943840683, 0.1184465811, -0.4363284111, -0.3241175711, -0.4706043601, -0.5222263336, 0.5221695304, -0.8432387114, 0.197011888, -1.2092555761, -0.0842910558, -0.0816937312, 0.0326643512, -0.586794734, 0.1871832907, 0.0985999927, 1.0856152773, -0.5301195383, 0.7380186319, 0.1705956757, -0.2064177245, -0.8035934567, -0.337448597, 0.2482252866, -0.8580335379, 0.3432231545, 0.2730948329, -0.1706647724, -0.2600093186, -0.8238561749, -0.7316379547, 1.0304994583, 0.634122014, -0.9951192737, -0.0085850935, -0.296893239, 0.2813805938, 0.2692736089, -0.1860956997, 1.3513273001, 0.4349713326, -0.5158199072, -0.8090054989, 0.0272443704, -0.2121847272, -0.1896709204, 0.3494643569, -0.9070293903, 0.8224384189, -0.5928142667, -0.0765853822, 0.2271842808, 0.4864067435, 0.4446497262, 0.0551451258, 0.447670877, 0.9430165291, 0.9165309072, -0.2031476349, 0.8907216191, -0.4024704099, 0.1734329611, 0.9772980809, -0.0980851129, 0.7635517716, 0.8549173474, -0.0627639592, 0.1175041199, 0.9425153136, 0.1364756078, 0.8502124548, 0.3254268467, -0.1452918351, -0.303289026, 0.5576524734, -0.5187445879, 0.7017000914, 0.4035982192, 0.1279115379, -0.496737957, 0.1070585474, 0.5236803293, -0.3820332587, -0.7547057867, 0.6773466468, 0.121817112, -0.6430832148, 1.0002563, 0.4156919122, 0.626878798, -0.3260518014, 0.0731682256, -0.4017209113, 0.2576542795, -0.2759256363, -0.6759163737, 0.2803338468, 0.1656396091, 0.1246624589, -0.0850066319, 0.6600413918, 0.470744729, -0.0582160726, 0.3029783368, 0.0953704938, 0.0719527677, 0.0229769517, -0.4570134282, 0.2772502005, -0.0955666602, -0.2245289832, 0.4215933979, -0.2635908127, -0.095481135, 1.0748624802, 0.6531167626, -0.0571821071, -0.0046692444, -0.233982563, 1.156334281, -0.8570240736, -0.3712150753, -1.3081222773, -0.0368184932, 0.3056109548, -0.5750514269, 0.6016833782, 0.6216722727, 0.9317055345, 0.1342324317, 0.497321099, 0.0567297786, -0.060480088, -0.9683635235, 1.068911314, -0.4330556095, 0.5421901345, -0.4629397988, -0.5468974113, -0.4770107269, 0.5776189566, -0.3405160308, -0.5830439925, 0.3858382106, 0.9814891219, -0.0479417667, 0.2784710228, 0.1896045357, 0.2166451812, 0.4675984383, 0.8737277985, 0.755173862, -0.7032399178, 0.5140222311, -0.419433862, -0.0566679202, -0.380158931, -0.8648228645, -0.8483698964, 0.0169538539, -0.1052689925, -0.2990334928, 0.4996419549, 0.5836963654, 0.6035245657, -0.80259341, -0.2049985081, -0.0549668372, 0.4702942371, -0.2222762108, -0.0679527745, 0.2007395178, -0.1284237802, -0.1563810259, 0.727897644, 0.4444573522, 0.0663139746, -0.1019677818, -0.0898502916, -0.024847649, 0.0342294909, 0.5277924538, 0.5701918602, -0.745026648, -0.6248478293, -0.8882427812, -0.0678846613, 0.2355849594, 0.6220997572, -0.5550947189, 0.2033201903, 0.0263094027, 0.267706722, 0.8264536858, 0.038141802, 0.4851706028, -0.3021836281, 0.4982320964, -0.0345688649, 0.3687353134, -0.1710564494, -0.2714193463, 0.6643127203, -0.0895802304, -0.5038899183, -0.9616928697, 0.0542390868, -0.8206523061, -0.388255924, 0.8244128823, -0.0211521909, -0.454441309, -0.2978662252, -0.2529705465, -0.0301185697, -0.2089234889, 1.0374244452, 0.4572387636, -0.1602295786, 0.0638789386, -0.6777638793, 0.8307090998, 0.1351406127, -0.9720958471, -0.0070325718, 0.3280897141, 0.4677228928, -0.0501831286, 0.6487768292, -0.3359282613, 0.8610979915, -0.1884742379, -0.2315571755, -0.3175084591, -0.6190502644, -0.3665930033, 0.4971886277, 0.1207905039, -0.0837199688 ]
http://arxiv.org/abs/2407.01374v1
http://arxiv.org/pdf/2407.01374v1
Bridging the Gap: Transfer Learning from English PLMs to Malaysian English
2024-07-01T15:26:03
2024-07-01T15:26:03
Mohan Raj Chanthran, Lay-Ki Soon, Huey Fang Ong, Bhawani Selvaretnam
cs.CL
cs.CL
Malaysian English is a low resource creole language, where it carries the elements of Malay, Chinese, and Tamil languages, in addition to Standard English. Named Entity Recognition (NER) models underperform when capturing entities from Malaysian English text due to its distinctive morphosyntactic adaptations, semantic features and code-switching (mixing English and Malay). Considering these gaps, we introduce MENmBERT and MENBERT, a pre-trained language model with contextual understanding, specifically tailored for Malaysian English. We have fine-tuned MENmBERT and MENBERT using manually annotated entities and relations from the Malaysian English News Article (MEN) Dataset. This fine-tuning process allows the PLM to learn representations that capture the nuances of Malaysian English relevant for NER and RE tasks. MENmBERT achieved a 1.52\% and 26.27\% improvement on NER and RE tasks respectively compared to the bert-base-multilingual-cased model. Although the overall performance of NER does not have a significant improvement, our further analysis shows that there is a significant improvement when evaluated by the 12 entity labels. These findings suggest that pre-training language models on language-specific and geographically-focused corpora can be a promising approach for improving NER performance in low-resource settings. The dataset and code published in this paper provide valuable resources for NLP research work focusing on Malaysian English.
[ -0.5578404665, -0.1962966323, 0.2959144711, 0.4325766861, -0.2321200818, 0.3063871264, -0.285246104, -0.5361503959, 0.1836188436, 0.5387563109, -0.3896742463, -0.3169995546, -0.6934168339, 0.5315876603, -0.1047258899, 0.5784188509, -0.3294300437, -0.1109943464, -0.0517682992, -0.3454215527, -0.7105986476, -0.6319868565, -0.8648502827, -0.2607269287, 0.2984757721, 0.4108606577, 0.4208621085, 0.2797700763, 0.7146000862, 0.2009139657, 0.0268669967, 0.1047263891, -0.0779550448, -0.1141776666, -0.519321084, -0.3662561774, -0.3473240435, -0.0675843582, 0.4651395679, 0.9665992856, -0.2641866505, 0.1219415069, 0.3498311937, 0.7181465626, -0.5986745358, 0.3037662506, -0.5776042938, 0.0531798862, -0.2043188661, -0.2428572178, -0.4777185023, 0.0235722531, 0.5178670287, -0.6471744776, -0.008817601, -0.0235896558, 1.2308784723, 0.3464209735, -0.6343219876, -0.4644689858, -0.6462592483, 0.9090889096, -0.5708976388, 0.7227749228, 0.6059592366, 0.272703737, 0.1094021127, -0.6132000089, -0.282828629, -0.2146560997, -0.2638986707, 0.1599410325, -0.0906378925, -0.0887953937, -0.0115588838, 0.247087881, -0.2771429121, 0.0253760349, -0.4893819094, -0.2123475671, 0.6210504174, -0.0299832094, 0.2126048356, -0.4802543223, -0.2908523977, 0.0905379951, -0.8423104286, 0.1805476695, -0.0388553366, 0.3609544337, -0.2355316132, 0.4443312585, 0.1799259931, 0.722292006, 0.0858106166, -0.3523989618, 0.1117117852, -0.3545704186, -0.2681520581, 0.1670195162, 0.4051365554, 0.0837408081, 0.2732135653, -0.0550012067, -0.3363622129, -0.0316272639, -0.0636124238, -0.7725824118, -0.4817494452, -0.2090542763, -0.5844160318, 0.2084769011, 0.2454712242, -0.4442947209, -0.0544163883, -0.6292520761, 0.3037846982, -0.444283247, -0.5477766395, 0.309502542, 0.2806637883, 0.3273717463, 0.2557009757, -0.7593681216, 0.2641364932, 0.3610363305, 0.8133254051, -0.1714507341, -0.2785272002, -0.2447574139, 0.333411485, -0.1447031051, 0.6519136429, -0.684560895, -0.3729317188, -0.0547423959, 0.3698635399, -0.3610886931, -0.7957773209, 0.3983204365, -0.47998932, 0.6563007236, -0.1742448658, -0.6574205756, -0.3270873725, -0.0563745722, -0.8208668232, 0.7157846093, 0.3098236024, -0.7911575437, 0.3285375834, -0.8281432986, -0.7698444724, -0.077984564, -0.0968633965, -0.3255652189, 0.0520218872, 0.3774896562, 0.6649745107, -0.0564876273, 0.124814406, 0.2361590117, -0.1666784137, -0.0533674173, -0.2359599322, 0.7734398842, 0.2859853506, -0.1833249778, -0.1876092702, -0.8076629043, -0.3931266069, 0.0830344781, -0.7804560065, -0.6558596492, -0.2113626301, -0.0037047281, 0.2676612735, 0.1250018626, -0.1650031209, 0.0063255336, -0.1850833297, 0.5757642388, 0.4117266536, -0.0054937736, 0.9324464798, -0.1952482611, 0.7868124843, 0.2666221261, -0.3485703468, -0.3399452865, -0.3588553071, -0.8687149882, -0.1452724338, 0.7823578715, 0.6481382251, -0.9684369564, 0.3202449679, -0.1046074629, -0.1622220874, -0.9703707099, 0.0647668466, 0.0126873786, 0.5174649954, 0.6134539247, -0.5141856074, -0.9842085242, -0.8586354256, -0.0398034863, -0.074751541, -0.1234736368, 0.4981460869, 0.2842937112, -0.371943891, 0.9138768315, -0.1015961319, -0.5790180564, -0.5502229333, 0.1567182392, 0.2075956315, 0.4093999863, 0.4186495841, -0.6868122816, -0.7022240758, -0.0205168817, -0.4919126034, -0.3949331343, -0.2804568112, -0.0252078604, 0.4483875334, 0.78996557, -0.5063639283, 0.1414523721, 0.7144893408, -0.2994802892, 0.5404369235, -0.0322056971, 0.1170419976, -1.5203535557, -0.0341529176, -0.1471471339, -0.3698865771, -0.3419568241, -0.1840988547, 0.0988826975, -0.0320150778, -0.5674635768, 0.6335472465, -0.9245194793, -0.0205385257, -0.290243268, 0.0869801939, 0.0434629582, 0.1243285984, 0.371029675, 0.8912420869, 0.3628048599, -0.8335348368, -0.0941541716, 0.2470448166, -0.4077099562, 0.7641293406, -0.2972657681, 0.0105224596, -0.1885023564, 0.0549175367, -0.5301366448, -0.0427121259, 0.1230048016, -0.2459789664, 0.5381548405, -0.1887045801, 0.0081287585, -0.1583622247, 0.1062858403, 0.3155498803, 0.4069309235, -0.3819844425, 0.8066129684, 0.4710610807, -0.3355858028, -0.8327391744, -0.6162243485, 0.1399021745, -0.324202925, -0.3753383458, 0.6035346389, 0.3872463107, -0.2922023833, 0.3195922077, -0.1665269434, -0.3365174532, 0.2196947485, 0.1348893791, 0.1021016538, -0.6214018464, 0.022215236, 0.0683547184, -0.2915119529, 0.0007103103, -0.2225817442, 0.5752399564, -0.0919569209, -0.1965193897, -0.4312540293, 0.1874993742, 0.2598271668, -0.4662979543, 0.8140669465, 0.7117840052, -0.5869755745, 0.0694329441, -0.3474263549, -0.3819430172, -0.4097798467, 0.47421363, -0.8829897642, -1.1209570169, 0.3367667198, -0.2085204422, 0.0593253709, 0.5622609258, 0.3153770268, -0.215282172, 0.5014095902, 1.0400464535, -0.3652327359, 0.3435306847, -0.1205158532, 0.3169087172, -0.6482234001, -0.1337836385, -0.2860097587, -0.3276707828, -0.5626556873, -0.3733378351, -0.1655606329, 0.4763156772, 0.0746812969, 0.870192647, -0.0212705135, 0.6903637648, 0.3958799839, -0.2420909554, 0.4494504631, -0.0014709781, -0.140195787, -0.499664098, -0.7514099479, -0.71929425, 0.8872278333, 0.3798498511, 0.6462867856, 0.328456521, 0.7489806414, 0.2681081891, 0.4907132983, -0.3926742673, 0.5369554162, -0.2412831336, -0.2363928854, -0.0195734631, -0.3794482946, -1.3504436016, 0.3143722415, -0.1790499687, -0.2845393419, 0.0817249864, -0.2152576447, -0.4240526855, 0.2870865762, -0.7830226421, 0.5444651246, -0.0933335051, -0.1600332707, -0.2562933266, -0.509472847, 0.3438386619, -0.1543834358, 0.1004588455, -0.1479103267, -0.0574798696, 0.9367151856, -0.0182574634, 0.507381022, -0.144995153, -0.141787529, 0.2602466941, 0.1887955964, 0.1578348726, 0.0221022218, 0.2242797166, 0.3252648711, -0.1596429199, -0.5573166609, -0.1786729246, 0.3856749535, -0.7178995013, -0.4631718397, -0.3300076425, -0.4748288691, -0.0651275963, 0.007869279, 0.1691940278, -0.0623178072, 0.0053028516, 0.0636346638, 0.4420682788, -0.4638969004, 0.5851178169, 0.7990019917, -0.3465670645, -0.1156918034, 0.8099603057, 0.1511864215, 0.1772266626, 0.6854575276, -0.312936008, -0.3570220768, -0.259934485, -0.2772870958, 0.4542488754, -0.4952700138, -0.2438292652, -0.7132077813, -0.4730631709, -0.2440197766, -0.2589835525, -0.4470485151, -0.3965032697, -0.4730896652, -0.1682555974, -0.1264713854, 0.7283225656, -0.2159814537, 0.4704696238, -0.8628349304, -0.0496551804, 0.1988829672, 0.0587522089, -0.0862957612, -0.7795569897, -0.2754624784, -0.2844426632, -0.1132279932, -1.0747928619, 0.5363026261, 0.2502648532, 0.4802993238, 0.4399052262, -0.2263304591, 0.6889434457, -0.4317898452, 0.5124430656, -0.0652087927, -1.0730814934, 0.4486489594, 0.0395100079, 0.0611935705, 0.5846580267, 0.7948971987, -0.7602860928, -0.0222867951, -0.6467118263, -0.9793742895, 0.5675553083, 0.1129642203, -0.0795599148, 0.2039584219, 0.3150074184, 0.240415439, 0.293993026, -0.8268188834, -0.1798856854, 0.125520736, -0.1572159231, -0.0619135685, -0.3464103937, 0.5204552412, -0.3153596818, 0.7409106493, 0.1372796595, 0.1852387488, 0.1665057689, -0.8227924109, 0.1425975412, 0.4781407714, 0.5517587066, 0.7715159059, -0.3070264459, 0.3891482353, 0.2808475196, -0.4249539077, 0.332819134, 0.3204065263, 0.0501519814, 0.2448577583, 0.4001608491, 0.6093578935, 0.2731706202, -0.5803360939, 0.3695894778, -0.0885538757, -0.0645728484, -0.1793248355, -0.2542941868, 0.4490425885, 0.1662428826, 0.3034054637, 0.0908633471, -0.206744343, -0.2028804421, 0.5421112776, 0.0711870492, -0.2709561586, -0.5661537647, 0.7768089175, 0.5560768843, -0.3385155499, 0.6064597964, -0.5437788367, -0.6153709888, 0.3258953691, 0.7149611115, 0.5077883601, -0.6794449091, 0.2911313772, 0.5038358569, 0.6931676865, -0.0034864927, 0.31706357, 0.005898505, -0.840113461, -0.7056284547, -0.6010155678, -0.4429371953, 0.5158623457, -0.6035106778, 0.4128874838, -0.3732555807, 0.0639271438, -0.2419826239, 0.03921213, -0.8969448209, -0.1520069689, 0.3324111998, 1.0145665407, -1.0612124205, 0.7870228887, 0.9978170395, -0.518347919, -0.8401021957, -0.0760417879, -0.3307275474, -0.7813409567, 0.7183050513, 0.3496606052, 0.2073441893, 0.2939615548, -0.0115479929, -0.9653089643, 1.1458269358, 0.4695537388, -0.8786708713, 0.1826317012, 0.2841678858, 0.2934329212, -0.6153131127, 0.2844343185, 0.7807149887, 0.3972967565, -0.5203603506, -1.2364883423, -0.1764721721, 0.0549629144, -0.0908563733, 0.2064292133, -0.3866204023, 1.0311185122, -0.3371449709, -0.5938282013, -0.1215250343, 0.941806674, 0.2426037192, 0.2601352334, 0.4516429603, 0.6931509376, 0.9975011349, 0.0075139082, 0.6808721423, -0.3827147782, 0.2376534045, 1.1882594824, -0.5314723253, 1.0433381796, 0.5667415857, -0.4710420966, 0.7393499017, 0.8240013719, 0.263027817, 0.6516239047, 0.0842984095, -0.3757879436, 0.0193796214, -0.3840423524, -0.4247009456, 0.4263420403, 0.4109662473, -0.4141170382, -0.3468447924, 0.2405746877, 0.1744046807, 0.0032842036, -0.3748869896, 0.6935391426, 0.3667031229, -0.4640055597, 0.3822581172, 0.2846850455, 1.0544992685, -0.3137885332, -0.0049812174, -0.3871747851, 0.1390556842, -0.2808484137, -0.5863038301, 0.4135681689, -0.2620368898, -0.1465491056, -0.2475011349, 1.0599380732, -0.8013097048, -0.3001205027, 0.3996424079, 1.0450823307, 0.3355979323, -0.1389650404, -0.7238899469, -0.4503881037, 0.1695390642, 0.0312024243, 0.2959018946, 0.2876807451, -0.1251963973, 0.445009917, 0.5332735181, 0.2100052238, 0.0929692313, 0.1931924969, 0.2649777234, -0.7929999828, -0.482068181, -0.9425625205, 0.2678516507, 0.1136559099, -0.1114709601, 0.5566160679, 0.5716050863, 1.2681745291, -0.2579450607, 0.7966731191, 0.03699819, 0.5923786163, -0.5332858562, 0.7691041827, -0.298307389, 0.2865307927, -0.0097937556, -1.209618926, -0.1586709768, 0.8947898746, -0.2119123936, -0.1299153715, 0.7867475152, 0.6242609024, -0.3187866211, -0.1972763091, 0.2675499022, 0.1692434251, 0.2444318831, 0.8201779127, 1.0507701635, -0.4129394889, 0.458858937, -0.2903942764, 0.0091348886, -0.1178868413, -0.8879826069, -0.8587716222, -0.7830455899, -0.350211978, -0.309938848, 0.007316018, 1.1542887688, 0.7030806541, -0.9908713698, -0.30612728, 0.0324872062, 0.0955486074, -0.0260393005, -0.2976552248, 0.468627125, -0.2815828025, -0.6197442412, 0.3891904354, 0.370057404, 0.3056430817, -0.2344185412, -0.3106140792, -0.2994401455, -0.106765002, 0.8099986911, 0.2463396043, -0.6223626733, 0.1071579009, 0.0578433797, -0.1610522121, 0.1281777173, 0.903003931, -0.9949223399, -0.0731221288, 0.188192904, 1.2220816612, 0.1237406805, -0.1281372905, 0.488134712, -1.0083220005, 0.2280755043, 0.1260315776, 0.6332343817, 0.7220206261, -0.0035492077, 0.8063245416, 0.4239116311, -0.3480906188, -0.6668478251, 0.0766201839, -0.6774337888, -0.2093154639, 1.063559413, -0.1118465886, -0.0216173772, -0.4856939614, -0.2945309877, 0.1433808506, -0.3478160501, 0.6790184975, 0.86292696, -0.0661297292, -0.4888053536, -0.5836580992, 0.4736313224, 0.7744674683, -0.8867766261, -0.3042751253, 0.059763357, 0.2836785316, 0.116310291, 0.8608484864, 0.123478733, 0.1649568379, -0.405836761, 0.0772265568, 0.181202963, -0.3849626482, -0.3688091934, 0.0458494835, 0.1755900681, -0.2754696608 ]
http://arxiv.org/abs/2407.01370v1
http://arxiv.org/pdf/2407.01370v1
Summary of a Haystack: A Challenge to Long-Context LLMs and RAG Systems
2024-07-01T15:23:42
2024-07-01T15:23:42
Philippe Laban, Alexander R. Fabbri, Caiming Xiong, Chien-Sheng Wu
cs.CL
cs.CL
LLMs and RAG systems are now capable of handling millions of input tokens or more. However, evaluating the output quality of such systems on long-context tasks remains challenging, as tasks like Needle-in-a-Haystack lack complexity. In this work, we argue that summarization can play a central role in such evaluation. We design a procedure to synthesize Haystacks of documents, ensuring that specific \textit{insights} repeat across documents. The "Summary of a Haystack" (SummHay) task then requires a system to process the Haystack and generate, given a query, a summary that identifies the relevant insights and precisely cites the source documents. Since we have precise knowledge of what insights should appear in a haystack summary and what documents should be cited, we implement a highly reproducible automatic evaluation that can score summaries on two aspects - Coverage and Citation. We generate Haystacks in two domains (conversation, news), and perform a large-scale evaluation of 10 LLMs and corresponding 50 RAG systems. Our findings indicate that SummHay is an open challenge for current systems, as even systems provided with an Oracle signal of document relevance lag our estimate of human performance (56\%) by 10+ points on a Joint Score. Without a retriever, long-context LLMs like GPT-4o and Claude 3 Opus score below 20% on SummHay. We show SummHay can also be used to study enterprise RAG systems and position bias in long-context models. We hope future systems can equal and surpass human performance on SummHay.
[ -0.1939291656, -0.1423073113, 0.6519843936, 0.2034371346, -0.3997029066, 0.2066709697, -0.0020583952, -0.5289373398, 0.938282609, 0.5283136964, -0.5082817078, -0.39338094, -0.4509234726, 0.4189229906, -0.6968567967, 1.2904374599, -0.0574127957, -0.3110707998, -0.3388654888, -0.2128708959, -0.4728198349, -0.5038430095, -0.2868162692, -0.3000214398, 0.3228131831, 0.336992085, 0.3503777683, 0.1846091449, 0.6534566283, 0.34559533, -0.2682085633, 0.4528293312, -0.7661323547, 0.6568937302, -0.3301046491, -0.3088009059, -0.6055566669, -0.0898733437, 0.6779911518, 0.6664534211, -0.1894435883, 0.402559191, 0.3106566072, 0.8892964721, -0.7272708416, -0.2148614973, -0.5005228519, -0.2501835823, -0.1786051393, -0.2489726692, -0.3066368401, -0.2467327118, -0.0498626754, -0.5907427073, 0.096071206, 0.0197865739, 0.7863301039, 0.2470455915, -0.4710138738, -0.4443688691, -0.4688422382, 0.9150619507, -0.5000624061, -0.1441593468, 0.3668632507, 0.4432146847, -0.0826011524, -0.5962602496, -0.0864068195, 0.180735603, -0.4212377369, 0.632363379, 0.0004114635, -0.3545805216, -0.0871595591, 0.3779451251, -0.3681309521, -0.1283055097, -0.6237757802, -0.1850034297, 0.6410375237, 0.5933645368, -0.2796879709, -0.4524277747, -0.2880014479, -0.0086045982, -0.4683271348, -0.0145038888, 0.1419754922, 0.0360932574, 0.1450930387, 0.6250053644, -0.352786541, 0.4913255572, 0.0555382222, -0.1871927381, 0.0684200525, -0.5360327959, -0.2422226965, -0.0974752903, 0.4873978794, 0.6660986543, -0.2764647603, -0.1980200112, -0.634033978, -0.0988297239, 0.3827714026, -0.7447831035, 0.2876945734, 0.3644640744, -0.4128155708, -0.4266576171, 0.1782364994, -0.5883190632, -0.3906051815, -0.1454363614, 0.545521915, -0.1984003037, 0.0050429991, -0.1041609719, -0.5038912892, 0.414930433, 0.5626981258, -0.7739037871, 0.4661353827, 0.8936548233, 1.1843423843, -0.3573599756, -0.3756120205, -0.6143196225, 0.4663085043, -0.5617983937, 1.0195424557, -0.2451248318, -0.7235828042, -0.307495296, 0.0395097062, 0.1444424391, -0.6757725477, 0.3193069994, -0.4822642207, 0.3073928356, -0.3804114163, -0.6145048141, 0.0589976572, 0.1752247214, -0.6661689878, 0.7986832857, 0.3746620715, -0.8019868135, 0.2507839501, -0.6379023194, -0.5771682262, 0.0241997782, -0.0502864122, -0.1590554714, 0.3019903004, 0.0969544351, 0.4318177104, -0.3088337481, 0.1170490831, 0.0757012144, -0.8573176265, 0.2244732976, 0.1652115881, 0.7853649855, 0.0820130557, -0.2934859693, 0.2117380649, -0.5830243826, -0.0518644638, -0.135009706, -0.4566083848, -0.4841426015, -0.0873696133, -0.0619593374, -0.3095556796, 0.4243785441, -0.2097522169, -0.0867157876, -0.4478817284, 0.2389024794, 0.8382317424, 0.0442598127, 0.3664193153, -0.646109283, 0.4924383163, -0.2395027429, -0.1521414071, -0.7233787179, 0.0105941547, -0.6908072829, -0.313708961, 0.1741198748, 0.5129392147, -0.3882064521, 0.4669577181, -0.4005701542, -0.3592586517, -0.240334779, 0.0532471575, 0.3745009303, 0.4411838055, 0.272890538, -0.3681485951, -0.5974854231, -1.0944459438, -0.4116280675, -0.0071646892, -0.5634814501, 0.1743729562, 0.654866159, -0.0990515053, 0.8438735604, -0.4367542565, -0.5135563612, 0.0016135884, 0.1419520378, 0.5228472352, 0.1549674422, 0.2694557011, -0.5845632553, -0.1724500805, -0.0845413208, -0.9205514789, -0.1665445417, 0.0039709676, -0.2097340375, 0.3796740174, 0.5587883592, -0.4455039799, 0.2174650431, 0.3347783089, -0.3907711804, 0.7560875416, -0.034180101, 0.3374769986, -1.1770721674, 0.5137533545, -0.4799822867, -0.410513252, -0.1489345133, 0.2198875099, 0.0695099905, -0.0965837389, -0.1113967225, 0.4564817548, -0.4706204832, -0.4291475415, -0.3166908026, 0.3101882637, 0.3504757583, 0.2416042089, -0.3232012093, 0.9549506307, 0.0131336357, -0.6619393229, 0.3576388359, 0.0816721395, -0.4466352463, 0.786891222, -0.9151796103, -0.104278028, -0.1869024634, 0.5500969887, -0.9316576719, -0.5135123134, -0.2692420781, -0.5887610316, 0.2164084911, 0.2261219025, -0.3052273095, 0.0592041351, -0.7662604451, 0.126595661, 0.5626323223, -0.2223512083, 0.6610888243, 0.6417909265, -0.1422889233, -0.6169130802, -0.6109807491, 0.3024172783, -0.327794075, -0.5619090796, 0.3139963448, 0.2687396109, -0.3910407722, 0.1115956679, -0.3460403681, 0.1919977069, 0.2334492803, 0.2233343869, 0.1330870539, -0.0462912135, 0.291102469, 0.1422231495, -0.2863580287, 0.1573457718, -0.32910344, 0.0116838245, -0.3217844069, -0.2780006528, 0.1035139561, 0.7487487197, 0.5986528397, -0.0647250116, 0.3535659611, 0.3128823638, -0.3222186565, -0.065418005, -0.4991955459, -0.211663112, -0.4252799153, 0.398183912, -0.243207261, -0.7873907089, 0.5443603396, -0.1742033511, 0.4573099613, 0.8201978207, 0.6241963506, -0.5303404331, 0.5263255239, 0.6602514386, 0.0338734649, 0.1804317832, -0.2573674023, -0.2905915082, -1.0570876598, -0.0184091348, -0.416241765, -0.3538613617, -0.3190145195, -0.2996159196, 0.8215870261, 0.1044822335, 0.0763646066, 0.1329983175, -0.4299183488, 0.752532959, 0.5701189637, 0.0314554013, 0.4360795021, -0.140754059, -0.0212742053, 0.2250043005, -0.373311311, -0.732195437, 0.9031084776, -0.0330929011, 0.7659451962, 0.3867650926, 1.1639924049, 0.4058201611, 0.3864464164, -0.8616297841, 0.4981213212, -0.1445802301, -0.4181548655, -0.6837512255, -0.2737046778, -1.0546295643, 0.4488668144, 0.0038817353, -0.6170749068, -0.1101985574, 0.0452519096, -0.3587177694, -0.0699670091, -0.5251392722, 0.3655763566, 0.1568799466, -0.4690053165, -0.3938487768, -0.7262527943, 0.6471149921, -0.2403821498, 0.4598355889, 0.0377150662, -0.2989717722, 1.020644784, -0.556892693, 0.7055321932, 0.1448686421, -0.0855493695, 0.3633827269, 0.2257064432, 0.4840194583, -0.0699374601, -0.0897808, -0.0320638157, 0.3952543736, -0.4063096642, -0.5505275726, 0.5886920691, -0.3793288171, -0.6967231035, -0.4625480473, -0.3110625446, -0.1007014066, 0.3325877786, 0.2654221356, 0.4595606327, -0.2396116406, 0.3302368522, 0.3663486838, 0.035374444, 0.3297694325, 0.2726346254, -0.3208251595, -0.4656887054, 0.8905034661, 0.1044105217, 0.0773384944, 0.5198613405, 0.3096641004, -0.1742288321, -0.0986269042, -0.4302423894, 0.2581224144, -0.9273040295, -0.5067514181, -0.4614028633, -0.085861139, -0.2105899155, -0.2779717147, -0.2179347873, -0.5717550516, -0.1600119323, 0.1889925897, 0.1407260299, 1.0886099339, -0.1170326695, 0.0746264905, -0.8945732117, 0.2825368047, 0.3608626723, 0.3924784362, 0.1343612075, -0.5356430411, -0.6688175201, -0.1265787333, -0.3304663002, -0.9678529501, 0.0665799081, 0.0330417044, 0.3760339022, 0.0225844216, 0.0475757532, 0.6585487723, -0.4233161211, 0.7720369697, 0.0505486391, -0.9669736028, 0.5504176617, -0.4399424493, 0.5710248351, 0.6620128751, 0.0853869841, -0.5268288255, -0.6300677061, -0.3791450262, -1.0942169428, 0.5296928883, 0.2618623376, -0.2064765245, 0.0269371457, 0.1005751267, 0.0887230635, 0.1156608462, -0.1491880417, 0.15709804, -0.1683570296, -0.1116042212, -0.0012894657, -0.4069158137, -0.2190057188, 0.2060638815, 0.6067393422, -0.0472015217, -0.1032049134, 0.421174556, -0.3270185888, 0.1118337512, 0.2311571091, 0.7946301699, 1.1751451492, -0.4222933948, 0.152494967, 0.1800370663, -0.4113298357, 0.0457046516, -0.3927697837, -0.1864702106, 0.3029780984, 0.6693868041, 0.2623846829, 0.5505669117, -0.7551205754, 0.471044153, -0.1098142564, -0.1766198725, -0.405374229, -0.0200531613, 0.3025770485, 0.2449022382, 0.8561500907, -0.252289176, 0.4160262048, -0.3747569025, 0.1692107469, 0.4029155076, 0.1042625532, -0.1007108912, 0.3554998338, 0.3571438491, -0.2098559737, 0.1527760625, -0.1349892318, -0.4200900197, 0.6531787515, 0.3370968997, 0.7981108427, -0.1010063887, -0.1849897206, 0.4243334234, 0.3146136105, -0.0636145473, -0.0063357889, -0.3372065723, -0.0334113315, -0.5875541568, -0.7638477683, -0.6738655567, -0.0867466256, -0.7777374983, 0.3691018522, -0.0964190438, -0.0289526284, -0.0831147507, -0.0242193621, -0.3249430358, -0.1037159041, -0.4582473636, 0.6665413976, -0.5366482735, 0.1997861564, 0.5926668644, -0.0402450711, -0.3580927253, -0.168314904, -0.0287550651, -0.5654976964, 0.5401545167, 0.2310696393, -0.6260350347, -0.2633672059, -0.2838007212, -0.9873777628, 1.3791825771, 0.0319766812, -0.4656161964, -0.0212614033, -0.5627642274, 0.423836261, -0.1575481445, 0.2860303223, 0.4696779549, 0.3140540421, 0.1760204732, -1.1385771036, 0.1008202061, -0.1639152914, -0.2280595303, 0.3706844747, -0.6715072393, 0.8629358411, -0.360663265, -0.6953042746, 0.0441591255, 0.6278958321, 0.4059589207, 0.443916589, 0.3743378222, 0.2806455195, 0.8056700826, 0.3280614614, 0.9027702808, -0.074725233, 0.3875332177, 1.3295065165, -0.1259953231, 0.9358825088, 0.5977920294, -0.4265594184, 0.3371459246, 0.5200496316, 0.1878987849, 0.3076334, 0.3560319543, -0.0466682129, -0.0462268926, 0.0537788719, -0.3746654987, 0.547709465, 0.3707871437, -0.1097814292, -0.5943357944, -0.3874047399, -0.1690356582, 0.1100962386, -0.2482489794, 0.9810753465, 0.1620926708, -0.7465246916, 0.6736415625, 0.1086543128, 0.771404624, -0.5813938379, -0.1767107993, -0.5631765723, -0.095891133, -0.2980187237, -0.6950982809, 0.8015521169, 0.0584171563, -0.3512194455, -0.0842863098, 0.6901272535, -0.051144056, -0.5589035749, -0.020482799, 0.5608133078, 0.5413203239, 0.0689075291, 0.1163921729, 0.0047103981, -0.3062740564, -0.4172293544, 0.4564589858, 0.5327676535, -0.304002285, 0.4627951682, 0.5347211957, 0.0722661465, -0.344296068, -0.1545738727, 0.8464656472, -0.9244662523, -0.7914901376, -0.9886663556, 0.275824666, -0.2986850142, -0.2079098523, 0.6694123745, 0.6586583853, 0.5304734707, 0.1566350609, 0.7241754532, 0.0916067213, 0.8489359021, -0.5578702092, 0.8391305208, -0.7142619491, 0.3091330826, -0.1155560166, -0.6792557836, 0.1288358867, 0.4734656513, 0.3586095572, -0.1330765784, 0.846303165, 0.3607019186, -0.0269585084, -0.1094533056, 0.2857885361, 0.060898643, 0.2868493497, 0.6171911359, 0.718419373, -0.3811340332, 0.5497569442, -0.0071593421, -0.4300914109, -0.5294001102, -1.0294252634, -0.6844595075, -0.821854353, 0.2207687199, -0.3639748096, 0.0050345487, 0.4056760073, 0.5127549767, -0.5367218256, -0.5983008146, 0.3942403495, 0.4023478031, -0.1677782387, -0.2687173188, 0.5365404487, -0.5858988762, -0.3959340751, 0.2515788972, 0.5638679266, -0.1042792201, -0.3698272407, 0.1220631376, 0.1814814359, -0.0645725727, 0.8427273035, 0.0114307078, -0.7521434426, -0.1074886769, 0.1598940641, -0.1707357764, -0.3194161654, 0.9583168626, -0.9568862319, 0.1688731462, 0.3920226097, 0.714340508, 0.6410787106, 0.2734687924, 0.4745570719, -0.7574412227, -0.1648991704, 0.4240905046, 0.2446492314, 0.2803153396, -0.4026643932, 0.6982854605, -0.0946572721, -0.538836658, -0.9841687083, 0.1287504584, -0.8256101012, -0.4312519431, 0.919160068, 0.0023715543, -0.4925230145, 0.0235227067, -0.098066777, -0.0161638055, -0.3065381944, 0.9123610854, 0.8726639748, -0.2099851221, 0.3269064426, -0.4464158714, 0.2526447177, 0.3596666455, -0.7796168327, 0.1307334751, 0.5582796931, 0.1866837591, 0.3189185262, 0.9775874615, -0.1093674973, 0.4476077557, 0.0074234251, -0.2691667974, -0.1641976088, -0.1754049212, -0.3285834491, 0.0456656478, -0.139896065, -0.204752475 ]
http://arxiv.org/abs/2407.01360v1
http://arxiv.org/pdf/2407.01360v1
Nullpointer at ArAIEval Shared Task: Arabic Propagandist Technique Detection with Token-to-Word Mapping in Sequence Tagging
2024-07-01T15:15:24
2024-07-01T15:15:24
Abrar Abir, Kemal Oflazer
cs.CL
cs.CL
This paper investigates the optimization of propaganda technique detection in Arabic text, including tweets \& news paragraphs, from ArAIEval shared task 1. Our approach involves fine-tuning the AraBERT v2 model with a neural network classifier for sequence tagging. Experimental results show relying on the first token of the word for technique prediction produces the best performance. In addition, incorporating genre information as a feature further enhances the model's performance. Our system achieved a score of 25.41, placing us 4$^{th}$ on the leaderboard. Subsequent post-submission improvements further raised our score to 26.68.
[ -0.4672390521, -0.7403638959, 0.1277898252, 0.3446162343, -0.673478961, 0.2052171975, -0.0660956725, -0.4747639596, 0.3230426908, 0.4215269089, -0.0873386264, -0.9938379526, -1.2082928419, -0.0283026192, -0.717900157, 1.1969938278, -0.1353191137, -0.2148109376, 0.3536612093, -0.361561954, -0.4419973493, -0.3768937588, -0.8606824875, -0.0386667028, 0.5982564092, 0.7793360949, 0.8939317465, 0.6438325047, 0.4442870617, 0.2763675749, 0.0322790071, 0.3138851523, -0.1817375124, 0.1943457574, -0.2368515432, -0.3061923981, -0.0799624622, -0.021470014, 0.6115296483, 0.2450664043, 0.0629649013, 0.5006104708, -0.0824750364, 0.3347285986, -0.7140097022, -0.1485329419, -0.4990123212, -0.1714062691, -0.38092044, -0.3501942158, -0.2960651815, -0.5218148232, -0.1902837306, -0.427823633, 0.240139395, 0.3425712585, 0.7936846018, 0.3935807347, -0.6837618351, -0.3488625884, -0.7390720844, 0.797847867, -0.4140282571, -0.0642963573, 0.3867767751, 0.1019127816, -0.0383533351, -0.6587321758, -0.6577000022, -0.0729500428, 0.1452405602, -0.0152256312, -0.3139465153, -0.0682276189, -0.0114367707, 0.0899971649, -0.6393821239, 0.0368619896, -0.4357969165, -0.4558827877, 0.6725779772, -0.3387092948, 0.2389855683, -0.3419896662, -0.452241987, -0.0193669721, -0.5044698119, -0.2623520792, 0.3983882368, -0.028812686, 0.0369657949, 0.6441548467, -0.1026273742, 0.6734072566, -0.1022377461, -0.3760859966, 0.1359204948, -0.1480257958, 0.162166208, 0.3810118735, 0.5669530034, 0.4499568939, 0.247672841, 0.0212270189, -0.2472583801, 0.5672979355, 0.3531814516, -0.6767142415, -0.0521354079, -0.0140936393, -0.4068733752, -0.5467069745, -0.0131174596, -0.4579516947, -0.2862724662, 0.0907451063, 0.7351935506, -0.5050951242, -0.2562231123, -0.0263780057, -0.3554491401, 0.1456478089, 0.3955908418, -0.3716099262, 0.1953429282, 0.7542954683, 1.1969776154, -0.2625796199, -0.0929802507, -0.5449201465, 0.0186825544, -0.6246210337, 1.1480638981, -0.5238875151, -0.5107163191, 0.2691948116, -0.3885585964, 0.0426436812, -0.4488945007, 1.2154985666, -0.8803192377, -0.056723237, -0.1506413072, -0.7562294006, -0.5158210993, 0.2081291974, -0.7058173418, 1.1643499136, 0.1652010232, -0.8202406168, 0.4948085845, -0.7504321337, -0.518895328, 0.1060738787, -0.0462748706, -0.4867245257, -0.069461152, 0.0624424592, 0.2927584052, -0.0291111618, 0.1028613821, 0.2492205203, -0.8799254298, 0.1838690341, -0.3273276389, 0.303987205, 0.2877951264, -0.5814582705, 0.2445904315, -0.8333913684, -0.0727365911, -0.1605136693, -0.2574036419, -0.5064908862, -0.0230594017, 0.2656905055, 0.2836638391, -0.0782148466, -0.4427810609, 0.3365209699, -0.4981518686, -0.0730023086, 0.5744869709, 0.4143441319, 0.2626791596, -0.6408769488, 0.6712332964, 0.150591597, -0.1271625608, 0.0974899083, -0.7247219086, -0.8941637278, -0.1050769836, 0.4624083936, 0.7055966258, -0.9191759229, 0.2055068016, -0.1893464178, -0.6782824397, -0.5576011539, -0.078561984, 0.5542179346, 0.2747756541, 0.317397356, -0.3155141771, -0.5699926615, -0.968252182, -0.5946540833, -0.1184922457, 0.2599338889, -0.2482554615, 0.9190942049, 0.0994156823, 0.505748868, -0.3157043457, -0.3658521771, -0.1224998683, 0.8073017001, 0.149887234, 0.5637491941, 0.5205695033, -1.1853100061, -0.6152409315, -0.1984643489, -0.3745479882, -0.1113642231, 0.2061665058, -0.0735904947, 0.5748720765, 0.4503375888, -0.3656076491, 0.9080295563, 0.4400670528, -0.5510948896, 0.5366163254, 0.3028571606, 0.5410400629, -1.3496176004, 0.0842321143, 0.2119815797, -0.2954589725, -0.7809592485, 0.0659841076, -0.2002827823, 0.1210729629, -0.5860978961, 0.4989516139, -0.3433738351, 0.0757307187, -0.7268968821, 0.0156440455, -0.2201522887, 0.2388053387, -0.1067884937, 1.1726140976, 0.3660176694, -0.5044051409, 0.1088255197, 0.2856048942, -0.4620636106, 0.2593686581, -0.6006464958, 0.2759059072, -0.1755851805, 0.0781041235, -1.2306226492, -0.0564838052, 0.7239944339, -0.70141536, 0.1700989306, -0.2721720934, -0.6417410374, -0.0411761105, -0.3466784358, 0.6330798864, 0.5862092972, -0.2106867135, 0.2450332195, 0.3111112118, 0.0814443976, -0.8360378146, -0.3130648136, 0.167458266, -0.3637120724, -0.6353071332, 0.56536901, 0.2596065402, -0.2217056751, -0.033616256, -0.2657614052, 0.0574071407, 0.0799390078, 0.3662858009, 0.0789410621, -0.2384842336, 0.1422698796, 0.0708587244, -0.2839758396, 0.0346659273, -0.4347308278, 0.6136348248, 0.0763415471, -0.3655453324, -0.3884169161, 0.7710985541, 0.2998506129, -0.2053249776, 1.2127629519, 0.9725217819, -0.379313767, -0.0897817388, -0.589982748, 0.0534830466, -0.4778128564, 0.2655554712, -0.1844715178, -0.9089266062, 0.3630608916, -0.3314245343, -0.198470071, 0.7194554806, 0.4728393555, 0.2278819084, 1.1239259243, 0.7722697854, -0.2662751675, 0.1839457005, -0.3495616019, 0.3319124579, -0.4780629575, -0.0814585686, -0.7497051358, -0.455396086, -0.8166769147, -0.6957472563, 0.5573467016, 0.2705504, -0.1904873699, 0.0130883353, -0.6694515347, 0.3572647572, 0.7414816022, -0.1445360482, 0.3121445775, 0.2024441212, 0.086988911, 0.0316018499, -0.5672257543, -0.7084895372, 0.9027796984, 0.0594984591, 0.3244168758, 0.2908917964, 0.7579607964, 0.7941709161, 0.4772127271, -0.8501778841, 0.6239236593, 0.0417914987, -0.4735276699, -0.1111110449, 0.217756778, -0.8209881783, 0.1974924505, 0.0345211066, -0.7949845195, 0.1003733426, 0.1026351079, -0.1839931756, 0.0698720366, -0.3812822402, 0.6932504177, 0.3967108727, -0.2006520778, -0.4099244475, -0.7206198573, 0.2140880078, -0.0492634103, 0.2889083922, -0.1480707824, -0.4565077722, 1.160332799, -0.2322762907, 0.7348344326, -0.1358205378, 0.0040840758, 0.3583394885, 0.0958381146, 0.4712576866, -0.0979465991, -0.1138454527, 0.2208719254, -0.2539517879, -0.5978893042, -0.3296924829, 0.6549501419, -0.8972352743, -0.7072002888, -0.9520691037, -0.2908943295, 0.1139925495, 0.0848108381, 0.5785268545, 0.4281856418, -0.1397159398, -0.0280348845, 0.4166232944, 0.1228763908, 0.483441174, 0.4032315314, -0.0094180424, -0.2686491311, 0.8883172274, 0.1178355217, -0.0488602258, 0.2401475906, -0.1353114992, -0.1459238827, -0.7923333645, -0.4248495102, 0.1885278672, -0.9670332074, -0.4093185067, -0.3659106195, -0.4323403239, -0.306807816, -0.1632524729, -0.1669547558, -0.4612275064, -0.3732979596, -0.026409125, 0.4032711983, 0.6445771456, -0.0875611678, 0.692153573, -0.781380415, 0.2098644227, -0.3337741494, -0.0535281226, -0.3733388484, -0.8410738111, -0.4153322279, -0.0524213612, -0.5383760929, -1.2966349125, 0.5398901701, 0.211217925, 0.2544450164, 0.5828083158, 0.026381772, 0.541875124, -0.4043652415, 0.9217731357, -0.2020864934, -1.0025975704, 0.7883497477, -0.2058178484, 0.3011370301, 0.3774762452, 0.9898326993, -0.7024976611, -0.4987877011, -0.5737606287, -0.7998718023, 0.4982329309, 0.520544827, -0.0489314906, -0.1974191219, 0.3722314239, 0.0435686372, 0.3415006995, -0.4088018835, -0.6631681323, -0.1739394814, -0.1359301358, -0.0784600601, -0.632641077, -0.1183321029, -0.2829608917, 0.9256721735, -0.1034866199, 0.3657662272, 0.3498076797, -0.2937994897, -0.2840047479, 0.2739445567, 0.9808875918, 0.8236846924, 0.1173023954, 0.1713550389, -0.1543395519, -0.6299259067, 0.3637815118, 0.2457866669, -0.2787457108, 0.4810613692, 0.5503046513, 0.7602324486, 0.1524930894, -0.3256826401, 0.6226209402, 0.2532394826, -0.2956664264, -0.7063289881, 0.097872816, -0.2497731745, 0.3843038976, 0.6872115135, 0.4466818869, 0.4863330424, -0.2738520205, 0.2874682546, 0.2207144201, -0.1164387316, -0.2284463346, 0.6114014387, -0.0653805509, -0.7042719126, 0.2565247416, -0.4687372148, -1.0116481781, 0.5240108371, 0.5550473332, 0.5393432379, -0.6684207916, 0.4865249693, 0.4024044871, 0.2049712688, 0.0127607286, 0.5552541018, -0.0314619429, -0.8008463979, -0.5531882048, -0.5243206024, -0.0348980874, 0.0507070236, -0.4622143805, 0.298327446, -0.0840430111, -0.1838014573, 0.2828347981, 0.2370232046, -0.4428060055, 0.1724926233, 0.0826652423, 0.9560872912, -0.9777728915, 0.8440133929, 0.815993607, -0.3642922938, -0.9183252454, 0.1556051224, 0.1564925313, -0.9010568857, 0.7630181313, 0.3021913171, -0.2301172316, 0.2756722867, -0.5411227942, -1.1464694738, 0.8295947313, -0.0059508546, -0.2074691355, 0.1513151228, 0.1213524714, 0.2848700583, -0.1884548962, 0.2311678827, 0.5513609052, 0.4828990996, 0.2856540084, -0.9062560797, 0.0371570997, -0.4622191489, 0.0018498733, 0.5095189214, -0.6679158807, 0.6201451421, 0.2540101111, -0.2591440082, 0.2440692931, 0.896435082, 0.0782432705, 0.4640593529, 0.5060044527, 0.4996106625, 0.303996861, 0.0328172781, 0.8019762039, -0.2863621116, 0.153404519, 0.7086902261, 0.0836119503, 0.8215295672, 0.5779086947, 0.2254276723, 0.8012324572, 0.5184401274, 0.0432533361, 0.6756384373, 0.2915666997, -0.6154372096, 0.0228030533, -0.5764549971, -0.3318079114, 0.7749417424, 0.4085226059, -0.3514913917, -0.2091547698, 0.2636004388, 0.3987661302, 0.2379720956, -0.3682282269, 0.7570732236, -0.0241689626, -0.9379285574, 0.7111666799, 0.5448613167, 0.5960692167, -0.3614208996, -0.4687827528, 0.0331222527, 0.0833168402, 0.0280601438, -0.5017991662, 0.450492084, -0.1707012951, 0.0520392358, 0.0503082499, 1.1704659462, -0.3754470646, -0.5085330009, -0.0020884625, 0.4826030135, 0.2126301974, -0.2234866172, -0.4135793149, 0.3455050886, -0.2413700521, -0.2605654597, 0.0347787961, 0.3633317947, -0.3729577661, 0.4817197919, 0.5570987463, 0.1072150096, -0.049838461, -0.0091816597, 0.7892664075, -0.5958291292, -0.5089705586, -0.9920098186, 0.2692294717, -0.2961139083, -0.4892638624, 0.9808915854, 0.6305977106, 0.8216670752, 0.0283892248, 0.6368774176, 0.1006103307, 0.6238473654, -0.256349653, 0.6952391267, -0.4195073247, -0.0260669794, -0.2295818329, -0.8264919519, -0.3089290559, 0.6943228841, -0.2344793379, -0.1112515926, 0.8948248029, 0.9297780991, 0.1221198589, 0.0982466638, 0.2561706901, -0.0602100715, 0.0348888971, 0.270128727, 0.8875214458, -0.651758492, 0.3986473083, -0.2714861035, -0.1393739134, -0.3903101981, -0.8634198308, -0.8889274597, -0.8028515577, -0.4154469371, -0.4534768164, 0.4202715755, 0.9651424289, 0.6030831337, -0.6565818787, -0.0984479338, 0.0359597988, 0.2109546661, -0.1885986328, -0.2018025219, 0.5546869636, -0.0668599159, -0.5946075916, 0.0160618667, 0.1699088216, -0.145885542, -0.0972635895, 0.116080597, -0.5904970169, 0.1179569215, 0.334543705, 0.0490184054, -0.6987839937, -0.6938846707, -0.3020667732, 0.0552720912, 0.0457848459, 0.7795258164, -0.8177417517, -0.0988111869, 0.131414935, 0.4667357802, 0.412625134, 0.235209316, 0.2055153847, -1.0077717304, 0.5455582738, 0.5826562643, -0.0163320787, 0.2408644408, -0.4652739465, 0.3547509909, 0.3285953999, -0.7612515688, -0.6769508123, 0.0867667943, -0.8553361893, -0.1462487727, 1.1953195333, 0.052241981, -0.4607878625, -0.325310111, -0.4593933523, 0.7159828544, -0.5447412729, 0.8699804544, 0.784080863, 0.3240382075, -0.1363886893, -0.5640137196, 0.6898932457, 0.5367116928, -0.4421426654, -1.0003018379, 0.3328183591, 0.1847052276, 0.3342841268, 0.7726010084, 0.3519697189, 0.5413999557, 0.0125725297, -0.2020365894, 0.0758229196, -0.4516093731, -0.1065464243, 0.3297721446, 0.2744995952, -0.5461992621 ]
http://arxiv.org/abs/2407.01358v1
http://arxiv.org/pdf/2407.01358v1
Evaluating Knowledge-based Cross-lingual Inconsistency in Large Language Models
2024-07-01T15:11:37
2024-07-01T15:11:37
Xiaolin Xing, Zhiwei He, Haoyu Xu, Xing Wang, Rui Wang, Yu Hong
cs.CL
cs.CL
This paper investigates the cross-lingual inconsistencies observed in Large Language Models (LLMs), such as ChatGPT, Llama, and Baichuan, which have shown exceptional performance in various Natural Language Processing (NLP) tasks. Despite their successes, these models often exhibit significant inconsistencies when processing the same concepts across different languages. This study focuses on three primary questions: the existence of cross-lingual inconsistencies in LLMs, the specific aspects in which these inconsistencies manifest, and the correlation between cross-lingual consistency and multilingual capabilities of LLMs.To address these questions, we propose an innovative evaluation method for Cross-lingual Semantic Consistency (xSC) using the LaBSE model. We further introduce metrics for Cross-lingual Accuracy Consistency (xAC) and Cross-lingual Timeliness Consistency (xTC) to comprehensively assess the models' performance regarding semantic, accuracy, and timeliness inconsistencies. By harmonizing these metrics, we provide a holistic measurement of LLMs' cross-lingual consistency. Our findings aim to enhance the understanding and improvement of multilingual capabilities and interpretability in LLMs, contributing to the development of more robust and reliable multilingual language models.
[ -0.1145543605, -0.7611600757, 0.4686143994, 0.4763085246, 0.0734821185, 0.3260443211, -0.3749253452, -0.6455177069, 0.1573942751, 0.1957868785, -0.4233162403, -0.4600303173, -0.7283100486, 0.1507948786, -0.3301820755, 0.5609068274, -0.3279661238, 0.2901561558, -0.0897036865, -0.4279612005, -0.6589288116, -0.3963857889, -0.6461348534, -0.3550051153, 0.3052158952, 0.2293456048, 0.8530588746, 0.3870736063, 0.3068355024, 0.2507657111, -0.1658449769, 0.3718741536, -0.4160551727, -0.2057034373, -0.3763263822, -0.4041692615, -0.4731911123, -0.2346624583, 0.8309316635, 0.8712583184, -0.0199030545, -0.1349619627, 0.1385791004, 0.308105588, -0.3971324265, 0.2837154269, -0.6790422201, 0.2193967998, -0.1962474734, -0.0863978714, -0.3329250216, -0.2115487158, 0.2833517194, -0.5946336985, 0.0538727492, 0.2109501064, 0.9781504869, -0.0795886964, -0.4162206054, -0.3679324687, -0.510836184, 0.8601388335, -1.0697907209, 0.9380934834, 0.1139238626, 0.0779056698, -0.1524012238, -0.4550512731, -0.6132667661, -0.443143934, -0.1361026913, 0.030583648, -0.1065046415, -0.3601681292, 0.1050401554, 0.2427125275, -0.7389757037, 0.4000810683, 0.1718982458, -0.2967882156, 0.5389983058, 0.1417779922, 0.4866195619, -0.2716974616, -0.5513730049, -0.0295515191, -0.8582725525, 0.0949630439, 0.2775811255, 0.1493634135, -0.3153982759, 0.6729140282, -0.1522010416, 0.3981008232, -0.0629911795, -0.2779516578, 0.2688627541, -0.5326012373, -0.2412812263, 0.0540519916, 0.7426308393, 0.1686520725, 0.2119888663, -0.4864425659, -0.0405449308, -0.070288837, -0.2499759793, -0.2713612914, 0.0056676404, 0.2080539167, -0.1670548767, 0.0365239903, -0.1439226568, -0.4018107057, -0.3500433862, -0.3851559758, 0.4179952741, -0.5420771837, -0.4420157969, 0.0838035047, 0.1875070632, 0.1527947485, 0.2831137478, -0.8058151603, 0.1491064131, 0.7138956189, 0.654489696, -0.3104037642, -0.8167980909, -0.3232459128, 0.1598944813, -0.511187315, 0.5761299133, -0.2177889198, -0.1744965315, -0.038140744, 0.2357639521, -0.3295477033, -0.5261881948, 0.367983073, -0.586229682, -0.1069474965, -0.4387164414, -0.8802255392, -0.171976015, 0.6540305614, -0.5930140018, 1.1075187922, 0.0824288577, -0.9133986831, 0.5567438006, -0.4006811082, -0.2397604287, 0.0605880469, -0.3330539763, -0.1600955278, -0.0609697253, 0.1006639004, 0.3585944176, -0.3994802535, 0.6174702644, -0.190948233, -0.2602432072, 0.4154554307, -0.5048098564, 0.9487523437, -0.2675581574, -0.4118240774, 0.2349488884, -0.8743157387, 0.2112281621, 0.1518880427, -0.2598566413, -0.4248963892, -0.1609174758, -0.1027096957, 0.3890787363, 0.4587554932, -0.6578554511, -0.0918785036, -0.2637301087, 0.3083139658, 0.692271471, -0.4087367952, 0.1754823327, -0.3473960161, 0.3006780744, 0.1784765571, 0.1425298452, 0.065091759, -0.5529230237, -0.7168139815, 0.0433740057, 0.4138909876, 0.6685734987, -0.8199506998, 0.2140232921, -0.5922555923, -0.55337888, -0.2661287785, 0.3706472814, 0.4065428376, 0.4517195821, 0.2634336054, -0.1436597705, -0.5822373033, -0.8207051158, -0.303805083, -0.3379053473, 0.1638708264, 0.067613557, 0.5368778706, -0.4035149515, 0.8158038259, -0.0185416136, 0.0953315273, -0.2724646628, 0.2426534295, -0.2611065507, 0.3363564312, 0.3950065374, -0.598893702, -0.5366436839, 0.4501954317, -0.8319718838, -0.1108710617, 0.1531317085, 0.0490155406, 0.6654206514, 0.4513301849, -0.450213939, 0.2313414514, 0.9787402749, -0.2330869585, 0.8390063643, -0.2609686852, 0.325181663, -0.6056358814, 0.0088668549, 0.0576716699, -0.1218862459, -0.5638269782, 0.0576365665, 0.4059761763, 0.4011082947, -0.6465393901, 0.8958343863, -0.421153903, -0.1861180514, 0.0915889367, 0.564743638, 0.1986972392, 0.4899921417, 0.209201619, 0.6323312521, 0.4566214383, -0.4322912395, 0.4535943568, 0.1196803078, -0.5807234049, 0.6631781459, -0.6115221381, -0.150867492, 0.2223318964, 0.0319427475, -0.9595227838, -0.0379543118, 0.0939997137, -0.2800657153, 0.2449656278, 0.04789171, -0.7662475109, 0.0262885261, -0.0895447135, 0.5952795744, 0.1484200805, -0.6124793291, 0.4973595738, 0.2191344798, -0.1998672187, -0.7761961222, -0.6131086946, 0.1373880655, 0.0432328768, -1.1513607502, 0.0941250175, 0.0409176201, -0.330208391, 0.0473272167, -0.0935622379, 0.0216452945, -0.1239941642, -0.0756750703, 0.3697716594, -0.3926056623, 0.1192595065, -0.0883328021, 0.2126896977, 0.0476113893, -0.1721426547, 0.5354880691, -0.230189845, -0.6554384828, -0.1123203933, 0.1783099025, 0.4464396238, -0.0086749047, 0.7740923166, 0.5656397343, -0.3601106107, -0.0427704714, -0.7981671095, 0.2315734476, -0.3360898197, 0.5011136532, -0.3807463348, -1.0100692511, 0.9565010667, 0.1762375087, 0.1054744646, 0.4175597429, 0.4949967265, 0.2122847736, 0.9911491275, 0.7644297481, 0.2128299624, 0.1364019066, -0.0262149908, 0.2521179318, -0.959636271, -0.4955699146, -0.3626129329, 0.1003117561, -0.6701779366, -0.4611878693, 0.2554148734, -0.0809983835, -0.4147666097, 0.3635416329, 0.3818469346, 0.1086918339, 0.2319641411, -0.3397089243, 0.7072682381, -0.0618535429, -0.5153930783, -0.1238760948, -1.022161603, -0.5018140674, 0.7455217242, 0.4486241341, 0.7503919005, 0.1588730216, 0.1627717763, 0.0357899442, 0.2157156318, -0.5498262644, 0.4705655873, -0.215551421, -0.6311991215, -0.5586212277, -0.6353652477, -0.8694690466, 0.435159117, -0.193911612, -0.9153641462, 0.1788323373, -0.2297780961, -0.0612616315, 0.5347979665, -0.5611265898, 1.1125488281, -0.5346773863, -0.4192532003, -0.0794739276, -0.6435492635, 0.6544795632, -0.3044027686, 0.357341826, -0.2092443705, -0.0162193961, 0.699047029, -0.3951228559, 0.7324522734, 0.2701673806, -0.7004144192, 0.0343358889, 0.0610338859, 0.4618024826, 0.0716316178, -0.0607054271, 0.7103191614, 0.2590391636, -0.3740162551, -0.7016096711, 0.7566325665, -0.939814806, -0.5559404492, -0.2306628376, -0.9779056907, -0.5750254989, 0.1601998955, 0.23494111, 0.3552052975, -0.411985606, -0.1478406638, 0.6602959037, -0.4511986375, 0.2032321841, 0.8162170649, -0.4901661575, -0.1661605388, 0.7642784119, 0.3950948417, 0.6933209896, 0.4864888191, 0.0682151839, -0.4041393697, -0.3337968588, -0.6819674373, 0.4170465171, -0.9351514578, 0.0894272178, -0.6288524866, -0.3651863337, -0.6257733107, 0.0367522091, -0.5327659249, -0.2887762189, 0.0872232765, 0.2043547183, 0.1070079952, 0.6705892086, -0.1520029902, 0.1882657558, -1.0277328491, 0.1522420049, -0.0329809897, 0.3932183385, 0.2143138349, -0.6758580208, -0.4629144371, 0.3132324517, 0.0105230948, -0.6094067097, 0.1896943301, -0.2299914062, 0.7930219769, 0.1755077839, -0.259727627, 0.6595731974, -0.3300516307, 0.7132284641, 0.2387448549, -1.3376026154, 0.1746445745, -0.1168146059, 0.2431162298, 0.0999088436, 0.2571022213, -0.9242597222, -0.5282369256, -0.6088502407, -0.7300089598, 0.5377253294, 0.1285883784, -0.2884243131, 0.0137495687, -0.0691714585, 0.2430597395, -0.0236440543, -0.7681091428, -0.1263509095, -0.0241989344, 0.1954777539, 0.0076610688, -0.2359959483, -0.0890570208, 0.0180014502, 0.9504995942, -0.1069625318, -0.3698685467, 0.075466089, -0.2809631526, -0.0964407697, 0.4710943401, 0.5453105569, 1.0490580797, -0.0115378918, 0.1106163487, 0.6204778552, -0.273812741, 0.2334807366, -0.1099905372, -0.0320593268, 0.1206231192, 0.5772019625, 0.7815107107, 0.4992782772, -0.866280973, 0.4522648454, -0.223280564, 0.1278353333, -0.196705088, -0.155497551, 0.2899857163, 0.2017696798, -0.0003454816, -0.0455435589, -0.2913840413, -0.7330643535, -0.1411101967, 0.4899602532, -0.1964161694, -0.1132940724, 0.410957396, -0.1745735854, 0.1099916399, 0.5356522202, -0.1401584446, -0.5018506646, 0.6212826371, 0.4766896963, 0.5576044321, -0.2224374861, 0.1585872471, 0.0367985815, 0.6005092859, -0.2597037852, 0.1248174608, 0.2164907753, -1.0443307161, -0.7112993598, -0.3370580375, -0.6560595632, -0.0347873792, -0.5199689865, 0.4291419089, -0.1637969315, 0.0108309099, -0.1767918915, 0.1311842203, -0.6393364072, 0.2880859375, 0.0464140251, 1.0849870443, -0.8831317425, 0.8968728781, 0.6138537526, -0.2166358232, -1.1268239021, -0.1215301976, -0.0662063062, -0.9323170185, 0.9002760649, -0.2676317394, -0.3026728928, -0.3939577937, -0.1469464004, -0.9776932597, 1.1040070057, 0.4351505339, -0.7542987466, 0.0091827773, 0.4822942913, 0.601043582, -0.2535536885, 0.2144497782, 0.7093219161, 0.6043803692, 0.1122813299, -1.3783035278, 0.1056789607, -0.2228616774, 0.1480306536, 0.0248034224, -0.7353961468, 0.8360877037, -0.1013575941, -0.2804403901, 0.0627417415, 0.5626882911, 0.5667275786, 0.3144315779, 0.4021712542, 0.6066393256, 0.8896282911, -0.1500199437, 0.9635239244, -0.314799875, 0.3218143284, 1.2165957689, -0.7266393304, 0.7629044056, 0.4558694065, -0.1993419081, 0.3832316697, 0.4295798838, 0.0504714847, 0.11317873, 0.0170282256, -0.0853338689, -0.2361616641, -0.0286245439, -0.4859904945, 0.3987225592, 0.3013996482, -0.0060274214, -0.3913030028, -0.0140493633, 0.1642093211, -0.2490216494, -0.1354387105, 0.4315904081, 0.0974151641, -0.6837626696, 0.6411066055, 0.2740775049, 0.6850641966, -0.6937100291, 0.1822093874, -0.2626516223, 0.2544821203, -0.3458212316, -0.8911818266, 0.3938284814, 0.010942881, -0.0991435051, 0.172373727, 0.4584813714, -0.5432084799, -0.5484059453, 0.6936153769, 0.8422859311, 0.1684381813, 0.29362005, -0.6370192766, 0.4657370448, -0.1147614866, 0.096648939, 0.3617806435, 0.8403736949, -0.3068393767, 0.785880208, 0.4850142598, 0.1990643293, 0.309442699, 0.2826166749, 0.3921410441, -0.4951729178, -0.2660434246, -0.8449815512, 0.3057922721, 0.1273474693, -0.3408267498, 1.1840678453, 0.4586429894, 1.2044227123, 0.1500865072, 0.8410670757, -0.0086927442, 0.4593138993, -0.6342735291, 0.6216956377, -0.6680121422, 0.6331720948, -0.3382939696, -0.7439739704, -0.2076703012, 0.4272430241, -0.4515903294, 0.0517622791, 0.914642036, 0.7859300375, -0.0535275489, 0.3580146432, 0.5904255509, 0.3648844957, 0.2429791987, 0.6293563247, 1.0883613825, -0.5449985862, 0.4733397663, -0.2443419099, -0.0926306173, -0.0921780765, -0.9968731403, -0.7099638581, -0.4408443868, -0.5650401115, -0.3285930157, 0.1441202164, 0.6942337751, 0.5447863936, -0.8554748893, -0.5648918748, 0.1296099424, 0.4052002728, -0.2512565553, -0.2347113937, 0.3935359716, -0.3846130669, -0.6556732655, 0.2632638216, 0.3806225955, -0.0195906218, -0.6028355956, -0.2200048417, -0.3478461802, 0.1967078149, 0.7625337243, 0.217833817, -0.9603235722, -0.2855288386, 0.2462698221, -0.3089593649, 0.1485320628, 0.585975945, -0.4521048367, 0.1871915758, 0.535869956, 0.6395944357, 0.2211207598, -0.3883199394, 0.4262703061, -0.5500425696, -0.1800145358, -0.1503696293, 0.8113373518, 0.6860839725, -0.1730532497, 0.5285160542, 0.1459172964, -0.5907096267, -0.6671760082, 0.156990245, -0.9614049792, -0.2035026252, 1.0836558342, -0.5586261749, -0.0695926473, -0.2291826308, -0.0563988052, 0.3468637168, 0.0967517942, 0.6681345701, 1.1023273468, -0.160695374, -0.0541384667, -0.6336764693, 0.0503848195, 0.6130216122, -0.7618983984, 0.1783147156, 0.3770654202, 0.6514660716, 0.3773083985, 0.3433613479, -0.3558642268, 0.2343653738, 0.0502118208, -0.0650476664, 0.3601958454, -0.2291087657, -0.1069348082, 0.0021511705, 0.0147928987, 0.3632030189 ]
http://arxiv.org/abs/2407.01334v2
http://arxiv.org/pdf/2407.01334v2
Protecting Privacy in Classifiers by Token Manipulation
2024-07-01T14:41:59
2024-07-03T16:31:52
Re'em Harel, Yair Elboher, Yuval Pinter
cs.CL
cs.CL, cs.CR
Using language models as a remote service entails sending private information to an untrusted provider. In addition, potential eavesdroppers can intercept the messages, thereby exposing the information. In this work, we explore the prospects of avoiding such data exposure at the level of text manipulation. We focus on text classification models, examining various token mapping and contextualized manipulation functions in order to see whether classifier accuracy may be maintained while keeping the original text unrecoverable. We find that although some token mapping functions are easy and straightforward to implement, they heavily influence performance on the downstream task, and via a sophisticated attacker can be reconstructed. In comparison, the contextualized manipulation provides an improvement in performance.
[ 0.0657152608, -0.6534525752, 0.3000994325, -0.2115931809, -0.100839369, 0.1125222519, -0.1151262, -0.8995337486, -0.2987403274, 1.0661436319, -0.0198582616, -0.6362562776, -0.907177031, -0.2622659504, -0.773152113, 1.1714937687, 0.1351522505, -0.1702187061, 0.1108621359, -0.0923504159, -0.2774089873, -1.1677626371, -0.5563567281, 0.0058026183, 0.5038465261, 0.2103699744, 0.8938984275, 0.9298151135, 0.827188015, 0.4104294181, -0.1180589348, -0.0586964078, -0.310040921, 0.2416199595, -0.3231750727, -0.8649704456, -0.3568303585, -0.028971659, 0.5471884608, 0.7296810746, 0.1591881365, 0.1521214843, 0.0304949619, 0.4985767603, -0.8712571263, 0.2166129053, -0.8325092196, 0.0939439461, -0.3187004328, -0.3248769939, -0.8535320759, -0.1063221768, 0.1763866246, -0.4373134673, 0.3961574137, 0.318798393, 0.8161673546, 0.2601462901, -0.4951098561, 0.0741021037, -0.8114643693, 0.6407678723, -0.2991607487, 0.1946115196, 0.8086704612, 0.3360675871, -0.0833070278, -0.8401894569, -0.1916175336, -0.0233986974, -0.6280670166, -0.1709158421, -0.2717211246, 0.4713335931, 0.4185998142, 0.275336355, -0.1416704804, 0.1876558512, -0.4855545759, -0.4682493806, 0.5745447278, 0.0571336262, 0.5115798116, -0.2038144767, -0.4954104722, -0.0338070095, -0.5670616627, 0.3598015308, 0.3644064963, 0.4842176139, 0.2201897055, 0.7758061886, 0.0687748939, 0.7609521151, -0.0441750437, -0.0502048992, -0.0984532684, -0.2826428711, -0.5478448272, 0.2112798393, 0.5008452535, 0.2425235957, -0.0015056428, -0.5636746287, -0.2770671248, 0.00681561, 0.369846791, -0.6888160706, -0.0988819078, 0.2831524909, -0.800118506, -0.7289262414, 0.4453891516, -0.636693418, -0.2729307115, -0.1978787035, 0.4313566387, -0.290871799, -0.0394584313, 0.024315143, -0.2958158255, -0.1416504681, 0.0820624158, -0.9890711308, 0.6713443995, 1.0762012005, 0.8592529297, -0.2506146133, -0.294293046, -0.7602800727, 0.541482687, -0.3028069139, 0.2308491766, -0.6584371924, -0.5338158607, 0.0754826814, 0.1755626053, -0.022132732, -0.3889558017, 0.197766766, -0.808414638, 0.3935350776, -0.008112303, -0.6523682475, -0.1514748633, 0.1500356346, -0.7531912327, 0.7168991566, 0.1079757735, -1.0548356771, 0.3015200198, -0.8624674678, -0.5286397338, -0.0787074268, 0.155014649, -0.3013671339, 0.1689065248, 0.0532387681, 0.4994601011, 0.3396573365, 0.2119524777, 0.1764334887, -0.6789873242, 0.45544222, -0.4246306121, 0.7984402776, 0.2674404681, -0.5354920626, 0.2738268971, -0.7608234286, -0.323410809, -0.2950256169, -0.3386458755, -0.8786385059, -0.1305331439, 0.1690303534, -0.0009112327, 0.2150672823, -0.5059499145, 0.1624583155, -0.586261034, 0.3093350828, 0.9563868046, -0.10692361, 1.0339305401, -0.2877737284, 0.6029041409, 0.2974925339, 0.2905893326, -0.4072202444, -0.3554961383, -0.4786191583, -0.6408186555, 0.7923392653, 0.5261774659, -0.6722149253, 0.4129594564, -0.4775309265, -0.5644909739, -0.4028626382, -0.0924561396, 0.358419925, 0.5445030332, 0.1777122915, -0.1088298857, -0.3010267317, -0.6577880383, -0.7512474656, -0.1420651674, -0.0583221093, 0.1804572493, 0.0439580269, -0.2859842777, 0.9828908443, -0.5004217029, -0.3781581819, 0.0686113164, 0.1245464087, -0.348710686, 0.8237804174, 0.5761728883, -1.0797232389, -0.1334346086, 0.1765291095, -0.5233101845, 0.0578071438, -0.2442609072, -0.2608047724, 0.2804073095, 0.6486113667, -0.381308645, 0.9753621221, 0.3163166642, -0.5811456442, -0.0064449091, -0.1981975734, 0.12242385, -0.8908364177, 0.2093955129, -0.3366708159, -0.7264789939, -1.0482307673, 0.4831668735, 0.2093476355, -0.2957456112, -0.6174702048, 0.5557047129, -0.4361360371, 0.0145575535, -0.3438844979, -0.0911182165, -0.2783986926, 0.1347752959, 0.1118737236, 0.7393864989, 0.5837577581, -0.514647305, -0.0612018369, 0.2403606772, -0.1061718836, 0.090269424, -0.3198710978, 0.2152478546, -0.2506918311, -0.0224473849, -0.8112505674, -0.134371683, 0.4789360464, -0.5120363832, 0.4486925304, -0.3098788559, -0.5504484177, 0.3158906698, -0.3248054683, 0.3525111079, 0.4573580325, -0.7692629099, 0.7672166228, 0.4192342758, 0.1527936459, -0.8070536256, -1.0073535442, 0.1805537343, -0.3931964934, -0.1856435537, 0.5513981581, 0.3122656047, -0.2644216716, 0.1695139706, 0.0071230121, -0.1014167964, 0.5401534438, 0.6953759193, 0.4374403656, 0.3730423152, 0.1429990977, 0.1936586499, -0.2915416956, 0.1223520562, -0.0910078362, 0.4439301789, 0.3930645287, -0.4123934805, -0.6318240762, 0.4576135576, 0.4210641086, -0.3391295075, 0.9382686615, 0.2733621895, -0.5931694508, 0.086340569, -0.1985820979, -0.248404786, -0.5526459217, 0.1541963369, -0.4616022408, -1.0177328587, 0.488718003, -0.0071509108, 0.0660906807, -0.0229281932, 0.1594833285, 0.3663240969, 1.0553586483, 0.9953597188, -0.2981823385, 0.7130365372, 0.0651403442, 0.4696370959, -0.5686597824, -0.2908771932, -0.7577316761, -0.2323578149, -1.0918654203, -0.2549293339, 0.1912661344, -0.0216402691, 0.0528268553, 0.4176779985, -0.7409512401, 0.597274065, 0.5628589988, 0.1589051038, 0.2850886881, 0.2301928848, 0.1826716512, 0.0222305562, -0.4414559901, -0.7433708906, 1.2615174055, 0.4882045686, 0.6275386214, 0.0837774649, 0.8421114683, 0.1209941953, 0.5083630681, -0.598929584, 0.6050212979, -0.1049228236, -0.7818773985, -0.3824755549, -0.4796223938, -1.0612729788, 0.4077776074, 0.0790547431, -1.0572185516, 0.1757942587, 0.1153762862, -0.0369515419, 0.5823061466, -0.7706736326, 0.408310473, 0.0426226333, -0.2991683483, 0.0379047468, -0.8275024295, 0.2056390047, -0.2473732829, 0.4351543486, 0.2569742203, -0.1522118449, 0.6282864809, -0.6213139296, 1.0159250498, -0.3518883884, 0.0556845665, -0.0429270193, 0.4938901365, 0.3192955256, -0.0445696898, 0.031069044, 0.2917266488, 0.3179775476, -0.5766752362, -0.7019965053, 0.6967640519, -0.5859039426, -0.8149212003, -0.6149814129, -0.3871736526, -0.058602687, 0.3206680715, 0.1148052365, 0.2520927191, 0.1186467558, 0.1405754834, 0.3682186902, -0.0572705083, 0.7643169165, 0.163326174, -0.3715789616, -0.0997783914, 0.7953590751, 0.1414836794, 0.3855436146, 0.6857884526, 0.2957940102, -0.225246802, -0.387681812, -0.2656037509, -0.2692321539, -0.8784661293, -0.2671830356, -0.7226065397, -0.1345992982, -0.4983898997, -0.1749205291, 0.0209740996, -0.8679438233, -0.4638015926, -0.4381561875, 0.2701594234, 0.4126227796, -0.1106042638, 0.5098329782, -0.8034927845, 0.039789997, 0.1189389899, 0.2078960985, -0.0750389695, -0.3692135513, -0.0012679951, -0.132807374, -0.0042344346, -0.9224418402, 0.3723271489, -0.0871450156, 0.240985319, 0.4509551823, 0.1074758023, 0.6003501415, -0.5303704143, 1.0331618786, -0.0583188981, -1.5171153545, 0.5685626268, 0.0270376764, -0.0362198874, 0.4618733823, 0.3509484529, -0.5795685649, -0.565744102, -0.5801210403, -0.7590811849, 0.7628638744, 0.2418053895, 0.4996981919, 0.1919064671, 0.6256921291, 0.1904168874, 0.4381333888, -0.6687251329, -0.4061226845, -0.2963591516, -0.3147028387, -0.0623079948, -0.251113832, -0.2024603784, -0.2741580904, 0.2633267939, 0.0738635734, 0.2506814897, 0.0758928731, 0.0030289164, 0.0174248703, 0.0600302555, 0.4164221585, 0.4406183362, 0.1598546505, 0.5248720646, -0.0652091652, -0.673689127, 0.1541551501, 0.0167153496, -0.5773835778, 0.1478710473, 0.4961047471, 0.4876786172, 0.2820267677, -0.6023779511, 0.7697837949, -0.1339428723, 0.0586284101, -0.0519234128, 0.2568665445, -0.4741471112, -0.2229001373, 0.2552047372, 0.3573271632, 0.4429452121, -0.4532025754, 0.0861427039, 0.348503083, -0.3429504633, -0.3260897398, 0.8935530186, -0.1586439162, -0.778408289, 0.1926058382, 0.1749904901, -0.7287843227, 0.316988647, 0.6895383, 0.536524415, -0.5258043408, 0.1909047663, -0.0432847962, 0.3598017395, -0.0446482077, 0.0562299863, -0.3624985814, -0.5804848671, -0.198117882, -0.082464017, -0.3665757477, -0.1703713536, -1.0495021343, 0.1964621544, -0.5898219943, -0.1747850925, 0.1852129698, -0.4594172239, -0.7049642801, 0.3586173058, -0.3302124143, 0.8837105036, -0.5670758486, 0.8559619784, 0.6537736058, -0.1600909233, -0.5787172914, 0.0757661536, -0.2586821318, -0.5807723999, 0.782628715, 0.2824394405, -0.1800165027, -0.2410001904, -0.7261701226, -0.5753495097, 0.6730877757, 0.158529982, -0.525378406, -0.0854924694, 0.4194298387, 0.5951865911, 0.1333494782, -0.1373703629, 0.5432514548, 0.4172489047, -0.3696735203, -0.8471455574, 0.2508695424, 0.0205937382, 0.1593499631, 0.1376819611, -0.5746997595, 0.512342751, 0.2374484539, -0.2979262769, -0.0895218179, 0.3346147835, -0.231939286, 0.3333260417, 0.5053102374, -0.0027458374, 0.9608479142, -0.1270336062, 1.1067092419, -0.3757074177, 0.2654666901, 0.8923690319, -0.2281559557, 0.841116488, 0.7862690687, 0.2014958858, 0.1894584894, 0.299033463, 0.2069760263, 0.883723855, 0.1943285614, -0.3610576689, 0.0957383588, -0.0036692419, -0.1117175445, 0.8127701879, 0.0773738995, -0.6290997267, 0.1864584386, 0.4055679739, 0.2989054322, 0.3712103069, -0.1728841513, 0.8873282075, -0.1851630956, -0.4622675478, 0.1525493115, 0.6370337605, 0.6310984492, -0.1681182832, 0.1862537861, 0.167959094, 0.1649236977, -0.2588392496, -0.3247226477, 0.602263689, 0.0066599948, 0.0174174216, -0.4912871718, 1.0385831594, -0.2677737474, -0.4078072011, 0.1981923282, 0.156803444, 0.0260678213, 0.0553963408, -0.3479826152, 0.1357437968, -0.1017740816, -0.124192819, 0.4944587946, 0.4049583972, 0.0217294376, 0.6089280844, 0.8816330433, 0.2884711623, 0.1558469236, -0.2600642741, 0.8594363332, -0.7187747955, -0.7667973638, -1.0319210291, 0.2949942648, -0.2684855163, -0.0711216778, 0.8936789632, 0.7270145416, 1.054101944, -0.0285040438, 0.8445462584, 0.3921362162, 0.5625450611, -0.5423821807, 0.917345047, -0.1705834717, 0.3303257525, -0.2599665225, -0.3842443526, -0.7873219848, 0.5147245526, -0.435431242, -0.2603883743, 0.4845245779, 0.702505827, 0.0386231504, 0.3013520241, 0.4787229598, -0.2492643595, 0.7455592752, 0.0262947697, 0.7450845838, -0.6167051196, 0.1883508116, -0.5564635396, -0.2692865133, -0.0902613923, -0.8787276745, -1.22057724, -0.5246089697, -0.3166617453, -0.4036777914, -0.0575278327, 0.5926048756, 0.9150417447, -0.7829574943, 0.1064376608, -0.0330562741, 0.1898383051, -0.1900241673, -0.2319852114, 0.5171969533, -0.153582111, -0.9298591018, 0.1896180511, 0.2980486751, 0.3831899762, -0.2940604389, 0.4996758997, 0.3790504038, 0.0801770017, 0.4552428424, -0.0237130057, -0.6405365467, -0.6280569434, 0.0889553428, -0.1110782847, -0.0452060774, 1.1744412184, -0.6448922157, 0.4687875509, 0.2532585859, 0.9198107123, 0.3305677474, 0.3590516448, 0.2100811005, -0.9543241262, 0.5469924808, 0.1496307701, 0.1064235866, 0.3770298064, -1.0402035713, 0.2437555194, 0.0518303923, -0.4562760293, -1.2434805632, 0.0557666123, -0.7131501436, -0.5315743089, 0.9508536458, -0.3073076606, -0.4973224699, -0.2163289487, -0.4402424097, 0.1127662659, -0.0489413776, 0.9467880726, 0.6775336266, 0.1428940743, -0.0164218973, -0.2632381022, 0.5914068818, 0.3725618422, -0.7508487701, 0.0571414046, 0.1722029597, 0.4145501256, 0.162439391, 0.5452308655, -0.5064153671, -0.0720815808, -0.2912276089, -0.3309362233, -0.0564957112, -0.4002354741, -0.6460635662, 0.4996649921, -0.0182046294, -0.673009932 ]
http://arxiv.org/abs/2407.01320v1
http://arxiv.org/pdf/2407.01320v1
Increasing Model Capacity for Free: A Simple Strategy for Parameter Efficient Fine-tuning
2024-07-01T14:26:48
2024-07-01T14:26:48
Haobo Song, Hao Zhao, Soumajit Majumder, Tao Lin
cs.LG
cs.LG, cs.AI, cs.CL
Fine-tuning large pre-trained foundation models, such as the 175B GPT-3, has attracted more attention for downstream tasks recently. While parameter-efficient fine-tuning methods have been proposed and proven effective without retraining all model parameters, their performance is limited by the capacity of incremental modules, especially under constrained parameter budgets. \\ To overcome this challenge, we propose CapaBoost, a simple yet effective strategy that enhances model capacity by leveraging low-rank updates through parallel weight modules in target layers. By applying static random masks to the shared weight matrix, CapaBoost constructs a diverse set of weight matrices, effectively increasing the rank of incremental weights without adding parameters. Notably, our approach can be seamlessly integrated into various existing parameter-efficient fine-tuning methods. We extensively validate the efficacy of CapaBoost through experiments on diverse downstream tasks, including natural language understanding, question answering, and image classification. Our results demonstrate significant improvements over baselines, without incurring additional computation or storage costs. Our code is available at \url{https://github.com/LINs-lab/CapaBoost}.
[ -0.7983384132, -0.6403475404, 0.2533223033, 0.1842955202, -0.4533050358, 0.0077871415, -0.3890116811, -0.2877639532, -0.1832765788, 0.7358046174, -0.561075747, -0.3274190724, -0.5689780712, -0.4294323325, -0.0817035958, 1.2809121609, -0.268129766, -0.0257557984, -0.264479965, -0.3580777645, -0.863037467, 0.1093215272, -0.9316704869, -0.162849158, 0.6433179975, 1.0610947609, 0.601647675, 0.6896106005, 0.6930916905, 0.1317675263, 0.1421933472, 0.4119743705, -0.6162019372, -0.0241014659, -0.0099509899, -0.213368088, -0.5148300529, 0.017132964, 0.6612529755, 0.806353569, -0.2691449523, 0.4157574475, 0.3427926302, 0.8075279593, -0.873696208, 0.2012456506, -0.8421480656, -0.415327996, -0.1865993589, 0.0512708947, -0.0778585076, -0.0958018899, -0.0465371385, -0.5490678549, 0.5403756499, 0.281062007, 1.182582736, 0.5126208067, -0.1720634103, 0.1414621919, -0.2599800825, 0.9468113184, -0.4035355151, 0.3228551745, 0.4884447455, 0.5939533114, 0.0277992766, -0.6948783994, -0.1824025512, -0.4671935439, -0.0029202977, -0.0843933001, -0.0197521076, 0.4524127543, 0.4518227875, 0.6490601897, -0.4795820713, -0.1118678451, -0.4696280956, -0.2012350708, 0.3863350153, 0.0056430316, 0.1488439739, 0.1195984185, -0.327580601, -0.2501378655, -0.5971753597, 0.0750252455, 0.3870393932, 0.371766001, -0.0625420958, 0.3946433663, -0.7142385244, 0.8822042346, 0.0908441618, 0.3995574713, -0.0879155323, -0.1832271069, -0.4081025422, -0.2678357363, 0.3065534532, 0.1406157017, 0.1685539484, -0.1332356483, -0.2339768559, -0.1889081597, 0.4686840773, -1.1835292578, -0.4735479355, 0.1892525852, -0.3674690127, -0.2453260273, -0.0822252929, -0.4254373908, -0.0922730565, -0.4348792732, 0.7018247247, -0.5246367455, 0.0791890174, 0.3677326441, -0.2124730945, -0.0487627462, 0.5558449626, -1.0150629282, 0.5913503766, 0.642935276, 1.0307115316, -0.0388328731, -0.1455912739, -0.7807409763, 0.2714886665, -0.3432817161, 0.714626193, -0.2765267789, 0.1199022457, -0.4112356901, 0.0168336276, 0.093416281, -0.5095674992, 0.2857458293, -0.4689959586, -0.3266845942, -0.5169041753, -0.2890926301, -0.2563923001, 0.2895717323, -0.7286412716, 0.8846462965, 0.2879970074, -0.4893760681, 0.4272506833, -0.9294728041, -0.3242156506, 0.009584588, -0.0057056667, -0.6041865349, 0.1524640173, 0.5784566402, 0.6375202537, -0.5565130115, 0.126995042, -0.2791482806, -0.523439765, -0.3545978963, -0.1533725262, 0.5614974499, 0.4304291606, -0.1402635127, 0.250379324, -0.7122007608, 0.0289589949, -0.0944787562, -0.1281811893, -0.1402723342, -0.3119304776, -0.084918268, -0.3678819835, 0.2781399786, -0.5505905151, 0.4846223891, -0.1256664395, 0.406473428, 0.731712997, 0.0803023279, 0.5565995574, -0.7179818153, 0.4153406918, -0.3077062964, 0.3208807409, -0.1705684662, -0.4095349908, -0.9032108188, -0.9591094255, 0.4554504156, 0.2421474755, -0.3346638978, -0.0220413785, -0.1263587624, -0.6329993606, -0.4279921353, 0.4584667981, 0.2249157727, 0.4512045383, 0.6589517593, -0.3619487584, -0.4289948344, -1.2831891775, -0.2805206478, 0.2715530097, -0.2530116439, 0.5475336313, 0.4301990867, 0.0498813204, 0.8372504711, -0.9046490192, -0.3854939938, -0.0986590683, 0.3956426978, 0.3193848431, 0.8772984743, 0.6807332635, -0.5224603415, -0.518239677, 0.0321670063, -0.326302886, -0.1169946045, 0.0537256375, -0.2796664536, -0.3605834842, 0.5356512666, -0.8050836921, 0.1050435379, 0.4371354282, 0.2188506871, 0.2800095677, -0.2686834633, 0.2809568346, -0.7834250927, 0.0813778117, -0.4884853661, -0.3587734997, -0.3228998184, 0.4516870975, 0.2189141065, -0.4304074943, -0.2419948429, 0.6885546446, -0.7441622615, 0.1268147081, -0.3219582438, -0.2766125202, -0.1581163257, 0.5125768185, -0.4064543843, 0.8086432219, 0.5386644006, -0.6989355087, 0.1714817286, -0.0527669266, -0.4531705379, 0.3600603342, -0.5900797844, 0.1366358399, -0.1117728725, 0.2323657572, -1.1897038221, -0.6555817723, 0.1382803172, -0.1494042873, 0.4115570188, -0.3918172121, -0.4650315642, -0.4491571784, -0.4098499119, 0.5773119926, 0.553111136, -0.6316027045, 0.5178439617, 0.248736009, 0.0538879447, -0.4601822793, -0.704757154, -0.1751845032, -0.0940233991, -0.7657879591, 0.2972024977, -0.1656310558, 0.2430175394, -0.1246131659, -0.2939952016, -0.2326294184, 0.2560939193, 0.1839226037, -0.0185825694, -0.1135718748, 0.2872968912, 0.5227563381, -0.0252951123, -0.4601129889, -0.5256893039, 0.6785202026, -0.4194059968, -0.1916848868, -0.342590034, 0.2093943954, 0.4419418275, -0.1725326031, 0.7585293651, 0.7317431569, -0.5275963545, -0.4002081752, -0.9157560468, -0.4546270669, -0.4998445213, 0.3210530579, -0.4839480519, -1.187091589, 0.6150643826, -0.1605834067, -0.0269008949, 0.2661285996, 0.3259558976, -0.0291888118, 0.8995691538, 0.6792242527, 0.0095356517, 0.5322699547, -0.4376028776, -0.0191482324, -0.8828161955, 0.2604190707, -0.428047508, -0.5140482783, -0.4191933572, -0.6077361703, 0.1962321699, 0.5477505922, -0.5775249004, 0.6976467967, -0.6780101061, 0.679756403, 0.6354256272, 0.3690564036, 0.1759417057, 0.2478765398, 0.0594965257, 0.1361341178, -0.7338986993, -0.1941289157, 1.1287510395, 0.1056021377, 0.6039873362, -0.0346412137, 0.6813873649, 0.2415281534, 0.5584526658, -0.5521805286, 0.5419595838, -0.3208995461, -0.798027575, -0.4165822864, -0.3302174509, -0.7948747873, 0.1531666964, 0.067666769, -0.7947947979, 0.1748961806, 0.5381608009, -0.5510302782, 0.4088915586, -0.6925492883, 0.835626781, 0.2289602607, -0.4882486463, -0.7368192673, -0.3502293527, 0.4282381535, -0.0613988303, -0.1989151239, -0.4294068813, -0.3269528449, 0.6896883249, -0.7545416951, 0.6534819603, -0.3807556629, 0.2074852139, 0.4654518366, -0.0473243035, 0.6004299521, 0.3973968327, -0.0898502842, 0.3952301443, -0.1538279653, -0.972050488, -0.5896871686, 0.8927461505, -0.7711141109, -0.6862005591, -0.1176127419, -1.0800973177, -0.4770836234, 0.3370726407, 0.0210464709, 0.1619178057, 0.0511833951, 0.6434099674, 0.5222364664, -0.0827343017, 0.3061321676, 0.3740306199, 0.2064294219, -0.6231762767, 0.8697882295, 0.2685807347, 0.4074039161, 0.4460406005, 0.350171119, 0.2060476691, -0.6780541539, -0.4882856607, 0.1561780572, -0.3387767971, -0.559967041, -0.6789841652, -0.1065908819, -0.2335282564, -0.386813134, -0.5215324759, -0.6024931073, 0.0011799888, 0.1363911629, 0.6192522645, 0.1647969186, -0.2922801077, 0.8757722378, -0.6097750068, 0.5632033944, 0.5532433987, 0.5540958047, 0.1207731739, -0.3405393362, -0.4012311101, 0.1821500063, -0.4172079861, -0.395603776, -0.0680236369, 0.2199620605, 0.3668369949, 0.2533546686, 0.046613235, 1.0447951555, -0.2591117322, 0.4734057188, -0.002359068, -0.9446780682, 0.5925448537, -0.8096760511, 0.4289020598, 0.9199804664, 0.3131482601, -0.0513645597, -0.3373718262, -0.5339192748, -0.7845302224, 0.7497701049, 0.1723662913, 0.2534072399, 0.2536168694, 0.6725583076, 0.1889557093, 0.4057290554, -0.3395263553, 0.3399116397, -0.124358885, -0.1990378648, 0.1344899237, -0.172318548, -0.1158588827, -0.486466676, 0.7234756947, -0.3600098491, 0.0795673728, 0.0295359623, -0.1598480791, -0.0789579675, -0.0408067666, 0.5156691074, 0.6071832776, -0.701967299, -0.160497129, 0.5060777068, -0.6451357603, -0.0957493633, 0.1893933266, -0.1838945448, -0.4753657579, 0.0615109764, 0.9496331215, 0.3930872977, -0.3996810615, 0.4478214383, 0.0757010728, -0.281329006, 0.1857936829, 0.2641035318, -0.0451124012, 0.2311938107, 0.3250282705, 0.3713342845, 0.1118114665, -0.2371261567, 0.3705641329, 0.5714897513, -0.3964483142, 0.1674302369, 0.7529834509, 0.0239259508, 0.1528686434, 0.5499377251, -0.0787822604, 0.0724582151, 0.6711035371, 0.1257126033, 0.8540505767, -0.2321736515, 0.0639080331, 0.5914528966, 0.4901283085, -0.4150896668, 0.1544793695, -0.3825289011, -0.6334146261, -0.4236693382, -0.7519107461, -0.4217093587, 0.3972565532, -0.6343937516, 0.6693859696, -0.9551411271, 0.0060105035, -0.2687920928, 0.1282260716, -0.6784955263, 0.3030590713, -0.3018030822, 0.9278666377, -0.4671623409, 0.7631917596, 0.5916146636, -0.5931920409, -0.8222983479, 0.0120522492, -0.367056787, -0.8769546151, 0.4111083746, 0.4112621248, -0.0510188639, 0.2937294841, -0.7757779956, -1.0823173523, 1.141970396, 0.6578981876, -0.6408427358, 0.085413076, 0.066533044, 0.2307679951, -0.3828870952, 0.31709373, 0.1354345083, 0.4966485202, -0.0109796515, -0.7291363478, 0.2994925976, 0.0868531391, 0.1241137162, 0.194729045, -1.0008324385, 1.0971010923, -0.2791157961, -0.0904765576, 0.4736943245, 0.6589328647, 0.2587174177, 0.015666604, 0.7929983139, 0.679035604, 0.8568838239, -0.0641471222, 1.1801946163, -0.2464844435, 0.4961620867, 1.1715769768, 0.0424567014, 0.6970178485, 0.2372923046, 0.1314980537, 0.3459914923, 0.6878449917, -0.3606025279, 0.7141489387, 0.4103981853, -0.1361027509, -0.5393584967, -0.0743648559, -0.3885554969, 0.3369627595, 0.027626643, 0.1000015363, -0.2455899268, 0.3015078306, 0.0183180049, -0.3399369121, -0.460886687, 0.2937088907, 0.0722088516, -0.7294806242, 0.8461315036, -0.0520828962, 0.3978070319, -0.6570305824, -0.0370741002, -0.2617307901, 0.5247724652, -0.0115893865, -0.3423793316, 0.2043759823, -0.2876492441, -0.2295533866, -0.1143851206, 0.7352307439, -0.3340815306, -0.4070906341, 0.2444737107, 0.2158864141, -0.0470544212, -0.5230736136, -0.5477559566, 0.084699057, -0.2541328669, -0.1469714642, 0.3701445758, -0.0140280928, -0.3956252933, 0.7251372337, 0.9380295873, 0.0243490953, -0.2273679972, 0.0798346847, 1.0655181408, -0.3757669032, -0.4889557064, -0.5564271808, 0.5032432079, -0.2400573343, -0.2440599203, 0.5223178864, 0.6920277476, 1.0051317215, -0.2564196289, 0.5283934474, -0.0311865285, 0.4079754651, -0.411852479, 0.9491304755, -0.8849927187, 0.0961364359, -0.3179024756, -0.9984184504, -0.4416260123, 0.5057131052, -0.2351882756, 0.0442232192, 0.7154036164, 0.9346235394, -0.4600374103, 0.0182572752, 0.207217589, 0.2059045434, 0.2569437921, 0.3949877322, 0.4303756654, -0.7350047231, 0.705755651, -0.2668621838, -0.5502843261, -0.263076663, -0.8092077374, -0.9325108528, -0.3473645747, -0.3888239264, -0.0456637144, 0.4434133172, 0.5092932582, 1.2192069292, -0.9437547922, -0.3213901818, -0.5183330774, -0.0898951441, -0.4958277941, -0.2015669495, 0.2879695594, -0.6954261661, -0.5659660697, 0.2010565996, 0.1385574192, -0.3563800752, 0.1579930186, -0.0076664826, -0.2222575843, 0.2357934564, 0.335332036, 0.203433007, -0.5343053341, -0.5991885066, -0.2704404891, 0.2260870934, -0.0574005134, 0.9077674747, -0.7483444214, 0.2318233252, 0.5658330321, 0.8411054015, 0.9691826105, 0.0549740084, 0.4728026986, -0.7852040529, 0.3529366553, -0.0183953885, 0.2995912731, 0.2629927695, -0.2758171558, 0.7445634604, 0.2246410847, -0.5588188767, -0.8638193011, 0.1758058518, -1.2866396904, -0.2878539264, 0.6697136164, 0.2006373256, -0.0186203476, 0.184523806, -0.4747052491, 0.3333231807, -0.5311006308, 0.6454857588, 0.7089494467, -0.1076478884, -0.3155964911, -0.8289697766, 0.5660498738, 0.7038743496, -0.728150785, 0.1275453269, 0.205799371, 0.4532493353, 0.0070831194, 0.4804612696, 0.0561552867, 0.3957075179, -0.1059661508, -0.036489848, -0.3803698123, -0.3165083528, 0.1561068743, 0.3163512051, -0.0301854573, -0.4825193584 ]
http://arxiv.org/abs/2407.01315v1
http://arxiv.org/pdf/2407.01315v1
Language Portability Strategies for Open-domain Dialogue with Pre-trained Language Models from High to Low Resource Languages
2024-07-01T14:20:54
2024-07-01T14:20:54
Ahmed Njifenjou, Virgile Sucal, Bassam Jabaian, Fabrice Lefèvre
cs.CL
cs.CL
In this paper we propose a study of linguistic portability strategies of large pre-trained language models (PLMs) used for open-domain dialogue systems in a high-resource language for this task. In particular the target low-resource language (L_T) will be simulated with French, as it lacks of task-specific resources and allows our human evaluation, when the source language (L_S) is English. For obvious reasons, recent works using such models for open-domain dialogue are mostly developed in English. Yet building specific PLMs for each possible target language supposes collecting new datasets and is costly. For this reason, trying to leverage all existing resources (PLMs and data) in both L_S and L_T , we wish to assess the performance achievable in L_T with different approaches. The first two approaches evaluate the usage of Neural Machine Translation (NMT) at different levels: TrainOnTarget where a L_S dataset is translated before fine-tuning in L_T and TestOnSource where a L_S model is coupled with NMT modules during inference. Then, the advent of BLOOM [2], the world first open-access multilingual large PLM, allow researchers to develop new approaches aiming to leverage not only the model's full accessibility but also its multilingualism and translation abilities. In this context the task is learned in L_S first and adapted to L_T using the MAD-X Adapter architecture [16]. In the two sets of experiments models are evaluated in spoken dialogue conditions with human and the strategies can be compared in terms of perceived interaction quality.
[ -0.5748043656, -0.6541759372, 0.510001123, 0.2449463606, -0.1888045818, -0.0034117673, -0.7222021222, -0.2411203235, 0.0094021372, 0.6461517215, -0.4913709164, -0.3431320786, -0.479095161, 0.2099020928, -0.0440947041, 0.6503042579, -0.2657399476, 0.0427289195, -0.163399294, -0.2571518719, -0.4549558759, -0.8422752619, -0.6103668809, -0.0331619009, 0.2897689939, 0.3883669972, 0.7736814022, 0.3797687292, 0.3926728666, 0.306251049, -0.2309903055, -0.0885804221, -0.6246219277, -0.052548565, -0.4358035326, -0.4722350538, -0.4888309538, -0.1061743423, 0.7480724454, 0.6476075649, 0.0589714311, -0.0176931527, 0.3156194687, 0.412884742, -0.5087759495, 0.4053693712, -0.5549291968, 0.0115697114, -0.2116096169, -0.2600899339, -0.5526002645, -0.09540122, 0.4148561358, -0.5190050602, 0.0838434026, -0.0402253047, 0.6649265885, 0.0045585427, -0.2087412924, 0.0114183836, -1.0970038176, 0.9675133228, -0.8950341344, 0.355268985, 0.3801034689, 0.4713492095, -0.0154525423, -0.4489422441, -0.5522398949, -0.3691866994, -0.0682309642, 0.0148809459, -0.213966459, 0.2230173945, 0.3126352131, 0.3631493449, -0.48694399, 0.1855921447, -0.2424029261, -0.1602679938, 0.4310914874, -0.0940588415, 0.211083442, 0.0476687141, -0.2670053542, 0.0103277769, -0.6889945865, 0.0064461473, 0.2094242275, 0.7615082264, -0.1631796062, 0.5981734991, -0.2394226789, 0.616589725, -0.2891395092, -0.0014621007, 0.1278015822, -0.7468758821, -0.0459796712, -0.2280537039, 0.9349129796, 0.2372144014, 0.3814501464, -0.0671679303, -0.4119462371, -0.3769049048, 0.3039265275, -0.7564204335, 0.1445950866, 0.0436279774, -0.6766924262, -0.128565371, -0.3869239986, -0.9226533175, -0.0457463451, -0.1109108701, 0.8430905342, -0.4025969207, -0.5035821795, 0.1396300197, 0.4511830509, 0.0017856974, 0.4494007528, -0.5758680701, 0.3750748336, 0.265234381, 1.1143319607, -0.3685833216, -0.2775286734, -0.5152139664, -0.1080138981, -0.0355132855, 0.4377083778, -0.2362395525, -0.6696283221, 0.2380734086, 0.0013604925, -0.4395089149, -0.5826179385, 0.5971107483, -0.4665515721, 0.223432973, -0.1071132645, -0.1716228426, -0.2546393573, 0.30567047, -0.7666153312, 0.4562883675, 0.2395174652, -0.5966277719, -0.2494391799, -0.9222278595, -0.5239998698, -0.0285988301, 0.0575381555, -0.1232244074, -0.0777650401, -0.090359278, 0.2628806531, -0.4554489255, 0.0955817997, -0.1414643228, -0.2258199304, 0.2047999799, -0.6640591621, 0.5774529576, 0.3950533271, -0.4514381588, 0.1295251101, -0.5800054669, 0.0140555725, 0.254511416, -0.3603959382, -0.3137745559, 0.1380571574, 0.0099374047, 0.3770194054, 0.1556544453, -0.555324614, 0.0747255459, -0.6130462885, 0.5607284307, 0.4457903504, -0.162651509, 0.5367662907, -0.2482839376, 0.7519349456, 0.2542089522, 0.1463502347, -0.2335776687, -0.4115310609, -0.763035059, -0.024094332, 0.3218570054, 0.8080796599, -0.8465100527, 0.2063862234, -0.2207941711, -0.2632136047, -0.459109962, -0.0946978405, 0.5988469124, 0.1782622188, 0.3587827682, -0.5955032706, -0.3865491748, -0.8149979115, -0.1511387378, -0.1844323725, 0.2564544082, 0.5232937932, 0.2222556323, -0.0079192407, 0.7517384291, -0.3001382351, -0.1449577957, -0.6476172209, 0.042565573, 0.2044057697, 0.5844538808, 0.5745891929, -0.6346822977, -0.4621531963, 0.1539195031, -0.4625962079, 0.0476607531, 0.0915524438, -0.2170426548, 0.3139708042, 0.3636716008, -0.7925167084, 0.7411609888, 0.5209041238, 0.0394702405, 0.5966536403, -0.3225703239, 0.2902222872, -1.2140347958, 0.0404388271, -0.0603838116, -0.172634393, -0.9761840701, -0.022537699, -0.3039656281, -0.3577024043, -0.8398509622, 0.6745094061, -0.4292506576, -0.0346504934, -0.189527899, 0.2285865396, -0.2228617668, 0.6127793789, 0.2944339812, 1.0371474028, 0.4722792506, -0.7396813631, -0.0343394354, 0.3980305195, -0.3509697914, 0.3624992371, -0.6459625363, -0.0412922576, 0.0347501114, 0.1122524589, -0.9780296683, 0.2322100997, 0.2373749763, -0.3678187728, 0.176597476, -0.1882680655, -0.4015666842, -0.2394955903, 0.1574846804, 0.7798321247, 0.4831773043, -0.3423065841, 0.5571807623, 0.1487461776, -0.433157593, -0.4278906584, -0.42326051, -0.0848503634, -0.1593048573, -0.7713000774, 0.1943006516, -0.2321005613, -0.2265740186, -0.2370237708, 0.1002511829, -0.29958269, 0.0274335314, 0.0759836063, 0.2341763824, -0.5790476799, -0.1418582052, -0.2167477757, -0.0295661688, -0.1604912728, -0.3688550293, 0.7513164878, -0.1647312343, -0.4430571496, -0.3848732412, 0.4803319573, 0.6823186874, -0.5162875056, 0.9811593294, 0.4652207196, -0.2105970532, -0.0860520378, -0.4182442427, -0.1224168912, -0.4131990969, 0.3037762344, -0.6526076198, -0.9213351011, 0.5495874286, -0.1945527941, 0.1140022576, 0.2334160954, 0.6831113696, 0.1343415529, 0.964987874, 0.6194720864, 0.0013596874, 0.4157530665, -0.2854201794, 0.4898072183, -0.5092752576, 0.217538476, -0.7410170436, -0.2315044105, -0.6437609792, -0.7068894506, 0.3219469488, 0.2581926584, -0.0678657368, 0.6236131787, -0.0068942378, 0.3338826597, 0.8142952323, -0.1081884056, 0.4274171293, 0.0000708583, -0.2514365017, -0.0606816299, -0.89089185, -0.5408399701, 0.9201735854, 0.4095778465, 0.5748918653, 0.3103441, 0.5731153488, -0.0980362073, 0.1648661643, -0.8681968451, 0.763559401, -0.253031224, -0.4825294018, -0.3143673837, -0.5575624704, -1.0081971884, 0.3565016091, -0.1529705971, -0.825265944, 0.0931415856, 0.1005391702, -0.38375929, 0.5662705898, -0.7837287188, 1.173823595, -0.206724599, -0.3995293677, -0.3585943282, -0.6727776527, 0.2577145696, -0.1400755197, 0.3281069696, 0.1788721234, 0.1850008816, 0.5838990808, -0.33191064, 0.7572209835, -0.208545655, -0.1632643193, 0.3393713534, 0.3592646122, 0.3783062398, -0.2784116268, -0.0151888803, 0.2931466401, 0.1868132353, -0.3561375439, -0.5759013891, 0.4929179847, -0.8831076622, -0.6866537929, -0.2928980589, -0.7864513397, -0.4957224131, 0.3613532484, 0.2485267222, 0.4720982015, -0.404758662, 0.0485126078, 0.6772216558, -0.5807482004, 0.4823451042, 0.890484035, -0.3267119527, -0.2849838138, 1.0239549875, 0.2058203816, 0.6707437634, 0.4722945392, 0.0582971089, -0.2363110781, -0.7999947071, -0.4029843807, 0.3589130342, -0.3605258465, 0.1056580245, -0.449878186, -0.4484187365, -0.3512220383, 0.1564057171, -0.5409446955, -0.400052458, -0.188575983, 0.2594532073, 0.070777148, 0.6379478574, -0.0556252003, 0.4695415199, -1.1216254234, 0.0501451194, -0.1210426539, 0.5882052779, -0.0035530131, -0.6582650542, -0.4605238736, 0.1810758412, -0.2953332365, -0.752484858, 0.4004842043, -0.0104579199, 0.626175046, 0.2279694676, 0.2223654985, 0.3196382523, -0.5962939858, 0.7938156724, 0.023091482, -0.762365818, 0.5372098684, -0.525778532, 0.25140962, 0.6371720433, 0.5035044551, -0.4406099617, -0.2207230777, -0.5038135052, -0.6806077361, 0.9574689269, 0.3195513189, 0.1379106492, 0.090725325, 0.0492924415, 0.1308837533, 0.3649557531, -0.5155024529, -0.0882534236, 0.0321149528, -0.0210425667, -0.481431365, -0.1539653689, -0.1951916516, -0.0529815517, 0.708627224, -0.0293697249, 0.487662226, 0.055986762, -0.2014650702, -0.0580005348, 0.5332740545, 0.7771582007, 0.5553070903, -0.330617398, -0.01916245, -0.0909686536, -0.3789404631, 0.3016883135, 0.2287252694, -0.3231354356, 0.1834727675, -0.079623051, 1.1175749302, 0.1599744707, -0.8559576273, 0.7322191596, -0.1089992672, -0.2022937685, -0.0721719339, -0.2700132132, -0.1257436275, 0.3415723443, -0.2076776475, 0.2588210702, -0.2110367417, -0.467179507, 0.146650061, 0.4759201109, -0.3022227287, -0.3750219345, 0.5585364699, 0.40994519, -0.4296931028, 0.3859108686, -0.2250368148, -0.4569587409, 0.1561494768, 0.552052319, 0.9999209046, -0.3701893687, 0.2454128414, 0.4302773476, 0.388525933, -0.2025429159, 0.1604176313, -0.1050882563, -0.8573242426, -0.7760423422, -0.5442320704, -0.5445923805, 0.2761302888, -0.6140038967, 0.1123889908, -0.2118752599, -0.2540310323, -0.4861582518, -0.2778454721, -0.6354501843, -0.1081245393, -0.0254882313, 1.2580618858, -0.646820724, 0.8575108051, 0.517570138, -0.4793902934, -0.7785271406, 0.125644967, -0.0891702846, -0.6862545609, 0.6599543691, -0.1174763441, -0.0529245958, 0.0928489119, 0.0128948987, -0.8850141168, 0.8104227781, 0.4663154483, -0.5276584625, -0.2262559086, 0.2588246763, 0.4163063467, -0.2779615819, 0.3284825385, 0.5616153479, 0.3431992531, 0.0690808967, -1.5633246899, -0.2162794173, -0.2233048081, 0.1172769293, 0.1878022403, -0.633679688, 0.7598414421, -0.196699962, -0.1750210524, 0.4327908754, 0.6742466092, -0.0318157375, 0.1705097556, 0.6664156318, 0.4684309661, 0.3076087236, -0.1913926154, 1.0400489569, -0.4594833255, 0.3723606467, 1.0322434902, -0.3482187688, 1.1235142946, 0.4002856314, -0.2577655911, 0.1479852051, 0.3248071671, 0.5048373342, 0.5383729339, 0.3322978318, -0.5812525749, -0.0444222875, -0.2477961183, -0.3166294992, 0.309229821, 0.1685964763, -0.2033448815, -0.2422186285, 0.4016013145, -0.0336606503, 0.1248016357, -0.379791081, 0.7960692644, 0.0313640609, -0.8599194288, 0.8398346901, 0.0116946297, 0.6721701622, -0.6484004855, 0.1611388922, -0.1755592227, 0.1642555296, 0.0094212368, -0.7379555702, 0.2259515226, -0.0329469778, -0.1985743493, -0.366494596, 0.628139019, -0.7712230086, -0.1396419108, 0.4087634087, 0.9652308822, 0.4325990379, -0.0527568161, -0.5024306774, 0.1542891562, -0.005795802, -0.2096796334, 0.6170358062, 0.2840206325, 0.0312852673, 0.5842650533, 0.3662892878, 0.3381488323, 0.1145635322, 0.090541482, 0.7104439139, -0.3910191357, -0.4562617838, -0.5289355516, 0.4410977066, 0.2849482894, -0.0132654943, 0.628058672, 0.4140842855, 0.9612284899, -0.2154570222, 0.9811640382, 0.0383235663, 0.7092422843, -0.5131028891, 0.5369852781, -0.3835144937, 0.2272722274, -0.2638061643, -1.1123723984, 0.0091023436, 0.622823, -0.5558945537, 0.1044068485, 0.7706321478, 0.8536631465, -0.1875999868, 0.1585082561, 0.5160737634, 0.4311688244, 0.2280411571, 0.7953392267, 0.7372905612, -0.2266910821, 0.7722008228, -0.2762776017, -0.3698619604, -0.169174701, -0.6818393469, -0.7394464612, -0.6390167475, -0.3197897375, -0.7272789478, 0.0089029782, 0.9465535283, 0.630325675, -0.8985037208, -0.6114000678, 0.0687627643, -0.103006579, -0.2242373824, -0.2240722924, 0.0229041539, -0.3842120171, -0.8027229309, 0.6227677464, 0.1911253035, 0.233806625, -0.3060256839, -0.2912245095, -0.1701009274, 0.0808518976, 0.7834770083, 0.5343059897, -0.5581757426, -0.2913587093, 0.0125762625, -0.0154035054, 0.1042060554, 1.0145648718, -0.4975728095, 0.6362145543, 0.5466877818, 0.8206217289, 0.2321312875, -0.0966664478, 0.9762936234, -0.640136838, 0.2642560005, 0.2168896496, 0.3422728479, 0.0720830336, 0.0651461259, 0.4002358615, 0.2486104369, -0.6288097501, -0.8229009509, 0.4077362716, -1.1215096712, 0.0218445119, 1.1727746725, -0.3803156018, -0.0384456664, -0.0938360468, -0.4894734621, 0.2037298232, -0.1908492446, 0.2719988525, 0.8166973591, 0.0305477418, -0.2493687123, -0.9398242831, 0.4223796725, 0.4242157042, -0.6322488189, 0.1395317614, 0.1831804216, 0.108352989, 0.3509378731, 0.8353899717, -0.1786641032, 0.1574769616, -0.3521967232, 0.0309128836, 0.158393383, -0.1426846385, -0.3048909903, 0.0970646068, 0.328461498, -0.3014222085 ]